@ionic/core 8.8.6-dev.11777572994.1147595d → 8.8.6-nightly.20260501
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.
- package/components/index.js +1 -1
- package/components/ion-action-sheet.js +1 -1
- package/components/ion-alert.js +1 -1
- package/components/ion-back-button.js +1 -1
- package/components/ion-button.js +1 -1
- package/components/ion-card.js +1 -1
- package/components/ion-chip.js +1 -1
- package/components/ion-datetime-button.js +1 -1
- package/components/ion-datetime.js +1 -1
- package/components/ion-fab-button.js +1 -1
- package/components/ion-infinite-scroll-content.js +1 -1
- package/components/ion-input-password-toggle.js +1 -1
- package/components/ion-item-option.js +1 -1
- package/components/ion-item.js +1 -1
- package/components/ion-loading.js +1 -1
- package/components/ion-menu-button.js +1 -1
- package/components/ion-menu.js +1 -1
- package/components/ion-modal.js +1 -1
- package/components/ion-picker-legacy-column.d.ts +11 -0
- package/components/ion-picker-legacy-column.js +4 -0
- package/components/ion-picker-legacy.d.ts +11 -0
- package/components/ion-picker-legacy.js +4 -0
- package/components/ion-popover.js +1 -1
- package/components/ion-progress-bar.js +1 -1
- package/components/ion-radio.js +1 -1
- package/components/ion-range.js +1 -1
- package/components/ion-refresher-content.js +1 -1
- package/components/ion-refresher.js +1 -1
- package/components/ion-reorder-group.js +1 -1
- package/components/ion-reorder.js +1 -1
- package/components/ion-ripple-effect.js +1 -1
- package/components/ion-router-link.js +1 -1
- package/components/ion-router-outlet.js +1 -1
- package/components/ion-row.js +1 -1
- package/components/ion-searchbar.js +1 -1
- package/components/ion-segment-button.js +1 -1
- package/components/ion-segment-content.js +1 -1
- package/components/ion-segment-view.js +1 -1
- package/components/ion-segment.js +1 -1
- package/components/ion-select-modal.js +1 -1
- package/components/ion-select-option.js +1 -1
- package/components/ion-select-popover.js +1 -1
- package/components/ion-select.js +1 -1
- package/components/ion-skeleton-text.js +1 -1
- package/components/ion-spinner.js +1 -1
- package/components/ion-split-pane.js +1 -1
- package/components/ion-tab-bar.js +1 -1
- package/components/ion-tab-button.js +1 -1
- package/components/ion-tab.js +1 -1
- package/components/ion-tabs.js +1 -1
- package/components/ion-text.js +1 -1
- package/components/ion-textarea.js +1 -1
- package/components/ion-thumbnail.js +1 -1
- package/components/ion-title.js +1 -1
- package/components/ion-toast.js +1 -1
- package/components/ion-toggle.js +1 -1
- package/components/ion-toolbar.js +1 -1
- package/components/p-1KVKSLu5.js +4 -0
- package/components/{p-DbISMmiI.js → p-BSB38Tek.js} +1 -1
- package/components/{p-CDXBV7oG.js → p-BTeL5HCK.js} +1 -1
- package/components/p-BegtE7nr.js +4 -0
- package/components/{p-Ct3FLpwo.js → p-BlNv564p.js} +1 -1
- package/components/p-CH0NYjKq.js +4 -0
- package/components/{p-DL2W2mt3.js → p-CgfaEEem.js} +1 -1
- package/components/p-Cq8cQ0NL.js +4 -0
- package/components/{p-nPoOPlPt.js → p-Cyxa_4PV.js} +1 -1
- package/components/{p-OOMJP0jy.js → p-D-cP12ZN.js} +1 -1
- package/components/p-DHsZWn1l.js +4 -0
- package/components/{p-BeL7B3Bb.js → p-DJMZehmW.js} +1 -1
- package/components/p-DUqnmRFi.js +4 -0
- package/components/{p-DrIm1s9R.js → p-fpbh6w3f.js} +1 -1
- package/components/{p-DxXmSp9Y.js → p-kvaDs24J.js} +1 -1
- package/dist/cjs/index.cjs.js +2 -1
- package/dist/cjs/ion-action-sheet.cjs.entry.js +4 -8
- package/dist/cjs/ion-alert.cjs.entry.js +3 -7
- package/dist/cjs/ion-app_8.cjs.entry.js +9 -23
- package/dist/cjs/ion-avatar_3.cjs.entry.js +1 -1
- package/dist/cjs/ion-col_3.cjs.entry.js +1 -1
- package/dist/cjs/{ion-datetime.cjs.entry.js → ion-datetime_3.cjs.entry.js} +639 -1
- package/dist/cjs/ion-item_8.cjs.entry.js +2 -2
- package/dist/cjs/ion-loading.cjs.entry.js +3 -7
- package/dist/cjs/ion-menu_3.cjs.entry.js +1 -1
- package/dist/cjs/ion-modal.cjs.entry.js +5 -9
- package/dist/cjs/ion-popover.cjs.entry.js +3 -7
- package/dist/cjs/ion-progress-bar.cjs.entry.js +1 -1
- package/dist/cjs/ion-radio_2.cjs.entry.js +3 -3
- package/dist/cjs/ion-range.cjs.entry.js +3 -3
- package/dist/cjs/ion-refresher_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-reorder_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-ripple-effect.cjs.entry.js +1 -1
- package/dist/cjs/ion-route_4.cjs.entry.js +2 -2
- package/dist/cjs/ion-searchbar.cjs.entry.js +4 -4
- package/dist/cjs/ion-segment-content.cjs.entry.js +1 -1
- package/dist/cjs/ion-segment-view.cjs.entry.js +2 -2
- package/dist/cjs/ion-segment_2.cjs.entry.js +4 -4
- package/dist/cjs/ion-select-modal.cjs.entry.js +2 -2
- package/dist/cjs/ion-select_3.cjs.entry.js +5 -5
- package/dist/cjs/ion-spinner.cjs.entry.js +1 -1
- package/dist/cjs/ion-split-pane.cjs.entry.js +2 -2
- package/dist/cjs/ion-tab-bar_2.cjs.entry.js +4 -4
- package/dist/cjs/ion-tab_2.cjs.entry.js +3 -3
- package/dist/cjs/ion-text.cjs.entry.js +2 -2
- package/dist/cjs/ion-textarea.cjs.entry.js +2 -2
- package/dist/cjs/ion-toast.cjs.entry.js +3 -3
- package/dist/cjs/ion-toggle.cjs.entry.js +3 -3
- package/dist/cjs/ionic.cjs.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{overlays-DIfHxkst.js → overlays-C2jiBSNQ.js} +7 -26
- package/dist/collection/collection-manifest.json +9 -5
- package/dist/collection/components/action-sheet/action-sheet.js +4 -8
- package/dist/collection/components/alert/alert.js +3 -7
- package/dist/collection/components/loading/loading.js +3 -7
- package/dist/collection/components/modal/modal.js +5 -9
- package/dist/collection/components/picker-legacy/animations/ios.enter.js +27 -0
- package/dist/collection/components/picker-legacy/animations/ios.leave.js +23 -0
- package/dist/collection/components/picker-legacy/picker-interface.js +1 -0
- package/dist/collection/components/picker-legacy/picker.ios.css +300 -0
- package/dist/collection/components/picker-legacy/picker.js +890 -0
- package/dist/collection/components/picker-legacy/picker.md.css +287 -0
- package/dist/collection/components/picker-legacy-column/picker-column.ios.css +231 -0
- package/dist/collection/components/picker-legacy-column/picker-column.js +422 -0
- package/dist/collection/components/picker-legacy-column/picker-column.md.css +222 -0
- package/dist/collection/components/picker-legacy-column/test/test.utils.js +43 -0
- package/dist/collection/components/popover/popover.js +3 -7
- package/dist/collection/components/progress-bar/progress-bar.js +1 -1
- package/dist/collection/components/radio/radio.js +4 -4
- package/dist/collection/components/range/range.js +3 -3
- package/dist/collection/components/refresher/refresher.js +1 -1
- package/dist/collection/components/refresher-content/refresher-content.js +1 -1
- package/dist/collection/components/reorder/reorder.js +1 -1
- package/dist/collection/components/reorder-group/reorder-group.js +1 -1
- package/dist/collection/components/ripple-effect/ripple-effect.js +1 -1
- package/dist/collection/components/router-link/router-link.js +2 -2
- package/dist/collection/components/router-outlet/router-outlet.js +5 -38
- package/dist/collection/components/row/row.js +1 -1
- package/dist/collection/components/searchbar/searchbar.js +4 -4
- package/dist/collection/components/segment/segment.js +2 -2
- package/dist/collection/components/segment-button/segment-button.js +2 -2
- package/dist/collection/components/segment-content/segment-content.js +1 -1
- package/dist/collection/components/segment-view/segment-view.js +2 -2
- package/dist/collection/components/select/select.js +2 -2
- package/dist/collection/components/select-modal/select-modal.js +1 -1
- package/dist/collection/components/select-option/select-option.js +1 -1
- package/dist/collection/components/select-popover/select-popover.js +1 -1
- package/dist/collection/components/skeleton-text/skeleton-text.js +2 -2
- package/dist/collection/components/spinner/spinner.js +1 -1
- package/dist/collection/components/split-pane/split-pane.js +2 -2
- package/dist/collection/components/tab/tab.js +2 -2
- package/dist/collection/components/tab-bar/tab-bar.js +2 -2
- package/dist/collection/components/tab-button/tab-button.js +2 -2
- package/dist/collection/components/tabs/tabs.js +1 -1
- package/dist/collection/components/text/text.js +2 -2
- package/dist/collection/components/textarea/textarea.js +2 -2
- package/dist/collection/components/thumbnail/thumbnail.js +1 -1
- package/dist/collection/components/title/title.js +2 -2
- package/dist/collection/components/toast/toast.js +2 -2
- package/dist/collection/components/toggle/toggle.js +3 -3
- package/dist/collection/components/toolbar/toolbar.js +2 -2
- package/dist/collection/index.js +1 -1
- package/dist/collection/utils/overlays.js +6 -25
- package/dist/docs.json +941 -28
- package/dist/esm/{index-AlrZKoWR.js → index-DV3sJJW8.js} +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/ion-accordion_2.entry.js +1 -1
- package/dist/esm/ion-action-sheet.entry.js +4 -8
- package/dist/esm/ion-alert.entry.js +3 -7
- package/dist/esm/ion-app_8.entry.js +9 -23
- package/dist/esm/ion-avatar_3.entry.js +1 -1
- package/dist/esm/ion-back-button.entry.js +1 -1
- package/dist/esm/ion-breadcrumb_2.entry.js +1 -1
- package/dist/esm/ion-col_3.entry.js +1 -1
- package/dist/esm/{ion-datetime.entry.js → ion-datetime_3.entry.js} +641 -5
- package/dist/esm/ion-fab_3.entry.js +1 -1
- package/dist/esm/ion-input-password-toggle.entry.js +1 -1
- package/dist/esm/ion-input.entry.js +1 -1
- package/dist/esm/ion-item_8.entry.js +3 -3
- package/dist/esm/ion-loading.entry.js +3 -7
- package/dist/esm/ion-menu_3.entry.js +2 -2
- package/dist/esm/ion-modal.entry.js +5 -9
- package/dist/esm/ion-popover.entry.js +3 -7
- package/dist/esm/ion-progress-bar.entry.js +1 -1
- package/dist/esm/ion-radio_2.entry.js +3 -3
- package/dist/esm/ion-range.entry.js +3 -3
- package/dist/esm/ion-refresher_2.entry.js +3 -3
- package/dist/esm/ion-reorder_2.entry.js +3 -3
- package/dist/esm/ion-ripple-effect.entry.js +1 -1
- package/dist/esm/ion-route_4.entry.js +2 -2
- package/dist/esm/ion-searchbar.entry.js +5 -5
- package/dist/esm/ion-segment-content.entry.js +1 -1
- package/dist/esm/ion-segment-view.entry.js +2 -2
- package/dist/esm/ion-segment_2.entry.js +4 -4
- package/dist/esm/ion-select-modal.entry.js +2 -2
- package/dist/esm/ion-select_3.entry.js +6 -6
- package/dist/esm/ion-spinner.entry.js +1 -1
- package/dist/esm/ion-split-pane.entry.js +2 -2
- package/dist/esm/ion-tab-bar_2.entry.js +4 -4
- package/dist/esm/ion-tab_2.entry.js +3 -3
- package/dist/esm/ion-text.entry.js +2 -2
- package/dist/esm/ion-textarea.entry.js +2 -2
- package/dist/esm/ion-toast.entry.js +3 -3
- package/dist/esm/ion-toggle.entry.js +4 -4
- package/dist/esm/ionic.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{overlays-BDGzTP3L.js → overlays-F8GHPo-e.js} +7 -26
- package/dist/html.html-data.json +59 -4
- package/dist/ionic/index.esm.js +1 -1
- package/dist/ionic/ionic.esm.js +1 -1
- package/dist/ionic/{p-f17d05e3.entry.js → p-031b76f7.entry.js} +1 -1
- package/dist/ionic/{p-ede28b71.entry.js → p-07506134.entry.js} +1 -1
- package/dist/ionic/{p-e9dd191b.entry.js → p-084c25b2.entry.js} +1 -1
- package/dist/ionic/{p-fed27c64.entry.js → p-0d8b5c38.entry.js} +1 -1
- package/dist/ionic/p-16813ce7.entry.js +4 -0
- package/dist/ionic/p-1b02923f.entry.js +4 -0
- package/dist/ionic/{p-898f9d11.entry.js → p-1b169fb6.entry.js} +1 -1
- package/dist/ionic/p-23fac490.entry.js +4 -0
- package/dist/ionic/{p-7fe42b71.entry.js → p-28a9e720.entry.js} +1 -1
- package/dist/ionic/{p-3b58996c.entry.js → p-294f4bb5.entry.js} +1 -1
- package/dist/ionic/{p-f7762013.entry.js → p-2a68388b.entry.js} +1 -1
- package/dist/ionic/p-2f5a8140.entry.js +4 -0
- package/dist/ionic/{p-34b3a309.entry.js → p-2fd110aa.entry.js} +1 -1
- package/dist/ionic/{p-4ed63122.entry.js → p-301c43f8.entry.js} +1 -1
- package/dist/ionic/p-4c67ce4c.entry.js +4 -0
- package/dist/ionic/p-51c11c47.entry.js +4 -0
- package/dist/ionic/p-53f750a5.entry.js +4 -0
- package/dist/ionic/p-6b701daa.entry.js +4 -0
- package/dist/ionic/{p-19adf785.entry.js → p-7620be24.entry.js} +1 -1
- package/dist/ionic/{p-18b5d5ff.entry.js → p-771b27a5.entry.js} +1 -1
- package/dist/ionic/p-7ca71c83.entry.js +4 -0
- package/dist/ionic/{p-66494f9b.entry.js → p-80cac7a2.entry.js} +1 -1
- package/dist/ionic/{p-506038d3.entry.js → p-8fda6a62.entry.js} +1 -1
- package/dist/ionic/{p-7f269aff.entry.js → p-9cbc6f1f.entry.js} +1 -1
- package/dist/ionic/{p-b6f16f18.entry.js → p-9cdbabbb.entry.js} +1 -1
- package/dist/ionic/p-DTPR1Wpn.js +4 -0
- package/dist/ionic/{p-AlrZKoWR.js → p-DV3sJJW8.js} +1 -1
- package/dist/ionic/{p-dc198c3a.entry.js → p-a84f2d21.entry.js} +1 -1
- package/dist/ionic/{p-b8f4a31c.entry.js → p-aa812c4b.entry.js} +1 -1
- package/dist/ionic/{p-30f5ad9e.entry.js → p-b325a113.entry.js} +1 -1
- package/dist/ionic/p-b5ea8cdd.entry.js +4 -0
- package/dist/ionic/{p-1d2163ad.entry.js → p-bcaa827e.entry.js} +1 -1
- package/dist/ionic/{p-6e99ae8d.entry.js → p-c3cce9d8.entry.js} +1 -1
- package/dist/ionic/{p-b553828c.entry.js → p-d4e8b473.entry.js} +1 -1
- package/dist/ionic/p-e0287f41.entry.js +4 -0
- package/dist/ionic/{p-6da572e7.entry.js → p-e863ffe8.entry.js} +1 -1
- package/dist/ionic/p-f2deaceb.entry.js +4 -0
- package/dist/ionic/{p-460fbe5b.entry.js → p-f69a5f71.entry.js} +1 -1
- package/dist/ionic/{p-4ea520a4.entry.js → p-f8186550.entry.js} +1 -1
- package/dist/ionic/{p-8a3a936b.entry.js → p-fdbc90d4.entry.js} +1 -1
- package/dist/types/components/picker-legacy/animations/ios.enter.d.ts +5 -0
- package/dist/types/components/picker-legacy/animations/ios.leave.d.ts +5 -0
- package/dist/types/components/picker-legacy/picker-interface.d.ts +52 -0
- package/dist/types/components/picker-legacy/picker.d.ts +158 -0
- package/dist/types/components/picker-legacy-column/picker-column.d.ts +46 -0
- package/dist/types/components/picker-legacy-column/test/test.utils.d.ts +9 -0
- package/dist/types/components/router-outlet/router-outlet.d.ts +0 -7
- package/dist/types/components.d.ts +272 -9
- package/dist/types/index.d.ts +1 -1
- package/dist/types/interface.d.ts +1 -0
- package/dist/types/utils/config.d.ts +8 -0
- package/dist/types/utils/overlays.d.ts +9 -11
- package/hydrate/index.js +788 -164
- package/hydrate/index.mjs +788 -164
- package/package.json +3 -3
- package/components/p-BHlzkIpO.js +0 -4
- package/components/p-Bg7NsGS9.js +0 -4
- package/components/p-CWpbvhwY.js +0 -4
- package/components/p-DBHdZu4y.js +0 -4
- package/components/p-DPdqO7R6.js +0 -4
- package/dist/ionic/p-2089f9cb.entry.js +0 -4
- package/dist/ionic/p-4c8d8c55.entry.js +0 -4
- package/dist/ionic/p-4f3a8ccf.entry.js +0 -4
- package/dist/ionic/p-528d4c1d.entry.js +0 -4
- package/dist/ionic/p-5430ae94.entry.js +0 -4
- package/dist/ionic/p-5c2cc090.entry.js +0 -4
- package/dist/ionic/p-6406d5a9.entry.js +0 -4
- package/dist/ionic/p-7f9db51b.entry.js +0 -4
- package/dist/ionic/p-Csx_Ej2k.js +0 -4
- package/dist/ionic/p-a39db980.entry.js +0 -4
- package/dist/ionic/p-b5e3e1f7.entry.js +0 -4
- package/dist/ionic/p-cce0cd26.entry.js +0 -4
- package/dist/ionic/p-d92ba088.entry.js +0 -4
|
@@ -0,0 +1,287 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Convert a font size to a dynamic font size.
|
|
3
|
+
* Fonts that participate in Dynamic Type should use
|
|
4
|
+
* dynamic font sizes.
|
|
5
|
+
* @param size - The initial font size including the unit (i.e. px or pt)
|
|
6
|
+
* @param unit (optional) - The unit to convert to. Use this if you want to
|
|
7
|
+
* convert to a unit other than $baselineUnit.
|
|
8
|
+
*/
|
|
9
|
+
/**
|
|
10
|
+
* Convert a font size to a dynamic font size but impose
|
|
11
|
+
* a maximum font size.
|
|
12
|
+
* @param size - The initial font size including the unit (i.e. px or pt)
|
|
13
|
+
* @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).
|
|
14
|
+
* @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
|
|
15
|
+
* convert to a unit other than $baselineUnit.
|
|
16
|
+
*/
|
|
17
|
+
/**
|
|
18
|
+
* Convert a font size to a dynamic font size but impose
|
|
19
|
+
* a minimum font size.
|
|
20
|
+
* @param size - The initial font size including the unit (i.e. px or pt)
|
|
21
|
+
* @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).
|
|
22
|
+
* @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
|
|
23
|
+
* convert to a unit other than $baselineUnit.
|
|
24
|
+
*/
|
|
25
|
+
/**
|
|
26
|
+
* Convert a font size to a dynamic font size but impose
|
|
27
|
+
* maximum and minimum font sizes.
|
|
28
|
+
* @param size - The initial font size including the unit (i.e. px or pt)
|
|
29
|
+
* @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).
|
|
30
|
+
* @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).
|
|
31
|
+
* @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
|
|
32
|
+
* convert to a unit other than $baselineUnit.
|
|
33
|
+
*/
|
|
34
|
+
/**
|
|
35
|
+
* A heuristic that applies CSS to tablet
|
|
36
|
+
* viewports.
|
|
37
|
+
*
|
|
38
|
+
* Usage:
|
|
39
|
+
* @include tablet-viewport() {
|
|
40
|
+
* :host {
|
|
41
|
+
* background-color: green;
|
|
42
|
+
* }
|
|
43
|
+
* }
|
|
44
|
+
*/
|
|
45
|
+
/**
|
|
46
|
+
* A heuristic that applies CSS to mobile
|
|
47
|
+
* viewports (i.e. phones, not tablets).
|
|
48
|
+
*
|
|
49
|
+
* Usage:
|
|
50
|
+
* @include mobile-viewport() {
|
|
51
|
+
* :host {
|
|
52
|
+
* background-color: blue;
|
|
53
|
+
* }
|
|
54
|
+
* }
|
|
55
|
+
*/
|
|
56
|
+
:host {
|
|
57
|
+
/**
|
|
58
|
+
* @prop --background: Background of the picker
|
|
59
|
+
* @prop --background-rgb: Background of the picker in rgb format
|
|
60
|
+
*
|
|
61
|
+
* @prop --border-radius: Border radius of the picker
|
|
62
|
+
* @prop --border-color: Border color of the picker
|
|
63
|
+
* @prop --border-width: Border width of the picker
|
|
64
|
+
* @prop --border-style: Border style of the picker
|
|
65
|
+
*
|
|
66
|
+
* @prop --min-width: Minimum width of the picker
|
|
67
|
+
* @prop --width: Width of the picker
|
|
68
|
+
* @prop --max-width: Maximum width of the picker
|
|
69
|
+
*
|
|
70
|
+
* @prop --min-height: Minimum height of the picker
|
|
71
|
+
* @prop --height: Height of the picker
|
|
72
|
+
* @prop --max-height: Maximum height of the picker
|
|
73
|
+
*
|
|
74
|
+
* @prop --backdrop-opacity: Opacity of the backdrop
|
|
75
|
+
*/
|
|
76
|
+
--border-radius: 0;
|
|
77
|
+
--border-style: solid;
|
|
78
|
+
--min-width: auto;
|
|
79
|
+
--width: 100%;
|
|
80
|
+
--max-width: 500px;
|
|
81
|
+
--min-height: auto;
|
|
82
|
+
--max-height: auto;
|
|
83
|
+
-moz-osx-font-smoothing: grayscale;
|
|
84
|
+
-webkit-font-smoothing: antialiased;
|
|
85
|
+
top: 0;
|
|
86
|
+
display: block;
|
|
87
|
+
position: absolute;
|
|
88
|
+
width: 100%;
|
|
89
|
+
height: 100%;
|
|
90
|
+
outline: none;
|
|
91
|
+
font-family: var(--ion-font-family, inherit);
|
|
92
|
+
contain: strict;
|
|
93
|
+
user-select: none;
|
|
94
|
+
z-index: 1001;
|
|
95
|
+
}
|
|
96
|
+
:host {
|
|
97
|
+
inset-inline-start: 0;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
:host(.overlay-hidden) {
|
|
101
|
+
display: none;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
.picker-wrapper {
|
|
105
|
+
border-radius: var(--border-radius);
|
|
106
|
+
left: 0;
|
|
107
|
+
right: 0;
|
|
108
|
+
bottom: 0;
|
|
109
|
+
-webkit-margin-start: auto;
|
|
110
|
+
margin-inline-start: auto;
|
|
111
|
+
-webkit-margin-end: auto;
|
|
112
|
+
margin-inline-end: auto;
|
|
113
|
+
margin-top: auto;
|
|
114
|
+
margin-bottom: auto;
|
|
115
|
+
transform: translate3d(0, 100%, 0);
|
|
116
|
+
display: flex;
|
|
117
|
+
position: absolute;
|
|
118
|
+
flex-direction: column;
|
|
119
|
+
width: var(--width);
|
|
120
|
+
min-width: var(--min-width);
|
|
121
|
+
max-width: var(--max-width);
|
|
122
|
+
height: var(--height);
|
|
123
|
+
min-height: var(--min-height);
|
|
124
|
+
max-height: var(--max-height);
|
|
125
|
+
border-width: var(--border-width);
|
|
126
|
+
border-style: var(--border-style);
|
|
127
|
+
border-color: var(--border-color);
|
|
128
|
+
background: var(--background);
|
|
129
|
+
contain: strict;
|
|
130
|
+
overflow: hidden;
|
|
131
|
+
z-index: 10;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
.picker-toolbar {
|
|
135
|
+
width: 100%;
|
|
136
|
+
background: transparent;
|
|
137
|
+
contain: strict;
|
|
138
|
+
z-index: 1;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
.picker-button {
|
|
142
|
+
border: 0;
|
|
143
|
+
font-family: inherit;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
.picker-button:active, .picker-button:focus {
|
|
147
|
+
outline: none;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
.picker-columns {
|
|
151
|
+
display: flex;
|
|
152
|
+
position: relative;
|
|
153
|
+
justify-content: center;
|
|
154
|
+
margin-bottom: var(--ion-safe-area-bottom, 0);
|
|
155
|
+
contain: strict;
|
|
156
|
+
overflow: hidden;
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
.picker-above-highlight,
|
|
160
|
+
.picker-below-highlight {
|
|
161
|
+
display: none;
|
|
162
|
+
pointer-events: none;
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
/**
|
|
166
|
+
* Convert a font size to a dynamic font size.
|
|
167
|
+
* Fonts that participate in Dynamic Type should use
|
|
168
|
+
* dynamic font sizes.
|
|
169
|
+
* @param size - The initial font size including the unit (i.e. px or pt)
|
|
170
|
+
* @param unit (optional) - The unit to convert to. Use this if you want to
|
|
171
|
+
* convert to a unit other than $baselineUnit.
|
|
172
|
+
*/
|
|
173
|
+
/**
|
|
174
|
+
* Convert a font size to a dynamic font size but impose
|
|
175
|
+
* a maximum font size.
|
|
176
|
+
* @param size - The initial font size including the unit (i.e. px or pt)
|
|
177
|
+
* @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).
|
|
178
|
+
* @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
|
|
179
|
+
* convert to a unit other than $baselineUnit.
|
|
180
|
+
*/
|
|
181
|
+
/**
|
|
182
|
+
* Convert a font size to a dynamic font size but impose
|
|
183
|
+
* a minimum font size.
|
|
184
|
+
* @param size - The initial font size including the unit (i.e. px or pt)
|
|
185
|
+
* @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).
|
|
186
|
+
* @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
|
|
187
|
+
* convert to a unit other than $baselineUnit.
|
|
188
|
+
*/
|
|
189
|
+
/**
|
|
190
|
+
* Convert a font size to a dynamic font size but impose
|
|
191
|
+
* maximum and minimum font sizes.
|
|
192
|
+
* @param size - The initial font size including the unit (i.e. px or pt)
|
|
193
|
+
* @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).
|
|
194
|
+
* @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).
|
|
195
|
+
* @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
|
|
196
|
+
* convert to a unit other than $baselineUnit.
|
|
197
|
+
*/
|
|
198
|
+
/**
|
|
199
|
+
* A heuristic that applies CSS to tablet
|
|
200
|
+
* viewports.
|
|
201
|
+
*
|
|
202
|
+
* Usage:
|
|
203
|
+
* @include tablet-viewport() {
|
|
204
|
+
* :host {
|
|
205
|
+
* background-color: green;
|
|
206
|
+
* }
|
|
207
|
+
* }
|
|
208
|
+
*/
|
|
209
|
+
/**
|
|
210
|
+
* A heuristic that applies CSS to mobile
|
|
211
|
+
* viewports (i.e. phones, not tablets).
|
|
212
|
+
*
|
|
213
|
+
* Usage:
|
|
214
|
+
* @include mobile-viewport() {
|
|
215
|
+
* :host {
|
|
216
|
+
* background-color: blue;
|
|
217
|
+
* }
|
|
218
|
+
* }
|
|
219
|
+
*/
|
|
220
|
+
:host {
|
|
221
|
+
--background: var(--ion-background-color, #fff);
|
|
222
|
+
--border-width: 0.55px 0 0;
|
|
223
|
+
--border-color: var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-150, var(--ion-background-color-step-150, rgba(0, 0, 0, 0.13)))));
|
|
224
|
+
--height: 260px;
|
|
225
|
+
--backdrop-opacity: var(--ion-backdrop-opacity, 0.26);
|
|
226
|
+
color: var(--ion-item-color, var(--ion-text-color, #000));
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
.picker-toolbar {
|
|
230
|
+
display: flex;
|
|
231
|
+
justify-content: flex-end;
|
|
232
|
+
height: 44px;
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
.picker-button,
|
|
236
|
+
.picker-button.ion-activated {
|
|
237
|
+
margin-left: 0;
|
|
238
|
+
margin-right: 0;
|
|
239
|
+
margin-top: 0;
|
|
240
|
+
margin-bottom: 0;
|
|
241
|
+
-webkit-padding-start: 1.1em;
|
|
242
|
+
padding-inline-start: 1.1em;
|
|
243
|
+
-webkit-padding-end: 1.1em;
|
|
244
|
+
padding-inline-end: 1.1em;
|
|
245
|
+
padding-top: 0;
|
|
246
|
+
padding-bottom: 0;
|
|
247
|
+
height: 44px;
|
|
248
|
+
background: transparent;
|
|
249
|
+
color: var(--ion-color-primary, #0054e9);
|
|
250
|
+
font-size: 14px;
|
|
251
|
+
font-weight: 500;
|
|
252
|
+
text-transform: uppercase;
|
|
253
|
+
box-shadow: none;
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
.picker-columns {
|
|
257
|
+
height: 216px;
|
|
258
|
+
perspective: 1800px;
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
.picker-above-highlight {
|
|
262
|
+
top: 0;
|
|
263
|
+
transform: translate3d(0, 0, 90px);
|
|
264
|
+
position: absolute;
|
|
265
|
+
width: 100%;
|
|
266
|
+
height: 81px;
|
|
267
|
+
border-bottom: 1px solid var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-150, var(--ion-background-color-step-150, rgba(0, 0, 0, 0.13)))));
|
|
268
|
+
background: linear-gradient(to bottom, var(--ion-background-color, #fff) 20%, rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8) 100%);
|
|
269
|
+
z-index: 10;
|
|
270
|
+
}
|
|
271
|
+
.picker-above-highlight {
|
|
272
|
+
inset-inline-start: 0;
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
.picker-below-highlight {
|
|
276
|
+
top: 115px;
|
|
277
|
+
transform: translate3d(0, 0, 90px);
|
|
278
|
+
position: absolute;
|
|
279
|
+
width: 100%;
|
|
280
|
+
height: 119px;
|
|
281
|
+
border-top: 1px solid var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-150, var(--ion-background-color-step-150, rgba(0, 0, 0, 0.13)))));
|
|
282
|
+
background: linear-gradient(to top, var(--ion-background-color, #fff) 30%, rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8) 100%);
|
|
283
|
+
z-index: 11;
|
|
284
|
+
}
|
|
285
|
+
.picker-below-highlight {
|
|
286
|
+
inset-inline-start: 0;
|
|
287
|
+
}
|
|
@@ -0,0 +1,231 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Convert a font size to a dynamic font size.
|
|
3
|
+
* Fonts that participate in Dynamic Type should use
|
|
4
|
+
* dynamic font sizes.
|
|
5
|
+
* @param size - The initial font size including the unit (i.e. px or pt)
|
|
6
|
+
* @param unit (optional) - The unit to convert to. Use this if you want to
|
|
7
|
+
* convert to a unit other than $baselineUnit.
|
|
8
|
+
*/
|
|
9
|
+
/**
|
|
10
|
+
* Convert a font size to a dynamic font size but impose
|
|
11
|
+
* a maximum font size.
|
|
12
|
+
* @param size - The initial font size including the unit (i.e. px or pt)
|
|
13
|
+
* @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).
|
|
14
|
+
* @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
|
|
15
|
+
* convert to a unit other than $baselineUnit.
|
|
16
|
+
*/
|
|
17
|
+
/**
|
|
18
|
+
* Convert a font size to a dynamic font size but impose
|
|
19
|
+
* a minimum font size.
|
|
20
|
+
* @param size - The initial font size including the unit (i.e. px or pt)
|
|
21
|
+
* @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).
|
|
22
|
+
* @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
|
|
23
|
+
* convert to a unit other than $baselineUnit.
|
|
24
|
+
*/
|
|
25
|
+
/**
|
|
26
|
+
* Convert a font size to a dynamic font size but impose
|
|
27
|
+
* maximum and minimum font sizes.
|
|
28
|
+
* @param size - The initial font size including the unit (i.e. px or pt)
|
|
29
|
+
* @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).
|
|
30
|
+
* @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).
|
|
31
|
+
* @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
|
|
32
|
+
* convert to a unit other than $baselineUnit.
|
|
33
|
+
*/
|
|
34
|
+
/**
|
|
35
|
+
* A heuristic that applies CSS to tablet
|
|
36
|
+
* viewports.
|
|
37
|
+
*
|
|
38
|
+
* Usage:
|
|
39
|
+
* @include tablet-viewport() {
|
|
40
|
+
* :host {
|
|
41
|
+
* background-color: green;
|
|
42
|
+
* }
|
|
43
|
+
* }
|
|
44
|
+
*/
|
|
45
|
+
/**
|
|
46
|
+
* A heuristic that applies CSS to mobile
|
|
47
|
+
* viewports (i.e. phones, not tablets).
|
|
48
|
+
*
|
|
49
|
+
* Usage:
|
|
50
|
+
* @include mobile-viewport() {
|
|
51
|
+
* :host {
|
|
52
|
+
* background-color: blue;
|
|
53
|
+
* }
|
|
54
|
+
* }
|
|
55
|
+
*/
|
|
56
|
+
.picker-col {
|
|
57
|
+
display: flex;
|
|
58
|
+
position: relative;
|
|
59
|
+
flex: 1;
|
|
60
|
+
justify-content: center;
|
|
61
|
+
height: 100%;
|
|
62
|
+
box-sizing: content-box;
|
|
63
|
+
contain: content;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.picker-opts {
|
|
67
|
+
position: relative;
|
|
68
|
+
flex: 1;
|
|
69
|
+
max-width: 100%;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.picker-opt {
|
|
73
|
+
top: 0;
|
|
74
|
+
display: block;
|
|
75
|
+
position: absolute;
|
|
76
|
+
width: 100%;
|
|
77
|
+
border: 0;
|
|
78
|
+
text-align: center;
|
|
79
|
+
text-overflow: ellipsis;
|
|
80
|
+
white-space: nowrap;
|
|
81
|
+
contain: strict;
|
|
82
|
+
overflow: hidden;
|
|
83
|
+
will-change: transform;
|
|
84
|
+
}
|
|
85
|
+
.picker-opt {
|
|
86
|
+
inset-inline-start: 0;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.picker-opt.picker-opt-disabled {
|
|
90
|
+
pointer-events: none;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
.picker-opt-disabled {
|
|
94
|
+
opacity: 0;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
.picker-opts-left {
|
|
98
|
+
justify-content: flex-start;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
.picker-opts-right {
|
|
102
|
+
justify-content: flex-end;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
.picker-opt:active, .picker-opt:focus {
|
|
106
|
+
outline: none;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
.picker-prefix {
|
|
110
|
+
position: relative;
|
|
111
|
+
flex: 1;
|
|
112
|
+
text-align: end;
|
|
113
|
+
white-space: nowrap;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
.picker-suffix {
|
|
117
|
+
position: relative;
|
|
118
|
+
flex: 1;
|
|
119
|
+
text-align: start;
|
|
120
|
+
white-space: nowrap;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
/**
|
|
124
|
+
* Convert a font size to a dynamic font size.
|
|
125
|
+
* Fonts that participate in Dynamic Type should use
|
|
126
|
+
* dynamic font sizes.
|
|
127
|
+
* @param size - The initial font size including the unit (i.e. px or pt)
|
|
128
|
+
* @param unit (optional) - The unit to convert to. Use this if you want to
|
|
129
|
+
* convert to a unit other than $baselineUnit.
|
|
130
|
+
*/
|
|
131
|
+
/**
|
|
132
|
+
* Convert a font size to a dynamic font size but impose
|
|
133
|
+
* a maximum font size.
|
|
134
|
+
* @param size - The initial font size including the unit (i.e. px or pt)
|
|
135
|
+
* @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).
|
|
136
|
+
* @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
|
|
137
|
+
* convert to a unit other than $baselineUnit.
|
|
138
|
+
*/
|
|
139
|
+
/**
|
|
140
|
+
* Convert a font size to a dynamic font size but impose
|
|
141
|
+
* a minimum font size.
|
|
142
|
+
* @param size - The initial font size including the unit (i.e. px or pt)
|
|
143
|
+
* @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).
|
|
144
|
+
* @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
|
|
145
|
+
* convert to a unit other than $baselineUnit.
|
|
146
|
+
*/
|
|
147
|
+
/**
|
|
148
|
+
* Convert a font size to a dynamic font size but impose
|
|
149
|
+
* maximum and minimum font sizes.
|
|
150
|
+
* @param size - The initial font size including the unit (i.e. px or pt)
|
|
151
|
+
* @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).
|
|
152
|
+
* @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).
|
|
153
|
+
* @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
|
|
154
|
+
* convert to a unit other than $baselineUnit.
|
|
155
|
+
*/
|
|
156
|
+
/**
|
|
157
|
+
* A heuristic that applies CSS to tablet
|
|
158
|
+
* viewports.
|
|
159
|
+
*
|
|
160
|
+
* Usage:
|
|
161
|
+
* @include tablet-viewport() {
|
|
162
|
+
* :host {
|
|
163
|
+
* background-color: green;
|
|
164
|
+
* }
|
|
165
|
+
* }
|
|
166
|
+
*/
|
|
167
|
+
/**
|
|
168
|
+
* A heuristic that applies CSS to mobile
|
|
169
|
+
* viewports (i.e. phones, not tablets).
|
|
170
|
+
*
|
|
171
|
+
* Usage:
|
|
172
|
+
* @include mobile-viewport() {
|
|
173
|
+
* :host {
|
|
174
|
+
* background-color: blue;
|
|
175
|
+
* }
|
|
176
|
+
* }
|
|
177
|
+
*/
|
|
178
|
+
.picker-col {
|
|
179
|
+
-webkit-padding-start: 4px;
|
|
180
|
+
padding-inline-start: 4px;
|
|
181
|
+
-webkit-padding-end: 4px;
|
|
182
|
+
padding-inline-end: 4px;
|
|
183
|
+
padding-top: 0;
|
|
184
|
+
padding-bottom: 0;
|
|
185
|
+
transform-style: preserve-3d;
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
.picker-prefix,
|
|
189
|
+
.picker-suffix,
|
|
190
|
+
.picker-opts {
|
|
191
|
+
top: 77px;
|
|
192
|
+
transform-style: preserve-3d;
|
|
193
|
+
color: inherit;
|
|
194
|
+
font-size: 20px;
|
|
195
|
+
line-height: 42px;
|
|
196
|
+
pointer-events: none;
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
.picker-opt {
|
|
200
|
+
padding-left: 0;
|
|
201
|
+
padding-right: 0;
|
|
202
|
+
padding-top: 0;
|
|
203
|
+
padding-bottom: 0;
|
|
204
|
+
margin-left: 0;
|
|
205
|
+
margin-right: 0;
|
|
206
|
+
margin-top: 0;
|
|
207
|
+
margin-bottom: 0;
|
|
208
|
+
transform-origin: center center;
|
|
209
|
+
height: 46px;
|
|
210
|
+
transform-style: preserve-3d;
|
|
211
|
+
transition-timing-function: ease-out;
|
|
212
|
+
background: transparent;
|
|
213
|
+
color: inherit;
|
|
214
|
+
font-size: 20px;
|
|
215
|
+
line-height: 42px;
|
|
216
|
+
backface-visibility: hidden;
|
|
217
|
+
pointer-events: auto;
|
|
218
|
+
}
|
|
219
|
+
:host-context([dir=rtl]) .picker-opt {
|
|
220
|
+
transform-origin: calc(100% - center) center;
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
[dir=rtl] .picker-opt {
|
|
224
|
+
transform-origin: calc(100% - center) center;
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
@supports selector(:dir(rtl)) {
|
|
228
|
+
.picker-opt:dir(rtl) {
|
|
229
|
+
transform-origin: calc(100% - center) center;
|
|
230
|
+
}
|
|
231
|
+
}
|