@bamboocss/preset-base 1.15.0 → 1.16.1

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.cjs CHANGED
@@ -240,7 +240,6 @@ const stack = definePattern({
240
240
  }
241
241
  });
242
242
  const vstack = definePattern({
243
- jsxName: "VStack",
244
243
  properties: {
245
244
  justify: {
246
245
  type: "property",
@@ -265,7 +264,6 @@ const vstack = definePattern({
265
264
  }
266
265
  });
267
266
  const hstack = definePattern({
268
- jsxName: "HStack",
269
267
  properties: {
270
268
  justify: {
271
269
  type: "property",
@@ -538,21 +536,18 @@ const patterns = {
538
536
  square,
539
537
  circle,
540
538
  center,
541
- linkOverlay: definePattern({
542
- jsxElement: "a",
543
- transform(props) {
544
- return {
545
- _before: {
546
- content: "\"\"",
547
- position: "absolute",
548
- inset: "0",
549
- zIndex: "0",
550
- ...props["_before"]
551
- },
552
- ...props
553
- };
554
- }
555
- }),
539
+ linkOverlay: definePattern({ transform(props) {
540
+ return {
541
+ _before: {
542
+ content: "\"\"",
543
+ position: "absolute",
544
+ inset: "0",
545
+ zIndex: "0",
546
+ ...props["_before"]
547
+ },
548
+ ...props
549
+ };
550
+ } }),
556
551
  aspectRatio,
557
552
  grid,
558
553
  gridItem,
package/dist/index.d.cts CHANGED
@@ -205,7 +205,6 @@ declare const preset: {
205
205
  };
206
206
  };
207
207
  vstack: {
208
- jsxName: string;
209
208
  properties: {
210
209
  justify: {
211
210
  type: "property";
@@ -232,7 +231,6 @@ declare const preset: {
232
231
  };
233
232
  };
234
233
  hstack: {
235
- jsxName: string;
236
234
  properties: {
237
235
  justify: {
238
236
  type: "property";
@@ -337,7 +335,6 @@ declare const preset: {
337
335
  };
338
336
  };
339
337
  linkOverlay: {
340
- jsxElement: string;
341
338
  transform(props: {
342
339
  [x: string]: any;
343
340
  [x: number]: any;
package/dist/index.d.mts CHANGED
@@ -205,7 +205,6 @@ declare const preset: {
205
205
  };
206
206
  };
207
207
  vstack: {
208
- jsxName: string;
209
208
  properties: {
210
209
  justify: {
211
210
  type: "property";
@@ -232,7 +231,6 @@ declare const preset: {
232
231
  };
233
232
  };
234
233
  hstack: {
235
- jsxName: string;
236
234
  properties: {
237
235
  justify: {
238
236
  type: "property";
@@ -337,7 +335,6 @@ declare const preset: {
337
335
  };
338
336
  };
339
337
  linkOverlay: {
340
- jsxElement: string;
341
338
  transform(props: {
342
339
  [x: string]: any;
343
340
  [x: number]: any;
package/dist/index.mjs CHANGED
@@ -236,7 +236,6 @@ const stack = definePattern({
236
236
  }
237
237
  });
238
238
  const vstack = definePattern({
239
- jsxName: "VStack",
240
239
  properties: {
241
240
  justify: {
242
241
  type: "property",
@@ -261,7 +260,6 @@ const vstack = definePattern({
261
260
  }
262
261
  });
263
262
  const hstack = definePattern({
264
- jsxName: "HStack",
265
263
  properties: {
266
264
  justify: {
267
265
  type: "property",
@@ -534,21 +532,18 @@ const patterns = {
534
532
  square,
535
533
  circle,
536
534
  center,
537
- linkOverlay: definePattern({
538
- jsxElement: "a",
539
- transform(props) {
540
- return {
541
- _before: {
542
- content: "\"\"",
543
- position: "absolute",
544
- inset: "0",
545
- zIndex: "0",
546
- ...props["_before"]
547
- },
548
- ...props
549
- };
550
- }
551
- }),
535
+ linkOverlay: definePattern({ transform(props) {
536
+ return {
537
+ _before: {
538
+ content: "\"\"",
539
+ position: "absolute",
540
+ inset: "0",
541
+ zIndex: "0",
542
+ ...props["_before"]
543
+ },
544
+ ...props
545
+ };
546
+ } }),
552
547
  aspectRatio,
553
548
  grid,
554
549
  gridItem,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bamboocss/preset-base",
3
- "version": "1.15.0",
3
+ "version": "1.16.1",
4
4
  "description": "The base preset for Bamboo CSS that contains the conditions and utilities",
5
5
  "homepage": "https://bamboocss.com",
6
6
  "license": "MIT",
@@ -33,7 +33,7 @@
33
33
  "access": "public"
34
34
  },
35
35
  "dependencies": {
36
- "@bamboocss/types": "1.15.0"
36
+ "@bamboocss/types": "1.16.1"
37
37
  },
38
38
  "scripts": {
39
39
  "build": "tsdown src/index.ts --format=esm,cjs --dts",