@rdlabo/ionic-theme-ios26 0.1.0 → 0.1.2
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/demo/src/app/index/index-page.component.ts +0 -2
- package/demo/src/app/tabs/tabs.page.scss +0 -9
- package/demo/src/app/tabs/tabs.page.ts +2 -2
- package/package.json +5 -4
- package/src/components/ion-button.scss +11 -4
- package/src/components/ion-datetime.scss +2 -2
- package/src/components/ion-modal.scss +2 -2
- package/src/components/ion-searchbar.scss +2 -3
- package/src/components/ion-tabs.scss +2 -1
- package/src/utils/translucent.scss +2 -3
|
@@ -19,9 +19,9 @@ export class TabsPage implements OnInit {
|
|
|
19
19
|
return;
|
|
20
20
|
}
|
|
21
21
|
if (['/main/settings'].includes(params.urlAfterRedirects)) {
|
|
22
|
-
tabBar.classList.add('tab-bar-
|
|
22
|
+
tabBar.classList.add('tab-bar-hidden');
|
|
23
23
|
} else if (tabBar) {
|
|
24
|
-
tabBar.classList.remove('tab-bar-
|
|
24
|
+
tabBar.classList.remove('tab-bar-hidden');
|
|
25
25
|
}
|
|
26
26
|
});
|
|
27
27
|
}
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rdlabo/ionic-theme-ios26",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"description": "iOS26 CSS Theme for Ionic Framework",
|
|
5
5
|
"exports": {
|
|
6
6
|
"./src/*": {
|
|
7
7
|
"style": "./src/*"
|
|
8
8
|
},
|
|
9
|
-
"./
|
|
10
|
-
"style": "./
|
|
9
|
+
"./dist/*": {
|
|
10
|
+
"style": "./dist/*"
|
|
11
11
|
},
|
|
12
12
|
"./package.json": {
|
|
13
13
|
"default": "./package.json"
|
|
@@ -19,7 +19,8 @@
|
|
|
19
19
|
"prepare": "husky install",
|
|
20
20
|
"lint": "prettier --check \"./**/*.{scss,ts}\" && prettier --parser angular --check \"./**/*.html\"",
|
|
21
21
|
"fmt": "prettier --write \"./**/*.{scss,ts}\" && prettier --parser angular --write \"./**/*.html\"",
|
|
22
|
-
"release": "np --no-tests"
|
|
22
|
+
"release": "np --no-tests",
|
|
23
|
+
"prepublishOnly": "npm run build"
|
|
23
24
|
},
|
|
24
25
|
"repository": {
|
|
25
26
|
"type": "git",
|
|
@@ -9,6 +9,10 @@
|
|
|
9
9
|
@include api.glass-background;
|
|
10
10
|
border-radius: 25px;
|
|
11
11
|
overflow: hidden;
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* compare .header-collapse-main ion-toolbar.in-toolbar ion-title, .header-collapse-main ion-toolbar.in-toolbar ion-buttons
|
|
15
|
+
*/
|
|
12
16
|
transition: transform 100ms ease-out !important;
|
|
13
17
|
|
|
14
18
|
&:has(.ion-activated) {
|
|
@@ -32,7 +36,8 @@
|
|
|
32
36
|
|
|
33
37
|
&::part(native) {
|
|
34
38
|
/**
|
|
35
|
-
*
|
|
39
|
+
* overwrite theme-button mixin.
|
|
40
|
+
* ex) ion-button.ios:not(.ios26-disabled):not(.button-solid):not(.ios26-button-solid):not(.button-outline):not(.ios26-button-outline):not(.button-clear):not(.ios26-button-clear)::part(native)
|
|
36
41
|
*/
|
|
37
42
|
box-shadow: none !important;
|
|
38
43
|
border: none !important;
|
|
@@ -76,9 +81,11 @@
|
|
|
76
81
|
}
|
|
77
82
|
}
|
|
78
83
|
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
84
|
+
&:not(.button-round) {
|
|
85
|
+
--border-radius: 24px;
|
|
86
|
+
&.button-large {
|
|
87
|
+
--border-radius: 30px;
|
|
88
|
+
}
|
|
82
89
|
}
|
|
83
90
|
|
|
84
91
|
&:not(.button-clear):not(.ios26-button-clear) {
|
|
@@ -4,6 +4,6 @@ ion-datetime.ios:not(.ios26-disabled) {
|
|
|
4
4
|
@include api.glass-background;
|
|
5
5
|
border-radius: 24px;
|
|
6
6
|
|
|
7
|
-
--wheel-highlight-background: transparent
|
|
8
|
-
--wheel-highlight-border-radius: 24px
|
|
7
|
+
--wheel-highlight-background: transparent;
|
|
8
|
+
--wheel-highlight-border-radius: 24px;
|
|
9
9
|
}
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
ion-modal.ios:not(.ios26-disabled) {
|
|
4
4
|
--backdrop-opacity: 0.2;
|
|
5
5
|
ion-toolbar {
|
|
6
|
-
padding-right: calc(var(--ion-safe-area-right) + 4px)
|
|
7
|
-
padding-left: calc(var(--ion-safe-area-left) + 4px)
|
|
6
|
+
padding-right: calc(var(--ion-safe-area-right) + 4px);
|
|
7
|
+
padding-left: calc(var(--ion-safe-area-left) + 4px);
|
|
8
8
|
}
|
|
9
9
|
&::part(handle) {
|
|
10
10
|
width: 80px;
|
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
ion-modal.ios {
|
|
4
4
|
ion-searchbar:not(.ios26-disabled) {
|
|
5
5
|
.searchbar-input-container {
|
|
6
|
-
margin: 0 6px;
|
|
7
6
|
input.searchbar-input {
|
|
8
7
|
// Modal表示でのアイコン非表示の不具合の対応
|
|
9
8
|
backdrop-filter: none;
|
|
@@ -28,10 +27,10 @@ ion-searchbar.ios:not(.ios26-disabled) {
|
|
|
28
27
|
min-height: 44px;
|
|
29
28
|
@include api.glass-background;
|
|
30
29
|
border-radius: 20px;
|
|
31
|
-
padding-inline-start: 2.4rem
|
|
30
|
+
padding-inline-start: 2.4rem;
|
|
32
31
|
}
|
|
33
32
|
.searchbar-clear-button {
|
|
34
|
-
padding-inline-end: 2rem
|
|
33
|
+
padding-inline-end: 2rem;
|
|
35
34
|
}
|
|
36
35
|
}
|
|
37
36
|
}
|
|
@@ -38,12 +38,13 @@ ion-tab-bar.ios:not(.ios26-disabled) {
|
|
|
38
38
|
|
|
39
39
|
ion-tab-button {
|
|
40
40
|
& > ion-icon {
|
|
41
|
-
font-size:
|
|
41
|
+
font-size: 28px;
|
|
42
42
|
}
|
|
43
43
|
background: rgba(var(--ios26-color-light-rgb), 0);
|
|
44
44
|
height: auto;
|
|
45
45
|
&::part(native) {
|
|
46
46
|
overflow: visible;
|
|
47
|
+
padding: 2px;
|
|
47
48
|
}
|
|
48
49
|
|
|
49
50
|
&.tab-selected {
|
|
@@ -25,8 +25,7 @@ ion-footer.ios:not(.ios26-disabled).footer-translucent {
|
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
27
|
|
|
28
|
-
ion-header.ios:not(.ios26-disabled).header-collapse-main ion-toolbar.in-toolbar ion-title
|
|
29
|
-
ion-header.ios:not(.ios26-disabled).header-collapse-main ion-toolbar.in-toolbar ion-buttons {
|
|
28
|
+
ion-header.ios:not(.ios26-disabled).header-collapse-main ion-toolbar.in-toolbar ion-title {
|
|
30
29
|
transition: all 0.5s ease-in-out;
|
|
31
30
|
}
|
|
32
31
|
|
|
@@ -62,7 +61,7 @@ ion-content::part(background)::after {
|
|
|
62
61
|
z-index: 2;
|
|
63
62
|
bottom: 0;
|
|
64
63
|
height: calc(56px + var(--ios26-floating-safe-area-bottom));
|
|
65
|
-
box-shadow: inset 0 calc(-
|
|
64
|
+
box-shadow: inset 0 calc(-56px - var(--ios26-floating-safe-area-bottom)) 16px -16px
|
|
66
65
|
rgba(var(--ios26-color-background-rgb), var(--ios26-content-box-shadow-opacity));
|
|
67
66
|
}
|
|
68
67
|
|