@appquality/unguess-design-system 2.10.1 → 2.10.4

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.
@@ -1,5 +1,12 @@
1
1
  /// <reference types="react" />
2
2
  import { DrawerArgs } from "./_types";
3
+ /**
4
+ * A Drawer is a container for supplementary content that is anchored to the edge of a page.
5
+ * <hr>
6
+ * Used for this:
7
+ - To display information or actions that are supplementary to the screen’s primary content
8
+ - To display a list of actions that affect the screen’s content, such as filtering data
9
+ */
3
10
  declare const Drawer: {
4
11
  (props: DrawerArgs): JSX.Element;
5
12
  Header: import("react").ForwardRefExoticComponent<import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@appquality/unguess-design-system",
3
- "version": "2.10.1",
3
+ "version": "2.10.4",
4
4
  "dependencies": {
5
5
  "@zendeskgarden/css-bedrock": "^9.0.0",
6
6
  "@zendeskgarden/react-accordions": "^8.49.0",
@@ -1,30 +0,0 @@
1
- import { IDrawerModalProps } from "@zendeskgarden/react-modals";
2
- import { KeyboardEvent, MouseEvent } from "react";
3
- export interface DrawerArgs extends IDrawerModalProps {
4
- /**
5
- * Opens the modal
6
- */
7
- isOpen?: boolean;
8
- /**
9
- * Passes HTML attributes to the backdrop element
10
- */
11
- backdropProps?: any;
12
- /**
13
- * Handles close actions. Can be triggered from the backdrop and from the close icon.
14
- *
15
- * @param {Object} event The DOM event that triggered the close action
16
- */
17
- onClose?: (event: KeyboardEvent | MouseEvent) => void;
18
- /**
19
- * Defines the DOM element that the modal will attatch to
20
- */
21
- appendToNode?: Element;
22
- /**
23
- * Directs keyboard focus to the modal on mount
24
- */
25
- focusOnMount?: boolean;
26
- /**
27
- * Returns keyboard focus to the element that triggered the modal
28
- */
29
- restoreFocus?: boolean;
30
- }
@@ -1,11 +0,0 @@
1
- /// <reference types="react" />
2
- import { DrawerArgs } from "./_types";
3
- declare const Drawer: {
4
- (props: DrawerArgs): JSX.Element;
5
- Header: import("react").ForwardRefExoticComponent<import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
6
- Body: import("react").ForwardRefExoticComponent<import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
7
- Footer: import("react").ForwardRefExoticComponent<import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
8
- FooterItem: import("react").ForwardRefExoticComponent<import("react").HTMLAttributes<HTMLSpanElement> & import("react").RefAttributes<HTMLSpanElement>>;
9
- Close: import("react").ForwardRefExoticComponent<import("react").ButtonHTMLAttributes<HTMLButtonElement> & import("react").RefAttributes<HTMLButtonElement>>;
10
- };
11
- export { Drawer };
@@ -1,13 +0,0 @@
1
- /// <reference types="react" />
2
- import { DrawerArgs } from "./_types";
3
- import { ComponentMeta, Story } from "@storybook/react";
4
- export declare const Default: Story<DrawerArgs>;
5
- declare const _default: ComponentMeta<{
6
- (props: DrawerArgs): JSX.Element;
7
- Header: import("react").ForwardRefExoticComponent<import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
8
- Body: import("react").ForwardRefExoticComponent<import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
9
- Footer: import("react").ForwardRefExoticComponent<import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
10
- FooterItem: import("react").ForwardRefExoticComponent<import("react").HTMLAttributes<HTMLSpanElement> & import("react").RefAttributes<HTMLSpanElement>>;
11
- Close: import("react").ForwardRefExoticComponent<import("react").ButtonHTMLAttributes<HTMLButtonElement> & import("react").RefAttributes<HTMLButtonElement>>;
12
- }>;
13
- export default _default;
@@ -1,2 +0,0 @@
1
- /// <reference types="react" />
2
- export declare const LoremIpsum: () => JSX.Element;