@ccrpc/webmapgl 0.18.6 → 0.18.8

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 (250) hide show
  1. package/dist/cjs/app-globals-62694daf.js.map +1 -1
  2. package/dist/cjs/gl-address-search_52.cjs.entry.js +31 -30
  3. package/dist/cjs/gl-address-search_52.cjs.entry.js.map +1 -1
  4. package/dist/cjs/gl-draw-toolbar.cjs.entry.js +3 -3
  5. package/dist/cjs/gl-draw-toolbar.cjs.entry.js.map +1 -1
  6. package/dist/cjs/gl-facet_5.cjs.entry.js +1 -1
  7. package/dist/cjs/gl-facet_5.cjs.entry.js.map +1 -1
  8. package/dist/cjs/gl-like-button.cjs.entry.js +5 -5
  9. package/dist/cjs/gl-like-button.cjs.entry.js.map +1 -1
  10. package/dist/cjs/index.cjs.js +11 -0
  11. package/dist/cjs/index.cjs.js.map +1 -1
  12. package/dist/collection/components/address-search/address-search.js +4 -4
  13. package/dist/collection/components/address-search/address-search.js.map +1 -1
  14. package/dist/collection/components/app/app.js +1 -1
  15. package/dist/collection/components/app/app.js.map +1 -1
  16. package/dist/collection/components/attribute-values/attribute-values.js +1 -1
  17. package/dist/collection/components/basemaps/basemaps.js +2 -2
  18. package/dist/collection/components/basemaps/basemaps.js.map +1 -1
  19. package/dist/collection/components/download-button/download-button.js +3 -3
  20. package/dist/collection/components/download-button/download-button.js.map +1 -1
  21. package/dist/collection/components/download-list/download-list.js +2 -1
  22. package/dist/collection/components/download-list/download-list.js.map +1 -1
  23. package/dist/collection/components/draw-toolbar/draw-toolbar.js +4 -4
  24. package/dist/collection/components/draw-toolbar/draw-toolbar.js.map +1 -1
  25. package/dist/collection/components/drawer/drawer.js +4 -4
  26. package/dist/collection/components/drawer/drawer.js.map +1 -1
  27. package/dist/collection/components/drawer-toggle/drawer-toggle.js +1 -1
  28. package/dist/collection/components/drawer-toggle/drawer-toggle.js.map +1 -1
  29. package/dist/collection/components/feature-list/feature-list.js +1 -1
  30. package/dist/collection/components/form-page/form-page.js +2 -2
  31. package/dist/collection/components/form-page/form-page.js.map +1 -1
  32. package/dist/collection/components/fullscreen/fullscreen.js +1 -1
  33. package/dist/collection/components/fullscreen/fullscreen.js.map +1 -1
  34. package/dist/collection/components/legend-item/legend-item.js +2 -2
  35. package/dist/collection/components/legend-item/legend-item.js.map +1 -1
  36. package/dist/collection/components/like-button/like-button.js +6 -6
  37. package/dist/collection/components/like-button/like-button.js.map +1 -1
  38. package/dist/collection/components/share/share.js +3 -3
  39. package/dist/collection/components/share/share.js.map +1 -1
  40. package/dist/collection/components/share-button/share-button.js +2 -2
  41. package/dist/collection/components/share-button/share-button.js.map +1 -1
  42. package/dist/collection/components/story-button/story-button.js +4 -4
  43. package/dist/collection/components/story-button/story-button.js.map +1 -1
  44. package/dist/collection/components/style/style.js +3 -3
  45. package/dist/collection/components/table-column-visibility/table-column-visibility.js +1 -1
  46. package/dist/collection/components/table-column-visibility/table-column-visibility.js.map +1 -1
  47. package/dist/collection/components/table-column-visibility-button/table-column-visibility-button.js +3 -3
  48. package/dist/collection/components/table-column-visibility-button/table-column-visibility-button.js.map +1 -1
  49. package/dist/collection/components/table-export-button/table-export-button.js +1 -1
  50. package/dist/collection/components/table-export-button/table-export-button.js.map +1 -1
  51. package/dist/collection/global/webmapgl.js +1 -0
  52. package/dist/collection/global/webmapgl.js.map +1 -1
  53. package/dist/collection/index.js +2 -0
  54. package/dist/collection/index.js.map +1 -0
  55. package/dist/esm/app-globals-755c21e9.js.map +1 -1
  56. package/dist/esm/gl-address-search_52.entry.js +32 -31
  57. package/dist/esm/gl-address-search_52.entry.js.map +1 -1
  58. package/dist/esm/gl-draw-controller.entry.js +1 -1
  59. package/dist/esm/gl-draw-toolbar.entry.js +3 -3
  60. package/dist/esm/gl-draw-toolbar.entry.js.map +1 -1
  61. package/dist/esm/gl-facet_5.entry.js +2 -2
  62. package/dist/esm/gl-facet_5.entry.js.map +1 -1
  63. package/dist/esm/gl-feature-list.entry.js +1 -1
  64. package/dist/esm/gl-like-button.entry.js +6 -6
  65. package/dist/esm/gl-like-button.entry.js.map +1 -1
  66. package/dist/esm/gl-table-export-controller.entry.js +1 -1
  67. package/dist/esm/index.js +2 -1
  68. package/dist/esm/index.js.map +1 -1
  69. package/dist/esm/polyfills/core-js.js +0 -0
  70. package/dist/esm/polyfills/dom.js +0 -0
  71. package/dist/esm/polyfills/es5-html-element.js +0 -0
  72. package/dist/esm/polyfills/index.js +0 -0
  73. package/dist/esm/polyfills/system.js +0 -0
  74. package/dist/esm/{utils-0af5fee1.js → utils-e86257fd.js} +2 -2
  75. package/dist/esm/{utils-0af5fee1.js.map → utils-e86257fd.js.map} +1 -1
  76. package/dist/node_modules/@ionic/core/dist/collection/components/accordion/accordion.ios.css +83 -0
  77. package/dist/node_modules/@ionic/core/dist/collection/components/accordion/accordion.md.css +80 -0
  78. package/dist/node_modules/@ionic/core/dist/collection/components/accordion-group/accordion-group.ios.css +17 -0
  79. package/dist/node_modules/@ionic/core/dist/collection/components/accordion-group/accordion-group.md.css +64 -0
  80. package/dist/node_modules/@ionic/core/dist/collection/components/action-sheet/action-sheet.ios.css +319 -0
  81. package/dist/node_modules/@ionic/core/dist/collection/components/action-sheet/action-sheet.md.css +259 -0
  82. package/dist/node_modules/@ionic/core/dist/collection/components/alert/alert.ios.css +503 -0
  83. package/dist/node_modules/@ionic/core/dist/collection/components/alert/alert.md.css +531 -0
  84. package/dist/node_modules/@ionic/core/dist/collection/components/app/app.css +17 -0
  85. package/dist/node_modules/@ionic/core/dist/collection/components/avatar/avatar.ios.css +22 -0
  86. package/dist/node_modules/@ionic/core/dist/collection/components/avatar/avatar.md.css +22 -0
  87. package/dist/node_modules/@ionic/core/dist/collection/components/back-button/back-button.ios.css +246 -0
  88. package/dist/node_modules/@ionic/core/dist/collection/components/back-button/back-button.md.css +269 -0
  89. package/dist/node_modules/@ionic/core/dist/collection/components/backdrop/backdrop.ios.css +26 -0
  90. package/dist/node_modules/@ionic/core/dist/collection/components/backdrop/backdrop.md.css +26 -0
  91. package/dist/node_modules/@ionic/core/dist/collection/components/badge/badge.ios.css +50 -0
  92. package/dist/node_modules/@ionic/core/dist/collection/components/badge/badge.md.css +54 -0
  93. package/dist/node_modules/@ionic/core/dist/collection/components/breadcrumb/breadcrumb.ios.css +205 -0
  94. package/dist/node_modules/@ionic/core/dist/collection/components/breadcrumb/breadcrumb.md.css +200 -0
  95. package/dist/node_modules/@ionic/core/dist/collection/components/breadcrumbs/breadcrumbs.ios.css +26 -0
  96. package/dist/node_modules/@ionic/core/dist/collection/components/breadcrumbs/breadcrumbs.md.css +25 -0
  97. package/dist/node_modules/@ionic/core/dist/collection/components/button/button.ios.css +431 -0
  98. package/dist/node_modules/@ionic/core/dist/collection/components/button/button.md.css +408 -0
  99. package/dist/node_modules/@ionic/core/dist/collection/components/buttons/buttons.ios.css +114 -0
  100. package/dist/node_modules/@ionic/core/dist/collection/components/buttons/buttons.md.css +134 -0
  101. package/dist/node_modules/@ionic/core/dist/collection/components/card/card.ios.css +93 -0
  102. package/dist/node_modules/@ionic/core/dist/collection/components/card/card.md.css +88 -0
  103. package/dist/node_modules/@ionic/core/dist/collection/components/card-content/card-content.ios.css +53 -0
  104. package/dist/node_modules/@ionic/core/dist/collection/components/card-content/card-content.md.css +55 -0
  105. package/dist/node_modules/@ionic/core/dist/collection/components/card-header/card-header.ios.css +31 -0
  106. package/dist/node_modules/@ionic/core/dist/collection/components/card-header/card-header.md.css +28 -0
  107. package/dist/node_modules/@ionic/core/dist/collection/components/card-subtitle/card-subtitle.ios.css +28 -0
  108. package/dist/node_modules/@ionic/core/dist/collection/components/card-subtitle/card-subtitle.md.css +26 -0
  109. package/dist/node_modules/@ionic/core/dist/collection/components/card-title/card-title.ios.css +27 -0
  110. package/dist/node_modules/@ionic/core/dist/collection/components/card-title/card-title.md.css +27 -0
  111. package/dist/node_modules/@ionic/core/dist/collection/components/checkbox/checkbox.ios.css +310 -0
  112. package/dist/node_modules/@ionic/core/dist/collection/components/checkbox/checkbox.md.css +326 -0
  113. package/dist/node_modules/@ionic/core/dist/collection/components/chip/chip.css +149 -0
  114. package/dist/node_modules/@ionic/core/dist/collection/components/col/col.css +68 -0
  115. package/dist/node_modules/@ionic/core/dist/collection/components/content/content.css +227 -0
  116. package/dist/node_modules/@ionic/core/dist/collection/components/datetime/datetime.ios.css +589 -0
  117. package/dist/node_modules/@ionic/core/dist/collection/components/datetime/datetime.md.css +561 -0
  118. package/dist/node_modules/@ionic/core/dist/collection/components/datetime-button/datetime-button.css +44 -0
  119. package/dist/node_modules/@ionic/core/dist/collection/components/fab/fab.css +98 -0
  120. package/dist/node_modules/@ionic/core/dist/collection/components/fab-button/fab-button.ios.css +312 -0
  121. package/dist/node_modules/@ionic/core/dist/collection/components/fab-button/fab-button.md.css +283 -0
  122. package/dist/node_modules/@ionic/core/dist/collection/components/fab-list/fab-list.css +123 -0
  123. package/dist/node_modules/@ionic/core/dist/collection/components/footer/footer.ios.css +36 -0
  124. package/dist/node_modules/@ionic/core/dist/collection/components/footer/footer.md.css +19 -0
  125. package/dist/node_modules/@ionic/core/dist/collection/components/grid/grid.css +103 -0
  126. package/dist/node_modules/@ionic/core/dist/collection/components/header/header.ios.css +106 -0
  127. package/dist/node_modules/@ionic/core/dist/collection/components/header/header.md.css +23 -0
  128. package/dist/node_modules/@ionic/core/dist/collection/components/img/img.css +12 -0
  129. package/dist/node_modules/@ionic/core/dist/collection/components/infinite-scroll/infinite-scroll.css +8 -0
  130. package/dist/node_modules/@ionic/core/dist/collection/components/infinite-scroll-content/infinite-scroll-content.ios.css +46 -0
  131. package/dist/node_modules/@ionic/core/dist/collection/components/infinite-scroll-content/infinite-scroll-content.md.css +46 -0
  132. package/dist/node_modules/@ionic/core/dist/collection/components/input/input.ios.css +635 -0
  133. package/dist/node_modules/@ionic/core/dist/collection/components/input/input.md.css +1077 -0
  134. package/dist/node_modules/@ionic/core/dist/collection/components/item/item.ios.css +646 -0
  135. package/dist/node_modules/@ionic/core/dist/collection/components/item/item.md.css +908 -0
  136. package/dist/node_modules/@ionic/core/dist/collection/components/item-divider/item-divider.ios.css +166 -0
  137. package/dist/node_modules/@ionic/core/dist/collection/components/item-divider/item-divider.md.css +232 -0
  138. package/dist/node_modules/@ionic/core/dist/collection/components/item-group/item-group.ios.css +3 -0
  139. package/dist/node_modules/@ionic/core/dist/collection/components/item-group/item-group.md.css +3 -0
  140. package/dist/node_modules/@ionic/core/dist/collection/components/item-option/item-option.ios.css +142 -0
  141. package/dist/node_modules/@ionic/core/dist/collection/components/item-option/item-option.md.css +136 -0
  142. package/dist/node_modules/@ionic/core/dist/collection/components/item-options/item-options.ios.css +121 -0
  143. package/dist/node_modules/@ionic/core/dist/collection/components/item-options/item-options.md.css +118 -0
  144. package/dist/node_modules/@ionic/core/dist/collection/components/item-sliding/item-sliding.css +66 -0
  145. package/dist/node_modules/@ionic/core/dist/collection/components/label/label.ios.css +164 -0
  146. package/dist/node_modules/@ionic/core/dist/collection/components/label/label.md.css +251 -0
  147. package/dist/node_modules/@ionic/core/dist/collection/components/list/list.ios.css +63 -0
  148. package/dist/node_modules/@ionic/core/dist/collection/components/list/list.md.css +104 -0
  149. package/dist/node_modules/@ionic/core/dist/collection/components/list-header/list-header.ios.css +107 -0
  150. package/dist/node_modules/@ionic/core/dist/collection/components/list-header/list-header.md.css +88 -0
  151. package/dist/node_modules/@ionic/core/dist/collection/components/loading/loading.ios.css +95 -0
  152. package/dist/node_modules/@ionic/core/dist/collection/components/loading/loading.md.css +86 -0
  153. package/dist/node_modules/@ionic/core/dist/collection/components/menu/menu.ios.css +167 -0
  154. package/dist/node_modules/@ionic/core/dist/collection/components/menu/menu.md.css +163 -0
  155. package/dist/node_modules/@ionic/core/dist/collection/components/menu-button/menu-button.ios.css +167 -0
  156. package/dist/node_modules/@ionic/core/dist/collection/components/menu-button/menu-button.md.css +170 -0
  157. package/dist/node_modules/@ionic/core/dist/collection/components/menu-toggle/menu-toggle.css +3 -0
  158. package/dist/node_modules/@ionic/core/dist/collection/components/modal/modal.ios.css +247 -0
  159. package/dist/node_modules/@ionic/core/dist/collection/components/modal/modal.md.css +162 -0
  160. package/dist/node_modules/@ionic/core/dist/collection/components/nav/nav.css +10 -0
  161. package/dist/node_modules/@ionic/core/dist/collection/components/note/note.ios.css +16 -0
  162. package/dist/node_modules/@ionic/core/dist/collection/components/note/note.md.css +17 -0
  163. package/dist/node_modules/@ionic/core/dist/collection/components/picker/picker.ios.css +257 -0
  164. package/dist/node_modules/@ionic/core/dist/collection/components/picker/picker.md.css +244 -0
  165. package/dist/node_modules/@ionic/core/dist/collection/components/picker-column/picker-column.ios.css +145 -0
  166. package/dist/node_modules/@ionic/core/dist/collection/components/picker-column/picker-column.md.css +136 -0
  167. package/dist/node_modules/@ionic/core/dist/collection/components/picker-column-internal/picker-column-internal.ios.css +75 -0
  168. package/dist/node_modules/@ionic/core/dist/collection/components/picker-column-internal/picker-column-internal.md.css +78 -0
  169. package/dist/node_modules/@ionic/core/dist/collection/components/picker-internal/picker-internal.ios.css +152 -0
  170. package/dist/node_modules/@ionic/core/dist/collection/components/picker-internal/picker-internal.md.css +148 -0
  171. package/dist/node_modules/@ionic/core/dist/collection/components/popover/popover.ios.css +250 -0
  172. package/dist/node_modules/@ionic/core/dist/collection/components/popover/popover.md.css +157 -0
  173. package/dist/node_modules/@ionic/core/dist/collection/components/progress-bar/progress-bar.ios.css +206 -0
  174. package/dist/node_modules/@ionic/core/dist/collection/components/progress-bar/progress-bar.md.css +206 -0
  175. package/dist/node_modules/@ionic/core/dist/collection/components/radio/radio.ios.css +331 -0
  176. package/dist/node_modules/@ionic/core/dist/collection/components/radio/radio.md.css +354 -0
  177. package/dist/node_modules/@ionic/core/dist/collection/components/range/range.ios.css +469 -0
  178. package/dist/node_modules/@ionic/core/dist/collection/components/range/range.md.css +614 -0
  179. package/dist/node_modules/@ionic/core/dist/collection/components/refresher/refresher.ios.css +211 -0
  180. package/dist/node_modules/@ionic/core/dist/collection/components/refresher/refresher.md.css +206 -0
  181. package/dist/node_modules/@ionic/core/dist/collection/components/reorder/reorder.ios.css +15 -0
  182. package/dist/node_modules/@ionic/core/dist/collection/components/reorder/reorder.md.css +15 -0
  183. package/dist/node_modules/@ionic/core/dist/collection/components/reorder-group/reorder-group.css +34 -0
  184. package/dist/node_modules/@ionic/core/dist/collection/components/ripple-effect/ripple-effect.css +58 -0
  185. package/dist/node_modules/@ionic/core/dist/collection/components/router-link/router-link.css +29 -0
  186. package/dist/node_modules/@ionic/core/dist/collection/components/router-outlet/route-outlet.css +10 -0
  187. package/dist/node_modules/@ionic/core/dist/collection/components/row/row.css +4 -0
  188. package/dist/node_modules/@ionic/core/dist/collection/components/searchbar/searchbar.ios.css +354 -0
  189. package/dist/node_modules/@ionic/core/dist/collection/components/searchbar/searchbar.md.css +339 -0
  190. package/dist/node_modules/@ionic/core/dist/collection/components/segment/segment.ios.css +59 -0
  191. package/dist/node_modules/@ionic/core/dist/collection/components/segment/segment.md.css +49 -0
  192. package/dist/node_modules/@ionic/core/dist/collection/components/segment-button/segment-button.ios.css +410 -0
  193. package/dist/node_modules/@ionic/core/dist/collection/components/segment-button/segment-button.md.css +396 -0
  194. package/dist/node_modules/@ionic/core/dist/collection/components/select/select.ios.css +552 -0
  195. package/dist/node_modules/@ionic/core/dist/collection/components/select/select.md.css +1025 -0
  196. package/dist/node_modules/@ionic/core/dist/collection/components/select-option/select-option.css +3 -0
  197. package/dist/node_modules/@ionic/core/dist/collection/components/select-popover/select-popover.ios.css +14 -0
  198. package/dist/node_modules/@ionic/core/dist/collection/components/select-popover/select-popover.md.css +37 -0
  199. package/dist/node_modules/@ionic/core/dist/collection/components/skeleton-text/skeleton-text.css +53 -0
  200. package/dist/node_modules/@ionic/core/dist/collection/components/spinner/spinner.css +177 -0
  201. package/dist/node_modules/@ionic/core/dist/collection/components/split-pane/split-pane.ios.css +92 -0
  202. package/dist/node_modules/@ionic/core/dist/collection/components/split-pane/split-pane.md.css +92 -0
  203. package/dist/node_modules/@ionic/core/dist/collection/components/tab/tab.css +4 -0
  204. package/dist/node_modules/@ionic/core/dist/collection/components/tab-bar/tab-bar.ios.css +87 -0
  205. package/dist/node_modules/@ionic/core/dist/collection/components/tab-bar/tab-bar.md.css +74 -0
  206. package/dist/node_modules/@ionic/core/dist/collection/components/tab-button/tab-button.ios.css +367 -0
  207. package/dist/node_modules/@ionic/core/dist/collection/components/tab-button/tab-button.md.css +391 -0
  208. package/dist/node_modules/@ionic/core/dist/collection/components/tabs/tabs.css +19 -0
  209. package/dist/node_modules/@ionic/core/dist/collection/components/text/text.css +3 -0
  210. package/dist/node_modules/@ionic/core/dist/collection/components/textarea/textarea.ios.css +693 -0
  211. package/dist/node_modules/@ionic/core/dist/collection/components/textarea/textarea.md.css +1142 -0
  212. package/dist/node_modules/@ionic/core/dist/collection/components/thumbnail/thumbnail.css +21 -0
  213. package/dist/node_modules/@ionic/core/dist/collection/components/title/title.ios.css +119 -0
  214. package/dist/node_modules/@ionic/core/dist/collection/components/title/title.md.css +47 -0
  215. package/dist/node_modules/@ionic/core/dist/collection/components/toast/toast.ios.css +284 -0
  216. package/dist/node_modules/@ionic/core/dist/collection/components/toast/toast.md.css +305 -0
  217. package/dist/node_modules/@ionic/core/dist/collection/components/toggle/toggle.ios.css +455 -0
  218. package/dist/node_modules/@ionic/core/dist/collection/components/toggle/toggle.md.css +400 -0
  219. package/dist/node_modules/@ionic/core/dist/collection/components/toolbar/toolbar.ios.css +161 -0
  220. package/dist/node_modules/@ionic/core/dist/collection/components/toolbar/toolbar.md.css +136 -0
  221. package/dist/node_modules/ionicons/dist/collection/components/icon/icon.css +101 -0
  222. package/dist/types/global/webmapgl.d.ts +1 -0
  223. package/dist/types/index.d.ts +1 -0
  224. package/dist/webmapgl/index.esm.js +1 -1
  225. package/dist/webmapgl/{p-29a0ba94.entry.js → p-10ecfbc1.entry.js} +3 -3
  226. package/dist/webmapgl/p-10ecfbc1.entry.js.map +1 -0
  227. package/dist/webmapgl/{p-d8674de4.js → p-1109414b.js} +2 -2
  228. package/dist/webmapgl/p-41aed25d.entry.js +8 -0
  229. package/dist/webmapgl/p-41aed25d.entry.js.map +1 -0
  230. package/dist/webmapgl/{p-9a52a393.entry.js → p-4bdbedef.entry.js} +2 -2
  231. package/dist/webmapgl/{p-43063806.entry.js → p-60c4d25c.entry.js} +2 -2
  232. package/dist/webmapgl/{p-47516d22.entry.js → p-725281ca.entry.js} +2 -2
  233. package/dist/webmapgl/{p-8d22e12f.entry.js → p-8e93527b.entry.js} +2 -2
  234. package/dist/webmapgl/p-8e93527b.entry.js.map +1 -0
  235. package/dist/webmapgl/p-b3dc2acc.js.map +1 -1
  236. package/dist/webmapgl/{p-96e77bf2.entry.js → p-c61eaf23.entry.js} +2 -2
  237. package/dist/webmapgl/p-c61eaf23.entry.js.map +1 -0
  238. package/dist/webmapgl/webmapgl.css +1 -1
  239. package/dist/webmapgl/webmapgl.esm.js +1 -1
  240. package/package.json +4 -3
  241. package/CHANGELOG.md +0 -234
  242. package/dist/webmapgl/p-29a0ba94.entry.js.map +0 -1
  243. package/dist/webmapgl/p-8d22e12f.entry.js.map +0 -1
  244. package/dist/webmapgl/p-96e77bf2.entry.js.map +0 -1
  245. package/dist/webmapgl/p-99a83939.entry.js +0 -8
  246. package/dist/webmapgl/p-99a83939.entry.js.map +0 -1
  247. /package/dist/webmapgl/{p-d8674de4.js.map → p-1109414b.js.map} +0 -0
  248. /package/dist/webmapgl/{p-9a52a393.entry.js.map → p-4bdbedef.entry.js.map} +0 -0
  249. /package/dist/webmapgl/{p-43063806.entry.js.map → p-60c4d25c.entry.js.map} +0 -0
  250. /package/dist/webmapgl/{p-47516d22.entry.js.map → p-725281ca.entry.js.map} +0 -0
@@ -0,0 +1,431 @@
1
+ :host {
2
+ /**
3
+ * @prop --background: Background of the button
4
+ * @prop --background-activated: Background of the button when pressed. Note: setting this will interfere with the Material Design ripple.
5
+ * @prop --background-activated-opacity: Opacity of the button when pressed
6
+ * @prop --background-focused: Background of the button when focused with the tab key
7
+ * @prop --background-focused-opacity: Opacity of the button when focused with the tab key
8
+ * @prop --background-hover: Background of the button on hover
9
+ * @prop --background-hover-opacity: Opacity of the background on hover
10
+ *
11
+ * @prop --color: Text color of the button
12
+ * @prop --color-activated: Text color of the button when pressed
13
+ * @prop --color-focused: Text color of the button when focused with the tab key
14
+ * @prop --color-hover: Text color of the button when hover
15
+ *
16
+ * @prop --transition: Transition of the button
17
+ *
18
+ * @prop --border-radius: Border radius of the button
19
+ * @prop --border-width: Border width of the button
20
+ * @prop --border-style: Border style of the button
21
+ * @prop --border-color: Border color of the button
22
+ *
23
+ * @prop --ripple-color: Color of the button ripple effect
24
+ *
25
+ * @prop --box-shadow: Box shadow of the button
26
+ * @prop --opacity: Opacity of the button
27
+ *
28
+ * @prop --padding-top: Top padding of the button
29
+ * @prop --padding-end: Right padding if direction is left-to-right, and left padding if direction is right-to-left of the button
30
+ * @prop --padding-bottom: Bottom padding of the button
31
+ * @prop --padding-start: Left padding if direction is left-to-right, and right padding if direction is right-to-left of the button
32
+ */
33
+ --overflow: hidden;
34
+ --ripple-color: currentColor;
35
+ --border-width: initial;
36
+ --border-color: initial;
37
+ --border-style: initial;
38
+ --color-activated: var(--color);
39
+ --color-focused: var(--color);
40
+ --color-hover: var(--color);
41
+ --box-shadow: none;
42
+ display: inline-block;
43
+ width: auto;
44
+ color: var(--color);
45
+ font-family: var(--ion-font-family, inherit);
46
+ text-align: center;
47
+ text-decoration: none;
48
+ white-space: nowrap;
49
+ user-select: none;
50
+ vertical-align: top;
51
+ vertical-align: -webkit-baseline-middle;
52
+ font-kerning: none;
53
+ }
54
+
55
+ :host(.button-disabled) {
56
+ cursor: default;
57
+ opacity: 0.5;
58
+ pointer-events: none;
59
+ }
60
+
61
+ :host(.button-solid) {
62
+ --background: var(--ion-color-primary, #3880ff);
63
+ --color: var(--ion-color-primary-contrast, #fff);
64
+ }
65
+
66
+ :host(.button-outline) {
67
+ --border-color: var(--ion-color-primary, #3880ff);
68
+ --background: transparent;
69
+ --color: var(--ion-color-primary, #3880ff);
70
+ }
71
+
72
+ :host(.button-clear) {
73
+ --border-width: 0;
74
+ --background: transparent;
75
+ --color: var(--ion-color-primary, #3880ff);
76
+ }
77
+
78
+ :host(.button-block) {
79
+ display: block;
80
+ }
81
+
82
+ :host(.button-block) .button-native {
83
+ margin-left: 0;
84
+ margin-right: 0;
85
+ width: 100%;
86
+ clear: both;
87
+ contain: content;
88
+ }
89
+
90
+ :host(.button-block) .button-native::after {
91
+ clear: both;
92
+ }
93
+
94
+ :host(.button-full) {
95
+ display: block;
96
+ }
97
+
98
+ :host(.button-full) .button-native {
99
+ margin-left: 0;
100
+ margin-right: 0;
101
+ width: 100%;
102
+ contain: content;
103
+ }
104
+
105
+ :host(.button-full:not(.button-round)) .button-native {
106
+ border-radius: 0;
107
+ border-right-width: 0;
108
+ border-left-width: 0;
109
+ }
110
+
111
+ .button-native {
112
+ border-radius: var(--border-radius);
113
+ -moz-osx-font-smoothing: grayscale;
114
+ -webkit-font-smoothing: antialiased;
115
+ margin-left: 0;
116
+ margin-right: 0;
117
+ margin-top: 0;
118
+ margin-bottom: 0;
119
+ -webkit-padding-start: var(--padding-start);
120
+ padding-inline-start: var(--padding-start);
121
+ -webkit-padding-end: var(--padding-end);
122
+ padding-inline-end: var(--padding-end);
123
+ padding-top: var(--padding-top);
124
+ padding-bottom: var(--padding-bottom);
125
+ font-family: inherit;
126
+ font-size: inherit;
127
+ font-style: inherit;
128
+ font-weight: inherit;
129
+ letter-spacing: inherit;
130
+ text-decoration: inherit;
131
+ text-indent: inherit;
132
+ text-overflow: inherit;
133
+ text-transform: inherit;
134
+ text-align: inherit;
135
+ white-space: inherit;
136
+ color: inherit;
137
+ display: flex;
138
+ position: relative;
139
+ align-items: center;
140
+ width: 100%;
141
+ height: 100%;
142
+ min-height: inherit;
143
+ transition: var(--transition);
144
+ border-width: var(--border-width);
145
+ border-style: var(--border-style);
146
+ border-color: var(--border-color);
147
+ outline: none;
148
+ background: var(--background);
149
+ line-height: 1;
150
+ box-shadow: var(--box-shadow);
151
+ contain: layout style;
152
+ cursor: pointer;
153
+ opacity: var(--opacity);
154
+ overflow: var(--overflow);
155
+ z-index: 0;
156
+ box-sizing: border-box;
157
+ appearance: none;
158
+ }
159
+
160
+ .button-native::-moz-focus-inner {
161
+ border: 0;
162
+ }
163
+
164
+ .button-inner {
165
+ display: flex;
166
+ position: relative;
167
+ flex-flow: row nowrap;
168
+ flex-shrink: 0;
169
+ align-items: center;
170
+ justify-content: center;
171
+ width: 100%;
172
+ height: 100%;
173
+ z-index: 1;
174
+ }
175
+
176
+ ::slotted([slot=start]),
177
+ ::slotted([slot=end]) {
178
+ flex-shrink: 0;
179
+ }
180
+
181
+ ::slotted(ion-icon) {
182
+ font-size: 1.35em;
183
+ pointer-events: none;
184
+ }
185
+
186
+ ::slotted(ion-icon[slot=start]) {
187
+ -webkit-margin-start: -0.3em;
188
+ margin-inline-start: -0.3em;
189
+ -webkit-margin-end: 0.3em;
190
+ margin-inline-end: 0.3em;
191
+ margin-top: 0;
192
+ margin-bottom: 0;
193
+ }
194
+
195
+ ::slotted(ion-icon[slot=end]) {
196
+ -webkit-margin-start: 0.3em;
197
+ margin-inline-start: 0.3em;
198
+ -webkit-margin-end: -0.2em;
199
+ margin-inline-end: -0.2em;
200
+ margin-top: 0;
201
+ margin-bottom: 0;
202
+ }
203
+
204
+ ::slotted(ion-icon[slot=icon-only]) {
205
+ font-size: 1.8em;
206
+ }
207
+
208
+ ion-ripple-effect {
209
+ color: var(--ripple-color);
210
+ }
211
+
212
+ .button-native::after {
213
+ left: 0;
214
+ right: 0;
215
+ top: 0;
216
+ bottom: 0;
217
+ position: absolute;
218
+ content: "";
219
+ opacity: 0;
220
+ }
221
+
222
+ :host(.ion-focused) {
223
+ color: var(--color-focused);
224
+ }
225
+
226
+ :host(.ion-focused) .button-native::after {
227
+ background: var(--background-focused);
228
+ opacity: var(--background-focused-opacity);
229
+ }
230
+
231
+ @media (any-hover: hover) {
232
+ :host(:hover) {
233
+ color: var(--color-hover);
234
+ }
235
+ :host(:hover) .button-native::after {
236
+ background: var(--background-hover);
237
+ opacity: var(--background-hover-opacity);
238
+ }
239
+ }
240
+ :host(.ion-activated) {
241
+ color: var(--color-activated);
242
+ }
243
+
244
+ :host(.ion-activated) .button-native::after {
245
+ background: var(--background-activated);
246
+ opacity: var(--background-activated-opacity);
247
+ }
248
+
249
+ :host(.button-solid.ion-color) .button-native {
250
+ background: var(--ion-color-base);
251
+ color: var(--ion-color-contrast);
252
+ }
253
+
254
+ :host(.button-outline.ion-color) .button-native {
255
+ border-color: var(--ion-color-base);
256
+ background: transparent;
257
+ color: var(--ion-color-base);
258
+ }
259
+
260
+ :host(.button-clear.ion-color) .button-native {
261
+ background: transparent;
262
+ color: var(--ion-color-base);
263
+ }
264
+
265
+ :host(.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native {
266
+ color: var(--ion-toolbar-color, var(--color));
267
+ }
268
+
269
+ :host(.button-outline.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native {
270
+ border-color: var(--ion-toolbar-color, var(--color, var(--border-color)));
271
+ }
272
+
273
+ :host(.button-solid.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native {
274
+ background: var(--ion-toolbar-color, var(--background));
275
+ color: var(--ion-toolbar-background, var(--color));
276
+ }
277
+
278
+ :host(.button-outline.ion-activated.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native {
279
+ background: var(--ion-toolbar-color, var(--color));
280
+ color: var(--ion-toolbar-background, var(--background), var(--ion-color-primary-contrast, #fff));
281
+ }
282
+
283
+ :host {
284
+ --border-radius: 14px;
285
+ --padding-top: 13px;
286
+ --padding-bottom: 13px;
287
+ --padding-start: 1em;
288
+ --padding-end: 1em;
289
+ --transition: background-color, opacity 100ms linear;
290
+ -webkit-margin-start: 2px;
291
+ margin-inline-start: 2px;
292
+ -webkit-margin-end: 2px;
293
+ margin-inline-end: 2px;
294
+ margin-top: 4px;
295
+ margin-bottom: 4px;
296
+ min-height: 3.1em;
297
+ font-size: 16px;
298
+ font-weight: 500;
299
+ letter-spacing: 0;
300
+ }
301
+
302
+ /**
303
+ * The default buttons in a toolbar
304
+ * have a different font size/weight
305
+ * than buttons outside of a toolbar on iOS.
306
+ * However, we still want the "size"/"strong"
307
+ * properties to be usable in a toolbar, so we add
308
+ * the .in-buttons selector such that we
309
+ * can add the different font size/weight in a toolbar
310
+ * but still let "size"/"strong" override it.
311
+ */
312
+ :host(.in-buttons) {
313
+ font-size: 17px;
314
+ font-weight: 400;
315
+ }
316
+
317
+ :host(.button-solid) {
318
+ --background-activated: var(--ion-color-primary-shade, #3171e0);
319
+ --background-focused: var(--ion-color-primary-shade, #3171e0);
320
+ --background-hover: var(--ion-color-primary-tint, #4c8dff);
321
+ --background-activated-opacity: 1;
322
+ --background-focused-opacity: 1;
323
+ --background-hover-opacity: 1;
324
+ }
325
+
326
+ :host(.button-outline) {
327
+ --border-radius: 14px;
328
+ --border-width: 1px;
329
+ --border-style: solid;
330
+ --background-activated: var(--ion-color-primary, #3880ff);
331
+ --background-focused: var(--ion-color-primary, #3880ff);
332
+ --background-hover: transparent;
333
+ --background-focused-opacity: .1;
334
+ --color-activated: var(--ion-color-primary-contrast, #fff);
335
+ }
336
+
337
+ :host(.button-clear) {
338
+ --background-activated: transparent;
339
+ --background-activated-opacity: 0;
340
+ --background-focused: var(--ion-color-primary, #3880ff);
341
+ --background-hover: transparent;
342
+ --background-focused-opacity: .1;
343
+ font-size: 17px;
344
+ font-weight: normal;
345
+ }
346
+
347
+ :host(.button-large) {
348
+ --border-radius: 16px;
349
+ --padding-top: 17px;
350
+ --padding-start: 1em;
351
+ --padding-end: 1em;
352
+ --padding-bottom: 17px;
353
+ min-height: 3.1em;
354
+ font-size: 20px;
355
+ }
356
+
357
+ :host(.button-small) {
358
+ --border-radius: 6px;
359
+ --padding-top: 4px;
360
+ --padding-start: 0.9em;
361
+ --padding-end: 0.9em;
362
+ --padding-bottom: 4px;
363
+ min-height: 2.1em;
364
+ font-size: 13px;
365
+ }
366
+
367
+ :host(.button-has-icon-only) {
368
+ --padding-top: 0;
369
+ --padding-bottom: 0;
370
+ }
371
+
372
+ :host(.button-round) {
373
+ --border-radius: 64px;
374
+ --padding-top: 0;
375
+ --padding-start: 26px;
376
+ --padding-end: 26px;
377
+ --padding-bottom: 0;
378
+ }
379
+
380
+ :host(.button-strong) {
381
+ font-weight: 600;
382
+ }
383
+
384
+ :host(.button-outline.ion-focused.ion-color) .button-native,
385
+ :host(.button-clear.ion-focused.ion-color) .button-native {
386
+ color: var(--ion-color-base);
387
+ }
388
+ :host(.button-outline.ion-focused.ion-color) .button-native::after,
389
+ :host(.button-clear.ion-focused.ion-color) .button-native::after {
390
+ background: var(--ion-color-base);
391
+ }
392
+
393
+ :host(.button-solid.ion-color.ion-focused) .button-native::after {
394
+ background: var(--ion-color-shade);
395
+ }
396
+
397
+ @media (any-hover: hover) {
398
+ :host(.button-clear:not(.ion-activated):hover),
399
+ :host(.button-outline:not(.ion-activated):hover) {
400
+ opacity: 0.6;
401
+ }
402
+ :host(.button-clear.ion-color:hover) .button-native,
403
+ :host(.button-outline.ion-color:hover) .button-native {
404
+ color: var(--ion-color-base);
405
+ }
406
+ :host(.button-clear.ion-color:hover) .button-native::after,
407
+ :host(.button-outline.ion-color:hover) .button-native::after {
408
+ background: transparent;
409
+ }
410
+ :host(.button-solid.ion-color:hover) .button-native::after {
411
+ background: var(--ion-color-tint);
412
+ }
413
+ :host(:hover.button-solid.in-toolbar:not(.ion-color):not(.in-toolbar-color):not(.ion-activated)) .button-native::after {
414
+ background: #fff;
415
+ opacity: 0.1;
416
+ }
417
+ }
418
+ :host(.button-clear.ion-activated) {
419
+ opacity: 0.4;
420
+ }
421
+
422
+ :host(.button-outline.ion-activated.ion-color) .button-native {
423
+ color: var(--ion-color-contrast);
424
+ }
425
+ :host(.button-outline.ion-activated.ion-color) .button-native::after {
426
+ background: var(--ion-color-base);
427
+ }
428
+
429
+ :host(.button-solid.ion-color.ion-activated) .button-native::after {
430
+ background: var(--ion-color-shade);
431
+ }