@nswds/app 1.118.0 → 1.119.1
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 +130 -577
- package/dist/index.cjs +227 -147
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +10 -4
- package/dist/index.d.ts +10 -4
- package/dist/index.js +227 -147
- package/dist/index.js.map +1 -1
- package/dist/styles.css +130 -577
- package/dist/styles.css.map +1 -1
- package/package.json +2 -2
package/dist/index.d.cts
CHANGED
|
@@ -1098,13 +1098,19 @@ interface DynamicFaviconProps {
|
|
|
1098
1098
|
}
|
|
1099
1099
|
declare function DynamicFavicon({ lightModeFavicon, darkModeFavicon }: DynamicFaviconProps): null;
|
|
1100
1100
|
|
|
1101
|
-
|
|
1101
|
+
type ExpandableSearchButtonProps = Omit<React$1.ComponentPropsWithoutRef<'button'>, 'type'> & {
|
|
1102
|
+
[key: `data-${string}`]: string | number | boolean | undefined;
|
|
1103
|
+
};
|
|
1104
|
+
declare const ExpandableSearch: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.FormHTMLAttributes<HTMLFormElement>, HTMLFormElement>, "ref"> & {
|
|
1102
1105
|
onAction?: (value: string) => void;
|
|
1103
1106
|
defaultValue?: string;
|
|
1104
1107
|
} & VariantProps<(props?: ({
|
|
1105
1108
|
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
1109
|
} & class_variance_authority_types.ClassProp) | undefined) => string> & React$1.RefAttributes<HTMLFormElement>>;
|
|
1107
|
-
declare const ExpandableSearchField: React$1.ForwardRefExoticComponent<React$1.InputHTMLAttributes<HTMLInputElement> &
|
|
1110
|
+
declare const ExpandableSearchField: React$1.ForwardRefExoticComponent<React$1.InputHTMLAttributes<HTMLInputElement> & {
|
|
1111
|
+
buttonLabel?: string;
|
|
1112
|
+
buttonProps?: ExpandableSearchButtonProps;
|
|
1113
|
+
} & React$1.RefAttributes<HTMLInputElement>>;
|
|
1108
1114
|
|
|
1109
1115
|
declare function Fieldset({ className, ...props }: {
|
|
1110
1116
|
className?: string;
|
|
@@ -5421,6 +5427,7 @@ interface NavigationMenuMainNavigationProps {
|
|
|
5421
5427
|
id?: string;
|
|
5422
5428
|
variant?: NavigationMenuMainNavigationVariant;
|
|
5423
5429
|
borderPosition?: NavigationMenuMainNavigationBorderPosition;
|
|
5430
|
+
shadow?: boolean;
|
|
5424
5431
|
className?: string;
|
|
5425
5432
|
responsive?: boolean;
|
|
5426
5433
|
sticky?: boolean;
|
|
@@ -5430,7 +5437,6 @@ interface NavigationMenuMainNavigationProps {
|
|
|
5430
5437
|
borderClassName?: string;
|
|
5431
5438
|
triggerClassName?: string;
|
|
5432
5439
|
triggerActiveClassName?: string;
|
|
5433
|
-
triggerActiveBorderClassName?: string;
|
|
5434
5440
|
featuredLinkClassName?: string;
|
|
5435
5441
|
sectionLinkClassName?: string;
|
|
5436
5442
|
sectionLinkTitleClassName?: string;
|
|
@@ -5445,7 +5451,7 @@ interface NavigationMenuMainNavigationProps {
|
|
|
5445
5451
|
*/
|
|
5446
5452
|
showBottomBorder?: boolean;
|
|
5447
5453
|
}
|
|
5448
|
-
declare function NavigationMenuMainNavigation({ navigation, id, variant, borderPosition, className, responsive, sticky, fullBleed, backgroundClassName, dropdownBackgroundClassName, borderClassName, triggerClassName, triggerActiveClassName,
|
|
5454
|
+
declare function NavigationMenuMainNavigation({ navigation, id, variant, borderPosition, shadow, className, responsive, sticky, fullBleed, backgroundClassName, dropdownBackgroundClassName, borderClassName, triggerClassName, triggerActiveClassName, featuredLinkClassName, sectionLinkClassName, sectionLinkTitleClassName, showTopBorder, showBottomBorder, }: NavigationMenuMainNavigationProps): react_jsx_runtime.JSX.Element;
|
|
5449
5455
|
|
|
5450
5456
|
declare function NotFound(): react_jsx_runtime.JSX.Element;
|
|
5451
5457
|
|
package/dist/index.d.ts
CHANGED
|
@@ -1098,13 +1098,19 @@ interface DynamicFaviconProps {
|
|
|
1098
1098
|
}
|
|
1099
1099
|
declare function DynamicFavicon({ lightModeFavicon, darkModeFavicon }: DynamicFaviconProps): null;
|
|
1100
1100
|
|
|
1101
|
-
|
|
1101
|
+
type ExpandableSearchButtonProps = Omit<React$1.ComponentPropsWithoutRef<'button'>, 'type'> & {
|
|
1102
|
+
[key: `data-${string}`]: string | number | boolean | undefined;
|
|
1103
|
+
};
|
|
1104
|
+
declare const ExpandableSearch: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.FormHTMLAttributes<HTMLFormElement>, HTMLFormElement>, "ref"> & {
|
|
1102
1105
|
onAction?: (value: string) => void;
|
|
1103
1106
|
defaultValue?: string;
|
|
1104
1107
|
} & VariantProps<(props?: ({
|
|
1105
1108
|
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
1109
|
} & class_variance_authority_types.ClassProp) | undefined) => string> & React$1.RefAttributes<HTMLFormElement>>;
|
|
1107
|
-
declare const ExpandableSearchField: React$1.ForwardRefExoticComponent<React$1.InputHTMLAttributes<HTMLInputElement> &
|
|
1110
|
+
declare const ExpandableSearchField: React$1.ForwardRefExoticComponent<React$1.InputHTMLAttributes<HTMLInputElement> & {
|
|
1111
|
+
buttonLabel?: string;
|
|
1112
|
+
buttonProps?: ExpandableSearchButtonProps;
|
|
1113
|
+
} & React$1.RefAttributes<HTMLInputElement>>;
|
|
1108
1114
|
|
|
1109
1115
|
declare function Fieldset({ className, ...props }: {
|
|
1110
1116
|
className?: string;
|
|
@@ -5421,6 +5427,7 @@ interface NavigationMenuMainNavigationProps {
|
|
|
5421
5427
|
id?: string;
|
|
5422
5428
|
variant?: NavigationMenuMainNavigationVariant;
|
|
5423
5429
|
borderPosition?: NavigationMenuMainNavigationBorderPosition;
|
|
5430
|
+
shadow?: boolean;
|
|
5424
5431
|
className?: string;
|
|
5425
5432
|
responsive?: boolean;
|
|
5426
5433
|
sticky?: boolean;
|
|
@@ -5430,7 +5437,6 @@ interface NavigationMenuMainNavigationProps {
|
|
|
5430
5437
|
borderClassName?: string;
|
|
5431
5438
|
triggerClassName?: string;
|
|
5432
5439
|
triggerActiveClassName?: string;
|
|
5433
|
-
triggerActiveBorderClassName?: string;
|
|
5434
5440
|
featuredLinkClassName?: string;
|
|
5435
5441
|
sectionLinkClassName?: string;
|
|
5436
5442
|
sectionLinkTitleClassName?: string;
|
|
@@ -5445,7 +5451,7 @@ interface NavigationMenuMainNavigationProps {
|
|
|
5445
5451
|
*/
|
|
5446
5452
|
showBottomBorder?: boolean;
|
|
5447
5453
|
}
|
|
5448
|
-
declare function NavigationMenuMainNavigation({ navigation, id, variant, borderPosition, className, responsive, sticky, fullBleed, backgroundClassName, dropdownBackgroundClassName, borderClassName, triggerClassName, triggerActiveClassName,
|
|
5454
|
+
declare function NavigationMenuMainNavigation({ navigation, id, variant, borderPosition, shadow, className, responsive, sticky, fullBleed, backgroundClassName, dropdownBackgroundClassName, borderClassName, triggerClassName, triggerActiveClassName, featuredLinkClassName, sectionLinkClassName, sectionLinkTitleClassName, showTopBorder, showBottomBorder, }: NavigationMenuMainNavigationProps): react_jsx_runtime.JSX.Element;
|
|
5449
5455
|
|
|
5450
5456
|
declare function NotFound(): react_jsx_runtime.JSX.Element;
|
|
5451
5457
|
|