@aleph-alpha/ui-library 1.14.0 → 1.15.0
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.
- package/config.d.ts +18 -5
- package/config.js +61 -4
- package/dist/system/index.d.ts +41 -53
- package/dist/system/lib.js +981 -988
- package/docs/public-docs/component-directory.md +13 -0
- package/docs/public-docs/contributing.md +11 -0
- package/docs/public-docs/external-links.md +16 -0
- package/docs/public-docs/foundations.md +25 -0
- package/docs/public-docs/getting-started-designers.md +17 -0
- package/docs/public-docs/index.md +5 -0
- package/docs/public-docs/quick-start.md +230 -0
- package/docs/public-docs/standards-guidelines.md +15 -0
- package/package.json +3 -2
- package/src/components/UiCalendar/UiCalendar.stories.ts +1 -4
- package/src/components/UiCalendar/types.ts +1 -1
- package/src/components/UiRangeCalendar/UiRangeCalendar.stories.ts +2 -4
- package/src/components/UiRangeCalendar/types.ts +1 -1
- package/src/components/UiSidebar/UiSidebar.stories.ts +179 -1
- package/src/components/UiSidebar/UiSidebarProvider.vue +1 -3
- package/src/components/UiSidebar/types.ts +6 -9
- package/src/components/core/calendar/Calendar.vue +1 -1
- package/src/components/core/range-calendar/RangeCalendar.vue +1 -1
- package/src/patterns/UiDatePicker/UiDatePicker.stories.ts +1 -4
- package/src/patterns/UiDatePicker/types.ts +1 -1
|
@@ -184,7 +184,7 @@
|
|
|
184
184
|
<CalendarGrid v-for="month in grid" :key="month.value.toString()">
|
|
185
185
|
<CalendarGridHead>
|
|
186
186
|
<CalendarGridRow>
|
|
187
|
-
<CalendarHeadCell v-for="day in weekDays" :key="
|
|
187
|
+
<CalendarHeadCell v-for="(day, i) in weekDays" :key="i">
|
|
188
188
|
{{ day }}
|
|
189
189
|
</CalendarHeadCell>
|
|
190
190
|
</CalendarGridRow>
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
<RangeCalendarGrid v-for="month in grid" :key="month.value.toString()">
|
|
48
48
|
<RangeCalendarGridHead>
|
|
49
49
|
<RangeCalendarGridRow>
|
|
50
|
-
<RangeCalendarHeadCell v-for="day in weekDays" :key="
|
|
50
|
+
<RangeCalendarHeadCell v-for="(day, i) in weekDays" :key="i">
|
|
51
51
|
{{ day }}
|
|
52
52
|
</RangeCalendarHeadCell>
|
|
53
53
|
</RangeCalendarGridRow>
|
|
@@ -39,7 +39,7 @@ const meta: Meta<typeof UiDatePicker> = {
|
|
|
39
39
|
weekStartsOn: {
|
|
40
40
|
control: 'select',
|
|
41
41
|
options: [0, 1, 2, 3, 4, 5, 6],
|
|
42
|
-
description: 'The day of the week to start on. 0
|
|
42
|
+
description: 'The day of the week to start on. 0 is the locale default first day.',
|
|
43
43
|
},
|
|
44
44
|
numberOfMonths: {
|
|
45
45
|
control: { type: 'number', min: 1, max: 3 },
|
|
@@ -369,7 +369,6 @@ const date = ref<DateValue>()
|
|
|
369
369
|
<UiDatePicker
|
|
370
370
|
v-model="date"
|
|
371
371
|
locale="de"
|
|
372
|
-
:week-starts-on="1"
|
|
373
372
|
weekday-format="short"
|
|
374
373
|
placeholder="Datum auswählen"
|
|
375
374
|
/>
|
|
@@ -382,7 +381,6 @@ const date = ref<DateValue>()
|
|
|
382
381
|
export const GermanLocale: Story = {
|
|
383
382
|
args: {
|
|
384
383
|
locale: 'de',
|
|
385
|
-
weekStartsOn: 1,
|
|
386
384
|
weekdayFormat: 'short',
|
|
387
385
|
placeholder: 'Datum auswählen',
|
|
388
386
|
},
|
|
@@ -395,7 +393,6 @@ export const GermanLocale: Story = {
|
|
|
395
393
|
template: `<UiDatePicker
|
|
396
394
|
v-model="date"
|
|
397
395
|
:locale="args.locale"
|
|
398
|
-
:week-starts-on="args.weekStartsOn"
|
|
399
396
|
:weekday-format="args.weekdayFormat"
|
|
400
397
|
:placeholder="args.placeholder"
|
|
401
398
|
:disabled="args.disabled"
|