@nswds/app 1.117.0 → 1.118.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 +618 -706
- package/dist/index.cjs +390 -305
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +7 -8
- package/dist/index.d.ts +7 -8
- package/dist/index.js +390 -305
- package/dist/index.js.map +1 -1
- package/dist/styles.css +618 -706
- package/dist/styles.css.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -1101,7 +1101,9 @@ declare function DynamicFavicon({ lightModeFavicon, darkModeFavicon }: DynamicFa
|
|
|
1101
1101
|
declare const ExpandableSearch: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLFormElement> & {
|
|
1102
1102
|
onAction?: (value: string) => void;
|
|
1103
1103
|
defaultValue?: string;
|
|
1104
|
-
} &
|
|
1104
|
+
} & VariantProps<(props?: ({
|
|
1105
|
+
variant?: "default" | "white" | "primary-800" | "primary-600" | "primary-400" | "primary-200" | "grey-800" | "grey-600" | "grey-400" | "grey-200" | "accent-800" | "accent-600" | "accent-400" | "accent-200" | null | undefined;
|
|
1106
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string> & React$1.RefAttributes<HTMLFormElement>>;
|
|
1105
1107
|
declare const ExpandableSearchField: React$1.ForwardRefExoticComponent<React$1.InputHTMLAttributes<HTMLInputElement> & React$1.RefAttributes<HTMLInputElement>>;
|
|
1106
1108
|
|
|
1107
1109
|
declare function Fieldset({ className, ...props }: {
|
|
@@ -1135,7 +1137,7 @@ type FooterSocialLinkItem = {
|
|
|
1135
1137
|
className?: string;
|
|
1136
1138
|
}>;
|
|
1137
1139
|
};
|
|
1138
|
-
declare const footerColors: readonly ["
|
|
1140
|
+
declare const footerColors: readonly ["primary-800", "primary-600", "primary-400", "primary-200", "grey-800", "grey-600", "grey-400", "grey-200", "accent-800", "accent-600", "accent-400", "accent-200", "white"];
|
|
1139
1141
|
type FooterColor = (typeof footerColors)[number];
|
|
1140
1142
|
declare function FooterSocialLink({ href, icon: Icon, children, }: {
|
|
1141
1143
|
href: string;
|
|
@@ -1226,7 +1228,7 @@ type HeadingProps = ({
|
|
|
1226
1228
|
declare function Heading({ className, trim, size, level, display, id: idProp, children, ...props }: HeadingProps): react_jsx_runtime.JSX.Element;
|
|
1227
1229
|
|
|
1228
1230
|
declare const heroBannerVariants$1: (props?: ({
|
|
1229
|
-
variant?: "white" | "
|
|
1231
|
+
variant?: "white" | "primary-800" | "primary-600" | "primary-400" | "primary-200" | "grey-800" | "grey-600" | "grey-400" | "grey-200" | "accent-800" | "accent-600" | "accent-400" | "accent-200" | null | undefined;
|
|
1230
1232
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1231
1233
|
declare const heroBannerContentAlignments: {
|
|
1232
1234
|
readonly center: {
|
|
@@ -1262,7 +1264,7 @@ interface HeroBannerSimpleProps extends VariantProps<typeof heroBannerVariants$1
|
|
|
1262
1264
|
declare function HeroBannerSimple({ variant, heading, subtitle, contentAlign, primaryButton, secondaryButton, }: HeroBannerSimpleProps): react_jsx_runtime.JSX.Element;
|
|
1263
1265
|
|
|
1264
1266
|
declare const heroBannerVariants: (props?: ({
|
|
1265
|
-
variant?: "white" | "
|
|
1267
|
+
variant?: "white" | "primary-800" | "primary-600" | "primary-400" | "primary-200" | "grey-800" | "grey-600" | "grey-400" | "grey-200" | "accent-800" | "accent-600" | "accent-400" | "accent-200" | null | undefined;
|
|
1266
1268
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1267
1269
|
declare const HERO_BANNER_SUPPORTING_IMAGE_COLUMN_SPANS: {
|
|
1268
1270
|
readonly 1: "lg:col-span-1";
|
|
@@ -5412,10 +5414,7 @@ declare function NavigationMenuViewport({ className, ...props }: React$1.Compone
|
|
|
5412
5414
|
declare function NavigationMenuLink({ className, ...props }: React$1.ComponentProps<typeof NavigationMenuPrimitive.Link>): react_jsx_runtime.JSX.Element;
|
|
5413
5415
|
declare function NavigationMenuIndicator({ className, ...props }: React$1.ComponentProps<typeof NavigationMenuPrimitive.Indicator>): react_jsx_runtime.JSX.Element;
|
|
5414
5416
|
|
|
5415
|
-
|
|
5416
|
-
variant?: "white" | "grey" | "primary" | "secondary" | "tertiary" | null | undefined;
|
|
5417
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
5418
|
-
type NavigationMenuMainNavigationVariant = NonNullable<VariantProps<typeof navigationMenuMainNavigationSurfaceStyles>['variant']>;
|
|
5417
|
+
type NavigationMenuMainNavigationVariant = 'primary-800' | 'primary-600' | 'primary-400' | 'primary-200' | 'grey-800' | 'grey-600' | 'grey-400' | 'grey-200' | 'accent-800' | 'accent-600' | 'accent-400' | 'accent-200' | 'white';
|
|
5419
5418
|
type NavigationMenuMainNavigationBorderPosition = 'none' | 'top' | 'bottom' | 'both';
|
|
5420
5419
|
interface NavigationMenuMainNavigationProps {
|
|
5421
5420
|
navigation: NavigationSection[];
|
package/dist/index.d.ts
CHANGED
|
@@ -1101,7 +1101,9 @@ declare function DynamicFavicon({ lightModeFavicon, darkModeFavicon }: DynamicFa
|
|
|
1101
1101
|
declare const ExpandableSearch: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLFormElement> & {
|
|
1102
1102
|
onAction?: (value: string) => void;
|
|
1103
1103
|
defaultValue?: string;
|
|
1104
|
-
} &
|
|
1104
|
+
} & VariantProps<(props?: ({
|
|
1105
|
+
variant?: "default" | "white" | "primary-800" | "primary-600" | "primary-400" | "primary-200" | "grey-800" | "grey-600" | "grey-400" | "grey-200" | "accent-800" | "accent-600" | "accent-400" | "accent-200" | null | undefined;
|
|
1106
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string> & React$1.RefAttributes<HTMLFormElement>>;
|
|
1105
1107
|
declare const ExpandableSearchField: React$1.ForwardRefExoticComponent<React$1.InputHTMLAttributes<HTMLInputElement> & React$1.RefAttributes<HTMLInputElement>>;
|
|
1106
1108
|
|
|
1107
1109
|
declare function Fieldset({ className, ...props }: {
|
|
@@ -1135,7 +1137,7 @@ type FooterSocialLinkItem = {
|
|
|
1135
1137
|
className?: string;
|
|
1136
1138
|
}>;
|
|
1137
1139
|
};
|
|
1138
|
-
declare const footerColors: readonly ["
|
|
1140
|
+
declare const footerColors: readonly ["primary-800", "primary-600", "primary-400", "primary-200", "grey-800", "grey-600", "grey-400", "grey-200", "accent-800", "accent-600", "accent-400", "accent-200", "white"];
|
|
1139
1141
|
type FooterColor = (typeof footerColors)[number];
|
|
1140
1142
|
declare function FooterSocialLink({ href, icon: Icon, children, }: {
|
|
1141
1143
|
href: string;
|
|
@@ -1226,7 +1228,7 @@ type HeadingProps = ({
|
|
|
1226
1228
|
declare function Heading({ className, trim, size, level, display, id: idProp, children, ...props }: HeadingProps): react_jsx_runtime.JSX.Element;
|
|
1227
1229
|
|
|
1228
1230
|
declare const heroBannerVariants$1: (props?: ({
|
|
1229
|
-
variant?: "white" | "
|
|
1231
|
+
variant?: "white" | "primary-800" | "primary-600" | "primary-400" | "primary-200" | "grey-800" | "grey-600" | "grey-400" | "grey-200" | "accent-800" | "accent-600" | "accent-400" | "accent-200" | null | undefined;
|
|
1230
1232
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1231
1233
|
declare const heroBannerContentAlignments: {
|
|
1232
1234
|
readonly center: {
|
|
@@ -1262,7 +1264,7 @@ interface HeroBannerSimpleProps extends VariantProps<typeof heroBannerVariants$1
|
|
|
1262
1264
|
declare function HeroBannerSimple({ variant, heading, subtitle, contentAlign, primaryButton, secondaryButton, }: HeroBannerSimpleProps): react_jsx_runtime.JSX.Element;
|
|
1263
1265
|
|
|
1264
1266
|
declare const heroBannerVariants: (props?: ({
|
|
1265
|
-
variant?: "white" | "
|
|
1267
|
+
variant?: "white" | "primary-800" | "primary-600" | "primary-400" | "primary-200" | "grey-800" | "grey-600" | "grey-400" | "grey-200" | "accent-800" | "accent-600" | "accent-400" | "accent-200" | null | undefined;
|
|
1266
1268
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1267
1269
|
declare const HERO_BANNER_SUPPORTING_IMAGE_COLUMN_SPANS: {
|
|
1268
1270
|
readonly 1: "lg:col-span-1";
|
|
@@ -5412,10 +5414,7 @@ declare function NavigationMenuViewport({ className, ...props }: React$1.Compone
|
|
|
5412
5414
|
declare function NavigationMenuLink({ className, ...props }: React$1.ComponentProps<typeof NavigationMenuPrimitive.Link>): react_jsx_runtime.JSX.Element;
|
|
5413
5415
|
declare function NavigationMenuIndicator({ className, ...props }: React$1.ComponentProps<typeof NavigationMenuPrimitive.Indicator>): react_jsx_runtime.JSX.Element;
|
|
5414
5416
|
|
|
5415
|
-
|
|
5416
|
-
variant?: "white" | "grey" | "primary" | "secondary" | "tertiary" | null | undefined;
|
|
5417
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
5418
|
-
type NavigationMenuMainNavigationVariant = NonNullable<VariantProps<typeof navigationMenuMainNavigationSurfaceStyles>['variant']>;
|
|
5417
|
+
type NavigationMenuMainNavigationVariant = 'primary-800' | 'primary-600' | 'primary-400' | 'primary-200' | 'grey-800' | 'grey-600' | 'grey-400' | 'grey-200' | 'accent-800' | 'accent-600' | 'accent-400' | 'accent-200' | 'white';
|
|
5419
5418
|
type NavigationMenuMainNavigationBorderPosition = 'none' | 'top' | 'bottom' | 'both';
|
|
5420
5419
|
interface NavigationMenuMainNavigationProps {
|
|
5421
5420
|
navigation: NavigationSection[];
|