@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,86 @@
|
|
|
1
|
+
@layer theme, base, components, utilities;
|
|
2
|
+
|
|
3
|
+
@layer components {
|
|
4
|
+
.ml-media-frame {
|
|
5
|
+
--ml-media-frame-caption-x: var(--ml-space-4);
|
|
6
|
+
--ml-media-frame-caption-bottom: var(--ml-space-4);
|
|
7
|
+
--ml-media-frame-caption-text: var(--text-2xs);
|
|
8
|
+
|
|
9
|
+
background: var(--surface);
|
|
10
|
+
box-shadow: var(--shadow-xs);
|
|
11
|
+
isolation: isolate;
|
|
12
|
+
transform: translate3d(0, 0, 0);
|
|
13
|
+
transition: none;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.ml-media-frame[data-size="sm"] {
|
|
17
|
+
--ml-media-frame-caption-x: var(--ml-space-3);
|
|
18
|
+
--ml-media-frame-caption-bottom: var(--ml-space-3);
|
|
19
|
+
--ml-media-frame-caption-text: var(--text-3xs);
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.ml-media-frame[data-size="lg"] {
|
|
23
|
+
--ml-media-frame-caption-x: var(--ml-space-5);
|
|
24
|
+
--ml-media-frame-caption-bottom: var(--ml-space-5);
|
|
25
|
+
--ml-media-frame-caption-text: var(--text-xs);
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.ml-media-frame > img,
|
|
29
|
+
.ml-media-frame > picture,
|
|
30
|
+
.ml-media-frame > video,
|
|
31
|
+
.ml-media-frame > canvas,
|
|
32
|
+
.ml-media-frame > svg {
|
|
33
|
+
display: block;
|
|
34
|
+
inline-size: 100%;
|
|
35
|
+
block-size: 100%;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.ml-media-frame > img,
|
|
39
|
+
.ml-media-frame > picture > img,
|
|
40
|
+
.ml-media-frame > video {
|
|
41
|
+
object-fit: cover;
|
|
42
|
+
object-position: center;
|
|
43
|
+
transition: none;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.ml-media-frame::after {
|
|
47
|
+
content: "";
|
|
48
|
+
position: absolute;
|
|
49
|
+
inset-inline: 0;
|
|
50
|
+
inset-block-end: 0;
|
|
51
|
+
block-size: 32%;
|
|
52
|
+
background: linear-gradient(
|
|
53
|
+
180deg,
|
|
54
|
+
transparent 0%,
|
|
55
|
+
color-mix(in oklch, var(--surface) 34%, transparent) 48%,
|
|
56
|
+
color-mix(in oklch, var(--surface) 86%, transparent) 100%
|
|
57
|
+
);
|
|
58
|
+
opacity: 0;
|
|
59
|
+
pointer-events: none;
|
|
60
|
+
transition: opacity var(--duration-medium) var(--ease-out);
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.ml-media-frame:has(.ml-media-frame__caption)::after,
|
|
64
|
+
.ml-media-frame:has(.ml-media-frame__meta)::after {
|
|
65
|
+
opacity: 1;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.ml-media-frame__caption,
|
|
69
|
+
.ml-media-frame__meta {
|
|
70
|
+
position: absolute;
|
|
71
|
+
inset-inline: 0;
|
|
72
|
+
inset-block-end: 0;
|
|
73
|
+
z-index: var(--z-elevated);
|
|
74
|
+
display: flex;
|
|
75
|
+
align-items: flex-end;
|
|
76
|
+
padding-inline: var(--ml-media-frame-caption-x);
|
|
77
|
+
padding-block-end: var(--ml-media-frame-caption-bottom);
|
|
78
|
+
color: var(--text-body);
|
|
79
|
+
font-family: var(--font-mono);
|
|
80
|
+
font-size: var(--ml-media-frame-caption-text);
|
|
81
|
+
letter-spacing: var(--tracking-eyebrow);
|
|
82
|
+
line-height: 1;
|
|
83
|
+
text-transform: uppercase;
|
|
84
|
+
opacity: 0.84;
|
|
85
|
+
}
|
|
86
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import * as React$1 from 'react';
|
|
2
|
+
|
|
3
|
+
interface MetaRowProps extends React$1.ComponentProps<"div"> {
|
|
4
|
+
strong?: boolean;
|
|
5
|
+
}
|
|
6
|
+
type MetaRowSepProps = React$1.ComponentProps<"span">;
|
|
7
|
+
|
|
8
|
+
declare function MetaRowRoot({ className, strong, ref, ...props }: MetaRowProps): React.ReactElement;
|
|
9
|
+
|
|
10
|
+
declare function MetaRowSep({ className, ref, ...props }: MetaRowSepProps): React.ReactElement;
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* @module MetaRow
|
|
14
|
+
* Description for MetaRow component.
|
|
15
|
+
*/
|
|
16
|
+
|
|
17
|
+
declare const MetaRow: typeof MetaRowRoot & {
|
|
18
|
+
displayName: string;
|
|
19
|
+
Sep: typeof MetaRowSep;
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
export { MetaRow, type MetaRowProps, type MetaRowSepProps };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.js"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import * as React$1 from 'react';
|
|
2
|
+
|
|
3
|
+
type MetricTrend = "up" | "down" | "flat";
|
|
4
|
+
type MetricSize = "sm" | "md" | "lg";
|
|
5
|
+
interface MetricProps extends React$1.ComponentProps<"div"> {
|
|
6
|
+
value: React$1.ReactNode;
|
|
7
|
+
label: React$1.ReactNode;
|
|
8
|
+
description?: React$1.ReactNode;
|
|
9
|
+
trend?: MetricTrend;
|
|
10
|
+
size?: MetricSize;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
declare function MetricRoot({ className, value, label, description, trend, size, ref, ...props }: MetricProps): React.ReactElement;
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* @module metric
|
|
17
|
+
* Description for metric component.
|
|
18
|
+
*/
|
|
19
|
+
|
|
20
|
+
declare const Metric: typeof MetricRoot;
|
|
21
|
+
|
|
22
|
+
export { Metric, type MetricProps, type MetricSize, type MetricTrend };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.js"}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import * as React$1 from 'react';
|
|
2
|
+
|
|
3
|
+
type NavbarSize = "sm" | "md" | "lg";
|
|
4
|
+
type NavbarLayout = "contained" | "extended";
|
|
5
|
+
type NavbarBrandTextStyle = "monoline" | "cursive";
|
|
6
|
+
type NavbarLinkComponentProps = React$1.ComponentProps<"a"> & {
|
|
7
|
+
href: string;
|
|
8
|
+
};
|
|
9
|
+
interface NavbarLinkItem {
|
|
10
|
+
href: string;
|
|
11
|
+
label: React$1.ReactNode;
|
|
12
|
+
active?: boolean;
|
|
13
|
+
external?: boolean;
|
|
14
|
+
rel?: string;
|
|
15
|
+
target?: React$1.HTMLAttributeAnchorTarget;
|
|
16
|
+
as?: React$1.ComponentType<NavbarLinkComponentProps>;
|
|
17
|
+
}
|
|
18
|
+
interface NavbarBaseProps extends Omit<React$1.ComponentProps<"header">, "children"> {
|
|
19
|
+
size?: NavbarSize;
|
|
20
|
+
layout?: NavbarLayout;
|
|
21
|
+
brandTextStyle?: NavbarBrandTextStyle;
|
|
22
|
+
navLabel?: string;
|
|
23
|
+
linkComponent?: React$1.ComponentType<NavbarLinkComponentProps>;
|
|
24
|
+
sticky?: boolean;
|
|
25
|
+
glass?: boolean;
|
|
26
|
+
progress?: React$1.ReactNode;
|
|
27
|
+
}
|
|
28
|
+
type NavbarProps = (NavbarBaseProps & {
|
|
29
|
+
brand: React$1.ReactNode;
|
|
30
|
+
links?: NavbarLinkItem[];
|
|
31
|
+
actions?: React$1.ReactNode;
|
|
32
|
+
children?: undefined;
|
|
33
|
+
}) | (NavbarBaseProps & {
|
|
34
|
+
brand?: React$1.ReactNode;
|
|
35
|
+
links?: NavbarLinkItem[];
|
|
36
|
+
actions?: React$1.ReactNode;
|
|
37
|
+
children: React$1.ReactNode;
|
|
38
|
+
});
|
|
39
|
+
interface NavbarBrandProps extends React$1.ComponentProps<"a"> {
|
|
40
|
+
asChild?: boolean;
|
|
41
|
+
mark?: React$1.ReactNode;
|
|
42
|
+
textStyle?: NavbarBrandTextStyle;
|
|
43
|
+
children: React$1.ReactNode;
|
|
44
|
+
}
|
|
45
|
+
interface NavbarLinkProps extends React$1.ComponentProps<"a"> {
|
|
46
|
+
asChild?: boolean;
|
|
47
|
+
active?: boolean;
|
|
48
|
+
external?: boolean;
|
|
49
|
+
}
|
|
50
|
+
interface NavbarNavProps extends React$1.ComponentProps<"nav"> {
|
|
51
|
+
label?: string;
|
|
52
|
+
}
|
|
53
|
+
type NavbarActionsProps = React$1.ComponentProps<"div">;
|
|
54
|
+
|
|
55
|
+
declare function NavbarActions({ className, ref, ...props }: NavbarActionsProps): React.ReactElement;
|
|
56
|
+
|
|
57
|
+
declare function NavbarBrand({ asChild, className, children, mark, ref, textStyle, ...props }: NavbarBrandProps): React.ReactElement;
|
|
58
|
+
|
|
59
|
+
declare function NavbarLink({ asChild, active, external, className, children, ref, ...props }: NavbarLinkProps): React.ReactElement;
|
|
60
|
+
|
|
61
|
+
declare function NavbarNav({ label, className, ref, ...props }: NavbarNavProps): React.ReactElement;
|
|
62
|
+
|
|
63
|
+
declare function NavbarRoot({ size, layout, brand, links, actions, children, brandTextStyle, navLabel, linkComponent, sticky, glass, progress, className, ref, ...props }: NavbarProps): React.ReactElement;
|
|
64
|
+
|
|
65
|
+
/**
|
|
66
|
+
* @module Navbar
|
|
67
|
+
* Description for Navbar component.
|
|
68
|
+
*/
|
|
69
|
+
|
|
70
|
+
declare const Navbar: typeof NavbarRoot & {
|
|
71
|
+
displayName: string;
|
|
72
|
+
Actions: typeof NavbarActions;
|
|
73
|
+
Brand: typeof NavbarBrand;
|
|
74
|
+
Link: typeof NavbarLink;
|
|
75
|
+
Nav: typeof NavbarNav;
|
|
76
|
+
};
|
|
77
|
+
|
|
78
|
+
export { Navbar, type NavbarActionsProps, type NavbarBrandProps, type NavbarBrandTextStyle, type NavbarLayout, type NavbarLinkItem, type NavbarLinkProps, type NavbarNavProps, type NavbarProps, type NavbarSize };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.js"}
|
|
@@ -0,0 +1,245 @@
|
|
|
1
|
+
@layer theme, base, components, utilities;
|
|
2
|
+
|
|
3
|
+
@layer components {
|
|
4
|
+
.ml-navbar {
|
|
5
|
+
--ml-navbar-height: var(--ml-space-14);
|
|
6
|
+
--ml-navbar-container-max: 80rem;
|
|
7
|
+
--ml-navbar-x: var(--ml-footer-x-md);
|
|
8
|
+
--ml-navbar-x-tablet: var(--ml-footer-x-md-tablet);
|
|
9
|
+
--ml-navbar-x-desktop: var(--ml-footer-x-md-desktop);
|
|
10
|
+
--ml-navbar-gap: var(--ml-space-4);
|
|
11
|
+
--ml-navbar-brand-gap: var(--ml-space-1-5);
|
|
12
|
+
--ml-navbar-brand-mark-size: var(--ml-space-5);
|
|
13
|
+
--ml-navbar-brand-text: var(--text-base);
|
|
14
|
+
--ml-navbar-link-gap: var(--ml-space-8);
|
|
15
|
+
--ml-navbar-link-text: var(--text-sm);
|
|
16
|
+
--ml-navbar-action-gap: var(--ml-space-3);
|
|
17
|
+
|
|
18
|
+
width: 100%;
|
|
19
|
+
border-block-end: var(--border-thin) solid var(--border);
|
|
20
|
+
background: var(--background);
|
|
21
|
+
color: var(--text-body);
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.ml-navbar--sticky {
|
|
25
|
+
position: sticky;
|
|
26
|
+
top: 0;
|
|
27
|
+
z-index: var(--z-sticky);
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.ml-navbar--glass {
|
|
31
|
+
background: color-mix(in oklch, var(--background) 92%, transparent);
|
|
32
|
+
-webkit-backdrop-filter: blur(var(--blur-md));
|
|
33
|
+
backdrop-filter: blur(var(--blur-md));
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.ml-navbar[data-size="sm"] {
|
|
37
|
+
--ml-navbar-container-max: 64rem;
|
|
38
|
+
--ml-navbar-height: var(--ml-space-12);
|
|
39
|
+
--ml-navbar-x: var(--ml-footer-x-sm);
|
|
40
|
+
--ml-navbar-x-tablet: var(--ml-footer-x-sm-tablet);
|
|
41
|
+
--ml-navbar-x-desktop: var(--ml-footer-x-sm-desktop);
|
|
42
|
+
--ml-navbar-brand-mark-size: var(--ml-space-4);
|
|
43
|
+
--ml-navbar-brand-text: var(--text-sm);
|
|
44
|
+
--ml-navbar-link-gap: var(--ml-space-6);
|
|
45
|
+
--ml-navbar-link-text: var(--text-xs);
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.ml-navbar[data-size="lg"] {
|
|
49
|
+
--ml-navbar-container-max: 90rem;
|
|
50
|
+
--ml-navbar-height: var(--ml-space-16);
|
|
51
|
+
--ml-navbar-x: var(--ml-footer-x-lg);
|
|
52
|
+
--ml-navbar-x-tablet: var(--ml-footer-x-lg-tablet);
|
|
53
|
+
--ml-navbar-x-desktop: var(--ml-footer-x-lg-desktop);
|
|
54
|
+
--ml-navbar-brand-mark-size: var(--ml-space-6);
|
|
55
|
+
--ml-navbar-brand-text: var(--text-lg);
|
|
56
|
+
--ml-navbar-link-gap: var(--ml-space-10);
|
|
57
|
+
--ml-navbar-link-text: var(--text-base);
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.ml-navbar__container {
|
|
61
|
+
display: grid;
|
|
62
|
+
min-height: var(--ml-navbar-height);
|
|
63
|
+
width: 100%;
|
|
64
|
+
max-width: var(--ml-navbar-container-max);
|
|
65
|
+
align-items: center;
|
|
66
|
+
grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
|
|
67
|
+
gap: var(--ml-navbar-gap);
|
|
68
|
+
margin-inline: auto;
|
|
69
|
+
padding-inline: var(--ml-navbar-x);
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.ml-navbar[data-layout="extended"] .ml-navbar__container {
|
|
73
|
+
max-width: none;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
@media (min-width: 40rem) {
|
|
77
|
+
.ml-navbar__container {
|
|
78
|
+
padding-inline: var(--ml-navbar-x-tablet);
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
@media (min-width: 64rem) {
|
|
83
|
+
.ml-navbar__container {
|
|
84
|
+
padding-inline: var(--ml-navbar-x-desktop);
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.ml-navbar__brand {
|
|
89
|
+
display: inline-flex;
|
|
90
|
+
min-width: 0;
|
|
91
|
+
flex: 0 0 auto;
|
|
92
|
+
grid-column: 1;
|
|
93
|
+
align-items: center;
|
|
94
|
+
gap: var(--ml-navbar-brand-gap);
|
|
95
|
+
color: var(--text);
|
|
96
|
+
text-decoration: none;
|
|
97
|
+
transition:
|
|
98
|
+
color var(--duration-micro) var(--ease-out),
|
|
99
|
+
box-shadow var(--duration-micro) var(--ease-out);
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
.ml-navbar__brand:hover {
|
|
103
|
+
color: var(--text-secondary);
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
.ml-navbar__brand:focus-visible {
|
|
107
|
+
outline: none;
|
|
108
|
+
box-shadow: var(--focus-ring);
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
.ml-navbar__brand-mark {
|
|
112
|
+
display: inline-grid;
|
|
113
|
+
inline-size: var(--ml-navbar-brand-mark-size);
|
|
114
|
+
block-size: var(--ml-navbar-brand-mark-size);
|
|
115
|
+
flex: 0 0 auto;
|
|
116
|
+
place-items: center;
|
|
117
|
+
overflow: hidden;
|
|
118
|
+
border-radius: var(--radius-pill);
|
|
119
|
+
color: var(--text-muted);
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
.ml-navbar__brand-mark > span:empty {
|
|
123
|
+
display: block;
|
|
124
|
+
inline-size: 100%;
|
|
125
|
+
block-size: 100%;
|
|
126
|
+
border-radius: inherit;
|
|
127
|
+
background: currentcolor;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
.ml-navbar__brand-label {
|
|
131
|
+
min-width: 0;
|
|
132
|
+
overflow: hidden;
|
|
133
|
+
font-family: var(--font-script);
|
|
134
|
+
font-size: var(--ml-navbar-brand-text);
|
|
135
|
+
font-weight: 800;
|
|
136
|
+
letter-spacing: 0;
|
|
137
|
+
line-height: 1;
|
|
138
|
+
text-overflow: ellipsis;
|
|
139
|
+
white-space: nowrap;
|
|
140
|
+
transition: color var(--duration-micro) var(--ease-out);
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
.ml-navbar__brand[data-text-style="monoline"] .ml-navbar__brand-label {
|
|
144
|
+
font-family: var(--font-mono);
|
|
145
|
+
font-weight: 800;
|
|
146
|
+
letter-spacing: var(--tracking-display);
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
.ml-navbar__brand[data-text-style="cursive"] .ml-navbar__brand-label {
|
|
150
|
+
font-family: var(--font-script);
|
|
151
|
+
font-weight: 800;
|
|
152
|
+
letter-spacing: 0;
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
.ml-navbar__brand:hover .ml-navbar__brand-label {
|
|
156
|
+
color: var(--text-secondary);
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
.ml-navbar__nav {
|
|
160
|
+
display: inline-flex;
|
|
161
|
+
min-width: 0;
|
|
162
|
+
grid-column: 2;
|
|
163
|
+
block-size: var(--ml-navbar-height);
|
|
164
|
+
align-items: center;
|
|
165
|
+
justify-content: center;
|
|
166
|
+
gap: var(--ml-navbar-link-gap);
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
.ml-navbar__link {
|
|
170
|
+
position: relative;
|
|
171
|
+
display: inline-flex;
|
|
172
|
+
block-size: 100%;
|
|
173
|
+
align-items: center;
|
|
174
|
+
gap: var(--ml-space-1);
|
|
175
|
+
color: var(--text-secondary);
|
|
176
|
+
font-size: var(--ml-navbar-link-text);
|
|
177
|
+
font-weight: 650;
|
|
178
|
+
line-height: 1;
|
|
179
|
+
text-decoration: none;
|
|
180
|
+
transition:
|
|
181
|
+
color var(--duration-micro) var(--ease-out),
|
|
182
|
+
background-color var(--duration-micro) var(--ease-out),
|
|
183
|
+
box-shadow var(--duration-micro) var(--ease-out);
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
.ml-navbar__link::after {
|
|
187
|
+
position: absolute;
|
|
188
|
+
right: 0;
|
|
189
|
+
bottom: var(--ml-space-2);
|
|
190
|
+
left: 0;
|
|
191
|
+
height: var(--border-medium);
|
|
192
|
+
background: var(--accent);
|
|
193
|
+
content: "";
|
|
194
|
+
transform: scaleX(0);
|
|
195
|
+
transform-origin: left;
|
|
196
|
+
opacity: 0;
|
|
197
|
+
transition:
|
|
198
|
+
transform var(--duration-micro) var(--ease-out),
|
|
199
|
+
opacity var(--duration-micro) var(--ease-out);
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
.ml-navbar__link[data-active="true"]::after {
|
|
203
|
+
transform: scaleX(1);
|
|
204
|
+
opacity: 1;
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
.ml-navbar__link[data-active="true"]:hover::after {
|
|
208
|
+
transform: scaleX(1);
|
|
209
|
+
opacity: 1;
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
.ml-navbar__link:hover,
|
|
213
|
+
.ml-navbar__link[data-active="true"] {
|
|
214
|
+
color: var(--primary);
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
.ml-navbar__link:active {
|
|
218
|
+
color: color-mix(in oklch, var(--primary) 82%, var(--text-muted));
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
.ml-navbar__link:focus-visible {
|
|
222
|
+
outline: none;
|
|
223
|
+
box-shadow: var(--focus-ring);
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
.ml-navbar__link-arrow {
|
|
227
|
+
color: var(--text-muted);
|
|
228
|
+
transition:
|
|
229
|
+
color var(--duration-micro) var(--ease-out),
|
|
230
|
+
opacity var(--duration-micro) var(--ease-out);
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
.ml-navbar__link:hover .ml-navbar__link-arrow {
|
|
234
|
+
color: var(--primary);
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
.ml-navbar__actions {
|
|
238
|
+
display: inline-flex;
|
|
239
|
+
flex: 0 0 auto;
|
|
240
|
+
grid-column: 3;
|
|
241
|
+
align-items: center;
|
|
242
|
+
justify-content: flex-end;
|
|
243
|
+
gap: var(--ml-navbar-action-gap);
|
|
244
|
+
}
|
|
245
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import * as React$1 from 'react';
|
|
2
|
+
|
|
3
|
+
type ProgressSize = "sm" | "md" | "lg";
|
|
4
|
+
interface ProgressProps extends Omit<React$1.ComponentProps<"div">, "children"> {
|
|
5
|
+
value?: number | null;
|
|
6
|
+
max?: number;
|
|
7
|
+
size?: ProgressSize;
|
|
8
|
+
followScroll?: boolean;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
declare function ProgressRoot({ className, value, max, size, followScroll, ref, ...props }: ProgressProps): React.ReactElement;
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* @module progress
|
|
15
|
+
* Description for progress component.
|
|
16
|
+
*/
|
|
17
|
+
|
|
18
|
+
declare const Progress: typeof ProgressRoot;
|
|
19
|
+
|
|
20
|
+
export { Progress, type ProgressProps, type ProgressSize };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.js"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
@layer theme, base, components, utilities;
|
|
2
|
+
|
|
3
|
+
@layer components {
|
|
4
|
+
.ml-progress {
|
|
5
|
+
position: relative;
|
|
6
|
+
inline-size: 100%;
|
|
7
|
+
overflow: hidden;
|
|
8
|
+
background: color-mix(in oklch, var(--border) 78%, transparent);
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.ml-progress[data-size="sm"],
|
|
12
|
+
.ml-progress[data-size="md"],
|
|
13
|
+
.ml-progress[data-size="lg"] {
|
|
14
|
+
border-radius: var(--radius-pill);
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.ml-progress__indicator {
|
|
18
|
+
display: block;
|
|
19
|
+
block-size: 100%;
|
|
20
|
+
inline-size: 100%;
|
|
21
|
+
border-radius: inherit;
|
|
22
|
+
background: var(--accent);
|
|
23
|
+
transform: scaleX(0.33);
|
|
24
|
+
transform-origin: left center;
|
|
25
|
+
transition: transform var(--duration-short) var(--ease-out-expo);
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.ml-progress[data-follow-scroll] .ml-progress__indicator {
|
|
29
|
+
transition: none;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import * as React$1 from 'react';
|
|
2
|
+
|
|
3
|
+
interface PullQuoteProps extends React$1.ComponentProps<"figure"> {
|
|
4
|
+
attribution?: React$1.ReactNode;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
declare function PullQuoteRoot({ className, attribution, children, ref, ...props }: PullQuoteProps): React.ReactElement;
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* @module PullQuote
|
|
11
|
+
* Description for PullQuote component.
|
|
12
|
+
*/
|
|
13
|
+
|
|
14
|
+
declare const PullQuote: typeof PullQuoteRoot & {
|
|
15
|
+
displayName: string;
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
export { PullQuote, type PullQuoteProps };
|
|
@@ -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
|
+
interface RailProps extends Omit<React$1.ComponentProps<"div">, "title"> {
|
|
4
|
+
title?: React$1.ReactNode;
|
|
5
|
+
}
|
|
6
|
+
interface RailItemProps extends React$1.ComponentProps<"li"> {
|
|
7
|
+
active?: boolean;
|
|
8
|
+
}
|
|
9
|
+
type RailCountProps = React$1.ComponentProps<"span">;
|
|
10
|
+
|
|
11
|
+
declare function RailCount({ className, ref, ...props }: RailCountProps): React.ReactElement;
|
|
12
|
+
|
|
13
|
+
declare function RailItem({ className, active, children, ref, ...props }: RailItemProps): React.ReactElement;
|
|
14
|
+
|
|
15
|
+
declare function RailRoot({ className, title, children, ref, ...props }: RailProps): React.ReactElement;
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* @module Rail
|
|
19
|
+
* Description for Rail component.
|
|
20
|
+
*/
|
|
21
|
+
|
|
22
|
+
declare const Rail: typeof RailRoot & {
|
|
23
|
+
displayName: string;
|
|
24
|
+
Item: typeof RailItem;
|
|
25
|
+
Count: typeof RailCount;
|
|
26
|
+
};
|
|
27
|
+
|
|
28
|
+
export { Rail, type RailCountProps, type RailItemProps, type RailProps };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.js"}
|