@takumi-rs/helpers 0.11.1 → 0.11.3
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/README.md +1 -1
- package/dist/index.d.ts +5 -0
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -364,5 +364,10 @@ export declare function em(em: number): {
|
|
|
364
364
|
export declare function rem(rem: number): {
|
|
365
365
|
rem: number;
|
|
366
366
|
};
|
|
367
|
+
export declare function gradient(from: ColorInput, to: ColorInput, angle?: number): {
|
|
368
|
+
from: ColorInput;
|
|
369
|
+
to: ColorInput;
|
|
370
|
+
angle: number;
|
|
371
|
+
};
|
|
367
372
|
|
|
368
373
|
export {};
|
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function i(e){return{type:"container",...e}}function s(e,t){return{...t,type:"text",text:e}}function r(e,t){return{...t,type:"image",src:e}}function n(e){return e}function a(e){return{percentage:e}}function l(e){return{vw:e}}function p(e){return{vh:e}}function h(e){return{em:e}}function m(e){return{rem:e}}function f(e,t,o=0){return{from:e,to:t,angle:o}}export{l as vw,p as vh,s as text,n as style,m as rem,a as percentage,r as image,f as gradient,h as em,i as container};
|