@cssints/fluid 0.6.0 → 0.6.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.d.mts +1 -2
- package/dist/index.mjs +1 -2
- package/package.json +1 -1
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
|
-
|
|
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
|
-
|
|
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 };
|