@mw-kit/mw-ui 1.8.6 → 1.8.7
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 +4 -3
- package/dist/index.d.ts +1 -1
- package/dist/index.js +2 -0
- package/dist/index.mjs +1 -0
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -30,7 +30,7 @@ type MappedTransitions<P extends string> = {
|
|
|
30
30
|
};
|
|
31
31
|
};
|
|
32
32
|
|
|
33
|
-
declare const theme: {
|
|
33
|
+
declare const theme$1: {
|
|
34
34
|
readonly button: {
|
|
35
35
|
readonly sizes: {
|
|
36
36
|
tiny: {
|
|
@@ -91,7 +91,7 @@ interface ThemeInterface {
|
|
|
91
91
|
isDarkColor: (color: ColorOptions, ifDark?: ColorOptions, ifLight?: ColorOptions) => ColorOptions;
|
|
92
92
|
spacings: typeof spacings;
|
|
93
93
|
typographies: typeof typographies;
|
|
94
|
-
components: typeof theme;
|
|
94
|
+
components: typeof theme$1;
|
|
95
95
|
}
|
|
96
96
|
|
|
97
97
|
declare const colors: {
|
|
@@ -1553,8 +1553,9 @@ interface ZoomProps {
|
|
|
1553
1553
|
|
|
1554
1554
|
declare const Zoom: (props: ZoomProps) => react_jsx_runtime.JSX.Element;
|
|
1555
1555
|
|
|
1556
|
+
declare const theme: ThemeInterface;
|
|
1556
1557
|
declare const ThemeProvider: (props: {
|
|
1557
1558
|
children: JSX.Element | string | (JSX.Element | string)[];
|
|
1558
1559
|
}) => react_jsx_runtime.JSX.Element;
|
|
1559
1560
|
|
|
1560
|
-
export { AbsoluteContainer as MwAbsoluteContainer, AppliedFilters as MwAppliedFilters, Button as MwButton, Calendar as MwCalendar, Card as MwCard, EllipsisContainer as MwEllipsisContainer, Filters as MwFilters, Form as MwForm, Grid as MwGrid, Icon as MwIcon, Indicator as MwIndicator, Input as MwInput, Link as MwLink, Loader as MwLoader, Menu as MwMenu, Modal as MwModal, Placeholder as MwPlaceholder, ProgressBar as MwProgressBar, ScrollContainer as MwScrollContainer, Tabs as MwTabs, TextArea as MwTextArea, Toast as MwToast, Transition as MwTransition, Zoom as MwZoom, ThemeProvider, useTransition as useMwTransition };
|
|
1561
|
+
export { AbsoluteContainer as MwAbsoluteContainer, AppliedFilters as MwAppliedFilters, Button as MwButton, Calendar as MwCalendar, Card as MwCard, EllipsisContainer as MwEllipsisContainer, Filters as MwFilters, Form as MwForm, Grid as MwGrid, Icon as MwIcon, Indicator as MwIndicator, Input as MwInput, Link as MwLink, Loader as MwLoader, Menu as MwMenu, Modal as MwModal, Placeholder as MwPlaceholder, ProgressBar as MwProgressBar, ScrollContainer as MwScrollContainer, Tabs as MwTabs, TextArea as MwTextArea, Toast as MwToast, Transition as MwTransition, Zoom as MwZoom, ThemeProvider, theme, useTransition as useMwTransition };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export * from './components';
|
|
2
|
-
export { default as ThemeProvider } from './theme';
|
|
2
|
+
export { theme, default as ThemeProvider } from './theme';
|
package/dist/index.js
CHANGED
|
@@ -55,6 +55,7 @@ __export(index_exports, {
|
|
|
55
55
|
MwTransition: () => Transition_default2,
|
|
56
56
|
MwZoom: () => Zoom_default,
|
|
57
57
|
ThemeProvider: () => theme_default3,
|
|
58
|
+
theme: () => theme3,
|
|
58
59
|
useMwTransition: () => useTransition_default
|
|
59
60
|
});
|
|
60
61
|
module.exports = __toCommonJS(index_exports);
|
|
@@ -17744,5 +17745,6 @@ var Zoom_default = Zoom;
|
|
|
17744
17745
|
MwTransition,
|
|
17745
17746
|
MwZoom,
|
|
17746
17747
|
ThemeProvider,
|
|
17748
|
+
theme,
|
|
17747
17749
|
useMwTransition
|
|
17748
17750
|
});
|
package/dist/index.mjs
CHANGED
|
@@ -17687,5 +17687,6 @@ export {
|
|
|
17687
17687
|
Transition_default2 as MwTransition,
|
|
17688
17688
|
Zoom_default as MwZoom,
|
|
17689
17689
|
theme_default3 as ThemeProvider,
|
|
17690
|
+
theme3 as theme,
|
|
17690
17691
|
useTransition_default as useMwTransition
|
|
17691
17692
|
};
|