tailwind-clamp 2.2.1 → 2.2.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.
- package/package.json +1 -1
- package/src/index.js +2 -2
package/package.json
CHANGED
package/src/index.js
CHANGED
|
@@ -2,14 +2,14 @@ import plugin from 'tailwindcss/plugin';
|
|
|
2
2
|
import { resolveProperty } from './resolve-property.js';
|
|
3
3
|
import { log } from './log.js';
|
|
4
4
|
import { parseValue, parseFontSizeValue, checkValues } from './parse-value.js';
|
|
5
|
-
import { clamp, clampValue } from './clamp.js';
|
|
5
|
+
import { clamp, clampValue as cv } from './clamp.js';
|
|
6
6
|
|
|
7
7
|
const defaultOptions = {
|
|
8
8
|
minViewportWidth: 375,
|
|
9
9
|
maxViewportWidth: 1440,
|
|
10
10
|
};
|
|
11
11
|
|
|
12
|
-
export const clampValue =
|
|
12
|
+
export const clampValue = cv;
|
|
13
13
|
|
|
14
14
|
export default plugin.withOptions(function (options = defaultOptions) {
|
|
15
15
|
return function ({ matchUtilities, theme, config }) {
|