@telia/teddy 0.7.53 → 0.7.55

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.
Files changed (177) hide show
  1. package/dist/components/accordion/accordion-root.d.ts +1 -1
  2. package/dist/components/accordion/accordion-trigger.d.ts +1 -1
  3. package/dist/components/accordion/index.d.ts +1 -1
  4. package/dist/components/avatar/avatar-root.d.ts +4 -4
  5. package/dist/components/avatar/index.d.ts +4 -4
  6. package/dist/components/badge/badge.d.ts +2 -2
  7. package/dist/components/breadcrumbs/breadcrumbs-link.d.ts +5 -5
  8. package/dist/components/breadcrumbs/breadcrumbs-root.d.ts +1 -1
  9. package/dist/components/breadcrumbs/index.d.ts +6 -6
  10. package/dist/components/button/button.cjs +27 -27
  11. package/dist/components/button/button.js +27 -27
  12. package/dist/components/card/card-availability.d.ts +1 -1
  13. package/dist/components/card/card-illustration.d.ts +2 -2
  14. package/dist/components/card/card-link.d.ts +4 -4
  15. package/dist/components/card/card.cjs +52 -52
  16. package/dist/components/card/card.d.ts +2 -2
  17. package/dist/components/card/card.js +52 -52
  18. package/dist/components/card/index.d.ts +2 -2
  19. package/dist/components/carousel/carousel-root.cjs +4 -4
  20. package/dist/components/carousel/carousel-root.js +4 -4
  21. package/dist/components/channel-button/channel-button-root.d.ts +18 -18
  22. package/dist/components/channel-button/index.d.ts +2 -28
  23. package/dist/components/checkbox/checkbox-group-item.d.ts +1 -1
  24. package/dist/components/checkbox/checkbox-group-label.d.ts +2 -2
  25. package/dist/components/checkbox/checkbox-group-list.d.ts +15 -15
  26. package/dist/components/checkbox/checkbox-group.d.ts +20 -20
  27. package/dist/components/checkbox/checkbox-root.d.ts +1 -1
  28. package/dist/components/checkbox/index.d.ts +40 -40
  29. package/dist/components/checkbox-card-group/checkbox-card-group-indicator.cjs +32 -32
  30. package/dist/components/checkbox-card-group/checkbox-card-group-indicator.d.ts +3 -3
  31. package/dist/components/checkbox-card-group/checkbox-card-group-indicator.js +32 -32
  32. package/dist/components/checkbox-card-group/checkbox-card-group-item-title.d.ts +4 -4
  33. package/dist/components/checkbox-card-group/checkbox-card-group-item.d.ts +5 -5
  34. package/dist/components/checkbox-card-group/checkbox-card-group-label.d.ts +20 -20
  35. package/dist/components/checkbox-card-group/checkbox-card-group-root.d.ts +7 -7
  36. package/dist/components/checkbox-card-group/index.d.ts +39 -39
  37. package/dist/components/chip/chip-indicator.d.ts +3 -3
  38. package/dist/components/chip/chip.cjs +3 -3
  39. package/dist/components/chip/chip.js +3 -3
  40. package/dist/components/chip/index.d.ts +4 -4
  41. package/dist/components/collapsible/index.d.ts +2 -2
  42. package/dist/components/color-dot/color-dot-root.d.ts +3 -3
  43. package/dist/components/color-dot/index.d.ts +4 -4
  44. package/dist/components/dashboard-card/dashboard-card-avatar.d.ts +4 -4
  45. package/dist/components/dashboard-card/dashboard-card-root.cjs +15 -15
  46. package/dist/components/dashboard-card/dashboard-card-root.d.ts +5 -5
  47. package/dist/components/dashboard-card/dashboard-card-root.js +15 -15
  48. package/dist/components/dashboard-card/index.d.ts +2 -7
  49. package/dist/components/dashed-button/dashed-button-root.d.ts +38 -38
  50. package/dist/components/date-picker/css.cjs +38 -38
  51. package/dist/components/date-picker/css.js +38 -38
  52. package/dist/components/drawer/drawer-close.cjs +1 -1
  53. package/dist/components/drawer/drawer-close.js +1 -1
  54. package/dist/components/drawer/drawer-content.cjs +1 -1
  55. package/dist/components/drawer/drawer-content.js +1 -1
  56. package/dist/components/drawer/drawer-description.cjs +1 -1
  57. package/dist/components/drawer/drawer-description.js +1 -1
  58. package/dist/components/drawer/drawer-footer.cjs +1 -1
  59. package/dist/components/drawer/drawer-footer.js +1 -1
  60. package/dist/components/drawer/drawer-overlay.cjs +1 -1
  61. package/dist/components/drawer/drawer-overlay.d.ts +1 -1
  62. package/dist/components/drawer/drawer-overlay.js +1 -1
  63. package/dist/components/drawer/drawer-title.cjs +1 -1
  64. package/dist/components/drawer/drawer-title.js +1 -1
  65. package/dist/components/expandable-card/expandable-card-button.d.ts +18 -18
  66. package/dist/components/expandable-card/index.d.ts +20 -18
  67. package/dist/components/flip-card/flip-card-root.d.ts +4 -4
  68. package/dist/components/flip-card/flip-card-trigger.d.ts +17 -17
  69. package/dist/components/flip-card/index.d.ts +2 -7
  70. package/dist/components/icon/utils.d.ts +3 -1
  71. package/dist/components/input/index.d.ts +7 -7
  72. package/dist/components/input/input-group.d.ts +2 -2
  73. package/dist/components/input/input-indicator.d.ts +2 -2
  74. package/dist/components/input/input.d.ts +3 -3
  75. package/dist/components/label/label.d.ts +2 -2
  76. package/dist/components/link/link.d.ts +4 -4
  77. package/dist/components/list/index.d.ts +19 -19
  78. package/dist/components/list/list-illustration.d.ts +1 -1
  79. package/dist/components/list/list.d.ts +18 -18
  80. package/dist/components/meter-bar/index.d.ts +2 -2
  81. package/dist/components/meter-bar/meter-bar-indicator.d.ts +2 -2
  82. package/dist/components/modal/index.d.ts +2 -2
  83. package/dist/components/modal/modal-content.d.ts +1 -1
  84. package/dist/components/modal/modal-image.d.ts +1 -1
  85. package/dist/components/modal/modal-overlay.d.ts +1 -1
  86. package/dist/components/modal/modal-title.d.ts +8 -8
  87. package/dist/components/navigation-menu/global-navigation/global-navigation-desktop-simplified.d.ts +1 -1
  88. package/dist/components/navigation-menu/global-navigation/global-navigation-mobile.d.ts +1 -1
  89. package/dist/components/navigation-menu/global-navigation/global-navigation-search-field.d.ts +3 -3
  90. package/dist/components/navigation-menu/navigation-menu.d.ts +11 -11
  91. package/dist/components/notabene/index.d.ts +2 -2
  92. package/dist/components/notabene/notabene-icon.d.ts +3 -3
  93. package/dist/components/notification/index.d.ts +2 -81
  94. package/dist/components/notification/notification-icon.d.ts +3 -3
  95. package/dist/components/notification/notification-root.d.ts +41 -41
  96. package/dist/components/pagination/index.d.ts +2 -4
  97. package/dist/components/pagination/pagination-button.d.ts +5 -5
  98. package/dist/components/pagination/pagination-root.d.ts +1 -1
  99. package/dist/components/progress-bar/progress-bar.d.ts +1 -1
  100. package/dist/components/radio-card-group/index.d.ts +32 -32
  101. package/dist/components/radio-card-group/radio-card-group-item-title.d.ts +1 -1
  102. package/dist/components/radio-card-group/radio-card-group-item.d.ts +2 -2
  103. package/dist/components/radio-card-group/radio-card-group-label.d.ts +20 -20
  104. package/dist/components/radio-card-group/radio-card-group-root.d.ts +9 -9
  105. package/dist/components/radio-group/index.d.ts +33 -33
  106. package/dist/components/radio-group/radio-group-item-label.d.ts +3 -3
  107. package/dist/components/radio-group/radio-group-item.d.ts +1 -1
  108. package/dist/components/radio-group/radio-group-label.d.ts +20 -20
  109. package/dist/components/radio-group/radio-group-root.d.ts +9 -9
  110. package/dist/components/radio-group/radio-group-trigger.d.ts +1 -1
  111. package/dist/components/ribbon/ribbon-root.d.ts +2 -2
  112. package/dist/components/scroll-area/index.d.ts +25 -25
  113. package/dist/components/scroll-area/scroll-area-button.d.ts +18 -18
  114. package/dist/components/scroll-area/scroll-area-item.d.ts +4 -4
  115. package/dist/components/scroll-area/scroll-area-root.d.ts +3 -3
  116. package/dist/components/select/index.d.ts +16 -16
  117. package/dist/components/select/select-group.d.ts +2 -2
  118. package/dist/components/select/select-root.d.ts +11 -11
  119. package/dist/components/select/select-trigger.d.ts +2 -2
  120. package/dist/components/select/select-value.d.ts +1 -1
  121. package/dist/components/shopping-cart/shopping-cart-context.d.ts +0 -1
  122. package/dist/components/shopping-cart/shopping-cart-continue.d.ts +0 -1
  123. package/dist/components/spinner/spinner.d.ts +2 -2
  124. package/dist/components/step-by-step/index.d.ts +7 -7
  125. package/dist/components/step-by-step/step-by-step-root.d.ts +6 -6
  126. package/dist/components/step-by-step/step-by-step-step.d.ts +1 -1
  127. package/dist/components/step-indicator/index.d.ts +9 -9
  128. package/dist/components/step-indicator/step-indicator-root.d.ts +8 -8
  129. package/dist/components/step-indicator/step-indicator-step-element.d.ts +0 -1
  130. package/dist/components/table/index.d.ts +2 -5
  131. package/dist/components/table/table-cell.d.ts +5 -5
  132. package/dist/components/table/table-head.d.ts +6 -6
  133. package/dist/components/table/table-root.cjs +20 -20
  134. package/dist/components/table/table-root.d.ts +2 -2
  135. package/dist/components/table/table-root.js +20 -20
  136. package/dist/components/tabs/index.d.ts +2 -9
  137. package/dist/components/tabs/tabs-content.d.ts +1 -1
  138. package/dist/components/tabs/tabs-list.d.ts +1 -1
  139. package/dist/components/tabs/tabs-root.cjs +5 -5
  140. package/dist/components/tabs/tabs-root.d.ts +6 -6
  141. package/dist/components/tabs/tabs-root.js +5 -5
  142. package/dist/components/tabs/tabs-scroll-button.d.ts +18 -18
  143. package/dist/components/tabs/tabs-scroll.d.ts +3 -3
  144. package/dist/components/tabs/tabs-trigger.d.ts +2 -2
  145. package/dist/components/text-field/index.d.ts +25 -25
  146. package/dist/components/text-field/text-field-button.d.ts +17 -17
  147. package/dist/components/text-field/text-field-error-list.d.ts +1 -1
  148. package/dist/components/text-field/text-field-input-group.d.ts +2 -2
  149. package/dist/components/text-field/text-field-label.d.ts +2 -2
  150. package/dist/components/text-field/text-field.d.ts +3 -3
  151. package/dist/components/text-spacing/text-spacing.d.ts +1 -1
  152. package/dist/components/textarea/index.d.ts +9 -9
  153. package/dist/components/textarea/textarea-group.d.ts +2 -2
  154. package/dist/components/textarea/textarea-indicator.d.ts +2 -2
  155. package/dist/components/textarea/textarea.d.ts +5 -5
  156. package/dist/components/toast/index.d.ts +1 -1
  157. package/dist/components/toast/toast-root.cjs +75 -75
  158. package/dist/components/toast/toast-root.js +75 -75
  159. package/dist/components/toggle/toggle.cjs +4 -4
  160. package/dist/components/toggle/toggle.d.ts +4 -4
  161. package/dist/components/toggle/toggle.js +4 -4
  162. package/dist/components/toggletip/index.d.ts +1 -1
  163. package/dist/components/toggletip/toggletip-root.d.ts +3 -3
  164. package/dist/components/tooltip/index.d.ts +15 -17
  165. package/dist/components/tooltip/tooltip-content.d.ts +15 -15
  166. package/dist/components/tooltip/tooltip-root.d.ts +1 -1
  167. package/dist/components/top-row-buttons/top-row-buttons.d.ts +5 -5
  168. package/dist/components/visually-hidden/visually-hidden.d.ts +2 -2
  169. package/dist/drawer.module-CRbvc--J.js +16 -0
  170. package/dist/drawer.module-CdrdXo5o.cjs +15 -0
  171. package/dist/style.css +841 -800
  172. package/dist/utils/action.d.ts +0 -1
  173. package/dist/utils/component-props-as.d.ts +0 -1
  174. package/dist/utils/generate-styling/gap.d.ts +0 -24
  175. package/package.json +56 -57
  176. package/dist/drawer.module-C4NZoZUc.cjs +0 -15
  177. package/dist/drawer.module-jxIDBwQn.js +0 -16
@@ -20,29 +20,29 @@ export type TriggerProps = Omit<React.ComponentPropsWithoutRef<typeof Button>, '
20
20
  children?: React.ReactNode;
21
21
  };
22
22
  export declare const Trigger: 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 & {
23
- display?: import('../../utils/generate-styling').DisplayChildren | undefined;
23
+ display?: import('../../utils/generate-styling').DisplayChildren;
24
24
  } & {
25
- asChild?: boolean | undefined;
26
- loading?: boolean | undefined;
27
- fullWidth?: boolean | undefined;
28
- size?: "sm" | "md" | "lg" | undefined;
29
- variant?: "text" | "list-item" | "primary" | "secondary" | "destructive" | "tertiary-purple" | "text-underline" | "expressive" | "primary-negative" | "secondary-negative" | "destructive-negative" | "tertiary-purple-negative" | "text-negative" | "expressive-negative" | undefined;
30
- borderStyle?: ("dashed" | "default") | undefined;
25
+ asChild?: boolean;
26
+ loading?: boolean;
27
+ fullWidth?: boolean;
28
+ size?: import('../button/button').Size;
29
+ variant?: import('../button/button').Variant;
30
+ borderStyle?: "dashed" | "default";
31
31
  } & {
32
32
  iconOnly: true;
33
33
  "aria-label": string;
34
34
  } & 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 & {
35
- display?: import('../../utils/generate-styling').DisplayChildren | undefined;
35
+ display?: import('../../utils/generate-styling').DisplayChildren;
36
36
  } & {
37
- asChild?: boolean | undefined;
38
- loading?: boolean | undefined;
39
- fullWidth?: boolean | undefined;
40
- size?: "sm" | "md" | "lg" | undefined;
41
- variant?: "text" | "list-item" | "primary" | "secondary" | "destructive" | "tertiary-purple" | "text-underline" | "expressive" | "primary-negative" | "secondary-negative" | "destructive-negative" | "tertiary-purple-negative" | "text-negative" | "expressive-negative" | undefined;
42
- borderStyle?: ("dashed" | "default") | undefined;
37
+ asChild?: boolean;
38
+ loading?: boolean;
39
+ fullWidth?: boolean;
40
+ size?: import('../button/button').Size;
41
+ variant?: import('../button/button').Variant;
42
+ borderStyle?: "dashed" | "default";
43
43
  } & {
44
- iconOnly?: false | undefined;
45
- "aria-label"?: string | undefined;
44
+ iconOnly?: false;
45
+ "aria-label"?: string;
46
46
  } & React.RefAttributes<HTMLButtonElement>, "ref">, "variant" | "iconOnly"> & {
47
47
  /**
48
48
  * The visual style of the trigger button.
@@ -54,7 +54,7 @@ export declare const Trigger: React.ForwardRefExoticComponent<Omit<Omit<Omit<Rea
54
54
  *
55
55
  * @default undefined - Uses the default Button variant
56
56
  */
57
- variant?: ButtonProps['variant'] | 'back';
57
+ variant?: ButtonProps["variant"] | "back";
58
58
  /**
59
59
  * The content of the trigger button.
60
60
  * Typically text that indicates the action (e.g., "Flip", "See details", "Back").
@@ -1,4 +1,4 @@
1
- import { RootProps } from './flip-card-root';
1
+ import { Root, RootProps } from './flip-card-root';
2
2
  import { Back, BackProps } from './flip-card-back';
3
3
  import { Front, FrontProps } from './flip-card-front';
4
4
  import { Trigger, TriggerProps } from './flip-card-trigger';
@@ -58,12 +58,7 @@ export type FlipCardProps = {
58
58
  * </FlipCard>
59
59
  * ```
60
60
  */
61
- declare const FlipCard: import('react').ForwardRefExoticComponent<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
62
- defaultFlipped?: boolean | undefined;
63
- onFlippedChange?: ((flipped: boolean) => void) | undefined;
64
- flipped?: boolean | undefined;
65
- 'aria-label'?: string | undefined;
66
- } & import('react').RefAttributes<HTMLDivElement>> & {
61
+ declare const FlipCard: typeof Root & {
67
62
  /**
68
63
  * Container for content displayed on the back of the card.
69
64
  * This content is shown when the card is flipped.
@@ -1 +1,3 @@
1
- export declare const isIconName: (value: string | null) => value is "link" | "map" | "menu" | "search" | "summary" | "time" | "video" | "filter" | "image" | "stop" | "key" | "split" | "alert" | "radio" | "email" | "copy" | "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" | "sidepanel-hide" | "sidepanel-show" | "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" | "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" | "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" | "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" | "youtube" | "linkedin" | "snapchat" | "telia-logo" | "whatsapp" | "windows" | "x" | "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";
1
+ import { IconName } from './icon';
2
+
3
+ export declare const isIconName: (value: string | null) => value is IconName;
@@ -4,17 +4,17 @@ import { InputGroupRootProps } from './input-group';
4
4
  import { ClearButtonProps } from './input-clear-button';
5
5
 
6
6
  declare const InputGroup: import('react').ForwardRefExoticComponent<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
7
- frameClassName?: string | undefined;
8
- preventGroupClickSelect?: boolean | undefined;
7
+ frameClassName?: string;
8
+ preventGroupClickSelect?: boolean;
9
9
  } & import('react').RefAttributes<HTMLDivElement>> & {
10
10
  Input: import('react').ForwardRefExoticComponent<Omit<Omit<import('react').DetailedHTMLProps<import('react').InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref">, "children"> & {
11
- validationState?: ("invalid" | "valid") | undefined;
12
- isLoading?: boolean | undefined;
13
- onValueChange?: ((value: string) => void) | undefined;
11
+ validationState?: "invalid" | "valid";
12
+ isLoading?: boolean;
13
+ onValueChange?: (value: string) => void;
14
14
  } & import('react').RefAttributes<HTMLInputElement>>;
15
15
  Indicator: import('react').ForwardRefExoticComponent<Omit<import('react').SVGProps<SVGSVGElement>, "ref"> & {
16
- isValid?: boolean | undefined;
17
- isLoading?: boolean | undefined;
16
+ isValid?: boolean;
17
+ isLoading?: boolean;
18
18
  } & import('react').RefAttributes<SVGSVGElement>>;
19
19
  ClearButton: import('react').ForwardRefExoticComponent<ClearButtonProps & import('react').RefAttributes<HTMLButtonElement>>;
20
20
  };
@@ -12,7 +12,7 @@ type InputGroupContextValue = {
12
12
  export declare const InputGroupContext: React.Context<InputGroupContextValue | undefined>;
13
13
  /** This is the element that wraps the input element gives the outline effect */
14
14
  export declare const Root: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
15
- frameClassName?: string | undefined;
16
- preventGroupClickSelect?: boolean | undefined;
15
+ frameClassName?: string;
16
+ preventGroupClickSelect?: boolean;
17
17
  } & React.RefAttributes<HTMLDivElement>>;
18
18
  export {};
@@ -15,9 +15,9 @@ export declare const Indicator: React.ForwardRefExoticComponent<Omit<React.SVGPr
15
15
  /**
16
16
  * Whether the input is invalid.
17
17
  */
18
- isValid?: boolean | undefined;
18
+ isValid?: boolean;
19
19
  /**
20
20
  * Whether the input is loading.
21
21
  */
22
- isLoading?: boolean | undefined;
22
+ isLoading?: boolean;
23
23
  } & React.RefAttributes<SVGSVGElement>>;
@@ -14,10 +14,10 @@ export type InputProps = Omit<Input, 'children'> & {
14
14
  /** The input element */
15
15
  export declare const Input: React.ForwardRefExoticComponent<Omit<Omit<React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref">, "children"> & {
16
16
  /** Whether the input should display its "valid" or "invalid" visual styling. */
17
- validationState?: ValidationState | undefined;
17
+ validationState?: ValidationState;
18
18
  /** Whether to show a loading indicator. */
19
- isLoading?: boolean | undefined;
19
+ isLoading?: boolean;
20
20
  /** Called when the value changes. */
21
- onValueChange?: ((value: string) => void) | undefined;
21
+ onValueChange?: (value: string) => void;
22
22
  } & React.RefAttributes<HTMLInputElement>>;
23
23
  export {};
@@ -5,7 +5,7 @@ export type LabelProps = React.ComponentPropsWithoutRef<typeof LabelPrimitive.Ro
5
5
  isRequired?: boolean;
6
6
  };
7
7
  declare const Label: React.ForwardRefExoticComponent<Omit<LabelPrimitive.LabelProps & React.RefAttributes<HTMLLabelElement>, "ref"> & {
8
- disabled?: boolean | undefined;
9
- isRequired?: boolean | undefined;
8
+ disabled?: boolean;
9
+ isRequired?: boolean;
10
10
  } & React.RefAttributes<HTMLLabelElement>>;
11
11
  export { Label };
@@ -27,22 +27,22 @@ type LinkProps = React.ComponentPropsWithoutRef<'a'> & {
27
27
  *
28
28
  */
29
29
  declare const Link: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, "ref"> & {
30
- asChild?: boolean | undefined;
30
+ asChild?: boolean;
31
31
  /** Disables visited styling */
32
- disableVisited?: boolean | undefined;
32
+ disableVisited?: boolean;
33
33
  /**
34
34
  * This sets a minimum size on the targetable area of the link. Please note
35
35
  * it also changes display value to flex, meaning its container will behave
36
36
  * like a block element. You can wrap this component in a flex container
37
37
  * for additional layout control.
38
38
  */
39
- ensureTargetArea?: boolean | undefined;
39
+ ensureTargetArea?: boolean;
40
40
  /**
41
41
  * A silent link is intended to wrap an element
42
42
  * to make it a link but not add any styling
43
43
  * except for the pointer cursor and focus style.
44
44
  */
45
- silent?: boolean | undefined;
45
+ silent?: boolean;
46
46
  variant: Variant;
47
47
  } & React.RefAttributes<HTMLAnchorElement>>;
48
48
  export { Link };
@@ -4,40 +4,40 @@ import { IllustrationProps } from './list-illustration';
4
4
  import { ContentProps } from './list-content';
5
5
 
6
6
  declare const List: import('react').ForwardRefExoticComponent<Omit<Omit<import('../../utils/generate-styling/flex').FlexChildren & import('../../utils/generate-styling/grid').GridChildren & import('../../utils/generate-styling/position').PositionProps & import('../../utils/generate-styling/inset').InsetProps & import('../../utils/generate-styling/radius').RadiusProps & import('../../utils/generate-styling/margin').MarginProps & import('../../utils/generate-styling/padding').PaddingProps & import('../../utils/generate-styling/width').WidthProps & import('../../utils/generate-styling/height').HeightProps & import('../../utils/generate-styling/color').ColorProps & {
7
- display?: import('../../utils/generate-styling').DisplayChildren | undefined;
7
+ display?: import('../../utils/generate-styling').DisplayChildren;
8
8
  } & import('../../utils/generate-styling/gap').GapProps & {
9
- align?: import('../../utils/generate-styling/align').Align | undefined;
10
- justify?: import('../../utils/generate-styling/justify').Justify | undefined;
9
+ align?: import('../../utils/generate-styling/align').Align;
10
+ justify?: import('../../utils/generate-styling/justify').Justify;
11
11
  } & import('../../utils/generate-styling/flex').FlexLayout & {
12
12
  asChild: true;
13
- as?: undefined;
13
+ as?: never;
14
14
  } & Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & import('react').RefAttributes<HTMLDivElement>, "ref"> | Omit<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 & {
15
- display?: import('../../utils/generate-styling').DisplayChildren | undefined;
15
+ display?: import('../../utils/generate-styling').DisplayChildren;
16
16
  } & import('../../utils/generate-styling/gap').GapProps & {
17
- align?: import('../../utils/generate-styling/align').Align | undefined;
18
- justify?: import('../../utils/generate-styling/justify').Justify | undefined;
17
+ align?: import('../../utils/generate-styling/align').Align;
18
+ justify?: import('../../utils/generate-styling/justify').Justify;
19
19
  } & import('../../utils/generate-styling/flex').FlexLayout & {
20
- as?: "span" | undefined;
21
- asChild?: false | undefined;
20
+ as?: "span";
21
+ asChild?: false;
22
22
  } & Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & import('react').RefAttributes<HTMLDivElement>, "ref"> | Omit<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 & {
23
- display?: import('../../utils/generate-styling').DisplayChildren | undefined;
23
+ display?: import('../../utils/generate-styling').DisplayChildren;
24
24
  } & import('../../utils/generate-styling/gap').GapProps & {
25
- align?: import('../../utils/generate-styling/align').Align | undefined;
26
- justify?: import('../../utils/generate-styling/justify').Justify | undefined;
25
+ align?: import('../../utils/generate-styling/align').Align;
26
+ justify?: import('../../utils/generate-styling/justify').Justify;
27
27
  } & import('../../utils/generate-styling/flex').FlexLayout & {
28
28
  as: "div";
29
- asChild?: false | undefined;
29
+ asChild?: false;
30
30
  } & Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & import('react').RefAttributes<HTMLDivElement>, "ref">, "as"> & {
31
- layout?: import('./list').Layout | undefined;
32
- variant?: import('./list').Variant | undefined;
33
- isSubcomponent?: boolean | undefined;
34
- gapSize?: "small" | "large" | undefined;
31
+ layout?: import('./list').Layout;
32
+ variant?: import('./list').Variant;
33
+ isSubcomponent?: boolean;
34
+ gapSize?: "small" | "large";
35
35
  } & 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;
36
+ display?: import('../../utils/generate-styling').DisplayChildren;
37
37
  } & import('react').RefAttributes<HTMLDivElement>> & {
38
38
  Item: import('react').ForwardRefExoticComponent<Omit<import('react').DetailedHTMLProps<import('react').LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & import('react').RefAttributes<HTMLLIElement>>;
39
39
  Illustration: import('react').ForwardRefExoticComponent<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
40
- variant?: import('./list').Variant | undefined;
40
+ variant?: import('./list').Variant;
41
41
  } & import('react').RefAttributes<HTMLSpanElement>>;
42
42
  Content: import('react').ForwardRefExoticComponent<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
43
43
  };
@@ -5,5 +5,5 @@ export type IllustrationProps = React.ComponentPropsWithoutRef<'span'> & {
5
5
  variant?: Variant;
6
6
  };
7
7
  export declare const Illustration: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
8
- variant?: Variant | undefined;
8
+ variant?: Variant;
9
9
  } & React.RefAttributes<HTMLSpanElement>>;
@@ -16,35 +16,35 @@ type RootContextType = {
16
16
  };
17
17
  export declare const RootContext: React.Context<RootContextType | undefined>;
18
18
  export declare const Root: React.ForwardRefExoticComponent<Omit<Omit<import('../../utils/generate-styling/flex').FlexChildren & import('../../utils/generate-styling/grid').GridChildren & import('../../utils/generate-styling/position').PositionProps & import('../../utils/generate-styling/inset').InsetProps & import('../../utils/generate-styling/radius').RadiusProps & import('../../utils/generate-styling/margin').MarginProps & import('../../utils/generate-styling/padding').PaddingProps & import('../../utils/generate-styling/width').WidthProps & import('../../utils/generate-styling/height').HeightProps & import('../../utils/generate-styling/color').ColorProps & {
19
- display?: import('../../utils/generate-styling').DisplayChildren | undefined;
19
+ display?: import('../../utils/generate-styling').DisplayChildren;
20
20
  } & import('../../utils/generate-styling/gap').GapProps & {
21
- align?: import('../../utils/generate-styling/align').Align | undefined;
22
- justify?: import('../../utils/generate-styling/justify').Justify | undefined;
21
+ align?: import('../../utils/generate-styling/align').Align;
22
+ justify?: import('../../utils/generate-styling/justify').Justify;
23
23
  } & import('../../utils/generate-styling/flex').FlexLayout & {
24
24
  asChild: true;
25
- as?: undefined;
25
+ as?: never;
26
26
  } & Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & React.RefAttributes<HTMLDivElement>, "ref"> | Omit<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 & {
27
- display?: import('../../utils/generate-styling').DisplayChildren | undefined;
27
+ display?: import('../../utils/generate-styling').DisplayChildren;
28
28
  } & import('../../utils/generate-styling/gap').GapProps & {
29
- align?: import('../../utils/generate-styling/align').Align | undefined;
30
- justify?: import('../../utils/generate-styling/justify').Justify | undefined;
29
+ align?: import('../../utils/generate-styling/align').Align;
30
+ justify?: import('../../utils/generate-styling/justify').Justify;
31
31
  } & import('../../utils/generate-styling/flex').FlexLayout & {
32
- as?: "span" | undefined;
33
- asChild?: false | undefined;
32
+ as?: "span";
33
+ asChild?: false;
34
34
  } & Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & React.RefAttributes<HTMLDivElement>, "ref"> | Omit<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 & {
35
- display?: import('../../utils/generate-styling').DisplayChildren | undefined;
35
+ display?: import('../../utils/generate-styling').DisplayChildren;
36
36
  } & import('../../utils/generate-styling/gap').GapProps & {
37
- align?: import('../../utils/generate-styling/align').Align | undefined;
38
- justify?: import('../../utils/generate-styling/justify').Justify | undefined;
37
+ align?: import('../../utils/generate-styling/align').Align;
38
+ justify?: import('../../utils/generate-styling/justify').Justify;
39
39
  } & import('../../utils/generate-styling/flex').FlexLayout & {
40
40
  as: "div";
41
- asChild?: false | undefined;
41
+ asChild?: false;
42
42
  } & Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>, "ref">, "as"> & {
43
- layout?: Layout | undefined;
44
- variant?: Variant | undefined;
45
- isSubcomponent?: boolean | undefined;
46
- gapSize?: "small" | "large" | undefined;
43
+ layout?: Layout;
44
+ variant?: Variant;
45
+ isSubcomponent?: boolean;
46
+ gapSize?: "small" | "large";
47
47
  } & 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;
48
+ display?: import('../../utils/generate-styling').DisplayChildren;
49
49
  } & React.RefAttributes<HTMLDivElement>>;
50
50
  export {};
@@ -18,8 +18,8 @@ import { IndicatorProps } from './meter-bar-indicator';
18
18
  export declare const MeterBar: import('react').ForwardRefExoticComponent<RootProps & import('react').RefAttributes<HTMLDivElement>> & {
19
19
  Indicator: import('react').ForwardRefExoticComponent<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
20
20
  value: number | null | undefined;
21
- max?: number | undefined;
22
- color?: string | undefined;
21
+ max?: number;
22
+ color?: string;
23
23
  getValueLabel?(value: number, max: number): string;
24
24
  } & import('react').RefAttributes<HTMLDivElement>>;
25
25
  };
@@ -12,8 +12,8 @@ export type IndicatorProps = React.ComponentPropsWithoutRef<'div'> & {
12
12
  */
13
13
  export declare const Indicator: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
14
14
  value: number | null | undefined;
15
- max?: number | undefined;
16
- color?: string | undefined;
15
+ max?: number;
16
+ color?: string;
17
17
  /** A function to get the accessible label text representing the current value in a human-readable format. If not provided, the value label will be read as the numeric value as a percentage of the max value. */
18
18
  getValueLabel?(value: number, max: number): string;
19
19
  } & React.RefAttributes<HTMLDivElement>>;
@@ -1,4 +1,4 @@
1
- import { RootProps } from './modal-root';
1
+ import { Root, RootProps } from './modal-root';
2
2
  import { Trigger, TriggerProps } from './modal-trigger';
3
3
  import { Content, ContentProps } from './modal-content';
4
4
  import { Title, TitleProps } from './modal-title';
@@ -59,7 +59,7 @@ type ModalProps = {
59
59
  * </Modal.Content>
60
60
  * </Modal>
61
61
  */
62
- declare const Modal: import('react').FC<RootProps> & {
62
+ declare const Modal: typeof Root & {
63
63
  /**
64
64
  * Trigger component that opens the modal when clicked.
65
65
  * Must be passed a single child component that will be used as the trigger.
@@ -6,7 +6,7 @@ type ContentProps = React.ComponentPropsWithoutRef<typeof DialogPrimitive.Conten
6
6
  size?: Size;
7
7
  };
8
8
  declare const Content: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
9
- size?: Size | undefined;
9
+ size?: Size;
10
10
  } & React.RefAttributes<HTMLDivElement>>;
11
11
  export { Content };
12
12
  export type { ContentProps };
@@ -4,7 +4,7 @@ type ImageProps = React.ComponentPropsWithoutRef<'img'> & {
4
4
  asChild?: boolean;
5
5
  };
6
6
  declare const Image: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, "ref"> & {
7
- asChild?: boolean | undefined;
7
+ asChild?: boolean;
8
8
  } & React.RefAttributes<HTMLImageElement>>;
9
9
  export { Image };
10
10
  export type { ImageProps };
@@ -6,7 +6,7 @@ type OverlayProps = React.ComponentPropsWithoutRef<typeof DialogPrimitive.Overla
6
6
  container?: React.ComponentProps<typeof DialogPrimitive.Portal>['container'];
7
7
  };
8
8
  declare const Overlay: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogOverlayProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
9
- container?: React.ComponentProps<typeof DialogPrimitive.Portal>['container'];
9
+ container?: React.ComponentProps<typeof DialogPrimitive.Portal>["container"];
10
10
  } & React.RefAttributes<HTMLDivElement>>;
11
11
  export { Overlay };
12
12
  export type { OverlayProps };
@@ -3,16 +3,16 @@ import { HeadingProps } from '../heading';
3
3
 
4
4
  type TitleProps = HeadingProps['Root'];
5
5
  declare const Title: React.ForwardRefExoticComponent<({
6
- enableHyphenation?: boolean | undefined;
7
- variant?: "title-100" | "title-200" | "title-300" | "title-400" | "title-500" | "title-600" | "title-700" | "subsection-100" | "display-25" | "display-50" | "display-100" | "display-200" | undefined;
8
- } & 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;
6
+ enableHyphenation?: boolean;
7
+ variant?: import('../heading/heading').HeadingVariant;
8
+ } & 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;
10
10
  } & (({
11
11
  asChild: true;
12
- as?: undefined;
12
+ as?: never;
13
13
  } & Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, "ref">) | ({
14
- as?: "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | undefined;
15
- asChild?: false | undefined;
16
- } & Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, "ref">))) & React.RefAttributes<HTMLHeadingElement>>;
14
+ as?: "h1" | "h2" | "h3" | "h4" | "h5" | "h6";
15
+ asChild?: false;
16
+ } & Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, "ref">)))))) & React.RefAttributes<HTMLHeadingElement>>;
17
17
  export { Title };
18
18
  export type { TitleProps };
@@ -4,5 +4,5 @@ export type DesktopProps = React.ComponentPropsWithoutRef<'div'> & {
4
4
  isSimplified?: boolean;
5
5
  };
6
6
  export declare const DesktopSimplified: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
7
- isSimplified?: boolean | undefined;
7
+ isSimplified?: boolean;
8
8
  } & React.RefAttributes<HTMLDivElement>>;
@@ -10,5 +10,5 @@ export declare const HighlightedLinks: ({ listTitle, links, item, drawerRef, }:
10
10
  listTitle: string;
11
11
  links: LinkProps[];
12
12
  item: LinkProps;
13
- drawerRef?: React.MutableRefObject<HTMLButtonElement | null> | undefined;
13
+ drawerRef?: MutableRefObject<HTMLButtonElement | null>;
14
14
  }) => import("react/jsx-runtime").JSX.Element | null;
@@ -3,8 +3,8 @@ import { TextField } from '../../text-field';
3
3
 
4
4
  export type SearchFieldProps = React.ComponentPropsWithoutRef<typeof TextField>;
5
5
  export declare const SearchField: React.ForwardRefExoticComponent<Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & Pick<import('../../input/input-indicator').InputIndicatorProps, "isLoading" | "isValid"> & {
6
- disabled?: boolean | undefined;
7
- readOnly?: boolean | undefined;
6
+ disabled?: boolean;
7
+ readOnly?: boolean;
8
8
  errors?: (string | null | undefined)[] | null | undefined;
9
- isRequired?: boolean | undefined;
9
+ isRequired?: boolean;
10
10
  } & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLInputElement>>;
@@ -88,32 +88,32 @@ declare const NavigationMenu: React.ForwardRefExoticComponent<Omit<NavigationMen
88
88
  /** The default top menu value
89
89
  * @example "private" | "business"
90
90
  */
91
- defaultTopMenuValue?: string | undefined;
91
+ defaultTopMenuValue?: string;
92
92
  topMenuValue?: string | undefined;
93
- onTopMenuValueChange?: ((value: string) => void) | undefined;
93
+ onTopMenuValueChange?: (value: string) => void;
94
94
  } & React.RefAttributes<HTMLElement>> & {
95
95
  List: React.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuListProps & React.RefAttributes<HTMLUListElement>, "ref"> & {
96
- variant?: "gray" | undefined;
96
+ variant?: "gray";
97
97
  /** If the list should be contained by the top menu, provide a value that matches the top menu value
98
98
  * @example
99
99
  * <NavigationMenu.TopMenuTrigger value="home" />
100
100
  * <NavigationMenu.List value="home" />
101
101
  */
102
- value?: string | undefined;
102
+ value?: string;
103
103
  } & React.RefAttributes<HTMLUListElement>>;
104
104
  Separator: React.ForwardRefExoticComponent<SeparatorProps & React.RefAttributes<HTMLDivElement>>;
105
105
  Item: React.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuItemProps & React.RefAttributes<HTMLLIElement>, "ref"> & {
106
- defaultValue?: string | undefined;
106
+ defaultValue?: string;
107
107
  } & React.RefAttributes<HTMLLIElement>>;
108
108
  Trigger: React.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuTriggerProps & React.RefAttributes<HTMLButtonElement>, "ref"> & {
109
- variant?: "small" | "default" | undefined;
110
- active?: boolean | undefined;
109
+ variant?: "default" | "small";
110
+ active?: boolean;
111
111
  } & React.RefAttributes<HTMLButtonElement>>;
112
112
  Content: React.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
113
- variant?: "default" | "float" | undefined;
113
+ variant?: "default" | "float";
114
114
  } & React.RefAttributes<HTMLDivElement>>;
115
115
  Link: React.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuLinkProps & React.RefAttributes<HTMLAnchorElement>, "ref"> & {
116
- variant?: "button" | "small" | "default" | undefined;
116
+ variant?: "default" | "small" | "button";
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>>;
@@ -122,8 +122,8 @@ declare const NavigationMenu: React.ForwardRefExoticComponent<Omit<NavigationMen
122
122
  TopMenuItem: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & React.RefAttributes<HTMLLIElement>>;
123
123
  TopMenuTrigger: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
124
124
  value: string;
125
- active?: boolean | undefined;
126
- asChild?: boolean | undefined;
125
+ active?: boolean;
126
+ asChild?: boolean;
127
127
  } & React.RefAttributes<HTMLButtonElement>>;
128
128
  };
129
129
  type NavigationMenuProps = {
@@ -1,7 +1,7 @@
1
1
  import { Content, ContentProps } from './notabene.content';
2
2
  import { Heading, HeadingProps } from './notabene-heading';
3
3
  import { Icon, IconProps } from './notabene-icon';
4
- import { RootProps } from './notabene-root';
4
+ import { Root, RootProps } from './notabene-root';
5
5
 
6
6
  type NotabeneProps = {
7
7
  Root: RootProps;
@@ -26,7 +26,7 @@ type NotabeneProps = {
26
26
  * </Notabene.Content>
27
27
  * </Notabene>
28
28
  */
29
- declare const Notabene: import('react').ForwardRefExoticComponent<RootProps & import('react').RefAttributes<HTMLDivElement>> & {
29
+ declare const Notabene: typeof Root & {
30
30
  /**
31
31
  * Content component displays the detailed message.
32
32
  *
@@ -3,8 +3,8 @@ 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: "link" | "map" | "menu" | "search" | "summary" | "time" | "video" | "filter" | "image" | "stop" | "key" | "split" | "alert" | "radio" | "email" | "copy" | "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" | "sidepanel-hide" | "sidepanel-show" | "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" | "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" | "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" | "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" | "youtube" | "linkedin" | "snapchat" | "telia-logo" | "whatsapp" | "windows" | "x" | "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
- size?: ("xs" | "sm" | "md" | "lg" | "font" | "xxs" | "xl") | undefined;
8
- title?: string | undefined;
6
+ name: import('..').IconName;
7
+ size?: "xs" | "sm" | "md" | "lg" | "font" | "xxs" | "xl";
8
+ title?: string;
9
9
  children?: React.ReactNode;
10
10
  }, "ref">> & React.RefAttributes<SVGSVGElement>>;