@appquality/unguess-design-system 2.12.65 → 2.12.67

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,10 +1,11 @@
1
1
  /// <reference types="react" />
2
+ import { ItemArgs } from "../item/_types";
2
3
  export interface CounterMultiselectArgs {
3
- options: {
4
- id: number | string;
4
+ options: (Omit<ItemArgs, "value"> & {
5
+ itemId: number | string;
5
6
  label: string;
6
7
  selected?: boolean;
7
- }[];
8
+ })[];
8
9
  isCompact?: boolean;
9
10
  label?: React.ReactNode;
10
11
  onChange?: (selectedItems: CounterMultiselectArgs["options"]) => void;
@@ -1,8 +1,8 @@
1
1
  import { MenuArgs, NextItemArgs, PreviousItemArgs } from "./_types";
2
2
  import { HTMLAttributes, LiHTMLAttributes } from "react";
3
3
  /**
4
- * A Menu is a wrapper for items elements
5
- **/
4
+ * A Menu is a wrapper for items elements
5
+ **/
6
6
  declare const Menu: (props: MenuArgs) => JSX.Element;
7
7
  declare const PreviousItem: (props: PreviousItemArgs) => JSX.Element;
8
8
  declare const Separator: (props: LiHTMLAttributes<HTMLLIElement>) => JSX.Element;
@@ -11,4 +11,4 @@ declare const ItemMeta: (props: HTMLAttributes<HTMLSpanElement>) => JSX.Element;
11
11
  declare const MediaBody: (props: HTMLAttributes<HTMLDivElement>) => JSX.Element;
12
12
  declare const MediaFigure: (props: HTMLAttributes<Element>) => JSX.Element;
13
13
  declare const MediaItem: (props: LiHTMLAttributes<HTMLLIElement>) => JSX.Element;
14
- export { Menu, PreviousItem, Separator, NextItem, ItemMeta, MediaBody, MediaFigure, MediaItem };
14
+ export { Menu, PreviousItem, Separator, NextItem, ItemMeta, MediaBody, MediaFigure, MediaItem, };
@@ -1,7 +1,9 @@
1
+ /// <reference types="react" />
1
2
  import { LabelArgs } from "./_types";
3
+ export declare const StyledLabel: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("@zendeskgarden/react-forms").ILabelProps & import("react").RefAttributes<HTMLLabelElement>>, any, {}, never>;
2
4
  /**
3
- * A Label is used to specify a title for an input.
4
- * <hr>
5
- **/
5
+ * A Label is used to specify a title for an input.
6
+ * <hr>
7
+ **/
6
8
  declare const Label: (props: LabelArgs) => JSX.Element;
7
9
  export { Label };
@@ -1,9 +1,3 @@
1
- interface VideowithAudio extends HTMLVideoElement {
2
- mozHasAudio?: boolean;
3
- webkitAudioDecodedByteCount?: number;
4
- audioTracks?: any[];
5
- }
6
1
  export declare const AudioButton: (props: {
7
- videoRef: VideowithAudio | null;
2
+ videoRef: HTMLVideoElement | null;
8
3
  }) => JSX.Element;
9
- export {};
@@ -36,6 +36,11 @@ export interface UserMenuArgs extends LiHTMLAttributes<HTMLLIElement> {
36
36
  };
37
37
  currentLanguage: string;
38
38
  logoutTitle?: string;
39
+ privacy: {
40
+ title?: string;
41
+ url?: string;
42
+ };
43
+ privacyTitle?: string;
39
44
  onSelectLanguage: (lang: string) => void;
40
45
  onFeedbackClick?: () => void;
41
46
  onToggleChat: () => void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@appquality/unguess-design-system",
3
- "version": "2.12.65",
3
+ "version": "2.12.67",
4
4
  "dependencies": {
5
5
  "@nivo/bar": "^0.80.0",
6
6
  "@nivo/bullet": "^0.80.0",