@telia/teddy 0.0.32 → 0.0.34
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/box/box.cjs +2 -2
- package/dist/components/box/box.js +2 -2
- package/dist/components/chip/chip-indicator.d.ts +2 -2
- package/dist/components/chip/chip.cjs +3 -3
- package/dist/components/chip/chip.js +3 -3
- package/dist/components/chip/index.d.ts +2 -2
- package/dist/components/color-dot/color-dot-root.cjs +29 -0
- package/dist/components/color-dot/color-dot-root.d.ts +20 -0
- package/dist/components/color-dot/color-dot-root.js +29 -0
- package/dist/components/color-dot/index.cjs +5 -0
- package/dist/components/color-dot/index.d.ts +12 -0
- package/dist/components/color-dot/index.js +5 -0
- package/dist/components/expandable-card/expandable-card-button.cjs +29 -0
- package/dist/components/expandable-card/expandable-card-button.d.ts +33 -0
- package/dist/components/expandable-card/expandable-card-button.js +29 -0
- package/dist/components/expandable-card/expandable-card-content.cjs +32 -0
- package/dist/components/expandable-card/expandable-card-content.d.ts +5 -0
- package/dist/components/expandable-card/expandable-card-content.js +15 -0
- package/dist/components/expandable-card/expandable-card-description.cjs +14 -0
- package/dist/components/expandable-card/expandable-card-description.d.ts +5 -0
- package/dist/components/expandable-card/expandable-card-description.js +14 -0
- package/dist/components/expandable-card/expandable-card-header.cjs +13 -0
- package/dist/components/expandable-card/expandable-card-header.d.ts +4 -0
- package/dist/components/expandable-card/expandable-card-header.js +13 -0
- package/dist/components/expandable-card/expandable-card-hidden.cjs +13 -0
- package/dist/components/expandable-card/expandable-card-hidden.d.ts +4 -0
- package/dist/components/expandable-card/expandable-card-hidden.js +13 -0
- package/dist/components/expandable-card/expandable-card-indicator.cjs +16 -0
- package/dist/components/expandable-card/expandable-card-indicator.d.ts +7 -0
- package/dist/components/expandable-card/expandable-card-indicator.js +16 -0
- package/dist/components/expandable-card/expandable-card-item.cjs +36 -0
- package/dist/components/expandable-card/expandable-card-item.d.ts +5 -0
- package/dist/components/expandable-card/expandable-card-item.js +19 -0
- package/dist/components/expandable-card/expandable-card-line.cjs +16 -0
- package/dist/components/expandable-card/expandable-card-line.d.ts +8 -0
- package/dist/components/expandable-card/expandable-card-line.js +16 -0
- package/dist/components/expandable-card/expandable-card-price.cjs +13 -0
- package/dist/components/expandable-card/expandable-card-price.d.ts +4 -0
- package/dist/components/expandable-card/expandable-card-price.js +13 -0
- package/dist/components/expandable-card/expandable-card-root.cjs +51 -0
- package/dist/components/expandable-card/expandable-card-root.d.ts +6 -0
- package/dist/components/expandable-card/expandable-card-root.js +34 -0
- package/dist/components/expandable-card/expandable-card-slot.cjs +33 -0
- package/dist/components/expandable-card/expandable-card-slot.d.ts +8 -0
- package/dist/components/expandable-card/expandable-card-slot.js +33 -0
- package/dist/components/expandable-card/expandable-card-trigger.cjs +35 -0
- package/dist/components/expandable-card/expandable-card-trigger.d.ts +8 -0
- package/dist/components/expandable-card/expandable-card-trigger.js +18 -0
- package/dist/components/expandable-card/index.cjs +37 -0
- package/dist/components/expandable-card/index.d.ts +61 -0
- package/dist/components/expandable-card/index.js +37 -0
- package/dist/components/flex/flex.cjs +2 -2
- package/dist/components/flex/flex.js +2 -2
- package/dist/components/grid/grid.cjs +2 -2
- package/dist/components/grid/grid.js +2 -2
- package/dist/components/index.cjs +10 -4
- package/dist/components/index.d.ts +3 -0
- package/dist/components/index.js +8 -2
- package/dist/components/list/index.d.ts +3 -0
- package/dist/components/list/list.cjs +15 -15
- package/dist/components/list/list.d.ts +6 -1
- package/dist/components/list/list.js +15 -15
- package/dist/components/modal/modal.cjs +5 -2
- package/dist/components/modal/modal.js +5 -2
- package/dist/components/navigation-menu/global-navigation/global-navigation-mobile.cjs +0 -1
- package/dist/components/navigation-menu/global-navigation/global-navigation-mobile.d.ts +4 -1
- package/dist/components/navigation-menu/global-navigation/global-navigation-mobile.js +0 -1
- package/dist/components/navigation-menu/global-navigation/global-navigation-my-pages.cjs +45 -8
- package/dist/components/navigation-menu/global-navigation/global-navigation-my-pages.js +46 -9
- package/dist/components/navigation-menu/global-navigation/global-navigation-root.d.ts +3 -1
- package/dist/components/navigation-menu/global-navigation/global-navigation-root.js +2 -2
- package/dist/components/navigation-menu/global-navigation/global-navigation-search-field.cjs +7 -34
- package/dist/components/navigation-menu/global-navigation/global-navigation-search-field.js +7 -34
- package/dist/components/navigation-menu/global-navigation/global-navigation-search.cjs +0 -1
- package/dist/components/navigation-menu/global-navigation/global-navigation-search.js +2 -3
- package/dist/components/navigation-menu/global-navigation/global-navigation-shopping-cart.js +2 -2
- package/dist/components/navigation-menu/navigation-menu.d.ts +1 -1
- package/dist/components/notabene/index.cjs +14 -2
- package/dist/components/notabene/index.d.ts +16 -1
- package/dist/components/notabene/index.js +13 -1
- package/dist/components/notabene/notabene-heading.cjs +25 -0
- package/dist/components/notabene/notabene-heading.d.ts +5 -0
- package/dist/components/notabene/notabene-heading.js +25 -0
- package/dist/components/notabene/notabene-icon.cjs +18 -0
- package/dist/components/notabene/notabene-icon.d.ts +9 -0
- package/dist/components/notabene/notabene-icon.js +18 -0
- package/dist/components/notabene/notabene-root.cjs +22 -0
- package/dist/components/notabene/notabene-root.d.ts +6 -0
- package/dist/components/notabene/notabene-root.js +22 -0
- package/dist/components/notabene/notabene.content.cjs +15 -0
- package/dist/components/notabene/notabene.content.d.ts +5 -0
- package/dist/components/notabene/notabene.content.js +15 -0
- package/dist/components/notification/notification.d.ts +2 -2
- package/dist/components/progress-bar/progress-bar.d.ts +1 -1
- package/dist/components/radio-group/index.cjs +20 -2
- package/dist/components/radio-group/index.d.ts +70 -2
- package/dist/components/radio-group/index.js +19 -1
- package/dist/components/radio-group/radio-group-indicator.cjs +32 -0
- package/dist/components/radio-group/radio-group-indicator.d.ts +5 -0
- package/dist/components/radio-group/radio-group-indicator.js +15 -0
- package/dist/components/radio-group/radio-group-item-label.cjs +18 -0
- package/dist/components/radio-group/radio-group-item-label.d.ts +15 -0
- package/dist/components/radio-group/radio-group-item-label.js +18 -0
- package/dist/components/radio-group/radio-group-item.cjs +16 -0
- package/dist/components/radio-group/radio-group-item.d.ts +9 -0
- package/dist/components/radio-group/radio-group-item.js +16 -0
- package/dist/components/radio-group/radio-group-label.cjs +29 -0
- package/dist/components/radio-group/radio-group-label.d.ts +66 -0
- package/dist/components/radio-group/radio-group-label.js +29 -0
- package/dist/components/radio-group/radio-group-root.cjs +46 -0
- package/dist/components/radio-group/radio-group-root.d.ts +52 -0
- package/dist/components/radio-group/radio-group-root.js +29 -0
- package/dist/components/radio-group/radio-group-trigger.cjs +38 -0
- package/dist/components/radio-group/radio-group-trigger.d.ts +14 -0
- package/dist/components/radio-group/radio-group-trigger.js +21 -0
- package/dist/components/ribbon/index.cjs +6 -0
- package/dist/components/ribbon/index.d.ts +6 -0
- package/dist/components/ribbon/index.js +6 -0
- package/dist/components/ribbon/ribbon-root.cjs +32 -0
- package/dist/components/ribbon/ribbon-root.d.ts +13 -0
- package/dist/components/ribbon/ribbon-root.js +32 -0
- package/dist/components/tabs/index.d.ts +2 -2
- package/dist/components/tabs/tabs-list.cjs +11 -0
- package/dist/components/tabs/tabs-list.js +11 -0
- package/dist/components/tabs/tabs-root.d.ts +1 -1
- package/dist/components/tabs/tabs-trigger.cjs +2 -2
- package/dist/components/tabs/tabs-trigger.d.ts +1 -1
- package/dist/components/tabs/tabs-trigger.js +2 -2
- package/dist/components/toggle/toggle.d.ts +2 -2
- package/dist/components/tooltip/index.d.ts +1 -1
- package/dist/main.cjs +10 -4
- package/dist/main.js +8 -2
- package/dist/style.css +725 -534
- 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
- package/dist/components/notabene/notabene.cjs +0 -35
- package/dist/components/notabene/notabene.d.ts +0 -15
- package/dist/components/notabene/notabene.js +0 -35
- package/dist/components/radio-group/radio-group.cjs +0 -110
- package/dist/components/radio-group/radio-group.d.ts +0 -161
- package/dist/components/radio-group/radio-group.js +0 -93
|
@@ -8,9 +8,9 @@ const reactSlot = require("@radix-ui/react-slot");
|
|
|
8
8
|
const styles = {};
|
|
9
9
|
const rootClassName = "teddy-box";
|
|
10
10
|
const Box = React.forwardRef((props, forwardRef) => {
|
|
11
|
-
const { className, asChild, style, ...rest } = utils_generateStyling_index.extractProps(props);
|
|
11
|
+
const { className, asChild, style, as = "div", ...rest } = utils_generateStyling_index.extractProps(props);
|
|
12
12
|
const classes = clsx([styles[`${rootClassName}`]], className);
|
|
13
|
-
const Comp = asChild ? reactSlot.Slot :
|
|
13
|
+
const Comp = asChild ? reactSlot.Slot : as;
|
|
14
14
|
return /* @__PURE__ */ jsxRuntime.jsx(Comp, { ...rest, style, ref: forwardRef, className: classes });
|
|
15
15
|
});
|
|
16
16
|
Box.displayName = "Box";
|
|
@@ -6,9 +6,9 @@ import { Slot } from "@radix-ui/react-slot";
|
|
|
6
6
|
const styles = {};
|
|
7
7
|
const rootClassName = "teddy-box";
|
|
8
8
|
const Box = React__default.forwardRef((props, forwardRef) => {
|
|
9
|
-
const { className, asChild, style, ...rest } = extractProps(props);
|
|
9
|
+
const { className, asChild, style, as = "div", ...rest } = extractProps(props);
|
|
10
10
|
const classes = clsx([styles[`${rootClassName}`]], className);
|
|
11
|
-
const Comp = asChild ? Slot :
|
|
11
|
+
const Comp = asChild ? Slot : as;
|
|
12
12
|
return /* @__PURE__ */ jsx(Comp, { ...rest, style, ref: forwardRef, className: classes });
|
|
13
13
|
});
|
|
14
14
|
Box.displayName = "Box";
|
|
@@ -3,7 +3,7 @@ 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: "link" | "
|
|
7
|
-
size?: ("
|
|
6
|
+
name: "key" | "search" | "split" | "link" | "add" | "reverse" | "infinite" | "radio" | "visible" | "copy" | "help" | "zoom-out" | "filter" | "x" | "zoom" | "menu" | "map" | "summary" | "time" | "video" | "image" | "stop" | "download" | "alert" | "email" | "close" | "error" | "focus" | "play" | "present" | "alarm-off" | "alarm-on" | "attachment" | "bookmark-filled" | "bookmark" | "copy-filled" | "dislike" | "edit" | "heart-filled" | "heart" | "invisible" | "like" | "lock-open" | "lock" | "login" | "logout" | "maximize" | "minimize" | "mute" | "password-invisible" | "password-visible" | "play-filled" | "remove-filled" | "remove" | "save" | "send" | "settings" | "share" | "shortcut" | "shuffle" | "sync" | "skip-back-10sec" | "skip-back-30sec" | "skip-forward-10sec" | "skip-forward-30sec" | "star-filled" | "star" | "switch-arrows" | "tv-next" | "tv-pause" | "tv-previous" | "tv-stop" | "upload" | "volume" | "connected-building" | "home" | "hospital" | "industry" | "premises-datacenter" | "premises-large" | "premises-medium" | "premises-small" | "premises" | "store" | "address-book" | "b2b-customer" | "care" | "chat-robot" | "chat" | "child-1" | "child-2" | "conversation" | "customer-dialogue" | "dsl-hub" | "end-user" | "handshake" | "headphones" | "letter" | "mms" | "new-contact" | "new-group" | "news" | "parental-guide" | "people-hub" | "people" | "portal" | "signature" | "smiley-happy" | "smiley-sad" | "sms" | "support" | "user-admin" | "vcard" | "voicemail" | "battery" | "bluetooth" | "broadband" | "broken-phone" | "cast" | "cloud-connect" | "connected" | "core-router" | "daas-device" | "data-transfer" | "desktop" | "devices" | "esim-simcard" | "esim" | "face-id" | "fiber" | "fingerprint" | "fiveg" | "fourg" | "home-installation" | "industrial-iot" | "internet" | "it-service" | "laptop" | "mobile-broadband" | "network" | "phone-recycling" | "phone-ringing" | "phone" | "rack" | "refill-card" | "remote-control" | "repair" | "roaming" | "router" | "secure-device" | "sense-car" | "server" | "service-device" | "service-supervision" | "slow-wifi" | "smart-wifi" | "smartphone" | "smartwatch" | "tablet" | "trade-phone" | "tv" | "usb" | "voice-switch" | "wallplug" | "wireless-off" | "wireless-weak" | "wireless" | "world-alert" | "world-off" | "world-question" | "bar-chart" | "doc" | "document-doc" | "document-edit" | "document-pdf" | "document-ppt" | "excel" | "folder-copy" | "folder-new" | "folder" | "gif" | "graph" | "media-content" | "org-chart" | "pie-chart" | "print" | "register" | "report" | "simcard" | "spell-check" | "credit-card" | "euro" | "invoice" | "kontantkort" | "kr" | "late-payment" | "money-back-euro" | "money-back-kr" | "money-euro" | "money-kr" | "pay-monthly-euro" | "pay-monthly-kr" | "pay-once-euro" | "pay-once-kr" | "payment-success" | "savings" | "wallet" | "airplay" | "camera" | "entertainment" | "external" | "film" | "games" | "megaphone" | "microphone" | "music" | "player-settings" | "record" | "stream" | "trailer" | "video-conference" | "activity-level" | "ai-robot" | "bag" | "basketball" | "blood-pressure" | "bulb" | "business-continuity" | "business-intelligence" | "calendar" | "cart" | "close-circle" | "cloud" | "coffee" | "compass" | "construction" | "cookie" | "delivery" | "drone" | "education" | "efficiency" | "environment" | "facemask" | "flag" | "food" | "fraud" | "getting-started" | "home-care" | "job-search" | "layers" | "measuring-health" | "moisture" | "offering" | "offshore" | "optimization" | "pebble" | "pet-dog" | "pin" | "plane" | "plus-minus" | "police" | "power-grid" | "press-button" | "price" | "pulse" | "recycle" | "reservation" | "route" | "ruler" | "satellite" | "secured-1" | "secured-2" | "security-camera" | "shopping" | "snowflake" | "speedometer" | "spyware" | "suitcase" | "sustainability" | "tag" | "temperature" | "thinking" | "train" | "transfer" | "undo" | "wavelength" | "weather" | "world" | "android" | "apple" | "bankid-norway" | "bankid" | "facebook" | "instagram" | "youtube" | "linkedin" | "snapchat" | "telia-logo" | "whatsapp" | "windows" | "alert-filled" | "check-circle-filled" | "check-circle" | "error-filled" | "info-filled" | "info" | "question-filled" | "question" | "warning" | "arrow-down" | "arrow-left" | "arrow-right" | "arrow-subdirectory" | "arrow-up" | "card-view" | "checkmark-bold" | "checkmark" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "grid-view" | "list-view" | "minus-bold" | "minus" | "more-horizontal" | "more-vertical" | "plus" | "services" | "sorter" | "table-view";
|
|
7
|
+
size?: ("sm" | "md" | "lg" | "xl" | "font" | "xxs" | "xs") | undefined;
|
|
8
8
|
children?: React.ReactNode;
|
|
9
9
|
}, "ref">> & React.RefAttributes<SVGSVGElement>>;
|
|
@@ -23,9 +23,9 @@ function _interopNamespaceDefault(e) {
|
|
|
23
23
|
}
|
|
24
24
|
const ToggleGroupPrimitive__namespace = /* @__PURE__ */ _interopNamespaceDefault(ToggleGroupPrimitive);
|
|
25
25
|
const styles = {
|
|
26
|
-
"teddy-chip__item": "_teddy-
|
|
27
|
-
"teddy-chip__item--unavailable": "_teddy-chip__item--
|
|
28
|
-
"teddy-chip__indicator": "_teddy-
|
|
26
|
+
"teddy-chip__item": "_teddy-chip__item_69tae_1",
|
|
27
|
+
"teddy-chip__item--unavailable": "_teddy-chip__item--unavailable_69tae_33",
|
|
28
|
+
"teddy-chip__indicator": "_teddy-chip__indicator_69tae_83"
|
|
29
29
|
};
|
|
30
30
|
const rootClassName = "teddy-chip";
|
|
31
31
|
const RootContext = React.createContext(void 0);
|
|
@@ -4,9 +4,9 @@ import clsx from "clsx";
|
|
|
4
4
|
import * as ToggleGroupPrimitive from "@radix-ui/react-toggle-group";
|
|
5
5
|
import { Flex } from "../flex/flex.js";
|
|
6
6
|
const styles = {
|
|
7
|
-
"teddy-chip__item": "_teddy-
|
|
8
|
-
"teddy-chip__item--unavailable": "_teddy-chip__item--
|
|
9
|
-
"teddy-chip__indicator": "_teddy-
|
|
7
|
+
"teddy-chip__item": "_teddy-chip__item_69tae_1",
|
|
8
|
+
"teddy-chip__item--unavailable": "_teddy-chip__item--unavailable_69tae_33",
|
|
9
|
+
"teddy-chip__indicator": "_teddy-chip__indicator_69tae_83"
|
|
10
10
|
};
|
|
11
11
|
const rootClassName = "teddy-chip";
|
|
12
12
|
const RootContext = React__default.createContext(void 0);
|
|
@@ -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: "link" | "
|
|
9
|
-
size?: ("
|
|
8
|
+
name: "key" | "search" | "split" | "link" | "add" | "reverse" | "infinite" | "radio" | "visible" | "copy" | "help" | "zoom-out" | "filter" | "x" | "zoom" | "menu" | "map" | "summary" | "time" | "video" | "image" | "stop" | "download" | "alert" | "email" | "close" | "error" | "focus" | "play" | "present" | "alarm-off" | "alarm-on" | "attachment" | "bookmark-filled" | "bookmark" | "copy-filled" | "dislike" | "edit" | "heart-filled" | "heart" | "invisible" | "like" | "lock-open" | "lock" | "login" | "logout" | "maximize" | "minimize" | "mute" | "password-invisible" | "password-visible" | "play-filled" | "remove-filled" | "remove" | "save" | "send" | "settings" | "share" | "shortcut" | "shuffle" | "sync" | "skip-back-10sec" | "skip-back-30sec" | "skip-forward-10sec" | "skip-forward-30sec" | "star-filled" | "star" | "switch-arrows" | "tv-next" | "tv-pause" | "tv-previous" | "tv-stop" | "upload" | "volume" | "connected-building" | "home" | "hospital" | "industry" | "premises-datacenter" | "premises-large" | "premises-medium" | "premises-small" | "premises" | "store" | "address-book" | "b2b-customer" | "care" | "chat-robot" | "chat" | "child-1" | "child-2" | "conversation" | "customer-dialogue" | "dsl-hub" | "end-user" | "handshake" | "headphones" | "letter" | "mms" | "new-contact" | "new-group" | "news" | "parental-guide" | "people-hub" | "people" | "portal" | "signature" | "smiley-happy" | "smiley-sad" | "sms" | "support" | "user-admin" | "vcard" | "voicemail" | "battery" | "bluetooth" | "broadband" | "broken-phone" | "cast" | "cloud-connect" | "connected" | "core-router" | "daas-device" | "data-transfer" | "desktop" | "devices" | "esim-simcard" | "esim" | "face-id" | "fiber" | "fingerprint" | "fiveg" | "fourg" | "home-installation" | "industrial-iot" | "internet" | "it-service" | "laptop" | "mobile-broadband" | "network" | "phone-recycling" | "phone-ringing" | "phone" | "rack" | "refill-card" | "remote-control" | "repair" | "roaming" | "router" | "secure-device" | "sense-car" | "server" | "service-device" | "service-supervision" | "slow-wifi" | "smart-wifi" | "smartphone" | "smartwatch" | "tablet" | "trade-phone" | "tv" | "usb" | "voice-switch" | "wallplug" | "wireless-off" | "wireless-weak" | "wireless" | "world-alert" | "world-off" | "world-question" | "bar-chart" | "doc" | "document-doc" | "document-edit" | "document-pdf" | "document-ppt" | "excel" | "folder-copy" | "folder-new" | "folder" | "gif" | "graph" | "media-content" | "org-chart" | "pie-chart" | "print" | "register" | "report" | "simcard" | "spell-check" | "credit-card" | "euro" | "invoice" | "kontantkort" | "kr" | "late-payment" | "money-back-euro" | "money-back-kr" | "money-euro" | "money-kr" | "pay-monthly-euro" | "pay-monthly-kr" | "pay-once-euro" | "pay-once-kr" | "payment-success" | "savings" | "wallet" | "airplay" | "camera" | "entertainment" | "external" | "film" | "games" | "megaphone" | "microphone" | "music" | "player-settings" | "record" | "stream" | "trailer" | "video-conference" | "activity-level" | "ai-robot" | "bag" | "basketball" | "blood-pressure" | "bulb" | "business-continuity" | "business-intelligence" | "calendar" | "cart" | "close-circle" | "cloud" | "coffee" | "compass" | "construction" | "cookie" | "delivery" | "drone" | "education" | "efficiency" | "environment" | "facemask" | "flag" | "food" | "fraud" | "getting-started" | "home-care" | "job-search" | "layers" | "measuring-health" | "moisture" | "offering" | "offshore" | "optimization" | "pebble" | "pet-dog" | "pin" | "plane" | "plus-minus" | "police" | "power-grid" | "press-button" | "price" | "pulse" | "recycle" | "reservation" | "route" | "ruler" | "satellite" | "secured-1" | "secured-2" | "security-camera" | "shopping" | "snowflake" | "speedometer" | "spyware" | "suitcase" | "sustainability" | "tag" | "temperature" | "thinking" | "train" | "transfer" | "undo" | "wavelength" | "weather" | "world" | "android" | "apple" | "bankid-norway" | "bankid" | "facebook" | "instagram" | "youtube" | "linkedin" | "snapchat" | "telia-logo" | "whatsapp" | "windows" | "alert-filled" | "check-circle-filled" | "check-circle" | "error-filled" | "info-filled" | "info" | "question-filled" | "question" | "warning" | "arrow-down" | "arrow-left" | "arrow-right" | "arrow-subdirectory" | "arrow-up" | "card-view" | "checkmark-bold" | "checkmark" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "grid-view" | "list-view" | "minus-bold" | "minus" | "more-horizontal" | "more-vertical" | "plus" | "services" | "sorter" | "table-view";
|
|
9
|
+
size?: ("sm" | "md" | "lg" | "xl" | "font" | "xxs" | "xs") | undefined;
|
|
10
10
|
children?: import('react').ReactNode;
|
|
11
11
|
}, "ref">> & import('react').RefAttributes<SVGSVGElement>>;
|
|
12
12
|
};
|
|
@@ -0,0 +1,29 @@
|
|
|
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 styles = {
|
|
7
|
+
"teddy-color-dot": "_teddy-color-dot_cywb7_1",
|
|
8
|
+
"teddy-color-dot--xs": "_teddy-color-dot--xs_cywb7_7",
|
|
9
|
+
"teddy-color-dot--sm": "_teddy-color-dot--sm_cywb7_10",
|
|
10
|
+
"teddy-color-dot--md": "_teddy-color-dot--md_cywb7_13",
|
|
11
|
+
"teddy-color-dot--lg": "_teddy-color-dot--lg_cywb7_16",
|
|
12
|
+
"teddy-color-dot--bordered": "_teddy-color-dot--bordered_cywb7_19"
|
|
13
|
+
};
|
|
14
|
+
const rootClassName = "teddy-color-dot";
|
|
15
|
+
const Root = React.forwardRef(
|
|
16
|
+
({ className, size, as: Comp = "div", bordered, color, ...props }, forwardRef) => {
|
|
17
|
+
const classes = clsx(
|
|
18
|
+
[styles[`${rootClassName}`]],
|
|
19
|
+
{
|
|
20
|
+
[styles[`${rootClassName}--${size}`]]: size,
|
|
21
|
+
[styles[`${rootClassName}--bordered`]]: bordered
|
|
22
|
+
},
|
|
23
|
+
className
|
|
24
|
+
);
|
|
25
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Comp, { ...props, style: { ...props.style, backgroundColor: color }, ref: forwardRef, className: classes });
|
|
26
|
+
}
|
|
27
|
+
);
|
|
28
|
+
Root.displayName = "Root";
|
|
29
|
+
exports.Root = Root;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
|
|
3
|
+
type SpanProps = {
|
|
4
|
+
as?: 'span';
|
|
5
|
+
} & React.ComponentPropsWithoutRef<'span'>;
|
|
6
|
+
type DivProps = {
|
|
7
|
+
as?: 'div';
|
|
8
|
+
} & React.ComponentPropsWithoutRef<'div'>;
|
|
9
|
+
export type RootProps = Omit<SpanProps | DivProps, 'children'> & {
|
|
10
|
+
color: string;
|
|
11
|
+
size: 'xs' | 'sm' | 'md' | 'lg';
|
|
12
|
+
bordered?: boolean;
|
|
13
|
+
};
|
|
14
|
+
/** */
|
|
15
|
+
export declare const Root: React.ForwardRefExoticComponent<Omit<SpanProps | DivProps, "children"> & {
|
|
16
|
+
color: string;
|
|
17
|
+
size: 'xs' | 'sm' | 'md' | 'lg';
|
|
18
|
+
bordered?: boolean | undefined;
|
|
19
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
20
|
+
export {};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { jsx } from "react/jsx-runtime";
|
|
2
|
+
import React__default from "react";
|
|
3
|
+
import clsx from "clsx";
|
|
4
|
+
const styles = {
|
|
5
|
+
"teddy-color-dot": "_teddy-color-dot_cywb7_1",
|
|
6
|
+
"teddy-color-dot--xs": "_teddy-color-dot--xs_cywb7_7",
|
|
7
|
+
"teddy-color-dot--sm": "_teddy-color-dot--sm_cywb7_10",
|
|
8
|
+
"teddy-color-dot--md": "_teddy-color-dot--md_cywb7_13",
|
|
9
|
+
"teddy-color-dot--lg": "_teddy-color-dot--lg_cywb7_16",
|
|
10
|
+
"teddy-color-dot--bordered": "_teddy-color-dot--bordered_cywb7_19"
|
|
11
|
+
};
|
|
12
|
+
const rootClassName = "teddy-color-dot";
|
|
13
|
+
const Root = React__default.forwardRef(
|
|
14
|
+
({ className, size, as: Comp = "div", bordered, color, ...props }, forwardRef) => {
|
|
15
|
+
const classes = clsx(
|
|
16
|
+
[styles[`${rootClassName}`]],
|
|
17
|
+
{
|
|
18
|
+
[styles[`${rootClassName}--${size}`]]: size,
|
|
19
|
+
[styles[`${rootClassName}--bordered`]]: bordered
|
|
20
|
+
},
|
|
21
|
+
className
|
|
22
|
+
);
|
|
23
|
+
return /* @__PURE__ */ jsx(Comp, { ...props, style: { ...props.style, backgroundColor: color }, ref: forwardRef, className: classes });
|
|
24
|
+
}
|
|
25
|
+
);
|
|
26
|
+
Root.displayName = "Root";
|
|
27
|
+
export {
|
|
28
|
+
Root
|
|
29
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { RootProps } from './color-dot-root';
|
|
2
|
+
|
|
3
|
+
export declare const ColorDot: import('react').ForwardRefExoticComponent<Omit<({
|
|
4
|
+
as?: "span" | undefined;
|
|
5
|
+
} & Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref">) | ({
|
|
6
|
+
as?: "div" | undefined;
|
|
7
|
+
} & Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">), "children"> & {
|
|
8
|
+
color: string;
|
|
9
|
+
size: "sm" | "md" | "lg" | "xs";
|
|
10
|
+
bordered?: boolean | undefined;
|
|
11
|
+
} & import('react').RefAttributes<HTMLDivElement>>;
|
|
12
|
+
export type ColorDotProps = RootProps;
|
|
@@ -0,0 +1,29 @@
|
|
|
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 components_button_button = require("../button/button.cjs");
|
|
6
|
+
const clsx = require("clsx");
|
|
7
|
+
const components_expandableCard_expandableCardRoot = require("./expandable-card-root.cjs");
|
|
8
|
+
const Button = React.forwardRef(
|
|
9
|
+
({ className, iconOnly = false, variant, position, ...props }, forwardRef) => {
|
|
10
|
+
const classes = clsx(
|
|
11
|
+
[components_expandableCard_expandableCardRoot.styles[`${components_expandableCard_expandableCardRoot.rootClassName}__button`]],
|
|
12
|
+
{
|
|
13
|
+
[components_expandableCard_expandableCardRoot.styles[`${components_expandableCard_expandableCardRoot.rootClassName}__button--${position}`]]: position
|
|
14
|
+
},
|
|
15
|
+
className
|
|
16
|
+
);
|
|
17
|
+
return /* @__PURE__ */ jsxRuntime.jsx(jsxRuntime.Fragment, { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
18
|
+
components_button_button.Button,
|
|
19
|
+
{
|
|
20
|
+
...!iconOnly || !props["aria-label"] ? { iconOnly: false, "aria-label": void 0 } : { iconOnly: true, "aria-label": props["aria-label"] },
|
|
21
|
+
ref: forwardRef,
|
|
22
|
+
variant,
|
|
23
|
+
...props,
|
|
24
|
+
className: classes
|
|
25
|
+
}
|
|
26
|
+
) });
|
|
27
|
+
}
|
|
28
|
+
);
|
|
29
|
+
exports.Button = Button;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { Button as PrimitiveButton } from '../button/button';
|
|
3
|
+
|
|
4
|
+
export type ButtonProps = Omit<React.ComponentPropsWithoutRef<typeof PrimitiveButton>, 'variant'> & {
|
|
5
|
+
variant?: React.ComponentPropsWithoutRef<typeof PrimitiveButton>['variant'];
|
|
6
|
+
position?: 'right' | 'left';
|
|
7
|
+
};
|
|
8
|
+
export declare const Button: React.ForwardRefExoticComponent<Omit<Omit<Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "aria-label"> & import('../../utils/generate-styling/flex').FlexChildren & import('../../utils/generate-styling/grid').GridChildren & import('../../utils/generate-styling/position').PositionProps & import('../../utils/generate-styling/inset').InsetProps & import('../../utils/generate-styling/margin').MarginProps & import('../../utils/generate-styling/padding').PaddingProps & import('../../utils/generate-styling/width').WidthProps & import('../../utils/generate-styling/height').HeightProps & import('../../utils/generate-styling/color').ColorProps & {
|
|
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?: "text" | "list-item" | "primary" | "secondary" | "destructive" | "tertiary-purple" | "expressive" | "primary-negative" | "secondary-negative" | "destructive-negative" | "tertiary-purple-negative" | "text-negative" | "expressive-negative" | undefined;
|
|
16
|
+
} & {
|
|
17
|
+
iconOnly: true;
|
|
18
|
+
"aria-label": string;
|
|
19
|
+
} & React.RefAttributes<HTMLButtonElement>, "ref"> | Omit<Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "aria-label"> & import('../../utils/generate-styling/flex').FlexChildren & import('../../utils/generate-styling/grid').GridChildren & import('../../utils/generate-styling/position').PositionProps & import('../../utils/generate-styling/inset').InsetProps & import('../../utils/generate-styling/margin').MarginProps & import('../../utils/generate-styling/padding').PaddingProps & import('../../utils/generate-styling/width').WidthProps & import('../../utils/generate-styling/height').HeightProps & import('../../utils/generate-styling/color').ColorProps & {
|
|
20
|
+
display?: import('../../utils/generate-styling').DisplayChildren | undefined;
|
|
21
|
+
} & {
|
|
22
|
+
asChild?: boolean | undefined;
|
|
23
|
+
loading?: boolean | undefined;
|
|
24
|
+
fullWidth?: boolean | undefined;
|
|
25
|
+
size?: "sm" | "md" | "lg" | undefined;
|
|
26
|
+
variant?: "text" | "list-item" | "primary" | "secondary" | "destructive" | "tertiary-purple" | "expressive" | "primary-negative" | "secondary-negative" | "destructive-negative" | "tertiary-purple-negative" | "text-negative" | "expressive-negative" | undefined;
|
|
27
|
+
} & {
|
|
28
|
+
iconOnly?: false | undefined;
|
|
29
|
+
"aria-label"?: string | undefined;
|
|
30
|
+
} & React.RefAttributes<HTMLButtonElement>, "ref">, "variant"> & {
|
|
31
|
+
variant?: React.ComponentPropsWithoutRef<typeof PrimitiveButton>['variant'];
|
|
32
|
+
position?: "left" | "right" | undefined;
|
|
33
|
+
} & React.RefAttributes<HTMLButtonElement>>;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { jsx, Fragment } from "react/jsx-runtime";
|
|
2
|
+
import React__default from "react";
|
|
3
|
+
import { Button as Button$1 } from "../button/button.js";
|
|
4
|
+
import clsx from "clsx";
|
|
5
|
+
import { s as styles, rootClassName } from "./expandable-card-root.js";
|
|
6
|
+
const Button = React__default.forwardRef(
|
|
7
|
+
({ className, iconOnly = false, variant, position, ...props }, forwardRef) => {
|
|
8
|
+
const classes = clsx(
|
|
9
|
+
[styles[`${rootClassName}__button`]],
|
|
10
|
+
{
|
|
11
|
+
[styles[`${rootClassName}__button--${position}`]]: position
|
|
12
|
+
},
|
|
13
|
+
className
|
|
14
|
+
);
|
|
15
|
+
return /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsx(
|
|
16
|
+
Button$1,
|
|
17
|
+
{
|
|
18
|
+
...!iconOnly || !props["aria-label"] ? { iconOnly: false, "aria-label": void 0 } : { iconOnly: true, "aria-label": props["aria-label"] },
|
|
19
|
+
ref: forwardRef,
|
|
20
|
+
variant,
|
|
21
|
+
...props,
|
|
22
|
+
className: classes
|
|
23
|
+
}
|
|
24
|
+
) });
|
|
25
|
+
}
|
|
26
|
+
);
|
|
27
|
+
export {
|
|
28
|
+
Button
|
|
29
|
+
};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const jsxRuntime = require("react/jsx-runtime");
|
|
4
|
+
const clsx = require("clsx");
|
|
5
|
+
const React = require("react");
|
|
6
|
+
const components_expandableCard_expandableCardRoot = require("./expandable-card-root.cjs");
|
|
7
|
+
const AccordionPrimitive = require("@radix-ui/react-accordion");
|
|
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 AccordionPrimitive__namespace = /* @__PURE__ */ _interopNamespaceDefault(AccordionPrimitive);
|
|
25
|
+
const Content = React.forwardRef(
|
|
26
|
+
({ className, children, ...props }, forwardRef) => {
|
|
27
|
+
const classes = clsx([components_expandableCard_expandableCardRoot.styles[`${components_expandableCard_expandableCardRoot.rootClassName}__content`]], className);
|
|
28
|
+
return /* @__PURE__ */ jsxRuntime.jsx(AccordionPrimitive__namespace.Content, { ...props, ref: forwardRef, className: classes, children });
|
|
29
|
+
}
|
|
30
|
+
);
|
|
31
|
+
Content.displayName = "Content";
|
|
32
|
+
exports.Content = Content;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
|
|
3
|
+
import * as AccordionPrimitive from '@radix-ui/react-accordion';
|
|
4
|
+
export type ContentProps = React.ComponentPropsWithoutRef<typeof AccordionPrimitive.Content>;
|
|
5
|
+
export declare const Content: React.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { jsx } from "react/jsx-runtime";
|
|
2
|
+
import clsx from "clsx";
|
|
3
|
+
import React__default from "react";
|
|
4
|
+
import { s as styles, rootClassName } from "./expandable-card-root.js";
|
|
5
|
+
import * as AccordionPrimitive from "@radix-ui/react-accordion";
|
|
6
|
+
const Content = React__default.forwardRef(
|
|
7
|
+
({ className, children, ...props }, forwardRef) => {
|
|
8
|
+
const classes = clsx([styles[`${rootClassName}__content`]], className);
|
|
9
|
+
return /* @__PURE__ */ jsx(AccordionPrimitive.Content, { ...props, ref: forwardRef, className: classes, children });
|
|
10
|
+
}
|
|
11
|
+
);
|
|
12
|
+
Content.displayName = "Content";
|
|
13
|
+
export {
|
|
14
|
+
Content
|
|
15
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const jsxRuntime = require("react/jsx-runtime");
|
|
4
|
+
const clsx = require("clsx");
|
|
5
|
+
const React = require("react");
|
|
6
|
+
const components_box_box = require("../box/box.cjs");
|
|
7
|
+
const components_expandableCard_expandableCardRoot = require("./expandable-card-root.cjs");
|
|
8
|
+
const Description = React.forwardRef(
|
|
9
|
+
({ className, ...props }, forwardRef) => {
|
|
10
|
+
const classes = clsx([components_expandableCard_expandableCardRoot.styles[`${components_expandableCard_expandableCardRoot.rootClassName}__description`]], className);
|
|
11
|
+
return /* @__PURE__ */ jsxRuntime.jsx(components_box_box.Box, { className: classes, ...props, ref: forwardRef });
|
|
12
|
+
}
|
|
13
|
+
);
|
|
14
|
+
exports.Description = Description;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { Box } from '../box';
|
|
3
|
+
|
|
4
|
+
export type DescriptionProps = React.ComponentPropsWithoutRef<typeof Box>;
|
|
5
|
+
export declare const Description: React.ForwardRefExoticComponent<DescriptionProps & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { jsx } from "react/jsx-runtime";
|
|
2
|
+
import clsx from "clsx";
|
|
3
|
+
import React__default from "react";
|
|
4
|
+
import { Box } from "../box/box.js";
|
|
5
|
+
import { s as styles, rootClassName } from "./expandable-card-root.js";
|
|
6
|
+
const Description = React__default.forwardRef(
|
|
7
|
+
({ className, ...props }, forwardRef) => {
|
|
8
|
+
const classes = clsx([styles[`${rootClassName}__description`]], className);
|
|
9
|
+
return /* @__PURE__ */ jsx(Box, { className: classes, ...props, ref: forwardRef });
|
|
10
|
+
}
|
|
11
|
+
);
|
|
12
|
+
export {
|
|
13
|
+
Description
|
|
14
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const jsxRuntime = require("react/jsx-runtime");
|
|
4
|
+
const clsx = require("clsx");
|
|
5
|
+
const React = require("react");
|
|
6
|
+
const components_expandableCard_expandableCardRoot = require("./expandable-card-root.cjs");
|
|
7
|
+
const Header = React.forwardRef(
|
|
8
|
+
({ className, children, ...props }, forwardRef) => {
|
|
9
|
+
const classes = clsx([components_expandableCard_expandableCardRoot.styles[`${components_expandableCard_expandableCardRoot.rootClassName}__header`]], className);
|
|
10
|
+
return /* @__PURE__ */ jsxRuntime.jsx("div", { ...props, className: classes, ref: forwardRef, children });
|
|
11
|
+
}
|
|
12
|
+
);
|
|
13
|
+
exports.Header = Header;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
|
|
3
|
+
export type HeaderProps = React.ComponentPropsWithoutRef<'div'>;
|
|
4
|
+
export declare const Header: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { jsx } from "react/jsx-runtime";
|
|
2
|
+
import clsx from "clsx";
|
|
3
|
+
import React__default from "react";
|
|
4
|
+
import { s as styles, rootClassName } from "./expandable-card-root.js";
|
|
5
|
+
const Header = React__default.forwardRef(
|
|
6
|
+
({ className, children, ...props }, forwardRef) => {
|
|
7
|
+
const classes = clsx([styles[`${rootClassName}__header`]], className);
|
|
8
|
+
return /* @__PURE__ */ jsx("div", { ...props, className: classes, ref: forwardRef, children });
|
|
9
|
+
}
|
|
10
|
+
);
|
|
11
|
+
export {
|
|
12
|
+
Header
|
|
13
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const jsxRuntime = require("react/jsx-runtime");
|
|
4
|
+
const clsx = require("clsx");
|
|
5
|
+
const React = require("react");
|
|
6
|
+
const components_expandableCard_expandableCardRoot = require("./expandable-card-root.cjs");
|
|
7
|
+
const HiddenContainer = React.forwardRef(
|
|
8
|
+
({ className, children, ...props }, forwardRef) => {
|
|
9
|
+
const classes = clsx([components_expandableCard_expandableCardRoot.styles[`${components_expandableCard_expandableCardRoot.rootClassName}__hidden`]], className);
|
|
10
|
+
return /* @__PURE__ */ jsxRuntime.jsx("div", { ...props, ref: forwardRef, className: classes, children });
|
|
11
|
+
}
|
|
12
|
+
);
|
|
13
|
+
exports.HiddenContainer = HiddenContainer;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
|
|
3
|
+
export type HiddenContainerProps = React.ComponentPropsWithoutRef<"div">;
|
|
4
|
+
export declare const HiddenContainer: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { jsx } from "react/jsx-runtime";
|
|
2
|
+
import clsx from "clsx";
|
|
3
|
+
import React__default from "react";
|
|
4
|
+
import { s as styles, rootClassName } from "./expandable-card-root.js";
|
|
5
|
+
const HiddenContainer = React__default.forwardRef(
|
|
6
|
+
({ className, children, ...props }, forwardRef) => {
|
|
7
|
+
const classes = clsx([styles[`${rootClassName}__hidden`]], className);
|
|
8
|
+
return /* @__PURE__ */ jsx("div", { ...props, ref: forwardRef, className: classes, children });
|
|
9
|
+
}
|
|
10
|
+
);
|
|
11
|
+
export {
|
|
12
|
+
HiddenContainer
|
|
13
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const jsxRuntime = require("react/jsx-runtime");
|
|
4
|
+
const clsx = require("clsx");
|
|
5
|
+
const React = require("react");
|
|
6
|
+
const components_expandableCard_expandableCardRoot = require("./expandable-card-root.cjs");
|
|
7
|
+
require("../../assets/sprite.269ba410-teddy.svg");
|
|
8
|
+
const components_icon_icon = require("../icon/icon.cjs");
|
|
9
|
+
const Indicator = React.forwardRef(
|
|
10
|
+
({ className, children, name = "chevron-down", ...props }, forwardRef) => {
|
|
11
|
+
const classes = clsx([components_expandableCard_expandableCardRoot.styles[`${components_expandableCard_expandableCardRoot.rootClassName}__indicator`]], className);
|
|
12
|
+
return /* @__PURE__ */ jsxRuntime.jsx(components_icon_icon.Icon, { "aria-hidden": true, name, ...props, ref: forwardRef, className: classes, children });
|
|
13
|
+
}
|
|
14
|
+
);
|
|
15
|
+
Indicator.displayName = "Indicator";
|
|
16
|
+
exports.Indicator = Indicator;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { IconProps } from '../icon';
|
|
3
|
+
|
|
4
|
+
export type IndicatorProps = Partial<IconProps> & {
|
|
5
|
+
name?: IconProps['name'];
|
|
6
|
+
};
|
|
7
|
+
export declare const Indicator: React.ForwardRefExoticComponent<Omit<IndicatorProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { jsx } from "react/jsx-runtime";
|
|
2
|
+
import clsx from "clsx";
|
|
3
|
+
import React__default from "react";
|
|
4
|
+
import { s as styles, rootClassName } from "./expandable-card-root.js";
|
|
5
|
+
import "../../assets/sprite.269ba410-teddy.svg";
|
|
6
|
+
import { Icon } from "../icon/icon.js";
|
|
7
|
+
const Indicator = React__default.forwardRef(
|
|
8
|
+
({ className, children, name = "chevron-down", ...props }, forwardRef) => {
|
|
9
|
+
const classes = clsx([styles[`${rootClassName}__indicator`]], className);
|
|
10
|
+
return /* @__PURE__ */ jsx(Icon, { "aria-hidden": true, name, ...props, ref: forwardRef, className: classes, children });
|
|
11
|
+
}
|
|
12
|
+
);
|
|
13
|
+
Indicator.displayName = "Indicator";
|
|
14
|
+
export {
|
|
15
|
+
Indicator
|
|
16
|
+
};
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const jsxRuntime = require("react/jsx-runtime");
|
|
4
|
+
const clsx = require("clsx");
|
|
5
|
+
const React = require("react");
|
|
6
|
+
const components_expandableCard_expandableCardRoot = require("./expandable-card-root.cjs");
|
|
7
|
+
const AccordionPrimitive = require("@radix-ui/react-accordion");
|
|
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 AccordionPrimitive__namespace = /* @__PURE__ */ _interopNamespaceDefault(AccordionPrimitive);
|
|
25
|
+
const Item = React.forwardRef(
|
|
26
|
+
({ className, children, ...props }, forwardRef) => {
|
|
27
|
+
const classes = clsx(
|
|
28
|
+
[components_expandableCard_expandableCardRoot.styles[`${components_expandableCard_expandableCardRoot.rootClassName}__item`]],
|
|
29
|
+
{},
|
|
30
|
+
className
|
|
31
|
+
);
|
|
32
|
+
return /* @__PURE__ */ jsxRuntime.jsx(AccordionPrimitive__namespace.Item, { ...props, ref: forwardRef, className: classes, children });
|
|
33
|
+
}
|
|
34
|
+
);
|
|
35
|
+
Item.displayName = "Item";
|
|
36
|
+
exports.Item = Item;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
|
|
3
|
+
import * as AccordionPrimitive from '@radix-ui/react-accordion';
|
|
4
|
+
export type ItemProps = React.ComponentPropsWithoutRef<typeof AccordionPrimitive.Item>;
|
|
5
|
+
export declare const Item: React.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|