Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

dripsy

Package Overview
Dependencies
Maintainers
1
Versions
222
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dripsy - npm Package Compare versions

Comparing version 4.2.0 to 4.3.0

4

build/core/components/activity-indicator.d.ts
import { ComponentProps } from 'react';
import { ActivityIndicator as NativeActivityIndicator } from 'react-native';
import { SxProp } from '../types-v2/sx';
import { ColorPath, SxProp } from '../types-v2/sx';
import { DripsyBaseTheme, DripsyFinalTheme } from '../types-v2/declarations';
type Props<Theme extends DripsyBaseTheme = DripsyFinalTheme> = Omit<ComponentProps<typeof NativeActivityIndicator>, 'color'> & {
color?: (string & {}) | keyof Theme['colors'];
color?: (string & {}) | ColorPath;
};

@@ -8,0 +8,0 @@ declare function Indicator(props: Props & {

import React, { ComponentProps } from 'react';
import { TextInput as rTextInput } from 'react-native';
import { DripsyFinalTheme } from '../types-v2/declarations';
import { StyledProps } from '../types-v2/sx';
import { ColorPath, StyledProps } from '../types-v2/sx';
declare const DripsyInput: React.ForwardRefExoticComponent<Omit<React.PropsWithChildren<import("react-native").TextInputProps>, "variant" | "variants"> & StyledProps<"forms"> & React.RefAttributes<rTextInput>>;

@@ -9,3 +8,3 @@ type InputProps = React.ComponentPropsWithoutRef<typeof DripsyInput>;

export type DripsyTextInputProps = StyledProps<'forms'> & Omit<ComponentProps<typeof rTextInput>, ColorKeys> & {
[key in ColorKeys]?: (string & {}) | keyof DripsyFinalTheme['colors'];
[key in ColorKeys]?: (string & {}) | ColorPath;
};

@@ -12,0 +11,0 @@ export declare const TextInput: React.ForwardRefExoticComponent<StyledProps<"forms"> & Omit<import("react-native").TextInputProps, "selectionColor" | "placeholderTextColor" | "underlineColorAndroid"> & {

import type { ViewStyle, TextStyle, ImageStyle } from 'react-native';
import type { Theme } from '@theme-ui/css';
import type { Function } from 'ts-toolbelt';
import { Keyof } from './type-helpers';
export type ThemeColorName = Keyof<DripsyFinalTheme['colors']>;
import { ColorPath } from './sx';
export type ThemeColorName = ColorPath;
export type Shadows = Pick<ViewStyle, 'elevation' | 'shadowColor' | 'shadowOffset' | 'shadowOpacity' | 'shadowRadius'>;

@@ -7,0 +7,0 @@ export type TextShadows = Pick<TextStyle, 'textShadowColor' | 'textShadowOffset' | 'textShadowRadius'>;

@@ -40,2 +40,3 @@ import type { ThemeUICSSProperties } from '@theme-ui/css';

}>;
export type ColorPath = DotPathOrKeyOf<DripsyFinalTheme['colors']>;
export type Variant = DotPath<AllVariantSets>;

@@ -42,0 +43,0 @@ export type Sx = {

@@ -6,2 +6,10 @@ # Change Log

# [4.3.0](https://github.com/nandorojo/dripsy/compare/v4.2.0...v4.3.0) (2023-05-16)
**Note:** Version bump only for package dripsy
# [4.2.0](https://github.com/nandorojo/dripsy/compare/v4.1.0...v4.2.0) (2023-05-16)

@@ -8,0 +16,0 @@

{
"name": "dripsy",
"version": "4.2.0",
"version": "4.3.0",
"description": "🍷 A super-simple responsive design system for React Native Web.",

@@ -89,3 +89,3 @@ "main": "build/index.js",

"sideEffects": false,
"gitHead": "c3c8874b4f4f98baf06627426fe88e2f804a35bb"
"gitHead": "9d409492bcf88c99d0e2888a440f7d074a4e6f35"
}
import type { ViewStyle, TextStyle, ImageStyle } from 'react-native'
import type { Theme } from '@theme-ui/css'
import type { Function } from 'ts-toolbelt'
import { Keyof } from './type-helpers'
import { ColorPath } from './sx'
export type ThemeColorName = Keyof<DripsyFinalTheme['colors']>
export type ThemeColorName = ColorPath

@@ -8,0 +8,0 @@ export type Shadows = Pick<

@@ -168,5 +168,7 @@ /* eslint-disable @typescript-eslint/no-unused-vars */

export type ColorPath = DotPathOrKeyOf<DripsyFinalTheme['colors']>
type DotPathOrKeyofTest = AssertEqual<
DotPathOrKeyOf<TestTheme['colors']>,
'$nested.100'
'$nested.100' | '$text'
>

@@ -173,0 +175,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc