@rebilly/revel 12.16.4 → 12.18.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/CHANGELOG.md +3 -3
- package/dist/common/helpers/index.d.ts +2 -1
- package/dist/common/helpers/un-kebab-case.d.ts +1 -0
- package/dist/components/index.d.ts +2 -0
- package/dist/components/r-button/r-button.vue.d.ts +1 -1
- package/dist/components/r-icon/r-icon-sprites.d.ts +11 -0
- package/dist/components/r-icon/r-icon.vue.d.ts +7 -2
- package/dist/components/r-multistep/r-multistep.vue.d.ts +32 -0
- package/dist/components/r-multistep/r-step.vue.d.ts +36 -0
- package/dist/components/r-select/r-select.vue.d.ts +4 -3
- package/dist/revel.mjs +5057 -4857
- package/dist/revel.umd.js +1097 -1046
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
## [12.
|
|
1
|
+
## [12.18.0](https://github.com/Rebilly/rebilly/compare/revel-v12.17.0...revel-v12.18.0) (2026-02-10)
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
###
|
|
4
|
+
### Features
|
|
5
5
|
|
|
6
|
-
* **revel:**
|
|
6
|
+
* **revel:** Add r-multistep & r-step components ([#18598](https://github.com/Rebilly/rebilly/issues/18598)) ([affccb8](https://github.com/Rebilly/rebilly/commit/affccb88fd3712c2591ad0edaa2877cd2f9458ea))
|
|
@@ -9,4 +9,5 @@ import { sentenceCase } from './sentence-case';
|
|
|
9
9
|
import { unCamelCase } from './un-camel-case';
|
|
10
10
|
import { getShadowParent } from './get-shadow-parent';
|
|
11
11
|
import { isMobile } from './is-mobile';
|
|
12
|
-
|
|
12
|
+
import { unKebabCase } from './un-kebab-case';
|
|
13
|
+
export { capitalizeFirstLetter, debounce, deepClone, formatDate, isKebabCase, isObject, kebabCase, sentenceCase, unCamelCase, getShadowParent, isMobile, unKebabCase, };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function unKebabCase(particle?: string | null): string;
|
|
@@ -31,3 +31,5 @@ export { default as RTabs } from './r-tabs/r-tabs.vue';
|
|
|
31
31
|
export { default as RTile } from './r-tile/r-tile.vue';
|
|
32
32
|
export { default as RToast } from './r-toast/r-toast.vue';
|
|
33
33
|
export { default as RToggle } from './r-toggle/r-toggle.vue';
|
|
34
|
+
export { default as RMultistep } from './r-multistep/r-multistep.vue';
|
|
35
|
+
export { default as RStep } from './r-multistep/r-step.vue';
|
|
@@ -63,8 +63,8 @@ declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {},
|
|
|
63
63
|
loading: boolean;
|
|
64
64
|
link: boolean;
|
|
65
65
|
icon: IconNames;
|
|
66
|
-
type: "default" | "primary" | "danger" | "positive" | "plain" | "unstyled" | "link";
|
|
67
66
|
size: "small" | "regular" | "large";
|
|
67
|
+
type: "default" | "primary" | "danger" | "positive" | "plain" | "unstyled" | "link";
|
|
68
68
|
href: string;
|
|
69
69
|
disabled: boolean;
|
|
70
70
|
active: boolean;
|
|
@@ -129,6 +129,16 @@ export declare const RIconNames: {
|
|
|
129
129
|
games: string;
|
|
130
130
|
dice: string;
|
|
131
131
|
};
|
|
132
|
+
export declare const RIconMinorNames: {
|
|
133
|
+
copy: string;
|
|
134
|
+
'external-link': string;
|
|
135
|
+
close: string;
|
|
136
|
+
check: string;
|
|
137
|
+
'caret-down': string;
|
|
138
|
+
'caret-up': string;
|
|
139
|
+
'caret-left': string;
|
|
140
|
+
'caret-right': string;
|
|
141
|
+
};
|
|
132
142
|
export declare const RIconColors: {
|
|
133
143
|
default: string;
|
|
134
144
|
'on-surface': string;
|
|
@@ -140,5 +150,6 @@ export declare const RIconColors: {
|
|
|
140
150
|
};
|
|
141
151
|
export type IconColor = keyof typeof RIconColors;
|
|
142
152
|
export type IconNames = keyof typeof RIconNames;
|
|
153
|
+
export type IconMinorNames = keyof typeof RIconMinorNames;
|
|
143
154
|
export declare const RIconSprites: string;
|
|
144
155
|
export declare function RIconSpritesAppend(el?: HTMLElement | DocumentFragment | null): void;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import type { IconColor, IconNames } from './r-icon-sprites';
|
|
1
|
+
import type { IconColor, IconNames, IconMinorNames } from './r-icon-sprites';
|
|
2
2
|
export interface Props {
|
|
3
3
|
/**
|
|
4
4
|
* Select any icon available in our svg sprite
|
|
5
5
|
*/
|
|
6
|
-
icon: Nullable<IconNames>;
|
|
6
|
+
icon: Nullable<IconNames | IconMinorNames>;
|
|
7
7
|
/**
|
|
8
8
|
* Choose any color from our status color palette
|
|
9
9
|
* primary, on-surface, success, warning, danger, info
|
|
@@ -13,6 +13,10 @@ export interface Props {
|
|
|
13
13
|
* Prevent native click events from capturing in parent components
|
|
14
14
|
*/
|
|
15
15
|
stopPropagation?: boolean;
|
|
16
|
+
/**
|
|
17
|
+
* Choose icon size
|
|
18
|
+
*/
|
|
19
|
+
size?: 'major' | 'minor';
|
|
16
20
|
}
|
|
17
21
|
declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
18
22
|
click: (event: MouseEvent) => any;
|
|
@@ -21,5 +25,6 @@ declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, imp
|
|
|
21
25
|
}>, {
|
|
22
26
|
color: IconColor;
|
|
23
27
|
stopPropagation: boolean;
|
|
28
|
+
size: "major" | "minor";
|
|
24
29
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
25
30
|
export default _default;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
interface Props {
|
|
2
|
+
/**
|
|
3
|
+
* The initial value of the current step.
|
|
4
|
+
*/
|
|
5
|
+
current?: string;
|
|
6
|
+
/**
|
|
7
|
+
* The initial list of completed steps.
|
|
8
|
+
*/
|
|
9
|
+
completed?: string[];
|
|
10
|
+
}
|
|
11
|
+
declare const steps: import("vue").Ref<string[], string[]>;
|
|
12
|
+
declare const hasNextStep: import("vue").ComputedRef<boolean>;
|
|
13
|
+
declare const hasPrevStep: import("vue").ComputedRef<boolean>;
|
|
14
|
+
declare function nextStep(callback?: () => void): void;
|
|
15
|
+
declare function prevStep(callback?: () => void): void;
|
|
16
|
+
declare const _default: import("vue").DefineComponent<Props, {
|
|
17
|
+
steps: typeof steps;
|
|
18
|
+
hasNextStep: typeof hasNextStep;
|
|
19
|
+
hasPrevStep: typeof hasPrevStep;
|
|
20
|
+
nextStep: typeof nextStep;
|
|
21
|
+
prevStep: typeof prevStep;
|
|
22
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
23
|
+
"update:current": (value: string) => any;
|
|
24
|
+
"update:completed": (value: string[]) => any;
|
|
25
|
+
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
26
|
+
"onUpdate:current"?: ((value: string) => any) | undefined;
|
|
27
|
+
"onUpdate:completed"?: ((value: string[]) => any) | undefined;
|
|
28
|
+
}>, {
|
|
29
|
+
completed: string[];
|
|
30
|
+
current: string;
|
|
31
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
32
|
+
export default _default;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
interface Props {
|
|
2
|
+
/**
|
|
3
|
+
* The name of the step used to identify the step.
|
|
4
|
+
*/
|
|
5
|
+
index: string;
|
|
6
|
+
/**
|
|
7
|
+
* The index that is currently shown as active.
|
|
8
|
+
*/
|
|
9
|
+
active?: boolean;
|
|
10
|
+
/**
|
|
11
|
+
* A list of indexes that are shown as completed.
|
|
12
|
+
*/
|
|
13
|
+
completed?: boolean;
|
|
14
|
+
/**
|
|
15
|
+
* Reference to where the step content should be teleported when the step is active.
|
|
16
|
+
*/
|
|
17
|
+
teleport?: HTMLElement | null;
|
|
18
|
+
}
|
|
19
|
+
declare var __VLS_4: {}, __VLS_10: {};
|
|
20
|
+
type __VLS_Slots = {} & {
|
|
21
|
+
title?: (props: typeof __VLS_4) => any;
|
|
22
|
+
} & {
|
|
23
|
+
content?: (props: typeof __VLS_10) => any;
|
|
24
|
+
};
|
|
25
|
+
declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
26
|
+
active: boolean;
|
|
27
|
+
completed: boolean;
|
|
28
|
+
teleport: HTMLElement | null;
|
|
29
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
30
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
31
|
+
export default _default;
|
|
32
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
33
|
+
new (): {
|
|
34
|
+
$slots: S;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
@@ -770,14 +770,15 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
770
770
|
}>, {
|
|
771
771
|
color: import("../r-icon/r-icon-sprites.ts").IconColor;
|
|
772
772
|
stopPropagation: boolean;
|
|
773
|
+
size: "major" | "minor";
|
|
773
774
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
774
775
|
RButton: {
|
|
775
776
|
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("../r-button/r-button.vue").Props> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
|
|
776
777
|
loading: boolean;
|
|
777
778
|
link: boolean;
|
|
778
779
|
icon: import("../r-icon/r-icon-sprites.ts").IconNames;
|
|
779
|
-
type: "default" | "primary" | "danger" | "positive" | "plain" | "unstyled" | "link";
|
|
780
780
|
size: "small" | "regular" | "large";
|
|
781
|
+
type: "default" | "primary" | "danger" | "positive" | "plain" | "unstyled" | "link";
|
|
781
782
|
href: string;
|
|
782
783
|
disabled: boolean;
|
|
783
784
|
active: boolean;
|
|
@@ -796,8 +797,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
796
797
|
loading: boolean;
|
|
797
798
|
link: boolean;
|
|
798
799
|
icon: import("../r-icon/r-icon-sprites.ts").IconNames;
|
|
799
|
-
type: "default" | "primary" | "danger" | "positive" | "plain" | "unstyled" | "link";
|
|
800
800
|
size: "small" | "regular" | "large";
|
|
801
|
+
type: "default" | "primary" | "danger" | "positive" | "plain" | "unstyled" | "link";
|
|
801
802
|
href: string;
|
|
802
803
|
disabled: boolean;
|
|
803
804
|
active: boolean;
|
|
@@ -813,8 +814,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
813
814
|
loading: boolean;
|
|
814
815
|
link: boolean;
|
|
815
816
|
icon: import("../r-icon/r-icon-sprites.ts").IconNames;
|
|
816
|
-
type: "default" | "primary" | "danger" | "positive" | "plain" | "unstyled" | "link";
|
|
817
817
|
size: "small" | "regular" | "large";
|
|
818
|
+
type: "default" | "primary" | "danger" | "positive" | "plain" | "unstyled" | "link";
|
|
818
819
|
href: string;
|
|
819
820
|
disabled: boolean;
|
|
820
821
|
active: boolean;
|