blue-react 11.0.3 → 11.0.5
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/LICENSE +164 -164
- package/README.md +85 -85
- package/dist/components/A.js +4 -4
- package/dist/components/ActionMenu.js +3 -3
- package/dist/components/Actions.js +4 -4
- package/dist/components/Button.d.ts +4 -1
- package/dist/components/Button.js +3 -2
- package/dist/components/Chevron.js +2 -2
- package/dist/components/HashRouter.js +21 -21
- package/dist/components/Header.js +2 -2
- package/dist/components/HeaderTitle.js +3 -3
- package/dist/components/IconMenuItem.js +4 -4
- package/dist/components/Intro.js +2 -2
- package/dist/components/Layout.js +2 -2
- package/dist/components/LegacyMenuItem.js +3 -3
- package/dist/components/Modal.js +5 -5
- package/dist/components/Outside.js +6 -6
- package/dist/components/Search.js +2 -2
- package/dist/components/SidebarMenu.js +2 -2
- package/dist/components/SimpleLayout.js +2 -2
- package/dist/components/SlimContainer.js +2 -2
- package/dist/components/Tab.js +2 -2
- package/dist/components/Tabs.js +3 -3
- package/dist/components/ToastProvider.js +2 -2
- package/dist/components/Utilities.js +12 -12
- package/dist/style.scss +6 -6
- package/index.d.ts +81 -78
- package/index.js +24 -23
- package/package.json +78 -78
- package/dist/style.css +0 -16286
- package/dist/style.min.css +0 -12
|
@@ -13,27 +13,27 @@ function _inherits(t, e) { if ("function" != typeof e && null !== e) throw new T
|
|
|
13
13
|
function _setPrototypeOf(t, e) { return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { return t.__proto__ = e, t; }, _setPrototypeOf(t, e); }
|
|
14
14
|
import React, { Component } from "react";
|
|
15
15
|
import { jsx as _jsx, Fragment as _Fragment } from "react/jsx-runtime";
|
|
16
|
-
/**
|
|
17
|
-
* Component for simple hash routing. It's recommended to use solutions like `react-router-dom` for more complex routing.
|
|
18
|
-
*
|
|
19
|
-
* As soon this component is mounted, it is globally available under `window.blueHashRouterRef`.
|
|
20
|
-
* You can also append your own event listeners.
|
|
21
|
-
*
|
|
22
|
-
* Allowed events:
|
|
23
|
-
*
|
|
24
|
-
* * **componentDidUpdate** - Component was updated.
|
|
25
|
-
* Example: `window.blueHashRouterRef.addEventListener("componentDidUpdate", (prevProps, prevState) => { })`
|
|
26
|
-
* * **pageDidShowAgain** - Page appeared again with the same old state. In the callback function you can reinitialize things.
|
|
27
|
-
* Example: `window.blueHashRouterRef.addEventListener("pageDidShowAgain", "home", (prevProps, prevState) => { })`
|
|
28
|
-
* * **pageDidHide** - This page disappeared and another page appears instead.
|
|
29
|
-
* Example: `window.blueHashRouterRef.addEventListener("pageDidHide", "home", (prevProps, prevState) => { })`
|
|
30
|
-
*
|
|
31
|
-
* Method to add event listeners:
|
|
32
|
-
* * `window.blueHashRouterRef.`**addEventListener**`(eventName: string, param2: any, param3: any, listenerId?: string)`
|
|
33
|
-
*
|
|
34
|
-
* Methods to remove event listeners:
|
|
35
|
-
* * `window.blueHashRouterRef.`**removeEventListener**`(eventName: string, listenerId: string)`
|
|
36
|
-
* * `window.blueHashRouterRef.`**removeDuplicatedEventListeners**`()` - Will automatically be called when running `addEventListener`
|
|
16
|
+
/**
|
|
17
|
+
* Component for simple hash routing. It's recommended to use solutions like `react-router-dom` for more complex routing.
|
|
18
|
+
*
|
|
19
|
+
* As soon this component is mounted, it is globally available under `window.blueHashRouterRef`.
|
|
20
|
+
* You can also append your own event listeners.
|
|
21
|
+
*
|
|
22
|
+
* Allowed events:
|
|
23
|
+
*
|
|
24
|
+
* * **componentDidUpdate** - Component was updated.
|
|
25
|
+
* Example: `window.blueHashRouterRef.addEventListener("componentDidUpdate", (prevProps, prevState) => { })`
|
|
26
|
+
* * **pageDidShowAgain** - Page appeared again with the same old state. In the callback function you can reinitialize things.
|
|
27
|
+
* Example: `window.blueHashRouterRef.addEventListener("pageDidShowAgain", "home", (prevProps, prevState) => { })`
|
|
28
|
+
* * **pageDidHide** - This page disappeared and another page appears instead.
|
|
29
|
+
* Example: `window.blueHashRouterRef.addEventListener("pageDidHide", "home", (prevProps, prevState) => { })`
|
|
30
|
+
*
|
|
31
|
+
* Method to add event listeners:
|
|
32
|
+
* * `window.blueHashRouterRef.`**addEventListener**`(eventName: string, param2: any, param3: any, listenerId?: string)`
|
|
33
|
+
*
|
|
34
|
+
* Methods to remove event listeners:
|
|
35
|
+
* * `window.blueHashRouterRef.`**removeEventListener**`(eventName: string, listenerId: string)`
|
|
36
|
+
* * `window.blueHashRouterRef.`**removeDuplicatedEventListeners**`()` - Will automatically be called when running `addEventListener`
|
|
37
37
|
*/
|
|
38
38
|
var HashRouter = /*#__PURE__*/function (_Component) {
|
|
39
39
|
function HashRouter(props) {
|
|
@@ -4,8 +4,8 @@ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol"
|
|
|
4
4
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
5
5
|
import React from "react";
|
|
6
6
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
7
|
-
/**
|
|
8
|
-
* The top of a page.
|
|
7
|
+
/**
|
|
8
|
+
* The top of a page.
|
|
9
9
|
*/
|
|
10
10
|
export default function Header(_ref) {
|
|
11
11
|
var children = _ref.children,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import React, { createElement, useEffect } from "react";
|
|
2
2
|
import { guid } from "blue-web/dist/js/utils.js";
|
|
3
3
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
4
|
-
/**
|
|
5
|
-
* The title area at the header bar.
|
|
6
|
-
* Depending on its content, the document's title will be set aswell (what will be shown in the browser title bar).
|
|
4
|
+
/**
|
|
5
|
+
* The title area at the header bar.
|
|
6
|
+
* Depending on its content, the document's title will be set aswell (what will be shown in the browser title bar).
|
|
7
7
|
*/
|
|
8
8
|
export default function HeaderTitle(_ref) {
|
|
9
9
|
var logo = _ref.logo,
|
|
@@ -10,10 +10,10 @@ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t =
|
|
|
10
10
|
import React from "react";
|
|
11
11
|
import MenuItem from "./LegacyMenuItem.js";
|
|
12
12
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
13
|
-
/**
|
|
14
|
-
* @deprecated
|
|
15
|
-
* Variant of `MenuItem` to primarily display an icon without a label.
|
|
16
|
-
* The label prop will be displayed as a tooltip.
|
|
13
|
+
/**
|
|
14
|
+
* @deprecated
|
|
15
|
+
* Variant of `MenuItem` to primarily display an icon without a label.
|
|
16
|
+
* The label prop will be displayed as a tooltip.
|
|
17
17
|
*/
|
|
18
18
|
export default function IconMenuItem(_ref) {
|
|
19
19
|
var label = _ref.label,
|
package/dist/components/Intro.js
CHANGED
|
@@ -2,8 +2,8 @@ import React from "react";
|
|
|
2
2
|
import clsx from "clsx";
|
|
3
3
|
import { getPhrase } from "./shared.js";
|
|
4
4
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
5
|
-
/**
|
|
6
|
-
* A layout with header, side and main content area. Side is collapsible.
|
|
5
|
+
/**
|
|
6
|
+
* A layout with header, side and main content area. Side is collapsible.
|
|
7
7
|
*/
|
|
8
8
|
export default function Layout(_ref) {
|
|
9
9
|
var children = _ref.children,
|
|
@@ -15,9 +15,9 @@ function findParentWithClass(element, className) {
|
|
|
15
15
|
}
|
|
16
16
|
return element;
|
|
17
17
|
}
|
|
18
|
-
/**
|
|
19
|
-
* @deprecated
|
|
20
|
-
* Link, button or custom component for Sidebar, Actions or ActionMenu
|
|
18
|
+
/**
|
|
19
|
+
* @deprecated
|
|
20
|
+
* Link, button or custom component for Sidebar, Actions or ActionMenu
|
|
21
21
|
*/
|
|
22
22
|
export default function LegacyMenuItem(props) {
|
|
23
23
|
var id = "blue-menu-item-wrapper-".concat(Math.random().toString(36).substring(7));
|
package/dist/components/Modal.js
CHANGED
|
@@ -8,11 +8,11 @@ import React, { useEffect, useState, useRef } from "react";
|
|
|
8
8
|
import { Modal as BootstrapModal } from "bootstrap";
|
|
9
9
|
import { getPhrase } from "./shared.js";
|
|
10
10
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
11
|
-
/**
|
|
12
|
-
* Simple modal/dialog. Designed to work as an alternative to JavaScript's native `alert()`, `prompt()` and `confirm()` functions.
|
|
13
|
-
* It uses Bootstrap's Modal components.
|
|
14
|
-
*
|
|
15
|
-
* For easy use, you should use the hook `useModal` together with `ModalProvider`. See the example there.
|
|
11
|
+
/**
|
|
12
|
+
* Simple modal/dialog. Designed to work as an alternative to JavaScript's native `alert()`, `prompt()` and `confirm()` functions.
|
|
13
|
+
* It uses Bootstrap's Modal components.
|
|
14
|
+
*
|
|
15
|
+
* For easy use, you should use the hook `useModal` together with `ModalProvider`. See the example there.
|
|
16
16
|
*/
|
|
17
17
|
export default function Modal(_ref) {
|
|
18
18
|
var modalContent = _ref.modalContent,
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import React, { useEffect, useRef } from "react";
|
|
2
2
|
|
|
3
|
-
/**
|
|
4
|
-
* Hook that alerts clicks outside of the passed ref
|
|
3
|
+
/**
|
|
4
|
+
* Hook that alerts clicks outside of the passed ref
|
|
5
5
|
*/
|
|
6
6
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
7
7
|
export function useOutside(ref, callback) {
|
|
8
8
|
useEffect(function () {
|
|
9
|
-
/**
|
|
10
|
-
* Alert if clicked on outside of element
|
|
9
|
+
/**
|
|
10
|
+
* Alert if clicked on outside of element
|
|
11
11
|
*/
|
|
12
12
|
function handleClickOutside(event) {
|
|
13
13
|
if (ref.current && !ref.current.contains(event.target) && callback) {
|
|
@@ -22,8 +22,8 @@ export function useOutside(ref, callback) {
|
|
|
22
22
|
};
|
|
23
23
|
}, [ref]);
|
|
24
24
|
}
|
|
25
|
-
/**
|
|
26
|
-
* Component that fires an event if you click outside of it
|
|
25
|
+
/**
|
|
26
|
+
* Component that fires an event if you click outside of it
|
|
27
27
|
*/
|
|
28
28
|
export default function Outside(_ref) {
|
|
29
29
|
var children = _ref.children,
|
|
@@ -8,8 +8,8 @@ import React, { useEffect, useState } from "react";
|
|
|
8
8
|
import { guid } from "blue-web/dist/js/utils.js";
|
|
9
9
|
import { getPhrase } from "./shared.js";
|
|
10
10
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
11
|
-
/**
|
|
12
|
-
* A search bar that can be placed to the sidebar or on a page.
|
|
11
|
+
/**
|
|
12
|
+
* A search bar that can be placed to the sidebar or on a page.
|
|
13
13
|
*/
|
|
14
14
|
export default function Search(props) {
|
|
15
15
|
var autoFocus = props.autoFocus,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
-
/**
|
|
4
|
-
* Sidebar for the `Layout` component.
|
|
3
|
+
/**
|
|
4
|
+
* Sidebar for the `Layout` component.
|
|
5
5
|
*/
|
|
6
6
|
export default function SidebarMenu(props) {
|
|
7
7
|
return /*#__PURE__*/_jsxs("div", {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import clsx from "clsx";
|
|
3
3
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
4
|
-
/**
|
|
5
|
-
* A simple layout with header and main content area.
|
|
4
|
+
/**
|
|
5
|
+
* A simple layout with header and main content area.
|
|
6
6
|
*/
|
|
7
7
|
export default function SimpleLayout(_ref) {
|
|
8
8
|
var children = _ref.children,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
3
|
-
/**
|
|
4
|
-
* Shortcut for a combination using Bootstrap's Grid System to create a slim responsive container.
|
|
3
|
+
/**
|
|
4
|
+
* Shortcut for a combination using Bootstrap's Grid System to create a slim responsive container.
|
|
5
5
|
*/
|
|
6
6
|
export default function SlimContainer(_ref) {
|
|
7
7
|
var children = _ref.children,
|
package/dist/components/Tab.js
CHANGED
|
@@ -10,8 +10,8 @@ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t =
|
|
|
10
10
|
import { useContext, useId } from "react";
|
|
11
11
|
import { TabsNameContext } from "./Tabs.js";
|
|
12
12
|
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
13
|
-
/**
|
|
14
|
-
* Always use together with `Tabs`.
|
|
13
|
+
/**
|
|
14
|
+
* Always use together with `Tabs`.
|
|
15
15
|
*/
|
|
16
16
|
export default function Tab(_ref) {
|
|
17
17
|
var label = _ref.label,
|
package/dist/components/Tabs.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { useId, createContext } from "react";
|
|
2
2
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
3
3
|
export var TabsNameContext = /*#__PURE__*/createContext("");
|
|
4
|
-
/**
|
|
5
|
-
* Implementation of Blue Web Tabs. Allows to use tabs without JavaScript.
|
|
6
|
-
* Use together with `Tab`.
|
|
4
|
+
/**
|
|
5
|
+
* Implementation of Blue Web Tabs. Allows to use tabs without JavaScript.
|
|
6
|
+
* Use together with `Tab`.
|
|
7
7
|
*/
|
|
8
8
|
export default function Tabs(_ref) {
|
|
9
9
|
var children = _ref.children,
|
|
@@ -18,8 +18,8 @@ var ToastContext = /*#__PURE__*/createContext({
|
|
|
18
18
|
addToast: undefined,
|
|
19
19
|
clearToasts: undefined
|
|
20
20
|
});
|
|
21
|
-
/**
|
|
22
|
-
* Push notifications to your visitors using Bootstrap's toast component.
|
|
21
|
+
/**
|
|
22
|
+
* Push notifications to your visitors using Bootstrap's toast component.
|
|
23
23
|
*/
|
|
24
24
|
export function ToastProvider(_ref) {
|
|
25
25
|
var children = _ref.children,
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import { startLoading, finishLoading, showSuccess, hideSuccess, resetAlertMessage, setAlertMessage, guid, scrollToTop, fetchData } from "blue-web/dist/js/utils.js";
|
|
2
2
|
|
|
3
|
-
/**
|
|
4
|
-
* @deprecated Use (el as HTMLElement).classList.contains("my-class") instead.
|
|
3
|
+
/**
|
|
4
|
+
* @deprecated Use (el as HTMLElement).classList.contains("my-class") instead.
|
|
5
5
|
*/
|
|
6
6
|
export function hasClass(el, className) {
|
|
7
7
|
if (el.classList) return el.classList.contains(className);else return !!el.className.match(new RegExp("(\\s|^)" + className + "(\\s|$)"));
|
|
8
8
|
}
|
|
9
9
|
|
|
10
|
-
/**
|
|
11
|
-
* @deprecated Use (el as HTMLElement).classList.add("my-class") instead.
|
|
10
|
+
/**
|
|
11
|
+
* @deprecated Use (el as HTMLElement).classList.add("my-class") instead.
|
|
12
12
|
*/
|
|
13
13
|
export function addClass(el, className) {
|
|
14
14
|
if (el.classList) el.classList.add(className);else if (!hasClass(el, className)) el.className += " " + className;
|
|
15
15
|
}
|
|
16
16
|
|
|
17
|
-
/**
|
|
18
|
-
* @deprecated Use (el as HTMLElement).classList.remove("my-class") instead.
|
|
17
|
+
/**
|
|
18
|
+
* @deprecated Use (el as HTMLElement).classList.remove("my-class") instead.
|
|
19
19
|
*/
|
|
20
20
|
export function removeClass(el, className) {
|
|
21
21
|
if (el.classList) el.classList.remove(className);else if (hasClass(el, className)) el.className = el.className.replace(new RegExp("(\\s|^)" + className + "(\\s|$)"), " ");
|
|
22
22
|
}
|
|
23
23
|
|
|
24
|
-
/**
|
|
25
|
-
* @deprecated Use (el as HTMLElement).classList.toggle("my-class") instead.
|
|
24
|
+
/**
|
|
25
|
+
* @deprecated Use (el as HTMLElement).classList.toggle("my-class") instead.
|
|
26
26
|
*/
|
|
27
27
|
export function toggleClass(element, className) {
|
|
28
28
|
if (!element || !className) {
|
|
@@ -38,8 +38,8 @@ export function toggleClass(element, className) {
|
|
|
38
38
|
element.className = classString;
|
|
39
39
|
}
|
|
40
40
|
|
|
41
|
-
/**
|
|
42
|
-
* @deprecated Is handled inside of `ActioMenu` component now
|
|
41
|
+
/**
|
|
42
|
+
* @deprecated Is handled inside of `ActioMenu` component now
|
|
43
43
|
*/
|
|
44
44
|
export function toggleActions() {
|
|
45
45
|
toggleClass(document.querySelector(".blue-wrapper"), "active");
|
|
@@ -50,8 +50,8 @@ export function toggleActions() {
|
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
52
|
|
|
53
|
-
/**
|
|
54
|
-
* @deprecated In future versions of Blue React, you will need to use utils of Blue Web directly.
|
|
53
|
+
/**
|
|
54
|
+
* @deprecated In future versions of Blue React, you will need to use utils of Blue Web directly.
|
|
55
55
|
*/
|
|
56
56
|
export default {
|
|
57
57
|
hasClass: hasClass,
|
package/dist/style.scss
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Blue React v10.0.0-rc1-rc1 (https://bruegmann.github.io/blue-react)
|
|
3
|
-
* Licensed under GNU General Public License v3.0 (https://github.com/bruegmann/blue-react/blob/master/LICENSE).
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
@import "node_modules/blue-web/dist/style.scss";
|
|
1
|
+
/*!
|
|
2
|
+
* Blue React v10.0.0-rc1-rc1 (https://bruegmann.github.io/blue-react)
|
|
3
|
+
* Licensed under GNU General Public License v3.0 (https://github.com/bruegmann/blue-react/blob/master/LICENSE).
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
@import "node_modules/blue-web/dist/style.scss";
|
package/index.d.ts
CHANGED
|
@@ -1,78 +1,81 @@
|
|
|
1
|
-
declare global {
|
|
2
|
-
interface Window {
|
|
3
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
4
|
-
blueHashRouterRef: any
|
|
5
|
-
}
|
|
6
|
-
}
|
|
7
|
-
export default global
|
|
8
|
-
|
|
9
|
-
export { default as Layout } from "./dist/components/Layout"
|
|
10
|
-
export { LayoutProps } from "./dist/components/Layout"
|
|
11
|
-
|
|
12
|
-
export { default as A } from "./dist/components/A"
|
|
13
|
-
export { AProps } from "./dist/components/A"
|
|
14
|
-
|
|
15
|
-
export { default as ActionMenu } from "./dist/components/ActionMenu"
|
|
16
|
-
export { ActionMenuProps } from "./dist/components/ActionMenu"
|
|
17
|
-
|
|
18
|
-
export { default as
|
|
19
|
-
export {
|
|
20
|
-
|
|
21
|
-
export { default as
|
|
22
|
-
export {
|
|
23
|
-
|
|
24
|
-
export { default as
|
|
25
|
-
export {
|
|
26
|
-
|
|
27
|
-
export { default as
|
|
28
|
-
export {
|
|
29
|
-
|
|
30
|
-
export { default as
|
|
31
|
-
export {
|
|
32
|
-
|
|
33
|
-
export { default as
|
|
34
|
-
export {
|
|
35
|
-
|
|
36
|
-
export { default as
|
|
37
|
-
export {
|
|
38
|
-
|
|
39
|
-
export { default as
|
|
40
|
-
export {
|
|
41
|
-
|
|
42
|
-
export { default as
|
|
43
|
-
export {
|
|
44
|
-
|
|
45
|
-
export { default as
|
|
46
|
-
export {
|
|
47
|
-
|
|
48
|
-
export {
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
export {
|
|
52
|
-
|
|
53
|
-
export { default as
|
|
54
|
-
export {
|
|
55
|
-
|
|
56
|
-
export { default as
|
|
57
|
-
export {
|
|
58
|
-
|
|
59
|
-
export { default as
|
|
60
|
-
export {
|
|
61
|
-
|
|
62
|
-
export { default as
|
|
63
|
-
export {
|
|
64
|
-
|
|
65
|
-
export { default as
|
|
66
|
-
export {
|
|
67
|
-
|
|
68
|
-
export {
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
1
|
+
declare global {
|
|
2
|
+
interface Window {
|
|
3
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
4
|
+
blueHashRouterRef: any
|
|
5
|
+
}
|
|
6
|
+
}
|
|
7
|
+
export default global
|
|
8
|
+
|
|
9
|
+
export { default as Layout } from "./dist/components/Layout"
|
|
10
|
+
export { LayoutProps } from "./dist/components/Layout"
|
|
11
|
+
|
|
12
|
+
export { default as A } from "./dist/components/A"
|
|
13
|
+
export { AProps } from "./dist/components/A"
|
|
14
|
+
|
|
15
|
+
export { default as ActionMenu } from "./dist/components/ActionMenu"
|
|
16
|
+
export { ActionMenuProps } from "./dist/components/ActionMenu"
|
|
17
|
+
|
|
18
|
+
export { default as Actions } from "./dist/components/Actions"
|
|
19
|
+
export { ActionsProps } from "./dist/components/Actions"
|
|
20
|
+
|
|
21
|
+
export { default as Button } from "./dist/components/Button"
|
|
22
|
+
export { ButtonProps } from "./dist/components/Button"
|
|
23
|
+
|
|
24
|
+
export { default as Chevron } from "./dist/components/Chevron"
|
|
25
|
+
export { ChevronProps } from "./dist/components/Chevron"
|
|
26
|
+
|
|
27
|
+
export { default as HashRouter } from "./dist/components/HashRouter"
|
|
28
|
+
export { HashRouterProps } from "./dist/components/HashRouter"
|
|
29
|
+
|
|
30
|
+
export { default as Header } from "./dist/components/Header"
|
|
31
|
+
export { HeaderProps } from "./dist/components/Header"
|
|
32
|
+
|
|
33
|
+
export { default as HeaderTitle } from "./dist/components/HeaderTitle"
|
|
34
|
+
export { HeaderTitleProps } from "./dist/components/HeaderTitle"
|
|
35
|
+
|
|
36
|
+
export { default as IconMenuItem } from "./dist/components/IconMenuItem"
|
|
37
|
+
export { IconMenuItemProps } from "./dist/components/IconMenuItem"
|
|
38
|
+
|
|
39
|
+
export { default as Intro } from "./dist/components/Intro"
|
|
40
|
+
export { IntroProps } from "./dist/components/Intro"
|
|
41
|
+
|
|
42
|
+
export { default as LegacyMenuItem } from "./dist/components/LegacyMenuItem"
|
|
43
|
+
export { LegacyMenuItemProps } from "./dist/components/LegacyMenuItem"
|
|
44
|
+
|
|
45
|
+
export { default as MenuItem } from "./dist/components/MenuItem"
|
|
46
|
+
export { MenuItemProps } from "./dist/components/MenuItem"
|
|
47
|
+
|
|
48
|
+
export { default as Modal } from "./dist/components/Modal"
|
|
49
|
+
export { ModalProps } from "./dist/components/Modal"
|
|
50
|
+
|
|
51
|
+
export { ModalProvider, useModal } from "./dist/components/ModalProvider"
|
|
52
|
+
|
|
53
|
+
export { default as Outside } from "./dist/components/Outside"
|
|
54
|
+
export { OutsideProps, useOutside } from "./dist/components/Outside"
|
|
55
|
+
|
|
56
|
+
export { default as Search } from "./dist/components/Search"
|
|
57
|
+
export { SearchProps } from "./dist/components/Search"
|
|
58
|
+
|
|
59
|
+
export { default as SidebarMenu } from "./dist/components/SidebarMenu"
|
|
60
|
+
export { SidebarMenuProps } from "./dist/components/SidebarMenu"
|
|
61
|
+
|
|
62
|
+
export { default as SimpleLayout } from "./dist/components/SimpleLayout"
|
|
63
|
+
export { SimpleLayoutProps } from "./dist/components/SimpleLayout"
|
|
64
|
+
|
|
65
|
+
export { default as SlimContainer } from "./dist/components/SlimContainer"
|
|
66
|
+
export { SlimContainerProps } from "./dist/components/SlimContainer"
|
|
67
|
+
|
|
68
|
+
export { default as Status } from "./dist/components/Status"
|
|
69
|
+
export { StatusProps } from "./dist/components/Status"
|
|
70
|
+
|
|
71
|
+
export { StatusProvider, useStatus } from "./dist/components/StatusProvider"
|
|
72
|
+
|
|
73
|
+
export {
|
|
74
|
+
ToastProvider,
|
|
75
|
+
ToastProviderProps,
|
|
76
|
+
useToast,
|
|
77
|
+
ToastItem,
|
|
78
|
+
ToastItemType
|
|
79
|
+
} from "./dist/components/ToastProvider"
|
|
80
|
+
|
|
81
|
+
export { default as Utilities } from "./dist/components/Utilities"
|
package/index.js
CHANGED
|
@@ -1,23 +1,24 @@
|
|
|
1
|
-
export { default as A } from "./dist/components/A.js"
|
|
2
|
-
export { default as ActionMenu } from "./dist/components/ActionMenu.js"
|
|
3
|
-
export { default as
|
|
4
|
-
export { default as
|
|
5
|
-
export { default as
|
|
6
|
-
export { default as
|
|
7
|
-
export { default as
|
|
8
|
-
export { default as
|
|
9
|
-
export { default as
|
|
10
|
-
export { default as
|
|
11
|
-
export { default as
|
|
12
|
-
export { default as
|
|
13
|
-
export { default as
|
|
14
|
-
export {
|
|
15
|
-
export {
|
|
16
|
-
export { default as
|
|
17
|
-
export { default as
|
|
18
|
-
export { default as
|
|
19
|
-
export { default as
|
|
20
|
-
export { default as
|
|
21
|
-
export {
|
|
22
|
-
export {
|
|
23
|
-
export {
|
|
1
|
+
export { default as A } from "./dist/components/A.js"
|
|
2
|
+
export { default as ActionMenu } from "./dist/components/ActionMenu.js"
|
|
3
|
+
export { default as Actions } from "./dist/components/Actions.js"
|
|
4
|
+
export { default as Button } from "./dist/components/Button.js"
|
|
5
|
+
export { default as Chevron } from "./dist/components/Chevron.js"
|
|
6
|
+
export { default as HashRouter } from "./dist/components/HashRouter.js"
|
|
7
|
+
export { default as Layout } from "./dist/components/Layout.js"
|
|
8
|
+
export { default as Header } from "./dist/components/Header.js"
|
|
9
|
+
export { default as HeaderTitle } from "./dist/components/HeaderTitle.js"
|
|
10
|
+
export { default as IconMenuItem } from "./dist/components/IconMenuItem.js"
|
|
11
|
+
export { default as Intro } from "./dist/components/Intro.js"
|
|
12
|
+
export { default as LegacyMenuItem } from "./dist/components/LegacyMenuItem.js"
|
|
13
|
+
export { default as MenuItem } from "./dist/components/MenuItem.js"
|
|
14
|
+
export { default as Modal } from "./dist/components/Modal.js"
|
|
15
|
+
export { ModalProvider, useModal } from "./dist/components/ModalProvider.js"
|
|
16
|
+
export { default as Outside } from "./dist/components/Outside.js"
|
|
17
|
+
export { default as Search } from "./dist/components/Search.js"
|
|
18
|
+
export { default as SidebarMenu } from "./dist/components/SidebarMenu.js"
|
|
19
|
+
export { default as SimpleLayout } from "./dist/components/SimpleLayout.js"
|
|
20
|
+
export { default as SlimContainer } from "./dist/components/SlimContainer.js"
|
|
21
|
+
export { default as Status } from "./dist/components/Status.js"
|
|
22
|
+
export { StatusProvider, useStatus } from "./dist/components/StatusProvider.js"
|
|
23
|
+
export { ToastProvider, useToast } from "./dist/components/ToastProvider.js"
|
|
24
|
+
export { default as Utilities } from "./dist/components/Utilities.js"
|