@rdlabo/ionic-theme-ios26 0.0.3 → 0.0.4

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 (141) hide show
  1. package/.github/workflows/lint.yml +40 -0
  2. package/FEEDBACK.md +100 -7
  3. package/FEEDBACK2.md +45 -0
  4. package/README.md +101 -40
  5. package/USING_ION_ITEM_GROUP.md +7 -9
  6. package/demo/eslint.config.js +2 -0
  7. package/demo/src/app/album/album-page.component.html +3 -3
  8. package/demo/src/app/album/album-page.component.scss +0 -14
  9. package/demo/src/app/album/album-page.component.spec.ts +1 -1
  10. package/demo/src/app/health/health-page.component.html +3 -3
  11. package/demo/src/app/health/health-page.component.spec.ts +2 -2
  12. package/demo/src/app/index/index-page.component.html +9 -1
  13. package/demo/src/app/index/index-page.component.spec.ts +6 -6
  14. package/demo/src/app/index/index-page.component.ts +24 -26
  15. package/demo/src/app/index/index.routes.ts +64 -0
  16. package/demo/src/app/index/pages/action-sheet/action-sheet.page.spec.ts +5 -1
  17. package/demo/src/app/index/pages/action-sheet/action-sheet.page.ts +3 -5
  18. package/demo/src/app/index/pages/alert/alert.page.spec.ts +5 -1
  19. package/demo/src/app/index/pages/alert/alert.page.ts +0 -2
  20. package/demo/src/app/index/pages/breadcrumbs/breadcrumbs.page.html +41 -0
  21. package/demo/src/app/index/pages/breadcrumbs/breadcrumbs.page.scss +0 -0
  22. package/demo/src/app/index/pages/breadcrumbs/breadcrumbs.page.spec.ts +21 -0
  23. package/demo/src/app/index/pages/breadcrumbs/breadcrumbs.page.ts +47 -0
  24. package/demo/src/app/index/pages/button/button.page.html +41 -19
  25. package/demo/src/app/index/pages/button/button.page.scss +3 -0
  26. package/demo/src/app/index/pages/button/button.page.spec.ts +5 -1
  27. package/demo/src/app/index/pages/button/button.page.ts +0 -2
  28. package/demo/src/app/index/pages/card/card.page.html +171 -0
  29. package/demo/src/app/index/pages/card/card.page.scss +0 -0
  30. package/demo/src/app/index/pages/card/card.page.spec.ts +21 -0
  31. package/demo/src/app/index/pages/card/card.page.ts +57 -0
  32. package/demo/src/app/index/pages/checkbox/checkbox.page.spec.ts +5 -1
  33. package/demo/src/app/index/pages/checkbox/checkbox.page.ts +0 -2
  34. package/demo/src/app/index/pages/chip/chip.page.html +72 -0
  35. package/demo/src/app/index/pages/chip/chip.page.scss +0 -0
  36. package/demo/src/app/index/pages/chip/chip.page.spec.ts +21 -0
  37. package/demo/src/app/index/pages/chip/chip.page.ts +47 -0
  38. package/demo/src/app/index/pages/date-and-time-pickers/date-and-time-pickers.page.html +48 -0
  39. package/demo/src/app/index/pages/date-and-time-pickers/date-and-time-pickers.page.scss +0 -0
  40. package/demo/src/app/index/pages/date-and-time-pickers/date-and-time-pickers.page.spec.ts +21 -0
  41. package/demo/src/app/index/pages/date-and-time-pickers/date-and-time-pickers.page.ts +55 -0
  42. package/demo/src/app/index/pages/floating-action-button/floating-action-button.page.html +106 -0
  43. package/demo/src/app/index/pages/floating-action-button/floating-action-button.page.scss +0 -0
  44. package/demo/src/app/index/pages/floating-action-button/floating-action-button.page.spec.ts +21 -0
  45. package/demo/src/app/index/pages/floating-action-button/floating-action-button.page.ts +49 -0
  46. package/demo/src/app/index/pages/menu/menu.page.html +13 -0
  47. package/demo/src/app/index/pages/menu/menu.page.scss +0 -0
  48. package/demo/src/app/index/pages/menu/menu.page.spec.ts +21 -0
  49. package/demo/src/app/index/pages/menu/menu.page.ts +17 -0
  50. package/demo/src/app/index/pages/modal/modal.page.html +37 -0
  51. package/demo/src/app/index/pages/modal/modal.page.scss +0 -0
  52. package/demo/src/app/index/pages/modal/modal.page.spec.ts +21 -0
  53. package/demo/src/app/index/pages/modal/modal.page.ts +77 -0
  54. package/demo/src/app/index/pages/popover/popover.page.html +34 -0
  55. package/demo/src/app/index/pages/popover/popover.page.scss +0 -0
  56. package/demo/src/app/index/pages/popover/popover.page.spec.ts +21 -0
  57. package/demo/src/app/index/pages/popover/popover.page.ts +47 -0
  58. package/demo/src/app/index/pages/progress-indicators/progress-indicators.page.html +28 -0
  59. package/demo/src/app/index/pages/progress-indicators/progress-indicators.page.scss +0 -0
  60. package/demo/src/app/index/pages/progress-indicators/progress-indicators.page.spec.ts +21 -0
  61. package/demo/src/app/index/pages/progress-indicators/progress-indicators.page.ts +47 -0
  62. package/demo/src/app/index/pages/radio/radio.page.html +39 -0
  63. package/demo/src/app/index/pages/radio/radio.page.scss +0 -0
  64. package/demo/src/app/index/pages/radio/radio.page.spec.ts +21 -0
  65. package/demo/src/app/index/pages/radio/radio.page.ts +47 -0
  66. package/demo/src/app/index/pages/range/range.page.html +58 -0
  67. package/demo/src/app/index/pages/range/range.page.scss +0 -0
  68. package/demo/src/app/index/pages/range/range.page.spec.ts +21 -0
  69. package/demo/src/app/index/pages/range/range.page.ts +49 -0
  70. package/demo/src/app/index/pages/searchbar/searchbar.page.html +33 -0
  71. package/demo/src/app/index/pages/searchbar/searchbar.page.scss +0 -0
  72. package/demo/src/app/index/pages/searchbar/searchbar.page.spec.ts +21 -0
  73. package/demo/src/app/index/pages/searchbar/searchbar.page.ts +45 -0
  74. package/demo/src/app/index/pages/segment/segment.page.html +102 -0
  75. package/demo/src/app/index/pages/segment/segment.page.scss +0 -0
  76. package/demo/src/app/index/pages/segment/segment.page.spec.ts +21 -0
  77. package/demo/src/app/index/pages/segment/segment.page.ts +51 -0
  78. package/demo/src/app/index/pages/select/select.page.html +74 -0
  79. package/demo/src/app/index/pages/select/select.page.scss +0 -0
  80. package/demo/src/app/index/pages/select/select.page.spec.ts +21 -0
  81. package/demo/src/app/index/pages/select/select.page.ts +50 -0
  82. package/demo/src/app/index/pages/toast/toast.page.html +32 -0
  83. package/demo/src/app/index/pages/toast/toast.page.scss +0 -0
  84. package/demo/src/app/index/pages/toast/toast.page.spec.ts +21 -0
  85. package/demo/src/app/index/pages/toast/toast.page.ts +66 -0
  86. package/demo/src/app/index/pages/toggle/toggle.page.html +45 -0
  87. package/demo/src/app/index/pages/toggle/toggle.page.scss +0 -0
  88. package/demo/src/app/index/pages/toggle/toggle.page.spec.ts +21 -0
  89. package/demo/src/app/index/pages/toggle/toggle.page.ts +49 -0
  90. package/demo/src/app/settings/settings-page.component.html +4 -7
  91. package/demo/src/app/settings/settings-page.component.spec.ts +2 -2
  92. package/demo/src/app/tabs/tabs.page.html +4 -4
  93. package/demo/src/app/tabs/tabs.page.spec.ts +1 -1
  94. package/demo/src/app/tabs/tabs.routes.ts +0 -1
  95. package/demo/src/global.scss +28 -10
  96. package/demo/src/index.html +1 -1
  97. package/demo/src/test.ts +7 -0
  98. package/demo/src/theme/variables.scss +18 -0
  99. package/demo/util/mocks/angular/angular-delegate.ts +18 -0
  100. package/demo/util/mocks/angular/ion-router-outlet.ts +39 -0
  101. package/demo/util/mocks/angular/modal-controller.ts +7 -0
  102. package/demo/util/mocks/angular/nav-controller.ts +22 -0
  103. package/demo/util/mocks/angular/popover-controller.ts +7 -0
  104. package/demo/util/mocks/util/base.mock.ts +13 -0
  105. package/demo/util/mocks/util/overlay.ts +13 -0
  106. package/demo/util/test.config.ts +54 -0
  107. package/package.json +3 -2
  108. package/src/components/ion-action-sheet.scss +23 -4
  109. package/src/components/ion-alert.scss +17 -2
  110. package/src/components/ion-breadcrumbs.scss +24 -0
  111. package/src/components/ion-button.scss +105 -62
  112. package/src/components/ion-card.scss +5 -1
  113. package/src/components/ion-chip.scss +10 -0
  114. package/src/components/ion-content.scss +13 -0
  115. package/src/components/ion-datetime.scss +9 -0
  116. package/src/components/ion-fab.scss +10 -4
  117. package/src/components/ion-list.scss +7 -2
  118. package/src/components/ion-loading.scss +9 -0
  119. package/src/components/ion-modal.scss +26 -1
  120. package/src/components/ion-picker.scss +4 -0
  121. package/src/components/ion-popover.scss +8 -16
  122. package/src/components/ion-range.scss +21 -0
  123. package/src/components/ion-searchbar.scss +2 -2
  124. package/src/components/ion-segment.scss +40 -5
  125. package/src/components/ion-tabs.scss +2 -2
  126. package/src/components/ion-toast.scss +11 -2
  127. package/src/components/ion-toggle.scss +37 -28
  128. package/src/components/ion-toolbar.scss +27 -0
  129. package/src/{utils/default-variables.scss → default-variables.scss} +3 -1
  130. package/src/ionic-theme-ios26-dark-always.scss +6 -0
  131. package/src/{ionic-theme-dark-class.scss → ionic-theme-ios26-dark-class.scss} +1 -1
  132. package/src/{ionic-theme-dark-system.scss → ionic-theme-ios26-dark-system.scss} +1 -1
  133. package/src/ionic-theme-ios26.scss +8 -17
  134. package/src/utils/api.scss +9 -8
  135. package/src/utils/dark/ion-button.scss +45 -0
  136. package/src/{components-dark → utils}/theme-dark.scss +5 -3
  137. package/src/utils/theme-list-inset.scss +23 -19
  138. package/src/utils/translucent.scss +59 -58
  139. package/build-sass.js +0 -25
  140. package/demo/src/theme/theme-ios26.scss +0 -25
  141. package/src/components-dark/ion-button.scss +0 -28
@@ -22,4 +22,68 @@ export const routes: Routes = [
22
22
  path: 'checkbox',
23
23
  loadComponent: () => import('./pages/checkbox/checkbox.page').then((m) => m.CheckboxPage),
24
24
  },
25
+ {
26
+ path: 'range',
27
+ loadComponent: () => import('./pages/range/range.page').then((m) => m.RangePage),
28
+ },
29
+ {
30
+ path: 'toast',
31
+ loadComponent: () => import('./pages/toast/toast.page').then((m) => m.ToastPage),
32
+ },
33
+ {
34
+ path: 'toggle',
35
+ loadComponent: () => import('./pages/toggle/toggle.page').then((m) => m.TogglePage),
36
+ },
37
+ {
38
+ path: 'segment',
39
+ loadComponent: () => import('./pages/segment/segment.page').then((m) => m.SegmentPage),
40
+ },
41
+ {
42
+ path: 'modal',
43
+ loadComponent: () => import('./pages/modal/modal.page').then((m) => m.ModalPage),
44
+ },
45
+ {
46
+ path: 'card',
47
+ loadComponent: () => import('./pages/card/card.page').then((m) => m.CardPage),
48
+ },
49
+ {
50
+ path: 'chip',
51
+ loadComponent: () => import('./pages/chip/chip.page').then((m) => m.ChipPage),
52
+ },
53
+ {
54
+ path: 'breadcrumbs',
55
+ loadComponent: () => import('./pages/breadcrumbs/breadcrumbs.page').then((m) => m.BreadcrumbsPage),
56
+ },
57
+ {
58
+ path: 'searchbar',
59
+ loadComponent: () => import('./pages/searchbar/searchbar.page').then((m) => m.SearchbarPage),
60
+ },
61
+ {
62
+ path: 'menu',
63
+ loadComponent: () => import('./pages/menu/menu.page').then((m) => m.MenuPage),
64
+ },
65
+ {
66
+ path: 'popover',
67
+ loadComponent: () => import('./pages/popover/popover.page').then((m) => m.PopoverPage),
68
+ },
69
+ {
70
+ path: 'progress-indicators',
71
+ loadComponent: () => import('./pages/progress-indicators/progress-indicators.page').then((m) => m.ProgressIndicatorsPage),
72
+ },
73
+ {
74
+ path: 'floating-action-button',
75
+ loadComponent: () => import('./pages/floating-action-button/floating-action-button.page').then((m) => m.FloatingActionButtonPage),
76
+ },
77
+ {
78
+ path: 'select',
79
+ loadComponent: () => import('./pages/select/select.page').then((m) => m.SelectPage),
80
+ },
81
+ {
82
+ path: 'radio',
83
+ loadComponent: () => import('./pages/radio/radio.page').then((m) => m.RadioPage),
84
+ },
85
+ {
86
+ path: 'date-and-time-pickers',
87
+ loadComponent: () => import('./pages/date-and-time-pickers/date-and-time-pickers.page').then((m) => m.DateAndTimePickersPage),
88
+ },
25
89
  ];
@@ -1,11 +1,15 @@
1
1
  import { ComponentFixture, TestBed } from '@angular/core/testing';
2
2
  import { ActionSheetPage } from './action-sheet.page';
3
+ import { testConfig } from '../../../../../util/test.config';
3
4
 
4
5
  describe('ActionSheetPage', () => {
5
6
  let component: ActionSheetPage;
6
7
  let fixture: ComponentFixture<ActionSheetPage>;
7
8
 
8
- beforeEach(() => {
9
+ beforeEach(async () => {
10
+ await TestBed.configureTestingModule({
11
+ providers: testConfig.providers,
12
+ }).compileComponents();
9
13
  fixture = TestBed.createComponent(ActionSheetPage);
10
14
  component = fixture.componentInstance;
11
15
  fixture.detectChanges();
@@ -2,8 +2,8 @@ import { Component, inject, OnInit } from '@angular/core';
2
2
  import { CommonModule } from '@angular/common';
3
3
  import { FormsModule } from '@angular/forms';
4
4
  import {
5
+ ActionSheetController,
5
6
  IonBackButton,
6
- IonButtons,
7
7
  IonContent,
8
8
  IonHeader,
9
9
  IonIcon,
@@ -16,7 +16,6 @@ import {
16
16
  IonTitle,
17
17
  IonToolbar,
18
18
  } from '@ionic/angular/standalone';
19
- import { ActionSheetController } from '@ionic/angular';
20
19
  import { actionSheetUtil } from './action-sheet.util';
21
20
 
22
21
  @Component({
@@ -31,7 +30,6 @@ import { actionSheetUtil } from './action-sheet.util';
31
30
  IonToolbar,
32
31
  CommonModule,
33
32
  FormsModule,
34
- IonButtons,
35
33
  IonBackButton,
36
34
  IonList,
37
35
  IonItem,
@@ -68,8 +66,8 @@ export class ActionSheetPage implements OnInit {
68
66
  }
69
67
  return actionSheetUtil();
70
68
  })(type);
71
-
72
69
  const actionSheet = await this.overlayCtrl.create(applyConfig);
73
- await actionSheet.present();
70
+ console.log(applyConfig);
71
+ await actionSheet.present().then(() => console.log(type));
74
72
  }
75
73
  }
@@ -1,11 +1,15 @@
1
1
  import { ComponentFixture, TestBed } from '@angular/core/testing';
2
2
  import { AlertPage } from './alert.page';
3
+ import { testConfig } from '../../../../../util/test.config';
3
4
 
4
5
  describe('AlertPage', () => {
5
6
  let component: AlertPage;
6
7
  let fixture: ComponentFixture<AlertPage>;
7
8
 
8
- beforeEach(() => {
9
+ beforeEach(async () => {
10
+ await TestBed.configureTestingModule({
11
+ providers: testConfig.providers,
12
+ }).compileComponents();
9
13
  fixture = TestBed.createComponent(AlertPage);
10
14
  component = fixture.componentInstance;
11
15
  fixture.detectChanges();
@@ -16,8 +16,6 @@ import {
16
16
  IonTitle,
17
17
  IonToolbar,
18
18
  } from '@ionic/angular/standalone';
19
- import { ActionSheetController } from '@ionic/angular';
20
- import { actionSheetUtil } from '../action-sheet/action-sheet.util';
21
19
  import { alertUtil } from './alert.util';
22
20
 
23
21
  @Component({
@@ -0,0 +1,41 @@
1
+ <ion-header [translucent]="true">
2
+ <ion-toolbar>
3
+ <ion-back-button slot="start" defaultHref="/main/index"></ion-back-button>
4
+ <ion-title>breadcrumbs</ion-title>
5
+ </ion-toolbar>
6
+ </ion-header>
7
+
8
+ <ion-content [fullscreen]="true" color="light">
9
+ <ion-list [inset]="true">
10
+ <ion-item-group class="header-item-group">
11
+ <ion-item>
12
+ <ion-label>
13
+ <ion-icon name="logo-ionic" style="background: linear-gradient(#489bfd, #2b77f4)"></ion-icon>
14
+ <h2>breadcrumbs</h2>
15
+ <ion-header collapse="condense">
16
+ <ion-toolbar></ion-toolbar>
17
+ </ion-header>
18
+ <ion-text><code>This page is a component demo for &#64;rdlabo/ionic-theme-ios26.</code></ion-text>
19
+ </ion-label>
20
+ </ion-item>
21
+ </ion-item-group>
22
+ </ion-list>
23
+
24
+ <section class="section-example">
25
+ <ion-breadcrumbs class="ios26-disabled">
26
+ <ion-breadcrumb href="#home">Home</ion-breadcrumb>
27
+ <ion-breadcrumb href="#electronics">Electronics</ion-breadcrumb>
28
+ <ion-breadcrumb href="#cameras">Cameras</ion-breadcrumb>
29
+ <ion-breadcrumb href="#film">Film</ion-breadcrumb>
30
+ </ion-breadcrumbs>
31
+ </section>
32
+
33
+ <section class="section-example">
34
+ <ion-breadcrumbs>
35
+ <ion-breadcrumb href="#home">Home</ion-breadcrumb>
36
+ <ion-breadcrumb href="#electronics">Electronics</ion-breadcrumb>
37
+ <ion-breadcrumb href="#cameras">Cameras</ion-breadcrumb>
38
+ <ion-breadcrumb href="#film">Film</ion-breadcrumb>
39
+ </ion-breadcrumbs>
40
+ </section>
41
+ </ion-content>
@@ -0,0 +1,21 @@
1
+ import { ComponentFixture, TestBed } from '@angular/core/testing';
2
+ import { BreadcrumbsPage } from './breadcrumbs.page';
3
+ import { testConfig } from '../../../../../util/test.config';
4
+
5
+ describe('BreadcrumbsPage', () => {
6
+ let component: BreadcrumbsPage;
7
+ let fixture: ComponentFixture<BreadcrumbsPage>;
8
+
9
+ beforeEach(async () => {
10
+ await TestBed.configureTestingModule({
11
+ providers: testConfig.providers,
12
+ }).compileComponents();
13
+ fixture = TestBed.createComponent(BreadcrumbsPage);
14
+ component = fixture.componentInstance;
15
+ fixture.detectChanges();
16
+ });
17
+
18
+ it('should create', () => {
19
+ expect(component).toBeTruthy();
20
+ });
21
+ });
@@ -0,0 +1,47 @@
1
+ import { Component, OnInit } from '@angular/core';
2
+ import { CommonModule } from '@angular/common';
3
+ import { FormsModule } from '@angular/forms';
4
+ import {
5
+ IonBackButton,
6
+ IonBreadcrumb,
7
+ IonBreadcrumbs,
8
+ IonContent,
9
+ IonHeader,
10
+ IonIcon,
11
+ IonItem,
12
+ IonItemGroup,
13
+ IonLabel,
14
+ IonList,
15
+ IonText,
16
+ IonTitle,
17
+ IonToolbar,
18
+ } from '@ionic/angular/standalone';
19
+
20
+ @Component({
21
+ selector: 'app-breadcrumbs',
22
+ templateUrl: './breadcrumbs.page.html',
23
+ styleUrls: ['./breadcrumbs.page.scss'],
24
+ standalone: true,
25
+ imports: [
26
+ IonContent,
27
+ IonHeader,
28
+ IonTitle,
29
+ IonToolbar,
30
+ CommonModule,
31
+ FormsModule,
32
+ IonBackButton,
33
+ IonIcon,
34
+ IonItem,
35
+ IonItemGroup,
36
+ IonLabel,
37
+ IonList,
38
+ IonText,
39
+ IonBreadcrumbs,
40
+ IonBreadcrumb,
41
+ ],
42
+ })
43
+ export class BreadcrumbsPage implements OnInit {
44
+ constructor() {}
45
+
46
+ ngOnInit() {}
47
+ }
@@ -42,15 +42,34 @@
42
42
  <ion-list-header><ion-label>Inner ion-buttons</ion-label></ion-list-header>
43
43
  <ion-item-group>
44
44
  <ion-item>
45
- <ion-label><code>buttons > button.ios26-liquid-glass</code></ion-label>
45
+ <ion-label><code>buttons > button</code></ion-label>
46
+ <ion-buttons slot="end">
47
+ <ion-button>Link</ion-button>
48
+ </ion-buttons>
49
+ </ion-item>
50
+ <ion-item>
51
+ <ion-label><code>buttons > button[fill=default]</code></ion-label>
52
+ <ion-buttons slot="end">
53
+ <ion-button fill="default">Link</ion-button>
54
+ </ion-buttons>
55
+ </ion-item>
56
+ <ion-item>
57
+ <ion-label><code>buttons > button[fill=default][size=default]</code></ion-label>
46
58
  <ion-buttons slot="end">
47
- <ion-button class="ios26-liquid-glass">Link</ion-button>
59
+ <ion-button fill="default" size="default">Link</ion-button>
60
+ </ion-buttons>
61
+ </ion-item>
62
+ <ion-item>
63
+ <ion-label><code>buttons > button[fill=default][size=large]</code></ion-label>
64
+ <ion-buttons slot="end" class="ios26-disabled">
65
+ <ion-button fill="default" size="large">Buttons Shadow</ion-button>
66
+ <ion-button fill="default" class="ios26-disabled" size="large">Default Theme</ion-button>
48
67
  </ion-buttons>
49
68
  </ion-item>
50
69
  <ion-item>
51
- <ion-label><code>buttons > button.ios26-liquid-glass[fill=outline]</code></ion-label>
70
+ <ion-label><code>buttons > button[fill=outline]</code></ion-label>
52
71
  <ion-buttons slot="end">
53
- <ion-button class="ios26-liquid-glass" fill="outline">Link</ion-button>
72
+ <ion-button fill="outline">Buttons Shadow</ion-button>
54
73
  </ion-buttons>
55
74
  </ion-item>
56
75
  </ion-item-group>
@@ -60,31 +79,34 @@
60
79
  <ion-list-header><ion-label>Standalone</ion-label></ion-list-header>
61
80
  <ion-item-group>
62
81
  <ion-item>
63
- <ion-label><code>button.ios26-liquid-glass[fill=default]</code></ion-label>
64
- <ion-button slot="end" class="ios26-liquid-glass" fill="default">Link</ion-button>
82
+ <ion-label><code>button[fill=default]</code></ion-label>
83
+ <ion-button slot="end" fill="default">Link</ion-button>
84
+ </ion-item>
85
+ <ion-item>
86
+ <ion-label><code>button[fill=default][color=primary]</code></ion-label>
87
+ <ion-button slot="end" fill="default" color="primary">Link</ion-button>
65
88
  </ion-item>
66
89
  <ion-item>
67
- <ion-label><code>button.ios26-liquid-glass[fill=solid]</code></ion-label>
68
- <ion-button slot="end" class="ios26-liquid-glass" fill="solid">Link</ion-button>
90
+ <ion-label><code>button[fill=solid]</code></ion-label>
91
+ <ion-button slot="end" fill="solid">Link</ion-button>
69
92
  </ion-item>
70
93
  <ion-item>
71
- <ion-label><code>button.ios26-liquid-glass[fill=outline]</code></ion-label>
72
- <ion-button slot="end" class="ios26-liquid-glass" fill="outline">Link</ion-button>
94
+ <ion-label><code>button[fill=outline]</code></ion-label>
95
+ <ion-button slot="end" fill="outline">Link</ion-button>
73
96
  </ion-item>
74
97
  <ion-item>
75
- <ion-label><code>button.ios26-liquid-glass[fill=clear]</code></ion-label>
76
- <ion-button slot="end" class="ios26-liquid-glass" fill="clear">Link</ion-button>
98
+ <ion-label><code>button[fill=clear]</code></ion-label>
99
+ <ion-button slot="end" fill="clear">Link</ion-button>
77
100
  </ion-item>
78
101
  </ion-item-group>
79
102
  </ion-list>
80
103
 
81
104
  <section class="section-example">
82
- <ion-button class="ios26-liquid-glass" size="small">small</ion-button>
83
- <ion-button class="ios26-liquid-glass" size="default">default</ion-button>
84
- <ion-button class="ios26-liquid-glass" size="large">large</ion-button><br />
85
-
86
- <ion-button class="ios26-liquid-glass" size="small" fill="default">small</ion-button>
87
- <ion-button class="ios26-liquid-glass" size="default" fill="default">default</ion-button>
88
- <ion-button class="ios26-liquid-glass" size="large" fill="default">large</ion-button>
105
+ <ion-button size="small" fill="default">small</ion-button>
106
+ <ion-button size="default" fill="default">default</ion-button>
107
+ <ion-button size="large" fill="default">large</ion-button><br />
108
+ <ion-button size="small" fill="solid" color="primary">small</ion-button>
109
+ <ion-button size="default" fill="solid" color="primary">default</ion-button>
110
+ <ion-button size="large" fill="solid" color="primary">large</ion-button>
89
111
  </section>
90
112
  </ion-content>
@@ -0,0 +1,3 @@
1
+ ion-item *[slot='end'] {
2
+ margin-right: 6px;
3
+ }
@@ -1,11 +1,15 @@
1
1
  import { ComponentFixture, TestBed } from '@angular/core/testing';
2
2
  import { ButtonPage } from './button.page';
3
+ import { testConfig } from '../../../../../util/test.config';
3
4
 
4
5
  describe('ButtonPage', () => {
5
6
  let component: ButtonPage;
6
7
  let fixture: ComponentFixture<ButtonPage>;
7
8
 
8
- beforeEach(() => {
9
+ beforeEach(async () => {
10
+ await TestBed.configureTestingModule({
11
+ providers: testConfig.providers,
12
+ }).compileComponents();
9
13
  fixture = TestBed.createComponent(ButtonPage);
10
14
  component = fixture.componentInstance;
11
15
  fixture.detectChanges();
@@ -5,7 +5,6 @@ import {
5
5
  IonBackButton,
6
6
  IonButton,
7
7
  IonButtons,
8
- IonCheckbox,
9
8
  IonContent,
10
9
  IonHeader,
11
10
  IonIcon,
@@ -33,7 +32,6 @@ import {
33
32
  CommonModule,
34
33
  FormsModule,
35
34
  IonBackButton,
36
- IonCheckbox,
37
35
  IonIcon,
38
36
  IonItem,
39
37
  IonItemGroup,
@@ -0,0 +1,171 @@
1
+ <ion-header [translucent]="true">
2
+ <ion-toolbar>
3
+ <ion-back-button slot="start" defaultHref="/main/index"></ion-back-button>
4
+ <ion-title>card</ion-title>
5
+ </ion-toolbar>
6
+ </ion-header>
7
+
8
+ <ion-content [fullscreen]="true" color="light">
9
+ <ion-list [inset]="true">
10
+ <ion-item-group class="header-item-group">
11
+ <ion-item>
12
+ <ion-label>
13
+ <ion-icon name="logo-ionic" style="background: linear-gradient(#489bfd, #2b77f4)"></ion-icon>
14
+ <h2>card</h2>
15
+ <ion-header collapse="condense">
16
+ <ion-toolbar></ion-toolbar>
17
+ </ion-header>
18
+ <ion-text><code>This page is a component demo for &#64;rdlabo/ionic-theme-ios26.</code></ion-text>
19
+ </ion-label>
20
+ </ion-item>
21
+ </ion-item-group>
22
+ </ion-list>
23
+
24
+ <section class="section-example">
25
+ <ion-card>
26
+ <ion-card-header>
27
+ <ion-card-title>Card Title</ion-card-title>
28
+ <ion-card-subtitle>Card Subtitle</ion-card-subtitle>
29
+ </ion-card-header>
30
+
31
+ <ion-card-content> Here's a small text description for the card content. Nothing more, nothing less. </ion-card-content>
32
+ </ion-card>
33
+ <ion-card>
34
+ <img alt="Silhouette of mountains" src="https://ionicframework.com/docs/img/demos/card-media.png" />
35
+ <ion-card-header>
36
+ <ion-card-title>Card Title</ion-card-title>
37
+ <ion-card-subtitle>Card Subtitle</ion-card-subtitle>
38
+ </ion-card-header>
39
+
40
+ <ion-card-content> Here's a small text description for the card content. Nothing more, nothing less. </ion-card-content>
41
+ </ion-card>
42
+ <ion-card>
43
+ <ion-card-header>
44
+ <ion-card-title>Card Title</ion-card-title>
45
+ <ion-card-subtitle>Card Subtitle</ion-card-subtitle>
46
+ </ion-card-header>
47
+
48
+ <ion-card-content> Here's a small text description for the card content. Nothing more, nothing less. </ion-card-content>
49
+
50
+ <ion-button fill="clear">Action 1</ion-button>
51
+ <ion-button fill="clear">Action 2</ion-button>
52
+ </ion-card>
53
+ <ion-card>
54
+ <ion-card-header>
55
+ <ion-card-title>Card Title</ion-card-title>
56
+ <ion-card-subtitle>Card Subtitle</ion-card-subtitle>
57
+ </ion-card-header>
58
+ <ion-card-content>
59
+ <ion-list>
60
+ <ion-item>
61
+ <ion-thumbnail slot="start">
62
+ <img alt="Silhouette of mountains" src="https://ionicframework.com/docs/img/demos/thumbnail.svg" />
63
+ </ion-thumbnail>
64
+ <ion-label>Item</ion-label>
65
+ </ion-item>
66
+
67
+ <ion-item>
68
+ <ion-thumbnail slot="start">
69
+ <img alt="Silhouette of mountains" src="https://ionicframework.com/docs/img/demos/thumbnail.svg" />
70
+ </ion-thumbnail>
71
+ <ion-label>Item</ion-label>
72
+ </ion-item>
73
+
74
+ <ion-item>
75
+ <ion-thumbnail slot="start">
76
+ <img alt="Silhouette of mountains" src="https://ionicframework.com/docs/img/demos/thumbnail.svg" />
77
+ </ion-thumbnail>
78
+ <ion-label>Item</ion-label>
79
+ </ion-item>
80
+
81
+ <ion-item lines="none">
82
+ <ion-thumbnail slot="start">
83
+ <img alt="Silhouette of mountains" src="https://ionicframework.com/docs/img/demos/thumbnail.svg" />
84
+ </ion-thumbnail>
85
+ <ion-label>Item</ion-label>
86
+ </ion-item>
87
+ </ion-list>
88
+ </ion-card-content>
89
+ </ion-card>
90
+ <ion-card color="primary">
91
+ <ion-card-header>
92
+ <ion-card-title>Card Title</ion-card-title>
93
+ <ion-card-subtitle>Card Subtitle</ion-card-subtitle>
94
+ </ion-card-header>
95
+
96
+ <ion-card-content> Card Content </ion-card-content>
97
+ </ion-card>
98
+
99
+ <ion-card color="secondary">
100
+ <ion-card-header>
101
+ <ion-card-title>Card Title</ion-card-title>
102
+ <ion-card-subtitle>Card Subtitle</ion-card-subtitle>
103
+ </ion-card-header>
104
+
105
+ <ion-card-content> Card Content </ion-card-content>
106
+ </ion-card>
107
+
108
+ <ion-card color="tertiary">
109
+ <ion-card-header>
110
+ <ion-card-title>Card Title</ion-card-title>
111
+ <ion-card-subtitle>Card Subtitle</ion-card-subtitle>
112
+ </ion-card-header>
113
+
114
+ <ion-card-content> Card Content </ion-card-content>
115
+ </ion-card>
116
+
117
+ <ion-card color="success">
118
+ <ion-card-header>
119
+ <ion-card-title>Card Title</ion-card-title>
120
+ <ion-card-subtitle>Card Subtitle</ion-card-subtitle>
121
+ </ion-card-header>
122
+
123
+ <ion-card-content> Card Content </ion-card-content>
124
+ </ion-card>
125
+
126
+ <ion-card color="warning">
127
+ <ion-card-header>
128
+ <ion-card-title>Card Title</ion-card-title>
129
+ <ion-card-subtitle>Card Subtitle</ion-card-subtitle>
130
+ </ion-card-header>
131
+
132
+ <ion-card-content> Card Content </ion-card-content>
133
+ </ion-card>
134
+
135
+ <ion-card color="danger">
136
+ <ion-card-header>
137
+ <ion-card-title>Card Title</ion-card-title>
138
+ <ion-card-subtitle>Card Subtitle</ion-card-subtitle>
139
+ </ion-card-header>
140
+
141
+ <ion-card-content> Card Content </ion-card-content>
142
+ </ion-card>
143
+
144
+ <ion-card color="light">
145
+ <ion-card-header>
146
+ <ion-card-title>Card Title</ion-card-title>
147
+ <ion-card-subtitle>Card Subtitle</ion-card-subtitle>
148
+ </ion-card-header>
149
+
150
+ <ion-card-content> Card Content </ion-card-content>
151
+ </ion-card>
152
+
153
+ <ion-card color="medium">
154
+ <ion-card-header>
155
+ <ion-card-title>Card Title</ion-card-title>
156
+ <ion-card-subtitle>Card Subtitle</ion-card-subtitle>
157
+ </ion-card-header>
158
+
159
+ <ion-card-content> Card Content </ion-card-content>
160
+ </ion-card>
161
+
162
+ <ion-card color="dark">
163
+ <ion-card-header>
164
+ <ion-card-title>Card Title</ion-card-title>
165
+ <ion-card-subtitle>Card Subtitle</ion-card-subtitle>
166
+ </ion-card-header>
167
+
168
+ <ion-card-content> Card Content </ion-card-content>
169
+ </ion-card>
170
+ </section>
171
+ </ion-content>
File without changes
@@ -0,0 +1,21 @@
1
+ import { ComponentFixture, TestBed } from '@angular/core/testing';
2
+ import { CardPage } from './card.page';
3
+ import { testConfig } from '../../../../../util/test.config';
4
+
5
+ describe('CardPage', () => {
6
+ let component: CardPage;
7
+ let fixture: ComponentFixture<CardPage>;
8
+
9
+ beforeEach(async () => {
10
+ await TestBed.configureTestingModule({
11
+ providers: testConfig.providers,
12
+ }).compileComponents();
13
+ fixture = TestBed.createComponent(CardPage);
14
+ component = fixture.componentInstance;
15
+ fixture.detectChanges();
16
+ });
17
+
18
+ it('should create', () => {
19
+ expect(component).toBeTruthy();
20
+ });
21
+ });
@@ -0,0 +1,57 @@
1
+ import { Component, OnInit } from '@angular/core';
2
+ import { CommonModule } from '@angular/common';
3
+ import { FormsModule } from '@angular/forms';
4
+ import {
5
+ IonBackButton,
6
+ IonButton,
7
+ IonCard,
8
+ IonCardContent,
9
+ IonCardHeader,
10
+ IonCardSubtitle,
11
+ IonCardTitle,
12
+ IonContent,
13
+ IonHeader,
14
+ IonIcon,
15
+ IonItem,
16
+ IonItemGroup,
17
+ IonLabel,
18
+ IonList,
19
+ IonText,
20
+ IonThumbnail,
21
+ IonTitle,
22
+ IonToolbar,
23
+ } from '@ionic/angular/standalone';
24
+
25
+ @Component({
26
+ selector: 'app-card',
27
+ templateUrl: './card.page.html',
28
+ styleUrls: ['./card.page.scss'],
29
+ standalone: true,
30
+ imports: [
31
+ IonContent,
32
+ IonHeader,
33
+ IonTitle,
34
+ IonToolbar,
35
+ CommonModule,
36
+ FormsModule,
37
+ IonBackButton,
38
+ IonIcon,
39
+ IonItem,
40
+ IonItemGroup,
41
+ IonLabel,
42
+ IonList,
43
+ IonText,
44
+ IonCard,
45
+ IonCardHeader,
46
+ IonCardTitle,
47
+ IonCardSubtitle,
48
+ IonCardContent,
49
+ IonButton,
50
+ IonThumbnail,
51
+ ],
52
+ })
53
+ export class CardPage implements OnInit {
54
+ constructor() {}
55
+
56
+ ngOnInit() {}
57
+ }
@@ -1,11 +1,15 @@
1
1
  import { ComponentFixture, TestBed } from '@angular/core/testing';
2
2
  import { CheckboxPage } from './checkbox.page';
3
+ import { testConfig } from '../../../../../util/test.config';
3
4
 
4
5
  describe('CheckboxPage', () => {
5
6
  let component: CheckboxPage;
6
7
  let fixture: ComponentFixture<CheckboxPage>;
7
8
 
8
- beforeEach(() => {
9
+ beforeEach(async () => {
10
+ await TestBed.configureTestingModule({
11
+ providers: testConfig.providers,
12
+ }).compileComponents();
9
13
  fixture = TestBed.createComponent(CheckboxPage);
10
14
  component = fixture.componentInstance;
11
15
  fixture.detectChanges();