@fluxo-dev/shell 0.0.39 → 0.0.40

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.
Files changed (2) hide show
  1. package/index.esm.js +19 -18
  2. package/package.json +10 -10
package/index.esm.js CHANGED
@@ -6439,6 +6439,8 @@ function FooterBar(props) {
6439
6439
  });
6440
6440
  }
6441
6441
 
6442
+ var style = {"control":"navbar-item-module_control__0EMhh","controlSub":"navbar-item-module_controlSub__U-eSe","link":"navbar-item-module_link__sVkBe","chevron":"navbar-item-module_chevron__-1UpS"};
6443
+
6442
6444
  function NavBarItem({
6443
6445
  icon: Icon,
6444
6446
  label,
@@ -6474,7 +6476,7 @@ function NavBarItem({
6474
6476
  }
6475
6477
  if (link.featureIdentifier === 'webclient.routing.externallink') {
6476
6478
  return jsx(Link, {
6477
- className: undefined,
6479
+ className: style["link"],
6478
6480
  style: {
6479
6481
  color: colorScheme.colorScheme === 'dark' ? theme.colors.dark[0] : theme.colors.gray[7],
6480
6482
  borderLeft: `1px solid ${colorScheme.colorScheme === 'dark' ? theme.colors.dark[4] : theme.colors.gray[3]}`
@@ -6485,7 +6487,7 @@ function NavBarItem({
6485
6487
  }, link.label + '_' + i);
6486
6488
  } else {
6487
6489
  return jsx(Link, {
6488
- className: undefined,
6490
+ className: style["link"],
6489
6491
  style: {
6490
6492
  color: colorScheme.colorScheme === 'dark' ? theme.colors.dark[0] : theme.colors.gray[7],
6491
6493
  borderLeft: `1px solid ${colorScheme.colorScheme === 'dark' ? theme.colors.dark[4] : theme.colors.gray[3]}`
@@ -6508,7 +6510,7 @@ function NavBarItem({
6508
6510
  }
6509
6511
  });
6510
6512
  },
6511
- className: level === 0 ? undefined : undefined,
6513
+ className: level === 0 ? style["control"] : style["controlSub"],
6512
6514
  children: jsxs(Group, {
6513
6515
  justify: 'space-between',
6514
6516
  gap: 0,
@@ -6529,7 +6531,7 @@ function NavBarItem({
6529
6531
  children: label
6530
6532
  })]
6531
6533
  }), hasLinks && jsx(ChevronIcon, {
6532
- className: undefined,
6534
+ className: style["chevron"],
6533
6535
  size: 14,
6534
6536
  stroke: 1.5,
6535
6537
  style: {
@@ -23978,6 +23980,8 @@ function TreeInner(props, ref) {
23978
23980
  }
23979
23981
  var Tree = forwardRef(TreeInner);
23980
23982
 
23983
+ var styles$2 = {"root":"CustomNode-module_root__MTD8I","expandIconWrapper":"CustomNode-module_expandIconWrapper__XgO8w","isOpen":"CustomNode-module_isOpen__jPvPC","labelGridItem":"CustomNode-module_labelGridItem__k-wO-"};
23984
+
23981
23985
  var $$6 = _export;
23982
23986
  var $includes = arrayIncludes.includes;
23983
23987
  var fails$6 = fails$q;
@@ -24350,7 +24354,7 @@ const CustomNode = props => {
24350
24354
  };
24351
24355
  return jsxs("div", {
24352
24356
  id: props.node.id.toString(),
24353
- className: `tree-node ${undefined}`,
24357
+ className: `tree-node ${styles$2["root"]}`,
24354
24358
  style: {
24355
24359
  marginLeft: indent,
24356
24360
  marginBottom: 16,
@@ -24358,14 +24362,14 @@ const CustomNode = props => {
24358
24362
  border: '1px solid #e9ecef'
24359
24363
  },
24360
24364
  children: [jsx("div", {
24361
- className: undefined,
24365
+ className: styles$2["expandIconWrapper"],
24362
24366
  children: jsx(ThemeIcon, {
24363
24367
  variant: "light",
24364
24368
  size: 30,
24365
24369
  children: IconFactory.getIcon(props.node.data.icon)
24366
24370
  })
24367
24371
  }), jsx("div", {
24368
- className: undefined,
24372
+ className: styles$2["labelGridItem"],
24369
24373
  onClick: handleToggle,
24370
24374
  children: jsx(Text, {
24371
24375
  variant: "text",
@@ -24377,7 +24381,7 @@ const CustomNode = props => {
24377
24381
  style: {
24378
24382
  width: isLeaf() ? 24 : 8
24379
24383
  },
24380
- className: `${undefined} ${props.isOpen ? undefined : ""}`,
24384
+ className: `${styles$2["expandIconWrapper"]} ${props.isOpen ? styles$2["isOpen"] : ""}`,
24381
24385
  children: isLeaf() && jsx("div", {
24382
24386
  onClick: handleToggle,
24383
24387
  children: jsx(IconChevronRight, {
@@ -24481,22 +24485,19 @@ const CustomNode = props => {
24481
24485
  });
24482
24486
  };
24483
24487
 
24488
+ var styles$1 = {"root":"placeholder-module_root__3fAsg"};
24489
+
24484
24490
  const Placeholder = props => {
24485
24491
  const left = props.depth * 24;
24486
24492
  return jsx("div", {
24487
- className: undefined,
24493
+ className: styles$1["root"],
24488
24494
  style: {
24489
24495
  left
24490
24496
  }
24491
24497
  });
24492
24498
  };
24493
24499
 
24494
- var menuDesigner_module = {"app":"menu-designer-module_app__LilwQ","treeRoot":"menu-designer-module_treeRoot__QFCU1","draggingSource":"menu-designer-module_draggingSource__Kmtr5","placeholderContainer":"menu-designer-module_placeholderContainer__Y4M-R","dropTarget":"menu-designer-module_dropTarget__9otBw"};
24495
-
24496
- var styles = /*#__PURE__*/Object.freeze({
24497
- __proto__: null,
24498
- default: menuDesigner_module
24499
- });
24500
+ var styles = {"app":"menu-designer-module_app__LilwQ","treeRoot":"menu-designer-module_treeRoot__QFCU1","draggingSource":"menu-designer-module_draggingSource__Kmtr5","placeholderContainer":"menu-designer-module_placeholderContainer__Y4M-R","dropTarget":"menu-designer-module_dropTarget__9otBw"};
24500
24501
 
24501
24502
  var fails$5 = fails$q;
24502
24503
  var global$4 = global$p;
@@ -25316,9 +25317,9 @@ function MenuDesigner(props) {
25316
25317
  return ((_a = dropTarget === null || dropTarget === void 0 ? void 0 : dropTarget.data) === null || _a === void 0 ? void 0 : _a.isGroup) || dropTarget === undefined;
25317
25318
  },
25318
25319
  classes: {
25319
- root: undefined,
25320
- draggingSource: undefined,
25321
- placeholder: undefined
25320
+ root: styles["treeRoot"],
25321
+ draggingSource: styles["draggingSource"],
25322
+ placeholder: styles["placeholderContainer"]
25322
25323
  },
25323
25324
  placeholderRender: (node, {
25324
25325
  depth
package/package.json CHANGED
@@ -1,16 +1,16 @@
1
1
  {
2
2
  "name": "@fluxo-dev/shell",
3
- "version": "0.0.39",
3
+ "version": "0.0.40",
4
4
  "peerDependencies": {
5
- "@fluxo-dev/shell-hub": "0.0.39",
6
- "@fluxo-dev/shell-korebi": "0.0.39",
7
- "@fluxo-dev/shell-mfe": "0.0.39",
8
- "@fluxo-dev/shell-printing": "0.0.39",
9
- "@fluxo-dev/shell-reporting": "0.0.39",
10
- "@fluxo-dev/shell-workflow": "0.0.39",
11
- "@fluxo-dev/state": "0.0.39",
12
- "@fluxo-dev/ui-components": "0.0.39",
13
- "@fluxo-dev/shell-ravify": "0.0.39"
5
+ "@fluxo-dev/shell-hub": "0.0.40",
6
+ "@fluxo-dev/shell-korebi": "0.0.40",
7
+ "@fluxo-dev/shell-mfe": "0.0.40",
8
+ "@fluxo-dev/shell-printing": "0.0.40",
9
+ "@fluxo-dev/shell-reporting": "0.0.40",
10
+ "@fluxo-dev/shell-workflow": "0.0.40",
11
+ "@fluxo-dev/state": "0.0.40",
12
+ "@fluxo-dev/ui-components": "0.0.40",
13
+ "@fluxo-dev/shell-ravify": "0.0.40"
14
14
  },
15
15
  "module": "./index.esm.js",
16
16
  "type": "module",