@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,561 @@
1
+ :host {
2
+ /**
3
+ * @prop --background: The primary background of the datetime component.
4
+ * @prop --background-rgb: The primary background of the datetime component in RGB format.
5
+ * @prop --title-color: The text color of the title.
6
+ *
7
+ * @prop --wheel-highlight-background: The background of the highlight under the selected
8
+ * item when using a wheel style layout, or in the month/year picker for grid style layouts.
9
+ * @prop --wheel-fade-background-rgb: The color of the gradient covering non-selected items
10
+ * when using a wheel style layout, or in the month/year picker for grid style layouts. Must
11
+ * be in RGB format, e.g. `255, 255, 255`.
12
+ */
13
+ display: flex;
14
+ flex-flow: column;
15
+ background: var(--background);
16
+ overflow: hidden;
17
+ }
18
+
19
+ /**
20
+ * When using the wheel picker to switch
21
+ * between months, sometimes the allowed
22
+ * dates may be filtered. As a result, it
23
+ * is possible to get a layout shift as
24
+ * the picker column will shrink to fit the
25
+ * widest item in the column. Setting a minimum
26
+ * width avoids this layout shifting.
27
+ */
28
+ ion-picker-column-internal {
29
+ min-width: 26px;
30
+ }
31
+
32
+ :host(.datetime-size-fixed) {
33
+ width: auto;
34
+ height: auto;
35
+ }
36
+
37
+ :host(.datetime-size-fixed:not(.datetime-prefer-wheel)) {
38
+ max-width: 350px;
39
+ }
40
+
41
+ /**
42
+ * This ensures that the picker is apppropriately
43
+ * sized and never truncates the text.
44
+ */
45
+ :host(.datetime-size-fixed.datetime-prefer-wheel) {
46
+ min-width: 350px;
47
+ max-width: max-content;
48
+ }
49
+
50
+ :host(.datetime-size-cover) {
51
+ width: 100%;
52
+ }
53
+
54
+ :host .calendar-body,
55
+ :host .datetime-year {
56
+ opacity: 0;
57
+ }
58
+
59
+ :host(:not(.datetime-ready)) .datetime-year {
60
+ position: absolute;
61
+ pointer-events: none;
62
+ }
63
+
64
+ :host(.datetime-ready) .calendar-body {
65
+ opacity: 1;
66
+ }
67
+
68
+ :host(.datetime-ready) .datetime-year {
69
+ display: none;
70
+ opacity: 1;
71
+ }
72
+
73
+ /**
74
+ * Changing the physical order of the
75
+ * picker columns in the DOM is added
76
+ * work, so we just use `order` instead.
77
+ *
78
+ * The picker automatically configures
79
+ * the text alignment, so when switching
80
+ * the order we need to manually switch
81
+ * the text alignment too.
82
+ */
83
+ :host .wheel-order-year-first .day-column {
84
+ order: 3;
85
+ text-align: end;
86
+ }
87
+
88
+ :host .wheel-order-year-first .month-column {
89
+ order: 2;
90
+ text-align: end;
91
+ }
92
+
93
+ :host .wheel-order-year-first .year-column {
94
+ order: 1;
95
+ text-align: start;
96
+ }
97
+
98
+ /**
99
+ * This allows the calendar to take
100
+ * up 100% of the remaining height.
101
+ * On iOS, if there are more than
102
+ * 5 rows of dates, the dates should
103
+ * be resized to fit into this
104
+ * container.
105
+ */
106
+ :host .datetime-calendar,
107
+ :host .datetime-year {
108
+ display: flex;
109
+ flex: 1 1 auto;
110
+ flex-flow: column;
111
+ }
112
+
113
+ :host(.show-month-and-year) .datetime-year {
114
+ display: flex;
115
+ }
116
+
117
+ /**
118
+ * Safari 14 has an issue where a scroll event
119
+ * is incorrectly fired when unhiding the calendar content.
120
+ * To workaround this, we set the opacity
121
+ * of the content to 0 and hide it offscreen.
122
+ *
123
+ * -webkit-named-image is something only WebKit supports
124
+ * so we use this to detect general WebKit support.
125
+ * aspect-ratio is only supported in Safari 15+
126
+ * so by checking lack of aspect-ratio support, we know
127
+ * that we are in a pre-Safari 15 browser.
128
+ *
129
+ * TODO(FW-554): Remove when iOS 14 support is dropped.
130
+ */
131
+ @supports (background: -webkit-named-image(apple-pay-logo-black)) and (not (aspect-ratio: 1/1)) {
132
+ :host(.show-month-and-year) .calendar-next-prev,
133
+ :host(.show-month-and-year) .calendar-days-of-week,
134
+ :host(.show-month-and-year) .calendar-body,
135
+ :host(.show-month-and-year) .datetime-time {
136
+ position: absolute;
137
+ /**
138
+ * Use visibility instead of
139
+ * opacity to ensure element
140
+ * cannot receive focus
141
+ */
142
+ visibility: hidden;
143
+ pointer-events: none;
144
+ }
145
+ @supports (inset-inline-start: 0) {
146
+ :host(.show-month-and-year) .calendar-next-prev,
147
+ :host(.show-month-and-year) .calendar-days-of-week,
148
+ :host(.show-month-and-year) .calendar-body,
149
+ :host(.show-month-and-year) .datetime-time {
150
+ inset-inline-start: -99999px;
151
+ }
152
+ }
153
+ @supports not (inset-inline-start: 0) {
154
+ :host(.show-month-and-year) .calendar-next-prev,
155
+ :host(.show-month-and-year) .calendar-days-of-week,
156
+ :host(.show-month-and-year) .calendar-body,
157
+ :host(.show-month-and-year) .datetime-time {
158
+ left: -99999px;
159
+ }
160
+ :host-context([dir=rtl]):host(.show-month-and-year) .calendar-next-prev, :host-context([dir=rtl]).show-month-and-year .calendar-next-prev, :host-context([dir=rtl]):host(.show-month-and-year) .calendar-days-of-week, :host-context([dir=rtl]).show-month-and-year .calendar-days-of-week, :host-context([dir=rtl]):host(.show-month-and-year) .calendar-body, :host-context([dir=rtl]).show-month-and-year .calendar-body, :host-context([dir=rtl]):host(.show-month-and-year) .datetime-time, :host-context([dir=rtl]).show-month-and-year .datetime-time {
161
+ left: unset;
162
+ right: unset;
163
+ right: -99999px;
164
+ }
165
+ @supports selector(:dir(rtl)) {
166
+ :host(.show-month-and-year) .calendar-next-prev:dir(rtl), :host(.show-month-and-year) .calendar-days-of-week:dir(rtl), :host(.show-month-and-year) .calendar-body:dir(rtl), :host(.show-month-and-year) .datetime-time:dir(rtl) {
167
+ left: unset;
168
+ right: unset;
169
+ right: -99999px;
170
+ }
171
+ }
172
+ }
173
+ }
174
+ /**
175
+ * This support check two cases:
176
+ * 1. A WebKit browser that supports aspect-ratio (Safari 15+)
177
+ * 2. Any non-WebKit browser.
178
+ * Note that just overriding this display: none is not
179
+ * sufficient to resolve the issue mentioned above, which
180
+ * is why we do another set of @supports checks.
181
+ */
182
+ @supports (not (background: -webkit-named-image(apple-pay-logo-black))) or ((background: -webkit-named-image(apple-pay-logo-black)) and (aspect-ratio: 1/1)) {
183
+ :host(.show-month-and-year) .calendar-next-prev,
184
+ :host(.show-month-and-year) .calendar-days-of-week,
185
+ :host(.show-month-and-year) .calendar-body,
186
+ :host(.show-month-and-year) .datetime-time {
187
+ display: none;
188
+ }
189
+ }
190
+ :host(.month-year-picker-open) .datetime-footer {
191
+ display: none;
192
+ }
193
+
194
+ :host(.datetime-readonly),
195
+ :host(.datetime-disabled) {
196
+ pointer-events: none;
197
+ }
198
+
199
+ :host(.datetime-disabled) {
200
+ opacity: 0.4;
201
+ }
202
+
203
+ /**
204
+ * Title should not wrap
205
+ * to the next line and should
206
+ * show ellipsis instead.
207
+ */
208
+ :host .datetime-header .datetime-title {
209
+ text-overflow: ellipsis;
210
+ white-space: nowrap;
211
+ overflow: hidden;
212
+ }
213
+
214
+ :host .datetime-action-buttons.has-clear-button {
215
+ width: 100%;
216
+ }
217
+
218
+ :host .datetime-action-buttons ion-buttons {
219
+ display: flex;
220
+ justify-content: space-between;
221
+ }
222
+
223
+ /**
224
+ * Date/Year button should be on
225
+ * the opposite side of the component
226
+ * as the Next/Prev buttons
227
+ */
228
+ :host .calendar-action-buttons {
229
+ display: flex;
230
+ justify-content: space-between;
231
+ }
232
+
233
+ :host .calendar-action-buttons ion-item,
234
+ :host .calendar-action-buttons ion-button {
235
+ --background: translucent;
236
+ }
237
+
238
+ :host .calendar-action-buttons ion-item ion-label {
239
+ display: flex;
240
+ align-items: center;
241
+ }
242
+
243
+ :host .calendar-action-buttons ion-item ion-icon {
244
+ -webkit-padding-start: 4px;
245
+ padding-inline-start: 4px;
246
+ -webkit-padding-end: 0;
247
+ padding-inline-end: 0;
248
+ padding-top: 0;
249
+ padding-bottom: 0;
250
+ }
251
+
252
+ :host .calendar-days-of-week {
253
+ display: grid;
254
+ grid-template-columns: repeat(7, 1fr);
255
+ text-align: center;
256
+ }
257
+
258
+ :host .calendar-body {
259
+ /**
260
+ * Show all calendar months inline
261
+ * and allow them to take up 100% of
262
+ * the free space. Do not use CSS Grid
263
+ * here as there are issues with nested grid
264
+ * on older browsers.
265
+ */
266
+ display: flex;
267
+ flex-grow: 1;
268
+ scroll-snap-type: x mandatory;
269
+ /**
270
+ * Need to explicitly set overflow-y: hidden
271
+ * for older implementations of scroll snapping.
272
+ */
273
+ overflow-x: scroll;
274
+ overflow-y: hidden;
275
+ scrollbar-width: none;
276
+ /**
277
+ * Hide blue outline on calendar body
278
+ * when it is focused.
279
+ */
280
+ outline: none;
281
+ }
282
+
283
+ :host .calendar-body .calendar-month {
284
+ /**
285
+ * Swiping should snap to at
286
+ * most one month at a time.
287
+ */
288
+ scroll-snap-align: start;
289
+ scroll-snap-stop: always;
290
+ flex-shrink: 0;
291
+ width: 100%;
292
+ }
293
+
294
+ :host .calendar-body .calendar-month-disabled {
295
+ /**
296
+ * Disables swipe gesture snapping for scroll-snap containers
297
+ */
298
+ scroll-snap-align: none;
299
+ }
300
+
301
+ /**
302
+ * Hide scrollbars on Chrome and Safari
303
+ */
304
+ :host .calendar-body::-webkit-scrollbar {
305
+ display: none;
306
+ }
307
+
308
+ :host .calendar-body .calendar-month-grid {
309
+ /**
310
+ * Create 7 columns for
311
+ * 7 days in a week.
312
+ */
313
+ display: grid;
314
+ grid-template-columns: repeat(7, 1fr);
315
+ }
316
+
317
+ /**
318
+ * Center the day text vertically
319
+ * and horizontally within its grid cell.
320
+ */
321
+ :host .calendar-day {
322
+ -webkit-padding-start: 0px;
323
+ padding-inline-start: 0px;
324
+ -webkit-padding-end: 0px;
325
+ padding-inline-end: 0px;
326
+ padding-top: 0px;
327
+ padding-bottom: 0px;
328
+ -webkit-margin-start: 0px;
329
+ margin-inline-start: 0px;
330
+ -webkit-margin-end: 0px;
331
+ margin-inline-end: 0px;
332
+ margin-top: 0px;
333
+ margin-bottom: 0px;
334
+ display: flex;
335
+ position: relative;
336
+ align-items: center;
337
+ justify-content: center;
338
+ border: none;
339
+ outline: none;
340
+ background: none;
341
+ color: currentColor;
342
+ font-family: var(--ion-font-family, inherit);
343
+ cursor: pointer;
344
+ appearance: none;
345
+ z-index: 0;
346
+ }
347
+
348
+ :host .calendar-day[disabled] {
349
+ pointer-events: none;
350
+ opacity: 0.4;
351
+ }
352
+
353
+ .calendar-day-highlight {
354
+ border-radius: 32px;
355
+ -webkit-padding-start: 4px;
356
+ padding-inline-start: 4px;
357
+ -webkit-padding-end: 4px;
358
+ padding-inline-end: 4px;
359
+ padding-top: 4px;
360
+ padding-bottom: 4px;
361
+ position: absolute;
362
+ width: 32px;
363
+ height: 32px;
364
+ z-index: -1;
365
+ }
366
+
367
+ :host .datetime-time {
368
+ display: flex;
369
+ justify-content: space-between;
370
+ }
371
+
372
+ :host(.datetime-presentation-time) .datetime-time {
373
+ padding-left: 0;
374
+ padding-right: 0;
375
+ padding-top: 0;
376
+ padding-bottom: 0;
377
+ }
378
+
379
+ :host ion-popover {
380
+ --height: 200px;
381
+ }
382
+
383
+ :host .time-header {
384
+ display: flex;
385
+ align-items: center;
386
+ }
387
+
388
+ :host .time-body {
389
+ border-radius: 8px;
390
+ -webkit-padding-start: 12px;
391
+ padding-inline-start: 12px;
392
+ -webkit-padding-end: 12px;
393
+ padding-inline-end: 12px;
394
+ padding-top: 6px;
395
+ padding-bottom: 6px;
396
+ display: flex;
397
+ border: none;
398
+ background: var(--ion-color-step-300, #edeef0);
399
+ color: var(--ion-text-color, #000);
400
+ font-family: inherit;
401
+ font-size: inherit;
402
+ cursor: pointer;
403
+ appearance: none;
404
+ }
405
+
406
+ :host .time-body-active {
407
+ color: var(--ion-color-base);
408
+ }
409
+
410
+ :host(.in-item) {
411
+ position: static;
412
+ }
413
+
414
+ :host(.show-month-and-year) .calendar-action-buttons ion-item {
415
+ --color: var(--ion-color-base);
416
+ }
417
+
418
+ :host {
419
+ --background: var(--ion-color-step-100, #ffffff);
420
+ --title-color: var(--ion-color-contrast);
421
+ }
422
+
423
+ :host .datetime-header {
424
+ -webkit-padding-start: 20px;
425
+ padding-inline-start: 20px;
426
+ -webkit-padding-end: 20px;
427
+ padding-inline-end: 20px;
428
+ padding-top: 20px;
429
+ padding-bottom: 20px;
430
+ background: var(--ion-color-base);
431
+ color: var(--title-color);
432
+ }
433
+
434
+ :host .datetime-header .datetime-title {
435
+ font-size: 12px;
436
+ text-transform: uppercase;
437
+ }
438
+
439
+ :host .datetime-header .datetime-selected-date {
440
+ margin-top: 30px;
441
+ font-size: 34px;
442
+ }
443
+
444
+ :host .datetime-calendar .calendar-action-buttons ion-item {
445
+ --padding-start: 20px;
446
+ }
447
+
448
+ :host .calendar-action-buttons ion-item,
449
+ :host .calendar-action-buttons ion-button {
450
+ --color: var(--ion-color-step-650, #595959);
451
+ }
452
+
453
+ :host .calendar-days-of-week {
454
+ -webkit-padding-start: 10px;
455
+ padding-inline-start: 10px;
456
+ -webkit-padding-end: 10px;
457
+ padding-inline-end: 10px;
458
+ padding-top: 0px;
459
+ padding-bottom: 0px;
460
+ color: var(--ion-color-step-500, gray);
461
+ font-size: 14px;
462
+ line-height: 36px;
463
+ }
464
+
465
+ :host .calendar-body .calendar-month .calendar-month-grid {
466
+ -webkit-padding-start: 10px;
467
+ padding-inline-start: 10px;
468
+ -webkit-padding-end: 10px;
469
+ padding-inline-end: 10px;
470
+ padding-top: 4px;
471
+ padding-bottom: 4px;
472
+ /**
473
+ * Calendar on MD will show an empty row
474
+ * if not enough dates to fill 6th row.
475
+ * Calendar on iOS fits all dates into
476
+ * a fixed number of rows and resizes
477
+ * if necessary.
478
+ */
479
+ grid-template-rows: repeat(6, 1fr);
480
+ }
481
+
482
+ :host .calendar-day {
483
+ -webkit-padding-start: 0px;
484
+ padding-inline-start: 0px;
485
+ -webkit-padding-end: 0;
486
+ padding-inline-end: 0;
487
+ padding-top: 13px;
488
+ padding-bottom: 13px;
489
+ font-size: 14px;
490
+ }
491
+
492
+ .calendar-day:focus .calendar-day-highlight {
493
+ background: rgba(var(--ion-color-base-rgb), 0.2);
494
+ box-shadow: 0px 0px 0px 4px rgba(var(--ion-color-base-rgb), 0.2);
495
+ }
496
+
497
+ /**
498
+ * Day that today but not selected
499
+ * should have ion-color for text color.
500
+ */
501
+ :host .calendar-day.calendar-day-today {
502
+ color: var(--ion-color-base);
503
+ }
504
+
505
+ .calendar-day.calendar-day-today .calendar-day-highlight {
506
+ border: 1px solid var(--ion-color-base);
507
+ }
508
+
509
+ /**
510
+ * Day that is not today but
511
+ * is selected should have ion-color for
512
+ * text color and be bolder.
513
+ */
514
+ :host .calendar-day.calendar-day-active {
515
+ color: var(--ion-color-contrast);
516
+ }
517
+
518
+ .calendar-day.calendar-day-active .calendar-day-highlight {
519
+ border: 1px solid var(--ion-color-base);
520
+ background: var(--ion-color-base);
521
+ }
522
+
523
+ :host .datetime-time {
524
+ -webkit-padding-start: 16px;
525
+ padding-inline-start: 16px;
526
+ -webkit-padding-end: 16px;
527
+ padding-inline-end: 16px;
528
+ padding-top: 8px;
529
+ padding-bottom: 8px;
530
+ }
531
+
532
+ :host .time-header {
533
+ color: var(--ion-color-step-650, #595959);
534
+ }
535
+
536
+ /**
537
+ * Add some margin when only selecting month/year
538
+ * otherwise layout will too constricted.
539
+ */
540
+ :host(.datetime-presentation-month) .datetime-year,
541
+ :host(.datetime-presentation-year) .datetime-year,
542
+ :host(.datetime-presentation-month-year) .datetime-year {
543
+ margin-top: 20px;
544
+ margin-bottom: 20px;
545
+ }
546
+
547
+ :host .datetime-buttons {
548
+ -webkit-padding-start: 10px;
549
+ padding-inline-start: 10px;
550
+ -webkit-padding-end: 10px;
551
+ padding-inline-end: 10px;
552
+ padding-top: 10px;
553
+ padding-bottom: 10px;
554
+ display: flex;
555
+ align-items: center;
556
+ justify-content: flex-end;
557
+ }
558
+
559
+ :host .datetime-view-buttons ion-button {
560
+ color: var(--ion-color-step-800, #333333);
561
+ }
@@ -0,0 +1,44 @@
1
+ :host {
2
+ display: flex;
3
+ align-items: center;
4
+ justify-content: center;
5
+ }
6
+
7
+ :host button {
8
+ border-radius: 8px;
9
+ -webkit-padding-start: 12px;
10
+ padding-inline-start: 12px;
11
+ -webkit-padding-end: 12px;
12
+ padding-inline-end: 12px;
13
+ padding-top: 6px;
14
+ padding-bottom: 6px;
15
+ -webkit-margin-start: 2px;
16
+ margin-inline-start: 2px;
17
+ -webkit-margin-end: 2px;
18
+ margin-inline-end: 2px;
19
+ margin-top: 0px;
20
+ margin-bottom: 0px;
21
+ position: relative;
22
+ transition: 150ms color ease-in-out;
23
+ border: none;
24
+ background: var(--ion-color-step-300, #edeef0);
25
+ color: var(--ion-text-color, #000);
26
+ font-family: inherit;
27
+ font-size: inherit;
28
+ cursor: pointer;
29
+ appearance: none;
30
+ overflow: hidden;
31
+ }
32
+
33
+ :host(.time-active) #time-button,
34
+ :host(.date-active) #date-button {
35
+ color: var(--ion-color-base);
36
+ }
37
+
38
+ :host(.datetime-button-disabled) {
39
+ pointer-events: none;
40
+ }
41
+
42
+ :host(.datetime-button-disabled) button {
43
+ opacity: 0.4;
44
+ }
@@ -0,0 +1,98 @@
1
+ :host {
2
+ position: absolute;
3
+ z-index: 999;
4
+ }
5
+
6
+ :host(.fab-horizontal-center) {
7
+ -webkit-margin-start: -28px;
8
+ margin-inline-start: -28px;
9
+ }
10
+ @supports (inset-inline-start: 0) {
11
+ :host(.fab-horizontal-center) {
12
+ inset-inline-start: 50%;
13
+ }
14
+ }
15
+ @supports not (inset-inline-start: 0) {
16
+ :host(.fab-horizontal-center) {
17
+ left: 50%;
18
+ }
19
+ :host-context([dir=rtl]):host(.fab-horizontal-center), :host-context([dir=rtl]).fab-horizontal-center {
20
+ left: unset;
21
+ right: unset;
22
+ right: 50%;
23
+ }
24
+ @supports selector(:dir(rtl)) {
25
+ :host(.fab-horizontal-center):dir(rtl) {
26
+ left: unset;
27
+ right: unset;
28
+ right: 50%;
29
+ }
30
+ }
31
+ }
32
+
33
+ @supports (inset-inline-start: 0) {
34
+ :host(.fab-horizontal-start) {
35
+ inset-inline-start: calc(10px + var(--ion-safe-area-left, 0px));
36
+ }
37
+ }
38
+ @supports not (inset-inline-start: 0) {
39
+ :host(.fab-horizontal-start) {
40
+ left: calc(10px + var(--ion-safe-area-left, 0px));
41
+ }
42
+ :host-context([dir=rtl]):host(.fab-horizontal-start), :host-context([dir=rtl]).fab-horizontal-start {
43
+ left: unset;
44
+ right: unset;
45
+ right: calc(10px + var(--ion-safe-area-left, 0px));
46
+ }
47
+ @supports selector(:dir(rtl)) {
48
+ :host(.fab-horizontal-start):dir(rtl) {
49
+ left: unset;
50
+ right: unset;
51
+ right: calc(10px + var(--ion-safe-area-left, 0px));
52
+ }
53
+ }
54
+ }
55
+
56
+ @supports (inset-inline-start: 0) {
57
+ :host(.fab-horizontal-end) {
58
+ inset-inline-end: calc(10px + var(--ion-safe-area-right, 0px));
59
+ }
60
+ }
61
+ @supports not (inset-inline-start: 0) {
62
+ :host(.fab-horizontal-end) {
63
+ right: calc(10px + var(--ion-safe-area-right, 0px));
64
+ }
65
+ :host-context([dir=rtl]):host(.fab-horizontal-end), :host-context([dir=rtl]).fab-horizontal-end {
66
+ left: unset;
67
+ right: unset;
68
+ left: calc(10px + var(--ion-safe-area-right, 0px));
69
+ }
70
+ @supports selector(:dir(rtl)) {
71
+ :host(.fab-horizontal-end):dir(rtl) {
72
+ left: unset;
73
+ right: unset;
74
+ left: calc(10px + var(--ion-safe-area-right, 0px));
75
+ }
76
+ }
77
+ }
78
+
79
+ :host(.fab-vertical-top) {
80
+ top: 10px;
81
+ }
82
+
83
+ :host(.fab-vertical-top.fab-edge) {
84
+ top: -28px;
85
+ }
86
+
87
+ :host(.fab-vertical-bottom) {
88
+ bottom: 10px;
89
+ }
90
+
91
+ :host(.fab-vertical-bottom.fab-edge) {
92
+ bottom: -28px;
93
+ }
94
+
95
+ :host(.fab-vertical-center) {
96
+ margin-top: -28px;
97
+ top: 50%;
98
+ }