@tamagui/helpers
Advanced tools
Comparing version 1.101.0 to 1.101.1
@@ -5,3 +5,6 @@ var __defProp = Object.defineProperty; | ||
var __hasOwnProp = Object.prototype.hasOwnProperty; | ||
var __copyProps = (to, from, except, desc) => { | ||
var __export = (target, all) => { | ||
for (var name in all) | ||
__defProp(target, name, { get: all[name], enumerable: !0 }); | ||
}, __copyProps = (to, from, except, desc) => { | ||
if (from && typeof from == "object" || typeof from == "function") | ||
@@ -14,3 +17,11 @@ for (let key of __getOwnPropNames(from)) | ||
var types_exports = {}; | ||
__export(types_exports, { | ||
StyleObjectIdentifier: () => StyleObjectIdentifier, | ||
StyleObjectProperty: () => StyleObjectProperty, | ||
StyleObjectPseudo: () => StyleObjectPseudo, | ||
StyleObjectRules: () => StyleObjectRules, | ||
StyleObjectValue: () => StyleObjectValue | ||
}); | ||
module.exports = __toCommonJS(types_exports); | ||
const StyleObjectProperty = 0, StyleObjectValue = 1, StyleObjectIdentifier = 2, StyleObjectPseudo = 3, StyleObjectRules = 4; | ||
//# sourceMappingURL=types.js.map |
@@ -6,3 +6,6 @@ "use strict"; | ||
var __hasOwnProp = Object.prototype.hasOwnProperty; | ||
var __copyProps = (to, from, except, desc) => { | ||
var __export = (target, all) => { | ||
for (var name in all) | ||
__defProp(target, name, { get: all[name], enumerable: !0 }); | ||
}, __copyProps = (to, from, except, desc) => { | ||
if (from && typeof from == "object" || typeof from == "function") | ||
@@ -15,3 +18,19 @@ for (let key of __getOwnPropNames(from)) | ||
var types_exports = {}; | ||
__export(types_exports, { | ||
StyleObjectIdentifier: () => StyleObjectIdentifier, | ||
StyleObjectProperty: () => StyleObjectProperty, | ||
StyleObjectPseudo: () => StyleObjectPseudo, | ||
StyleObjectRules: () => StyleObjectRules, | ||
StyleObjectValue: () => StyleObjectValue | ||
}); | ||
module.exports = __toCommonJS(types_exports); | ||
var StyleObjectProperty = 0, StyleObjectValue = 1, StyleObjectIdentifier = 2, StyleObjectPseudo = 3, StyleObjectRules = 4; | ||
// Annotate the CommonJS export names for ESM import in node: | ||
0 && (module.exports = { | ||
StyleObjectIdentifier, | ||
StyleObjectProperty, | ||
StyleObjectPseudo, | ||
StyleObjectRules, | ||
StyleObjectValue | ||
}); | ||
//# sourceMappingURL=types.js.map |
@@ -0,1 +1,9 @@ | ||
const StyleObjectProperty = 0, StyleObjectValue = 1, StyleObjectIdentifier = 2, StyleObjectPseudo = 3, StyleObjectRules = 4; | ||
export { | ||
StyleObjectIdentifier, | ||
StyleObjectProperty, | ||
StyleObjectPseudo, | ||
StyleObjectRules, | ||
StyleObjectValue | ||
}; | ||
//# sourceMappingURL=types.js.map |
@@ -0,1 +1,9 @@ | ||
var StyleObjectProperty = 0, StyleObjectValue = 1, StyleObjectIdentifier = 2, StyleObjectPseudo = 3, StyleObjectRules = 4; | ||
export { | ||
StyleObjectIdentifier, | ||
StyleObjectProperty, | ||
StyleObjectPseudo, | ||
StyleObjectRules, | ||
StyleObjectValue | ||
}; | ||
//# sourceMappingURL=types.js.map |
{ | ||
"name": "@tamagui/helpers", | ||
"version": "1.101.0", | ||
"version": "1.101.1", | ||
"source": "src/index.ts", | ||
@@ -22,7 +22,7 @@ "types": "./types/index.d.ts", | ||
"dependencies": { | ||
"@tamagui/constants": "1.101.0", | ||
"@tamagui/simple-hash": "1.101.0" | ||
"@tamagui/constants": "1.101.1", | ||
"@tamagui/simple-hash": "1.101.1" | ||
}, | ||
"devDependencies": { | ||
"@tamagui/build": "1.101.0" | ||
"@tamagui/build": "1.101.1" | ||
}, | ||
@@ -29,0 +29,0 @@ "publishConfig": { |
@@ -1,11 +0,15 @@ | ||
export type StyleObject = { | ||
property: string | ||
pseudo?: 'hover' | 'focus' | 'focus-visible' | 'active' | ||
identifier: string | ||
rules: string[] | ||
export type StyleObject = [ | ||
property: string, | ||
value: any, | ||
identifier: string, | ||
pseudo: 'hover' | 'focus' | 'focus-visible' | 'active' | undefined, | ||
rules: string[], | ||
] | ||
// only in test mode | ||
value?: any | ||
} | ||
export const StyleObjectProperty = 0 | ||
export const StyleObjectValue = 1 | ||
export const StyleObjectIdentifier = 2 | ||
export const StyleObjectPseudo = 3 | ||
export const StyleObjectRules = 4 | ||
export type MediaStyleObject = Omit<StyleObject, 'value'> |
@@ -1,9 +0,14 @@ | ||
export type StyleObject = { | ||
property: string; | ||
pseudo?: 'hover' | 'focus' | 'focus-visible' | 'active'; | ||
identifier: string; | ||
rules: string[]; | ||
value?: any; | ||
}; | ||
export type StyleObject = [ | ||
property: string, | ||
value: any, | ||
identifier: string, | ||
pseudo: 'hover' | 'focus' | 'focus-visible' | 'active' | undefined, | ||
rules: string[] | ||
]; | ||
export declare const StyleObjectProperty = 0; | ||
export declare const StyleObjectValue = 1; | ||
export declare const StyleObjectIdentifier = 2; | ||
export declare const StyleObjectPseudo = 3; | ||
export declare const StyleObjectRules = 4; | ||
export type MediaStyleObject = Omit<StyleObject, 'value'>; | ||
//# sourceMappingURL=types.d.ts.map |
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
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
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
177820
4322
+ Added@tamagui/constants@1.101.1(transitive)
+ Added@tamagui/simple-hash@1.101.1(transitive)
- Removed@tamagui/constants@1.101.0(transitive)
- Removed@tamagui/simple-hash@1.101.0(transitive)
Updated@tamagui/constants@1.101.1
Updated@tamagui/simple-hash@1.101.1