Skip to content

Commit 9988ddd

Browse files
committed
docs(datetime): update part names
1 parent 99f8056 commit 9988ddd

10 files changed

Lines changed: 60 additions & 20 deletions

File tree

static/usage/v8/datetime/styling/calendar-header/angular/example_component_css.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,19 +11,19 @@ ion-datetime::part(month-year-button) {
1111
background-color: lightblue;
1212
}
1313

14-
ion-datetime::part(prev-next-buttons) {
14+
ion-datetime::part(navigation-button) {
1515
background-color: firebrick;
1616
}
1717

18-
ion-datetime::part(prev-button) {
18+
ion-datetime::part(previous-button) {
1919
color: white;
2020
}
2121

2222
ion-datetime::part(next-button) {
2323
color: black;
2424
}
2525

26-
ion-datetime::part(days-of-week) {
26+
ion-datetime::part(calendar-days-of-week) {
2727
background-color: #9ad162;
2828
color: white;
2929
}

static/usage/v8/datetime/styling/calendar-header/demo.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,19 +23,19 @@
2323
background-color: lightblue;
2424
}
2525

26-
ion-datetime::part(prev-next-buttons) {
26+
ion-datetime::part(navigation-button) {
2727
background-color: firebrick;
2828
}
2929

30-
ion-datetime::part(prev-button) {
30+
ion-datetime::part(previous-button) {
3131
color: white;
3232
}
3333

3434
ion-datetime::part(next-button) {
3535
color: black;
3636
}
3737

38-
ion-datetime::part(days-of-week) {
38+
ion-datetime::part(calendar-days-of-week) {
3939
background-color: #9ad162;
4040
color: white;
4141
}

static/usage/v8/datetime/styling/calendar-header/javascript.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,19 +14,19 @@
1414
background-color: lightblue;
1515
}
1616
17-
ion-datetime::part(prev-next-buttons) {
17+
ion-datetime::part(navigation-button) {
1818
background-color: firebrick;
1919
}
2020
21-
ion-datetime::part(prev-button) {
21+
ion-datetime::part(previous-button) {
2222
color: white;
2323
}
2424
2525
ion-datetime::part(next-button) {
2626
color: black;
2727
}
2828
29-
ion-datetime::part(days-of-week) {
29+
ion-datetime::part(calendar-days-of-week) {
3030
background-color: #9ad162;
3131
color: white;
3232
}

static/usage/v8/datetime/styling/calendar-header/react/main_css.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,19 +11,19 @@ ion-datetime::part(month-year-button) {
1111
background-color: lightblue;
1212
}
1313

14-
ion-datetime::part(prev-next-buttons) {
14+
ion-datetime::part(navigation-button) {
1515
background-color: firebrick;
1616
}
1717

18-
ion-datetime::part(prev-button) {
18+
ion-datetime::part(previous-button) {
1919
color: white;
2020
}
2121

2222
ion-datetime::part(next-button) {
2323
color: black;
2424
}
2525

26-
ion-datetime::part(days-of-week) {
26+
ion-datetime::part(calendar-days-of-week) {
2727
background-color: #9ad162;
2828
color: white;
2929
}

static/usage/v8/datetime/styling/calendar-header/vue.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,19 +20,19 @@
2020
background-color: lightblue;
2121
}
2222
23-
ion-datetime::part(prev-next-buttons) {
23+
ion-datetime::part(navigation-button) {
2424
background-color: firebrick;
2525
}
2626
27-
ion-datetime::part(prev-button) {
27+
ion-datetime::part(previous-button) {
2828
color: white;
2929
}
3030
3131
ion-datetime::part(next-button) {
3232
color: black;
3333
}
3434
35-
ion-datetime::part(days-of-week) {
35+
ion-datetime::part(calendar-days-of-week) {
3636
background-color: #9ad162;
3737
color: white;
3838
}
Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,17 @@
11
```css
22
/*
3-
* Custom Datetime Header Part
3+
* Custom Datetime Header Parts
44
* -------------------------------------------
55
*/
66
ion-datetime::part(datetime-header) {
77
background-color: orange;
88
}
9+
10+
ion-datetime::part(datetime-title) {
11+
background-color: pink;
12+
}
13+
14+
ion-datetime::part(datetime-selected-date) {
15+
background-color: violet;
16+
}
917
```

static/usage/v8/datetime/styling/datetime-header/demo.html

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,21 @@
1111

1212
<style>
1313
/*
14-
* Custom Datetime Header Part
14+
* Custom Datetime Header Parts
1515
* -------------------------------------------
1616
*/
1717

1818
ion-datetime::part(datetime-header) {
1919
background-color: orange;
2020
}
21+
22+
ion-datetime::part(datetime-title) {
23+
background-color: pink;
24+
}
25+
26+
ion-datetime::part(datetime-selected-date) {
27+
background-color: violet;
28+
}
2129
</style>
2230
</head>
2331

static/usage/v8/datetime/styling/datetime-header/javascript.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,19 @@
55

66
<style>
77
/*
8-
* Custom Datetime Header Part
8+
* Custom Datetime Header Parts
99
* -------------------------------------------
1010
*/
1111
ion-datetime::part(datetime-header) {
1212
background-color: orange;
1313
}
14+
15+
ion-datetime::part(datetime-title) {
16+
background-color: pink;
17+
}
18+
19+
ion-datetime::part(datetime-selected-date) {
20+
background-color: violet;
21+
}
1422
</style>
1523
```
Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,17 @@
11
```css
22
/*
3-
* Custom Datetime Header Part
3+
* Custom Datetime Header Parts
44
* -------------------------------------------
55
*/
66
ion-datetime::part(datetime-header) {
77
background-color: orange;
88
}
9+
10+
ion-datetime::part(datetime-title) {
11+
background-color: pink;
12+
}
13+
14+
ion-datetime::part(datetime-selected-date) {
15+
background-color: violet;
16+
}
917
```

static/usage/v8/datetime/styling/datetime-header/vue.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,20 @@
1111

1212
<style scoped>
1313
/*
14-
* Custom Datetime Header Part
14+
* Custom Datetime Header Parts
1515
* -------------------------------------------
1616
*/
1717
1818
ion-datetime::part(datetime-header) {
1919
background-color: orange;
2020
}
21+
22+
ion-datetime::part(datetime-title) {
23+
background-color: pink;
24+
}
25+
26+
ion-datetime::part(datetime-selected-date) {
27+
background-color: violet;
28+
}
2129
</style>
2230
```

0 commit comments

Comments
 (0)