Skip to content

Commit

Permalink
WeekTimeのコンポーネントを月曜始まりにした (#1622)
Browse files Browse the repository at this point in the history
  • Loading branch information
shungenie authored May 29, 2024
1 parent f5257f8 commit 09e2876
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 18 deletions.
5 changes: 5 additions & 0 deletions .changeset/big-countries-arrive.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"ingred-ui": major
---

Set weektime component to start on Monday
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ exports[`WeekTime component testing WeekTime 1`] = `
<div
class="sc-hKMtZM sc-eCYdqJ ijKKtp gsFxfl"
>
Sun
Mon
</div>
<span
class="sc-gsnTZi iQtOmt"
Expand Down Expand Up @@ -211,7 +211,7 @@ exports[`WeekTime component testing WeekTime 1`] = `
<div
class="sc-hKMtZM sc-eCYdqJ ijKKtp gsFxfl"
>
Mon
Tue
</div>
<span
class="sc-gsnTZi iQtOmt"
Expand Down Expand Up @@ -288,7 +288,7 @@ exports[`WeekTime component testing WeekTime 1`] = `
<div
class="sc-hKMtZM sc-eCYdqJ ijKKtp gsFxfl"
>
Tue
Wed
</div>
<span
class="sc-gsnTZi iQtOmt"
Expand Down Expand Up @@ -365,7 +365,7 @@ exports[`WeekTime component testing WeekTime 1`] = `
<div
class="sc-hKMtZM sc-eCYdqJ ijKKtp gsFxfl"
>
Wed
Thu
</div>
<span
class="sc-gsnTZi iQtOmt"
Expand Down Expand Up @@ -442,7 +442,7 @@ exports[`WeekTime component testing WeekTime 1`] = `
<div
class="sc-hKMtZM sc-eCYdqJ ijKKtp gsFxfl"
>
Thu
Fri
</div>
<span
class="sc-gsnTZi iQtOmt"
Expand Down Expand Up @@ -519,7 +519,7 @@ exports[`WeekTime component testing WeekTime 1`] = `
<div
class="sc-hKMtZM sc-eCYdqJ ijKKtp gsFxfl"
>
Fri
Sat
</div>
<span
class="sc-gsnTZi iQtOmt"
Expand Down Expand Up @@ -596,7 +596,7 @@ exports[`WeekTime component testing WeekTime 1`] = `
<div
class="sc-hKMtZM sc-eCYdqJ ijKKtp gsFxfl"
>
Sat
Sun
</div>
<span
class="sc-gsnTZi iQtOmt"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ exports[`WeekTimeSelector component testing WeekTimeSelector 1`] = `
<div
class="sc-iBkjds sc-ftvSup ddDNOR fStWin"
>
Sun
Mon
</div>
<button
class="sc-gsnTZi ipHfAH"
Expand Down Expand Up @@ -211,7 +211,7 @@ exports[`WeekTimeSelector component testing WeekTimeSelector 1`] = `
<div
class="sc-iBkjds sc-ftvSup ddDNOR fStWin"
>
Mon
Tue
</div>
<button
class="sc-gsnTZi ipHfAH"
Expand Down Expand Up @@ -288,7 +288,7 @@ exports[`WeekTimeSelector component testing WeekTimeSelector 1`] = `
<div
class="sc-iBkjds sc-ftvSup ddDNOR fStWin"
>
Tue
Wed
</div>
<button
class="sc-gsnTZi ipHfAH"
Expand Down Expand Up @@ -365,7 +365,7 @@ exports[`WeekTimeSelector component testing WeekTimeSelector 1`] = `
<div
class="sc-iBkjds sc-ftvSup ddDNOR fStWin"
>
Wed
Thu
</div>
<button
class="sc-gsnTZi ipHfAH"
Expand Down Expand Up @@ -442,7 +442,7 @@ exports[`WeekTimeSelector component testing WeekTimeSelector 1`] = `
<div
class="sc-iBkjds sc-ftvSup ddDNOR fStWin"
>
Thu
Fri
</div>
<button
class="sc-gsnTZi ipHfAH"
Expand Down Expand Up @@ -519,7 +519,7 @@ exports[`WeekTimeSelector component testing WeekTimeSelector 1`] = `
<div
class="sc-iBkjds sc-ftvSup ddDNOR fStWin"
>
Fri
Sat
</div>
<button
class="sc-gsnTZi ipHfAH"
Expand Down Expand Up @@ -596,7 +596,7 @@ exports[`WeekTimeSelector component testing WeekTimeSelector 1`] = `
<div
class="sc-iBkjds sc-ftvSup ddDNOR fStWin"
>
Sat
Sun
</div>
<button
class="sc-gsnTZi ipHfAH"
Expand Down
8 changes: 4 additions & 4 deletions src/constants/locale.ts
Original file line number Diff line number Diff line change
Expand Up @@ -149,12 +149,12 @@ export const jaJP: Localization = {
},
WeekTime: {
defaultProps: {
weekList: ["日", "月", "火", "水", "木", "金", "土"],
weekList: ["月", "火", "水", "木", "金", "土", "日"],
},
},
WeekTimeSelector: {
defaultProps: {
weekList: ["日", "月", "火", "水", "木", "金", "土"],
weekList: ["月", "火", "水", "木", "金", "土", "日"],
},
},
DualListBox: {
Expand Down Expand Up @@ -202,12 +202,12 @@ export const enUS: Localization = {
},
WeekTime: {
defaultProps: {
weekList: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"],
weekList: ["Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"],
},
},
WeekTimeSelector: {
defaultProps: {
weekList: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"],
weekList: ["Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"],
},
},
DualListBox: {
Expand Down

0 comments on commit 09e2876

Please sign in to comment.