@newtonschool/grauity 2.0.3-beta.4 → 2.0.3-beta.7
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/index.d.ts +7 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/main.cjs +1 -1
- package/dist/main.cjs.map +1 -1
- package/dist/module.mjs +1 -1
- package/dist/module.mjs.map +1 -1
- package/dist/ui/elements/DropdownMenu/DropdownMenu.d.ts.map +1 -1
- package/dist/ui/elements/DropdownMenu/DropdownMenu.styles.d.ts +2 -1
- package/dist/ui/elements/DropdownMenu/DropdownMenu.styles.d.ts.map +1 -1
- package/dist/ui/elements/DropdownMenu/DropdownTrigger.d.ts +2 -1
- package/dist/ui/elements/DropdownMenu/DropdownTrigger.d.ts.map +1 -1
- package/dist/ui/elements/Overlay/Overlay.d.ts.map +1 -1
- package/dist/ui/elements/Overlay/types.d.ts +5 -0
- package/dist/ui/elements/Overlay/types.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DropdownMenu.d.ts","sourceRoot":"","sources":["../../../../ui/elements/DropdownMenu/DropdownMenu.tsx"],"names":[],"mappings":"AAOA,OAAO,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAG5C,QAAA,MAAM,YAAY,UAAW,iBAAiB,
|
|
1
|
+
{"version":3,"file":"DropdownMenu.d.ts","sourceRoot":"","sources":["../../../../ui/elements/DropdownMenu/DropdownMenu.tsx"],"names":[],"mappings":"AAOA,OAAO,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAG5C,QAAA,MAAM,YAAY,UAAW,iBAAiB,gBA+C7C,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
|
@@ -14,5 +14,6 @@ export declare const StyledDropdownMenuOptionContent: import("styled-components/
|
|
|
14
14
|
export declare const StyledDropdownMenuOptionLabel: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
15
15
|
export declare const StyledDropdownMenuOptionDescription: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, StyledDropdownMenuOptionDescriptionProps>> & string;
|
|
16
16
|
export declare const StyledDropdownMenuFooter: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
17
|
-
export declare const StyledDropdownDefaultTrigger: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<
|
|
17
|
+
export declare const StyledDropdownDefaultTrigger: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
18
|
+
export declare const StyledDropdownDefaultTriggerButton: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<Omit<import("../Button").ButtonProps, "ref"> & import("react").RefAttributes<HTMLButtonElement>, never>> & string & Omit<import("react").ForwardRefExoticComponent<Omit<import("../Button").ButtonProps, "ref"> & import("react").RefAttributes<HTMLButtonElement>>, keyof import("react").Component<any, {}, any>>;
|
|
18
19
|
//# sourceMappingURL=DropdownMenu.styles.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DropdownMenu.styles.d.ts","sourceRoot":"","sources":["../../../../ui/elements/DropdownMenu/DropdownMenu.styles.ts"],"names":[],"mappings":";AAKA,OAAO,EACH,wCAAwC,EACxC,uBAAuB,EAC1B,MAAM,SAAS,CAAC;AAEjB,eAAO,MAAM,aAAa,6NAAe,CAAC;AAE1C,eAAO,MAAM,kBAAkB,yaAiB9B,CAAC;AAEF,eAAO,MAAM,wBAAwB,6NAWpC,CAA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AM,4BAA4B,6NAKxC,CAAC;AAEF,eAAO,MAAM,kCAAkC,6ZAY9C,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DropdownTrigger.d.ts","sourceRoot":"","sources":["../../../../ui/elements/DropdownMenu/DropdownTrigger.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"DropdownTrigger.d.ts","sourceRoot":"","sources":["../../../../ui/elements/DropdownMenu/DropdownTrigger.tsx"],"names":[],"mappings":"AASA,QAAA,MAAM,eAAe;;;iBAiBpB,CAAC;AAEF,eAAe,eAAe,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Overlay.d.ts","sourceRoot":"","sources":["../../../../ui/elements/Overlay/Overlay.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAwC,MAAM,OAAO,CAAC;AAK7D,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAEvC,QAAA,MAAM,OAAO,
|
|
1
|
+
{"version":3,"file":"Overlay.d.ts","sourceRoot":"","sources":["../../../../ui/elements/Overlay/Overlay.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAwC,MAAM,OAAO,CAAC;AAK7D,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAEvC,QAAA,MAAM,OAAO,qFA+EX,CAAC;AAEH,eAAe,OAAO,CAAC"}
|
|
@@ -50,6 +50,11 @@ export interface OverlayProps {
|
|
|
50
50
|
top?: number;
|
|
51
51
|
left?: number;
|
|
52
52
|
};
|
|
53
|
+
/**
|
|
54
|
+
* Should focus on the first element in the overlay
|
|
55
|
+
* @default true
|
|
56
|
+
*/
|
|
57
|
+
shouldFocusOnFirstElement?: boolean;
|
|
53
58
|
}
|
|
54
59
|
export interface StyledOverlayProps extends StyledDivProps {
|
|
55
60
|
$shouldTintOverlay?: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../ui/elements/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