@draftbit/types
Advanced tools
Comparing version 40.36.4-0daa9f.0 to 40.36.4-89fbcc.1
@@ -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; |
{ | ||
"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
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
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
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
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
143959
2689