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 40.33.3 to 40.33.7

12

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.createDirectionProp = exports.createTextEnumProp = exports.createColorProp = exports.createNumColumnsType = 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.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;
// @ts-nocheck

@@ -306,2 +306,12 @@ const PROP_TYPES = {

const createRowDirectionProp = (overrides = {}) => createTextEnumProp({
label: "Direction",
description: "Whether the element will appear on the left or right",
formType: FORM_TYPES.flatArray,
options: ["row", "row-reverse"],
...overrides
});
exports.createRowDirectionProp = createRowDirectionProp;
const createIconSizeProp = (overrides = {}) => ({

@@ -308,0 +318,0 @@ group: GROUPS.basic,

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

});
var _exportNames = {
RowDirection: true
};
exports.RowDirection = void 0;

@@ -12,2 +16,3 @@ var _componentTypes = require("./component-types");

if (key === "default" || key === "__esModule") return;
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
if (key in exports && exports[key] === _componentTypes[key]) return;

@@ -21,2 +26,9 @@ Object.defineProperty(exports, key, {

});
let RowDirection;
exports.RowDirection = RowDirection;
(function (RowDirection) {
RowDirection["Row"] = "row";
RowDirection["RowReverse"] = "row-reverse";
})(RowDirection || (exports.RowDirection = RowDirection = {}));
//# sourceMappingURL=index.js.map

@@ -248,2 +248,9 @@ // @ts-nocheck

});
export const createRowDirectionProp = (overrides = {}) => createTextEnumProp({
label: "Direction",
description: "Whether the element will appear on the left or right",
formType: FORM_TYPES.flatArray,
options: ["row", "row-reverse"],
...overrides
});
export const createIconSizeProp = (overrides = {}) => ({

@@ -250,0 +257,0 @@ group: GROUPS.basic,

export * from "./component-types";
export let RowDirection;
(function (RowDirection) {
RowDirection["Row"] = "row";
RowDirection["RowReverse"] = "row-reverse";
})(RowDirection || (RowDirection = {}));
//# sourceMappingURL=index.js.map

@@ -217,2 +217,13 @@ export declare const PROP_TYPES: {

};
export declare const createRowDirectionProp: (overrides?: {}) => {
group: string;
label: string;
description: string;
editable: boolean;
required: boolean;
formType: string;
propType: string;
defaultValue: null;
options: never[];
};
export declare const createIconSizeProp: (overrides?: {}) => {

@@ -219,0 +230,0 @@ group: string;

@@ -13,2 +13,6 @@ import type { ComponentType, ComponentPropsWithoutRef } from "react";

};
export declare enum RowDirection {
Row = "row",
RowReverse = "row-reverse"
}
export declare type colorTypes = "primary" | "secondary" | "surface" | "background" | "error" | "divider" | "strong" | "medium" | "light" | "strongInverse" | "mediumInverse" | "lightInverse";

@@ -15,0 +19,0 @@ export declare type Theme = any;

4

package.json
{
"name": "@draftbit/types",
"version": "40.33.3",
"version": "40.33.7",
"description": "Shared constants and types between native and core components",

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

},
"gitHead": "ffd904c322aac991573cb28ec152d3520a97b89c"
"gitHead": "2d59fa48eb663fdffe5bf7f033c376a37b772e08"
}

@@ -266,2 +266,11 @@ // @ts-nocheck

export const createRowDirectionProp = (overrides = {}) =>
createTextEnumProp({
label: "Direction",
description: "Whether the element will appear on the left or right",
formType: FORM_TYPES.flatArray,
options: ["row", "row-reverse"],
...overrides,
});
export const createIconSizeProp = (overrides = {}) => ({

@@ -268,0 +277,0 @@ group: GROUPS.basic,

@@ -27,2 +27,7 @@ import type { ComponentType, ComponentPropsWithoutRef } from "react";

export enum RowDirection {
Row = "row",
RowReverse = "row-reverse",
}
export type colorTypes =

@@ -29,0 +34,0 @@ | "primary"

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc