@ionic/core 8.2.2-dev.11717796763.1aa87d5c → 8.2.2-dev.11718204308.11b678e2

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 (81) hide show
  1. package/components/checkbox.js +1 -1
  2. package/components/ion-back-button.js +12 -17
  3. package/components/ion-searchbar.js +16 -33
  4. package/components/item.js +1 -1
  5. package/css/core.css.map +1 -1
  6. package/css/display.css.map +1 -1
  7. package/css/float-elements.css.map +1 -1
  8. package/css/global.bundle.css.map +1 -1
  9. package/css/ionic/bundle.ionic.css +1 -1
  10. package/css/ionic/bundle.ionic.css.map +1 -1
  11. package/css/ionic/core.ionic.css +1 -1
  12. package/css/ionic/core.ionic.css.map +1 -1
  13. package/css/ionic/global.bundle.ionic.css +1 -1
  14. package/css/ionic/global.bundle.ionic.css.map +1 -1
  15. package/css/ionic/link.ionic.css.map +1 -1
  16. package/css/ionic/structure.ionic.css.map +1 -1
  17. package/css/ionic/typography.ionic.css +1 -1
  18. package/css/ionic/typography.ionic.css.map +1 -1
  19. package/css/ionic/utils.bundle.ionic.css +1 -1
  20. package/css/ionic/utils.bundle.ionic.css.map +1 -1
  21. package/css/ionic.bundle.css.map +1 -1
  22. package/css/padding.css.map +1 -1
  23. package/css/structure.css.map +1 -1
  24. package/css/text-alignment.css.map +1 -1
  25. package/css/text-transformation.css.map +1 -1
  26. package/css/typography.css.map +1 -1
  27. package/css/utils.bundle.css.map +1 -1
  28. package/dist/cjs/ion-back-button.cjs.entry.js +12 -17
  29. package/dist/cjs/ion-checkbox.cjs.entry.js +1 -1
  30. package/dist/cjs/ion-item_8.cjs.entry.js +1 -1
  31. package/dist/cjs/ion-searchbar.cjs.entry.js +16 -33
  32. package/dist/collection/components/back-button/back-button.js +12 -17
  33. package/dist/collection/components/checkbox/checkbox.ionic.css +95 -202
  34. package/dist/collection/components/input/input.js +1 -1
  35. package/dist/collection/components/item/item.ionic.css +32 -0
  36. package/dist/collection/components/item/test/disabled/item.e2e.js +1 -1
  37. package/dist/collection/components/item/test/states/item.e2e.js +1 -1
  38. package/dist/collection/components/nav/nav.js +1 -1
  39. package/dist/collection/components/router/router.js +2 -2
  40. package/dist/collection/components/router-outlet/router-outlet.js +1 -1
  41. package/dist/collection/components/searchbar/searchbar.js +17 -33
  42. package/dist/collection/index.js +0 -1
  43. package/dist/docs.json +30 -90
  44. package/dist/esm/ion-back-button.entry.js +12 -17
  45. package/dist/esm/ion-checkbox.entry.js +1 -1
  46. package/dist/esm/ion-item_8.entry.js +1 -1
  47. package/dist/esm/ion-searchbar.entry.js +16 -33
  48. package/dist/esm-es5/ion-back-button.entry.js +1 -1
  49. package/dist/esm-es5/ion-checkbox.entry.js +1 -1
  50. package/dist/esm-es5/ion-item_8.entry.js +1 -1
  51. package/dist/esm-es5/ion-searchbar.entry.js +1 -1
  52. package/dist/fonts/Inter-VariableFont_slnt,wght.ttf +0 -0
  53. package/dist/html.html-data.json +14 -14
  54. package/dist/ionic/ionic.esm.js +1 -1
  55. package/dist/ionic/p-12c07c03.system.entry.js +4 -0
  56. package/dist/ionic/p-2fdc82b4.entry.js +4 -0
  57. package/dist/ionic/p-30b49657.system.entry.js +4 -0
  58. package/dist/ionic/p-3c6eae03.system.entry.js +4 -0
  59. package/dist/ionic/p-7b590e46.system.js +1 -1
  60. package/dist/ionic/p-89efe86f.entry.js +4 -0
  61. package/dist/ionic/p-bedf240b.entry.js +4 -0
  62. package/dist/ionic/p-cce8c245.entry.js +4 -0
  63. package/dist/ionic/p-cdc9a11c.system.entry.js +4 -0
  64. package/dist/types/index.d.ts +0 -1
  65. package/dist/types/utils/platform.d.ts +2 -2
  66. package/hydrate/index.js +30 -52
  67. package/package.json +1 -2
  68. package/components/ghost-duotone.js +0 -6
  69. package/dist/cjs/ghost-duotone-cd930d5c.js +0 -8
  70. package/dist/esm/ghost-duotone-157f18b8.js +0 -6
  71. package/dist/esm-es5/ghost-duotone-157f18b8.js +0 -4
  72. package/dist/ionic/p-1a5d178f.entry.js +0 -4
  73. package/dist/ionic/p-22388c4d.entry.js +0 -4
  74. package/dist/ionic/p-25732faa.system.entry.js +0 -4
  75. package/dist/ionic/p-2efee8e9.entry.js +0 -4
  76. package/dist/ionic/p-3c93f058.system.entry.js +0 -4
  77. package/dist/ionic/p-3df9b7f5.js +0 -4
  78. package/dist/ionic/p-5436c152.system.entry.js +0 -4
  79. package/dist/ionic/p-5b5f7a34.entry.js +0 -4
  80. package/dist/ionic/p-b8ce15f6.system.entry.js +0 -4
  81. package/dist/ionic/p-c859a8da.system.js +0 -4
@@ -6,7 +6,7 @@ import { configs, test } from "../../../../utils/test/playwright/index";
6
6
  /**
7
7
  * This behavior does not vary across directions
8
8
  */
9
- configs({ directions: ['ltr'] }).forEach(({ title, screenshot, config }) => {
9
+ configs({ modes: ['ionic-md', 'ios', 'md'], directions: ['ltr'] }).forEach(({ title, screenshot, config }) => {
10
10
  test.describe(title('item: states'), () => {
11
11
  test('should not have visual regressions', async ({ page }) => {
12
12
  await page.goto(`/src/components/item/test/states`, config);
@@ -1576,7 +1576,7 @@ export class Nav {
1576
1576
  "docs": "The component params."
1577
1577
  }, {
1578
1578
  "name": "direction",
1579
- "type": "\"root\" | \"forward\" | \"back\"",
1579
+ "type": "\"root\" | \"back\" | \"forward\"",
1580
1580
  "docs": "A direction hint."
1581
1581
  }, {
1582
1582
  "name": "animation",
@@ -387,7 +387,7 @@ export class Router {
387
387
  "docs": "The path to navigate to."
388
388
  }, {
389
389
  "name": "direction",
390
- "type": "\"root\" | \"forward\" | \"back\"",
390
+ "type": "\"root\" | \"back\" | \"forward\"",
391
391
  "docs": "The direction of the animation. Defaults to `\"forward\"`."
392
392
  }, {
393
393
  "name": "animation",
@@ -465,7 +465,7 @@ export class Router {
465
465
  "signature": "(direction: RouterDirection) => Promise<boolean>",
466
466
  "parameters": [{
467
467
  "name": "direction",
468
- "type": "\"root\" | \"forward\" | \"back\"",
468
+ "type": "\"root\" | \"back\" | \"forward\"",
469
469
  "docs": ""
470
470
  }],
471
471
  "references": {
@@ -421,7 +421,7 @@ export class RouterOutlet {
421
421
  "docs": ""
422
422
  }, {
423
423
  "name": "direction",
424
- "type": "\"root\" | \"forward\" | \"back\"",
424
+ "type": "\"root\" | \"back\" | \"forward\"",
425
425
  "docs": ""
426
426
  }, {
427
427
  "name": "animation",
@@ -1,8 +1,6 @@
1
1
  /*!
2
2
  * (C) Ionic http://ionicframework.com - MIT License
3
3
  */
4
- import ghostDuotone from "@phosphor-icons/core/assets/duotone/ghost-duotone.svg";
5
- import backspace from "@phosphor-icons/core/assets/regular/backspace.svg";
6
4
  import { Host, forceUpdate, h } from "@stencil/core";
7
5
  import { debounceEvent, raf, componentOnReady, inheritAttributes } from "../../utils/helpers";
8
6
  import { isRTL } from "../../utils/rtl/index";
@@ -383,20 +381,13 @@ export class Searchbar {
383
381
  * @returns {string} The icon to use for the clear icon.
384
382
  */
385
383
  get searchbarClearIcon() {
386
- // Return the icon if it is explicitly set
387
- if (this.clearIcon) {
388
- return this.clearIcon;
389
- }
390
- // Determine the theme and map to default icons
391
384
  const theme = getIonTheme(this);
392
- const defaultIcons = {
393
- ios: closeCircle,
394
- ionic: backspace,
395
- md: closeSharp,
396
- };
397
- // Get the default icon based on the theme, falling back to 'md' icon if necessary
398
- const defaultIcon = defaultIcons[theme] || defaultIcons.md;
399
- // Return the configured searchbar clear icon or the default icon
385
+ const icon = this.clearIcon;
386
+ const defaultIcon = theme === 'ios' ? closeCircle : closeSharp;
387
+ if (icon !== undefined) {
388
+ // Icon is set on the component.
389
+ return icon;
390
+ }
400
391
  return config.get('searchbarClearIcon', defaultIcon);
401
392
  }
402
393
  /**
@@ -408,20 +399,13 @@ export class Searchbar {
408
399
  * @returns {string} The icon to use for the search icon.
409
400
  */
410
401
  get searchbarSearchIcon() {
411
- // Return the icon if it is explicitly set
412
- if (this.searchIcon) {
413
- return this.searchIcon;
414
- }
415
- // Determine the theme and map to default icons
416
402
  const theme = getIonTheme(this);
417
- const defaultIcons = {
418
- ios: searchOutline,
419
- ionic: ghostDuotone,
420
- md: searchSharp,
421
- };
422
- // Get the default icon based on the theme, falling back to 'md' icon if necessary
423
- const defaultIcon = defaultIcons[theme] || defaultIcons.md;
424
- // Return the configured searchbar search icon or the default icon
403
+ const icon = this.searchIcon;
404
+ const defaultIcon = theme === 'ios' ? searchOutline : searchSharp;
405
+ if (icon !== undefined) {
406
+ // Icon is set on the component.
407
+ return icon;
408
+ }
425
409
  return config.get('searchbarSearchIcon', defaultIcon);
426
410
  }
427
411
  render() {
@@ -437,8 +421,8 @@ export class Searchbar {
437
421
  * icon in sync.
438
422
  */
439
423
  const searchbarCancelIcon = (_a = this.cancelButtonIcon) !== null && _a !== void 0 ? _a : config.get('searchbarCancelIcon', config.get('backButtonIcon', arrowBackSharp));
440
- const cancelButton = this.showCancelButton !== 'never' && (h("button", { key: '1325b5d3cd50fde86f2d5631d9d7dcd53c656cc3', "aria-label": cancelButtonText, "aria-hidden": shouldShowCancelButton ? undefined : 'true', type: "button", tabIndex: theme === 'ios' && !shouldShowCancelButton ? -1 : undefined, onMouseDown: this.onCancelSearchbar, onTouchStart: this.onCancelSearchbar, class: "searchbar-cancel-button" }, h("div", { key: '05b21511f6f0a8f13b6bdb52e4197b550e3a224c', "aria-hidden": "true" }, theme === 'md' ? (h("ion-icon", { "aria-hidden": "true", icon: searchbarCancelIcon, lazy: false })) : (cancelButtonText))));
441
- return (h(Host, { key: '8c83e95c9331195f271ee3878b56331cc55b246d', role: "search", "aria-disabled": this.disabled ? 'true' : null, class: createColorClasses(this.color, {
424
+ const cancelButton = this.showCancelButton !== 'never' && (h("button", { key: '0f2eba25249738e27c3034c7eec7115923750f81', "aria-label": cancelButtonText, "aria-hidden": shouldShowCancelButton ? undefined : 'true', type: "button", tabIndex: theme === 'ios' && !shouldShowCancelButton ? -1 : undefined, onMouseDown: this.onCancelSearchbar, onTouchStart: this.onCancelSearchbar, class: "searchbar-cancel-button" }, h("div", { key: '6681fbb58ef02f92921f323a72811fc9944a8bc5', "aria-hidden": "true" }, theme === 'md' ? (h("ion-icon", { "aria-hidden": "true", icon: searchbarCancelIcon, lazy: false })) : (cancelButtonText))));
425
+ return (h(Host, { key: 'a3096793c67003c9877e82c84f1a3322f0f7dd43', role: "search", "aria-disabled": this.disabled ? 'true' : null, class: createColorClasses(this.color, {
442
426
  [theme]: true,
443
427
  'searchbar-animated': animated,
444
428
  'searchbar-disabled': this.disabled,
@@ -448,14 +432,14 @@ export class Searchbar {
448
432
  'searchbar-has-focus': this.focused,
449
433
  'searchbar-should-show-clear': this.shouldShowClearButton(),
450
434
  'searchbar-should-show-cancel': this.shouldShowCancelButton(),
451
- }) }, h("div", { key: 'af3619276aff948d14b4db312b558b191efdab75', class: "searchbar-input-container" }, h("input", Object.assign({ key: '8e00bddb2c1e7a51548d7887161c375ed3a064d9', "aria-label": "search text", disabled: this.disabled, ref: (el) => (this.nativeInput = el), class: "searchbar-input", inputMode: this.inputmode, enterKeyHint: this.enterkeyhint, name: this.name, onInput: this.onInput, onChange: this.onChange, onBlur: this.onBlur, onFocus: this.onFocus, minLength: this.minlength, maxLength: this.maxlength, placeholder: this.placeholder, type: this.type, value: this.getValue(), autoCapitalize: autocapitalize === 'default' ? undefined : autocapitalize, autoComplete: this.autocomplete, autoCorrect: this.autocorrect, spellcheck: this.spellcheck }, this.inheritedAttributes)), theme === 'md' && cancelButton, h("ion-icon", { key: '7823dc3661a5ddc45c84f801e74b12d5b85dee1b', "aria-hidden": "true", icon: searchbarSearchIcon, lazy: false, class: "searchbar-search-icon" }), h("button", { key: '02a1492e69abe727e795590648590d2af2249907', "aria-label": "reset", type: "button", "no-blur": true, class: "searchbar-clear-button", onPointerDown: (ev) => {
435
+ }) }, h("div", { key: '1a7b5e5c5b0b833f09b338695277c6b5cafc2821', class: "searchbar-input-container" }, h("input", Object.assign({ key: '83d441c6380d96768da82a67c695ecc04ed3f8d1', "aria-label": "search text", disabled: this.disabled, ref: (el) => (this.nativeInput = el), class: "searchbar-input", inputMode: this.inputmode, enterKeyHint: this.enterkeyhint, name: this.name, onInput: this.onInput, onChange: this.onChange, onBlur: this.onBlur, onFocus: this.onFocus, minLength: this.minlength, maxLength: this.maxlength, placeholder: this.placeholder, type: this.type, value: this.getValue(), autoCapitalize: autocapitalize === 'default' ? undefined : autocapitalize, autoComplete: this.autocomplete, autoCorrect: this.autocorrect, spellcheck: this.spellcheck }, this.inheritedAttributes)), theme === 'md' && cancelButton, h("ion-icon", { key: '5505461cd3fef4bcd758cbe8e1c36afa2e0c207b', "aria-hidden": "true", icon: searchbarSearchIcon, lazy: false, class: "searchbar-search-icon" }), h("button", { key: '9b8c98830670a64abb5b40f8889a1acc7bc87651', "aria-label": "reset", type: "button", "no-blur": true, class: "searchbar-clear-button", onPointerDown: (ev) => {
452
436
  /**
453
437
  * This prevents mobile browsers from
454
438
  * blurring the input when the clear
455
439
  * button is activated.
456
440
  */
457
441
  ev.preventDefault();
458
- }, onClick: () => this.onClearInput(true) }, h("ion-icon", { key: '6eccaa09b92b263d825cc0cd1918168a8bcfc151', "aria-hidden": "true", icon: searchbarClearIcon, lazy: false, class: "searchbar-clear-icon" }))), theme === 'ios' && cancelButton));
442
+ }, onClick: () => this.onClearInput(true) }, h("ion-icon", { key: 'f729feadcdbe5bf4511358d2cc8eb531c353982f', "aria-hidden": "true", icon: searchbarClearIcon, lazy: false, class: "searchbar-clear-icon" }))), theme === 'ios' && cancelButton));
459
443
  }
460
444
  static get is() { return "ion-searchbar"; }
461
445
  static get encapsulation() { return "scoped"; }
@@ -539,7 +523,7 @@ export class Searchbar {
539
523
  "mutable": false,
540
524
  "complexType": {
541
525
  "original": "AutocompleteTypes",
542
- "resolved": "\"name\" | \"email\" | \"country\" | \"on\" | \"off\" | \"tel\" | \"url\" | \"honorific-prefix\" | \"given-name\" | \"additional-name\" | \"family-name\" | \"honorific-suffix\" | \"nickname\" | \"username\" | \"new-password\" | \"current-password\" | \"one-time-code\" | \"organization-title\" | \"organization\" | \"street-address\" | \"address-line1\" | \"address-line2\" | \"address-line3\" | \"address-level4\" | \"address-level3\" | \"address-level2\" | \"address-level1\" | \"country-name\" | \"postal-code\" | \"cc-name\" | \"cc-given-name\" | \"cc-additional-name\" | \"cc-family-name\" | \"cc-number\" | \"cc-exp\" | \"cc-exp-month\" | \"cc-exp-year\" | \"cc-csc\" | \"cc-type\" | \"transaction-currency\" | \"transaction-amount\" | \"language\" | \"bday\" | \"bday-day\" | \"bday-month\" | \"bday-year\" | \"sex\" | \"tel-country-code\" | \"tel-national\" | \"tel-area-code\" | \"tel-local\" | \"tel-extension\" | \"impp\" | \"photo\"",
526
+ "resolved": "\"name\" | \"email\" | \"tel\" | \"url\" | \"on\" | \"off\" | \"honorific-prefix\" | \"given-name\" | \"additional-name\" | \"family-name\" | \"honorific-suffix\" | \"nickname\" | \"username\" | \"new-password\" | \"current-password\" | \"one-time-code\" | \"organization-title\" | \"organization\" | \"street-address\" | \"address-line1\" | \"address-line2\" | \"address-line3\" | \"address-level4\" | \"address-level3\" | \"address-level2\" | \"address-level1\" | \"country\" | \"country-name\" | \"postal-code\" | \"cc-name\" | \"cc-given-name\" | \"cc-additional-name\" | \"cc-family-name\" | \"cc-number\" | \"cc-exp\" | \"cc-exp-month\" | \"cc-exp-year\" | \"cc-csc\" | \"cc-type\" | \"transaction-currency\" | \"transaction-amount\" | \"language\" | \"bday\" | \"bday-day\" | \"bday-month\" | \"bday-year\" | \"sex\" | \"tel-country-code\" | \"tel-national\" | \"tel-area-code\" | \"tel-local\" | \"tel-extension\" | \"impp\" | \"photo\"",
543
527
  "references": {
544
528
  "AutocompleteTypes": {
545
529
  "location": "import",
@@ -2,7 +2,6 @@
2
2
  * (C) Ionic http://ionicframework.com - MIT License
3
3
  */
4
4
  import "ionicons";
5
- import "@phosphor-icons/core";
6
5
  export { createAnimation } from './utils/animation/animation';
7
6
  export { getIonPageElement } from './utils/transition';
8
7
  export { iosTransitionAnimation } from './utils/transition/ios.transition';
package/dist/docs.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "timestamp": "2024-06-07T21:48:54",
2
+ "timestamp": "2024-06-12T15:01:19",
3
3
  "compiler": {
4
4
  "name": "@stencil/core",
5
5
  "version": "4.18.3",
@@ -7435,12 +7435,6 @@
7435
7435
  ],
7436
7436
  "listeners": [],
7437
7437
  "styles": [
7438
- {
7439
- "name": "--border-color",
7440
- "annotation": "prop",
7441
- "docs": "Border color of the checkbox icon",
7442
- "mode": "ionic"
7443
- },
7444
7438
  {
7445
7439
  "name": "--border-color",
7446
7440
  "annotation": "prop",
@@ -7453,12 +7447,6 @@
7453
7447
  "docs": "Border color of the checkbox icon",
7454
7448
  "mode": "md"
7455
7449
  },
7456
- {
7457
- "name": "--border-color-checked",
7458
- "annotation": "prop",
7459
- "docs": "Border color of the checkbox icon when checked",
7460
- "mode": "ionic"
7461
- },
7462
7450
  {
7463
7451
  "name": "--border-color-checked",
7464
7452
  "annotation": "prop",
@@ -7471,12 +7459,6 @@
7471
7459
  "docs": "Border color of the checkbox icon when checked",
7472
7460
  "mode": "md"
7473
7461
  },
7474
- {
7475
- "name": "--border-radius",
7476
- "annotation": "prop",
7477
- "docs": "Border radius of the checkbox icon",
7478
- "mode": "ionic"
7479
- },
7480
7462
  {
7481
7463
  "name": "--border-radius",
7482
7464
  "annotation": "prop",
@@ -7489,12 +7471,6 @@
7489
7471
  "docs": "Border radius of the checkbox icon",
7490
7472
  "mode": "md"
7491
7473
  },
7492
- {
7493
- "name": "--border-style",
7494
- "annotation": "prop",
7495
- "docs": "Border style of the checkbox icon",
7496
- "mode": "ionic"
7497
- },
7498
7474
  {
7499
7475
  "name": "--border-style",
7500
7476
  "annotation": "prop",
@@ -7507,12 +7483,6 @@
7507
7483
  "docs": "Border style of the checkbox icon",
7508
7484
  "mode": "md"
7509
7485
  },
7510
- {
7511
- "name": "--border-width",
7512
- "annotation": "prop",
7513
- "docs": "Border width of the checkbox icon",
7514
- "mode": "ionic"
7515
- },
7516
7486
  {
7517
7487
  "name": "--border-width",
7518
7488
  "annotation": "prop",
@@ -7525,12 +7495,6 @@
7525
7495
  "docs": "Border width of the checkbox icon",
7526
7496
  "mode": "md"
7527
7497
  },
7528
- {
7529
- "name": "--checkbox-background",
7530
- "annotation": "prop",
7531
- "docs": "Background of the checkbox icon",
7532
- "mode": "ionic"
7533
- },
7534
7498
  {
7535
7499
  "name": "--checkbox-background",
7536
7500
  "annotation": "prop",
@@ -7543,12 +7507,6 @@
7543
7507
  "docs": "Background of the checkbox icon",
7544
7508
  "mode": "md"
7545
7509
  },
7546
- {
7547
- "name": "--checkbox-background-checked",
7548
- "annotation": "prop",
7549
- "docs": "Background of the checkbox icon when checked",
7550
- "mode": "ionic"
7551
- },
7552
7510
  {
7553
7511
  "name": "--checkbox-background-checked",
7554
7512
  "annotation": "prop",
@@ -7561,12 +7519,6 @@
7561
7519
  "docs": "Background of the checkbox icon when checked",
7562
7520
  "mode": "md"
7563
7521
  },
7564
- {
7565
- "name": "--checkmark-color",
7566
- "annotation": "prop",
7567
- "docs": "Color of the checkbox checkmark when checked",
7568
- "mode": "ionic"
7569
- },
7570
7522
  {
7571
7523
  "name": "--checkmark-color",
7572
7524
  "annotation": "prop",
@@ -7579,12 +7531,6 @@
7579
7531
  "docs": "Color of the checkbox checkmark when checked",
7580
7532
  "mode": "md"
7581
7533
  },
7582
- {
7583
- "name": "--checkmark-width",
7584
- "annotation": "prop",
7585
- "docs": "Stroke width of the checkbox checkmark",
7586
- "mode": "ionic"
7587
- },
7588
7534
  {
7589
7535
  "name": "--checkmark-width",
7590
7536
  "annotation": "prop",
@@ -7597,12 +7543,6 @@
7597
7543
  "docs": "Stroke width of the checkbox checkmark",
7598
7544
  "mode": "md"
7599
7545
  },
7600
- {
7601
- "name": "--size",
7602
- "annotation": "prop",
7603
- "docs": "Size of the checkbox icon",
7604
- "mode": "ionic"
7605
- },
7606
7546
  {
7607
7547
  "name": "--size",
7608
7548
  "annotation": "prop",
@@ -7615,12 +7555,6 @@
7615
7555
  "docs": "Size of the checkbox icon",
7616
7556
  "mode": "md"
7617
7557
  },
7618
- {
7619
- "name": "--transition",
7620
- "annotation": "prop",
7621
- "docs": "Transition of the checkbox icon",
7622
- "mode": "ionic"
7623
- },
7624
7558
  {
7625
7559
  "name": "--transition",
7626
7560
  "annotation": "prop",
@@ -13129,10 +13063,10 @@
13129
13063
  },
13130
13064
  {
13131
13065
  "name": "autocomplete",
13132
- "type": "\"name\" | \"email\" | \"country\" | \"on\" | \"off\" | \"tel\" | \"url\" | \"honorific-prefix\" | \"given-name\" | \"additional-name\" | \"family-name\" | \"honorific-suffix\" | \"nickname\" | \"username\" | \"new-password\" | \"current-password\" | \"one-time-code\" | \"organization-title\" | \"organization\" | \"street-address\" | \"address-line1\" | \"address-line2\" | \"address-line3\" | \"address-level4\" | \"address-level3\" | \"address-level2\" | \"address-level1\" | \"country-name\" | \"postal-code\" | \"cc-name\" | \"cc-given-name\" | \"cc-additional-name\" | \"cc-family-name\" | \"cc-number\" | \"cc-exp\" | \"cc-exp-month\" | \"cc-exp-year\" | \"cc-csc\" | \"cc-type\" | \"transaction-currency\" | \"transaction-amount\" | \"language\" | \"bday\" | \"bday-day\" | \"bday-month\" | \"bday-year\" | \"sex\" | \"tel-country-code\" | \"tel-national\" | \"tel-area-code\" | \"tel-local\" | \"tel-extension\" | \"impp\" | \"photo\"",
13066
+ "type": "\"name\" | \"email\" | \"tel\" | \"url\" | \"on\" | \"off\" | \"honorific-prefix\" | \"given-name\" | \"additional-name\" | \"family-name\" | \"honorific-suffix\" | \"nickname\" | \"username\" | \"new-password\" | \"current-password\" | \"one-time-code\" | \"organization-title\" | \"organization\" | \"street-address\" | \"address-line1\" | \"address-line2\" | \"address-line3\" | \"address-level4\" | \"address-level3\" | \"address-level2\" | \"address-level1\" | \"country\" | \"country-name\" | \"postal-code\" | \"cc-name\" | \"cc-given-name\" | \"cc-additional-name\" | \"cc-family-name\" | \"cc-number\" | \"cc-exp\" | \"cc-exp-month\" | \"cc-exp-year\" | \"cc-csc\" | \"cc-type\" | \"transaction-currency\" | \"transaction-amount\" | \"language\" | \"bday\" | \"bday-day\" | \"bday-month\" | \"bday-year\" | \"sex\" | \"tel-country-code\" | \"tel-national\" | \"tel-area-code\" | \"tel-local\" | \"tel-extension\" | \"impp\" | \"photo\"",
13133
13067
  "complexType": {
13134
13068
  "original": "AutocompleteTypes",
13135
- "resolved": "\"name\" | \"email\" | \"country\" | \"on\" | \"off\" | \"tel\" | \"url\" | \"honorific-prefix\" | \"given-name\" | \"additional-name\" | \"family-name\" | \"honorific-suffix\" | \"nickname\" | \"username\" | \"new-password\" | \"current-password\" | \"one-time-code\" | \"organization-title\" | \"organization\" | \"street-address\" | \"address-line1\" | \"address-line2\" | \"address-line3\" | \"address-level4\" | \"address-level3\" | \"address-level2\" | \"address-level1\" | \"country-name\" | \"postal-code\" | \"cc-name\" | \"cc-given-name\" | \"cc-additional-name\" | \"cc-family-name\" | \"cc-number\" | \"cc-exp\" | \"cc-exp-month\" | \"cc-exp-year\" | \"cc-csc\" | \"cc-type\" | \"transaction-currency\" | \"transaction-amount\" | \"language\" | \"bday\" | \"bday-day\" | \"bday-month\" | \"bday-year\" | \"sex\" | \"tel-country-code\" | \"tel-national\" | \"tel-area-code\" | \"tel-local\" | \"tel-extension\" | \"impp\" | \"photo\"",
13069
+ "resolved": "\"name\" | \"email\" | \"tel\" | \"url\" | \"on\" | \"off\" | \"honorific-prefix\" | \"given-name\" | \"additional-name\" | \"family-name\" | \"honorific-suffix\" | \"nickname\" | \"username\" | \"new-password\" | \"current-password\" | \"one-time-code\" | \"organization-title\" | \"organization\" | \"street-address\" | \"address-line1\" | \"address-line2\" | \"address-line3\" | \"address-level4\" | \"address-level3\" | \"address-level2\" | \"address-level1\" | \"country\" | \"country-name\" | \"postal-code\" | \"cc-name\" | \"cc-given-name\" | \"cc-additional-name\" | \"cc-family-name\" | \"cc-number\" | \"cc-exp\" | \"cc-exp-month\" | \"cc-exp-year\" | \"cc-csc\" | \"cc-type\" | \"transaction-currency\" | \"transaction-amount\" | \"language\" | \"bday\" | \"bday-day\" | \"bday-month\" | \"bday-year\" | \"sex\" | \"tel-country-code\" | \"tel-national\" | \"tel-area-code\" | \"tel-local\" | \"tel-extension\" | \"impp\" | \"photo\"",
13136
13070
  "references": {
13137
13071
  "AutocompleteTypes": {
13138
13072
  "location": "import",
@@ -13157,23 +13091,19 @@
13157
13091
  "type": "string"
13158
13092
  },
13159
13093
  {
13160
- "value": "country",
13161
- "type": "string"
13162
- },
13163
- {
13164
- "value": "on",
13094
+ "value": "tel",
13165
13095
  "type": "string"
13166
13096
  },
13167
13097
  {
13168
- "value": "off",
13098
+ "value": "url",
13169
13099
  "type": "string"
13170
13100
  },
13171
13101
  {
13172
- "value": "tel",
13102
+ "value": "on",
13173
13103
  "type": "string"
13174
13104
  },
13175
13105
  {
13176
- "value": "url",
13106
+ "value": "off",
13177
13107
  "type": "string"
13178
13108
  },
13179
13109
  {
@@ -13256,6 +13186,10 @@
13256
13186
  "value": "address-level1",
13257
13187
  "type": "string"
13258
13188
  },
13189
+ {
13190
+ "value": "country",
13191
+ "type": "string"
13192
+ },
13259
13193
  {
13260
13194
  "value": "country-name",
13261
13195
  "type": "string"
@@ -15563,6 +15497,12 @@
15563
15497
  "docs": "Background of the item",
15564
15498
  "mode": "md"
15565
15499
  },
15500
+ {
15501
+ "name": "--background-activated",
15502
+ "annotation": "prop",
15503
+ "docs": "Background of the item when pressed. Note: setting this will interfere with the Material Design ripple.",
15504
+ "mode": "ionic"
15505
+ },
15566
15506
  {
15567
15507
  "name": "--background-activated",
15568
15508
  "annotation": "prop",
@@ -28909,7 +28849,7 @@
28909
28849
  },
28910
28850
  {
28911
28851
  "name": "direction",
28912
- "type": "\"root\" | \"forward\" | \"back\"",
28852
+ "type": "\"root\" | \"back\" | \"forward\"",
28913
28853
  "docs": "The direction of the animation. Defaults to `\"forward\"`."
28914
28854
  },
28915
28855
  {
@@ -28945,7 +28885,7 @@
28945
28885
  },
28946
28886
  {
28947
28887
  "name": "direction",
28948
- "type": "\"root\" | \"forward\" | \"back\"",
28888
+ "type": "\"root\" | \"back\" | \"forward\"",
28949
28889
  "docs": "The direction of the animation. Defaults to `\"forward\"`."
28950
28890
  },
28951
28891
  {
@@ -29588,10 +29528,10 @@
29588
29528
  },
29589
29529
  {
29590
29530
  "name": "autocomplete",
29591
- "type": "\"name\" | \"email\" | \"country\" | \"on\" | \"off\" | \"tel\" | \"url\" | \"honorific-prefix\" | \"given-name\" | \"additional-name\" | \"family-name\" | \"honorific-suffix\" | \"nickname\" | \"username\" | \"new-password\" | \"current-password\" | \"one-time-code\" | \"organization-title\" | \"organization\" | \"street-address\" | \"address-line1\" | \"address-line2\" | \"address-line3\" | \"address-level4\" | \"address-level3\" | \"address-level2\" | \"address-level1\" | \"country-name\" | \"postal-code\" | \"cc-name\" | \"cc-given-name\" | \"cc-additional-name\" | \"cc-family-name\" | \"cc-number\" | \"cc-exp\" | \"cc-exp-month\" | \"cc-exp-year\" | \"cc-csc\" | \"cc-type\" | \"transaction-currency\" | \"transaction-amount\" | \"language\" | \"bday\" | \"bday-day\" | \"bday-month\" | \"bday-year\" | \"sex\" | \"tel-country-code\" | \"tel-national\" | \"tel-area-code\" | \"tel-local\" | \"tel-extension\" | \"impp\" | \"photo\"",
29531
+ "type": "\"name\" | \"email\" | \"tel\" | \"url\" | \"on\" | \"off\" | \"honorific-prefix\" | \"given-name\" | \"additional-name\" | \"family-name\" | \"honorific-suffix\" | \"nickname\" | \"username\" | \"new-password\" | \"current-password\" | \"one-time-code\" | \"organization-title\" | \"organization\" | \"street-address\" | \"address-line1\" | \"address-line2\" | \"address-line3\" | \"address-level4\" | \"address-level3\" | \"address-level2\" | \"address-level1\" | \"country\" | \"country-name\" | \"postal-code\" | \"cc-name\" | \"cc-given-name\" | \"cc-additional-name\" | \"cc-family-name\" | \"cc-number\" | \"cc-exp\" | \"cc-exp-month\" | \"cc-exp-year\" | \"cc-csc\" | \"cc-type\" | \"transaction-currency\" | \"transaction-amount\" | \"language\" | \"bday\" | \"bday-day\" | \"bday-month\" | \"bday-year\" | \"sex\" | \"tel-country-code\" | \"tel-national\" | \"tel-area-code\" | \"tel-local\" | \"tel-extension\" | \"impp\" | \"photo\"",
29592
29532
  "complexType": {
29593
29533
  "original": "AutocompleteTypes",
29594
- "resolved": "\"name\" | \"email\" | \"country\" | \"on\" | \"off\" | \"tel\" | \"url\" | \"honorific-prefix\" | \"given-name\" | \"additional-name\" | \"family-name\" | \"honorific-suffix\" | \"nickname\" | \"username\" | \"new-password\" | \"current-password\" | \"one-time-code\" | \"organization-title\" | \"organization\" | \"street-address\" | \"address-line1\" | \"address-line2\" | \"address-line3\" | \"address-level4\" | \"address-level3\" | \"address-level2\" | \"address-level1\" | \"country-name\" | \"postal-code\" | \"cc-name\" | \"cc-given-name\" | \"cc-additional-name\" | \"cc-family-name\" | \"cc-number\" | \"cc-exp\" | \"cc-exp-month\" | \"cc-exp-year\" | \"cc-csc\" | \"cc-type\" | \"transaction-currency\" | \"transaction-amount\" | \"language\" | \"bday\" | \"bday-day\" | \"bday-month\" | \"bday-year\" | \"sex\" | \"tel-country-code\" | \"tel-national\" | \"tel-area-code\" | \"tel-local\" | \"tel-extension\" | \"impp\" | \"photo\"",
29534
+ "resolved": "\"name\" | \"email\" | \"tel\" | \"url\" | \"on\" | \"off\" | \"honorific-prefix\" | \"given-name\" | \"additional-name\" | \"family-name\" | \"honorific-suffix\" | \"nickname\" | \"username\" | \"new-password\" | \"current-password\" | \"one-time-code\" | \"organization-title\" | \"organization\" | \"street-address\" | \"address-line1\" | \"address-line2\" | \"address-line3\" | \"address-level4\" | \"address-level3\" | \"address-level2\" | \"address-level1\" | \"country\" | \"country-name\" | \"postal-code\" | \"cc-name\" | \"cc-given-name\" | \"cc-additional-name\" | \"cc-family-name\" | \"cc-number\" | \"cc-exp\" | \"cc-exp-month\" | \"cc-exp-year\" | \"cc-csc\" | \"cc-type\" | \"transaction-currency\" | \"transaction-amount\" | \"language\" | \"bday\" | \"bday-day\" | \"bday-month\" | \"bday-year\" | \"sex\" | \"tel-country-code\" | \"tel-national\" | \"tel-area-code\" | \"tel-local\" | \"tel-extension\" | \"impp\" | \"photo\"",
29595
29535
  "references": {
29596
29536
  "AutocompleteTypes": {
29597
29537
  "location": "import",
@@ -29616,23 +29556,19 @@
29616
29556
  "type": "string"
29617
29557
  },
29618
29558
  {
29619
- "value": "country",
29620
- "type": "string"
29621
- },
29622
- {
29623
- "value": "on",
29559
+ "value": "tel",
29624
29560
  "type": "string"
29625
29561
  },
29626
29562
  {
29627
- "value": "off",
29563
+ "value": "url",
29628
29564
  "type": "string"
29629
29565
  },
29630
29566
  {
29631
- "value": "tel",
29567
+ "value": "on",
29632
29568
  "type": "string"
29633
29569
  },
29634
29570
  {
29635
- "value": "url",
29571
+ "value": "off",
29636
29572
  "type": "string"
29637
29573
  },
29638
29574
  {
@@ -29715,6 +29651,10 @@
29715
29651
  "value": "address-level1",
29716
29652
  "type": "string"
29717
29653
  },
29654
+ {
29655
+ "value": "country",
29656
+ "type": "string"
29657
+ },
29718
29658
  {
29719
29659
  "value": "country-name",
29720
29660
  "type": "string"
@@ -39080,7 +39020,7 @@
39080
39020
  "path": "src/components/picker/picker-interfaces.ts"
39081
39021
  },
39082
39022
  "src/components/spinner/spinner-configs.ts::SpinnerTypes": {
39083
- "declaration": "\"dots\" | \"circles\" | \"lines\" | \"bubbles\" | \"circular\" | \"crescent\" | \"lines-small\" | \"lines-sharp\" | \"lines-sharp-small\"",
39023
+ "declaration": "\"bubbles\" | \"circles\" | \"circular\" | \"crescent\" | \"dots\" | \"lines\" | \"lines-small\" | \"lines-sharp\" | \"lines-sharp-small\"",
39084
39024
  "docstring": "",
39085
39025
  "path": "src/components/spinner/spinner-configs.ts"
39086
39026
  },
@@ -2,7 +2,6 @@
2
2
  * (C) Ionic http://ionicframework.com - MIT License
3
3
  */
4
4
  import { r as registerInstance, h, i as Host, g as getElement } from './index-3321c202.js';
5
- import { g as ghostDuotoneSvg } from './ghost-duotone-157f18b8.js';
6
5
  import { i as inheritAriaAttributes } from './helpers-da915de8.js';
7
6
  import { o as openURL, c as createColorClasses, h as hostContext } from './theme-01f3f29c.js';
8
7
  import { c as chevronBack, a as arrowBackSharp } from './index-e2cf2ceb.js';
@@ -44,21 +43,17 @@ const BackButton = class {
44
43
  }
45
44
  }
46
45
  get backButtonIcon() {
47
- // Return the icon if it is explicitly set
48
- if (this.icon) {
49
- return this.icon;
46
+ const icon = this.icon;
47
+ if (icon != null) {
48
+ // Icon is set on the component or by the config.
49
+ return icon;
50
50
  }
51
- // Determine the theme and map to default icons
52
- const theme = getIonTheme(this);
53
- const defaultIcons = {
54
- ios: chevronBack,
55
- ionic: ghostDuotoneSvg,
56
- md: arrowBackSharp,
57
- };
58
- // Get the default icon based on the theme, falling back to 'md' icon if necessary
59
- const defaultIcon = defaultIcons[theme] || defaultIcons.md;
60
- // Return the configured back button icon or the default icon
61
- return config.get('backButtonIcon', defaultIcon);
51
+ if (getIonTheme(this) === 'ios') {
52
+ // default ios back button icon
53
+ return config.get('backButtonIcon', chevronBack);
54
+ }
55
+ // default md back button icon
56
+ return config.get('backButtonIcon', arrowBackSharp);
62
57
  }
63
58
  get backButtonText() {
64
59
  const defaultBackButtonText = getIonTheme(this) === 'ios' ? 'Back' : null;
@@ -80,7 +75,7 @@ const BackButton = class {
80
75
  const showBackButton = defaultHref !== undefined;
81
76
  const theme = getIonTheme(this);
82
77
  const ariaLabel = inheritedAttributes['aria-label'] || backButtonText || 'back';
83
- return (h(Host, { key: '2312557fad91c04bc77bc79feb55dc83e7820429', onClick: this.onClick, class: createColorClasses(color, {
78
+ return (h(Host, { key: '2a5ed71efffb6cad9e0d2182cfa77f291a6e044b', onClick: this.onClick, class: createColorClasses(color, {
84
79
  [theme]: true,
85
80
  button: true, // ion-buttons target .button
86
81
  'back-button-disabled': disabled,
@@ -90,7 +85,7 @@ const BackButton = class {
90
85
  'ion-activatable': true,
91
86
  'ion-focusable': true,
92
87
  'show-back-button': showBackButton,
93
- }) }, h("button", { key: '309ba8ef79ac364a065a69aa9df9980b0acc9ce0', type: type, disabled: disabled, class: "button-native", part: "native", "aria-label": ariaLabel }, h("span", { key: 'c1aabce609fd6a6d4474bd2a76a011c461b5f5f8', class: "button-inner" }, backButtonIcon && (h("ion-icon", { key: 'f372b3d13faaa5c2e2f5b1a6c4468c708176cf27', part: "icon", icon: backButtonIcon, "aria-hidden": "true", lazy: false, "flip-rtl": icon === undefined })), backButtonText && (h("span", { key: '4cfa2579dbb36b85cfd30a17ab2c93fdeef621dc', part: "text", "aria-hidden": "true", class: "button-text" }, backButtonText))), theme === 'md' && h("ion-ripple-effect", { key: '1a18479d6c3130cf19188f1422639f953724c913', type: this.rippleType }))));
88
+ }) }, h("button", { key: 'e380bfec2ce8c6bf8da3029183a2533d15c67393', type: type, disabled: disabled, class: "button-native", part: "native", "aria-label": ariaLabel }, h("span", { key: '7e9092d5ef0761488d573ded9bf5fee893400c7d', class: "button-inner" }, backButtonIcon && (h("ion-icon", { key: '35e43b83a2776f2339700850f2b28ccb81dbc8bf', part: "icon", icon: backButtonIcon, "aria-hidden": "true", lazy: false, "flip-rtl": icon === undefined })), backButtonText && (h("span", { key: '8a448be4ee9074d973ab1eafab3e423f86a0cb0d', part: "text", "aria-hidden": "true", class: "button-text" }, backButtonText))), theme === 'md' && h("ion-ripple-effect", { key: '9ed811f7cb7fb1111b1242a6156582acceea4b98', type: this.rippleType }))));
94
89
  }
95
90
  get el() { return getElement(this); }
96
91
  };
@@ -6,7 +6,7 @@ import { i as inheritAriaAttributes, d as renderHiddenInput } from './helpers-da
6
6
  import { c as createColorClasses, h as hostContext } from './theme-01f3f29c.js';
7
7
  import { d as getIonTheme } from './ionic-global-be8fa30a.js';
8
8
 
9
- const checkboxIonicCss = ":host{--checkbox-background-checked:var(--ion-color-primary, #0054e9);--border-color-checked:var(--ion-color-primary, #0054e9);--checkmark-color:var(--ion-color-primary-contrast, #fff);--transition:none;display:inline-block;position:relative;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:2}:host(.in-item){-ms-flex:1 1 0px;flex:1 1 0;width:100%;height:100%}:host([slot=start]),:host([slot=end]){-ms-flex:initial;flex:initial;width:auto}:host(.ion-color){--checkbox-background-checked:var(--ion-color-base);--border-color-checked:var(--ion-color-base);--checkmark-color:var(--ion-color-contrast)}.checkbox-wrapper{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;height:inherit;cursor:inherit}.label-text-wrapper{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}:host(.in-item) .label-text-wrapper{margin-top:10px;margin-bottom:10px}:host(.in-item.checkbox-label-placement-stacked) .label-text-wrapper{margin-top:10px;margin-bottom:16px}:host(.in-item.checkbox-label-placement-stacked) .native-wrapper{margin-bottom:10px}.label-text-wrapper-hidden{display:none}input{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;margin:0;padding:0;border:0;outline:0;opacity:0;overflow:hidden;clip:rect(0 0 0 0);-webkit-appearance:none;-moz-appearance:none}.native-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.checkbox-icon{border-radius:var(--border-radius);position:relative;width:var(--size);height:var(--size);-webkit-transition:var(--transition);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--checkbox-background);-webkit-box-sizing:border-box;box-sizing:border-box}.checkbox-icon path{fill:none;stroke:var(--checkmark-color);stroke-width:var(--checkmark-width);opacity:0}:host(.checkbox-justify-space-between) .checkbox-wrapper{-ms-flex-pack:justify;justify-content:space-between}:host(.checkbox-justify-start) .checkbox-wrapper{-ms-flex-pack:start;justify-content:start}:host(.checkbox-justify-end) .checkbox-wrapper{-ms-flex-pack:end;justify-content:end}:host(.checkbox-alignment-start) .checkbox-wrapper{-ms-flex-align:start;align-items:start}:host(.checkbox-alignment-center) .checkbox-wrapper{-ms-flex-align:center;align-items:center}:host(.checkbox-label-placement-start) .checkbox-wrapper{-ms-flex-direction:row;flex-direction:row}:host(.checkbox-label-placement-start) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.checkbox-label-placement-end) .checkbox-wrapper{-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.checkbox-label-placement-end) .label-text-wrapper{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0}:host(.checkbox-label-placement-fixed) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.checkbox-label-placement-fixed) .label-text-wrapper{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px;max-width:200px}:host(.checkbox-label-placement-stacked) .checkbox-wrapper{-ms-flex-direction:column;flex-direction:column}:host(.checkbox-label-placement-stacked) .label-text-wrapper{-webkit-transform:scale(0.75);transform:scale(0.75);margin-left:0;margin-right:0;margin-bottom:16px;max-width:calc(100% / 0.75)}:host(.checkbox-label-placement-stacked.checkbox-alignment-start) .label-text-wrapper{-webkit-transform-origin:left top;transform-origin:left top}:host-context([dir=rtl]):host(.checkbox-label-placement-stacked.checkbox-alignment-start) .label-text-wrapper,:host-context([dir=rtl]).checkbox-label-placement-stacked.checkbox-alignment-start .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}@supports selector(:dir(rtl)){:host(.checkbox-label-placement-stacked.checkbox-alignment-start:dir(rtl)) .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}}:host(.checkbox-label-placement-stacked.checkbox-alignment-center) .label-text-wrapper{-webkit-transform-origin:center top;transform-origin:center top}:host-context([dir=rtl]):host(.checkbox-label-placement-stacked.checkbox-alignment-center) .label-text-wrapper,:host-context([dir=rtl]).checkbox-label-placement-stacked.checkbox-alignment-center .label-text-wrapper{-webkit-transform-origin:calc(100% - center) top;transform-origin:calc(100% - center) top}@supports selector(:dir(rtl)){:host(.checkbox-label-placement-stacked.checkbox-alignment-center:dir(rtl)) .label-text-wrapper{-webkit-transform-origin:calc(100% - center) top;transform-origin:calc(100% - center) top}}:host(.checkbox-checked) .checkbox-icon,:host(.checkbox-indeterminate) .checkbox-icon{border-color:var(--border-color-checked);background:var(--checkbox-background-checked)}:host(.checkbox-checked) .checkbox-icon path,:host(.checkbox-indeterminate) .checkbox-icon path{opacity:1}:host(.checkbox-disabled){pointer-events:none}:host{--border-radius:calc(var(--size) / 4 - 2px);--border-width:1px;--border-style:solid;--border-color:var(--ion-color-step-400, var(--ion-background-color-step-400, #999999));--checkmark-width:3;--focus-ring-color:#9ec4fd;--focus-ring-width:2px;--focus-ring-offset:2px;--size:24px}:host::after{right:0;left:0;top:50%;position:absolute;height:100%;min-height:48px;-webkit-transform:translateY(-50%);transform:translateY(-50%);content:\"\";cursor:pointer;z-index:1}:host .native-wrapper{position:relative}:host(.checkbox-size-small){--size:16px}:host(.ion-invalid){--focus-ring-color:#ffafaf}:host(.ion-invalid) .checkbox-icon{border-color:#f72c2c}:host(.checkbox-disabled.checkbox-indeterminate) .checkbox-icon{border-width:0;background-color:var(--ion-color-step-600, var(--ion-background-color-step-600, #666666))}:host(.checkbox-disabled) .checkbox-icon{border-color:#c9c9c9;background-color:#f5f5f5}:host(.checkbox-disabled.checkbox-checked) .checkbox-icon{border-width:0;background-color:var(--ion-color-step-100, var(--ion-background-color-step-100, #e6e6e6))}@media (any-hover: hover){:host(:hover) .checkbox-icon{background-color:#ececec}:host(:hover.checkbox-checked) .checkbox-icon,:host(:hover.checkbox-indeterminate) .checkbox-icon{background-color:#1061da}}:host(.ion-focused:not(.checkbox-disabled)) .checkbox-icon{outline:var(--focus-ring-width) solid var(--focus-ring-color);outline-offset:var(--focus-ring-offset)}:host(.ion-activated) .checkbox-icon{background-color:#e3e3e3}:host(.ion-activated.checkbox-checked) .checkbox-icon,:host(.ion-activated.checkbox-indeterminate) .checkbox-icon{background-color:#105ed1}:host(.checkbox-shape-soft){--border-radius:calc(var(--size) / 4 - 2px)}:host(.checkbox-shape-rectangular){--border-radius:0}.checkbox-wrapper{min-height:48px}";
9
+ const checkboxIonicCss = ":host{--border-width:var(--ionic-border-size-025, 1px);--border-style:var(--ionic-border-style-solid, solid);--border-color:var(--ionic-color-neutral-800, #626262);--checkmark-width:3;--focus-ring-color:var(--ionic-state-focus-1, #9ec4fd);--focus-ring-width:var(--ionic-border-size-050, 2px);--focus-ring-offset:var(--ionic-space-050, 2px);--size:var(--ionic-scale-600, 24px);--checkbox-background-checked:var(--ionic-color-primary-base, #105cef);--border-color-checked:var(--ionic-color-primary-base, #105cef);--checkmark-color:var(--ionic-color-base-white, #ffffff);--transition:none;display:inline-block;position:relative;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:2}:host::after{right:0;left:0;top:50%;position:absolute;height:100%;min-height:var(--ionic-scale-1200, 48px);-webkit-transform:translateY(-50%);transform:translateY(-50%);content:\"\";cursor:pointer;z-index:1}:host .native-wrapper{position:relative}:host(.in-item){-ms-flex:1 1 0px;flex:1 1 0;width:100%;height:100%}:host([slot=start]),:host([slot=end]){-ms-flex:initial;flex:initial;width:auto}.checkbox-wrapper{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;height:inherit;cursor:inherit}.label-text-wrapper{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}:host(.in-item) .label-text-wrapper{margin-top:var(--ionic-space-250, 10px);margin-bottom:var(--ionic-space-250, 10px)}:host(.in-item.checkbox-label-placement-stacked) .label-text-wrapper{margin-top:var(--ionic-space-250, 10px);margin-bottom:var(--ionic-space-400, 16px)}:host(.in-item.checkbox-label-placement-stacked) .native-wrapper{margin-bottom:var(--ionic-space-250, 10px)}.label-text-wrapper-hidden{display:none}input{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;margin:0;padding:0;border:0;outline:0;opacity:0;overflow:hidden;clip:rect(0 0 0 0);-webkit-appearance:none;-moz-appearance:none}.native-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.checkbox-icon{border-radius:var(--border-radius);position:relative;width:var(--size);height:var(--size);-webkit-transition:var(--transition);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--checkbox-background);-webkit-box-sizing:border-box;box-sizing:border-box}.checkbox-icon path{fill:none;stroke:var(--checkmark-color);stroke-width:var(--checkmark-width);opacity:0}:host(.checkbox-justify-space-between) .checkbox-wrapper{-ms-flex-pack:justify;justify-content:space-between}:host(.checkbox-justify-start) .checkbox-wrapper{-ms-flex-pack:start;justify-content:start}:host(.checkbox-justify-end) .checkbox-wrapper{-ms-flex-pack:end;justify-content:end}:host(.checkbox-alignment-start) .checkbox-wrapper{-ms-flex-align:start;align-items:start}:host(.checkbox-alignment-center) .checkbox-wrapper{-ms-flex-align:center;align-items:center}:host(.checkbox-label-placement-start) .checkbox-wrapper{-ms-flex-direction:row;flex-direction:row}:host(.checkbox-label-placement-start) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:var(--ionic-space-400, 16px);margin-inline-end:var(--ionic-space-400, 16px)}:host(.checkbox-label-placement-end) .checkbox-wrapper{-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.checkbox-label-placement-end) .label-text-wrapper{-webkit-margin-start:var(--ionic-space-400, 16px);margin-inline-start:var(--ionic-space-400, 16px);-webkit-margin-end:0;margin-inline-end:0}:host(.checkbox-label-placement-fixed) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:var(--ionic-space-400, 16px);margin-inline-end:var(--ionic-space-400, 16px)}:host(.checkbox-label-placement-fixed) .label-text-wrapper{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px;max-width:200px}:host(.checkbox-label-placement-stacked) .checkbox-wrapper{-ms-flex-direction:column;flex-direction:column}:host(.checkbox-label-placement-stacked) .label-text-wrapper{-webkit-transform:scale(0.75);transform:scale(0.75);margin-left:0;margin-right:0;margin-bottom:var(--ionic-space-400, 16px);max-width:133.3333333333%}:host(.checkbox-size-small){--size:var(--ionic-scale-400, 16px)}:host(.checkbox-checked) .checkbox-icon,:host(.checkbox-indeterminate) .checkbox-icon{border-color:var(--border-color-checked);background:var(--checkbox-background-checked)}:host(.checkbox-checked) .checkbox-icon path,:host(.checkbox-indeterminate) .checkbox-icon path{opacity:1}:host(.ion-invalid){--focus-ring-color:var(--ionic-state-focus-2, #ffafaf)}:host(.ion-invalid) .checkbox-icon{border-color:var(--ionic-color-danger-800, #bf2222)}:host(.checkbox-disabled){pointer-events:none}:host(.checkbox-disabled) .native-wrapper:after{right:0;left:0;top:0;bottom:0;position:absolute;background-color:var(--ionic-state-disabled, rgba(255, 255, 255, 0.6));content:\"\";pointer-events:none}:host(.checkbox-disabled) .checkbox-icon{border-color:var(--ionic-color-neutral-800, #626262);background-color:var(--ionic-state-disabled, rgba(255, 255, 255, 0.6))}:host(.checkbox-disabled.checkbox-checked) .checkbox-icon{border-width:var(--ionic-border-size-0, 0px);background-color:var(--ionic-color-primary-base, #105cef)}@media (any-hover: hover){:host(:hover) .checkbox-icon{background-color:var(--ionic-color-neutral-100, #f1f1f1)}:host(:hover.checkbox-checked) .checkbox-icon,:host(:hover.checkbox-indeterminate) .checkbox-icon{background-color:var(--ionic-color-primary-800, #0f54da)}}:host(.ion-focused:not(.checkbox-disabled)) .checkbox-icon{outline:var(--focus-ring-width) var(--ionic-border-style-solid, solid) var(--focus-ring-color);outline-offset:var(--focus-ring-offset)}:host(.ion-activated) .checkbox-icon{background-color:var(--ionic-color-neutral-200, #e7e7e7)}:host(.ion-activated.checkbox-checked) .checkbox-icon,:host(.ion-activated.checkbox-indeterminate) .checkbox-icon{background-color:var(--ionic-color-primary-900, #0d4bc3)}:host(.checkbox-shape-soft){--border-radius:var(--ionic-border-radius-100, 4px)}:host(.checkbox-size-small.checkbox-shape-soft){--border-radius:var(--ionic-border-radius-050, 2px)}:host(.checkbox-shape-rectangular){--border-radius:var(--ionic-border-radius-0, 0px)}.checkbox-wrapper{min-height:var(--ionic-scale-1200, 48px)}";
10
10
  const IonCheckboxIonicStyle0 = checkboxIonicCss;
11
11
 
12
12
  const checkboxIosCss = ":host{--checkbox-background-checked:var(--ion-color-primary, #0054e9);--border-color-checked:var(--ion-color-primary, #0054e9);--checkmark-color:var(--ion-color-primary-contrast, #fff);--transition:none;display:inline-block;position:relative;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:2}:host(.in-item){-ms-flex:1 1 0px;flex:1 1 0;width:100%;height:100%}:host([slot=start]),:host([slot=end]){-ms-flex:initial;flex:initial;width:auto}:host(.ion-color){--checkbox-background-checked:var(--ion-color-base);--border-color-checked:var(--ion-color-base);--checkmark-color:var(--ion-color-contrast)}.checkbox-wrapper{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;height:inherit;cursor:inherit}.label-text-wrapper{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}:host(.in-item) .label-text-wrapper{margin-top:10px;margin-bottom:10px}:host(.in-item.checkbox-label-placement-stacked) .label-text-wrapper{margin-top:10px;margin-bottom:16px}:host(.in-item.checkbox-label-placement-stacked) .native-wrapper{margin-bottom:10px}.label-text-wrapper-hidden{display:none}input{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;margin:0;padding:0;border:0;outline:0;opacity:0;overflow:hidden;clip:rect(0 0 0 0);-webkit-appearance:none;-moz-appearance:none}.native-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.checkbox-icon{border-radius:var(--border-radius);position:relative;width:var(--size);height:var(--size);-webkit-transition:var(--transition);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--checkbox-background);-webkit-box-sizing:border-box;box-sizing:border-box}.checkbox-icon path{fill:none;stroke:var(--checkmark-color);stroke-width:var(--checkmark-width);opacity:0}:host(.checkbox-justify-space-between) .checkbox-wrapper{-ms-flex-pack:justify;justify-content:space-between}:host(.checkbox-justify-start) .checkbox-wrapper{-ms-flex-pack:start;justify-content:start}:host(.checkbox-justify-end) .checkbox-wrapper{-ms-flex-pack:end;justify-content:end}:host(.checkbox-alignment-start) .checkbox-wrapper{-ms-flex-align:start;align-items:start}:host(.checkbox-alignment-center) .checkbox-wrapper{-ms-flex-align:center;align-items:center}:host(.checkbox-label-placement-start) .checkbox-wrapper{-ms-flex-direction:row;flex-direction:row}:host(.checkbox-label-placement-start) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.checkbox-label-placement-end) .checkbox-wrapper{-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.checkbox-label-placement-end) .label-text-wrapper{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0}:host(.checkbox-label-placement-fixed) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.checkbox-label-placement-fixed) .label-text-wrapper{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px;max-width:200px}:host(.checkbox-label-placement-stacked) .checkbox-wrapper{-ms-flex-direction:column;flex-direction:column}:host(.checkbox-label-placement-stacked) .label-text-wrapper{-webkit-transform:scale(0.75);transform:scale(0.75);margin-left:0;margin-right:0;margin-bottom:16px;max-width:calc(100% / 0.75)}:host(.checkbox-label-placement-stacked.checkbox-alignment-start) .label-text-wrapper{-webkit-transform-origin:left top;transform-origin:left top}:host-context([dir=rtl]):host(.checkbox-label-placement-stacked.checkbox-alignment-start) .label-text-wrapper,:host-context([dir=rtl]).checkbox-label-placement-stacked.checkbox-alignment-start .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}@supports selector(:dir(rtl)){:host(.checkbox-label-placement-stacked.checkbox-alignment-start:dir(rtl)) .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}}:host(.checkbox-label-placement-stacked.checkbox-alignment-center) .label-text-wrapper{-webkit-transform-origin:center top;transform-origin:center top}:host-context([dir=rtl]):host(.checkbox-label-placement-stacked.checkbox-alignment-center) .label-text-wrapper,:host-context([dir=rtl]).checkbox-label-placement-stacked.checkbox-alignment-center .label-text-wrapper{-webkit-transform-origin:calc(100% - center) top;transform-origin:calc(100% - center) top}@supports selector(:dir(rtl)){:host(.checkbox-label-placement-stacked.checkbox-alignment-center:dir(rtl)) .label-text-wrapper{-webkit-transform-origin:calc(100% - center) top;transform-origin:calc(100% - center) top}}:host(.checkbox-checked) .checkbox-icon,:host(.checkbox-indeterminate) .checkbox-icon{border-color:var(--border-color-checked);background:var(--checkbox-background-checked)}:host(.checkbox-checked) .checkbox-icon path,:host(.checkbox-indeterminate) .checkbox-icon path{opacity:1}:host(.checkbox-disabled){pointer-events:none}:host{--border-radius:50%;--border-width:0.125rem;--border-style:solid;--border-color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.23);--checkbox-background:var(--ion-item-background, var(--ion-background-color, #fff));--size:min(1.375rem, 55.836px);--checkmark-width:1.5px}:host(.checkbox-disabled){opacity:0.3}";