styled-components 6.0.0-beta.5 → 6.0.0-beta.6
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/dist/constructors/constructWithOptions.d.ts +2 -2
- package/dist/constructors/styled.d.ts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/native/index.d.ts +26 -26
- package/dist/styled-components.browser.cjs.js +1 -1
- package/dist/styled-components.browser.cjs.js.map +1 -1
- package/dist/styled-components.browser.esm.js +1 -1
- package/dist/styled-components.browser.esm.js.map +1 -1
- package/dist/styled-components.cjs.js +1 -1
- package/dist/styled-components.cjs.js.map +1 -1
- package/dist/styled-components.esm.js +1 -1
- package/dist/styled-components.esm.js.map +1 -1
- package/dist/styled-components.js +2 -2
- package/dist/styled-components.js.map +1 -1
- package/dist/styled-components.min.js +1 -1
- package/dist/styled-components.min.js.map +1 -1
- package/dist/test/utils.d.ts +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/types.d.ts +15 -3
- package/native/dist/base.d.ts.map +1 -0
- package/native/dist/constants.d.ts.map +1 -0
- package/native/dist/constructors/constructWithOptions.d.ts +2 -2
- package/native/dist/constructors/constructWithOptions.d.ts.map +1 -0
- package/native/dist/constructors/createGlobalStyle.d.ts.map +1 -0
- package/native/dist/constructors/css.d.ts.map +1 -0
- package/native/dist/constructors/keyframes.d.ts.map +1 -0
- package/native/dist/constructors/styled.d.ts +1 -1
- package/native/dist/constructors/styled.d.ts.map +1 -0
- package/native/dist/dist/base.d.ts +18 -0
- package/native/dist/dist/base.d.ts.map +1 -0
- package/native/dist/dist/constants.d.ts +9 -0
- package/native/dist/dist/constants.d.ts.map +1 -0
- package/native/dist/dist/constructors/constructWithOptions.d.ts +20 -0
- package/native/dist/dist/constructors/constructWithOptions.d.ts.map +1 -0
- package/native/dist/dist/constructors/createGlobalStyle.d.ts +4 -0
- package/native/dist/dist/constructors/createGlobalStyle.d.ts.map +1 -0
- package/native/dist/dist/constructors/css.d.ts +5 -0
- package/native/dist/dist/constructors/css.d.ts.map +1 -0
- package/native/dist/dist/constructors/keyframes.d.ts +4 -0
- package/native/dist/dist/constructors/keyframes.d.ts.map +1 -0
- package/native/dist/dist/constructors/styled.d.ts +186 -0
- package/native/dist/dist/constructors/styled.d.ts.map +1 -0
- package/native/dist/dist/hoc/withTheme.d.ts +4 -0
- package/native/dist/dist/hoc/withTheme.d.ts.map +1 -0
- package/native/dist/dist/hoc/withTheme.spec.d.ts +2 -0
- package/native/dist/dist/hoc/withTheme.spec.d.ts.map +1 -0
- package/native/dist/dist/hooks/useTheme.d.ts +4 -0
- package/native/dist/dist/hooks/useTheme.d.ts.map +1 -0
- package/native/dist/dist/index-standalone.d.ts +3 -0
- package/native/dist/dist/index-standalone.d.ts.map +1 -0
- package/native/dist/dist/index.d.ts +4 -0
- package/native/dist/dist/index.d.ts.map +1 -0
- package/native/dist/dist/macro/index.d.ts +3 -0
- package/native/dist/dist/macro/index.d.ts.map +1 -0
- package/native/dist/dist/macro/test/babel.config.d.ts +1 -0
- package/native/dist/dist/macro/test/babel.config.d.ts.map +1 -0
- package/native/dist/dist/models/ComponentStyle.d.ts +16 -0
- package/native/dist/dist/models/ComponentStyle.d.ts.map +1 -0
- package/native/dist/dist/models/GlobalStyle.d.ts +12 -0
- package/native/dist/dist/models/GlobalStyle.d.ts.map +1 -0
- package/native/dist/dist/models/InlineStyle.d.ts +7 -0
- package/native/dist/dist/models/InlineStyle.d.ts.map +1 -0
- package/native/dist/dist/models/Keyframes.d.ts +12 -0
- package/native/dist/dist/models/Keyframes.d.ts.map +1 -0
- package/native/dist/dist/models/ServerStyleSheet.d.ts +16 -0
- package/native/dist/dist/models/ServerStyleSheet.d.ts.map +1 -0
- package/native/dist/dist/models/StyleSheetManager.d.ts +22 -0
- package/native/dist/dist/models/StyleSheetManager.d.ts.map +1 -0
- package/native/dist/dist/models/StyledComponent.d.ts +4 -0
- package/native/dist/dist/models/StyledComponent.d.ts.map +1 -0
- package/native/dist/dist/models/StyledNativeComponent.d.ts +4 -0
- package/native/dist/dist/models/StyledNativeComponent.d.ts.map +1 -0
- package/native/dist/dist/models/ThemeProvider.d.ts +18 -0
- package/native/dist/dist/models/ThemeProvider.d.ts.map +1 -0
- package/native/dist/dist/native/index.d.ts +65 -0
- package/native/dist/dist/native/index.d.ts.map +1 -0
- package/native/dist/dist/primitives/index.d.ts +23 -0
- package/native/dist/dist/primitives/index.d.ts.map +1 -0
- package/native/dist/dist/secretInternals.d.ts +6 -0
- package/native/dist/dist/secretInternals.d.ts.map +1 -0
- package/native/dist/dist/sheet/GroupIDAllocator.d.ts +5 -0
- package/native/dist/dist/sheet/GroupIDAllocator.d.ts.map +1 -0
- package/native/dist/dist/sheet/GroupedTag.d.ts +12 -0
- package/native/dist/dist/sheet/GroupedTag.d.ts.map +1 -0
- package/native/dist/dist/sheet/Rehydration.d.ts +4 -0
- package/native/dist/dist/sheet/Rehydration.d.ts.map +1 -0
- package/native/dist/dist/sheet/Sheet.d.ts +41 -0
- package/native/dist/dist/sheet/Sheet.d.ts.map +1 -0
- package/native/dist/dist/sheet/Tag.d.ts +55 -0
- package/native/dist/dist/sheet/Tag.d.ts.map +1 -0
- package/native/dist/dist/sheet/dom.d.ts +5 -0
- package/native/dist/dist/sheet/dom.d.ts.map +1 -0
- package/native/dist/dist/sheet/index.d.ts +2 -0
- package/native/dist/dist/sheet/index.d.ts.map +1 -0
- package/native/dist/dist/sheet/types.d.ts +35 -0
- package/native/dist/dist/sheet/types.d.ts.map +1 -0
- package/native/dist/dist/test/globals.d.ts +3 -0
- package/native/dist/dist/test/globals.d.ts.map +1 -0
- package/native/dist/dist/test/utils.d.ts +192 -0
- package/native/dist/dist/test/utils.d.ts.map +1 -0
- package/native/dist/dist/types.d.ts +121 -0
- package/native/dist/dist/types.d.ts.map +1 -0
- package/native/dist/dist/utils/addUnitIfNeeded.d.ts +2 -0
- package/native/dist/dist/utils/addUnitIfNeeded.d.ts.map +1 -0
- package/native/dist/dist/utils/checkDynamicCreation.d.ts +2 -0
- package/native/dist/dist/utils/checkDynamicCreation.d.ts.map +1 -0
- package/native/dist/dist/utils/createWarnTooManyClasses.d.ts +4 -0
- package/native/dist/dist/utils/createWarnTooManyClasses.d.ts.map +1 -0
- package/native/dist/dist/utils/determineTheme.d.ts +3 -0
- package/native/dist/dist/utils/determineTheme.d.ts.map +1 -0
- package/native/dist/dist/utils/domElements.d.ts +3 -0
- package/native/dist/dist/utils/domElements.d.ts.map +1 -0
- package/native/dist/dist/utils/empties.d.ts +4 -0
- package/native/dist/dist/utils/empties.d.ts.map +1 -0
- package/native/dist/dist/utils/error.d.ts +6 -0
- package/native/dist/dist/utils/error.d.ts.map +1 -0
- package/native/dist/dist/utils/errors.d.ts +21 -0
- package/native/dist/dist/utils/errors.d.ts.map +1 -0
- package/native/dist/dist/utils/escape.d.ts +6 -0
- package/native/dist/dist/utils/escape.d.ts.map +1 -0
- package/native/dist/dist/utils/flatten.d.ts +5 -0
- package/native/dist/dist/utils/flatten.d.ts.map +1 -0
- package/native/dist/dist/utils/generateAlphabeticName.d.ts +2 -0
- package/native/dist/dist/utils/generateAlphabeticName.d.ts.map +1 -0
- package/native/dist/dist/utils/generateComponentId.d.ts +2 -0
- package/native/dist/dist/utils/generateComponentId.d.ts.map +1 -0
- package/native/dist/dist/utils/generateDisplayName.d.ts +3 -0
- package/native/dist/dist/utils/generateDisplayName.d.ts.map +1 -0
- package/native/dist/dist/utils/getComponentName.d.ts +3 -0
- package/native/dist/dist/utils/getComponentName.d.ts.map +1 -0
- package/native/dist/dist/utils/hash.d.ts +4 -0
- package/native/dist/dist/utils/hash.d.ts.map +1 -0
- package/native/dist/dist/utils/hoist.d.ts +52 -0
- package/native/dist/dist/utils/hoist.d.ts.map +1 -0
- package/native/dist/dist/utils/hyphenateStyleName.d.ts +15 -0
- package/native/dist/dist/utils/hyphenateStyleName.d.ts.map +1 -0
- package/native/dist/dist/utils/interleave.d.ts +3 -0
- package/native/dist/dist/utils/interleave.d.ts.map +1 -0
- package/native/dist/dist/utils/isFunction.d.ts +2 -0
- package/native/dist/dist/utils/isFunction.d.ts.map +1 -0
- package/native/dist/dist/utils/isPlainObject.d.ts +2 -0
- package/native/dist/dist/utils/isPlainObject.d.ts.map +1 -0
- package/native/dist/dist/utils/isStatelessFunction.d.ts +2 -0
- package/native/dist/dist/utils/isStatelessFunction.d.ts.map +1 -0
- package/native/dist/dist/utils/isStaticRules.d.ts +3 -0
- package/native/dist/dist/utils/isStaticRules.d.ts.map +1 -0
- package/native/dist/dist/utils/isStyledComponent.d.ts +3 -0
- package/native/dist/dist/utils/isStyledComponent.d.ts.map +1 -0
- package/native/dist/dist/utils/isTag.d.ts +3 -0
- package/native/dist/dist/utils/isTag.d.ts.map +1 -0
- package/native/dist/dist/utils/joinStrings.d.ts +5 -0
- package/native/dist/dist/utils/joinStrings.d.ts.map +1 -0
- package/native/dist/dist/utils/mixinDeep.d.ts +8 -0
- package/native/dist/dist/utils/mixinDeep.d.ts.map +1 -0
- package/native/dist/dist/utils/nonce.d.ts +2 -0
- package/native/dist/dist/utils/nonce.d.ts.map +1 -0
- package/native/dist/dist/utils/stylis.d.ts +10 -0
- package/native/dist/dist/utils/stylis.d.ts.map +1 -0
- package/native/dist/hoc/withTheme.d.ts.map +1 -0
- package/native/dist/hoc/withTheme.spec.d.ts.map +1 -0
- package/native/dist/hooks/useTheme.d.ts.map +1 -0
- package/native/dist/index-standalone.d.ts.map +1 -0
- package/native/dist/index.d.ts +1 -1
- package/native/dist/index.d.ts.map +1 -0
- package/native/dist/macro/index.d.ts.map +1 -0
- package/native/dist/macro/test/babel.config.d.ts +1 -0
- package/native/dist/macro/test/babel.config.d.ts.map +1 -0
- package/native/dist/models/ComponentStyle.d.ts.map +1 -0
- package/native/dist/models/GlobalStyle.d.ts.map +1 -0
- package/native/dist/models/InlineStyle.d.ts.map +1 -0
- package/native/dist/models/Keyframes.d.ts.map +1 -0
- package/native/dist/models/ServerStyleSheet.d.ts.map +1 -0
- package/native/dist/models/StyleSheetManager.d.ts.map +1 -0
- package/native/dist/models/StyledComponent.d.ts.map +1 -0
- package/native/dist/models/StyledNativeComponent.d.ts.map +1 -0
- package/native/dist/models/ThemeProvider.d.ts.map +1 -0
- package/native/dist/native/index.d.ts +26 -26
- package/native/dist/native/index.d.ts.map +1 -0
- package/native/dist/primitives/index.d.ts +23 -0
- package/native/dist/primitives/index.d.ts.map +1 -0
- package/native/dist/secretInternals.d.ts.map +1 -0
- package/native/dist/sheet/GroupIDAllocator.d.ts.map +1 -0
- package/native/dist/sheet/GroupedTag.d.ts.map +1 -0
- package/native/dist/sheet/Rehydration.d.ts.map +1 -0
- package/native/dist/sheet/Sheet.d.ts.map +1 -0
- package/native/dist/sheet/Tag.d.ts.map +1 -0
- package/native/dist/sheet/dom.d.ts.map +1 -0
- package/native/dist/sheet/index.d.ts.map +1 -0
- package/native/dist/sheet/types.d.ts.map +1 -0
- package/native/dist/styled-components.native.cjs.js +1 -1
- package/native/dist/styled-components.native.cjs.js.map +1 -1
- package/native/dist/styled-components.native.esm.js +1 -1
- package/native/dist/styled-components.native.esm.js.map +1 -1
- package/native/dist/test/globals.d.ts.map +1 -0
- package/native/dist/test/utils.d.ts +1 -1
- package/native/dist/test/utils.d.ts.map +1 -0
- package/native/dist/types.d.ts +15 -3
- package/native/dist/types.d.ts.map +1 -0
- package/native/dist/utils/addUnitIfNeeded.d.ts.map +1 -0
- package/native/dist/utils/checkDynamicCreation.d.ts.map +1 -0
- package/native/dist/utils/createWarnTooManyClasses.d.ts.map +1 -0
- package/native/dist/utils/determineTheme.d.ts.map +1 -0
- package/native/dist/utils/domElements.d.ts.map +1 -0
- package/native/dist/utils/empties.d.ts.map +1 -0
- package/native/dist/utils/error.d.ts.map +1 -0
- package/native/dist/utils/errors.d.ts.map +1 -0
- package/native/dist/utils/escape.d.ts.map +1 -0
- package/native/dist/utils/flatten.d.ts.map +1 -0
- package/native/dist/utils/generateAlphabeticName.d.ts.map +1 -0
- package/native/dist/utils/generateComponentId.d.ts.map +1 -0
- package/native/dist/utils/generateDisplayName.d.ts.map +1 -0
- package/native/dist/utils/getComponentName.d.ts.map +1 -0
- package/native/dist/utils/hash.d.ts.map +1 -0
- package/native/dist/utils/hoist.d.ts.map +1 -0
- package/native/dist/utils/hyphenateStyleName.d.ts.map +1 -0
- package/native/dist/utils/interleave.d.ts.map +1 -0
- package/native/dist/utils/isFunction.d.ts.map +1 -0
- package/native/dist/utils/isPlainObject.d.ts.map +1 -0
- package/native/dist/utils/isStatelessFunction.d.ts.map +1 -0
- package/native/dist/utils/isStaticRules.d.ts.map +1 -0
- package/native/dist/utils/isStyledComponent.d.ts.map +1 -0
- package/native/dist/utils/isTag.d.ts.map +1 -0
- package/native/dist/utils/joinStrings.d.ts.map +1 -0
- package/native/dist/utils/mixinDeep.d.ts.map +1 -0
- package/native/dist/utils/nonce.d.ts.map +1 -0
- package/native/dist/utils/stylis.d.ts.map +1 -0
- package/package.json +2 -2
|
@@ -13,10 +13,10 @@ declare type OptionalIntersection<A, B> = {
|
|
|
13
13
|
* with the passed attr type to capture any intended overrides.
|
|
14
14
|
*/
|
|
15
15
|
declare type MarkPropsSatisfiedByAttrs<T extends Attrs, Props extends object> = T extends (...args: any) => infer P ? Omit<Props, keyof P> & OptionalIntersection<Props, P> : Omit<Props, keyof T> & Partial<T>;
|
|
16
|
-
export interface Styled<R extends Runtime, Target extends StyledTarget<R>, OuterProps extends object = Target extends KnownTarget ? R extends 'web' ?
|
|
16
|
+
export interface Styled<R extends Runtime, Target extends StyledTarget<R>, OuterProps extends object = Target extends KnownTarget ? React.ComponentPropsWithRef<Target> : R extends 'web' ? JSX.IntrinsicElements['div'] : object, OuterStatics extends object = object> {
|
|
17
17
|
<Props extends object = object, Statics extends object = object>(initialStyles: Styles<OuterProps & Props>, ...interpolations: Interpolation<OuterProps & Props>[]): IStyledComponent<R, Target, OuterProps & Props> & OuterStatics & Statics;
|
|
18
18
|
attrs: <T extends Attrs>(attrs: AttrsArg<T extends (...args: any) => infer P ? OuterProps & P : OuterProps & T>) => Styled<R, Target, MarkPropsSatisfiedByAttrs<T, OuterProps>, OuterStatics>;
|
|
19
19
|
withConfig: (config: StyledOptions<R, OuterProps>) => Styled<R, Target, OuterProps, OuterStatics>;
|
|
20
20
|
}
|
|
21
|
-
export default function constructWithOptions<R extends Runtime, Target extends StyledTarget<R>, OuterProps extends object = Target extends KnownTarget ? R extends 'web' ?
|
|
21
|
+
export default function constructWithOptions<R extends Runtime, Target extends StyledTarget<R>, OuterProps extends object = Target extends KnownTarget ? React.ComponentPropsWithRef<Target> : R extends 'web' ? JSX.IntrinsicElements['div'] : object, OuterStatics extends object = object>(componentConstructor: IStyledComponentFactory<R, Target, OuterProps, OuterStatics>, tag: Target, options?: StyledOptions<R, OuterProps>): Styled<R, Target, OuterProps, OuterStatics>;
|
|
22
22
|
export {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { WebTarget } from '../types';
|
|
3
3
|
import { Styled } from './constructWithOptions';
|
|
4
|
-
declare const styled: (<Target extends WebTarget>(tag: Target) => Styled<"web", Target,
|
|
4
|
+
declare const styled: (<Target extends WebTarget>(tag: Target) => Styled<"web", Target, Target extends import("../types").KnownTarget ? import("react").ComponentPropsWithRef<Target> : import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, object>) & {
|
|
5
5
|
a: Styled<"web", "a", import("react").DetailedHTMLProps<import("react").AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, object>;
|
|
6
6
|
abbr: Styled<"web", "abbr", import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, object>;
|
|
7
7
|
address: Styled<"web", "address", import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, object>;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import styled from './constructors/styled';
|
|
2
2
|
export * from './base';
|
|
3
|
-
export { CSSProp, IStyledComponent, IStyledComponentFactory, IStyledStatics, StyledOptions, WebTarget, } from './types';
|
|
3
|
+
export { CSSProp, DefaultTheme, ExecutionContext, ExecutionProps, IStyledComponent, IStyledComponentFactory, IStyledStatics, PolymorphicComponent, PolymorphicComponentProps, Runtime, StyledObject, StyledOptions, WebTarget, } from './types';
|
|
4
4
|
export { styled as default };
|
package/dist/native/index.d.ts
CHANGED
|
@@ -6,32 +6,32 @@ import useTheme from '../hooks/useTheme';
|
|
|
6
6
|
import ThemeProvider, { ThemeConsumer, ThemeContext } from '../models/ThemeProvider';
|
|
7
7
|
import { NativeTarget } from '../types';
|
|
8
8
|
import isStyledComponent from '../utils/isStyledComponent';
|
|
9
|
-
declare const styled: (<Target extends NativeTarget>(tag: Target) => Styled<"native", Target, Target extends import("../types").KnownTarget ?
|
|
10
|
-
ActivityIndicator: Styled<"native", typeof import("react-native").ActivityIndicator,
|
|
11
|
-
Button: Styled<"native", typeof import("react-native").Button,
|
|
12
|
-
DatePickerIOS: Styled<"native", typeof import("react-native").DatePickerIOS,
|
|
13
|
-
DrawerLayoutAndroid: Styled<"native", typeof import("react-native").DrawerLayoutAndroid,
|
|
14
|
-
FlatList: Styled<"native", typeof import("react-native").FlatList,
|
|
15
|
-
Image: Styled<"native", typeof import("react-native").Image,
|
|
16
|
-
ImageBackground: Styled<"native", typeof import("react-native").ImageBackground,
|
|
17
|
-
KeyboardAvoidingView: Styled<"native", typeof import("react-native").KeyboardAvoidingView,
|
|
18
|
-
Modal: Styled<"native", typeof import("react-native").Modal,
|
|
19
|
-
Pressable: Styled<"native", import("react").ForwardRefExoticComponent<import("react-native").PressableProps & import("react").RefAttributes<import("react-native").View>>,
|
|
20
|
-
ProgressBarAndroid: Styled<"native", typeof import("react-native").ProgressBarAndroid,
|
|
21
|
-
ProgressViewIOS: Styled<"native", typeof import("react-native").ProgressViewIOS,
|
|
22
|
-
RefreshControl: Styled<"native", typeof import("react-native").RefreshControl,
|
|
23
|
-
SafeAreaView: Styled<"native", typeof import("react-native").SafeAreaView,
|
|
24
|
-
ScrollView: Styled<"native", typeof import("react-native").ScrollView,
|
|
25
|
-
SectionList: Styled<"native", typeof import("react-native").SectionList,
|
|
26
|
-
Slider: Styled<"native", typeof import("react-native").Slider,
|
|
27
|
-
Switch: Styled<"native", typeof import("react-native").Switch,
|
|
28
|
-
Text: Styled<"native", typeof import("react-native").Text,
|
|
29
|
-
TextInput: Styled<"native", typeof import("react-native").TextInput,
|
|
30
|
-
TouchableHighlight: Styled<"native", typeof import("react-native").TouchableHighlight,
|
|
31
|
-
TouchableOpacity: Styled<"native", typeof import("react-native").TouchableOpacity,
|
|
32
|
-
View: Styled<"native", typeof import("react-native").View,
|
|
33
|
-
VirtualizedList: Styled<"native", typeof import("react-native").VirtualizedList,
|
|
9
|
+
declare const styled: (<Target extends NativeTarget>(tag: Target) => Styled<"native", Target, Target extends import("../types").KnownTarget ? React.ComponentPropsWithRef<Target> : object, object>) & {
|
|
10
|
+
ActivityIndicator: Styled<"native", typeof import("react-native").ActivityIndicator, import("react-native").ActivityIndicatorProps & React.RefAttributes<import("react-native").ActivityIndicator>, object>;
|
|
11
|
+
Button: Styled<"native", typeof import("react-native").Button, import("react-native").ButtonProps & React.RefAttributes<import("react-native").Button>, object>;
|
|
12
|
+
DatePickerIOS: Styled<"native", typeof import("react-native").DatePickerIOS, import("react-native").DatePickerIOSProps & React.RefAttributes<import("react-native").DatePickerIOS>, object>;
|
|
13
|
+
DrawerLayoutAndroid: Styled<"native", typeof import("react-native").DrawerLayoutAndroid, import("react-native").DrawerLayoutAndroidProps & React.RefAttributes<import("react-native").DrawerLayoutAndroid>, object>;
|
|
14
|
+
FlatList: Styled<"native", typeof import("react-native").FlatList, import("react-native").FlatListProps<unknown> & React.RefAttributes<import("react-native").FlatList<unknown>>, object>;
|
|
15
|
+
Image: Styled<"native", typeof import("react-native").Image, import("react-native").ImageProps & React.RefAttributes<import("react-native").Image>, object>;
|
|
16
|
+
ImageBackground: Styled<"native", typeof import("react-native").ImageBackground, import("react-native").ImageBackgroundProps & React.RefAttributes<import("react-native").ImageBackground>, object>;
|
|
17
|
+
KeyboardAvoidingView: Styled<"native", typeof import("react-native").KeyboardAvoidingView, import("react-native").KeyboardAvoidingViewProps & React.RefAttributes<import("react-native").KeyboardAvoidingView>, object>;
|
|
18
|
+
Modal: Styled<"native", typeof import("react-native").Modal, import("react-native").ModalBaseProps & import("react-native").ModalPropsIOS & import("react-native").ModalPropsAndroid & import("react-native").ViewProps & React.RefAttributes<import("react-native").Modal>, object>;
|
|
19
|
+
Pressable: Styled<"native", import("react").ForwardRefExoticComponent<import("react-native").PressableProps & import("react").RefAttributes<import("react-native").View>>, import("react-native").PressableProps & import("react").RefAttributes<import("react-native").View>, object>;
|
|
20
|
+
ProgressBarAndroid: Styled<"native", typeof import("react-native").ProgressBarAndroid, import("react-native").ProgressBarAndroidProps & React.RefAttributes<import("react-native").ProgressBarAndroid>, object>;
|
|
21
|
+
ProgressViewIOS: Styled<"native", typeof import("react-native").ProgressViewIOS, import("react-native").ProgressViewIOSProps & React.RefAttributes<import("react-native").ProgressViewIOS>, object>;
|
|
22
|
+
RefreshControl: Styled<"native", typeof import("react-native").RefreshControl, import("react-native").RefreshControlProps & React.RefAttributes<import("react-native").RefreshControl>, object>;
|
|
23
|
+
SafeAreaView: Styled<"native", typeof import("react-native").SafeAreaView, import("react-native").ViewProps & React.RefAttributes<import("react-native").SafeAreaView>, object>;
|
|
24
|
+
ScrollView: Styled<"native", typeof import("react-native").ScrollView, import("react-native").ScrollViewProps & React.RefAttributes<import("react-native").ScrollView>, object>;
|
|
25
|
+
SectionList: Styled<"native", typeof import("react-native").SectionList, import("react-native").SectionListProps<unknown, unknown> & React.RefAttributes<import("react-native").SectionList<unknown, unknown>>, object>;
|
|
26
|
+
Slider: Styled<"native", typeof import("react-native").Slider, import("react-native").SliderProps & React.RefAttributes<import("react-native").Slider>, object>;
|
|
27
|
+
Switch: Styled<"native", typeof import("react-native").Switch, import("react-native").SwitchProps & React.RefAttributes<import("react-native").Switch>, object>;
|
|
28
|
+
Text: Styled<"native", typeof import("react-native").Text, import("react-native").TextProps & React.RefAttributes<import("react-native").Text>, object>;
|
|
29
|
+
TextInput: Styled<"native", typeof import("react-native").TextInput, import("react-native").TextInputProps & React.RefAttributes<import("react-native").TextInput>, object>;
|
|
30
|
+
TouchableHighlight: Styled<"native", typeof import("react-native").TouchableHighlight, import("react-native").TouchableHighlightProps & React.RefAttributes<import("react-native").TouchableHighlight>, object>;
|
|
31
|
+
TouchableOpacity: Styled<"native", typeof import("react-native").TouchableOpacity, import("react-native").TouchableOpacityProps & React.RefAttributes<import("react-native").TouchableOpacity>, object>;
|
|
32
|
+
View: Styled<"native", typeof import("react-native").View, import("react-native").ViewProps & React.RefAttributes<import("react-native").View>, object>;
|
|
33
|
+
VirtualizedList: Styled<"native", typeof import("react-native").VirtualizedList, import("react-native").VirtualizedListProps<unknown> & React.RefAttributes<import("react-native").VirtualizedList<unknown>>, object>;
|
|
34
34
|
};
|
|
35
|
-
export { IStyledComponent, IStyledComponentFactory, IStyledStatics, NativeTarget, StyledOptions, } from '../types';
|
|
35
|
+
export { DefaultTheme, ExecutionContext, ExecutionProps, IStyledComponent, IStyledComponentFactory, IStyledStatics, NativeTarget, PolymorphicComponent, PolymorphicComponentProps, Runtime, StyledObject, StyledOptions, } from '../types';
|
|
36
36
|
export { css, isStyledComponent, ThemeProvider, ThemeConsumer, ThemeContext, withTheme, useTheme };
|
|
37
37
|
export default styled;
|
|
@@ -18,7 +18,7 @@ var SC_ATTR = (typeof process !== 'undefined' && (process.env.REACT_APP_SC_ATTR
|
|
|
18
18
|
'data-styled';
|
|
19
19
|
var SC_ATTR_ACTIVE = 'active';
|
|
20
20
|
var SC_ATTR_VERSION = 'data-styled-version';
|
|
21
|
-
var SC_VERSION = "6.0.0-beta.
|
|
21
|
+
var SC_VERSION = "6.0.0-beta.6";
|
|
22
22
|
var SPLITTER = '/*!sc*/\n';
|
|
23
23
|
var IS_BROWSER = typeof window !== 'undefined' && 'HTMLElement' in window;
|
|
24
24
|
var DISABLE_SPEEDY = Boolean(typeof SC_DISABLE_SPEEDY === 'boolean'
|