@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
  *
@@ -84,6 +139,28 @@ ion-label {
84
139
  overflow-y: auto;
85
140
  }
86
141
 
142
+ .select-option-label {
143
+ display: flex;
144
+ align-items: center;
145
+ }
146
+
147
+ .select-option-description {
148
+ display: block;
149
+ }
150
+
151
+ .select-option-label {
152
+ gap: 12px;
153
+ }
154
+
155
+ .select-option-description {
156
+ padding-left: 0;
157
+ padding-right: 0;
158
+ padding-top: 5px;
159
+ padding-bottom: 0;
160
+ color: var(--ion-color-step-700, var(--ion-text-color-step-300, #4d4d4d));
161
+ font-size: 0.75rem;
162
+ }
163
+
87
164
  /**
88
165
  * Convert a pixels given value into rem
89
166
  *
@@ -32,11 +32,11 @@ export class SkeletonText {
32
32
  const animated = this.animated && config.getBoolean('animated', true);
33
33
  const inMedia = hostContext('ion-avatar', this.el) || hostContext('ion-thumbnail', this.el);
34
34
  const theme = getIonTheme(this);
35
- return (h(Host, { key: '5014563646b6c5213750d503babce3013b66ec96', class: {
35
+ return (h(Host, { key: '7ecf3ae7e75872c65ba0620eecba500c7e75efd9', class: {
36
36
  [theme]: true,
37
37
  'skeleton-text-animated': animated,
38
38
  'in-media': inMedia,
39
- } }, h("span", { key: '4b816883b1c71bb1db66d8b2b084559f7cb489bd' }, "\u00A0")));
39
+ } }, h("span", { key: '5d0cd4fec873b8874cbc61eeb14cc3332948714c' }, "\u00A0")));
40
40
  }
41
41
  static get is() { return "ion-skeleton-text"; }
42
42
  static get encapsulation() { return "shadow"; }
@@ -56,7 +56,7 @@ export class Spinner {
56
56
  svgs.push(buildLine(spinner, duration, i, spinner.lines));
57
57
  }
58
58
  }
59
- return (h(Host, { key: '0b3ce4b99c2c828d05b507c4f073811ebbe17d0f', class: createColorClasses(self.color, {
59
+ return (h(Host, { key: 'ffa2aff2489b312e7fe5ed12367a8e7a5a0c9e84', class: createColorClasses(self.color, {
60
60
  [theme]: true,
61
61
  [`spinner-${spinnerName}`]: true,
62
62
  'spinner-paused': self.paused || config.getBoolean('_testing'),
@@ -130,12 +130,12 @@ export class SplitPane {
130
130
  }
131
131
  render() {
132
132
  const theme = getIonTheme(this);
133
- return (h(Host, { key: '9d0c67f1f81b09bb9a6f14a66053e5cc7431a286', class: {
133
+ return (h(Host, { key: 'ba071f752105c205268870e6a6c56ff9bd526b58', class: {
134
134
  [theme]: true,
135
135
  // Used internally for styling
136
136
  [`split-pane-${theme}`]: true,
137
137
  'split-pane-visible': this.visible,
138
- } }, h("slot", { key: 'ab7b3050d3c5484bd00949cf57efa4396b4d5bc3' })));
138
+ } }, h("slot", { key: '32717b94ab9f2e35d8e8e078916e17b2f537a36c' })));
139
139
  }
140
140
  static get is() { return "ion-split-pane"; }
141
141
  static get encapsulation() { return "shadow"; }
@@ -51,10 +51,10 @@ export class Tab {
51
51
  }
52
52
  render() {
53
53
  const { tab, active, component } = this;
54
- return (h(Host, { key: 'b249545a5adfcef4616afe79aa0f215bab464d0a', role: "tabpanel", "aria-hidden": !active ? 'true' : null, "aria-labelledby": `tab-button-${tab}`, class: {
54
+ return (h(Host, { key: 'd0f187723395ce3a1b8bca0532ef5debbc937112', role: "tabpanel", "aria-hidden": !active ? 'true' : null, "aria-labelledby": `tab-button-${tab}`, class: {
55
55
  'ion-page': component === undefined,
56
56
  'tab-hidden': !active,
57
- } }, h("slot", { key: '19e2a406d96d20d8d4af8c3ff900e975d06021f6' })));
57
+ } }, h("slot", { key: '101dbf0b24d10663caac383cc55e00e7d8b69075' })));
58
58
  }
59
59
  static get is() { return "ion-tab"; }
60
60
  static get encapsulation() { return "shadow"; }
@@ -111,13 +111,13 @@ export class TabBar {
111
111
  const theme = getIonTheme(this);
112
112
  const shape = this.getShape();
113
113
  const shouldHide = keyboardVisible && this.el.getAttribute('slot') !== 'top';
114
- return (h(Host, { key: 'e6466b90b72ed2e62c8c20fee2bc0b262ca4ccae', role: "tablist", "aria-hidden": shouldHide ? 'true' : null, class: createColorClasses(color, {
114
+ return (h(Host, { key: 'c611d612cadde5ccd785bca07044dd6d4b6ab7d8', role: "tablist", "aria-hidden": shouldHide ? 'true' : null, class: createColorClasses(color, {
115
115
  [theme]: true,
116
116
  'tab-bar-translucent': translucent,
117
117
  'tab-bar-hidden': shouldHide,
118
118
  [`tab-bar-${expand}`]: true,
119
119
  [`tab-bar-${shape}`]: shape !== undefined,
120
- }) }, h("slot", { key: '6801f9523822178692d9091b0132f1b1dd41892d' })));
120
+ }) }, h("slot", { key: 'e2a59593a95658fe2b4960900922525e180ff0b3' })));
121
121
  }
122
122
  static get is() { return "ion-tab-bar"; }
123
123
  static get encapsulation() { return "shadow"; }
@@ -93,7 +93,7 @@ export class TabButton {
93
93
  rel,
94
94
  target,
95
95
  };
96
- return (h(Host, { key: '5a32785eaf0570cdc3444d52ce8bba8174c3e0b9', onClick: this.onClick, onKeyup: this.onKeyUp, id: tab !== undefined ? `tab-button-${tab}` : null, class: {
96
+ return (h(Host, { key: 'bcb528b6ff33f94949450e5dfd68e4d960cf5423', onClick: this.onClick, onKeyup: this.onKeyUp, id: tab !== undefined ? `tab-button-${tab}` : null, class: {
97
97
  [theme]: true,
98
98
  'tab-selected': selected,
99
99
  'tab-disabled': disabled,
@@ -106,7 +106,7 @@ export class TabButton {
106
106
  'ion-selectable': true,
107
107
  [`tab-button-shape-${shape}`]: shape !== undefined,
108
108
  'ion-focusable': true,
109
- } }, h("a", Object.assign({ key: '1441f409b4a60823a57f27b90f6840b557b7d65a' }, attrs, { class: "button-native", part: "native", role: "tab", "aria-selected": selected ? 'true' : null, "aria-disabled": disabled ? 'true' : null, tabindex: disabled ? '-1' : undefined }, inheritedAttributes), h("span", { key: '1566ca0af66b6e51068aca221a89133d2af061ed', class: "button-inner" }, h("slot", { key: '757878091cfe3768107eb0a53b8d1c895ce43399' })), theme === 'md' && h("ion-ripple-effect", { key: '28dde3e7127bdc9d5e1477b47458a5a4ab71328e', type: "unbounded" }))));
109
+ } }, h("a", Object.assign({ key: '25b6a211e06c352c77e01d66f4158fc3a08431c1' }, attrs, { class: "button-native", part: "native", role: "tab", "aria-selected": selected ? 'true' : null, "aria-disabled": disabled ? 'true' : null, tabindex: disabled ? '-1' : undefined }, inheritedAttributes), h("span", { key: 'eb7a8ec7ff898fd69adc41e9d9bda04c72c8751c', class: "button-inner" }, h("slot", { key: 'b5e0aaebcc81dd3d306f9bf079033e956117700e' })), theme === 'md' && h("ion-ripple-effect", { key: '5f236205851b6512f2a4cd187950ca7b88e6622f', type: "unbounded" }))));
110
110
  }
111
111
  static get is() { return "ion-tab-button"; }
112
112
  static get encapsulation() { return "shadow"; }
@@ -165,7 +165,7 @@ export class Tabs {
165
165
  return Array.from(this.el.querySelectorAll('ion-tab'));
166
166
  }
167
167
  render() {
168
- return (h(Host, { key: '9c05f69a72ab24897f1febab0928783d08224734', onIonTabButtonClick: this.onTabClicked }, h("slot", { key: '56407c9562bfd095e0259e430879151b824287fd', name: "top" }), h("div", { key: '6a86ceff372b8a60342040d9361ad31bf05e80ec', class: "tabs-inner" }, h("slot", { key: 'a554d3e835236a87686a0a53bd16d3124e77c0c5' })), h("slot", { key: 'd241d4cfba26a7ce3a3f93703dae18b8857bd9ee', name: "bottom" })));
168
+ return (h(Host, { key: '349bb9ccaaa04426ea24f5dad1386a7876d9abdf', onIonTabButtonClick: this.onTabClicked }, h("slot", { key: '2ee0972213087203ebe442be897a95877d7c45f4', name: "top" }), h("div", { key: '15d7938fd4220c276d450eb277ae01fff6a82446', class: "tabs-inner" }, h("slot", { key: 'fb9005ecedc09ff3b4e90837806ace918c121dff' })), h("slot", { key: '0471aa1559469c9416d53ff4a1526b9cc2efde4b', name: "bottom" })));
169
169
  }
170
170
  static get is() { return "ion-tabs"; }
171
171
  static get encapsulation() { return "shadow"; }
@@ -11,9 +11,9 @@ import { getIonTheme } from "../../global/ionic-global";
11
11
  export class Text {
12
12
  render() {
13
13
  const theme = getIonTheme(this);
14
- return (h(Host, { key: '7a3f31d6e219207a1ff98ac441357caa512012e5', class: createColorClasses(this.color, {
14
+ return (h(Host, { key: '5b28c2e9965f6d9f5b25ba6c77f29e4c1de2da3c', class: createColorClasses(this.color, {
15
15
  [theme]: true,
16
- }) }, h("slot", { key: '392d48d6a5e0e5d1b44e762ec96fb8b53b3ebd49' })));
16
+ }) }, h("slot", { key: 'cbe285130bb096c5f3f4a7345a71db49d8bdef82' })));
17
17
  }
18
18
  static get is() { return "ion-text"; }
19
19
  static get encapsulation() { return "shadow"; }
@@ -565,7 +565,7 @@ export class Textarea {
565
565
  * TODO(FW-5592): Remove hasStartEndSlots condition
566
566
  */
567
567
  const labelShouldFloat = labelPlacement === 'stacked' || (labelPlacement === 'floating' && (hasValue || hasFocus || hasStartEndSlots));
568
- return (h(Host, { key: 'b31341357553adac08f518e48d83127415f36500', class: createColorClasses(this.color, {
568
+ return (h(Host, { key: '83736da2d61c935a71121245858009adef0b9d80', class: createColorClasses(this.color, {
569
569
  [theme]: true,
570
570
  'has-value': hasValue,
571
571
  'has-focus': hasFocus,
@@ -577,7 +577,7 @@ export class Textarea {
577
577
  'in-item': inItem,
578
578
  'textarea-disabled': disabled,
579
579
  'textarea-readonly': readonly,
580
- }) }, h("label", { key: '406cb6739da3382da1f723c42f4ea5aee86e09d4', class: "textarea-wrapper", htmlFor: inputId, onClick: this.onLabelClick, part: "wrapper" }, this.renderLabelContainer(), h("div", { key: '69056191d5f1036bcb88a31d44bc61e3a98f9ebc', class: "textarea-wrapper-inner" },
580
+ }) }, h("label", { key: '808ab4bcee4e76cc3e156fd50246a0b55010afae', class: "textarea-wrapper", htmlFor: inputId, onClick: this.onLabelClick, part: "wrapper" }, this.renderLabelContainer(), h("div", { key: 'f18d3890414a2807df4ad853e5788b5ab6d43117', class: "textarea-wrapper-inner" },
581
581
  /**
582
582
  * For the ionic theme, we render the outline container here
583
583
  * instead of higher up, so it can be positioned relative to
@@ -587,7 +587,7 @@ export class Textarea {
587
587
  * <label> element, ensuring that clicking the label text
588
588
  * focuses the textarea.
589
589
  */
590
- theme === 'ionic' && fill === 'outline' && h("div", { key: 'eff37b99e2f47f1973cc61611647c28ae7271a4d', class: "textarea-outline" }), h("div", { key: '9c70d10b3d2cce601f670cd86bfc19fff10233da', class: "start-slot-wrapper" }, h("slot", { key: 'b0c92cc7941a0810faabfb1acf177c019e200a5d', name: "start" })), h("div", { key: 'a6f9a2c06a009c322d29aa3a6e2b5a79f3532c5b', class: "native-wrapper", ref: (el) => (this.textareaWrapper = el), part: "container" }, h("textarea", Object.assign({ key: 'eb6bf7370fa3047ed475680111d3e232f0c0644c', class: "native-textarea", part: "native", ref: (el) => (this.nativeInput = el), id: inputId, disabled: disabled, autoCapitalize: this.autocapitalize, autoFocus: this.autofocus, enterKeyHint: this.enterkeyhint, inputMode: this.inputmode, minLength: this.minlength, maxLength: this.maxlength, name: this.name, placeholder: this.placeholder || '', readOnly: this.readonly, required: this.required, spellcheck: this.spellcheck, cols: this.cols, rows: this.rows, wrap: this.wrap, onInput: this.onInput, onChange: this.onChange, onBlur: this.onBlur, onFocus: this.onFocus, onKeyDown: this.onKeyDown, "aria-describedby": this.getHintTextID(), "aria-invalid": this.isInvalid ? 'true' : undefined }, this.inheritedAttributes), value)), h("div", { key: 'e869ef964514267c0d419d474c16303c01d26cec', class: "end-slot-wrapper" }, h("slot", { key: '8e9905fe7caaf4be904f9cfbc3d9d7f9c48deb50', name: "end" }))), shouldRenderHighlight && h("div", { key: '4287784c6b896b13a4205f5f959aebbbcdd49db3', class: "textarea-highlight" })), this.renderBottomContent()));
590
+ theme === 'ionic' && fill === 'outline' && h("div", { key: '9f6e88c47eb3535c2aec69e340fdcbe85ab62252', class: "textarea-outline" }), h("div", { key: 'd475f7f4aee2ec5e03f4926de20f31269a8fa822', class: "start-slot-wrapper" }, h("slot", { key: '3a73320f79fba2a1ea0570e10897d047320bf0a4', name: "start" })), h("div", { key: '4a6d0e4ca328435d537b814c052ba083e9470d6d', class: "native-wrapper", ref: (el) => (this.textareaWrapper = el), part: "container" }, h("textarea", Object.assign({ key: 'afb9bad3b1cb2e904cad008abdc5a7145a2c2e0b', class: "native-textarea", part: "native", ref: (el) => (this.nativeInput = el), id: inputId, disabled: disabled, autoCapitalize: this.autocapitalize, autoFocus: this.autofocus, enterKeyHint: this.enterkeyhint, inputMode: this.inputmode, minLength: this.minlength, maxLength: this.maxlength, name: this.name, placeholder: this.placeholder || '', readOnly: this.readonly, required: this.required, spellcheck: this.spellcheck, cols: this.cols, rows: this.rows, wrap: this.wrap, onInput: this.onInput, onChange: this.onChange, onBlur: this.onBlur, onFocus: this.onFocus, onKeyDown: this.onKeyDown, "aria-describedby": this.getHintTextID(), "aria-invalid": this.isInvalid ? 'true' : undefined }, this.inheritedAttributes), value)), h("div", { key: '5de4fa3ef8c3b06b78f30fe5d7569df1012345a7', class: "end-slot-wrapper" }, h("slot", { key: 'fec86a4fdd3a3bafc34e63e51ee52be45f2d9203', name: "end" }))), shouldRenderHighlight && h("div", { key: 'd6414e625a41de93eb44670c2b26300c4c1c0470', class: "textarea-highlight" })), this.renderBottomContent()));
591
591
  }
592
592
  static get is() { return "ion-textarea"; }
593
593
  static get encapsulation() { return "shadow"; }
@@ -10,9 +10,9 @@ import { getIonTheme } from "../../global/ionic-global";
10
10
  export class Thumbnail {
11
11
  render() {
12
12
  const theme = getIonTheme(this);
13
- return (h(Host, { key: '6053cf163155d4268dad4fc81ffc6bbc70d75659', class: {
13
+ return (h(Host, { key: '4e648ac7ee9586cb95ee5bba2cce9f36eb831763', class: {
14
14
  [theme]: true,
15
- } }, h("slot", { key: 'b7afb5835bce7c7ed9e5cf44758bbe2d802e1271' })));
15
+ } }, h("slot", { key: '2f249fca7ef22eb02a7a7a59a77dc3414aaca2ae' })));
16
16
  }
17
17
  static get is() { return "ion-thumbnail"; }
18
18
  static get encapsulation() { return "shadow"; }
@@ -27,11 +27,11 @@ export class ToolbarTitle {
27
27
  render() {
28
28
  const theme = getIonTheme(this);
29
29
  const size = this.getSize();
30
- return (h(Host, { key: '8db3e5f9dbd8b1762a9919eaeef29c98649dfb25', class: createColorClasses(this.color, {
30
+ return (h(Host, { key: '1878dd41dc0bae351513c0fe0a2513b19860e2ca', class: createColorClasses(this.color, {
31
31
  [theme]: true,
32
32
  [`title-${size}`]: true,
33
33
  'title-rtl': document.dir === 'rtl',
34
- }) }, h("div", { key: 'a31ebae2c494a51d2145eec69d0b1bc635108a01', class: "toolbar-title" }, h("slot", { key: 'f5975b44b3e3afbf98dcbdb53fc78447b49407b3' }))));
34
+ }) }, h("div", { key: '6a901d75e397beb1392efe9369a0c1006267fc3b', class: "toolbar-title" }, h("slot", { key: 'd024f2dd88be52409be89df1e05aecfd31f851ee' }))));
35
35
  }
36
36
  static get is() { return "ion-title"; }
37
37
  static get encapsulation() { return "shadow"; }
@@ -439,9 +439,9 @@ export class Toast {
439
439
  if (layout === 'stacked' && startButtons.length > 0 && endButtons.length > 0) {
440
440
  printIonWarning('[ion-toast] - This toast is using start and end buttons with the stacked toast layout. We recommend following the best practice of using either start or end buttons with the stacked toast layout.', el);
441
441
  }
442
- return (h(Host, Object.assign({ key: '3507eaa18a5559a9052d34db180e176952dc466f', tabindex: "-1" }, this.htmlAttributes, { style: {
442
+ return (h(Host, Object.assign({ key: '8f2a7964ecbc74d57a7743475f51abba45ec5302', tabindex: "-1" }, this.htmlAttributes, { style: {
443
443
  zIndex: `${60000 + this.overlayIndex}`,
444
- }, class: createColorClasses(this.color, Object.assign(Object.assign({ [mode]: true, [theme]: true }, getClassMap(this.cssClass)), { 'overlay-hidden': true, 'toast-translucent': this.translucent, [`toast-shape-${shape}`]: shape !== undefined, [`toast-hue-${hue}`]: hue !== undefined })), onIonToastWillDismiss: this.dispatchCancelHandler }), h("div", { key: '195eb90ccd82a13254e843b80be0f380325accb4', class: wrapperClass, part: "wrapper" }, h("div", { key: 'd6072aa4a4848d72e68e04a7842d3f769f844ffc', class: "toast-container", part: "container" }, this.renderButtons(startButtons, 'start'), this.icon !== undefined && (h("ion-icon", { key: '02a1d72aaf401d27671906c8b84abd823def6da8', class: "toast-icon", part: "icon", icon: this.icon, lazy: false, "aria-hidden": "true" })), h("div", { key: '1f133c27927ad840f58ea2e9112719ef880bf9a5', class: "toast-content", part: "content", role: "status", "aria-atomic": "true", "aria-live": "polite" }, !revealContentToScreenReader && header !== undefined && this.renderHeader('oldHeader', 'true'), !revealContentToScreenReader && message !== undefined && this.renderToastMessage('oldMessage', 'true'), revealContentToScreenReader && header !== undefined && this.renderHeader('header'), revealContentToScreenReader && message !== undefined && this.renderToastMessage('header')), this.renderButtons(endButtons, 'end')))));
444
+ }, class: createColorClasses(this.color, Object.assign(Object.assign({ [mode]: true, [theme]: true }, getClassMap(this.cssClass)), { 'overlay-hidden': true, 'toast-translucent': this.translucent, [`toast-shape-${shape}`]: shape !== undefined, [`toast-hue-${hue}`]: hue !== undefined })), onIonToastWillDismiss: this.dispatchCancelHandler }), h("div", { key: 'bb637ccbcda0c68c34d0a9efc8bd5c0ee9da49f9', class: wrapperClass, part: "wrapper" }, h("div", { key: '3779659eb5d855dd360503b336090c7e0b569975', class: "toast-container", part: "container" }, this.renderButtons(startButtons, 'start'), this.icon !== undefined && (h("ion-icon", { key: '768a222c9b188978afeda83119d71bde8fb6e2b3', class: "toast-icon", part: "icon", icon: this.icon, lazy: false, "aria-hidden": "true" })), h("div", { key: '4a5fc7d5f374f5a7de1a916351143d5a31d939cf', class: "toast-content", part: "content", role: "status", "aria-atomic": "true", "aria-live": "polite" }, !revealContentToScreenReader && header !== undefined && this.renderHeader('oldHeader', 'true'), !revealContentToScreenReader && message !== undefined && this.renderToastMessage('oldMessage', 'true'), revealContentToScreenReader && header !== undefined && this.renderHeader('header'), revealContentToScreenReader && message !== undefined && this.renderToastMessage('header')), this.renderButtons(endButtons, 'end')))));
445
445
  }
446
446
  static get is() { return "ion-toast"; }
447
447
  static get encapsulation() { return "shadow"; }
@@ -338,7 +338,7 @@ export class Toggle {
338
338
  const rtl = isRTL(el) ? 'rtl' : 'ltr';
339
339
  const isIonicTheme = theme === 'ionic';
340
340
  renderHiddenInput(true, el, name, checked ? value : '', disabled);
341
- return (h(Host, { key: 'b12951146a79d3839e6263e91e747398a0fa901d', role: "switch", "aria-checked": `${checked}`, "aria-describedby": this.hintTextId, "aria-invalid": this.isInvalid ? 'true' : undefined, onClick: this.onClick, "aria-labelledby": hasLabel ? inputLabelId : null, "aria-label": inheritedAttributes['aria-label'] || null, "aria-disabled": disabled ? 'true' : null, "aria-required": required ? 'true' : undefined, tabindex: disabled ? undefined : 0, onKeyDown: this.onKeyDown, onFocus: this.onFocus, onBlur: this.onBlur, class: createColorClasses(color, {
341
+ return (h(Host, { key: 'c6cb748b63423fee5ec8a20c971da76a789565be', role: "switch", "aria-checked": `${checked}`, "aria-describedby": this.hintTextId, "aria-invalid": this.isInvalid ? 'true' : undefined, onClick: this.onClick, "aria-labelledby": hasLabel ? inputLabelId : null, "aria-label": inheritedAttributes['aria-label'] || null, "aria-disabled": disabled ? 'true' : null, "aria-required": required ? 'true' : undefined, tabindex: disabled ? undefined : 0, onKeyDown: this.onKeyDown, onFocus: this.onFocus, onBlur: this.onBlur, class: createColorClasses(color, {
342
342
  [theme]: true,
343
343
  'in-item': hostContext('ion-item', el),
344
344
  'toggle-activated': activated,
@@ -350,10 +350,10 @@ export class Toggle {
350
350
  [`toggle-${rtl}`]: true,
351
351
  'ion-activatable': isIonicTheme,
352
352
  'ion-focusable': isIonicTheme,
353
- }) }, h("label", { key: 'cf1d27243bf9bdd5bafaf6d86b76beb311b5e01c', class: "toggle-wrapper", htmlFor: inputId }, h("input", Object.assign({ key: 'b3eb0f146836f5994c15bf1fd67a79f72b9414f7', type: "checkbox", role: "switch", "aria-checked": `${checked}`, checked: checked, disabled: disabled, id: inputId, required: required }, inheritedAttributes)), h("div", { key: '56ddcfd6452f30fd6b38d0fd85be3ec966aa120b', class: {
353
+ }) }, h("label", { key: '74cfa7dff2e55a9a7a921c1eb2b2d32429c8468c', class: "toggle-wrapper", htmlFor: inputId }, h("input", Object.assign({ key: 'c08526492a357cee5485895a72292c7530ed5503', type: "checkbox", role: "switch", "aria-checked": `${checked}`, checked: checked, disabled: disabled, id: inputId, required: required }, inheritedAttributes)), h("div", { key: 'bd59cd8dab463e12125da45e43f9b6251240f158', class: {
354
354
  'label-text-wrapper': true,
355
355
  'label-text-wrapper-hidden': !hasLabel,
356
- }, part: "label", id: inputLabelId, onClick: this.onDivLabelClick }, h("slot", { key: '706e5b667ee242fb1afb3e4afa613f9798fbe25b' }), this.renderHintText()), h("div", { key: '255ccd7d60f7d78b4eba8d380b303a72093e9d16', class: "native-wrapper" }, this.renderToggleControl()))));
356
+ }, part: "label", id: inputLabelId, onClick: this.onDivLabelClick }, h("slot", { key: '548804cb29efb86561074081acb7a3ebc4a20615' }), this.renderHintText()), h("div", { key: '4de487ca61f42687072b7b67541c4abefd1665f6', class: "native-wrapper" }, this.renderToggleControl()))));
357
357
  }
358
358
  static get is() { return "ion-toggle"; }
359
359
  static get encapsulation() { return "shadow"; }
@@ -242,11 +242,11 @@ export class Toolbar {
242
242
  Object.assign(childStyles, style);
243
243
  });
244
244
  const titlePlacement = this.getTitlePlacement();
245
- return (h(Host, { key: 'a2103857ffb26f517b4190bb01a8fa170a042e45', class: Object.assign(Object.assign({}, createColorClasses(this.color, {
245
+ return (h(Host, { key: 'f0aeb982054f92d5f78f5ad199252e4b5f30da2a', class: Object.assign(Object.assign({}, createColorClasses(this.color, {
246
246
  [theme]: true,
247
247
  'in-toolbar': hostContext('ion-toolbar', this.el),
248
248
  [`toolbar-title-placement-${titlePlacement}`]: true,
249
- })), childStyles) }, h("div", { key: '288b74048d260c9279d6e60c8733e26105ee0098', class: "toolbar-background", part: "background" }), h("div", { key: 'fa4b8cfb32f3bfb84f451cf3a2420b37fc75533c', class: "toolbar-container", part: "container" }, h("slot", { key: 'fe9414ab3fa2ca84d424a400ba91ec8239d700ff', name: "start", onSlotchange: () => this.updateSlotClasses }), h("slot", { key: 'c633cd1b6eef87adbfccfa61857518dcf62ac550', name: "secondary", onSlotchange: () => this.updateSlotClasses }), h("div", { key: 'aff3a3d8acbc480e9daec864aeb85d168ab2c447', class: "toolbar-content", part: "content" }, h("slot", { key: '52b45c5abbfe695e862c857163e7aa00c1c2af9a' })), h("slot", { key: '3157c16fcfe428230998f218c6233d114b550a6f', name: "primary", onSlotchange: () => this.updateSlotClasses }), h("slot", { key: '4b74dff5b832ea0f3030efa319c63c876c3e90e2', name: "end", onSlotchange: () => this.updateSlotClasses }))));
249
+ })), childStyles) }, h("div", { key: '171fb03d11af753e7a5d8f0852cc4d6c7a83e659', class: "toolbar-background", part: "background" }), h("div", { key: 'bcdc3556337c68f225b6cb714c54dad0ef5a8573', class: "toolbar-container", part: "container" }, h("slot", { key: '76475d634be06e07f552bfe68d304336402a9d26', name: "start", onSlotchange: () => this.updateSlotClasses }), h("slot", { key: 'd1585926018c983010a56014c076f0c1120b893f', name: "secondary", onSlotchange: () => this.updateSlotClasses }), h("div", { key: 'bb2609e1282304595f9770f4a14ff5c64b91c1fa', class: "toolbar-content", part: "content" }, h("slot", { key: '0c06057b148d82f9741387f843ea4b4a8a3c96b6' })), h("slot", { key: '78e91de1d9157e493b8742dd137f3dbf985166a2', name: "primary", onSlotchange: () => this.updateSlotClasses }), h("slot", { key: '58b0271fb1a4b0739d0aa6336599727c0f411d3b', name: "end", onSlotchange: () => this.updateSlotClasses }))));
250
250
  }
251
251
  static get is() { return "ion-toolbar"; }
252
252
  static get encapsulation() { return "shadow"; }
@@ -0,0 +1,62 @@
1
+ /*!
2
+ * (C) Ionic http://ionicframework.com - MIT License
3
+ */
4
+ import { h } from "@stencil/core";
5
+ /**
6
+ * Cache that maps rendered span elements to the source HTMLElement
7
+ * they were cloned from. This prevents flickering when a user
8
+ * selects an option that has rich content, as the content will only be
9
+ * re-rendered if the source HTMLElement changes.
10
+ */
11
+ const contentCache = new WeakMap();
12
+ /**
13
+ * Renders cloned DOM content into a span element via a ref callback.
14
+ * The content is only cloned when the source element changes,
15
+ * preventing flicker caused by destroying and recreating web
16
+ * components (e.g., ion-avatar) on every re-render cycle.
17
+ *
18
+ * Uses span elements because this content may render within buttons,
19
+ * depending on the select interface. Buttons can only have phrasing
20
+ * content to prevent accessibility issues.
21
+ *
22
+ * @param id - Unique identifier for generating stable virtual DOM keys.
23
+ * @param content - The HTMLElement container whose child nodes will be cloned.
24
+ * @param className - CSS class applied to the wrapper span.
25
+ */
26
+ const renderClonedContent = (id, content, className) => {
27
+ return (h("span", { class: className, key: `${className}-${id}`, ref: (el) => {
28
+ if (el) {
29
+ const cached = contentCache.get(el);
30
+ // Skip if this element already has clones from the same source
31
+ if (cached === content) {
32
+ return;
33
+ }
34
+ // Clear previous content and clone new nodes
35
+ el.innerHTML = '';
36
+ Array.from(content.childNodes).forEach((n) => el.appendChild(n.cloneNode(true)));
37
+ contentCache.set(el, content);
38
+ }
39
+ } }));
40
+ };
41
+ /**
42
+ * Renders the label content for a select option within an overlay
43
+ * interface based on the presence of rich content.
44
+ *
45
+ * Uses span elements because this content may render within buttons,
46
+ * depending on the select interface. Buttons can only have phrasing
47
+ * content to prevent accessibility issues.
48
+ *
49
+ * @param option - The content option data containing label, slots,
50
+ * and description.
51
+ * @param className - The base CSS class for the label element.
52
+ */
53
+ export const renderOptionLabel = (option, className) => {
54
+ const { id, label, startContent, endContent, description } = option;
55
+ const hasRichContent = !!startContent || !!endContent || !!description;
56
+ // Render the main label
57
+ const labelEl = typeof label === 'string' || !label ? (h("span", { key: `${className}-label-${id}` }, label)) : (renderClonedContent(id, label, `${className}-text`));
58
+ if (!hasRichContent) {
59
+ return (h("span", { class: className, key: `${className}-${id}` }, labelEl));
60
+ }
61
+ return (h("span", { class: className, key: `${className}-${id}` }, startContent && renderClonedContent(id, startContent, 'select-option-start'), h("span", { class: "select-option-content", key: `${className}-content-${id}` }, labelEl, description && (h("span", { class: "select-option-description", key: `${className}-desc-${id}` }, description))), endContent && renderClonedContent(id, endContent, 'select-option-end')));
62
+ };
package/dist/docs.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "timestamp": "2026-04-14T15:05:13",
2
+ "timestamp": "2026-04-14T16:39:35",
3
3
  "compiler": {
4
4
  "name": "@stencil/core",
5
5
  "version": "4.43.0",
@@ -38874,6 +38874,114 @@
38874
38874
  "annotation": "prop",
38875
38875
  "docs": "The color of the ripple effect on MD mode.",
38876
38876
  "mode": "md"
38877
+ },
38878
+ {
38879
+ "name": "--select-text-media-border-color",
38880
+ "annotation": "prop",
38881
+ "docs": "The border color of media (icons/images) in the select text.",
38882
+ "mode": "ionic"
38883
+ },
38884
+ {
38885
+ "name": "--select-text-media-border-color",
38886
+ "annotation": "prop",
38887
+ "docs": "The border color of media (icons/images) in the select text.",
38888
+ "mode": "ios"
38889
+ },
38890
+ {
38891
+ "name": "--select-text-media-border-color",
38892
+ "annotation": "prop",
38893
+ "docs": "The border color of media (icons/images) in the select text.",
38894
+ "mode": "md"
38895
+ },
38896
+ {
38897
+ "name": "--select-text-media-border-radius",
38898
+ "annotation": "prop",
38899
+ "docs": "The border radius of media (icons/images) in the select text.",
38900
+ "mode": "ionic"
38901
+ },
38902
+ {
38903
+ "name": "--select-text-media-border-radius",
38904
+ "annotation": "prop",
38905
+ "docs": "The border radius of media (icons/images) in the select text.",
38906
+ "mode": "ios"
38907
+ },
38908
+ {
38909
+ "name": "--select-text-media-border-radius",
38910
+ "annotation": "prop",
38911
+ "docs": "The border radius of media (icons/images) in the select text.",
38912
+ "mode": "md"
38913
+ },
38914
+ {
38915
+ "name": "--select-text-media-border-style",
38916
+ "annotation": "prop",
38917
+ "docs": "The border style of media (icons/images) in the select text.",
38918
+ "mode": "ionic"
38919
+ },
38920
+ {
38921
+ "name": "--select-text-media-border-style",
38922
+ "annotation": "prop",
38923
+ "docs": "The border style of media (icons/images) in the select text.",
38924
+ "mode": "ios"
38925
+ },
38926
+ {
38927
+ "name": "--select-text-media-border-style",
38928
+ "annotation": "prop",
38929
+ "docs": "The border style of media (icons/images) in the select text.",
38930
+ "mode": "md"
38931
+ },
38932
+ {
38933
+ "name": "--select-text-media-border-width",
38934
+ "annotation": "prop",
38935
+ "docs": "The border width of media (icons/images) in the select text.",
38936
+ "mode": "ionic"
38937
+ },
38938
+ {
38939
+ "name": "--select-text-media-border-width",
38940
+ "annotation": "prop",
38941
+ "docs": "The border width of media (icons/images) in the select text.",
38942
+ "mode": "ios"
38943
+ },
38944
+ {
38945
+ "name": "--select-text-media-border-width",
38946
+ "annotation": "prop",
38947
+ "docs": "The border width of media (icons/images) in the select text.",
38948
+ "mode": "md"
38949
+ },
38950
+ {
38951
+ "name": "--select-text-media-height",
38952
+ "annotation": "prop",
38953
+ "docs": "The height of media (icons/images) in the select text.",
38954
+ "mode": "ionic"
38955
+ },
38956
+ {
38957
+ "name": "--select-text-media-height",
38958
+ "annotation": "prop",
38959
+ "docs": "The height of media (icons/images) in the select text.",
38960
+ "mode": "ios"
38961
+ },
38962
+ {
38963
+ "name": "--select-text-media-height",
38964
+ "annotation": "prop",
38965
+ "docs": "The height of media (icons/images) in the select text.",
38966
+ "mode": "md"
38967
+ },
38968
+ {
38969
+ "name": "--select-text-media-width",
38970
+ "annotation": "prop",
38971
+ "docs": "The width of media (icons/images) in the select text.",
38972
+ "mode": "ionic"
38973
+ },
38974
+ {
38975
+ "name": "--select-text-media-width",
38976
+ "annotation": "prop",
38977
+ "docs": "The width of media (icons/images) in the select text.",
38978
+ "mode": "ios"
38979
+ },
38980
+ {
38981
+ "name": "--select-text-media-width",
38982
+ "annotation": "prop",
38983
+ "docs": "The width of media (icons/images) in the select text.",
38984
+ "mode": "md"
38877
38985
  }
38878
38986
  ],
38879
38987
  "slots": [
@@ -39194,6 +39302,32 @@
39194
39302
  ],
39195
39303
  "usage": {},
39196
39304
  "props": [
39305
+ {
39306
+ "name": "description",
39307
+ "type": "string | undefined",
39308
+ "complexType": {
39309
+ "original": "string",
39310
+ "resolved": "string | undefined",
39311
+ "references": {}
39312
+ },
39313
+ "mutable": false,
39314
+ "attr": "description",
39315
+ "reflectToAttr": false,
39316
+ "docs": "Text that is placed underneath the option text to provide additional details about the option.",
39317
+ "docsTags": [],
39318
+ "values": [
39319
+ {
39320
+ "type": "string"
39321
+ },
39322
+ {
39323
+ "type": "undefined"
39324
+ }
39325
+ ],
39326
+ "optional": true,
39327
+ "required": false,
39328
+ "getter": false,
39329
+ "setter": false
39330
+ },
39197
39331
  {
39198
39332
  "name": "disabled",
39199
39333
  "type": "boolean",
@@ -46080,7 +46214,7 @@
46080
46214
  "path": "src/interface.d.ts"
46081
46215
  },
46082
46216
  "src/components/action-sheet/action-sheet-interface.ts::ActionSheetButton": {
46083
- "declaration": "export interface ActionSheetButton<T = any> {\n text?: string;\n role?: LiteralUnion<'cancel' | 'destructive' | 'selected', string>;\n icon?: string;\n cssClass?: string | string[];\n id?: string;\n htmlAttributes?: { [key: string]: any };\n handler?: () => boolean | void | Promise<boolean | void>;\n data?: T;\n /**\n * When `disabled` is `true` the action\n * sheet button will not be interactive. Note\n * that buttons with a 'cancel' role cannot\n * be disabled as that would make it difficult for\n * users to dismiss the action sheet.\n */\n disabled?: boolean;\n}",
46217
+ "declaration": "export interface ActionSheetButton<T = any> {\n text?: string | HTMLElement;\n role?: LiteralUnion<'cancel' | 'destructive' | 'selected', string>;\n icon?: string;\n cssClass?: string | string[];\n id?: string;\n htmlAttributes?: { [key: string]: any };\n handler?: () => boolean | void | Promise<boolean | void>;\n data?: T;\n /**\n * When `disabled` is `true` the action\n * sheet button will not be interactive. Note\n * that buttons with a 'cancel' role cannot\n * be disabled as that would make it difficult for\n * users to dismiss the action sheet.\n */\n disabled?: boolean;\n startContent?: HTMLElement;\n endContent?: HTMLElement;\n description?: string;\n}",
46084
46218
  "docstring": "",
46085
46219
  "path": "src/components/action-sheet/action-sheet-interface.ts"
46086
46220
  },
@@ -46100,7 +46234,7 @@
46100
46234
  "path": "src/components/alert/alert-interface.ts"
46101
46235
  },
46102
46236
  "src/components/alert/alert-interface.ts::AlertInput": {
46103
- "declaration": "export interface AlertInput {\n type?: TextFieldTypes | 'checkbox' | 'radio' | 'textarea';\n name?: string;\n placeholder?: string;\n value?: any; // TODO(FW-2832): type\n /**\n * The label text to display next to the input, if the input type is `radio` or `checkbox`.\n */\n label?: string;\n checked?: boolean;\n disabled?: boolean;\n id?: string;\n handler?: (input: AlertInput) => void;\n min?: string | number;\n max?: string | number;\n cssClass?: string | string[];\n attributes?: { [key: string]: any };\n tabindex?: number;\n}",
46237
+ "declaration": "export interface AlertInput {\n type?: TextFieldTypes | 'checkbox' | 'radio' | 'textarea';\n name?: string;\n placeholder?: string;\n value?: any; // TODO(FW-2832): type\n /**\n * The label text to display next to the input, if the input type is `radio` or `checkbox`.\n */\n label?: string | HTMLElement;\n checked?: boolean;\n disabled?: boolean;\n id?: string;\n handler?: (input: AlertInput) => void;\n min?: string | number;\n max?: string | number;\n cssClass?: string | string[];\n attributes?: { [key: string]: any };\n tabindex?: number;\n startContent?: HTMLElement;\n endContent?: HTMLElement;\n description?: string;\n}",
46104
46238
  "docstring": "",
46105
46239
  "path": "src/components/alert/alert-interface.ts"
46106
46240
  },
@@ -46465,12 +46599,12 @@
46465
46599
  "path": "src/components/select/select-interface.ts"
46466
46600
  },
46467
46601
  "src/components/select-modal/select-modal-interface.ts::SelectModalOption": {
46468
- "declaration": "export interface SelectModalOption {\n text: string;\n value: string;\n disabled: boolean;\n checked: boolean;\n cssClass?: string | string[];\n handler?: (value: any) => boolean | void | { [key: string]: any };\n}",
46602
+ "declaration": "export interface SelectModalOption {\n text: string | HTMLElement;\n value: string;\n disabled: boolean;\n checked: boolean;\n cssClass?: string | string[];\n handler?: (value: any) => boolean | void | { [key: string]: any };\n startContent?: HTMLElement;\n endContent?: HTMLElement;\n description?: string;\n}",
46469
46603
  "docstring": "",
46470
46604
  "path": "src/components/select-modal/select-modal-interface.ts"
46471
46605
  },
46472
46606
  "src/components/select-popover/select-popover-interface.ts::SelectPopoverOption": {
46473
- "declaration": "export interface SelectPopoverOption {\n text: string;\n value: string;\n disabled: boolean;\n checked: boolean;\n cssClass?: string | string[];\n handler?: (value: any) => boolean | void | { [key: string]: any };\n}",
46607
+ "declaration": "export interface SelectPopoverOption {\n text: string | HTMLElement;\n value: string;\n disabled: boolean;\n checked: boolean;\n cssClass?: string | string[];\n handler?: (value: any) => boolean | void | { [key: string]: any };\n startContent?: HTMLElement;\n endContent?: HTMLElement;\n description?: string;\n}",
46474
46608
  "docstring": "",
46475
46609
  "path": "src/components/select-popover/select-popover-interface.ts"
46476
46610
  },