Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking β€œSign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(Calendar): implement component #2618

Merged
merged 77 commits into from
Nov 26, 2024
Merged
Changes from 1 commit
Commits
Show all changes
77 commits
Select commit Hold shift + click to select a range
60ddf41
feat(calendar): implement component
Nov 12, 2024
8edd8f2
feat(Calendar): base struct
Nov 13, 2024
fc9d69b
feat(Calendar): style
Nov 13, 2024
e2e78b1
Merge branch 'v3' into radix-calendar
hywax Nov 13, 2024
0ebafb5
feat(Calendar): multi
Nov 13, 2024
62e3f63
feat(Calendar): fix color
Nov 13, 2024
975df20
feat(Calendar): natural headCell
Nov 13, 2024
5a5680d
feat(Calendar): playground
Nov 13, 2024
e0f40fa
feat(Calendar): update
Nov 13, 2024
2a12716
feat(Calendar): update
Nov 13, 2024
d54d5e2
Merge branch 'v3' into radix-calendar
hywax Nov 14, 2024
20532bf
feat(Calendar): component
Nov 14, 2024
f7e58c9
feat(Calendar): style
Nov 15, 2024
01c967c
Merge branch 'v3' into radix-calendar
hywax Nov 15, 2024
66f8078
feat(Calendar): to native `Date`
Nov 15, 2024
4b35059
feat(Calendar): prepare docs
Nov 15, 2024
cd0ba13
feat(Calendar): range
Nov 15, 2024
b80efc2
feat(Calendar): minValue, maxValue
Nov 15, 2024
89b8bde
feat(Calendar): add issue
Nov 15, 2024
2776405
feat(Calendar): defaultValue
Nov 15, 2024
99cdb83
feat(Calendar): date
Nov 15, 2024
14ec31e
feat(Calendar): model
Nov 15, 2024
b3ab240
feat(Calendar): tests
Nov 15, 2024
330bc8d
feat(Calendar): locale
Nov 17, 2024
780641a
feat(ColorPicker): fix
Nov 18, 2024
84ef6e2
feat(ColorPicker): fix 2
Nov 18, 2024
22913dd
feat(ColorPicker): fix 3
Nov 18, 2024
5fa1cbe
feat(ColorPicker): fix 4
Nov 18, 2024
c0f4680
feat(ColorPicker): fix 5
Nov 18, 2024
479b369
Merge branch 'v3' into radix-calendar
hywax Nov 18, 2024
42c9e7a
feat(ColorPicker): fix 6
Nov 18, 2024
2af16b5
feat(ColorPicker): fix 7
Nov 18, 2024
af5ef66
feat(ColorPicker): fix 8
Nov 18, 2024
71541ec
feat(ColorPicker): docs
Nov 18, 2024
90f4770
Merge branch 'v3' into radix-calendar
hywax Nov 19, 2024
75540cb
feat(ColorPicker): add pl lang
Nov 19, 2024
bc1b475
Merge branch 'v3' into radix-calendar
hywax Nov 19, 2024
e0f728d
feat(Calendar): add fa-IR lang
Nov 19, 2024
442da0e
Merge branch 'v3' into radix-calendar
benjamincanac Nov 21, 2024
4565f89
test: improve
benjamincanac Nov 21, 2024
b699546
docs: clean
benjamincanac Nov 21, 2024
889692f
chore(Calendar): clean
benjamincanac Nov 21, 2024
7fad7a0
feat(ColorPicker): unused style
Nov 21, 2024
63c9239
feat(ColorPicker): disabled
Nov 21, 2024
de98e8d
feat(ColorPicker): fix
Nov 21, 2024
f368ca8
feat(ColorPicker): snap
Nov 21, 2024
571c891
feat(ColorPicker): KO
Nov 21, 2024
f11e25e
feat(ColorPicker): fix
Nov 21, 2024
30e2442
Merge branch 'v3' into radix-calendar
hywax Nov 21, 2024
299bfb0
feat(ColorPicker): example picker
Nov 21, 2024
47c1d8b
Merge branch 'v3' into radix-calendar
hywax Nov 21, 2024
061dee4
feat(ColorPicker): tr
Nov 21, 2024
d85dbb7
feat(ColorPicker): range
Nov 21, 2024
0b24a63
feat(ColorPicker): fix
Nov 21, 2024
4785fd2
feat(Calendar): global update
Nov 21, 2024
d4bdcc4
feat(Calendar): remove unused
Nov 21, 2024
dd264bb
feat(Calendar): clear
Nov 21, 2024
ee422ee
fix(Calendar): duplicate $emit update:modelValue
Nov 21, 2024
ac49cc5
fix(Calendar): docs
Nov 21, 2024
91af712
fix(Calendar): use `dir`, `locale` from useLocale
Nov 21, 2024
d56f1f7
docs(Calendar): examples
Nov 22, 2024
86fb989
Merge branch 'v3' into radix-calendar
hywax Nov 22, 2024
97782c2
Merge branch 'v3' into radix-calendar
hywax Nov 23, 2024
6e0bc61
feat(ColorPicker): nl locale
Nov 23, 2024
dba26eb
Merge branch 'v3' into radix-calendar
hywax Nov 25, 2024
84c4ae3
Merge branch 'v3' into radix-calendar
hywax Nov 25, 2024
796901e
Merge branch 'v3' into radix-calendar
hywax Nov 25, 2024
ba2f728
fix deps
Nov 25, 2024
443128a
merge remote
Nov 25, 2024
290a9ed
Merge branch 'v3' into radix-calendar
benjamincanac Nov 25, 2024
2a1c304
up
benjamincanac Nov 25, 2024
3c4a2ac
up
benjamincanac Nov 25, 2024
ba9ddba
up
benjamincanac Nov 26, 2024
7e61104
up
benjamincanac Nov 26, 2024
f7b4158
eat(Calendar): fix
Nov 26, 2024
80577f1
Merge remote-tracking branch 'origin/radix-calendar' into radix-calendar
Nov 26, 2024
873a469
feat(Calendar): fix 2
Nov 26, 2024
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
Prev Previous commit
Next Next commit
test: improve
benjamincanac committed Nov 21, 2024
commit 4565f89e5842ab92816308f08592074de52a2497
7 changes: 5 additions & 2 deletions test/components/Calendar.spec.ts
Original file line number Diff line number Diff line change
@@ -16,8 +16,7 @@ describe('Calendar', () => {

it.each([
// Props
['with class', { props: { class: 'custom-class' } }],
['with ui', { props: { ui: { root: 'w-96' } } }],
['with modelValue', { props: { modelValue: new Date('2025-01-01') } }],
['with range', { props: { range: true } }],
['with disabled', { props: { range: true } }],
['with readonly', { props: { range: true } }],
@@ -29,6 +28,10 @@ describe('Calendar', () => {
['without fixed weeks', { props: { fixedWeeks: false } }],
['without year controls', { props: { yearControls: false } }],
...sizes.map((size: string) => [`with size ${size}`, { props: { size } }]),
['with color neutral', { props: { color: 'neutral' } }],
['with as', { props: { as: 'section' } }],
['with class', { props: { class: 'max-w-sm' } }],
['with ui', { props: { ui: { header: 'gap-4' } } }],
// Slots
['with heading slot', { slots: { heading: () => 'Heading' } }],
['with day slot', { slots: { day: ({ day }: Parameters<CalendarSlots['day']>[0]) => day.day } }],
Loading