@ionic/core 8.0.0-dev.11711408410.14d71406 → 8.0.0-dev.11711476529.17eae6ec
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/button.js +21 -7
- package/css/core.css +18 -0
- package/css/core.css.map +1 -1
- package/css/display.css +6 -0
- package/css/display.css.map +1 -1
- package/css/float-elements.css +6 -0
- package/css/float-elements.css.map +1 -1
- package/css/global.bundle.css +12 -0
- package/css/global.bundle.css.map +1 -1
- package/css/ionic-swiper.css +6 -0
- package/css/ionic-swiper.css.map +1 -1
- package/css/ionic.bundle.css.map +1 -1
- package/css/padding.css +6 -0
- package/css/padding.css.map +1 -1
- package/css/structure.css +6 -0
- package/css/structure.css.map +1 -1
- package/css/text-alignment.css +6 -0
- package/css/text-alignment.css.map +1 -1
- package/css/text-transformation.css +6 -0
- package/css/text-transformation.css.map +1 -1
- package/css/typography.css +6 -0
- package/css/typography.css.map +1 -1
- package/css/utils.bundle.css +30 -0
- package/css/utils.bundle.css.map +1 -1
- package/dist/cjs/ion-button_2.cjs.entry.js +20 -6
- package/dist/collection/components/accordion/accordion.ios.css +12 -0
- package/dist/collection/components/accordion/accordion.md.css +6 -0
- package/dist/collection/components/accordion-group/accordion-group.ios.css +12 -0
- package/dist/collection/components/accordion-group/accordion-group.md.css +18 -0
- package/dist/collection/components/action-sheet/action-sheet.ios.css +12 -0
- package/dist/collection/components/action-sheet/action-sheet.md.css +12 -0
- package/dist/collection/components/alert/alert.ios.css +18 -0
- package/dist/collection/components/alert/alert.md.css +18 -0
- package/dist/collection/components/avatar/avatar.ios.css +12 -0
- package/dist/collection/components/avatar/avatar.md.css +12 -0
- package/dist/collection/components/back-button/back-button.ios.css +12 -0
- package/dist/collection/components/back-button/back-button.md.css +12 -0
- package/dist/collection/components/backdrop/backdrop.ios.css +12 -0
- package/dist/collection/components/backdrop/backdrop.md.css +12 -0
- package/dist/collection/components/badge/badge.ios.css +12 -0
- package/dist/collection/components/badge/badge.md.css +12 -0
- package/dist/collection/components/breadcrumb/breadcrumb.ios.css +12 -0
- package/dist/collection/components/breadcrumb/breadcrumb.md.css +12 -0
- package/dist/collection/components/breadcrumbs/breadcrumbs.ios.css +6 -0
- package/dist/collection/components/breadcrumbs/breadcrumbs.md.css +6 -0
- package/dist/collection/components/button/button.ionic.css +565 -0
- package/dist/collection/components/button/button.ios.css +18 -0
- package/dist/collection/components/button/button.js +24 -10
- package/dist/collection/components/button/button.md.css +12 -0
- package/dist/collection/components/button/test/clear/button.e2e.js +6 -3
- package/dist/collection/components/button/test/shape/button.e2e.js +88 -0
- package/dist/collection/components/button/test/size/button.e2e.js +19 -1
- package/dist/collection/components/buttons/buttons.ios.css +18 -0
- package/dist/collection/components/buttons/buttons.md.css +18 -0
- package/dist/collection/components/card/card.ios.css +12 -0
- package/dist/collection/components/card/card.md.css +12 -0
- package/dist/collection/components/card-content/card-content.ios.css +12 -0
- package/dist/collection/components/card-content/card-content.md.css +12 -0
- package/dist/collection/components/card-header/card-header.ios.css +12 -0
- package/dist/collection/components/card-header/card-header.md.css +12 -0
- package/dist/collection/components/card-subtitle/card-subtitle.ios.css +12 -0
- package/dist/collection/components/card-subtitle/card-subtitle.md.css +12 -0
- package/dist/collection/components/card-title/card-title.ios.css +12 -0
- package/dist/collection/components/card-title/card-title.md.css +12 -0
- package/dist/collection/components/checkbox/checkbox.ios.css +18 -0
- package/dist/collection/components/checkbox/checkbox.md.css +18 -0
- package/dist/collection/components/chip/chip.ios.css +6 -0
- package/dist/collection/components/chip/chip.md.css +6 -0
- package/dist/collection/components/col/col.css +12 -0
- package/dist/collection/components/content/content.css +6 -0
- package/dist/collection/components/datetime/datetime.ios.css +12 -0
- package/dist/collection/components/datetime/datetime.md.css +12 -0
- package/dist/collection/components/datetime-button/datetime-button.ios.css +6 -0
- package/dist/collection/components/datetime-button/datetime-button.md.css +6 -0
- package/dist/collection/components/fab/fab.css +24 -0
- package/dist/collection/components/fab-button/fab-button.ios.css +12 -0
- package/dist/collection/components/fab-button/fab-button.md.css +12 -0
- package/dist/collection/components/fab-list/fab-list.css +12 -0
- package/dist/collection/components/footer/footer.ios.css +12 -0
- package/dist/collection/components/footer/footer.md.css +12 -0
- package/dist/collection/components/grid/grid.css +12 -0
- package/dist/collection/components/header/header.ios.css +12 -0
- package/dist/collection/components/header/header.md.css +12 -0
- package/dist/collection/components/infinite-scroll-content/infinite-scroll-content.ios.css +12 -0
- package/dist/collection/components/infinite-scroll-content/infinite-scroll-content.md.css +12 -0
- package/dist/collection/components/input/input.ios.css +18 -0
- package/dist/collection/components/input/input.md.css +36 -0
- package/dist/collection/components/item/item.ios.css +12 -0
- package/dist/collection/components/item/item.md.css +24 -0
- package/dist/collection/components/item-divider/item-divider.ios.css +18 -0
- package/dist/collection/components/item-divider/item-divider.md.css +18 -0
- package/dist/collection/components/item-group/item-group.ios.css +12 -0
- package/dist/collection/components/item-group/item-group.md.css +12 -0
- package/dist/collection/components/item-option/item-option.ios.css +12 -0
- package/dist/collection/components/item-option/item-option.md.css +12 -0
- package/dist/collection/components/item-options/item-options.ios.css +18 -0
- package/dist/collection/components/item-options/item-options.md.css +18 -0
- package/dist/collection/components/item-sliding/item-sliding.css +6 -0
- package/dist/collection/components/label/label.ios.css +18 -0
- package/dist/collection/components/label/label.md.css +18 -0
- package/dist/collection/components/list/list.ios.css +18 -0
- package/dist/collection/components/list/list.md.css +18 -0
- package/dist/collection/components/list-header/list-header.ios.css +18 -0
- package/dist/collection/components/list-header/list-header.md.css +18 -0
- package/dist/collection/components/loading/loading.ios.css +12 -0
- package/dist/collection/components/loading/loading.md.css +12 -0
- package/dist/collection/components/menu/menu.ios.css +12 -0
- package/dist/collection/components/menu/menu.md.css +12 -0
- package/dist/collection/components/menu-button/menu-button.ios.css +12 -0
- package/dist/collection/components/menu-button/menu-button.md.css +12 -0
- package/dist/collection/components/modal/modal.ios.css +12 -0
- package/dist/collection/components/modal/modal.md.css +12 -0
- package/dist/collection/components/nav/nav.css +6 -0
- package/dist/collection/components/note/note.ios.css +12 -0
- package/dist/collection/components/note/note.md.css +12 -0
- package/dist/collection/components/picker/picker.ios.css +12 -0
- package/dist/collection/components/picker/picker.md.css +12 -0
- package/dist/collection/components/picker-column/picker-column.css +6 -0
- package/dist/collection/components/picker-column-option/picker-column-option.ios.css +6 -0
- package/dist/collection/components/picker-column-option/picker-column-option.md.css +6 -0
- package/dist/collection/components/picker-legacy/picker.ios.css +12 -0
- package/dist/collection/components/picker-legacy/picker.md.css +12 -0
- package/dist/collection/components/picker-legacy-column/picker-column.ios.css +12 -0
- package/dist/collection/components/picker-legacy-column/picker-column.md.css +12 -0
- package/dist/collection/components/popover/popover.ios.css +12 -0
- package/dist/collection/components/popover/popover.md.css +12 -0
- package/dist/collection/components/progress-bar/progress-bar.ios.css +6 -0
- package/dist/collection/components/progress-bar/progress-bar.md.css +6 -0
- package/dist/collection/components/radio/radio.ios.css +18 -0
- package/dist/collection/components/radio/radio.md.css +18 -0
- package/dist/collection/components/range/range.ios.css +12 -0
- package/dist/collection/components/range/range.md.css +12 -0
- package/dist/collection/components/refresher/refresher.ios.css +12 -0
- package/dist/collection/components/refresher/refresher.md.css +12 -0
- package/dist/collection/components/reorder/reorder.ios.css +6 -0
- package/dist/collection/components/reorder/reorder.md.css +6 -0
- package/dist/collection/components/reorder-group/reorder-group.css +6 -0
- package/dist/collection/components/ripple-effect/ripple-effect.css +6 -0
- package/dist/collection/components/router-link/router-link.css +6 -0
- package/dist/collection/components/router-outlet/router-outlet.css +6 -0
- package/dist/collection/components/row/row.css +12 -0
- package/dist/collection/components/searchbar/searchbar.ios.css +12 -0
- package/dist/collection/components/searchbar/searchbar.md.css +12 -0
- package/dist/collection/components/segment/segment.ios.css +18 -0
- package/dist/collection/components/segment/segment.md.css +18 -0
- package/dist/collection/components/segment-button/segment-button.ios.css +12 -0
- package/dist/collection/components/segment-button/segment-button.md.css +12 -0
- package/dist/collection/components/select/select.ios.css +18 -0
- package/dist/collection/components/select/select.md.css +30 -0
- package/dist/collection/components/select-popover/select-popover.ios.css +18 -0
- package/dist/collection/components/select-popover/select-popover.md.css +18 -0
- package/dist/collection/components/skeleton-text/skeleton-text.css +6 -0
- package/dist/collection/components/spinner/spinner.css +6 -0
- package/dist/collection/components/split-pane/split-pane.ios.css +18 -0
- package/dist/collection/components/split-pane/split-pane.md.css +18 -0
- package/dist/collection/components/tab-bar/tab-bar.ios.css +18 -0
- package/dist/collection/components/tab-bar/tab-bar.md.css +18 -0
- package/dist/collection/components/tab-button/tab-button.ios.css +12 -0
- package/dist/collection/components/tab-button/tab-button.md.css +12 -0
- package/dist/collection/components/tabs/tabs.css +6 -0
- package/dist/collection/components/text/text.css +6 -0
- package/dist/collection/components/textarea/textarea.ios.css +24 -0
- package/dist/collection/components/textarea/textarea.md.css +36 -0
- package/dist/collection/components/thumbnail/thumbnail.css +6 -0
- package/dist/collection/components/title/title.ios.css +6 -0
- package/dist/collection/components/title/title.md.css +6 -0
- package/dist/collection/components/toast/toast.ios.css +12 -0
- package/dist/collection/components/toast/toast.md.css +12 -0
- package/dist/collection/components/toggle/toggle.ios.css +18 -0
- package/dist/collection/components/toggle/toggle.md.css +18 -0
- package/dist/collection/components/toolbar/toolbar.ios.css +12 -0
- package/dist/collection/components/toolbar/toolbar.md.css +12 -0
- package/dist/docs.json +19 -7
- package/dist/esm/ion-button_2.entry.js +21 -7
- package/dist/esm-es5/ion-button_2.entry.js +1 -1
- package/dist/html.html-data.json +9 -0
- package/dist/ionic/ionic.esm.js +1 -1
- package/dist/ionic/p-1cc1ce24.system.entry.js +4 -0
- package/dist/ionic/p-9385f3c5.entry.js +4 -0
- package/dist/ionic/p-c8985963.system.js +1 -1
- package/dist/types/components/button/button.d.ts +6 -2
- package/dist/types/components.d.ts +4 -4
- package/hydrate/index.js +20 -6
- package/package.json +1 -1
- package/css/core.ionic.css +0 -13
- package/css/core.ionic.css.map +0 -1
- package/dist/collection/components/button/test/round/button.e2e.js +0 -52
- package/dist/ionic/p-41908d5c.entry.js +0 -4
- package/dist/ionic/p-e4cd4316.system.entry.js +0 -4
|
@@ -142,8 +142,8 @@ const isRTL = (hostEl) => {
|
|
|
142
142
|
return (document === null || document === void 0 ? void 0 : document.dir.toLowerCase()) === 'rtl';
|
|
143
143
|
};
|
|
144
144
|
|
|
145
|
-
const
|
|
146
|
-
const IonButtonIonicStyle0 =
|
|
145
|
+
const buttonIonicCss = ":host{--overflow:hidden;--ripple-color:currentColor;--border-width:initial;--border-color:initial;--border-style:initial;--color-activated:var(--color);--color-focused:var(--color);--color-hover:var(--color);--box-shadow:none;display:inline-block;width:auto;color:var(--color);font-family:var(--ion-font-family, inherit);text-align:center;text-decoration:none;white-space:normal;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;vertical-align:top;vertical-align:-webkit-baseline-middle;-webkit-font-kerning:none;font-kerning:none}:host(.button-disabled){cursor:default;opacity:0.5;pointer-events:none}:host(.button-solid){--background:var(--ion-color-primary, #0054e9);--color:var(--ion-color-primary-contrast, #fff)}:host(.button-outline){--border-color:var(--ion-color-primary, #0054e9);--background:transparent;--color:var(--ion-color-primary, #0054e9)}:host(.button-clear){--border-width:0;--background:transparent;--color:var(--ion-color-primary, #0054e9)}:host(.button-block){display:block}:host(.button-block) .button-native{margin-left:0;margin-right:0;width:100%;clear:both;contain:content}:host(.button-block) .button-native::after{clear:both}:host(.button-full){display:block}:host(.button-full) .button-native{margin-left:0;margin-right:0;width:100%;contain:content}:host(.button-full:not(.button-round)) .button-native{border-radius:0;border-right-width:0;border-left-width:0}.button-native{border-radius:var(--border-radius);-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:center;align-items:center;width:100%;height:100%;min-height:inherit;-webkit-transition:var(--transition);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);outline:none;background:var(--background);line-height:1;-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);contain:layout style;cursor:pointer;opacity:var(--opacity);overflow:var(--overflow);z-index:0;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-appearance:none;-moz-appearance:none;appearance:none}.button-native::-moz-focus-inner{border:0}.button-inner{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;z-index:1}::slotted([slot=start]),::slotted([slot=end]){-ms-flex-negative:0;flex-shrink:0}::slotted(ion-icon){font-size:1.35em;pointer-events:none}::slotted(ion-icon[slot=start]){-webkit-margin-start:-0.3em;margin-inline-start:-0.3em;-webkit-margin-end:0.3em;margin-inline-end:0.3em;margin-top:0;margin-bottom:0}::slotted(ion-icon[slot=end]){-webkit-margin-start:0.3em;margin-inline-start:0.3em;-webkit-margin-end:-0.2em;margin-inline-end:-0.2em;margin-top:0;margin-bottom:0}ion-ripple-effect{color:var(--ripple-color)}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:\"\";opacity:0}:host(.ion-focused){color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}@media (any-hover: hover){:host(:hover){color:var(--color-hover)}:host(:hover) .button-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity)}}:host(.ion-activated){color:var(--color-activated)}:host(.ion-activated) .button-native::after{background:var(--background-activated);opacity:var(--background-activated-opacity)}:host(.button-solid.ion-color) .button-native{background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(.button-outline.ion-color) .button-native{border-color:var(--ion-color-base);background:transparent;color:var(--ion-color-base)}:host(.button-clear.ion-color) .button-native{background:transparent;color:var(--ion-color-base)}:host(.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native{color:var(--ion-toolbar-color, var(--color))}:host(.button-outline.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native{border-color:var(--ion-toolbar-color, var(--color, var(--border-color)))}:host(.button-solid.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native{background:var(--ion-toolbar-color, var(--background));color:var(--ion-toolbar-background, var(--color))}:host(.button-outline.ion-activated.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native{background:var(--ion-toolbar-color, var(--color));color:var(--ion-toolbar-background, var(--background), var(--ion-color-primary-contrast, #fff))}:host{--border-radius:0.5rem;--padding-bottom:var(--padding-top);--padding-end:1rem;--padding-start:var(--padding-end);--padding-top:0.75rem;--focus-ring-color:#9ec4fd;--focus-ring-width:2px;position:relative;min-height:2.5rem;font-size:min(0.875rem, 42px)}:host::after{left:0;right:0;top:50%;position:absolute;height:100%;min-height:3rem;-webkit-transform:translateY(-50%);transform:translateY(-50%);content:\"\";cursor:pointer;z-index:1}:host ::slotted(ion-icon[slot=start]){-webkit-margin-end:0.5rem;margin-inline-end:0.5rem}:host ::slotted(ion-icon[slot=end]){-webkit-margin-start:0.5rem;margin-inline-start:0.5rem}:host(.button-xsmall) ::slotted(ion-icon[slot=start]),:host(.button-small) ::slotted(ion-icon[slot=start]){-webkit-margin-end:0.25rem;margin-inline-end:0.25rem}:host(.button-xsmall) ::slotted(ion-icon[slot=end]),:host(.button-small) ::slotted(ion-icon[slot=end]){-webkit-margin-start:0.25rem;margin-inline-start:0.25rem}:host(.button-xsmall){--border-radius:0.25rem;--padding-top:0.25rem;--padding-end:0.75rem;min-height:1.5rem;font-size:min(0.75rem, 36px)}:host(.button-small){--border-radius:0.25rem;--padding-top:0.5rem;--padding-end:1rem;min-height:2rem;font-size:min(0.75rem, 36px)}:host(.button-large){--padding-top:1rem;--padding-end:1.5rem;min-height:3rem;font-size:min(1rem, 48px)}:host(.button-xlarge){--padding-top:1rem;--padding-end:2rem;min-height:3.5rem;font-size:min(1.25rem, 60px)}::slotted(ion-icon[slot=start]),::slotted(ion-icon[slot=end]),::slotted(ion-icon[slot=icon-only]){font-size:1em}:host(.button-has-icon-only.button-xsmall){--padding-end:0.375rem}:host(.button-has-icon-only.button-small){--padding-end:0.625rem}:host(.button-has-icon-only){--padding-end:0.8125rem}:host(.button-has-icon-only.button-large){--padding-end:1rem}:host(.button-has-icon-only.button-xlarge){--padding-end:1.125rem}:host(.button-rectangular){--border-radius:0}:host(.button-round){--border-radius:62.4375rem}:host(.ion-focused) .button-native{outline:var(--focus-ring-width) solid var(--focus-ring-color);outline-offset:2px}:host(.button-solid){--background-activated:var(--ion-color-primary-shade, #004acd)}:host(.button-outline){--border-width:1px;--border-style:solid;--background-activated:#e3e3e3;--background-activated-opacity:1;--background-focused:transparent;--background-hover:transparent;--background-focused-opacity:0.1;--color-activated:var(--ion-color-primary, #0054e9)}:host(.button-outline.ion-focused){--border-color:transparent}:host(.button-clear){--background-activated:#e3e3e3;--background-activated-opacity:1;--background-focused:transparent;--background-hover:transparent}:host(.button-outline),:host(.button-clear){--background-hover:#121212;--background-hover-opacity:0.04}:host(.button-disabled){--color:#c9c9c9;--border-color:var(--color);opacity:1}:host(.button-solid.button-disabled){--background:#f5f5f5}";
|
|
146
|
+
const IonButtonIonicStyle0 = buttonIonicCss;
|
|
147
147
|
|
|
148
148
|
const buttonIosCss = ":host{--overflow:hidden;--ripple-color:currentColor;--border-width:initial;--border-color:initial;--border-style:initial;--color-activated:var(--color);--color-focused:var(--color);--color-hover:var(--color);--box-shadow:none;display:inline-block;width:auto;color:var(--color);font-family:var(--ion-font-family, inherit);text-align:center;text-decoration:none;white-space:normal;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;vertical-align:top;vertical-align:-webkit-baseline-middle;-webkit-font-kerning:none;font-kerning:none}:host(.button-disabled){cursor:default;opacity:0.5;pointer-events:none}:host(.button-solid){--background:var(--ion-color-primary, #0054e9);--color:var(--ion-color-primary-contrast, #fff)}:host(.button-outline){--border-color:var(--ion-color-primary, #0054e9);--background:transparent;--color:var(--ion-color-primary, #0054e9)}:host(.button-clear){--border-width:0;--background:transparent;--color:var(--ion-color-primary, #0054e9)}:host(.button-block){display:block}:host(.button-block) .button-native{margin-left:0;margin-right:0;width:100%;clear:both;contain:content}:host(.button-block) .button-native::after{clear:both}:host(.button-full){display:block}:host(.button-full) .button-native{margin-left:0;margin-right:0;width:100%;contain:content}:host(.button-full:not(.button-round)) .button-native{border-radius:0;border-right-width:0;border-left-width:0}.button-native{border-radius:var(--border-radius);-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:center;align-items:center;width:100%;height:100%;min-height:inherit;-webkit-transition:var(--transition);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);outline:none;background:var(--background);line-height:1;-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);contain:layout style;cursor:pointer;opacity:var(--opacity);overflow:var(--overflow);z-index:0;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-appearance:none;-moz-appearance:none;appearance:none}.button-native::-moz-focus-inner{border:0}.button-inner{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;z-index:1}::slotted([slot=start]),::slotted([slot=end]){-ms-flex-negative:0;flex-shrink:0}::slotted(ion-icon){font-size:1.35em;pointer-events:none}::slotted(ion-icon[slot=start]){-webkit-margin-start:-0.3em;margin-inline-start:-0.3em;-webkit-margin-end:0.3em;margin-inline-end:0.3em;margin-top:0;margin-bottom:0}::slotted(ion-icon[slot=end]){-webkit-margin-start:0.3em;margin-inline-start:0.3em;-webkit-margin-end:-0.2em;margin-inline-end:-0.2em;margin-top:0;margin-bottom:0}ion-ripple-effect{color:var(--ripple-color)}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:\"\";opacity:0}:host(.ion-focused){color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}@media (any-hover: hover){:host(:hover){color:var(--color-hover)}:host(:hover) .button-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity)}}:host(.ion-activated){color:var(--color-activated)}:host(.ion-activated) .button-native::after{background:var(--background-activated);opacity:var(--background-activated-opacity)}:host(.button-solid.ion-color) .button-native{background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(.button-outline.ion-color) .button-native{border-color:var(--ion-color-base);background:transparent;color:var(--ion-color-base)}:host(.button-clear.ion-color) .button-native{background:transparent;color:var(--ion-color-base)}:host(.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native{color:var(--ion-toolbar-color, var(--color))}:host(.button-outline.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native{border-color:var(--ion-toolbar-color, var(--color, var(--border-color)))}:host(.button-solid.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native{background:var(--ion-toolbar-color, var(--background));color:var(--ion-toolbar-background, var(--color))}:host(.button-outline.ion-activated.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native{background:var(--ion-toolbar-color, var(--color));color:var(--ion-toolbar-background, var(--background), var(--ion-color-primary-contrast, #fff))}:host{--border-radius:14px;--padding-top:13px;--padding-bottom:13px;--padding-start:1em;--padding-end:1em;--transition:background-color, opacity 100ms linear;-webkit-margin-start:2px;margin-inline-start:2px;-webkit-margin-end:2px;margin-inline-end:2px;margin-top:4px;margin-bottom:4px;min-height:3.1em;font-size:min(1rem, 48px);font-weight:500;letter-spacing:0}:host(.button-solid){--background-activated:var(--ion-color-primary-shade, #004acd);--background-focused:var(--ion-color-primary-shade, #004acd);--background-hover:var(--ion-color-primary-tint, #1a65eb);--background-activated-opacity:1;--background-focused-opacity:1;--background-hover-opacity:1}:host(.button-outline){--border-radius:14px;--border-width:1px;--border-style:solid;--background-activated:var(--ion-color-primary, #0054e9);--background-focused:var(--ion-color-primary, #0054e9);--background-hover:transparent;--background-focused-opacity:.1;--color-activated:var(--ion-color-primary-contrast, #fff)}:host(.button-clear){--background-activated:transparent;--background-activated-opacity:0;--background-focused:var(--ion-color-primary, #0054e9);--background-hover:transparent;--background-focused-opacity:.1;font-size:min(1.0625rem, 51px);font-weight:normal}:host(.in-buttons){font-size:clamp(17px, 1.0625rem, 21.08px);font-weight:400}:host(.button-large){--border-radius:16px;--padding-top:17px;--padding-start:1em;--padding-end:1em;--padding-bottom:17px;min-height:3.1em;font-size:min(1.25rem, 60px)}:host(.button-small){--border-radius:6px;--padding-top:4px;--padding-start:0.9em;--padding-end:0.9em;--padding-bottom:4px;min-height:2.1em;font-size:min(0.8125rem, 39px)}:host(.button-round){--border-radius:999px;--padding-top:0;--padding-start:26px;--padding-end:26px;--padding-bottom:0}:host(.button-strong){font-weight:600}:host(.button-has-icon-only){--padding-top:0;--padding-bottom:var(--padding-top);--padding-end:var(--padding-top);--padding-start:var(--padding-end);min-width:clamp(30px, 2.125em, 60px);min-height:clamp(30px, 2.125em, 60px)}::slotted(ion-icon[slot=icon-only]){font-size:1.125em}:host(.button-small.button-has-icon-only){min-width:clamp(23px, 2.16em, 54px);min-height:clamp(23px, 2.16em, 54px)}:host(.button-small) ::slotted(ion-icon[slot=icon-only]){font-size:1.4em}:host(.button-large.button-has-icon-only){min-width:clamp(46px, 2.5em, 78px);min-height:clamp(46px, 2.5em, 78px)}:host(.button-large) ::slotted(ion-icon[slot=icon-only]){font-size:1em}:host(.button-outline.ion-focused.ion-color) .button-native,:host(.button-clear.ion-focused.ion-color) .button-native{color:var(--ion-color-base)}:host(.button-outline.ion-focused.ion-color) .button-native::after,:host(.button-clear.ion-focused.ion-color) .button-native::after{background:var(--ion-color-base)}:host(.button-solid.ion-color.ion-focused) .button-native::after{background:var(--ion-color-shade)}@media (any-hover: hover){:host(.button-clear:not(.ion-activated):hover),:host(.button-outline:not(.ion-activated):hover){opacity:0.6}:host(.button-clear.ion-color:hover) .button-native,:host(.button-outline.ion-color:hover) .button-native{color:var(--ion-color-base)}:host(.button-clear.ion-color:hover) .button-native::after,:host(.button-outline.ion-color:hover) .button-native::after{background:transparent}:host(.button-solid.ion-color:hover) .button-native::after{background:var(--ion-color-tint)}:host(:hover.button-solid.in-toolbar:not(.ion-color):not(.in-toolbar-color):not(.ion-activated)) .button-native::after{background:#fff;opacity:0.1}}:host(.button-clear.ion-activated){opacity:0.4}:host(.button-outline.ion-activated.ion-color) .button-native{color:var(--ion-color-contrast)}:host(.button-outline.ion-activated.ion-color) .button-native::after{background:var(--ion-color-base)}:host(.button-solid.ion-color.ion-activated) .button-native::after{background:var(--ion-color-shade)}";
|
|
149
149
|
const IonButtonIosStyle0 = buttonIosCss;
|
|
@@ -259,6 +259,20 @@ const Button = class {
|
|
|
259
259
|
}
|
|
260
260
|
return 'bounded';
|
|
261
261
|
}
|
|
262
|
+
/**
|
|
263
|
+
* Disable the "xsmall" and "xlarge" sizes if the theme is "ios" or "md"
|
|
264
|
+
*/
|
|
265
|
+
getSize() {
|
|
266
|
+
const theme = ionicGlobal.getIonTheme(this);
|
|
267
|
+
const { size } = this;
|
|
268
|
+
if (size === undefined && this.inItem) {
|
|
269
|
+
return 'small';
|
|
270
|
+
}
|
|
271
|
+
if ((theme === 'ios' || theme === 'md') && (size === 'xsmall' || size === 'xlarge')) {
|
|
272
|
+
return undefined;
|
|
273
|
+
}
|
|
274
|
+
return size;
|
|
275
|
+
}
|
|
262
276
|
/**
|
|
263
277
|
* Finds the form element based on the provided `form` selector
|
|
264
278
|
* or element reference provided.
|
|
@@ -319,9 +333,9 @@ const Button = class {
|
|
|
319
333
|
}
|
|
320
334
|
}
|
|
321
335
|
render() {
|
|
322
|
-
const { buttonType, type, disabled, rel, target,
|
|
336
|
+
const { buttonType, type, disabled, rel, target, href, color, expand, hasIconOnly, shape, strong, inheritedAttributes, } = this;
|
|
323
337
|
const theme$1 = ionicGlobal.getIonTheme(this);
|
|
324
|
-
const finalSize =
|
|
338
|
+
const finalSize = this.getSize();
|
|
325
339
|
const TagType = href === undefined ? 'button' : 'a';
|
|
326
340
|
const attrs = TagType === 'button'
|
|
327
341
|
? { type }
|
|
@@ -349,7 +363,7 @@ const Button = class {
|
|
|
349
363
|
{
|
|
350
364
|
type !== 'button' && this.renderHiddenButton();
|
|
351
365
|
}
|
|
352
|
-
return (index.h(index.Host, { key: '
|
|
366
|
+
return (index.h(index.Host, { key: 'ad194a242d68360d9bbbd025a409af09d87b4d34', onClick: this.handleClick, "aria-disabled": disabled ? 'true' : null, class: theme.createColorClasses(color, {
|
|
353
367
|
[theme$1]: true,
|
|
354
368
|
[buttonType]: true,
|
|
355
369
|
[`${buttonType}-${expand}`]: expand !== undefined,
|
|
@@ -364,7 +378,7 @@ const Button = class {
|
|
|
364
378
|
'button-disabled': disabled,
|
|
365
379
|
'ion-activatable': true,
|
|
366
380
|
'ion-focusable': true,
|
|
367
|
-
}) }, index.h(TagType, Object.assign({ key: '
|
|
381
|
+
}) }, index.h(TagType, Object.assign({ key: '6ca717c26b637859f780c22f8b4a7e921b723e12' }, attrs, { class: "button-native", part: "native", disabled: disabled, onFocus: this.onFocus, onBlur: this.onBlur }, inheritedAttributes), index.h("span", { key: '60ff7c727df3fee342bed8839a493057149e2600', class: "button-inner" }, index.h("slot", { key: 'e048881659c50129e29668694ef11420400c9059', name: "icon-only", onSlotchange: this.slotChanged }), index.h("slot", { key: '3783397b79a5f4756fce1ba546c9b3e00e8afb69', name: "start" }), index.h("slot", { key: '1e3c2fd3969bf4c83e432e2a1a2058d699d9685a' }), index.h("slot", { key: 'badb9b5954d8d8a19a53ff4be3ff5d0e0b3354ae', name: "end" })), theme$1 === 'md' && index.h("ion-ripple-effect", { type: this.rippleType }))));
|
|
368
382
|
}
|
|
369
383
|
get el() { return index.getElement(this); }
|
|
370
384
|
static get watchers() { return {
|
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Convert a pixels given value into rem
|
|
3
|
+
*
|
|
4
|
+
* @param pixels - Value in pixels to be converted (i.e. px)
|
|
5
|
+
* @param context (optional) - Baseline value
|
|
6
|
+
*/
|
|
1
7
|
/**
|
|
2
8
|
* Convert a font size to a dynamic font size.
|
|
3
9
|
* Fonts that participate in Dynamic Type should use
|
|
@@ -133,6 +139,12 @@
|
|
|
133
139
|
transition: none !important;
|
|
134
140
|
}
|
|
135
141
|
}
|
|
142
|
+
/**
|
|
143
|
+
* Convert a pixels given value into rem
|
|
144
|
+
*
|
|
145
|
+
* @param pixels - Value in pixels to be converted (i.e. px)
|
|
146
|
+
* @param context (optional) - Baseline value
|
|
147
|
+
*/
|
|
136
148
|
/**
|
|
137
149
|
* Convert a font size to a dynamic font size.
|
|
138
150
|
* Fonts that participate in Dynamic Type should use
|
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Convert a pixels given value into rem
|
|
3
|
+
*
|
|
4
|
+
* @param pixels - Value in pixels to be converted (i.e. px)
|
|
5
|
+
* @param context (optional) - Baseline value
|
|
6
|
+
*/
|
|
1
7
|
/**
|
|
2
8
|
* Convert a font size to a dynamic font size.
|
|
3
9
|
* Fonts that participate in Dynamic Type should use
|
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Convert a pixels given value into rem
|
|
3
|
+
*
|
|
4
|
+
* @param pixels - Value in pixels to be converted (i.e. px)
|
|
5
|
+
* @param context (optional) - Baseline value
|
|
6
|
+
*/
|
|
1
7
|
/**
|
|
2
8
|
* Convert a font size to a dynamic font size.
|
|
3
9
|
* Fonts that participate in Dynamic Type should use
|
|
@@ -53,6 +59,12 @@
|
|
|
53
59
|
* }
|
|
54
60
|
* }
|
|
55
61
|
*/
|
|
62
|
+
/**
|
|
63
|
+
* Convert a pixels given value into rem
|
|
64
|
+
*
|
|
65
|
+
* @param pixels - Value in pixels to be converted (i.e. px)
|
|
66
|
+
* @param context (optional) - Baseline value
|
|
67
|
+
*/
|
|
56
68
|
/**
|
|
57
69
|
* Convert a font size to a dynamic font size.
|
|
58
70
|
* Fonts that participate in Dynamic Type should use
|
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Convert a pixels given value into rem
|
|
3
|
+
*
|
|
4
|
+
* @param pixels - Value in pixels to be converted (i.e. px)
|
|
5
|
+
* @param context (optional) - Baseline value
|
|
6
|
+
*/
|
|
1
7
|
/**
|
|
2
8
|
* Convert a font size to a dynamic font size.
|
|
3
9
|
* Fonts that participate in Dynamic Type should use
|
|
@@ -53,6 +59,12 @@
|
|
|
53
59
|
* }
|
|
54
60
|
* }
|
|
55
61
|
*/
|
|
62
|
+
/**
|
|
63
|
+
* Convert a pixels given value into rem
|
|
64
|
+
*
|
|
65
|
+
* @param pixels - Value in pixels to be converted (i.e. px)
|
|
66
|
+
* @param context (optional) - Baseline value
|
|
67
|
+
*/
|
|
56
68
|
/**
|
|
57
69
|
* Convert a font size to a dynamic font size.
|
|
58
70
|
* Fonts that participate in Dynamic Type should use
|
|
@@ -121,6 +133,12 @@
|
|
|
121
133
|
margin-bottom: 16px;
|
|
122
134
|
}
|
|
123
135
|
|
|
136
|
+
/**
|
|
137
|
+
* Convert a pixels given value into rem
|
|
138
|
+
*
|
|
139
|
+
* @param pixels - Value in pixels to be converted (i.e. px)
|
|
140
|
+
* @param context (optional) - Baseline value
|
|
141
|
+
*/
|
|
124
142
|
/**
|
|
125
143
|
* Convert a font size to a dynamic font size.
|
|
126
144
|
* Fonts that participate in Dynamic Type should use
|
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Convert a pixels given value into rem
|
|
3
|
+
*
|
|
4
|
+
* @param pixels - Value in pixels to be converted (i.e. px)
|
|
5
|
+
* @param context (optional) - Baseline value
|
|
6
|
+
*/
|
|
1
7
|
/**
|
|
2
8
|
* Convert a font size to a dynamic font size.
|
|
3
9
|
* Fonts that participate in Dynamic Type should use
|
|
@@ -246,6 +252,12 @@
|
|
|
246
252
|
opacity: var(--button-background-hover-opacity);
|
|
247
253
|
}
|
|
248
254
|
}
|
|
255
|
+
/**
|
|
256
|
+
* Convert a pixels given value into rem
|
|
257
|
+
*
|
|
258
|
+
* @param pixels - Value in pixels to be converted (i.e. px)
|
|
259
|
+
* @param context (optional) - Baseline value
|
|
260
|
+
*/
|
|
249
261
|
/**
|
|
250
262
|
* Convert a font size to a dynamic font size.
|
|
251
263
|
* Fonts that participate in Dynamic Type should use
|
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Convert a pixels given value into rem
|
|
3
|
+
*
|
|
4
|
+
* @param pixels - Value in pixels to be converted (i.e. px)
|
|
5
|
+
* @param context (optional) - Baseline value
|
|
6
|
+
*/
|
|
1
7
|
/**
|
|
2
8
|
* Convert a font size to a dynamic font size.
|
|
3
9
|
* Fonts that participate in Dynamic Type should use
|
|
@@ -246,6 +252,12 @@
|
|
|
246
252
|
opacity: var(--button-background-hover-opacity);
|
|
247
253
|
}
|
|
248
254
|
}
|
|
255
|
+
/**
|
|
256
|
+
* Convert a pixels given value into rem
|
|
257
|
+
*
|
|
258
|
+
* @param pixels - Value in pixels to be converted (i.e. px)
|
|
259
|
+
* @param context (optional) - Baseline value
|
|
260
|
+
*/
|
|
249
261
|
/**
|
|
250
262
|
* Convert a font size to a dynamic font size.
|
|
251
263
|
* Fonts that participate in Dynamic Type should use
|
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Convert a pixels given value into rem
|
|
3
|
+
*
|
|
4
|
+
* @param pixels - Value in pixels to be converted (i.e. px)
|
|
5
|
+
* @param context (optional) - Baseline value
|
|
6
|
+
*/
|
|
1
7
|
/**
|
|
2
8
|
* Convert a font size to a dynamic font size.
|
|
3
9
|
* Fonts that participate in Dynamic Type should use
|
|
@@ -288,6 +294,12 @@ textarea.alert-input {
|
|
|
288
294
|
resize: none;
|
|
289
295
|
}
|
|
290
296
|
|
|
297
|
+
/**
|
|
298
|
+
* Convert a pixels given value into rem
|
|
299
|
+
*
|
|
300
|
+
* @param pixels - Value in pixels to be converted (i.e. px)
|
|
301
|
+
* @param context (optional) - Baseline value
|
|
302
|
+
*/
|
|
291
303
|
/**
|
|
292
304
|
* Convert a font size to a dynamic font size.
|
|
293
305
|
* Fonts that participate in Dynamic Type should use
|
|
@@ -343,6 +355,12 @@ textarea.alert-input {
|
|
|
343
355
|
* }
|
|
344
356
|
* }
|
|
345
357
|
*/
|
|
358
|
+
/**
|
|
359
|
+
* Convert a pixels given value into rem
|
|
360
|
+
*
|
|
361
|
+
* @param pixels - Value in pixels to be converted (i.e. px)
|
|
362
|
+
* @param context (optional) - Baseline value
|
|
363
|
+
*/
|
|
346
364
|
/**
|
|
347
365
|
* Convert a font size to a dynamic font size.
|
|
348
366
|
* Fonts that participate in Dynamic Type should use
|
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Convert a pixels given value into rem
|
|
3
|
+
*
|
|
4
|
+
* @param pixels - Value in pixels to be converted (i.e. px)
|
|
5
|
+
* @param context (optional) - Baseline value
|
|
6
|
+
*/
|
|
1
7
|
/**
|
|
2
8
|
* Convert a font size to a dynamic font size.
|
|
3
9
|
* Fonts that participate in Dynamic Type should use
|
|
@@ -288,6 +294,12 @@ textarea.alert-input {
|
|
|
288
294
|
resize: none;
|
|
289
295
|
}
|
|
290
296
|
|
|
297
|
+
/**
|
|
298
|
+
* Convert a pixels given value into rem
|
|
299
|
+
*
|
|
300
|
+
* @param pixels - Value in pixels to be converted (i.e. px)
|
|
301
|
+
* @param context (optional) - Baseline value
|
|
302
|
+
*/
|
|
291
303
|
/**
|
|
292
304
|
* Convert a font size to a dynamic font size.
|
|
293
305
|
* Fonts that participate in Dynamic Type should use
|
|
@@ -343,6 +355,12 @@ textarea.alert-input {
|
|
|
343
355
|
* }
|
|
344
356
|
* }
|
|
345
357
|
*/
|
|
358
|
+
/**
|
|
359
|
+
* Convert a pixels given value into rem
|
|
360
|
+
*
|
|
361
|
+
* @param pixels - Value in pixels to be converted (i.e. px)
|
|
362
|
+
* @param context (optional) - Baseline value
|
|
363
|
+
*/
|
|
346
364
|
/**
|
|
347
365
|
* Convert a font size to a dynamic font size.
|
|
348
366
|
* Fonts that participate in Dynamic Type should use
|
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Convert a pixels given value into rem
|
|
3
|
+
*
|
|
4
|
+
* @param pixels - Value in pixels to be converted (i.e. px)
|
|
5
|
+
* @param context (optional) - Baseline value
|
|
6
|
+
*/
|
|
1
7
|
/**
|
|
2
8
|
* Convert a font size to a dynamic font size.
|
|
3
9
|
* Fonts that participate in Dynamic Type should use
|
|
@@ -70,6 +76,12 @@
|
|
|
70
76
|
overflow: hidden;
|
|
71
77
|
}
|
|
72
78
|
|
|
79
|
+
/**
|
|
80
|
+
* Convert a pixels given value into rem
|
|
81
|
+
*
|
|
82
|
+
* @param pixels - Value in pixels to be converted (i.e. px)
|
|
83
|
+
* @param context (optional) - Baseline value
|
|
84
|
+
*/
|
|
73
85
|
/**
|
|
74
86
|
* Convert a font size to a dynamic font size.
|
|
75
87
|
* Fonts that participate in Dynamic Type should use
|
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Convert a pixels given value into rem
|
|
3
|
+
*
|
|
4
|
+
* @param pixels - Value in pixels to be converted (i.e. px)
|
|
5
|
+
* @param context (optional) - Baseline value
|
|
6
|
+
*/
|
|
1
7
|
/**
|
|
2
8
|
* Convert a font size to a dynamic font size.
|
|
3
9
|
* Fonts that participate in Dynamic Type should use
|
|
@@ -70,6 +76,12 @@
|
|
|
70
76
|
overflow: hidden;
|
|
71
77
|
}
|
|
72
78
|
|
|
79
|
+
/**
|
|
80
|
+
* Convert a pixels given value into rem
|
|
81
|
+
*
|
|
82
|
+
* @param pixels - Value in pixels to be converted (i.e. px)
|
|
83
|
+
* @param context (optional) - Baseline value
|
|
84
|
+
*/
|
|
73
85
|
/**
|
|
74
86
|
* Convert a font size to a dynamic font size.
|
|
75
87
|
* Fonts that participate in Dynamic Type should use
|
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Convert a pixels given value into rem
|
|
3
|
+
*
|
|
4
|
+
* @param pixels - Value in pixels to be converted (i.e. px)
|
|
5
|
+
* @param context (optional) - Baseline value
|
|
6
|
+
*/
|
|
1
7
|
/**
|
|
2
8
|
* Convert a font size to a dynamic font size.
|
|
3
9
|
* Fonts that participate in Dynamic Type should use
|
|
@@ -270,6 +276,12 @@ ion-icon {
|
|
|
270
276
|
color: var(--ion-toolbar-color, var(--color));
|
|
271
277
|
}
|
|
272
278
|
|
|
279
|
+
/**
|
|
280
|
+
* Convert a pixels given value into rem
|
|
281
|
+
*
|
|
282
|
+
* @param pixels - Value in pixels to be converted (i.e. px)
|
|
283
|
+
* @param context (optional) - Baseline value
|
|
284
|
+
*/
|
|
273
285
|
/**
|
|
274
286
|
* Convert a font size to a dynamic font size.
|
|
275
287
|
* Fonts that participate in Dynamic Type should use
|
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Convert a pixels given value into rem
|
|
3
|
+
*
|
|
4
|
+
* @param pixels - Value in pixels to be converted (i.e. px)
|
|
5
|
+
* @param context (optional) - Baseline value
|
|
6
|
+
*/
|
|
1
7
|
/**
|
|
2
8
|
* Convert a font size to a dynamic font size.
|
|
3
9
|
* Fonts that participate in Dynamic Type should use
|
|
@@ -270,6 +276,12 @@ ion-icon {
|
|
|
270
276
|
color: var(--ion-toolbar-color, var(--color));
|
|
271
277
|
}
|
|
272
278
|
|
|
279
|
+
/**
|
|
280
|
+
* Convert a pixels given value into rem
|
|
281
|
+
*
|
|
282
|
+
* @param pixels - Value in pixels to be converted (i.e. px)
|
|
283
|
+
* @param context (optional) - Baseline value
|
|
284
|
+
*/
|
|
273
285
|
/**
|
|
274
286
|
* Convert a font size to a dynamic font size.
|
|
275
287
|
* Fonts that participate in Dynamic Type should use
|
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Convert a pixels given value into rem
|
|
3
|
+
*
|
|
4
|
+
* @param pixels - Value in pixels to be converted (i.e. px)
|
|
5
|
+
* @param context (optional) - Baseline value
|
|
6
|
+
*/
|
|
1
7
|
/**
|
|
2
8
|
* Convert a font size to a dynamic font size.
|
|
3
9
|
* Fonts that participate in Dynamic Type should use
|
|
@@ -76,6 +82,12 @@
|
|
|
76
82
|
cursor: auto;
|
|
77
83
|
}
|
|
78
84
|
|
|
85
|
+
/**
|
|
86
|
+
* Convert a pixels given value into rem
|
|
87
|
+
*
|
|
88
|
+
* @param pixels - Value in pixels to be converted (i.e. px)
|
|
89
|
+
* @param context (optional) - Baseline value
|
|
90
|
+
*/
|
|
79
91
|
/**
|
|
80
92
|
* Convert a font size to a dynamic font size.
|
|
81
93
|
* Fonts that participate in Dynamic Type should use
|
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Convert a pixels given value into rem
|
|
3
|
+
*
|
|
4
|
+
* @param pixels - Value in pixels to be converted (i.e. px)
|
|
5
|
+
* @param context (optional) - Baseline value
|
|
6
|
+
*/
|
|
1
7
|
/**
|
|
2
8
|
* Convert a font size to a dynamic font size.
|
|
3
9
|
* Fonts that participate in Dynamic Type should use
|
|
@@ -76,6 +82,12 @@
|
|
|
76
82
|
cursor: auto;
|
|
77
83
|
}
|
|
78
84
|
|
|
85
|
+
/**
|
|
86
|
+
* Convert a pixels given value into rem
|
|
87
|
+
*
|
|
88
|
+
* @param pixels - Value in pixels to be converted (i.e. px)
|
|
89
|
+
* @param context (optional) - Baseline value
|
|
90
|
+
*/
|
|
79
91
|
/**
|
|
80
92
|
* Convert a font size to a dynamic font size.
|
|
81
93
|
* Fonts that participate in Dynamic Type should use
|
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Convert a pixels given value into rem
|
|
3
|
+
*
|
|
4
|
+
* @param pixels - Value in pixels to be converted (i.e. px)
|
|
5
|
+
* @param context (optional) - Baseline value
|
|
6
|
+
*/
|
|
1
7
|
/**
|
|
2
8
|
* Convert a font size to a dynamic font size.
|
|
3
9
|
* Fonts that participate in Dynamic Type should use
|
|
@@ -100,6 +106,12 @@
|
|
|
100
106
|
display: none;
|
|
101
107
|
}
|
|
102
108
|
|
|
109
|
+
/**
|
|
110
|
+
* Convert a pixels given value into rem
|
|
111
|
+
*
|
|
112
|
+
* @param pixels - Value in pixels to be converted (i.e. px)
|
|
113
|
+
* @param context (optional) - Baseline value
|
|
114
|
+
*/
|
|
103
115
|
/**
|
|
104
116
|
* Convert a font size to a dynamic font size.
|
|
105
117
|
* Fonts that participate in Dynamic Type should use
|
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Convert a pixels given value into rem
|
|
3
|
+
*
|
|
4
|
+
* @param pixels - Value in pixels to be converted (i.e. px)
|
|
5
|
+
* @param context (optional) - Baseline value
|
|
6
|
+
*/
|
|
1
7
|
/**
|
|
2
8
|
* Convert a font size to a dynamic font size.
|
|
3
9
|
* Fonts that participate in Dynamic Type should use
|
|
@@ -100,6 +106,12 @@
|
|
|
100
106
|
display: none;
|
|
101
107
|
}
|
|
102
108
|
|
|
109
|
+
/**
|
|
110
|
+
* Convert a pixels given value into rem
|
|
111
|
+
*
|
|
112
|
+
* @param pixels - Value in pixels to be converted (i.e. px)
|
|
113
|
+
* @param context (optional) - Baseline value
|
|
114
|
+
*/
|
|
103
115
|
/**
|
|
104
116
|
* Convert a font size to a dynamic font size.
|
|
105
117
|
* Fonts that participate in Dynamic Type should use
|
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Convert a pixels given value into rem
|
|
3
|
+
*
|
|
4
|
+
* @param pixels - Value in pixels to be converted (i.e. px)
|
|
5
|
+
* @param context (optional) - Baseline value
|
|
6
|
+
*/
|
|
1
7
|
/**
|
|
2
8
|
* Convert a font size to a dynamic font size.
|
|
3
9
|
* Fonts that participate in Dynamic Type should use
|
|
@@ -183,6 +189,12 @@
|
|
|
183
189
|
font-size: 1.375rem;
|
|
184
190
|
}
|
|
185
191
|
|
|
192
|
+
/**
|
|
193
|
+
* Convert a pixels given value into rem
|
|
194
|
+
*
|
|
195
|
+
* @param pixels - Value in pixels to be converted (i.e. px)
|
|
196
|
+
* @param context (optional) - Baseline value
|
|
197
|
+
*/
|
|
186
198
|
/**
|
|
187
199
|
* Convert a font size to a dynamic font size.
|
|
188
200
|
* Fonts that participate in Dynamic Type should use
|
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Convert a pixels given value into rem
|
|
3
|
+
*
|
|
4
|
+
* @param pixels - Value in pixels to be converted (i.e. px)
|
|
5
|
+
* @param context (optional) - Baseline value
|
|
6
|
+
*/
|
|
1
7
|
/**
|
|
2
8
|
* Convert a font size to a dynamic font size.
|
|
3
9
|
* Fonts that participate in Dynamic Type should use
|
|
@@ -183,6 +189,12 @@
|
|
|
183
189
|
font-size: 1.375rem;
|
|
184
190
|
}
|
|
185
191
|
|
|
192
|
+
/**
|
|
193
|
+
* Convert a pixels given value into rem
|
|
194
|
+
*
|
|
195
|
+
* @param pixels - Value in pixels to be converted (i.e. px)
|
|
196
|
+
* @param context (optional) - Baseline value
|
|
197
|
+
*/
|
|
186
198
|
/**
|
|
187
199
|
* Convert a font size to a dynamic font size.
|
|
188
200
|
* Fonts that participate in Dynamic Type should use
|
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Convert a pixels given value into rem
|
|
3
|
+
*
|
|
4
|
+
* @param pixels - Value in pixels to be converted (i.e. px)
|
|
5
|
+
* @param context (optional) - Baseline value
|
|
6
|
+
*/
|
|
1
7
|
/**
|
|
2
8
|
* Convert a font size to a dynamic font size.
|
|
3
9
|
* Fonts that participate in Dynamic Type should use
|
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Convert a pixels given value into rem
|
|
3
|
+
*
|
|
4
|
+
* @param pixels - Value in pixels to be converted (i.e. px)
|
|
5
|
+
* @param context (optional) - Baseline value
|
|
6
|
+
*/
|
|
1
7
|
/**
|
|
2
8
|
* Convert a font size to a dynamic font size.
|
|
3
9
|
* Fonts that participate in Dynamic Type should use
|