@oliasoft-open-source/react-ui-library 3.9.18-beta-1 → 3.9.19
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/global.css +3 -2
- package/dist/index.js +17 -4
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/global.css
CHANGED
|
@@ -20309,15 +20309,16 @@ button:active .remirror-menu-pane-shortcut,
|
|
|
20309
20309
|
margin: 0;
|
|
20310
20310
|
/* margin-bottom: var(--rmr-space-2); */
|
|
20311
20311
|
}
|
|
20312
|
-
.
|
|
20312
|
+
._richTextToolbar_1owpg_1 {
|
|
20313
20313
|
padding: 0 8px;
|
|
20314
20314
|
display: flex;
|
|
20315
20315
|
gap: 4px;
|
|
20316
20316
|
}
|
|
20317
|
-
.
|
|
20317
|
+
._richTextToolbarContainer_1owpg_6 {
|
|
20318
20318
|
display: flex;
|
|
20319
20319
|
justify-content: space-between;
|
|
20320
20320
|
padding: 8px 0;
|
|
20321
|
+
align-items: flex-end;
|
|
20321
20322
|
}
|
|
20322
20323
|
/*
|
|
20323
20324
|
This file has shared variables that are re-used in other LESS files/modules
|
package/dist/index.js
CHANGED
|
@@ -13948,6 +13948,15 @@ const styles$B = {
|
|
|
13948
13948
|
tabsContent,
|
|
13949
13949
|
resizeHandle
|
|
13950
13950
|
};
|
|
13951
|
+
const TabBadge = ({ badge: badge2, children }) => {
|
|
13952
|
+
if (!badge2)
|
|
13953
|
+
return children;
|
|
13954
|
+
return /* @__PURE__ */ jsxRuntime.exports.jsx(Badge, {
|
|
13955
|
+
small: true,
|
|
13956
|
+
title: badge2,
|
|
13957
|
+
children
|
|
13958
|
+
});
|
|
13959
|
+
};
|
|
13951
13960
|
const DrawerTabs = ({
|
|
13952
13961
|
tabs: tabs2,
|
|
13953
13962
|
activeTab,
|
|
@@ -13969,7 +13978,10 @@ const DrawerTabs = ({
|
|
|
13969
13978
|
style: { background: background2 },
|
|
13970
13979
|
onClick: () => handleTabClick(index2),
|
|
13971
13980
|
"data-testid": testId && `${testId}-icon-${index2}`,
|
|
13972
|
-
children:
|
|
13981
|
+
children: /* @__PURE__ */ jsxRuntime.exports.jsx(TabBadge, {
|
|
13982
|
+
badge: tab2.badge,
|
|
13983
|
+
children: tab2.icon
|
|
13984
|
+
})
|
|
13973
13985
|
}, index2))
|
|
13974
13986
|
}),
|
|
13975
13987
|
tabs2.map((tab2, index2) => {
|
|
@@ -16224,7 +16236,8 @@ Drawer.propTypes = {
|
|
|
16224
16236
|
tabs: propTypes$1.exports.arrayOf(
|
|
16225
16237
|
propTypes$1.exports.shape({
|
|
16226
16238
|
icon: propTypes$1.exports.node,
|
|
16227
|
-
content: propTypes$1.exports.node
|
|
16239
|
+
content: propTypes$1.exports.node,
|
|
16240
|
+
badge: propTypes$1.exports.oneOfType([propTypes$1.exports.string, propTypes$1.exports.number])
|
|
16228
16241
|
})
|
|
16229
16242
|
),
|
|
16230
16243
|
testId: propTypes$1.exports.string,
|
|
@@ -56315,8 +56328,8 @@ function TbListNumbers(props) {
|
|
|
56315
56328
|
function TbList(props) {
|
|
56316
56329
|
return GenIcon({ "tag": "svg", "attr": { "viewBox": "0 0 24 24", "strokeWidth": "2", "stroke": "currentColor", "fill": "none", "strokeLinecap": "round", "strokeLinejoin": "round" }, "child": [{ "tag": "path", "attr": { "stroke": "none", "d": "M0 0h24v24H0z", "fill": "none" } }, { "tag": "path", "attr": { "d": "M9 6l11 0" } }, { "tag": "path", "attr": { "d": "M9 12l11 0" } }, { "tag": "path", "attr": { "d": "M9 18l11 0" } }, { "tag": "path", "attr": { "d": "M5 6l0 .01" } }, { "tag": "path", "attr": { "d": "M5 12l0 .01" } }, { "tag": "path", "attr": { "d": "M5 18l0 .01" } }] })(props);
|
|
56317
56330
|
}
|
|
56318
|
-
const richTextToolbar = "
|
|
56319
|
-
const richTextToolbarContainer = "
|
|
56331
|
+
const richTextToolbar = "_richTextToolbar_1owpg_1";
|
|
56332
|
+
const richTextToolbarContainer = "_richTextToolbarContainer_1owpg_6";
|
|
56320
56333
|
const styles$f = {
|
|
56321
56334
|
richTextToolbar,
|
|
56322
56335
|
richTextToolbarContainer
|