@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.
- package/LICENSE +21 -0
- package/README.md +313 -0
- package/chunk-2T2JZW4Z.js +2 -0
- package/chunk-2T2JZW4Z.js.map +1 -0
- package/chunk-37JB3ZNS.js +2 -0
- package/chunk-37JB3ZNS.js.map +1 -0
- package/chunk-3F6Z4CFV.js +2 -0
- package/chunk-3F6Z4CFV.js.map +1 -0
- package/chunk-5TIKYN5B.js +2 -0
- package/chunk-5TIKYN5B.js.map +1 -0
- package/chunk-6AEWSPAE.js +2 -0
- package/chunk-6AEWSPAE.js.map +1 -0
- package/chunk-7ANXAXP5.js +2 -0
- package/chunk-7ANXAXP5.js.map +1 -0
- package/chunk-7SDVYBBO.js +2 -0
- package/chunk-7SDVYBBO.js.map +1 -0
- package/chunk-7WJF6B6G.js +2 -0
- package/chunk-7WJF6B6G.js.map +1 -0
- package/chunk-A2LXX23X.js +2 -0
- package/chunk-A2LXX23X.js.map +1 -0
- package/chunk-AACTIVV7.js +2 -0
- package/chunk-AACTIVV7.js.map +1 -0
- package/chunk-B5P3RAN2.js +2 -0
- package/chunk-B5P3RAN2.js.map +1 -0
- package/chunk-COFALEVG.js +2 -0
- package/chunk-COFALEVG.js.map +1 -0
- package/chunk-D3E4G2RE.js +2 -0
- package/chunk-D3E4G2RE.js.map +1 -0
- package/chunk-DJT3EVR4.js +2 -0
- package/chunk-DJT3EVR4.js.map +1 -0
- package/chunk-EWKGYQOX.js +2 -0
- package/chunk-EWKGYQOX.js.map +1 -0
- package/chunk-FLUGXF5D.js +2 -0
- package/chunk-FLUGXF5D.js.map +1 -0
- package/chunk-GSWZL5C2.js +2 -0
- package/chunk-GSWZL5C2.js.map +1 -0
- package/chunk-H2CRII7X.js +2 -0
- package/chunk-H2CRII7X.js.map +1 -0
- package/chunk-IVTAW6SX.js +3 -0
- package/chunk-IVTAW6SX.js.map +1 -0
- package/chunk-JBOP2AJB.js +2 -0
- package/chunk-JBOP2AJB.js.map +1 -0
- package/chunk-JCKPCV2H.js +2 -0
- package/chunk-JCKPCV2H.js.map +1 -0
- package/chunk-K665XZ3N.js +2 -0
- package/chunk-K665XZ3N.js.map +1 -0
- package/chunk-K72EORST.js +2 -0
- package/chunk-K72EORST.js.map +1 -0
- package/chunk-KGLH6WI6.js +2 -0
- package/chunk-KGLH6WI6.js.map +1 -0
- package/chunk-LVMQ3ZM3.js +2 -0
- package/chunk-LVMQ3ZM3.js.map +1 -0
- package/chunk-N37GMCSK.js +2 -0
- package/chunk-N37GMCSK.js.map +1 -0
- package/chunk-NDHOUIOX.js +2 -0
- package/chunk-NDHOUIOX.js.map +1 -0
- package/chunk-NDTTLW56.js +2 -0
- package/chunk-NDTTLW56.js.map +1 -0
- package/chunk-O43OQHFN.js +2 -0
- package/chunk-O43OQHFN.js.map +1 -0
- package/chunk-QGG3J7OW.js +2 -0
- package/chunk-QGG3J7OW.js.map +1 -0
- package/chunk-QUG36ONS.js +2 -0
- package/chunk-QUG36ONS.js.map +1 -0
- package/chunk-R2YSVBHS.js +2 -0
- package/chunk-R2YSVBHS.js.map +1 -0
- package/chunk-TSOHITZ7.js +2 -0
- package/chunk-TSOHITZ7.js.map +1 -0
- package/chunk-V6PUPMAY.js +3 -0
- package/chunk-V6PUPMAY.js.map +1 -0
- package/chunk-VSATIFOR.js +2 -0
- package/chunk-VSATIFOR.js.map +1 -0
- package/chunk-XEB7C557.js +2 -0
- package/chunk-XEB7C557.js.map +1 -0
- package/chunk-Z7SIB4X6.js +2 -0
- package/chunk-Z7SIB4X6.js.map +1 -0
- package/chunk-ZOPV3BXO.js +2 -0
- package/chunk-ZOPV3BXO.js.map +1 -0
- package/chunk-ZU3HIOBU.js +2 -0
- package/chunk-ZU3HIOBU.js.map +1 -0
- package/components/action-rail/index.d.ts +18 -0
- package/components/action-rail/index.js +2 -0
- package/components/action-rail/index.js.map +1 -0
- package/components/avatar/avatar.css +47 -0
- package/components/avatar/index.d.ts +28 -0
- package/components/avatar/index.js +2 -0
- package/components/avatar/index.js.map +1 -0
- package/components/back-link/back-link.css +30 -0
- package/components/back-link/index.d.ts +18 -0
- package/components/back-link/index.js +2 -0
- package/components/back-link/index.js.map +1 -0
- package/components/badge/badge.css +27 -0
- package/components/badge/index.d.ts +26 -0
- package/components/badge/index.js +2 -0
- package/components/badge/index.js.map +1 -0
- package/components/button/button.css +238 -0
- package/components/button/index.d.ts +36 -0
- package/components/button/index.js +2 -0
- package/components/button/index.js.map +1 -0
- package/components/callout/callout.css +20 -0
- package/components/callout/index.d.ts +20 -0
- package/components/callout/index.js +2 -0
- package/components/callout/index.js.map +1 -0
- package/components/card/card.css +166 -0
- package/components/card/index.d.ts +112 -0
- package/components/card/index.js +2 -0
- package/components/card/index.js.map +1 -0
- package/components/code-block/code-block.css +23 -0
- package/components/code-block/index.d.ts +21 -0
- package/components/code-block/index.js +2 -0
- package/components/code-block/index.js.map +1 -0
- package/components/command-search/command-search.css +217 -0
- package/components/command-search/index.d.ts +73 -0
- package/components/command-search/index.js +2 -0
- package/components/command-search/index.js.map +1 -0
- package/components/container/container.css +41 -0
- package/components/container/index.d.ts +11 -0
- package/components/container/index.js +2 -0
- package/components/container/index.js.map +1 -0
- package/components/data-list/data-list.css +139 -0
- package/components/data-list/index.d.ts +45 -0
- package/components/data-list/index.js +2 -0
- package/components/data-list/index.js.map +1 -0
- package/components/editorial-line/index.d.ts +24 -0
- package/components/editorial-line/index.js +2 -0
- package/components/editorial-line/index.js.map +1 -0
- package/components/eyebrow/eyebrow.css +13 -0
- package/components/eyebrow/index.d.ts +17 -0
- package/components/eyebrow/index.js +2 -0
- package/components/eyebrow/index.js.map +1 -0
- package/components/footer/footer.css +201 -0
- package/components/footer/index.d.ts +66 -0
- package/components/footer/index.js +2 -0
- package/components/footer/index.js.map +1 -0
- package/components/input/index.d.ts +28 -0
- package/components/input/index.js +2 -0
- package/components/input/index.js.map +1 -0
- package/components/input/input.css +37 -0
- package/components/link-list/index.d.ts +47 -0
- package/components/link-list/index.js +2 -0
- package/components/link-list/index.js.map +1 -0
- package/components/link-list/link-list.css +208 -0
- package/components/media-frame/index.d.ts +31 -0
- package/components/media-frame/index.js +2 -0
- package/components/media-frame/index.js.map +1 -0
- package/components/media-frame/media-frame.css +86 -0
- package/components/meta-row/index.d.ts +22 -0
- package/components/meta-row/index.js +2 -0
- package/components/meta-row/index.js.map +1 -0
- package/components/metric/index.d.ts +22 -0
- package/components/metric/index.js +2 -0
- package/components/metric/index.js.map +1 -0
- package/components/navbar/index.d.ts +78 -0
- package/components/navbar/index.js +2 -0
- package/components/navbar/index.js.map +1 -0
- package/components/navbar/navbar.css +245 -0
- package/components/progress/index.d.ts +20 -0
- package/components/progress/index.js +2 -0
- package/components/progress/index.js.map +1 -0
- package/components/progress/progress.css +31 -0
- package/components/pull-quote/index.d.ts +18 -0
- package/components/pull-quote/index.js +2 -0
- package/components/pull-quote/index.js.map +1 -0
- package/components/rail/index.d.ts +28 -0
- package/components/rail/index.js +2 -0
- package/components/rail/index.js.map +1 -0
- package/components/rail/rail.css +118 -0
- package/components/resources-panel/index.d.ts +42 -0
- package/components/resources-panel/index.js +2 -0
- package/components/resources-panel/index.js.map +1 -0
- package/components/resources-panel/resources-panel.css +396 -0
- package/components/section-head/index.d.ts +24 -0
- package/components/section-head/index.js +2 -0
- package/components/section-head/index.js.map +1 -0
- package/components/segmented-control/index.d.ts +28 -0
- package/components/segmented-control/index.js +2 -0
- package/components/segmented-control/index.js.map +1 -0
- package/components/segmented-control/segmented-control.css +177 -0
- package/components/select/index.d.ts +65 -0
- package/components/select/index.js +2 -0
- package/components/select/index.js.map +1 -0
- package/components/select/select.css +298 -0
- package/components/skeleton/index.d.ts +19 -0
- package/components/skeleton/index.js +2 -0
- package/components/skeleton/index.js.map +1 -0
- package/components/skeleton/skeleton.css +13 -0
- package/components/status/index.d.ts +20 -0
- package/components/status/index.js +2 -0
- package/components/status/index.js.map +1 -0
- package/components/status/status.css +86 -0
- package/components/tag/index.d.ts +35 -0
- package/components/tag/index.js +2 -0
- package/components/tag/index.js.map +1 -0
- package/components/tag/tag.css +10 -0
- package/components/testimonial/index.d.ts +30 -0
- package/components/testimonial/index.js +2 -0
- package/components/testimonial/index.js.map +1 -0
- package/components/testimonial/testimonial.css +109 -0
- package/components/testimonial-grid/index.d.ts +12 -0
- package/components/testimonial-grid/index.js +2 -0
- package/components/testimonial-grid/index.js.map +1 -0
- package/components/testimonial-grid/testimonial-grid.css +58 -0
- package/components/theme-switcher/index.d.ts +24 -0
- package/components/theme-switcher/index.js +2 -0
- package/components/theme-switcher/index.js.map +1 -0
- package/components/theme-switcher/theme-switcher.css +130 -0
- package/components/toast/index.d.ts +20 -0
- package/components/toast/index.js +2 -0
- package/components/toast/index.js.map +1 -0
- package/components/toast/toast.css +22 -0
- package/components/toc/index.d.ts +27 -0
- package/components/toc/index.js +2 -0
- package/components/toc/index.js.map +1 -0
- package/components/toggle/index.d.ts +20 -0
- package/components/toggle/index.js +2 -0
- package/components/toggle/index.js.map +1 -0
- package/components/toggle/toggle.css +108 -0
- package/foundations/breakpoints.d.ts +12 -0
- package/foundations/breakpoints.js +2 -0
- package/foundations/breakpoints.js.map +1 -0
- package/foundations/use-breakpoint.d.ts +5 -0
- package/foundations/use-breakpoint.js +3 -0
- package/foundations/use-breakpoint.js.map +1 -0
- package/index.d.ts +42 -0
- package/index.js +2 -0
- package/index.js.map +1 -0
- package/lib/utils.d.ts +7 -0
- package/lib/utils.js +2 -0
- package/lib/utils.js.map +1 -0
- package/package.json +228 -0
- package/styles/theme/animations.css +206 -0
- package/styles/theme/base.css +75 -0
- package/styles/theme/tailwind.css +371 -0
- package/styles/theme/tokens.css +562 -0
- package/styles/theme/typography.css +108 -0
- package/styles/theme/utilities.css +281 -0
- package/styles/theme.css +68 -0
|
@@ -0,0 +1,201 @@
|
|
|
1
|
+
@layer theme, base, components, utilities;
|
|
2
|
+
|
|
3
|
+
@layer components {
|
|
4
|
+
.ml-footer {
|
|
5
|
+
width: 100%;
|
|
6
|
+
border-block-start: var(--border-thin, 1px) solid
|
|
7
|
+
var(--border, currentColor);
|
|
8
|
+
background-color: var(--background, canvas);
|
|
9
|
+
color: var(--text-body, currentColor);
|
|
10
|
+
|
|
11
|
+
/* Default to md size variable mappings */
|
|
12
|
+
--ml-footer-y: var(--ml-footer-y-md);
|
|
13
|
+
--ml-footer-y-tablet: var(--ml-footer-y-md-tablet);
|
|
14
|
+
--ml-footer-y-desktop: var(--ml-footer-y-md-desktop);
|
|
15
|
+
|
|
16
|
+
--ml-footer-x: var(--ml-footer-x-md);
|
|
17
|
+
--ml-footer-x-tablet: var(--ml-footer-x-md-tablet);
|
|
18
|
+
--ml-footer-x-desktop: var(--ml-footer-x-md-desktop);
|
|
19
|
+
|
|
20
|
+
--ml-footer-container-max: 80rem; /* max-w-7xl */
|
|
21
|
+
--ml-footer-layout-cols-desktop: var(
|
|
22
|
+
--ml-footer-layout-cols-md-desktop,
|
|
23
|
+
minmax(0, 1fr) minmax(0, 1fr)
|
|
24
|
+
);
|
|
25
|
+
--ml-footer-layout-gap: var(--ml-footer-layout-gap-md);
|
|
26
|
+
--ml-footer-layout-gap-desktop: var(--ml-footer-layout-gap-md-desktop);
|
|
27
|
+
|
|
28
|
+
--ml-footer-intro-max: var(--ml-footer-intro-max-md);
|
|
29
|
+
--ml-footer-intro-gap: var(--ml-footer-intro-gap-md);
|
|
30
|
+
|
|
31
|
+
--ml-footer-brand-text: var(--text-4xl);
|
|
32
|
+
--ml-footer-description-max: var(--ml-footer-description-max-md);
|
|
33
|
+
--ml-footer-description-text: var(--text-base);
|
|
34
|
+
--ml-footer-description-leading: var(
|
|
35
|
+
--ml-footer-description-leading-md,
|
|
36
|
+
1.5
|
|
37
|
+
);
|
|
38
|
+
|
|
39
|
+
--ml-footer-column-gap-x: var(--ml-footer-column-gap-x-md);
|
|
40
|
+
--ml-footer-column-gap-y: var(--ml-footer-column-gap-y-md);
|
|
41
|
+
|
|
42
|
+
--ml-footer-link-min-height: var(--ml-footer-link-min-height-md);
|
|
43
|
+
--ml-footer-link-text: var(--text-base);
|
|
44
|
+
|
|
45
|
+
--ml-footer-meta-mt: var(--ml-footer-meta-mt-md);
|
|
46
|
+
--ml-footer-meta-pt: var(--ml-footer-meta-pt-md);
|
|
47
|
+
--ml-footer-meta-text: var(--ml-footer-meta-text-md);
|
|
48
|
+
|
|
49
|
+
padding-block: var(--ml-footer-y);
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
@media (min-width: 48rem) {
|
|
53
|
+
.ml-footer {
|
|
54
|
+
padding-block: var(--ml-footer-y-tablet);
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
@media (min-width: 80rem) {
|
|
59
|
+
.ml-footer {
|
|
60
|
+
padding-block: var(--ml-footer-y-desktop);
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.ml-footer[data-size="sm"] {
|
|
65
|
+
--ml-footer-y: var(--ml-footer-y-sm);
|
|
66
|
+
--ml-footer-y-tablet: var(--ml-footer-y-sm-tablet);
|
|
67
|
+
--ml-footer-y-desktop: var(--ml-footer-y-sm-desktop);
|
|
68
|
+
|
|
69
|
+
--ml-footer-x: var(--ml-footer-x-sm);
|
|
70
|
+
--ml-footer-x-tablet: var(--ml-footer-x-sm-tablet);
|
|
71
|
+
--ml-footer-x-desktop: var(--ml-footer-x-sm-desktop);
|
|
72
|
+
|
|
73
|
+
--ml-footer-container-max: 64rem; /* max-w-5xl */
|
|
74
|
+
--ml-footer-layout-cols-desktop: var(
|
|
75
|
+
--ml-footer-layout-cols-sm-desktop,
|
|
76
|
+
minmax(0, 1fr) minmax(0, 1fr)
|
|
77
|
+
);
|
|
78
|
+
--ml-footer-layout-gap: var(--ml-footer-layout-gap-sm);
|
|
79
|
+
--ml-footer-layout-gap-desktop: var(--ml-footer-layout-gap-sm-desktop);
|
|
80
|
+
|
|
81
|
+
--ml-footer-intro-max: var(--ml-footer-intro-max-sm);
|
|
82
|
+
--ml-footer-intro-gap: var(--ml-footer-intro-gap-sm);
|
|
83
|
+
|
|
84
|
+
--ml-footer-brand-text: var(--text-3xl);
|
|
85
|
+
--ml-footer-description-max: var(--ml-footer-description-max-sm);
|
|
86
|
+
--ml-footer-description-text: var(--text-sm);
|
|
87
|
+
--ml-footer-description-leading: var(
|
|
88
|
+
--ml-footer-description-leading-sm,
|
|
89
|
+
1.5
|
|
90
|
+
);
|
|
91
|
+
|
|
92
|
+
--ml-footer-column-gap-x: var(--ml-footer-column-gap-x-sm);
|
|
93
|
+
--ml-footer-column-gap-y: var(--ml-footer-column-gap-y-sm);
|
|
94
|
+
|
|
95
|
+
--ml-footer-link-min-height: var(--ml-footer-link-min-height-sm);
|
|
96
|
+
--ml-footer-link-text: var(--text-sm);
|
|
97
|
+
|
|
98
|
+
--ml-footer-meta-mt: var(--ml-footer-meta-mt-sm);
|
|
99
|
+
--ml-footer-meta-pt: var(--ml-footer-meta-pt-sm);
|
|
100
|
+
--ml-footer-meta-text: var(--ml-footer-meta-text-sm);
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
.ml-footer[data-size="lg"] {
|
|
104
|
+
--ml-footer-y: var(--ml-footer-y-lg);
|
|
105
|
+
--ml-footer-y-tablet: var(--ml-footer-y-lg-tablet);
|
|
106
|
+
--ml-footer-y-desktop: var(--ml-footer-y-lg-desktop);
|
|
107
|
+
|
|
108
|
+
--ml-footer-x: var(--ml-footer-x-lg);
|
|
109
|
+
--ml-footer-x-tablet: var(--ml-footer-x-lg-tablet);
|
|
110
|
+
--ml-footer-x-desktop: var(--ml-footer-x-lg-desktop);
|
|
111
|
+
|
|
112
|
+
--ml-footer-container-max: var(--ml-footer-container-max-lg);
|
|
113
|
+
--ml-footer-layout-cols-desktop: var(
|
|
114
|
+
--ml-footer-layout-cols-lg-desktop,
|
|
115
|
+
minmax(0, 1fr) minmax(0, 1fr)
|
|
116
|
+
);
|
|
117
|
+
--ml-footer-layout-gap: var(--ml-footer-layout-gap-lg);
|
|
118
|
+
--ml-footer-layout-gap-desktop: var(--ml-footer-layout-gap-lg-desktop);
|
|
119
|
+
|
|
120
|
+
--ml-footer-intro-max: var(--ml-footer-intro-max-lg);
|
|
121
|
+
--ml-footer-intro-gap: var(--ml-footer-intro-gap-lg);
|
|
122
|
+
|
|
123
|
+
--ml-footer-brand-text: var(--text-5xl);
|
|
124
|
+
--ml-footer-description-max: var(--ml-footer-description-max-lg);
|
|
125
|
+
--ml-footer-description-text: var(--text-lg);
|
|
126
|
+
--ml-footer-description-leading: var(
|
|
127
|
+
--ml-footer-description-leading-lg,
|
|
128
|
+
1.5
|
|
129
|
+
);
|
|
130
|
+
|
|
131
|
+
--ml-footer-column-gap-x: var(--ml-footer-column-gap-x-lg);
|
|
132
|
+
--ml-footer-column-gap-y: var(--ml-footer-column-gap-y-lg);
|
|
133
|
+
|
|
134
|
+
--ml-footer-link-min-height: var(--ml-footer-link-min-height-lg);
|
|
135
|
+
--ml-footer-link-text: var(--text-lg);
|
|
136
|
+
|
|
137
|
+
--ml-footer-meta-mt: var(--ml-footer-meta-mt-lg);
|
|
138
|
+
--ml-footer-meta-pt: var(--ml-footer-meta-pt-lg);
|
|
139
|
+
--ml-footer-meta-text: var(--ml-footer-meta-text-lg);
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
.ml-footer__container {
|
|
143
|
+
inline-size: 100%;
|
|
144
|
+
max-inline-size: var(--ml-footer-container-max);
|
|
145
|
+
padding-inline: var(--ml-footer-x);
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
@media (min-width: 48rem) {
|
|
149
|
+
.ml-footer__container {
|
|
150
|
+
padding-inline: var(--ml-footer-x-tablet);
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
@media (min-width: 80rem) {
|
|
155
|
+
.ml-footer__container {
|
|
156
|
+
padding-inline: var(--ml-footer-x-desktop);
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
.ml-footer__layout {
|
|
161
|
+
gap: var(--ml-footer-layout-gap);
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
@media (min-width: 80rem) {
|
|
165
|
+
.ml-footer__layout {
|
|
166
|
+
grid-template-columns: var(--ml-footer-layout-cols-desktop);
|
|
167
|
+
gap: var(--ml-footer-layout-gap-desktop);
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
.ml-footer__intro {
|
|
172
|
+
max-inline-size: var(--ml-footer-intro-max);
|
|
173
|
+
gap: var(--ml-footer-intro-gap);
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
.ml-footer__brand {
|
|
177
|
+
font-size: var(--ml-footer-brand-text);
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
.ml-footer__description {
|
|
181
|
+
max-inline-size: var(--ml-footer-description-max);
|
|
182
|
+
font-size: var(--ml-footer-description-text);
|
|
183
|
+
line-height: var(--ml-footer-description-leading);
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
.ml-footer__columns {
|
|
187
|
+
column-gap: var(--ml-footer-column-gap-x);
|
|
188
|
+
row-gap: var(--ml-footer-column-gap-y);
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
.ml-footer__link {
|
|
192
|
+
min-block-size: var(--ml-footer-link-min-height);
|
|
193
|
+
font-size: var(--ml-footer-link-text);
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
.ml-footer__meta {
|
|
197
|
+
margin-block-start: var(--ml-footer-meta-mt);
|
|
198
|
+
padding-block-start: var(--ml-footer-meta-pt);
|
|
199
|
+
font-size: var(--ml-footer-meta-text);
|
|
200
|
+
}
|
|
201
|
+
}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import * as React$1 from 'react';
|
|
2
|
+
|
|
3
|
+
type FooterLinkComponentProps = React$1.ComponentProps<"a"> & {
|
|
4
|
+
href: string;
|
|
5
|
+
};
|
|
6
|
+
interface FooterLink$1 {
|
|
7
|
+
href: string;
|
|
8
|
+
label: React$1.ReactNode;
|
|
9
|
+
external?: boolean;
|
|
10
|
+
rel?: string;
|
|
11
|
+
target?: React$1.HTMLAttributeAnchorTarget;
|
|
12
|
+
as?: React$1.ComponentType<FooterLinkComponentProps>;
|
|
13
|
+
}
|
|
14
|
+
interface FooterColumn {
|
|
15
|
+
title: React$1.ReactNode;
|
|
16
|
+
links: FooterLink$1[];
|
|
17
|
+
}
|
|
18
|
+
type FooterSize = "sm" | "md" | "lg";
|
|
19
|
+
interface FooterSubscribeFormProps extends Omit<React$1.ComponentProps<"form">, "children"> {
|
|
20
|
+
description?: React$1.ReactNode;
|
|
21
|
+
placeholder?: string;
|
|
22
|
+
inputName?: string;
|
|
23
|
+
submitLabel?: string;
|
|
24
|
+
}
|
|
25
|
+
interface FooterStatusProps extends React$1.ComponentProps<"span"> {
|
|
26
|
+
children?: React$1.ReactNode;
|
|
27
|
+
}
|
|
28
|
+
interface FooterLinkProps extends React$1.ComponentProps<"a"> {
|
|
29
|
+
asChild?: boolean;
|
|
30
|
+
}
|
|
31
|
+
interface FooterProps extends React$1.ComponentProps<"footer"> {
|
|
32
|
+
size?: FooterSize;
|
|
33
|
+
brand?: React$1.ReactNode;
|
|
34
|
+
description?: React$1.ReactNode;
|
|
35
|
+
status?: React$1.ReactNode | false;
|
|
36
|
+
localTime?: React$1.ReactNode | false;
|
|
37
|
+
columns?: FooterColumn[];
|
|
38
|
+
links?: FooterLink$1[];
|
|
39
|
+
subscribe?: React$1.ReactNode | false;
|
|
40
|
+
credit?: React$1.ReactNode;
|
|
41
|
+
meta?: React$1.ReactNode;
|
|
42
|
+
attribution?: React$1.ReactNode;
|
|
43
|
+
linkComponent?: React$1.ComponentType<FooterLinkComponentProps>;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
declare function FooterLink({ asChild, className, ref, ...props }: FooterLinkProps): React$1.ReactElement;
|
|
47
|
+
|
|
48
|
+
declare function FooterRoot({ size, brand, description, status, localTime, columns, links, subscribe, credit, meta, attribution, linkComponent, className, ref, ...props }: FooterProps): React.ReactElement;
|
|
49
|
+
|
|
50
|
+
declare function FooterStatus({ children, className, ref, ...props }: FooterStatusProps): React.ReactElement;
|
|
51
|
+
|
|
52
|
+
declare function FooterSubscribeForm({ description, placeholder, inputName, submitLabel, action, method, className, ref, ...props }: FooterSubscribeFormProps): React.ReactElement;
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* @module Footer
|
|
56
|
+
* Description for Footer component.
|
|
57
|
+
*/
|
|
58
|
+
|
|
59
|
+
declare const Footer: typeof FooterRoot & {
|
|
60
|
+
displayName: string;
|
|
61
|
+
Status: typeof FooterStatus;
|
|
62
|
+
Subscribe: typeof FooterSubscribeForm;
|
|
63
|
+
Link: typeof FooterLink;
|
|
64
|
+
};
|
|
65
|
+
|
|
66
|
+
export { Footer, type FooterColumn, type FooterLink$1 as FooterLink, type FooterLinkComponentProps, type FooterLinkProps, type FooterProps, type FooterSize, type FooterStatusProps, type FooterSubscribeFormProps };
|
|
@@ -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 InputVariant = "default" | "error";
|
|
4
|
+
type InputSize = "sm" | "md" | "lg";
|
|
5
|
+
interface InputProps extends Omit<React$1.ComponentProps<"input">, "size" | "prefix"> {
|
|
6
|
+
variant?: InputVariant;
|
|
7
|
+
size?: InputSize;
|
|
8
|
+
prefix?: React$1.ReactNode;
|
|
9
|
+
suffix?: React$1.ReactNode;
|
|
10
|
+
wrapperClassName?: string;
|
|
11
|
+
}
|
|
12
|
+
type InputKbdProps = React$1.ComponentProps<"span">;
|
|
13
|
+
|
|
14
|
+
declare function InputKbd({ className, ref, ...props }: InputKbdProps): React.ReactElement;
|
|
15
|
+
|
|
16
|
+
declare function InputRoot({ className, wrapperClassName, variant, size, prefix, suffix, ref, ...props }: InputProps): React.ReactElement;
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* @module Input
|
|
20
|
+
* Description for Input component.
|
|
21
|
+
*/
|
|
22
|
+
|
|
23
|
+
declare const Input: typeof InputRoot & {
|
|
24
|
+
displayName: string;
|
|
25
|
+
Kbd: typeof InputKbd;
|
|
26
|
+
};
|
|
27
|
+
|
|
28
|
+
export { Input, type InputKbdProps, type InputProps, type InputSize, type InputVariant };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.js"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
@layer theme, base, components, utilities;
|
|
2
|
+
|
|
3
|
+
@layer components {
|
|
4
|
+
.ml-input--default {
|
|
5
|
+
border-color: var(--border-strong);
|
|
6
|
+
background: var(--surface);
|
|
7
|
+
color: var(--text-primary);
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.ml-input--default:focus-within {
|
|
11
|
+
border-color: var(--accent);
|
|
12
|
+
background: var(--surface-2);
|
|
13
|
+
box-shadow: 0 0 0 3px var(--accent-soft);
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.ml-input--error {
|
|
17
|
+
border-color: oklch(0.55 0.18 25);
|
|
18
|
+
background: var(--surface);
|
|
19
|
+
color: var(--text-primary);
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.ml-input--error:focus-within {
|
|
23
|
+
background: var(--surface-2);
|
|
24
|
+
box-shadow: 0 0 0 3px oklch(0.55 0.18 25 / 0.18);
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.ml-input input {
|
|
28
|
+
outline: none !important;
|
|
29
|
+
box-shadow: none !important;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.ml-input input:focus,
|
|
33
|
+
.ml-input input:focus-visible {
|
|
34
|
+
outline: none !important;
|
|
35
|
+
box-shadow: none !important;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import * as React$1 from 'react';
|
|
2
|
+
|
|
3
|
+
type LinkListSize = "sm" | "md" | "lg";
|
|
4
|
+
type LinkListLinkComponentProps = React$1.ComponentProps<"a"> & {
|
|
5
|
+
href: string;
|
|
6
|
+
};
|
|
7
|
+
interface LinkListItem$1 {
|
|
8
|
+
label?: React$1.ReactNode;
|
|
9
|
+
date?: React$1.ReactNode;
|
|
10
|
+
title: React$1.ReactNode;
|
|
11
|
+
href?: string;
|
|
12
|
+
tag?: React$1.ReactNode;
|
|
13
|
+
meta?: React$1.ReactNode;
|
|
14
|
+
trailing?: React$1.ReactNode;
|
|
15
|
+
external?: boolean;
|
|
16
|
+
rel?: string;
|
|
17
|
+
target?: React$1.HTMLAttributeAnchorTarget;
|
|
18
|
+
as?: React$1.ComponentType<LinkListLinkComponentProps>;
|
|
19
|
+
}
|
|
20
|
+
interface LinkListProps extends Omit<React$1.ComponentProps<"section">, "children" | "title"> {
|
|
21
|
+
size?: LinkListSize;
|
|
22
|
+
title?: React$1.ReactNode;
|
|
23
|
+
action?: React$1.ReactNode;
|
|
24
|
+
items?: LinkListItem$1[];
|
|
25
|
+
children?: React$1.ReactNode;
|
|
26
|
+
linkComponent?: React$1.ComponentType<LinkListLinkComponentProps>;
|
|
27
|
+
}
|
|
28
|
+
interface LinkListItemProps extends Omit<React$1.ComponentProps<"article">, "title"> {
|
|
29
|
+
item: LinkListItem$1;
|
|
30
|
+
linkComponent?: React$1.ComponentType<LinkListLinkComponentProps>;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
declare function LinkListItem({ className, item, linkComponent, ref, ...props }: LinkListItemProps): React.ReactElement;
|
|
34
|
+
|
|
35
|
+
declare function LinkListRoot({ className, size, title, action, items, children, linkComponent, ref, ...props }: LinkListProps): React.ReactElement;
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* @module LinkList
|
|
39
|
+
* Description for LinkList component.
|
|
40
|
+
*/
|
|
41
|
+
|
|
42
|
+
declare const LinkList: typeof LinkListRoot & {
|
|
43
|
+
displayName: string;
|
|
44
|
+
Item: typeof LinkListItem;
|
|
45
|
+
};
|
|
46
|
+
|
|
47
|
+
export { LinkList, LinkListItem, type LinkListItemProps, type LinkListProps, LinkListRoot, type LinkListSize };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.js"}
|
|
@@ -0,0 +1,208 @@
|
|
|
1
|
+
@layer theme, base, components, utilities;
|
|
2
|
+
|
|
3
|
+
@layer components {
|
|
4
|
+
.ml-link-list {
|
|
5
|
+
--ml-link-list-row-padding-y: var(--ml-space-5);
|
|
6
|
+
--ml-link-list-row-gap: var(--ml-space-6);
|
|
7
|
+
--ml-link-list-label-width: var(--ml-space-10);
|
|
8
|
+
--ml-link-list-date-width: var(--ml-space-28);
|
|
9
|
+
--ml-link-list-title-text: var(--text-base);
|
|
10
|
+
--ml-link-list-meta-text: var(--text-2xs);
|
|
11
|
+
--ml-link-list-tag-text: var(--text-xs);
|
|
12
|
+
|
|
13
|
+
container-type: inline-size;
|
|
14
|
+
display: grid;
|
|
15
|
+
inline-size: 100%;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.ml-link-list[data-size="sm"] {
|
|
19
|
+
--ml-link-list-row-padding-y: var(--ml-space-4);
|
|
20
|
+
--ml-link-list-row-gap: var(--ml-space-5);
|
|
21
|
+
--ml-link-list-label-width: var(--ml-space-8);
|
|
22
|
+
--ml-link-list-date-width: var(--ml-space-24);
|
|
23
|
+
--ml-link-list-title-text: var(--text-sm);
|
|
24
|
+
--ml-link-list-meta-text: var(--text-3xs);
|
|
25
|
+
--ml-link-list-tag-text: var(--text-2xs);
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.ml-link-list[data-size="lg"] {
|
|
29
|
+
--ml-link-list-row-padding-y: var(--ml-space-6);
|
|
30
|
+
--ml-link-list-row-gap: var(--ml-space-7);
|
|
31
|
+
--ml-link-list-label-width: var(--ml-space-12);
|
|
32
|
+
--ml-link-list-date-width: var(--ml-space-32);
|
|
33
|
+
--ml-link-list-title-text: var(--text-lg);
|
|
34
|
+
--ml-link-list-meta-text: var(--text-xs);
|
|
35
|
+
--ml-link-list-tag-text: var(--text-sm);
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.ml-link-list__header {
|
|
39
|
+
display: flex;
|
|
40
|
+
align-items: center;
|
|
41
|
+
justify-content: space-between;
|
|
42
|
+
gap: var(--ml-space-4);
|
|
43
|
+
padding-block-end: var(--ml-space-3);
|
|
44
|
+
border-block-end: var(--border-thin) solid var(--border);
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.ml-link-list__heading {
|
|
48
|
+
display: inline-flex;
|
|
49
|
+
min-width: 0;
|
|
50
|
+
align-items: center;
|
|
51
|
+
gap: var(--ml-space-2);
|
|
52
|
+
color: var(--text-muted);
|
|
53
|
+
font-family: var(--font-mono);
|
|
54
|
+
font-size: var(--ml-link-list-meta-text);
|
|
55
|
+
font-weight: 600;
|
|
56
|
+
line-height: 1;
|
|
57
|
+
letter-spacing: var(--tracking-eyebrow);
|
|
58
|
+
text-transform: uppercase;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.ml-link-list__action {
|
|
62
|
+
flex: 0 0 auto;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.ml-link-list__action :where(a) {
|
|
66
|
+
color: var(--text-muted);
|
|
67
|
+
font-family: var(--font-mono);
|
|
68
|
+
font-size: var(--ml-link-list-meta-text);
|
|
69
|
+
font-weight: 600;
|
|
70
|
+
line-height: 1;
|
|
71
|
+
letter-spacing: var(--tracking-meta);
|
|
72
|
+
text-decoration: none;
|
|
73
|
+
text-transform: uppercase;
|
|
74
|
+
transition:
|
|
75
|
+
color var(--duration-micro) var(--ease-out),
|
|
76
|
+
opacity var(--duration-micro) var(--ease-out);
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
.ml-link-list__action :where(a:hover) {
|
|
80
|
+
color: var(--accent);
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
.ml-link-list__action :where(a:focus-visible) {
|
|
84
|
+
color: var(--accent);
|
|
85
|
+
outline: none;
|
|
86
|
+
box-shadow: var(--focus-ring);
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.ml-link-list__items {
|
|
90
|
+
display: grid;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
.ml-link-list__item {
|
|
94
|
+
display: grid;
|
|
95
|
+
grid-template-columns:
|
|
96
|
+
var(--ml-link-list-label-width) var(--ml-link-list-date-width)
|
|
97
|
+
minmax(0, 1fr) auto auto;
|
|
98
|
+
gap: var(--ml-link-list-row-gap);
|
|
99
|
+
align-items: center;
|
|
100
|
+
min-width: 0;
|
|
101
|
+
padding-block: var(--ml-link-list-row-padding-y);
|
|
102
|
+
padding-inline: var(--ml-space-3);
|
|
103
|
+
border-block-end: var(--border-thin) solid var(--border);
|
|
104
|
+
color: inherit;
|
|
105
|
+
text-decoration: none;
|
|
106
|
+
transition:
|
|
107
|
+
background-color var(--duration-micro) var(--ease-out),
|
|
108
|
+
border-color var(--duration-micro) var(--ease-out),
|
|
109
|
+
box-shadow var(--duration-micro) var(--ease-out),
|
|
110
|
+
color var(--duration-micro) var(--ease-out);
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
a.ml-link-list__item {
|
|
114
|
+
cursor: pointer;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
a.ml-link-list__item:hover {
|
|
118
|
+
background: var(--surface-2);
|
|
119
|
+
border-color: var(--border-strong);
|
|
120
|
+
box-shadow: inset 0 0 0 var(--border-thin) var(--border);
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
.ml-link-list__item:focus-visible {
|
|
124
|
+
outline: none;
|
|
125
|
+
box-shadow: var(--focus-ring);
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
.ml-link-list__label,
|
|
129
|
+
.ml-link-list__date,
|
|
130
|
+
.ml-link-list__mobile-meta,
|
|
131
|
+
.ml-link-list__trailing {
|
|
132
|
+
color: var(--text-muted);
|
|
133
|
+
font-family: var(--font-mono);
|
|
134
|
+
font-size: var(--ml-link-list-meta-text);
|
|
135
|
+
line-height: 1;
|
|
136
|
+
letter-spacing: var(--tracking-meta);
|
|
137
|
+
text-transform: uppercase;
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
.ml-link-list__content {
|
|
141
|
+
display: grid;
|
|
142
|
+
min-width: 0;
|
|
143
|
+
gap: var(--ml-space-1);
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
.ml-link-list__title {
|
|
147
|
+
overflow: hidden;
|
|
148
|
+
color: var(--primary);
|
|
149
|
+
font-size: var(--ml-link-list-title-text);
|
|
150
|
+
font-weight: 500;
|
|
151
|
+
line-height: var(--leading-snug);
|
|
152
|
+
letter-spacing: -0.01em;
|
|
153
|
+
text-overflow: ellipsis;
|
|
154
|
+
transition: color var(--duration-micro) var(--ease-out);
|
|
155
|
+
white-space: nowrap;
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
a.ml-link-list__item:hover .ml-link-list__title {
|
|
159
|
+
color: var(--accent);
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
.ml-link-list__mobile-meta {
|
|
163
|
+
display: none;
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
.ml-link-list__tag {
|
|
167
|
+
display: inline-flex;
|
|
168
|
+
align-items: center;
|
|
169
|
+
justify-content: center;
|
|
170
|
+
min-inline-size: 0;
|
|
171
|
+
padding-block: var(--ml-space-0-5);
|
|
172
|
+
padding-inline: var(--ml-space-2);
|
|
173
|
+
border: var(--border-thin) solid var(--border-strong);
|
|
174
|
+
border-radius: var(--radius-pill);
|
|
175
|
+
color: var(--text-secondary);
|
|
176
|
+
font-size: var(--ml-link-list-tag-text);
|
|
177
|
+
font-weight: 600;
|
|
178
|
+
line-height: 1;
|
|
179
|
+
white-space: nowrap;
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
.ml-link-list__trailing {
|
|
183
|
+
white-space: nowrap;
|
|
184
|
+
transition:
|
|
185
|
+
color var(--duration-micro) var(--ease-out),
|
|
186
|
+
transform var(--duration-micro) var(--ease-out);
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
a.ml-link-list__item:hover .ml-link-list__trailing {
|
|
190
|
+
color: var(--accent);
|
|
191
|
+
transform: translate3d(var(--ml-space-0-5), 0, 0);
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
@container (max-width: 47.999rem) {
|
|
195
|
+
.ml-link-list__item {
|
|
196
|
+
grid-template-columns: var(--ml-link-list-label-width) minmax(0, 1fr) auto;
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
.ml-link-list__date,
|
|
200
|
+
.ml-link-list__tag {
|
|
201
|
+
display: none;
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
.ml-link-list__mobile-meta {
|
|
205
|
+
display: block;
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import * as React$1 from 'react';
|
|
2
|
+
|
|
3
|
+
type MediaFrameRatio = "square" | "portrait" | "landscape" | "wide" | "cinematic" | "auto";
|
|
4
|
+
type MediaFrameSize = "sm" | "md" | "lg";
|
|
5
|
+
interface MediaFrameProps extends React$1.ComponentProps<"div"> {
|
|
6
|
+
ratio?: MediaFrameRatio;
|
|
7
|
+
size?: MediaFrameSize;
|
|
8
|
+
placeholder?: boolean;
|
|
9
|
+
asChild?: boolean;
|
|
10
|
+
}
|
|
11
|
+
type MediaFrameCaptionProps = React$1.ComponentProps<"div">;
|
|
12
|
+
type MediaFrameMetaProps = React$1.ComponentProps<"div">;
|
|
13
|
+
|
|
14
|
+
declare function MediaFrameCaption({ className, ref, ...props }: MediaFrameCaptionProps): React.ReactElement;
|
|
15
|
+
|
|
16
|
+
declare function MediaFrameMeta({ className, ref, ...props }: MediaFrameMetaProps): React.ReactElement;
|
|
17
|
+
|
|
18
|
+
declare function MediaFrameRoot({ asChild, className, placeholder, ratio, size, ref, ...props }: MediaFrameProps): React.ReactElement;
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* @module MediaFrame
|
|
22
|
+
* Description for MediaFrame component.
|
|
23
|
+
*/
|
|
24
|
+
|
|
25
|
+
declare const MediaFrame: typeof MediaFrameRoot & {
|
|
26
|
+
displayName: string;
|
|
27
|
+
Caption: typeof MediaFrameCaption;
|
|
28
|
+
Meta: typeof MediaFrameMeta;
|
|
29
|
+
};
|
|
30
|
+
|
|
31
|
+
export { MediaFrame, MediaFrameCaption, type MediaFrameCaptionProps, MediaFrameMeta, type MediaFrameMetaProps, type MediaFrameProps, type MediaFrameRatio, MediaFrameRoot, type MediaFrameSize };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.js"}
|