@ionic/core 8.8.4-dev.11776178970.14763043 → 8.8.4-dev.11776184632.103b8351

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 (148) hide show
  1. package/components/ion-action-sheet.js +1 -1
  2. package/components/ion-alert.js +1 -1
  3. package/components/ion-infinite-scroll-content.js +1 -1
  4. package/components/ion-loading.js +1 -1
  5. package/components/ion-range.js +1 -1
  6. package/components/ion-refresher-content.js +1 -1
  7. package/components/ion-select-modal.js +1 -1
  8. package/components/ion-select-option.js +1 -1
  9. package/components/ion-select-popover.js +1 -1
  10. package/components/ion-select.js +1 -1
  11. package/components/ion-skeleton-text.js +1 -1
  12. package/components/ion-spinner.js +1 -1
  13. package/components/ion-split-pane.js +1 -1
  14. package/components/ion-tab-bar.js +1 -1
  15. package/components/ion-tab-button.js +1 -1
  16. package/components/ion-tab.js +1 -1
  17. package/components/ion-tabs.js +1 -1
  18. package/components/ion-text.js +1 -1
  19. package/components/ion-textarea.js +1 -1
  20. package/components/ion-thumbnail.js +1 -1
  21. package/components/ion-title.js +1 -1
  22. package/components/ion-toast.js +1 -1
  23. package/components/ion-toggle.js +1 -1
  24. package/components/ion-toolbar.js +1 -1
  25. package/components/{p-C-_EGKki.js → p-B0orUoaV.js} +1 -1
  26. package/components/p-BDwab5EM.js +4 -0
  27. package/components/p-BjV_nNDy.js +4 -0
  28. package/components/p-C8Dne7pI.js +4 -0
  29. package/components/p-C9d4LXRu.js +4 -0
  30. package/components/p-CvoKp7OI.js +4 -0
  31. package/components/{p-CoarhFWH.js → p-ZRp3l6Dk.js} +1 -1
  32. package/components/{p-C2cZvGcF.js → p-qhBzWoOF.js} +1 -1
  33. package/dist/cjs/ion-action-sheet.cjs.entry.js +16 -8
  34. package/dist/cjs/ion-alert.cjs.entry.js +30 -8
  35. package/dist/cjs/ion-app_8.cjs.entry.js +4 -4
  36. package/dist/cjs/ion-avatar_3.cjs.entry.js +2 -2
  37. package/dist/cjs/ion-item_8.cjs.entry.js +2 -2
  38. package/dist/cjs/ion-range.cjs.entry.js +1 -1
  39. package/dist/cjs/ion-select-modal.cjs.entry.js +45 -26
  40. package/dist/cjs/ion-select_3.cjs.entry.js +176 -47
  41. package/dist/cjs/ion-spinner.cjs.entry.js +1 -1
  42. package/dist/cjs/ion-split-pane.cjs.entry.js +2 -2
  43. package/dist/cjs/ion-tab-bar_2.cjs.entry.js +4 -4
  44. package/dist/cjs/ion-tab_2.cjs.entry.js +3 -3
  45. package/dist/cjs/ion-text.cjs.entry.js +2 -2
  46. package/dist/cjs/ion-textarea.cjs.entry.js +3 -3
  47. package/dist/cjs/ion-toast.cjs.entry.js +2 -2
  48. package/dist/cjs/ion-toggle.cjs.entry.js +3 -3
  49. package/dist/cjs/ionic.cjs.js +1 -1
  50. package/dist/cjs/loader.cjs.js +1 -1
  51. package/dist/cjs/select-option-render-qQf4xz8P.js +67 -0
  52. package/dist/collection/components/action-sheet/action-sheet.ionic.css +834 -0
  53. package/dist/collection/components/action-sheet/action-sheet.ios.css +84 -0
  54. package/dist/collection/components/action-sheet/action-sheet.js +14 -6
  55. package/dist/collection/components/action-sheet/action-sheet.md.css +84 -0
  56. package/dist/collection/components/alert/alert.ionic.css +1165 -0
  57. package/dist/collection/components/alert/alert.ios.css +83 -0
  58. package/dist/collection/components/alert/alert.js +28 -6
  59. package/dist/collection/components/alert/alert.md.css +83 -0
  60. package/dist/collection/components/range/range.ionic.css +6 -9
  61. package/dist/collection/components/select/select.ionic.css +31 -0
  62. package/dist/collection/components/select/select.ios.css +31 -0
  63. package/dist/collection/components/select/select.js +125 -14
  64. package/dist/collection/components/select/select.md.css +31 -0
  65. package/dist/collection/components/select-modal/select-modal.ionic.css +24 -0
  66. package/dist/collection/components/select-modal/select-modal.ios.css +77 -0
  67. package/dist/collection/components/select-modal/select-modal.js +42 -23
  68. package/dist/collection/components/select-modal/select-modal.md.css +80 -1
  69. package/dist/collection/components/select-option/select-option.js +21 -2
  70. package/dist/collection/components/select-popover/select-popover.ionic.css +489 -0
  71. package/dist/collection/components/select-popover/select-popover.ios.css +77 -0
  72. package/dist/collection/components/select-popover/select-popover.js +45 -26
  73. package/dist/collection/components/select-popover/select-popover.md.css +77 -0
  74. package/dist/collection/components/skeleton-text/skeleton-text.js +2 -2
  75. package/dist/collection/components/spinner/spinner.js +1 -1
  76. package/dist/collection/components/split-pane/split-pane.js +2 -2
  77. package/dist/collection/components/tab/tab.js +2 -2
  78. package/dist/collection/components/tab-bar/tab-bar.js +2 -2
  79. package/dist/collection/components/tab-button/tab-button.js +2 -2
  80. package/dist/collection/components/tabs/tabs.js +1 -1
  81. package/dist/collection/components/text/text.js +2 -2
  82. package/dist/collection/components/textarea/textarea.js +3 -3
  83. package/dist/collection/components/thumbnail/thumbnail.js +2 -2
  84. package/dist/collection/components/title/title.js +2 -2
  85. package/dist/collection/components/toast/toast.js +2 -2
  86. package/dist/collection/components/toggle/toggle.js +3 -3
  87. package/dist/collection/components/toolbar/toolbar.js +2 -2
  88. package/dist/collection/utils/select-option-render.js +62 -0
  89. package/dist/docs.json +139 -5
  90. package/dist/esm/ion-action-sheet.entry.js +16 -8
  91. package/dist/esm/ion-alert.entry.js +30 -8
  92. package/dist/esm/ion-app_8.entry.js +4 -4
  93. package/dist/esm/ion-avatar_3.entry.js +2 -2
  94. package/dist/esm/ion-item_8.entry.js +2 -2
  95. package/dist/esm/ion-range.entry.js +1 -1
  96. package/dist/esm/ion-select-modal.entry.js +45 -26
  97. package/dist/esm/ion-select_3.entry.js +177 -48
  98. package/dist/esm/ion-spinner.entry.js +1 -1
  99. package/dist/esm/ion-split-pane.entry.js +2 -2
  100. package/dist/esm/ion-tab-bar_2.entry.js +4 -4
  101. package/dist/esm/ion-tab_2.entry.js +3 -3
  102. package/dist/esm/ion-text.entry.js +2 -2
  103. package/dist/esm/ion-textarea.entry.js +3 -3
  104. package/dist/esm/ion-toast.entry.js +2 -2
  105. package/dist/esm/ion-toggle.entry.js +3 -3
  106. package/dist/esm/ionic.js +1 -1
  107. package/dist/esm/loader.js +1 -1
  108. package/dist/esm/select-option-render-BQUT9Aqa.js +65 -0
  109. package/dist/html.html-data.json +4 -0
  110. package/dist/ionic/ionic.esm.js +1 -1
  111. package/dist/ionic/{p-3bf01c2c.entry.js → p-26595044.entry.js} +1 -1
  112. package/dist/ionic/p-27edb91a.entry.js +4 -0
  113. package/dist/ionic/{p-e9d6ce67.entry.js → p-37f895a8.entry.js} +1 -1
  114. package/dist/ionic/p-38897781.entry.js +4 -0
  115. package/dist/ionic/p-63e09af5.entry.js +4 -0
  116. package/dist/ionic/{p-2bf931ae.entry.js → p-69033ad6.entry.js} +1 -1
  117. package/dist/ionic/p-6e0ce081.entry.js +4 -0
  118. package/dist/ionic/{p-cdfbe4cc.entry.js → p-71f28573.entry.js} +1 -1
  119. package/dist/ionic/{p-9b9b1450.entry.js → p-96ec9a10.entry.js} +1 -1
  120. package/dist/ionic/{p-49799a34.entry.js → p-9e71982e.entry.js} +1 -1
  121. package/dist/ionic/p-Dr3N4o63.js +4 -0
  122. package/dist/ionic/{p-bc5713f7.entry.js → p-a1c8ba8c.entry.js} +1 -1
  123. package/dist/ionic/p-a64ae62e.entry.js +4 -0
  124. package/dist/ionic/{p-91e242e4.entry.js → p-a94016be.entry.js} +1 -1
  125. package/dist/ionic/{p-6c8c37c2.entry.js → p-aa8c1e64.entry.js} +1 -1
  126. package/dist/ionic/{p-2193e875.entry.js → p-d2fe6791.entry.js} +1 -1
  127. package/dist/ionic/p-d45b911b.entry.js +4 -0
  128. package/dist/types/components/action-sheet/action-sheet-interface.d.ts +4 -1
  129. package/dist/types/components/alert/alert-interface.d.ts +4 -1
  130. package/dist/types/components/select/select.d.ts +7 -0
  131. package/dist/types/components/select-modal/select-modal-interface.d.ts +4 -1
  132. package/dist/types/components/select-option/select-option.d.ts +4 -0
  133. package/dist/types/components/select-popover/select-popover-interface.d.ts +4 -1
  134. package/dist/types/components.d.ts +9 -0
  135. package/dist/types/utils/select-option-render.d.ts +26 -0
  136. package/hydrate/index.js +349 -116
  137. package/hydrate/index.mjs +349 -116
  138. package/package.json +1 -1
  139. package/components/p-BGHaEUgp.js +0 -4
  140. package/components/p-BR9Yxas9.js +0 -4
  141. package/components/p-Ch9P0ikq.js +0 -4
  142. package/components/p-iwGbwewM.js +0 -4
  143. package/dist/ionic/p-227744b8.entry.js +0 -4
  144. package/dist/ionic/p-4b0f5ffd.entry.js +0 -4
  145. package/dist/ionic/p-64341e32.entry.js +0 -4
  146. package/dist/ionic/p-6be2b2d3.entry.js +0 -4
  147. package/dist/ionic/p-9acd3fd3.entry.js +0 -4
  148. package/dist/ionic/p-a283aa4d.entry.js +0 -4
@@ -1,3 +1,58 @@
1
+ /**
2
+ * A heuristic that applies CSS to tablet
3
+ * viewports.
4
+ *
5
+ * Usage:
6
+ * @include tablet-viewport() {
7
+ * :host {
8
+ * background-color: green;
9
+ * }
10
+ * }
11
+ */
12
+ /**
13
+ * A heuristic that applies CSS to mobile
14
+ * viewports (i.e. phones, not tablets).
15
+ *
16
+ * Usage:
17
+ * @include mobile-viewport() {
18
+ * :host {
19
+ * background-color: blue;
20
+ * }
21
+ * }
22
+ */
23
+ /**
24
+ * Convert a font size to a dynamic font size.
25
+ * Fonts that participate in Dynamic Type should use
26
+ * dynamic font sizes.
27
+ * @param size - The initial font size including the unit (i.e. px or pt)
28
+ * @param unit (optional) - The unit to convert to. Use this if you want to
29
+ * convert to a unit other than $baselineUnit.
30
+ */
31
+ /**
32
+ * Convert a font size to a dynamic font size but impose
33
+ * a maximum font size.
34
+ * @param size - The initial font size including the unit (i.e. px or pt)
35
+ * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).
36
+ * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
37
+ * convert to a unit other than $baselineUnit.
38
+ */
39
+ /**
40
+ * Convert a font size to a dynamic font size but impose
41
+ * a minimum font size.
42
+ * @param size - The initial font size including the unit (i.e. px or pt)
43
+ * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).
44
+ * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
45
+ * convert to a unit other than $baselineUnit.
46
+ */
47
+ /**
48
+ * Convert a font size to a dynamic font size but impose
49
+ * maximum and minimum font sizes.
50
+ * @param size - The initial font size including the unit (i.e. px or pt)
51
+ * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).
52
+ * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).
53
+ * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
54
+ * convert to a unit other than $baselineUnit.
55
+ */
1
56
  /**
2
57
  * Convert a pixels given value into rem
3
58
  *
@@ -222,6 +277,7 @@
222
277
  .action-sheet-selected {
223
278
  color: var(--button-color-selected);
224
279
  }
280
+
225
281
  .action-sheet-selected::after {
226
282
  background: var(--button-background-selected);
227
283
  opacity: var(--button-background-selected-opacity);
@@ -230,6 +286,7 @@
230
286
  .action-sheet-button.ion-activated {
231
287
  color: var(--button-color-activated);
232
288
  }
289
+
233
290
  .action-sheet-button.ion-activated::after {
234
291
  background: var(--button-background-activated);
235
292
  opacity: var(--button-background-activated-opacity);
@@ -238,6 +295,7 @@
238
295
  .action-sheet-button.ion-focused {
239
296
  color: var(--button-color-focused);
240
297
  }
298
+
241
299
  .action-sheet-button.ion-focused::after {
242
300
  background: var(--button-background-focused);
243
301
  opacity: var(--button-background-focused-opacity);
@@ -252,6 +310,32 @@
252
310
  opacity: var(--button-background-hover-opacity);
253
311
  }
254
312
  }
313
+ .action-sheet-button-label {
314
+ display: flex;
315
+ align-items: center;
316
+ }
317
+
318
+ .select-option-content {
319
+ flex: 1;
320
+ }
321
+
322
+ .select-option-description {
323
+ display: block;
324
+ }
325
+
326
+ .action-sheet-button-label {
327
+ gap: 12px;
328
+ }
329
+
330
+ .select-option-description {
331
+ padding-left: 0;
332
+ padding-right: 0;
333
+ padding-top: 5px;
334
+ padding-bottom: 0;
335
+ color: var(--ion-color-step-700, var(--ion-text-color-step-300, #4d4d4d));
336
+ font-size: 0.75rem;
337
+ }
338
+
255
339
  /**
256
340
  * Convert a pixels given value into rem
257
341
  *
@@ -6,6 +6,7 @@ import { createButtonActiveGesture } from "../../utils/gesture/button-active";
6
6
  import { raf } from "../../utils/helpers";
7
7
  import { createLockController } from "../../utils/lock-controller";
8
8
  import { BACKDROP, createDelegateController, createTriggerController, dismiss, eventMethod, isCancel, prepareOverlay, present, safeCall, setOverlayId, } from "../../utils/overlays";
9
+ import { renderOptionLabel } from "../../utils/select-option-render";
9
10
  import { getClassMap } from "../../utils/theme";
10
11
  import { getIonMode, getIonTheme } from "../../global/ionic-global";
11
12
  import { iosEnterAnimation } from "./animations/ios.enter";
@@ -374,12 +375,19 @@ export class ActionSheet {
374
375
  if (isRadio) {
375
376
  htmlAttrs['aria-checked'] = isActiveRadio ? 'true' : 'false';
376
377
  }
378
+ const optionLabelOptions = {
379
+ id: buttonId,
380
+ label: b.text,
381
+ startContent: b.startContent,
382
+ endContent: b.endContent,
383
+ description: b.description,
384
+ };
377
385
  return (h("button", Object.assign({}, htmlAttrs, { role: isRadio ? 'radio' : undefined, type: "button", id: buttonId, class: Object.assign(Object.assign({}, buttonClass(b)), { 'action-sheet-selected': isActiveRadio }), onClick: () => {
378
386
  if (isRadio) {
379
387
  this.selectRadioButton(b);
380
388
  }
381
389
  this.buttonClick(b);
382
- }, disabled: b.disabled, tabIndex: tabIndex }), h("span", { class: "action-sheet-button-inner" }, b.icon && h("ion-icon", { icon: b.icon, "aria-hidden": "true", lazy: false, class: "action-sheet-icon" }), b.text), theme === 'md' && h("ion-ripple-effect", null)));
390
+ }, disabled: b.disabled, tabIndex: tabIndex }), h("span", { class: "action-sheet-button-inner" }, b.icon && h("ion-icon", { icon: b.icon, "aria-hidden": "true", lazy: false, class: "action-sheet-icon" }), renderOptionLabel(optionLabelOptions, 'action-sheet-button-label')), theme === 'md' && h("ion-ripple-effect", null)));
383
391
  });
384
392
  }
385
393
  render() {
@@ -389,12 +397,12 @@ export class ActionSheet {
389
397
  const cancelButton = allButtons.find((b) => b.role === 'cancel');
390
398
  const buttons = allButtons.filter((b) => b.role !== 'cancel');
391
399
  const headerID = `action-sheet-${overlayIndex}-header`;
392
- return (h(Host, Object.assign({ key: '3ef5b086f7a4ac4f361de8dcff5255ed1d2bcbdf', role: "dialog", "aria-modal": "true", "aria-labelledby": header !== undefined ? headerID : null, tabindex: "-1" }, htmlAttributes, { style: {
400
+ return (h(Host, Object.assign({ key: '32d662676784385bf348708be6560929ca1599f8', role: "dialog", "aria-modal": "true", "aria-labelledby": header !== undefined ? headerID : null, tabindex: "-1" }, htmlAttributes, { style: {
393
401
  zIndex: `${20000 + this.overlayIndex}`,
394
- }, class: Object.assign(Object.assign({ [theme]: true }, getClassMap(this.cssClass)), { 'overlay-hidden': true, 'action-sheet-translucent': this.translucent }), onIonActionSheetWillDismiss: this.dispatchCancelHandler, onIonBackdropTap: this.onBackdropTap }), h("ion-backdrop", { key: 'd98bb285f8a09a4207f35f930da77548bcdf529a', tappable: this.backdropDismiss }), h("div", { key: '6cd6aba45144244a51d76bfe0b606c3fb9a882ea', tabindex: "0", "aria-hidden": "true" }), h("div", { key: 'e6a007bcde062bd2ea7c094394aa0024ee595c9e', class: "action-sheet-wrapper ion-overlay-wrapper", ref: (el) => (this.wrapperEl = el) }, h("div", { key: '31948475a84d28488fd53e7fde16cb1deff14a2f', class: "action-sheet-container" }, h("div", { key: '4f2bbc00d36792cf6e24c402f5396546653f1e00', class: "action-sheet-group", ref: (el) => (this.groupEl = el), role: hasRadioButtons ? 'radiogroup' : undefined }, header !== undefined && (h("div", { key: '68bcafe38b49be0fe21e3e4820ee3f05f6abffad', id: headerID, class: {
402
+ }, class: Object.assign(Object.assign({ [theme]: true }, getClassMap(this.cssClass)), { 'overlay-hidden': true, 'action-sheet-translucent': this.translucent }), onIonActionSheetWillDismiss: this.dispatchCancelHandler, onIonBackdropTap: this.onBackdropTap }), h("ion-backdrop", { key: '8b84d7292ffcf68138fff9cd0ec6455c91c9cd25', tappable: this.backdropDismiss }), h("div", { key: '2a733b2adef42786bec7ce9c29a29d0935952430', tabindex: "0", "aria-hidden": "true" }), h("div", { key: '1846b99afa26e30b6344e5a860300254e61f3692', class: "action-sheet-wrapper ion-overlay-wrapper", ref: (el) => (this.wrapperEl = el) }, h("div", { key: 'c6a5a986304767935a6de7e01b5ca3feddc2c0d0', class: "action-sheet-container" }, h("div", { key: '467fdb1c8468ca25e733606e0b427ad3888885e3', class: "action-sheet-group", ref: (el) => (this.groupEl = el), role: hasRadioButtons ? 'radiogroup' : undefined }, header !== undefined && (h("div", { key: 'e06690113e9c4da1089bd3495c819f72d7505574', id: headerID, class: {
395
403
  'action-sheet-title': true,
396
404
  'action-sheet-has-sub-title': this.subHeader !== undefined,
397
- } }, header, this.subHeader && h("div", { key: 'd253c010d0bba4a38836b6319b2d8073e1a526b9', class: "action-sheet-sub-title" }, this.subHeader))), this.renderActionSheetButtons(buttons)), cancelButton && (h("div", { key: 'b30f50a64b425a992e26673bf072332d7c3b3409', class: "action-sheet-group action-sheet-group-cancel" }, h("button", Object.assign({ key: 'e35087c05c7c8f04ca9aef322917f8172c0c4f8f' }, cancelButton.htmlAttributes, { type: "button", class: buttonClass(cancelButton), onClick: () => this.buttonClick(cancelButton) }), h("span", { key: '1f7a50fac729e19d0ee12d54bc67e071ff7b3f08', class: "action-sheet-button-inner" }, cancelButton.icon && (h("ion-icon", { key: '452641544297efc017529b674235e269285c4100', icon: cancelButton.icon, "aria-hidden": "true", lazy: false, class: "action-sheet-icon" })), cancelButton.text), theme === 'md' && h("ion-ripple-effect", { key: '15795e15d27297e6e87f7fe39386bb8581993dfa' })))))), h("div", { key: '301fef1a45d1c523221ec2312276dd3a62f3134d', tabindex: "0", "aria-hidden": "true" })));
405
+ } }, header, this.subHeader && h("div", { key: 'b607fe7d470703d7b4f123413cf27487a5bb1bfe', class: "action-sheet-sub-title" }, this.subHeader))), this.renderActionSheetButtons(buttons)), cancelButton && (h("div", { key: '35c91756085c12ab97239366350b800110381142', class: "action-sheet-group action-sheet-group-cancel" }, h("button", Object.assign({ key: '803428a3d1a389b2dc4930cc46884dc2e2b137b0' }, cancelButton.htmlAttributes, { type: "button", class: buttonClass(cancelButton), onClick: () => this.buttonClick(cancelButton) }), h("span", { key: '38e86d26fa8fcd32d0ab13640b2701e458854542', class: "action-sheet-button-inner" }, cancelButton.icon && (h("ion-icon", { key: 'bec1f332fcfa4b906d09dabae6c01bba1ef88460', icon: cancelButton.icon, "aria-hidden": "true", lazy: false, class: "action-sheet-icon" })), cancelButton.text), theme === 'md' && h("ion-ripple-effect", { key: 'b7cfbaa5a5e5aab0f2317e7bb019802ac4ed3481' })))))), h("div", { key: 'c2527fc1383b7d9388ffbf6ab56461daf986a52d', tabindex: "0", "aria-hidden": "true" })));
398
406
  }
399
407
  static get is() { return "ion-action-sheet"; }
400
408
  static get encapsulation() { return "scoped"; }
@@ -402,14 +410,14 @@ export class ActionSheet {
402
410
  return {
403
411
  "ios": ["action-sheet.ios.scss"],
404
412
  "md": ["action-sheet.md.scss"],
405
- "ionic": ["action-sheet.md.scss"]
413
+ "ionic": ["action-sheet.ionic.scss"]
406
414
  };
407
415
  }
408
416
  static get styleUrls() {
409
417
  return {
410
418
  "ios": ["action-sheet.ios.css"],
411
419
  "md": ["action-sheet.md.css"],
412
- "ionic": ["action-sheet.md.css"]
420
+ "ionic": ["action-sheet.ionic.css"]
413
421
  };
414
422
  }
415
423
  static get properties() {
@@ -1,3 +1,58 @@
1
+ /**
2
+ * A heuristic that applies CSS to tablet
3
+ * viewports.
4
+ *
5
+ * Usage:
6
+ * @include tablet-viewport() {
7
+ * :host {
8
+ * background-color: green;
9
+ * }
10
+ * }
11
+ */
12
+ /**
13
+ * A heuristic that applies CSS to mobile
14
+ * viewports (i.e. phones, not tablets).
15
+ *
16
+ * Usage:
17
+ * @include mobile-viewport() {
18
+ * :host {
19
+ * background-color: blue;
20
+ * }
21
+ * }
22
+ */
23
+ /**
24
+ * Convert a font size to a dynamic font size.
25
+ * Fonts that participate in Dynamic Type should use
26
+ * dynamic font sizes.
27
+ * @param size - The initial font size including the unit (i.e. px or pt)
28
+ * @param unit (optional) - The unit to convert to. Use this if you want to
29
+ * convert to a unit other than $baselineUnit.
30
+ */
31
+ /**
32
+ * Convert a font size to a dynamic font size but impose
33
+ * a maximum font size.
34
+ * @param size - The initial font size including the unit (i.e. px or pt)
35
+ * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).
36
+ * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
37
+ * convert to a unit other than $baselineUnit.
38
+ */
39
+ /**
40
+ * Convert a font size to a dynamic font size but impose
41
+ * a minimum font size.
42
+ * @param size - The initial font size including the unit (i.e. px or pt)
43
+ * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).
44
+ * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
45
+ * convert to a unit other than $baselineUnit.
46
+ */
47
+ /**
48
+ * Convert a font size to a dynamic font size but impose
49
+ * maximum and minimum font sizes.
50
+ * @param size - The initial font size including the unit (i.e. px or pt)
51
+ * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).
52
+ * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).
53
+ * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
54
+ * convert to a unit other than $baselineUnit.
55
+ */
1
56
  /**
2
57
  * Convert a pixels given value into rem
3
58
  *
@@ -222,6 +277,7 @@
222
277
  .action-sheet-selected {
223
278
  color: var(--button-color-selected);
224
279
  }
280
+
225
281
  .action-sheet-selected::after {
226
282
  background: var(--button-background-selected);
227
283
  opacity: var(--button-background-selected-opacity);
@@ -230,6 +286,7 @@
230
286
  .action-sheet-button.ion-activated {
231
287
  color: var(--button-color-activated);
232
288
  }
289
+
233
290
  .action-sheet-button.ion-activated::after {
234
291
  background: var(--button-background-activated);
235
292
  opacity: var(--button-background-activated-opacity);
@@ -238,6 +295,7 @@
238
295
  .action-sheet-button.ion-focused {
239
296
  color: var(--button-color-focused);
240
297
  }
298
+
241
299
  .action-sheet-button.ion-focused::after {
242
300
  background: var(--button-background-focused);
243
301
  opacity: var(--button-background-focused-opacity);
@@ -252,6 +310,32 @@
252
310
  opacity: var(--button-background-hover-opacity);
253
311
  }
254
312
  }
313
+ .action-sheet-button-label {
314
+ display: flex;
315
+ align-items: center;
316
+ }
317
+
318
+ .select-option-content {
319
+ flex: 1;
320
+ }
321
+
322
+ .select-option-description {
323
+ display: block;
324
+ }
325
+
326
+ .action-sheet-button-label {
327
+ gap: 12px;
328
+ }
329
+
330
+ .select-option-description {
331
+ padding-left: 0;
332
+ padding-right: 0;
333
+ padding-top: 5px;
334
+ padding-bottom: 0;
335
+ color: var(--ion-color-step-700, var(--ion-text-color-step-300, #4d4d4d));
336
+ font-size: 0.75rem;
337
+ }
338
+
255
339
  /**
256
340
  * Convert a pixels given value into rem
257
341
  *