@realminc/ui 0.11.1 → 0.12.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/README.md +2 -0
- package/dist/components/display/line_table.d.ts +1 -0
- package/dist/components/nav/footer.d.ts +15 -19
- package/dist/index.js +75 -41
- package/dist/styles/layout.css +44 -0
- package/package.json +3 -2
- package/public/logo/oa-wordmark-dark.svg +0 -6
- package/public/logo/oa-wordmark-light.svg +0 -6
package/README.md
CHANGED
|
@@ -117,6 +117,8 @@ export default {
|
|
|
117
117
|
};
|
|
118
118
|
```
|
|
119
119
|
|
|
120
|
+
Import `@realminc/ui/styles/layout.css` before your app stylesheet to use the shared section padding and navigation typography. Feature grids omit decorative item numbers by default. Pass `show_numbers` to `OaLineTable` when the order matters.
|
|
121
|
+
|
|
120
122
|
### Theme Colors
|
|
121
123
|
|
|
122
124
|
Access theme colors directly:
|
|
@@ -14,6 +14,7 @@ export interface OaLineTableGridProps extends OaLineTableBaseProps {
|
|
|
14
14
|
items: readonly OaLineTableItem[];
|
|
15
15
|
columns?: 1 | 2;
|
|
16
16
|
animated?: boolean;
|
|
17
|
+
show_numbers?: boolean;
|
|
17
18
|
}
|
|
18
19
|
export interface OaLineTableContractProps extends OaLineTableBaseProps {
|
|
19
20
|
layout: 'contract';
|
|
@@ -1,32 +1,28 @@
|
|
|
1
|
+
import type { ComponentType, ReactNode } from 'react';
|
|
1
2
|
export interface OaFooterLink {
|
|
2
3
|
label: string;
|
|
3
4
|
href: string;
|
|
5
|
+
external?: boolean;
|
|
4
6
|
}
|
|
5
7
|
export interface OaFooterSection {
|
|
6
8
|
title: string;
|
|
7
|
-
links: OaFooterLink[];
|
|
9
|
+
links: readonly OaFooterLink[];
|
|
8
10
|
}
|
|
11
|
+
type FooterLinkProps = {
|
|
12
|
+
href: string;
|
|
13
|
+
className?: string;
|
|
14
|
+
children: ReactNode;
|
|
15
|
+
};
|
|
9
16
|
export interface OaFooterProps {
|
|
10
|
-
|
|
11
|
-
sections?: OaFooterSection[];
|
|
12
|
-
/** Logo variant */
|
|
17
|
+
sections?: readonly OaFooterSection[];
|
|
13
18
|
variant?: 'dark' | 'light';
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
href: string;
|
|
17
|
-
className?: string;
|
|
18
|
-
children: React.ReactNode;
|
|
19
|
-
}>;
|
|
20
|
-
/** Copyright text */
|
|
19
|
+
link_component?: ComponentType<FooterLinkProps>;
|
|
20
|
+
render_link?: (link: OaFooterLink, className: string) => ReactNode;
|
|
21
21
|
copyright?: string;
|
|
22
|
-
/** Tagline */
|
|
23
22
|
tagline?: string;
|
|
24
|
-
|
|
23
|
+
actions?: ReactNode;
|
|
25
24
|
className?: string;
|
|
25
|
+
container_class_name?: string;
|
|
26
26
|
}
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
*
|
|
30
|
-
* Shared footer for all Realm apps.
|
|
31
|
-
*/
|
|
32
|
-
export declare function OaFooter({ sections, variant, link_component: LinkComponent, copyright, tagline, className, }: OaFooterProps): import("react/jsx-runtime").JSX.Element;
|
|
27
|
+
export declare function OaFooter({ sections, variant, link_component: LinkComponent, render_link, copyright, tagline, actions, className, container_class_name, }: OaFooterProps): import("react/jsx-runtime").JSX.Element;
|
|
28
|
+
export {};
|
package/dist/index.js
CHANGED
|
@@ -7738,11 +7738,11 @@ function OaNavbar({
|
|
|
7738
7738
|
transition: { duration: 0.3 },
|
|
7739
7739
|
children: /* @__PURE__ */ jsx7(OaLogo, {
|
|
7740
7740
|
variant,
|
|
7741
|
-
size: "
|
|
7741
|
+
size: "sm"
|
|
7742
7742
|
})
|
|
7743
7743
|
}),
|
|
7744
7744
|
logo_label && /* @__PURE__ */ jsx7("span", {
|
|
7745
|
-
className: clsx("
|
|
7745
|
+
className: clsx("border-l pl-3 text-sm font-normal", is_dark ? "text-realm-text-tertiary border-realm-border" : "text-light-text-tertiary border-light-border"),
|
|
7746
7746
|
children: logo_label
|
|
7747
7747
|
})
|
|
7748
7748
|
]
|
|
@@ -7766,7 +7766,7 @@ function OaNavbar({
|
|
|
7766
7766
|
transition: { duration: 0.3, delay: animate ? i * 0.03 : 0 },
|
|
7767
7767
|
children: /* @__PURE__ */ jsx7(LinkComponent, {
|
|
7768
7768
|
href: link.href,
|
|
7769
|
-
className: clsx("text-
|
|
7769
|
+
className: clsx("text-sm font-normal transition-colors duration-200", is_active ? is_dark ? "text-realm-text-primary" : "text-light-text-primary" : is_dark ? "text-[#a3a3a3] hover:text-white" : "text-light-text-tertiary hover:text-light-text-primary"),
|
|
7770
7770
|
children: link.label
|
|
7771
7771
|
})
|
|
7772
7772
|
}, link.href);
|
|
@@ -7796,31 +7796,54 @@ function OaFooter({
|
|
|
7796
7796
|
sections = [],
|
|
7797
7797
|
variant = "dark",
|
|
7798
7798
|
link_component: LinkComponent = OaDefaultLink2,
|
|
7799
|
-
|
|
7800
|
-
|
|
7801
|
-
|
|
7799
|
+
render_link,
|
|
7800
|
+
copyright = `Copyright © ${new Date().getFullYear()} Realm. All rights reserved.`,
|
|
7801
|
+
tagline = "Research and engineering for gpu computing and systems software.",
|
|
7802
|
+
actions,
|
|
7803
|
+
className,
|
|
7804
|
+
container_class_name = "mx-auto max-w-7xl px-4 lg:px-8"
|
|
7802
7805
|
}) {
|
|
7803
7806
|
const is_dark = variant === "dark";
|
|
7807
|
+
const link_class = clsx("transition-colors", is_dark ? "hover:text-white" : "hover:text-[#0a0a0a]");
|
|
7808
|
+
const icon_class = "size-4 shrink-0";
|
|
7804
7809
|
return /* @__PURE__ */ jsx8("footer", {
|
|
7805
|
-
className: clsx("relative
|
|
7810
|
+
className: clsx("relative", is_dark ? "bg-[#0a0a0a] text-white" : "bg-white text-[#0a0a0a]", className),
|
|
7806
7811
|
children: /* @__PURE__ */ jsxs3("div", {
|
|
7807
|
-
className: "
|
|
7812
|
+
className: clsx("py-20 lg:py-24", container_class_name),
|
|
7808
7813
|
children: [
|
|
7809
7814
|
sections.length > 0 && /* @__PURE__ */ jsx8("div", {
|
|
7810
|
-
className: "grid grid-cols-2
|
|
7815
|
+
className: clsx("mb-16 grid grid-cols-1 gap-x-8 gap-y-10 text-sm sm:grid-cols-2 lg:mb-20 lg:grid-cols-4", is_dark ? "text-[#a3a3a3]" : "text-[#525252]"),
|
|
7811
7816
|
children: sections.map((section) => /* @__PURE__ */ jsxs3("div", {
|
|
7812
7817
|
children: [
|
|
7813
7818
|
/* @__PURE__ */ jsx8("h4", {
|
|
7814
|
-
className:
|
|
7819
|
+
className: "mb-4 font-bold",
|
|
7815
7820
|
children: section.title
|
|
7816
7821
|
}),
|
|
7817
7822
|
/* @__PURE__ */ jsx8("ul", {
|
|
7818
|
-
className: "space-y-
|
|
7823
|
+
className: "space-y-3",
|
|
7819
7824
|
children: section.links.map((link) => /* @__PURE__ */ jsx8("li", {
|
|
7820
|
-
children: /* @__PURE__ */
|
|
7825
|
+
children: render_link ? render_link(link, link_class) : link.external ? /* @__PURE__ */ jsxs3("a", {
|
|
7821
7826
|
href: link.href,
|
|
7822
|
-
|
|
7823
|
-
|
|
7827
|
+
target: "_blank",
|
|
7828
|
+
rel: "noopener noreferrer",
|
|
7829
|
+
className: clsx("inline-flex items-center gap-1.5", link_class),
|
|
7830
|
+
children: [
|
|
7831
|
+
link.label,
|
|
7832
|
+
/* @__PURE__ */ jsx8(ExternalLink, {
|
|
7833
|
+
className: icon_class,
|
|
7834
|
+
"aria-hidden": "true"
|
|
7835
|
+
})
|
|
7836
|
+
]
|
|
7837
|
+
}) : /* @__PURE__ */ jsxs3(LinkComponent, {
|
|
7838
|
+
href: link.href,
|
|
7839
|
+
className: clsx("inline-flex items-center gap-1.5", link_class),
|
|
7840
|
+
children: [
|
|
7841
|
+
link.label,
|
|
7842
|
+
/* @__PURE__ */ jsx8(ArrowRight, {
|
|
7843
|
+
className: icon_class,
|
|
7844
|
+
"aria-hidden": "true"
|
|
7845
|
+
})
|
|
7846
|
+
]
|
|
7824
7847
|
})
|
|
7825
7848
|
}, link.href))
|
|
7826
7849
|
})
|
|
@@ -7828,25 +7851,35 @@ function OaFooter({
|
|
|
7828
7851
|
}, section.title))
|
|
7829
7852
|
}),
|
|
7830
7853
|
/* @__PURE__ */ jsxs3("div", {
|
|
7831
|
-
className:
|
|
7854
|
+
className: "flex flex-col items-start gap-8 pt-8 sm:flex-row sm:items-center sm:justify-between",
|
|
7832
7855
|
children: [
|
|
7833
7856
|
/* @__PURE__ */ jsxs3("div", {
|
|
7834
|
-
className: "flex items-center gap-
|
|
7857
|
+
className: "flex items-center gap-3",
|
|
7835
7858
|
children: [
|
|
7836
|
-
/* @__PURE__ */ jsx8(
|
|
7837
|
-
|
|
7838
|
-
size: "
|
|
7859
|
+
/* @__PURE__ */ jsx8(LinkComponent, {
|
|
7860
|
+
href: "/",
|
|
7861
|
+
className: clsx("flex size-10 shrink-0 items-center justify-center rounded-full border transition-colors", is_dark ? "border-white/10 hover:border-white/25" : "border-black/10 hover:border-black/25"),
|
|
7862
|
+
children: /* @__PURE__ */ jsx8("img", {
|
|
7863
|
+
src: "/logo/favicon.svg",
|
|
7864
|
+
alt: "Realm",
|
|
7865
|
+
width: 30,
|
|
7866
|
+
height: 30
|
|
7867
|
+
})
|
|
7839
7868
|
}),
|
|
7840
|
-
/* @__PURE__ */
|
|
7841
|
-
className:
|
|
7842
|
-
children:
|
|
7869
|
+
/* @__PURE__ */ jsxs3("div", {
|
|
7870
|
+
className: "flex flex-col gap-1 text-[13px] text-[#737373]",
|
|
7871
|
+
children: [
|
|
7872
|
+
/* @__PURE__ */ jsx8("p", {
|
|
7873
|
+
children: tagline
|
|
7874
|
+
}),
|
|
7875
|
+
/* @__PURE__ */ jsx8("p", {
|
|
7876
|
+
children: copyright
|
|
7877
|
+
})
|
|
7878
|
+
]
|
|
7843
7879
|
})
|
|
7844
7880
|
]
|
|
7845
7881
|
}),
|
|
7846
|
-
|
|
7847
|
-
className: clsx("text-[12px]", is_dark ? "text-realm-text-muted" : "text-light-text-muted"),
|
|
7848
|
-
children: copyright
|
|
7849
|
-
})
|
|
7882
|
+
actions
|
|
7850
7883
|
]
|
|
7851
7884
|
})
|
|
7852
7885
|
]
|
|
@@ -11179,7 +11212,7 @@ function OaCodeBlock({
|
|
|
11179
11212
|
return /* @__PURE__ */ jsxs7("div", {
|
|
11180
11213
|
"data-oa-codeblock": "",
|
|
11181
11214
|
"data-oa-codeblock-variant": variant,
|
|
11182
|
-
className: clsx("code-block relative group my-4 sm:my-6 overflow-hidden", "rounded-
|
|
11215
|
+
className: clsx("code-block relative group my-4 sm:my-6 overflow-hidden", "rounded-[16px]", variant === "dark" && "bg-[#0a0a0a]", variant === "dev-dark" && "border-2 border-white/15 bg-realm-bg-line", variant === "light" && "border border-black/[0.08] bg-[#f5f5f5]", variant === "dev-light" && "border-2 border-black/10 bg-light-bg-widget", fill_height && "flex h-full min-h-0 flex-col", className),
|
|
11183
11216
|
children: [
|
|
11184
11217
|
terminal && /* @__PURE__ */ jsxs7("div", {
|
|
11185
11218
|
"data-oa-codeblock-terminal": "",
|
|
@@ -11325,7 +11358,7 @@ function OaFeatureCard({
|
|
|
11325
11358
|
whileInView: { opacity: 1, y: 0 },
|
|
11326
11359
|
viewport: { once: true },
|
|
11327
11360
|
transition: { duration: 0.5, delay },
|
|
11328
|
-
className: clsx("rounded-
|
|
11361
|
+
className: clsx("rounded-[16px] p-8", "group transition-colors", is_dark ? "bg-realm-bg-widget hover:bg-realm-bg-hover" : "bg-[#fafafa] hover:bg-[#f5f5f5]", className),
|
|
11329
11362
|
children: [
|
|
11330
11363
|
icon && /* @__PURE__ */ jsx15("div", {
|
|
11331
11364
|
className: "mb-4",
|
|
@@ -11443,7 +11476,7 @@ function OaImageCard({
|
|
|
11443
11476
|
whileInView: { opacity: 1, y: 0 },
|
|
11444
11477
|
viewport: { once: true },
|
|
11445
11478
|
transition: { duration: 0.8, delay },
|
|
11446
|
-
className: clsx("relative rounded-
|
|
11479
|
+
className: clsx("relative rounded-[16px] overflow-hidden group", aspect_classes[aspect_ratio], className),
|
|
11447
11480
|
children: [
|
|
11448
11481
|
/* @__PURE__ */ jsx18("img", {
|
|
11449
11482
|
src,
|
|
@@ -11814,7 +11847,7 @@ function OaBenchmarkTable({
|
|
|
11814
11847
|
}
|
|
11815
11848
|
}
|
|
11816
11849
|
return /* @__PURE__ */ jsxs17("div", {
|
|
11817
|
-
className: clsx("my-4 sm:my-6 overflow-hidden rounded-
|
|
11850
|
+
className: clsx("my-4 sm:my-6 overflow-hidden rounded-[16px]", is_dark ? "bg-[#0a0a0a]" : "bg-white border border-black/[0.08]", className),
|
|
11818
11851
|
children: [
|
|
11819
11852
|
(title || subtitle) && /* @__PURE__ */ jsxs17("div", {
|
|
11820
11853
|
className: "px-4 sm:px-5 pt-4 sm:pt-5 pb-2",
|
|
@@ -11896,19 +11929,20 @@ function OaLineTableGrid({
|
|
|
11896
11929
|
items,
|
|
11897
11930
|
columns = 2,
|
|
11898
11931
|
animated = false,
|
|
11932
|
+
show_numbers = false,
|
|
11899
11933
|
variant = "light",
|
|
11900
11934
|
className
|
|
11901
11935
|
}) {
|
|
11902
11936
|
const is_dark = variant === "dark";
|
|
11903
11937
|
const has_two_columns = columns === 2;
|
|
11904
11938
|
return /* @__PURE__ */ jsx25("div", {
|
|
11905
|
-
className: clsx("not-prose grid overflow-hidden rounded-
|
|
11939
|
+
className: clsx("not-prose grid overflow-hidden rounded-[16px] border-2", has_two_columns && "md:grid-cols-2", surface_classes(variant), className),
|
|
11906
11940
|
children: items.map((item, index) => {
|
|
11907
11941
|
const number = item.number ?? String(index + 1).padStart(2, "0");
|
|
11908
|
-
const itemClassName = clsx("
|
|
11942
|
+
const itemClassName = clsx("px-5 py-7 sm:px-6 md:px-8 md:py-9 lg:px-10", show_numbers && "grid grid-cols-[2rem_minmax(0,1fr)] gap-4 md:gap-6", rule_classes(variant), index < items.length - 1 && "border-b-2", has_two_columns && index >= items.length - 2 && "md:border-b-0", has_two_columns && index % 2 === 0 && "md:border-r-2");
|
|
11909
11943
|
const content = /* @__PURE__ */ jsxs18(Fragment4, {
|
|
11910
11944
|
children: [
|
|
11911
|
-
/* @__PURE__ */ jsx25("span", {
|
|
11945
|
+
show_numbers && /* @__PURE__ */ jsx25("span", {
|
|
11912
11946
|
className: clsx("text-center font-mono text-[11px]", is_dark ? "text-white/35" : "text-light-text-muted"),
|
|
11913
11947
|
children: number
|
|
11914
11948
|
}),
|
|
@@ -11956,7 +11990,7 @@ function OaLineTableContract({
|
|
|
11956
11990
|
const is_dark = variant === "dark";
|
|
11957
11991
|
return /* @__PURE__ */ jsxs18("article", {
|
|
11958
11992
|
id,
|
|
11959
|
-
className: clsx("not-prose scroll-mt-24 overflow-hidden rounded-
|
|
11993
|
+
className: clsx("not-prose scroll-mt-24 overflow-hidden rounded-[16px] border-2 font-sans text-sm leading-relaxed md:text-base [&_code]:!rounded-none [&_code]:!border-0 [&_code]:!bg-transparent [&_code]:!p-0 [&_code]:!font-sans [&_code]:!text-[1em] [&_code]:!leading-[inherit] [&_code]:!shadow-none", surface_classes(variant), className),
|
|
11960
11994
|
children: [
|
|
11961
11995
|
/* @__PURE__ */ jsxs18("header", {
|
|
11962
11996
|
className: clsx("border-b-2 px-5 py-5 sm:px-6 md:px-8 md:py-6", rule_classes(variant)),
|
|
@@ -12089,7 +12123,7 @@ function OaHero({
|
|
|
12089
12123
|
};
|
|
12090
12124
|
const content_width_class = preset === "hero" ? "w-full" : align !== "left" ? "w-full lg:max-w-[50%]" : "max-w-lg lg:max-w-[50%]";
|
|
12091
12125
|
return /* @__PURE__ */ jsxs19("div", {
|
|
12092
|
-
className: clsx("relative w-full rounded-
|
|
12126
|
+
className: clsx("relative w-full rounded-[20px] overflow-hidden bg-black font-sans group", preset_aspects[preset], className),
|
|
12093
12127
|
children: [
|
|
12094
12128
|
mode === "video" && video_src ? /* @__PURE__ */ jsx26("video", {
|
|
12095
12129
|
autoPlay: true,
|
|
@@ -12161,8 +12195,8 @@ var variant_styles3 = {
|
|
|
12161
12195
|
};
|
|
12162
12196
|
var size_styles5 = {
|
|
12163
12197
|
sm: "text-[12px] px-3 py-1.5 gap-1.5",
|
|
12164
|
-
md: "text-[13px] px-4 py-2 gap-
|
|
12165
|
-
lg: "text-[14px] px-5 py-2.5 gap-
|
|
12198
|
+
md: "text-[13px] px-4 py-2 gap-1.5",
|
|
12199
|
+
lg: "text-[14px] px-5 py-2.5 gap-1.5"
|
|
12166
12200
|
};
|
|
12167
12201
|
var OaButton = forwardRef4(({
|
|
12168
12202
|
variant = "primary",
|
|
@@ -12176,7 +12210,7 @@ var OaButton = forwardRef4(({
|
|
|
12176
12210
|
disabled,
|
|
12177
12211
|
...props
|
|
12178
12212
|
}, ref) => {
|
|
12179
|
-
const base_styles = "inline-flex items-center justify-center font-medium rounded-
|
|
12213
|
+
const base_styles = "inline-flex items-center justify-center font-medium rounded-full transition-all duration-200 disabled:opacity-50 disabled:cursor-not-allowed";
|
|
12180
12214
|
return /* @__PURE__ */ jsx27("button", {
|
|
12181
12215
|
ref,
|
|
12182
12216
|
className: clsx(base_styles, variant_styles3[variant], size_styles5[size], full_width && "w-full", className),
|
|
@@ -12221,7 +12255,7 @@ var OaButtonLink = forwardRef4(({
|
|
|
12221
12255
|
children,
|
|
12222
12256
|
...props
|
|
12223
12257
|
}, ref) => {
|
|
12224
|
-
const base_styles = "inline-flex items-center justify-center font-medium rounded-
|
|
12258
|
+
const base_styles = "inline-flex items-center justify-center font-medium rounded-full transition-all duration-200";
|
|
12225
12259
|
return /* @__PURE__ */ jsxs20("a", {
|
|
12226
12260
|
ref,
|
|
12227
12261
|
className: clsx(base_styles, variant_styles3[variant], size_styles5[size], full_width && "w-full", className),
|
|
@@ -12235,7 +12269,7 @@ var OaButtonLink = forwardRef4(({
|
|
|
12235
12269
|
});
|
|
12236
12270
|
OaButtonLink.displayName = "OaButtonLink";
|
|
12237
12271
|
var oa_button_styles = {
|
|
12238
|
-
base: "inline-flex items-center justify-center font-medium rounded-
|
|
12272
|
+
base: "inline-flex items-center justify-center font-medium rounded-full transition-all duration-200",
|
|
12239
12273
|
variant: variant_styles3,
|
|
12240
12274
|
size: size_styles5
|
|
12241
12275
|
};
|
|
@@ -13011,7 +13045,7 @@ var OaScrambleText = forwardRef7(function OaScrambleText({
|
|
|
13011
13045
|
uppercase = true,
|
|
13012
13046
|
external = false,
|
|
13013
13047
|
icon,
|
|
13014
|
-
icon_class_name = "h-
|
|
13048
|
+
icon_class_name = "h-4 w-4"
|
|
13015
13049
|
}, ref) {
|
|
13016
13050
|
const target = uppercase ? children.toUpperCase() : children;
|
|
13017
13051
|
const resolved_icon = icon ?? (external ? "external" : null);
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
--oa-hero-stamp-radius: 10px;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
.oa-section-spacing,
|
|
6
|
+
.oa-section-spacing-compact {
|
|
7
|
+
padding-block: var(--oa-section-padding) calc(var(--oa-section-padding) * 1.25);
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.oa-section-spacing {
|
|
11
|
+
--oa-section-padding: 6rem;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.oa-section-spacing-compact {
|
|
15
|
+
--oa-section-padding: 4rem;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
@media (min-width: 1024px) {
|
|
19
|
+
.oa-section-spacing {
|
|
20
|
+
--oa-section-padding: 8rem;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.oa-section-spacing-compact {
|
|
24
|
+
--oa-section-padding: 6rem;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.oa-nav-label,
|
|
29
|
+
.oa-nav-menu-link {
|
|
30
|
+
font-size: 0.875rem;
|
|
31
|
+
line-height: 1.25rem;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.oa-nav-label {
|
|
35
|
+
font-weight: 400;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.oa-nav-menu-link {
|
|
39
|
+
font-weight: 700;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.oa-nav-menu-link svg {
|
|
43
|
+
stroke-width: 2.5;
|
|
44
|
+
}
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@realminc/ui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.12.0",
|
|
4
4
|
"packageManager": "bun@1.4.2",
|
|
5
5
|
"description": "Realm Design System - Shared UI components, styles, and assets",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"main": "./dist/index.js",
|
|
8
8
|
"module": "./dist/index.js",
|
|
9
9
|
"types": "./dist/index.d.ts",
|
|
10
|
-
"sideEffects":
|
|
10
|
+
"sideEffects": ["**/*.css"],
|
|
11
11
|
"exports": {
|
|
12
12
|
".": {
|
|
13
13
|
"types": "./dist/index.d.ts",
|
|
@@ -25,6 +25,7 @@
|
|
|
25
25
|
"default": "./dist/theme.js"
|
|
26
26
|
},
|
|
27
27
|
"./styles/fonts.css": "./dist/styles/fonts.css",
|
|
28
|
+
"./styles/layout.css": "./dist/styles/layout.css",
|
|
28
29
|
"./public/*": "./public/*"
|
|
29
30
|
},
|
|
30
31
|
"files": [
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
<svg version="1.2" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 238" width="512" height="238">
|
|
2
|
-
<style>
|
|
3
|
-
.s0 { fill: #000000 }
|
|
4
|
-
</style>
|
|
5
|
-
<path id="oa-black" fill-rule="evenodd" class="s0" d="m118.9 237.79c-65.75 0-118.9-53.15-118.9-118.89 0-65.75 53.15-118.9 118.9-118.9 65.74 0 118.89 53.15 118.89 118.9 0 65.74-53.15 118.89-118.89 118.89zm59.27-118.89c0-32.78-26.5-59.28-59.27-59.28-32.78 0-59.28 26.5-59.28 59.28 0 32.77 26.5 59.27 59.28 59.27 32.77 0 59.27-26.5 59.27-59.27zm214.93 118.89c-65.74 0-118.89-53.15-118.89-118.89 0-65.75 53.15-118.9 118.89-118.9 65.75 0 118.9 53.15 118.9 118.9 0 17.43 0 96.26 0 114.61-17.84 0-41.12 0-59.98 0 0-4 0.22-8.12 0.22-11.4-17.41 9.98-37.6 15.68-59.14 15.68zm59.28-118.89c0-32.78-26.5-59.28-59.28-59.28-32.77 0-59.27 26.5-59.27 59.28 0 32.77 26.5 59.27 59.27 59.27 32.78 0 59.28-26.5 59.28-59.27z"/>
|
|
6
|
-
</svg>
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
<svg version="1.2" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 238" width="512" height="238">
|
|
2
|
-
<style>
|
|
3
|
-
.s0 { fill: #ffffff }
|
|
4
|
-
</style>
|
|
5
|
-
<path id="oa-white" fill-rule="evenodd" class="s0" d="m118.9 237.79c-65.75 0-118.9-53.15-118.9-118.89 0-65.75 53.15-118.9 118.9-118.9 65.74 0 118.89 53.15 118.89 118.9 0 65.74-53.15 118.89-118.89 118.89zm59.27-118.89c0-32.78-26.5-59.28-59.27-59.28-32.78 0-59.28 26.5-59.28 59.28 0 32.77 26.5 59.27 59.28 59.27 32.77 0 59.27-26.5 59.27-59.27zm214.93 118.89c-65.74 0-118.89-53.15-118.89-118.89 0-65.75 53.15-118.9 118.89-118.9 65.75 0 118.9 53.15 118.9 118.9 0 17.43 0 96.26 0 114.61-17.84 0-41.12 0-59.98 0 0-4 0.22-8.12 0.22-11.4-17.41 9.98-37.6 15.68-59.14 15.68zm59.28-118.89c0-32.78-26.5-59.28-59.28-59.28-32.77 0-59.27 26.5-59.27 59.28 0 32.77 26.5 59.27 59.27 59.27 32.78 0 59.28-26.5 59.28-59.27z"/>
|
|
6
|
-
</svg>
|