@luscii-healthtech/web-ui 58.19.2 → 58.19.3
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/src/components/ActionController/ActionController.d.ts +1 -1
- package/dist/src/components/Box/Box.d.ts +3 -3
- package/dist/src/components/Card/Card.d.ts +1 -1
- package/dist/src/components/ConfirmationDialog/types/ConfirmationDialog.types.d.ts +2 -2
- package/dist/src/components/DatePicker/DatePicker.d.ts +1 -1
- package/dist/src/components/DropdownTrigger/DropdownTrigger.d.ts +1 -1
- package/dist/src/components/Icons/types/IconProps.type.d.ts +1 -1
- package/dist/src/components/Input/Input.d.ts +1 -1
- package/dist/src/components/Input/StyledInput.d.ts +2 -2
- package/dist/src/components/InputSelect/InputSelect.d.ts +1 -1
- package/dist/src/components/InputSelect/InputSelect.utils.d.ts +1 -1
- package/dist/src/components/LoadingIndicator/LoadingIndicator.d.ts +1 -1
- package/dist/src/components/NaturalLanguageForm/NaturalLanguageForm.d.ts +1 -1
- package/dist/src/components/NaturalLanguageForm/NaturalLanguageFormContext.d.ts +1 -1
- package/dist/src/components/Select/StyledSelect.d.ts +2 -2
- package/dist/src/components/Stack/Stack.d.ts +1 -1
- package/dist/src/components/UnorderedList/UnorderedList.d.ts +1 -1
- package/dist/src/components/forms/shared/LabelText.d.ts +1 -1
- package/dist/src/generated/components/ActionController/ActionController.d.ts +1 -1
- package/dist/src/generated/components/Box/Box.d.ts +3 -3
- package/dist/src/generated/components/Card/Card.d.ts +1 -1
- package/dist/src/generated/components/ConfirmationDialog/types/ConfirmationDialog.types.d.ts +2 -2
- package/dist/src/generated/components/DatePicker/DatePicker.d.ts +1 -1
- package/dist/src/generated/components/DropdownTrigger/DropdownTrigger.d.ts +1 -1
- package/dist/src/generated/components/Icons/types/IconProps.type.d.ts +1 -1
- package/dist/src/generated/components/Input/Input.d.ts +1 -1
- package/dist/src/generated/components/Input/StyledInput.d.ts +2 -2
- package/dist/src/generated/components/InputSelect/InputSelect.d.ts +1 -1
- package/dist/src/generated/components/InputSelect/InputSelect.utils.d.ts +1 -1
- package/dist/src/generated/components/LoadingIndicator/LoadingIndicator.d.ts +1 -1
- package/dist/src/generated/components/NaturalLanguageForm/NaturalLanguageForm.d.ts +1 -1
- package/dist/src/generated/components/NaturalLanguageForm/NaturalLanguageFormContext.d.ts +1 -1
- package/dist/src/generated/components/Select/StyledSelect.d.ts +2 -2
- package/dist/src/generated/components/Stack/Stack.d.ts +1 -1
- package/dist/src/generated/components/UnorderedList/UnorderedList.d.ts +1 -1
- package/dist/src/generated/components/forms/shared/LabelText.d.ts +1 -1
- package/dist/src/generated/types/general.types.d.ts +1 -1
- package/dist/src/types/general.types.d.ts +1 -1
- package/dist/stories/ActionController.stories.d.ts +4 -4
- package/dist/stories/Box.stories.d.ts +4 -4
- package/dist/stories/PageWithCenteredContentLayout.stories.d.ts +12 -12
- package/dist/stories/RangeCoverage.stories.d.ts +1 -1
- package/dist/stories/SplitViewLayout.stories.d.ts +4 -4
- package/dist/stories/Stack.stories.d.ts +1 -1
- package/dist/stories/Tabs.stories.d.ts +4 -4
- package/package.json +18 -18
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type FC, type ComponentProps, type ElementType, type ReactNode } from "react";
|
|
2
|
-
import { type SemanticBackgroundColor } from "../../types/general.types.
|
|
2
|
+
import { type SemanticBackgroundColor } from "../../types/general.types.js";
|
|
3
3
|
import { Box } from "../Box/Box";
|
|
4
4
|
type Props = {
|
|
5
5
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { ComponentPropsWithoutRef, ComponentPropsWithRef, ElementType, ReactElement } from "react";
|
|
2
|
-
import { type SpacingKey, type SIZES } from "../../system/Sizes.
|
|
3
|
-
import { type ELEVATION } from "../../system/Elevation.
|
|
4
|
-
import { type BackgroundColor, type CursorOption } from "../../types/general.types.
|
|
2
|
+
import { type SpacingKey, type SIZES } from "../../system/Sizes.js";
|
|
3
|
+
import { type ELEVATION } from "../../system/Elevation.js";
|
|
4
|
+
import { type BackgroundColor, type CursorOption } from "../../types/general.types.js";
|
|
5
5
|
declare const underscoredSpacingPropNames: readonly ["_p", "_pt", "_pr", "_pb", "_pl", "_px", "_py", "_m", "_mt", "_mr", "_mb", "_ml", "_mx", "_my"];
|
|
6
6
|
type UnderscoredSpacingProps = Partial<Record<(typeof underscoredSpacingPropNames)[number], SpacingKey>>;
|
|
7
7
|
type ElevationProp = keyof typeof ELEVATION;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { ComponentProps, ElementType, ReactNode } from "react";
|
|
2
|
-
import type { ELEVATION } from "../../system/Elevation.
|
|
2
|
+
import type { ELEVATION } from "../../system/Elevation.js";
|
|
3
3
|
import { Box } from "../Box/Box";
|
|
4
4
|
import { type TitleProps } from "../Title/Title";
|
|
5
5
|
type TitleAndMaybeActions = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { IconKey, IconProps } from "../../Icons/types/IconProps.type.
|
|
2
|
-
import type { NotificationBannerColor } from "../../NotificationBanner/NotificationBanner.
|
|
1
|
+
import type { IconKey, IconProps } from "../../Icons/types/IconProps.type.js";
|
|
2
|
+
import type { NotificationBannerColor } from "../../NotificationBanner/NotificationBanner.js";
|
|
3
3
|
interface ConfirmationDialogTexts {
|
|
4
4
|
/**
|
|
5
5
|
* You can also use the `children` prop for this.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import { type SizeNames } from "../../system/Sizes.
|
|
2
|
+
import { type SizeNames } from "../../system/Sizes.js";
|
|
3
3
|
import { type Props as BoxProps } from "../Box/Box";
|
|
4
4
|
export type DropdownTriggerProps = Omit<React.ComponentPropsWithRef<"button">, "children" | "width"> & {
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import type { FormHeightNames } from "../../system/Sizes.
|
|
2
|
+
import type { FormHeightNames } from "../../system/Sizes.js";
|
|
3
3
|
import type { IconKey, IconProps } from "../Icons/types/IconProps.type";
|
|
4
4
|
type FormFieldWidth = "sm" | "md" | "lg" | "xl" | "full";
|
|
5
5
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import { type FormFieldSize } from "../../types/general.types.
|
|
3
|
-
import { type FormHeightNames } from "../../system/Sizes.
|
|
2
|
+
import { type FormFieldSize } from "../../types/general.types.js";
|
|
3
|
+
import { type FormHeightNames } from "../../system/Sizes.js";
|
|
4
4
|
import type { IconKey, IconProps } from "../Icons/types/IconProps.type";
|
|
5
5
|
export declare const StyledInput: React.ForwardRefExoticComponent<Omit<Omit<React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref">, "width"> & {
|
|
6
6
|
suffix?: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import type { FormHeightNames } from "../../system/Sizes.
|
|
2
|
+
import type { FormHeightNames } from "../../system/Sizes.js";
|
|
3
3
|
/**
|
|
4
4
|
* The subset of props `InputSelect` reads off its children when it restyles
|
|
5
5
|
* them. React 19 types `ReactElement` props as `unknown` by default, so the
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { JSX } from "react";
|
|
2
|
-
import { type RestPropped } from "../../types/general.types.
|
|
2
|
+
import { type RestPropped } from "../../types/general.types.js";
|
|
3
3
|
import "./LoadingIndicator.scss";
|
|
4
4
|
export interface LoadingIndicatorProps extends RestPropped {
|
|
5
5
|
asModal?: boolean;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import { type FormFieldSize } from "../../types/general.types.
|
|
3
|
-
import type { FormHeightNames } from "../../system/Sizes.
|
|
2
|
+
import { type FormFieldSize } from "../../types/general.types.js";
|
|
3
|
+
import type { FormHeightNames } from "../../system/Sizes.js";
|
|
4
4
|
import "./StyledSelect.scss";
|
|
5
5
|
export declare const StyledSelect: React.ForwardRefExoticComponent<Omit<Omit<React.DetailedHTMLProps<React.SelectHTMLAttributes<HTMLSelectElement>, HTMLSelectElement>, "ref">, "width"> & {
|
|
6
6
|
children?: React.ReactNode;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React, { type ComponentProps, type ComponentPropsWithRef, type ElementType, type ReactElement } from "react";
|
|
2
|
-
import { type SpacingKey } from "../../system/Sizes.
|
|
2
|
+
import { type SpacingKey } from "../../system/Sizes.js";
|
|
3
3
|
import { Box } from "../Box/Box";
|
|
4
4
|
export { Props as StackProps };
|
|
5
5
|
type PolymorphicRef<C extends ElementType> = ComponentPropsWithRef<C>["ref"];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { ComponentProps } from "react";
|
|
2
|
-
import { Text } from "../../Text/Text.
|
|
2
|
+
import { Text } from "../../Text/Text.js";
|
|
3
3
|
type Props = ComponentProps<typeof Text>;
|
|
4
4
|
export declare const LabelText: (props: Props) => import("react").JSX.Element;
|
|
5
5
|
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type FC, type ComponentProps, type ElementType, type ReactNode } from "react";
|
|
2
|
-
import { type SemanticBackgroundColor } from "../../../types/general.types.
|
|
2
|
+
import { type SemanticBackgroundColor } from "../../../types/general.types.js";
|
|
3
3
|
import { Box } from "../Box/Box";
|
|
4
4
|
type Props = {
|
|
5
5
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { ComponentPropsWithoutRef, ComponentPropsWithRef, ElementType, ReactElement } from "react";
|
|
2
|
-
import { type SpacingKey, type SIZES } from "../../../system/Sizes.
|
|
3
|
-
import { type ELEVATION } from "../../../system/Elevation.
|
|
4
|
-
import { type BackgroundColor, type CursorOption } from "../../../types/general.types.
|
|
2
|
+
import { type SpacingKey, type SIZES } from "../../../system/Sizes.js";
|
|
3
|
+
import { type ELEVATION } from "../../../system/Elevation.js";
|
|
4
|
+
import { type BackgroundColor, type CursorOption } from "../../../types/general.types.js";
|
|
5
5
|
declare const underscoredSpacingPropNames: readonly ["_p", "_pt", "_pr", "_pb", "_pl", "_px", "_py", "_m", "_mt", "_mr", "_mb", "_ml", "_mx", "_my"];
|
|
6
6
|
type UnderscoredSpacingProps = Partial<Record<(typeof underscoredSpacingPropNames)[number], SpacingKey>>;
|
|
7
7
|
type ElevationProp = keyof typeof ELEVATION;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { ComponentProps, ElementType, ReactNode } from "react";
|
|
2
|
-
import type { ELEVATION } from "../../../system/Elevation.
|
|
2
|
+
import type { ELEVATION } from "../../../system/Elevation.js";
|
|
3
3
|
import { Box } from "../Box/Box";
|
|
4
4
|
import { type TitleProps } from "../Title/Title";
|
|
5
5
|
type TitleAndMaybeActions = {
|
package/dist/src/generated/components/ConfirmationDialog/types/ConfirmationDialog.types.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { IconKey, IconProps } from "../../../../components/Icons/types/IconProps.type.
|
|
2
|
-
import type { NotificationBannerColor } from "../../../../components/NotificationBanner/NotificationBanner.
|
|
1
|
+
import type { IconKey, IconProps } from "../../../../components/Icons/types/IconProps.type.js";
|
|
2
|
+
import type { NotificationBannerColor } from "../../../../components/NotificationBanner/NotificationBanner.js";
|
|
3
3
|
interface ConfirmationDialogTexts {
|
|
4
4
|
/**
|
|
5
5
|
* You can also use the `children` prop for this.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import { type SizeNames } from "../../../system/Sizes.
|
|
2
|
+
import { type SizeNames } from "../../../system/Sizes.js";
|
|
3
3
|
import { type Props as BoxProps } from "../Box/Box";
|
|
4
4
|
export type DropdownTriggerProps = Omit<React.ComponentPropsWithRef<"button">, "children" | "width"> & {
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { ComponentPropsWithoutRef } from "react";
|
|
2
|
-
import { type TextColor } from "../../../../components/Text/Text.
|
|
2
|
+
import { type TextColor } from "../../../../components/Text/Text.js";
|
|
3
3
|
import type * as Icons from "../index";
|
|
4
4
|
export type IconProps = {
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import type { FormHeightNames } from "../../../system/Sizes.
|
|
2
|
+
import type { FormHeightNames } from "../../../system/Sizes.js";
|
|
3
3
|
import type { IconKey, IconProps } from "../Icons/types/IconProps.type";
|
|
4
4
|
type FormFieldWidth = "sm" | "md" | "lg" | "xl" | "full";
|
|
5
5
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import { type FormFieldSize } from "../../../types/general.types.
|
|
3
|
-
import { type FormHeightNames } from "../../../system/Sizes.
|
|
2
|
+
import { type FormFieldSize } from "../../../types/general.types.js";
|
|
3
|
+
import { type FormHeightNames } from "../../../system/Sizes.js";
|
|
4
4
|
import type { IconKey, IconProps } from "../Icons/types/IconProps.type";
|
|
5
5
|
export declare const StyledInput: React.ForwardRefExoticComponent<Omit<Omit<React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref">, "width"> & {
|
|
6
6
|
suffix?: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import type { FormHeightNames } from "../../../system/Sizes.
|
|
2
|
+
import type { FormHeightNames } from "../../../system/Sizes.js";
|
|
3
3
|
/**
|
|
4
4
|
* The subset of props `InputSelect` reads off its children when it restyles
|
|
5
5
|
* them. React 19 types `ReactElement` props as `unknown` by default, so the
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { JSX } from "react";
|
|
2
|
-
import { type RestPropped } from "../../../types/general.types.
|
|
2
|
+
import { type RestPropped } from "../../../types/general.types.js";
|
|
3
3
|
import "./LoadingIndicator.scss";
|
|
4
4
|
export interface LoadingIndicatorProps extends RestPropped {
|
|
5
5
|
asModal?: boolean;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import { type FormFieldSize } from "../../../types/general.types.
|
|
3
|
-
import type { FormHeightNames } from "../../../system/Sizes.
|
|
2
|
+
import { type FormFieldSize } from "../../../types/general.types.js";
|
|
3
|
+
import type { FormHeightNames } from "../../../system/Sizes.js";
|
|
4
4
|
import "./StyledSelect.scss";
|
|
5
5
|
export declare const StyledSelect: React.ForwardRefExoticComponent<Omit<Omit<React.DetailedHTMLProps<React.SelectHTMLAttributes<HTMLSelectElement>, HTMLSelectElement>, "ref">, "width"> & {
|
|
6
6
|
children?: React.ReactNode;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React, { type ComponentProps, type ComponentPropsWithRef, type ElementType, type ReactElement } from "react";
|
|
2
|
-
import { type SpacingKey } from "../../../system/Sizes.
|
|
2
|
+
import { type SpacingKey } from "../../../system/Sizes.js";
|
|
3
3
|
import { Box } from "../Box/Box";
|
|
4
4
|
export { Props as StackProps };
|
|
5
5
|
type PolymorphicRef<C extends ElementType> = ComponentPropsWithRef<C>["ref"];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { ComponentProps } from "react";
|
|
2
|
-
import { Text } from "../../../../components/Text/Text.
|
|
2
|
+
import { Text } from "../../../../components/Text/Text.js";
|
|
3
3
|
type Props = ComponentProps<typeof Text>;
|
|
4
4
|
export declare const LabelText: (props: Props) => import("react").JSX.Element;
|
|
5
5
|
export {};
|
|
@@ -12,6 +12,6 @@ export type BackgroundColor = "base" | "blue" | "red" | "green" | "amber" | "sur
|
|
|
12
12
|
* Format: {category}-{variant}
|
|
13
13
|
* These map to the semantic tokens: semanticTokens.color.background.{category}.{variant}
|
|
14
14
|
*/
|
|
15
|
-
export type SemanticBackgroundColor = keyof typeof import("../../tokens/generated/tokens.
|
|
15
|
+
export type SemanticBackgroundColor = keyof typeof import("../../tokens/generated/tokens.js").semanticTokens.color.background extends infer K ? K extends keyof typeof import("../../tokens/generated/tokens.js").semanticTokens.color.background ? keyof (typeof import("../../tokens/generated/tokens.js").semanticTokens.color.background)[K] extends infer V ? V extends keyof (typeof import("../../tokens/generated/tokens.js").semanticTokens.color.background)[K] ? `${K & string}-${V & string}` : never : never : never : never;
|
|
16
16
|
export type FormFieldSize = "sm" | "md" | "lg" | "xl" | "full";
|
|
17
17
|
export type CursorOption = "auto" | "default" | "pointer" | "wait" | "move" | "help" | "not-allowed" | "progress" | "copy" | "no-drop" | "grab" | "grabbing";
|
|
@@ -12,6 +12,6 @@ export type BackgroundColor = "base" | "blue" | "red" | "green" | "amber" | "sur
|
|
|
12
12
|
* Format: {category}-{variant}
|
|
13
13
|
* These map to the semantic tokens: semanticTokens.color.background.{category}.{variant}
|
|
14
14
|
*/
|
|
15
|
-
export type SemanticBackgroundColor = keyof typeof import("../tokens/generated/tokens.
|
|
15
|
+
export type SemanticBackgroundColor = keyof typeof import("../tokens/generated/tokens.js").semanticTokens.color.background extends infer K ? K extends keyof typeof import("../tokens/generated/tokens.js").semanticTokens.color.background ? keyof (typeof import("../tokens/generated/tokens.js").semanticTokens.color.background)[K] extends infer V ? V extends keyof (typeof import("../tokens/generated/tokens.js").semanticTokens.color.background)[K] ? `${K & string}-${V & string}` : never : never : never : never;
|
|
16
16
|
export type FormFieldSize = "sm" | "md" | "lg" | "xl" | "full";
|
|
17
17
|
export type CursorOption = "auto" | "default" | "pointer" | "wait" | "move" | "help" | "not-allowed" | "progress" | "copy" | "no-drop" | "grab" | "grabbing";
|
|
@@ -22,11 +22,11 @@ declare const meta: {
|
|
|
22
22
|
} & Omit<Omit<any, "ref"> & Partial<Record<"_p" | "_pt" | "_pr" | "_pb" | "_pl" | "_px" | "_py" | "_m" | "_mt" | "_mr" | "_mb" | "_ml" | "_mx" | "_my", "none" | "xs" | "s" | "base" | "m" | "l" | "xl" | "2xl" | "3xl" | "4xl">> & {
|
|
23
23
|
as?: import("react").ElementType | undefined;
|
|
24
24
|
elevation?: "base" | "small" | "medium" | "large" | "drag" | "surface" | "extraLarge";
|
|
25
|
-
width?: "full" | "1/2" | "1/3" | "2/3" | "1/4" | "3/4" | keyof typeof import("../src/index.
|
|
25
|
+
width?: "full" | "1/2" | "1/3" | "2/3" | "1/4" | "3/4" | keyof typeof import("../src/index.js").SIZES;
|
|
26
26
|
backgroundColor?: import("../src/types/general.types").BackgroundColor;
|
|
27
|
-
borderRadius?: keyof typeof import("../src/index.
|
|
28
|
-
borderRadiusLeft?: keyof typeof import("../src/index.
|
|
29
|
-
borderRadiusRight?: keyof typeof import("../src/index.
|
|
27
|
+
borderRadius?: keyof typeof import("../src/index.js").SIZES;
|
|
28
|
+
borderRadiusLeft?: keyof typeof import("../src/index.js").SIZES;
|
|
29
|
+
borderRadiusRight?: keyof typeof import("../src/index.js").SIZES;
|
|
30
30
|
hoverBackgroundColor?: import("../src/types/general.types").BackgroundColor;
|
|
31
31
|
cursor?: import("../src/types/general.types").CursorOption;
|
|
32
32
|
} & {
|
|
@@ -6,11 +6,11 @@ declare const meta: {
|
|
|
6
6
|
component: <C extends import("react").ElementType = "div">(props: import("react").PropsWithoutRef<ComponentProps<C>> & Partial<Record<"_p" | "_pt" | "_pr" | "_pb" | "_pl" | "_px" | "_py" | "_m" | "_mt" | "_mr" | "_mb" | "_ml" | "_mx" | "_my", "none" | "xs" | "s" | "base" | "m" | "l" | "xl" | "2xl" | "3xl" | "4xl">> & {
|
|
7
7
|
as?: C | undefined;
|
|
8
8
|
elevation?: "base" | "small" | "medium" | "large" | "drag" | "surface" | "extraLarge";
|
|
9
|
-
width?: "full" | "1/2" | "1/3" | "2/3" | "1/4" | "3/4" | keyof typeof import("../src/system/Sizes.
|
|
9
|
+
width?: "full" | "1/2" | "1/3" | "2/3" | "1/4" | "3/4" | keyof typeof import("../src/system/Sizes.js").SIZES;
|
|
10
10
|
backgroundColor?: BackgroundColor;
|
|
11
|
-
borderRadius?: keyof typeof import("../src/system/Sizes.
|
|
12
|
-
borderRadiusLeft?: keyof typeof import("../src/system/Sizes.
|
|
13
|
-
borderRadiusRight?: keyof typeof import("../src/system/Sizes.
|
|
11
|
+
borderRadius?: keyof typeof import("../src/system/Sizes.js").SIZES;
|
|
12
|
+
borderRadiusLeft?: keyof typeof import("../src/system/Sizes.js").SIZES;
|
|
13
|
+
borderRadiusRight?: keyof typeof import("../src/system/Sizes.js").SIZES;
|
|
14
14
|
hoverBackgroundColor?: BackgroundColor;
|
|
15
15
|
cursor?: CursorOption;
|
|
16
16
|
} & {
|
|
@@ -6,11 +6,11 @@ declare const meta: {
|
|
|
6
6
|
} & Omit<any, "ref"> & Partial<Record<"_p" | "_pt" | "_pr" | "_pb" | "_pl" | "_px" | "_py" | "_m" | "_mt" | "_mr" | "_mb" | "_ml" | "_mx" | "_my", "none" | "xs" | "s" | "base" | "m" | "l" | "xl" | "2xl" | "3xl" | "4xl">> & {
|
|
7
7
|
as?: import("react").ElementType | undefined;
|
|
8
8
|
elevation?: "base" | "small" | "medium" | "large" | "drag" | "surface" | "extraLarge";
|
|
9
|
-
width?: "full" | "1/2" | "1/3" | "2/3" | "1/4" | "3/4" | keyof typeof import("../src/index.
|
|
9
|
+
width?: "full" | "1/2" | "1/3" | "2/3" | "1/4" | "3/4" | keyof typeof import("../src/index.js").SIZES;
|
|
10
10
|
backgroundColor?: import("../src/types/general.types").BackgroundColor;
|
|
11
|
-
borderRadius?: keyof typeof import("../src/index.
|
|
12
|
-
borderRadiusLeft?: keyof typeof import("../src/index.
|
|
13
|
-
borderRadiusRight?: keyof typeof import("../src/index.
|
|
11
|
+
borderRadius?: keyof typeof import("../src/index.js").SIZES;
|
|
12
|
+
borderRadiusLeft?: keyof typeof import("../src/index.js").SIZES;
|
|
13
|
+
borderRadiusRight?: keyof typeof import("../src/index.js").SIZES;
|
|
14
14
|
hoverBackgroundColor?: import("../src/types/general.types").BackgroundColor;
|
|
15
15
|
cursor?: import("../src/types/general.types").CursorOption;
|
|
16
16
|
} & {
|
|
@@ -19,11 +19,11 @@ declare const meta: {
|
|
|
19
19
|
Header: import("react").FC<Omit<any, "ref"> & Partial<Record<"_p" | "_pt" | "_pr" | "_pb" | "_pl" | "_px" | "_py" | "_m" | "_mt" | "_mr" | "_mb" | "_ml" | "_mx" | "_my", "none" | "xs" | "s" | "base" | "m" | "l" | "xl" | "2xl" | "3xl" | "4xl">> & {
|
|
20
20
|
as?: import("react").ElementType | undefined;
|
|
21
21
|
elevation?: "base" | "small" | "medium" | "large" | "drag" | "surface" | "extraLarge";
|
|
22
|
-
width?: "full" | "1/2" | "1/3" | "2/3" | "1/4" | "3/4" | keyof typeof import("../src/index.
|
|
22
|
+
width?: "full" | "1/2" | "1/3" | "2/3" | "1/4" | "3/4" | keyof typeof import("../src/index.js").SIZES;
|
|
23
23
|
backgroundColor?: import("../src/types/general.types").BackgroundColor;
|
|
24
|
-
borderRadius?: keyof typeof import("../src/index.
|
|
25
|
-
borderRadiusLeft?: keyof typeof import("../src/index.
|
|
26
|
-
borderRadiusRight?: keyof typeof import("../src/index.
|
|
24
|
+
borderRadius?: keyof typeof import("../src/index.js").SIZES;
|
|
25
|
+
borderRadiusLeft?: keyof typeof import("../src/index.js").SIZES;
|
|
26
|
+
borderRadiusRight?: keyof typeof import("../src/index.js").SIZES;
|
|
27
27
|
hoverBackgroundColor?: import("../src/types/general.types").BackgroundColor;
|
|
28
28
|
cursor?: import("../src/types/general.types").CursorOption;
|
|
29
29
|
} & {
|
|
@@ -36,11 +36,11 @@ declare const meta: {
|
|
|
36
36
|
Main: import("react").FC<Omit<any, "ref"> & Partial<Record<"_p" | "_pt" | "_pr" | "_pb" | "_pl" | "_px" | "_py" | "_m" | "_mt" | "_mr" | "_mb" | "_ml" | "_mx" | "_my", "none" | "xs" | "s" | "base" | "m" | "l" | "xl" | "2xl" | "3xl" | "4xl">> & {
|
|
37
37
|
as?: import("react").ElementType | undefined;
|
|
38
38
|
elevation?: "base" | "small" | "medium" | "large" | "drag" | "surface" | "extraLarge";
|
|
39
|
-
width?: "full" | "1/2" | "1/3" | "2/3" | "1/4" | "3/4" | keyof typeof import("../src/index.
|
|
39
|
+
width?: "full" | "1/2" | "1/3" | "2/3" | "1/4" | "3/4" | keyof typeof import("../src/index.js").SIZES;
|
|
40
40
|
backgroundColor?: import("../src/types/general.types").BackgroundColor;
|
|
41
|
-
borderRadius?: keyof typeof import("../src/index.
|
|
42
|
-
borderRadiusLeft?: keyof typeof import("../src/index.
|
|
43
|
-
borderRadiusRight?: keyof typeof import("../src/index.
|
|
41
|
+
borderRadius?: keyof typeof import("../src/index.js").SIZES;
|
|
42
|
+
borderRadiusLeft?: keyof typeof import("../src/index.js").SIZES;
|
|
43
|
+
borderRadiusRight?: keyof typeof import("../src/index.js").SIZES;
|
|
44
44
|
hoverBackgroundColor?: import("../src/types/general.types").BackgroundColor;
|
|
45
45
|
cursor?: import("../src/types/general.types").CursorOption;
|
|
46
46
|
} & {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { type StoryObj } from "@storybook/react-vite";
|
|
2
2
|
declare const meta: {
|
|
3
3
|
title: string;
|
|
4
|
-
component: import("react").FC<import("../src/components/RangeCoverage/RangeCoverage.
|
|
4
|
+
component: import("react").FC<import("../src/components/RangeCoverage/RangeCoverage.js").Props> & {
|
|
5
5
|
Colors: {
|
|
6
6
|
RED: string;
|
|
7
7
|
AMBER: string;
|
|
@@ -7,11 +7,11 @@ declare const meta: {
|
|
|
7
7
|
} & Omit<any, "ref"> & Partial<Record<"_p" | "_pt" | "_pr" | "_pb" | "_pl" | "_px" | "_py" | "_m" | "_mt" | "_mr" | "_mb" | "_ml" | "_mx" | "_my", "none" | "xs" | "s" | "base" | "m" | "l" | "xl" | "2xl" | "3xl" | "4xl">> & {
|
|
8
8
|
as?: import("react").ElementType | undefined;
|
|
9
9
|
elevation?: "base" | "small" | "medium" | "large" | "drag" | "surface" | "extraLarge";
|
|
10
|
-
width?: "full" | "1/2" | "1/3" | "2/3" | "1/4" | "3/4" | keyof typeof import("../src/index.
|
|
10
|
+
width?: "full" | "1/2" | "1/3" | "2/3" | "1/4" | "3/4" | keyof typeof import("../src/index.js").SIZES;
|
|
11
11
|
backgroundColor?: import("../src/types/general.types").BackgroundColor;
|
|
12
|
-
borderRadius?: keyof typeof import("../src/index.
|
|
13
|
-
borderRadiusLeft?: keyof typeof import("../src/index.
|
|
14
|
-
borderRadiusRight?: keyof typeof import("../src/index.
|
|
12
|
+
borderRadius?: keyof typeof import("../src/index.js").SIZES;
|
|
13
|
+
borderRadiusLeft?: keyof typeof import("../src/index.js").SIZES;
|
|
14
|
+
borderRadiusRight?: keyof typeof import("../src/index.js").SIZES;
|
|
15
15
|
hoverBackgroundColor?: import("../src/types/general.types").BackgroundColor;
|
|
16
16
|
cursor?: import("../src/types/general.types").CursorOption;
|
|
17
17
|
} & {
|
|
@@ -5,7 +5,7 @@ declare const meta: {
|
|
|
5
5
|
title: string;
|
|
6
6
|
component: <C extends import("react").ElementType = "div">(props: (import("react").PropsWithoutRef<ComponentProps<C>> & {
|
|
7
7
|
as?: C | undefined;
|
|
8
|
-
_gap?: import("../src/system/Sizes.
|
|
8
|
+
_gap?: import("../src/system/Sizes.js").SpacingKey;
|
|
9
9
|
align?: "start" | "end" | "center" | "baseline" | "stretch" | "normal";
|
|
10
10
|
justify?: "normal" | "start" | "end" | "center" | "between" | "around" | "evenly" | "stretch";
|
|
11
11
|
axis?: "x" | "y";
|
|
@@ -10,11 +10,11 @@ declare const meta: {
|
|
|
10
10
|
"Tabs.Padding": React.FC<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & Partial<Record<"_p" | "_pt" | "_pr" | "_pb" | "_pl" | "_px" | "_py" | "_m" | "_mt" | "_mr" | "_mb" | "_ml" | "_mx" | "_my", "none" | "xs" | "s" | "base" | "m" | "l" | "xl" | "2xl" | "3xl" | "4xl">> & {
|
|
11
11
|
as?: "div" | undefined;
|
|
12
12
|
elevation?: "base" | "small" | "medium" | "large" | "drag" | "surface" | "extraLarge";
|
|
13
|
-
width?: "full" | "1/2" | "1/3" | "2/3" | "1/4" | "3/4" | keyof typeof import("../src/index.
|
|
13
|
+
width?: "full" | "1/2" | "1/3" | "2/3" | "1/4" | "3/4" | keyof typeof import("../src/index.js").SIZES;
|
|
14
14
|
backgroundColor?: import("../src/types/general.types").BackgroundColor;
|
|
15
|
-
borderRadius?: keyof typeof import("../src/index.
|
|
16
|
-
borderRadiusLeft?: keyof typeof import("../src/index.
|
|
17
|
-
borderRadiusRight?: keyof typeof import("../src/index.
|
|
15
|
+
borderRadius?: keyof typeof import("../src/index.js").SIZES;
|
|
16
|
+
borderRadiusLeft?: keyof typeof import("../src/index.js").SIZES;
|
|
17
|
+
borderRadiusRight?: keyof typeof import("../src/index.js").SIZES;
|
|
18
18
|
hoverBackgroundColor?: import("../src/types/general.types").BackgroundColor;
|
|
19
19
|
cursor?: import("../src/types/general.types").CursorOption;
|
|
20
20
|
} & {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@luscii-healthtech/web-ui",
|
|
3
|
-
"version": "58.19.
|
|
3
|
+
"version": "58.19.3",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Joris Janssen"
|
|
@@ -101,13 +101,13 @@
|
|
|
101
101
|
"@rollup/plugin-node-resolve": "^15.2.3",
|
|
102
102
|
"@rollup/plugin-terser": "^1.0.0",
|
|
103
103
|
"@rollup/plugin-typescript": "^11.1.2",
|
|
104
|
-
"@storybook/addon-a11y": "^10.6.
|
|
104
|
+
"@storybook/addon-a11y": "^10.6.1",
|
|
105
105
|
"@storybook/addon-coverage": "^3.0.2",
|
|
106
|
-
"@storybook/addon-docs": "^10.6.
|
|
107
|
-
"@storybook/addon-links": "^10.6.
|
|
108
|
-
"@storybook/builder-vite": "^10.6.
|
|
109
|
-
"@storybook/react-vite": "^10.6.
|
|
110
|
-
"@storybook/test-runner": "^0.
|
|
106
|
+
"@storybook/addon-docs": "^10.6.1",
|
|
107
|
+
"@storybook/addon-links": "^10.6.1",
|
|
108
|
+
"@storybook/builder-vite": "^10.6.1",
|
|
109
|
+
"@storybook/react-vite": "^10.6.1",
|
|
110
|
+
"@storybook/test-runner": "^0.26.0",
|
|
111
111
|
"@svgr/cli": "^8.1.0",
|
|
112
112
|
"@tailwindcss/cli": "^4.3.3",
|
|
113
113
|
"@tailwindcss/forms": "^0.5.11",
|
|
@@ -118,49 +118,49 @@
|
|
|
118
118
|
"@types/react": "^19.3.0",
|
|
119
119
|
"@types/react-dom": "^19.3.0",
|
|
120
120
|
"@types/react-lazy-load-image-component": "^1.6.5",
|
|
121
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
122
|
-
"@typescript-eslint/parser": "^8.
|
|
121
|
+
"@typescript-eslint/eslint-plugin": "^8.71.1",
|
|
122
|
+
"@typescript-eslint/parser": "^8.71.1",
|
|
123
123
|
"autoprefixer": "^10.6.1",
|
|
124
124
|
"axe-html-reporter": "^2.2.3",
|
|
125
125
|
"axe-playwright": "^1.2.3",
|
|
126
126
|
"cartesian": "^1.0.1",
|
|
127
127
|
"chalk": "^5.6.2",
|
|
128
|
-
"chromatic": "^18.
|
|
128
|
+
"chromatic": "^18.12.0",
|
|
129
129
|
"concurrently": "^8.2.2",
|
|
130
130
|
"eslint": "^9.39.5",
|
|
131
131
|
"eslint-plugin-chai-friendly": "^1.2.1",
|
|
132
132
|
"eslint-plugin-import": "^2.32.0",
|
|
133
133
|
"eslint-plugin-no-relative-import-paths": "^1.7.3",
|
|
134
134
|
"eslint-plugin-react": "^7.37.5",
|
|
135
|
-
"eslint-plugin-storybook": "^10.6.
|
|
135
|
+
"eslint-plugin-storybook": "^10.6.1",
|
|
136
136
|
"find-in-files": "^0.5.0",
|
|
137
137
|
"globals": "^16.5.0",
|
|
138
138
|
"husky": "^8.0.3",
|
|
139
139
|
"jscodeshift": "^17.4.0",
|
|
140
140
|
"lint-staged": "^13.2.3",
|
|
141
|
-
"postcss": "^8.5.
|
|
141
|
+
"postcss": "^8.5.29",
|
|
142
142
|
"postcss-loader": "^8.2.1",
|
|
143
143
|
"postcss-url": "^10.1.4",
|
|
144
|
-
"prettier": "^3.9.
|
|
144
|
+
"prettier": "^3.9.10",
|
|
145
145
|
"prettier-plugin-tailwindcss": "^0.8.1",
|
|
146
146
|
"react": "^19.3.0",
|
|
147
147
|
"react-dom": "^19.3.0",
|
|
148
148
|
"rimraf": "^6.1.3",
|
|
149
|
-
"rollup": "^4.
|
|
149
|
+
"rollup": "^4.64.5",
|
|
150
150
|
"rollup-plugin-esbuild": "^6.2.1",
|
|
151
151
|
"rollup-plugin-postcss": "^4.0.2",
|
|
152
152
|
"rollup-plugin-visualizer": "^5.9.2",
|
|
153
|
-
"sass": "^1.
|
|
153
|
+
"sass": "^1.105.1",
|
|
154
154
|
"sass-loader": "^17.0.1",
|
|
155
|
-
"storybook": "^10.6.
|
|
155
|
+
"storybook": "^10.6.1",
|
|
156
156
|
"storybook-addon-tag-badges": "^3.1.0",
|
|
157
157
|
"style-inject": "^0.3.0",
|
|
158
158
|
"tailwindcss": "^4.3.3",
|
|
159
159
|
"tailwindcss-animate": "^1.0.7",
|
|
160
|
-
"tsc-alias": "^1.9.
|
|
160
|
+
"tsc-alias": "^1.9.7",
|
|
161
161
|
"tslib": "^2.6.2",
|
|
162
162
|
"typescript": "^5.9",
|
|
163
|
-
"vite": "^7.3.
|
|
163
|
+
"vite": "^7.3.7"
|
|
164
164
|
},
|
|
165
165
|
"dependencies": {
|
|
166
166
|
"@fontsource/inter": "^4.5.15",
|