Comparing version 4.3.4 to 4.3.5
export declare const A: import("react").ForwardRefExoticComponent<Omit<Omit<import("react").PropsWithChildren<import("@expo/html-elements/build/elements/Text.types").LinkProps>, "variant" | "variants">, "ref"> & import("..").StyledProps<"text"> & import("react").RefAttributes<typeof import("react-native").Text | import("react").Component<import("@expo/html-elements/build/elements/Text.types").LinkProps, any, any>>>; | ||
//# sourceMappingURL=A.d.ts.map |
@@ -13,1 +13,2 @@ import { ComponentProps } from 'react'; | ||
export {}; | ||
//# sourceMappingURL=activity-indicator.d.ts.map |
import { View as rView } from 'react-native'; | ||
export declare const Container: import("react").ForwardRefExoticComponent<Omit<import("react").PropsWithChildren<import("react-native").ViewProps>, "variant" | "variants"> & import("..").StyledProps<"layout"> & import("react").RefAttributes<rView>>; | ||
//# sourceMappingURL=Container.d.ts.map |
export declare const defaultFontStyle: { | ||
fontFamily: string; | ||
}; | ||
//# sourceMappingURL=defaultStyle.d.ts.map |
import { FlatList as rFlatList } from 'react-native'; | ||
export declare const FlatList: import("react").ForwardRefExoticComponent<Omit<import("react").PropsWithChildren<import("react-native").FlatListProps<unknown>>, "variant" | "variants"> & import("..").StyledProps<keyof import("..").Theme | undefined> & import("react").RefAttributes<rFlatList<unknown>>>; | ||
//# sourceMappingURL=FlatList.d.ts.map |
import { View as rView } from 'react-native'; | ||
export declare const Flex: import("react").ForwardRefExoticComponent<Omit<import("react").PropsWithChildren<import("react-native").ViewProps>, "variant" | "variants"> & import("..").StyledProps<keyof import("..").Theme | undefined> & import("react").RefAttributes<rView>>; | ||
//# sourceMappingURL=Flex.d.ts.map |
export declare const H1: import("react").ForwardRefExoticComponent<Omit<Omit<import("react").PropsWithChildren<import("@expo/html-elements/build/primitives/Text").TextProps>, "variant" | "variants">, "ref"> & import("..").StyledProps<"text"> & import("react").RefAttributes<typeof import("react-native").Text | import("react").Component<import("@expo/html-elements/build/primitives/Text").TextProps, any, any>>>; | ||
//# sourceMappingURL=H1.d.ts.map |
export declare const H2: import("react").ForwardRefExoticComponent<Omit<Omit<import("react").PropsWithChildren<import("@expo/html-elements/build/primitives/Text").TextProps>, "variant" | "variants">, "ref"> & import("..").StyledProps<"text"> & import("react").RefAttributes<typeof import("react-native").Text | import("react").Component<import("@expo/html-elements/build/primitives/Text").TextProps, any, any>>>; | ||
//# sourceMappingURL=H2.d.ts.map |
export declare const H3: import("react").ForwardRefExoticComponent<Omit<Omit<import("react").PropsWithChildren<import("@expo/html-elements/build/primitives/Text").TextProps>, "variant" | "variants">, "ref"> & import("..").StyledProps<"text"> & import("react").RefAttributes<typeof import("react-native").Text | import("react").Component<import("@expo/html-elements/build/primitives/Text").TextProps, any, any>>>; | ||
//# sourceMappingURL=H3.d.ts.map |
export declare const H4: import("react").ForwardRefExoticComponent<Omit<Omit<import("react").PropsWithChildren<import("@expo/html-elements/build/primitives/Text").TextProps>, "variant" | "variants">, "ref"> & import("..").StyledProps<"text"> & import("react").RefAttributes<typeof import("react-native").Text | import("react").Component<import("@expo/html-elements/build/primitives/Text").TextProps, any, any>>>; | ||
//# sourceMappingURL=H4.d.ts.map |
export declare const H5: import("react").ForwardRefExoticComponent<Omit<Omit<import("react").PropsWithChildren<import("@expo/html-elements/build/primitives/Text").TextProps>, "variant" | "variants">, "ref"> & import("..").StyledProps<"text"> & import("react").RefAttributes<typeof import("react-native").Text | import("react").Component<import("@expo/html-elements/build/primitives/Text").TextProps, any, any>>>; | ||
//# sourceMappingURL=H5.d.ts.map |
export declare const H6: import("react").ForwardRefExoticComponent<Omit<Omit<import("react").PropsWithChildren<import("@expo/html-elements/build/primitives/Text").TextProps>, "variant" | "variants">, "ref"> & import("..").StyledProps<"text"> & import("react").RefAttributes<typeof import("react-native").Text | import("react").Component<import("@expo/html-elements/build/primitives/Text").TextProps, any, any>>>; | ||
//# sourceMappingURL=H6.d.ts.map |
import { Image as rImage } from 'react-native'; | ||
export declare const Image: import("react").ForwardRefExoticComponent<Omit<import("react").PropsWithChildren<import("react-native").ImageProps>, "variant" | "variants"> & import("..").StyledProps<keyof import("..").Theme | undefined> & import("react").RefAttributes<rImage>>; | ||
//# sourceMappingURL=Image.d.ts.map |
@@ -22,1 +22,2 @@ export { Pressable } from './pressable'; | ||
export declare const Box: import("react").ForwardRefExoticComponent<Omit<import("react").PropsWithChildren<import("react-native").ViewProps>, "variant" | "variants"> & import("..").StyledProps<undefined> & import("react").RefAttributes<import("react-native").View>>; | ||
//# sourceMappingURL=index.d.ts.map |
export declare const P: import("react").ForwardRefExoticComponent<Omit<Omit<import("react").PropsWithChildren<import("@expo/html-elements/build/primitives/Text").TextProps>, "variant" | "variants">, "ref"> & import("..").StyledProps<"text"> & import("react").RefAttributes<typeof import("react-native").Text | import("react").Component<import("@expo/html-elements/build/primitives/Text").TextProps, any, any>>>; | ||
//# sourceMappingURL=P.d.ts.map |
@@ -14,1 +14,2 @@ import React, { ComponentProps } from 'react'; | ||
}, "ref"> & React.RefAttributes<import("react-native").View>>; | ||
//# sourceMappingURL=pressable.d.ts.map |
import { SafeAreaView as rSafeAreaView } from 'react-native'; | ||
export declare const SafeAreaView: import("react").ForwardRefExoticComponent<Omit<import("react").PropsWithChildren<import("react-native").ViewProps>, "variant" | "variants"> & import("..").StyledProps<keyof import("..").Theme | undefined> & import("react").RefAttributes<rSafeAreaView>>; | ||
//# sourceMappingURL=SafeAreaView.d.ts.map |
@@ -12,1 +12,2 @@ import React, { ComponentProps } from 'react'; | ||
} & React.RefAttributes<rScrollView>>; | ||
//# sourceMappingURL=ScrollView.d.ts.map |
import { Text as rText } from 'react-native'; | ||
export declare const Text: import("react").ForwardRefExoticComponent<Omit<import("react").PropsWithChildren<import("react-native").TextProps>, "variant" | "variants"> & import("..").StyledProps<"text"> & import("react").RefAttributes<rText>>; | ||
//# sourceMappingURL=Text.d.ts.map |
@@ -16,1 +16,2 @@ import React, { ComponentProps } from 'react'; | ||
export {}; | ||
//# sourceMappingURL=TextInput.d.ts.map |
import { View as rView } from 'react-native'; | ||
export declare const View: import("react").ForwardRefExoticComponent<Omit<import("react").PropsWithChildren<import("react-native").ViewProps>, "variant" | "variants"> & import("..").StyledProps<undefined> & import("react").RefAttributes<rView>>; | ||
//# sourceMappingURL=View.d.ts.map |
@@ -33,1 +33,2 @@ import React, { ComponentProps, ReactNode } from 'react'; | ||
export {}; | ||
//# sourceMappingURL=index.d.ts.map |
export declare const BreakpointIndexContext: import("react").Context<number>; | ||
export declare const useBreakpointIndex: () => number; | ||
//# sourceMappingURL=breakpoint-context.d.ts.map |
@@ -7,1 +7,2 @@ import React from 'react'; | ||
}): JSX.Element; | ||
//# sourceMappingURL=breakpoints.d.ts.map |
@@ -8,1 +8,2 @@ import type { CSSObject } from '@theme-ui/css'; | ||
} | ||
//# sourceMappingURL=cache.d.ts.map |
@@ -11,1 +11,2 @@ import React, { ComponentType, PropsWithChildren } from 'react'; | ||
export {}; | ||
//# sourceMappingURL=create-themed-component.d.ts.map |
@@ -5,1 +5,2 @@ export declare const getBreakpointIndex: ({ width, breakpoints, }: { | ||
}) => number; | ||
//# sourceMappingURL=get-breakpoint-index.d.ts.map |
export declare function get(obj: object, key: string | number, def?: unknown, p?: number, undef?: unknown): any; | ||
//# sourceMappingURL=get.d.ts.map |
export {}; | ||
//# sourceMappingURL=get.test.d.ts.map |
@@ -23,1 +23,2 @@ import { CSSObject, UseThemeFunction } from '@theme-ui/css'; | ||
export {}; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -12,1 +12,2 @@ import { StyledProps, Sx, ThemedOptions } from '../types-v2/sx'; | ||
export {}; | ||
//# sourceMappingURL=map-props.d.ts.map |
@@ -218,1 +218,2 @@ export declare const aliases: { | ||
export type Scales = typeof scales; | ||
//# sourceMappingURL=scales.d.ts.map |
@@ -21,1 +21,2 @@ import type { ComponentType } from 'react'; | ||
}): <Extra>(defaultStyle?: import("../types-v2/sx").Sx | ((props: Extra) => import("../types-v2/sx").Sx) | undefined) => import("react").ForwardRefExoticComponent<import("react").PropsWithoutRef<Omit<import("react").PropsWithChildren<C extends ComponentType<infer P> ? P : never>, "variant" | "variants">> & import("../types-v2/sx").StyledProps<ThemeKey> & import("react").RefAttributes<import("react").ElementRef<C>> & Extra>; | ||
//# sourceMappingURL=styled.d.ts.map |
@@ -5,1 +5,2 @@ import { DripsyFinalTheme } from '../types-v2/declarations'; | ||
export {}; | ||
//# sourceMappingURL=use-responsive-value.d.ts.map |
@@ -18,1 +18,2 @@ export * from './components'; | ||
export * from './types-v2/sx'; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -6,1 +6,2 @@ import { DripsyFinalTheme } from '../types-v2/declarations'; | ||
export declare const DripsyThemeContext: import("react").Context<DripsyThemeContext>; | ||
//# sourceMappingURL=context.d.ts.map |
@@ -45,1 +45,2 @@ import React from 'react'; | ||
export {}; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -222,1 +222,2 @@ import type { ViewStyle, TextStyle, ImageStyle } from 'react-native'; | ||
export {}; | ||
//# sourceMappingURL=declarations.d.ts.map |
@@ -24,3 +24,3 @@ import type { ThemeUICSSProperties } from '@theme-ui/css'; | ||
type ReactNativeTypesOnly = NonNullable<DripsyFinalTheme['types']>['reactNativeTypesOnly'] extends true ? true : false; | ||
type OnlyAllowThemeValuesInput = NonNullable<DripsyFinalTheme['types']>['onlyAllowThemeValues']; | ||
type OnlyAllowThemeValuesInput<T extends DripsyFinalTheme = DripsyFinalTheme> = 'onlyAllowThemeValues' extends keyof NonNullable<T['types']> ? NonNullable<T['types']>['onlyAllowThemeValues'] : undefined; | ||
type ThemeValuesOnlyForStyleKey<StyleKeyOrAlias extends StyleableSxProperties, Scale extends MaybeScaleFromStyleKeyOrAlias<StyleKeyOrAlias> = MaybeScaleFromStyleKeyOrAlias<StyleKeyOrAlias>> = OnlyAllowThemeValuesInput extends 'always' ? true : OnlyAllowThemeValuesInput extends Record<string, unknown> ? Scale extends keyof OnlyAllowThemeValuesInput ? true : false : false; | ||
@@ -75,1 +75,2 @@ type MaybeThemeUiStyle<StyleKey extends StyleableSxProperties> = ReactNativeTypesOnly extends true ? undefined : StyleKey extends keyof ThemeUICSSProperties ? ThemeUICSSProperties[StyleKey] : undefined; | ||
export {}; | ||
//# sourceMappingURL=sx.d.ts.map |
@@ -9,1 +9,2 @@ export type SmartOmit<T, K extends keyof T> = Omit<T, K>; | ||
export {}; | ||
//# sourceMappingURL=type-helpers.d.ts.map |
import { DripsyThemeContext } from './provider/context'; | ||
export declare const useDripsyTheme: () => DripsyThemeContext; | ||
//# sourceMappingURL=use-dripsy-theme.d.ts.map |
@@ -6,1 +6,2 @@ import { DripsyFinalTheme } from './types-v2/declarations'; | ||
}) => any; | ||
//# sourceMappingURL=use-sx.d.ts.map |
@@ -5,1 +5,2 @@ /** | ||
export declare const SUPPORT_FRESNEL_SSR = false; | ||
//# sourceMappingURL=deprecated-ssr.d.ts.map |
export declare const remToPixels: (rem: string) => number; | ||
//# sourceMappingURL=rem-to-pts.d.ts.map |
export declare function useStableMemo<T>(factory: () => T, deps: any[]): T; | ||
//# sourceMappingURL=use-stable-memo.d.ts.map |
@@ -14,1 +14,2 @@ import React from 'react'; | ||
export {}; | ||
//# sourceMappingURL=index.d.ts.map |
export * from './core'; | ||
//# sourceMappingURL=index.d.ts.map |
{ | ||
"name": "dripsy", | ||
"version": "4.3.4", | ||
"version": "4.3.5", | ||
"description": "🍷 A super-simple responsive design system for React Native Web.", | ||
@@ -24,7 +24,6 @@ "main": "build/index.js", | ||
"ssr": "yarn prepare && yarn pack && cd next-example && yarn add ../dripsy-v0.6.0-fresnel-2.1.tgz && yarn next", | ||
"build": "expo-module build", | ||
"clean": "expo-module clean", | ||
"test": "expo-module test", | ||
"prepare": "expo-module prepare", | ||
"expo-module": "expo-module" | ||
"build": "yarn expo-module build", | ||
"clean": "yarn expo-module clean", | ||
"test": "yarn expo-module test", | ||
"prepare": "npx expo-module prepare" | ||
}, | ||
@@ -83,3 +82,3 @@ "keywords": [ | ||
"sideEffects": false, | ||
"gitHead": "1d0655951d73340948f01f92633c7a1ce68aad4a" | ||
"gitHead": "9b39e739b8d17711fdf181c473a15b0edfaf7348" | ||
} |
@@ -91,5 +91,3 @@ /* eslint-disable @typescript-eslint/no-unused-vars */ | ||
type OnlyAllowThemeValuesInput = NonNullable< | ||
DripsyFinalTheme['types'] | ||
>['onlyAllowThemeValues'] | ||
type OnlyAllowThemeValuesInput<T extends DripsyFinalTheme = DripsyFinalTheme> = 'onlyAllowThemeValues' extends keyof NonNullable<T['types']> ? NonNullable<T['types']>['onlyAllowThemeValues'] : undefined; | ||
@@ -96,0 +94,0 @@ type ThemeValuesOnlyForStyleKey< |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
322599
257
4522