@cronocode/react-box 1.5.3 → 1.5.4
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/baseSvg.module.css.cjs +1 -1
- package/baseSvg.module.css.mjs +1 -1
- package/box.d.ts +1 -5
- package/box.module.css.cjs +1 -1
- package/box.module.css.mjs +1 -1
- package/components/baseSvg.d.ts +1 -5
- package/package.json +4 -1
- package/plugins.cjs +7 -11
- package/plugins.mjs +12 -16
- package/style.css +1 -1
- package/types.d.ts +8 -2
package/types.d.ts
CHANGED
|
@@ -217,12 +217,18 @@ interface BoxPointerEvents {
|
|
|
217
217
|
pointerEvents?: PointerEventsType;
|
|
218
218
|
}
|
|
219
219
|
type BoxNormalStyles = BoxPseudoClasses & BoxDisplay & BoxSizing & BoxPosition & BoxSize & BoxMargin & BoxPadding & BoxBorder & BoxCursor & BoxZIndex & BoxOverflow & BoxOpacity & BoxFont & BoxText & BoxFlex & BoxOutline & BoxTransition & BoxUserSelect & BoxAppearance & BoxPointerEvents;
|
|
220
|
-
|
|
220
|
+
declare namespace Augmented {
|
|
221
|
+
interface BoxProps {
|
|
222
|
+
}
|
|
223
|
+
interface SvgProps {
|
|
224
|
+
}
|
|
225
|
+
}
|
|
226
|
+
export type BoxStyles = BoxNormalStyles & Hovered<BoxNormalStyles> & Focused<BoxNormalStyles> & Activated<BoxNormalStyles> & Augmented.BoxProps;
|
|
221
227
|
export declare const themeClasses: Partial<Record<string, string>>;
|
|
222
228
|
interface SvgNormalStyles {
|
|
223
229
|
rotate?: 0 | 90 | 180 | 270 | -90 | -180 | -270;
|
|
224
230
|
flip?: 'xAxis' | 'yAxis';
|
|
225
231
|
}
|
|
226
|
-
export type SvgStyles = SvgNormalStyles & Hovered<SvgNormalStyles> & Focused<SvgNormalStyles> & Activated<SvgNormalStyles
|
|
232
|
+
export type SvgStyles = SvgNormalStyles & Hovered<SvgNormalStyles> & Focused<SvgNormalStyles> & Activated<SvgNormalStyles> & Augmented.SvgProps;
|
|
227
233
|
export declare const themeSvgClasses: Partial<Record<string, string>>;
|
|
228
234
|
export {};
|