@televet/kibble-ui 1.0.12-beta.2 → 1.0.12-beta.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.
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { WithCSSVar } from '@chakra-ui/react';
|
|
2
|
-
import {
|
|
3
|
-
export declare const useTheme: () => WithCSSVar<
|
|
2
|
+
import { ITheme } from '../theme';
|
|
3
|
+
export declare const useTheme: () => WithCSSVar<ITheme>;
|
package/build/index.js
CHANGED
|
@@ -1334,7 +1334,7 @@ var TextareaConfig = {
|
|
|
1334
1334
|
};
|
|
1335
1335
|
|
|
1336
1336
|
// @ts-ignore
|
|
1337
|
-
var
|
|
1337
|
+
var theme = react.extendTheme({
|
|
1338
1338
|
styles: {
|
|
1339
1339
|
global: __assign({}, TooltipGlobalStyle),
|
|
1340
1340
|
},
|
|
@@ -1368,8 +1368,8 @@ var TeleVetTheme = react.extendTheme({
|
|
|
1368
1368
|
|
|
1369
1369
|
var KibbleThemeProvider = function (_a) {
|
|
1370
1370
|
var children = _a.children;
|
|
1371
|
-
return (React__default["default"].createElement(react.ChakraProvider, { theme:
|
|
1372
|
-
React__default["default"].createElement(styledComponents.ThemeProvider, { theme:
|
|
1371
|
+
return (React__default["default"].createElement(react.ChakraProvider, { theme: theme },
|
|
1372
|
+
React__default["default"].createElement(styledComponents.ThemeProvider, { theme: theme }, children)));
|
|
1373
1373
|
};
|
|
1374
1374
|
|
|
1375
1375
|
exports.Button = Button;
|
|
@@ -1379,7 +1379,6 @@ exports.Heading = Heading;
|
|
|
1379
1379
|
exports.HeadingConfig = HeadingConfig;
|
|
1380
1380
|
exports.Icon = Icon;
|
|
1381
1381
|
exports.KibbleThemeProvider = KibbleThemeProvider;
|
|
1382
|
-
exports.TeleVetTheme = TeleVetTheme;
|
|
1383
1382
|
exports.Text = Text;
|
|
1384
1383
|
exports.TextConfig = TextConfig;
|
|
1385
1384
|
exports.Textarea = Textarea;
|
|
@@ -1387,5 +1386,6 @@ exports.TextareaConfig = TextareaConfig;
|
|
|
1387
1386
|
exports.Tooltip = Tooltip;
|
|
1388
1387
|
exports.TooltipConfig = TooltipConfig;
|
|
1389
1388
|
exports.TooltipGlobalStyle = TooltipGlobalStyle;
|
|
1389
|
+
exports.theme = theme;
|
|
1390
1390
|
exports.useTheme = useTheme;
|
|
1391
1391
|
//# sourceMappingURL=index.js.map
|