@telia/teddy 0.7.35 → 0.7.36
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/avatar/avatar-root.d.ts +1 -1
- package/dist/components/avatar/index.d.ts +1 -1
- package/dist/components/breadcrumbs/breadcrumbs-link.d.ts +1 -1
- package/dist/components/breadcrumbs/index.d.ts +1 -1
- package/dist/components/card/card-link.d.ts +1 -1
- package/dist/components/channel-button/channel-button-root.d.ts +4 -4
- package/dist/components/channel-button/index.d.ts +4 -4
- package/dist/components/checkbox/checkbox-group.d.ts +1 -1
- package/dist/components/checkbox/index.d.ts +1 -1
- package/dist/components/checkbox-card-group/checkbox-card-group-content.cjs +2 -0
- package/dist/components/checkbox-card-group/checkbox-card-group-content.js +2 -0
- package/dist/components/checkbox-card-group/checkbox-card-group-indicator.cjs +2 -0
- package/dist/components/checkbox-card-group/checkbox-card-group-indicator.js +2 -0
- package/dist/components/checkbox-card-group/checkbox-card-group-item-title.cjs +2 -0
- package/dist/components/checkbox-card-group/checkbox-card-group-item-title.js +2 -0
- package/dist/components/checkbox-card-group/checkbox-card-group-item.cjs +2 -0
- package/dist/components/checkbox-card-group/checkbox-card-group-item.js +2 -0
- package/dist/components/chip/chip-indicator.d.ts +2 -2
- package/dist/components/chip/index.d.ts +2 -2
- package/dist/components/dashboard-card/dashboard-card-avatar.d.ts +1 -1
- package/dist/components/dashed-button/dashed-button-root.cjs +45 -0
- package/dist/components/dashed-button/dashed-button-root.d.ts +62 -0
- package/dist/components/dashed-button/dashed-button-root.js +45 -0
- package/dist/components/dashed-button/index.cjs +4 -0
- package/dist/components/dashed-button/index.d.ts +2 -0
- package/dist/components/dashed-button/index.js +4 -0
- package/dist/components/expandable-card/expandable-card-button.d.ts +2 -2
- package/dist/components/expandable-card/index.d.ts +3 -3
- package/dist/components/flip-card/flip-card-trigger.d.ts +2 -2
- package/dist/components/icon/utils.d.ts +1 -1
- package/dist/components/index.cjs +6 -0
- package/dist/components/index.d.ts +2 -0
- package/dist/components/index.js +6 -0
- package/dist/components/modal/modal-close.cjs +2 -0
- package/dist/components/modal/modal-close.js +2 -0
- package/dist/components/navigation-menu/navigation-menu.cjs +2 -0
- package/dist/components/navigation-menu/navigation-menu.d.ts +1 -1
- package/dist/components/navigation-menu/navigation-menu.js +2 -0
- package/dist/components/notabene/notabene-icon.d.ts +2 -2
- package/dist/components/notification/index.d.ts +2 -2
- package/dist/components/notification/notification-icon.d.ts +2 -2
- package/dist/components/notification/notification-root.d.ts +2 -2
- package/dist/components/radio-card-group/radio-card-group-content.cjs +2 -0
- package/dist/components/radio-card-group/radio-card-group-content.js +2 -0
- package/dist/components/radio-card-group/radio-card-group-item-title.cjs +2 -0
- package/dist/components/radio-card-group/radio-card-group-item-title.js +2 -0
- package/dist/components/radio-card-group/radio-card-group-item.cjs +2 -0
- package/dist/components/radio-card-group/radio-card-group-item.js +2 -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/tabs/index.d.ts +1 -1
- 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.cjs +2 -0
- package/dist/components/text-field/index.d.ts +5 -2
- package/dist/components/text-field/index.js +2 -0
- package/dist/components/text-field/text-field-button.d.ts +2 -2
- package/dist/components/text-field/text-field-textarea.cjs +27 -0
- package/dist/components/text-field/text-field-textarea.d.ts +5 -0
- package/dist/components/text-field/text-field-textarea.js +27 -0
- package/dist/components/textarea/index.cjs +11 -0
- package/dist/components/textarea/index.d.ts +30 -0
- package/dist/components/textarea/index.js +11 -0
- package/dist/components/textarea/textarea-clear-button.cjs +39 -0
- package/dist/components/textarea/textarea-clear-button.d.ts +5 -0
- package/dist/components/textarea/textarea-clear-button.js +39 -0
- package/dist/components/textarea/textarea-group.cjs +168 -0
- package/dist/components/textarea/textarea-group.d.ts +17 -0
- package/dist/components/textarea/textarea-group.js +168 -0
- package/dist/components/textarea/textarea-indicator.cjs +10 -0
- package/dist/components/textarea/textarea-indicator.d.ts +23 -0
- package/dist/components/textarea/textarea-indicator.js +10 -0
- package/dist/components/textarea/textarea.cjs +9 -0
- package/dist/components/textarea/textarea.d.ts +20 -0
- package/dist/components/textarea/textarea.js +9 -0
- package/dist/components/toggle/toggle.d.ts +2 -2
- package/dist/components/tooltip/index.d.ts +1 -1
- package/dist/main.cjs +6 -0
- package/dist/main.js +6 -0
- package/dist/style.css +629 -435
- package/dist/utils/generate-styling/grid.d.ts +24 -24
- package/dist/utils/generate-styling/index.d.ts +16 -16
- package/dist/utils/generate-styling/util.d.ts +2 -2
- package/package.json +1 -1
|
@@ -12,6 +12,6 @@ export declare const Root: React.ForwardRefExoticComponent<Omit<React.DetailedHT
|
|
|
12
12
|
variant?: Variant | undefined;
|
|
13
13
|
firstName?: string | undefined;
|
|
14
14
|
lastName?: string | undefined;
|
|
15
|
-
icon?: "alarm-off" | "alarm-on" | "attachment" | "bookmark-filled" | "bookmark" | "copy-filled" | "
|
|
15
|
+
icon?: "link" | "map" | "menu" | "search" | "summary" | "time" | "video" | "filter" | "image" | "stop" | "x" | "key" | "split" | "alert" | "radio" | "copy" | "add" | "reverse" | "infinite" | "visible" | "help" | "zoom-out" | "zoom" | "email" | "alarm-off" | "alarm-on" | "attachment" | "bookmark-filled" | "bookmark" | "copy-filled" | "dislike" | "download" | "edit" | "heart-filled" | "heart" | "invisible" | "like" | "lock-open" | "lock" | "login" | "logout" | "maximize" | "minimize" | "mute" | "password-invisible" | "password-visible" | "play-filled" | "play" | "remove-filled" | "remove" | "save" | "send" | "settings" | "share" | "shortcut" | "shuffle" | "skip-back-10sec" | "skip-back-30sec" | "skip-forward-10sec" | "skip-forward-30sec" | "star-filled" | "star" | "switch-arrows" | "sync" | "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-neutral" | "smiley-sad" | "smiley-very-happy" | "smiley-very-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" | "AI-star" | "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" | "focus" | "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" | "smart-connect" | "snowflake" | "speedometer" | "spyware" | "suitcase" | "sustainability" | "tag" | "temperature" | "thinking" | "train" | "transfer" | "undo" | "wavelength" | "weather" | "world" | "android" | "apple" | "bankid-norway" | "bankid" | "facebook" | "instagram" | "linkedin" | "snapchat" | "telia-logo" | "whatsapp" | "windows" | "youtube" | "alert-filled" | "check-circle-filled" | "check-circle" | "error-filled" | "error" | "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" | "close" | "grid-view" | "list-view" | "minus-bold" | "minus" | "more-horizontal" | "more-vertical" | "plus" | "services" | "sorter" | "table-view" | undefined;
|
|
16
16
|
} & React.RefAttributes<HTMLDivElement>>;
|
|
17
17
|
export {};
|
|
@@ -4,6 +4,6 @@ export declare const Avatar: import('react').ForwardRefExoticComponent<Omit<impo
|
|
|
4
4
|
variant?: ("beige" | "blue" | "green" | "grey" | "orange" | "white" | "purple-light") | undefined;
|
|
5
5
|
firstName?: string | undefined;
|
|
6
6
|
lastName?: string | undefined;
|
|
7
|
-
icon?: "alarm-off" | "alarm-on" | "attachment" | "bookmark-filled" | "bookmark" | "copy-filled" | "
|
|
7
|
+
icon?: "link" | "map" | "menu" | "search" | "summary" | "time" | "video" | "filter" | "image" | "stop" | "x" | "key" | "split" | "alert" | "radio" | "copy" | "add" | "reverse" | "infinite" | "visible" | "help" | "zoom-out" | "zoom" | "email" | "alarm-off" | "alarm-on" | "attachment" | "bookmark-filled" | "bookmark" | "copy-filled" | "dislike" | "download" | "edit" | "heart-filled" | "heart" | "invisible" | "like" | "lock-open" | "lock" | "login" | "logout" | "maximize" | "minimize" | "mute" | "password-invisible" | "password-visible" | "play-filled" | "play" | "remove-filled" | "remove" | "save" | "send" | "settings" | "share" | "shortcut" | "shuffle" | "skip-back-10sec" | "skip-back-30sec" | "skip-forward-10sec" | "skip-forward-30sec" | "star-filled" | "star" | "switch-arrows" | "sync" | "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-neutral" | "smiley-sad" | "smiley-very-happy" | "smiley-very-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" | "AI-star" | "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" | "focus" | "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" | "smart-connect" | "snowflake" | "speedometer" | "spyware" | "suitcase" | "sustainability" | "tag" | "temperature" | "thinking" | "train" | "transfer" | "undo" | "wavelength" | "weather" | "world" | "android" | "apple" | "bankid-norway" | "bankid" | "facebook" | "instagram" | "linkedin" | "snapchat" | "telia-logo" | "whatsapp" | "windows" | "youtube" | "alert-filled" | "check-circle-filled" | "check-circle" | "error-filled" | "error" | "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" | "close" | "grid-view" | "list-view" | "minus-bold" | "minus" | "more-horizontal" | "more-vertical" | "plus" | "services" | "sorter" | "table-view" | undefined;
|
|
8
8
|
} & import('react').RefAttributes<HTMLDivElement>>;
|
|
9
9
|
export type AvatarProps = RootProps;
|
|
@@ -9,7 +9,7 @@ export declare const Link: React.ForwardRefExoticComponent<Omit<Omit<Omit<React.
|
|
|
9
9
|
disableVisited?: boolean | undefined;
|
|
10
10
|
ensureTargetArea?: boolean | undefined;
|
|
11
11
|
silent?: boolean | undefined;
|
|
12
|
-
variant: "
|
|
12
|
+
variant: "text" | "navigation" | "text-negative" | "standalone" | "standalone-negative" | "navigation-negative";
|
|
13
13
|
} & React.RefAttributes<HTMLAnchorElement>, "ref">, "variant"> & {
|
|
14
14
|
home?: boolean | undefined;
|
|
15
15
|
} & React.RefAttributes<HTMLAnchorElement>>;
|
|
@@ -15,7 +15,7 @@ export declare const Breadcrumbs: import('react').ForwardRefExoticComponent<Omit
|
|
|
15
15
|
disableVisited?: boolean | undefined;
|
|
16
16
|
ensureTargetArea?: boolean | undefined;
|
|
17
17
|
silent?: boolean | undefined;
|
|
18
|
-
variant: "
|
|
18
|
+
variant: "text" | "navigation" | "text-negative" | "standalone" | "standalone-negative" | "navigation-negative";
|
|
19
19
|
} & import('react').RefAttributes<HTMLAnchorElement>, "ref">, "variant"> & {
|
|
20
20
|
home?: boolean | undefined;
|
|
21
21
|
} & import('react').RefAttributes<HTMLAnchorElement>>;
|
|
@@ -7,5 +7,5 @@ export declare const Link: React.ForwardRefExoticComponent<Omit<Omit<React.Detai
|
|
|
7
7
|
disableVisited?: boolean | undefined;
|
|
8
8
|
ensureTargetArea?: boolean | undefined;
|
|
9
9
|
silent?: boolean | undefined;
|
|
10
|
-
variant: "
|
|
10
|
+
variant: "text" | "navigation" | "text-negative" | "standalone" | "standalone-negative" | "navigation-negative";
|
|
11
11
|
} & React.RefAttributes<HTMLAnchorElement>, "ref"> & React.RefAttributes<HTMLAnchorElement>>;
|
|
@@ -12,7 +12,7 @@ export declare const Root: React.ForwardRefExoticComponent<Omit<Omit<Omit<React.
|
|
|
12
12
|
loading?: boolean | undefined;
|
|
13
13
|
fullWidth?: boolean | undefined;
|
|
14
14
|
size?: "sm" | "md" | "lg" | undefined;
|
|
15
|
-
variant?: "
|
|
15
|
+
variant?: "primary" | "text" | "list-item" | "secondary" | "destructive" | "tertiary-purple" | "text-underline" | "expressive" | "primary-negative" | "secondary-negative" | "destructive-negative" | "tertiary-purple-negative" | "text-negative" | "expressive-negative" | undefined;
|
|
16
16
|
borderStyle?: ("dashed" | "default") | undefined;
|
|
17
17
|
} & {
|
|
18
18
|
iconOnly: true;
|
|
@@ -24,11 +24,11 @@ export declare const Root: React.ForwardRefExoticComponent<Omit<Omit<Omit<React.
|
|
|
24
24
|
loading?: boolean | undefined;
|
|
25
25
|
fullWidth?: boolean | undefined;
|
|
26
26
|
size?: "sm" | "md" | "lg" | undefined;
|
|
27
|
-
variant?: "
|
|
27
|
+
variant?: "primary" | "text" | "list-item" | "secondary" | "destructive" | "tertiary-purple" | "text-underline" | "expressive" | "primary-negative" | "secondary-negative" | "destructive-negative" | "tertiary-purple-negative" | "text-negative" | "expressive-negative" | undefined;
|
|
28
28
|
borderStyle?: ("dashed" | "default") | undefined;
|
|
29
29
|
} & {
|
|
30
30
|
iconOnly?: false | undefined;
|
|
31
31
|
"aria-label"?: string | undefined;
|
|
32
|
-
} & React.RefAttributes<HTMLButtonElement>, "ref">, "
|
|
33
|
-
as?: "
|
|
32
|
+
} & React.RefAttributes<HTMLButtonElement>, "ref">, "aria-label" | "size" | "variant" | "borderStyle" | "loading" | "fullWidth" | "iconOnly"> & {
|
|
33
|
+
as?: "div" | "span" | undefined;
|
|
34
34
|
} & React.RefAttributes<HTMLButtonElement>>;
|
|
@@ -35,7 +35,7 @@ declare const ChannelButton: import('react').ForwardRefExoticComponent<Omit<Omit
|
|
|
35
35
|
loading?: boolean | undefined;
|
|
36
36
|
fullWidth?: boolean | undefined;
|
|
37
37
|
size?: "sm" | "md" | "lg" | undefined;
|
|
38
|
-
variant?: "
|
|
38
|
+
variant?: "primary" | "text" | "list-item" | "secondary" | "destructive" | "tertiary-purple" | "text-underline" | "expressive" | "primary-negative" | "secondary-negative" | "destructive-negative" | "tertiary-purple-negative" | "text-negative" | "expressive-negative" | undefined;
|
|
39
39
|
borderStyle?: ("dashed" | "default") | undefined;
|
|
40
40
|
} & {
|
|
41
41
|
iconOnly: true;
|
|
@@ -47,13 +47,13 @@ declare const ChannelButton: import('react').ForwardRefExoticComponent<Omit<Omit
|
|
|
47
47
|
loading?: boolean | undefined;
|
|
48
48
|
fullWidth?: boolean | undefined;
|
|
49
49
|
size?: "sm" | "md" | "lg" | undefined;
|
|
50
|
-
variant?: "
|
|
50
|
+
variant?: "primary" | "text" | "list-item" | "secondary" | "destructive" | "tertiary-purple" | "text-underline" | "expressive" | "primary-negative" | "secondary-negative" | "destructive-negative" | "tertiary-purple-negative" | "text-negative" | "expressive-negative" | undefined;
|
|
51
51
|
borderStyle?: ("dashed" | "default") | undefined;
|
|
52
52
|
} & {
|
|
53
53
|
iconOnly?: false | undefined;
|
|
54
54
|
"aria-label"?: string | undefined;
|
|
55
|
-
} & import('react').RefAttributes<HTMLButtonElement>, "ref">, "
|
|
56
|
-
as?: "
|
|
55
|
+
} & import('react').RefAttributes<HTMLButtonElement>, "ref">, "aria-label" | "size" | "variant" | "borderStyle" | "loading" | "fullWidth" | "iconOnly"> & {
|
|
56
|
+
as?: "div" | "span" | undefined;
|
|
57
57
|
} & import('react').RefAttributes<HTMLButtonElement>> & {
|
|
58
58
|
/**
|
|
59
59
|
* The Illustration component is used to wrap the image in the ChannelButton.
|
|
@@ -34,7 +34,7 @@ export declare const Group: React.ForwardRefExoticComponent<Omit<Omit<import('..
|
|
|
34
34
|
} & import('../../utils/generate-styling/flex').FlexLayout & {
|
|
35
35
|
as: "div";
|
|
36
36
|
asChild?: false | undefined;
|
|
37
|
-
} & Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>, "ref">, "direction" | "
|
|
37
|
+
} & Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>, "ref">, "direction" | "value" | "defaultValue" | "onValueChange"> & {
|
|
38
38
|
name?: string | undefined;
|
|
39
39
|
required?: boolean | undefined;
|
|
40
40
|
disabled?: boolean | undefined;
|
|
@@ -41,7 +41,7 @@ export declare const CheckboxGroup: import('react').ForwardRefExoticComponent<Om
|
|
|
41
41
|
} & import('../../utils/generate-styling/flex.ts').FlexLayout & {
|
|
42
42
|
as: "div";
|
|
43
43
|
asChild?: false | undefined;
|
|
44
|
-
} & Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & import('react').RefAttributes<HTMLDivElement>, "ref">, "direction" | "
|
|
44
|
+
} & Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & import('react').RefAttributes<HTMLDivElement>, "ref">, "direction" | "value" | "defaultValue" | "onValueChange"> & {
|
|
45
45
|
name?: string | undefined;
|
|
46
46
|
required?: boolean | undefined;
|
|
47
47
|
disabled?: boolean | undefined;
|
|
@@ -4,6 +4,7 @@ require("react/jsx-runtime");
|
|
|
4
4
|
require("clsx");
|
|
5
5
|
require("react");
|
|
6
6
|
require("./checkbox-card-group-root.cjs");
|
|
7
|
+
require("../dashed-button/dashed-button-root.cjs");
|
|
7
8
|
require("../step-indicator/index.cjs");
|
|
8
9
|
require("../metric-meter/metric-meter.cjs");
|
|
9
10
|
require("../footer/index.cjs");
|
|
@@ -62,4 +63,5 @@ require("../text-spacing/text-spacing.cjs");
|
|
|
62
63
|
require("../container/container.cjs");
|
|
63
64
|
require("../carousel/carousel-root.cjs");
|
|
64
65
|
require("../slider/slider.cjs");
|
|
66
|
+
require("../textarea/index.cjs");
|
|
65
67
|
exports.Content = components_checkboxCardGroup_checkboxCardGroupIndicator.Content$1;
|
|
@@ -2,6 +2,7 @@ import "react/jsx-runtime";
|
|
|
2
2
|
import "clsx";
|
|
3
3
|
import "react";
|
|
4
4
|
import "./checkbox-card-group-root.js";
|
|
5
|
+
import "../dashed-button/dashed-button-root.js";
|
|
5
6
|
import "../step-indicator/index.js";
|
|
6
7
|
import "../metric-meter/metric-meter.js";
|
|
7
8
|
import "../footer/index.js";
|
|
@@ -60,6 +61,7 @@ import "../text-spacing/text-spacing.js";
|
|
|
60
61
|
import "../container/container.js";
|
|
61
62
|
import "../carousel/carousel-root.js";
|
|
62
63
|
import "../slider/slider.js";
|
|
64
|
+
import "../textarea/index.js";
|
|
63
65
|
export {
|
|
64
66
|
a as Content
|
|
65
67
|
};
|
|
@@ -12,6 +12,7 @@ const reactSlot = require("@radix-ui/react-slot");
|
|
|
12
12
|
const reactUseControllableState = require("@radix-ui/react-use-controllable-state");
|
|
13
13
|
const utils_generateStyling_index = require("../../utils/generate-styling/index.cjs");
|
|
14
14
|
const tokens_motion_variables = require("../../tokens/motion/variables.cjs");
|
|
15
|
+
require("../dashed-button/dashed-button-root.cjs");
|
|
15
16
|
require("../step-indicator/index.cjs");
|
|
16
17
|
require("../metric-meter/metric-meter.cjs");
|
|
17
18
|
require("../footer/index.cjs");
|
|
@@ -81,6 +82,7 @@ const components_textSpacing_textSpacing = require("../text-spacing/text-spacing
|
|
|
81
82
|
require("../container/container.cjs");
|
|
82
83
|
require("../carousel/carousel-root.cjs");
|
|
83
84
|
require("../slider/slider.cjs");
|
|
85
|
+
require("../textarea/index.cjs");
|
|
84
86
|
const modal_module = require("../../modal.module-BfeNqXoN.cjs");
|
|
85
87
|
const components_modal_modalImage = require("../modal/modal-image.cjs");
|
|
86
88
|
const components_radioCardGroup_radioCardGroupIndicator = require("../radio-card-group/radio-card-group-indicator.cjs");
|
|
@@ -10,6 +10,7 @@ import { Slot } from "@radix-ui/react-slot";
|
|
|
10
10
|
import { useControllableState } from "@radix-ui/react-use-controllable-state";
|
|
11
11
|
import { mergeStyles } from "../../utils/generate-styling/index.js";
|
|
12
12
|
import { teddyMotionDuration300 } from "../../tokens/motion/variables.js";
|
|
13
|
+
import "../dashed-button/dashed-button-root.js";
|
|
13
14
|
import "../step-indicator/index.js";
|
|
14
15
|
import "../metric-meter/metric-meter.js";
|
|
15
16
|
import "../footer/index.js";
|
|
@@ -79,6 +80,7 @@ import { TextSpacing } from "../text-spacing/text-spacing.js";
|
|
|
79
80
|
import "../container/container.js";
|
|
80
81
|
import "../carousel/carousel-root.js";
|
|
81
82
|
import "../slider/slider.js";
|
|
83
|
+
import "../textarea/index.js";
|
|
82
84
|
import { s as styles$4 } from "../../modal.module-DuP4in7f.js";
|
|
83
85
|
import { Image } from "../modal/modal-image.js";
|
|
84
86
|
import { Indicator as Indicator$2 } from "../radio-card-group/radio-card-group-indicator.js";
|
|
@@ -5,6 +5,7 @@ require("clsx");
|
|
|
5
5
|
require("react");
|
|
6
6
|
require("./checkbox-card-group-root.cjs");
|
|
7
7
|
require("@radix-ui/react-slot");
|
|
8
|
+
require("../dashed-button/dashed-button-root.cjs");
|
|
8
9
|
require("../step-indicator/index.cjs");
|
|
9
10
|
require("../metric-meter/metric-meter.cjs");
|
|
10
11
|
require("../footer/index.cjs");
|
|
@@ -63,4 +64,5 @@ require("../text-spacing/text-spacing.cjs");
|
|
|
63
64
|
require("../container/container.cjs");
|
|
64
65
|
require("../carousel/carousel-root.cjs");
|
|
65
66
|
require("../slider/slider.cjs");
|
|
67
|
+
require("../textarea/index.cjs");
|
|
66
68
|
exports.Title = components_checkboxCardGroup_checkboxCardGroupIndicator.Title$1;
|
|
@@ -3,6 +3,7 @@ import "clsx";
|
|
|
3
3
|
import "react";
|
|
4
4
|
import "./checkbox-card-group-root.js";
|
|
5
5
|
import "@radix-ui/react-slot";
|
|
6
|
+
import "../dashed-button/dashed-button-root.js";
|
|
6
7
|
import "../step-indicator/index.js";
|
|
7
8
|
import "../metric-meter/metric-meter.js";
|
|
8
9
|
import "../footer/index.js";
|
|
@@ -61,6 +62,7 @@ import "../text-spacing/text-spacing.js";
|
|
|
61
62
|
import "../container/container.js";
|
|
62
63
|
import "../carousel/carousel-root.js";
|
|
63
64
|
import "../slider/slider.js";
|
|
65
|
+
import "../textarea/index.js";
|
|
64
66
|
export {
|
|
65
67
|
T as Title
|
|
66
68
|
};
|
|
@@ -4,6 +4,7 @@ require("react/jsx-runtime");
|
|
|
4
4
|
require("clsx");
|
|
5
5
|
require("react");
|
|
6
6
|
require("./checkbox-card-group-root.cjs");
|
|
7
|
+
require("../dashed-button/dashed-button-root.cjs");
|
|
7
8
|
require("../step-indicator/index.cjs");
|
|
8
9
|
require("../metric-meter/metric-meter.cjs");
|
|
9
10
|
require("../footer/index.cjs");
|
|
@@ -62,6 +63,7 @@ require("../text-spacing/text-spacing.cjs");
|
|
|
62
63
|
require("../container/container.cjs");
|
|
63
64
|
require("../carousel/carousel-root.cjs");
|
|
64
65
|
require("../slider/slider.cjs");
|
|
66
|
+
require("../textarea/index.cjs");
|
|
65
67
|
require("../../utils/composeRefs.cjs");
|
|
66
68
|
exports.Item = components_checkboxCardGroup_checkboxCardGroupIndicator.Item$1;
|
|
67
69
|
exports.ItemContext = components_checkboxCardGroup_checkboxCardGroupIndicator.ItemContext$1;
|
|
@@ -2,6 +2,7 @@ import "react/jsx-runtime";
|
|
|
2
2
|
import "clsx";
|
|
3
3
|
import "react";
|
|
4
4
|
import "./checkbox-card-group-root.js";
|
|
5
|
+
import "../dashed-button/dashed-button-root.js";
|
|
5
6
|
import "../step-indicator/index.js";
|
|
6
7
|
import "../metric-meter/metric-meter.js";
|
|
7
8
|
import "../footer/index.js";
|
|
@@ -60,6 +61,7 @@ import "../text-spacing/text-spacing.js";
|
|
|
60
61
|
import "../container/container.js";
|
|
61
62
|
import "../carousel/carousel-root.js";
|
|
62
63
|
import "../slider/slider.js";
|
|
64
|
+
import "../textarea/index.js";
|
|
63
65
|
import "../../utils/composeRefs.js";
|
|
64
66
|
export {
|
|
65
67
|
b as Item,
|
|
@@ -3,8 +3,8 @@ import { Icon } from '../icon';
|
|
|
3
3
|
|
|
4
4
|
export type IndicatorProps = Partial<React.ComponentPropsWithoutRef<typeof Icon>>;
|
|
5
5
|
export declare const Indicator: React.ForwardRefExoticComponent<Partial<Omit<React.SVGProps<SVGSVGElement> & {
|
|
6
|
-
name: "alarm-off" | "alarm-on" | "attachment" | "bookmark-filled" | "bookmark" | "copy-filled" | "
|
|
7
|
-
size?: ("
|
|
6
|
+
name: "link" | "map" | "menu" | "search" | "summary" | "time" | "video" | "filter" | "image" | "stop" | "x" | "key" | "split" | "alert" | "radio" | "copy" | "add" | "reverse" | "infinite" | "visible" | "help" | "zoom-out" | "zoom" | "email" | "alarm-off" | "alarm-on" | "attachment" | "bookmark-filled" | "bookmark" | "copy-filled" | "dislike" | "download" | "edit" | "heart-filled" | "heart" | "invisible" | "like" | "lock-open" | "lock" | "login" | "logout" | "maximize" | "minimize" | "mute" | "password-invisible" | "password-visible" | "play-filled" | "play" | "remove-filled" | "remove" | "save" | "send" | "settings" | "share" | "shortcut" | "shuffle" | "skip-back-10sec" | "skip-back-30sec" | "skip-forward-10sec" | "skip-forward-30sec" | "star-filled" | "star" | "switch-arrows" | "sync" | "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-neutral" | "smiley-sad" | "smiley-very-happy" | "smiley-very-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" | "AI-star" | "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" | "focus" | "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" | "smart-connect" | "snowflake" | "speedometer" | "spyware" | "suitcase" | "sustainability" | "tag" | "temperature" | "thinking" | "train" | "transfer" | "undo" | "wavelength" | "weather" | "world" | "android" | "apple" | "bankid-norway" | "bankid" | "facebook" | "instagram" | "linkedin" | "snapchat" | "telia-logo" | "whatsapp" | "windows" | "youtube" | "alert-filled" | "check-circle-filled" | "check-circle" | "error-filled" | "error" | "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" | "close" | "grid-view" | "list-view" | "minus-bold" | "minus" | "more-horizontal" | "more-vertical" | "plus" | "services" | "sorter" | "table-view";
|
|
7
|
+
size?: ("xxs" | "xs" | "sm" | "md" | "lg" | "xl" | "font") | undefined;
|
|
8
8
|
title?: string | undefined;
|
|
9
9
|
children?: React.ReactNode;
|
|
10
10
|
}, "ref">> & React.RefAttributes<SVGSVGElement>>;
|
|
@@ -5,8 +5,8 @@ import { ItemProps } from './chip-item';
|
|
|
5
5
|
export declare const Chip: import('react').ForwardRefExoticComponent<RootProps & import('react').RefAttributes<HTMLDivElement>> & {
|
|
6
6
|
Item: import('react').ForwardRefExoticComponent<ItemProps & import('react').RefAttributes<HTMLButtonElement>>;
|
|
7
7
|
Indicator: import('react').ForwardRefExoticComponent<Partial<Omit<import('react').SVGProps<SVGSVGElement> & {
|
|
8
|
-
name: "alarm-off" | "alarm-on" | "attachment" | "bookmark-filled" | "bookmark" | "copy-filled" | "
|
|
9
|
-
size?: ("
|
|
8
|
+
name: "link" | "map" | "menu" | "search" | "summary" | "time" | "video" | "filter" | "image" | "stop" | "x" | "key" | "split" | "alert" | "radio" | "copy" | "add" | "reverse" | "infinite" | "visible" | "help" | "zoom-out" | "zoom" | "email" | "alarm-off" | "alarm-on" | "attachment" | "bookmark-filled" | "bookmark" | "copy-filled" | "dislike" | "download" | "edit" | "heart-filled" | "heart" | "invisible" | "like" | "lock-open" | "lock" | "login" | "logout" | "maximize" | "minimize" | "mute" | "password-invisible" | "password-visible" | "play-filled" | "play" | "remove-filled" | "remove" | "save" | "send" | "settings" | "share" | "shortcut" | "shuffle" | "skip-back-10sec" | "skip-back-30sec" | "skip-forward-10sec" | "skip-forward-30sec" | "star-filled" | "star" | "switch-arrows" | "sync" | "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-neutral" | "smiley-sad" | "smiley-very-happy" | "smiley-very-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" | "AI-star" | "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" | "focus" | "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" | "smart-connect" | "snowflake" | "speedometer" | "spyware" | "suitcase" | "sustainability" | "tag" | "temperature" | "thinking" | "train" | "transfer" | "undo" | "wavelength" | "weather" | "world" | "android" | "apple" | "bankid-norway" | "bankid" | "facebook" | "instagram" | "linkedin" | "snapchat" | "telia-logo" | "whatsapp" | "windows" | "youtube" | "alert-filled" | "check-circle-filled" | "check-circle" | "error-filled" | "error" | "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" | "close" | "grid-view" | "list-view" | "minus-bold" | "minus" | "more-horizontal" | "more-vertical" | "plus" | "services" | "sorter" | "table-view";
|
|
9
|
+
size?: ("xxs" | "xs" | "sm" | "md" | "lg" | "xl" | "font") | undefined;
|
|
10
10
|
title?: string | undefined;
|
|
11
11
|
children?: import('react').ReactNode;
|
|
12
12
|
}, "ref">> & import('react').RefAttributes<SVGSVGElement>>;
|
|
@@ -6,5 +6,5 @@ export declare const Avatar: React.ForwardRefExoticComponent<Omit<Omit<React.Det
|
|
|
6
6
|
variant?: ("beige" | "blue" | "green" | "grey" | "orange" | "white" | "purple-light") | undefined;
|
|
7
7
|
firstName?: string | undefined;
|
|
8
8
|
lastName?: string | undefined;
|
|
9
|
-
icon?: "alarm-off" | "alarm-on" | "attachment" | "bookmark-filled" | "bookmark" | "copy-filled" | "
|
|
9
|
+
icon?: "link" | "map" | "menu" | "search" | "summary" | "time" | "video" | "filter" | "image" | "stop" | "x" | "key" | "split" | "alert" | "radio" | "copy" | "add" | "reverse" | "infinite" | "visible" | "help" | "zoom-out" | "zoom" | "email" | "alarm-off" | "alarm-on" | "attachment" | "bookmark-filled" | "bookmark" | "copy-filled" | "dislike" | "download" | "edit" | "heart-filled" | "heart" | "invisible" | "like" | "lock-open" | "lock" | "login" | "logout" | "maximize" | "minimize" | "mute" | "password-invisible" | "password-visible" | "play-filled" | "play" | "remove-filled" | "remove" | "save" | "send" | "settings" | "share" | "shortcut" | "shuffle" | "skip-back-10sec" | "skip-back-30sec" | "skip-forward-10sec" | "skip-forward-30sec" | "star-filled" | "star" | "switch-arrows" | "sync" | "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-neutral" | "smiley-sad" | "smiley-very-happy" | "smiley-very-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" | "AI-star" | "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" | "focus" | "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" | "smart-connect" | "snowflake" | "speedometer" | "spyware" | "suitcase" | "sustainability" | "tag" | "temperature" | "thinking" | "train" | "transfer" | "undo" | "wavelength" | "weather" | "world" | "android" | "apple" | "bankid-norway" | "bankid" | "facebook" | "instagram" | "linkedin" | "snapchat" | "telia-logo" | "whatsapp" | "windows" | "youtube" | "alert-filled" | "check-circle-filled" | "check-circle" | "error-filled" | "error" | "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" | "close" | "grid-view" | "list-view" | "minus-bold" | "minus" | "more-horizontal" | "more-vertical" | "plus" | "services" | "sorter" | "table-view" | undefined;
|
|
10
10
|
} & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const jsxRuntime = require("react/jsx-runtime");
|
|
4
|
+
const React = require("react");
|
|
5
|
+
const clsx = require("clsx");
|
|
6
|
+
const components_button_button = require("../button/button.cjs");
|
|
7
|
+
require("../../assets/sprite.6511e521-teddy.svg");
|
|
8
|
+
const components_icon_icon = require("../icon/icon.cjs");
|
|
9
|
+
const styles = {
|
|
10
|
+
"teddy-dashed-button": "_teddy-dashed-button_1wq9c_1",
|
|
11
|
+
"teddy-dashed-button--align-start": "_teddy-dashed-button--align-start_1wq9c_22",
|
|
12
|
+
"teddy-dashed-button__icon-wrapper": "_teddy-dashed-button__icon-wrapper_1wq9c_26",
|
|
13
|
+
"teddy-dashed-button__chevron": "_teddy-dashed-button__chevron_1wq9c_29",
|
|
14
|
+
"teddy-dashed-button__content": "_teddy-dashed-button__content_1wq9c_32",
|
|
15
|
+
"teddy-dashed-button__content--align-start": "_teddy-dashed-button__content--align-start_1wq9c_37",
|
|
16
|
+
"teddy-dashed-button__icon": "_teddy-dashed-button__icon_1wq9c_26"
|
|
17
|
+
};
|
|
18
|
+
const rootClassName = "teddy-dashed-button";
|
|
19
|
+
const Root = React.forwardRef(
|
|
20
|
+
({ className, children, loading, alignment = "center", ...props }, forwardRef) => {
|
|
21
|
+
const classes = clsx(styles[rootClassName], className, {
|
|
22
|
+
[styles[`${rootClassName}--align-start`]]: alignment === "start"
|
|
23
|
+
});
|
|
24
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(components_button_button.Button, { variant: "secondary", ...props, ref: forwardRef, loading, className: classes, children: [
|
|
25
|
+
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
26
|
+
"div",
|
|
27
|
+
{
|
|
28
|
+
className: clsx(styles[`${rootClassName}__content`], {
|
|
29
|
+
[styles[`${rootClassName}__content--align-start`]]: alignment === "start"
|
|
30
|
+
}),
|
|
31
|
+
children: [
|
|
32
|
+
!loading && /* @__PURE__ */ jsxRuntime.jsx("div", { className: styles[`${rootClassName}__icon-wrapper`], children: /* @__PURE__ */ jsxRuntime.jsx("span", { children: /* @__PURE__ */ jsxRuntime.jsx(components_icon_icon.Icon, { className: styles[`${rootClassName}__icon`], name: "plus" }) }) }),
|
|
33
|
+
children
|
|
34
|
+
]
|
|
35
|
+
}
|
|
36
|
+
),
|
|
37
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: styles[`${rootClassName}__chevron`], children: /* @__PURE__ */ jsxRuntime.jsx(components_icon_icon.Icon, { name: "chevron-right" }) })
|
|
38
|
+
] });
|
|
39
|
+
}
|
|
40
|
+
);
|
|
41
|
+
Root.displayName = "DashedButton";
|
|
42
|
+
const DashedButton = Root;
|
|
43
|
+
exports.DashedButton = DashedButton;
|
|
44
|
+
exports.Root = Root;
|
|
45
|
+
exports.rootClassName = rootClassName;
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { Button } from '../button';
|
|
3
|
+
|
|
4
|
+
export declare const rootClassName = "teddy-dashed-button";
|
|
5
|
+
export type DashedButtonProps = Omit<React.ComponentPropsWithoutRef<typeof Button>, 'variant' | 'borderStyle' | 'iconOnly'> & {
|
|
6
|
+
alignment?: 'start' | 'center';
|
|
7
|
+
};
|
|
8
|
+
export declare const Root: 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 & {
|
|
9
|
+
display?: import('../../utils/generate-styling').DisplayChildren | undefined;
|
|
10
|
+
} & {
|
|
11
|
+
asChild?: boolean | undefined;
|
|
12
|
+
loading?: boolean | undefined;
|
|
13
|
+
fullWidth?: boolean | undefined;
|
|
14
|
+
size?: "sm" | "md" | "lg" | undefined;
|
|
15
|
+
variant?: "primary" | "text" | "list-item" | "secondary" | "destructive" | "tertiary-purple" | "text-underline" | "expressive" | "primary-negative" | "secondary-negative" | "destructive-negative" | "tertiary-purple-negative" | "text-negative" | "expressive-negative" | undefined;
|
|
16
|
+
borderStyle?: ("dashed" | "default") | undefined;
|
|
17
|
+
} & {
|
|
18
|
+
iconOnly: true;
|
|
19
|
+
"aria-label": string;
|
|
20
|
+
} & 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 & {
|
|
21
|
+
display?: import('../../utils/generate-styling').DisplayChildren | undefined;
|
|
22
|
+
} & {
|
|
23
|
+
asChild?: boolean | undefined;
|
|
24
|
+
loading?: boolean | undefined;
|
|
25
|
+
fullWidth?: boolean | undefined;
|
|
26
|
+
size?: "sm" | "md" | "lg" | undefined;
|
|
27
|
+
variant?: "primary" | "text" | "list-item" | "secondary" | "destructive" | "tertiary-purple" | "text-underline" | "expressive" | "primary-negative" | "secondary-negative" | "destructive-negative" | "tertiary-purple-negative" | "text-negative" | "expressive-negative" | undefined;
|
|
28
|
+
borderStyle?: ("dashed" | "default") | undefined;
|
|
29
|
+
} & {
|
|
30
|
+
iconOnly?: false | undefined;
|
|
31
|
+
"aria-label"?: string | undefined;
|
|
32
|
+
} & React.RefAttributes<HTMLButtonElement>, "ref">, "variant" | "borderStyle" | "iconOnly"> & {
|
|
33
|
+
alignment?: "center" | "start" | undefined;
|
|
34
|
+
} & React.RefAttributes<HTMLButtonElement>>;
|
|
35
|
+
declare const DashedButton: 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 & {
|
|
36
|
+
display?: import('../../utils/generate-styling').DisplayChildren | undefined;
|
|
37
|
+
} & {
|
|
38
|
+
asChild?: boolean | undefined;
|
|
39
|
+
loading?: boolean | undefined;
|
|
40
|
+
fullWidth?: boolean | undefined;
|
|
41
|
+
size?: "sm" | "md" | "lg" | undefined;
|
|
42
|
+
variant?: "primary" | "text" | "list-item" | "secondary" | "destructive" | "tertiary-purple" | "text-underline" | "expressive" | "primary-negative" | "secondary-negative" | "destructive-negative" | "tertiary-purple-negative" | "text-negative" | "expressive-negative" | undefined;
|
|
43
|
+
borderStyle?: ("dashed" | "default") | undefined;
|
|
44
|
+
} & {
|
|
45
|
+
iconOnly: true;
|
|
46
|
+
"aria-label": string;
|
|
47
|
+
} & 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 & {
|
|
48
|
+
display?: import('../../utils/generate-styling').DisplayChildren | undefined;
|
|
49
|
+
} & {
|
|
50
|
+
asChild?: boolean | undefined;
|
|
51
|
+
loading?: boolean | undefined;
|
|
52
|
+
fullWidth?: boolean | undefined;
|
|
53
|
+
size?: "sm" | "md" | "lg" | undefined;
|
|
54
|
+
variant?: "primary" | "text" | "list-item" | "secondary" | "destructive" | "tertiary-purple" | "text-underline" | "expressive" | "primary-negative" | "secondary-negative" | "destructive-negative" | "tertiary-purple-negative" | "text-negative" | "expressive-negative" | undefined;
|
|
55
|
+
borderStyle?: ("dashed" | "default") | undefined;
|
|
56
|
+
} & {
|
|
57
|
+
iconOnly?: false | undefined;
|
|
58
|
+
"aria-label"?: string | undefined;
|
|
59
|
+
} & React.RefAttributes<HTMLButtonElement>, "ref">, "variant" | "borderStyle" | "iconOnly"> & {
|
|
60
|
+
alignment?: "center" | "start" | undefined;
|
|
61
|
+
} & React.RefAttributes<HTMLButtonElement>>;
|
|
62
|
+
export { DashedButton };
|