@css-hooks/qwik 3.0.0 → 3.0.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/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@css-hooks/qwik",
3
3
  "description": "CSS Hooks for Qwik",
4
- "version": "3.0.0",
4
+ "version": "3.0.1",
5
5
  "author": "Nick Saunders",
6
6
  "dependencies": {
7
- "@css-hooks/core": "3.0.0"
7
+ "@css-hooks/core": "3.0.1"
8
8
  },
9
9
  "devDependencies": {
10
10
  "@builder.io/qwik": "^1.9.0",
package/types/index.d.ts CHANGED
@@ -4,6 +4,7 @@
4
4
  * @packageDocumentation
5
5
  */
6
6
  import type { CSSProperties } from "@builder.io/qwik";
7
+ export type * from "@css-hooks/core";
7
8
  /** @internal */
8
9
  export declare function _stringifyValue(value: unknown, propertyName: string): string | null;
9
10
  /**
@@ -5,7 +5,7 @@
5
5
  "toolPackages": [
6
6
  {
7
7
  "packageName": "@microsoft/api-extractor",
8
- "packageVersion": "7.43.1"
8
+ "packageVersion": "7.47.11"
9
9
  }
10
10
  ]
11
11
  }
@@ -1,60 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.unitlessNumbers = void 0;
4
- /**
5
- * CSS properties which accept numbers but are not in units of "px".
6
- *
7
- * @internal
8
- */
9
- exports.unitlessNumbers = new Set([
10
- "animationIterationCount",
11
- "aspectRatio",
12
- "borderImageOutset",
13
- "borderImageSlice",
14
- "borderImageWidth",
15
- "boxFlex",
16
- "boxFlexGroup",
17
- "boxOrdinalGroup",
18
- "columnCount",
19
- "columns",
20
- "flex",
21
- "flexGrow",
22
- "flexShrink",
23
- "gridArea",
24
- "gridRow",
25
- "gridRowEnd",
26
- "gridRowStart",
27
- "gridColumn",
28
- "gridColumnEnd",
29
- "gridColumnStart",
30
- "fontWeight",
31
- "lineClamp",
32
- "lineHeight",
33
- "opacity",
34
- "order",
35
- "orphans",
36
- "scale",
37
- "tabSize",
38
- "widows",
39
- "zIndex",
40
- "zoom",
41
- "MozAnimationIterationCount", // Known Prefixed Properties
42
- "MozBoxFlex", // TODO: Remove these since they shouldn't be used in modern code
43
- "msFlex",
44
- "msFlexPositive",
45
- "WebkitAnimationIterationCount",
46
- "WebkitBoxFlex",
47
- "WebkitBoxOrdinalGroup",
48
- "WebkitColumnCount",
49
- "WebkitColumns",
50
- "WebkitFlex",
51
- "WebkitFlexGrow",
52
- "WebkitFlexShrink",
53
- "WebkitLineClamp",
54
- ]);
55
- /** @internal */
56
- function default_1(name) {
57
- // modified from Builder.io's source to account for custom properties
58
- return /^--/.test(name) || exports.unitlessNumbers.has(name);
59
- }
60
- exports.default = default_1;
@@ -1,56 +0,0 @@
1
- /**
2
- * CSS properties which accept numbers but are not in units of "px".
3
- *
4
- * @internal
5
- */
6
- export const unitlessNumbers = new Set([
7
- "animationIterationCount",
8
- "aspectRatio",
9
- "borderImageOutset",
10
- "borderImageSlice",
11
- "borderImageWidth",
12
- "boxFlex",
13
- "boxFlexGroup",
14
- "boxOrdinalGroup",
15
- "columnCount",
16
- "columns",
17
- "flex",
18
- "flexGrow",
19
- "flexShrink",
20
- "gridArea",
21
- "gridRow",
22
- "gridRowEnd",
23
- "gridRowStart",
24
- "gridColumn",
25
- "gridColumnEnd",
26
- "gridColumnStart",
27
- "fontWeight",
28
- "lineClamp",
29
- "lineHeight",
30
- "opacity",
31
- "order",
32
- "orphans",
33
- "scale",
34
- "tabSize",
35
- "widows",
36
- "zIndex",
37
- "zoom",
38
- "MozAnimationIterationCount", // Known Prefixed Properties
39
- "MozBoxFlex", // TODO: Remove these since they shouldn't be used in modern code
40
- "msFlex",
41
- "msFlexPositive",
42
- "WebkitAnimationIterationCount",
43
- "WebkitBoxFlex",
44
- "WebkitBoxOrdinalGroup",
45
- "WebkitColumnCount",
46
- "WebkitColumns",
47
- "WebkitFlex",
48
- "WebkitFlexGrow",
49
- "WebkitFlexShrink",
50
- "WebkitLineClamp",
51
- ]);
52
- /** @internal */
53
- export default function (name) {
54
- // modified from Builder.io's source to account for custom properties
55
- return /^--/.test(name) || unitlessNumbers.has(name);
56
- }
@@ -1,8 +0,0 @@
1
- /**
2
- * CSS properties which accept numbers but are not in units of "px".
3
- *
4
- * @internal
5
- */
6
- export declare const unitlessNumbers: Set<string>;
7
- /** @internal */
8
- export default function (name: string): boolean;