@rdlabo/ionic-theme-ios26 0.3.3 → 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.
- package/README.md +29 -18
- package/dist/css/components/ion-segment.css +1 -1
- package/dist/css/components/ion-tabs.css +1 -1
- package/dist/css/ionic-theme-ios26.css +1 -1
- package/dist/css/md-remove-ios-class-effect.css +1 -1
- package/dist/gestures/gestures.d.ts +3 -0
- package/dist/gestures/gestures.d.ts.map +1 -0
- package/dist/gestures/gestures.js +240 -0
- package/dist/gestures/index.d.ts +3 -0
- package/dist/gestures/index.d.ts.map +1 -0
- package/dist/gestures/index.js +240 -0
- package/dist/gestures/interfaces.d.ts +10 -0
- package/dist/gestures/interfaces.d.ts.map +1 -0
- package/dist/gestures/interfaces.js +1 -0
- package/dist/gestures/utils.d.ts +3 -0
- package/dist/gestures/utils.d.ts.map +1 -0
- package/dist/gestures/utils.js +24 -0
- package/dist/index.d.ts +5 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +18 -0
- package/dist/utils.d.ts +3 -0
- package/dist/utils.d.ts.map +1 -0
- package/dist/utils.js +24 -0
- package/package.json +17 -4
- package/src/gestures/index.ts +290 -0
- package/src/gestures/interfaces.ts +10 -0
- package/src/gestures/utils.ts +28 -0
- package/src/index.ts +21 -0
- package/src/styles/components/ion-segment.scss +106 -0
- package/src/styles/components/ion-tabs.scss +117 -0
- package/src/{md-remove-ios-class-effect.scss → styles/md-remove-ios-class-effect.scss} +2 -2
- package/src/components/ion-segment.scss +0 -64
- package/src/components/ion-tabs.scss +0 -86
- /package/src/{components → styles/components}/ion-action-sheet.scss +0 -0
- /package/src/{components → styles/components}/ion-alert.scss +0 -0
- /package/src/{components → styles/components}/ion-breadcrumbs.scss +0 -0
- /package/src/{components → styles/components}/ion-button.scss +0 -0
- /package/src/{components → styles/components}/ion-card.scss +0 -0
- /package/src/{components → styles/components}/ion-chip.scss +0 -0
- /package/src/{components → styles/components}/ion-content.scss +0 -0
- /package/src/{components → styles/components}/ion-datetime.scss +0 -0
- /package/src/{components → styles/components}/ion-fab.scss +0 -0
- /package/src/{components → styles/components}/ion-list.scss +0 -0
- /package/src/{components → styles/components}/ion-loading.scss +0 -0
- /package/src/{components → styles/components}/ion-modal.scss +0 -0
- /package/src/{components → styles/components}/ion-picker.scss +0 -0
- /package/src/{components → styles/components}/ion-popover.scss +0 -0
- /package/src/{components → styles/components}/ion-range.scss +0 -0
- /package/src/{components → styles/components}/ion-searchbar.scss +0 -0
- /package/src/{components → styles/components}/ion-toast.scss +0 -0
- /package/src/{components → styles/components}/ion-toggle.scss +0 -0
- /package/src/{components → styles/components}/ion-toolbar.scss +0 -0
- /package/src/{default-variables.scss → styles/default-variables.scss} +0 -0
- /package/src/{ionic-theme-ios26-dark-always.scss → styles/ionic-theme-ios26-dark-always.scss} +0 -0
- /package/src/{ionic-theme-ios26-dark-class.scss → styles/ionic-theme-ios26-dark-class.scss} +0 -0
- /package/src/{ionic-theme-ios26-dark-system.scss → styles/ionic-theme-ios26-dark-system.scss} +0 -0
- /package/src/{ionic-theme-ios26.scss → styles/ionic-theme-ios26.scss} +0 -0
- /package/src/{md-ion-list-inset.scss → styles/md-ion-list-inset.scss} +0 -0
- /package/src/{utils → styles/utils}/api.scss +0 -0
- /package/src/{utils → styles/utils}/dark/ion-button.scss +0 -0
- /package/src/{utils → styles/utils}/dark/ion-fab.scss +0 -0
- /package/src/{utils → styles/utils}/dark/ion-tabs.scss +0 -0
- /package/src/{utils → styles/utils}/theme-dark.scss +0 -0
- /package/src/{utils → styles/utils}/theme-list-inset.scss +0 -0
- /package/src/{utils → styles/utils}/translucent.scss +0 -0
|
@@ -1,86 +0,0 @@
|
|
|
1
|
-
@use '../utils/api';
|
|
2
|
-
|
|
3
|
-
ion-tab-bar.ios:not(.ios26-disabled) {
|
|
4
|
-
@include api.glass-background;
|
|
5
|
-
z-index: 2;
|
|
6
|
-
|
|
7
|
-
border-radius: 40px;
|
|
8
|
-
--color: rgb(var(--ion-text-color-rgb, 0, 0, 0));
|
|
9
|
-
|
|
10
|
-
&[slot='top'] {
|
|
11
|
-
position: absolute;
|
|
12
|
-
top: var(--ios26-floating-safe-area-top);
|
|
13
|
-
right: calc(16px + var(--ion-safe-area-right, 0px));
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
&[slot='bottom'] {
|
|
17
|
-
position: absolute;
|
|
18
|
-
bottom: var(--ios26-floating-safe-area-bottom);
|
|
19
|
-
left: calc(16px + var(--ion-safe-area-left, 0px));
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
/**
|
|
23
|
-
* 100% - margin-left - margin-right - right-fab - margin-left-fab
|
|
24
|
-
*/
|
|
25
|
-
width: calc(100% - calc(18px + var(--ion-safe-area-left, 0px)) - calc(18px + var(--ion-safe-area-left, 0px)) - 60px - 12px);
|
|
26
|
-
max-width: 474px;
|
|
27
|
-
min-height: 56px;
|
|
28
|
-
&:has(:nth-child(5)) {
|
|
29
|
-
width: calc(100% - calc(18px + var(--ion-safe-area-left, 0px)) - calc(18px + var(--ion-safe-area-left, 0px)));
|
|
30
|
-
max-width: 546px;
|
|
31
|
-
}
|
|
32
|
-
padding: 2px 2px;
|
|
33
|
-
|
|
34
|
-
transition: transform var(--ios26-activated-transition-duration) ease-out;
|
|
35
|
-
will-change: transform;
|
|
36
|
-
&:has(ion-tab-button.ion-activated) {
|
|
37
|
-
transform: scale(1.038);
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
&:has(ion-tab-button.ion-activated) {
|
|
41
|
-
ion-tab-button.tab-selected:not(.ion-activated) {
|
|
42
|
-
--color-selected: rgb(var(--ion-text-color-rgb, 0, 0, 0));
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
ion-tab-button {
|
|
47
|
-
ion-icon {
|
|
48
|
-
font-size: 26px;
|
|
49
|
-
}
|
|
50
|
-
ion-label,
|
|
51
|
-
ion-icon {
|
|
52
|
-
transition:
|
|
53
|
-
filter var(--ios26-activated-transition-duration) ease,
|
|
54
|
-
color var(--ios26-activated-transition-duration) ease;
|
|
55
|
-
}
|
|
56
|
-
background: rgba(var(--ios26-glass-background-rgb), 0);
|
|
57
|
-
height: auto;
|
|
58
|
-
transition: transform var(--ios26-activated-transition-duration) ease;
|
|
59
|
-
&::part(native) {
|
|
60
|
-
overflow: visible;
|
|
61
|
-
min-height: 56px;
|
|
62
|
-
border-radius: 32px;
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
&.ion-activated {
|
|
66
|
-
transform: scale(1.1);
|
|
67
|
-
position: relative;
|
|
68
|
-
color: var(--color-selected);
|
|
69
|
-
ion-label,
|
|
70
|
-
ion-icon {
|
|
71
|
-
filter: brightness(104%);
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
&.tab-selected {
|
|
76
|
-
&::part(native) {
|
|
77
|
-
background: rgba(var(--ios26-button-color-selected-rgb), 0.095);
|
|
78
|
-
transition: background var(--ios26-activated-transition-duration) ease;
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
&.ion-activated::part(native) {
|
|
82
|
-
background: rgba(var(--ios26-glass-box-shadow-color-rgb), 0.02);
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
|
-
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/src/{ionic-theme-ios26-dark-always.scss → styles/ionic-theme-ios26-dark-always.scss}
RENAMED
|
File without changes
|
|
File without changes
|
/package/src/{ionic-theme-ios26-dark-system.scss → styles/ionic-theme-ios26-dark-system.scss}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|