@ionic/core 8.4.4-dev.11738863153.1dafb0b9 → 8.4.4-dev.11739906326.1989484f

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 (104) hide show
  1. package/components/checkbox.js +4 -6
  2. package/components/content.js +4 -4
  3. package/components/ion-select.js +4 -6
  4. package/components/ion-tab-button.js +1 -1
  5. package/components/ion-tab.js +2 -2
  6. package/components/ion-tabs.js +1 -2
  7. package/components/ion-toggle.js +4 -6
  8. package/components/modal.js +35 -259
  9. package/components/radio.js +37 -5
  10. package/css/core.css.map +1 -1
  11. package/css/ionic.bundle.css.map +1 -1
  12. package/dist/cjs/ion-app_8.cjs.entry.js +4 -4
  13. package/dist/cjs/ion-checkbox.cjs.entry.js +4 -5
  14. package/dist/cjs/ion-modal.cjs.entry.js +35 -258
  15. package/dist/cjs/ion-radio_2.cjs.entry.js +35 -5
  16. package/dist/cjs/ion-select_3.cjs.entry.js +4 -5
  17. package/dist/cjs/ion-tab-bar_2.cjs.entry.js +1 -1
  18. package/dist/cjs/ion-tab_2.cjs.entry.js +3 -4
  19. package/dist/cjs/ion-toggle.cjs.entry.js +4 -5
  20. package/dist/cjs/ionic.cjs.js +1 -1
  21. package/dist/cjs/loader.cjs.js +1 -1
  22. package/dist/collection/components/checkbox/checkbox.js +4 -23
  23. package/dist/collection/components/content/content.js +4 -4
  24. package/dist/collection/components/modal/animations/ios.enter.js +4 -50
  25. package/dist/collection/components/modal/animations/ios.leave.js +2 -24
  26. package/dist/collection/components/modal/animations/md.enter.js +5 -52
  27. package/dist/collection/components/modal/animations/md.leave.js +3 -26
  28. package/dist/collection/components/modal/animations/sheet.js +2 -11
  29. package/dist/collection/components/modal/gestures/sheet.js +10 -79
  30. package/dist/collection/components/modal/modal.ios.css +0 -16
  31. package/dist/collection/components/modal/modal.js +7 -32
  32. package/dist/collection/components/modal/modal.md.css +0 -6
  33. package/dist/collection/components/radio/radio.ios.css +52 -15
  34. package/dist/collection/components/radio/radio.js +70 -3
  35. package/dist/collection/components/radio/radio.md.css +52 -15
  36. package/dist/collection/components/select/select.js +4 -23
  37. package/dist/collection/components/tab/tab.js +2 -2
  38. package/dist/collection/components/tab-button/tab-button.js +1 -1
  39. package/dist/collection/components/tabs/tabs.js +1 -2
  40. package/dist/collection/components/toggle/toggle.js +4 -23
  41. package/dist/docs.json +73 -89
  42. package/dist/esm/ion-app_8.entry.js +4 -4
  43. package/dist/esm/ion-checkbox.entry.js +4 -5
  44. package/dist/esm/ion-modal.entry.js +35 -258
  45. package/dist/esm/ion-radio_2.entry.js +35 -5
  46. package/dist/esm/ion-select_3.entry.js +4 -5
  47. package/dist/esm/ion-tab-bar_2.entry.js +1 -1
  48. package/dist/esm/ion-tab_2.entry.js +3 -4
  49. package/dist/esm/ion-toggle.entry.js +4 -5
  50. package/dist/esm/ionic.js +1 -1
  51. package/dist/esm/loader.js +1 -1
  52. package/dist/esm-es5/ion-app_8.entry.js +1 -1
  53. package/dist/esm-es5/ion-checkbox.entry.js +1 -1
  54. package/dist/esm-es5/ion-modal.entry.js +1 -1
  55. package/dist/esm-es5/ion-radio_2.entry.js +1 -1
  56. package/dist/esm-es5/ion-select_3.entry.js +1 -1
  57. package/dist/esm-es5/ion-tab-bar_2.entry.js +1 -1
  58. package/dist/esm-es5/ion-tab_2.entry.js +1 -1
  59. package/dist/esm-es5/ion-toggle.entry.js +1 -1
  60. package/dist/esm-es5/ionic.js +1 -1
  61. package/dist/esm-es5/loader.js +1 -1
  62. package/dist/html.html-data.json +8 -16
  63. package/dist/ionic/ionic.esm.js +1 -1
  64. package/dist/ionic/p-1a11f49f.entry.js +4 -0
  65. package/dist/ionic/p-1b1af767.system.entry.js +4 -0
  66. package/dist/ionic/p-2172893e.system.entry.js +4 -0
  67. package/dist/ionic/p-322c5fb4.system.js +1 -1
  68. package/dist/ionic/p-4ec778aa.entry.js +4 -0
  69. package/dist/ionic/p-5ab1b709.entry.js +4 -0
  70. package/dist/ionic/{p-8ac07653.system.entry.js → p-69666e8a.system.entry.js} +2 -2
  71. package/dist/ionic/{p-1199e388.system.entry.js → p-797eeea8.system.entry.js} +1 -1
  72. package/dist/ionic/p-908d6080.entry.js +4 -0
  73. package/dist/ionic/p-92a0f863.entry.js +4 -0
  74. package/dist/ionic/p-98ff6b32.entry.js +4 -0
  75. package/dist/ionic/p-a0eb506c.system.entry.js +4 -0
  76. package/dist/ionic/p-bc64bd27.system.entry.js +4 -0
  77. package/dist/ionic/p-e06057c9.entry.js +4 -0
  78. package/dist/ionic/{p-bdf2cb2e.system.entry.js → p-ebf042e0.system.entry.js} +1 -1
  79. package/dist/ionic/p-f55baa37.entry.js +4 -0
  80. package/dist/ionic/{p-9f364443.system.entry.js → p-fd1c40cc.system.entry.js} +1 -1
  81. package/dist/types/components/checkbox/checkbox.d.ts +0 -6
  82. package/dist/types/components/modal/animations/sheet.d.ts +0 -1
  83. package/dist/types/components/modal/gestures/sheet.d.ts +1 -1
  84. package/dist/types/components/modal/modal-interface.d.ts +0 -1
  85. package/dist/types/components/modal/modal.d.ts +0 -11
  86. package/dist/types/components/radio/radio.d.ts +19 -0
  87. package/dist/types/components/select/select.d.ts +0 -6
  88. package/dist/types/components/toggle/toggle.d.ts +0 -6
  89. package/dist/types/components.d.ts +16 -32
  90. package/hydrate/index.js +95 -291
  91. package/hydrate/index.mjs +95 -291
  92. package/package.json +1 -1
  93. package/dist/ionic/p-0430c2e0.entry.js +0 -4
  94. package/dist/ionic/p-126be614.system.entry.js +0 -4
  95. package/dist/ionic/p-6c95736e.entry.js +0 -4
  96. package/dist/ionic/p-6d6cedc5.entry.js +0 -4
  97. package/dist/ionic/p-722ec9c7.entry.js +0 -4
  98. package/dist/ionic/p-783411f1.entry.js +0 -4
  99. package/dist/ionic/p-7ddc46c3.system.entry.js +0 -4
  100. package/dist/ionic/p-98e41e4f.system.entry.js +0 -4
  101. package/dist/ionic/p-d57a57d6.entry.js +0 -4
  102. package/dist/ionic/p-d7dd8fb1.entry.js +0 -4
  103. package/dist/ionic/p-e3171ff3.entry.js +0 -4
  104. package/dist/ionic/p-e6376b93.system.entry.js +0 -4
@@ -91,7 +91,6 @@ export class Select {
91
91
  this.expandedIcon = undefined;
92
92
  this.shape = undefined;
93
93
  this.value = undefined;
94
- this.required = false;
95
94
  }
96
95
  styleChanged() {
97
96
  this.emitStyle();
@@ -629,8 +628,8 @@ export class Select {
629
628
  return renderedLabel;
630
629
  }
631
630
  renderListbox() {
632
- const { disabled, inputId, isExpanded, required } = this;
633
- return (h("button", { disabled: disabled, id: inputId, "aria-label": this.ariaLabel, "aria-haspopup": "dialog", "aria-expanded": `${isExpanded}`, "aria-required": `${required}`, onFocus: this.onFocus, onBlur: this.onBlur, ref: (focusEl) => (this.focusEl = focusEl) }));
631
+ const { disabled, inputId, isExpanded } = this;
632
+ return (h("button", { disabled: disabled, id: inputId, "aria-label": this.ariaLabel, "aria-haspopup": "dialog", "aria-expanded": `${isExpanded}`, onFocus: this.onFocus, onBlur: this.onBlur, ref: (focusEl) => (this.focusEl = focusEl) }));
634
633
  }
635
634
  render() {
636
635
  const { disabled, el, isExpanded, expandedIcon, labelPlacement, justify, placeholder, fill, shape, name, value } = this;
@@ -661,7 +660,7 @@ export class Select {
661
660
  * TODO(FW-5592): Remove hasStartEndSlots condition
662
661
  */
663
662
  const labelShouldFloat = labelPlacement === 'stacked' || (labelPlacement === 'floating' && (hasValue || isExpanded || hasStartEndSlots));
664
- return (h(Host, { key: '491cf1b0e3aa31e7c9cfad3e87d83eb54272312a', onClick: this.onClick, class: createColorClasses(this.color, {
663
+ return (h(Host, { key: '144dfa5c49549a74fe516c65b9b8104a477ac789', onClick: this.onClick, class: createColorClasses(this.color, {
665
664
  [mode]: true,
666
665
  'in-item': inItem,
667
666
  'in-item-color': hostContext('ion-item.ion-color', el),
@@ -677,7 +676,7 @@ export class Select {
677
676
  [`select-justify-${justify}`]: justifyEnabled,
678
677
  [`select-shape-${shape}`]: shape !== undefined,
679
678
  [`select-label-placement-${labelPlacement}`]: true,
680
- }) }, h("label", { key: '07bf3cb57bd1121383d8c746e3ac49da38300082', class: "select-wrapper", id: "select-label" }, this.renderLabelContainer(), h("div", { key: '884facd18342797576bbacc761d18d83c52762e3', class: "select-wrapper-inner" }, h("slot", { key: 'c4f2a2a7a76f52db15f9a0b806017caea443c47a', name: "start" }), h("div", { key: '235cf383f268cc74412722cd31e246cbd4c2abe5', class: "native-wrapper", ref: (el) => (this.nativeWrapperEl = el), part: "container" }, this.renderSelectText(), this.renderListbox()), h("slot", { key: '1481302e11c494d49dfd80a7aaf743f7e851558f', name: "end" }), !hasFloatingOrStackedLabel && this.renderSelectIcon()), hasFloatingOrStackedLabel && this.renderSelectIcon(), shouldRenderHighlight && h("div", { key: '8a45ea9280651695c8e5435f266c286f3e3f6a18', class: "select-highlight" }))));
679
+ }) }, h("label", { key: '0edcfcbac575a9dccc77991531b6980d1caebf42', class: "select-wrapper", id: "select-label" }, this.renderLabelContainer(), h("div", { key: '348151d90cb093f5d21c7d4a834264ac4a312c40', class: "select-wrapper-inner" }, h("slot", { key: '8b7708c7f81217435c58276da0c08bba766d9500', name: "start" }), h("div", { key: '10c520a335da0a0d1cf40f9365597beb244d3b48', class: "native-wrapper", ref: (el) => (this.nativeWrapperEl = el), part: "container" }, this.renderSelectText(), this.renderListbox()), h("slot", { key: '0f15c40a5495e98e29d2a21ba21e0bc6f1c0125a', name: "end" }), !hasFloatingOrStackedLabel && this.renderSelectIcon()), hasFloatingOrStackedLabel && this.renderSelectIcon(), shouldRenderHighlight && h("div", { key: 'c87faad2e5ebf7f9453397d7ede43abd64d21294', class: "select-highlight" }))));
681
680
  }
682
681
  static get is() { return "ion-select"; }
683
682
  static get encapsulation() { return "shadow"; }
@@ -1043,24 +1042,6 @@ export class Select {
1043
1042
  },
1044
1043
  "attribute": "value",
1045
1044
  "reflect": false
1046
- },
1047
- "required": {
1048
- "type": "boolean",
1049
- "mutable": false,
1050
- "complexType": {
1051
- "original": "boolean",
1052
- "resolved": "boolean",
1053
- "references": {}
1054
- },
1055
- "required": false,
1056
- "optional": false,
1057
- "docs": {
1058
- "tags": [],
1059
- "text": "If true, screen readers will announce it as a required field. This property\nworks only for accessibility purposes, it will not prevent the form from\nsubmitting if the value is invalid."
1060
- },
1061
- "attribute": "required",
1062
- "reflect": false,
1063
- "defaultValue": "false"
1064
1045
  }
1065
1046
  };
1066
1047
  }
@@ -48,10 +48,10 @@ export class Tab {
48
48
  }
49
49
  render() {
50
50
  const { tab, active, component } = this;
51
- return (h(Host, { key: 'c8d049c74c66a2748f3ec81d2855446acf114abe', role: "tabpanel", "aria-hidden": !active ? 'true' : null, "aria-labelledby": `tab-button-${tab}`, class: {
51
+ return (h(Host, { key: 'cb75d0877979b3b8df8f7e1952bfa9677da1eaa5', role: "tabpanel", "aria-hidden": !active ? 'true' : null, "aria-labelledby": `tab-button-${tab}`, class: {
52
52
  'ion-page': component === undefined,
53
53
  'tab-hidden': !active,
54
- } }, h("slot", { key: 'fba1ddc9aefb2711e13d43734f606b493ce8380a' })));
54
+ } }, h("slot", { key: '37fbb7b7a6b03eb93b1dacd2dc1025b78eb2aa6b' })));
55
55
  }
56
56
  static get is() { return "ion-tab"; }
57
57
  static get encapsulation() { return "shadow"; }
@@ -82,7 +82,7 @@ export class TabButton {
82
82
  'ion-activatable': true,
83
83
  'ion-selectable': true,
84
84
  'ion-focusable': true,
85
- } }, h("a", Object.assign({ key: '2f32e70232c7872b14e9ead1d1c31c98ad3577b4' }, attrs, { class: "button-native", part: "native", role: "tab", "aria-selected": selected ? 'true' : null, "aria-disabled": disabled ? 'true' : null, tabindex: disabled ? '-1' : '0' }, inheritedAttributes), h("span", { key: '5c9467b16e36a526a20f460980ec45022f464c3a', class: "button-inner" }, h("slot", { key: 'eefd60fac84ff01366a0f82f6ad71782ee7351e9' })), mode === 'md' && h("ion-ripple-effect", { key: '0d3452ae46e47f2d50c0198668c42e00e1a4d7bf', type: "unbounded" }))));
85
+ } }, h("a", Object.assign({ key: '1db09d861b67ff292018fb4b0dc7b85bd4677eb8' }, 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: '4381eafcb27e8c7bb0d86d4f115ceb0caf03b9b4', class: "button-inner" }, h("slot", { key: '1981135f6fbb88376c1bd923c55c70fe8b5c5159' })), mode === 'md' && h("ion-ripple-effect", { key: '0509bc7155d055d1ed710600e9cf4df135881491', type: "unbounded" }))));
86
86
  }
87
87
  static get is() { return "ion-tab-button"; }
88
88
  static get encapsulation() { return "shadow"; }
@@ -11,7 +11,6 @@ export class Tabs {
11
11
  constructor() {
12
12
  this.transitioning = false;
13
13
  this.onTabClicked = (ev) => {
14
- console.log("onTabClicked");
15
14
  const { href, tab } = ev.detail;
16
15
  if (this.useRouter && href !== undefined) {
17
16
  const router = document.querySelector('ion-router');
@@ -146,7 +145,7 @@ export class Tabs {
146
145
  return Array.from(this.el.querySelectorAll('ion-tab'));
147
146
  }
148
147
  render() {
149
- return (h(Host, { key: '6c9bb24efdbb7d2135097dbaf200b9d9a106eba0', onIonTabButtonClick: this.onTabClicked }, h("slot", { key: '7e29a9895b183269b3e293c3f70c9644324215ad', name: "top" }), h("div", { key: '02d3c0685ff01dff1a0e0663aaec55552a24acd9', class: "tabs-inner" }, h("slot", { key: 'e7b6928b811caae14f8981b1da65d1d487bd74e8' })), h("slot", { key: 'd4464bcf631c7ff7afc96d95942a4af1fda64919', name: "bottom" })));
148
+ return (h(Host, { key: 'e01ccf6bfaccad094515be50e407399c733fc226', onIonTabButtonClick: this.onTabClicked }, h("slot", { key: '38d2d01dbfd8a08f01e6f0e27274b21d75424e37', name: "top" }), h("div", { key: '7e894f0f423e2d43e1c68daff5f9f6c442fad237', class: "tabs-inner" }, h("slot", { key: 'df16be529a0370a26d0adf850530b31607507c23' })), h("slot", { key: '44642e1cb24c3281c43db75fd69a32fe0defe40a', name: "bottom" })));
150
149
  }
151
150
  static get is() { return "ion-tabs"; }
152
151
  static get encapsulation() { return "shadow"; }
@@ -71,7 +71,6 @@ export class Toggle {
71
71
  this.labelPlacement = 'start';
72
72
  this.justify = undefined;
73
73
  this.alignment = undefined;
74
- this.required = false;
75
74
  }
76
75
  disabledChanged() {
77
76
  if (this.gesture) {
@@ -153,12 +152,12 @@ export class Toggle {
153
152
  return this.el.textContent !== '';
154
153
  }
155
154
  render() {
156
- const { activated, color, checked, disabled, el, justify, labelPlacement, inputId, name, alignment, required } = this;
155
+ const { activated, color, checked, disabled, el, justify, labelPlacement, inputId, name, alignment } = this;
157
156
  const mode = getIonMode(this);
158
157
  const value = this.getValue();
159
158
  const rtl = isRTL(el) ? 'rtl' : 'ltr';
160
159
  renderHiddenInput(true, el, name, checked ? value : '', disabled);
161
- return (h(Host, { key: 'ed75573caa6e37011f1453dd7f723fb9bd8a3656', onClick: this.onClick, class: createColorClasses(color, {
160
+ return (h(Host, { key: 'f52195ec3bc14c024647cb41319c32a4cd330e19', onClick: this.onClick, class: createColorClasses(color, {
162
161
  [mode]: true,
163
162
  'in-item': hostContext('ion-item', el),
164
163
  'toggle-activated': activated,
@@ -168,10 +167,10 @@ export class Toggle {
168
167
  [`toggle-alignment-${alignment}`]: alignment !== undefined,
169
168
  [`toggle-label-placement-${labelPlacement}`]: true,
170
169
  [`toggle-${rtl}`]: true,
171
- }) }, h("label", { key: '484860e2a33f4d123904edb96159f0e1972d3add', class: "toggle-wrapper" }, h("input", Object.assign({ key: '360b53080aacfd99a9ff60ffb5219816bd4163ee', type: "checkbox", role: "switch", "aria-checked": `${checked}`, checked: checked, disabled: disabled, id: inputId, onFocus: () => this.onFocus(), onBlur: () => this.onBlur(), ref: (focusEl) => (this.focusEl = focusEl), required: required }, this.inheritedAttributes)), h("div", { key: 'f7239fa668fe11257239ea30cf0198e4f3274f6b', class: {
170
+ }) }, h("label", { key: 'f8b3a215ad85b2cee611ad63449b584e1640f27f', class: "toggle-wrapper" }, h("input", Object.assign({ key: 'f387b1ea840737a9737917e516834c887be99c09', type: "checkbox", role: "switch", "aria-checked": `${checked}`, checked: checked, disabled: disabled, id: inputId, onFocus: () => this.onFocus(), onBlur: () => this.onBlur(), ref: (focusEl) => (this.focusEl = focusEl) }, this.inheritedAttributes)), h("div", { key: '936af880db59fe377cd2de9101eb28a1c4fb8914', class: {
172
171
  'label-text-wrapper': true,
173
172
  'label-text-wrapper-hidden': !this.hasLabel,
174
- }, part: "label" }, h("slot", { key: '9495a4a39889822ee68e0d89dc5a2f863d1feb3c' })), h("div", { key: '55f1eb08c4b705e94fbcf02220bbe1d292f06155', class: "native-wrapper" }, this.renderToggleControl()))));
173
+ }, part: "label" }, h("slot", { key: '80a6672e2e792c15011a9496dcd75363cdba31c6' })), h("div", { key: '2b2b318b38ab27b194c0dab4cecd77d9d780f2ca', class: "native-wrapper" }, this.renderToggleControl()))));
175
174
  }
176
175
  static get is() { return "ion-toggle"; }
177
176
  static get encapsulation() { return "shadow"; }
@@ -353,24 +352,6 @@ export class Toggle {
353
352
  },
354
353
  "attribute": "alignment",
355
354
  "reflect": false
356
- },
357
- "required": {
358
- "type": "boolean",
359
- "mutable": false,
360
- "complexType": {
361
- "original": "boolean",
362
- "resolved": "boolean",
363
- "references": {}
364
- },
365
- "required": false,
366
- "optional": false,
367
- "docs": {
368
- "tags": [],
369
- "text": "If true, screen readers will announce it as a required field. This property\nworks only for accessibility purposes, it will not prevent the form from\nsubmitting if the value is invalid."
370
- },
371
- "attribute": "required",
372
- "reflect": false,
373
- "defaultValue": "false"
374
355
  }
375
356
  };
376
357
  }
package/dist/docs.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "timestamp": "2025-02-06T17:34:21",
2
+ "timestamp": "2025-02-18T19:20:37",
3
3
  "compiler": {
4
4
  "name": "@stencil/core",
5
5
  "version": "4.20.0",
@@ -6018,28 +6018,6 @@
6018
6018
  "optional": false,
6019
6019
  "required": false
6020
6020
  },
6021
- {
6022
- "name": "required",
6023
- "type": "boolean",
6024
- "complexType": {
6025
- "original": "boolean",
6026
- "resolved": "boolean",
6027
- "references": {}
6028
- },
6029
- "mutable": false,
6030
- "attr": "required",
6031
- "reflectToAttr": false,
6032
- "docs": "If true, screen readers will announce it as a required field. This property\nworks only for accessibility purposes, it will not prevent the form from\nsubmitting if the value is invalid.",
6033
- "docsTags": [],
6034
- "default": "false",
6035
- "values": [
6036
- {
6037
- "type": "boolean"
6038
- }
6039
- ],
6040
- "optional": false,
6041
- "required": false
6042
- },
6043
6021
  {
6044
6022
  "name": "value",
6045
6023
  "type": "any",
@@ -17046,28 +17024,6 @@
17046
17024
  "optional": true,
17047
17025
  "required": false
17048
17026
  },
17049
- {
17050
- "name": "expandToScroll",
17051
- "type": "boolean",
17052
- "complexType": {
17053
- "original": "boolean",
17054
- "resolved": "boolean",
17055
- "references": {}
17056
- },
17057
- "mutable": false,
17058
- "attr": "expand-to-scroll",
17059
- "reflectToAttr": false,
17060
- "docs": "Controls whether scrolling or dragging within the sheet modal expands\nit to a larger breakpoint. This only takes effect when `breakpoints`\nand `initialBreakpoint` are set.\n\nIf `true`, scrolling or dragging anywhere in the modal will first expand\nit to the next breakpoint. Once fully expanded, scrolling will affect the content.\nIf `false`, scrolling will always affect the content, and the modal will only expand\nwhen dragging the header or handle.",
17061
- "docsTags": [],
17062
- "default": "true",
17063
- "values": [
17064
- {
17065
- "type": "boolean"
17066
- }
17067
- ],
17068
- "optional": false,
17069
- "required": false
17070
- },
17071
17027
  {
17072
17028
  "name": "focusTrap",
17073
17029
  "type": "boolean",
@@ -22148,6 +22104,18 @@
22148
22104
  {
22149
22105
  "name": "part",
22150
22106
  "text": "mark - The checkmark or dot used to indicate the checked state."
22107
+ },
22108
+ {
22109
+ "name": "part",
22110
+ "text": "supporting-text - Supporting text displayed beneath the radio label."
22111
+ },
22112
+ {
22113
+ "name": "part",
22114
+ "text": "helper-text - Supporting text displayed beneath the radio label when the radio is valid."
22115
+ },
22116
+ {
22117
+ "name": "part",
22118
+ "text": "error-text - Supporting text displayed beneath the radio label when the radio is invalid and touched."
22151
22119
  }
22152
22120
  ],
22153
22121
  "usage": {},
@@ -22269,6 +22237,54 @@
22269
22237
  "optional": false,
22270
22238
  "required": false
22271
22239
  },
22240
+ {
22241
+ "name": "errorText",
22242
+ "type": "string | undefined",
22243
+ "complexType": {
22244
+ "original": "string",
22245
+ "resolved": "string | undefined",
22246
+ "references": {}
22247
+ },
22248
+ "mutable": false,
22249
+ "attr": "error-text",
22250
+ "reflectToAttr": false,
22251
+ "docs": "Text that is placed under the radio label and displayed when an error is detected.",
22252
+ "docsTags": [],
22253
+ "values": [
22254
+ {
22255
+ "type": "string"
22256
+ },
22257
+ {
22258
+ "type": "undefined"
22259
+ }
22260
+ ],
22261
+ "optional": true,
22262
+ "required": false
22263
+ },
22264
+ {
22265
+ "name": "helperText",
22266
+ "type": "string | undefined",
22267
+ "complexType": {
22268
+ "original": "string",
22269
+ "resolved": "string | undefined",
22270
+ "references": {}
22271
+ },
22272
+ "mutable": false,
22273
+ "attr": "helper-text",
22274
+ "reflectToAttr": false,
22275
+ "docs": "Text that is placed under the radio label and displayed when no error is detected.",
22276
+ "docsTags": [],
22277
+ "values": [
22278
+ {
22279
+ "type": "string"
22280
+ },
22281
+ {
22282
+ "type": "undefined"
22283
+ }
22284
+ ],
22285
+ "optional": true,
22286
+ "required": false
22287
+ },
22272
22288
  {
22273
22289
  "name": "justify",
22274
22290
  "type": "\"end\" | \"space-between\" | \"start\" | undefined",
@@ -22495,6 +22511,14 @@
22495
22511
  "name": "container",
22496
22512
  "docs": "The container for the radio mark."
22497
22513
  },
22514
+ {
22515
+ "name": "error-text",
22516
+ "docs": "Supporting text displayed beneath the radio label when the radio is invalid and touched."
22517
+ },
22518
+ {
22519
+ "name": "helper-text",
22520
+ "docs": "Supporting text displayed beneath the radio label when the radio is valid."
22521
+ },
22498
22522
  {
22499
22523
  "name": "label",
22500
22524
  "docs": "The label text describing the radio."
@@ -22502,6 +22526,10 @@
22502
22526
  {
22503
22527
  "name": "mark",
22504
22528
  "docs": "The checkmark or dot used to indicate the checked state."
22529
+ },
22530
+ {
22531
+ "name": "supporting-text",
22532
+ "docs": "Supporting text displayed beneath the radio label."
22505
22533
  }
22506
22534
  ],
22507
22535
  "dependents": [
@@ -27742,28 +27770,6 @@
27742
27770
  "optional": true,
27743
27771
  "required": false
27744
27772
  },
27745
- {
27746
- "name": "required",
27747
- "type": "boolean",
27748
- "complexType": {
27749
- "original": "boolean",
27750
- "resolved": "boolean",
27751
- "references": {}
27752
- },
27753
- "mutable": false,
27754
- "attr": "required",
27755
- "reflectToAttr": false,
27756
- "docs": "If true, screen readers will announce it as a required field. This property\nworks only for accessibility purposes, it will not prevent the form from\nsubmitting if the value is invalid.",
27757
- "docsTags": [],
27758
- "default": "false",
27759
- "values": [
27760
- {
27761
- "type": "boolean"
27762
- }
27763
- ],
27764
- "optional": false,
27765
- "required": false
27766
- },
27767
27773
  {
27768
27774
  "name": "selectedText",
27769
27775
  "type": "null | string | undefined",
@@ -32725,28 +32731,6 @@
32725
32731
  "optional": false,
32726
32732
  "required": false
32727
32733
  },
32728
- {
32729
- "name": "required",
32730
- "type": "boolean",
32731
- "complexType": {
32732
- "original": "boolean",
32733
- "resolved": "boolean",
32734
- "references": {}
32735
- },
32736
- "mutable": false,
32737
- "attr": "required",
32738
- "reflectToAttr": false,
32739
- "docs": "If true, screen readers will announce it as a required field. This property\nworks only for accessibility purposes, it will not prevent the form from\nsubmitting if the value is invalid.",
32740
- "docsTags": [],
32741
- "default": "false",
32742
- "values": [
32743
- {
32744
- "type": "boolean"
32745
- }
32746
- ],
32747
- "optional": false,
32748
- "required": false
32749
- },
32750
32734
  {
32751
32735
  "name": "value",
32752
32736
  "type": "null | string | undefined",
@@ -475,20 +475,20 @@ const Content = class {
475
475
  const forceOverscroll = this.shouldForceOverscroll();
476
476
  const transitionShadow = mode === 'ios';
477
477
  this.resize();
478
- return (h(Host, Object.assign({ key: 'e3241b81c97aa6187c43397006fd1136e8c7a1b5', role: isMainContent ? 'main' : undefined, class: createColorClasses(this.color, {
478
+ return (h(Host, Object.assign({ key: 'f2a24aa66dbf5c76f9d4b06f708eb73cadc239df', role: isMainContent ? 'main' : undefined, class: createColorClasses(this.color, {
479
479
  [mode]: true,
480
480
  'content-sizing': hostContext('ion-popover', this.el),
481
481
  overscroll: forceOverscroll,
482
482
  [`content-${rtl}`]: true,
483
- }), tabIndex: '0', style: {
483
+ }), style: {
484
484
  '--offset-top': `${this.cTop}px`,
485
485
  '--offset-bottom': `${this.cBottom}px`,
486
- } }, inheritedAttributes), h("div", { key: 'b2e0837fd5cb59de4306bf1ea7b115f4fd43f6f9', ref: (el) => (this.backgroundContentEl = el), id: "background-content", part: "background" }), fixedSlotPlacement === 'before' ? h("slot", { name: "fixed" }) : null, h("div", { key: 'b66cfe79487ba5a6b06da1580514c7406f2293c9', class: {
486
+ } }, inheritedAttributes), h("div", { key: '6480ca7648b278abb36477b3838bccbcd4995e2a', ref: (el) => (this.backgroundContentEl = el), id: "background-content", part: "background" }), fixedSlotPlacement === 'before' ? h("slot", { name: "fixed" }) : null, h("div", { key: '29a23b663f5f0215bb000820c01e1814c0d55985', class: {
487
487
  'inner-scroll': true,
488
488
  'scroll-x': scrollX,
489
489
  'scroll-y': scrollY,
490
490
  overscroll: (scrollX || scrollY) && forceOverscroll,
491
- }, ref: (scrollEl) => (this.scrollEl = scrollEl), onScroll: this.scrollEvents ? (ev) => this.onScroll(ev) : undefined, part: "scroll" }, h("slot", { key: '30ae38ae7d5dc407af5cd432e577a8013996e523' })), transitionShadow ? (h("div", { class: "transition-effect" }, h("div", { class: "transition-cover" }), h("div", { class: "transition-shadow" }))) : null, fixedSlotPlacement === 'after' ? h("slot", { name: "fixed" }) : null));
491
+ }, ref: (scrollEl) => (this.scrollEl = scrollEl), onScroll: this.scrollEvents ? (ev) => this.onScroll(ev) : undefined, part: "scroll" }, h("slot", { key: '0fe1bd05609a4b88ae2ce9addf5d5dc5dc1806f0' })), transitionShadow ? (h("div", { class: "transition-effect" }, h("div", { class: "transition-cover" }), h("div", { class: "transition-shadow" }))) : null, fixedSlotPlacement === 'after' ? h("slot", { name: "fixed" }) : null));
492
492
  }
493
493
  get el() { return getElement(this); }
494
494
  };
@@ -60,7 +60,6 @@ const Checkbox = class {
60
60
  this.labelPlacement = 'start';
61
61
  this.justify = undefined;
62
62
  this.alignment = undefined;
63
- this.required = false;
64
63
  }
65
64
  componentWillLoad() {
66
65
  this.inheritedAttributes = Object.assign({}, inheritAriaAttributes(this.el));
@@ -72,11 +71,11 @@ const Checkbox = class {
72
71
  }
73
72
  }
74
73
  render() {
75
- const { color, checked, disabled, el, getSVGPath, indeterminate, inheritedAttributes, inputId, justify, labelPlacement, name, value, alignment, required, } = this;
74
+ const { color, checked, disabled, el, getSVGPath, indeterminate, inheritedAttributes, inputId, justify, labelPlacement, name, value, alignment, } = this;
76
75
  const mode = getIonMode(this);
77
76
  const path = getSVGPath(mode, indeterminate);
78
77
  renderHiddenInput(true, el, name, checked ? value : '', disabled);
79
- return (h(Host, { key: '07a5884062dd256b570e856270c74a5a09d2f2a5', "aria-checked": indeterminate ? 'mixed' : `${checked}`, class: createColorClasses(color, {
78
+ return (h(Host, { key: '6dc787e1100521d08c4900104e1a3e2f594e919f', "aria-checked": indeterminate ? 'mixed' : `${checked}`, class: createColorClasses(color, {
80
79
  [mode]: true,
81
80
  'in-item': hostContext('ion-item', el),
82
81
  'checkbox-checked': checked,
@@ -86,10 +85,10 @@ const Checkbox = class {
86
85
  [`checkbox-justify-${justify}`]: justify !== undefined,
87
86
  [`checkbox-alignment-${alignment}`]: alignment !== undefined,
88
87
  [`checkbox-label-placement-${labelPlacement}`]: true,
89
- }), onClick: this.onClick }, h("label", { key: '3439d546e8b60187421db698eab63a0bdd31c973', class: "checkbox-wrapper" }, h("input", Object.assign({ key: '9f45cf7dbdedcf01ec132c11e16979adb1aa102f', type: "checkbox", checked: checked ? true : undefined, disabled: disabled, id: inputId, onChange: this.toggleChecked, onFocus: () => this.onFocus(), onBlur: () => this.onBlur(), ref: (focusEl) => (this.focusEl = focusEl), required: required }, inheritedAttributes)), h("div", { key: '4e882f98939cc4b7c7ab7459c751d3f4bb2023fe', class: {
88
+ }), onClick: this.onClick }, h("label", { key: '68222fb736a5ec3f2e488649b0e2ce0417dcb224', class: "checkbox-wrapper" }, h("input", Object.assign({ key: 'f12962d7e9b19c744cfdbdeccc67ae7f5d080281', type: "checkbox", checked: checked ? true : undefined, disabled: disabled, id: inputId, onChange: this.toggleChecked, onFocus: () => this.onFocus(), onBlur: () => this.onBlur(), ref: (focusEl) => (this.focusEl = focusEl) }, inheritedAttributes)), h("div", { key: 'c72df2699414b1e5a41a1bc267bc634f0c93dcff', class: {
90
89
  'label-text-wrapper': true,
91
90
  'label-text-wrapper-hidden': el.textContent === '',
92
- }, part: "label" }, h("slot", { key: '0abda81297a086d02c4a56af75005547971dfcfe' })), h("div", { key: '36489ea3f48a7d0ec46b77c243f9f253ef5c2b3b', class: "native-wrapper" }, h("svg", { key: '4c53b52f5e93752672a34eb6f180b75fa9af9046', class: "checkbox-icon", viewBox: "0 0 24 24", part: "container" }, path)))));
91
+ }, part: "label" }, h("slot", { key: 'a2a80285178a7e0e3b536fc9ca26b8b444aa4307' })), h("div", { key: 'c2b05e0d1fe8df5dcd72858220b5ff51ecaee4cc', class: "native-wrapper" }, h("svg", { key: 'ee24913fded72258ebd9713654a6dba92a18fcf7', class: "checkbox-icon", viewBox: "0 0 24 24", part: "container" }, path)))));
93
92
  }
94
93
  getSVGPath(mode, indeterminate) {
95
94
  let path = indeterminate ? (h("path", { d: "M6 12L18 12", part: "mark" })) : (h("path", { d: "M5.9,12.5l3.8,3.8l8.8-8.8", part: "mark" }));