@cssints/fluid 0.6.0 → 0.7.0

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.d.mts CHANGED
@@ -1,5 +1,4 @@
1
1
  import { CSSStyleValue } from "cssints";
2
- //#region src/index.d.ts
3
2
  /** What `fluid()` gives: a length, for any property that takes one. */
4
3
  export type Fluid = CSSStyleValue<"length">;
5
4
  declare class Clamp extends CSSStyleValue<"length"> {
@@ -37,4 +36,4 @@ type Members = ReturnType<typeof fluidScope.export>;
37
36
  export declare const fluid: Members["fluid"] & {
38
37
  container: Members["fluidContainer"];
39
38
  };
40
- //#endregion
39
+ export {};
package/dist/index.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  import { CSSStyleValue } from "cssints";
2
2
  import { arg, fn, scope } from "cssints/plugin";
3
- //#region src/index.ts
3
+ // src/index.ts
4
4
  var Clamp = class extends CSSStyleValue {
5
5
  text;
6
6
  constructor(text) {
@@ -67,5 +67,4 @@ const members = scope("fluid", {
67
67
  * `zoom: false`. `fluid.container(...)` is the same against the width of the nearest container (`cqi`).
68
68
  */
69
69
  const fluid = Object.assign(members.fluid, { container: members.fluidContainer });
70
- //#endregion
71
70
  export { fluid };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cssints/fluid",
3
- "version": "0.6.0",
3
+ "version": "0.7.0",
4
4
  "description": "fluid() for cssints: clamp() between two widths, computed at build time, with the WCAG 1.4.4 zoom check",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -21,7 +21,7 @@
21
21
  }
22
22
  },
23
23
  "peerDependencies": {
24
- "cssints": "^0.6.0"
24
+ "cssints": "^0.7.0"
25
25
  },
26
26
  "engines": {
27
27
  "node": ">=22"