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

@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

@draftbit/types - npm Package Compare versions

Comparing version 40.36.4-0daa9f.0 to 40.36.4-89fbcc.1

11

lib/commonjs/component-types.js

@@ -6,3 +6,3 @@ "use strict";

});
exports.TEXT_INPUT_PROPS = exports.createStateValue = exports.createActionProp = exports.createFieldNameProp = exports.FIELD_NAME = exports.BORDER_RADIUS_MODE = exports.createIconSizeProp = exports.createRowDirectionProp = exports.createDirectionProp = exports.createTextEnumProp = exports.createColorProp = exports.createNumColumnsType = exports.createStaticNumberProp = exports.createNumberProp = exports.createTextStyle = exports.createBoolProp = exports.createAspectRatioProp = exports.createIconProp = exports.createHitslopProp = exports.createResizeModeProp = exports.createSourceProp = exports.createImageProp = exports.createTextProp = exports.createElevationType = exports.COMPONENT_TYPES = exports.FORM_TYPES = exports.GROUPS = exports.PLATFORMS = exports.PROP_TYPES = void 0;
exports.TEXT_INPUT_PROPS = exports.createStateValue = exports.createActionProp = exports.createFieldNameProp = exports.FIELD_NAME = exports.BORDER_RADIUS_MODE = exports.createIconSizeProp = exports.createRowDirectionProp = exports.createDirectionProp = exports.createTextEnumProp = exports.createColorProp = exports.createNumColumnsType = exports.createStaticNumberProp = exports.createNumberProp = exports.createTextStyle = exports.createStaticBoolProp = exports.createBoolProp = exports.createAspectRatioProp = exports.createIconProp = exports.createHitslopProp = exports.createResizeModeProp = exports.createSourceProp = exports.createImageProp = exports.createTextProp = exports.createElevationType = exports.COMPONENT_TYPES = exports.FORM_TYPES = exports.GROUPS = exports.PLATFORMS = exports.PROP_TYPES = void 0;
// @ts-nocheck

@@ -210,3 +210,3 @@ const PROP_TYPES = {

required: false,
group: GROUPS.basic,
group: GROUPS.data,
...overrides

@@ -217,2 +217,9 @@ });

const createStaticBoolProp = (overrides = {}) => createBoolProp({
group: GROUPS.basic,
...overrides
});
exports.createStaticBoolProp = createStaticBoolProp;
const createTextStyle = (overrides = {}) => ({

@@ -219,0 +226,0 @@ group: GROUPS.basic,

@@ -173,2 +173,6 @@ // @ts-nocheck

required: false,
group: GROUPS.data,
...overrides
});
export const createStaticBoolProp = (overrides = {}) => createBoolProp({
group: GROUPS.basic,

@@ -175,0 +179,0 @@ ...overrides

@@ -147,2 +147,12 @@ export declare const PROP_TYPES: {

};
export declare const createStaticBoolProp: (overrides?: {}) => {
label: string;
description: string;
formType: string;
propType: string;
defaultValue: boolean;
editable: boolean;
required: boolean;
group: string;
};
export declare const createTextStyle: (overrides?: {}) => {

@@ -149,0 +159,0 @@ group: string;

4

package.json
{
"name": "@draftbit/types",
"version": "40.36.4-0daa9f.0+0daa9f6",
"version": "40.36.4-89fbcc.1+89fbcc5",
"description": "Shared constants and types between native and core components",

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

},
"gitHead": "0daa9f6f1dd00ed2667fe047aa735e0c9bbf1c4e"
"gitHead": "89fbcc56325ab81deea7d8edbcbd894e962c5cb0"
}

@@ -182,6 +182,12 @@ // @ts-nocheck

required: false,
group: GROUPS.basic,
group: GROUPS.data,
...overrides,
});
export const createStaticBoolProp = (overrides = {}) =>
createBoolProp({
group: GROUPS.basic,
...overrides,
});
export const createTextStyle = (overrides = {}) => ({

@@ -188,0 +194,0 @@ group: GROUPS.basic,

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