@ionic/core 9.0.11-dev.11793736984.1580a194 → 9.0.11-dev.11793792571.1765ff65

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 (71) hide show
  1. package/components/ion-badge.js +1 -1
  2. package/components/ion-button.js +1 -1
  3. package/components/ion-content.js +1 -1
  4. package/components/ion-datetime-button.js +1 -1
  5. package/components/ion-datetime.js +1 -1
  6. package/components/ion-input-password-toggle.js +1 -1
  7. package/components/ion-item-option.js +1 -1
  8. package/components/ion-select-modal.js +1 -1
  9. package/components/ion-select.js +1 -1
  10. package/components/{p-B7ExaLVL.js → p-BCQSEpww.js} +1 -1
  11. package/components/p-Da8LCPwo.js +4 -0
  12. package/components/p-DirxxGzo.js +4 -0
  13. package/components/{p-BCYVFy50.js → p-py1vB-7U.js} +1 -1
  14. package/css/ionic/bundle.ionic.css +1 -1
  15. package/css/ionic/bundle.ionic.css.map +1 -1
  16. package/css/ionic/core.ionic.css +1 -1
  17. package/css/ionic/core.ionic.css.map +1 -1
  18. package/dist/cjs/ion-app_8.cjs.entry.js +13 -5
  19. package/dist/cjs/ion-avatar_3.cjs.entry.js +1 -1
  20. package/dist/cjs/ion-button_2.cjs.entry.js +1 -1
  21. package/dist/cjs/ion-datetime-button.cjs.entry.js +6 -33
  22. package/dist/cjs/ion-datetime.cjs.entry.js +36 -353
  23. package/dist/cjs/ion-item-option_3.cjs.entry.js +1 -1
  24. package/dist/cjs/ionic.cjs.js +1 -1
  25. package/dist/cjs/loader.cjs.js +1 -1
  26. package/dist/collection/components/badge/badge.ionic.css +1 -1
  27. package/dist/collection/components/button/button.ionic.css +1 -1
  28. package/dist/collection/components/content/content.ionic.css +352 -0
  29. package/dist/collection/components/content/{content.css → content.ios.css} +65 -41
  30. package/dist/collection/components/content/content.js +9 -5
  31. package/dist/collection/components/content/content.md.css +347 -0
  32. package/dist/collection/components/datetime/datetime.ionic.css +5 -187
  33. package/dist/collection/components/datetime/datetime.ios.css +2 -142
  34. package/dist/collection/components/datetime/datetime.js +33 -406
  35. package/dist/collection/components/datetime/datetime.md.css +0 -128
  36. package/dist/collection/components/datetime/utils/state.js +1 -18
  37. package/dist/collection/components/datetime-button/datetime-button.js +6 -34
  38. package/dist/collection/components/item-option/item-option.ionic.css +1 -1
  39. package/dist/docs.json +127 -160
  40. package/dist/esm/{format-DUHrIiJq.js → format-NT7iHsbA.js} +1 -1
  41. package/dist/esm/ion-app_8.entry.js +13 -5
  42. package/dist/esm/ion-avatar_3.entry.js +1 -1
  43. package/dist/esm/ion-button_2.entry.js +1 -1
  44. package/dist/esm/ion-datetime-button.entry.js +7 -34
  45. package/dist/esm/ion-datetime.entry.js +37 -354
  46. package/dist/esm/ion-item-option_3.entry.js +1 -1
  47. package/dist/esm/ionic.js +1 -1
  48. package/dist/esm/loader.js +1 -1
  49. package/dist/html.html-data.json +0 -20
  50. package/dist/ionic/ionic.esm.js +1 -1
  51. package/dist/ionic/p-0743a26a.entry.js +4 -0
  52. package/dist/ionic/p-1d709b26.entry.js +4 -0
  53. package/dist/ionic/p-39e3be74.entry.js +4 -0
  54. package/dist/ionic/p-6e4ee264.entry.js +4 -0
  55. package/dist/ionic/{p-CaOPF8Xt.js → p-BtccSO5J.js} +1 -1
  56. package/dist/ionic/p-ad46d2fd.entry.js +4 -0
  57. package/dist/ionic/{p-8231e914.entry.js → p-b51eb274.entry.js} +1 -1
  58. package/dist/types/components/datetime/datetime-interface.d.ts +0 -4
  59. package/dist/types/components/datetime/datetime.d.ts +2 -71
  60. package/dist/types/components/datetime/utils/state.d.ts +2 -5
  61. package/dist/types/components.d.ts +0 -33
  62. package/hydrate/index.js +59 -403
  63. package/hydrate/index.mjs +59 -403
  64. package/package.json +1 -1
  65. package/components/p-ByE0slik.js +0 -4
  66. package/components/p-DktrWeJE.js +0 -4
  67. package/dist/ionic/p-41680415.entry.js +0 -4
  68. package/dist/ionic/p-5e094639.entry.js +0 -4
  69. package/dist/ionic/p-a52cba2f.entry.js +0 -4
  70. package/dist/ionic/p-b30b468d.entry.js +0 -4
  71. package/dist/ionic/p-ceca04fb.entry.js +0 -4
@@ -349,116 +349,11 @@
349
349
 
350
350
  :host .calendar-day-wrapper {
351
351
  display: flex;
352
- position: relative;
353
352
  align-items: center;
354
353
  justify-content: center;
355
354
  min-width: 0;
356
355
  min-height: 0;
357
356
  overflow: visible;
358
- /**
359
- * Create a stacking context so the range track
360
- * (::before with z-index: -1) stays behind the
361
- * day button but above the host background.
362
- */
363
- z-index: 0;
364
- }
365
-
366
- /**
367
- * The focus ring can extend past the cell, so lift the focused day
368
- * above the following days, whose range track would otherwise cover it.
369
- */
370
- :host .calendar-day-wrapper:focus-within {
371
- z-index: 1;
372
- }
373
-
374
- /**
375
- * Each day in the range draws its own piece of the track with a
376
- * ::before. In-range days fill the cell, while the start and end
377
- * caps cover the half between the pill center and the next day.
378
- *
379
- * Grid columns are `1fr`, so cell edges land on fractional pixels
380
- * and a cell's track can fall a hairline short of its neighbor's.
381
- * Each day therefore extends 1px toward the next day in the range,
382
- * which the next day paints over except inside such a gap.
383
- *
384
- * @prop --range-background: The background color of the range selection track.
385
- */
386
- :host .calendar-day-wrapper-in-range::before,
387
- :host .calendar-day-wrapper-range-start::before,
388
- :host .calendar-day-wrapper-range-end::before {
389
- position: absolute;
390
- top: 50%;
391
- inset-inline-start: 0;
392
- inset-inline-end: 0;
393
- height: var(--range-track-height);
394
- transform: translateY(-50%);
395
- /**
396
- * `--range-background` is translucent by default, so it is layered
397
- * over the datetime background to paint an opaque track. Where two
398
- * days overlap, the color stays the same instead of doubling up
399
- * into a darker line.
400
- */
401
- background: linear-gradient(var(--range-background), var(--range-background)), linear-gradient(var(--background), var(--background));
402
- content: "";
403
- z-index: -1;
404
- }
405
-
406
- :host .calendar-day-wrapper-range-start::before {
407
- inset-inline-start: 50%;
408
- }
409
-
410
- :host .calendar-day-wrapper-range-end::before {
411
- inset-inline-end: 50%;
412
- }
413
-
414
- /**
415
- * Only extend toward a day that draws the track as well. The last
416
- * day of a week is followed by the next row, and the next day is
417
- * unpainted when it ends the selection or is disabled inside the
418
- * range, so extending there would leave a 1px nub.
419
- */
420
- :host .calendar-day-wrapper-in-range:not(:nth-child(7n)):has(+ .calendar-day-wrapper-in-range)::before,
421
- :host .calendar-day-wrapper-in-range:not(:nth-child(7n)):has(+ .calendar-day-wrapper-range-end)::before,
422
- :host .calendar-day-wrapper-range-start:not(:nth-child(7n)):has(+ .calendar-day-wrapper-in-range)::before,
423
- :host .calendar-day-wrapper-range-start:not(:nth-child(7n)):has(+ .calendar-day-wrapper-range-end)::before {
424
- inset-inline-end: -1px;
425
- }
426
-
427
- /**
428
- * A range that continues onto the next week runs the track
429
- * through the grid padding to the edge of the calendar.
430
- */
431
- :host .calendar-day-wrapper-in-range:nth-child(7n)::before,
432
- :host .calendar-day-wrapper-range-start:nth-child(7n)::before {
433
- inset-inline-end: calc(var(--range-track-edge-overflow, 0px) * -1);
434
- }
435
-
436
- :host .calendar-day-wrapper-in-range:nth-child(7n+1)::before,
437
- :host .calendar-day-wrapper-range-end:nth-child(7n+1)::before {
438
- inset-inline-start: calc(var(--range-track-edge-overflow, 0px) * -1);
439
- }
440
-
441
- /**
442
- * When a single day is both the start and end of the range,
443
- * do not show a track since there is nothing to connect.
444
- */
445
- :host .calendar-day-wrapper-range-start.calendar-day-wrapper-range-end::before {
446
- display: none;
447
- }
448
-
449
- /**
450
- * When the component is disabled, fade the whole grid once instead of
451
- * fading each day. Fading a day makes it its own compositing group, so
452
- * the 1px that each day extends toward the next would be painted twice
453
- * and read as a darker seam. The day buttons drop their own disabled
454
- * opacity so the grid is the only thing applying it.
455
- */
456
- :host(.datetime-disabled.datetime-range) .calendar-month-grid {
457
- opacity: 0.4;
458
- }
459
-
460
- :host(.datetime-disabled.datetime-range) .calendar-month-grid .calendar-day[disabled] {
461
- opacity: 1;
462
357
  }
463
358
 
464
359
  /**
@@ -1085,12 +980,12 @@ ion-picker {
1085
980
  }
1086
981
 
1087
982
  .calendar-day.calendar-day-active {
1088
- background: rgba(var(--ion-color-primary-rgb, 0, 84, 233), 0.12);
983
+ background: rgba(var(--ion-color-primary-rgb, 0, 84, 233), 0.2);
1089
984
  font-size: min(1.375rem, 35.2px);
1090
985
  }
1091
986
 
1092
987
  :host(.ion-color) .calendar-day.calendar-day-active {
1093
- background: rgba(var(--ion-color-base-rgb), 0.12);
988
+ background: rgba(var(--ion-color-base-rgb), 0.2);
1094
989
  }
1095
990
 
1096
991
  /**
@@ -1140,41 +1035,6 @@ ion-picker {
1140
1035
  color: var(--ion-color-step-300, var(--ion-text-color-step-700, #b3b3b3));
1141
1036
  }
1142
1037
 
1143
- :host {
1144
- --range-background: rgba(var(--ion-color-primary-rgb, 0, 84, 233), 0.12);
1145
- --range-track-height: 40px;
1146
- --range-track-edge-overflow: 8px;
1147
- }
1148
-
1149
- :host(.ion-color) {
1150
- --range-background: rgba(var(--ion-color-base-rgb), 0.12);
1151
- }
1152
-
1153
- /**
1154
- * The wrapper has `height: 0`, which makes `top: 50%` on the range
1155
- * track resolve to 0 and pins the track to the top of the cell.
1156
- * Override to `auto` so the track stays vertically centered. Apply
1157
- * it to every wrapper in range mode so range rows are not taller
1158
- * than the other rows.
1159
- */
1160
- :host(.datetime-range) .calendar-day-wrapper {
1161
- height: auto;
1162
- }
1163
-
1164
- :host .calendar-day.calendar-day-range-start,
1165
- :host .calendar-day.calendar-day-range-end {
1166
- border-radius: 50%;
1167
- background: var(--ion-color-primary, #0054e9);
1168
- color: var(--ion-color-primary-contrast, #fff);
1169
- font-weight: 600;
1170
- }
1171
-
1172
- :host(.ion-color) .calendar-day.calendar-day-range-start,
1173
- :host(.ion-color) .calendar-day.calendar-day-range-end {
1174
- background: var(--ion-color-base);
1175
- color: var(--ion-color-contrast);
1176
- }
1177
-
1178
1038
  :host .datetime-time {
1179
1039
  -webkit-padding-start: 16px;
1180
1040
  padding-inline-start: 16px;