uibee 2.3.0 → 2.3.1
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/src/components/container/page.d.ts +1 -1
- package/dist/src/components/container/page.js +1 -1
- package/dist/src/components/index.d.ts +1 -0
- package/dist/src/components/index.js +2 -0
- package/package.json +1 -1
- package/src/components/container/page.tsx +1 -1
- package/src/components/index.ts +3 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
export function PageContainer({ title, children }) {
|
|
2
|
+
export default function PageContainer({ title, children }) {
|
|
3
3
|
return (_jsx("div", { className: 'w-full page-container', children: _jsxs("div", { className: 'flex flex-col col-start-3', children: [_jsx("h1", { className: 'heading', children: title }), children] }) }));
|
|
4
4
|
}
|
|
@@ -13,3 +13,4 @@ export { default as NavDropdown } from './navbar/navbarDropdown';
|
|
|
13
13
|
export { default as VersionTag } from './version/version';
|
|
14
14
|
export { default as LoginPage } from './login/loginPage';
|
|
15
15
|
export { default as Toaster, addToast } from './toast/toaster';
|
|
16
|
+
export { default as PageContainer } from './container/page';
|
|
@@ -14,6 +14,8 @@ export { default as LanguageToggle } from './toggle/language';
|
|
|
14
14
|
export { default as Navbar } from './navbar/navbar';
|
|
15
15
|
export { default as NavItem } from './navbar/navbarItem';
|
|
16
16
|
export { default as NavDropdown } from './navbar/navbarDropdown';
|
|
17
|
+
// Other components
|
|
17
18
|
export { default as VersionTag } from './version/version';
|
|
18
19
|
export { default as LoginPage } from './login/loginPage';
|
|
19
20
|
export { default as Toaster, addToast } from './toast/toaster';
|
|
21
|
+
export { default as PageContainer } from './container/page';
|
package/package.json
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export function PageContainer({ title, children }: { title: string; children: React.ReactNode }) {
|
|
1
|
+
export default function PageContainer({ title, children }: { title: string; children: React.ReactNode }) {
|
|
2
2
|
return (
|
|
3
3
|
<div className='w-full page-container'>
|
|
4
4
|
<div className='flex flex-col col-start-3'>
|
package/src/components/index.ts
CHANGED
|
@@ -18,6 +18,8 @@ export { default as Navbar } from './navbar/navbar'
|
|
|
18
18
|
export { default as NavItem } from './navbar/navbarItem'
|
|
19
19
|
export { default as NavDropdown } from './navbar/navbarDropdown'
|
|
20
20
|
|
|
21
|
+
// Other components
|
|
21
22
|
export { default as VersionTag } from './version/version'
|
|
22
23
|
export { default as LoginPage } from './login/loginPage'
|
|
23
|
-
export { default as Toaster, addToast } from './toast/toaster'
|
|
24
|
+
export { default as Toaster, addToast } from './toast/toaster'
|
|
25
|
+
export { default as PageContainer} from './container/page'
|