opus-toolkit-components 1.9.9 → 2.0.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/lib/components/BarLayout/index.js +125 -0
- package/lib/components/BarLayout/index.js.map +1 -0
- package/lib/components/Callout/index.js +1092 -0
- package/lib/components/Callout/index.js.map +1 -0
- package/lib/components/Cookie/index.js +4601 -0
- package/lib/components/Cookie/index.js.map +1 -0
- package/lib/components/Footer/index.js +705 -0
- package/lib/components/Footer/index.js.map +1 -0
- package/lib/components/FooterLogo/index.js +608 -0
- package/lib/components/FooterLogo/index.js.map +1 -0
- package/lib/components/Forms/Checkbox/index.js +347 -0
- package/lib/components/Forms/Checkbox/index.js.map +1 -0
- package/lib/components/Forms/FilterPopover/index.js +658 -0
- package/lib/components/Forms/FilterPopover/index.js.map +1 -0
- package/lib/components/Forms/ToggleSwitch/index.js +336 -0
- package/lib/components/Forms/ToggleSwitch/index.js.map +1 -0
- package/lib/components/Header/index.js +312 -0
- package/lib/components/Header/index.js.map +1 -0
- package/lib/components/Icon/Icon.d.ts +25 -0
- package/lib/components/Icon/index.d.ts +17 -14
- package/lib/components/Icon/index.js +359 -0
- package/lib/components/Icon/index.js.map +1 -0
- package/lib/components/IconButton/index.js +461 -0
- package/lib/components/IconButton/index.js.map +1 -0
- package/lib/components/Link/index.js +4 -4
- package/lib/components/Loader/index.js +297 -0
- package/lib/components/Loader/index.js.map +1 -0
- package/lib/components/Navbar/index.js +615 -0
- package/lib/components/Navbar/index.js.map +1 -0
- package/lib/components/PageTemplate/index.js +2153 -0
- package/lib/components/PageTemplate/index.js.map +1 -0
- package/lib/components/Profile/ProfileCard/index.js +339 -0
- package/lib/components/Profile/ProfileCard/index.js.map +1 -0
- package/lib/components/Sidebar/index.js +1743 -0
- package/lib/components/Sidebar/index.js.map +1 -0
- package/lib/components/Text/index.js +214 -0
- package/lib/components/Text/index.js.map +1 -0
- package/lib/index.d.ts +1 -1
- package/lib/main.js +1558 -39242
- package/lib/main.js.map +1 -1
- package/package.json +6 -3
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
/******/ (() => { // webpackBootstrap
|
|
2
|
+
/******/ "use strict";
|
|
3
|
+
/******/ var __webpack_modules__ = ({
|
|
4
|
+
|
|
5
|
+
/***/ 4178
|
|
6
|
+
(module) {
|
|
7
|
+
|
|
8
|
+
module.exports = require("react/jsx-runtime");
|
|
9
|
+
|
|
10
|
+
/***/ }
|
|
11
|
+
|
|
12
|
+
/******/ });
|
|
13
|
+
/************************************************************************/
|
|
14
|
+
/******/ // The module cache
|
|
15
|
+
/******/ var __webpack_module_cache__ = {};
|
|
16
|
+
/******/
|
|
17
|
+
/******/ // The require function
|
|
18
|
+
/******/ function __webpack_require__(moduleId) {
|
|
19
|
+
/******/ // Check if module is in cache
|
|
20
|
+
/******/ var cachedModule = __webpack_module_cache__[moduleId];
|
|
21
|
+
/******/ if (cachedModule !== undefined) {
|
|
22
|
+
/******/ return cachedModule.exports;
|
|
23
|
+
/******/ }
|
|
24
|
+
/******/ // Create a new module (and put it into the cache)
|
|
25
|
+
/******/ var module = __webpack_module_cache__[moduleId] = {
|
|
26
|
+
/******/ // no module.id needed
|
|
27
|
+
/******/ // no module.loaded needed
|
|
28
|
+
/******/ exports: {}
|
|
29
|
+
/******/ };
|
|
30
|
+
/******/
|
|
31
|
+
/******/ // Execute the module function
|
|
32
|
+
/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
|
|
33
|
+
/******/
|
|
34
|
+
/******/ // Return the exports of the module
|
|
35
|
+
/******/ return module.exports;
|
|
36
|
+
/******/ }
|
|
37
|
+
/******/
|
|
38
|
+
/************************************************************************/
|
|
39
|
+
/******/ /* webpack/runtime/compat get default export */
|
|
40
|
+
/******/ (() => {
|
|
41
|
+
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
|
42
|
+
/******/ __webpack_require__.n = (module) => {
|
|
43
|
+
/******/ var getter = module && module.__esModule ?
|
|
44
|
+
/******/ () => (module['default']) :
|
|
45
|
+
/******/ () => (module);
|
|
46
|
+
/******/ __webpack_require__.d(getter, { a: getter });
|
|
47
|
+
/******/ return getter;
|
|
48
|
+
/******/ };
|
|
49
|
+
/******/ })();
|
|
50
|
+
/******/
|
|
51
|
+
/******/ /* webpack/runtime/define property getters */
|
|
52
|
+
/******/ (() => {
|
|
53
|
+
/******/ // define getter functions for harmony exports
|
|
54
|
+
/******/ __webpack_require__.d = (exports, definition) => {
|
|
55
|
+
/******/ for(var key in definition) {
|
|
56
|
+
/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
|
|
57
|
+
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
|
|
58
|
+
/******/ }
|
|
59
|
+
/******/ }
|
|
60
|
+
/******/ };
|
|
61
|
+
/******/ })();
|
|
62
|
+
/******/
|
|
63
|
+
/******/ /* webpack/runtime/hasOwnProperty shorthand */
|
|
64
|
+
/******/ (() => {
|
|
65
|
+
/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
|
|
66
|
+
/******/ })();
|
|
67
|
+
/******/
|
|
68
|
+
/******/ /* webpack/runtime/make namespace object */
|
|
69
|
+
/******/ (() => {
|
|
70
|
+
/******/ // define __esModule on exports
|
|
71
|
+
/******/ __webpack_require__.r = (exports) => {
|
|
72
|
+
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
|
73
|
+
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
74
|
+
/******/ }
|
|
75
|
+
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
|
76
|
+
/******/ };
|
|
77
|
+
/******/ })();
|
|
78
|
+
/******/
|
|
79
|
+
/************************************************************************/
|
|
80
|
+
var __webpack_exports__ = {};
|
|
81
|
+
__webpack_require__.r(__webpack_exports__);
|
|
82
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
83
|
+
/* harmony export */ "default": () => (BarLayout_BarLayout)
|
|
84
|
+
/* harmony export */ });
|
|
85
|
+
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(4178);
|
|
86
|
+
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__);
|
|
87
|
+
|
|
88
|
+
/**
|
|
89
|
+
* @typedef {Object} BarLayoutProps
|
|
90
|
+
* @property {React.ReactNode} [left] Left content area
|
|
91
|
+
* @property {React.ReactNode} [center] Center content area
|
|
92
|
+
* @property {React.ReactNode} [right] Right content area
|
|
93
|
+
* @property {string} [className] Optional wrapper class
|
|
94
|
+
*/
|
|
95
|
+
|
|
96
|
+
/**
|
|
97
|
+
* @param {BarLayoutProps} props
|
|
98
|
+
*/
|
|
99
|
+
|
|
100
|
+
const BarLayout = _ref => {
|
|
101
|
+
let {
|
|
102
|
+
left,
|
|
103
|
+
center,
|
|
104
|
+
right,
|
|
105
|
+
className = ""
|
|
106
|
+
} = _ref;
|
|
107
|
+
return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("div", {
|
|
108
|
+
className: `flex w-full items-center justify-between ${className}`,
|
|
109
|
+
children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div", {
|
|
110
|
+
className: "flex-1",
|
|
111
|
+
children: left
|
|
112
|
+
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div", {
|
|
113
|
+
className: "flex-auto text-center",
|
|
114
|
+
children: center
|
|
115
|
+
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div", {
|
|
116
|
+
className: "flex flex-1 justify-end",
|
|
117
|
+
children: right
|
|
118
|
+
})]
|
|
119
|
+
});
|
|
120
|
+
};
|
|
121
|
+
/* harmony default export */ const BarLayout_BarLayout = (BarLayout);
|
|
122
|
+
module.exports = __webpack_exports__;
|
|
123
|
+
/******/ })()
|
|
124
|
+
;
|
|
125
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"components/BarLayout/index.js","mappings":";;;;;;;AAAA,8C;;;;;;UCAA;UACA;;UAEA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;;UAEA;UACA;;UAEA;UACA;UACA;;;;;WCtBA;WACA;WACA;WACA;WACA;WACA,iCAAiC,WAAW;WAC5C;WACA,E;;;;;WCPA;WACA;WACA;WACA;WACA,yCAAyC,wCAAwC;WACjF;WACA;WACA,E;;;;;WCPA,wF;;;;;WCAA;WACA;WACA;WACA,uDAAuD,iBAAiB;WACxE;WACA,gDAAgD,aAAa;WAC7D,E;;;;;;;;;;;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA,MAAMA,SAAS,GAAGC,IAAA,IAA6C;EAAA,IAA5C;IAAEC,IAAI;IAAEC,MAAM;IAAEC,KAAK;IAAEC,SAAS,GAAG;EAAG,CAAC,GAAAJ,IAAA;EACxD,oBACEK,uDAAA;IAAKD,SAAS,EAAE,4CAA4CA,SAAS,EAAG;IAAAE,QAAA,gBACtEC,sDAAA;MAAKH,SAAS,EAAC,QAAQ;MAAAE,QAAA,EAAEL;IAAI,CAAM,CAAC,eACpCM,sDAAA;MAAKH,SAAS,EAAC,uBAAuB;MAAAE,QAAA,EAAEJ;IAAM,CAAM,CAAC,eACrDK,sDAAA;MAAKH,SAAS,EAAC,yBAAyB;MAAAE,QAAA,EAAEH;IAAK,CAAM,CAAC;EAAA,CACnD,CAAC;AAEV,CAAC;AAED,0DAAeJ,SAAS,E","sources":["webpack://opus-toolkit-components/external commonjs2 \"react/jsx-runtime\"","webpack://opus-toolkit-components/webpack/bootstrap","webpack://opus-toolkit-components/webpack/runtime/compat get default export","webpack://opus-toolkit-components/webpack/runtime/define property getters","webpack://opus-toolkit-components/webpack/runtime/hasOwnProperty shorthand","webpack://opus-toolkit-components/webpack/runtime/make namespace object","webpack://opus-toolkit-components/./src/components/BarLayout/BarLayout.jsx"],"sourcesContent":["module.exports = require(\"react/jsx-runtime\");","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","/**\r\n * @typedef {Object} BarLayoutProps\r\n * @property {React.ReactNode} [left] Left content area\r\n * @property {React.ReactNode} [center] Center content area\r\n * @property {React.ReactNode} [right] Right content area\r\n * @property {string} [className] Optional wrapper class\r\n */\r\n\r\n/**\r\n * @param {BarLayoutProps} props\r\n */\r\n\r\nconst BarLayout = ({ left, center, right, className = \"\" }) => {\r\n return (\r\n <div className={`flex w-full items-center justify-between ${className}`}>\r\n <div className=\"flex-1\">{left}</div>\r\n <div className=\"flex-auto text-center\">{center}</div>\r\n <div className=\"flex flex-1 justify-end\">{right}</div>\r\n </div>\r\n );\r\n};\r\n\r\nexport default BarLayout;\r\n"],"names":["BarLayout","_ref","left","center","right","className","_jsxs","children","_jsx"],"sourceRoot":""}
|