@astral/ui 1.7.0 → 1.8.0

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/Tab/Tab.d.ts ADDED
@@ -0,0 +1,3 @@
1
+ import { Tab, TabProps } from '@mui/material';
2
+ export { Tab };
3
+ export type { TabProps };
package/Tab/Tab.js ADDED
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Tab = void 0;
4
+ var material_1 = require("@mui/material");
5
+ Object.defineProperty(exports, "Tab", { enumerable: true, get: function () { return material_1.Tab; } });
package/Tab/index.d.ts ADDED
@@ -0,0 +1 @@
1
+ export * from './Tab';
package/Tab/index.js ADDED
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./Tab"), exports);
package/Tabs/Tabs.d.ts ADDED
@@ -0,0 +1,3 @@
1
+ import { Tabs, TabsProps } from '@mui/material';
2
+ export { Tabs };
3
+ export type { TabsProps };
package/Tabs/Tabs.js ADDED
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Tabs = void 0;
4
+ var material_1 = require("@mui/material");
5
+ Object.defineProperty(exports, "Tabs", { enumerable: true, get: function () { return material_1.Tabs; } });
@@ -0,0 +1 @@
1
+ export * from './Tabs';
package/Tabs/index.js ADDED
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./Tabs"), exports);
@@ -0,0 +1,3 @@
1
+ import { Tab, TabProps } from '@mui/material';
2
+ export { Tab };
3
+ export type { TabProps };
package/esm/Tab/Tab.js ADDED
@@ -0,0 +1,2 @@
1
+ import { Tab } from '@mui/material';
2
+ export { Tab };
@@ -0,0 +1 @@
1
+ export * from './Tab';
@@ -0,0 +1 @@
1
+ export * from './Tab';
@@ -0,0 +1,3 @@
1
+ import { Tabs, TabsProps } from '@mui/material';
2
+ export { Tabs };
3
+ export type { TabsProps };
@@ -0,0 +1,2 @@
1
+ import { Tabs } from '@mui/material';
2
+ export { Tabs };
@@ -0,0 +1 @@
1
+ export * from './Tabs';
@@ -0,0 +1 @@
1
+ export * from './Tabs';
package/esm/index.d.ts CHANGED
@@ -52,6 +52,8 @@ export * from './Select';
52
52
  export * from './styles';
53
53
  export * from './StylesCacheProvider';
54
54
  export * from './Table';
55
+ export * from './Tab';
56
+ export * from './Tabs';
55
57
  export * from './Tag';
56
58
  export * from './TextArea';
57
59
  export * from './theme';
package/esm/index.js CHANGED
@@ -52,6 +52,8 @@ export * from './Select';
52
52
  export * from './styles';
53
53
  export * from './StylesCacheProvider';
54
54
  export * from './Table';
55
+ export * from './Tab';
56
+ export * from './Tabs';
55
57
  export * from './Tag';
56
58
  export * from './TextArea';
57
59
  export * from './theme';
@@ -0,0 +1,3 @@
1
+ import { Components } from '@mui/material';
2
+ import type { Theme } from '../baseTheme';
3
+ export declare const MuiTab: Components<Theme>['MuiTab'];
@@ -0,0 +1,12 @@
1
+ export var MuiTab = {
2
+ styleOverrides: {
3
+ root: function (_a) {
4
+ var theme = _a.theme;
5
+ return {
6
+ minWidth: 0,
7
+ padding: theme.spacing(0, 2),
8
+ textTransform: 'none',
9
+ };
10
+ },
11
+ },
12
+ };
@@ -0,0 +1,3 @@
1
+ import { Components } from '@mui/material';
2
+ import type { Theme } from '../baseTheme';
3
+ export declare const MuiTabs: Components<Theme>['MuiTabs'];
@@ -0,0 +1,16 @@
1
+ export var MuiTabs = {
2
+ styleOverrides: {
3
+ root: function () {
4
+ return {
5
+ minHeight: 38,
6
+ height: 38,
7
+ };
8
+ },
9
+ indicator: function (_a) {
10
+ var theme = _a.theme;
11
+ return {
12
+ borderRadius: theme.shape.small,
13
+ };
14
+ },
15
+ },
16
+ };
@@ -22,6 +22,8 @@ import { MuiMenuItem } from './MuiMenuItem';
22
22
  import { MuiCircularProgress } from './MuiCircularProgress';
23
23
  import { MuiListItemButton } from './MuiListItemButton';
24
24
  import { MuiListItemText } from './MuiListItemText';
25
+ import { MuiTab } from './MuiTab';
26
+ import { MuiTabs } from './MuiTabs';
25
27
  var getMuiCssBaseline = function (fontUrls) { return ({
26
28
  styleOverrides: "\n @font-face {\n font-family: 'Ubuntu';\n font-style: 'normal';\n font-weight: 300;\n font-display: swap;\n src: url(".concat(fontUrls.light.woff2, ") format('woff2'), url(").concat(fontUrls.light.woff, ") format('woff');\n }\n @font-face { \n font-family: 'Ubuntu';\n font-style: 'normal';\n font-weight: 400;\n font-display: swap;\n src: url(").concat(fontUrls.regular.woff2, ") format('woff2'), url(").concat(fontUrls.regular.woff, ") format('woff');\n }\n @font-face {\n font-family: 'Ubuntu';\n font-style: 'normal';\n font-weight: 500;\n font-display: swap;\n src: url(").concat(fontUrls.medium.woff2, ") format('woff2'), url(").concat(fontUrls.medium.woff, ") format('woff');\n }\n @font-face {\n font-family: 'Ubuntu';\n font-style: 'normal';\n font-weight: 700;\n font-display: swap;\n src: url(").concat(fontUrls.bold.woff2, ") format('woff2'), url(").concat(fontUrls.bold.woff, ") format('woff');\n }\n "),
27
29
  }); };
@@ -63,4 +65,6 @@ export var getComponents = function (fontUrls) { return ({
63
65
  MuiCircularProgress: MuiCircularProgress,
64
66
  MuiListItemButton: MuiListItemButton,
65
67
  MuiListItemText: MuiListItemText,
68
+ MuiTab: MuiTab,
69
+ MuiTabs: MuiTabs,
66
70
  }); };
package/index.d.ts CHANGED
@@ -52,6 +52,8 @@ export * from './Select';
52
52
  export * from './styles';
53
53
  export * from './StylesCacheProvider';
54
54
  export * from './Table';
55
+ export * from './Tab';
56
+ export * from './Tabs';
55
57
  export * from './Tag';
56
58
  export * from './TextArea';
57
59
  export * from './theme';
package/index.js CHANGED
@@ -68,6 +68,8 @@ __exportStar(require("./Select"), exports);
68
68
  __exportStar(require("./styles"), exports);
69
69
  __exportStar(require("./StylesCacheProvider"), exports);
70
70
  __exportStar(require("./Table"), exports);
71
+ __exportStar(require("./Tab"), exports);
72
+ __exportStar(require("./Tabs"), exports);
71
73
  __exportStar(require("./Tag"), exports);
72
74
  __exportStar(require("./TextArea"), exports);
73
75
  __exportStar(require("./theme"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@astral/ui",
3
- "version": "1.7.0",
3
+ "version": "1.8.0",
4
4
  "browser": "./src/index.ts",
5
5
  "jest": {
6
6
  "moduleNameMapper": {
@@ -8,7 +8,7 @@
8
8
  }
9
9
  },
10
10
  "dependencies": {
11
- "@astral/icons": "^1.7.0",
11
+ "@astral/icons": "^1.8.0",
12
12
  "@emotion/cache": "11.7.1",
13
13
  "@emotion/react": "11.9.0",
14
14
  "@emotion/server": "11.4.0",
@@ -0,0 +1,3 @@
1
+ import { Components } from '@mui/material';
2
+ import type { Theme } from '../baseTheme';
3
+ export declare const MuiTab: Components<Theme>['MuiTab'];
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.MuiTab = void 0;
4
+ exports.MuiTab = {
5
+ styleOverrides: {
6
+ root: function (_a) {
7
+ var theme = _a.theme;
8
+ return {
9
+ minWidth: 0,
10
+ padding: theme.spacing(0, 2),
11
+ textTransform: 'none',
12
+ };
13
+ },
14
+ },
15
+ };
@@ -0,0 +1,3 @@
1
+ import { Components } from '@mui/material';
2
+ import type { Theme } from '../baseTheme';
3
+ export declare const MuiTabs: Components<Theme>['MuiTabs'];
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.MuiTabs = void 0;
4
+ exports.MuiTabs = {
5
+ styleOverrides: {
6
+ root: function () {
7
+ return {
8
+ minHeight: 38,
9
+ height: 38,
10
+ };
11
+ },
12
+ indicator: function (_a) {
13
+ var theme = _a.theme;
14
+ return {
15
+ borderRadius: theme.shape.small,
16
+ };
17
+ },
18
+ },
19
+ };
@@ -25,6 +25,8 @@ var MuiMenuItem_1 = require("./MuiMenuItem");
25
25
  var MuiCircularProgress_1 = require("./MuiCircularProgress");
26
26
  var MuiListItemButton_1 = require("./MuiListItemButton");
27
27
  var MuiListItemText_1 = require("./MuiListItemText");
28
+ var MuiTab_1 = require("./MuiTab");
29
+ var MuiTabs_1 = require("./MuiTabs");
28
30
  var getMuiCssBaseline = function (fontUrls) { return ({
29
31
  styleOverrides: "\n @font-face {\n font-family: 'Ubuntu';\n font-style: 'normal';\n font-weight: 300;\n font-display: swap;\n src: url(".concat(fontUrls.light.woff2, ") format('woff2'), url(").concat(fontUrls.light.woff, ") format('woff');\n }\n @font-face { \n font-family: 'Ubuntu';\n font-style: 'normal';\n font-weight: 400;\n font-display: swap;\n src: url(").concat(fontUrls.regular.woff2, ") format('woff2'), url(").concat(fontUrls.regular.woff, ") format('woff');\n }\n @font-face {\n font-family: 'Ubuntu';\n font-style: 'normal';\n font-weight: 500;\n font-display: swap;\n src: url(").concat(fontUrls.medium.woff2, ") format('woff2'), url(").concat(fontUrls.medium.woff, ") format('woff');\n }\n @font-face {\n font-family: 'Ubuntu';\n font-style: 'normal';\n font-weight: 700;\n font-display: swap;\n src: url(").concat(fontUrls.bold.woff2, ") format('woff2'), url(").concat(fontUrls.bold.woff, ") format('woff');\n }\n "),
30
32
  }); };
@@ -66,5 +68,7 @@ var getComponents = function (fontUrls) { return ({
66
68
  MuiCircularProgress: MuiCircularProgress_1.MuiCircularProgress,
67
69
  MuiListItemButton: MuiListItemButton_1.MuiListItemButton,
68
70
  MuiListItemText: MuiListItemText_1.MuiListItemText,
71
+ MuiTab: MuiTab_1.MuiTab,
72
+ MuiTabs: MuiTabs_1.MuiTabs,
69
73
  }); };
70
74
  exports.getComponents = getComponents;