@sorayasm/vietri-ds 0.0.0-stage → 0.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (164) hide show
  1. package/CHANGELOG.md +53 -0
  2. package/LICENSE +21 -0
  3. package/README.md +254 -2
  4. package/dist/index.cjs +11 -0
  5. package/dist/index.cjs.map +1 -0
  6. package/dist/index.js +2012 -0
  7. package/dist/index.js.map +1 -0
  8. package/dist/types/components/BarChart/BarChart.d.ts +15 -0
  9. package/dist/types/components/BarChart/BarChart.d.ts.map +1 -0
  10. package/dist/types/components/BarChart/index.d.ts +3 -0
  11. package/dist/types/components/BarChart/index.d.ts.map +1 -0
  12. package/dist/types/components/Button/Button.d.ts +3 -0
  13. package/dist/types/components/Button/Button.d.ts.map +1 -0
  14. package/dist/types/components/Button/index.d.ts +3 -0
  15. package/dist/types/components/Button/index.d.ts.map +1 -0
  16. package/dist/types/components/Card/Card.d.ts +7 -0
  17. package/dist/types/components/Card/Card.d.ts.map +1 -0
  18. package/dist/types/components/Card/index.d.ts +3 -0
  19. package/dist/types/components/Card/index.d.ts.map +1 -0
  20. package/dist/types/components/Chip/Chip.d.ts +17 -0
  21. package/dist/types/components/Chip/Chip.d.ts.map +1 -0
  22. package/dist/types/components/Chip/index.d.ts +3 -0
  23. package/dist/types/components/Chip/index.d.ts.map +1 -0
  24. package/dist/types/components/ContentRail/ContentRail.d.ts +24 -0
  25. package/dist/types/components/ContentRail/ContentRail.d.ts.map +1 -0
  26. package/dist/types/components/ContentRail/index.d.ts +3 -0
  27. package/dist/types/components/ContentRail/index.d.ts.map +1 -0
  28. package/dist/types/components/CopyField/CopyField.d.ts +16 -0
  29. package/dist/types/components/CopyField/CopyField.d.ts.map +1 -0
  30. package/dist/types/components/CopyField/index.d.ts +3 -0
  31. package/dist/types/components/CopyField/index.d.ts.map +1 -0
  32. package/dist/types/components/DataTable/DataTable.d.ts +23 -0
  33. package/dist/types/components/DataTable/DataTable.d.ts.map +1 -0
  34. package/dist/types/components/DataTable/index.d.ts +3 -0
  35. package/dist/types/components/DataTable/index.d.ts.map +1 -0
  36. package/dist/types/components/Dialog/Dialog.d.ts +20 -0
  37. package/dist/types/components/Dialog/Dialog.d.ts.map +1 -0
  38. package/dist/types/components/Dialog/index.d.ts +3 -0
  39. package/dist/types/components/Dialog/index.d.ts.map +1 -0
  40. package/dist/types/components/Drawer/Drawer.d.ts +21 -0
  41. package/dist/types/components/Drawer/Drawer.d.ts.map +1 -0
  42. package/dist/types/components/Drawer/index.d.ts +3 -0
  43. package/dist/types/components/Drawer/index.d.ts.map +1 -0
  44. package/dist/types/components/EpisodeList/EpisodeList.d.ts +37 -0
  45. package/dist/types/components/EpisodeList/EpisodeList.d.ts.map +1 -0
  46. package/dist/types/components/EpisodeList/index.d.ts +3 -0
  47. package/dist/types/components/EpisodeList/index.d.ts.map +1 -0
  48. package/dist/types/components/FeatureCard/FeatureCard.d.ts +17 -0
  49. package/dist/types/components/FeatureCard/FeatureCard.d.ts.map +1 -0
  50. package/dist/types/components/FeatureCard/index.d.ts +3 -0
  51. package/dist/types/components/FeatureCard/index.d.ts.map +1 -0
  52. package/dist/types/components/Footer/Footer.d.ts +24 -0
  53. package/dist/types/components/Footer/Footer.d.ts.map +1 -0
  54. package/dist/types/components/Footer/index.d.ts +3 -0
  55. package/dist/types/components/Footer/index.d.ts.map +1 -0
  56. package/dist/types/components/Hero/Hero.d.ts +21 -0
  57. package/dist/types/components/Hero/Hero.d.ts.map +1 -0
  58. package/dist/types/components/Hero/index.d.ts +3 -0
  59. package/dist/types/components/Hero/index.d.ts.map +1 -0
  60. package/dist/types/components/Icon/Icon.d.ts +11 -0
  61. package/dist/types/components/Icon/Icon.d.ts.map +1 -0
  62. package/dist/types/components/Icon/icons.d.ts +6 -0
  63. package/dist/types/components/Icon/icons.d.ts.map +1 -0
  64. package/dist/types/components/Icon/index.d.ts +3 -0
  65. package/dist/types/components/Icon/index.d.ts.map +1 -0
  66. package/dist/types/components/Input/Input.d.ts +3 -0
  67. package/dist/types/components/Input/Input.d.ts.map +1 -0
  68. package/dist/types/components/Input/index.d.ts +3 -0
  69. package/dist/types/components/Input/index.d.ts.map +1 -0
  70. package/dist/types/components/LanguageSwitch/LanguageSwitch.d.ts +13 -0
  71. package/dist/types/components/LanguageSwitch/LanguageSwitch.d.ts.map +1 -0
  72. package/dist/types/components/LanguageSwitch/index.d.ts +3 -0
  73. package/dist/types/components/LanguageSwitch/index.d.ts.map +1 -0
  74. package/dist/types/components/MediaCard/MediaCard.d.ts +31 -0
  75. package/dist/types/components/MediaCard/MediaCard.d.ts.map +1 -0
  76. package/dist/types/components/MediaCard/index.d.ts +3 -0
  77. package/dist/types/components/MediaCard/index.d.ts.map +1 -0
  78. package/dist/types/components/NavBar/NavBar.d.ts +30 -0
  79. package/dist/types/components/NavBar/NavBar.d.ts.map +1 -0
  80. package/dist/types/components/NavBar/index.d.ts +3 -0
  81. package/dist/types/components/NavBar/index.d.ts.map +1 -0
  82. package/dist/types/components/PlaylistCard/PlaylistCard.d.ts +27 -0
  83. package/dist/types/components/PlaylistCard/PlaylistCard.d.ts.map +1 -0
  84. package/dist/types/components/PlaylistCard/index.d.ts +3 -0
  85. package/dist/types/components/PlaylistCard/index.d.ts.map +1 -0
  86. package/dist/types/components/ProfileCard/ProfileCard.d.ts +29 -0
  87. package/dist/types/components/ProfileCard/ProfileCard.d.ts.map +1 -0
  88. package/dist/types/components/ProfileCard/index.d.ts +3 -0
  89. package/dist/types/components/ProfileCard/index.d.ts.map +1 -0
  90. package/dist/types/components/SectionHeader/SectionHeader.d.ts +17 -0
  91. package/dist/types/components/SectionHeader/SectionHeader.d.ts.map +1 -0
  92. package/dist/types/components/SectionHeader/index.d.ts +3 -0
  93. package/dist/types/components/SectionHeader/index.d.ts.map +1 -0
  94. package/dist/types/components/Select/Select.d.ts +23 -0
  95. package/dist/types/components/Select/Select.d.ts.map +1 -0
  96. package/dist/types/components/Select/index.d.ts +3 -0
  97. package/dist/types/components/Select/index.d.ts.map +1 -0
  98. package/dist/types/components/SkipLink/SkipLink.d.ts +12 -0
  99. package/dist/types/components/SkipLink/SkipLink.d.ts.map +1 -0
  100. package/dist/types/components/SkipLink/index.d.ts +3 -0
  101. package/dist/types/components/SkipLink/index.d.ts.map +1 -0
  102. package/dist/types/components/StatCard/StatCard.d.ts +11 -0
  103. package/dist/types/components/StatCard/StatCard.d.ts.map +1 -0
  104. package/dist/types/components/StatCard/index.d.ts +3 -0
  105. package/dist/types/components/StatCard/index.d.ts.map +1 -0
  106. package/dist/types/components/Steps/Steps.d.ts +20 -0
  107. package/dist/types/components/Steps/Steps.d.ts.map +1 -0
  108. package/dist/types/components/Steps/index.d.ts +3 -0
  109. package/dist/types/components/Steps/index.d.ts.map +1 -0
  110. package/dist/types/components/Tabs/Tabs.d.ts +5 -0
  111. package/dist/types/components/Tabs/Tabs.d.ts.map +1 -0
  112. package/dist/types/components/Tabs/index.d.ts +3 -0
  113. package/dist/types/components/Tabs/index.d.ts.map +1 -0
  114. package/dist/types/components/Timeline/Timeline.d.ts +24 -0
  115. package/dist/types/components/Timeline/Timeline.d.ts.map +1 -0
  116. package/dist/types/components/Timeline/index.d.ts +3 -0
  117. package/dist/types/components/Timeline/index.d.ts.map +1 -0
  118. package/dist/types/components/Typography/Typography.d.ts +3 -0
  119. package/dist/types/components/Typography/Typography.d.ts.map +1 -0
  120. package/dist/types/components/Typography/index.d.ts +3 -0
  121. package/dist/types/components/Typography/index.d.ts.map +1 -0
  122. package/dist/types/components/VideoEmbed/VideoEmbed.d.ts +25 -0
  123. package/dist/types/components/VideoEmbed/VideoEmbed.d.ts.map +1 -0
  124. package/dist/types/components/VideoEmbed/index.d.ts +3 -0
  125. package/dist/types/components/VideoEmbed/index.d.ts.map +1 -0
  126. package/dist/types/components/VisuallyHidden/VisuallyHidden.d.ts +7 -0
  127. package/dist/types/components/VisuallyHidden/VisuallyHidden.d.ts.map +1 -0
  128. package/dist/types/components/VisuallyHidden/index.d.ts +2 -0
  129. package/dist/types/components/VisuallyHidden/index.d.ts.map +1 -0
  130. package/dist/types/components/index.d.ts +61 -0
  131. package/dist/types/components/index.d.ts.map +1 -0
  132. package/dist/types/components/internal/stretched.d.ts +18 -0
  133. package/dist/types/components/internal/stretched.d.ts.map +1 -0
  134. package/dist/types/index.d.ts +3 -0
  135. package/dist/types/index.d.ts.map +1 -0
  136. package/dist/types/theme/augmentation.d.ts +18 -0
  137. package/dist/types/theme/augmentation.d.ts.map +1 -0
  138. package/dist/types/theme/base.d.ts +17 -0
  139. package/dist/types/theme/base.d.ts.map +1 -0
  140. package/dist/types/theme/categorical.d.ts +35 -0
  141. package/dist/types/theme/categorical.d.ts.map +1 -0
  142. package/dist/types/theme/categorical.test.d.ts +2 -0
  143. package/dist/types/theme/categorical.test.d.ts.map +1 -0
  144. package/dist/types/theme/components.d.ts +8 -0
  145. package/dist/types/theme/components.d.ts.map +1 -0
  146. package/dist/types/theme/editorial.d.ts +2 -0
  147. package/dist/types/theme/editorial.d.ts.map +1 -0
  148. package/dist/types/theme/gradients.test.d.ts +2 -0
  149. package/dist/types/theme/gradients.test.d.ts.map +1 -0
  150. package/dist/types/theme/index.d.ts +13 -0
  151. package/dist/types/theme/index.d.ts.map +1 -0
  152. package/dist/types/theme/observatory.d.ts +2 -0
  153. package/dist/types/theme/observatory.d.ts.map +1 -0
  154. package/dist/types/theme/palettes.d.ts +74 -0
  155. package/dist/types/theme/palettes.d.ts.map +1 -0
  156. package/dist/types/theme/status.test.d.ts +2 -0
  157. package/dist/types/theme/status.test.d.ts.map +1 -0
  158. package/dist/types/theme/streaming.d.ts +2 -0
  159. package/dist/types/theme/streaming.d.ts.map +1 -0
  160. package/dist/types/theme/themes.test.d.ts +2 -0
  161. package/dist/types/theme/themes.test.d.ts.map +1 -0
  162. package/dist/types/theme/tokens.d.ts +49 -0
  163. package/dist/types/theme/tokens.d.ts.map +1 -0
  164. package/package.json +88 -4
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Dialog.d.ts","sourceRoot":"","sources":["../../../../src/components/Dialog/Dialog.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAS,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAU9C,MAAM,WAAW,WAAW;IAC1B,IAAI,EAAE,OAAO,CAAC;IACd,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,oDAAoD;IACpD,KAAK,EAAE,MAAM,CAAC;IACd,iFAAiF;IACjF,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,2CAA2C;IAC3C,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;CACtC;AAED;;;GAGG;AACH,wBAAgB,MAAM,CAAC,EACrB,IAAI,EACJ,OAAO,EACP,KAAK,EACL,WAAW,EACX,QAAQ,EACR,OAAO,EACP,UAAoB,EACpB,QAAe,GAChB,EAAE,WAAW,2CAkCb"}
@@ -0,0 +1,3 @@
1
+ export { Dialog } from "./Dialog";
2
+ export type { DialogProps } from "./Dialog";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Dialog/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,YAAY,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC"}
@@ -0,0 +1,21 @@
1
+ import { type ReactNode } from "react";
2
+ export interface DrawerProps {
3
+ open: boolean;
4
+ onClose: () => void;
5
+ /** Panel title. It is also its accessible name. */
6
+ title: string;
7
+ /** Small label above the title, for example "Archive profile". */
8
+ eyebrow?: ReactNode;
9
+ children: ReactNode;
10
+ /** Fixed content at the bottom of the panel, for example a button. */
11
+ footer?: ReactNode;
12
+ anchor?: "left" | "right";
13
+ width?: number;
14
+ closeLabel?: string;
15
+ }
16
+ /**
17
+ * Modal side panel. It traps focus, closes with Escape and is announced as a
18
+ * dialog named by its title.
19
+ */
20
+ export declare function Drawer({ open, onClose, title, eyebrow, children, footer, anchor, width, closeLabel, }: DrawerProps): import("react/jsx-runtime").JSX.Element;
21
+ //# sourceMappingURL=Drawer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Drawer.d.ts","sourceRoot":"","sources":["../../../../src/components/Drawer/Drawer.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAS,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAS9C,MAAM,WAAW,WAAW;IAC1B,IAAI,EAAE,OAAO,CAAC;IACd,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,mDAAmD;IACnD,KAAK,EAAE,MAAM,CAAC;IACd,kEAAkE;IAClE,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB,QAAQ,EAAE,SAAS,CAAC;IACpB,sEAAsE;IACtE,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;IAC1B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED;;;GAGG;AACH,wBAAgB,MAAM,CAAC,EACrB,IAAI,EACJ,OAAO,EACP,KAAK,EACL,OAAO,EACP,QAAQ,EACR,MAAM,EACN,MAAgB,EAChB,KAAW,EACX,UAAoB,GACrB,EAAE,WAAW,2CA0Cb"}
@@ -0,0 +1,3 @@
1
+ export { Drawer } from "./Drawer";
2
+ export type { DrawerProps } from "./Drawer";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Drawer/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,YAAY,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC"}
@@ -0,0 +1,37 @@
1
+ type HeadingLevel = 2 | 3 | 4 | 5 | 6;
2
+ export interface Episode {
3
+ id: string;
4
+ /** Episode number, as published (it may not match the position in the list). */
5
+ number: number;
6
+ title: string;
7
+ description?: string;
8
+ /** Extra line, for example guest and duration. */
9
+ meta?: string;
10
+ /** Small thumbnail (16:9). */
11
+ imageUrl?: string;
12
+ /** Makes the row a link. */
13
+ href?: string;
14
+ }
15
+ export interface EpisodeListProps {
16
+ episodes: Episode[];
17
+ /** Id of the episode being watched. It is marked with aria-current. */
18
+ currentId?: string;
19
+ /** Makes every row a button and reports the chosen id. */
20
+ onSelect?: (id: string) => void;
21
+ /** Heading level of each title. Default 3. */
22
+ level?: HeadingLevel;
23
+ /** Accessible name of the list, for example "Season 1". */
24
+ ariaLabel?: string;
25
+ /** Text above each title. Default "Episode N". */
26
+ episodeLabel?: (number: number) => string;
27
+ /** Text shown on the current episode. Default "Now playing". */
28
+ currentLabel?: string;
29
+ }
30
+ /**
31
+ * Vertical list of episodes. It is an ordered list; each title is a heading,
32
+ * and the whole row is operable with mouse and keyboard when it has a link or
33
+ * `onSelect`.
34
+ */
35
+ export declare function EpisodeList({ episodes, currentId, onSelect, level, ariaLabel, episodeLabel, currentLabel, }: EpisodeListProps): import("react/jsx-runtime").JSX.Element;
36
+ export {};
37
+ //# sourceMappingURL=EpisodeList.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EpisodeList.d.ts","sourceRoot":"","sources":["../../../../src/components/EpisodeList/EpisodeList.tsx"],"names":[],"mappings":"AAMA,KAAK,YAAY,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;AAEtC,MAAM,WAAW,OAAO;IACtB,EAAE,EAAE,MAAM,CAAC;IACX,gFAAgF;IAChF,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,kDAAkD;IAClD,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,8BAA8B;IAC9B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,4BAA4B;IAC5B,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,gBAAgB;IAC/B,QAAQ,EAAE,OAAO,EAAE,CAAC;IACpB,uEAAuE;IACvE,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,0DAA0D;IAC1D,QAAQ,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IAChC,8CAA8C;IAC9C,KAAK,CAAC,EAAE,YAAY,CAAC;IACrB,2DAA2D;IAC3D,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,kDAAkD;IAClD,YAAY,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,MAAM,CAAC;IAC1C,gEAAgE;IAChE,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAUD;;;;GAIG;AACH,wBAAgB,WAAW,CAAC,EAC1B,QAAQ,EACR,SAAS,EACT,QAAQ,EACR,KAAS,EACT,SAAS,EACT,YAA8C,EAC9C,YAA4B,GAC7B,EAAE,gBAAgB,2CAuGlB"}
@@ -0,0 +1,3 @@
1
+ export { EpisodeList } from "./EpisodeList";
2
+ export type { EpisodeListProps, Episode } from "./EpisodeList";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/EpisodeList/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,YAAY,EAAE,gBAAgB,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC"}
@@ -0,0 +1,17 @@
1
+ import type { ReactNode } from "react";
2
+ import type { LucideIcon } from "lucide-react";
3
+ type HeadingLevel = 2 | 3 | 4 | 5 | 6;
4
+ export interface FeatureCardProps {
5
+ /** Decorative icon (hidden from screen readers). */
6
+ icon: LucideIcon;
7
+ title: string;
8
+ description?: ReactNode;
9
+ /** Heading level of the title. Default 3. */
10
+ level?: HeadingLevel;
11
+ /** Extra content under the description, for example a list. */
12
+ children?: ReactNode;
13
+ }
14
+ /** Card with an icon, a title and a short text. */
15
+ export declare function FeatureCard({ icon, title, description, level, children, }: FeatureCardProps): import("react/jsx-runtime").JSX.Element;
16
+ export {};
17
+ //# sourceMappingURL=FeatureCard.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FeatureCard.d.ts","sourceRoot":"","sources":["../../../../src/components/FeatureCard/FeatureCard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAM/C,KAAK,YAAY,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;AAEtC,MAAM,WAAW,gBAAgB;IAC/B,oDAAoD;IACpD,IAAI,EAAE,UAAU,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB,6CAA6C;IAC7C,KAAK,CAAC,EAAE,YAAY,CAAC;IACrB,+DAA+D;IAC/D,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB;AAED,mDAAmD;AACnD,wBAAgB,WAAW,CAAC,EAC1B,IAAI,EACJ,KAAK,EACL,WAAW,EACX,KAAS,EACT,QAAQ,GACT,EAAE,gBAAgB,2CA+BlB"}
@@ -0,0 +1,3 @@
1
+ export { FeatureCard } from "./FeatureCard";
2
+ export type { FeatureCardProps } from "./FeatureCard";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/FeatureCard/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,YAAY,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC"}
@@ -0,0 +1,24 @@
1
+ import type { ReactNode } from "react";
2
+ export interface FooterLink {
3
+ label: string;
4
+ href: string;
5
+ /** Opens in a new tab and tells screen readers about it. */
6
+ external?: boolean;
7
+ }
8
+ export interface FooterProps {
9
+ /** Project or brand name. */
10
+ title: ReactNode;
11
+ description?: ReactNode;
12
+ /** Contact lines: city, email, etc. */
13
+ lines?: string[];
14
+ links?: FooterLink[];
15
+ /** Accessible name of the links list. */
16
+ linksLabel?: string;
17
+ /** Highlighted action, for example a button. */
18
+ action?: ReactNode;
19
+ legal?: ReactNode;
20
+ /** Text for screen readers on external links. */
21
+ externalLabel?: string;
22
+ }
23
+ export declare function Footer({ title, description, lines, links, linksLabel, action, legal, externalLabel, }: FooterProps): import("react/jsx-runtime").JSX.Element;
24
+ //# sourceMappingURL=Footer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Footer.d.ts","sourceRoot":"","sources":["../../../../src/components/Footer/Footer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAYvC,MAAM,WAAW,UAAU;IACzB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,4DAA4D;IAC5D,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,MAAM,WAAW,WAAW;IAC1B,6BAA6B;IAC7B,KAAK,EAAE,SAAS,CAAC;IACjB,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB,uCAAuC;IACvC,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC;IACjB,KAAK,CAAC,EAAE,UAAU,EAAE,CAAC;IACrB,yCAAyC;IACzC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,gDAAgD;IAChD,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,iDAAiD;IACjD,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,wBAAgB,MAAM,CAAC,EACrB,KAAK,EACL,WAAW,EACX,KAAU,EACV,KAAU,EACV,UAA2B,EAC3B,MAAM,EACN,KAAK,EACL,aAAsC,GACvC,EAAE,WAAW,2CA+Ib"}
@@ -0,0 +1,3 @@
1
+ export { Footer } from "./Footer";
2
+ export type { FooterProps, FooterLink } from "./Footer";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Footer/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,YAAY,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC"}
@@ -0,0 +1,21 @@
1
+ import type { ReactNode } from "react";
2
+ type HeadingLevel = 1 | 2 | 3 | 4 | 5 | 6;
3
+ export interface HeroProps {
4
+ title: string;
5
+ /** Small label above the title. */
6
+ eyebrow?: ReactNode;
7
+ description?: ReactNode;
8
+ /** Buttons or links under the text. */
9
+ actions?: ReactNode;
10
+ /** Heading level of the title (h1–h6). A page's hero is normally h1. */
11
+ level?: HeadingLevel;
12
+ align?: "left" | "center";
13
+ }
14
+ /**
15
+ * Banner for the top of a page. It uses the theme surface color (flat) with
16
+ * light text on top. Outlined and text buttons inside it take the text color
17
+ * of the surface, so they stay visible.
18
+ */
19
+ export declare function Hero({ title, eyebrow, description, actions, level, align, }: HeroProps): import("react/jsx-runtime").JSX.Element;
20
+ export {};
21
+ //# sourceMappingURL=Hero.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Hero.d.ts","sourceRoot":"","sources":["../../../../src/components/Hero/Hero.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAMvC,KAAK,YAAY,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;AAE1C,MAAM,WAAW,SAAS;IACxB,KAAK,EAAE,MAAM,CAAC;IACd,mCAAmC;IACnC,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB,uCAAuC;IACvC,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB,wEAAwE;IACxE,KAAK,CAAC,EAAE,YAAY,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,GAAG,QAAQ,CAAC;CAC3B;AAED;;;;GAIG;AACH,wBAAgB,IAAI,CAAC,EACnB,KAAK,EACL,OAAO,EACP,WAAW,EACX,OAAO,EACP,KAAS,EACT,KAAc,GACf,EAAE,SAAS,2CAkEX"}
@@ -0,0 +1,3 @@
1
+ export { Hero } from "./Hero";
2
+ export type { HeroProps } from "./Hero";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Hero/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,YAAY,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC"}
@@ -0,0 +1,11 @@
1
+ import type { LucideIcon, LucideProps } from "lucide-react";
2
+ export interface IconProps extends Omit<LucideProps, "ref"> {
3
+ icon: LucideIcon;
4
+ /**
5
+ * If the icon conveys something on its own, describe it here. Without
6
+ * `label` the icon is decorative and hidden from screen readers.
7
+ */
8
+ label?: string;
9
+ }
10
+ export declare function Icon({ icon: Glyph, label, size, ...rest }: IconProps): import("react/jsx-runtime").JSX.Element;
11
+ //# sourceMappingURL=Icon.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Icon.d.ts","sourceRoot":"","sources":["../../../../src/components/Icon/Icon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAE5D,MAAM,WAAW,SAAU,SAAQ,IAAI,CAAC,WAAW,EAAE,KAAK,CAAC;IACzD,IAAI,EAAE,UAAU,CAAC;IACjB;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,wBAAgB,IAAI,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,IAAS,EAAE,GAAG,IAAI,EAAE,EAAE,SAAS,2CAKzE"}
@@ -0,0 +1,6 @@
1
+ /**
2
+ * Icons used by Vietri DS (lucide-react). They are exposed as `icons.Search`, etc.
3
+ * To add one, export it here.
4
+ */
5
+ export { ArrowRight, Check, ChevronDown, ChevronLeft, ChevronRight, Clock, Copy, Database, ExternalLink, Globe, Info, LayoutGrid, MapPin, Menu, Music, Network, Play, Search, Share2, ShieldCheck, Sparkles, TrendingUp, Users, X, } from "lucide-react";
6
+ //# sourceMappingURL=icons.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"icons.d.ts","sourceRoot":"","sources":["../../../../src/components/Icon/icons.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,EACL,UAAU,EACV,KAAK,EACL,WAAW,EACX,WAAW,EACX,YAAY,EACZ,KAAK,EACL,IAAI,EACJ,QAAQ,EACR,YAAY,EACZ,KAAK,EACL,IAAI,EACJ,UAAU,EACV,MAAM,EACN,IAAI,EACJ,KAAK,EACL,OAAO,EACP,IAAI,EACJ,MAAM,EACN,MAAM,EACN,WAAW,EACX,QAAQ,EACR,UAAU,EACV,KAAK,EACL,CAAC,GACF,MAAM,cAAc,CAAC"}
@@ -0,0 +1,3 @@
1
+ export { Icon } from "./Icon";
2
+ export type { IconProps } from "./Icon";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Icon/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,YAAY,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC"}
@@ -0,0 +1,3 @@
1
+ export { default as Input } from "@mui/material/TextField";
2
+ export type { TextFieldProps as InputProps } from "@mui/material/TextField";
3
+ //# sourceMappingURL=Input.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Input.d.ts","sourceRoot":"","sources":["../../../../src/components/Input/Input.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,yBAAyB,CAAC;AAC3D,YAAY,EAAE,cAAc,IAAI,UAAU,EAAE,MAAM,yBAAyB,CAAC"}
@@ -0,0 +1,3 @@
1
+ export { Input } from "./Input";
2
+ export type { InputProps } from "./Input";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Input/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,YAAY,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC"}
@@ -0,0 +1,13 @@
1
+ export interface LanguageOption {
2
+ value: string;
3
+ label: string;
4
+ }
5
+ export interface LanguageSwitchProps {
6
+ value: string;
7
+ onChange: (value: string) => void;
8
+ options?: LanguageOption[];
9
+ /** Accessible name of the group. */
10
+ ariaLabel?: string;
11
+ }
12
+ export declare function LanguageSwitch({ value, onChange, options, ariaLabel, }: LanguageSwitchProps): import("react/jsx-runtime").JSX.Element;
13
+ //# sourceMappingURL=LanguageSwitch.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LanguageSwitch.d.ts","sourceRoot":"","sources":["../../../../src/components/LanguageSwitch/LanguageSwitch.tsx"],"names":[],"mappings":"AAGA,MAAM,WAAW,cAAc;IAC7B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,mBAAmB;IAClC,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,OAAO,CAAC,EAAE,cAAc,EAAE,CAAC;IAC3B,oCAAoC;IACpC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAOD,wBAAgB,cAAc,CAAC,EAC7B,KAAK,EACL,QAAQ,EACR,OAAwB,EACxB,SAAsB,GACvB,EAAE,mBAAmB,2CAmBrB"}
@@ -0,0 +1,3 @@
1
+ export { LanguageSwitch } from "./LanguageSwitch";
2
+ export type { LanguageSwitchProps, LanguageOption } from "./LanguageSwitch";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/LanguageSwitch/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,YAAY,EAAE,mBAAmB,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC"}
@@ -0,0 +1,31 @@
1
+ type HeadingLevel = 2 | 3 | 4 | 5 | 6;
2
+ export interface MediaCardProps {
3
+ title: string;
4
+ /** Line under the title, for example the guest or the band. */
5
+ subtitle?: string;
6
+ /** Small label above the title, for example "Season 1 · Episode 3". */
7
+ meta?: string;
8
+ /** Thumbnail (16:9). Without it a plain surface is shown. */
9
+ imageUrl?: string;
10
+ /** Length shown over the thumbnail, for example "42:10". */
11
+ duration?: string;
12
+ /** Short label over the thumbnail, for example "New". */
13
+ badge?: string;
14
+ /** Makes the whole card a link. */
15
+ href?: string;
16
+ /** Makes the whole card a button. */
17
+ onClick?: () => void;
18
+ /** Heading level of the title. Default 3. */
19
+ level?: HeadingLevel;
20
+ /** Shows a play icon over the thumbnail. Default true. */
21
+ playIcon?: boolean;
22
+ }
23
+ /**
24
+ * Card for a video or an episode: a 16:9 thumbnail with a title. When it has
25
+ * `href` or `onClick` the whole card is operable with mouse and keyboard and
26
+ * the title stays a heading. The thumbnail is decorative (empty alt): the
27
+ * title already names the content.
28
+ */
29
+ export declare function MediaCard({ title, subtitle, meta, imageUrl, duration, badge, href, onClick, level, playIcon, }: MediaCardProps): import("react/jsx-runtime").JSX.Element;
30
+ export {};
31
+ //# sourceMappingURL=MediaCard.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MediaCard.d.ts","sourceRoot":"","sources":["../../../../src/components/MediaCard/MediaCard.tsx"],"names":[],"mappings":"AAQA,KAAK,YAAY,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;AAEtC,MAAM,WAAW,cAAc;IAC7B,KAAK,EAAE,MAAM,CAAC;IACd,+DAA+D;IAC/D,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,uEAAuE;IACvE,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,6DAA6D;IAC7D,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,4DAA4D;IAC5D,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,yDAAyD;IACzD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,mCAAmC;IACnC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,qCAAqC;IACrC,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,6CAA6C;IAC7C,KAAK,CAAC,EAAE,YAAY,CAAC;IACrB,0DAA0D;IAC1D,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED;;;;;GAKG;AACH,wBAAgB,SAAS,CAAC,EACxB,KAAK,EACL,QAAQ,EACR,IAAI,EACJ,QAAQ,EACR,QAAQ,EACR,KAAK,EACL,IAAI,EACJ,OAAO,EACP,KAAS,EACT,QAAe,GAChB,EAAE,cAAc,2CAoHhB"}
@@ -0,0 +1,3 @@
1
+ export { MediaCard } from "./MediaCard";
2
+ export type { MediaCardProps } from "./MediaCard";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/MediaCard/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,YAAY,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC"}
@@ -0,0 +1,30 @@
1
+ import { type ReactNode } from "react";
2
+ import { type Breakpoint } from "@mui/material/styles";
3
+ export interface NavLink {
4
+ label: string;
5
+ href: string;
6
+ /** Marks the link of the current page (aria-current="page"). */
7
+ current?: boolean;
8
+ }
9
+ export interface NavBarProps {
10
+ /** Brand or name shown on the left. */
11
+ brand: ReactNode;
12
+ brandHref?: string;
13
+ links: NavLink[];
14
+ /** Extra elements on the right, for example a language selector. */
15
+ actions?: ReactNode;
16
+ /** Accessible name of the navigation. */
17
+ ariaLabel?: string;
18
+ /** Label of the button that opens the menu on small screens. */
19
+ menuLabel?: string;
20
+ /** Label of the button that closes the menu on small screens. */
21
+ closeLabel?: string;
22
+ /**
23
+ * Maximum width of the header content. Default "lg", the same width the
24
+ * page content usually has, so the header lines up with it. Use `false` to
25
+ * let it span the whole width.
26
+ */
27
+ maxWidth?: Breakpoint | false;
28
+ }
29
+ export declare function NavBar({ brand, brandHref, links, actions, ariaLabel, menuLabel, closeLabel, maxWidth, }: NavBarProps): import("react/jsx-runtime").JSX.Element;
30
+ //# sourceMappingURL=NavBar.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NavBar.d.ts","sourceRoot":"","sources":["../../../../src/components/NavBar/NavBar.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAY,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAWjD,OAAO,EAAY,KAAK,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAGjE,MAAM,WAAW,OAAO;IACtB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,gEAAgE;IAChE,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,MAAM,WAAW,WAAW;IAC1B,uCAAuC;IACvC,KAAK,EAAE,SAAS,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,EAAE,OAAO,EAAE,CAAC;IACjB,oEAAoE;IACpE,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB,yCAAyC;IACzC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,gEAAgE;IAChE,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,iEAAiE;IACjE,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,UAAU,GAAG,KAAK,CAAC;CAC/B;AAkCD,wBAAgB,MAAM,CAAC,EACrB,KAAK,EACL,SAAe,EACf,KAAK,EACL,OAAO,EACP,SAAkB,EAClB,SAAkB,EAClB,UAAyB,EACzB,QAAe,GAChB,EAAE,WAAW,2CAkGb"}
@@ -0,0 +1,3 @@
1
+ export { NavBar } from "./NavBar";
2
+ export type { NavBarProps, NavLink } from "./NavBar";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/NavBar/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,YAAY,EAAE,WAAW,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC"}
@@ -0,0 +1,27 @@
1
+ type HeadingLevel = 2 | 3 | 4 | 5 | 6;
2
+ export interface PlaylistPlatform {
3
+ /** Name shown on the button, for example "Spotify". */
4
+ name: string;
5
+ href: string;
6
+ }
7
+ export interface PlaylistCardProps {
8
+ title: string;
9
+ description?: string;
10
+ /** Square cover. Without it a plain surface with a music icon is shown. */
11
+ imageUrl?: string;
12
+ platforms: PlaylistPlatform[];
13
+ /** Heading level of the title. Default 3. */
14
+ level?: HeadingLevel;
15
+ /** Accessible name of the list of platforms. Default "Listen on". */
16
+ platformsLabel?: string;
17
+ /** Text for screen readers on external links. */
18
+ externalLabel?: string;
19
+ }
20
+ /**
21
+ * Card for a playlist that lives on several music services. Each service is a
22
+ * link that opens in a new tab. The accessible name of every link includes the
23
+ * playlist title, so several cards on a page stay distinguishable.
24
+ */
25
+ export declare function PlaylistCard({ title, description, imageUrl, platforms, level, platformsLabel, externalLabel, }: PlaylistCardProps): import("react/jsx-runtime").JSX.Element;
26
+ export {};
27
+ //# sourceMappingURL=PlaylistCard.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PlaylistCard.d.ts","sourceRoot":"","sources":["../../../../src/components/PlaylistCard/PlaylistCard.tsx"],"names":[],"mappings":"AASA,KAAK,YAAY,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;AAEtC,MAAM,WAAW,gBAAgB;IAC/B,uDAAuD;IACvD,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,iBAAiB;IAChC,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,2EAA2E;IAC3E,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,gBAAgB,EAAE,CAAC;IAC9B,6CAA6C;IAC7C,KAAK,CAAC,EAAE,YAAY,CAAC;IACrB,qEAAqE;IACrE,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,iDAAiD;IACjD,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAED;;;;GAIG;AACH,wBAAgB,YAAY,CAAC,EAC3B,KAAK,EACL,WAAW,EACX,QAAQ,EACR,SAAS,EACT,KAAS,EACT,cAA4B,EAC5B,aAAsC,GACvC,EAAE,iBAAiB,2CAqEnB"}
@@ -0,0 +1,3 @@
1
+ export { PlaylistCard } from "./PlaylistCard";
2
+ export type { PlaylistCardProps, PlaylistPlatform } from "./PlaylistCard";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/PlaylistCard/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,YAAY,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC"}
@@ -0,0 +1,29 @@
1
+ import type { CategoryColor } from "../../theme/categorical";
2
+ type HeadingLevel = 2 | 3 | 4 | 5 | 6;
3
+ export interface ProfileTag {
4
+ label: string;
5
+ /** Category color, from `createCategoryColors`. Without it the chip is neutral. */
6
+ color?: CategoryColor;
7
+ }
8
+ export interface ProfileCardProps {
9
+ name: string;
10
+ /** Short epithet or description under the name. */
11
+ subtitle?: string;
12
+ bio?: string;
13
+ tags?: ProfileTag[];
14
+ /** Makes the whole card a link. */
15
+ href?: string;
16
+ /** Makes the whole card a button (for example to open a side panel). */
17
+ onClick?: () => void;
18
+ /** Heading level of the name. Default 3. */
19
+ level?: HeadingLevel;
20
+ /** Lines of bio shown before it is cut. Default 3. */
21
+ bioLines?: number;
22
+ }
23
+ /**
24
+ * Card for a person or profile. When it has `href` or `onClick` the whole
25
+ * card is operable with mouse and keyboard, and the name stays a heading.
26
+ */
27
+ export declare function ProfileCard({ name, subtitle, bio, tags, href, onClick, level, bioLines, }: ProfileCardProps): import("react/jsx-runtime").JSX.Element;
28
+ export {};
29
+ //# sourceMappingURL=ProfileCard.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ProfileCard.d.ts","sourceRoot":"","sources":["../../../../src/components/ProfileCard/ProfileCard.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAI7D,KAAK,YAAY,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;AAEtC,MAAM,WAAW,UAAU;IACzB,KAAK,EAAE,MAAM,CAAC;IACd,mFAAmF;IACnF,KAAK,CAAC,EAAE,aAAa,CAAC;CACvB;AAED,MAAM,WAAW,gBAAgB;IAC/B,IAAI,EAAE,MAAM,CAAC;IACb,mDAAmD;IACnD,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,UAAU,EAAE,CAAC;IACpB,mCAAmC;IACnC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,wEAAwE;IACxE,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,4CAA4C;IAC5C,KAAK,CAAC,EAAE,YAAY,CAAC;IACrB,sDAAsD;IACtD,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAkBD;;;GAGG;AACH,wBAAgB,WAAW,CAAC,EAC1B,IAAI,EACJ,QAAQ,EACR,GAAG,EACH,IAAS,EACT,IAAI,EACJ,OAAO,EACP,KAAS,EACT,QAAY,GACb,EAAE,gBAAgB,2CAmElB"}
@@ -0,0 +1,3 @@
1
+ export { ProfileCard } from "./ProfileCard";
2
+ export type { ProfileCardProps, ProfileTag } from "./ProfileCard";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/ProfileCard/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,YAAY,EAAE,gBAAgB,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC"}
@@ -0,0 +1,17 @@
1
+ import type { ReactNode } from "react";
2
+ type HeadingLevel = 1 | 2 | 3 | 4 | 5 | 6;
3
+ export interface SectionHeaderProps {
4
+ title: string;
5
+ /** Small label above the title, with an optional icon. */
6
+ eyebrow?: ReactNode;
7
+ description?: ReactNode;
8
+ /**
9
+ * Heading level (h1–h6). It does not change the look: it keeps the page
10
+ * hierarchy correct for screen readers.
11
+ */
12
+ level?: HeadingLevel;
13
+ align?: "left" | "center";
14
+ }
15
+ export declare function SectionHeader({ title, eyebrow, description, level, align, }: SectionHeaderProps): import("react/jsx-runtime").JSX.Element;
16
+ export {};
17
+ //# sourceMappingURL=SectionHeader.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SectionHeader.d.ts","sourceRoot":"","sources":["../../../../src/components/SectionHeader/SectionHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAIvC,KAAK,YAAY,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;AAE1C,MAAM,WAAW,kBAAkB;IACjC,KAAK,EAAE,MAAM,CAAC;IACd,0DAA0D;IAC1D,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB;;;OAGG;IACH,KAAK,CAAC,EAAE,YAAY,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,GAAG,QAAQ,CAAC;CAC3B;AAED,wBAAgB,aAAa,CAAC,EAC5B,KAAK,EACL,OAAO,EACP,WAAW,EACX,KAAS,EACT,KAAc,GACf,EAAE,kBAAkB,2CAwBpB"}
@@ -0,0 +1,3 @@
1
+ export { SectionHeader } from "./SectionHeader";
2
+ export type { SectionHeaderProps } from "./SectionHeader";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/SectionHeader/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,YAAY,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC"}
@@ -0,0 +1,23 @@
1
+ import type { ReactNode } from "react";
2
+ export interface SelectOption {
3
+ value: string;
4
+ label: string;
5
+ /** Number shown on the right, for example artists per country. */
6
+ count?: number;
7
+ /** Element before the text, for example a color dot. It must be decorative. */
8
+ adornment?: ReactNode;
9
+ }
10
+ export interface SelectProps {
11
+ /** Visible label and accessible name of the field. */
12
+ label: string;
13
+ value: string;
14
+ onChange: (value: string) => void;
15
+ options: SelectOption[];
16
+ helperText?: string;
17
+ disabled?: boolean;
18
+ fullWidth?: boolean;
19
+ size?: "small" | "medium";
20
+ id?: string;
21
+ }
22
+ export declare function Select({ label, value, onChange, options, helperText, disabled, fullWidth, size, id, }: SelectProps): import("react/jsx-runtime").JSX.Element;
23
+ //# sourceMappingURL=Select.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Select.d.ts","sourceRoot":"","sources":["../../../../src/components/Select/Select.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAMvC,MAAM,WAAW,YAAY;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,kEAAkE;IAClE,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,+EAA+E;IAC/E,SAAS,CAAC,EAAE,SAAS,CAAC;CACvB;AAED,MAAM,WAAW,WAAW;IAC1B,sDAAsD;IACtD,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,OAAO,EAAE,YAAY,EAAE,CAAC;IACxB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,IAAI,CAAC,EAAE,OAAO,GAAG,QAAQ,CAAC;IAC1B,EAAE,CAAC,EAAE,MAAM,CAAC;CACb;AAED,wBAAgB,MAAM,CAAC,EACrB,KAAK,EACL,KAAK,EACL,QAAQ,EACR,OAAO,EACP,UAAU,EACV,QAAQ,EACR,SAAS,EACT,IAAI,EACJ,EAAE,GACH,EAAE,WAAW,2CA0Cb"}
@@ -0,0 +1,3 @@
1
+ export { Select } from "./Select";
2
+ export type { SelectProps, SelectOption } from "./Select";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Select/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,YAAY,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC"}
@@ -0,0 +1,12 @@
1
+ import type { ReactNode } from "react";
2
+ export interface SkipLinkProps {
3
+ /** Id of the main content, for example "#content". */
4
+ href: string;
5
+ children?: ReactNode;
6
+ }
7
+ /**
8
+ * "Skip to content" link (WCAG 2.4.1). It is the first element to receive
9
+ * focus with Tab and it is only visible while it has focus.
10
+ */
11
+ export declare function SkipLink({ href, children }: SkipLinkProps): import("react/jsx-runtime").JSX.Element;
12
+ //# sourceMappingURL=SkipLink.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SkipLink.d.ts","sourceRoot":"","sources":["../../../../src/components/SkipLink/SkipLink.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGvC,MAAM,WAAW,aAAa;IAC5B,sDAAsD;IACtD,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB;AAED;;;GAGG;AACH,wBAAgB,QAAQ,CAAC,EAAE,IAAI,EAAE,QAA4B,EAAE,EAAE,aAAa,2CAwB7E"}
@@ -0,0 +1,3 @@
1
+ export { SkipLink } from "./SkipLink";
2
+ export type { SkipLinkProps } from "./SkipLink";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/SkipLink/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,YAAY,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC"}
@@ -0,0 +1,11 @@
1
+ import type { ReactNode } from "react";
2
+ export interface StatCardProps {
3
+ /** Highlighted figure, for example "+200" or "6 years". */
4
+ value: ReactNode;
5
+ /** What the figure measures. */
6
+ label: string;
7
+ /** Optional supporting text. */
8
+ description?: string;
9
+ }
10
+ export declare function StatCard({ value, label, description }: StatCardProps): import("react/jsx-runtime").JSX.Element;
11
+ //# sourceMappingURL=StatCard.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"StatCard.d.ts","sourceRoot":"","sources":["../../../../src/components/StatCard/StatCard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAIvC,MAAM,WAAW,aAAa;IAC5B,2DAA2D;IAC3D,KAAK,EAAE,SAAS,CAAC;IACjB,gCAAgC;IAChC,KAAK,EAAE,MAAM,CAAC;IACd,gCAAgC;IAChC,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,wBAAgB,QAAQ,CAAC,EAAE,KAAK,EAAE,KAAK,EAAE,WAAW,EAAE,EAAE,aAAa,2CAkBpE"}
@@ -0,0 +1,3 @@
1
+ export { StatCard } from "./StatCard";
2
+ export type { StatCardProps } from "./StatCard";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/StatCard/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,YAAY,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC"}