You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 7-8.RSVP
Socket
Socket
Sign inDemoInstall

@draftbit/types

Package Overview
Dependencies
Maintainers
3
Versions
1214
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.1-31e4ee.37 to 0.0.1-3f7e9c.38

4

package.json
{
"name": "@draftbit/types",
"version": "0.0.1-31e4ee.37+31e4ee8",
"version": "0.0.1-3f7e9c.38+3f7e9c6",
"description": "Shared constants and types between native and core components",

@@ -53,3 +53,3 @@ "main": "lib/commonjs/index.js",

},
"gitHead": "31e4ee8d09325ffdb2052f4214ec386bc47e6588"
"gitHead": "3f7e9c6ddb62b1369635c9ec19aaa99487c538e6"
}
export declare const PROP_TYPES: {
STRING: string;
ARRAY: string;
NUMBER: string;
BOOLEAN: string;
OBJECT: string;
ASSET: string;
THEME: string;
STRING: string;
ARRAY: string;
NUMBER: string;
BOOLEAN: string;
OBJECT: string;
ASSET: string;
THEME: string;
};
export declare const PLATFORMS: {
ios: string;
android: string;
web: string;
ios: string;
android: string;
web: string;
};
export declare const GROUPS: {
accessibility: string;
basic: string;
layout: string;
advanced: string;
data: string;
uncategorized: string;
action: string;
accessibility: string;
basic: string;
layout: string;
advanced: string;
data: string;
uncategorized: string;
action: string;
};
export declare const FORM_TYPES: {
json: string;
multiselect: string;
position: string;
sourceUrl: string;
url: string;
string: string;
boolean: string;
number: string;
select: string;
color: string;
typeStyle: string;
component: string;
geolocation: string;
image: string;
imageArray: string;
icon: string;
style: string;
function: string;
flatArray: string;
array: string;
aspectRatio: string;
date: string;
borderRadiusMode: string;
fieldName: string;
action: string;
json: string;
multiselect: string;
position: string;
sourceUrl: string;
url: string;
string: string;
boolean: string;
number: string;
select: string;
color: string;
typeStyle: string;
component: string;
geolocation: string;
image: string;
imageArray: string;
icon: string;
style: string;
function: string;
flatArray: string;
array: string;
aspectRatio: string;
date: string;
borderRadiusMode: string;
fieldName: string;
action: string;
};
export declare const COMPONENT_TYPES: {
basic: string;
media: string;
layout: string;
input: string;
data: string;
card: string;
header: string;
button: string;
image: string;
field: string;
formControl: string;
row: string;
container: string;
blocks: string;
deprecated: string;
screen: string;
codeComponent: string;
basic: string;
media: string;
layout: string;
input: string;
data: string;
card: string;
header: string;
button: string;
image: string;
field: string;
formControl: string;
row: string;
container: string;
blocks: string;
deprecated: string;
screen: string;
codeComponent: string;
};
export declare const createElevationType: (defaultValue: any) => {
defaultValue: any;
defaultValue: any;
label: string;
description: string;
formType: string;
propType: string;
options: number[];
editable: boolean;
required: boolean;
group: string;
};
export declare const createTextProp: (overrides: any) => any;
export declare const createImageProp: (overrides?: {}) => {
label: string;
description: string;
group: string;
formType: string;
propType: string;
defaultValue: string;
editable: boolean;
required: boolean;
};
export declare const createSourceProp: (overrides?: {}) => {
label: string;
description: string;
defaultValue: string;
group: string;
formType: string;
propType: string;
editable: boolean;
required: boolean;
};
export declare const createResizeModeProp: (overrides?: {}) => {
group: string;
label: string;
description: string;
editable: boolean;
required: boolean;
defaultValue: string;
formType: string;
propType: string;
options: string[];
};
export declare const createHitslopProp: (overrides?: {}) => {
label: string;
description: string;
group: string;
editable: boolean;
required: boolean;
formType: string;
propType: string;
defaultValue: null;
};
export declare const createIconProp: (overrides?: {}) => {
label: string;
description: string;
formType: string;
propType: string;
defaultValue: string;
required: boolean;
editable: boolean;
group: string;
};
export declare const createAspectRatioProp: (overrides?: {}) => {
label: string;
description: string;
formType: string;
propType: string;
defaultValue: number;
editable: boolean;
required: boolean;
group: string;
};
export declare const createActionProp: (overrides?: {}) => {
label: string;
description: string;
group: string;
formType: string;
propType: string;
defaultValue: null;
editable: boolean;
required: boolean;
};
export declare const createBoolProp: (overrides?: {}) => {
label: string;
description: string;
formType: string;
propType: string;
defaultValue: boolean;
editable: boolean;
required: boolean;
group: string;
};
export declare const createTextStyle: (overrides?: {}) => {
group: string;
label: string;
description: string;
editable: boolean;
required: boolean;
formType: string;
propType: string;
defaultValue: null;
};
export declare const createNumberProp: (overrides?: {}) => {
label: string;
description: string;
formType: string;
propType: string;
group: string;
defaultValue: null;
editable: boolean;
required: boolean;
min: number;
step: number;
};
export declare const createNumColumnsType: (overrides?: {}) => {
label: string;
description: string;
group: string;
formType: string;
propType: string;
defaultValue: number;
editable: boolean;
required: boolean;
};
export declare const createColorProp: (overrides?: {}) => {
group: string;
label: string;
description: string;
editable: boolean;
required: boolean;
defaultValue: null;
formType: string;
propType: string;
};
export declare const createIconSizeProp: (overrides?: {}) => {
group: string;
label: string;
description: string;
editable: boolean;
required: boolean;
formType: string;
propType: string;
defaultValue: number;
options: number[];
};
export declare const createFieldNameProp: (overrides?: {}) => {
handlerPropName: string;
group: string;
label: string;
description: string;
formType: string;
propType: string;
defaultValue: null;
valuePropName: string;
editable: boolean;
required: boolean;
};
export declare const BORDER_RADIUS_MODE: {
label: string;
description: string;
formType: string;
propType: string;
defaultValue: null;
editable: boolean;
required: boolean;
};
export declare const FIELD_NAME: {
group: string;
label: string;
description: string;
formType: string;
propType: string;
defaultValue: null;
valuePropName: string;
handlerPropName: string;
editable: boolean;
required: boolean;
};
export declare const createStateValue: (overrides?: {}) => {
group: string;
label: string;
description: string;
formType: string;
propType: string;
defaultValue: null;
valuePropName: string;
handlerPropName: string;
editable: boolean;
required: boolean;
};
export declare const TEXT_INPUT_PROPS: {
allowFontScaling: {
group: string;
label: string;
description: string;
editable: boolean;
required: boolean;
defaultValue: null;
formType: string;
propType: string;
options: number[];
};
autoCapitalize: {
group: string;
label: string;
description: string;
editable: boolean;
required: boolean;
defaultValue: null;
options: string[];
formType: string;
propType: string;
};
autoCorrect: {
group: string;
};
export declare const createTextProp: (overrides: any) => any;
export declare const createImageProp: (overrides?: {}) => {
label: string;
description: string;
group: string;
formType: string;
propType: string;
defaultValue: string;
editable: boolean;
required: boolean;
};
export declare const createSourceProp: (overrides?: {}) => {
label: string;
description: string;
defaultValue: string;
group: string;
defaultValue: null;
formType: string;
propType: string;
editable: boolean;
required: boolean;
};
export declare const createResizeModeProp: (overrides?: {}) => {
};
autoFocus: {
group: string;

@@ -108,59 +299,48 @@ label: string;

required: boolean;
defaultValue: string;
defaultValue: null;
formType: string;
propType: string;
options: string[];
};
export declare const createHitslopProp: (overrides?: {}) => {
};
caretHidden: {
group: string;
label: string;
description: string;
group: string;
editable: boolean;
required: boolean;
defaultValue: null;
formType: string;
propType: string;
defaultValue: null;
};
export declare const createIconProp: (overrides?: {}) => {
};
contextMenuHidden: {
group: string;
label: string;
description: string;
editable: boolean;
required: boolean;
defaultValue: null;
formType: string;
propType: string;
defaultValue: string;
required: boolean;
editable: boolean;
};
defaultValue: {
group: string;
};
export declare const createAspectRatioProp: (overrides?: {}) => {
label: string;
description: string;
editable: boolean;
required: boolean;
defaultValue: null;
formType: string;
propType: string;
defaultValue: number;
editable: boolean;
required: boolean;
};
editable: {
group: string;
};
export declare const createActionProp: (overrides?: {}) => {
label: string;
description: string;
group: string;
formType: string;
propType: string;
defaultValue: null;
editable: boolean;
required: boolean;
};
export declare const createBoolProp: (overrides?: {}) => {
label: string;
description: string;
defaultValue: null;
formType: string;
propType: string;
defaultValue: boolean;
editable: boolean;
required: boolean;
};
keyboardAppearance: {
group: string;
};
export declare const createTextStyle: (overrides?: {}) => {
group: string;
label: string;

@@ -170,29 +350,52 @@ description: string;

required: boolean;
defaultValue: null;
options: string[];
formType: string;
propType: string;
defaultValue: null;
};
export declare const createNumberProp: (overrides?: {}) => {
};
keyboardType: {
group: string;
label: string;
description: string;
editable: boolean;
required: boolean;
defaultValue: null;
options: string[];
formType: string;
propType: string;
};
maxLength: {
group: string;
defaultValue: null;
label: string;
description: string;
editable: boolean;
required: boolean;
defaultValue: null;
min: number;
step: number;
};
export declare const createNumColumnsType: (overrides?: {}) => {
precision: number;
formType: string;
propType: string;
};
placeholder: {
group: string;
label: string;
description: string;
group: string;
editable: boolean;
required: boolean;
defaultValue: string;
formType: string;
propType: string;
defaultValue: number;
};
placeholderTextColor: {
group: string;
label: string;
description: string;
editable: boolean;
required: boolean;
};
export declare const createColorProp: (overrides?: {}) => {
defaultValue: null;
formType: string;
propType: string;
};
returnKeyLabel: {
group: string;

@@ -206,4 +409,4 @@ label: string;

propType: string;
};
export declare const createIconSizeProp: (overrides?: {}) => {
};
returnKeyType: {
group: string;

@@ -214,240 +417,37 @@ label: string;

required: boolean;
defaultValue: null;
options: string[];
formType: string;
propType: string;
defaultValue: number;
options: number[];
};
export declare const createFieldNameProp: (overrides?: {}) => {
handlerPropName: string;
};
secureTextEntry: {
group: string;
label: string;
description: string;
formType: string;
propType: string;
defaultValue: null;
valuePropName: string;
editable: boolean;
required: boolean;
};
export declare const BORDER_RADIUS_MODE: {
label: string;
description: string;
defaultValue: null;
formType: string;
propType: string;
defaultValue: null;
editable: boolean;
required: boolean;
};
export declare const FIELD_NAME: {
};
selectionColor: {
group: string;
label: string;
description: string;
editable: boolean;
required: boolean;
defaultValue: null;
formType: string;
propType: string;
defaultValue: null;
valuePropName: string;
handlerPropName: string;
editable: boolean;
required: boolean;
};
export declare const createStateValue: (overrides?: {}) => {
};
selectTextOnFocus: {
group: string;
label: string;
description: string;
editable: boolean;
required: boolean;
defaultValue: null;
formType: string;
propType: string;
defaultValue: null;
valuePropName: string;
handlerPropName: string;
editable: boolean;
required: boolean;
};
};
export declare const TEXT_INPUT_PROPS: {
allowFontScaling: {
group: string;
label: string;
description: string;
editable: boolean;
required: boolean;
defaultValue: null;
formType: string;
propType: string;
};
autoCapitalize: {
group: string;
label: string;
description: string;
editable: boolean;
required: boolean;
defaultValue: null;
options: string[];
formType: string;
propType: string;
};
autoCorrect: {
group: string;
label: string;
description: string;
editable: boolean;
required: boolean;
defaultValue: null;
formType: string;
propType: string;
};
autoFocus: {
group: string;
label: string;
description: string;
editable: boolean;
required: boolean;
defaultValue: null;
formType: string;
propType: string;
};
caretHidden: {
group: string;
label: string;
description: string;
editable: boolean;
required: boolean;
defaultValue: null;
formType: string;
propType: string;
};
contextMenuHidden: {
group: string;
label: string;
description: string;
editable: boolean;
required: boolean;
defaultValue: null;
formType: string;
propType: string;
};
defaultValue: {
group: string;
label: string;
description: string;
editable: boolean;
required: boolean;
defaultValue: null;
formType: string;
propType: string;
};
editable: {
group: string;
label: string;
description: string;
editable: boolean;
required: boolean;
defaultValue: null;
formType: string;
propType: string;
};
keyboardAppearance: {
group: string;
label: string;
description: string;
editable: boolean;
required: boolean;
defaultValue: null;
options: string[];
formType: string;
propType: string;
};
keyboardType: {
group: string;
label: string;
description: string;
editable: boolean;
required: boolean;
defaultValue: null;
options: string[];
formType: string;
propType: string;
};
maxLength: {
group: string;
label: string;
description: string;
editable: boolean;
required: boolean;
defaultValue: null;
min: number;
step: number;
precision: number;
formType: string;
propType: string;
};
placeholder: {
group: string;
label: string;
description: string;
editable: boolean;
required: boolean;
defaultValue: string;
formType: string;
propType: string;
};
placeholderTextColor: {
group: string;
label: string;
description: string;
editable: boolean;
required: boolean;
defaultValue: null;
formType: string;
propType: string;
};
returnKeyLabel: {
group: string;
label: string;
description: string;
editable: boolean;
required: boolean;
defaultValue: null;
formType: string;
propType: string;
};
returnKeyType: {
group: string;
label: string;
description: string;
editable: boolean;
required: boolean;
defaultValue: null;
options: string[];
formType: string;
propType: string;
};
secureTextEntry: {
group: string;
label: string;
description: string;
editable: boolean;
required: boolean;
defaultValue: null;
formType: string;
propType: string;
};
selectionColor: {
group: string;
label: string;
description: string;
editable: boolean;
required: boolean;
defaultValue: null;
formType: string;
propType: string;
};
selectTextOnFocus: {
group: string;
label: string;
description: string;
editable: boolean;
required: boolean;
defaultValue: null;
formType: string;
propType: string;
};
};
import type { ComponentType, ComponentPropsWithoutRef } from "react";
export * from "./component-types";
export declare type Font = {
fontFamily: string;
fontWeight?: "normal" | "bold" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900";
fontFamily: string;
fontWeight?:
| "normal"
| "bold"
| "100"
| "200"
| "300"
| "400"
| "500"
| "600"
| "700"
| "800"
| "900";
};
export declare type Fonts = {
regular: Font;
medium: Font;
light: Font;
thin: Font;
regular: Font;
medium: Font;
light: Font;
thin: Font;
};
export declare type colorTypes = "primary" | "secondary" | "surface" | "background" | "error" | "divider" | "strong" | "medium" | "light" | "strongInverse" | "mediumInverse" | "lightInverse";
export declare type colorTypes =
| "primary"
| "secondary"
| "surface"
| "background"
| "error"
| "divider"
| "strong"
| "medium"
| "light"
| "strongInverse"
| "mediumInverse"
| "lightInverse";
export declare type Theme = any;
export declare type $Omit<T, K> = Pick<T, Exclude<keyof T, K>>;
export declare type $RemoveChildren<T extends ComponentType<any>> = $Omit<ComponentPropsWithoutRef<T>, "children">;
export declare type $RemoveChildren<T extends ComponentType<any>> = $Omit<
ComponentPropsWithoutRef<T>,
"children"
>;
export declare type EllipsizeProp = "head" | "middle" | "tail" | "clip";

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc