@arbor-css/classes 0.0.9 → 0.0.11

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.
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/rules/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAS1C,eAAO,MAAM,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,EAS9B,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/rules/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAU1C,eAAO,MAAM,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,EAU9B,CAAC"}
@@ -5,6 +5,7 @@ import { clipPathRules } from './clip.js';
5
5
  import { colorRules } from './color.js';
6
6
  import { shadowRules } from './shadow.js';
7
7
  import { spacingRules } from './spacing.js';
8
+ import { touchActionRules } from './touchAction.js';
8
9
  import { typographyRules } from './typography.js';
9
10
  export const rules = [
10
11
  ...baseRules,
@@ -15,5 +16,6 @@ export const rules = [
15
16
  ...typographyRules,
16
17
  ...arrowRules,
17
18
  ...clipPathRules,
19
+ ...touchActionRules,
18
20
  ];
19
21
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/rules/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,IAAI,SAAS,EAAE,MAAM,2BAA2B,CAAC;AAG/D,OAAO,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC1C,OAAO,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC;AAC1C,OAAO,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC1C,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAC5C,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAElD,MAAM,CAAC,MAAM,KAAK,GAAkB;IACnC,GAAI,SAAiB;IACrB,GAAG,WAAW;IACd,GAAG,UAAU;IACb,GAAG,YAAY;IACf,GAAG,WAAW;IACd,GAAG,eAAe;IAClB,GAAG,UAAU;IACb,GAAG,aAAa;CAChB,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/rules/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,IAAI,SAAS,EAAE,MAAM,2BAA2B,CAAC;AAG/D,OAAO,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC1C,OAAO,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC;AAC1C,OAAO,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC1C,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAC5C,OAAO,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AACpD,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAElD,MAAM,CAAC,MAAM,KAAK,GAAkB;IACnC,GAAI,SAAiB;IACrB,GAAG,WAAW;IACd,GAAG,UAAU;IACb,GAAG,YAAY;IACf,GAAG,WAAW;IACd,GAAG,eAAe;IAClB,GAAG,UAAU;IACb,GAAG,aAAa;IAChB,GAAG,gBAAgB;CACnB,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { Rule } from 'unocss';
2
+ export declare const touchActionRules: Rule[];
3
+ //# sourceMappingURL=touchAction.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"touchAction.d.ts","sourceRoot":"","sources":["../../src/rules/touchAction.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAE9B,eAAO,MAAM,gBAAgB,EAAE,IAAI,EAKlC,CAAC"}
@@ -0,0 +1,7 @@
1
+ export const touchActionRules = [
2
+ [
3
+ /^touch-(none|auto|pan-x|pan-y|manipulation)$/,
4
+ ([, value]) => ({ 'touch-action': value }),
5
+ ],
6
+ ];
7
+ //# sourceMappingURL=touchAction.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"touchAction.js","sourceRoot":"","sources":["../../src/rules/touchAction.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,gBAAgB,GAAW;IACvC;QACC,8CAA8C;QAC9C,CAAC,CAAC,EAAE,KAAK,CAAC,EAAE,EAAE,CAAC,CAAC,EAAE,cAAc,EAAE,KAAK,EAAE,CAAC;KAC1C;CACD,CAAC"}
package/dist/util/h.d.ts CHANGED
@@ -1,4 +1,4 @@
1
1
  import * as valueHandlers from './handlers.js';
2
- export declare const h: import("@unocss/rule-utils").ValueHandler<"number" | "time" | "position" | "px" | "auto" | "numberWithUnit" | "rem" | "percent" | "fraction" | "bracket" | "bracketOfColor" | "bracketOfLength" | "bracketOfPosition" | "cssvar" | "degree" | "global" | "properties", object>;
2
+ export declare const h: import("@unocss/rule-utils").ValueHandler<"number" | "position" | "px" | "auto" | "numberWithUnit" | "rem" | "percent" | "fraction" | "bracket" | "bracketOfColor" | "bracketOfLength" | "bracketOfPosition" | "cssvar" | "time" | "degree" | "global" | "properties", object>;
3
3
  export { valueHandlers };
4
4
  //# sourceMappingURL=h.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arbor-css/classes",
3
- "version": "0.0.9",
3
+ "version": "0.0.11",
4
4
  "type": "module",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -13,7 +13,6 @@
13
13
  ],
14
14
  "exports": {
15
15
  ".": {
16
- "development": "./src/index.ts",
17
16
  "import": "./dist/index.js",
18
17
  "node": "./dist/index.js",
19
18
  "types": "./dist/index.d.ts",
@@ -30,7 +29,7 @@
30
29
  "@unocss/preset-mini": "^66.6.8",
31
30
  "@unocss/rule-utils": "^66.6.8",
32
31
  "unocss": "^66.6.8",
33
- "@arbor-css/util": "0.0.9"
32
+ "@arbor-css/util": "0.0.11"
34
33
  },
35
34
  "devDependencies": {
36
35
  "@base-ui/react": "^1.4.1",
@@ -44,10 +43,10 @@
44
43
  "typescript": "^6.0.3",
45
44
  "vite": "^8.0.10",
46
45
  "vitest": "^4.1.5",
47
- "@arbor-css/colors": "0.0.9",
48
- "@arbor-css/core": "0.0.9",
49
- "@arbor-css/globals": "0.0.9",
50
- "@arbor-css/preset": "0.0.9"
46
+ "@arbor-css/core": "0.0.11",
47
+ "@arbor-css/colors": "0.0.11",
48
+ "@arbor-css/globals": "0.0.11",
49
+ "@arbor-css/preset": "0.0.11"
51
50
  },
52
51
  "scripts": {
53
52
  "build": "tsc",