@humu-tech/ui 0.4.0 → 0.4.1

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.js CHANGED
@@ -7835,6 +7835,7 @@ Switch.displayName = "Switch";
7835
7835
  // src/primitives/Tabs/Tabs.tsx
7836
7836
  var import_react59 = require("react");
7837
7837
  var TabsPrimitive = __toESM(require("@radix-ui/react-tabs"));
7838
+ var import_lucide_react27 = require("lucide-react");
7838
7839
 
7839
7840
  // src/primitives/Tabs/Tabs.styles.ts
7840
7841
  var import_class_variance_authority15 = require("class-variance-authority");
@@ -7917,16 +7918,174 @@ var tabsContentStyles = (0, import_class_variance_authority15.cva)(
7917
7918
  // src/primitives/Tabs/Tabs.tsx
7918
7919
  var import_jsx_runtime69 = require("react/jsx-runtime");
7919
7920
  var TabsVariantContext = (0, import_react59.createContext)("pill");
7920
- var List2 = (0, import_react59.forwardRef)(
7921
- ({ className, variant = "pill", ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(TabsVariantContext.Provider, { value: variant, children: /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
7922
- TabsPrimitive.List,
7923
- {
7924
- ref,
7925
- "data-variant": variant,
7926
- className: cn(tabsListStyles({ variant }), className),
7927
- ...props
7921
+ var TabsValueContext = (0, import_react59.createContext)(null);
7922
+ var isTrigger = (child) => (0, import_react59.isValidElement)(child) && typeof child.props.value === "string";
7923
+ function pickVisible(values, widths, active, available, gap, moreWidth) {
7924
+ const width = (value) => widths.get(value) ?? 0;
7925
+ const total = values.reduce((sum, value) => sum + width(value), 0) + gap * Math.max(values.length - 1, 0);
7926
+ if (total <= available) return values;
7927
+ const room = available - moreWidth - gap;
7928
+ const activeIndex = active ? values.indexOf(active) : -1;
7929
+ let used = 0;
7930
+ const visible = [];
7931
+ for (const value of values) {
7932
+ const next = used + width(value) + (visible.length > 0 ? gap : 0);
7933
+ if (next > room) break;
7934
+ visible.push(value);
7935
+ used = next;
7936
+ }
7937
+ if (activeIndex >= 0 && !visible.includes(values[activeIndex])) {
7938
+ const activeValue = values[activeIndex];
7939
+ while (visible.length > 0 && used + width(activeValue) + gap > room) {
7940
+ const removed = visible.pop();
7941
+ used -= width(removed) + (visible.length > 0 ? gap : 0);
7928
7942
  }
7929
- ) })
7943
+ visible.push(activeValue);
7944
+ }
7945
+ return visible;
7946
+ }
7947
+ var List2 = (0, import_react59.forwardRef)(
7948
+ ({
7949
+ className,
7950
+ variant = "pill",
7951
+ overflow = "none",
7952
+ moreLabel = "Mais",
7953
+ children,
7954
+ ...props
7955
+ }, ref) => {
7956
+ const valueContext = (0, import_react59.useContext)(TabsValueContext);
7957
+ const active = valueContext?.value;
7958
+ const wrapperRef = (0, import_react59.useRef)(null);
7959
+ const moreRef = (0, import_react59.useRef)(null);
7960
+ const widthsRef = (0, import_react59.useRef)(/* @__PURE__ */ new Map());
7961
+ const moreWidthRef = (0, import_react59.useRef)(0);
7962
+ const childArray = import_react59.Children.toArray(children);
7963
+ const triggers = childArray.filter(isTrigger);
7964
+ const signature = triggers.map((trigger) => trigger.props.value).join("\0");
7965
+ const enabled = overflow === "menu" && triggers.length > 1;
7966
+ const layoutKey = `${signature}${active ?? ""}`;
7967
+ const [measuredKey, setMeasuredKey] = (0, import_react59.useState)(null);
7968
+ const [visibleValues, setVisibleValues] = (0, import_react59.useState)(null);
7969
+ const measuring = enabled && measuredKey !== layoutKey;
7970
+ (0, import_react59.useLayoutEffect)(() => {
7971
+ if (!measuring) return;
7972
+ const wrapper = wrapperRef.current;
7973
+ if (!wrapper) return;
7974
+ wrapper.querySelectorAll("[data-tab-value]").forEach((element) => {
7975
+ const value = element.dataset.tabValue;
7976
+ if (value) widthsRef.current.set(value, element.offsetWidth);
7977
+ });
7978
+ moreWidthRef.current = moreRef.current?.offsetWidth ?? 0;
7979
+ setMeasuredKey(layoutKey);
7980
+ }, [measuring, layoutKey]);
7981
+ (0, import_react59.useLayoutEffect)(() => {
7982
+ if (!enabled || measuring) return;
7983
+ const wrapper = wrapperRef.current;
7984
+ const list2 = wrapper?.firstElementChild;
7985
+ if (!wrapper || !(list2 instanceof HTMLElement)) return;
7986
+ const update = () => {
7987
+ const style = getComputedStyle(list2);
7988
+ const gap = parseFloat(style.columnGap) || 0;
7989
+ const padding = (parseFloat(style.paddingLeft) || 0) + (parseFloat(style.paddingRight) || 0) + (parseFloat(style.borderLeftWidth) || 0) + (parseFloat(style.borderRightWidth) || 0);
7990
+ const next = pickVisible(
7991
+ signature ? signature.split("\0") : [],
7992
+ widthsRef.current,
7993
+ active,
7994
+ wrapper.clientWidth - padding,
7995
+ gap,
7996
+ moreWidthRef.current
7997
+ );
7998
+ setVisibleValues(
7999
+ (previous) => previous && previous.join("\0") === next.join("\0") ? previous : next
8000
+ );
8001
+ };
8002
+ update();
8003
+ if (typeof ResizeObserver === "undefined") return;
8004
+ const observer = new ResizeObserver(update);
8005
+ observer.observe(wrapper);
8006
+ return () => observer.disconnect();
8007
+ }, [enabled, measuring, signature, active]);
8008
+ const shown = !enabled || measuring || !visibleValues ? null : new Set(visibleValues);
8009
+ const hidden = shown ? triggers.filter((trigger) => !shown.has(trigger.props.value)) : [];
8010
+ const showMore = enabled && (measuring || hidden.length > 0);
8011
+ const hiddenHasError = hidden.some((trigger) => trigger.props.hasError);
8012
+ const moreClassName = cn(
8013
+ variant === "underline" ? tabsUnderlineTriggerStyles() : tabsTriggerStyles({ tone: "brand" }),
8014
+ "data-[state=open]:text-humu-content-title"
8015
+ );
8016
+ const more = showMore ? /* @__PURE__ */ (0, import_jsx_runtime69.jsxs)(Dropdown, { children: [
8017
+ /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(Dropdown.Trigger, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime69.jsxs)(
8018
+ "button",
8019
+ {
8020
+ ref: moreRef,
8021
+ type: "button",
8022
+ className: moreClassName,
8023
+ "aria-label": hiddenHasError ? `${moreLabel}, com erro` : void 0,
8024
+ children: [
8025
+ moreLabel,
8026
+ hiddenHasError && /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
8027
+ "span",
8028
+ {
8029
+ "aria-hidden": "true",
8030
+ className: "inline-block size-1.5 shrink-0 rounded-full bg-humu-status-background-error"
8031
+ }
8032
+ ),
8033
+ /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(import_lucide_react27.ChevronDownIcon, { "aria-hidden": "true" })
8034
+ ]
8035
+ }
8036
+ ) }),
8037
+ /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(Dropdown.Content, { align: "end", className: "min-w-48 gap-0.5 p-1", children: hidden.map((trigger) => /* @__PURE__ */ (0, import_jsx_runtime69.jsxs)(
8038
+ Dropdown.Item,
8039
+ {
8040
+ disabled: trigger.props.disabled,
8041
+ onSelect: () => valueContext?.setValue(trigger.props.value),
8042
+ className: "text-humu-body-xs [&_svg]:size-4",
8043
+ children: [
8044
+ trigger.props.icon && /* @__PURE__ */ (0, import_jsx_runtime69.jsx)("span", { "aria-hidden": "true", className: "flex", children: trigger.props.icon }),
8045
+ trigger.props.children,
8046
+ trigger.props.count !== void 0 && trigger.props.count !== null && /* @__PURE__ */ (0, import_jsx_runtime69.jsx)("span", { className: tabsUnderlineCountStyles(), children: trigger.props.count }),
8047
+ trigger.props.hasError && /* @__PURE__ */ (0, import_jsx_runtime69.jsxs)(import_jsx_runtime69.Fragment, { children: [
8048
+ /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
8049
+ "span",
8050
+ {
8051
+ "aria-hidden": "true",
8052
+ className: "inline-block size-1.5 shrink-0 rounded-full bg-humu-status-background-error"
8053
+ }
8054
+ ),
8055
+ /* @__PURE__ */ (0, import_jsx_runtime69.jsx)("span", { className: "sr-only", children: `, ${trigger.props.errorLabel ?? "com erro"}` })
8056
+ ] })
8057
+ ]
8058
+ },
8059
+ trigger.props.value
8060
+ )) })
8061
+ ] }) : null;
8062
+ const list = /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
8063
+ TabsPrimitive.List,
8064
+ {
8065
+ ref,
8066
+ "data-variant": variant,
8067
+ className: cn(tabsListStyles({ variant }), className),
8068
+ ...props,
8069
+ children: childArray.map(
8070
+ (child) => isTrigger(child) && shown && !shown.has(child.props.value) ? null : child
8071
+ )
8072
+ }
8073
+ );
8074
+ return /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(TabsVariantContext.Provider, { value: variant, children: enabled ? /* @__PURE__ */ (0, import_jsx_runtime69.jsxs)(
8075
+ "div",
8076
+ {
8077
+ ref: wrapperRef,
8078
+ className: cn(
8079
+ "flex w-full min-w-0 items-center",
8080
+ variant === "pill" && "gap-1"
8081
+ ),
8082
+ children: [
8083
+ list,
8084
+ more
8085
+ ]
8086
+ }
8087
+ ) : list });
8088
+ }
7930
8089
  );
7931
8090
  List2.displayName = "Tabs.List";
7932
8091
  var Trigger12 = (0, import_react59.forwardRef)(
@@ -7951,41 +8110,51 @@ var Trigger12 = (0, import_react59.forwardRef)(
7951
8110
  TabsPrimitive.Trigger,
7952
8111
  {
7953
8112
  ref,
8113
+ "data-tab-value": props.value,
7954
8114
  className: triggerClassName,
7955
8115
  ...props,
7956
8116
  children
7957
8117
  }
7958
8118
  );
7959
8119
  }
7960
- return /* @__PURE__ */ (0, import_jsx_runtime69.jsxs)(TabsPrimitive.Trigger, { ref, className: triggerClassName, ...props, children: [
7961
- icon && /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
7962
- "span",
7963
- {
7964
- "aria-hidden": "true",
7965
- className: underline ? "flex" : tabsTriggerIconStyles({ tone }),
7966
- children: icon
7967
- }
7968
- ),
7969
- children,
7970
- count !== void 0 && count !== null && /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
7971
- "span",
7972
- {
7973
- className: underline ? tabsUnderlineCountStyles() : tabsTriggerCountStyles({ tone }),
7974
- children: count
7975
- }
7976
- ),
7977
- hasError && /* @__PURE__ */ (0, import_jsx_runtime69.jsxs)(import_jsx_runtime69.Fragment, { children: [
7978
- /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
7979
- "span",
7980
- {
7981
- "aria-hidden": "true",
7982
- "data-tab-error": "",
7983
- className: "inline-block size-1.5 shrink-0 rounded-full bg-humu-status-background-error"
7984
- }
7985
- ),
7986
- /* @__PURE__ */ (0, import_jsx_runtime69.jsx)("span", { className: "sr-only", children: `, ${errorLabel}` })
7987
- ] })
7988
- ] });
8120
+ return /* @__PURE__ */ (0, import_jsx_runtime69.jsxs)(
8121
+ TabsPrimitive.Trigger,
8122
+ {
8123
+ ref,
8124
+ "data-tab-value": props.value,
8125
+ className: triggerClassName,
8126
+ ...props,
8127
+ children: [
8128
+ icon && /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
8129
+ "span",
8130
+ {
8131
+ "aria-hidden": "true",
8132
+ className: underline ? "flex" : tabsTriggerIconStyles({ tone }),
8133
+ children: icon
8134
+ }
8135
+ ),
8136
+ children,
8137
+ count !== void 0 && count !== null && /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
8138
+ "span",
8139
+ {
8140
+ className: underline ? tabsUnderlineCountStyles() : tabsTriggerCountStyles({ tone }),
8141
+ children: count
8142
+ }
8143
+ ),
8144
+ hasError && /* @__PURE__ */ (0, import_jsx_runtime69.jsxs)(import_jsx_runtime69.Fragment, { children: [
8145
+ /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
8146
+ "span",
8147
+ {
8148
+ "aria-hidden": "true",
8149
+ "data-tab-error": "",
8150
+ className: "inline-block size-1.5 shrink-0 rounded-full bg-humu-status-background-error"
8151
+ }
8152
+ ),
8153
+ /* @__PURE__ */ (0, import_jsx_runtime69.jsx)("span", { className: "sr-only", children: `, ${errorLabel}` })
8154
+ ] })
8155
+ ]
8156
+ }
8157
+ );
7989
8158
  }
7990
8159
  );
7991
8160
  Trigger12.displayName = "Tabs.Trigger";
@@ -7998,15 +8167,33 @@ var Content12 = (0, import_react59.forwardRef)(({ className, ...props }, ref) =>
7998
8167
  }
7999
8168
  ));
8000
8169
  Content12.displayName = "Tabs.Content";
8001
- function TabsRoot({ children, className, ...props }) {
8002
- return /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
8170
+ function TabsRoot({
8171
+ children,
8172
+ className,
8173
+ value,
8174
+ defaultValue,
8175
+ onValueChange,
8176
+ ...props
8177
+ }) {
8178
+ const [innerValue, setInnerValue] = (0, import_react59.useState)(defaultValue);
8179
+ const current = value ?? innerValue;
8180
+ const setValue = (0, import_react59.useCallback)(
8181
+ (next) => {
8182
+ if (value === void 0) setInnerValue(next);
8183
+ onValueChange?.(next);
8184
+ },
8185
+ [value, onValueChange]
8186
+ );
8187
+ return /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(TabsValueContext.Provider, { value: { value: current, setValue }, children: /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
8003
8188
  TabsPrimitive.Root,
8004
8189
  {
8005
8190
  className: cn("group/tabs w-full", className),
8191
+ value: current,
8192
+ onValueChange: setValue,
8006
8193
  ...props,
8007
8194
  children
8008
8195
  }
8009
- );
8196
+ ) });
8010
8197
  }
8011
8198
  TabsRoot.displayName = "Tabs";
8012
8199
  var Tabs = Object.assign(TabsRoot, {
@@ -8017,7 +8204,7 @@ var Tabs = Object.assign(TabsRoot, {
8017
8204
 
8018
8205
  // src/primitives/ThemeToggle/ThemeToggle.tsx
8019
8206
  var import_react60 = require("react");
8020
- var import_lucide_react27 = require("lucide-react");
8207
+ var import_lucide_react28 = require("lucide-react");
8021
8208
  var import_jsx_runtime70 = require("react/jsx-runtime");
8022
8209
  var sizeClass2 = {
8023
8210
  sm: "size-7",
@@ -8037,17 +8224,17 @@ var NEXT_LABEL = {
8037
8224
  var ICONS = [
8038
8225
  {
8039
8226
  preference: "light",
8040
- Icon: import_lucide_react27.SunIcon,
8227
+ Icon: import_lucide_react28.SunIcon,
8041
8228
  hidden: "-rotate-90 scale-50 opacity-0"
8042
8229
  },
8043
8230
  {
8044
8231
  preference: "dark",
8045
- Icon: import_lucide_react27.MoonIcon,
8232
+ Icon: import_lucide_react28.MoonIcon,
8046
8233
  hidden: "rotate-90 scale-50 opacity-0"
8047
8234
  },
8048
8235
  {
8049
8236
  preference: "system",
8050
- Icon: import_lucide_react27.MonitorIcon,
8237
+ Icon: import_lucide_react28.MonitorIcon,
8051
8238
  hidden: "rotate-90 scale-50 opacity-0"
8052
8239
  }
8053
8240
  ];
@@ -8428,7 +8615,7 @@ function useToast() {
8428
8615
  }
8429
8616
 
8430
8617
  // src/primitives/TitleSelect/TitleSelect.tsx
8431
- var import_lucide_react28 = require("lucide-react");
8618
+ var import_lucide_react29 = require("lucide-react");
8432
8619
  var import_react65 = require("react");
8433
8620
  var import_jsx_runtime76 = require("react/jsx-runtime");
8434
8621
  var labelClass2 = "truncate text-humu-body-xxs font-semibold uppercase";
@@ -8484,7 +8671,7 @@ var TitleSelect = (0, import_react65.forwardRef)(
8484
8671
  /* @__PURE__ */ (0, import_jsx_runtime76.jsx)("span", { className: labelClass2, children: current?.label }),
8485
8672
  ariaLabel && /* @__PURE__ */ (0, import_jsx_runtime76.jsx)("span", { className: "sr-only", children: `, ${ariaLabel}` }),
8486
8673
  /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(
8487
- import_lucide_react28.ChevronDownIcon,
8674
+ import_lucide_react29.ChevronDownIcon,
8488
8675
  {
8489
8676
  className: "size-4 shrink-0 transition-transform duration-humu-normal group-data-[state=open]/title:rotate-180 motion-reduce:transition-none",
8490
8677
  "aria-hidden": "true"
@@ -8503,7 +8690,7 @@ var TitleSelect = (0, import_react65.forwardRef)(
8503
8690
  className: "justify-between gap-4",
8504
8691
  children: [
8505
8692
  /* @__PURE__ */ (0, import_jsx_runtime76.jsx)("span", { children: option.label }),
8506
- selected && /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(import_lucide_react28.CheckIcon, { className: "size-4 shrink-0", "aria-hidden": "true" })
8693
+ selected && /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(import_lucide_react29.CheckIcon, { className: "size-4 shrink-0", "aria-hidden": "true" })
8507
8694
  ]
8508
8695
  },
8509
8696
  option.value
@@ -8515,10 +8702,10 @@ var TitleSelect = (0, import_react65.forwardRef)(
8515
8702
  TitleSelect.displayName = "TitleSelect";
8516
8703
 
8517
8704
  // src/patterns/AppShell/AppShell.tsx
8518
- var import_lucide_react31 = require("lucide-react");
8705
+ var import_lucide_react32 = require("lucide-react");
8519
8706
 
8520
8707
  // src/patterns/Sidebar/Sidebar.tsx
8521
- var import_lucide_react29 = require("lucide-react");
8708
+ var import_lucide_react30 = require("lucide-react");
8522
8709
  var import_react66 = require("react");
8523
8710
  var import_Sidebar = require("./Sidebar-RBBNUVDV.css");
8524
8711
  var import_jsx_runtime77 = require("react/jsx-runtime");
@@ -8721,7 +8908,7 @@ var Sidebar = (0, import_react66.forwardRef)(function Sidebar2({
8721
8908
  "focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-humu-focus"
8722
8909
  ),
8723
8910
  children: [
8724
- /* @__PURE__ */ (0, import_jsx_runtime77.jsx)("span", { "aria-hidden": "true", className: "flex shrink-0 items-center", children: collapsed ? /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(import_lucide_react29.ChevronsLeftRightIcon, {}) : /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(import_lucide_react29.ChevronsRightLeftIcon, {}) }),
8911
+ /* @__PURE__ */ (0, import_jsx_runtime77.jsx)("span", { "aria-hidden": "true", className: "flex shrink-0 items-center", children: collapsed ? /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(import_lucide_react30.ChevronsLeftRightIcon, {}) : /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(import_lucide_react30.ChevronsRightLeftIcon, {}) }),
8725
8912
  /* @__PURE__ */ (0, import_jsx_runtime77.jsx)("span", { className: collapsed ? "sr-only" : "flex-1 text-left", children: toggleLabel })
8726
8913
  ]
8727
8914
  }
@@ -8824,7 +9011,7 @@ var Topbar = (0, import_react67.forwardRef)(function Topbar2({
8824
9011
  Topbar.displayName = "Topbar";
8825
9012
 
8826
9013
  // src/patterns/Topbar/TopbarButtons.tsx
8827
- var import_lucide_react30 = require("lucide-react");
9014
+ var import_lucide_react31 = require("lucide-react");
8828
9015
  var import_react68 = require("react");
8829
9016
  var import_jsx_runtime79 = require("react/jsx-runtime");
8830
9017
  var TopbarSearchButton = (0, import_react68.forwardRef)(
@@ -8844,7 +9031,7 @@ var TopbarSearchButton = (0, import_react68.forwardRef)(
8844
9031
  ),
8845
9032
  ...props,
8846
9033
  children: [
8847
- /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(import_lucide_react30.SearchIcon, { className: "size-6 shrink-0", "aria-hidden": "true" }),
9034
+ /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(import_lucide_react31.SearchIcon, { className: "size-6 shrink-0", "aria-hidden": "true" }),
8848
9035
  /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("span", { className: "truncate", children: placeholder })
8849
9036
  ]
8850
9037
  }
@@ -8874,55 +9061,55 @@ var DEFAULT_GROUPS = [
8874
9061
  {
8875
9062
  id: "home",
8876
9063
  label: "P\xE1gina inicial",
8877
- icon: /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(import_lucide_react31.HouseIcon, { size: 20 }),
9064
+ icon: /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(import_lucide_react32.HouseIcon, { size: 20 }),
8878
9065
  to: "/"
8879
9066
  },
8880
9067
  {
8881
9068
  id: "users",
8882
9069
  label: "Usu\xE1rios",
8883
- icon: /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(import_lucide_react31.UsersIcon, { size: 20 }),
9070
+ icon: /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(import_lucide_react32.UsersIcon, { size: 20 }),
8884
9071
  to: "/users"
8885
9072
  },
8886
9073
  {
8887
9074
  id: "orgs",
8888
9075
  label: "Organiza\xE7\xF5es",
8889
- icon: /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(import_lucide_react31.Building2Icon, { size: 20 }),
9076
+ icon: /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(import_lucide_react32.Building2Icon, { size: 20 }),
8890
9077
  to: "/organizations"
8891
9078
  },
8892
9079
  {
8893
9080
  id: "configs-op",
8894
9081
  label: "Configs Opera\xE7\xE3o",
8895
- icon: /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(import_lucide_react31.BriefcaseIcon, { size: 20 }),
9082
+ icon: /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(import_lucide_react32.BriefcaseIcon, { size: 20 }),
8896
9083
  to: "/configs/operation"
8897
9084
  },
8898
9085
  {
8899
9086
  id: "clients",
8900
9087
  label: "Clientes",
8901
- icon: /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(import_lucide_react31.UsersRoundIcon, { size: 20 }),
9088
+ icon: /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(import_lucide_react32.UsersRoundIcon, { size: 20 }),
8902
9089
  to: "/clients"
8903
9090
  },
8904
9091
  {
8905
9092
  id: "requests",
8906
9093
  label: "Requisi\xE7\xF5es",
8907
- icon: /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(import_lucide_react31.SendIcon, { size: 20 }),
9094
+ icon: /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(import_lucide_react32.SendIcon, { size: 20 }),
8908
9095
  to: "/requests"
8909
9096
  },
8910
9097
  {
8911
9098
  id: "operations",
8912
9099
  label: "Opera\xE7\xF5es",
8913
- icon: /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(import_lucide_react31.ReceiptIcon, { size: 20 }),
9100
+ icon: /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(import_lucide_react32.ReceiptIcon, { size: 20 }),
8914
9101
  to: "/operations"
8915
9102
  },
8916
9103
  {
8917
9104
  id: "finance",
8918
9105
  label: "Financeiro",
8919
- icon: /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(import_lucide_react31.CoinsIcon, { size: 20 }),
9106
+ icon: /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(import_lucide_react32.CoinsIcon, { size: 20 }),
8920
9107
  to: "/finance"
8921
9108
  },
8922
9109
  {
8923
9110
  id: "configurations",
8924
9111
  label: "Configura\xE7\xF5es",
8925
- icon: /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(import_lucide_react31.SettingsIcon, { size: 20 }),
9112
+ icon: /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(import_lucide_react32.SettingsIcon, { size: 20 }),
8926
9113
  to: "/configurations"
8927
9114
  }
8928
9115
  ]
@@ -8933,7 +9120,7 @@ var DEFAULT_GROUPS = [
8933
9120
  {
8934
9121
  id: "tutorials",
8935
9122
  label: "Tutoriais",
8936
- icon: /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(import_lucide_react31.GraduationCapIcon, { size: 20 }),
9123
+ icon: /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(import_lucide_react32.GraduationCapIcon, { size: 20 }),
8937
9124
  to: "/tutorials"
8938
9125
  }
8939
9126
  ]
@@ -9003,7 +9190,7 @@ AppShell.displayName = "AppShell";
9003
9190
 
9004
9191
  // src/patterns/KpiHero/KpiHero.tsx
9005
9192
  var import_react69 = require("react");
9006
- var import_lucide_react32 = require("lucide-react");
9193
+ var import_lucide_react33 = require("lucide-react");
9007
9194
  var import_jsx_runtime81 = require("react/jsx-runtime");
9008
9195
  var resolveTone = (tone) => tone === "warn" ? "warning" : tone === "danger" ? "error" : tone;
9009
9196
  var iconClass = {
@@ -9039,9 +9226,9 @@ var trendToneClass = {
9039
9226
  flat: "bg-humu-background-base text-humu-content-subtitle"
9040
9227
  };
9041
9228
  var arrowIcon2 = {
9042
- up: /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(import_lucide_react32.ArrowUpIcon, { className: "size-3", "aria-hidden": "true" }),
9043
- down: /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(import_lucide_react32.ArrowDownIcon, { className: "size-3", "aria-hidden": "true" }),
9044
- flat: /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(import_lucide_react32.MinusIcon, { className: "size-3", "aria-hidden": "true" })
9229
+ up: /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(import_lucide_react33.ArrowUpIcon, { className: "size-3", "aria-hidden": "true" }),
9230
+ down: /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(import_lucide_react33.ArrowDownIcon, { className: "size-3", "aria-hidden": "true" }),
9231
+ flat: /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(import_lucide_react33.MinusIcon, { className: "size-3", "aria-hidden": "true" })
9045
9232
  };
9046
9233
  function buildSparklinePaths(data) {
9047
9234
  const width = 100;
@@ -9350,7 +9537,7 @@ var import_react71 = require("react");
9350
9537
 
9351
9538
  // src/patterns/SortableColumnHeader/SortableColumnHeader.tsx
9352
9539
  var import_react70 = require("react");
9353
- var import_lucide_react33 = require("lucide-react");
9540
+ var import_lucide_react34 = require("lucide-react");
9354
9541
  var import_jsx_runtime84 = require("react/jsx-runtime");
9355
9542
  function nextDirection(current, cycleMode) {
9356
9543
  if (cycleMode === "asc-desc") {
@@ -9395,8 +9582,8 @@ var SortableColumnHeader = (0, import_react70.forwardRef)(
9395
9582
  ...props,
9396
9583
  children: [
9397
9584
  /* @__PURE__ */ (0, import_jsx_runtime84.jsx)("span", { children: label }),
9398
- direction === "asc" ? /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(import_lucide_react33.ChevronUpIcon, { className: "size-4", "aria-hidden": "true" }) : direction === "desc" ? /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(import_lucide_react33.ChevronDownIcon, { className: "size-4", "aria-hidden": "true" }) : /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(
9399
- import_lucide_react33.ChevronsUpDownIcon,
9585
+ direction === "asc" ? /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(import_lucide_react34.ChevronUpIcon, { className: "size-4", "aria-hidden": "true" }) : direction === "desc" ? /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(import_lucide_react34.ChevronDownIcon, { className: "size-4", "aria-hidden": "true" }) : /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(
9586
+ import_lucide_react34.ChevronsUpDownIcon,
9400
9587
  {
9401
9588
  className: "size-4 text-humu-content-body-text",
9402
9589
  "aria-hidden": "true"
@@ -9561,7 +9748,7 @@ var DataTable = (0, import_react71.forwardRef)(
9561
9748
 
9562
9749
  // src/patterns/DataTable/DataTableCells.tsx
9563
9750
  var import_react_slot3 = require("@radix-ui/react-slot");
9564
- var import_lucide_react34 = require("lucide-react");
9751
+ var import_lucide_react35 = require("lucide-react");
9565
9752
  var import_react72 = require("react");
9566
9753
  var import_jsx_runtime86 = require("react/jsx-runtime");
9567
9754
  var DataTableTextCell = (0, import_react72.forwardRef)(({ title, info, className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime86.jsxs)("div", { ref, className: cn("flex flex-col", className), ...props, children: [
@@ -9583,7 +9770,7 @@ var DataTableLinkCell = (0, import_react72.forwardRef)(({ hideIcon, asChild = fa
9583
9770
  children: [
9584
9771
  /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(import_react_slot3.Slottable, { children }),
9585
9772
  !hideIcon && /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(
9586
- import_lucide_react34.SquareArrowOutUpRightIcon,
9773
+ import_lucide_react35.SquareArrowOutUpRightIcon,
9587
9774
  {
9588
9775
  className: "size-5 shrink-0",
9589
9776
  "aria-hidden": "true"
@@ -9626,7 +9813,7 @@ DataTableActionButton.displayName = "DataTableActionButton";
9626
9813
 
9627
9814
  // src/patterns/DataTablePagination/DataTablePagination.tsx
9628
9815
  var import_react73 = require("react");
9629
- var import_lucide_react35 = require("lucide-react");
9816
+ var import_lucide_react36 = require("lucide-react");
9630
9817
  var import_jsx_runtime87 = require("react/jsx-runtime");
9631
9818
  var DEFAULT_PER_PAGE_OPTIONS = [5, 10, 20, 30, 50, 70, 100];
9632
9819
  var pageBoxStyles = "inline-flex size-[34px] items-center justify-center rounded-humu-md border border-humu-background-border text-humu-body-xs tabular-nums transition-colors duration-humu-fast motion-reduce:transition-none focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-humu-focus [&_svg]:size-4";
@@ -9703,7 +9890,7 @@ var DataTablePagination = (0, import_react73.forwardRef)(
9703
9890
  className: "inline-flex h-[34px] items-center gap-1 rounded-humu-md border border-humu-background-border bg-humu-background-surface px-3 text-humu-body-xs text-humu-content-title transition-colors duration-humu-fast motion-reduce:transition-none hover:bg-humu-background-interaction-hover focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-humu-focus",
9704
9891
  children: [
9705
9892
  /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("span", { className: "tabular-nums", children: perPage }),
9706
- /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(import_lucide_react35.ChevronDownIcon, { className: "size-4", "aria-hidden": "true" })
9893
+ /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(import_lucide_react36.ChevronDownIcon, { className: "size-4", "aria-hidden": "true" })
9707
9894
  ]
9708
9895
  }
9709
9896
  ) }),
@@ -9725,7 +9912,7 @@ var DataTablePagination = (0, import_react73.forwardRef)(
9725
9912
  ),
9726
9913
  children: [
9727
9914
  opt,
9728
- selected && /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(import_lucide_react35.CheckIcon, { className: "size-3", "aria-hidden": "true" })
9915
+ selected && /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(import_lucide_react36.CheckIcon, { className: "size-3", "aria-hidden": "true" })
9729
9916
  ]
9730
9917
  }
9731
9918
  ) }, opt);
@@ -9783,7 +9970,7 @@ var DataTablePagination = (0, import_react73.forwardRef)(
9783
9970
  disabled: page <= 1,
9784
9971
  onClick: () => onPageChange(page - 1),
9785
9972
  className: pageButtonStyles,
9786
- children: /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(import_lucide_react35.ChevronLeftIcon, { "aria-hidden": "true" })
9973
+ children: /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(import_lucide_react36.ChevronLeftIcon, { "aria-hidden": "true" })
9787
9974
  }
9788
9975
  ) }),
9789
9976
  pages.map(
@@ -9822,7 +10009,7 @@ var DataTablePagination = (0, import_react73.forwardRef)(
9822
10009
  disabled: page >= totalPages,
9823
10010
  onClick: () => onPageChange(page + 1),
9824
10011
  className: pageButtonStyles,
9825
- children: /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(import_lucide_react35.ChevronRightIcon, { "aria-hidden": "true" })
10012
+ children: /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(import_lucide_react36.ChevronRightIcon, { "aria-hidden": "true" })
9826
10013
  }
9827
10014
  ) })
9828
10015
  ] })
@@ -9835,7 +10022,7 @@ var DataTablePagination = (0, import_react73.forwardRef)(
9835
10022
  DataTablePagination.displayName = "DataTablePagination";
9836
10023
 
9837
10024
  // src/patterns/ReadOnlyDataView/ReadOnlyDataView.tsx
9838
- var import_lucide_react36 = require("lucide-react");
10025
+ var import_lucide_react37 = require("lucide-react");
9839
10026
  var import_react74 = require("react");
9840
10027
  var import_jsx_runtime88 = require("react/jsx-runtime");
9841
10028
  function formatDate(value, format3) {
@@ -9924,20 +10111,20 @@ function ReadOnlyDataView({
9924
10111
  children: [
9925
10112
  column.label,
9926
10113
  isSorted ? sortValue?.direction === "asc" ? /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
9927
- import_lucide_react36.ChevronUpIcon,
10114
+ import_lucide_react37.ChevronUpIcon,
9928
10115
  {
9929
10116
  size: 12,
9930
10117
  strokeWidth: 2.5,
9931
10118
  "aria-hidden": "true"
9932
10119
  }
9933
10120
  ) : /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
9934
- import_lucide_react36.ChevronDownIcon,
10121
+ import_lucide_react37.ChevronDownIcon,
9935
10122
  {
9936
10123
  size: 12,
9937
10124
  strokeWidth: 2.5,
9938
10125
  "aria-hidden": "true"
9939
10126
  }
9940
- ) : /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(import_lucide_react36.ChevronsUpDownIcon, { size: 12, "aria-hidden": "true" })
10127
+ ) : /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(import_lucide_react37.ChevronsUpDownIcon, { size: 12, "aria-hidden": "true" })
9941
10128
  ]
9942
10129
  }
9943
10130
  ) : column.label
@@ -10045,7 +10232,7 @@ function renderCell(column, row) {
10045
10232
 
10046
10233
  // src/patterns/NotificationCenter/NotificationCenter.tsx
10047
10234
  var import_react75 = require("react");
10048
- var import_lucide_react37 = require("lucide-react");
10235
+ var import_lucide_react38 = require("lucide-react");
10049
10236
  var import_jsx_runtime89 = require("react/jsx-runtime");
10050
10237
  var severityDotClass = {
10051
10238
  info: "bg-humu-status-background-info",
@@ -10093,7 +10280,7 @@ var NotificationCenter = (0, import_react75.forwardRef)(
10093
10280
  type: "button",
10094
10281
  className: "relative inline-flex size-10 items-center justify-center rounded text-humu-content-subtitle transition-colors duration-humu-fast hover:bg-humu-background-interaction-hover hover:text-humu-content-title focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-humu-focus motion-reduce:transition-none",
10095
10282
  children: [
10096
- /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(import_lucide_react37.BellIcon, { size: 20, "aria-hidden": "true" }),
10283
+ /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(import_lucide_react38.BellIcon, { size: 20, "aria-hidden": "true" }),
10097
10284
  /* @__PURE__ */ (0, import_jsx_runtime89.jsx)("span", { className: "sr-only", children: unreadCount > 0 ? `${triggerAriaLabel} (${unreadCount} ${unreadCount === 1 ? "n\xE3o lida" : "n\xE3o lidas"})` : triggerAriaLabel }),
10098
10285
  unreadCount > 0 && /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(
10099
10286
  "span",
@@ -10217,7 +10404,7 @@ var NotificationCenter = (0, import_react75.forwardRef)(
10217
10404
  NotificationCenter.displayName = "NotificationCenter";
10218
10405
 
10219
10406
  // src/patterns/NavigatorTile/NavigatorTile.tsx
10220
- var import_lucide_react38 = require("lucide-react");
10407
+ var import_lucide_react39 = require("lucide-react");
10221
10408
  var import_react76 = require("react");
10222
10409
  var import_jsx_runtime90 = require("react/jsx-runtime");
10223
10410
  var NavigatorTile = (0, import_react76.forwardRef)(
@@ -10259,7 +10446,7 @@ var NavigatorTile = (0, import_react76.forwardRef)(
10259
10446
  ),
10260
10447
  badge && /* @__PURE__ */ (0, import_jsx_runtime90.jsx)("span", { className: "shrink-0", children: badge }),
10261
10448
  showChevron && /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(
10262
- import_lucide_react38.ChevronRightIcon,
10449
+ import_lucide_react39.ChevronRightIcon,
10263
10450
  {
10264
10451
  "aria-hidden": "true",
10265
10452
  className: "size-6 shrink-0 text-humu-content-brand transition-transform duration-humu-fast ease-humu-out group-hover:translate-x-0.5 motion-reduce:transition-none"
@@ -10374,7 +10561,7 @@ var PublicPageLayout = (0, import_react77.forwardRef)(
10374
10561
  PublicPageLayout.displayName = "PublicPageLayout";
10375
10562
 
10376
10563
  // src/patterns/ErrorPageLayout/ErrorPageLayout.tsx
10377
- var import_lucide_react39 = require("lucide-react");
10564
+ var import_lucide_react40 = require("lucide-react");
10378
10565
  var import_react78 = require("react");
10379
10566
  var import_jsx_runtime92 = require("react/jsx-runtime");
10380
10567
  function isHrefAction(action) {
@@ -10393,7 +10580,7 @@ var ErrorPageLayout = (0, import_react78.forwardRef)(
10393
10580
  {
10394
10581
  asChild: true,
10395
10582
  leftIcon: primaryAction.icon ?? /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(
10396
- import_lucide_react39.ArrowLeftIcon,
10583
+ import_lucide_react40.ArrowLeftIcon,
10397
10584
  {
10398
10585
  size: 16,
10399
10586
  strokeWidth: 2.5,
@@ -10407,7 +10594,7 @@ var ErrorPageLayout = (0, import_react78.forwardRef)(
10407
10594
  {
10408
10595
  onClick: primaryAction.onClick,
10409
10596
  leftIcon: primaryAction.icon ?? /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(
10410
- import_lucide_react39.ArrowLeftIcon,
10597
+ import_lucide_react40.ArrowLeftIcon,
10411
10598
  {
10412
10599
  size: 16,
10413
10600
  strokeWidth: 2.5,
@@ -10422,7 +10609,7 @@ var ErrorPageLayout = (0, import_react78.forwardRef)(
10422
10609
  ErrorPageLayout.displayName = "ErrorPageLayout";
10423
10610
 
10424
10611
  // src/patterns/PageTitle/PageTitle.tsx
10425
- var import_lucide_react40 = require("lucide-react");
10612
+ var import_lucide_react41 = require("lucide-react");
10426
10613
  var import_react79 = require("react");
10427
10614
  var import_jsx_runtime93 = require("react/jsx-runtime");
10428
10615
  var PageTitle = (0, import_react79.forwardRef)(
@@ -10455,7 +10642,7 @@ var PageTitle = (0, import_react79.forwardRef)(
10455
10642
  "aria-label": backLabel,
10456
10643
  onClick: onBack,
10457
10644
  className: "inline-flex size-6 shrink-0 items-center justify-center rounded text-humu-content-title transition-colors duration-humu-fast hover:bg-humu-background-interaction-hover focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-humu-focus motion-reduce:transition-none",
10458
- children: /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(import_lucide_react40.ChevronLeftIcon, { className: "size-6", "aria-hidden": "true" })
10645
+ children: /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(import_lucide_react41.ChevronLeftIcon, { className: "size-6", "aria-hidden": "true" })
10459
10646
  }
10460
10647
  ),
10461
10648
  /* @__PURE__ */ (0, import_jsx_runtime93.jsxs)("div", { className: "flex min-w-0 flex-col gap-1", children: [
@@ -10522,7 +10709,7 @@ var TutorialCard = (0, import_react80.forwardRef)(
10522
10709
  TutorialCard.displayName = "TutorialCard";
10523
10710
 
10524
10711
  // src/patterns/KpiCard/KpiCard.tsx
10525
- var import_lucide_react41 = require("lucide-react");
10712
+ var import_lucide_react42 = require("lucide-react");
10526
10713
  var import_react81 = require("react");
10527
10714
  var import_jsx_runtime95 = require("react/jsx-runtime");
10528
10715
  var resolveVariant = (variant) => variant === "danger" ? "error" : variant;
@@ -10599,7 +10786,7 @@ var KpiCard = (0, import_react81.forwardRef)(
10599
10786
  }
10600
10787
  ),
10601
10788
  /* @__PURE__ */ (0, import_jsx_runtime95.jsx)("span", { className: "truncate text-humu-body-xxs font-semibold uppercase", children: label }),
10602
- onLabelClick && /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(import_lucide_react41.ChevronDownIcon, { className: "size-4 shrink-0", "aria-hidden": "true" })
10789
+ onLabelClick && /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(import_lucide_react42.ChevronDownIcon, { className: "size-4 shrink-0", "aria-hidden": "true" })
10603
10790
  ] });
10604
10791
  return /* @__PURE__ */ (0, import_jsx_runtime95.jsxs)(
10605
10792
  "div",
@@ -10700,7 +10887,7 @@ var KpiCard = (0, import_react81.forwardRef)(
10700
10887
  KpiCard.displayName = "KpiCard";
10701
10888
 
10702
10889
  // src/patterns/CommandPalette/CommandPalette.tsx
10703
- var import_lucide_react42 = require("lucide-react");
10890
+ var import_lucide_react43 = require("lucide-react");
10704
10891
  var import_react82 = require("react");
10705
10892
  var import_react_dom = require("react-dom");
10706
10893
  var import_jsx_runtime96 = require("react/jsx-runtime");
@@ -10792,7 +10979,7 @@ function CommandPalette({
10792
10979
  /* @__PURE__ */ (0, import_jsx_runtime96.jsxs)("div", { className: "relative z-10 flex w-full max-w-2xl flex-col overflow-hidden rounded-humu-lg border border-humu-border-default bg-humu-background-surface shadow-xl", children: [
10793
10980
  /* @__PURE__ */ (0, import_jsx_runtime96.jsxs)("div", { className: "flex items-center gap-3 border-b border-humu-border-default px-4 py-3", children: [
10794
10981
  /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(
10795
- import_lucide_react42.SearchIcon,
10982
+ import_lucide_react43.SearchIcon,
10796
10983
  {
10797
10984
  size: 18,
10798
10985
  "aria-hidden": "true",
@@ -11275,7 +11462,7 @@ var DonutChart = (0, import_react84.forwardRef)(
11275
11462
  );
11276
11463
 
11277
11464
  // src/patterns/EmptyState/EmptyState.tsx
11278
- var import_lucide_react43 = require("lucide-react");
11465
+ var import_lucide_react44 = require("lucide-react");
11279
11466
  var import_react85 = require("react");
11280
11467
  var import_jsx_runtime99 = require("react/jsx-runtime");
11281
11468
  var variantIconBg = {
@@ -11284,9 +11471,9 @@ var variantIconBg = {
11284
11471
  error: "bg-humu-status-background-error-subtle text-humu-status-content-error"
11285
11472
  };
11286
11473
  var variantIcon2 = {
11287
- "no-data": /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(import_lucide_react43.InboxIcon, { size: 32, "aria-hidden": "true" }),
11288
- "no-results": /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(import_lucide_react43.SearchIcon, { size: 32, "aria-hidden": "true" }),
11289
- error: /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(import_lucide_react43.CircleAlertIcon, { size: 32, "aria-hidden": "true" })
11474
+ "no-data": /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(import_lucide_react44.InboxIcon, { size: 32, "aria-hidden": "true" }),
11475
+ "no-results": /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(import_lucide_react44.SearchIcon, { size: 32, "aria-hidden": "true" }),
11476
+ error: /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(import_lucide_react44.CircleAlertIcon, { size: 32, "aria-hidden": "true" })
11290
11477
  };
11291
11478
  var EmptyState = (0, import_react85.forwardRef)(
11292
11479
  ({
@@ -11398,7 +11585,7 @@ function CookieConsent({
11398
11585
  }
11399
11586
 
11400
11587
  // src/patterns/ErrorBoundary/ErrorBoundary.tsx
11401
- var import_lucide_react44 = require("lucide-react");
11588
+ var import_lucide_react45 = require("lucide-react");
11402
11589
  var import_react88 = require("react");
11403
11590
  var import_jsx_runtime102 = require("react/jsx-runtime");
11404
11591
  var ErrorBoundary = class extends import_react88.Component {
@@ -11428,7 +11615,7 @@ var ErrorBoundary = class extends import_react88.Component {
11428
11615
  primaryAction: {
11429
11616
  label: this.props.retryLabel ?? "Tentar novamente",
11430
11617
  onClick: this.reset,
11431
- icon: /* @__PURE__ */ (0, import_jsx_runtime102.jsx)(import_lucide_react44.RotateCcwIcon, { size: 16, strokeWidth: 2.5, "aria-hidden": "true" })
11618
+ icon: /* @__PURE__ */ (0, import_jsx_runtime102.jsx)(import_lucide_react45.RotateCcwIcon, { size: 16, strokeWidth: 2.5, "aria-hidden": "true" })
11432
11619
  }
11433
11620
  }
11434
11621
  );
@@ -11436,7 +11623,7 @@ var ErrorBoundary = class extends import_react88.Component {
11436
11623
  };
11437
11624
 
11438
11625
  // src/patterns/QuickFilters/QuickFilters.tsx
11439
- var import_lucide_react45 = require("lucide-react");
11626
+ var import_lucide_react46 = require("lucide-react");
11440
11627
  var import_react89 = require("react");
11441
11628
  var import_jsx_runtime103 = require("react/jsx-runtime");
11442
11629
  var visibleFrom = {
@@ -11497,11 +11684,11 @@ function QuickFilters({
11497
11684
  ToggleChip,
11498
11685
  {
11499
11686
  "aria-pressed": void 0,
11500
- icon: /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(import_lucide_react45.EllipsisIcon, {}),
11687
+ icon: /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(import_lucide_react46.EllipsisIcon, {}),
11501
11688
  className: "inline-flex data-[state=open]:bg-humu-background-brand-brand data-[state=open]:font-medium data-[state=open]:text-humu-content-on-brand lg:hidden",
11502
11689
  children: [
11503
11690
  moreLabel,
11504
- /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(import_lucide_react45.ChevronDownIcon, { "aria-hidden": "true" })
11691
+ /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(import_lucide_react46.ChevronDownIcon, { "aria-hidden": "true" })
11505
11692
  ]
11506
11693
  }
11507
11694
  ) }),
@@ -11773,7 +11960,7 @@ var ToggleTile = (0, import_react92.forwardRef)(
11773
11960
  ToggleTile.displayName = "ToggleTile";
11774
11961
 
11775
11962
  // src/patterns/WizardShell/WizardShell.tsx
11776
- var import_lucide_react46 = require("lucide-react");
11963
+ var import_lucide_react47 = require("lucide-react");
11777
11964
  var import_react93 = require("react");
11778
11965
  var import_jsx_runtime108 = require("react/jsx-runtime");
11779
11966
  var stepIndicatorClass = {
@@ -11798,7 +11985,7 @@ function StepIndicator({
11798
11985
  "flex size-8 shrink-0 items-center justify-center rounded-humu-pill border-2 text-humu-body-xs font-semibold",
11799
11986
  stepIndicatorClass[step.state]
11800
11987
  ),
11801
- children: step.state === "completed" ? /* @__PURE__ */ (0, import_jsx_runtime108.jsx)(import_lucide_react46.CheckIcon, { size: 16, strokeWidth: 2.5 }) : step.state === "blocked" ? /* @__PURE__ */ (0, import_jsx_runtime108.jsx)(import_lucide_react46.XIcon, { size: 16, strokeWidth: 2.5 }) : step.state === "error" ? /* @__PURE__ */ (0, import_jsx_runtime108.jsx)(import_lucide_react46.CircleAlertIcon, { size: 16, strokeWidth: 2.5 }) : index + 1
11988
+ children: step.state === "completed" ? /* @__PURE__ */ (0, import_jsx_runtime108.jsx)(import_lucide_react47.CheckIcon, { size: 16, strokeWidth: 2.5 }) : step.state === "blocked" ? /* @__PURE__ */ (0, import_jsx_runtime108.jsx)(import_lucide_react47.XIcon, { size: 16, strokeWidth: 2.5 }) : step.state === "error" ? /* @__PURE__ */ (0, import_jsx_runtime108.jsx)(import_lucide_react47.CircleAlertIcon, { size: 16, strokeWidth: 2.5 }) : index + 1
11802
11989
  }
11803
11990
  ),
11804
11991
  /* @__PURE__ */ (0, import_jsx_runtime108.jsxs)("div", { className: "flex flex-col", children: [
@@ -11880,7 +12067,7 @@ function WizardAside({
11880
12067
  onClick: () => setCollapsed((value) => !value),
11881
12068
  "aria-expanded": !isCollapsed,
11882
12069
  "aria-label": isCollapsed ? "Expandir resumo" : "Recolher resumo",
11883
- icon: isCollapsed ? /* @__PURE__ */ (0, import_jsx_runtime108.jsx)(import_lucide_react46.ChevronsLeftIcon, { "aria-hidden": "true" }) : /* @__PURE__ */ (0, import_jsx_runtime108.jsx)(import_lucide_react46.ChevronsRightIcon, { "aria-hidden": "true" })
12070
+ icon: isCollapsed ? /* @__PURE__ */ (0, import_jsx_runtime108.jsx)(import_lucide_react47.ChevronsLeftIcon, { "aria-hidden": "true" }) : /* @__PURE__ */ (0, import_jsx_runtime108.jsx)(import_lucide_react47.ChevronsRightIcon, { "aria-hidden": "true" })
11884
12071
  }
11885
12072
  )
11886
12073
  ]
@@ -12031,7 +12218,7 @@ function WizardShell(props) {
12031
12218
  WizardShell.displayName = "WizardShell";
12032
12219
 
12033
12220
  // src/patterns/DSAccordion/DSAccordion.tsx
12034
- var import_lucide_react47 = require("lucide-react");
12221
+ var import_lucide_react48 = require("lucide-react");
12035
12222
  var import_react94 = require("react");
12036
12223
  var AccordionPrimitive = __toESM(require("@radix-ui/react-accordion"));
12037
12224
  var import_jsx_runtime109 = require("react/jsx-runtime");
@@ -12091,7 +12278,7 @@ var Trigger16 = (0, import_react94.forwardRef)(
12091
12278
  /* @__PURE__ */ (0, import_jsx_runtime109.jsxs)("span", { className: "flex shrink-0 items-center gap-3", children: [
12092
12279
  meta,
12093
12280
  /* @__PURE__ */ (0, import_jsx_runtime109.jsx)(
12094
- import_lucide_react47.ChevronDownIcon,
12281
+ import_lucide_react48.ChevronDownIcon,
12095
12282
  {
12096
12283
  size: 16,
12097
12284
  strokeWidth: 2.5,
@@ -12183,7 +12370,7 @@ function DataField({
12183
12370
  }
12184
12371
 
12185
12372
  // src/patterns/FilterBar/FilterBar.tsx
12186
- var import_lucide_react48 = require("lucide-react");
12373
+ var import_lucide_react49 = require("lucide-react");
12187
12374
  var import_react95 = require("react");
12188
12375
  var import_jsx_runtime111 = require("react/jsx-runtime");
12189
12376
  function isStringValue(v) {
@@ -12469,7 +12656,7 @@ function FilterBar({
12469
12656
  {
12470
12657
  "aria-hidden": "true",
12471
12658
  className: tabsTriggerIconStyles({ tone: "brand" }),
12472
- children: /* @__PURE__ */ (0, import_jsx_runtime111.jsx)(import_lucide_react48.ListFilterIcon, {})
12659
+ children: /* @__PURE__ */ (0, import_jsx_runtime111.jsx)(import_lucide_react49.ListFilterIcon, {})
12473
12660
  }
12474
12661
  ),
12475
12662
  triggerLabel,
@@ -12543,7 +12730,7 @@ function FilterBar({
12543
12730
  }
12544
12731
 
12545
12732
  // src/patterns/FilterBar/FilterToolbar.tsx
12546
- var import_lucide_react49 = require("lucide-react");
12733
+ var import_lucide_react50 = require("lucide-react");
12547
12734
  var import_react96 = require("react");
12548
12735
  var import_jsx_runtime112 = require("react/jsx-runtime");
12549
12736
  var FilterToolbar = (0, import_react96.forwardRef)(
@@ -12576,7 +12763,7 @@ var FilterToolbar = (0, import_react96.forwardRef)(
12576
12763
  variant: "ghost",
12577
12764
  size: "sm",
12578
12765
  onClick: onClearAll,
12579
- leftIcon: /* @__PURE__ */ (0, import_jsx_runtime112.jsx)(import_lucide_react49.XIcon, { "aria-hidden": "true" }),
12766
+ leftIcon: /* @__PURE__ */ (0, import_jsx_runtime112.jsx)(import_lucide_react50.XIcon, { "aria-hidden": "true" }),
12580
12767
  className: "ml-auto",
12581
12768
  children: clearAllLabel
12582
12769
  }
@@ -12630,7 +12817,7 @@ function FormSection({
12630
12817
 
12631
12818
  // src/patterns/FormWithAside/FormWithAside.tsx
12632
12819
  var import_react97 = require("react");
12633
- var import_lucide_react50 = require("lucide-react");
12820
+ var import_lucide_react51 = require("lucide-react");
12634
12821
  var import_jsx_runtime114 = require("react/jsx-runtime");
12635
12822
  function scrollToId(id) {
12636
12823
  const el = document.getElementById(id);
@@ -12678,7 +12865,7 @@ function FormWithAside({
12678
12865
  "aria-label": collapsed ? "Expandir resumo" : "Recolher resumo",
12679
12866
  title: collapsed ? "Expandir resumo" : "Recolher resumo",
12680
12867
  className: "inline-flex size-6 shrink-0 items-center justify-center rounded text-humu-content-subtitle transition-colors duration-humu-fast hover:bg-humu-background-interaction-hover hover:text-humu-content-title focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-humu-focus [&_svg]:size-6 motion-reduce:transition-none",
12681
- children: collapsed ? /* @__PURE__ */ (0, import_jsx_runtime114.jsx)(import_lucide_react50.ChevronsLeftIcon, { "aria-hidden": "true" }) : /* @__PURE__ */ (0, import_jsx_runtime114.jsx)(import_lucide_react50.ChevronsRightIcon, { "aria-hidden": "true" })
12868
+ children: collapsed ? /* @__PURE__ */ (0, import_jsx_runtime114.jsx)(import_lucide_react51.ChevronsLeftIcon, { "aria-hidden": "true" }) : /* @__PURE__ */ (0, import_jsx_runtime114.jsx)(import_lucide_react51.ChevronsRightIcon, { "aria-hidden": "true" })
12682
12869
  }
12683
12870
  )
12684
12871
  ]
@@ -13072,7 +13259,7 @@ var PanelCard = (0, import_react98.forwardRef)(
13072
13259
  PanelCard.displayName = "PanelCard";
13073
13260
 
13074
13261
  // src/patterns/SectionCard/SectionCard.tsx
13075
- var import_lucide_react51 = require("lucide-react");
13262
+ var import_lucide_react52 = require("lucide-react");
13076
13263
  var import_jsx_runtime119 = require("react/jsx-runtime");
13077
13264
  function SectionCard({
13078
13265
  title,
@@ -13108,7 +13295,7 @@ function SectionCard({
13108
13295
  /* @__PURE__ */ (0, import_jsx_runtime119.jsxs)("div", { className: "flex flex-wrap items-center gap-2", children: [
13109
13296
  /* @__PURE__ */ (0, import_jsx_runtime119.jsx)("h3", { className: "text-humu-body-m font-bold text-humu-content-title", children: title }),
13110
13297
  highlight && /* @__PURE__ */ (0, import_jsx_runtime119.jsxs)("span", { className: "inline-flex h-5 items-center gap-1 rounded-full border border-humu-border-warning-subtle bg-humu-status-background-warning-subtle px-2 text-humu-body-xxs font-medium text-humu-status-content-warning-subtle [&_svg]:size-3", children: [
13111
- /* @__PURE__ */ (0, import_jsx_runtime119.jsx)(import_lucide_react51.CircleAlertIcon, { "aria-hidden": "true" }),
13298
+ /* @__PURE__ */ (0, import_jsx_runtime119.jsx)(import_lucide_react52.CircleAlertIcon, { "aria-hidden": "true" }),
13112
13299
  "Pendente"
13113
13300
  ] })
13114
13301
  ] }),
@@ -13263,12 +13450,12 @@ function StackedBarChart({
13263
13450
  }
13264
13451
 
13265
13452
  // src/patterns/WorkflowDesigner/WorkflowDesigner.tsx
13266
- var import_lucide_react52 = require("lucide-react");
13453
+ var import_lucide_react53 = require("lucide-react");
13267
13454
  var import_jsx_runtime121 = require("react/jsx-runtime");
13268
13455
  var kindIconMap = {
13269
- automatic: /* @__PURE__ */ (0, import_jsx_runtime121.jsx)(import_lucide_react52.ZapIcon, { size: 14, "aria-hidden": "true" }),
13270
- manual: /* @__PURE__ */ (0, import_jsx_runtime121.jsx)(import_lucide_react52.HandIcon, { size: 14, "aria-hidden": "true" }),
13271
- system: /* @__PURE__ */ (0, import_jsx_runtime121.jsx)(import_lucide_react52.SettingsIcon, { size: 14, "aria-hidden": "true" })
13456
+ automatic: /* @__PURE__ */ (0, import_jsx_runtime121.jsx)(import_lucide_react53.ZapIcon, { size: 14, "aria-hidden": "true" }),
13457
+ manual: /* @__PURE__ */ (0, import_jsx_runtime121.jsx)(import_lucide_react53.HandIcon, { size: 14, "aria-hidden": "true" }),
13458
+ system: /* @__PURE__ */ (0, import_jsx_runtime121.jsx)(import_lucide_react53.SettingsIcon, { size: 14, "aria-hidden": "true" })
13272
13459
  };
13273
13460
  function NodeCard({
13274
13461
  node,
@@ -13431,7 +13618,7 @@ function WorkflowDesigner({
13431
13618
 
13432
13619
  // src/patterns/Timeline/Timeline.tsx
13433
13620
  var import_react99 = require("react");
13434
- var import_lucide_react53 = require("lucide-react");
13621
+ var import_lucide_react54 = require("lucide-react");
13435
13622
  var import_jsx_runtime122 = require("react/jsx-runtime");
13436
13623
  var TONE_ICON = {
13437
13624
  neutral: "border border-humu-background-border bg-humu-background-surface",
@@ -13501,7 +13688,7 @@ var TimelineItem = (0, import_react99.forwardRef)(
13501
13688
  "aria-hidden": "true",
13502
13689
  className: "inline-flex size-6 shrink-0 items-center justify-center text-humu-content-body-text",
13503
13690
  children: /* @__PURE__ */ (0, import_jsx_runtime122.jsx)(
13504
- import_lucide_react53.ChevronDownIcon,
13691
+ import_lucide_react54.ChevronDownIcon,
13505
13692
  {
13506
13693
  className: cn(
13507
13694
  "size-4 transition-transform duration-humu-fast motion-reduce:transition-none",