@telia/teddy 0.6.11 → 0.6.13
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-illustration.d.ts +1 -1
- package/dist/components/card/card-link.d.ts +1 -1
- package/dist/components/channel-button/channel-button-root.d.ts +6 -6
- package/dist/components/channel-button/index.d.ts +6 -6
- package/dist/components/checkbox/checkbox-group-list.d.ts +1 -1
- package/dist/components/checkbox/checkbox-group.d.ts +1 -1
- package/dist/components/checkbox/index.d.ts +2 -2
- package/dist/components/chip/chip-indicator.d.ts +1 -1
- package/dist/components/chip/index.d.ts +1 -1
- package/dist/components/circle-bar/css.cjs +9 -9
- package/dist/components/circle-bar/css.js +9 -9
- package/dist/components/dashboard-card/dashboard-card-avatar.d.ts +1 -1
- package/dist/components/expandable-card/expandable-card-button.d.ts +4 -4
- package/dist/components/expandable-card/index.d.ts +5 -5
- package/dist/components/flip-card/flip-card-trigger.d.ts +4 -4
- package/dist/components/icon/utils.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/modal/modal-close.cjs +1 -0
- package/dist/components/modal/modal-close.js +1 -0
- package/dist/components/modal/modal-title.d.ts +1 -1
- 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 +1 -1
- package/dist/components/notification/index.d.ts +4 -4
- package/dist/components/notification/notification-icon.d.ts +1 -1
- package/dist/components/notification/notification-root.d.ts +4 -4
- 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-title.cjs +1 -0
- package/dist/components/radio-card-group/radio-card-group-item-title.js +1 -0
- 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 +5 -5
- package/dist/components/scroll-area/scroll-area-button.d.ts +4 -4
- package/dist/components/select/index.cjs +31 -0
- package/dist/components/select/index.d.ts +51 -0
- package/dist/components/select/index.js +31 -0
- package/dist/components/select/select-content.cjs +38 -0
- package/dist/components/select/select-content.d.ts +5 -0
- package/dist/components/select/select-content.js +21 -0
- package/dist/components/select/select-group.cjs +31 -0
- package/dist/components/select/select-group.d.ts +9 -0
- package/dist/components/select/select-group.js +14 -0
- package/dist/components/select/select-indicator.cjs +14 -0
- package/dist/components/select/select-indicator.d.ts +5 -0
- package/dist/components/select/select-indicator.js +14 -0
- package/dist/components/select/select-item.cjs +34 -0
- package/dist/components/select/select-item.d.ts +5 -0
- package/dist/components/select/select-item.js +17 -0
- package/dist/components/select/select-portal.cjs +27 -0
- package/dist/components/select/select-portal.d.ts +5 -0
- package/dist/components/select/select-portal.js +10 -0
- package/dist/components/select/select-root.cjs +89 -0
- package/dist/components/select/select-root.d.ts +49 -0
- package/dist/components/select/select-root.js +72 -0
- package/dist/components/select/select-trigger.cjs +63 -0
- package/dist/components/select/select-trigger.d.ts +16 -0
- package/dist/components/select/select-trigger.js +46 -0
- package/dist/components/select/select-value.cjs +29 -0
- package/dist/components/select/select-value.d.ts +9 -0
- package/dist/components/select/select-value.js +12 -0
- package/dist/components/select/select-viewport.cjs +30 -0
- package/dist/components/select/select-viewport.d.ts +5 -0
- package/dist/components/select/select-viewport.js +13 -0
- 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 +4 -4
- package/dist/components/tabs/tabs-scroll.d.ts +1 -1
- package/dist/components/text-field/index.d.ts +4 -4
- package/dist/components/text-field/text-field-button.d.ts +4 -4
- package/dist/components/toggle/toggle.d.ts +1 -1
- 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 +144 -48
- package/package.json +2 -1
|
@@ -3,6 +3,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
|
3
3
|
require("react/jsx-runtime");
|
|
4
4
|
require("react");
|
|
5
5
|
require("@radix-ui/react-dialog");
|
|
6
|
+
require("../select/index.cjs");
|
|
6
7
|
require("../avatar/index.cjs");
|
|
7
8
|
require("../dashboard-card/index.cjs");
|
|
8
9
|
require("../table/index.cjs");
|
|
@@ -11,7 +11,7 @@ declare const Title: React.ForwardRefExoticComponent<({
|
|
|
11
11
|
asChild: true;
|
|
12
12
|
as?: undefined;
|
|
13
13
|
} & Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, "ref">) | ({
|
|
14
|
-
as?: "
|
|
14
|
+
as?: "h2" | "h3" | "h1" | "h4" | "h5" | "h6" | undefined;
|
|
15
15
|
asChild?: false | undefined;
|
|
16
16
|
} & Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, "ref">)))))))))) & React.RefAttributes<HTMLHeadingElement>>;
|
|
17
17
|
export { Title };
|
|
@@ -12,6 +12,7 @@ require("@radix-ui/react-slot");
|
|
|
12
12
|
require("@radix-ui/react-use-controllable-state");
|
|
13
13
|
require("../../utils/generate-styling/index.cjs");
|
|
14
14
|
require("../../tokens/motion/variables.cjs");
|
|
15
|
+
require("../select/index.cjs");
|
|
15
16
|
require("../avatar/index.cjs");
|
|
16
17
|
require("../dashboard-card/index.cjs");
|
|
17
18
|
require("../table/index.cjs");
|
|
@@ -113,7 +113,7 @@ declare const NavigationMenu: React.ForwardRefExoticComponent<Omit<NavigationMen
|
|
|
113
113
|
variant?: "default" | "float" | undefined;
|
|
114
114
|
} & React.RefAttributes<HTMLDivElement>>;
|
|
115
115
|
Link: React.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuLinkProps & React.RefAttributes<HTMLAnchorElement>, "ref"> & {
|
|
116
|
-
variant?: "
|
|
116
|
+
variant?: "button" | "small" | "default" | undefined;
|
|
117
117
|
} & React.RefAttributes<HTMLAnchorElement>>;
|
|
118
118
|
Indicator: React.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuIndicatorProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
119
119
|
Viewport: React.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuViewportProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -10,6 +10,7 @@ import "@radix-ui/react-slot";
|
|
|
10
10
|
import "@radix-ui/react-use-controllable-state";
|
|
11
11
|
import "../../utils/generate-styling/index.js";
|
|
12
12
|
import "../../tokens/motion/variables.js";
|
|
13
|
+
import "../select/index.js";
|
|
13
14
|
import "../avatar/index.js";
|
|
14
15
|
import "../dashboard-card/index.js";
|
|
15
16
|
import "../table/index.js";
|
|
@@ -3,7 +3,7 @@ import { Icon as PrimitiveIcon } from '../icon';
|
|
|
3
3
|
|
|
4
4
|
export type IconProps = Partial<React.ComponentPropsWithoutRef<typeof PrimitiveIcon>>;
|
|
5
5
|
export declare const Icon: React.ForwardRefExoticComponent<Partial<Omit<React.SVGProps<SVGSVGElement> & {
|
|
6
|
-
name: "
|
|
6
|
+
name: "link" | "map" | "menu" | "search" | "summary" | "time" | "video" | "filter" | "image" | "stop" | "key" | "x" | "download" | "split" | "alert" | "radio" | "email" | "copy" | "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" | "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" | "visible" | "volume" | "zoom-out" | "zoom" | "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" | "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" | "add" | "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" | "infinite" | "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" | "reverse" | "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" | "help" | "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
7
|
size?: ("font" | "xxs" | "xs" | "sm" | "md" | "lg" | "xl") | undefined;
|
|
8
8
|
children?: React.ReactNode;
|
|
9
9
|
}, "ref">> & React.RefAttributes<SVGSVGElement>>;
|
|
@@ -40,7 +40,7 @@ declare const Notification: import('react').ForwardRefExoticComponent<Omit<Omit<
|
|
|
40
40
|
bordered?: boolean | undefined;
|
|
41
41
|
shadow?: boolean | undefined;
|
|
42
42
|
backgroundImageSrc?: string | undefined;
|
|
43
|
-
imageGradient?: ("
|
|
43
|
+
imageGradient?: ("default" | "dark" | "light") | undefined;
|
|
44
44
|
layout?: import('../card/card').Layout | undefined;
|
|
45
45
|
} & import('react').RefAttributes<HTMLDivElement>, "ref"> | Omit<Omit<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & 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 & {
|
|
46
46
|
display?: import('../../utils/generate-styling').DisplayChildren | undefined;
|
|
@@ -56,7 +56,7 @@ declare const Notification: import('react').ForwardRefExoticComponent<Omit<Omit<
|
|
|
56
56
|
bordered?: boolean | undefined;
|
|
57
57
|
shadow?: boolean | undefined;
|
|
58
58
|
backgroundImageSrc?: string | undefined;
|
|
59
|
-
imageGradient?: ("
|
|
59
|
+
imageGradient?: ("default" | "dark" | "light") | undefined;
|
|
60
60
|
layout?: import('../card/card').Layout | undefined;
|
|
61
61
|
} & import('react').RefAttributes<HTMLDivElement>, "ref"> | Omit<Omit<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & 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 & {
|
|
62
62
|
display?: import('../../utils/generate-styling').DisplayChildren | undefined;
|
|
@@ -72,9 +72,9 @@ declare const Notification: import('react').ForwardRefExoticComponent<Omit<Omit<
|
|
|
72
72
|
bordered?: boolean | undefined;
|
|
73
73
|
shadow?: boolean | undefined;
|
|
74
74
|
backgroundImageSrc?: string | undefined;
|
|
75
|
-
imageGradient?: ("
|
|
75
|
+
imageGradient?: ("default" | "dark" | "light") | undefined;
|
|
76
76
|
layout?: import('../card/card').Layout | undefined;
|
|
77
|
-
} & import('react').RefAttributes<HTMLDivElement>, "ref">, "
|
|
77
|
+
} & import('react').RefAttributes<HTMLDivElement>, "ref">, "as" | "layout" | "variant"> & {
|
|
78
78
|
variant?: "error" | "warning" | "beige" | "gray" | "teal" | "information" | "success" | undefined;
|
|
79
79
|
type?: "card" | "tile" | undefined;
|
|
80
80
|
open?: boolean | undefined;
|
|
@@ -3,7 +3,7 @@ import { Icon as IconPrimitives } from '../icon';
|
|
|
3
3
|
|
|
4
4
|
export type IconProps = Partial<React.ComponentPropsWithoutRef<typeof IconPrimitives>>;
|
|
5
5
|
export declare const Icon: React.ForwardRefExoticComponent<Partial<Omit<React.SVGProps<SVGSVGElement> & {
|
|
6
|
-
name: "
|
|
6
|
+
name: "link" | "map" | "menu" | "search" | "summary" | "time" | "video" | "filter" | "image" | "stop" | "key" | "x" | "download" | "split" | "alert" | "radio" | "email" | "copy" | "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" | "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" | "visible" | "volume" | "zoom-out" | "zoom" | "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" | "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" | "add" | "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" | "infinite" | "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" | "reverse" | "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" | "help" | "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
7
|
size?: ("font" | "xxs" | "xs" | "sm" | "md" | "lg" | "xl") | undefined;
|
|
8
8
|
children?: React.ReactNode;
|
|
9
9
|
}, "ref">> & React.RefAttributes<SVGSVGElement>>;
|
|
@@ -34,7 +34,7 @@ export declare const Root: React.ForwardRefExoticComponent<Omit<Omit<Omit<Omit<R
|
|
|
34
34
|
bordered?: boolean | undefined;
|
|
35
35
|
shadow?: boolean | undefined;
|
|
36
36
|
backgroundImageSrc?: string | undefined;
|
|
37
|
-
imageGradient?: ("
|
|
37
|
+
imageGradient?: ("default" | "dark" | "light") | undefined;
|
|
38
38
|
layout?: import('../card/card').Layout | undefined;
|
|
39
39
|
} & React.RefAttributes<HTMLDivElement>, "ref"> | Omit<Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & 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 & {
|
|
40
40
|
display?: import('../../utils/generate-styling').DisplayChildren | undefined;
|
|
@@ -50,7 +50,7 @@ export declare const Root: React.ForwardRefExoticComponent<Omit<Omit<Omit<Omit<R
|
|
|
50
50
|
bordered?: boolean | undefined;
|
|
51
51
|
shadow?: boolean | undefined;
|
|
52
52
|
backgroundImageSrc?: string | undefined;
|
|
53
|
-
imageGradient?: ("
|
|
53
|
+
imageGradient?: ("default" | "dark" | "light") | undefined;
|
|
54
54
|
layout?: import('../card/card').Layout | undefined;
|
|
55
55
|
} & React.RefAttributes<HTMLDivElement>, "ref"> | Omit<Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & 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 & {
|
|
56
56
|
display?: import('../../utils/generate-styling').DisplayChildren | undefined;
|
|
@@ -66,9 +66,9 @@ export declare const Root: React.ForwardRefExoticComponent<Omit<Omit<Omit<Omit<R
|
|
|
66
66
|
bordered?: boolean | undefined;
|
|
67
67
|
shadow?: boolean | undefined;
|
|
68
68
|
backgroundImageSrc?: string | undefined;
|
|
69
|
-
imageGradient?: ("
|
|
69
|
+
imageGradient?: ("default" | "dark" | "light") | undefined;
|
|
70
70
|
layout?: import('../card/card').Layout | undefined;
|
|
71
|
-
} & React.RefAttributes<HTMLDivElement>, "ref">, "
|
|
71
|
+
} & React.RefAttributes<HTMLDivElement>, "ref">, "as" | "layout" | "variant"> & {
|
|
72
72
|
/**
|
|
73
73
|
* The variant of the notification.
|
|
74
74
|
*
|
|
@@ -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("../select/index.cjs");
|
|
15
16
|
require("../avatar/index.cjs");
|
|
16
17
|
require("../dashboard-card/index.cjs");
|
|
17
18
|
require("../table/index.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 "../select/index.js";
|
|
13
14
|
import "../avatar/index.js";
|
|
14
15
|
import "../dashboard-card/index.js";
|
|
15
16
|
import "../table/index.js";
|
|
@@ -3,7 +3,7 @@ import { ItemProps } from './scroll-area-item';
|
|
|
3
3
|
import { ButtonProps } from './scroll-area-button';
|
|
4
4
|
|
|
5
5
|
export declare const ScrollArea: import('react').ForwardRefExoticComponent<Omit<import('@radix-ui/react-scroll-area').ScrollAreaProps & import('react').RefAttributes<HTMLDivElement>, "ref"> & {
|
|
6
|
-
variant?: ("button" | "
|
|
6
|
+
variant?: ("button" | "hidden" | "scrollbar") | undefined;
|
|
7
7
|
scrollBehavior?: "auto" | "smooth" | undefined;
|
|
8
8
|
viewPortClassName?: string | undefined;
|
|
9
9
|
barClassName?: string | undefined;
|
|
@@ -21,8 +21,8 @@ export declare const ScrollArea: import('react').ForwardRefExoticComponent<Omit<
|
|
|
21
21
|
loading?: boolean | undefined;
|
|
22
22
|
fullWidth?: boolean | undefined;
|
|
23
23
|
size?: "sm" | "md" | "lg" | undefined;
|
|
24
|
-
variant?: "
|
|
25
|
-
borderStyle?: ("
|
|
24
|
+
variant?: "text" | "list-item" | "primary" | "secondary" | "destructive" | "tertiary-purple" | "expressive" | "primary-negative" | "secondary-negative" | "destructive-negative" | "tertiary-purple-negative" | "text-negative" | "expressive-negative" | undefined;
|
|
25
|
+
borderStyle?: ("default" | "dashed") | undefined;
|
|
26
26
|
} & {
|
|
27
27
|
iconOnly: true;
|
|
28
28
|
"aria-label": string;
|
|
@@ -33,8 +33,8 @@ export declare const ScrollArea: import('react').ForwardRefExoticComponent<Omit<
|
|
|
33
33
|
loading?: boolean | undefined;
|
|
34
34
|
fullWidth?: boolean | undefined;
|
|
35
35
|
size?: "sm" | "md" | "lg" | undefined;
|
|
36
|
-
variant?: "
|
|
37
|
-
borderStyle?: ("
|
|
36
|
+
variant?: "text" | "list-item" | "primary" | "secondary" | "destructive" | "tertiary-purple" | "expressive" | "primary-negative" | "secondary-negative" | "destructive-negative" | "tertiary-purple-negative" | "text-negative" | "expressive-negative" | undefined;
|
|
37
|
+
borderStyle?: ("default" | "dashed") | undefined;
|
|
38
38
|
} & {
|
|
39
39
|
iconOnly?: false | undefined;
|
|
40
40
|
"aria-label"?: string | undefined;
|
|
@@ -17,8 +17,8 @@ export declare const Button: React.ForwardRefExoticComponent<Omit<Omit<Omit<Reac
|
|
|
17
17
|
loading?: boolean | undefined;
|
|
18
18
|
fullWidth?: boolean | undefined;
|
|
19
19
|
size?: "sm" | "md" | "lg" | undefined;
|
|
20
|
-
variant?: "
|
|
21
|
-
borderStyle?: ("
|
|
20
|
+
variant?: "text" | "list-item" | "primary" | "secondary" | "destructive" | "tertiary-purple" | "expressive" | "primary-negative" | "secondary-negative" | "destructive-negative" | "tertiary-purple-negative" | "text-negative" | "expressive-negative" | undefined;
|
|
21
|
+
borderStyle?: ("default" | "dashed") | undefined;
|
|
22
22
|
} & {
|
|
23
23
|
iconOnly: true;
|
|
24
24
|
"aria-label": string;
|
|
@@ -29,8 +29,8 @@ export declare const Button: React.ForwardRefExoticComponent<Omit<Omit<Omit<Reac
|
|
|
29
29
|
loading?: boolean | undefined;
|
|
30
30
|
fullWidth?: boolean | undefined;
|
|
31
31
|
size?: "sm" | "md" | "lg" | undefined;
|
|
32
|
-
variant?: "
|
|
33
|
-
borderStyle?: ("
|
|
32
|
+
variant?: "text" | "list-item" | "primary" | "secondary" | "destructive" | "tertiary-purple" | "expressive" | "primary-negative" | "secondary-negative" | "destructive-negative" | "tertiary-purple-negative" | "text-negative" | "expressive-negative" | undefined;
|
|
33
|
+
borderStyle?: ("default" | "dashed") | undefined;
|
|
34
34
|
} & {
|
|
35
35
|
iconOnly?: false | undefined;
|
|
36
36
|
"aria-label"?: string | undefined;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const components_select_selectRoot = require("./select-root.cjs");
|
|
4
|
+
const components_select_selectItem = require("./select-item.cjs");
|
|
5
|
+
const components_select_selectGroup = require("./select-group.cjs");
|
|
6
|
+
const components_select_selectViewport = require("./select-viewport.cjs");
|
|
7
|
+
const components_select_selectContent = require("./select-content.cjs");
|
|
8
|
+
const components_select_selectValue = require("./select-value.cjs");
|
|
9
|
+
const components_select_selectTrigger = require("./select-trigger.cjs");
|
|
10
|
+
const components_select_selectPortal = require("./select-portal.cjs");
|
|
11
|
+
const components_select_selectIndicator = require("./select-indicator.cjs");
|
|
12
|
+
components_select_selectRoot.Root.displayName = "Select";
|
|
13
|
+
components_select_selectItem.Item.displayName = "Select.Item";
|
|
14
|
+
components_select_selectGroup.Group.displayName = "Select.Group";
|
|
15
|
+
components_select_selectViewport.Viewport.displayName = "Select.Viewport";
|
|
16
|
+
components_select_selectContent.Content.displayName = "Select.Content";
|
|
17
|
+
components_select_selectValue.Value.displayName = "Select.Value";
|
|
18
|
+
components_select_selectTrigger.Trigger.displayName = "Select.Trigger";
|
|
19
|
+
components_select_selectPortal.Portal.displayName = "Select.Portal";
|
|
20
|
+
components_select_selectIndicator.Indicator.displayName = "Select.Indicator";
|
|
21
|
+
const Select = Object.assign(components_select_selectRoot.Root, {
|
|
22
|
+
Indicator: components_select_selectIndicator.Indicator,
|
|
23
|
+
Item: components_select_selectItem.Item,
|
|
24
|
+
Group: components_select_selectGroup.Group,
|
|
25
|
+
Viewport: components_select_selectViewport.Viewport,
|
|
26
|
+
Content: components_select_selectContent.Content,
|
|
27
|
+
Value: components_select_selectValue.Value,
|
|
28
|
+
Trigger: components_select_selectTrigger.Trigger,
|
|
29
|
+
Portal: components_select_selectPortal.Portal
|
|
30
|
+
});
|
|
31
|
+
exports.Select = Select;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { RootProps } from './select-root';
|
|
2
|
+
import { ItemProps } from './select-item';
|
|
3
|
+
import { GroupProps } from './select-group';
|
|
4
|
+
import { ViewportProps } from './select-viewport';
|
|
5
|
+
import { ContentProps } from './select-content';
|
|
6
|
+
import { ValueProps } from './select-value';
|
|
7
|
+
import { TriggerProps } from './select-trigger';
|
|
8
|
+
import { PortalProps } from './select-portal';
|
|
9
|
+
import { IndicatorProps } from './select-indicator';
|
|
10
|
+
|
|
11
|
+
export declare const Select: import('react').ForwardRefExoticComponent<import('@radix-ui/react-select').SelectProps & {
|
|
12
|
+
name: string;
|
|
13
|
+
validationState?: import('./select-root').ValidationState | undefined;
|
|
14
|
+
onValueChange?: ((value: string) => string) | undefined;
|
|
15
|
+
label?: string | undefined;
|
|
16
|
+
helperText?: string | undefined;
|
|
17
|
+
placeholder?: string | undefined;
|
|
18
|
+
errorText?: string | undefined;
|
|
19
|
+
readonly?: boolean | undefined;
|
|
20
|
+
value?: string | undefined;
|
|
21
|
+
className?: string | undefined;
|
|
22
|
+
frameClassName?: string | undefined;
|
|
23
|
+
options: string[];
|
|
24
|
+
} & import('react').RefAttributes<never>> & {
|
|
25
|
+
Indicator: import('react').ForwardRefExoticComponent<Omit<Partial<import('..').IconProps>, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
26
|
+
Item: import('react').ForwardRefExoticComponent<Omit<import('@radix-ui/react-select').SelectItemProps & import('react').RefAttributes<HTMLDivElement>, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
|
|
27
|
+
Group: import('react').ForwardRefExoticComponent<Omit<import('@radix-ui/react-select').SelectGroupProps & import('react').RefAttributes<HTMLDivElement>, "ref"> & {
|
|
28
|
+
options: string[];
|
|
29
|
+
} & import('react').RefAttributes<HTMLDivElement>>;
|
|
30
|
+
Viewport: import('react').ForwardRefExoticComponent<Omit<import('@radix-ui/react-select').SelectViewportProps & import('react').RefAttributes<HTMLDivElement>, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
|
|
31
|
+
Content: import('react').ForwardRefExoticComponent<Omit<import('@radix-ui/react-select').SelectContentProps & import('react').RefAttributes<HTMLDivElement>, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
|
|
32
|
+
Value: import('react').ForwardRefExoticComponent<Omit<import('@radix-ui/react-select').SelectValueProps & import('react').RefAttributes<HTMLSpanElement>, "ref"> & {
|
|
33
|
+
placeholder?: string | undefined;
|
|
34
|
+
} & import('react').RefAttributes<HTMLSpanElement>>;
|
|
35
|
+
Trigger: import('react').ForwardRefExoticComponent<Omit<import('@radix-ui/react-select').SelectTriggerProps & import('react').RefAttributes<HTMLButtonElement>, "ref"> & {
|
|
36
|
+
validationState?: import('./select-root').ValidationState | undefined;
|
|
37
|
+
readonly?: boolean | undefined;
|
|
38
|
+
} & import('react').RefAttributes<HTMLButtonElement>>;
|
|
39
|
+
Portal: import('react').ForwardRefExoticComponent<import('@radix-ui/react-select').SelectPortalProps & import('react').RefAttributes<never>>;
|
|
40
|
+
};
|
|
41
|
+
export type SelectProps = {
|
|
42
|
+
Root: RootProps;
|
|
43
|
+
Indicator: IndicatorProps;
|
|
44
|
+
Item: ItemProps;
|
|
45
|
+
Group: GroupProps;
|
|
46
|
+
Viewport: ViewportProps;
|
|
47
|
+
Content: ContentProps;
|
|
48
|
+
Value: ValueProps;
|
|
49
|
+
Trigger: TriggerProps;
|
|
50
|
+
Portal: PortalProps;
|
|
51
|
+
};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { Root } from "./select-root.js";
|
|
2
|
+
import { Item } from "./select-item.js";
|
|
3
|
+
import { Group } from "./select-group.js";
|
|
4
|
+
import { Viewport } from "./select-viewport.js";
|
|
5
|
+
import { Content } from "./select-content.js";
|
|
6
|
+
import { Value } from "./select-value.js";
|
|
7
|
+
import { Trigger } from "./select-trigger.js";
|
|
8
|
+
import { Portal } from "./select-portal.js";
|
|
9
|
+
import { Indicator } from "./select-indicator.js";
|
|
10
|
+
Root.displayName = "Select";
|
|
11
|
+
Item.displayName = "Select.Item";
|
|
12
|
+
Group.displayName = "Select.Group";
|
|
13
|
+
Viewport.displayName = "Select.Viewport";
|
|
14
|
+
Content.displayName = "Select.Content";
|
|
15
|
+
Value.displayName = "Select.Value";
|
|
16
|
+
Trigger.displayName = "Select.Trigger";
|
|
17
|
+
Portal.displayName = "Select.Portal";
|
|
18
|
+
Indicator.displayName = "Select.Indicator";
|
|
19
|
+
const Select = Object.assign(Root, {
|
|
20
|
+
Indicator,
|
|
21
|
+
Item,
|
|
22
|
+
Group,
|
|
23
|
+
Viewport,
|
|
24
|
+
Content,
|
|
25
|
+
Value,
|
|
26
|
+
Trigger,
|
|
27
|
+
Portal
|
|
28
|
+
});
|
|
29
|
+
export {
|
|
30
|
+
Select
|
|
31
|
+
};
|
|
@@ -0,0 +1,38 @@
|
|
|
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 RadixSelect = require("@radix-ui/react-select");
|
|
6
|
+
const components_select_selectRoot = require("./select-root.cjs");
|
|
7
|
+
function _interopNamespaceDefault(e) {
|
|
8
|
+
const n = Object.create(null, { [Symbol.toStringTag]: { value: "Module" } });
|
|
9
|
+
if (e) {
|
|
10
|
+
for (const k in e) {
|
|
11
|
+
if (k !== "default") {
|
|
12
|
+
const d = Object.getOwnPropertyDescriptor(e, k);
|
|
13
|
+
Object.defineProperty(n, k, d.get ? d : {
|
|
14
|
+
enumerable: true,
|
|
15
|
+
get: () => e[k]
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
n.default = e;
|
|
21
|
+
return Object.freeze(n);
|
|
22
|
+
}
|
|
23
|
+
const RadixSelect__namespace = /* @__PURE__ */ _interopNamespaceDefault(RadixSelect);
|
|
24
|
+
const Content = React.forwardRef(
|
|
25
|
+
({ ...props }, forwardRef) => {
|
|
26
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
27
|
+
RadixSelect__namespace.Content,
|
|
28
|
+
{
|
|
29
|
+
...props,
|
|
30
|
+
ref: forwardRef,
|
|
31
|
+
position: "popper",
|
|
32
|
+
className: components_select_selectRoot.styles[`${components_select_selectRoot.rootClassName}__content`]
|
|
33
|
+
}
|
|
34
|
+
);
|
|
35
|
+
}
|
|
36
|
+
);
|
|
37
|
+
Content.displayName = "Select.Content";
|
|
38
|
+
exports.Content = Content;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
|
|
3
|
+
import * as RadixSelect from '@radix-ui/react-select';
|
|
4
|
+
export type ContentProps = React.ComponentPropsWithoutRef<typeof RadixSelect.Content> & {};
|
|
5
|
+
export declare const Content: React.ForwardRefExoticComponent<Omit<RadixSelect.SelectContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { jsx } from "react/jsx-runtime";
|
|
2
|
+
import React__default from "react";
|
|
3
|
+
import * as RadixSelect from "@radix-ui/react-select";
|
|
4
|
+
import { s as styles, rootClassName } from "./select-root.js";
|
|
5
|
+
const Content = React__default.forwardRef(
|
|
6
|
+
({ ...props }, forwardRef) => {
|
|
7
|
+
return /* @__PURE__ */ jsx(
|
|
8
|
+
RadixSelect.Content,
|
|
9
|
+
{
|
|
10
|
+
...props,
|
|
11
|
+
ref: forwardRef,
|
|
12
|
+
position: "popper",
|
|
13
|
+
className: styles[`${rootClassName}__content`]
|
|
14
|
+
}
|
|
15
|
+
);
|
|
16
|
+
}
|
|
17
|
+
);
|
|
18
|
+
Content.displayName = "Select.Content";
|
|
19
|
+
export {
|
|
20
|
+
Content
|
|
21
|
+
};
|
|
@@ -0,0 +1,31 @@
|
|
|
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 RadixSelect = require("@radix-ui/react-select");
|
|
6
|
+
const components_select_selectRoot = require("./select-root.cjs");
|
|
7
|
+
const components_select_selectItem = require("./select-item.cjs");
|
|
8
|
+
function _interopNamespaceDefault(e) {
|
|
9
|
+
const n = Object.create(null, { [Symbol.toStringTag]: { value: "Module" } });
|
|
10
|
+
if (e) {
|
|
11
|
+
for (const k in e) {
|
|
12
|
+
if (k !== "default") {
|
|
13
|
+
const d = Object.getOwnPropertyDescriptor(e, k);
|
|
14
|
+
Object.defineProperty(n, k, d.get ? d : {
|
|
15
|
+
enumerable: true,
|
|
16
|
+
get: () => e[k]
|
|
17
|
+
});
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
n.default = e;
|
|
22
|
+
return Object.freeze(n);
|
|
23
|
+
}
|
|
24
|
+
const RadixSelect__namespace = /* @__PURE__ */ _interopNamespaceDefault(RadixSelect);
|
|
25
|
+
const Group = React.forwardRef(
|
|
26
|
+
({ options, ...props }, forwardRef) => {
|
|
27
|
+
return /* @__PURE__ */ jsxRuntime.jsx(RadixSelect__namespace.Group, { ...props, ref: forwardRef, className: components_select_selectRoot.styles[`${components_select_selectRoot.rootClassName}__group`], children: options.map((option) => /* @__PURE__ */ jsxRuntime.jsx(components_select_selectItem.Item, { value: option, children: option })) });
|
|
28
|
+
}
|
|
29
|
+
);
|
|
30
|
+
Group.displayName = "Select.Group";
|
|
31
|
+
exports.Group = Group;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
|
|
3
|
+
import * as RadixSelect from '@radix-ui/react-select';
|
|
4
|
+
export type GroupProps = React.ComponentPropsWithoutRef<typeof RadixSelect.Group> & {
|
|
5
|
+
options: string[];
|
|
6
|
+
};
|
|
7
|
+
export declare const Group: React.ForwardRefExoticComponent<Omit<RadixSelect.SelectGroupProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
8
|
+
options: string[];
|
|
9
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { jsx } from "react/jsx-runtime";
|
|
2
|
+
import React__default from "react";
|
|
3
|
+
import * as RadixSelect from "@radix-ui/react-select";
|
|
4
|
+
import { s as styles, rootClassName } from "./select-root.js";
|
|
5
|
+
import { Item } from "./select-item.js";
|
|
6
|
+
const Group = React__default.forwardRef(
|
|
7
|
+
({ options, ...props }, forwardRef) => {
|
|
8
|
+
return /* @__PURE__ */ jsx(RadixSelect.Group, { ...props, ref: forwardRef, className: styles[`${rootClassName}__group`], children: options.map((option) => /* @__PURE__ */ jsx(Item, { value: option, children: option })) });
|
|
9
|
+
}
|
|
10
|
+
);
|
|
11
|
+
Group.displayName = "Select.Group";
|
|
12
|
+
export {
|
|
13
|
+
Group
|
|
14
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const jsxRuntime = require("react/jsx-runtime");
|
|
4
|
+
const React = require("react");
|
|
5
|
+
require("../../assets/sprite.c3af21af-teddy.svg");
|
|
6
|
+
const components_icon_icon = require("../icon/icon.cjs");
|
|
7
|
+
const Indicator = React.forwardRef(
|
|
8
|
+
({ className, children, name, ...props }, forwardRef) => {
|
|
9
|
+
const icon = name === "chevron-up" ? "chevron-up" : "chevron-down";
|
|
10
|
+
return /* @__PURE__ */ jsxRuntime.jsx(components_icon_icon.Icon, { "aria-hidden": true, name: icon, ...props, ref: forwardRef, className, children });
|
|
11
|
+
}
|
|
12
|
+
);
|
|
13
|
+
Indicator.displayName = "Indicator";
|
|
14
|
+
exports.Indicator = Indicator;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { jsx } from "react/jsx-runtime";
|
|
2
|
+
import React__default from "react";
|
|
3
|
+
import "../../assets/sprite.c3af21af-teddy.svg";
|
|
4
|
+
import { Icon } from "../icon/icon.js";
|
|
5
|
+
const Indicator = React__default.forwardRef(
|
|
6
|
+
({ className, children, name, ...props }, forwardRef) => {
|
|
7
|
+
const icon = name === "chevron-up" ? "chevron-up" : "chevron-down";
|
|
8
|
+
return /* @__PURE__ */ jsx(Icon, { "aria-hidden": true, name: icon, ...props, ref: forwardRef, className, children });
|
|
9
|
+
}
|
|
10
|
+
);
|
|
11
|
+
Indicator.displayName = "Indicator";
|
|
12
|
+
export {
|
|
13
|
+
Indicator
|
|
14
|
+
};
|