@rebilly/revel 12.17.0 → 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 +2 -2
- 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-multistep/r-multistep.vue.d.ts +32 -0
- package/dist/components/r-multistep/r-step.vue.d.ts +36 -0
- package/dist/revel.mjs +3474 -3338
- package/dist/revel.umd.js +4 -4
- 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:** Add
|
|
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';
|
|
@@ -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
|
+
};
|