@aleph-alpha/ui-library 7.0.2 → 7.2.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/dist/system/components/UiPagination/UiPagination.vue.d.ts +19 -0
- package/dist/system/components/UiPagination/constants.d.ts +6 -0
- package/dist/system/components/UiPagination/index.d.ts +3 -0
- package/dist/system/components/UiPagination/types.d.ts +81 -0
- package/dist/system/components/UiSlider/step-marks.d.ts +45 -0
- package/dist/system/components/UiSlider/types.d.ts +28 -0
- package/dist/system/components/core/pagination/Pagination.vue.d.ts +29 -0
- package/dist/system/components/core/pagination/PaginationContent.vue.d.ts +29 -0
- package/dist/system/components/core/pagination/PaginationEllipsis.vue.d.ts +22 -0
- package/dist/system/components/core/pagination/PaginationFirst.vue.d.ts +22 -0
- package/dist/system/components/core/pagination/PaginationItem.vue.d.ts +26 -0
- package/dist/system/components/core/pagination/PaginationLast.vue.d.ts +22 -0
- package/dist/system/components/core/pagination/PaginationNext.vue.d.ts +22 -0
- package/dist/system/components/core/pagination/PaginationPrevious.vue.d.ts +22 -0
- package/dist/system/components/core/pagination/index.d.ts +8 -0
- package/dist/system/components/core/slider/Slider.vue.d.ts +21 -1
- package/dist/system/components/index.d.ts +1 -0
- package/dist/system/icons/story-sidebar-icons.json +4 -0
- package/dist/system/lib.js +11762 -10952
- package/dist/system/patterns/UiBulkAction/UiBulkAction.vue.d.ts +43 -0
- package/dist/system/patterns/UiBulkAction/index.d.ts +3 -0
- package/dist/system/patterns/UiBulkAction/types.d.ts +109 -0
- package/dist/system/patterns/UiBulkAction/useBulkAction.d.ts +7 -0
- package/dist/system/patterns/UiDataTable/constants.d.ts +10 -0
- package/dist/system/patterns/index.d.ts +1 -0
- package/dist/system/story-sidebar-icons.json +4 -0
- package/package.json +8 -8
- package/src/components/UiPagination/UiPagination.guidance.md +60 -0
- package/src/components/UiPagination/UiPagination.stories.ts +1070 -0
- package/src/components/UiPagination/UiPagination.vue +109 -0
- package/src/components/UiPagination/__tests__/UiPagination.test.ts +203 -0
- package/src/components/UiPagination/constants.ts +17 -0
- package/src/components/UiPagination/index.ts +3 -0
- package/src/components/UiPagination/types.ts +82 -0
- package/src/components/UiSlider/UiSlider.stories.ts +710 -2
- package/src/components/UiSlider/UiSlider.vue +109 -1
- package/src/components/UiSlider/__tests__/UiSliderValueAndSteps.test.ts +210 -0
- package/src/components/UiSlider/__tests__/step-marks.test.ts +94 -0
- package/src/components/UiSlider/step-marks.ts +96 -0
- package/src/components/UiSlider/types.ts +32 -0
- package/src/components/core/pagination/Pagination.vue +26 -0
- package/src/components/core/pagination/PaginationContent.vue +24 -0
- package/src/components/core/pagination/PaginationEllipsis.vue +30 -0
- package/src/components/core/pagination/PaginationFirst.vue +30 -0
- package/src/components/core/pagination/PaginationItem.vue +39 -0
- package/src/components/core/pagination/PaginationLast.vue +30 -0
- package/src/components/core/pagination/PaginationNext.vue +35 -0
- package/src/components/core/pagination/PaginationPrevious.vue +35 -0
- package/src/components/core/pagination/index.ts +8 -0
- package/src/components/core/slider/Slider.vue +16 -6
- package/src/components/index.ts +1 -0
- package/src/patterns/UiBulkAction/UiBulkAction.guidance.md +59 -0
- package/src/patterns/UiBulkAction/UiBulkAction.stories.ts +2238 -0
- package/src/patterns/UiBulkAction/UiBulkAction.vue +62 -0
- package/src/patterns/UiBulkAction/__tests__/useBulkAction.test.ts +78 -0
- package/src/patterns/UiBulkAction/index.ts +3 -0
- package/src/patterns/UiBulkAction/types.ts +126 -0
- package/src/patterns/UiBulkAction/useBulkAction.ts +50 -0
- package/src/patterns/UiDataTable/UiDataTable.stories.ts +375 -1
- package/src/patterns/UiDataTable/UiDataTablePagination.vue +43 -60
- package/src/patterns/UiDataTable/__tests__/UiDataTablePagination.test.ts +58 -29
- package/src/patterns/UiDataTable/constants.ts +10 -0
- package/src/patterns/UiProfileCard/UiProfileCard.stories.ts +12 -12
- package/src/patterns/index.ts +1 -0
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { UiPaginationProps } from './types';
|
|
2
|
+
type __VLS_Props = UiPaginationProps;
|
|
3
|
+
type __VLS_PublicProps = {
|
|
4
|
+
'page'?: number;
|
|
5
|
+
} & __VLS_Props;
|
|
6
|
+
declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
7
|
+
"update:page": (value: number) => any;
|
|
8
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
9
|
+
"onUpdate:page"?: ((value: number) => any) | undefined;
|
|
10
|
+
}>, {
|
|
11
|
+
disabled: boolean;
|
|
12
|
+
defaultPage: number;
|
|
13
|
+
itemsPerPage: number;
|
|
14
|
+
siblingCount: number;
|
|
15
|
+
showEdges: boolean;
|
|
16
|
+
showFirstLast: boolean;
|
|
17
|
+
labels: Partial<import('./types').UiPaginationLabels>;
|
|
18
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
19
|
+
export default _default;
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Text used for the visible and screen-reader labels.
|
|
3
|
+
*/
|
|
4
|
+
export interface UiPaginationLabels {
|
|
5
|
+
/** Accessible name of the `nav` landmark. */
|
|
6
|
+
navigation: string;
|
|
7
|
+
/** Visible text of the previous button (shown from the `sm` breakpoint up). */
|
|
8
|
+
previous: string;
|
|
9
|
+
/** Visible text of the next button (shown from the `sm` breakpoint up). */
|
|
10
|
+
next: string;
|
|
11
|
+
/** Accessible name of the previous button. Should contain `previous`. */
|
|
12
|
+
previousPage: string;
|
|
13
|
+
/** Accessible name of the next button. Should contain `next`. */
|
|
14
|
+
nextPage: string;
|
|
15
|
+
/** Accessible name of the first-page button. */
|
|
16
|
+
firstPage: string;
|
|
17
|
+
/** Accessible name of the last-page button. */
|
|
18
|
+
lastPage: string;
|
|
19
|
+
/** Screen-reader text for the ellipsis that stands in for skipped pages. */
|
|
20
|
+
morePages: string;
|
|
21
|
+
/** Accessible name of a page button. */
|
|
22
|
+
page: (page: number) => string;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Lets users move through content split across multiple pages, such as
|
|
26
|
+
* search results, lists, or tables. Renders a labelled `nav` landmark with
|
|
27
|
+
* previous/next controls, page numbers, and ellipses for skipped ranges.
|
|
28
|
+
* @category Navigation
|
|
29
|
+
* @useCases paginated list, search results, table paging, page navigation, browse records
|
|
30
|
+
* @keywords pagination, pager, pages, next, previous, page numbers, paging
|
|
31
|
+
* @related UiDataTable, UiButton, UiBreadcrumb
|
|
32
|
+
*/
|
|
33
|
+
export interface UiPaginationProps {
|
|
34
|
+
/**
|
|
35
|
+
* The controlled current page (1-based).
|
|
36
|
+
* - Omit for uncontrolled mode
|
|
37
|
+
* - Use `v-model:page` for controlled mode
|
|
38
|
+
*/
|
|
39
|
+
page?: number;
|
|
40
|
+
/**
|
|
41
|
+
* The page selected on first render when uncontrolled.
|
|
42
|
+
* @default 1
|
|
43
|
+
*/
|
|
44
|
+
defaultPage?: number;
|
|
45
|
+
/**
|
|
46
|
+
* Total number of items across all pages. The page count is derived from
|
|
47
|
+
* `total` and `itemsPerPage`.
|
|
48
|
+
*/
|
|
49
|
+
total: number;
|
|
50
|
+
/**
|
|
51
|
+
* Number of items shown per page.
|
|
52
|
+
* @default 10
|
|
53
|
+
*/
|
|
54
|
+
itemsPerPage?: number;
|
|
55
|
+
/**
|
|
56
|
+
* Number of page buttons shown on each side of the current page.
|
|
57
|
+
* @default 1
|
|
58
|
+
*/
|
|
59
|
+
siblingCount?: number;
|
|
60
|
+
/**
|
|
61
|
+
* Always show the first and last page numbers, collapsing the gaps with an
|
|
62
|
+
* ellipsis.
|
|
63
|
+
* @default true
|
|
64
|
+
*/
|
|
65
|
+
showEdges?: boolean;
|
|
66
|
+
/**
|
|
67
|
+
* Show icon-only buttons that jump to the first and last page.
|
|
68
|
+
* @default false
|
|
69
|
+
*/
|
|
70
|
+
showFirstLast?: boolean;
|
|
71
|
+
/**
|
|
72
|
+
* Disables every control.
|
|
73
|
+
* @default false
|
|
74
|
+
*/
|
|
75
|
+
disabled?: boolean;
|
|
76
|
+
/**
|
|
77
|
+
* Overrides for the visible and screen-reader labels. Unset keys fall back
|
|
78
|
+
* to the English defaults.
|
|
79
|
+
*/
|
|
80
|
+
labels?: Partial<UiPaginationLabels>;
|
|
81
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { UiSliderProps } from './types';
|
|
2
|
+
/** The track edge the lowest value sits at. */
|
|
3
|
+
export type TrackStartEdge = 'left' | 'right' | 'top' | 'bottom';
|
|
4
|
+
/**
|
|
5
|
+
* Where each mark sits along the track, as a percentage from the start edge:
|
|
6
|
+
* one every `interval` from `min`, and one at `max`.
|
|
7
|
+
* @param min Lowest value of the range.
|
|
8
|
+
* @param max Highest value of the range.
|
|
9
|
+
* @param interval Gap between two marks, in the slider's own units.
|
|
10
|
+
* @returns One percentage per mark, or none when the range or interval cannot
|
|
11
|
+
* be drawn.
|
|
12
|
+
*/
|
|
13
|
+
export declare function stepMarkPercents(min: number, max: number, interval: number): number[];
|
|
14
|
+
/**
|
|
15
|
+
* The gap between dots: the one the caller asked for, unless it would put the
|
|
16
|
+
* dots closer than a hundredth of the range, where they would run together and
|
|
17
|
+
* could number in the millions. Then the default gap is used instead.
|
|
18
|
+
* @param min Lowest value of the range.
|
|
19
|
+
* @param max Highest value of the range.
|
|
20
|
+
* @param step The slider's stepping interval.
|
|
21
|
+
* @param requested The gap the caller set, if any.
|
|
22
|
+
* @returns The gap between two dots, in the slider's own units.
|
|
23
|
+
*/
|
|
24
|
+
export declare function stepsIntervalOrDefault(min: number, max: number, step: number, requested?: number): number;
|
|
25
|
+
/**
|
|
26
|
+
* The gap between dots when the caller sets none: every step, but no closer
|
|
27
|
+
* together than a tenth of the range, so a fine slider gets about 11 dots.
|
|
28
|
+
* The gap stays a whole number of steps, so every dot is a reachable value.
|
|
29
|
+
* @param min Lowest value of the range.
|
|
30
|
+
* @param max Highest value of the range.
|
|
31
|
+
* @param step The slider's stepping interval.
|
|
32
|
+
* @returns The gap between two dots, in the slider's own units.
|
|
33
|
+
*/
|
|
34
|
+
export declare function defaultStepsInterval(min: number, max: number, step: number): number;
|
|
35
|
+
/**
|
|
36
|
+
* The edge the track starts from. reka-ui works this out for the handle but
|
|
37
|
+
* does not export it, so this follows the same rule as its `SliderHorizontal`
|
|
38
|
+
* and `SliderVertical`.
|
|
39
|
+
* @param orientation Slider orientation.
|
|
40
|
+
* @param dir Reading direction, already resolved as reka-ui's `useDirection`
|
|
41
|
+
* resolves it.
|
|
42
|
+
* @param inverted Whether the slider is visually inverted.
|
|
43
|
+
* @returns The edge the lowest value sits at.
|
|
44
|
+
*/
|
|
45
|
+
export declare function trackStartEdge(orientation: NonNullable<UiSliderProps['orientation']>, dir: NonNullable<UiSliderProps['dir']>, inverted: boolean): TrackStartEdge;
|
|
@@ -73,6 +73,34 @@ export interface UiSliderProps {
|
|
|
73
73
|
* @default false
|
|
74
74
|
*/
|
|
75
75
|
required?: boolean;
|
|
76
|
+
/**
|
|
77
|
+
* Shows each handle's current value in text, above the handle (beside it
|
|
78
|
+
* when vertical), moving with it while dragging. The text is hidden from
|
|
79
|
+
* screen readers, which read the value from the handle itself. A vertical
|
|
80
|
+
* slider reserves no room beside itself, so leave space for the text there.
|
|
81
|
+
* @default false
|
|
82
|
+
*/
|
|
83
|
+
showValue?: boolean;
|
|
84
|
+
/**
|
|
85
|
+
* Turns a value into text, e.g. `(value) => \`${value}%\``. Used for the text
|
|
86
|
+
* `showValue` shows, and announced by screen readers as the handle's value
|
|
87
|
+
* (`aria-valuetext`). Without it the plain number is used.
|
|
88
|
+
*/
|
|
89
|
+
formatValue?: (value: number) => string;
|
|
90
|
+
/**
|
|
91
|
+
* Shows a dot on the track for every value the handle can reach, but no
|
|
92
|
+
* closer together than a tenth of the range, plus one at `max`. Set
|
|
93
|
+
* `stepsInterval` to choose the gap yourself.
|
|
94
|
+
* @default false
|
|
95
|
+
*/
|
|
96
|
+
showSteps?: boolean;
|
|
97
|
+
/**
|
|
98
|
+
* The gap between two dots drawn by `showSteps`, in the slider's own units.
|
|
99
|
+
* A gap smaller than a hundredth of the range falls back to the default.
|
|
100
|
+
* @default every `step`, but no closer than a tenth of the range: a 0 to 100
|
|
101
|
+
* slider in steps of 1 gets a dot every 10
|
|
102
|
+
*/
|
|
103
|
+
stepsInterval?: number;
|
|
76
104
|
}
|
|
77
105
|
export interface UiSliderEmits {
|
|
78
106
|
/**
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { PaginationRootProps } from 'reka-ui';
|
|
2
|
+
import { HTMLAttributes } from 'vue';
|
|
3
|
+
type __VLS_Props = PaginationRootProps & {
|
|
4
|
+
class?: HTMLAttributes['class'];
|
|
5
|
+
};
|
|
6
|
+
declare function __VLS_template(): {
|
|
7
|
+
attrs: Partial<{}>;
|
|
8
|
+
slots: {
|
|
9
|
+
default?(_: {
|
|
10
|
+
page: number;
|
|
11
|
+
pageCount: number;
|
|
12
|
+
}): any;
|
|
13
|
+
};
|
|
14
|
+
refs: {};
|
|
15
|
+
rootEl: any;
|
|
16
|
+
};
|
|
17
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
18
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
19
|
+
"update:page": (value: number) => any;
|
|
20
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
21
|
+
"onUpdate:page"?: ((value: number) => any) | undefined;
|
|
22
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
23
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
24
|
+
export default _default;
|
|
25
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
26
|
+
new (): {
|
|
27
|
+
$slots: S;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { PaginationListProps } from 'reka-ui';
|
|
2
|
+
import { HTMLAttributes } from 'vue';
|
|
3
|
+
type __VLS_Props = PaginationListProps & {
|
|
4
|
+
class?: HTMLAttributes['class'];
|
|
5
|
+
};
|
|
6
|
+
declare function __VLS_template(): {
|
|
7
|
+
attrs: Partial<{}>;
|
|
8
|
+
slots: {
|
|
9
|
+
default?(_: {
|
|
10
|
+
items: ({
|
|
11
|
+
type: "ellipsis";
|
|
12
|
+
} | {
|
|
13
|
+
type: "page";
|
|
14
|
+
value: number;
|
|
15
|
+
})[];
|
|
16
|
+
}): any;
|
|
17
|
+
};
|
|
18
|
+
refs: {};
|
|
19
|
+
rootEl: any;
|
|
20
|
+
};
|
|
21
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
22
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
23
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
24
|
+
export default _default;
|
|
25
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
26
|
+
new (): {
|
|
27
|
+
$slots: S;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { PaginationEllipsisProps } from 'reka-ui';
|
|
2
|
+
import { HTMLAttributes } from 'vue';
|
|
3
|
+
type __VLS_Props = PaginationEllipsisProps & {
|
|
4
|
+
class?: HTMLAttributes['class'];
|
|
5
|
+
};
|
|
6
|
+
declare function __VLS_template(): {
|
|
7
|
+
attrs: Partial<{}>;
|
|
8
|
+
slots: {
|
|
9
|
+
default?(_: {}): any;
|
|
10
|
+
};
|
|
11
|
+
refs: {};
|
|
12
|
+
rootEl: any;
|
|
13
|
+
};
|
|
14
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
15
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
16
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
17
|
+
export default _default;
|
|
18
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
19
|
+
new (): {
|
|
20
|
+
$slots: S;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { PaginationFirstProps } from 'reka-ui';
|
|
2
|
+
import { HTMLAttributes } from 'vue';
|
|
3
|
+
type __VLS_Props = PaginationFirstProps & {
|
|
4
|
+
class?: HTMLAttributes['class'];
|
|
5
|
+
};
|
|
6
|
+
declare function __VLS_template(): {
|
|
7
|
+
attrs: Partial<{}>;
|
|
8
|
+
slots: {
|
|
9
|
+
default?(_: {}): any;
|
|
10
|
+
};
|
|
11
|
+
refs: {};
|
|
12
|
+
rootEl: any;
|
|
13
|
+
};
|
|
14
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
15
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
16
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
17
|
+
export default _default;
|
|
18
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
19
|
+
new (): {
|
|
20
|
+
$slots: S;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { PaginationListItemProps } from 'reka-ui';
|
|
2
|
+
import { HTMLAttributes } from 'vue';
|
|
3
|
+
type __VLS_Props = PaginationListItemProps & {
|
|
4
|
+
isActive?: boolean;
|
|
5
|
+
class?: HTMLAttributes['class'];
|
|
6
|
+
};
|
|
7
|
+
declare function __VLS_template(): {
|
|
8
|
+
attrs: Partial<{}>;
|
|
9
|
+
slots: {
|
|
10
|
+
default?(_: {}): any;
|
|
11
|
+
};
|
|
12
|
+
refs: {};
|
|
13
|
+
rootEl: any;
|
|
14
|
+
};
|
|
15
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
16
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
17
|
+
class: HTMLAttributes["class"];
|
|
18
|
+
isActive: boolean;
|
|
19
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
20
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
21
|
+
export default _default;
|
|
22
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
23
|
+
new (): {
|
|
24
|
+
$slots: S;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { PaginationLastProps } from 'reka-ui';
|
|
2
|
+
import { HTMLAttributes } from 'vue';
|
|
3
|
+
type __VLS_Props = PaginationLastProps & {
|
|
4
|
+
class?: HTMLAttributes['class'];
|
|
5
|
+
};
|
|
6
|
+
declare function __VLS_template(): {
|
|
7
|
+
attrs: Partial<{}>;
|
|
8
|
+
slots: {
|
|
9
|
+
default?(_: {}): any;
|
|
10
|
+
};
|
|
11
|
+
refs: {};
|
|
12
|
+
rootEl: any;
|
|
13
|
+
};
|
|
14
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
15
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
16
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
17
|
+
export default _default;
|
|
18
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
19
|
+
new (): {
|
|
20
|
+
$slots: S;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { PaginationNextProps } from 'reka-ui';
|
|
2
|
+
import { HTMLAttributes } from 'vue';
|
|
3
|
+
type __VLS_Props = PaginationNextProps & {
|
|
4
|
+
class?: HTMLAttributes['class'];
|
|
5
|
+
};
|
|
6
|
+
declare function __VLS_template(): {
|
|
7
|
+
attrs: Partial<{}>;
|
|
8
|
+
slots: {
|
|
9
|
+
default?(_: {}): any;
|
|
10
|
+
};
|
|
11
|
+
refs: {};
|
|
12
|
+
rootEl: any;
|
|
13
|
+
};
|
|
14
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
15
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
16
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
17
|
+
export default _default;
|
|
18
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
19
|
+
new (): {
|
|
20
|
+
$slots: S;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { PaginationPrevProps } from 'reka-ui';
|
|
2
|
+
import { HTMLAttributes } from 'vue';
|
|
3
|
+
type __VLS_Props = PaginationPrevProps & {
|
|
4
|
+
class?: HTMLAttributes['class'];
|
|
5
|
+
};
|
|
6
|
+
declare function __VLS_template(): {
|
|
7
|
+
attrs: Partial<{}>;
|
|
8
|
+
slots: {
|
|
9
|
+
default?(_: {}): any;
|
|
10
|
+
};
|
|
11
|
+
refs: {};
|
|
12
|
+
rootEl: any;
|
|
13
|
+
};
|
|
14
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
15
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
16
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
17
|
+
export default _default;
|
|
18
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
19
|
+
new (): {
|
|
20
|
+
$slots: S;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export { default as Pagination } from './Pagination.vue';
|
|
2
|
+
export { default as PaginationContent } from './PaginationContent.vue';
|
|
3
|
+
export { default as PaginationEllipsis } from './PaginationEllipsis.vue';
|
|
4
|
+
export { default as PaginationFirst } from './PaginationFirst.vue';
|
|
5
|
+
export { default as PaginationItem } from './PaginationItem.vue';
|
|
6
|
+
export { default as PaginationLast } from './PaginationLast.vue';
|
|
7
|
+
export { default as PaginationNext } from './PaginationNext.vue';
|
|
8
|
+
export { default as PaginationPrevious } from './PaginationPrevious.vue';
|
|
@@ -2,12 +2,32 @@ import { SliderRootProps } from 'reka-ui';
|
|
|
2
2
|
import { HTMLAttributes } from 'vue';
|
|
3
3
|
type __VLS_Props = SliderRootProps & {
|
|
4
4
|
class?: HTMLAttributes['class'];
|
|
5
|
+
/** Text a screen reader announces for a handle's value, as `aria-valuetext`. */
|
|
6
|
+
thumbValueText?: (value: number) => string;
|
|
5
7
|
};
|
|
6
|
-
declare
|
|
8
|
+
declare function __VLS_template(): {
|
|
9
|
+
attrs: Partial<{}>;
|
|
10
|
+
slots: {
|
|
11
|
+
'track-overlay'?(_: {}): any;
|
|
12
|
+
thumb?(_: {
|
|
13
|
+
value: number;
|
|
14
|
+
}): any;
|
|
15
|
+
};
|
|
16
|
+
refs: {};
|
|
17
|
+
rootEl: any;
|
|
18
|
+
};
|
|
19
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
20
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
7
21
|
"update:modelValue": (payload: number[] | undefined) => any;
|
|
8
22
|
valueCommit: (payload: number[]) => any;
|
|
9
23
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
10
24
|
"onUpdate:modelValue"?: ((payload: number[] | undefined) => any) | undefined;
|
|
11
25
|
onValueCommit?: ((payload: number[]) => any) | undefined;
|
|
12
26
|
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
27
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
13
28
|
export default _default;
|
|
29
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
30
|
+
new (): {
|
|
31
|
+
$slots: S;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
@@ -49,6 +49,8 @@
|
|
|
49
49
|
"components-uilistbox--accessibility": "accessibility",
|
|
50
50
|
"components-uinavigationmenu--design-notes": "palette",
|
|
51
51
|
"components-uinavigationmenu--accessibility": "accessibility",
|
|
52
|
+
"components-uipagination--design-notes": "palette",
|
|
53
|
+
"components-uipagination--accessibility": "accessibility",
|
|
52
54
|
"components-uipopover--design-notes": "palette",
|
|
53
55
|
"components-uipopover--accessibility": "accessibility",
|
|
54
56
|
"components-uiprogress--design-notes": "palette",
|
|
@@ -90,6 +92,8 @@
|
|
|
90
92
|
"components-uitogglegroup--accessibility": "accessibility",
|
|
91
93
|
"components-uitooltip--design-notes": "palette",
|
|
92
94
|
"components-uitooltip--accessibility": "accessibility",
|
|
95
|
+
"patterns-uibulkaction--design-notes": "palette",
|
|
96
|
+
"patterns-uibulkaction--accessibility": "accessibility",
|
|
93
97
|
"patterns-uidatatable--design-notes": "palette",
|
|
94
98
|
"patterns-uidatatable--accessibility": "accessibility",
|
|
95
99
|
"patterns-uidatepicker--design-notes": "palette",
|