@gympass/yoga 7.88.2 → 7.89.0
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/cjs/NavigationMenu/NavigationMenu.theme.js +80 -0
- package/cjs/NavigationMenu/index.js +35 -0
- package/cjs/NavigationMenu/web/BottomItems/BottomItem.js +165 -0
- package/cjs/NavigationMenu/web/BottomItems/BottomItems.js +66 -0
- package/cjs/NavigationMenu/web/BottomItems/index.js +41 -0
- package/cjs/NavigationMenu/web/Item/Item.js +55 -0
- package/cjs/NavigationMenu/web/Item/Subitem.js +39 -0
- package/cjs/NavigationMenu/web/Item/index.js +41 -0
- package/cjs/NavigationMenu/web/Item/styles.js +188 -0
- package/cjs/NavigationMenu/web/Menu/Menu.js +109 -0
- package/cjs/NavigationMenu/web/Menu/index.js +35 -0
- package/cjs/NavigationMenu/web/NavigationMenu.js +155 -0
- package/cjs/NavigationMenu/web/NavigationMenu.test.js +178 -0
- package/cjs/NavigationMenu/web/Switcher/Actions.js +72 -0
- package/cjs/NavigationMenu/web/Switcher/Switcher.js +105 -0
- package/cjs/NavigationMenu/web/Switcher/index.js +35 -0
- package/cjs/NavigationMenu/web/index.js +35 -0
- package/cjs/Theme/theme/componentThemes.js +3 -1
- package/cjs/index.js +3 -0
- package/cjs/yoga.d.js +1 -0
- package/esm/NavigationMenu/NavigationMenu.theme.js +60 -0
- package/esm/NavigationMenu/index.js +5 -0
- package/esm/NavigationMenu/web/BottomItems/BottomItem.js +135 -0
- package/esm/NavigationMenu/web/BottomItems/BottomItems.js +36 -0
- package/esm/NavigationMenu/web/BottomItems/index.js +6 -0
- package/esm/NavigationMenu/web/Item/Item.js +25 -0
- package/esm/NavigationMenu/web/Item/Subitem.js +9 -0
- package/esm/NavigationMenu/web/Item/index.js +6 -0
- package/esm/NavigationMenu/web/Item/styles.js +151 -0
- package/esm/NavigationMenu/web/Menu/Menu.js +79 -0
- package/esm/NavigationMenu/web/Menu/index.js +5 -0
- package/esm/NavigationMenu/web/NavigationMenu.js +125 -0
- package/esm/NavigationMenu/web/NavigationMenu.test.js +155 -0
- package/esm/NavigationMenu/web/Switcher/Actions.js +42 -0
- package/esm/NavigationMenu/web/Switcher/Switcher.js +75 -0
- package/esm/NavigationMenu/web/Switcher/index.js +5 -0
- package/esm/NavigationMenu/web/index.js +5 -0
- package/esm/Theme/theme/componentThemes.js +3 -1
- package/esm/index.js +2 -0
- package/esm/yoga.d.js +0 -0
- package/package.json +2 -2
- package/typings/Icon-4557ae6b.d.ts +3 -0
- package/typings/NavigationMenu/NavigationMenu.theme.d.ts +73 -0
- package/typings/NavigationMenu/index.d.ts +7 -0
- package/typings/NavigationMenu/web/BottomItems/index.d.ts +16 -0
- package/typings/NavigationMenu/web/Item/index.d.ts +23 -0
- package/typings/NavigationMenu/web/Item/styles.d.ts +6 -0
- package/typings/NavigationMenu/web/Menu/index.d.ts +11 -0
- package/typings/NavigationMenu/web/Switcher/index.d.ts +6 -0
- package/typings/NavigationMenu/web/index.d.ts +7 -0
- package/typings/NavigationMenu-7f690c1e.d.ts +55 -0
- package/typings/Switcher-cab05b9f.d.ts +18 -0
- package/typings/index.d.ts +10 -9
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
declare const NavigationMenu: ({ colors, fontWeights, radii, spacing }: {
|
|
2
|
+
colors: any;
|
|
3
|
+
fontWeights: any;
|
|
4
|
+
radii: any;
|
|
5
|
+
spacing: any;
|
|
6
|
+
}) => {
|
|
7
|
+
avatar: {
|
|
8
|
+
height: any;
|
|
9
|
+
width: any;
|
|
10
|
+
};
|
|
11
|
+
backgroundColor: {
|
|
12
|
+
default: any;
|
|
13
|
+
hover: any;
|
|
14
|
+
stamina: any;
|
|
15
|
+
yoga: any;
|
|
16
|
+
white: any;
|
|
17
|
+
};
|
|
18
|
+
border: {
|
|
19
|
+
color: {
|
|
20
|
+
default: any;
|
|
21
|
+
white: any;
|
|
22
|
+
};
|
|
23
|
+
radius: {
|
|
24
|
+
default: any;
|
|
25
|
+
circle: any;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
font: {
|
|
29
|
+
color: {
|
|
30
|
+
default: any;
|
|
31
|
+
active: any;
|
|
32
|
+
hover: any;
|
|
33
|
+
};
|
|
34
|
+
weight: {
|
|
35
|
+
medium: any;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
gap: {
|
|
39
|
+
xxxsmall: any;
|
|
40
|
+
xxsmall: any;
|
|
41
|
+
medium: any;
|
|
42
|
+
};
|
|
43
|
+
height: {
|
|
44
|
+
xxlarge: any;
|
|
45
|
+
xlarge: any;
|
|
46
|
+
};
|
|
47
|
+
icon: {
|
|
48
|
+
height: any;
|
|
49
|
+
width: any;
|
|
50
|
+
fill: {
|
|
51
|
+
default: any;
|
|
52
|
+
active: any;
|
|
53
|
+
hover: any;
|
|
54
|
+
};
|
|
55
|
+
};
|
|
56
|
+
padding: {
|
|
57
|
+
xxxsmall: any;
|
|
58
|
+
xxsmall: any;
|
|
59
|
+
xsmall: any;
|
|
60
|
+
small: any;
|
|
61
|
+
};
|
|
62
|
+
tag: {
|
|
63
|
+
color: {
|
|
64
|
+
default: any;
|
|
65
|
+
};
|
|
66
|
+
};
|
|
67
|
+
width: {
|
|
68
|
+
xxlarge: any;
|
|
69
|
+
xlarge: any;
|
|
70
|
+
};
|
|
71
|
+
};
|
|
72
|
+
|
|
73
|
+
export { NavigationMenu as default };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
|
|
3
|
+
declare type BottomItemsProps = {
|
|
4
|
+
children: React.ReactNode;
|
|
5
|
+
};
|
|
6
|
+
declare const BottomItems: ({ children }: BottomItemsProps) => JSX.Element;
|
|
7
|
+
|
|
8
|
+
declare type BottomItemProps = {
|
|
9
|
+
active?: boolean;
|
|
10
|
+
icon?: React.ReactNode;
|
|
11
|
+
label: string;
|
|
12
|
+
wrapper: React.FunctionComponent<any>;
|
|
13
|
+
};
|
|
14
|
+
declare const BottomItem: ({ active, icon, label, wrapper: Wrapper, }: BottomItemProps) => JSX.Element;
|
|
15
|
+
|
|
16
|
+
export { BottomItem, BottomItems };
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { _ as _default } from '../../../Icon-4557ae6b.js';
|
|
3
|
+
|
|
4
|
+
declare type ItemProps = {
|
|
5
|
+
active?: boolean;
|
|
6
|
+
children?: React.ReactNode;
|
|
7
|
+
expanded?: boolean;
|
|
8
|
+
icon?: React.ReactElement<typeof _default>;
|
|
9
|
+
label: string;
|
|
10
|
+
responsive?: boolean;
|
|
11
|
+
tag?: string;
|
|
12
|
+
wrapper: React.FunctionComponent<any>;
|
|
13
|
+
};
|
|
14
|
+
declare const Item: ({ active, children, expanded, icon: Icon, label, responsive, tag, wrapper: Wrapper, }: ItemProps) => JSX.Element;
|
|
15
|
+
|
|
16
|
+
declare type SubitemProps = {
|
|
17
|
+
active?: boolean;
|
|
18
|
+
label: string;
|
|
19
|
+
wrapper: React.FunctionComponent<any>;
|
|
20
|
+
};
|
|
21
|
+
declare const Subitem: ({ active, label, wrapper: Wrapper }: SubitemProps) => JSX.Element;
|
|
22
|
+
|
|
23
|
+
export { Item, Subitem };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
|
|
3
|
+
declare type MenuProps = {
|
|
4
|
+
avatar: React.ReactElement;
|
|
5
|
+
subtitle?: string;
|
|
6
|
+
title: string;
|
|
7
|
+
onClick?: () => void;
|
|
8
|
+
};
|
|
9
|
+
declare const Menu: ({ avatar: Avatar, subtitle, title, onClick }: MenuProps) => JSX.Element;
|
|
10
|
+
|
|
11
|
+
export { Menu as default };
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { S as SwitcherActionsProps } from './Switcher-cab05b9f.js';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
|
|
4
|
+
declare type NavigationMenuProps = {
|
|
5
|
+
children: React.ReactNode;
|
|
6
|
+
openOnMobile?: boolean;
|
|
7
|
+
responsive?: boolean;
|
|
8
|
+
};
|
|
9
|
+
declare const NavigationMenu: {
|
|
10
|
+
({ children, openOnMobile, responsive, }: NavigationMenuProps): JSX.Element;
|
|
11
|
+
Header: any;
|
|
12
|
+
Menu: ({ avatar: Avatar, subtitle, title, onClick }: {
|
|
13
|
+
avatar: React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
14
|
+
subtitle?: string | undefined;
|
|
15
|
+
title: string;
|
|
16
|
+
onClick?: (() => void) | undefined;
|
|
17
|
+
}) => JSX.Element;
|
|
18
|
+
Switcher: ({ actions, avatar: Avatar, fill, sideOffset, subtitle, title, }: {
|
|
19
|
+
actions?: SwitcherActionsProps[] | undefined;
|
|
20
|
+
avatar: React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
21
|
+
fill?: string | undefined;
|
|
22
|
+
sideOffset?: number | undefined;
|
|
23
|
+
subtitle?: string | undefined;
|
|
24
|
+
title: string;
|
|
25
|
+
}) => JSX.Element;
|
|
26
|
+
Items: any;
|
|
27
|
+
ItemsGroup: any;
|
|
28
|
+
Item: ({ active, children, expanded, icon: Icon, label, responsive, tag, wrapper: Wrapper, }: {
|
|
29
|
+
active?: boolean | undefined;
|
|
30
|
+
children?: React.ReactNode;
|
|
31
|
+
expanded?: boolean | undefined;
|
|
32
|
+
icon?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
|
|
33
|
+
label: string;
|
|
34
|
+
responsive?: boolean | undefined;
|
|
35
|
+
tag?: string | undefined;
|
|
36
|
+
wrapper: React.FunctionComponent<any>;
|
|
37
|
+
}) => JSX.Element;
|
|
38
|
+
Subitem: ({ active, label, wrapper: Wrapper }: {
|
|
39
|
+
active?: boolean | undefined;
|
|
40
|
+
label: string;
|
|
41
|
+
wrapper: React.FunctionComponent<any>;
|
|
42
|
+
}) => JSX.Element;
|
|
43
|
+
BottomItems: ({ children }: {
|
|
44
|
+
children: React.ReactNode;
|
|
45
|
+
}) => JSX.Element;
|
|
46
|
+
BottomItem: ({ active, icon, label, wrapper: Wrapper, }: {
|
|
47
|
+
active?: boolean | undefined;
|
|
48
|
+
icon?: React.ReactNode;
|
|
49
|
+
label: string;
|
|
50
|
+
wrapper: React.FunctionComponent<any>;
|
|
51
|
+
}) => JSX.Element;
|
|
52
|
+
Footer: any;
|
|
53
|
+
};
|
|
54
|
+
|
|
55
|
+
export { NavigationMenu as N };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
|
|
3
|
+
declare type SwitcherActionsProps = {
|
|
4
|
+
id: string;
|
|
5
|
+
label: string;
|
|
6
|
+
onClick: () => void;
|
|
7
|
+
};
|
|
8
|
+
declare type SwitcherProps = {
|
|
9
|
+
actions?: SwitcherActionsProps[];
|
|
10
|
+
avatar: React.ReactElement;
|
|
11
|
+
fill?: string;
|
|
12
|
+
sideOffset?: number;
|
|
13
|
+
subtitle?: string;
|
|
14
|
+
title: string;
|
|
15
|
+
};
|
|
16
|
+
declare const Switcher: ({ actions, avatar: Avatar, fill, sideOffset, subtitle, title, }: SwitcherProps) => JSX.Element;
|
|
17
|
+
|
|
18
|
+
export { SwitcherActionsProps as S, Switcher as a };
|
package/typings/index.d.ts
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import * as prop_types from 'prop-types';
|
|
2
2
|
import prop_types__default, { string, bool, func, node, number, elementType } from 'prop-types';
|
|
3
3
|
import React from 'react';
|
|
4
|
+
export { _ as Icon } from './Icon-4557ae6b.js';
|
|
5
|
+
export { N as NavigationMenu } from './NavigationMenu-7f690c1e.js';
|
|
6
|
+
import './Switcher-cab05b9f.js';
|
|
4
7
|
|
|
5
8
|
/** This component provides a theme to all React components underneath itself via the context API. */
|
|
6
9
|
declare function ThemeProvider({ children, ...rest }: {
|
|
@@ -13,11 +16,11 @@ declare namespace ThemeProvider {
|
|
|
13
16
|
}
|
|
14
17
|
}
|
|
15
18
|
|
|
16
|
-
declare const _default$
|
|
19
|
+
declare const _default$9: any;
|
|
17
20
|
|
|
18
21
|
declare function composeTheme(tokens: any, customTheming?: {}): any;
|
|
19
22
|
|
|
20
|
-
declare function _default$
|
|
23
|
+
declare function _default$8(props: any): any;
|
|
21
24
|
|
|
22
25
|
/**
|
|
23
26
|
* This callback is displayed as part of the Requester class.
|
|
@@ -70,10 +73,10 @@ containing primary and supplemental actions, which are represented by icons and
|
|
|
70
73
|
text. */
|
|
71
74
|
declare const List: React.ForwardRefExoticComponent<React.RefAttributes<any>>;
|
|
72
75
|
|
|
73
|
-
declare const _default$8: any;
|
|
74
|
-
|
|
75
76
|
declare const _default$7: any;
|
|
76
77
|
|
|
78
|
+
declare const _default$6: any;
|
|
79
|
+
|
|
77
80
|
declare function RadioGroup({ name, onChange, selectedValue, small, full, children, style, ...rest }: {
|
|
78
81
|
[x: string]: any;
|
|
79
82
|
name: any;
|
|
@@ -130,7 +133,7 @@ declare namespace PlanCard {
|
|
|
130
133
|
const displayName: string;
|
|
131
134
|
}
|
|
132
135
|
|
|
133
|
-
declare const _default$
|
|
136
|
+
declare const _default$5: any;
|
|
134
137
|
|
|
135
138
|
declare function limitChildren(props: any, propName: any, componentName: any): Error | null;
|
|
136
139
|
|
|
@@ -189,7 +192,7 @@ declare namespace Text {
|
|
|
189
192
|
}
|
|
190
193
|
declare const fontSizes: prop_types.Requireable<string>;
|
|
191
194
|
|
|
192
|
-
declare const _default$
|
|
195
|
+
declare const _default$4: any;
|
|
193
196
|
|
|
194
197
|
/** Tags should be keywords to categorize or organize an item. */
|
|
195
198
|
declare function Tag(props: any): JSX.Element;
|
|
@@ -229,8 +232,6 @@ declare const TextArea: React.ForwardRefExoticComponent<React.RefAttributes<any>
|
|
|
229
232
|
/** The autocomplete is a normal input field enhanced by a panel of suggested options. */
|
|
230
233
|
declare const AutoComplete: React.ForwardRefExoticComponent<React.RefAttributes<any>>;
|
|
231
234
|
|
|
232
|
-
declare const _default$4: any;
|
|
233
|
-
|
|
234
235
|
declare const _default$3: any;
|
|
235
236
|
|
|
236
237
|
declare const Box: any;
|
|
@@ -431,4 +432,4 @@ declare const Popover: React.ForwardRefExoticComponent<React.RefAttributes<any>>
|
|
|
431
432
|
|
|
432
433
|
declare const _default: any;
|
|
433
434
|
|
|
434
|
-
export { Accordion, ActionRequirement, AutoComplete, Avatar, Banner, BottomSheet, Box, Button, Card, _default$
|
|
435
|
+
export { Accordion, ActionRequirement, AutoComplete, Avatar, Banner, BottomSheet, Box, Button, Card, _default$7 as Checkbox, _default$3 as Chips, Col, Container, Datepicker, Dialog, _default$1 as Divider, Drawer, Dropdown, _default$5 as EventCard, Feedback, _default$9 as FontLoader, Header, Heading, Hide, Input, List, Menu, PlanCard, Popover, Progress, RadioGroup, _default$4 as Rating, Row, Skeleton, _default$6 as Slider, _default$2 as Snackbar, _default as Spinner, Stepper, Tag, Text, TextArea, ThemeProvider, createTheme, _default$8 as theme, composeTheme as yogaTheme };
|