@app-studio/web 0.9.13 → 0.9.15
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/components/Toggle/Toggle/Toggle.style.d.ts +7 -1
- package/dist/components/Toggle/Toggle/Toggle.view.d.ts +3 -0
- package/dist/web.cjs.development.js +431 -306
- package/dist/web.cjs.development.js.map +1 -1
- package/dist/web.cjs.production.min.js +1 -1
- package/dist/web.cjs.production.min.js.map +1 -1
- package/dist/web.esm.js +431 -306
- package/dist/web.esm.js.map +1 -1
- package/dist/web.umd.development.js +431 -306
- package/dist/web.umd.development.js.map +1 -1
- package/dist/web.umd.production.min.js +1 -1
- package/dist/web.umd.production.min.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,2 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ViewProps } from 'app-studio';
|
|
2
|
+
import { Shape, Variant } from './Toggle.type';
|
|
2
3
|
export declare const ToggleShapes: Record<Shape, number | string>;
|
|
4
|
+
/**
|
|
5
|
+
* Generate toggle variants with proper color combinations based on main color and contrast
|
|
6
|
+
* Similar to Button's getButtonVariants function
|
|
7
|
+
*/
|
|
8
|
+
export declare const getToggleVariants: (color: string, isLight: boolean) => Record<Variant, ViewProps>;
|