@gympass/yoga 7.115.6 → 7.116.1
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/Theme/theme/theme.js +19 -11
- package/esm/Theme/theme/theme.js +19 -11
- package/package.json +6 -6
- package/typings/NavigationMenu/NavigationMenu.theme.d.ts +83 -1
- package/typings/Theme/helpers/themeGenerator/themeGenerator.d.ts +2 -2
- package/typings/Theme/index.d.ts +14 -0
- package/typings/Theme/theme/index.d.ts +10 -0
- package/typings/Theme/theme/theme.d.ts +2059 -0
- package/typings/index-477f01b8.d.ts +25 -0
- package/typings/index.d.ts +5 -26
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import * as prop_types from 'prop-types';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
|
|
4
|
+
/** This component provides a theme to all React components underneath itself via the context API. */
|
|
5
|
+
declare function ThemeProvider({ children, ...rest }: {
|
|
6
|
+
[x: string]: any;
|
|
7
|
+
children: any;
|
|
8
|
+
}): JSX.Element;
|
|
9
|
+
declare namespace ThemeProvider {
|
|
10
|
+
namespace propTypes {
|
|
11
|
+
const children: prop_types.Validator<string | number | boolean | prop_types.ReactElementLike | prop_types.ReactNodeArray>;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
declare const _default$1: React.ForwardRefExoticComponent<{
|
|
16
|
+
[x: string]: React.JSX.LibraryManagedAttributes<C, React.ComponentPropsWithRef<C>>;
|
|
17
|
+
[x: number]: React.JSX.LibraryManagedAttributes<C, React.ComponentPropsWithRef<C>>;
|
|
18
|
+
[x: symbol]: React.JSX.LibraryManagedAttributes<C, React.ComponentPropsWithRef<C>>;
|
|
19
|
+
} & {
|
|
20
|
+
theme?: any;
|
|
21
|
+
}>;
|
|
22
|
+
|
|
23
|
+
declare function _default(props: any): any;
|
|
24
|
+
|
|
25
|
+
export { ThemeProvider as T, _default$1 as _, _default as a };
|
package/typings/index.d.ts
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
|
+
export { _ as FontLoader, T as ThemeProvider, a as theme } from './index-477f01b8.js';
|
|
2
|
+
export { Theme, default as yogaTheme } from './Theme/theme/theme.js';
|
|
3
|
+
export { v3theme } from './Theme/theme/v3theme.js';
|
|
4
|
+
export { default as createTheme } from './Theme/helpers/themeGenerator/themeGenerator.js';
|
|
1
5
|
import * as prop_types from 'prop-types';
|
|
2
6
|
import prop_types__default, { string, bool, func, node, number, elementType } from 'prop-types';
|
|
3
7
|
import React from 'react';
|
|
4
|
-
export { v3theme } from './Theme/theme/v3theme.js';
|
|
5
|
-
export { default as createTheme } from './Theme/helpers/themeGenerator/themeGenerator.js';
|
|
6
8
|
import * as styled_components from 'styled-components';
|
|
7
9
|
export { _ as Icon } from './Icon-19f6da82.js';
|
|
8
10
|
export { N as NavigationMenu } from './NavigationMenu-8c022497.js';
|
|
@@ -10,29 +12,6 @@ import '@gympass/yoga-tokens/global/transition';
|
|
|
10
12
|
import '@gympass/yoga-tokens';
|
|
11
13
|
import './Actions-752d7514.js';
|
|
12
14
|
|
|
13
|
-
/** This component provides a theme to all React components underneath itself via the context API. */
|
|
14
|
-
declare function ThemeProvider({ children, ...rest }: {
|
|
15
|
-
[x: string]: any;
|
|
16
|
-
children: any;
|
|
17
|
-
}): JSX.Element;
|
|
18
|
-
declare namespace ThemeProvider {
|
|
19
|
-
namespace propTypes {
|
|
20
|
-
const children: prop_types.Validator<string | number | boolean | prop_types.ReactElementLike | prop_types.ReactNodeArray>;
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
declare const _default$9: React.ForwardRefExoticComponent<{
|
|
25
|
-
[x: string]: React.JSX.LibraryManagedAttributes<C, React.ComponentPropsWithRef<C>>;
|
|
26
|
-
[x: number]: React.JSX.LibraryManagedAttributes<C, React.ComponentPropsWithRef<C>>;
|
|
27
|
-
[x: symbol]: React.JSX.LibraryManagedAttributes<C, React.ComponentPropsWithRef<C>>;
|
|
28
|
-
} & {
|
|
29
|
-
theme?: any;
|
|
30
|
-
}>;
|
|
31
|
-
|
|
32
|
-
declare function composeTheme(tokens: any, customTheming?: {}): any;
|
|
33
|
-
|
|
34
|
-
declare function _default$8(props: any): any;
|
|
35
|
-
|
|
36
15
|
declare function Accordion({ title, subtitle, children, disabled, expanded, small, hasHorizontalPadding, ...props }: {
|
|
37
16
|
[x: string]: any;
|
|
38
17
|
title: any;
|
|
@@ -540,4 +519,4 @@ declare const _default: React.ForwardRefExoticComponent<{
|
|
|
540
519
|
theme?: any;
|
|
541
520
|
}>;
|
|
542
521
|
|
|
543
|
-
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,
|
|
522
|
+
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, 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 };
|