funda-ui 1.0.510 → 1.0.512
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/Tree/index.js +1 -1
- package/lib/cjs/Tree/index.js +1 -1
- package/lib/esm/Tree/TreeList.tsx +2 -1
- package/package.json +1 -1
package/Tree/index.js
CHANGED
|
@@ -1000,7 +1000,7 @@ function TreeList(props) {
|
|
|
1000
1000
|
var _async = item.childrenAsync ? 'async-ready' : '';
|
|
1001
1001
|
var _cusIcons = arrowIcons ? 'custom-icons' : '';
|
|
1002
1002
|
if (item.heading) return /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default().createElement("li", {
|
|
1003
|
-
className: "nav-item
|
|
1003
|
+
className: "nav-item ".concat(first ? 'first' : ''),
|
|
1004
1004
|
key: item.key
|
|
1005
1005
|
}, /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default().createElement("a", {
|
|
1006
1006
|
tabIndex: -1,
|
package/lib/cjs/Tree/index.js
CHANGED
|
@@ -1000,7 +1000,7 @@ function TreeList(props) {
|
|
|
1000
1000
|
var _async = item.childrenAsync ? 'async-ready' : '';
|
|
1001
1001
|
var _cusIcons = arrowIcons ? 'custom-icons' : '';
|
|
1002
1002
|
if (item.heading) return /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default().createElement("li", {
|
|
1003
|
-
className: "nav-item
|
|
1003
|
+
className: "nav-item ".concat(first ? 'first' : ''),
|
|
1004
1004
|
key: item.key
|
|
1005
1005
|
}, /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default().createElement("a", {
|
|
1006
1006
|
tabIndex: -1,
|
|
@@ -4,6 +4,7 @@ import Checkbox from 'funda-checkbox';
|
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
|
+
|
|
7
8
|
import { getNextSiblings, getParents, getChildren } from './utils/dom';
|
|
8
9
|
|
|
9
10
|
import { initUlHeight } from './init-height';
|
|
@@ -367,7 +368,7 @@ export default function TreeList(props: TreeListProps) {
|
|
|
367
368
|
|
|
368
369
|
|
|
369
370
|
if ( item.heading ) return (
|
|
370
|
-
<li className=
|
|
371
|
+
<li className={`nav-item ${first ? 'first' : ''}`} key={item.key}>
|
|
371
372
|
<a tabIndex={-1} className="nav-link disabled" href="#" aria-disabled="true" data-link={item.link} data-slug={item.slug} data-key={item.key}>
|
|
372
373
|
<span>{item.icon ? item.icon.indexOf('</svg>') < 0 ? <><i className={item.icon}></i> </> : <var dangerouslySetInnerHTML={{ __html: `${item.icon}` }} /> : null}<i dangerouslySetInnerHTML={{ __html: `${item.title}` }}></i></span>
|
|
373
374
|
</a>
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"author": "UIUX Lab",
|
|
3
3
|
"email": "uiuxlab@gmail.com",
|
|
4
4
|
"name": "funda-ui",
|
|
5
|
-
"version": "1.0.
|
|
5
|
+
"version": "1.0.512",
|
|
6
6
|
"description": "React components using pure Bootstrap 5+ which does not contain any external style and script libraries.",
|
|
7
7
|
"repository": {
|
|
8
8
|
"type": "git",
|