@rdlabo/ionic-theme-ios26 0.3.4 → 0.3.5

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 (64) hide show
  1. package/README.md +4 -3
  2. package/dist/css/components/ion-segment.css +1 -1
  3. package/dist/css/components/ion-tabs.css +1 -1
  4. package/dist/css/ionic-theme-ios26.css +1 -1
  5. package/dist/css/md-remove-ios-class-effect.css +1 -1
  6. package/dist/gestures/gestures.d.ts +3 -0
  7. package/dist/gestures/gestures.d.ts.map +1 -0
  8. package/dist/gestures/gestures.js +240 -0
  9. package/dist/gestures/index.d.ts +3 -0
  10. package/dist/gestures/index.d.ts.map +1 -0
  11. package/dist/gestures/index.js +240 -0
  12. package/dist/gestures/interfaces.d.ts +10 -0
  13. package/dist/gestures/interfaces.d.ts.map +1 -0
  14. package/dist/gestures/interfaces.js +1 -0
  15. package/dist/gestures/utils.d.ts +3 -0
  16. package/dist/gestures/utils.d.ts.map +1 -0
  17. package/dist/gestures/utils.js +24 -0
  18. package/dist/index.d.ts +4 -2
  19. package/dist/index.d.ts.map +1 -1
  20. package/dist/index.js +16 -206
  21. package/dist/utils.d.ts +3 -0
  22. package/dist/utils.d.ts.map +1 -0
  23. package/dist/utils.js +24 -0
  24. package/package.json +2 -2
  25. package/src/gestures/index.ts +290 -0
  26. package/src/gestures/interfaces.ts +10 -0
  27. package/src/gestures/utils.ts +28 -0
  28. package/src/index.ts +18 -241
  29. package/src/styles/components/ion-segment.scss +106 -0
  30. package/src/{components → styles/components}/ion-tabs.scss +2 -2
  31. package/src/{md-remove-ios-class-effect.scss → styles/md-remove-ios-class-effect.scss} +2 -2
  32. package/src/components/ion-segment.scss +0 -64
  33. /package/src/{components → styles/components}/ion-action-sheet.scss +0 -0
  34. /package/src/{components → styles/components}/ion-alert.scss +0 -0
  35. /package/src/{components → styles/components}/ion-breadcrumbs.scss +0 -0
  36. /package/src/{components → styles/components}/ion-button.scss +0 -0
  37. /package/src/{components → styles/components}/ion-card.scss +0 -0
  38. /package/src/{components → styles/components}/ion-chip.scss +0 -0
  39. /package/src/{components → styles/components}/ion-content.scss +0 -0
  40. /package/src/{components → styles/components}/ion-datetime.scss +0 -0
  41. /package/src/{components → styles/components}/ion-fab.scss +0 -0
  42. /package/src/{components → styles/components}/ion-list.scss +0 -0
  43. /package/src/{components → styles/components}/ion-loading.scss +0 -0
  44. /package/src/{components → styles/components}/ion-modal.scss +0 -0
  45. /package/src/{components → styles/components}/ion-picker.scss +0 -0
  46. /package/src/{components → styles/components}/ion-popover.scss +0 -0
  47. /package/src/{components → styles/components}/ion-range.scss +0 -0
  48. /package/src/{components → styles/components}/ion-searchbar.scss +0 -0
  49. /package/src/{components → styles/components}/ion-toast.scss +0 -0
  50. /package/src/{components → styles/components}/ion-toggle.scss +0 -0
  51. /package/src/{components → styles/components}/ion-toolbar.scss +0 -0
  52. /package/src/{default-variables.scss → styles/default-variables.scss} +0 -0
  53. /package/src/{ionic-theme-ios26-dark-always.scss → styles/ionic-theme-ios26-dark-always.scss} +0 -0
  54. /package/src/{ionic-theme-ios26-dark-class.scss → styles/ionic-theme-ios26-dark-class.scss} +0 -0
  55. /package/src/{ionic-theme-ios26-dark-system.scss → styles/ionic-theme-ios26-dark-system.scss} +0 -0
  56. /package/src/{ionic-theme-ios26.scss → styles/ionic-theme-ios26.scss} +0 -0
  57. /package/src/{md-ion-list-inset.scss → styles/md-ion-list-inset.scss} +0 -0
  58. /package/src/{utils → styles/utils}/api.scss +0 -0
  59. /package/src/{utils → styles/utils}/dark/ion-button.scss +0 -0
  60. /package/src/{utils → styles/utils}/dark/ion-fab.scss +0 -0
  61. /package/src/{utils → styles/utils}/dark/ion-tabs.scss +0 -0
  62. /package/src/{utils → styles/utils}/theme-dark.scss +0 -0
  63. /package/src/{utils → styles/utils}/theme-list-inset.scss +0 -0
  64. /package/src/{utils → styles/utils}/translucent.scss +0 -0
@@ -46,7 +46,7 @@ ion-tab-bar.ios:not(.ios26-disabled) {
46
46
  /**
47
47
  * effectが有効な場合、effectでスタイリングするため不要
48
48
  */
49
- &.tab-bar-ios26-effect:has(ion-tab-button.ion-activated) {
49
+ &.ios26-enable-gesture.ios26-animated {
50
50
  ion-tab-button.tab-selected::part(native) {
51
51
  background: rgba(var(--ios26-button-color-selected-rgb), 0);
52
52
  }
@@ -101,7 +101,7 @@ ion-tab-button.ios:not(.ios26-disabled) {
101
101
 
102
102
  &.ion-cloned-element {
103
103
  &::part(native) {
104
- @include api.glass-background(1, 2px, 104%);
104
+ @include api.glass-background(1, 0, 104%);
105
105
  background: transparent;
106
106
  }
107
107
  color: var(--color-selected, var(--ion-color-primary, #0054e9));
@@ -13,12 +13,12 @@ ion-toolbar.md:not(.ios26-disabled) {
13
13
  }
14
14
  }
15
15
 
16
- ion-buttons.md.ios26-disabled {
16
+ ion-buttons.md {
17
17
  /**
18
18
  * ion-buttons.ios26-disabled > ion-button.button-default is for ios26 structure.
19
19
  * for .md, remove button-default styles. Will be button-clear.
20
20
  */
21
- ion-button:not(.ios26-disabled).button-default {
21
+ ion-button.md:not(.ios26-disabled).button-default {
22
22
  // copy .button-clear
23
23
  --color: initial;
24
24
  --background: transparent;
@@ -1,64 +0,0 @@
1
- @use '../utils/api';
2
-
3
- ion-segment.ios:not(.ios26-disabled) {
4
- @include api.glass-background;
5
- min-height: 48px;
6
- border-radius: 25px;
7
-
8
- &.segment-expand {
9
- min-height: 24px;
10
- width: calc(100% - var(--ion-safe-area-left, 0) - var(--ion-safe-area-left, 0) - 24px);
11
-
12
- &.segment-activated {
13
- transform: scale(1);
14
- }
15
-
16
- ion-segment-button {
17
- min-height: 24px;
18
- }
19
- }
20
-
21
- transition: transform var(--ios26-activated-transition-duration) ease-out;
22
- will-change: transform;
23
-
24
- &.in-toolbar-color:not(.in-segment-color) {
25
- ion-segment-button:not(.segment-button-checked)::part(native) {
26
- color: rgba(var(--ion-text-color-rgb, 0, 0, 0), 1) !important;
27
- }
28
- }
29
-
30
- ion-segment-button {
31
- --border-width: 0;
32
- --ion-color-base: var(--ion-text-color, #000);
33
- --padding-start: 8px;
34
- --padding-end: 8px;
35
- min-width: 60px;
36
- margin: 3px 2px;
37
- font-size: 14.5px;
38
-
39
- &::part(indicator-background) {
40
- border-radius: 25px;
41
- box-shadow: none;
42
- transition: background 0.2s ease;
43
- background: rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.06);
44
- }
45
- }
46
-
47
- &.segment-activated {
48
- transform: scale(1.1);
49
-
50
- ion-segment-button {
51
- transition: transform 100ms ease-out;
52
- &.segment-button-checked::part(native) {
53
- transform: scale(1.08);
54
- }
55
- &::part(indicator-background) {
56
- position: relative;
57
- z-index: 1;
58
- background: rgba(var(--ion-text-color-rgb, 0, 0, 0), 0);
59
- transform: scale(1.1);
60
- transform-origin: center center;
61
- }
62
- }
63
- }
64
- }
File without changes
File without changes
File without changes
File without changes
File without changes