@okshaun/components 0.3.3 → 0.3.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +53 -8
- package/dist/index.js.map +1 -1
- package/dist/preset.js +14 -7
- package/dist/preset.js.map +1 -1
- package/package.json +1 -1
package/dist/preset.js
CHANGED
|
@@ -41,19 +41,19 @@ const lineHeights = {
|
|
|
41
41
|
value: "1"
|
|
42
42
|
},
|
|
43
43
|
tighter: {
|
|
44
|
-
value: "1em + 0.125rem"
|
|
44
|
+
value: "calc(1em + 0.125rem)"
|
|
45
45
|
},
|
|
46
46
|
tight: {
|
|
47
|
-
value: "1em + 0.25rem"
|
|
47
|
+
value: "calc(1em + 0.25rem)"
|
|
48
48
|
},
|
|
49
49
|
default: {
|
|
50
|
-
value: "1em + 0.5rem"
|
|
50
|
+
value: "calc(1em + 0.5rem)"
|
|
51
51
|
},
|
|
52
52
|
loose: {
|
|
53
|
-
value: "1em + 0.75rem"
|
|
53
|
+
value: "calc(1em + 0.75rem)"
|
|
54
54
|
},
|
|
55
55
|
looser: {
|
|
56
|
-
value: "1em + 0.875rem"
|
|
56
|
+
value: "calc(1em + 0.875rem)"
|
|
57
57
|
}
|
|
58
58
|
};
|
|
59
59
|
const letterSpacings = {
|
|
@@ -6570,9 +6570,16 @@ const {
|
|
|
6570
6570
|
...regularComponents
|
|
6571
6571
|
} = componentRecipes;
|
|
6572
6572
|
const transformedRecipes = Object.fromEntries(
|
|
6573
|
-
Object.entries(regularComponents).map(([key, value]) => [
|
|
6573
|
+
Object.entries(regularComponents).map(([key, value]) => [
|
|
6574
|
+
key.replace(/Recipe$/, ""),
|
|
6575
|
+
value
|
|
6576
|
+
])
|
|
6574
6577
|
);
|
|
6575
|
-
const {
|
|
6578
|
+
const {
|
|
6579
|
+
box: _box,
|
|
6580
|
+
divider: _divider,
|
|
6581
|
+
...pandaBasePresetPatterns
|
|
6582
|
+
} = index_default.patterns;
|
|
6576
6583
|
const pandaBasePresetConditions = index_default.conditions;
|
|
6577
6584
|
const pandaBasePresetUtilities = index_default.utilities;
|
|
6578
6585
|
const pandaBasePresetGlobalCss = index_default.globalCss;
|