@luscii-healthtech/web-ui 42.14.0 → 43.0.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/index.development.js +34 -11
- package/dist/index.development.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/src/components/Page/CRUDPage.types.d.ts +5 -4
- package/dist/src/components/Stack/Stack.d.ts +1 -1
- package/dist/src/components/Steps/Steps.d.ts +10 -8
- package/dist/src/components/Steps/subcomponents/Step.d.ts +7 -0
- package/dist/stories/Divider.stories.d.ts +2 -2
- package/dist/stories/Steps.stories.d.ts +20 -8
- package/dist/stories/TimelineCardLayout.stories.d.ts +1 -1
- package/dist/web-ui-tailwind.css +2 -9
- package/dist/web-ui.esm.js +1 -1
- package/dist/web-ui.esm.js.map +1 -1
- package/package.json +1 -1
- package/dist/src/components/Steps/Step.d.ts +0 -9
- package/dist/stories/Step.stories.d.ts +0 -25
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import type { BaseButtonProps } from "../ButtonV2/ButtonProps.type";
|
|
2
2
|
import type { PageHeaderProps } from "../PageHeader";
|
|
3
|
-
import type { StepsProps } from "../Steps/Steps";
|
|
4
3
|
type CRUDPageButtonProps = Pick<BaseButtonProps, "onClick" | "text" | "isDisabled" | "form" | "type">;
|
|
5
4
|
type CRUDPageTitle = {
|
|
6
5
|
text: string;
|
|
@@ -32,9 +31,11 @@ type CRUDPagePropsWithoutHeaderOrTitle = {
|
|
|
32
31
|
isSubmitting?: boolean;
|
|
33
32
|
children?: React.ReactNode;
|
|
34
33
|
steps?: {
|
|
35
|
-
titles:
|
|
36
|
-
currentStep:
|
|
37
|
-
localization:
|
|
34
|
+
titles: Array<string>;
|
|
35
|
+
currentStep: number;
|
|
36
|
+
localization: {
|
|
37
|
+
step: string;
|
|
38
|
+
};
|
|
38
39
|
};
|
|
39
40
|
/**
|
|
40
41
|
* When `true` will set the height of the
|
|
@@ -26,7 +26,7 @@ type Props<C extends React.ElementType> = React.ComponentPropsWithoutRef<C> & {
|
|
|
26
26
|
* Positioning of items along the Stack’s main axis.
|
|
27
27
|
* The values are based on Tailwind's classnames and are therefore limited to the following:
|
|
28
28
|
*/
|
|
29
|
-
justify?: "normal" | "start" | "end" | "center" | "between" | "around" | "evenly";
|
|
29
|
+
justify?: "normal" | "start" | "end" | "center" | "between" | "around" | "evenly" | "stretch";
|
|
30
30
|
/**
|
|
31
31
|
* Positioning of items along the Stack’s x (horizontal) or y (vertical) axis
|
|
32
32
|
*/
|
|
@@ -1,9 +1,11 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { Step } from "./subcomponents/Step";
|
|
3
|
+
type Props = {
|
|
4
|
+
children?: React.ReactNode;
|
|
4
5
|
className?: string;
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
}
|
|
9
|
-
export declare const Steps:
|
|
6
|
+
};
|
|
7
|
+
type StaticProperties = {
|
|
8
|
+
Step: typeof Step;
|
|
9
|
+
};
|
|
10
|
+
export declare const Steps: React.FC<Props> & StaticProperties;
|
|
11
|
+
export {};
|
|
@@ -11,7 +11,7 @@ declare const meta: {
|
|
|
11
11
|
as?: import("react").ElementType | undefined;
|
|
12
12
|
gap?: "none" | "s" | "xs" | "xl" | "m" | "xxxxs" | "xxxs" | "xxs" | "l" | "xxl";
|
|
13
13
|
align?: "start" | "end" | "center" | "baseline" | "stretch" | "normal";
|
|
14
|
-
justify?: "normal" | "start" | "end" | "center" | "between" | "around" | "evenly";
|
|
14
|
+
justify?: "normal" | "start" | "end" | "center" | "between" | "around" | "evenly" | "stretch";
|
|
15
15
|
axis?: "x" | "y";
|
|
16
16
|
reverse?: boolean;
|
|
17
17
|
wrap?: boolean;
|
|
@@ -35,7 +35,7 @@ declare const meta: {
|
|
|
35
35
|
as?: import("react").ElementType | undefined;
|
|
36
36
|
gap?: "none" | "s" | "xs" | "xl" | "m" | "xxxxs" | "xxxs" | "xxs" | "l" | "xxl";
|
|
37
37
|
align?: "start" | "end" | "center" | "baseline" | "stretch" | "normal";
|
|
38
|
-
justify?: "normal" | "start" | "end" | "center" | "between" | "around" | "evenly";
|
|
38
|
+
justify?: "normal" | "start" | "end" | "center" | "between" | "around" | "evenly" | "stretch";
|
|
39
39
|
axis?: "x" | "y";
|
|
40
40
|
reverse?: boolean;
|
|
41
41
|
wrap?: boolean;
|
|
@@ -1,14 +1,26 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
2
|
title: string;
|
|
3
|
-
component:
|
|
3
|
+
component: import("react").FC<{
|
|
4
|
+
children?: React.ReactNode;
|
|
5
|
+
className?: string;
|
|
6
|
+
}> & {
|
|
7
|
+
Step: typeof import("../src/components/Steps/subcomponents/Step").Step;
|
|
8
|
+
};
|
|
9
|
+
subcomponents: {
|
|
10
|
+
Step: import("react").FC<{
|
|
11
|
+
title: string;
|
|
12
|
+
subtitle?: string;
|
|
13
|
+
state: "completed" | "current" | "upcoming";
|
|
14
|
+
}>;
|
|
15
|
+
};
|
|
4
16
|
};
|
|
5
17
|
export default _default;
|
|
6
18
|
export declare const Full: {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
19
|
+
render: () => import("react/jsx-runtime").JSX.Element;
|
|
20
|
+
};
|
|
21
|
+
export declare const WithSubcomponents: {
|
|
22
|
+
render: () => import("react/jsx-runtime").JSX.Element;
|
|
23
|
+
};
|
|
24
|
+
export declare const WithSubcomponentsAndSubtitles: {
|
|
25
|
+
render: () => import("react/jsx-runtime").JSX.Element;
|
|
14
26
|
};
|
|
@@ -8,7 +8,7 @@ declare const meta: {
|
|
|
8
8
|
as?: import("react").ElementType | undefined;
|
|
9
9
|
gap?: "none" | "s" | "xs" | "xl" | "m" | "xxxxs" | "xxxs" | "xxs" | "l" | "xxl";
|
|
10
10
|
align?: "start" | "end" | "center" | "baseline" | "stretch" | "normal";
|
|
11
|
-
justify?: "normal" | "start" | "end" | "center" | "between" | "around" | "evenly";
|
|
11
|
+
justify?: "normal" | "start" | "end" | "center" | "between" | "around" | "evenly" | "stretch";
|
|
12
12
|
axis?: "x" | "y";
|
|
13
13
|
reverse?: boolean;
|
|
14
14
|
wrap?: boolean;
|
package/dist/web-ui-tailwind.css
CHANGED
|
@@ -1591,8 +1591,8 @@ button, input:where([type='button'], [type='reset'], [type='submit']), ::file-se
|
|
|
1591
1591
|
.ui\:justify-start {
|
|
1592
1592
|
justify-content: flex-start;
|
|
1593
1593
|
}
|
|
1594
|
-
.ui\:justify-
|
|
1595
|
-
justify-
|
|
1594
|
+
.ui\:justify-stretch {
|
|
1595
|
+
justify-content: stretch;
|
|
1596
1596
|
}
|
|
1597
1597
|
.ui\:gap-2 {
|
|
1598
1598
|
gap: calc(var(--ui-spacing) * 2);
|
|
@@ -1711,13 +1711,6 @@ button, input:where([type='button'], [type='reset'], [type='submit']), ::file-se
|
|
|
1711
1711
|
margin-inline-end: calc(calc(var(--ui-spacing) * 4) * calc(1 - var(--tw-space-x-reverse)));
|
|
1712
1712
|
}
|
|
1713
1713
|
}
|
|
1714
|
-
.ui\:space-x-6 {
|
|
1715
|
-
:where(& > :not(:last-child)) {
|
|
1716
|
-
--tw-space-x-reverse: 0;
|
|
1717
|
-
margin-inline-start: calc(calc(var(--ui-spacing) * 6) * var(--tw-space-x-reverse));
|
|
1718
|
-
margin-inline-end: calc(calc(var(--ui-spacing) * 6) * calc(1 - var(--tw-space-x-reverse)));
|
|
1719
|
-
}
|
|
1720
|
-
}
|
|
1721
1714
|
.ui\:space-x-8 {
|
|
1722
1715
|
:where(& > :not(:last-child)) {
|
|
1723
1716
|
--tw-space-x-reverse: 0;
|