@nswds/app 1.110.2 → 1.111.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/dist/globals.css +457 -33
- package/dist/index.cjs +118 -15
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +24 -27
- package/dist/index.d.ts +24 -27
- package/dist/index.js +118 -15
- package/dist/index.js.map +1 -1
- package/dist/styles.css +461 -33
- package/dist/styles.css.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import * as AccordionPrimitive from '@radix-ui/react-accordion';
|
|
3
3
|
import * as React$1 from 'react';
|
|
4
|
-
import React__default, { Dispatch, SetStateAction, Fragment, ComponentPropsWithoutRef,
|
|
4
|
+
import React__default, { Dispatch, SetStateAction, ComponentType, ReactNode, Fragment, ComponentPropsWithoutRef, ComponentProps, HTMLAttributes, FormEvent, RefObject } from 'react';
|
|
5
5
|
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
6
6
|
import * as class_variance_authority from 'class-variance-authority';
|
|
7
7
|
import { VariantProps } from 'class-variance-authority';
|
|
@@ -1116,44 +1116,40 @@ declare function ErrorMessage({ className, ...props }: {
|
|
|
1116
1116
|
className?: string;
|
|
1117
1117
|
} & Omit<Headless.DescriptionProps, 'as' | 'className'>): react_jsx_runtime.JSX.Element;
|
|
1118
1118
|
|
|
1119
|
+
type FooterLegalLink = {
|
|
1120
|
+
name: string;
|
|
1121
|
+
href: string;
|
|
1122
|
+
};
|
|
1123
|
+
type FooterSocialLinkItem = {
|
|
1124
|
+
name: string;
|
|
1125
|
+
href: string;
|
|
1126
|
+
icon: ComponentType<{
|
|
1127
|
+
className?: string;
|
|
1128
|
+
}>;
|
|
1129
|
+
};
|
|
1130
|
+
declare const footerColors: readonly ["white", "grey-600", "grey-800", "accent-200", "primary/grey", "light", "primary/white", "primary", "secondary", "accent"];
|
|
1131
|
+
type FooterColor = (typeof footerColors)[number];
|
|
1119
1132
|
declare function FooterSocialLink({ href, icon: Icon, children, }: {
|
|
1120
1133
|
href: string;
|
|
1121
|
-
icon:
|
|
1134
|
+
icon: ComponentType<{
|
|
1122
1135
|
className?: string;
|
|
1123
1136
|
}>;
|
|
1124
|
-
children:
|
|
1137
|
+
children: ReactNode;
|
|
1125
1138
|
}): react_jsx_runtime.JSX.Element;
|
|
1126
1139
|
declare function FooterAcknowledgement(): react_jsx_runtime.JSX.Element;
|
|
1127
1140
|
declare function FooterSmallPrint({ socialLinks, department, }: {
|
|
1128
|
-
socialLinks?:
|
|
1129
|
-
name: string;
|
|
1130
|
-
href: string;
|
|
1131
|
-
icon: React.ComponentType<{
|
|
1132
|
-
className?: string;
|
|
1133
|
-
}>;
|
|
1134
|
-
}>;
|
|
1141
|
+
socialLinks?: FooterSocialLinkItem[];
|
|
1135
1142
|
department?: string;
|
|
1136
1143
|
}): react_jsx_runtime.JSX.Element;
|
|
1137
1144
|
declare function FooterLegalLinks({ legalLinks }: {
|
|
1138
|
-
legalLinks:
|
|
1139
|
-
name: string;
|
|
1140
|
-
href: string;
|
|
1141
|
-
}>;
|
|
1145
|
+
legalLinks: FooterLegalLink[];
|
|
1142
1146
|
}): react_jsx_runtime.JSX.Element;
|
|
1143
|
-
|
|
1144
|
-
legalLinks:
|
|
1145
|
-
name: string;
|
|
1146
|
-
href: string;
|
|
1147
|
-
}>;
|
|
1147
|
+
type FooterProps = {
|
|
1148
|
+
legalLinks: FooterLegalLink[];
|
|
1148
1149
|
department?: string;
|
|
1149
|
-
socialLinks?:
|
|
1150
|
-
name: string;
|
|
1151
|
-
href: string;
|
|
1152
|
-
icon: React.ComponentType<{
|
|
1153
|
-
className?: string;
|
|
1154
|
-
}>;
|
|
1155
|
-
}>;
|
|
1150
|
+
socialLinks?: FooterSocialLinkItem[];
|
|
1156
1151
|
className?: string;
|
|
1152
|
+
color?: FooterColor;
|
|
1157
1153
|
hide?: {
|
|
1158
1154
|
paddingTop?: boolean;
|
|
1159
1155
|
topBorder?: boolean;
|
|
@@ -1163,7 +1159,8 @@ declare function Footer({ legalLinks, department, socialLinks, className, hide,
|
|
|
1163
1159
|
smallprint?: boolean;
|
|
1164
1160
|
fullWidth?: boolean;
|
|
1165
1161
|
};
|
|
1166
|
-
}
|
|
1162
|
+
};
|
|
1163
|
+
declare function Footer({ legalLinks, department, socialLinks, className, color, hide, }: FooterProps): react_jsx_runtime.JSX.Element;
|
|
1167
1164
|
|
|
1168
1165
|
declare const Form: <TFieldValues extends FieldValues, TContext = any, TTransformedValues = TFieldValues>(props: react_hook_form.FormProviderProps<TFieldValues, TContext, TTransformedValues>) => React$1.JSX.Element;
|
|
1169
1166
|
declare const FormField: <TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>>({ ...props }: ControllerProps<TFieldValues, TName>) => react_jsx_runtime.JSX.Element;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import * as AccordionPrimitive from '@radix-ui/react-accordion';
|
|
3
3
|
import * as React$1 from 'react';
|
|
4
|
-
import React__default, { Dispatch, SetStateAction, Fragment, ComponentPropsWithoutRef,
|
|
4
|
+
import React__default, { Dispatch, SetStateAction, ComponentType, ReactNode, Fragment, ComponentPropsWithoutRef, ComponentProps, HTMLAttributes, FormEvent, RefObject } from 'react';
|
|
5
5
|
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
6
6
|
import * as class_variance_authority from 'class-variance-authority';
|
|
7
7
|
import { VariantProps } from 'class-variance-authority';
|
|
@@ -1116,44 +1116,40 @@ declare function ErrorMessage({ className, ...props }: {
|
|
|
1116
1116
|
className?: string;
|
|
1117
1117
|
} & Omit<Headless.DescriptionProps, 'as' | 'className'>): react_jsx_runtime.JSX.Element;
|
|
1118
1118
|
|
|
1119
|
+
type FooterLegalLink = {
|
|
1120
|
+
name: string;
|
|
1121
|
+
href: string;
|
|
1122
|
+
};
|
|
1123
|
+
type FooterSocialLinkItem = {
|
|
1124
|
+
name: string;
|
|
1125
|
+
href: string;
|
|
1126
|
+
icon: ComponentType<{
|
|
1127
|
+
className?: string;
|
|
1128
|
+
}>;
|
|
1129
|
+
};
|
|
1130
|
+
declare const footerColors: readonly ["white", "grey-600", "grey-800", "accent-200", "primary/grey", "light", "primary/white", "primary", "secondary", "accent"];
|
|
1131
|
+
type FooterColor = (typeof footerColors)[number];
|
|
1119
1132
|
declare function FooterSocialLink({ href, icon: Icon, children, }: {
|
|
1120
1133
|
href: string;
|
|
1121
|
-
icon:
|
|
1134
|
+
icon: ComponentType<{
|
|
1122
1135
|
className?: string;
|
|
1123
1136
|
}>;
|
|
1124
|
-
children:
|
|
1137
|
+
children: ReactNode;
|
|
1125
1138
|
}): react_jsx_runtime.JSX.Element;
|
|
1126
1139
|
declare function FooterAcknowledgement(): react_jsx_runtime.JSX.Element;
|
|
1127
1140
|
declare function FooterSmallPrint({ socialLinks, department, }: {
|
|
1128
|
-
socialLinks?:
|
|
1129
|
-
name: string;
|
|
1130
|
-
href: string;
|
|
1131
|
-
icon: React.ComponentType<{
|
|
1132
|
-
className?: string;
|
|
1133
|
-
}>;
|
|
1134
|
-
}>;
|
|
1141
|
+
socialLinks?: FooterSocialLinkItem[];
|
|
1135
1142
|
department?: string;
|
|
1136
1143
|
}): react_jsx_runtime.JSX.Element;
|
|
1137
1144
|
declare function FooterLegalLinks({ legalLinks }: {
|
|
1138
|
-
legalLinks:
|
|
1139
|
-
name: string;
|
|
1140
|
-
href: string;
|
|
1141
|
-
}>;
|
|
1145
|
+
legalLinks: FooterLegalLink[];
|
|
1142
1146
|
}): react_jsx_runtime.JSX.Element;
|
|
1143
|
-
|
|
1144
|
-
legalLinks:
|
|
1145
|
-
name: string;
|
|
1146
|
-
href: string;
|
|
1147
|
-
}>;
|
|
1147
|
+
type FooterProps = {
|
|
1148
|
+
legalLinks: FooterLegalLink[];
|
|
1148
1149
|
department?: string;
|
|
1149
|
-
socialLinks?:
|
|
1150
|
-
name: string;
|
|
1151
|
-
href: string;
|
|
1152
|
-
icon: React.ComponentType<{
|
|
1153
|
-
className?: string;
|
|
1154
|
-
}>;
|
|
1155
|
-
}>;
|
|
1150
|
+
socialLinks?: FooterSocialLinkItem[];
|
|
1156
1151
|
className?: string;
|
|
1152
|
+
color?: FooterColor;
|
|
1157
1153
|
hide?: {
|
|
1158
1154
|
paddingTop?: boolean;
|
|
1159
1155
|
topBorder?: boolean;
|
|
@@ -1163,7 +1159,8 @@ declare function Footer({ legalLinks, department, socialLinks, className, hide,
|
|
|
1163
1159
|
smallprint?: boolean;
|
|
1164
1160
|
fullWidth?: boolean;
|
|
1165
1161
|
};
|
|
1166
|
-
}
|
|
1162
|
+
};
|
|
1163
|
+
declare function Footer({ legalLinks, department, socialLinks, className, color, hide, }: FooterProps): react_jsx_runtime.JSX.Element;
|
|
1167
1164
|
|
|
1168
1165
|
declare const Form: <TFieldValues extends FieldValues, TContext = any, TTransformedValues = TFieldValues>(props: react_hook_form.FormProviderProps<TFieldValues, TContext, TTransformedValues>) => React$1.JSX.Element;
|
|
1169
1166
|
declare const FormField: <TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>>({ ...props }: ControllerProps<TFieldValues, TName>) => react_jsx_runtime.JSX.Element;
|
package/dist/index.js
CHANGED
|
@@ -18345,31 +18345,131 @@ function ErrorMessage({
|
|
|
18345
18345
|
}
|
|
18346
18346
|
);
|
|
18347
18347
|
}
|
|
18348
|
+
var footerVariants = cva(
|
|
18349
|
+
"bg-(--footer-bg) text-(--footer-text) [--footer-social-hover:var(--footer-social)]",
|
|
18350
|
+
{
|
|
18351
|
+
variants: {
|
|
18352
|
+
color: {
|
|
18353
|
+
"primary/grey": [
|
|
18354
|
+
"[--footer-bg:var(--color-primary-800)] [--footer-text:var(--color-white)] [--footer-muted:var(--color-primary-100)]",
|
|
18355
|
+
"dark:[--footer-bg:var(--color-grey-800)] dark:[--footer-text:var(--color-white)] dark:[--footer-muted:var(--color-grey-100)]",
|
|
18356
|
+
"[--footer-border:var(--color-white)]/15",
|
|
18357
|
+
"[--footer-link:var(--color-white)] [--footer-link-hover-bg:var(--color-white)]/10 [--footer-link-hover-text:var(--color-white)]",
|
|
18358
|
+
"[--footer-social:var(--color-white)] [--footer-social-hover-bg:var(--color-white)]/10"
|
|
18359
|
+
],
|
|
18360
|
+
light: [
|
|
18361
|
+
"[--footer-bg:var(--color-grey-200)] [--footer-text:var(--color-grey-800)] [--footer-muted:var(--color-grey-700)]",
|
|
18362
|
+
"dark:[--footer-bg:var(--color-grey-800)] dark:[--footer-text:var(--color-white)] dark:[--footer-muted:var(--color-grey-100)]",
|
|
18363
|
+
"[--footer-border:var(--color-grey-300)] dark:[--footer-border:var(--color-white)]/15",
|
|
18364
|
+
"[--footer-link:var(--color-grey-700)] [--footer-link-hover-bg:var(--color-grey-800)]/10 [--footer-link-hover-text:var(--color-grey-900)]",
|
|
18365
|
+
"dark:[--footer-link:var(--color-white)] dark:[--footer-link-hover-bg:var(--color-white)]/10 dark:[--footer-link-hover-text:var(--color-white)]",
|
|
18366
|
+
"[--footer-social:var(--color-grey-800)] [--footer-social-hover:var(--color-grey-900)] [--footer-social-hover-bg:var(--color-grey-800)]/10",
|
|
18367
|
+
"dark:[--footer-social:var(--color-white)] dark:[--footer-social-hover:var(--color-white)] dark:[--footer-social-hover-bg:var(--color-white)]/10"
|
|
18368
|
+
],
|
|
18369
|
+
"primary/white": [
|
|
18370
|
+
"[--footer-bg:var(--color-primary-800)] [--footer-text:var(--color-white)] [--footer-muted:var(--color-primary-100)]",
|
|
18371
|
+
"dark:[--footer-bg:var(--color-primary-800)] dark:[--footer-text:var(--color-white)] dark:[--footer-muted:var(--color-primary-100)]",
|
|
18372
|
+
"[--footer-border:var(--color-white)]/15",
|
|
18373
|
+
"[--footer-link:var(--color-white)] [--footer-link-hover-bg:var(--color-white)]/10 [--footer-link-hover-text:var(--color-white)]",
|
|
18374
|
+
"[--footer-social:var(--color-white)] [--footer-social-hover-bg:var(--color-white)]/10"
|
|
18375
|
+
],
|
|
18376
|
+
white: [
|
|
18377
|
+
"[--footer-bg:var(--color-white)] [--footer-text:var(--color-grey-800)] [--footer-muted:var(--color-grey-600)]",
|
|
18378
|
+
"dark:[--footer-bg:var(--color-grey-800)] dark:[--footer-text:var(--color-white)] dark:[--footer-muted:var(--color-grey-100)]",
|
|
18379
|
+
"[--footer-border:var(--color-grey-200)] dark:[--footer-border:var(--color-white)]/15",
|
|
18380
|
+
"[--footer-link:var(--color-grey-600)] [--footer-link-hover-bg:var(--color-primary-800)]/10 [--footer-link-hover-text:var(--color-grey-800)]",
|
|
18381
|
+
"dark:[--footer-link:var(--color-white)] dark:[--footer-link-hover-bg:var(--color-white)]/10 dark:[--footer-link-hover-text:var(--color-white)]",
|
|
18382
|
+
"[--footer-social:var(--color-grey-700)] [--footer-social-hover:var(--color-grey-900)] [--footer-social-hover-bg:var(--color-primary-800)]/10",
|
|
18383
|
+
"dark:[--footer-social:var(--color-white)] dark:[--footer-social-hover:var(--color-white)] dark:[--footer-social-hover-bg:var(--color-white)]/10"
|
|
18384
|
+
],
|
|
18385
|
+
"grey-600": [
|
|
18386
|
+
"[--footer-bg:var(--color-grey-600)] [--footer-text:var(--color-white)] [--footer-muted:var(--color-grey-100)]",
|
|
18387
|
+
"[--footer-border:var(--color-white)]/15",
|
|
18388
|
+
"[--footer-link:var(--color-white)] [--footer-link-hover-bg:var(--color-white)]/10 [--footer-link-hover-text:var(--color-white)]",
|
|
18389
|
+
"[--footer-social:var(--color-white)] [--footer-social-hover-bg:var(--color-white)]/10"
|
|
18390
|
+
],
|
|
18391
|
+
"grey-800": [
|
|
18392
|
+
"[--footer-bg:var(--color-grey-800)] [--footer-text:var(--color-white)] [--footer-muted:var(--color-grey-100)]",
|
|
18393
|
+
"[--footer-border:var(--color-white)]/15",
|
|
18394
|
+
"[--footer-link:var(--color-white)] [--footer-link-hover-bg:var(--color-white)]/10 [--footer-link-hover-text:var(--color-white)]",
|
|
18395
|
+
"[--footer-social:var(--color-white)] [--footer-social-hover-bg:var(--color-white)]/10"
|
|
18396
|
+
],
|
|
18397
|
+
"accent-200": [
|
|
18398
|
+
"[--footer-bg:var(--color-accent-200)] [--footer-text:var(--color-accent-800)] [--footer-muted:var(--color-accent-700)]",
|
|
18399
|
+
"dark:[--footer-bg:var(--color-accent-800)] dark:[--footer-text:var(--color-white)] dark:[--footer-muted:var(--color-accent-100)]",
|
|
18400
|
+
"[--footer-border:var(--color-accent-800)]/15 dark:[--footer-border:var(--color-white)]/15",
|
|
18401
|
+
"[--footer-link:var(--color-accent-800)] [--footer-link-hover-bg:var(--color-accent-800)]/10 [--footer-link-hover-text:var(--color-accent-800)]",
|
|
18402
|
+
"dark:[--footer-link:var(--color-white)] dark:[--footer-link-hover-bg:var(--color-white)]/10 dark:[--footer-link-hover-text:var(--color-white)]",
|
|
18403
|
+
"[--footer-social:var(--color-accent-800)] [--footer-social-hover-bg:var(--color-accent-800)]/10",
|
|
18404
|
+
"dark:[--footer-social:var(--color-white)] dark:[--footer-social-hover-bg:var(--color-white)]/10"
|
|
18405
|
+
],
|
|
18406
|
+
primary: [
|
|
18407
|
+
"[--footer-bg:var(--color-primary-800)] [--footer-text:var(--color-white)] [--footer-muted:var(--color-primary-100)]",
|
|
18408
|
+
"dark:[--footer-bg:var(--color-primary-800)] dark:[--footer-text:var(--color-white)] dark:[--footer-muted:var(--color-primary-100)]",
|
|
18409
|
+
"[--footer-border:var(--color-white)]/15",
|
|
18410
|
+
"[--footer-link:var(--color-white)] [--footer-link-hover-bg:var(--color-white)]/10 [--footer-link-hover-text:var(--color-white)]",
|
|
18411
|
+
"[--footer-social:var(--color-white)] [--footer-social-hover-bg:var(--color-white)]/10"
|
|
18412
|
+
],
|
|
18413
|
+
secondary: [
|
|
18414
|
+
"[--footer-bg:var(--color-primary-200)] [--footer-text:var(--color-primary-800)] [--footer-muted:var(--color-primary-700)]",
|
|
18415
|
+
"dark:[--footer-bg:var(--color-primary-900)] dark:[--footer-text:var(--color-white)] dark:[--footer-muted:var(--color-primary-100)]",
|
|
18416
|
+
"[--footer-border:var(--color-primary-800)]/15 dark:[--footer-border:var(--color-white)]/15",
|
|
18417
|
+
"[--footer-link:var(--color-primary-800)] [--footer-link-hover-bg:var(--color-primary-800)]/10 [--footer-link-hover-text:var(--color-primary-800)]",
|
|
18418
|
+
"dark:[--footer-link:var(--color-white)] dark:[--footer-link-hover-bg:var(--color-white)]/10 dark:[--footer-link-hover-text:var(--color-white)]",
|
|
18419
|
+
"[--footer-social:var(--color-primary-800)] [--footer-social-hover-bg:var(--color-primary-800)]/10",
|
|
18420
|
+
"dark:[--footer-social:var(--color-white)] dark:[--footer-social-hover-bg:var(--color-white)]/10"
|
|
18421
|
+
],
|
|
18422
|
+
accent: [
|
|
18423
|
+
"[--footer-bg:var(--color-accent-800)] [--footer-text:var(--color-white)] [--footer-muted:var(--color-accent-100)]",
|
|
18424
|
+
"dark:[--footer-bg:var(--color-accent-800)] dark:[--footer-text:var(--color-white)] dark:[--footer-muted:var(--color-accent-100)]",
|
|
18425
|
+
"[--footer-border:var(--color-white)]/15",
|
|
18426
|
+
"[--footer-link:var(--color-white)] [--footer-link-hover-bg:var(--color-white)]/10 [--footer-link-hover-text:var(--color-white)]",
|
|
18427
|
+
"[--footer-social:var(--color-white)] [--footer-social-hover-bg:var(--color-white)]/10"
|
|
18428
|
+
],
|
|
18429
|
+
danger: [
|
|
18430
|
+
"[--footer-bg:var(--color-danger-600)] [--footer-text:var(--color-white)] [--footer-muted:var(--color-danger-100)]",
|
|
18431
|
+
"dark:[--footer-bg:var(--color-danger-600)] dark:[--footer-text:var(--color-white)] dark:[--footer-muted:var(--color-danger-100)]",
|
|
18432
|
+
"[--footer-border:var(--color-white)]/15",
|
|
18433
|
+
"[--footer-link:var(--color-white)] [--footer-link-hover-bg:var(--color-white)]/10 [--footer-link-hover-text:var(--color-white)]",
|
|
18434
|
+
"[--footer-social:var(--color-white)] [--footer-social-hover-bg:var(--color-white)]/10"
|
|
18435
|
+
]
|
|
18436
|
+
}
|
|
18437
|
+
},
|
|
18438
|
+
defaultVariants: {
|
|
18439
|
+
color: "white"
|
|
18440
|
+
}
|
|
18441
|
+
}
|
|
18442
|
+
);
|
|
18443
|
+
var footerSocialLinkClassName = [
|
|
18444
|
+
"group",
|
|
18445
|
+
"[--btn-bg:var(--footer-social)]",
|
|
18446
|
+
"[--btn-hover-overlay:var(--footer-social-hover-bg)]",
|
|
18447
|
+
"[--btn-icon:var(--footer-social)]",
|
|
18448
|
+
"[--btn-transparent:transparent]",
|
|
18449
|
+
"data-hover:[--btn-bg:var(--footer-social-hover)]",
|
|
18450
|
+
"data-hover:[--btn-icon:var(--footer-social-hover)]",
|
|
18451
|
+
"data-active:[--btn-bg:var(--footer-social-hover)]",
|
|
18452
|
+
"data-active:[--btn-icon:var(--footer-social-hover)]"
|
|
18453
|
+
].join(" ");
|
|
18348
18454
|
function FooterSocialLink({
|
|
18349
18455
|
href,
|
|
18350
18456
|
icon: Icon2,
|
|
18351
18457
|
children
|
|
18352
18458
|
}) {
|
|
18353
|
-
return /* @__PURE__ */ jsxs(Button2, { href, variant: "ghost", size: "icon", className:
|
|
18459
|
+
return /* @__PURE__ */ jsxs(Button2, { href, variant: "ghost", size: "icon", className: footerSocialLinkClassName, children: [
|
|
18354
18460
|
/* @__PURE__ */ jsx("span", { className: "sr-only", children }),
|
|
18355
|
-
/* @__PURE__ */ jsx(
|
|
18356
|
-
Icon2,
|
|
18357
|
-
{
|
|
18358
|
-
"data-slot": "icon",
|
|
18359
|
-
className: "fill-grey-700 transition group-hover:fill-grey-900 dark:fill-grey-200 dark:group-hover:fill-white"
|
|
18360
|
-
}
|
|
18361
|
-
)
|
|
18461
|
+
/* @__PURE__ */ jsx(Icon2, { className: "fill-current", "data-slot": "icon" })
|
|
18362
18462
|
] });
|
|
18363
18463
|
}
|
|
18364
18464
|
function FooterAcknowledgement() {
|
|
18365
|
-
return /* @__PURE__ */ jsx("div", { className: "flex flex-row items-center gap-5 py-4", children: /* @__PURE__ */ jsx("p", { className: "text-center text-base text-pretty text-
|
|
18465
|
+
return /* @__PURE__ */ jsx("div", { className: "flex flex-row items-center gap-5 py-4", children: /* @__PURE__ */ jsx("p", { className: "text-center text-base text-pretty text-(--footer-text) lg:text-left", children: "We acknowledge the Traditional Custodians of the land on which we work and live, and pay our respects to Elders past, present and emerging." }) });
|
|
18366
18466
|
}
|
|
18367
18467
|
function FooterSmallPrint({
|
|
18368
18468
|
socialLinks,
|
|
18369
18469
|
department
|
|
18370
18470
|
}) {
|
|
18371
|
-
return /* @__PURE__ */ jsxs("div", { className: "flex flex-col items-center justify-between gap-5 pt-4 sm:flex-row
|
|
18372
|
-
/* @__PURE__ */ jsxs("p", { className: "text-center text-sm text-
|
|
18471
|
+
return /* @__PURE__ */ jsxs("div", { className: "flex flex-col items-center justify-between gap-5 pt-4 sm:flex-row", children: [
|
|
18472
|
+
/* @__PURE__ */ jsxs("p", { className: "text-center text-sm text-(--footer-text) lg:text-left", children: [
|
|
18373
18473
|
"\xA9 Copyright ",
|
|
18374
18474
|
(/* @__PURE__ */ new Date()).getFullYear(),
|
|
18375
18475
|
department && " ",
|
|
@@ -18392,7 +18492,7 @@ function FooterLegalLinks({ legalLinks }) {
|
|
|
18392
18492
|
Link13,
|
|
18393
18493
|
{
|
|
18394
18494
|
href: item.href,
|
|
18395
|
-
className: "-m-1 rounded p-1 text-
|
|
18495
|
+
className: "-m-1 rounded p-1 text-(--footer-link) underline underline-offset-4 hover:bg-(--footer-link-hover-bg) hover:text-(--footer-link-hover-text) hover:decoration-2",
|
|
18396
18496
|
children: item.name
|
|
18397
18497
|
},
|
|
18398
18498
|
item.name
|
|
@@ -18405,6 +18505,7 @@ function Footer({
|
|
|
18405
18505
|
department,
|
|
18406
18506
|
socialLinks,
|
|
18407
18507
|
className,
|
|
18508
|
+
color: color2 = "white",
|
|
18408
18509
|
hide = {
|
|
18409
18510
|
paddingTop: true,
|
|
18410
18511
|
topBorder: true,
|
|
@@ -18418,16 +18519,18 @@ function Footer({
|
|
|
18418
18519
|
return /* @__PURE__ */ jsxs(
|
|
18419
18520
|
"footer",
|
|
18420
18521
|
{
|
|
18522
|
+
"data-color": color2,
|
|
18421
18523
|
className: cn(
|
|
18422
18524
|
"mx-auto w-full pb-16",
|
|
18423
18525
|
hide.paddingTop ? "pt-0" : "pt-16",
|
|
18424
18526
|
hide.fullWidth ? "px-6 lg:px-12" : "px-4 lg:pr-0 lg:pl-8",
|
|
18527
|
+
footerVariants({ color: color2 }),
|
|
18425
18528
|
className
|
|
18426
18529
|
),
|
|
18427
18530
|
children: [
|
|
18428
|
-
hide.topBorder && /* @__PURE__ */ jsx(Separator4, { className: "mb-4 bg-
|
|
18531
|
+
hide.topBorder && /* @__PURE__ */ jsx(Separator4, { className: "mb-4 bg-(--footer-border)" }),
|
|
18429
18532
|
hide.acknowledgement && /* @__PURE__ */ jsx(FooterAcknowledgement, {}),
|
|
18430
|
-
hide.separator && /* @__PURE__ */ jsx(Separator4, { className: "my-4 bg-
|
|
18533
|
+
hide.separator && /* @__PURE__ */ jsx(Separator4, { className: "my-4 bg-(--footer-border)" }),
|
|
18431
18534
|
hide.legallinks && /* @__PURE__ */ jsx(FooterLegalLinks, { legalLinks }),
|
|
18432
18535
|
hide.smallprint && /* @__PURE__ */ jsx(FooterSmallPrint, { department, socialLinks })
|
|
18433
18536
|
]
|
|
@@ -18665,7 +18768,7 @@ function FormatToggle({ format, setFormat }) {
|
|
|
18665
18768
|
|
|
18666
18769
|
// package.json
|
|
18667
18770
|
var package_default = {
|
|
18668
|
-
version: "1.
|
|
18771
|
+
version: "1.110.2"};
|
|
18669
18772
|
var SluggerContext = React5__default.createContext(null);
|
|
18670
18773
|
function flattenText(nodes) {
|
|
18671
18774
|
if (nodes == null || typeof nodes === "boolean") return "";
|