@chitrank2050/monoline-ui 0.2.0

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 (237) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +313 -0
  3. package/chunk-2T2JZW4Z.js +2 -0
  4. package/chunk-2T2JZW4Z.js.map +1 -0
  5. package/chunk-37JB3ZNS.js +2 -0
  6. package/chunk-37JB3ZNS.js.map +1 -0
  7. package/chunk-3F6Z4CFV.js +2 -0
  8. package/chunk-3F6Z4CFV.js.map +1 -0
  9. package/chunk-5TIKYN5B.js +2 -0
  10. package/chunk-5TIKYN5B.js.map +1 -0
  11. package/chunk-6AEWSPAE.js +2 -0
  12. package/chunk-6AEWSPAE.js.map +1 -0
  13. package/chunk-7ANXAXP5.js +2 -0
  14. package/chunk-7ANXAXP5.js.map +1 -0
  15. package/chunk-7SDVYBBO.js +2 -0
  16. package/chunk-7SDVYBBO.js.map +1 -0
  17. package/chunk-7WJF6B6G.js +2 -0
  18. package/chunk-7WJF6B6G.js.map +1 -0
  19. package/chunk-A2LXX23X.js +2 -0
  20. package/chunk-A2LXX23X.js.map +1 -0
  21. package/chunk-AACTIVV7.js +2 -0
  22. package/chunk-AACTIVV7.js.map +1 -0
  23. package/chunk-B5P3RAN2.js +2 -0
  24. package/chunk-B5P3RAN2.js.map +1 -0
  25. package/chunk-COFALEVG.js +2 -0
  26. package/chunk-COFALEVG.js.map +1 -0
  27. package/chunk-D3E4G2RE.js +2 -0
  28. package/chunk-D3E4G2RE.js.map +1 -0
  29. package/chunk-DJT3EVR4.js +2 -0
  30. package/chunk-DJT3EVR4.js.map +1 -0
  31. package/chunk-EWKGYQOX.js +2 -0
  32. package/chunk-EWKGYQOX.js.map +1 -0
  33. package/chunk-FLUGXF5D.js +2 -0
  34. package/chunk-FLUGXF5D.js.map +1 -0
  35. package/chunk-GSWZL5C2.js +2 -0
  36. package/chunk-GSWZL5C2.js.map +1 -0
  37. package/chunk-H2CRII7X.js +2 -0
  38. package/chunk-H2CRII7X.js.map +1 -0
  39. package/chunk-IVTAW6SX.js +3 -0
  40. package/chunk-IVTAW6SX.js.map +1 -0
  41. package/chunk-JBOP2AJB.js +2 -0
  42. package/chunk-JBOP2AJB.js.map +1 -0
  43. package/chunk-JCKPCV2H.js +2 -0
  44. package/chunk-JCKPCV2H.js.map +1 -0
  45. package/chunk-K665XZ3N.js +2 -0
  46. package/chunk-K665XZ3N.js.map +1 -0
  47. package/chunk-K72EORST.js +2 -0
  48. package/chunk-K72EORST.js.map +1 -0
  49. package/chunk-KGLH6WI6.js +2 -0
  50. package/chunk-KGLH6WI6.js.map +1 -0
  51. package/chunk-LVMQ3ZM3.js +2 -0
  52. package/chunk-LVMQ3ZM3.js.map +1 -0
  53. package/chunk-N37GMCSK.js +2 -0
  54. package/chunk-N37GMCSK.js.map +1 -0
  55. package/chunk-NDHOUIOX.js +2 -0
  56. package/chunk-NDHOUIOX.js.map +1 -0
  57. package/chunk-NDTTLW56.js +2 -0
  58. package/chunk-NDTTLW56.js.map +1 -0
  59. package/chunk-O43OQHFN.js +2 -0
  60. package/chunk-O43OQHFN.js.map +1 -0
  61. package/chunk-QGG3J7OW.js +2 -0
  62. package/chunk-QGG3J7OW.js.map +1 -0
  63. package/chunk-QUG36ONS.js +2 -0
  64. package/chunk-QUG36ONS.js.map +1 -0
  65. package/chunk-R2YSVBHS.js +2 -0
  66. package/chunk-R2YSVBHS.js.map +1 -0
  67. package/chunk-TSOHITZ7.js +2 -0
  68. package/chunk-TSOHITZ7.js.map +1 -0
  69. package/chunk-V6PUPMAY.js +3 -0
  70. package/chunk-V6PUPMAY.js.map +1 -0
  71. package/chunk-VSATIFOR.js +2 -0
  72. package/chunk-VSATIFOR.js.map +1 -0
  73. package/chunk-XEB7C557.js +2 -0
  74. package/chunk-XEB7C557.js.map +1 -0
  75. package/chunk-Z7SIB4X6.js +2 -0
  76. package/chunk-Z7SIB4X6.js.map +1 -0
  77. package/chunk-ZOPV3BXO.js +2 -0
  78. package/chunk-ZOPV3BXO.js.map +1 -0
  79. package/chunk-ZU3HIOBU.js +2 -0
  80. package/chunk-ZU3HIOBU.js.map +1 -0
  81. package/components/action-rail/index.d.ts +18 -0
  82. package/components/action-rail/index.js +2 -0
  83. package/components/action-rail/index.js.map +1 -0
  84. package/components/avatar/avatar.css +47 -0
  85. package/components/avatar/index.d.ts +28 -0
  86. package/components/avatar/index.js +2 -0
  87. package/components/avatar/index.js.map +1 -0
  88. package/components/back-link/back-link.css +30 -0
  89. package/components/back-link/index.d.ts +18 -0
  90. package/components/back-link/index.js +2 -0
  91. package/components/back-link/index.js.map +1 -0
  92. package/components/badge/badge.css +27 -0
  93. package/components/badge/index.d.ts +26 -0
  94. package/components/badge/index.js +2 -0
  95. package/components/badge/index.js.map +1 -0
  96. package/components/button/button.css +238 -0
  97. package/components/button/index.d.ts +36 -0
  98. package/components/button/index.js +2 -0
  99. package/components/button/index.js.map +1 -0
  100. package/components/callout/callout.css +20 -0
  101. package/components/callout/index.d.ts +20 -0
  102. package/components/callout/index.js +2 -0
  103. package/components/callout/index.js.map +1 -0
  104. package/components/card/card.css +166 -0
  105. package/components/card/index.d.ts +112 -0
  106. package/components/card/index.js +2 -0
  107. package/components/card/index.js.map +1 -0
  108. package/components/code-block/code-block.css +23 -0
  109. package/components/code-block/index.d.ts +21 -0
  110. package/components/code-block/index.js +2 -0
  111. package/components/code-block/index.js.map +1 -0
  112. package/components/command-search/command-search.css +217 -0
  113. package/components/command-search/index.d.ts +73 -0
  114. package/components/command-search/index.js +2 -0
  115. package/components/command-search/index.js.map +1 -0
  116. package/components/container/container.css +41 -0
  117. package/components/container/index.d.ts +11 -0
  118. package/components/container/index.js +2 -0
  119. package/components/container/index.js.map +1 -0
  120. package/components/data-list/data-list.css +139 -0
  121. package/components/data-list/index.d.ts +45 -0
  122. package/components/data-list/index.js +2 -0
  123. package/components/data-list/index.js.map +1 -0
  124. package/components/editorial-line/index.d.ts +24 -0
  125. package/components/editorial-line/index.js +2 -0
  126. package/components/editorial-line/index.js.map +1 -0
  127. package/components/eyebrow/eyebrow.css +13 -0
  128. package/components/eyebrow/index.d.ts +17 -0
  129. package/components/eyebrow/index.js +2 -0
  130. package/components/eyebrow/index.js.map +1 -0
  131. package/components/footer/footer.css +201 -0
  132. package/components/footer/index.d.ts +66 -0
  133. package/components/footer/index.js +2 -0
  134. package/components/footer/index.js.map +1 -0
  135. package/components/input/index.d.ts +28 -0
  136. package/components/input/index.js +2 -0
  137. package/components/input/index.js.map +1 -0
  138. package/components/input/input.css +37 -0
  139. package/components/link-list/index.d.ts +47 -0
  140. package/components/link-list/index.js +2 -0
  141. package/components/link-list/index.js.map +1 -0
  142. package/components/link-list/link-list.css +208 -0
  143. package/components/media-frame/index.d.ts +31 -0
  144. package/components/media-frame/index.js +2 -0
  145. package/components/media-frame/index.js.map +1 -0
  146. package/components/media-frame/media-frame.css +86 -0
  147. package/components/meta-row/index.d.ts +22 -0
  148. package/components/meta-row/index.js +2 -0
  149. package/components/meta-row/index.js.map +1 -0
  150. package/components/metric/index.d.ts +22 -0
  151. package/components/metric/index.js +2 -0
  152. package/components/metric/index.js.map +1 -0
  153. package/components/navbar/index.d.ts +78 -0
  154. package/components/navbar/index.js +2 -0
  155. package/components/navbar/index.js.map +1 -0
  156. package/components/navbar/navbar.css +245 -0
  157. package/components/progress/index.d.ts +20 -0
  158. package/components/progress/index.js +2 -0
  159. package/components/progress/index.js.map +1 -0
  160. package/components/progress/progress.css +31 -0
  161. package/components/pull-quote/index.d.ts +18 -0
  162. package/components/pull-quote/index.js +2 -0
  163. package/components/pull-quote/index.js.map +1 -0
  164. package/components/rail/index.d.ts +28 -0
  165. package/components/rail/index.js +2 -0
  166. package/components/rail/index.js.map +1 -0
  167. package/components/rail/rail.css +118 -0
  168. package/components/resources-panel/index.d.ts +42 -0
  169. package/components/resources-panel/index.js +2 -0
  170. package/components/resources-panel/index.js.map +1 -0
  171. package/components/resources-panel/resources-panel.css +396 -0
  172. package/components/section-head/index.d.ts +24 -0
  173. package/components/section-head/index.js +2 -0
  174. package/components/section-head/index.js.map +1 -0
  175. package/components/segmented-control/index.d.ts +28 -0
  176. package/components/segmented-control/index.js +2 -0
  177. package/components/segmented-control/index.js.map +1 -0
  178. package/components/segmented-control/segmented-control.css +177 -0
  179. package/components/select/index.d.ts +65 -0
  180. package/components/select/index.js +2 -0
  181. package/components/select/index.js.map +1 -0
  182. package/components/select/select.css +298 -0
  183. package/components/skeleton/index.d.ts +19 -0
  184. package/components/skeleton/index.js +2 -0
  185. package/components/skeleton/index.js.map +1 -0
  186. package/components/skeleton/skeleton.css +13 -0
  187. package/components/status/index.d.ts +20 -0
  188. package/components/status/index.js +2 -0
  189. package/components/status/index.js.map +1 -0
  190. package/components/status/status.css +86 -0
  191. package/components/tag/index.d.ts +35 -0
  192. package/components/tag/index.js +2 -0
  193. package/components/tag/index.js.map +1 -0
  194. package/components/tag/tag.css +10 -0
  195. package/components/testimonial/index.d.ts +30 -0
  196. package/components/testimonial/index.js +2 -0
  197. package/components/testimonial/index.js.map +1 -0
  198. package/components/testimonial/testimonial.css +109 -0
  199. package/components/testimonial-grid/index.d.ts +12 -0
  200. package/components/testimonial-grid/index.js +2 -0
  201. package/components/testimonial-grid/index.js.map +1 -0
  202. package/components/testimonial-grid/testimonial-grid.css +58 -0
  203. package/components/theme-switcher/index.d.ts +24 -0
  204. package/components/theme-switcher/index.js +2 -0
  205. package/components/theme-switcher/index.js.map +1 -0
  206. package/components/theme-switcher/theme-switcher.css +130 -0
  207. package/components/toast/index.d.ts +20 -0
  208. package/components/toast/index.js +2 -0
  209. package/components/toast/index.js.map +1 -0
  210. package/components/toast/toast.css +22 -0
  211. package/components/toc/index.d.ts +27 -0
  212. package/components/toc/index.js +2 -0
  213. package/components/toc/index.js.map +1 -0
  214. package/components/toggle/index.d.ts +20 -0
  215. package/components/toggle/index.js +2 -0
  216. package/components/toggle/index.js.map +1 -0
  217. package/components/toggle/toggle.css +108 -0
  218. package/foundations/breakpoints.d.ts +12 -0
  219. package/foundations/breakpoints.js +2 -0
  220. package/foundations/breakpoints.js.map +1 -0
  221. package/foundations/use-breakpoint.d.ts +5 -0
  222. package/foundations/use-breakpoint.js +3 -0
  223. package/foundations/use-breakpoint.js.map +1 -0
  224. package/index.d.ts +42 -0
  225. package/index.js +2 -0
  226. package/index.js.map +1 -0
  227. package/lib/utils.d.ts +7 -0
  228. package/lib/utils.js +2 -0
  229. package/lib/utils.js.map +1 -0
  230. package/package.json +228 -0
  231. package/styles/theme/animations.css +206 -0
  232. package/styles/theme/base.css +75 -0
  233. package/styles/theme/tailwind.css +371 -0
  234. package/styles/theme/tokens.css +562 -0
  235. package/styles/theme/typography.css +108 -0
  236. package/styles/theme/utilities.css +281 -0
  237. package/styles/theme.css +68 -0
@@ -0,0 +1,118 @@
1
+ @layer theme, base, components, utilities;
2
+
3
+ @layer components {
4
+ .ml-rail {
5
+ display: flex;
6
+ flex-direction: column;
7
+ gap: var(--ml-space-5);
8
+ width: 100%;
9
+ }
10
+
11
+ /* Title (Eyebrow-style label above the list) */
12
+ .ml-rail__header {
13
+ display: flex;
14
+ align-items: center;
15
+ min-height: var(--ml-space-9);
16
+ }
17
+
18
+ .ml-rail__title {
19
+ min-width: 0;
20
+ overflow: hidden;
21
+ color: var(--text-muted);
22
+ font-family: var(--font-mono);
23
+ font-size: var(--text-2xs);
24
+ font-weight: 500;
25
+ letter-spacing: var(--tracking-meta);
26
+ line-height: 1;
27
+ text-overflow: ellipsis;
28
+ text-transform: uppercase;
29
+ white-space: nowrap;
30
+ }
31
+
32
+ /* List */
33
+ .ml-rail__list {
34
+ display: flex;
35
+ flex-direction: column;
36
+ gap: var(--ml-space-0-5);
37
+ margin: 0;
38
+ padding: 0;
39
+ list-style: none;
40
+ }
41
+
42
+ /* Item */
43
+ .ml-rail__item {
44
+ display: flex;
45
+ align-items: center;
46
+ gap: var(--ml-space-3);
47
+ min-height: var(--ml-space-9);
48
+ width: 100%;
49
+ cursor: pointer;
50
+ color: var(--text-secondary);
51
+ transition: color var(--duration-micro) var(--ease-out);
52
+ }
53
+
54
+ .ml-rail__item:hover {
55
+ color: var(--primary);
56
+ }
57
+
58
+ .ml-rail__item:focus-visible {
59
+ outline: none;
60
+ box-shadow: var(--focus-ring);
61
+ border-radius: var(--radius-sm);
62
+ }
63
+
64
+ .ml-rail__item[data-active="true"] {
65
+ color: var(--primary);
66
+ }
67
+
68
+ /* Dot indicator */
69
+ .ml-rail__dot {
70
+ width: 0.3125rem;
71
+ height: 0.3125rem;
72
+ flex-shrink: 0;
73
+ border-radius: var(--radius-pill);
74
+ background: color-mix(in oklch, var(--text-muted) 50%, transparent);
75
+ transition: background-color var(--duration-micro) var(--ease-out);
76
+ }
77
+
78
+ .ml-rail__item[data-active="true"] .ml-rail__dot {
79
+ background: var(--accent);
80
+ }
81
+
82
+ /* Content wrapper */
83
+ .ml-rail__content {
84
+ display: flex;
85
+ flex: 1;
86
+ align-items: center;
87
+ justify-content: space-between;
88
+ gap: var(--ml-space-2);
89
+ min-width: 0;
90
+ }
91
+
92
+ /* Label */
93
+ .ml-rail__label {
94
+ flex: 1;
95
+ min-width: 0;
96
+ overflow: hidden;
97
+ font-size: var(--text-sm);
98
+ font-weight: 400;
99
+ line-height: var(--leading-tight);
100
+ text-overflow: ellipsis;
101
+ white-space: nowrap;
102
+ transition: font-weight var(--duration-micro) var(--ease-out);
103
+ }
104
+
105
+ .ml-rail__item[data-active="true"] .ml-rail__label {
106
+ font-weight: 600;
107
+ }
108
+
109
+ /* Count */
110
+ .ml-rail__count {
111
+ flex-shrink: 0;
112
+ color: var(--text-muted);
113
+ font-family: var(--font-mono);
114
+ font-size: var(--text-xs);
115
+ font-variant-numeric: tabular-nums;
116
+ line-height: 1;
117
+ }
118
+ }
@@ -0,0 +1,42 @@
1
+ import * as React$1 from 'react';
2
+
3
+ type ResourcesPanelSize = "sm" | "md" | "lg";
4
+ type ResourcesPanelKind = "live" | "source" | "npm" | "docs" | "changelog" | "figma" | "video" | "paper" | "external";
5
+ type ResourcesPanelLinkComponentProps = React$1.ComponentProps<"a"> & {
6
+ href: string;
7
+ };
8
+ interface ResourcesPanelItem {
9
+ kind?: ResourcesPanelKind;
10
+ label: React$1.ReactNode;
11
+ href?: string;
12
+ host?: React$1.ReactNode;
13
+ badge?: React$1.ReactNode;
14
+ meta?: React$1.ReactNode;
15
+ primary?: boolean;
16
+ icon?: React$1.ReactNode;
17
+ external?: boolean;
18
+ rel?: string;
19
+ target?: React$1.HTMLAttributeAnchorTarget;
20
+ as?: React$1.ComponentType<ResourcesPanelLinkComponentProps>;
21
+ }
22
+ interface ResourcesPanelProps extends Omit<React$1.ComponentProps<"aside">, "children" | "title"> {
23
+ size?: ResourcesPanelSize;
24
+ title?: string;
25
+ meta?: React$1.ReactNode;
26
+ items: ResourcesPanelItem[];
27
+ footer?: React$1.ReactNode;
28
+ footerLabel?: React$1.ReactNode;
29
+ children?: React$1.ReactNode;
30
+ linkComponent?: React$1.ComponentType<ResourcesPanelLinkComponentProps>;
31
+ }
32
+
33
+ declare function ResourcesPanelRoot({ className, size, title, meta, items, footer, footerLabel, children, linkComponent, ref, ...props }: ResourcesPanelProps): React.ReactElement;
34
+
35
+ /**
36
+ * @module resources-panel
37
+ * Description for resources-panel component.
38
+ */
39
+
40
+ declare const ResourcesPanel: typeof ResourcesPanelRoot;
41
+
42
+ export { ResourcesPanel, type ResourcesPanelItem, type ResourcesPanelKind, type ResourcesPanelProps, ResourcesPanelRoot, type ResourcesPanelSize };
@@ -0,0 +1,2 @@
1
+ export{b as ResourcesPanel,a as ResourcesPanelRoot}from'../../chunk-2T2JZW4Z.js';import'../../chunk-AACTIVV7.js';//# sourceMappingURL=index.js.map
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"index.js"}
@@ -0,0 +1,396 @@
1
+ @layer theme, base, components, utilities;
2
+
3
+ @layer components {
4
+ .ml-resources-panel {
5
+ --ml-resources-panel-padding-x: var(--ml-space-4);
6
+ --ml-resources-panel-row-padding-y: var(--ml-space-3);
7
+ --ml-resources-panel-gap: var(--ml-space-3);
8
+ --ml-resources-panel-icon-size: var(--ml-space-7);
9
+ --ml-resources-panel-label-text: var(--text-sm);
10
+ --ml-resources-panel-host-text: var(--text-2xs);
11
+ --ml-resources-panel-radius: var(--radius-xl);
12
+
13
+ width: 100%;
14
+ overflow: hidden;
15
+ border: var(--border-thin) solid var(--border);
16
+ border-radius: var(--ml-resources-panel-radius);
17
+ background: var(--surface);
18
+ color: var(--text-body);
19
+ box-shadow: var(--shadow-xs);
20
+ }
21
+
22
+ .ml-resources-panel[data-size="sm"] {
23
+ --ml-resources-panel-padding-x: var(--ml-space-3);
24
+ --ml-resources-panel-row-padding-y: var(--ml-space-2);
25
+ --ml-resources-panel-gap: var(--ml-space-2);
26
+ --ml-resources-panel-icon-size: var(--ml-space-6);
27
+ --ml-resources-panel-label-text: var(--text-xs);
28
+ --ml-resources-panel-host-text: var(--text-3xs);
29
+ --ml-resources-panel-radius: var(--radius-lg);
30
+ }
31
+
32
+ .ml-resources-panel[data-size="lg"] {
33
+ --ml-resources-panel-padding-x: var(--ml-space-5);
34
+ --ml-resources-panel-row-padding-y: var(--ml-space-4);
35
+ --ml-resources-panel-gap: var(--ml-space-4);
36
+ --ml-resources-panel-icon-size: var(--ml-space-8);
37
+ --ml-resources-panel-label-text: var(--text-base);
38
+ --ml-resources-panel-host-text: var(--text-xs);
39
+ --ml-resources-panel-radius: var(--radius-2xl);
40
+ }
41
+
42
+ .ml-resources-panel__header,
43
+ .ml-resources-panel__footer {
44
+ display: flex;
45
+ min-width: 0;
46
+ align-items: center;
47
+ justify-content: space-between;
48
+ gap: var(--ml-space-3);
49
+ padding: var(--ml-space-3) var(--ml-resources-panel-padding-x);
50
+ }
51
+
52
+ .ml-resources-panel__header {
53
+ border-block-end: var(--border-thin) solid var(--border);
54
+ }
55
+
56
+ .ml-resources-panel__footer {
57
+ border-block-start: var(--border-thin) solid var(--border);
58
+ color: var(--text-muted);
59
+ font-family: var(--font-mono);
60
+ font-size: var(--text-3xs);
61
+ letter-spacing: var(--tracking-meta);
62
+ text-transform: uppercase;
63
+ }
64
+
65
+ .ml-resources-panel__title,
66
+ .ml-resources-panel__meta {
67
+ min-width: 0;
68
+ overflow: hidden;
69
+ font-family: var(--font-mono);
70
+ line-height: 1;
71
+ text-overflow: ellipsis;
72
+ text-transform: uppercase;
73
+ white-space: nowrap;
74
+ }
75
+
76
+ .ml-resources-panel__title {
77
+ display: inline-flex;
78
+ align-items: center;
79
+ gap: var(--ml-space-2);
80
+ color: var(--text-muted);
81
+ font-size: var(--text-3xs);
82
+ font-weight: 600;
83
+ letter-spacing: var(--tracking-meta);
84
+ }
85
+
86
+ .ml-resources-panel__meta {
87
+ color: var(--text-muted);
88
+ font-size: var(--text-3xs);
89
+ letter-spacing: var(--tracking-normal);
90
+ }
91
+
92
+ .ml-resources-panel__list {
93
+ display: grid;
94
+ margin: 0;
95
+ padding: 0;
96
+ list-style: none;
97
+ }
98
+
99
+ .ml-resources-panel__row + .ml-resources-panel__row {
100
+ border-block-start: var(--border-thin) solid var(--border);
101
+ }
102
+
103
+ .ml-resources-panel__item {
104
+ display: grid;
105
+ grid-template-columns:
106
+ var(--ml-resources-panel-icon-size) minmax(0, 1fr)
107
+ auto;
108
+ align-items: center;
109
+ gap: var(--ml-resources-panel-gap);
110
+ min-width: 0;
111
+ padding: var(--ml-resources-panel-row-padding-y)
112
+ var(--ml-resources-panel-padding-x);
113
+ color: inherit;
114
+ text-decoration: none;
115
+ transition:
116
+ background-color var(--duration-micro) var(--ease-out),
117
+ color var(--duration-micro) var(--ease-out);
118
+ }
119
+
120
+ a.ml-resources-panel__item {
121
+ cursor: pointer;
122
+ }
123
+
124
+ a.ml-resources-panel__item:hover {
125
+ background: var(--surface-2);
126
+ }
127
+
128
+ a.ml-resources-panel__item:focus-visible {
129
+ outline: none;
130
+ box-shadow: inset var(--focus-ring);
131
+ }
132
+
133
+ .ml-resources-panel__icon {
134
+ display: inline-grid;
135
+ inline-size: var(--ml-resources-panel-icon-size);
136
+ block-size: var(--ml-resources-panel-icon-size);
137
+ place-items: center;
138
+ border: var(--border-thin) solid var(--border);
139
+ border-radius: var(--radius-sm);
140
+ background: var(--button);
141
+ color: var(--text-secondary);
142
+ transition:
143
+ background-color var(--duration-micro) var(--ease-out),
144
+ border-color var(--duration-micro) var(--ease-out),
145
+ color var(--duration-micro) var(--ease-out);
146
+ }
147
+
148
+ a.ml-resources-panel__item:hover .ml-resources-panel__icon {
149
+ border-color: color-mix(in oklch, var(--accent) 72%, var(--border));
150
+ background: color-mix(in oklch, var(--accent) 15%, transparent);
151
+ color: var(--accent);
152
+ }
153
+
154
+ .ml-resources-panel__icon-svg {
155
+ inline-size: 1rem;
156
+ block-size: 1rem;
157
+ overflow: visible;
158
+ fill: none;
159
+ stroke: currentcolor;
160
+ stroke-linecap: round;
161
+ stroke-linejoin: round;
162
+ stroke-width: 1.6;
163
+ }
164
+
165
+ .ml-resources-panel__content {
166
+ display: grid;
167
+ min-width: 0;
168
+ gap: var(--ml-space-1);
169
+ }
170
+
171
+ .ml-resources-panel__label {
172
+ display: inline-flex;
173
+ min-width: 0;
174
+ align-items: center;
175
+ gap: var(--ml-space-2);
176
+ color: var(--primary);
177
+ font-size: var(--ml-resources-panel-label-text);
178
+ font-weight: 650;
179
+ line-height: var(--leading-tight);
180
+ }
181
+
182
+ .ml-resources-panel__badge {
183
+ display: inline-flex;
184
+ align-items: center;
185
+ min-block-size: var(--ml-space-4);
186
+ padding-inline: var(--ml-space-1);
187
+ border-radius: var(--radius-xs);
188
+ background: color-mix(in oklch, var(--accent) 15%, transparent);
189
+ color: var(--accent);
190
+ font-family: var(--font-mono);
191
+ font-size: var(--text-3xs);
192
+ font-weight: 700;
193
+ letter-spacing: var(--tracking-meta);
194
+ line-height: 1;
195
+ text-transform: uppercase;
196
+ }
197
+
198
+ .ml-resources-panel__host {
199
+ min-width: 0;
200
+ overflow: hidden;
201
+ color: var(--text-muted);
202
+ font-family: var(--font-mono);
203
+ font-size: var(--ml-resources-panel-host-text);
204
+ line-height: var(--leading-tight);
205
+ text-overflow: ellipsis;
206
+ white-space: nowrap;
207
+ }
208
+
209
+ .ml-resources-panel__arrow {
210
+ color: var(--text-muted);
211
+ font-family: var(--font-mono);
212
+ font-size: var(--text-xs);
213
+ line-height: 1;
214
+ transition:
215
+ color var(--duration-micro) var(--ease-out),
216
+ transform var(--duration-micro) var(--ease-out);
217
+ }
218
+
219
+ a.ml-resources-panel__item:hover .ml-resources-panel__arrow {
220
+ color: var(--accent);
221
+ transform: translate3d(0.125rem, -0.125rem, 0);
222
+ }
223
+
224
+ .group\/btn:not(:disabled):not([aria-disabled="true"]):not(
225
+ [data-disabled="true"]
226
+ ):not([data-loading="true"]):hover
227
+ .ml-button-icon[data-reveal="true"] {
228
+ opacity: 1;
229
+ transform: translate3d(0, 0, 0);
230
+ }
231
+
232
+ .group\/btn:not(:disabled):not([aria-disabled="true"]):not(
233
+ [data-disabled="true"]
234
+ ):not([data-loading="true"]):hover
235
+ .ml-button-icon[data-reveal="true"]
236
+ .ml-button-icon__glyph {
237
+ opacity: 1;
238
+ transform: translate3d(0, 0, 0);
239
+ }
240
+
241
+ .ml-card {
242
+ --ml-card-lift: calc(var(--ml-space-1) * -0.5);
243
+ --ml-card-arrow-offset: calc(var(--ml-space-1) * -0.5);
244
+ --ml-card-content-rest-opacity: 0.82;
245
+ --ml-card-content-hover-opacity: 1;
246
+
247
+ border-color: var(--border);
248
+ background: var(--surface);
249
+ color: var(--text-body);
250
+ box-shadow: var(--shadow-xs);
251
+ transition:
252
+ background-color var(--duration-micro) var(--ease-out),
253
+ border-color var(--duration-micro) var(--ease-out),
254
+ box-shadow var(--duration-short) var(--ease-out),
255
+ transform var(--duration-medium) var(--ease-out);
256
+ backface-visibility: hidden;
257
+ isolation: isolate;
258
+ transform: translate3d(0, 0, 0);
259
+ }
260
+
261
+ .ml-card--hover:hover {
262
+ border-color: var(--border-strong);
263
+ background: var(--surface);
264
+ box-shadow: var(--shadow-md);
265
+ transform: translate3d(0, var(--ml-card-lift), 0);
266
+ }
267
+
268
+ .ml-card--interactive:hover {
269
+ border-color: var(--border-strong);
270
+ background: var(--surface);
271
+ box-shadow: var(--shadow-md);
272
+ transform: translate3d(0, var(--ml-card-lift), 0);
273
+ }
274
+
275
+ :root:not([data-theme="light"]) .ml-card--hover:hover,
276
+ [data-theme="dark"] .ml-card--hover:hover {
277
+ border-color: var(--border-strong);
278
+ background: var(--surface);
279
+ box-shadow: var(--shadow-md);
280
+ }
281
+
282
+ :root:not([data-theme="light"]) .ml-card--interactive:hover,
283
+ [data-theme="dark"] .ml-card--interactive:hover {
284
+ border-color: var(--border-strong);
285
+ background: var(--surface);
286
+ box-shadow: var(--shadow-md);
287
+ }
288
+
289
+ .ml-card__image > * {
290
+ transition: opacity var(--duration-micro) var(--ease-out);
291
+ }
292
+
293
+ .ml-card__image > img,
294
+ .ml-card__image > picture,
295
+ .ml-card__image > video,
296
+ .ml-card__image > canvas,
297
+ .ml-card__image > svg {
298
+ display: block;
299
+ inline-size: 100%;
300
+ block-size: 100%;
301
+ }
302
+
303
+ .ml-card__image > img,
304
+ .ml-card__image > picture > img,
305
+ .ml-card__image > video {
306
+ object-fit: cover;
307
+ object-position: center;
308
+ filter: grayscale(1) brightness(0.92);
309
+ transition: filter var(--duration-medium) var(--ease-out);
310
+ }
311
+
312
+ .ml-card__image::after {
313
+ content: "";
314
+ position: absolute;
315
+ inset-inline: 0;
316
+ inset-block-end: 0;
317
+ block-size: 28%;
318
+ background: linear-gradient(
319
+ 180deg,
320
+ transparent 0%,
321
+ color-mix(in oklch, var(--surface) 36%, transparent) 48%,
322
+ color-mix(in oklch, var(--surface) 86%, transparent) 100%
323
+ );
324
+ opacity: 0.72;
325
+ pointer-events: none;
326
+ transition: opacity var(--duration-medium) var(--ease-out);
327
+ }
328
+
329
+ .ml-card__image-caption {
330
+ min-block-size: 16%;
331
+ opacity: var(--ml-card-content-rest-opacity);
332
+ transition: opacity var(--duration-medium) var(--ease-out);
333
+ }
334
+
335
+ .ml-card__image:has(.ml-card__image-caption)::after,
336
+ .ml-card__image[data-placeholder="true"]::after {
337
+ opacity: 1;
338
+ }
339
+
340
+ .ml-card__image:has(.ml-card__image-caption) .ml-card__image-caption {
341
+ opacity: var(--ml-card-content-rest-opacity);
342
+ }
343
+
344
+ .ml-card--hover:hover .ml-card__image > * {
345
+ opacity: 1;
346
+ }
347
+
348
+ .ml-card--hover:hover .ml-card__image > img,
349
+ .ml-card--hover:hover .ml-card__image > picture > img,
350
+ .ml-card--hover:hover .ml-card__image > video {
351
+ filter: grayscale(0) brightness(1);
352
+ }
353
+
354
+ .ml-card--hover:hover .ml-card__image::after {
355
+ opacity: 0.82;
356
+ }
357
+
358
+ .ml-card--hover:hover .ml-card__image-caption {
359
+ opacity: var(--ml-card-content-hover-opacity);
360
+ }
361
+
362
+ .ml-card__footer {
363
+ background: var(--surface);
364
+ transition:
365
+ border-color var(--duration-micro) var(--ease-out),
366
+ color var(--duration-micro) var(--ease-out);
367
+ }
368
+
369
+ .ml-card__body {
370
+ background: var(--surface);
371
+ transition: color var(--duration-micro) var(--ease-out);
372
+ }
373
+
374
+ .ml-card__tag-list {
375
+ flex: 1 1 auto;
376
+ }
377
+
378
+ .ml-card__tag-overflow {
379
+ white-space: nowrap;
380
+ }
381
+
382
+ .ml-card__arrow {
383
+ display: inline-block;
384
+ opacity: 0.72;
385
+ transform: translate3d(var(--ml-card-arrow-offset), 0, 0);
386
+ transition:
387
+ opacity var(--duration-micro) var(--ease-out),
388
+ transform var(--duration-medium) var(--ease-out);
389
+ }
390
+
391
+ .ml-card--hover:hover .ml-card__arrow,
392
+ .ml-card--interactive:hover .ml-card__arrow {
393
+ opacity: 1;
394
+ transform: translate3d(0, 0, 0);
395
+ }
396
+ }
@@ -0,0 +1,24 @@
1
+ import * as React$1 from 'react';
2
+
3
+ type SectionHeadSize = "sm" | "md" | "lg" | "xl";
4
+ type SectionHeadLevel = 1 | 2 | 3;
5
+ interface SectionHeadProps extends Omit<React$1.ComponentProps<"div">, "title"> {
6
+ as?: "div" | "header";
7
+ eyebrow?: React$1.ReactNode;
8
+ title: React$1.ReactNode;
9
+ subtitle?: React$1.ReactNode;
10
+ lede?: React$1.ReactNode;
11
+ level?: SectionHeadLevel;
12
+ size?: SectionHeadSize;
13
+ }
14
+
15
+ declare function SectionHeadRoot({ className, size, eyebrow, title, subtitle, lede, level, as, ref, ...props }: SectionHeadProps): React.ReactElement;
16
+
17
+ /**
18
+ * @module section-head
19
+ * Description for section-head component.
20
+ */
21
+
22
+ declare const SectionHead: typeof SectionHeadRoot;
23
+
24
+ export { SectionHead, type SectionHeadLevel, type SectionHeadProps, type SectionHeadSize };
@@ -0,0 +1,2 @@
1
+ export{a as SectionHead}from'../../chunk-H2CRII7X.js';import'../../chunk-VSATIFOR.js';import'../../chunk-AACTIVV7.js';//# sourceMappingURL=index.js.map
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"index.js"}
@@ -0,0 +1,28 @@
1
+ import * as React$1 from 'react';
2
+
3
+ type SegmentedControlVariant = "default" | "pill";
4
+ type SegmentedControlSize = "sm" | "md" | "lg";
5
+ interface SegmentedControlOption<T extends string> {
6
+ value: T;
7
+ label: string;
8
+ badge?: number;
9
+ disabled?: boolean;
10
+ }
11
+ interface SegmentedControlProps<T extends string> extends Omit<React.ComponentProps<"div">, "children" | "onChange"> {
12
+ options: SegmentedControlOption<T>[];
13
+ value: T;
14
+ onChange: (value: T) => void;
15
+ variant?: SegmentedControlVariant;
16
+ size?: SegmentedControlSize;
17
+ }
18
+
19
+ declare function SegmentedControlRoot<T extends string>({ options, value, onChange, variant, size, className, onKeyDown, ref, role, ...props }: SegmentedControlProps<T>): React$1.ReactElement;
20
+
21
+ /**
22
+ * @module segmented-control
23
+ * Description for segmented-control component.
24
+ */
25
+
26
+ declare const SegmentedControl: typeof SegmentedControlRoot;
27
+
28
+ export { SegmentedControl, type SegmentedControlOption, type SegmentedControlProps, type SegmentedControlSize, type SegmentedControlVariant };
@@ -0,0 +1,2 @@
1
+ export{a as SegmentedControl}from'../../chunk-ZOPV3BXO.js';import'../../chunk-AACTIVV7.js';//# sourceMappingURL=index.js.map
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"index.js"}