pesona-ui 1.0.3 → 1.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/dist/index.cjs.js +3 -0
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +3 -1
- package/dist/index.esm.js.map +1 -1
- package/dist/styles/pesona-ui.css +1 -1
- package/dist/types/components/Box/Box.d.ts +8 -0
- package/dist/types/components/Box/index.d.ts +1 -0
- package/dist/types/components/index.d.ts +1 -0
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -181,6 +181,8 @@ const Badge = ({ className, text }) => {
|
|
|
181
181
|
return React.createElement("span", { className: className }, text);
|
|
182
182
|
};
|
|
183
183
|
|
|
184
|
+
const Box = ({ children, className = '', ...rest }) => (React.createElement("div", { className: `box ${className}`, ...rest }, children));
|
|
185
|
+
|
|
184
186
|
const Tabs = ({ className, navClassName, contentClassName, children, activeTab, handleActiveTab, customHeader, }) => {
|
|
185
187
|
return (React.createElement("div", { className: `card tabs ${className}` },
|
|
186
188
|
React.createElement("div", { className: `card-header ${navClassName}` },
|
|
@@ -8618,6 +8620,7 @@ exports.AccordionSectionBody = AccordionSectionBody;
|
|
|
8618
8620
|
exports.AccordionSectionFooter = AccordionSectionFooter;
|
|
8619
8621
|
exports.Alert = Alert;
|
|
8620
8622
|
exports.Badge = Badge;
|
|
8623
|
+
exports.Box = Box;
|
|
8621
8624
|
exports.Button = Button;
|
|
8622
8625
|
exports.Callout = Callout;
|
|
8623
8626
|
exports.Card = Card;
|