@takumi-rs/helpers 0.12.0 → 0.12.2

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +6 -2
  2. package/package.json +4 -6
package/dist/index.d.ts CHANGED
@@ -145,7 +145,7 @@ export type ObjectFit = "contain" | "cover" | "fill" | "scale-down" | "none";
145
145
  *
146
146
  * This enum determines how an element is positioned within its containing element.
147
147
  */
148
- export type Position = "static" | "relative" | "absolute" | "fixed" | "sticky";
148
+ type Position$1 = "static" | "relative" | "absolute" | "fixed" | "sticky";
149
149
  /**
150
150
  * Represents values that can be applied to all sides of an element.
151
151
  *
@@ -245,7 +245,7 @@ export type Style = {
245
245
  /**
246
246
  * Positioning method (relative, absolute, etc.)
247
247
  */
248
- position: Position;
248
+ position: Position$1;
249
249
  /**
250
250
  * Spacing between flex items
251
251
  */
@@ -380,4 +380,8 @@ export declare function gradient(from: ColorInput, to: ColorInput, angle?: numbe
380
380
  angle: number;
381
381
  };
382
382
 
383
+ export {
384
+ Position$1 as Position,
385
+ };
386
+
383
387
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@takumi-rs/helpers",
3
- "version": "0.12.0",
3
+ "version": "0.12.2",
4
4
  "author": {
5
5
  "email": "me@kane.tw",
6
6
  "name": "Kane Wang",
@@ -19,12 +19,10 @@
19
19
  "url": "git+https://github.com/kane50613/takumi.git"
20
20
  },
21
21
  "devDependencies": {
22
- "@types/bun": "latest",
22
+ "@types/bun": "catalog:",
23
23
  "@types/react": "^19.1.8",
24
- "bun-plugin-dts": "^0.3.0"
25
- },
26
- "peerDependencies": {
27
- "typescript": "^5"
24
+ "bun-plugin-dts": "^0.3.0",
25
+ "typescript": "catalog:"
28
26
  },
29
27
  "exports": {
30
28
  "types": "./dist/index.d.ts",