framework7 7.1.5 → 8.0.0-beta.2

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 (603) hide show
  1. package/components/accordion/accordion.js +2 -16
  2. package/components/accordion/accordion.less +0 -3
  3. package/components/actions/actions-class.js +13 -58
  4. package/components/actions/actions-ios.less +42 -0
  5. package/components/actions/actions-md.less +12 -0
  6. package/components/actions/actions-rtl.css +1 -1
  7. package/components/actions/actions-vars.less +17 -42
  8. package/components/actions/actions.css +1 -1
  9. package/components/actions/actions.d.ts +2 -2
  10. package/components/actions/actions.js +0 -4
  11. package/components/actions/actions.less +5 -35
  12. package/components/app/app-class.d.ts +14 -12
  13. package/components/app/app-class.js +93 -75
  14. package/components/app/app-ios.less +0 -2
  15. package/components/app/app-md.less +0 -2
  16. package/components/app/app-vars.less +13 -96
  17. package/components/app/app.less +1 -4
  18. package/components/app/load-module.js +17 -36
  19. package/components/area-chart/area-chart-class.js +8 -64
  20. package/components/area-chart/area-chart.js +0 -3
  21. package/components/area-chart/area-chart.less +0 -3
  22. package/components/autocomplete/autocomplete-class.js +30 -175
  23. package/components/autocomplete/autocomplete-ios.less +0 -8
  24. package/components/autocomplete/autocomplete-rtl.css +1 -1
  25. package/components/autocomplete/autocomplete-vars.less +8 -22
  26. package/components/autocomplete/autocomplete.css +1 -1
  27. package/components/autocomplete/autocomplete.d.ts +1 -3
  28. package/components/autocomplete/autocomplete.js +1 -6
  29. package/components/autocomplete/autocomplete.less +6 -18
  30. package/components/badge/badge-vars.less +3 -6
  31. package/components/badge/badge.less +1 -3
  32. package/components/block/block-vars.less +25 -52
  33. package/components/block/block.less +37 -12
  34. package/components/breadcrumbs/breadcrumbs-rtl.css +1 -1
  35. package/components/breadcrumbs/breadcrumbs-vars.less +31 -15
  36. package/components/breadcrumbs/breadcrumbs.css +1 -1
  37. package/components/breadcrumbs/breadcrumbs.js +0 -2
  38. package/components/breadcrumbs/breadcrumbs.less +4 -10
  39. package/components/button/button-vars.less +42 -43
  40. package/components/button/button.less +24 -26
  41. package/components/calendar/calendar-class.js +81 -401
  42. package/components/calendar/calendar-rtl.css +1 -1
  43. package/components/calendar/calendar-vars.less +32 -46
  44. package/components/calendar/calendar.css +1 -1
  45. package/components/calendar/calendar.js +6 -4
  46. package/components/calendar/calendar.less +10 -21
  47. package/components/card/card-rtl.css +1 -1
  48. package/components/card/card-vars.less +41 -44
  49. package/components/card/card.css +1 -1
  50. package/components/card/card.js +0 -108
  51. package/components/card/card.less +18 -24
  52. package/components/checkbox/checkbox-rtl.css +1 -1
  53. package/components/checkbox/checkbox-vars.less +0 -8
  54. package/components/checkbox/checkbox.css +1 -1
  55. package/components/checkbox/checkbox.less +32 -3
  56. package/components/chip/chip-ios.less +3 -0
  57. package/components/chip/chip-md.less +4 -3
  58. package/components/chip/chip-rtl.css +1 -1
  59. package/components/chip/chip-vars.less +17 -20
  60. package/components/chip/chip.css +1 -1
  61. package/components/chip/chip.less +16 -21
  62. package/components/color-picker/color-picker-class.js +27 -158
  63. package/components/color-picker/color-picker-rtl.css +1 -1
  64. package/components/color-picker/color-picker.css +1 -1
  65. package/components/color-picker/color-picker.js +0 -4
  66. package/components/color-picker/color-picker.less +18 -8
  67. package/components/color-picker/modules/alpha-slider.js +0 -12
  68. package/components/color-picker/modules/brightness-slider.js +0 -8
  69. package/components/color-picker/modules/current-color.js +0 -2
  70. package/components/color-picker/modules/hex.js +0 -12
  71. package/components/color-picker/modules/hs-spectrum.js +0 -20
  72. package/components/color-picker/modules/hsb-sliders.js +0 -18
  73. package/components/color-picker/modules/hue-slider.js +0 -7
  74. package/components/color-picker/modules/initial-current-colors.js +0 -7
  75. package/components/color-picker/modules/palette.js +2 -10
  76. package/components/color-picker/modules/rgb-bars.js +0 -17
  77. package/components/color-picker/modules/rgb-sliders.js +0 -17
  78. package/components/color-picker/modules/sb-spectrum.js +0 -20
  79. package/components/color-picker/modules/wheel.js +0 -28
  80. package/components/contacts-list/contacts-list-md.less +4 -3
  81. package/components/contacts-list/contacts-list-rtl.css +1 -1
  82. package/components/contacts-list/contacts-list-vars.less +3 -15
  83. package/components/contacts-list/contacts-list.css +1 -1
  84. package/components/contacts-list/contacts-list.less +0 -3
  85. package/components/data-table/data-table-class.js +10 -32
  86. package/components/data-table/data-table-rtl.css +1 -1
  87. package/components/data-table/data-table-vars.less +6 -39
  88. package/components/data-table/data-table.css +1 -1
  89. package/components/data-table/data-table.js +0 -8
  90. package/components/data-table/data-table.less +0 -3
  91. package/components/dialog/dialog-class.js +7 -41
  92. package/components/dialog/dialog-ios.less +0 -3
  93. package/components/dialog/dialog-md.less +9 -9
  94. package/components/dialog/dialog-rtl.css +1 -1
  95. package/components/dialog/dialog-vars.less +25 -70
  96. package/components/dialog/dialog.css +1 -1
  97. package/components/dialog/dialog.d.ts +2 -2
  98. package/components/dialog/dialog.js +12 -48
  99. package/components/dialog/dialog.less +8 -4
  100. package/components/fab/fab-rtl.css +1 -1
  101. package/components/fab/fab-vars.less +20 -14
  102. package/components/fab/fab.css +1 -1
  103. package/components/fab/fab.js +0 -21
  104. package/components/fab/fab.less +50 -53
  105. package/components/form/form.d.ts +4 -4
  106. package/components/form/form.js +58 -94
  107. package/components/form/form.less +0 -3
  108. package/components/gauge/gauge-class.js +4 -20
  109. package/components/gauge/gauge.js +0 -9
  110. package/components/gauge/gauge.less +0 -3
  111. package/components/grid/grid-rtl.css +1 -1
  112. package/components/grid/grid-vars.less +0 -7
  113. package/components/grid/grid.css +1 -1
  114. package/components/grid/grid.d.ts +2 -8
  115. package/components/grid/grid.js +1 -225
  116. package/components/grid/grid.less +54 -184
  117. package/components/icon/icon.less +0 -3
  118. package/components/infinite-scroll/infinite-scroll-rtl.css +1 -1
  119. package/components/infinite-scroll/infinite-scroll.css +1 -1
  120. package/components/infinite-scroll/infinite-scroll.js +0 -16
  121. package/components/infinite-scroll/infinite-scroll.less +0 -3
  122. package/components/input/input-ios.less +49 -41
  123. package/components/input/input-md.less +87 -19
  124. package/components/input/input-rtl.css +1 -1
  125. package/components/input/input-vars.less +26 -60
  126. package/components/input/input.css +1 -1
  127. package/components/input/input.js +8 -67
  128. package/components/input/input.less +67 -153
  129. package/components/link/link-vars.less +0 -5
  130. package/components/link/link.less +3 -3
  131. package/components/list/list-md.less +0 -7
  132. package/components/list/list-vars.less +59 -108
  133. package/components/list/list.less +122 -90
  134. package/components/list-index/list-index-class.js +12 -69
  135. package/components/list-index/list-index-rtl.css +1 -1
  136. package/components/list-index/list-index-vars.less +0 -7
  137. package/components/list-index/list-index.css +1 -1
  138. package/components/list-index/list-index.d.ts +1 -3
  139. package/components/list-index/list-index.js +0 -8
  140. package/components/list-index/list-index.less +4 -7
  141. package/components/login-screen/login-screen-class.js +4 -9
  142. package/components/login-screen/login-screen-rtl.css +1 -1
  143. package/components/login-screen/login-screen-vars.less +13 -12
  144. package/components/login-screen/login-screen.css +1 -1
  145. package/components/login-screen/login-screen.js +0 -4
  146. package/components/login-screen/login-screen.less +2 -8
  147. package/components/messagebar/messagebar-class.js +18 -79
  148. package/components/messagebar/messagebar-ios.less +36 -0
  149. package/components/messagebar/messagebar-md.less +96 -16
  150. package/components/messagebar/messagebar-rtl.css +1 -1
  151. package/components/messagebar/messagebar-vars.less +27 -50
  152. package/components/messagebar/messagebar.css +1 -1
  153. package/components/messagebar/messagebar.js +0 -8
  154. package/components/messagebar/messagebar.less +11 -42
  155. package/components/messages/messages-class.js +17 -110
  156. package/components/messages/messages-ios.less +9 -0
  157. package/components/messages/messages-md.less +63 -28
  158. package/components/messages/messages-rtl.css +1 -1
  159. package/components/messages/messages-vars.less +43 -50
  160. package/components/messages/messages.css +1 -1
  161. package/components/messages/messages.js +0 -8
  162. package/components/messages/messages.less +0 -11
  163. package/components/modal/custom-modal-class.js +4 -14
  164. package/components/modal/modal-class.js +19 -55
  165. package/components/modal/modal.js +0 -3
  166. package/components/navbar/navbar-ios.less +3 -39
  167. package/components/navbar/navbar-md.less +12 -0
  168. package/components/navbar/navbar-vars.less +20 -49
  169. package/components/navbar/navbar.d.ts +0 -2
  170. package/components/navbar/navbar.js +37 -166
  171. package/components/navbar/navbar.less +4 -26
  172. package/components/notification/notification-class.js +4 -39
  173. package/components/notification/notification-md.less +18 -8
  174. package/components/notification/notification-rtl.css +1 -1
  175. package/components/notification/notification-vars.less +15 -54
  176. package/components/notification/notification.css +1 -1
  177. package/components/notification/notification.js +0 -2
  178. package/components/notification/notification.less +0 -3
  179. package/components/page/page-md.less +40 -10
  180. package/components/page/page-transitions/circle.less +15 -9
  181. package/components/page/page-transitions/fade.less +17 -11
  182. package/components/page/page-transitions/flip.less +9 -4
  183. package/components/page/page-vars.less +3 -19
  184. package/components/page/page.less +2 -10
  185. package/components/panel/panel-class.js +27 -132
  186. package/components/panel/panel-md.less +9 -0
  187. package/components/panel/panel-rtl.css +1 -1
  188. package/components/panel/panel-vars.less +7 -21
  189. package/components/panel/panel.css +1 -1
  190. package/components/panel/panel.d.ts +2 -2
  191. package/components/panel/panel.js +0 -34
  192. package/components/panel/panel.less +56 -48
  193. package/components/panel/resizable-panel.js +2 -32
  194. package/components/panel/swipe-panel.js +16 -71
  195. package/components/photo-browser/photo-browser-class.js +41 -171
  196. package/components/photo-browser/photo-browser-rtl.css +1 -1
  197. package/components/photo-browser/photo-browser-vars.less +0 -3
  198. package/components/photo-browser/photo-browser.css +1 -1
  199. package/components/photo-browser/photo-browser.d.ts +2 -4
  200. package/components/photo-browser/photo-browser.js +1 -6
  201. package/components/photo-browser/photo-browser.less +0 -4
  202. package/components/picker/picker-class.js +26 -133
  203. package/components/picker/picker-column.js +11 -31
  204. package/components/picker/picker-ios.less +10 -0
  205. package/components/picker/picker-md.less +6 -0
  206. package/components/picker/picker-rtl.css +1 -1
  207. package/components/picker/picker-vars.less +9 -25
  208. package/components/picker/picker.css +1 -1
  209. package/components/picker/picker.js +0 -4
  210. package/components/picker/picker.less +0 -11
  211. package/components/pie-chart/pie-chart-class.js +8 -31
  212. package/components/pie-chart/pie-chart.js +0 -3
  213. package/components/pie-chart/pie-chart.less +0 -3
  214. package/components/popover/popover-class.js +72 -126
  215. package/components/popover/popover-ios.less +0 -50
  216. package/components/popover/popover-rtl.css +1 -1
  217. package/components/popover/popover-vars.less +6 -23
  218. package/components/popover/popover.css +1 -1
  219. package/components/popover/popover.d.ts +2 -0
  220. package/components/popover/popover.js +1 -12
  221. package/components/popover/popover.less +62 -5
  222. package/components/popup/popup-class.js +12 -78
  223. package/components/popup/popup-rtl.css +1 -1
  224. package/components/popup/popup-vars.less +7 -9
  225. package/components/popup/popup.css +1 -1
  226. package/components/popup/popup.js +0 -4
  227. package/components/popup/popup.less +4 -4
  228. package/components/preloader/preloader-ios.less +3 -1
  229. package/components/preloader/preloader-md.less +5 -1
  230. package/components/preloader/preloader-rtl.css +1 -1
  231. package/components/preloader/preloader-vars.less +0 -6
  232. package/components/preloader/preloader.css +1 -1
  233. package/components/preloader/preloader.js +8 -25
  234. package/components/preloader/preloader.less +6 -3
  235. package/components/progressbar/progressbar-rtl.css +1 -1
  236. package/components/progressbar/progressbar-vars.less +2 -12
  237. package/components/progressbar/progressbar.css +1 -1
  238. package/components/progressbar/progressbar.js +2 -31
  239. package/components/progressbar/progressbar.less +0 -3
  240. package/components/pull-to-refresh/pull-to-refresh-class.js +15 -107
  241. package/components/pull-to-refresh/pull-to-refresh-md.less +2 -1
  242. package/components/pull-to-refresh/pull-to-refresh-rtl.css +1 -1
  243. package/components/pull-to-refresh/pull-to-refresh-vars.less +0 -4
  244. package/components/pull-to-refresh/pull-to-refresh.css +1 -1
  245. package/components/pull-to-refresh/pull-to-refresh.js +0 -8
  246. package/components/pull-to-refresh/pull-to-refresh.less +0 -3
  247. package/components/radio/radio-rtl.css +1 -1
  248. package/components/radio/radio-vars.less +0 -7
  249. package/components/radio/radio.css +1 -1
  250. package/components/radio/radio.less +12 -5
  251. package/components/range/range-class.js +27 -112
  252. package/components/range/range-rtl.css +1 -1
  253. package/components/range/range-vars.less +10 -32
  254. package/components/range/range.css +1 -1
  255. package/components/range/range.js +0 -12
  256. package/components/range/range.less +0 -3
  257. package/components/searchbar/remove-diacritics.js +0 -4
  258. package/components/searchbar/searchbar-class.js +17 -138
  259. package/components/searchbar/searchbar-md.less +41 -16
  260. package/components/searchbar/searchbar-rtl.css +1 -1
  261. package/components/searchbar/searchbar-vars.less +25 -76
  262. package/components/searchbar/searchbar.css +1 -1
  263. package/components/searchbar/searchbar.d.ts +2 -2
  264. package/components/searchbar/searchbar.js +0 -15
  265. package/components/searchbar/searchbar.less +14 -28
  266. package/components/sheet/sheet-class.js +15 -110
  267. package/components/sheet/sheet-rtl.css +1 -1
  268. package/components/sheet/sheet-vars.less +17 -6
  269. package/components/sheet/sheet.css +1 -1
  270. package/components/sheet/sheet.js +0 -9
  271. package/components/sheet/sheet.less +10 -3
  272. package/components/skeleton/skeleton.less +0 -3
  273. package/components/smart-select/smart-select-class.js +39 -176
  274. package/components/smart-select/smart-select.d.ts +3 -3
  275. package/components/smart-select/smart-select.js +2 -14
  276. package/components/smart-select/smart-select.less +0 -3
  277. package/components/sortable/sortable-rtl.css +1 -1
  278. package/components/sortable/sortable-vars.less +8 -8
  279. package/components/sortable/sortable.css +1 -1
  280. package/components/sortable/sortable.js +0 -44
  281. package/components/sortable/sortable.less +0 -3
  282. package/components/statusbar/statusbar.js +0 -36
  283. package/components/statusbar/statusbar.less +0 -3
  284. package/components/stepper/stepper-class.js +10 -83
  285. package/components/stepper/stepper-rtl.css +1 -1
  286. package/components/stepper/stepper-vars.less +12 -24
  287. package/components/stepper/stepper.css +1 -1
  288. package/components/stepper/stepper.js +0 -12
  289. package/components/stepper/stepper.less +12 -23
  290. package/components/subnavbar/subnavbar-vars.less +3 -18
  291. package/components/subnavbar/subnavbar.js +0 -3
  292. package/components/subnavbar/subnavbar.less +1 -11
  293. package/components/swipeout/swipeout-rtl.css +1 -1
  294. package/components/swipeout/swipeout-vars.less +7 -6
  295. package/components/swipeout/swipeout.css +1 -1
  296. package/components/swipeout/swipeout.js +2 -99
  297. package/components/swipeout/swipeout.less +2 -7
  298. package/components/swiper/swiper-rtl.css +1 -1
  299. package/components/swiper/swiper.css +1 -1
  300. package/components/swiper/swiper.js +15 -48
  301. package/components/swiper/swiper.less +0 -15
  302. package/components/tabs/tabs-rtl.css +1 -1
  303. package/components/tabs/tabs.css +1 -1
  304. package/components/tabs/tabs.js +23 -60
  305. package/components/tabs/tabs.less +1 -3
  306. package/components/text-editor/text-editor-class.js +16 -102
  307. package/components/text-editor/text-editor-rtl.css +1 -1
  308. package/components/text-editor/text-editor-vars.less +12 -16
  309. package/components/text-editor/text-editor.css +1 -1
  310. package/components/text-editor/text-editor.js +0 -8
  311. package/components/text-editor/text-editor.less +0 -6
  312. package/components/timeline/timeline-rtl.css +1 -1
  313. package/components/timeline/timeline-vars.less +13 -47
  314. package/components/timeline/timeline.css +1 -1
  315. package/components/timeline/timeline.less +2 -9
  316. package/components/toast/toast-class.js +2 -16
  317. package/components/toast/toast-rtl.css +1 -1
  318. package/components/toast/toast-vars.less +5 -9
  319. package/components/toast/toast.css +1 -1
  320. package/components/toast/toast.js +0 -3
  321. package/components/toast/toast.less +0 -3
  322. package/components/toggle/toggle-class.js +6 -30
  323. package/components/toggle/toggle-ios.less +5 -1
  324. package/components/toggle/toggle-md.less +27 -11
  325. package/components/toggle/toggle-rtl.css +1 -1
  326. package/components/toggle/toggle-vars.less +19 -21
  327. package/components/toggle/toggle.css +1 -1
  328. package/components/toggle/toggle.js +0 -8
  329. package/components/toggle/toggle.less +0 -4
  330. package/components/toolbar/toolbar-ios.less +2 -2
  331. package/components/toolbar/toolbar-md.less +28 -4
  332. package/components/toolbar/toolbar-vars.less +17 -52
  333. package/components/toolbar/toolbar.js +5 -43
  334. package/components/toolbar/toolbar.less +27 -45
  335. package/components/tooltip/tooltip-class.js +10 -64
  336. package/components/tooltip/tooltip-rtl.css +1 -1
  337. package/components/tooltip/tooltip-vars.less +12 -3
  338. package/components/tooltip/tooltip.css +1 -1
  339. package/components/tooltip/tooltip.js +0 -15
  340. package/components/tooltip/tooltip.less +0 -3
  341. package/components/touch-ripple/touch-ripple-class.js +0 -13
  342. package/components/touch-ripple/touch-ripple.js +0 -4
  343. package/components/touch-ripple/touch-ripple.less +1 -5
  344. package/components/treeview/treeview-rtl.css +1 -1
  345. package/components/treeview/treeview-vars.less +0 -3
  346. package/components/treeview/treeview.css +1 -1
  347. package/components/treeview/treeview.js +2 -11
  348. package/components/treeview/treeview.less +0 -3
  349. package/components/typography/typography-rtl.css +1 -1
  350. package/components/typography/typography.css +1 -1
  351. package/components/typography/typography.less +25 -3
  352. package/components/view/resizable-view.js +2 -24
  353. package/components/view/view-class.js +28 -53
  354. package/components/view/view.d.ts +0 -14
  355. package/components/view/view.js +8 -32
  356. package/components/view/view.less +1 -4
  357. package/components/virtual-list/virtual-list-class.js +58 -146
  358. package/components/virtual-list/virtual-list.d.ts +1 -1
  359. package/components/virtual-list/virtual-list.js +0 -2
  360. package/components/virtual-list/virtual-list.less +0 -3
  361. package/framework7-bundle-rtl.css +3064 -6057
  362. package/framework7-bundle-rtl.min.css +3 -3
  363. package/framework7-bundle.css +3063 -6059
  364. package/framework7-bundle.esm.js +4 -10
  365. package/framework7-bundle.js +6442 -12377
  366. package/framework7-bundle.js.map +1 -1
  367. package/framework7-bundle.less +2 -27
  368. package/framework7-bundle.min.css +3 -3
  369. package/framework7-bundle.min.js +3 -3
  370. package/framework7-bundle.min.js.map +1 -1
  371. package/framework7-lite-bundle.esm.js +4 -10
  372. package/framework7-lite.esm.js +4 -6
  373. package/framework7-rtl.css +803 -1591
  374. package/framework7-rtl.min.css +3 -3
  375. package/framework7-types.d.ts +1 -32
  376. package/framework7.css +803 -1594
  377. package/framework7.d.ts +1 -32
  378. package/framework7.esm.js +4 -6
  379. package/framework7.less +2 -23
  380. package/framework7.min.css +3 -3
  381. package/less/mixins.less +7 -88
  382. package/modules/clicks/clicks.js +10 -22
  383. package/modules/component/$h.js +0 -3
  384. package/modules/component/$jsx.js +0 -5
  385. package/modules/component/component-class.js +13 -66
  386. package/modules/component/component.d.ts +1 -2
  387. package/modules/component/component.js +0 -8
  388. package/modules/component/eventslisteners.js +12 -20
  389. package/modules/component/parse-component.js +18 -20
  390. package/modules/component/snabbdom/h.js +3 -12
  391. package/modules/component/snabbdom/helpers/attachto.js +9 -14
  392. package/modules/component/snabbdom/htmldomapi.js +0 -16
  393. package/modules/component/snabbdom/modules/attributes.js +7 -11
  394. package/modules/component/snabbdom/modules/class.js +4 -8
  395. package/modules/component/snabbdom/modules/dataset.js +3 -7
  396. package/modules/component/snabbdom/modules/eventlisteners.js +16 -22
  397. package/modules/component/snabbdom/modules/hero.js +4 -44
  398. package/modules/component/snabbdom/modules/props.js +5 -9
  399. package/modules/component/snabbdom/modules/style.js +13 -30
  400. package/modules/component/snabbdom/snabbdom.bundle.js +0 -6
  401. package/modules/component/snabbdom/snabbdom.js +13 -72
  402. package/modules/component/snabbdom/thunk.js +3 -11
  403. package/modules/component/snabbdom/tovnode.js +1 -6
  404. package/modules/component/vdom.js +4 -62
  405. package/modules/demo-module.js +0 -8
  406. package/modules/device/device.js +6 -11
  407. package/modules/history/history.js +0 -1
  408. package/modules/resize/resize.js +8 -11
  409. package/modules/router/async-component.js +0 -3
  410. package/modules/router/back.js +86 -275
  411. package/modules/router/clear-previous-history.js +5 -18
  412. package/modules/router/component-loader.js +4 -25
  413. package/modules/router/modal.js +16 -43
  414. package/modules/router/navigate.js +80 -250
  415. package/modules/router/process-route-queue.js +0 -12
  416. package/modules/router/redirect.js +0 -8
  417. package/modules/router/router-class.js +92 -315
  418. package/modules/router/router.d.ts +3 -5
  419. package/modules/router/router.js +0 -3
  420. package/modules/router/swipe-back.js +35 -139
  421. package/modules/router/tab.js +14 -43
  422. package/modules/service-worker/service-worker.js +0 -11
  423. package/modules/store/create-store.js +10 -29
  424. package/modules/touch/touch.d.ts +2 -4
  425. package/modules/touch/touch.js +13 -108
  426. package/package.json +3 -14
  427. package/shared/$jsx.js +0 -6
  428. package/shared/class.js +18 -43
  429. package/shared/constructor-methods.js +0 -11
  430. package/shared/events-class.js +0 -17
  431. package/shared/get-device.js +18 -34
  432. package/shared/get-support.js +2 -8
  433. package/shared/history.js +2 -30
  434. package/shared/material-color-utils.js +728 -0
  435. package/shared/material-colors.js +75 -0
  436. package/shared/modal-methods.js +0 -18
  437. package/shared/utils.d.ts +0 -4
  438. package/shared/utils.js +191 -71
  439. package/components/accordion/accordion-aurora.less +0 -2
  440. package/components/accordion/accordion.lazy.js +0 -1
  441. package/components/actions/actions-aurora.less +0 -9
  442. package/components/actions/actions.lazy.js +0 -1
  443. package/components/app/app-aurora.less +0 -10
  444. package/components/appbar/appbar-aurora.less +0 -2
  445. package/components/appbar/appbar-ios.less +0 -2
  446. package/components/appbar/appbar-md.less +0 -2
  447. package/components/appbar/appbar-rtl.css +0 -1
  448. package/components/appbar/appbar-vars.less +0 -28
  449. package/components/appbar/appbar.css +0 -1
  450. package/components/appbar/appbar.d.ts +0 -14
  451. package/components/appbar/appbar.js +0 -3
  452. package/components/appbar/appbar.lazy.js +0 -1
  453. package/components/appbar/appbar.less +0 -106
  454. package/components/area-chart/area-chart-aurora.less +0 -2
  455. package/components/area-chart/area-chart.lazy.js +0 -1
  456. package/components/autocomplete/autocomplete-aurora.less +0 -17
  457. package/components/autocomplete/autocomplete.lazy.js +0 -1
  458. package/components/badge/badge-aurora.less +0 -2
  459. package/components/block/block-aurora.less +0 -2
  460. package/components/breadcrumbs/breadcrumbs-aurora.less +0 -2
  461. package/components/breadcrumbs/breadcrumbs.lazy.js +0 -1
  462. package/components/button/button-aurora.less +0 -25
  463. package/components/calendar/calendar-aurora.less +0 -2
  464. package/components/calendar/calendar.lazy.js +0 -1
  465. package/components/card/card-aurora.less +0 -2
  466. package/components/card/card.lazy.js +0 -1
  467. package/components/checkbox/checkbox-aurora.less +0 -39
  468. package/components/checkbox/checkbox.lazy.js +0 -1
  469. package/components/chip/chip-aurora.less +0 -14
  470. package/components/chip/chip.lazy.js +0 -1
  471. package/components/color-picker/color-picker-aurora.less +0 -2
  472. package/components/color-picker/color-picker.lazy.js +0 -1
  473. package/components/contacts-list/contacts-list-aurora.less +0 -2
  474. package/components/contacts-list/contacts-list.lazy.js +0 -1
  475. package/components/data-table/data-table-aurora.less +0 -64
  476. package/components/data-table/data-table.lazy.js +0 -1
  477. package/components/dialog/dialog-aurora.less +0 -112
  478. package/components/dialog/dialog.lazy.js +0 -1
  479. package/components/elevation/elevation-aurora.less +0 -2
  480. package/components/elevation/elevation-ios.less +0 -2
  481. package/components/elevation/elevation-md.less +0 -2
  482. package/components/elevation/elevation-rtl.css +0 -1
  483. package/components/elevation/elevation-vars.less +0 -51
  484. package/components/elevation/elevation.css +0 -1
  485. package/components/elevation/elevation.d.ts +0 -14
  486. package/components/elevation/elevation.js +0 -3
  487. package/components/elevation/elevation.lazy.js +0 -1
  488. package/components/elevation/elevation.less +0 -54
  489. package/components/fab/fab-aurora.less +0 -2
  490. package/components/fab/fab.lazy.js +0 -1
  491. package/components/form/form-aurora.less +0 -0
  492. package/components/form/form.lazy.js +0 -1
  493. package/components/gauge/gauge-aurora.less +0 -2
  494. package/components/gauge/gauge.lazy.js +0 -1
  495. package/components/grid/grid-aurora.less +0 -2
  496. package/components/grid/grid.lazy.js +0 -1
  497. package/components/icon/icon-aurora.less +0 -49
  498. package/components/infinite-scroll/infinite-scroll-aurora.less +0 -6
  499. package/components/infinite-scroll/infinite-scroll.lazy.js +0 -1
  500. package/components/input/input-aurora.less +0 -120
  501. package/components/input/input.lazy.js +0 -1
  502. package/components/lazy/lazy-aurora.less +0 -2
  503. package/components/lazy/lazy-ios.less +0 -2
  504. package/components/lazy/lazy-md.less +0 -2
  505. package/components/lazy/lazy-rtl.css +0 -1
  506. package/components/lazy/lazy.css +0 -1
  507. package/components/lazy/lazy.d.ts +0 -57
  508. package/components/lazy/lazy.js +0 -283
  509. package/components/lazy/lazy.lazy.js +0 -1
  510. package/components/lazy/lazy.less +0 -23
  511. package/components/link/link-aurora.less +0 -15
  512. package/components/list/list-aurora.less +0 -25
  513. package/components/list-index/list-index-aurora.less +0 -21
  514. package/components/list-index/list-index.lazy.js +0 -1
  515. package/components/login-screen/login-screen-aurora.less +0 -2
  516. package/components/login-screen/login-screen.lazy.js +0 -1
  517. package/components/menu/menu-aurora.less +0 -8
  518. package/components/menu/menu-ios.less +0 -2
  519. package/components/menu/menu-md.less +0 -2
  520. package/components/menu/menu-rtl.css +0 -1
  521. package/components/menu/menu-vars.less +0 -27
  522. package/components/menu/menu.css +0 -1
  523. package/components/menu/menu.d.ts +0 -32
  524. package/components/menu/menu.js +0 -87
  525. package/components/menu/menu.lazy.js +0 -1
  526. package/components/menu/menu.less +0 -232
  527. package/components/messagebar/messagebar-aurora.less +0 -53
  528. package/components/messagebar/messagebar.lazy.js +0 -1
  529. package/components/messages/messages-aurora.less +0 -137
  530. package/components/messages/messages.lazy.js +0 -1
  531. package/components/navbar/navbar-aurora.less +0 -70
  532. package/components/notification/notification-aurora.less +0 -59
  533. package/components/notification/notification.lazy.js +0 -1
  534. package/components/page/page-aurora.less +0 -49
  535. package/components/panel/panel-aurora.less +0 -2
  536. package/components/panel/panel.lazy.js +0 -1
  537. package/components/photo-browser/photo-browser-aurora.less +0 -2
  538. package/components/photo-browser/photo-browser.lazy.js +0 -1
  539. package/components/picker/picker-aurora.less +0 -2
  540. package/components/picker/picker.lazy.js +0 -1
  541. package/components/pie-chart/pie-chart-aurora.less +0 -2
  542. package/components/pie-chart/pie-chart.lazy.js +0 -1
  543. package/components/popover/popover-aurora.less +0 -56
  544. package/components/popover/popover.lazy.js +0 -1
  545. package/components/popup/popup-aurora.less +0 -2
  546. package/components/popup/popup.lazy.js +0 -1
  547. package/components/preloader/preloader-aurora.less +0 -53
  548. package/components/preloader/preloader.lazy.js +0 -1
  549. package/components/progressbar/progressbar-aurora.less +0 -72
  550. package/components/progressbar/progressbar.lazy.js +0 -1
  551. package/components/pull-to-refresh/pull-to-refresh-aurora.less +0 -122
  552. package/components/pull-to-refresh/pull-to-refresh.lazy.js +0 -1
  553. package/components/radio/radio-aurora.less +0 -86
  554. package/components/radio/radio.lazy.js +0 -1
  555. package/components/range/range-aurora.less +0 -9
  556. package/components/range/range.lazy.js +0 -1
  557. package/components/searchbar/searchbar-aurora.less +0 -86
  558. package/components/searchbar/searchbar.lazy.js +0 -1
  559. package/components/sheet/sheet-aurora.less +0 -2
  560. package/components/sheet/sheet.lazy.js +0 -1
  561. package/components/skeleton/skeleton-aurora.less +0 -2
  562. package/components/skeleton/skeleton.lazy.js +0 -1
  563. package/components/smart-select/smart-select-aurora.less +0 -2
  564. package/components/smart-select/smart-select.lazy.js +0 -1
  565. package/components/sortable/sortable-aurora.less +0 -7
  566. package/components/sortable/sortable.lazy.js +0 -1
  567. package/components/statusbar/statusbar-aurora.less +0 -2
  568. package/components/stepper/stepper-aurora.less +0 -32
  569. package/components/stepper/stepper.lazy.js +0 -1
  570. package/components/subnavbar/subnavbar-aurora.less +0 -51
  571. package/components/swipeout/swipeout-aurora.less +0 -2
  572. package/components/swipeout/swipeout.lazy.js +0 -1
  573. package/components/swiper/swiper-aurora.less +0 -2
  574. package/components/swiper/swiper.lazy.js +0 -1
  575. package/components/tabs/tabs-aurora.less +0 -2
  576. package/components/tabs/tabs.lazy.js +0 -1
  577. package/components/text-editor/text-editor-aurora.less +0 -9
  578. package/components/text-editor/text-editor.lazy.js +0 -1
  579. package/components/timeline/timeline-aurora.less +0 -7
  580. package/components/timeline/timeline.lazy.js +0 -1
  581. package/components/toast/toast-aurora.less +0 -64
  582. package/components/toast/toast.lazy.js +0 -1
  583. package/components/toggle/toggle-aurora.less +0 -26
  584. package/components/toggle/toggle.lazy.js +0 -1
  585. package/components/toolbar/toolbar-aurora.less +0 -43
  586. package/components/tooltip/tooltip-aurora.less +0 -2
  587. package/components/tooltip/tooltip.lazy.js +0 -1
  588. package/components/touch-ripple/touch-ripple-aurora.less +0 -2
  589. package/components/treeview/treeview-aurora.less +0 -31
  590. package/components/treeview/treeview.lazy.js +0 -1
  591. package/components/typography/typography-aurora.less +0 -2
  592. package/components/typography/typography.lazy.js +0 -1
  593. package/components/view/view-aurora.less +0 -2
  594. package/components/virtual-list/virtual-list-aurora.less +0 -2
  595. package/components/virtual-list/virtual-list.lazy.js +0 -1
  596. package/framework7.js +0 -14715
  597. package/framework7.js.map +0 -1
  598. package/framework7.min.js +0 -14
  599. package/framework7.min.js.map +0 -1
  600. package/modules/request/request.d.ts +0 -15
  601. package/modules/request/request.js +0 -11
  602. package/shared/request.d.ts +0 -115
  603. package/shared/request.js +0 -512
@@ -1,6 +1,5 @@
1
1
  :root {
2
2
  --f7-list-inset-side-margin: 16px;
3
- --f7-list-item-cell-margin: 16px;
4
3
  --f7-list-item-padding-horizontal: 16px;
5
4
  --f7-list-item-padding-vertical: 8px;
6
5
  --f7-list-media-item-padding-horizontal: 16px;
@@ -10,19 +9,16 @@
10
9
 
11
10
  --f7-list-item-title-font-size: inherit;
12
11
  --f7-list-item-title-font-weight: 400;
13
- --f7-list-item-title-text-color: inherit;
14
12
  --f7-list-item-title-line-height: inherit;
15
13
  --f7-list-item-title-white-space: nowrap;
16
14
 
17
15
  --f7-list-item-subtitle-font-weight: 400;
18
- --f7-list-item-subtitle-text-color: inherit;
19
16
  --f7-list-item-subtitle-line-height: inherit;
20
17
 
21
18
  --f7-list-item-text-font-weight: 400;
22
19
  --f7-list-item-after-font-weight: 400;
23
20
  --f7-list-item-after-line-height: inherit;
24
21
 
25
- --f7-list-item-header-text-color: inherit;
26
22
  --f7-list-item-header-font-size: 12px;
27
23
  --f7-list-item-header-font-weight: 400;
28
24
  --f7-list-item-header-line-height: 1.2;
@@ -39,12 +35,8 @@
39
35
  --f7-list-button-font-weight: 400;
40
36
  --f7-list-button-text-align: center;
41
37
 
42
- --f7-list-item-divider-line-height: inherit;
43
- --f7-list-item-divider-font-weight: 400;
44
38
  --f7-list-group-title-line-height: inherit;
45
39
 
46
- --f7-menu-list-offset: 8px;
47
- --f7-menu-list-border-radius: 8px;
48
40
  --f7-menu-list-font-size: 14px;
49
41
  --f7-menu-list-item-title-font-size: 14px;
50
42
  --f7-menu-list-item-title-font-weight: 500;
@@ -53,22 +45,16 @@
53
45
  --f7-menu-list-item-after-font-size: 14px;
54
46
 
55
47
  .light-vars({
56
- --f7-list-bg-color: #fff;
48
+ --f7-list-outline-border-color: rgba(0,0,0,0.22);
57
49
  --f7-list-chevron-icon-color: rgba(0, 0, 0, 0.2);
58
- --f7-menu-list-selected-text-color: var(--f7-theme-color);
59
- --f7-menu-list-selected-bg-color: rgba(var(--f7-theme-color-rgb), 0.15);
50
+
60
51
  });
61
52
  .dark-vars({
62
53
  --f7-list-button-border-color: rgba(255, 255, 255, 0.15);
63
- --f7-list-bg-color: #1c1c1d;
64
- --f7-list-border-color: rgba(255, 255, 255, 0.15);
65
- --f7-list-item-border-color: rgba(255, 255, 255, 0.15);
66
- --f7-list-item-divider-border-color: rgba(255, 255, 255, 0.15);
67
- --f7-list-item-divider-bg-color: #232323;
68
- --f7-list-group-title-bg-color: #232323;
54
+ --f7-list-outline-border-color: rgba(255, 255, 255, 0.15);
55
+ --f7-list-group-title-border-color: rgba(255, 255, 255, 0.15);
69
56
  --f7-list-chevron-icon-color: rgba(255, 255, 255, 0.3);
70
- --f7-menu-list-selected-text-color: inherit;
71
- --f7-menu-list-selected-bg-color: var(--f7-theme-color);
57
+
72
58
  });
73
59
  }
74
60
  .ios-vars({
@@ -77,8 +63,10 @@
77
63
  --f7-list-margin-vertical: 35px;
78
64
  --f7-list-font-size: 17px;
79
65
  --f7-list-chevron-icon-area: 20px;
80
- --f7-list-border-color: rgba(0,0,0,0.22);
81
- --f7-list-item-border-color: rgba(0,0,0,0.22);
66
+ --f7-list-item-title-text-color: inherit;
67
+ --f7-list-item-subtitle-text-color: inherit;
68
+
69
+
82
70
  --f7-list-link-pressed-bg-color: rgba(0,0,0,0.15);
83
71
 
84
72
  --f7-list-item-subtitle-font-size: 15px;
@@ -95,40 +83,54 @@
95
83
  --f7-list-media-item-title-font-weight: 600;
96
84
  --f7-list-button-border-color: rgba(0,0,0,0.22);
97
85
 
98
- --f7-list-item-divider-height: 31px;
99
- --f7-list-item-divider-font-size: inherit;
100
- --f7-list-item-divider-bg-color: rgba(0,0,0,0.03);
101
- --f7-list-item-divider-border-color: rgba(0,0,0,0.22);
86
+ --f7-list-group-title-border-color: rgba(0,0,0,0.22);
102
87
 
103
88
  --f7-list-group-title-height: 31px;
104
89
  --f7-list-group-title-font-size: inherit;
105
90
  --f7-list-group-title-font-weight: 400;
106
- --f7-list-group-title-bg-color: #f7f7f7;
91
+
92
+ --f7-menu-list-offset: 8px;
93
+ --f7-menu-list-border-radius: 8px;
94
+ --f7-menu-list-item-bg-color: transparent;
95
+ --f7-menu-list-item-text-color: inherit;
96
+ --f7-menu-list-item-min-height: 44px;
97
+
107
98
  .light-vars({
99
+ --f7-list-item-border-color: rgba(0,0,0,0.22);
100
+ --f7-list-outline-inset-border-color: rgba(0,0,0,0.22);
101
+ --f7-list-strong-bg-color: #fff;
108
102
  --f7-list-item-after-text-color: rgba(0,0,0,0.45);
103
+ --f7-list-item-header-text-color: inherit;
109
104
  --f7-list-item-footer-text-color: rgba(0,0,0,0.45);
110
105
  --f7-list-item-text-text-color: rgba(0,0,0,0.45);
111
- --f7-list-item-divider-text-color: rgba(0,0,0,0.45);
112
106
  --f7-list-group-title-text-color: rgba(0,0,0,0.45);
107
+ --f7-list-group-title-bg-color: #f7f7f7;
108
+
109
+ --f7-menu-list-item-selected-text-color: var(--f7-theme-color);
110
+ --f7-menu-list-item-selected-bg-color: rgba(var(--f7-theme-color-rgb), 0.15);
113
111
  });
114
112
  .dark-vars({
113
+ --f7-list-item-border-color: rgba(255, 255, 255, 0.15);
114
+ --f7-list-outline-inset-color: rgba(255, 255, 255, 0.15);
115
+ --f7-list-strong-bg-color: #1c1c1d;
115
116
  --f7-list-item-after-text-color: rgba(255,255,255,0.55);
116
117
  --f7-list-item-header-text-color: rgba(255,255,255,0.55);
117
118
  --f7-list-item-footer-text-color: rgba(255,255,255,0.55);
118
119
  --f7-list-item-text-text-color: rgba(255,255,255,0.55);
119
- --f7-list-item-divider-text-color: rgba(255,255,255,0.55);
120
120
  --f7-list-group-title-text-color: rgba(255,255,255,0.55);
121
+ --f7-list-group-title-bg-color: #232323;
121
122
  --f7-list-link-pressed-bg-color: rgba(255, 255, 255, 0.08);
123
+
124
+ --f7-menu-list-item-selected-text-color: inherit;
125
+ --f7-menu-list-item-selected-bg-color: var(--f7-theme-color);
122
126
  });
123
127
  });
124
128
  .md-vars({
125
- --f7-list-in-list-padding-left: 40px;
126
- --f7-list-inset-border-radius: 4px;
129
+ --f7-list-in-list-padding-left: 24px;
130
+ --f7-list-inset-border-radius: 16px;
127
131
  --f7-list-margin-vertical: 32px;
128
132
  --f7-list-font-size: 16px;
129
133
  --f7-list-chevron-icon-area: 26px;
130
- --f7-list-border-color: rgba(0,0,0,0.12);
131
- --f7-list-item-border-color: rgba(0,0,0,0.12);
132
134
 
133
135
  --f7-list-item-subtitle-font-size: 14px;
134
136
 
@@ -141,93 +143,42 @@
141
143
 
142
144
  --f7-list-item-min-height: 48px;
143
145
  --f7-list-item-media-icons-margin: 8px;
144
- --f7-list-media-item-padding-vertical: 14px;
145
- /*
146
- --f7-list-media-item-title-font-weight: var(--f7-list-item-title-font-weight);
147
- */
146
+ --f7-list-media-item-padding-vertical: 12px;
147
+ --f7-list-media-item-title-font-weight: 500;
148
148
  --f7-list-button-border-color: transparent;
149
149
 
150
- --f7-list-item-divider-height: 48px;
151
- --f7-list-item-divider-font-size: 14px;
152
- --f7-list-item-divider-bg-color: #f4f4f4;
153
- --f7-list-item-divider-border-color: transparent;
150
+ --f7-list-group-title-border-color: transparent;
154
151
 
155
152
  --f7-list-group-title-height: 48px;
156
- --f7-list-group-title-font-size: 14px;
153
+ --f7-list-group-title-font-size: 16px;
157
154
  --f7-list-group-title-font-weight: 400;
158
- --f7-list-group-title-bg-color: #f4f4f4;
159
- --f7-menu-list-border-radius: 4px;
160
- .light-vars({
161
- --f7-list-link-pressed-bg-color: rgba(0,0,0,0.1);
162
- --f7-list-item-text-text-color: rgba(0,0,0,0.54);
163
- --f7-list-item-after-text-color: rgba(0,0,0,0.54);
164
- --f7-list-item-footer-text-color: rgba(0,0,0,0.5);
165
- --f7-list-item-divider-text-color: rgba(0,0,0,0.54);
166
- --f7-list-group-title-text-color: rgba(0,0,0,0.54);
167
- });
168
- .dark-vars({
169
- --f7-list-item-divider-text-color: #fff;
170
- --f7-list-group-title-text-color: #fff;
171
- --f7-list-link-pressed-bg-color: rgba(255,255,255,0.05);
172
- --f7-list-item-text-text-color: rgba(255,255,255,0.54);
173
- --f7-list-item-after-text-color: rgba(255,255,255,0.54);
174
- --f7-list-item-footer-text-color: rgba(255,255,255,0.54);
175
- });
176
- });
177
- .aurora-vars({
178
- --f7-list-in-list-padding-left: 16px;
179
- --f7-list-inset-border-radius: 8px;
180
- --f7-list-margin-vertical: 32px;
181
- --f7-list-font-size: 16px;
182
- --f7-list-chevron-icon-area: 20px;
183
- --f7-list-border-color: rgba(0,0,0,0.12);
184
- --f7-list-item-border-color: rgba(0,0,0,0.12);
185
-
186
- --f7-list-item-subtitle-font-size: 14px;
187
155
 
188
- --f7-list-item-text-font-size: 14px;
189
- --f7-list-item-text-line-height: 20px;
190
-
191
- --f7-list-item-after-font-size: 14px;
192
- --f7-list-item-after-padding: 8px;
193
-
194
-
195
- --f7-list-item-min-height: 48px;
196
- --f7-list-item-media-icons-margin: 8px;
197
- --f7-list-media-item-padding-vertical: 16px;
198
- --f7-list-media-item-title-font-weight: 600;
199
-
200
- --f7-list-button-border-color: rgba(0,0,0,0.12);
201
- --f7-list-button-font-weight: 500;
202
-
203
- --f7-list-item-divider-height: 32px;
204
- --f7-list-item-divider-font-size: 14px;
205
- --f7-list-item-divider-bg-color: rgba(0,0,0,0.03);
206
- --f7-list-item-divider-border-color: transparent;
207
-
208
- --f7-list-group-title-height: 32px;
209
- --f7-list-group-title-font-size: 14px;
210
- --f7-list-group-title-font-weight: 500;
211
- --f7-list-group-title-bg-color: #f7f7f7;
156
+ --f7-menu-list-offset: 16px;
157
+ --f7-menu-list-border-radius: 999px;
158
+ --f7-menu-list-item-min-height: 56px;
212
159
 
213
160
  .light-vars({
214
161
  --f7-list-link-pressed-bg-color: rgba(0,0,0,0.1);
215
- --f7-list-link-hover-bg-color: rgba(0,0,0,0.03);
216
- --f7-list-item-text-text-color: rgba(0,0,0,0.6);
217
- --f7-list-item-after-text-color: rgba(0,0,0,0.5);
218
- --f7-list-item-footer-text-color: rgba(0,0,0,0.6);
219
- --f7-list-button-hover-bg-color: rgba(0,0,0,0.03);
220
- --f7-list-item-divider-text-color: rgba(0,0,0,0.6);
221
- --f7-list-group-title-text-color: rgba(0,0,0,0.6);
222
162
  });
223
163
  .dark-vars({
224
- --f7-list-item-text-text-color: rgba(255,255,255,0.54);
225
- --f7-list-item-after-text-color: rgba(255,255,255,0.54);
226
- --f7-list-item-footer-text-color: rgba(255,255,255,0.54);
227
- --f7-list-item-divider-text-color: rgba(255,255,255,0.6);
228
- --f7-list-group-title-text-color: rgba(255,255,255,0.6);
229
164
  --f7-list-link-pressed-bg-color: rgba(255,255,255,0.05);
230
- --f7-list-link-hover-bg-color: rgba(255,255,255,0.03);
231
- --f7-list-button-hover-bg-color: rgba(255,255,255,0.03);
232
165
  });
233
166
  });
167
+
168
+ .md-color-vars({
169
+ --f7-list-outline-inset-border-color: var(--f7-md-outline);
170
+ --f7-list-item-border-color: var(--f7-md-outline);
171
+ --f7-list-item-title-text-color: var(--f7-md-on-surface);
172
+ --f7-list-item-subtitle-text-color: var(--f7-md-on-surface);
173
+ --f7-list-group-title-bg-color: var(--f7-md-surface-2);
174
+ --f7-list-group-title-text-color: var(--f7-md-on-surface-variant);
175
+ --f7-list-strong-bg-color: var(--f7-md-surface-1);
176
+ --f7-list-item-after-text-color: var(--f7-md-on-surface-variant);
177
+ --f7-list-item-text-text-color: var(--f7-md-on-surface-variant);
178
+ --f7-list-item-header-text-color: var(--f7-md-on-surface-variant);
179
+ --f7-list-item-footer-text-color: var(--f7-md-on-surface-variant);
180
+ --f7-menu-list-item-text-color: var(--f7-md-on-surface-variant);
181
+ --f7-menu-list-item-bg-color: var(--f7-md-surface-1);
182
+ --f7-menu-list-item-selected-text-color: var(--f7-md-on-secondary-container);
183
+ --f7-menu-list-item-selected-bg-color: var(--f7-md-secondary-container);
184
+ });
@@ -6,7 +6,6 @@
6
6
  }
7
7
 
8
8
  .list {
9
- --menu-list-offset: 0px;
10
9
  position: relative;
11
10
  z-index: 1;
12
11
  font-size: var(--f7-list-font-size);
@@ -22,14 +21,32 @@
22
21
  box-sizing: border-box;
23
22
  }
24
23
 
24
+ &-strong ul,
25
+ .ios &-strong-ios ul,
26
+ .md &-strong-md ul {
27
+ background: var(--f7-list-strong-bg-color);
28
+ }
29
+ &-outline ul,
30
+ .ios &-outline-ios ul,
31
+ .md &-outline-md ul {
32
+ .hairline(top, var(--f7-list-outline-border-color));
33
+ .hairline(bottom, var(--f7-list-outline-border-color));
34
+ }
35
+
36
+ &-outline.inset,
37
+ .ios &-outline-ios.inset,
38
+ .ios &-outline-ios.inset-ios,
39
+ .md &-outline-md.inset,
40
+ .md &-outline-md.inset-md {
41
+ border: 1px solid var(--f7-list-outline-inset-border-color);
42
+ }
43
+
25
44
  ul {
26
45
  list-style: none;
27
46
  margin: 0;
28
47
  padding: 0;
29
48
  position: relative;
30
- background: var(--f7-list-bg-color);
31
- .hairline(top, var(--f7-list-border-color));
32
- .hairline(bottom, var(--f7-list-border-color));
49
+
33
50
  ul {
34
51
  .ltr({
35
52
  padding-left: calc(var(--f7-list-item-padding-horizontal) + var(--f7-list-in-list-padding-left));
@@ -53,6 +70,7 @@
53
70
  box-sizing: border-box;
54
71
  padding-bottom: var(--f7-list-item-padding-vertical);
55
72
  padding-top: var(--f7-list-item-padding-vertical);
73
+ position: relative;
56
74
  + .item-inner {
57
75
  .ltr({
58
76
  margin-left: var(--f7-list-item-media-margin);
@@ -91,12 +109,12 @@
91
109
  align-self: stretch;
92
110
  padding-top: var(--f7-list-item-padding-vertical);
93
111
  padding-bottom: var(--f7-list-item-padding-vertical);
94
- min-height: calc(var(--f7-list-item-min-height) - var(--menu-list-offset));
112
+ min-height: calc(var(--f7-list-item-min-height));
95
113
  .ltr({
96
- padding-right: calc(var(--f7-list-item-padding-horizontal) + var(--f7-safe-area-right) - var(--menu-list-offset));
114
+ padding-right: calc(var(--f7-list-item-padding-horizontal) + var(--f7-safe-area-right));
97
115
  });
98
116
  .rtl({
99
- padding-left: calc(var(--f7-list-item-padding-horizontal) + var(--f7-safe-area-left) - var(--menu-list-offset));
117
+ padding-left: calc(var(--f7-list-item-padding-horizontal) + var(--f7-safe-area-left));
100
118
  });
101
119
  }
102
120
  .item-title {
@@ -144,25 +162,33 @@
144
162
  line-height: var(--f7-list-item-footer-line-height);
145
163
  }
146
164
  .item-link,
165
+ label.item-content,
147
166
  .list-button {
148
167
  transition-duration: 300ms;
149
168
  transition-property: background-color, color;
150
- display: block;
151
169
  position: relative;
152
170
  overflow: hidden;
153
171
  z-index: 0;
172
+ cursor: pointer;
154
173
  }
155
- .item-link {
174
+ .item-link,
175
+ .list-button {
176
+ display: block;
177
+ }
178
+ .item-link,
179
+ label.item-content {
156
180
  color: inherit;
157
181
  &.active-state {
158
182
  background-color: var(--f7-list-link-pressed-bg-color);
159
183
  }
184
+ }
185
+ .item-link {
160
186
  .item-inner {
161
187
  .ltr({
162
- padding-right: calc(var(--f7-list-chevron-icon-area) + var(--f7-list-item-padding-horizontal) + var(--f7-safe-area-right) - var(--menu-list-offset));
188
+ padding-right: calc(var(--f7-list-chevron-icon-area) + var(--f7-list-item-padding-horizontal) + var(--f7-safe-area-right));
163
189
  });
164
190
  .rtl({
165
- padding-left: calc(var(--f7-list-chevron-icon-area) + var(--f7-list-item-padding-horizontal) + var(--f7-safe-area-left) - var(--menu-list-offset));
191
+ padding-left: calc(var(--f7-list-chevron-icon-area) + var(--f7-list-item-padding-horizontal) + var(--f7-safe-area-left));
166
192
  });
167
193
  }
168
194
  }
@@ -171,12 +197,12 @@
171
197
  .item-row();
172
198
  box-sizing: border-box;
173
199
  align-items: center;
174
- min-height: calc(var(--f7-list-item-min-height) - var(--menu-list-offset));
200
+ min-height: calc(var(--f7-list-item-min-height));
175
201
  .ltr({
176
- padding-left: calc(var(--f7-list-item-padding-horizontal) + var(--f7-safe-area-left) - var(--menu-list-offset));
202
+ padding-left: calc(var(--f7-list-item-padding-horizontal) + var(--f7-safe-area-left));
177
203
  });
178
204
  .rtl({
179
- padding-right: calc(var(--f7-list-item-padding-horizontal) + var(--f7-safe-area-right) - var(--menu-list-offset));
205
+ padding-right: calc(var(--f7-list-item-padding-horizontal) + var(--f7-safe-area-right));
180
206
  });
181
207
  }
182
208
 
@@ -214,33 +240,6 @@
214
240
  }
215
241
  }
216
242
 
217
- .item-row {
218
- .item-row();
219
- }
220
- .item-cell {
221
- .item-cell();
222
- width: 100%;
223
- min-width: 0;
224
- .ltr({
225
- margin-left: var(--f7-list-item-cell-margin);
226
- &:first-child {
227
- margin-left: 0;
228
- }
229
- });
230
- .rtl({
231
- margin-right: var(--f7-list-item-cell-margin);
232
- &:first-child {
233
- margin-right: 0;
234
- }
235
- });
236
- flex-shrink: 1;
237
- }
238
- .ltr({
239
- .ripple-wave + .item-cell {
240
- margin-left: 0;
241
- }
242
- });
243
-
244
243
  // Last-childs
245
244
  li {
246
245
  &:last-child {
@@ -264,8 +263,6 @@
264
263
  }
265
264
  }
266
265
  }
267
- .no-hairlines();
268
- .no-hairlines-between();
269
266
  }
270
267
  .list-button {
271
268
  --f7-touch-ripple-color: var(--f7-link-touch-ripple-color, rgba(var(--f7-theme-color-rgb), 0.25));
@@ -275,10 +272,15 @@
275
272
  font-size: var(--f7-list-button-font-size);
276
273
  font-weight: var(--f7-list-button-font-weight);
277
274
  text-align: var(--f7-list-button-text-align);
278
- .hairline(bottom, var(--f7-list-button-border-color));
275
+
279
276
  &.active-state {
280
277
  background-color: var(--f7-list-button-pressed-bg-color, rgba(var(--f7-theme-color-rgb), 0.15));
281
278
  }
279
+ .list-dividers &,
280
+ .ios .list-dividers-ios &,
281
+ .md .list-dividers-md & {
282
+ .hairline(bottom, var(--f7-list-button-border-color));
283
+ }
282
284
  }
283
285
  .list-button[class*='color-'] {
284
286
  --f7-list-button-text-color: var(--f7-theme-color);
@@ -370,10 +372,37 @@
370
372
  .hairline-remove(bottom);
371
373
  }
372
374
  }
373
- .simple-list li,
374
- .links-list a,
375
- .list .item-inner {
376
- .hairline(bottom, var(--f7-list-item-border-color));
375
+ .list-dividers,
376
+ .ios .list-dividers-ios,
377
+ .md .list-dividers-md {
378
+ &.simple-list li,
379
+ &.links-list a,
380
+ .item-inner {
381
+ .hairline(bottom, var(--f7-list-item-border-color));
382
+ }
383
+ }
384
+
385
+ .md .media-list:not(.inset):not(.inset-md):not(.menu-list) .item-content,
386
+ .md .media-list:not(.inset):not(.inset-md):not(.menu-list) li > .item-link,
387
+ .md .list:not(.inset):not(.inset-md):not(.menu-list) .media-item .item-content,
388
+ .md .list:not(.inset):not(.inset-md):not(.menu-list) .media-item > .item-link {
389
+ margin-left: calc(var(--f7-list-item-padding-horizontal) / 2);
390
+ margin-right: calc(var(--f7-list-item-padding-horizontal) / 2);
391
+ border-radius: 16px;
392
+ }
393
+ .md .media-list:not(.inset):not(.inset-md):not(.menu-list) li > .item-link > .item-content,
394
+ .md .list:not(.inset):not(.inset-md):not(.menu-list) .media-item > .item-link > .item-content {
395
+ margin-left: 0;
396
+ margin-right: 0;
397
+ }
398
+ .md .media-list:not(.inset):not(.inset-md):not(.menu-list) .item-content,
399
+ .md .list:not(.inset):not(.inset-md):not(.menu-list) .media-item .item-content {
400
+ .ltr({
401
+ padding-left: calc(var(--f7-list-item-padding-horizontal) / 2 + var(--f7-safe-area-left));
402
+ });
403
+ .rtl({
404
+ padding-right: calc(var(--f7-list-item-padding-horizontal) / 2 + var(--f7-safe-area-right));
405
+ });
377
406
  }
378
407
 
379
408
  .media-list,
@@ -391,14 +420,13 @@ li.media-item {
391
420
  align-self: stretch;
392
421
  }
393
422
  .item-media {
394
- align-self: flex-start;
395
423
  img {
396
424
  display: block;
397
425
  }
398
426
  }
399
427
  .ltr({
400
428
  .item-link .item-inner {
401
- padding-right: calc(var(--f7-list-item-padding-horizontal) + var(--f7-safe-area-right) - var(--menu-list-offset));
429
+ padding-right: calc(var(--f7-list-item-padding-horizontal) + var(--f7-safe-area-right));
402
430
  }
403
431
  .item-link .item-title-row {
404
432
  padding-right: calc(var(--f7-list-chevron-icon-area));
@@ -406,7 +434,7 @@ li.media-item {
406
434
  });
407
435
  .rtl({
408
436
  .item-link .item-inner {
409
- padding-left: calc(var(--f7-list-item-padding-horizontal) + var(--f7-safe-area-left) - var(--menu-list-offset));
437
+ padding-left: calc(var(--f7-list-item-padding-horizontal) + var(--f7-safe-area-left));
410
438
  }
411
439
  .item-link .item-title-row {
412
440
  padding-left: calc(var(--f7-list-chevron-icon-area));
@@ -420,10 +448,10 @@ li.media-item.chevron-center .item-link .item-inner,
420
448
  li.media-item .item-link.chevron-center .item-inner,
421
449
  li.media-item .chevron-center .item-link .item-inner {
422
450
  .ltr({
423
- padding-right: calc(var(--f7-list-chevron-icon-area) + var(--f7-list-item-padding-horizontal) + var(--f7-safe-area-right) - var(--menu-list-offset));
451
+ padding-right: calc(var(--f7-list-chevron-icon-area) + var(--f7-list-item-padding-horizontal) + var(--f7-safe-area-right));
424
452
  });
425
453
  .rtl({
426
- padding-left: calc(var(--f7-list-chevron-icon-area) + var(--f7-list-item-padding-horizontal) + var(--f7-safe-area-left) - var(--menu-list-offset));
454
+ padding-left: calc(var(--f7-list-chevron-icon-area) + var(--f7-list-item-padding-horizontal) + var(--f7-safe-area-left));
427
455
  });
428
456
  }
429
457
  .media-list.chevron-center .item-title-row,
@@ -506,9 +534,9 @@ li.media-item .item-link .item-title-row {
506
534
  .hairline-remove(top);
507
535
  }
508
536
  }
509
- li.item-divider,
510
- .item-divider,
511
- li.list-group-title {
537
+ li.list-group-title,
538
+ .list-group-title {
539
+ margin-top: -1px;
512
540
  white-space: nowrap;
513
541
  position: relative;
514
542
  max-width: 100%;
@@ -523,37 +551,29 @@ li.list-group-title {
523
551
  display: flex;
524
552
  align-items: center;
525
553
  align-content: center;
526
- .hairline-remove(bottom);
527
- }
528
- li.item-divider,
529
- .item-divider {
530
- margin-top: -1px;
531
- height: var(--f7-list-item-divider-height);
532
- color: var(--f7-list-item-divider-text-color);
533
- font-size: var(--f7-list-item-divider-font-size);
534
- font-weight: var(--f7-list-item-divider-font-weight);
535
- background-color: var(--f7-list-item-divider-bg-color);
536
- line-height: var(--f7-list-item-divider-line-height);
537
- .hairline(top, var(--f7-list-item-divider-border-color));
538
- }
539
- li.list-group-title,
540
- .list li.list-group-title {
541
- position: relative;
542
- position: sticky;
543
- top: 0;
544
- margin-top: 0;
545
- z-index: 20;
546
554
  height: var(--f7-list-group-title-height);
547
555
  color: var(--f7-list-group-title-text-color);
548
556
  font-size: var(--f7-list-group-title-font-size);
549
557
  font-weight: var(--f7-list-group-title-font-weight);
550
558
  background-color: var(--f7-list-group-title-bg-color);
551
559
  line-height: var(--f7-list-group-title-line-height);
560
+ .hairline(top, var(--f7-list-group-title-border-color));
561
+ .hairline-remove(bottom);
562
+ }
563
+ .list-group > .list-group-title,
564
+ .list-group > ul > .list-group-title {
565
+ top: 0;
566
+ margin-top: 0;
567
+ position: sticky;
568
+ z-index: 20;
552
569
  .page-with-navbar-large & {
553
570
  top: calc(-1 * var(--f7-navbar-large-title-height));
554
571
  }
555
572
  }
556
- .list.inset {
573
+
574
+ .list.inset,
575
+ .ios .list.inset-ios,
576
+ .md .list.inset-md {
557
577
  margin-left: calc(var(--f7-list-inset-side-margin) + var(--f7-safe-area-outer-left));
558
578
  margin-right: calc(var(--f7-list-inset-side-margin) + var(--f7-safe-area-outer-right));
559
579
  border-radius: var(--f7-list-inset-border-radius);
@@ -582,7 +602,9 @@ li.list-group-title,
582
602
  }
583
603
  each(@breakpoints, {
584
604
  @media (min-width:@value) {
585
- .list.@{key}-inset {
605
+ .list.@{key}-inset,
606
+ .ios .list.@{key}-inset-ios,
607
+ .md .list.@{key}-inset-md {
586
608
  margin-left: calc(var(--f7-list-inset-side-margin) + var(--f7-safe-area-outer-left));
587
609
  margin-right: calc(var(--f7-list-inset-side-margin) + var(--f7-safe-area-outer-right));
588
610
  border-radius: var(--f7-list-inset-border-radius);
@@ -606,6 +628,17 @@ each(@breakpoints, {
606
628
  border-radius: var(--f7-list-inset-border-radius);
607
629
  }
608
630
  }
631
+
632
+ .list.@{key}-inset.list-outline,
633
+ .ios .list.@{key}-inset-ios.list-outline,
634
+ .ios .list.@{key}-inset-ios.list-outline-ios,
635
+ .md .list.@{key}-inset-md.list-outline,
636
+ .md .list.@{key}-inset-md.list-outline-md {
637
+ ul {
638
+ border: 1px solid var(--f7-list-outline-inset-border-color);
639
+ }
640
+
641
+ }
609
642
  }
610
643
  });
611
644
 
@@ -617,13 +650,13 @@ each(@breakpoints, {
617
650
  }
618
651
 
619
652
  .menu-list {
620
- --menu-list-offset: var(--f7-menu-list-offset);
621
653
  --f7-list-font-size: var(--f7-menu-list-font-size);
622
654
  --f7-list-item-title-font-size: var(--f7-menu-list-item-title-font-size);
623
655
  --f7-list-item-title-font-weight: var(--f7-menu-list-item-title-font-weight);
624
656
  --f7-list-item-subtitle-font-size: var(--f7-menu-list-item-subtitle-font-size);
625
657
  --f7-list-item-text-font-size: var(--f7-menu-list-item-text-font-size);
626
658
  --f7-list-item-after-font-size: var(--f7-menu-list-item-after-font-size);
659
+ --f7-list-item-min-height: var(--f7-menu-list-item-min-height);
627
660
 
628
661
  .item-header,
629
662
  .item-footer,
@@ -634,20 +667,22 @@ each(@breakpoints, {
634
667
  transition-duration: 300ms;
635
668
  }
636
669
 
637
- li:not(.item-divider):not(.list-group-title) {
638
- padding-top: calc(var(--f7-menu-list-offset) / 2);
639
- padding-bottom: calc(var(--f7-menu-list-offset) / 2);
670
+ li:not(.list-group-title) {
671
+ padding-top: 4px;
672
+ padding-bottom: 4px;
640
673
  &:first-child {
641
- padding-top: var(--f7-menu-list-offset);
674
+ padding-top: 4px;
642
675
  }
643
676
  &:last-child {
644
- padding-bottom: var(--f7-menu-list-offset);
677
+ padding-bottom: 4px;
645
678
  }
646
679
  }
647
680
  .item-link {
648
681
  margin-left: var(--f7-menu-list-offset);
649
682
  margin-right: var(--f7-menu-list-offset);
650
683
  border-radius: var(--f7-menu-list-border-radius) !important;
684
+ color: var(--f7-menu-list-item-text-color);
685
+ background-color: var(--f7-menu-list-item-bg-color);
651
686
  }
652
687
 
653
688
  .item-inner:after {
@@ -657,8 +692,8 @@ each(@breakpoints, {
657
692
  .item-selected.item-link,
658
693
  .tab-link-active .item-link,
659
694
  .tab-link-active.item-link {
660
- color: var(--f7-menu-list-selected-text-color);
661
- background-color: var(--f7-menu-list-selected-bg-color);
695
+ color: var(--f7-menu-list-item-selected-text-color);
696
+ background-color: var(--f7-menu-list-item-selected-bg-color);
662
697
  }
663
698
  .item-selected {
664
699
  .item-header,
@@ -667,7 +702,7 @@ each(@breakpoints, {
667
702
  .item-after,
668
703
  .item-text,
669
704
  .item-subtitle {
670
- color: var(--f7-menu-list-selected-text-color);
705
+ color: var(--f7-menu-list-item-selected-text-color);
671
706
  }
672
707
  }
673
708
  }
@@ -678,6 +713,3 @@ each(@breakpoints, {
678
713
  .if-md-theme({
679
714
  @import './list-md.less';
680
715
  });
681
- .if-aurora-theme({
682
- @import './list-aurora.less';
683
- });