@luscii-healthtech/web-ui 58.3.0 → 58.5.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 +74 -13
- 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/ActionCard/ActionCard.d.ts +34 -0
- package/dist/src/components/ActionCardDetailed/ActionCardDetailed.d.ts +94 -0
- package/dist/src/generated/components/ActionCard/ActionCard.d.ts +34 -0
- package/dist/src/generated/components/ActionCardDetailed/ActionCardDetailed.d.ts +94 -0
- package/dist/src/generated/index.d.ts +2 -0
- package/dist/src/index.d.ts +2 -0
- package/dist/stories/ActionCard.stories.d.ts +51 -0
- package/dist/stories/ActionCardDetailed.stories.d.ts +72 -0
- package/dist/web-ui-tailwind.css +19 -0
- package/dist/web-ui.esm.js +1 -1
- package/dist/web-ui.esm.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import type { ElementType, FC, ReactNode } from "react";
|
|
2
|
+
import { type Props as InstrumentCardProps } from "../InstrumentCard/InstrumentCard";
|
|
3
|
+
export type ActionType = "information" | "contact" | "lesson" | "calculation" | "measurement";
|
|
4
|
+
/**
|
|
5
|
+
* `Omit` distributes over the union so `InstrumentCard`'s discriminated
|
|
6
|
+
* `state`/`errorMessage` pairing survives; a plain `Omit` would collapse it.
|
|
7
|
+
*/
|
|
8
|
+
type DistributiveOmit<T, K extends PropertyKey> = T extends unknown ? Omit<T, K> : never;
|
|
9
|
+
export type ActionCardMetadata = {
|
|
10
|
+
label: string;
|
|
11
|
+
/** Bordered instead of flat — used for schedule information. */
|
|
12
|
+
bordered?: boolean;
|
|
13
|
+
};
|
|
14
|
+
export type Props = {
|
|
15
|
+
type: ActionType;
|
|
16
|
+
title: string;
|
|
17
|
+
metadata?: ActionCardMetadata[];
|
|
18
|
+
/** Always rendered in the compact variant, so `variant` is not accepted. */
|
|
19
|
+
instruments?: DistributiveOmit<InstrumentCardProps, "variant">[];
|
|
20
|
+
actions?: ReactNode;
|
|
21
|
+
draggable?: boolean;
|
|
22
|
+
/**
|
|
23
|
+
* Element for the title. `variant` controls the visual size; this controls
|
|
24
|
+
* the document outline, which only the consuming page knows.
|
|
25
|
+
* @default "h3"
|
|
26
|
+
*/
|
|
27
|
+
titleAs?: ElementType;
|
|
28
|
+
/** "list" drops the shadow so the card sits flush inside a list container. */
|
|
29
|
+
variant?: "default" | "compact" | "list";
|
|
30
|
+
onClick?: () => void;
|
|
31
|
+
className?: string;
|
|
32
|
+
};
|
|
33
|
+
export declare const ActionCard: FC<Props>;
|
|
34
|
+
export {};
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
import type { ReactNode } from "react";
|
|
2
|
+
import { type ActionType } from "../ActionCard/ActionCard";
|
|
3
|
+
import { type Props as InstrumentCardProps } from "../InstrumentCard/InstrumentCard";
|
|
4
|
+
/**
|
|
5
|
+
* `Omit` distributes over the union so `InstrumentCard`'s discriminated
|
|
6
|
+
* `state`/`errorMessage` pairing survives; a plain `Omit` would collapse it.
|
|
7
|
+
*/
|
|
8
|
+
type DistributiveOmit<T, K extends PropertyKey> = T extends unknown ? Omit<T, K> : never;
|
|
9
|
+
/** One line of the schedule section, e.g. "Starts: 4 day(s) before Patient Activated". */
|
|
10
|
+
export type ScheduleRow = {
|
|
11
|
+
/**
|
|
12
|
+
* Leading 24x24 icon, e.g. `<FlagIcon />`. Decorative — the component hides
|
|
13
|
+
* it from assistive tech, so the label and value carry the meaning.
|
|
14
|
+
*/
|
|
15
|
+
icon: ReactNode;
|
|
16
|
+
/** Light-weight prefix, e.g. `"Starts:"`. */
|
|
17
|
+
label: string;
|
|
18
|
+
/** Regular-weight value shown alongside the label on the same line. */
|
|
19
|
+
value: string;
|
|
20
|
+
/** Optional smaller line beneath, e.g. `"From 12:00 - 13:00"`. */
|
|
21
|
+
detail?: string;
|
|
22
|
+
};
|
|
23
|
+
export type Props = {
|
|
24
|
+
/** Selects the coloured action icon shown beside the title. */
|
|
25
|
+
type: ActionType;
|
|
26
|
+
/** Action name, rendered as the panel heading. */
|
|
27
|
+
title: string;
|
|
28
|
+
/** Subtitle beneath the title, e.g. `"Action category"`. Omitted when absent. */
|
|
29
|
+
category?: string;
|
|
30
|
+
/** Tags beneath the header, e.g. `["2 min reading time", "78% progress"]`. */
|
|
31
|
+
metadata?: string[];
|
|
32
|
+
/**
|
|
33
|
+
* Rows of the schedule section. The whole section — heading included — is
|
|
34
|
+
* omitted when this is absent or empty.
|
|
35
|
+
*/
|
|
36
|
+
schedule?: ScheduleRow[];
|
|
37
|
+
/** @default "Schedule settings" */
|
|
38
|
+
scheduleHeading?: string;
|
|
39
|
+
/**
|
|
40
|
+
* Instruments belonging to the action. The whole section — heading included
|
|
41
|
+
* — is omitted when this is absent or empty. Always rendered in the detailed
|
|
42
|
+
* variant, so `variant` is not accepted.
|
|
43
|
+
*/
|
|
44
|
+
instruments?: DistributiveOmit<InstrumentCardProps, "variant">[];
|
|
45
|
+
/** @default "Instruments in this action" */
|
|
46
|
+
instrumentsHeading?: string;
|
|
47
|
+
/** Renders the pencil button in the header. Omitted when not provided. */
|
|
48
|
+
onEdit?: () => void;
|
|
49
|
+
/** Renders the trash button in the header. Omitted when not provided. */
|
|
50
|
+
onDelete?: () => void;
|
|
51
|
+
/** Renders the close button in the header. Omitted when not provided. */
|
|
52
|
+
onClose?: () => void;
|
|
53
|
+
/** Merged onto the root element. */
|
|
54
|
+
className?: string;
|
|
55
|
+
};
|
|
56
|
+
/**
|
|
57
|
+
* The expanded detail panel for a single action — the counterpart to the
|
|
58
|
+
* `ActionCard` list row.
|
|
59
|
+
*
|
|
60
|
+
* Four sections stack vertically: header, metadata tags, schedule and
|
|
61
|
+
* instruments. The schedule and instrument sections are omitted entirely when
|
|
62
|
+
* their data is absent or empty, and each header button appears only when its
|
|
63
|
+
* handler is provided, so the Figma variant matrix is expressed by which props
|
|
64
|
+
* are passed rather than by a `variant` prop.
|
|
65
|
+
*
|
|
66
|
+
* The panel is capped at 600px wide to match the design; pass `className` to
|
|
67
|
+
* override that if the surrounding layout needs it.
|
|
68
|
+
*
|
|
69
|
+
* @example
|
|
70
|
+
* ```tsx
|
|
71
|
+
* <ActionCardDetailed
|
|
72
|
+
* type="information"
|
|
73
|
+
* title="Information action title"
|
|
74
|
+
* category="Action category"
|
|
75
|
+
* metadata={["2 min reading time", "78% progress"]}
|
|
76
|
+
* schedule={[
|
|
77
|
+
* { icon: <FlagIcon />, label: "Starts:", value: "4 day(s) before Patient Activated" },
|
|
78
|
+
* {
|
|
79
|
+
* icon: <CalendarDayIcon />,
|
|
80
|
+
* label: "Timeframe:",
|
|
81
|
+
* value: "Anytime on scheduled day",
|
|
82
|
+
* detail: "From 12:00 - 13:00",
|
|
83
|
+
* },
|
|
84
|
+
* ]}
|
|
85
|
+
* instruments={[
|
|
86
|
+
* { type: "info", title: "How to stop smoking", category: "Lesson", count: 2 },
|
|
87
|
+
* ]}
|
|
88
|
+
* onEdit={openEditor}
|
|
89
|
+
* onClose={closePanel}
|
|
90
|
+
* />
|
|
91
|
+
* ```
|
|
92
|
+
*/
|
|
93
|
+
export declare const ActionCardDetailed: ({ type, title, category, metadata, schedule, scheduleHeading, instruments, instrumentsHeading, onEdit, onDelete, onClose, className, }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
94
|
+
export {};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import type { ElementType, FC, ReactNode } from "react";
|
|
2
|
+
import { type Props as InstrumentCardProps } from "../InstrumentCard/InstrumentCard";
|
|
3
|
+
export type ActionType = "information" | "contact" | "lesson" | "calculation" | "measurement";
|
|
4
|
+
/**
|
|
5
|
+
* `Omit` distributes over the union so `InstrumentCard`'s discriminated
|
|
6
|
+
* `state`/`errorMessage` pairing survives; a plain `Omit` would collapse it.
|
|
7
|
+
*/
|
|
8
|
+
type DistributiveOmit<T, K extends PropertyKey> = T extends unknown ? Omit<T, K> : never;
|
|
9
|
+
export type ActionCardMetadata = {
|
|
10
|
+
label: string;
|
|
11
|
+
/** Bordered instead of flat — used for schedule information. */
|
|
12
|
+
bordered?: boolean;
|
|
13
|
+
};
|
|
14
|
+
export type Props = {
|
|
15
|
+
type: ActionType;
|
|
16
|
+
title: string;
|
|
17
|
+
metadata?: ActionCardMetadata[];
|
|
18
|
+
/** Always rendered in the compact variant, so `variant` is not accepted. */
|
|
19
|
+
instruments?: DistributiveOmit<InstrumentCardProps, "variant">[];
|
|
20
|
+
actions?: ReactNode;
|
|
21
|
+
draggable?: boolean;
|
|
22
|
+
/**
|
|
23
|
+
* Element for the title. `variant` controls the visual size; this controls
|
|
24
|
+
* the document outline, which only the consuming page knows.
|
|
25
|
+
* @default "h3"
|
|
26
|
+
*/
|
|
27
|
+
titleAs?: ElementType;
|
|
28
|
+
/** "list" drops the shadow so the card sits flush inside a list container. */
|
|
29
|
+
variant?: "default" | "compact" | "list";
|
|
30
|
+
onClick?: () => void;
|
|
31
|
+
className?: string;
|
|
32
|
+
};
|
|
33
|
+
export declare const ActionCard: FC<Props>;
|
|
34
|
+
export {};
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
import type { ReactNode } from "react";
|
|
2
|
+
import { type ActionType } from "../ActionCard/ActionCard";
|
|
3
|
+
import { type Props as InstrumentCardProps } from "../InstrumentCard/InstrumentCard";
|
|
4
|
+
/**
|
|
5
|
+
* `Omit` distributes over the union so `InstrumentCard`'s discriminated
|
|
6
|
+
* `state`/`errorMessage` pairing survives; a plain `Omit` would collapse it.
|
|
7
|
+
*/
|
|
8
|
+
type DistributiveOmit<T, K extends PropertyKey> = T extends unknown ? Omit<T, K> : never;
|
|
9
|
+
/** One line of the schedule section, e.g. "Starts: 4 day(s) before Patient Activated". */
|
|
10
|
+
export type ScheduleRow = {
|
|
11
|
+
/**
|
|
12
|
+
* Leading 24x24 icon, e.g. `<FlagIcon />`. Decorative — the component hides
|
|
13
|
+
* it from assistive tech, so the label and value carry the meaning.
|
|
14
|
+
*/
|
|
15
|
+
icon: ReactNode;
|
|
16
|
+
/** Light-weight prefix, e.g. `"Starts:"`. */
|
|
17
|
+
label: string;
|
|
18
|
+
/** Regular-weight value shown alongside the label on the same line. */
|
|
19
|
+
value: string;
|
|
20
|
+
/** Optional smaller line beneath, e.g. `"From 12:00 - 13:00"`. */
|
|
21
|
+
detail?: string;
|
|
22
|
+
};
|
|
23
|
+
export type Props = {
|
|
24
|
+
/** Selects the coloured action icon shown beside the title. */
|
|
25
|
+
type: ActionType;
|
|
26
|
+
/** Action name, rendered as the panel heading. */
|
|
27
|
+
title: string;
|
|
28
|
+
/** Subtitle beneath the title, e.g. `"Action category"`. Omitted when absent. */
|
|
29
|
+
category?: string;
|
|
30
|
+
/** Tags beneath the header, e.g. `["2 min reading time", "78% progress"]`. */
|
|
31
|
+
metadata?: string[];
|
|
32
|
+
/**
|
|
33
|
+
* Rows of the schedule section. The whole section — heading included — is
|
|
34
|
+
* omitted when this is absent or empty.
|
|
35
|
+
*/
|
|
36
|
+
schedule?: ScheduleRow[];
|
|
37
|
+
/** @default "Schedule settings" */
|
|
38
|
+
scheduleHeading?: string;
|
|
39
|
+
/**
|
|
40
|
+
* Instruments belonging to the action. The whole section — heading included
|
|
41
|
+
* — is omitted when this is absent or empty. Always rendered in the detailed
|
|
42
|
+
* variant, so `variant` is not accepted.
|
|
43
|
+
*/
|
|
44
|
+
instruments?: DistributiveOmit<InstrumentCardProps, "variant">[];
|
|
45
|
+
/** @default "Instruments in this action" */
|
|
46
|
+
instrumentsHeading?: string;
|
|
47
|
+
/** Renders the pencil button in the header. Omitted when not provided. */
|
|
48
|
+
onEdit?: () => void;
|
|
49
|
+
/** Renders the trash button in the header. Omitted when not provided. */
|
|
50
|
+
onDelete?: () => void;
|
|
51
|
+
/** Renders the close button in the header. Omitted when not provided. */
|
|
52
|
+
onClose?: () => void;
|
|
53
|
+
/** Merged onto the root element. */
|
|
54
|
+
className?: string;
|
|
55
|
+
};
|
|
56
|
+
/**
|
|
57
|
+
* The expanded detail panel for a single action — the counterpart to the
|
|
58
|
+
* `ActionCard` list row.
|
|
59
|
+
*
|
|
60
|
+
* Four sections stack vertically: header, metadata tags, schedule and
|
|
61
|
+
* instruments. The schedule and instrument sections are omitted entirely when
|
|
62
|
+
* their data is absent or empty, and each header button appears only when its
|
|
63
|
+
* handler is provided, so the Figma variant matrix is expressed by which props
|
|
64
|
+
* are passed rather than by a `variant` prop.
|
|
65
|
+
*
|
|
66
|
+
* The panel is capped at 600px wide to match the design; pass `className` to
|
|
67
|
+
* override that if the surrounding layout needs it.
|
|
68
|
+
*
|
|
69
|
+
* @example
|
|
70
|
+
* ```tsx
|
|
71
|
+
* <ActionCardDetailed
|
|
72
|
+
* type="information"
|
|
73
|
+
* title="Information action title"
|
|
74
|
+
* category="Action category"
|
|
75
|
+
* metadata={["2 min reading time", "78% progress"]}
|
|
76
|
+
* schedule={[
|
|
77
|
+
* { icon: <FlagIcon />, label: "Starts:", value: "4 day(s) before Patient Activated" },
|
|
78
|
+
* {
|
|
79
|
+
* icon: <CalendarDayIcon />,
|
|
80
|
+
* label: "Timeframe:",
|
|
81
|
+
* value: "Anytime on scheduled day",
|
|
82
|
+
* detail: "From 12:00 - 13:00",
|
|
83
|
+
* },
|
|
84
|
+
* ]}
|
|
85
|
+
* instruments={[
|
|
86
|
+
* { type: "info", title: "How to stop smoking", category: "Lesson", count: 2 },
|
|
87
|
+
* ]}
|
|
88
|
+
* onEdit={openEditor}
|
|
89
|
+
* onClose={closePanel}
|
|
90
|
+
* />
|
|
91
|
+
* ```
|
|
92
|
+
*/
|
|
93
|
+
export declare const ActionCardDetailed: ({ type, title, category, metadata, schedule, scheduleHeading, instruments, instrumentsHeading, onEdit, onDelete, onClose, className, }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
94
|
+
export {};
|
|
@@ -95,6 +95,8 @@ export { PageHeader, type PageHeaderProps } from "./components/PageHeader";
|
|
|
95
95
|
export { Tag } from "./components/Tag/Tag";
|
|
96
96
|
export { TagGroup } from "./components/Tag/TagGroup";
|
|
97
97
|
export { InstrumentCard, type InstrumentType, type Props as InstrumentCardProps, } from "./components/InstrumentCard/InstrumentCard";
|
|
98
|
+
export { ActionCard, type ActionType, type ActionCardMetadata, type Props as ActionCardProps, } from "./components/ActionCard/ActionCard";
|
|
99
|
+
export { ActionCardDetailed, type ScheduleRow, type Props as ActionCardDetailedProps, } from "./components/ActionCardDetailed/ActionCardDetailed";
|
|
98
100
|
export { Textarea, type TextareaProps, type ResizeTypes, } from "./components/Textarea/Textarea";
|
|
99
101
|
export { TextEditor, type TextEditorTag, } from "./components/TextEditor/TextEditor";
|
|
100
102
|
export { type TextEditorTranslations } from "./components/TextEditor/textEditorTranslations";
|
package/dist/src/index.d.ts
CHANGED
|
@@ -95,6 +95,8 @@ export { PageHeader, type PageHeaderProps } from "./components/PageHeader";
|
|
|
95
95
|
export { Tag } from "./components/Tag/Tag";
|
|
96
96
|
export { TagGroup } from "./components/Tag/TagGroup";
|
|
97
97
|
export { InstrumentCard, type InstrumentType, type Props as InstrumentCardProps, } from "./components/InstrumentCard/InstrumentCard";
|
|
98
|
+
export { ActionCard, type ActionType, type ActionCardMetadata, type Props as ActionCardProps, } from "./components/ActionCard/ActionCard";
|
|
99
|
+
export { ActionCardDetailed, type ScheduleRow, type Props as ActionCardDetailedProps, } from "./components/ActionCardDetailed/ActionCardDetailed";
|
|
98
100
|
export { Textarea, type TextareaProps, type ResizeTypes, } from "./components/Textarea/Textarea";
|
|
99
101
|
export { TextEditor, type TextEditorTag, } from "./components/TextEditor/TextEditor";
|
|
100
102
|
export { type TextEditorTranslations } from "./components/TextEditor/textEditorTranslations";
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { type StoryObj } from "@storybook/react-vite";
|
|
2
|
+
import { type ActionType } from "../src/components/ActionCard/ActionCard";
|
|
3
|
+
declare const meta: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: import("react").FC<import("../src").ActionCardProps>;
|
|
6
|
+
parameters: {
|
|
7
|
+
backgrounds: {
|
|
8
|
+
default: string;
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
argTypes: {
|
|
12
|
+
type: {
|
|
13
|
+
options: ActionType[];
|
|
14
|
+
control: {
|
|
15
|
+
type: "select";
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
variant: {
|
|
19
|
+
options: string[];
|
|
20
|
+
control: {
|
|
21
|
+
type: "select";
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
draggable: {
|
|
25
|
+
control: {
|
|
26
|
+
type: "boolean";
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
actions: {
|
|
30
|
+
control: false;
|
|
31
|
+
};
|
|
32
|
+
metadata: {
|
|
33
|
+
control: {
|
|
34
|
+
type: "object";
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
instruments: {
|
|
38
|
+
control: {
|
|
39
|
+
type: "object";
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
};
|
|
44
|
+
export default meta;
|
|
45
|
+
type Story = StoryObj<typeof meta>;
|
|
46
|
+
export declare const Base: Story;
|
|
47
|
+
export declare const EveryType: Story;
|
|
48
|
+
export declare const WithAndWithoutActions: Story;
|
|
49
|
+
export declare const DraggableAndStatic: Story;
|
|
50
|
+
export declare const ListVariant: Story;
|
|
51
|
+
export declare const CompactVariant: Story;
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import { type StoryObj } from "@storybook/react-vite";
|
|
2
|
+
import { type ActionType } from "../src/components/ActionCard/ActionCard";
|
|
3
|
+
import { type Props as ActionCardDetailedProps } from "../src/components/ActionCardDetailed/ActionCardDetailed";
|
|
4
|
+
declare const meta: {
|
|
5
|
+
title: string;
|
|
6
|
+
component: ({ type, title, category, metadata, schedule, scheduleHeading, instruments, instrumentsHeading, onEdit, onDelete, onClose, className, }: ActionCardDetailedProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
parameters: {
|
|
8
|
+
layout: string;
|
|
9
|
+
backgrounds: {
|
|
10
|
+
default: string;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
argTypes: {
|
|
14
|
+
type: {
|
|
15
|
+
options: ActionType[];
|
|
16
|
+
control: {
|
|
17
|
+
type: "select";
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
title: {
|
|
21
|
+
control: {
|
|
22
|
+
type: "text";
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
category: {
|
|
26
|
+
control: {
|
|
27
|
+
type: "text";
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
metadata: {
|
|
31
|
+
control: {
|
|
32
|
+
type: "object";
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
schedule: {
|
|
36
|
+
control: {
|
|
37
|
+
type: "object";
|
|
38
|
+
};
|
|
39
|
+
};
|
|
40
|
+
scheduleHeading: {
|
|
41
|
+
control: {
|
|
42
|
+
type: "text";
|
|
43
|
+
};
|
|
44
|
+
};
|
|
45
|
+
instruments: {
|
|
46
|
+
control: {
|
|
47
|
+
type: "object";
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
instrumentsHeading: {
|
|
51
|
+
control: {
|
|
52
|
+
type: "text";
|
|
53
|
+
};
|
|
54
|
+
};
|
|
55
|
+
onEdit: {
|
|
56
|
+
action: string;
|
|
57
|
+
};
|
|
58
|
+
onDelete: {
|
|
59
|
+
action: string;
|
|
60
|
+
};
|
|
61
|
+
onClose: {
|
|
62
|
+
action: string;
|
|
63
|
+
};
|
|
64
|
+
};
|
|
65
|
+
};
|
|
66
|
+
export default meta;
|
|
67
|
+
type Story = StoryObj<typeof meta>;
|
|
68
|
+
export declare const FullExample: Story;
|
|
69
|
+
export declare const ScheduleAndInstruments: Story;
|
|
70
|
+
export declare const ScheduleOnly: Story;
|
|
71
|
+
export declare const InstrumentsOnly: Story;
|
|
72
|
+
export declare const WithoutScheduleOrInstruments: Story;
|
package/dist/web-ui-tailwind.css
CHANGED
|
@@ -1567,6 +1567,10 @@ button, input:where([type='button'], [type='reset'], [type='submit']), ::file-se
|
|
|
1567
1567
|
width: calc(var(--ui-spacing) * 2);
|
|
1568
1568
|
height: calc(var(--ui-spacing) * 2);
|
|
1569
1569
|
}
|
|
1570
|
+
.ui\:size-\[var\(--ui-semantic-size-xl\)\] {
|
|
1571
|
+
width: var(--ui-semantic-size-xl);
|
|
1572
|
+
height: var(--ui-semantic-size-xl);
|
|
1573
|
+
}
|
|
1570
1574
|
.ui\:h-1 {
|
|
1571
1575
|
height: calc(var(--ui-spacing) * 1);
|
|
1572
1576
|
}
|
|
@@ -1972,6 +1976,12 @@ button, input:where([type='button'], [type='reset'], [type='submit']), ::file-se
|
|
|
1972
1976
|
.ui\:max-w-\[560px\] {
|
|
1973
1977
|
max-width: 560px;
|
|
1974
1978
|
}
|
|
1979
|
+
.ui\:max-w-\[600px\] {
|
|
1980
|
+
max-width: 600px;
|
|
1981
|
+
}
|
|
1982
|
+
.ui\:max-w-\[720px\] {
|
|
1983
|
+
max-width: 720px;
|
|
1984
|
+
}
|
|
1975
1985
|
.ui\:max-w-\[900px\] {
|
|
1976
1986
|
max-width: 900px;
|
|
1977
1987
|
}
|
|
@@ -2517,6 +2527,9 @@ button, input:where([type='button'], [type='reset'], [type='submit']), ::file-se
|
|
|
2517
2527
|
.ui\:\[border-radius\:var\(--ui-semantic-radius-m\)\] {
|
|
2518
2528
|
border-radius: var(--ui-semantic-radius-m);
|
|
2519
2529
|
}
|
|
2530
|
+
.ui\:\[border-radius\:var\(--ui-semantic-radius-s\)\] {
|
|
2531
|
+
border-radius: var(--ui-semantic-radius-s);
|
|
2532
|
+
}
|
|
2520
2533
|
.ui\:radius-l {
|
|
2521
2534
|
border-radius: 24px;
|
|
2522
2535
|
}
|
|
@@ -4823,6 +4836,12 @@ button, input:where([type='button'], [type='reset'], [type='submit']), ::file-se
|
|
|
4823
4836
|
position: absolute;
|
|
4824
4837
|
}
|
|
4825
4838
|
}
|
|
4839
|
+
.ui\:after\:inset-0 {
|
|
4840
|
+
&::after {
|
|
4841
|
+
content: var(--tw-content);
|
|
4842
|
+
inset: 0px;
|
|
4843
|
+
}
|
|
4844
|
+
}
|
|
4826
4845
|
.ui\:after\:start-\[2px\] {
|
|
4827
4846
|
&::after {
|
|
4828
4847
|
content: var(--tw-content);
|