@telia/teddy 0.0.88 → 0.1.1
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/components/card/card-illustration.d.ts +1 -1
- package/dist/components/card/index.d.ts +1 -1
- package/dist/components/checkbox/checkbox-group-list.d.ts +3 -3
- package/dist/components/checkbox/checkbox-group.d.ts +4 -4
- package/dist/components/checkbox/index.d.ts +7 -7
- package/dist/components/chip/chip-indicator.d.ts +2 -2
- package/dist/components/chip/index.d.ts +2 -2
- package/dist/components/color-dot/index.d.ts +1 -1
- package/dist/components/expandable-card/expandable-card-button.d.ts +2 -2
- package/dist/components/expandable-card/index.d.ts +2 -2
- package/dist/components/image/image.d.ts +1 -1
- package/dist/components/index.cjs +2 -0
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.js +2 -0
- package/dist/components/list/index.d.ts +4 -4
- package/dist/components/list/list.d.ts +4 -4
- package/dist/components/modal/modal.cjs +1 -0
- package/dist/components/modal/modal.js +1 -0
- package/dist/components/navigation-menu/navigation-menu.cjs +1 -0
- package/dist/components/navigation-menu/navigation-menu.d.ts +1 -1
- package/dist/components/navigation-menu/navigation-menu.js +1 -0
- package/dist/components/notabene/notabene-icon.d.ts +2 -2
- package/dist/components/notification/notification.d.ts +8 -8
- package/dist/components/radio-card-group/index.cjs +1 -0
- package/dist/components/radio-card-group/index.d.ts +1 -3
- package/dist/components/radio-card-group/index.js +1 -0
- package/dist/components/radio-card-group/radio-card-group-content.cjs +1 -0
- package/dist/components/radio-card-group/radio-card-group-content.js +1 -0
- package/dist/components/radio-card-group/radio-card-group-item-body.cjs +13 -51
- package/dist/components/radio-card-group/radio-card-group-item-body.d.ts +3 -6
- package/dist/components/radio-card-group/radio-card-group-item-body.js +13 -51
- package/dist/components/radio-card-group/radio-card-group-item-title.cjs +4 -11
- package/dist/components/radio-card-group/radio-card-group-item-title.js +2 -9
- package/dist/components/radio-card-group/radio-card-group-item.cjs +1 -0
- package/dist/components/radio-card-group/radio-card-group-item.js +1 -0
- package/dist/components/scroll-area/index.d.ts +2 -2
- package/dist/components/scroll-area/scroll-area-button.d.ts +2 -2
- package/dist/components/skeleton/index.cjs +6 -0
- package/dist/components/skeleton/index.d.ts +4 -0
- package/dist/components/skeleton/index.js +6 -0
- package/dist/components/skeleton/skeleton-root.cjs +21 -0
- package/dist/components/skeleton/skeleton-root.d.ts +11 -0
- package/dist/components/skeleton/skeleton-root.js +21 -0
- package/dist/components/tabs/index.d.ts +3 -3
- package/dist/components/tabs/tabs-root.d.ts +1 -1
- package/dist/components/tabs/tabs-scroll-button.d.ts +2 -2
- package/dist/components/text-field/index.d.ts +2 -2
- package/dist/components/text-field/text-field-button.d.ts +2 -2
- package/dist/components/toggle/toggle.d.ts +2 -2
- package/dist/components/tooltip/index.d.ts +1 -1
- package/dist/main.cjs +2 -0
- package/dist/main.js +2 -0
- package/dist/style.css +147 -1
- package/dist/utils/generate-styling/grid.d.ts +24 -24
- package/dist/utils/generate-styling/index.cjs +2 -0
- package/dist/utils/generate-styling/index.d.ts +128 -17
- package/dist/utils/generate-styling/index.js +2 -0
- package/dist/utils/generate-styling/radius.cjs +38 -0
- package/dist/utils/generate-styling/radius.d.ts +165 -0
- package/dist/utils/generate-styling/radius.js +38 -0
- package/dist/utils/generate-styling/util.d.ts +2 -2
- package/package.json +1 -1
|
@@ -5,7 +5,7 @@ import { ContentProps } from './tabs-content';
|
|
|
5
5
|
import { ScrollProps } from './tabs-scroll';
|
|
6
6
|
import { ScrollButtonProps } from './tabs-scroll-button';
|
|
7
7
|
|
|
8
|
-
export declare const Tabs: import('react').ForwardRefExoticComponent<Omit<Omit<import('@radix-ui/react-tabs').TabsProps & import('react').RefAttributes<HTMLDivElement>, "ref">, "
|
|
8
|
+
export declare const Tabs: import('react').ForwardRefExoticComponent<Omit<Omit<import('@radix-ui/react-tabs').TabsProps & import('react').RefAttributes<HTMLDivElement>, "ref">, "value" | "defaultValue" | "onValueChange" | "activationMode"> & {
|
|
9
9
|
value?: string | undefined;
|
|
10
10
|
onValueChange?: ((value: string) => void) | undefined;
|
|
11
11
|
defaultValue?: string | undefined;
|
|
@@ -27,7 +27,7 @@ export declare const Tabs: import('react').ForwardRefExoticComponent<Omit<Omit<i
|
|
|
27
27
|
variant?: ("button" | "scrollbar") | undefined;
|
|
28
28
|
scrollBehavior?: "auto" | "smooth" | undefined;
|
|
29
29
|
} & import('react').RefAttributes<HTMLDivElement>, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
|
|
30
|
-
ScrollButton: import('react').ForwardRefExoticComponent<Omit<Omit<Omit<Omit<import('react').ButtonHTMLAttributes<HTMLButtonElement>, "aria-label"> & import('../../utils/generate-styling/flex').FlexChildren & import('../../utils/generate-styling/grid').GridChildren & import('../../utils/generate-styling/position').PositionProps & import('../../utils/generate-styling/inset').InsetProps & import('../../utils/generate-styling/margin').MarginProps & import('../../utils/generate-styling/padding').PaddingProps & import('../../utils/generate-styling/width').WidthProps & import('../../utils/generate-styling/height').HeightProps & import('../../utils/generate-styling/color').ColorProps & {
|
|
30
|
+
ScrollButton: import('react').ForwardRefExoticComponent<Omit<Omit<Omit<Omit<import('react').ButtonHTMLAttributes<HTMLButtonElement>, "aria-label"> & import('../../utils/generate-styling/flex').FlexChildren & import('../../utils/generate-styling/grid').GridChildren & import('../../utils/generate-styling/position').PositionProps & import('../../utils/generate-styling/inset').InsetProps & import('../../utils/generate-styling/radius').RadiusProps & import('../../utils/generate-styling/margin').MarginProps & import('../../utils/generate-styling/padding').PaddingProps & import('../../utils/generate-styling/width').WidthProps & import('../../utils/generate-styling/height').HeightProps & import('../../utils/generate-styling/color').ColorProps & {
|
|
31
31
|
display?: import('../../utils/generate-styling').DisplayChildren | undefined;
|
|
32
32
|
} & {
|
|
33
33
|
asChild?: boolean | undefined;
|
|
@@ -38,7 +38,7 @@ export declare const Tabs: import('react').ForwardRefExoticComponent<Omit<Omit<i
|
|
|
38
38
|
} & {
|
|
39
39
|
iconOnly: true;
|
|
40
40
|
"aria-label": string;
|
|
41
|
-
} & import('react').RefAttributes<HTMLButtonElement>, "ref"> | Omit<Omit<import('react').ButtonHTMLAttributes<HTMLButtonElement>, "aria-label"> & import('../../utils/generate-styling/flex').FlexChildren & import('../../utils/generate-styling/grid').GridChildren & import('../../utils/generate-styling/position').PositionProps & import('../../utils/generate-styling/inset').InsetProps & import('../../utils/generate-styling/margin').MarginProps & import('../../utils/generate-styling/padding').PaddingProps & import('../../utils/generate-styling/width').WidthProps & import('../../utils/generate-styling/height').HeightProps & import('../../utils/generate-styling/color').ColorProps & {
|
|
41
|
+
} & import('react').RefAttributes<HTMLButtonElement>, "ref"> | Omit<Omit<import('react').ButtonHTMLAttributes<HTMLButtonElement>, "aria-label"> & import('../../utils/generate-styling/flex').FlexChildren & import('../../utils/generate-styling/grid').GridChildren & import('../../utils/generate-styling/position').PositionProps & import('../../utils/generate-styling/inset').InsetProps & import('../../utils/generate-styling/radius').RadiusProps & import('../../utils/generate-styling/margin').MarginProps & import('../../utils/generate-styling/padding').PaddingProps & import('../../utils/generate-styling/width').WidthProps & import('../../utils/generate-styling/height').HeightProps & import('../../utils/generate-styling/color').ColorProps & {
|
|
42
42
|
display?: import('../../utils/generate-styling').DisplayChildren | undefined;
|
|
43
43
|
} & {
|
|
44
44
|
asChild?: boolean | undefined;
|
|
@@ -25,7 +25,7 @@ type RootContextType = {
|
|
|
25
25
|
value: string | undefined;
|
|
26
26
|
};
|
|
27
27
|
export declare const RootContext: React.Context<RootContextType | undefined>;
|
|
28
|
-
export declare const Root: React.ForwardRefExoticComponent<Omit<Omit<TabsPrimitive.TabsProps & React.RefAttributes<HTMLDivElement>, "ref">, "
|
|
28
|
+
export declare const Root: React.ForwardRefExoticComponent<Omit<Omit<TabsPrimitive.TabsProps & React.RefAttributes<HTMLDivElement>, "ref">, "value" | "defaultValue" | "onValueChange" | "activationMode"> & {
|
|
29
29
|
/** The controlled value of the tab to activate. Should be used in conjunction with onValueChange. */
|
|
30
30
|
value?: TabsPrimitive.TabsProps['value'];
|
|
31
31
|
/** Event handler called when the value changes. */
|
|
@@ -3,7 +3,7 @@ import { ScrollArea } from '../scroll-area';
|
|
|
3
3
|
|
|
4
4
|
export type ScrollButtonProps = React.ComponentPropsWithoutRef<typeof ScrollArea.Button>;
|
|
5
5
|
/** */
|
|
6
|
-
export declare const ScrollButton: React.ForwardRefExoticComponent<Omit<Omit<Omit<Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "aria-label"> & import('../../utils/generate-styling/flex').FlexChildren & import('../../utils/generate-styling/grid').GridChildren & import('../../utils/generate-styling/position').PositionProps & import('../../utils/generate-styling/inset').InsetProps & import('../../utils/generate-styling/margin').MarginProps & import('../../utils/generate-styling/padding').PaddingProps & import('../../utils/generate-styling/width').WidthProps & import('../../utils/generate-styling/height').HeightProps & import('../../utils/generate-styling/color').ColorProps & {
|
|
6
|
+
export declare const ScrollButton: React.ForwardRefExoticComponent<Omit<Omit<Omit<Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "aria-label"> & import('../../utils/generate-styling/flex').FlexChildren & import('../../utils/generate-styling/grid').GridChildren & import('../../utils/generate-styling/position').PositionProps & import('../../utils/generate-styling/inset').InsetProps & import('../../utils/generate-styling/radius').RadiusProps & import('../../utils/generate-styling/margin').MarginProps & import('../../utils/generate-styling/padding').PaddingProps & import('../../utils/generate-styling/width').WidthProps & import('../../utils/generate-styling/height').HeightProps & import('../../utils/generate-styling/color').ColorProps & {
|
|
7
7
|
display?: import('../../utils/generate-styling').DisplayChildren | undefined;
|
|
8
8
|
} & {
|
|
9
9
|
asChild?: boolean | undefined;
|
|
@@ -14,7 +14,7 @@ export declare const ScrollButton: React.ForwardRefExoticComponent<Omit<Omit<Omi
|
|
|
14
14
|
} & {
|
|
15
15
|
iconOnly: true;
|
|
16
16
|
"aria-label": string;
|
|
17
|
-
} & React.RefAttributes<HTMLButtonElement>, "ref"> | Omit<Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "aria-label"> & import('../../utils/generate-styling/flex').FlexChildren & import('../../utils/generate-styling/grid').GridChildren & import('../../utils/generate-styling/position').PositionProps & import('../../utils/generate-styling/inset').InsetProps & import('../../utils/generate-styling/margin').MarginProps & import('../../utils/generate-styling/padding').PaddingProps & import('../../utils/generate-styling/width').WidthProps & import('../../utils/generate-styling/height').HeightProps & import('../../utils/generate-styling/color').ColorProps & {
|
|
17
|
+
} & React.RefAttributes<HTMLButtonElement>, "ref"> | Omit<Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "aria-label"> & import('../../utils/generate-styling/flex').FlexChildren & import('../../utils/generate-styling/grid').GridChildren & import('../../utils/generate-styling/position').PositionProps & import('../../utils/generate-styling/inset').InsetProps & import('../../utils/generate-styling/radius').RadiusProps & import('../../utils/generate-styling/margin').MarginProps & import('../../utils/generate-styling/padding').PaddingProps & import('../../utils/generate-styling/width').WidthProps & import('../../utils/generate-styling/height').HeightProps & import('../../utils/generate-styling/color').ColorProps & {
|
|
18
18
|
display?: import('../../utils/generate-styling').DisplayChildren | undefined;
|
|
19
19
|
} & {
|
|
20
20
|
asChild?: boolean | undefined;
|
|
@@ -27,7 +27,7 @@ export declare const TextField: import('react').ForwardRefExoticComponent<Omit<i
|
|
|
27
27
|
children?: import('react').ReactNode | ((args: Pick<import('./text-field').TextFieldContextValue, "errors">) => import('react').ReactNode);
|
|
28
28
|
} & import('react').RefAttributes<HTMLUListElement>>;
|
|
29
29
|
Indicator: import('react').ForwardRefExoticComponent<TextFieldIndicatorProps & import('react').RefAttributes<SVGSVGElement>>;
|
|
30
|
-
Button: import('react').ForwardRefExoticComponent<Omit<Omit<Omit<import('react').ButtonHTMLAttributes<HTMLButtonElement>, "aria-label"> & import('../../utils/generate-styling/flex').FlexChildren & import('../../utils/generate-styling/grid').GridChildren & import('../../utils/generate-styling/position').PositionProps & import('../../utils/generate-styling/inset').InsetProps & import('../../utils/generate-styling/margin').MarginProps & import('../../utils/generate-styling/padding').PaddingProps & import('../../utils/generate-styling/width').WidthProps & import('../../utils/generate-styling/height').HeightProps & import('../../utils/generate-styling/color').ColorProps & {
|
|
30
|
+
Button: import('react').ForwardRefExoticComponent<Omit<Omit<Omit<import('react').ButtonHTMLAttributes<HTMLButtonElement>, "aria-label"> & import('../../utils/generate-styling/flex').FlexChildren & import('../../utils/generate-styling/grid').GridChildren & import('../../utils/generate-styling/position').PositionProps & import('../../utils/generate-styling/inset').InsetProps & import('../../utils/generate-styling/radius').RadiusProps & import('../../utils/generate-styling/margin').MarginProps & import('../../utils/generate-styling/padding').PaddingProps & import('../../utils/generate-styling/width').WidthProps & import('../../utils/generate-styling/height').HeightProps & import('../../utils/generate-styling/color').ColorProps & {
|
|
31
31
|
display?: import('../../utils/generate-styling').DisplayChildren | undefined;
|
|
32
32
|
} & {
|
|
33
33
|
asChild?: boolean | undefined;
|
|
@@ -38,7 +38,7 @@ export declare const TextField: import('react').ForwardRefExoticComponent<Omit<i
|
|
|
38
38
|
} & {
|
|
39
39
|
iconOnly: true;
|
|
40
40
|
"aria-label": string;
|
|
41
|
-
} & import('react').RefAttributes<HTMLButtonElement>, "ref"> | Omit<Omit<import('react').ButtonHTMLAttributes<HTMLButtonElement>, "aria-label"> & import('../../utils/generate-styling/flex').FlexChildren & import('../../utils/generate-styling/grid').GridChildren & import('../../utils/generate-styling/position').PositionProps & import('../../utils/generate-styling/inset').InsetProps & import('../../utils/generate-styling/margin').MarginProps & import('../../utils/generate-styling/padding').PaddingProps & import('../../utils/generate-styling/width').WidthProps & import('../../utils/generate-styling/height').HeightProps & import('../../utils/generate-styling/color').ColorProps & {
|
|
41
|
+
} & import('react').RefAttributes<HTMLButtonElement>, "ref"> | Omit<Omit<import('react').ButtonHTMLAttributes<HTMLButtonElement>, "aria-label"> & import('../../utils/generate-styling/flex').FlexChildren & import('../../utils/generate-styling/grid').GridChildren & import('../../utils/generate-styling/position').PositionProps & import('../../utils/generate-styling/inset').InsetProps & import('../../utils/generate-styling/radius').RadiusProps & import('../../utils/generate-styling/margin').MarginProps & import('../../utils/generate-styling/padding').PaddingProps & import('../../utils/generate-styling/width').WidthProps & import('../../utils/generate-styling/height').HeightProps & import('../../utils/generate-styling/color').ColorProps & {
|
|
42
42
|
display?: import('../../utils/generate-styling').DisplayChildren | undefined;
|
|
43
43
|
} & {
|
|
44
44
|
asChild?: boolean | undefined;
|
|
@@ -4,7 +4,7 @@ import { Button as PrimitiveButton } from '../button';
|
|
|
4
4
|
export type TextFieldButtonProps = Omit<React.ComponentPropsWithoutRef<typeof PrimitiveButton>, 'variant'> & {
|
|
5
5
|
variant?: 'attached' | 'separated';
|
|
6
6
|
};
|
|
7
|
-
export declare const Button: React.ForwardRefExoticComponent<Omit<Omit<Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "aria-label"> & import('../../utils/generate-styling/flex').FlexChildren & import('../../utils/generate-styling/grid').GridChildren & import('../../utils/generate-styling/position').PositionProps & import('../../utils/generate-styling/inset').InsetProps & import('../../utils/generate-styling/margin').MarginProps & import('../../utils/generate-styling/padding').PaddingProps & import('../../utils/generate-styling/width').WidthProps & import('../../utils/generate-styling/height').HeightProps & import('../../utils/generate-styling/color').ColorProps & {
|
|
7
|
+
export declare const Button: React.ForwardRefExoticComponent<Omit<Omit<Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "aria-label"> & import('../../utils/generate-styling/flex').FlexChildren & import('../../utils/generate-styling/grid').GridChildren & import('../../utils/generate-styling/position').PositionProps & import('../../utils/generate-styling/inset').InsetProps & import('../../utils/generate-styling/radius').RadiusProps & import('../../utils/generate-styling/margin').MarginProps & import('../../utils/generate-styling/padding').PaddingProps & import('../../utils/generate-styling/width').WidthProps & import('../../utils/generate-styling/height').HeightProps & import('../../utils/generate-styling/color').ColorProps & {
|
|
8
8
|
display?: import('../../utils/generate-styling').DisplayChildren | undefined;
|
|
9
9
|
} & {
|
|
10
10
|
asChild?: boolean | undefined;
|
|
@@ -15,7 +15,7 @@ export declare const Button: React.ForwardRefExoticComponent<Omit<Omit<Omit<Reac
|
|
|
15
15
|
} & {
|
|
16
16
|
iconOnly: true;
|
|
17
17
|
"aria-label": string;
|
|
18
|
-
} & React.RefAttributes<HTMLButtonElement>, "ref"> | Omit<Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "aria-label"> & import('../../utils/generate-styling/flex').FlexChildren & import('../../utils/generate-styling/grid').GridChildren & import('../../utils/generate-styling/position').PositionProps & import('../../utils/generate-styling/inset').InsetProps & import('../../utils/generate-styling/margin').MarginProps & import('../../utils/generate-styling/padding').PaddingProps & import('../../utils/generate-styling/width').WidthProps & import('../../utils/generate-styling/height').HeightProps & import('../../utils/generate-styling/color').ColorProps & {
|
|
18
|
+
} & React.RefAttributes<HTMLButtonElement>, "ref"> | Omit<Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "aria-label"> & import('../../utils/generate-styling/flex').FlexChildren & import('../../utils/generate-styling/grid').GridChildren & import('../../utils/generate-styling/position').PositionProps & import('../../utils/generate-styling/inset').InsetProps & import('../../utils/generate-styling/radius').RadiusProps & import('../../utils/generate-styling/margin').MarginProps & import('../../utils/generate-styling/padding').PaddingProps & import('../../utils/generate-styling/width').WidthProps & import('../../utils/generate-styling/height').HeightProps & import('../../utils/generate-styling/color').ColorProps & {
|
|
19
19
|
display?: import('../../utils/generate-styling').DisplayChildren | undefined;
|
|
20
20
|
} & {
|
|
21
21
|
asChild?: boolean | undefined;
|
|
@@ -29,8 +29,8 @@ declare const Toggle: React.ForwardRefExoticComponent<Omit<Omit<React.DetailedHT
|
|
|
29
29
|
Input: React.ForwardRefExoticComponent<ToggleInputProps & React.RefAttributes<HTMLButtonElement>>;
|
|
30
30
|
Thumb: React.ForwardRefExoticComponent<Omit<SwitchPrimitive.SwitchThumbProps & React.RefAttributes<HTMLSpanElement>, "ref"> & React.RefAttributes<HTMLSpanElement>>;
|
|
31
31
|
Indicator: React.ForwardRefExoticComponent<Partial<Omit<React.SVGProps<SVGSVGElement> & {
|
|
32
|
-
name: "link" | "
|
|
33
|
-
size?: ("
|
|
32
|
+
name: "key" | "search" | "split" | "link" | "add" | "reverse" | "infinite" | "radio" | "visible" | "copy" | "help" | "zoom-out" | "filter" | "x" | "zoom" | "menu" | "map" | "summary" | "time" | "video" | "image" | "stop" | "download" | "alert" | "email" | "close" | "error" | "focus" | "play" | "alarm-off" | "alarm-on" | "attachment" | "bookmark-filled" | "bookmark" | "copy-filled" | "dislike" | "edit" | "heart-filled" | "heart" | "invisible" | "like" | "lock-open" | "lock" | "login" | "logout" | "maximize" | "minimize" | "mute" | "password-invisible" | "password-visible" | "play-filled" | "remove-filled" | "remove" | "save" | "send" | "settings" | "share" | "shortcut" | "shuffle" | "sync" | "skip-back-10sec" | "skip-back-30sec" | "skip-forward-10sec" | "skip-forward-30sec" | "star-filled" | "star" | "switch-arrows" | "tv-next" | "tv-pause" | "tv-previous" | "tv-stop" | "upload" | "volume" | "connected-building" | "home" | "hospital" | "industry" | "premises-datacenter" | "premises-large" | "premises-medium" | "premises-small" | "premises" | "store" | "address-book" | "b2b-customer" | "care" | "chat-robot" | "chat" | "child-1" | "child-2" | "conversation" | "customer-dialogue" | "dsl-hub" | "end-user" | "handshake" | "headphones" | "letter" | "mms" | "new-contact" | "new-group" | "news" | "parental-guide" | "people-hub" | "people" | "portal" | "signature" | "smiley-happy" | "smiley-sad" | "sms" | "support" | "user-admin" | "vcard" | "voicemail" | "battery" | "bluetooth" | "broadband" | "broken-phone" | "cast" | "cloud-connect" | "connected" | "core-router" | "daas-device" | "data-transfer" | "desktop" | "devices" | "esim-simcard" | "esim" | "face-id" | "fiber" | "fingerprint" | "fiveg" | "fourg" | "home-installation" | "industrial-iot" | "internet" | "it-service" | "laptop" | "mobile-broadband" | "network" | "phone-recycling" | "phone-ringing" | "phone" | "rack" | "refill-card" | "remote-control" | "repair" | "roaming" | "router" | "secure-device" | "sense-car" | "server" | "service-device" | "service-supervision" | "slow-wifi" | "smart-wifi" | "smartphone" | "smartwatch" | "tablet" | "trade-phone" | "tv" | "usb" | "voice-switch" | "wallplug" | "wireless-off" | "wireless-weak" | "wireless" | "world-alert" | "world-off" | "world-question" | "bar-chart" | "doc" | "document-doc" | "document-edit" | "document-pdf" | "document-ppt" | "excel" | "folder-copy" | "folder-new" | "folder" | "gif" | "graph" | "media-content" | "org-chart" | "pie-chart" | "print" | "register" | "report" | "simcard" | "spell-check" | "credit-card" | "euro" | "invoice" | "kontantkort" | "kr" | "late-payment" | "money-back-euro" | "money-back-kr" | "money-euro" | "money-kr" | "pay-monthly-euro" | "pay-monthly-kr" | "pay-once-euro" | "pay-once-kr" | "payment-success" | "savings" | "wallet" | "airplay" | "camera" | "entertainment" | "external" | "film" | "games" | "megaphone" | "microphone" | "music" | "player-settings" | "record" | "stream" | "trailer" | "video-conference" | "activity-level" | "ai-robot" | "bag" | "basketball" | "blood-pressure" | "bulb" | "business-continuity" | "business-intelligence" | "calendar" | "cart" | "close-circle" | "cloud" | "coffee" | "compass" | "construction" | "cookie" | "delivery" | "drone" | "education" | "efficiency" | "environment" | "facemask" | "flag" | "food" | "fraud" | "getting-started" | "home-care" | "job-search" | "layers" | "measuring-health" | "moisture" | "offering" | "offshore" | "optimization" | "pebble" | "pet-dog" | "pin" | "plane" | "plus-minus" | "police" | "power-grid" | "present" | "press-button" | "price" | "pulse" | "recycle" | "reservation" | "route" | "ruler" | "satellite" | "secured-1" | "secured-2" | "security-camera" | "shopping" | "snowflake" | "speedometer" | "spyware" | "suitcase" | "sustainability" | "tag" | "temperature" | "thinking" | "train" | "transfer" | "undo" | "wavelength" | "weather" | "world" | "android" | "apple" | "bankid-norway" | "bankid" | "facebook" | "instagram" | "youtube" | "linkedin" | "snapchat" | "telia-logo" | "whatsapp" | "windows" | "alert-filled" | "check-circle-filled" | "check-circle" | "error-filled" | "info-filled" | "info" | "question-filled" | "question" | "warning" | "arrow-down" | "arrow-left" | "arrow-right" | "arrow-subdirectory" | "arrow-up" | "card-view" | "checkmark-bold" | "checkmark" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "grid-view" | "list-view" | "minus-bold" | "minus" | "more-horizontal" | "more-vertical" | "plus" | "services" | "sorter" | "table-view";
|
|
33
|
+
size?: ("sm" | "md" | "lg" | "xl" | "xs" | "font" | "xxs") | undefined;
|
|
34
34
|
children?: React.ReactNode;
|
|
35
35
|
}, "ref">> & React.RefAttributes<SVGSVGElement>>;
|
|
36
36
|
};
|
|
@@ -17,7 +17,7 @@ export declare const Tooltip: typeof Root & {
|
|
|
17
17
|
}>) => void) | undefined;
|
|
18
18
|
side?: "top" | "bottom" | "left" | "right" | undefined;
|
|
19
19
|
sideOffset?: number | undefined;
|
|
20
|
-
align?: "
|
|
20
|
+
align?: "start" | "center" | "end" | undefined;
|
|
21
21
|
alignOffset?: number | undefined;
|
|
22
22
|
arrowPadding?: number | undefined;
|
|
23
23
|
avoidCollisions?: boolean | undefined;
|
package/dist/main.cjs
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const components_skeleton_index = require("./components/skeleton/index.cjs");
|
|
3
4
|
const components_checkbox_index = require("./components/checkbox/index.cjs");
|
|
4
5
|
const components_toast_index = require("./components/toast/index.cjs");
|
|
5
6
|
const components_toggletip_index = require("./components/toggletip/index.cjs");
|
|
@@ -56,6 +57,7 @@ const tokens_spacing_variables = require("./tokens/spacing/variables.cjs");
|
|
|
56
57
|
const tokens_typography_variables = require("./tokens/typography/variables.cjs");
|
|
57
58
|
const sonner = require("sonner");
|
|
58
59
|
const components_input_inputGroup = require("./components/input/input-group.cjs");
|
|
60
|
+
exports.Skeleton = components_skeleton_index.Skeleton;
|
|
59
61
|
exports.Checkbox = components_checkbox_index.Checkbox;
|
|
60
62
|
exports.CheckboxGroup = components_checkbox_index.CheckboxGroup;
|
|
61
63
|
exports.Toast = components_toast_index.Toast;
|
package/dist/main.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { Skeleton } from "./components/skeleton/index.js";
|
|
1
2
|
import { Checkbox, CheckboxGroup } from "./components/checkbox/index.js";
|
|
2
3
|
import { Toast } from "./components/toast/index.js";
|
|
3
4
|
import { Toggletip } from "./components/toggletip/index.js";
|
|
@@ -95,6 +96,7 @@ export {
|
|
|
95
96
|
RadioGroup,
|
|
96
97
|
Ribbon,
|
|
97
98
|
ScrollArea,
|
|
99
|
+
Skeleton,
|
|
98
100
|
Slider,
|
|
99
101
|
Spinner,
|
|
100
102
|
Tabs,
|
package/dist/style.css
CHANGED
|
@@ -1,4 +1,34 @@
|
|
|
1
|
-
@charset 'UTF-8';._teddy-
|
|
1
|
+
@charset 'UTF-8';._teddy-skeleton_11jot_1 {
|
|
2
|
+
background-image: none;
|
|
3
|
+
background-clip: border-box;
|
|
4
|
+
border: none;
|
|
5
|
+
box-shadow: none;
|
|
6
|
+
-webkit-box-decoration-break: clone;
|
|
7
|
+
box-decoration-break: clone;
|
|
8
|
+
color: transparent;
|
|
9
|
+
outline: none;
|
|
10
|
+
pointer-events: none;
|
|
11
|
+
user-select: none;
|
|
12
|
+
cursor: default;
|
|
13
|
+
background: linear-gradient(90deg, var(--teddy-color-transparent-black-200), var(--teddy-color-transparent-black-150), var(--teddy-color-transparent-black-200));
|
|
14
|
+
background-size: 200%;
|
|
15
|
+
}
|
|
16
|
+
@media (prefers-reduced-motion: no-preference) {
|
|
17
|
+
._teddy-skeleton_11jot_1 {
|
|
18
|
+
animation: _teddy-skeleton-pulse_11jot_1 var(--teddy-motion-duration-1500) infinite reverse;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
._teddy-skeleton_11jot_1 > *, ._teddy-skeleton_11jot_1::after, ._teddy-skeleton_11jot_1::before {
|
|
22
|
+
visibility: hidden;
|
|
23
|
+
}
|
|
24
|
+
@keyframes _teddy-skeleton-pulse_11jot_1 {
|
|
25
|
+
from {
|
|
26
|
+
background-position: -100% 0;
|
|
27
|
+
}
|
|
28
|
+
to {
|
|
29
|
+
background-position: 100% 0;
|
|
30
|
+
}
|
|
31
|
+
}._teddy-checkbox_1tihh_1 {
|
|
2
32
|
display: inline-flex;
|
|
3
33
|
align-items: center;
|
|
4
34
|
gap: var(--teddy-spacing-100);
|
|
@@ -6647,6 +6677,121 @@
|
|
|
6647
6677
|
object-fit: var(--teddy-object-fit-xl);
|
|
6648
6678
|
}
|
|
6649
6679
|
}
|
|
6680
|
+
.teddy-radius {
|
|
6681
|
+
border-radius: var(--teddy-radius);
|
|
6682
|
+
}
|
|
6683
|
+
@media (min-width: 0px) {
|
|
6684
|
+
.sm\:teddy-radius {
|
|
6685
|
+
border-radius: var(--teddy-radius-sm);
|
|
6686
|
+
}
|
|
6687
|
+
}
|
|
6688
|
+
@media (min-width: 600px) {
|
|
6689
|
+
.md\:teddy-radius {
|
|
6690
|
+
border-radius: var(--teddy-radius-md);
|
|
6691
|
+
}
|
|
6692
|
+
}
|
|
6693
|
+
@media (min-width: 1024px) {
|
|
6694
|
+
.lg\:teddy-radius {
|
|
6695
|
+
border-radius: var(--teddy-radius-lg);
|
|
6696
|
+
}
|
|
6697
|
+
}
|
|
6698
|
+
@media (min-width: 1440px) {
|
|
6699
|
+
.xl\:teddy-radius {
|
|
6700
|
+
border-radius: var(--teddy-radius-xl);
|
|
6701
|
+
}
|
|
6702
|
+
}
|
|
6703
|
+
.teddy-radius-tl {
|
|
6704
|
+
border-top-left-radius: var(--teddy-radius-tl);
|
|
6705
|
+
}
|
|
6706
|
+
@media (min-width: 0px) {
|
|
6707
|
+
.sm\:teddy-radius-tl {
|
|
6708
|
+
border-top-left-radius: var(--teddy-radius-tl-sm);
|
|
6709
|
+
}
|
|
6710
|
+
}
|
|
6711
|
+
@media (min-width: 600px) {
|
|
6712
|
+
.md\:teddy-radius-tl {
|
|
6713
|
+
border-top-left-radius: var(--teddy-radius-tl-md);
|
|
6714
|
+
}
|
|
6715
|
+
}
|
|
6716
|
+
@media (min-width: 1024px) {
|
|
6717
|
+
.lg\:teddy-radius-tl {
|
|
6718
|
+
border-top-left-radius: var(--teddy-radius-tl-lg);
|
|
6719
|
+
}
|
|
6720
|
+
}
|
|
6721
|
+
@media (min-width: 1440px) {
|
|
6722
|
+
.xl\:teddy-radius-tl {
|
|
6723
|
+
border-top-left-radius: var(--teddy-radius-tl-xl);
|
|
6724
|
+
}
|
|
6725
|
+
}
|
|
6726
|
+
.teddy-radius-tr {
|
|
6727
|
+
border-top-right-radius: var(--teddy-radius-tr);
|
|
6728
|
+
}
|
|
6729
|
+
@media (min-width: 0px) {
|
|
6730
|
+
.sm\:teddy-radius-tr {
|
|
6731
|
+
border-top-right-radius: var(--teddy-radius-tr-sm);
|
|
6732
|
+
}
|
|
6733
|
+
}
|
|
6734
|
+
@media (min-width: 600px) {
|
|
6735
|
+
.md\:teddy-radius-tr {
|
|
6736
|
+
border-top-right-radius: var(--teddy-radius-tr-md);
|
|
6737
|
+
}
|
|
6738
|
+
}
|
|
6739
|
+
@media (min-width: 1024px) {
|
|
6740
|
+
.lg\:teddy-radius-tr {
|
|
6741
|
+
border-top-right-radius: var(--teddy-radius-tr-lg);
|
|
6742
|
+
}
|
|
6743
|
+
}
|
|
6744
|
+
@media (min-width: 1440px) {
|
|
6745
|
+
.xl\:teddy-radius-tr {
|
|
6746
|
+
border-top-right-radius: var(--teddy-radius-tr-xl);
|
|
6747
|
+
}
|
|
6748
|
+
}
|
|
6749
|
+
.teddy-radius-bl {
|
|
6750
|
+
border-bottom-left-radius: var(--teddy-radius-bl);
|
|
6751
|
+
}
|
|
6752
|
+
@media (min-width: 0px) {
|
|
6753
|
+
.sm\:teddy-radius-bl {
|
|
6754
|
+
border-bottom-left-radius: var(--teddy-radius-bl-sm);
|
|
6755
|
+
}
|
|
6756
|
+
}
|
|
6757
|
+
@media (min-width: 600px) {
|
|
6758
|
+
.md\:teddy-radius-bl {
|
|
6759
|
+
border-bottom-left-radius: var(--teddy-radius-bl-md);
|
|
6760
|
+
}
|
|
6761
|
+
}
|
|
6762
|
+
@media (min-width: 1024px) {
|
|
6763
|
+
.lg\:teddy-radius-bl {
|
|
6764
|
+
border-bottom-left-radius: var(--teddy-radius-bl-lg);
|
|
6765
|
+
}
|
|
6766
|
+
}
|
|
6767
|
+
@media (min-width: 1440px) {
|
|
6768
|
+
.xl\:teddy-radius-bl {
|
|
6769
|
+
border-bottom-left-radius: var(--teddy-radius-bl-xl);
|
|
6770
|
+
}
|
|
6771
|
+
}
|
|
6772
|
+
.teddy-radius-br {
|
|
6773
|
+
border-bottom-right-radius: var(--teddy-radius-br);
|
|
6774
|
+
}
|
|
6775
|
+
@media (min-width: 0px) {
|
|
6776
|
+
.sm\:teddy-radius-br {
|
|
6777
|
+
border-bottom-right-radius: var(--teddy-radius-br-sm);
|
|
6778
|
+
}
|
|
6779
|
+
}
|
|
6780
|
+
@media (min-width: 600px) {
|
|
6781
|
+
.md\:teddy-radius-br {
|
|
6782
|
+
border-bottom-right-radius: var(--teddy-radius-br-md);
|
|
6783
|
+
}
|
|
6784
|
+
}
|
|
6785
|
+
@media (min-width: 1024px) {
|
|
6786
|
+
.lg\:teddy-radius-br {
|
|
6787
|
+
border-bottom-right-radius: var(--teddy-radius-br-lg);
|
|
6788
|
+
}
|
|
6789
|
+
}
|
|
6790
|
+
@media (min-width: 1440px) {
|
|
6791
|
+
.xl\:teddy-radius-br {
|
|
6792
|
+
border-bottom-right-radius: var(--teddy-radius-br-xl);
|
|
6793
|
+
}
|
|
6794
|
+
}
|
|
6650
6795
|
.teddy-gtr {
|
|
6651
6796
|
grid-template-rows: var(--teddy-gtr);
|
|
6652
6797
|
}
|
|
@@ -6995,4 +7140,5 @@
|
|
|
6995
7140
|
}
|
|
6996
7141
|
:root {
|
|
6997
7142
|
--teddy-scale: var(--teddy-rescale, 1);
|
|
7143
|
+
interpolate-size: allow-keywords;
|
|
6998
7144
|
}
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import { Responsive, numberIterator } from './util';
|
|
2
2
|
|
|
3
3
|
export declare const gridTemplateRowsValues: readonly [...{
|
|
4
|
-
key: "
|
|
5
|
-
value: "
|
|
4
|
+
key: "10" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "11" | "12";
|
|
5
|
+
value: "10" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "11" | "12";
|
|
6
6
|
}[], {
|
|
7
7
|
readonly key: "none";
|
|
8
8
|
readonly value: "none";
|
|
9
9
|
}];
|
|
10
10
|
export declare const gridTemplateColumnsValues: readonly [...{
|
|
11
|
-
readonly key: "
|
|
12
|
-
readonly value: "repeat(
|
|
11
|
+
readonly key: "10" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "11" | "12";
|
|
12
|
+
readonly value: "repeat(10, minmax(0, 1fr))" | "repeat(1, minmax(0, 1fr))" | "repeat(2, minmax(0, 1fr))" | "repeat(3, minmax(0, 1fr))" | "repeat(4, minmax(0, 1fr))" | "repeat(5, minmax(0, 1fr))" | "repeat(6, minmax(0, 1fr))" | "repeat(7, minmax(0, 1fr))" | "repeat(8, minmax(0, 1fr))" | "repeat(9, minmax(0, 1fr))" | "repeat(11, minmax(0, 1fr))" | "repeat(12, minmax(0, 1fr))";
|
|
13
13
|
}[], {
|
|
14
14
|
readonly key: "none";
|
|
15
15
|
readonly value: "none";
|
|
16
16
|
}];
|
|
17
17
|
declare const gridColumnValues: readonly [...{
|
|
18
|
-
key: "
|
|
19
|
-
value: "
|
|
18
|
+
key: "10" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "11" | "12";
|
|
19
|
+
value: "10" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "11" | "12";
|
|
20
20
|
}[], {
|
|
21
21
|
readonly key: "span-2";
|
|
22
22
|
readonly value: "span 2";
|
|
@@ -52,8 +52,8 @@ declare const gridColumnValues: readonly [...{
|
|
|
52
52
|
readonly value: "span 12";
|
|
53
53
|
}];
|
|
54
54
|
declare const gridRowValues: readonly [...{
|
|
55
|
-
key: "
|
|
56
|
-
value: "
|
|
55
|
+
key: "10" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "11" | "12";
|
|
56
|
+
value: "10" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "11" | "12";
|
|
57
57
|
}[], {
|
|
58
58
|
readonly key: "span-2";
|
|
59
59
|
readonly value: "span 2";
|
|
@@ -131,8 +131,8 @@ export declare const gridLayout: readonly [{
|
|
|
131
131
|
readonly key: "rows";
|
|
132
132
|
readonly className: "teddy-gtr";
|
|
133
133
|
readonly values: readonly [...{
|
|
134
|
-
key: "
|
|
135
|
-
value: "
|
|
134
|
+
key: "10" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "11" | "12";
|
|
135
|
+
value: "10" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "11" | "12";
|
|
136
136
|
}[], {
|
|
137
137
|
readonly key: "none";
|
|
138
138
|
readonly value: "none";
|
|
@@ -141,8 +141,8 @@ export declare const gridLayout: readonly [{
|
|
|
141
141
|
readonly key: "columns";
|
|
142
142
|
readonly className: "teddy-gtc";
|
|
143
143
|
readonly values: readonly [...{
|
|
144
|
-
readonly key: "
|
|
145
|
-
readonly value: "repeat(
|
|
144
|
+
readonly key: "10" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "11" | "12";
|
|
145
|
+
readonly value: "repeat(10, minmax(0, 1fr))" | "repeat(1, minmax(0, 1fr))" | "repeat(2, minmax(0, 1fr))" | "repeat(3, minmax(0, 1fr))" | "repeat(4, minmax(0, 1fr))" | "repeat(5, minmax(0, 1fr))" | "repeat(6, minmax(0, 1fr))" | "repeat(7, minmax(0, 1fr))" | "repeat(8, minmax(0, 1fr))" | "repeat(9, minmax(0, 1fr))" | "repeat(11, minmax(0, 1fr))" | "repeat(12, minmax(0, 1fr))";
|
|
146
146
|
}[], {
|
|
147
147
|
readonly key: "none";
|
|
148
148
|
readonly value: "none";
|
|
@@ -171,36 +171,36 @@ export declare const gridChildren: readonly [{
|
|
|
171
171
|
readonly key: "gridColumnStart";
|
|
172
172
|
readonly className: "teddy-gcs";
|
|
173
173
|
readonly values: {
|
|
174
|
-
key: "
|
|
175
|
-
value: "
|
|
174
|
+
key: "10" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "11" | "12";
|
|
175
|
+
value: "10" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "11" | "12";
|
|
176
176
|
}[];
|
|
177
177
|
}, {
|
|
178
178
|
readonly key: "gridColumnEnd";
|
|
179
179
|
readonly className: "teddy-gce";
|
|
180
180
|
readonly values: {
|
|
181
|
-
key: "
|
|
182
|
-
value: "
|
|
181
|
+
key: "10" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "11" | "12";
|
|
182
|
+
value: "10" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "11" | "12";
|
|
183
183
|
}[];
|
|
184
184
|
}, {
|
|
185
185
|
readonly key: "gridRowStart";
|
|
186
186
|
readonly className: "teddy-grs";
|
|
187
187
|
readonly values: {
|
|
188
|
-
key: "
|
|
189
|
-
value: "
|
|
188
|
+
key: "10" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "11" | "12";
|
|
189
|
+
value: "10" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "11" | "12";
|
|
190
190
|
}[];
|
|
191
191
|
}, {
|
|
192
192
|
readonly key: "gridRowEnd";
|
|
193
193
|
readonly className: "teddy-gre";
|
|
194
194
|
readonly values: {
|
|
195
|
-
key: "
|
|
196
|
-
value: "
|
|
195
|
+
key: "10" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "11" | "12";
|
|
196
|
+
value: "10" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "11" | "12";
|
|
197
197
|
}[];
|
|
198
198
|
}, {
|
|
199
199
|
readonly key: "gridColumn";
|
|
200
200
|
readonly className: "teddy-gc";
|
|
201
201
|
readonly values: readonly [...{
|
|
202
|
-
key: "
|
|
203
|
-
value: "
|
|
202
|
+
key: "10" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "11" | "12";
|
|
203
|
+
value: "10" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "11" | "12";
|
|
204
204
|
}[], {
|
|
205
205
|
readonly key: "span-2";
|
|
206
206
|
readonly value: "span 2";
|
|
@@ -239,8 +239,8 @@ export declare const gridChildren: readonly [{
|
|
|
239
239
|
readonly key: "gridRow";
|
|
240
240
|
readonly className: "teddy-gr";
|
|
241
241
|
readonly values: readonly [...{
|
|
242
|
-
key: "
|
|
243
|
-
value: "
|
|
242
|
+
key: "10" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "11" | "12";
|
|
243
|
+
value: "10" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "11" | "12";
|
|
244
244
|
}[], {
|
|
245
245
|
readonly key: "span-2";
|
|
246
246
|
readonly value: "span 2";
|
|
@@ -14,6 +14,7 @@ const utils_generateStyling_position = require("./position.cjs");
|
|
|
14
14
|
const utils_generateStyling_inset = require("./inset.cjs");
|
|
15
15
|
const utils_generateStyling_color = require("./color.cjs");
|
|
16
16
|
const utils_generateStyling_objectFit = require("./object-fit.cjs");
|
|
17
|
+
const utils_generateStyling_radius = require("./radius.cjs");
|
|
17
18
|
const breakpoint = {
|
|
18
19
|
sm: "0px",
|
|
19
20
|
md: "600px",
|
|
@@ -47,6 +48,7 @@ const stylings = [
|
|
|
47
48
|
...utils_generateStyling_width.widths,
|
|
48
49
|
...utils_generateStyling_height.heights,
|
|
49
50
|
...utils_generateStyling_gap.gap,
|
|
51
|
+
...utils_generateStyling_radius.radius,
|
|
50
52
|
...utils_generateStyling_color.color,
|
|
51
53
|
...utils_generateStyling_align.align,
|
|
52
54
|
...utils_generateStyling_justify.justify,
|