@appquality/unguess-design-system 3.1.72 → 3.1.75

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.
@@ -47,4 +47,20 @@ export interface UserMenuArgs extends LiHTMLAttributes<HTMLLIElement> {
47
47
  onLogout: () => void;
48
48
  onCopyEmail?: () => void;
49
49
  chatSupport?: boolean;
50
+ settingValue?: number;
51
+ i18n?: {
52
+ settingsTitle?: string;
53
+ settingsIntroText?: string;
54
+ settingsOutroText?: {
55
+ paragraph_1: string;
56
+ paragraph_2?: string;
57
+ paragraph_3?: string;
58
+ };
59
+ settingsToggle?: {
60
+ title: string;
61
+ on: string;
62
+ off: string;
63
+ };
64
+ };
65
+ onSetSettings: (value: number) => void;
50
66
  }
@@ -1,2 +1,2 @@
1
- import { UserProfileProps } from "./_types";
1
+ import { UserProfileProps } from "../_types";
2
2
  export declare const UserContainer: (props: UserProfileProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import { MenuItemProps } from "./_types";
2
+ import { MenuItemProps } from "../_types";
3
3
  export interface IStyledItemProps {
4
4
  isFocused?: boolean;
5
5
  isCompact?: boolean;
@@ -1,2 +1,2 @@
1
- import { ButtonArgs } from "../buttons/button/_types";
1
+ import { ButtonArgs } from "../../buttons/button/_types";
2
2
  export declare const PreviousButton: (props: ButtonArgs) => import("react/jsx-runtime").JSX.Element;
@@ -1,4 +1,4 @@
1
- import { MenuItemProps } from "./_types";
1
+ import { MenuItemProps } from "../_types";
2
2
  interface HelpItemProps extends MenuItemProps {
3
3
  title: string;
4
4
  value: string;
@@ -1,4 +1,4 @@
1
- import { Language, MenuItemProps } from "./_types";
1
+ import { Language, MenuItemProps } from "../_types";
2
2
  interface LanguagesProps extends MenuItemProps {
3
3
  title: string;
4
4
  value: string;
@@ -0,0 +1,21 @@
1
+ import { MenuItemProps } from "../_types";
2
+ interface SettingsProps extends MenuItemProps {
3
+ settingValue?: number;
4
+ onSetSettings?: (value: number) => void;
5
+ i18n?: {
6
+ settingsTitle?: string;
7
+ settingsIntroText?: string;
8
+ settingsOutroText?: {
9
+ paragraph_1?: string;
10
+ paragraph_2?: string;
11
+ paragraph_3?: string;
12
+ };
13
+ settingsToggle?: {
14
+ title: string;
15
+ on: string;
16
+ off: string;
17
+ };
18
+ };
19
+ }
20
+ export declare const SettingsItem: (props: SettingsProps) => import("react/jsx-runtime").JSX.Element;
21
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@appquality/unguess-design-system",
3
- "version": "3.1.72",
3
+ "version": "3.1.75",
4
4
  "description": "",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",