Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions static/code/stackblitz/v8/angular/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
"@angular/platform-browser": "^19.0.0",
"@angular/platform-browser-dynamic": "^19.0.0",
"@angular/router": "^19.0.0",
"@ionic/angular": "8.6.1",
"@ionic/core": "8.6.1",
"@ionic/angular": "8.6.3-dev.11753813535.1498583f",
"@ionic/core": "8.6.3-dev.11753813535.1498583f",
"ionicons": "8.0.9",
"rxjs": "^7.8.1",
"tslib": "^2.5.0",
Expand Down
2 changes: 1 addition & 1 deletion static/code/stackblitz/v8/html/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"dependencies": {
"@ionic/core": "8.6.1",
"@ionic/core": "8.6.3-dev.11753813535.1498583f",
"ionicons": "8.0.9"
}
}
2 changes: 1 addition & 1 deletion static/code/stackblitz/v8/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "0.1.0",
"private": true,
"dependencies": {
"@ionic/react": "8.6.1",
"@ionic/react": "8.6.3-dev.11753813535.1498583f",
"@ionic/react-router": "8.6.1",
"@types/node": "^22.0.0",
"@types/react": "^19.0.0",
Expand Down
4 changes: 2 additions & 2 deletions static/code/stackblitz/v8/vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
"preview": "vite preview"
},
"dependencies": {
"@ionic/vue": "8.6.1",
"@ionic/vue-router": "8.6.1",
"@ionic/vue": "8.6.3-dev.11753813535.1498583f",
"@ionic/vue-router": "8.6.3-dev.11753813535.1498583f",
"vue": "^3.2.25",
"vue-router": "4.5.1"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,21 +14,25 @@ export class ExampleComponent {
date: '2023-01-05',
textColor: '#800080',
backgroundColor: '#ffc0cb',
border: '1px solid #e91e63',
},
{
date: '2023-01-10',
textColor: '#09721b',
backgroundColor: '#c8e5d0',
border: '1px solid #4caf50',
},
{
date: '2023-01-20',
textColor: 'var(--ion-color-secondary-contrast)',
backgroundColor: 'var(--ion-color-secondary)',
textColor: 'var(--ion-color-secondary)',
backgroundColor: 'rgb(var(--ion-color-secondary-rgb), 0.18)',
border: '1px solid var(--ion-color-secondary-shade)',
},
{
date: '2023-01-23',
textColor: 'rgb(68, 10, 184)',
backgroundColor: 'rgb(211, 200, 229)',
border: '1px solid rgb(103, 58, 183)',
},
];
}
Expand Down
18 changes: 14 additions & 4 deletions static/usage/v8/datetime/highlightedDates/array/demo.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,14 @@
<title>Datetime</title>
<link rel="stylesheet" href="../../../common.css" />
<script src="../../../common.js"></script>
<script type="module" src="https://cdn.jsdelivr.net/npm/@ionic/core@8/dist/ionic/ionic.esm.js"></script>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@ionic/core@8/css/ionic.bundle.css" />
<script
type="module"
src="https://cdn.jsdelivr.net/npm/@ionic/core@8.6.3-dev.11753813535.1498583f/dist/ionic/ionic.esm.js"
></script>
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/@ionic/core@8.6.3-dev.11753813535.1498583f/css/ionic.bundle.css"
/>
<style>
ion-datetime {
width: 350px;
Expand All @@ -31,21 +37,25 @@
date: '2023-01-05',
textColor: '#800080',
backgroundColor: '#ffc0cb',
border: '1px solid #e91e63',
},
{
date: '2023-01-10',
textColor: '#09721b',
backgroundColor: '#c8e5d0',
border: '1px solid #4caf50',
},
{
date: '2023-01-20',
textColor: 'var(--ion-color-secondary-contrast)',
backgroundColor: 'var(--ion-color-secondary)',
textColor: 'var(--ion-color-secondary)',
backgroundColor: 'rgb(var(--ion-color-secondary-rgb), 0.18)',
border: '1px solid var(--ion-color-secondary-shade)',
},
{
date: '2023-01-23',
textColor: 'rgb(68, 10, 184)',
backgroundColor: 'rgb(211, 200, 229)',
border: '1px solid rgb(103, 58, 183)',
},
];
</script>
Expand Down
8 changes: 6 additions & 2 deletions static/usage/v8/datetime/highlightedDates/array/javascript.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,21 +8,25 @@
date: '2023-01-05',
textColor: '#800080',
backgroundColor: '#ffc0cb',
border: '1px solid #e91e63',
},
{
date: '2023-01-10',
textColor: '#09721b',
backgroundColor: '#c8e5d0',
border: '1px solid #4caf50',
},
{
date: '2023-01-20',
textColor: 'var(--ion-color-secondary-contrast)',
backgroundColor: 'var(--ion-color-secondary)',
textColor: 'var(--ion-color-secondary)',
backgroundColor: 'rgb(var(--ion-color-secondary-rgb), 0.18)',
border: '1px solid var(--ion-color-secondary-shade)',
},
{
date: '2023-01-23',
textColor: 'rgb(68, 10, 184)',
backgroundColor: 'rgb(211, 200, 229)',
border: '1px solid rgb(103, 58, 183)',
},
];
</script>
Expand Down
8 changes: 6 additions & 2 deletions static/usage/v8/datetime/highlightedDates/array/react.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,21 +11,25 @@ function Example() {
date: '2023-01-05',
textColor: '#800080',
backgroundColor: '#ffc0cb',
border: '1px solid #e91e63',
},
{
date: '2023-01-10',
textColor: '#09721b',
backgroundColor: '#c8e5d0',
border: '1px solid #4caf50',
},
{
date: '2023-01-20',
textColor: 'var(--ion-color-secondary-contrast)',
backgroundColor: 'var(--ion-color-secondary)',
textColor: 'var(--ion-color-secondary)',
backgroundColor: 'rgb(var(--ion-color-secondary-rgb), 0.18)',
border: '1px solid var(--ion-color-secondary-shade)',
},
{
date: '2023-01-23',
textColor: 'rgb(68, 10, 184)',
backgroundColor: 'rgb(211, 200, 229)',
border: '1px solid rgb(103, 58, 183)',
},
]}
></IonDatetime>
Expand Down
8 changes: 6 additions & 2 deletions static/usage/v8/datetime/highlightedDates/array/vue.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,21 +15,25 @@
date: '2023-01-05',
textColor: '#800080',
backgroundColor: '#ffc0cb',
border: '1px solid #e91e63',
},
{
date: '2023-01-10',
textColor: '#09721b',
backgroundColor: '#c8e5d0',
border: '1px solid #4caf50',
},
{
date: '2023-01-20',
textColor: 'var(--ion-color-secondary-contrast)',
backgroundColor: 'var(--ion-color-secondary)',
textColor: 'var(--ion-color-secondary)',
backgroundColor: 'rgb(var(--ion-color-secondary-rgb), 0.18)',
border: '1px solid var(--ion-color-secondary-shade)',
},
{
date: '2023-01-23',
textColor: 'rgb(68, 10, 184)',
backgroundColor: 'rgb(211, 200, 229)',
border: '1px solid rgb(103, 58, 183)',
},
];

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,15 @@ export class ExampleComponent {
return {
textColor: '#800080',
backgroundColor: '#ffc0cb',
border: '1px solid #e91e63',
};
}

if (utcDay % 3 === 0) {
return {
textColor: 'var(--ion-color-secondary-contrast)',
backgroundColor: 'var(--ion-color-secondary)',
textColor: 'var(--ion-color-secondary)',
backgroundColor: 'rgb(var(--ion-color-secondary-rgb), 0.18)',
border: '1px solid var(--ion-color-secondary-shade)',
};
}

Expand Down
16 changes: 12 additions & 4 deletions static/usage/v8/datetime/highlightedDates/callback/demo.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,14 @@
<title>Datetime</title>
<link rel="stylesheet" href="../../../common.css" />
<script src="../../../common.js"></script>
<script type="module" src="https://cdn.jsdelivr.net/npm/@ionic/core@8/dist/ionic/ionic.esm.js"></script>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@ionic/core@8/css/ionic.bundle.css" />
<script
type="module"
src="https://cdn.jsdelivr.net/npm/@ionic/core@8.6.3-dev.11753813535.1498583f/dist/ionic/ionic.esm.js"
></script>
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/@ionic/core@8.6.3-dev.11753813535.1498583f/css/ionic.bundle.css"
/>
<style>
ion-datetime {
width: 350px;
Expand All @@ -34,13 +40,15 @@
return {
textColor: '#800080',
backgroundColor: '#ffc0cb',
border: '1px solid #e91e63',
};
}

if (utcDay % 3 === 0) {
return {
textColor: 'var(--ion-color-secondary-contrast)',
backgroundColor: 'var(--ion-color-secondary)',
textColor: 'var(--ion-color-secondary)',
backgroundColor: 'rgb(var(--ion-color-secondary-rgb), 0.18)',
border: '1px solid var(--ion-color-secondary-shade)',
};
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,15 @@
return {
textColor: '#800080',
backgroundColor: '#ffc0cb',
border: '1px solid #e91e63',
};
}

if (utcDay % 3 === 0) {
return {
textColor: 'var(--ion-color-secondary-contrast)',
backgroundColor: 'var(--ion-color-secondary)',
textColor: 'var(--ion-color-secondary)',
backgroundColor: 'rgb(var(--ion-color-secondary-rgb), 0.18)',
border: '1px solid var(--ion-color-secondary-shade)',
};
}

Expand Down
6 changes: 4 additions & 2 deletions static/usage/v8/datetime/highlightedDates/callback/react.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,15 @@ function Example() {
return {
textColor: '#800080',
backgroundColor: '#ffc0cb',
border: '1px solid #e91e63',
};
}

if (utcDay % 3 === 0) {
return {
textColor: 'var(--ion-color-secondary-contrast)',
backgroundColor: 'var(--ion-color-secondary)',
textColor: 'var(--ion-color-secondary)',
backgroundColor: 'rgb(var(--ion-color-secondary-rgb), 0.18)',
border: '1px solid var(--ion-color-secondary-shade)',
};
}

Expand Down
6 changes: 4 additions & 2 deletions static/usage/v8/datetime/highlightedDates/callback/vue.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,15 @@
return {
textColor: '#800080',
backgroundColor: '#ffc0cb',
border: '1px solid #e91e63',
};
}

if (utcDay % 3 === 0) {
return {
textColor: 'var(--ion-color-secondary-contrast)',
backgroundColor: 'var(--ion-color-secondary)',
textColor: 'var(--ion-color-secondary)',
backgroundColor: 'rgb(var(--ion-color-secondary-rgb), 0.18)',
border: '1px solid var(--ion-color-secondary-shade)',
};
}

Expand Down
Loading