@gridui/site-footer 0.0.0-stage → 0.0.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 CHANGED
@@ -1,3 +1,32 @@
1
- # Temporary Holding Version
1
+ # @gridui/site-footer
2
2
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
3
+ Landing family. Public API: `SiteFooter`, `SiteFooterProps`, `SiteFooterSection`,
4
+ `SiteFooterLink`, `SiteFooterLinkProps`, and `SiteFooterLinkItem`.
5
+
6
+ Import components from `@gridui/site-footer` and load `@gridui/site-footer/styles.css` after Theme.
7
+ Load styles for any composed dependency used by this family. Applications own routes, labels, state persistence, and branding.
8
+
9
+ See [component ownership](../../docs/component-ownership.md) and [release history](.changeset/history/).
10
+
11
+ Pass `sections`, caller-owned `branding`, optional `credit`, and optional `agents`.
12
+ The composition owns responsive structural regions through Grid Split and FrameFooter.
13
+ Section links use the public SiteFooterLink component. SiteFooterLinkItem is the
14
+ link data contract containing `label` and `href`; it replaces the former data type
15
+ named SiteFooterLink without a compatibility alias.
16
+
17
+ ## Footer links
18
+
19
+ ```tsx
20
+ import { SiteFooterLink } from "@gridui/site-footer";
21
+
22
+ <SiteFooterLink href="/contact/">Contact</SiteFooterLink>
23
+ ```
24
+
25
+ SiteFooterLink renders a native anchor and requires `href`. It forwards native
26
+ anchor props, children, refs, and event handlers. `className` is merged and native
27
+ `style` remains available for caller customization. The same component can be
28
+ used independently in caller-owned footer branding, credit, or other compositions.
29
+
30
+ Links use supporting typography, foreground color, wrapping, and themed spacing
31
+ between inline children. Underlines appear on hover and keyboard focus. Theme
32
+ owns the focus outline. Applications own destinations, labels, and navigation policy.
@@ -0,0 +1,12 @@
1
+ /**
2
+ * @author WMXPY
3
+ * @package Site Footer
4
+ * @namespace Root
5
+ * @description Index
6
+ */
7
+ export type { SiteFooterLinkItem } from "./site-footer/site-footer";
8
+ export type { SiteFooterProps } from "./site-footer/site-footer";
9
+ export type { SiteFooterSection } from "./site-footer/site-footer";
10
+ export { SiteFooter } from "./site-footer/site-footer";
11
+ export type { SiteFooterLinkProps } from "./site-footer-link/site-footer-link";
12
+ export { SiteFooterLink } from "./site-footer-link/site-footer-link";
package/dist/index.js ADDED
@@ -0,0 +1,151 @@
1
+ // src/site-footer-link/style.ts
2
+ import { cn } from "@gridui/style-utils";
3
+ import { cva } from "class-variance-authority";
4
+ var siteFooterLinkStyles = cva(cn(
5
+ "gridui-site-footer-link",
6
+ "inline-flex max-w-full min-w-0 items-center gap-gridui-8 type-supporting text-foreground no-underline wrap-anywhere underline-offset-[0.25em] hover:underline focus-visible:underline"
7
+ ));
8
+
9
+ // src/site-footer-link/site-footer-link.tsx
10
+ import { cn as cn2 } from "@gridui/style-utils";
11
+ import { jsx } from "react/jsx-runtime";
12
+ var SiteFooterLink = (props) => {
13
+ const { className, ...restProps } = props;
14
+ return /* @__PURE__ */ jsx(
15
+ "a",
16
+ {
17
+ ...restProps,
18
+ className: cn2(siteFooterLinkStyles(), className)
19
+ }
20
+ );
21
+ };
22
+
23
+ // src/site-footer/style.ts
24
+ import { cn as cn3 } from "@gridui/style-utils";
25
+ import { cva as cva2 } from "class-variance-authority";
26
+ var siteFooterStyles = cva2(cn3(
27
+ "gridui-site-footer",
28
+ "[&_.gridui-site-footer-brand]:flex [&_.gridui-site-footer-brand]:flex-col [&_.gridui-site-footer-brand]:items-start [&_.gridui-site-footer-brand]:gap-gridui-8"
29
+ ));
30
+ var siteFooterGridStyles = cva2(cn3(
31
+ "gridui-site-footer-grid",
32
+ "min-w-0"
33
+ ));
34
+ var siteFooterSectionsStyles = cva2(cn3(
35
+ "gridui-site-footer-sections",
36
+ "min-w-0"
37
+ ));
38
+ var siteFooterBrandingStyles = cva2(cn3(
39
+ "gridui-site-footer-branding",
40
+ "pt-gridui-32 px-gridui-24",
41
+ "[&_h2]:font-brand [&_h2]:text-[1.5rem] [&_h2]:font-medium [&_h2]:leading-[1.2]",
42
+ "min-[40rem]:min-h-56"
43
+ ));
44
+ var siteFooterSectionStyles = cva2(cn3(
45
+ "gridui-site-footer-section",
46
+ "min-w-0 py-gridui-32 px-gridui-24",
47
+ "[&_h2]:mt-0 [&_h2]:mx-0 [&_h2]:mb-gridui-16 [&_h2]:type-subheading",
48
+ "[&_ul]:flex [&_ul]:flex-col [&_ul]:gap-gridui-8 [&_ul]:m-0 [&_ul]:p-0 [&_ul]:[list-style:none] [&_ul]:type-supporting"
49
+ ));
50
+
51
+ // src/site-footer/site-footer.tsx
52
+ import { FrameFooter, Split } from "@gridui/grid";
53
+ import { cn as cn4 } from "@gridui/style-utils";
54
+ import { jsx as jsx2, jsxs } from "react/jsx-runtime";
55
+ var SiteFooter = (props) => {
56
+ const {
57
+ branding,
58
+ credit,
59
+ agents,
60
+ sections,
61
+ tone = "brand",
62
+ boundary = "band",
63
+ className,
64
+ ...restProps
65
+ } = props;
66
+ return /* @__PURE__ */ jsxs(
67
+ FrameFooter,
68
+ {
69
+ ...restProps,
70
+ tone,
71
+ boundary,
72
+ padding: 0,
73
+ contentLayout: "block",
74
+ signatureAppearance: "cropped",
75
+ className: cn4(siteFooterStyles(), className),
76
+ children: [
77
+ /* @__PURE__ */ jsxs(
78
+ "div",
79
+ {
80
+ className: cn4(siteFooterGridStyles()),
81
+ children: [
82
+ /* @__PURE__ */ jsxs(
83
+ Split,
84
+ {
85
+ direction: {
86
+ base: "column",
87
+ md: "row"
88
+ },
89
+ children: [
90
+ /* @__PURE__ */ jsx2(
91
+ "div",
92
+ {
93
+ className: cn4(siteFooterBrandingStyles()),
94
+ children: branding
95
+ }
96
+ ),
97
+ sections.length > 0 && /* @__PURE__ */ jsx2(
98
+ Split,
99
+ {
100
+ direction: {
101
+ base: "column",
102
+ md: "row"
103
+ },
104
+ className: cn4(siteFooterSectionsStyles()),
105
+ children: sections.map((section) => {
106
+ return /* @__PURE__ */ jsxs(
107
+ "nav",
108
+ {
109
+ "aria-label": section.heading,
110
+ className: cn4(siteFooterSectionStyles()),
111
+ children: [
112
+ /* @__PURE__ */ jsx2("h2", { children: section.heading }),
113
+ /* @__PURE__ */ jsx2("ul", { children: section.links.map((link) => {
114
+ return /* @__PURE__ */ jsx2(
115
+ "li",
116
+ {
117
+ children: /* @__PURE__ */ jsx2(
118
+ SiteFooterLink,
119
+ {
120
+ href: link.href,
121
+ children: link.label
122
+ }
123
+ )
124
+ },
125
+ link.href
126
+ );
127
+ }) })
128
+ ]
129
+ },
130
+ section.heading
131
+ );
132
+ })
133
+ }
134
+ )
135
+ ]
136
+ }
137
+ ),
138
+ credit
139
+ ]
140
+ }
141
+ ),
142
+ agents
143
+ ]
144
+ }
145
+ );
146
+ };
147
+ export {
148
+ SiteFooter,
149
+ SiteFooterLink
150
+ };
151
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../src/site-footer-link/style.ts", "../src/site-footer-link/site-footer-link.tsx", "../src/site-footer/style.ts", "../src/site-footer/site-footer.tsx"],
4
+ "sourcesContent": ["/**\n * @author WMXPY\n * @package Site Footer\n * @namespace SiteFooterLink\n * @description Style\n */\n\nimport { cn } from \"@gridui/style-utils\";\nimport { cva } from \"class-variance-authority\";\n\nexport const siteFooterLinkStyles = cva(cn(\n \"gridui-site-footer-link\",\n \"inline-flex max-w-full min-w-0 items-center gap-gridui-8 type-supporting text-foreground no-underline wrap-anywhere underline-offset-[0.25em] hover:underline focus-visible:underline\",\n));\n", "/**\n * @author WMXPY\n * @package Site Footer\n * @namespace SiteFooterLink\n * @description Site Footer Link\n */\n\nimport { siteFooterLinkStyles } from \"./style\";\nimport { cn } from \"@gridui/style-utils\";\nimport type { ComponentPropsWithRef, FC } from \"react\";\n\nexport type SiteFooterLinkProps = ComponentPropsWithRef<\"a\"> & {\n readonly href: string;\n};\n\nexport const SiteFooterLink: FC<SiteFooterLinkProps> = (props: SiteFooterLinkProps) => {\n const { className, ...restProps } = props;\n return (<a\n {...restProps}\n className={cn(siteFooterLinkStyles(), className)}\n />);\n};\n", "/**\n * @author WMXPY\n * @package Site Footer\n * @namespace SiteFooter\n * @description Style\n */\n\nimport { cn } from \"@gridui/style-utils\";\nimport { cva } from \"class-variance-authority\";\n\nexport const siteFooterStyles = cva(cn(\n \"gridui-site-footer\",\n \"[&_.gridui-site-footer-brand]:flex [&_.gridui-site-footer-brand]:flex-col [&_.gridui-site-footer-brand]:items-start [&_.gridui-site-footer-brand]:gap-gridui-8\",\n));\n\nexport const siteFooterGridStyles = cva(cn(\n \"gridui-site-footer-grid\",\n \"min-w-0\",\n));\n\nexport const siteFooterSectionsStyles = cva(cn(\n \"gridui-site-footer-sections\",\n \"min-w-0\",\n));\n\nexport const siteFooterBrandingStyles = cva(cn(\n \"gridui-site-footer-branding\",\n \"pt-gridui-32 px-gridui-24\",\n \"[&_h2]:font-brand [&_h2]:text-[1.5rem] [&_h2]:font-medium [&_h2]:leading-[1.2]\",\n \"min-[40rem]:min-h-56\",\n));\n\nexport const siteFooterSectionStyles = cva(cn(\n \"gridui-site-footer-section\",\n \"min-w-0 py-gridui-32 px-gridui-24\",\n \"[&_h2]:mt-0 [&_h2]:mx-0 [&_h2]:mb-gridui-16 [&_h2]:type-subheading\",\n \"[&_ul]:flex [&_ul]:flex-col [&_ul]:gap-gridui-8 [&_ul]:m-0 [&_ul]:p-0 [&_ul]:[list-style:none] [&_ul]:type-supporting\",\n));\n", "/**\n * @author WMXPY\n * @package Site Footer\n * @namespace SiteFooter\n * @description Site Footer\n */\n\nimport { SiteFooterLink } from \"../site-footer-link/site-footer-link\";\nimport { siteFooterBrandingStyles, siteFooterGridStyles, siteFooterSectionsStyles, siteFooterSectionStyles, siteFooterStyles } from \"./style\";\nimport { FrameFooter, type FrameFooterProps, Split } from \"@gridui/grid\";\nimport { cn } from \"@gridui/style-utils\";\nimport type { FC, ReactNode } from \"react\";\n\nexport type SiteFooterLinkItem = {\n readonly label: string;\n readonly href: string;\n};\n\nexport type SiteFooterSection = {\n readonly heading: string;\n readonly links: readonly SiteFooterLinkItem[];\n};\n\nexport type SiteFooterProps = Omit<FrameFooterProps, \"children\" | \"contentLayout\" | \"padding\" | \"signatureAppearance\"> & {\n readonly branding?: ReactNode;\n readonly credit?: ReactNode;\n readonly agents?: ReactNode;\n readonly sections: readonly SiteFooterSection[];\n};\n\nexport const SiteFooter: FC<SiteFooterProps> = (props: SiteFooterProps) => {\n const {\n branding,\n credit,\n agents,\n sections,\n tone = \"brand\",\n boundary = \"band\",\n className,\n ...restProps\n } = props;\n return (<FrameFooter\n {...restProps}\n tone={tone}\n boundary={boundary}\n padding={0}\n contentLayout=\"block\"\n signatureAppearance=\"cropped\"\n className={cn(siteFooterStyles(), className)}\n >\n <div\n className={cn(siteFooterGridStyles())}\n >\n <Split\n direction={{\n base: \"column\",\n md: \"row\",\n }}\n >\n <div\n className={cn(siteFooterBrandingStyles())}\n >\n {branding}\n </div>\n {sections.length > 0 && (<Split\n direction={{\n base: \"column\",\n md: \"row\",\n }}\n className={cn(siteFooterSectionsStyles())}\n >\n {sections.map((section) => {\n return (<nav\n key={section.heading}\n aria-label={section.heading}\n className={cn(siteFooterSectionStyles())}\n >\n <h2>\n {section.heading}\n </h2>\n <ul>\n {section.links.map((link) => {\n return (<li\n key={link.href}\n >\n <SiteFooterLink\n href={link.href}\n >\n {link.label}\n </SiteFooterLink>\n </li>);\n })}\n </ul>\n </nav>);\n })}\n </Split>)}\n </Split>\n {credit}\n </div>\n {agents}\n </FrameFooter>);\n};\n"],
5
+ "mappings": ";AAOA,SAAS,UAAU;AACnB,SAAS,WAAW;AAEb,IAAM,uBAAuB,IAAI;AAAA,EACpC;AAAA,EACA;AACJ,CAAC;;;ACLD,SAAS,MAAAA,WAAU;AASP;AAFL,IAAM,iBAA0C,CAAC,UAA+B;AACnF,QAAM,EAAE,WAAW,GAAG,UAAU,IAAI;AACpC,SAAQ;AAAA,IAAC;AAAA;AAAA,MACJ,GAAG;AAAA,MACJ,WAAWA,IAAG,qBAAqB,GAAG,SAAS;AAAA;AAAA,EACnD;AACJ;;;ACdA,SAAS,MAAAC,WAAU;AACnB,SAAS,OAAAC,YAAW;AAEb,IAAM,mBAAmBA,KAAID;AAAA,EAChC;AAAA,EACA;AACJ,CAAC;AAEM,IAAM,uBAAuBC,KAAID;AAAA,EACpC;AAAA,EACA;AACJ,CAAC;AAEM,IAAM,2BAA2BC,KAAID;AAAA,EACxC;AAAA,EACA;AACJ,CAAC;AAEM,IAAM,2BAA2BC,KAAID;AAAA,EACxC;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACJ,CAAC;AAEM,IAAM,0BAA0BC,KAAID;AAAA,EACvC;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACJ,CAAC;;;AC5BD,SAAS,aAAoC,aAAa;AAC1D,SAAS,MAAAE,WAAU;AAiDH,gBAAAC,MAagB,YAbhB;AA7BT,IAAM,aAAkC,CAAC,UAA2B;AACvE,QAAM;AAAA,IACF;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA,OAAO;AAAA,IACP,WAAW;AAAA,IACX;AAAA,IACA,GAAG;AAAA,EACP,IAAI;AACJ,SAAQ;AAAA,IAAC;AAAA;AAAA,MACJ,GAAG;AAAA,MACJ;AAAA,MACA;AAAA,MACA,SAAS;AAAA,MACT,eAAc;AAAA,MACd,qBAAoB;AAAA,MACpB,WAAWD,IAAG,iBAAiB,GAAG,SAAS;AAAA,MAE3C;AAAA;AAAA,UAAC;AAAA;AAAA,YACG,WAAWA,IAAG,qBAAqB,CAAC;AAAA,YAEpC;AAAA;AAAA,gBAAC;AAAA;AAAA,kBACG,WAAW;AAAA,oBACP,MAAM;AAAA,oBACN,IAAI;AAAA,kBACR;AAAA,kBAEA;AAAA,oCAAAC;AAAA,sBAAC;AAAA;AAAA,wBACG,WAAWD,IAAG,yBAAyB,CAAC;AAAA,wBAEvC;AAAA;AAAA,oBACL;AAAA,oBACC,SAAS,SAAS,KAAM,gBAAAC;AAAA,sBAAC;AAAA;AAAA,wBACtB,WAAW;AAAA,0BACP,MAAM;AAAA,0BACN,IAAI;AAAA,wBACR;AAAA,wBACA,WAAWD,IAAG,yBAAyB,CAAC;AAAA,wBAEvC,mBAAS,IAAI,CAAC,YAAY;AACvB,iCAAQ;AAAA,4BAAC;AAAA;AAAA,8BAEL,cAAY,QAAQ;AAAA,8BACpB,WAAWA,IAAG,wBAAwB,CAAC;AAAA,8BAEvC;AAAA,gDAAAC,KAAC,QACI,kBAAQ,SACb;AAAA,gCACA,gBAAAA,KAAC,QACI,kBAAQ,MAAM,IAAI,CAAC,SAAS;AACzB,yCAAQ,gBAAAA;AAAA,oCAAC;AAAA;AAAA,sCAGL,0BAAAA;AAAA,wCAAC;AAAA;AAAA,0CACG,MAAM,KAAK;AAAA,0CAEV,eAAK;AAAA;AAAA,sCACV;AAAA;AAAA,oCANK,KAAK;AAAA,kCAOd;AAAA,gCACJ,CAAC,GACL;AAAA;AAAA;AAAA,4BAnBK,QAAQ;AAAA,0BAoBjB;AAAA,wBACJ,CAAC;AAAA;AAAA,oBACL;AAAA;AAAA;AAAA,cACJ;AAAA,cACC;AAAA;AAAA;AAAA,QACL;AAAA,QACC;AAAA;AAAA;AAAA,EACL;AACJ;",
6
+ "names": ["cn", "cn", "cva", "cn", "jsx"]
7
+ }
@@ -0,0 +1,23 @@
1
+ /**
2
+ * @author WMXPY
3
+ * @package Site Footer
4
+ * @namespace SiteFooter
5
+ * @description Site Footer
6
+ */
7
+ import { type FrameFooterProps } from "@gridui/grid";
8
+ import type { FC, ReactNode } from "react";
9
+ export type SiteFooterLinkItem = {
10
+ readonly label: string;
11
+ readonly href: string;
12
+ };
13
+ export type SiteFooterSection = {
14
+ readonly heading: string;
15
+ readonly links: readonly SiteFooterLinkItem[];
16
+ };
17
+ export type SiteFooterProps = Omit<FrameFooterProps, "children" | "contentLayout" | "padding" | "signatureAppearance"> & {
18
+ readonly branding?: ReactNode;
19
+ readonly credit?: ReactNode;
20
+ readonly agents?: ReactNode;
21
+ readonly sections: readonly SiteFooterSection[];
22
+ };
23
+ export declare const SiteFooter: FC<SiteFooterProps>;
@@ -0,0 +1,11 @@
1
+ /**
2
+ * @author WMXPY
3
+ * @package Site Footer
4
+ * @namespace SiteFooter
5
+ * @description Style
6
+ */
7
+ export declare const siteFooterStyles: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
8
+ export declare const siteFooterGridStyles: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
9
+ export declare const siteFooterSectionsStyles: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
10
+ export declare const siteFooterBrandingStyles: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
11
+ export declare const siteFooterSectionStyles: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
@@ -0,0 +1,11 @@
1
+ /**
2
+ * @author WMXPY
3
+ * @package Site Footer
4
+ * @namespace SiteFooterLink
5
+ * @description Site Footer Link
6
+ */
7
+ import type { ComponentPropsWithRef, FC } from "react";
8
+ export type SiteFooterLinkProps = ComponentPropsWithRef<"a"> & {
9
+ readonly href: string;
10
+ };
11
+ export declare const SiteFooterLink: FC<SiteFooterLinkProps>;
@@ -0,0 +1,7 @@
1
+ /**
2
+ * @author WMXPY
3
+ * @package Site Footer
4
+ * @namespace SiteFooterLink
5
+ * @description Style
6
+ */
7
+ export declare const siteFooterLinkStyles: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
@@ -0,0 +1,162 @@
1
+ /*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */
2
+ @layer properties;
3
+ @layer theme, base, components, utilities;
4
+ @layer theme {
5
+ :root, :host {
6
+ --spacing: 0.25rem;
7
+ --font-weight-medium: 500;
8
+ }
9
+ }
10
+ @layer utilities {
11
+ .block {
12
+ display: block;
13
+ }
14
+ .inline-flex {
15
+ display: inline-flex;
16
+ }
17
+ .max-w-full {
18
+ max-width: 100%;
19
+ }
20
+ .min-w-0 {
21
+ min-width: 0px;
22
+ }
23
+ .items-center {
24
+ align-items: center;
25
+ }
26
+ .gap-gridui-8 {
27
+ gap: var(--gridui-space-8);
28
+ }
29
+ .px-gridui-24 {
30
+ padding-inline: var(--gridui-space-24);
31
+ }
32
+ .py-gridui-32 {
33
+ padding-block: var(--gridui-space-32);
34
+ }
35
+ .pt-gridui-32 {
36
+ padding-top: var(--gridui-space-32);
37
+ }
38
+ .type-supporting {
39
+ font: var(--gridui-type-supporting);
40
+ letter-spacing: normal;
41
+ }
42
+ .wrap-anywhere {
43
+ overflow-wrap: anywhere;
44
+ }
45
+ .text-foreground {
46
+ color: var(--gridui-foreground);
47
+ }
48
+ .no-underline {
49
+ text-decoration-line: none;
50
+ }
51
+ .underline-offset-\[0\.25em\] {
52
+ text-underline-offset: 0.25em;
53
+ }
54
+ @media (hover: hover) {
55
+ .hover\:underline:hover {
56
+ text-decoration-line: underline;
57
+ }
58
+ }
59
+ .focus-visible\:underline:focus-visible {
60
+ text-decoration-line: underline;
61
+ }
62
+ @media (width >= 40rem) {
63
+ .min-\[40rem\]\:min-h-56 {
64
+ min-height: calc(var(--spacing) * 56);
65
+ }
66
+ }
67
+ .\[\&_\.gridui-site-footer-brand\]\:flex .gridui-site-footer-brand {
68
+ display: flex;
69
+ }
70
+ .\[\&_\.gridui-site-footer-brand\]\:flex-col .gridui-site-footer-brand {
71
+ flex-direction: column;
72
+ }
73
+ .\[\&_\.gridui-site-footer-brand\]\:items-start .gridui-site-footer-brand {
74
+ align-items: flex-start;
75
+ }
76
+ .\[\&_\.gridui-site-footer-brand\]\:gap-gridui-8 .gridui-site-footer-brand {
77
+ gap: var(--gridui-space-8);
78
+ }
79
+ .\[\&_h2\]\:mx-0 h2 {
80
+ margin-inline: 0px;
81
+ }
82
+ .\[\&_h2\]\:mt-0 h2 {
83
+ margin-top: 0px;
84
+ }
85
+ .\[\&_h2\]\:mb-gridui-16 h2 {
86
+ margin-bottom: var(--gridui-space-16);
87
+ }
88
+ .\[\&_h2\]\:font-brand h2 {
89
+ font-family: var(--gridui-font-brand);
90
+ }
91
+ .\[\&_h2\]\:text-\[1\.5rem\] h2 {
92
+ font-size: 1.5rem;
93
+ }
94
+ .\[\&_h2\]\:leading-\[1\.2\] h2 {
95
+ --tw-leading: 1.2;
96
+ line-height: 1.2;
97
+ }
98
+ .\[\&_h2\]\:font-medium h2 {
99
+ --tw-font-weight: var(--font-weight-medium);
100
+ font-weight: var(--font-weight-medium);
101
+ }
102
+ .\[\&_h2\]\:type-subheading h2 {
103
+ font: var(--gridui-type-subheading);
104
+ letter-spacing: normal;
105
+ text-wrap: balance;
106
+ }
107
+ .\[\&_ul\]\:m-0 ul {
108
+ margin: 0px;
109
+ }
110
+ .\[\&_ul\]\:flex ul {
111
+ display: flex;
112
+ }
113
+ .\[\&_ul\]\:flex-col ul {
114
+ flex-direction: column;
115
+ }
116
+ .\[\&_ul\]\:gap-gridui-8 ul {
117
+ gap: var(--gridui-space-8);
118
+ }
119
+ .\[\&_ul\]\:p-0 ul {
120
+ padding: 0px;
121
+ }
122
+ .\[\&_ul\]\:type-supporting ul {
123
+ font: var(--gridui-type-supporting);
124
+ letter-spacing: normal;
125
+ }
126
+ .\[\&_ul\]\:\[list-style\:none\] ul {
127
+ list-style: none;
128
+ }
129
+ }
130
+ @layer components {
131
+ .gridui-site-footer-branding {
132
+ padding-bottom: var(--gridui-space-32);
133
+ }
134
+ @media (min-width: 40rem) {
135
+ .gridui-site-footer-branding {
136
+ flex: 1 1 25%;
137
+ min-width: 12rem;
138
+ }
139
+ .gridui-site-footer-sections {
140
+ flex: 3 1 75%;
141
+ }
142
+ .gridui-site-footer-section {
143
+ flex: 1 1 0;
144
+ }
145
+ }
146
+ }
147
+ @property --tw-leading {
148
+ syntax: "*";
149
+ inherits: false;
150
+ }
151
+ @property --tw-font-weight {
152
+ syntax: "*";
153
+ inherits: false;
154
+ }
155
+ @layer properties {
156
+ @supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
157
+ *, ::before, ::after, ::backdrop {
158
+ --tw-leading: initial;
159
+ --tw-font-weight: initial;
160
+ }
161
+ }
162
+ }
package/package.json CHANGED
@@ -1,6 +1,52 @@
1
1
  {
2
2
  "name": "@gridui/site-footer",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
3
+ "version": "0.0.0",
4
+ "description": "GridUI React site footer",
5
+ "license": "UNLICENSED",
6
+ "type": "module",
7
+ "files": [
8
+ "dist",
9
+ "README.md"
10
+ ],
11
+ "sideEffects": [
12
+ "**/*.css"
13
+ ],
14
+ "exports": {
15
+ ".": {
16
+ "types": "./dist/index.d.ts",
17
+ "import": "./dist/index.js"
18
+ },
19
+ "./styles.css": "./dist/styles.css"
20
+ },
21
+ "publishConfig": {
22
+ "access": "public"
23
+ },
24
+ "peerDependencies": {
25
+ "react": "^19.2.0",
26
+ "react-dom": "^19.2.0"
27
+ },
28
+ "dependencies": {
29
+ "@gridui/grid": "^2.1.4",
30
+ "@gridui/style-utils": "^2.1.2",
31
+ "@gridui/theme": "^2.1.2",
32
+ "class-variance-authority": "0.7.1"
33
+ },
34
+ "devDependencies": {
35
+ "@gridui-internal/configuration": "0.0.0",
36
+ "@jest/globals": "30.5.2",
37
+ "@types/jest": "30.0.0",
38
+ "@types/node": "26.6.5",
39
+ "@types/react": "19.3.0",
40
+ "@types/react-dom": "19.3.0",
41
+ "jest": "30.5.2",
42
+ "react": "19.3.1",
43
+ "react-dom": "19.3.1",
44
+ "typescript": "6.0.3"
45
+ },
46
+ "scripts": {
47
+ "build": "node ../../scripts/compilation/package.ts",
48
+ "compile": "tsc --project tsconfig.json",
49
+ "test": "jest",
50
+ "coverage": "jest --coverage"
51
+ }
6
52
  }