@humu-tech/ui 0.4.1 → 0.5.0

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.d.mts CHANGED
@@ -1859,6 +1859,8 @@ declare const PageTitle: react.ForwardRefExoticComponent<Omit<HTMLAttributes<HTM
1859
1859
  } & react.RefAttributes<HTMLDivElement>>;
1860
1860
 
1861
1861
  declare const Topbar: react.ForwardRefExoticComponent<Omit<react.HTMLAttributes<HTMLElement>, "children"> & {
1862
+ brandSlot?: react.ReactNode;
1863
+ compactBrandSlot?: react.ReactNode;
1862
1864
  pageTitle?: react.ReactNode;
1863
1865
  searchTrigger?: react.ReactNode;
1864
1866
  notificationCenter?: react.ReactNode;
@@ -1868,6 +1870,8 @@ declare const Topbar: react.ForwardRefExoticComponent<Omit<react.HTMLAttributes<
1868
1870
  } & react.RefAttributes<HTMLElement>>;
1869
1871
 
1870
1872
  type TopbarProps = Omit<HTMLAttributes<HTMLElement>, 'children'> & {
1873
+ brandSlot?: ReactNode;
1874
+ compactBrandSlot?: ReactNode;
1871
1875
  pageTitle?: ReactNode;
1872
1876
  searchTrigger?: ReactNode;
1873
1877
  notificationCenter?: ReactNode;
@@ -1878,9 +1882,11 @@ type TopbarProps = Omit<HTMLAttributes<HTMLElement>, 'children'> & {
1878
1882
 
1879
1883
  type TopbarSearchButtonProps = ButtonHTMLAttributes<HTMLButtonElement> & {
1880
1884
  placeholder?: ReactNode;
1885
+ shortcutKeys?: string[];
1881
1886
  };
1882
1887
  declare const TopbarSearchButton: react.ForwardRefExoticComponent<ButtonHTMLAttributes<HTMLButtonElement> & {
1883
1888
  placeholder?: ReactNode;
1889
+ shortcutKeys?: string[];
1884
1890
  } & react.RefAttributes<HTMLButtonElement>>;
1885
1891
  type TopbarIconButtonProps = ButtonHTMLAttributes<HTMLButtonElement> & {
1886
1892
  'aria-label': string;
package/dist/index.d.ts CHANGED
@@ -1859,6 +1859,8 @@ declare const PageTitle: react.ForwardRefExoticComponent<Omit<HTMLAttributes<HTM
1859
1859
  } & react.RefAttributes<HTMLDivElement>>;
1860
1860
 
1861
1861
  declare const Topbar: react.ForwardRefExoticComponent<Omit<react.HTMLAttributes<HTMLElement>, "children"> & {
1862
+ brandSlot?: react.ReactNode;
1863
+ compactBrandSlot?: react.ReactNode;
1862
1864
  pageTitle?: react.ReactNode;
1863
1865
  searchTrigger?: react.ReactNode;
1864
1866
  notificationCenter?: react.ReactNode;
@@ -1868,6 +1870,8 @@ declare const Topbar: react.ForwardRefExoticComponent<Omit<react.HTMLAttributes<
1868
1870
  } & react.RefAttributes<HTMLElement>>;
1869
1871
 
1870
1872
  type TopbarProps = Omit<HTMLAttributes<HTMLElement>, 'children'> & {
1873
+ brandSlot?: ReactNode;
1874
+ compactBrandSlot?: ReactNode;
1871
1875
  pageTitle?: ReactNode;
1872
1876
  searchTrigger?: ReactNode;
1873
1877
  notificationCenter?: ReactNode;
@@ -1878,9 +1882,11 @@ type TopbarProps = Omit<HTMLAttributes<HTMLElement>, 'children'> & {
1878
1882
 
1879
1883
  type TopbarSearchButtonProps = ButtonHTMLAttributes<HTMLButtonElement> & {
1880
1884
  placeholder?: ReactNode;
1885
+ shortcutKeys?: string[];
1881
1886
  };
1882
1887
  declare const TopbarSearchButton: react.ForwardRefExoticComponent<ButtonHTMLAttributes<HTMLButtonElement> & {
1883
1888
  placeholder?: ReactNode;
1889
+ shortcutKeys?: string[];
1884
1890
  } & react.RefAttributes<HTMLButtonElement>>;
1885
1891
  type TopbarIconButtonProps = ButtonHTMLAttributes<HTMLButtonElement> & {
1886
1892
  'aria-label': string;
package/dist/index.js CHANGED
@@ -8925,10 +8925,10 @@ var Sidebar = (0, import_react66.forwardRef)(function Sidebar2({
8925
8925
  style: { width: collapsed ? collapsedWidth : expandedWidth, ...style },
8926
8926
  ...rest,
8927
8927
  children: [
8928
- /* @__PURE__ */ (0, import_jsx_runtime77.jsx)("div", { className: "flex h-20 shrink-0 items-center border-b border-humu-background-border px-8", children: header }),
8928
+ header && /* @__PURE__ */ (0, import_jsx_runtime77.jsx)("div", { className: "flex h-20 shrink-0 items-center border-b border-humu-background-border px-8", children: header }),
8929
8929
  /* @__PURE__ */ (0, import_jsx_runtime77.jsxs)("div", { className: "humu-sidebar-nav flex min-h-0 flex-1 flex-col overflow-y-auto", children: [
8930
8930
  /* @__PURE__ */ (0, import_jsx_runtime77.jsxs)("nav", { className: "flex flex-1 flex-col", children: [
8931
- /* @__PURE__ */ (0, import_jsx_runtime77.jsx)("div", { className: "flex flex-col gap-6 pt-6", children: topGroups.map((group, idx) => /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(
8931
+ /* @__PURE__ */ (0, import_jsx_runtime77.jsx)("div", { className: cn("flex flex-col gap-6", header ? "pt-6" : "pt-4"), children: topGroups.map((group, idx) => /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(
8932
8932
  GroupItems,
8933
8933
  {
8934
8934
  group,
@@ -8974,6 +8974,8 @@ var Sidebar = (0, import_react66.forwardRef)(function Sidebar2({
8974
8974
  var import_react67 = require("react");
8975
8975
  var import_jsx_runtime78 = require("react/jsx-runtime");
8976
8976
  var Topbar = (0, import_react67.forwardRef)(function Topbar2({
8977
+ brandSlot,
8978
+ compactBrandSlot,
8977
8979
  pageTitle,
8978
8980
  searchTrigger,
8979
8981
  notificationCenter,
@@ -8983,6 +8985,7 @@ var Topbar = (0, import_react67.forwardRef)(function Topbar2({
8983
8985
  className,
8984
8986
  ...props
8985
8987
  }, ref) {
8988
+ const hasBrand = Boolean(brandSlot);
8986
8989
  return /* @__PURE__ */ (0, import_jsx_runtime78.jsxs)(
8987
8990
  "header",
8988
8991
  {
@@ -8990,16 +8993,30 @@ var Topbar = (0, import_react67.forwardRef)(function Topbar2({
8990
8993
  role: "banner",
8991
8994
  "aria-label": ariaLabel,
8992
8995
  className: cn(
8993
- "z-30 flex h-20 shrink-0 items-center gap-6 border-b border-humu-background-border bg-humu-background-surface px-6 font-humu-ibm-plex-sans",
8996
+ "z-30 flex h-20 shrink-0 items-center border-b border-humu-background-border bg-humu-background-surface font-humu-ibm-plex-sans",
8997
+ hasBrand ? "gap-4 pr-4 sm:pr-6" : "gap-6 px-6",
8994
8998
  className
8995
8999
  ),
8996
9000
  ...props,
8997
9001
  children: [
8998
- /* @__PURE__ */ (0, import_jsx_runtime78.jsxs)("div", { className: "flex min-w-0 flex-1 items-center gap-6", children: [
8999
- pageTitle && /* @__PURE__ */ (0, import_jsx_runtime78.jsx)("h2", { className: "truncate text-humu-heading-xm font-bold text-humu-content-title", children: pageTitle }),
9000
- searchTrigger
9001
- ] }),
9002
- /* @__PURE__ */ (0, import_jsx_runtime78.jsxs)("div", { className: "flex shrink-0 items-center gap-4", children: [
9002
+ hasBrand && /* @__PURE__ */ (0, import_jsx_runtime78.jsx)("div", { className: "flex h-full shrink-0 items-center pl-4 sm:px-8", children: compactBrandSlot ? /* @__PURE__ */ (0, import_jsx_runtime78.jsxs)(import_jsx_runtime78.Fragment, { children: [
9003
+ /* @__PURE__ */ (0, import_jsx_runtime78.jsx)("span", { className: "flex items-center md:hidden", children: compactBrandSlot }),
9004
+ /* @__PURE__ */ (0, import_jsx_runtime78.jsx)("span", { className: "hidden items-center md:flex", children: brandSlot })
9005
+ ] }) : brandSlot }),
9006
+ /* @__PURE__ */ (0, import_jsx_runtime78.jsxs)(
9007
+ "div",
9008
+ {
9009
+ className: cn(
9010
+ "flex min-w-0 flex-1 items-center gap-6",
9011
+ hasBrand && "justify-center"
9012
+ ),
9013
+ children: [
9014
+ pageTitle && /* @__PURE__ */ (0, import_jsx_runtime78.jsx)("h2", { className: "truncate text-humu-heading-xm font-bold text-humu-content-title", children: pageTitle }),
9015
+ searchTrigger
9016
+ ]
9017
+ }
9018
+ ),
9019
+ /* @__PURE__ */ (0, import_jsx_runtime78.jsxs)("div", { className: "flex shrink-0 items-center gap-2 sm:gap-4", children: [
9003
9020
  notificationCenter,
9004
9021
  themeToggle,
9005
9022
  userMenu
@@ -9017,25 +9034,47 @@ var import_jsx_runtime79 = require("react/jsx-runtime");
9017
9034
  var TopbarSearchButton = (0, import_react68.forwardRef)(
9018
9035
  ({
9019
9036
  placeholder = "Buscar cliente, opera\xE7\xE3o ou organiza\xE7\xE3o...",
9037
+ shortcutKeys,
9020
9038
  className,
9021
9039
  type = "button",
9022
9040
  ...props
9023
- }, ref) => /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)(
9024
- "button",
9025
- {
9026
- ref,
9027
- type,
9028
- className: cn(
9029
- "inline-flex h-10 w-[346px] max-w-full items-center gap-4 rounded-humu-md bg-humu-background-interaction-hover-tabs px-3.5 text-left text-humu-body-xs font-medium text-humu-content-subtitle 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",
9030
- className
9031
- ),
9032
- ...props,
9033
- children: [
9034
- /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(import_lucide_react31.SearchIcon, { className: "size-6 shrink-0", "aria-hidden": "true" }),
9035
- /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("span", { className: "truncate", children: placeholder })
9036
- ]
9037
- }
9038
- )
9041
+ }, ref) => {
9042
+ const hasShortcut = Boolean(shortcutKeys?.length);
9043
+ return /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)(
9044
+ "button",
9045
+ {
9046
+ ref,
9047
+ type,
9048
+ className: cn(
9049
+ "inline-flex h-10 max-w-full items-center gap-2 rounded-humu-md bg-humu-background-interaction-hover-tabs pl-3.5 text-left text-humu-body-xs font-medium text-humu-content-subtitle 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",
9050
+ hasShortcut ? "w-[424px] pr-4" : "w-[346px] pr-3.5",
9051
+ className
9052
+ ),
9053
+ ...props,
9054
+ children: [
9055
+ /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)("span", { className: "flex min-w-0 flex-1 items-center gap-4", children: [
9056
+ /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(import_lucide_react31.SearchIcon, { className: "size-6 shrink-0", "aria-hidden": "true" }),
9057
+ /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("span", { className: "truncate", children: placeholder })
9058
+ ] }),
9059
+ hasShortcut && /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(
9060
+ "span",
9061
+ {
9062
+ "aria-hidden": "true",
9063
+ className: "hidden shrink-0 items-center gap-1 md:flex",
9064
+ children: shortcutKeys?.map((key) => /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(
9065
+ "kbd",
9066
+ {
9067
+ className: "inline-flex h-5 min-w-5 items-center justify-center rounded-humu-sm bg-humu-content-subtitle/15 px-1 font-humu-ibm-plex-sans text-humu-body-xxs font-normal text-humu-content-subtitle",
9068
+ children: key
9069
+ },
9070
+ key
9071
+ ))
9072
+ }
9073
+ )
9074
+ ]
9075
+ }
9076
+ );
9077
+ }
9039
9078
  );
9040
9079
  TopbarSearchButton.displayName = "TopbarSearchButton";
9041
9080
  var TopbarIconButton = (0, import_react68.forwardRef)(({ className, type = "button", ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(
@@ -9142,7 +9181,7 @@ function AppShell({
9142
9181
  collapsedHeaderSlot,
9143
9182
  defaultSidebarCollapsed = false
9144
9183
  }) {
9145
- return /* @__PURE__ */ (0, import_jsx_runtime80.jsxs)("div", { className: "flex h-screen overflow-hidden bg-humu-background-base text-humu-content-title", children: [
9184
+ return /* @__PURE__ */ (0, import_jsx_runtime80.jsxs)("div", { className: "flex h-screen flex-col overflow-hidden bg-humu-background-base text-humu-content-title", children: [
9146
9185
  /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(
9147
9186
  "a",
9148
9187
  {
@@ -9152,25 +9191,25 @@ function AppShell({
9152
9191
  }
9153
9192
  ),
9154
9193
  /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(
9155
- Sidebar,
9194
+ Topbar,
9156
9195
  {
9157
- groups: sidebarGroups ?? DEFAULT_GROUPS,
9158
- currentPath,
9159
- linkComponent,
9160
- defaultCollapsed: defaultSidebarCollapsed,
9161
- headerSlot: headerSlot ?? DEFAULT_HEADER_SLOT,
9162
- collapsedHeaderSlot: collapsedHeaderSlot ?? (headerSlot ? void 0 : DEFAULT_COLLAPSED_HEADER_SLOT)
9196
+ brandSlot: headerSlot ?? DEFAULT_HEADER_SLOT,
9197
+ compactBrandSlot: collapsedHeaderSlot ?? (headerSlot ? void 0 : DEFAULT_COLLAPSED_HEADER_SLOT),
9198
+ pageTitle,
9199
+ searchTrigger,
9200
+ notificationCenter,
9201
+ themeToggle,
9202
+ userMenu
9163
9203
  }
9164
9204
  ),
9165
- /* @__PURE__ */ (0, import_jsx_runtime80.jsxs)("div", { className: "flex min-h-0 min-w-0 flex-1 flex-col", children: [
9205
+ /* @__PURE__ */ (0, import_jsx_runtime80.jsxs)("div", { className: "flex min-h-0 min-w-0 flex-1", children: [
9166
9206
  /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(
9167
- Topbar,
9207
+ Sidebar,
9168
9208
  {
9169
- pageTitle,
9170
- searchTrigger,
9171
- notificationCenter,
9172
- themeToggle,
9173
- userMenu
9209
+ groups: sidebarGroups ?? DEFAULT_GROUPS,
9210
+ currentPath,
9211
+ linkComponent,
9212
+ defaultCollapsed: defaultSidebarCollapsed
9174
9213
  }
9175
9214
  ),
9176
9215
  /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(
package/dist/index.mjs CHANGED
@@ -8882,10 +8882,10 @@ var Sidebar = forwardRef52(function Sidebar2({
8882
8882
  style: { width: collapsed ? collapsedWidth : expandedWidth, ...style },
8883
8883
  ...rest,
8884
8884
  children: [
8885
- /* @__PURE__ */ jsx76("div", { className: "flex h-20 shrink-0 items-center border-b border-humu-background-border px-8", children: header }),
8885
+ header && /* @__PURE__ */ jsx76("div", { className: "flex h-20 shrink-0 items-center border-b border-humu-background-border px-8", children: header }),
8886
8886
  /* @__PURE__ */ jsxs49("div", { className: "humu-sidebar-nav flex min-h-0 flex-1 flex-col overflow-y-auto", children: [
8887
8887
  /* @__PURE__ */ jsxs49("nav", { className: "flex flex-1 flex-col", children: [
8888
- /* @__PURE__ */ jsx76("div", { className: "flex flex-col gap-6 pt-6", children: topGroups.map((group, idx) => /* @__PURE__ */ jsx76(
8888
+ /* @__PURE__ */ jsx76("div", { className: cn("flex flex-col gap-6", header ? "pt-6" : "pt-4"), children: topGroups.map((group, idx) => /* @__PURE__ */ jsx76(
8889
8889
  GroupItems,
8890
8890
  {
8891
8891
  group,
@@ -8929,8 +8929,10 @@ var Sidebar = forwardRef52(function Sidebar2({
8929
8929
 
8930
8930
  // src/patterns/Topbar/Topbar.tsx
8931
8931
  import { forwardRef as forwardRef53 } from "react";
8932
- import { jsx as jsx77, jsxs as jsxs50 } from "react/jsx-runtime";
8932
+ import { Fragment as Fragment13, jsx as jsx77, jsxs as jsxs50 } from "react/jsx-runtime";
8933
8933
  var Topbar = forwardRef53(function Topbar2({
8934
+ brandSlot,
8935
+ compactBrandSlot,
8934
8936
  pageTitle,
8935
8937
  searchTrigger,
8936
8938
  notificationCenter,
@@ -8940,6 +8942,7 @@ var Topbar = forwardRef53(function Topbar2({
8940
8942
  className,
8941
8943
  ...props
8942
8944
  }, ref) {
8945
+ const hasBrand = Boolean(brandSlot);
8943
8946
  return /* @__PURE__ */ jsxs50(
8944
8947
  "header",
8945
8948
  {
@@ -8947,16 +8950,30 @@ var Topbar = forwardRef53(function Topbar2({
8947
8950
  role: "banner",
8948
8951
  "aria-label": ariaLabel,
8949
8952
  className: cn(
8950
- "z-30 flex h-20 shrink-0 items-center gap-6 border-b border-humu-background-border bg-humu-background-surface px-6 font-humu-ibm-plex-sans",
8953
+ "z-30 flex h-20 shrink-0 items-center border-b border-humu-background-border bg-humu-background-surface font-humu-ibm-plex-sans",
8954
+ hasBrand ? "gap-4 pr-4 sm:pr-6" : "gap-6 px-6",
8951
8955
  className
8952
8956
  ),
8953
8957
  ...props,
8954
8958
  children: [
8955
- /* @__PURE__ */ jsxs50("div", { className: "flex min-w-0 flex-1 items-center gap-6", children: [
8956
- pageTitle && /* @__PURE__ */ jsx77("h2", { className: "truncate text-humu-heading-xm font-bold text-humu-content-title", children: pageTitle }),
8957
- searchTrigger
8958
- ] }),
8959
- /* @__PURE__ */ jsxs50("div", { className: "flex shrink-0 items-center gap-4", children: [
8959
+ hasBrand && /* @__PURE__ */ jsx77("div", { className: "flex h-full shrink-0 items-center pl-4 sm:px-8", children: compactBrandSlot ? /* @__PURE__ */ jsxs50(Fragment13, { children: [
8960
+ /* @__PURE__ */ jsx77("span", { className: "flex items-center md:hidden", children: compactBrandSlot }),
8961
+ /* @__PURE__ */ jsx77("span", { className: "hidden items-center md:flex", children: brandSlot })
8962
+ ] }) : brandSlot }),
8963
+ /* @__PURE__ */ jsxs50(
8964
+ "div",
8965
+ {
8966
+ className: cn(
8967
+ "flex min-w-0 flex-1 items-center gap-6",
8968
+ hasBrand && "justify-center"
8969
+ ),
8970
+ children: [
8971
+ pageTitle && /* @__PURE__ */ jsx77("h2", { className: "truncate text-humu-heading-xm font-bold text-humu-content-title", children: pageTitle }),
8972
+ searchTrigger
8973
+ ]
8974
+ }
8975
+ ),
8976
+ /* @__PURE__ */ jsxs50("div", { className: "flex shrink-0 items-center gap-2 sm:gap-4", children: [
8960
8977
  notificationCenter,
8961
8978
  themeToggle,
8962
8979
  userMenu
@@ -8974,25 +8991,47 @@ import { jsx as jsx78, jsxs as jsxs51 } from "react/jsx-runtime";
8974
8991
  var TopbarSearchButton = forwardRef54(
8975
8992
  ({
8976
8993
  placeholder = "Buscar cliente, opera\xE7\xE3o ou organiza\xE7\xE3o...",
8994
+ shortcutKeys,
8977
8995
  className,
8978
8996
  type = "button",
8979
8997
  ...props
8980
- }, ref) => /* @__PURE__ */ jsxs51(
8981
- "button",
8982
- {
8983
- ref,
8984
- type,
8985
- className: cn(
8986
- "inline-flex h-10 w-[346px] max-w-full items-center gap-4 rounded-humu-md bg-humu-background-interaction-hover-tabs px-3.5 text-left text-humu-body-xs font-medium text-humu-content-subtitle 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",
8987
- className
8988
- ),
8989
- ...props,
8990
- children: [
8991
- /* @__PURE__ */ jsx78(SearchIcon3, { className: "size-6 shrink-0", "aria-hidden": "true" }),
8992
- /* @__PURE__ */ jsx78("span", { className: "truncate", children: placeholder })
8993
- ]
8994
- }
8995
- )
8998
+ }, ref) => {
8999
+ const hasShortcut = Boolean(shortcutKeys?.length);
9000
+ return /* @__PURE__ */ jsxs51(
9001
+ "button",
9002
+ {
9003
+ ref,
9004
+ type,
9005
+ className: cn(
9006
+ "inline-flex h-10 max-w-full items-center gap-2 rounded-humu-md bg-humu-background-interaction-hover-tabs pl-3.5 text-left text-humu-body-xs font-medium text-humu-content-subtitle 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",
9007
+ hasShortcut ? "w-[424px] pr-4" : "w-[346px] pr-3.5",
9008
+ className
9009
+ ),
9010
+ ...props,
9011
+ children: [
9012
+ /* @__PURE__ */ jsxs51("span", { className: "flex min-w-0 flex-1 items-center gap-4", children: [
9013
+ /* @__PURE__ */ jsx78(SearchIcon3, { className: "size-6 shrink-0", "aria-hidden": "true" }),
9014
+ /* @__PURE__ */ jsx78("span", { className: "truncate", children: placeholder })
9015
+ ] }),
9016
+ hasShortcut && /* @__PURE__ */ jsx78(
9017
+ "span",
9018
+ {
9019
+ "aria-hidden": "true",
9020
+ className: "hidden shrink-0 items-center gap-1 md:flex",
9021
+ children: shortcutKeys?.map((key) => /* @__PURE__ */ jsx78(
9022
+ "kbd",
9023
+ {
9024
+ className: "inline-flex h-5 min-w-5 items-center justify-center rounded-humu-sm bg-humu-content-subtitle/15 px-1 font-humu-ibm-plex-sans text-humu-body-xxs font-normal text-humu-content-subtitle",
9025
+ children: key
9026
+ },
9027
+ key
9028
+ ))
9029
+ }
9030
+ )
9031
+ ]
9032
+ }
9033
+ );
9034
+ }
8996
9035
  );
8997
9036
  TopbarSearchButton.displayName = "TopbarSearchButton";
8998
9037
  var TopbarIconButton = forwardRef54(({ className, type = "button", ...props }, ref) => /* @__PURE__ */ jsx78(
@@ -9099,7 +9138,7 @@ function AppShell({
9099
9138
  collapsedHeaderSlot,
9100
9139
  defaultSidebarCollapsed = false
9101
9140
  }) {
9102
- return /* @__PURE__ */ jsxs52("div", { className: "flex h-screen overflow-hidden bg-humu-background-base text-humu-content-title", children: [
9141
+ return /* @__PURE__ */ jsxs52("div", { className: "flex h-screen flex-col overflow-hidden bg-humu-background-base text-humu-content-title", children: [
9103
9142
  /* @__PURE__ */ jsx79(
9104
9143
  "a",
9105
9144
  {
@@ -9109,25 +9148,25 @@ function AppShell({
9109
9148
  }
9110
9149
  ),
9111
9150
  /* @__PURE__ */ jsx79(
9112
- Sidebar,
9151
+ Topbar,
9113
9152
  {
9114
- groups: sidebarGroups ?? DEFAULT_GROUPS,
9115
- currentPath,
9116
- linkComponent,
9117
- defaultCollapsed: defaultSidebarCollapsed,
9118
- headerSlot: headerSlot ?? DEFAULT_HEADER_SLOT,
9119
- collapsedHeaderSlot: collapsedHeaderSlot ?? (headerSlot ? void 0 : DEFAULT_COLLAPSED_HEADER_SLOT)
9153
+ brandSlot: headerSlot ?? DEFAULT_HEADER_SLOT,
9154
+ compactBrandSlot: collapsedHeaderSlot ?? (headerSlot ? void 0 : DEFAULT_COLLAPSED_HEADER_SLOT),
9155
+ pageTitle,
9156
+ searchTrigger,
9157
+ notificationCenter,
9158
+ themeToggle,
9159
+ userMenu
9120
9160
  }
9121
9161
  ),
9122
- /* @__PURE__ */ jsxs52("div", { className: "flex min-h-0 min-w-0 flex-1 flex-col", children: [
9162
+ /* @__PURE__ */ jsxs52("div", { className: "flex min-h-0 min-w-0 flex-1", children: [
9123
9163
  /* @__PURE__ */ jsx79(
9124
- Topbar,
9164
+ Sidebar,
9125
9165
  {
9126
- pageTitle,
9127
- searchTrigger,
9128
- notificationCenter,
9129
- themeToggle,
9130
- userMenu
9166
+ groups: sidebarGroups ?? DEFAULT_GROUPS,
9167
+ currentPath,
9168
+ linkComponent,
9169
+ defaultCollapsed: defaultSidebarCollapsed
9131
9170
  }
9132
9171
  ),
9133
9172
  /* @__PURE__ */ jsx79(
@@ -9148,7 +9187,7 @@ AppShell.displayName = "AppShell";
9148
9187
  // src/patterns/KpiHero/KpiHero.tsx
9149
9188
  import { useId as useId20 } from "react";
9150
9189
  import { ArrowDownIcon as ArrowDownIcon2, ArrowUpIcon as ArrowUpIcon2, MinusIcon as MinusIcon4 } from "lucide-react";
9151
- import { Fragment as Fragment13, jsx as jsx80, jsxs as jsxs53 } from "react/jsx-runtime";
9190
+ import { Fragment as Fragment14, jsx as jsx80, jsxs as jsxs53 } from "react/jsx-runtime";
9152
9191
  var resolveTone = (tone) => tone === "warn" ? "warning" : tone === "danger" ? "error" : tone;
9153
9192
  var iconClass = {
9154
9193
  brand: "bg-humu-background-brand-subtle text-humu-content-brand",
@@ -9226,7 +9265,7 @@ function KpiHero({
9226
9265
  const gradientId = `spark-${rawId.replace(/[:]/g, "")}`;
9227
9266
  const hasSparkline = sparkline !== void 0 && sparkline.length >= 2;
9228
9267
  const sparkPaths = sparkline !== void 0 && hasSparkline ? buildSparklinePaths(sparkline) : null;
9229
- const inner = /* @__PURE__ */ jsxs53(Fragment13, { children: [
9268
+ const inner = /* @__PURE__ */ jsxs53(Fragment14, { children: [
9230
9269
  /* @__PURE__ */ jsxs53("div", { className: "flex items-center gap-2", children: [
9231
9270
  /* @__PURE__ */ jsx80(
9232
9271
  "span",
@@ -9332,7 +9371,7 @@ function KpiHero({
9332
9371
  }
9333
9372
 
9334
9373
  // src/patterns/DashboardBlock/DashboardBlock.tsx
9335
- import { Fragment as Fragment14, jsx as jsx81, jsxs as jsxs54 } from "react/jsx-runtime";
9374
+ import { Fragment as Fragment15, jsx as jsx81, jsxs as jsxs54 } from "react/jsx-runtime";
9336
9375
  function DashboardBlock({
9337
9376
  available,
9338
9377
  reason,
@@ -9372,13 +9411,13 @@ function DashboardBlock({
9372
9411
  if (isEmpty2) {
9373
9412
  return /* @__PURE__ */ jsx81("div", { className: "flex min-h-40 items-center justify-center rounded-humu-lg border border-humu-border-default bg-humu-background-surface p-5 text-center", children: /* @__PURE__ */ jsx81(Text, { size: "sm", color: "muted", children: emptyLabel }) });
9374
9413
  }
9375
- return /* @__PURE__ */ jsx81(Fragment14, { children });
9414
+ return /* @__PURE__ */ jsx81(Fragment15, { children });
9376
9415
  }
9377
9416
 
9378
9417
  // src/patterns/LegalDocumentRenderer/LegalDocumentRenderer.tsx
9379
9418
  import ReactMarkdown from "react-markdown";
9380
9419
  import remarkGfm from "remark-gfm";
9381
- import { Fragment as Fragment15, jsx as jsx82, jsxs as jsxs55 } from "react/jsx-runtime";
9420
+ import { Fragment as Fragment16, jsx as jsx82, jsxs as jsxs55 } from "react/jsx-runtime";
9382
9421
  function formatLastUpdated(iso) {
9383
9422
  if (!iso) return "";
9384
9423
  const date = new Date(iso);
@@ -9443,7 +9482,7 @@ function LegalDocumentRenderer({
9443
9482
  className
9444
9483
  }) {
9445
9484
  if (isLoading) {
9446
- return /* @__PURE__ */ jsx82("div", { className: cn("flex flex-col gap-3", className), children: loadingState ?? /* @__PURE__ */ jsxs55(Fragment15, { children: [
9485
+ return /* @__PURE__ */ jsx82("div", { className: cn("flex flex-col gap-3", className), children: loadingState ?? /* @__PURE__ */ jsxs55(Fragment16, { children: [
9447
9486
  /* @__PURE__ */ jsx82(Skeleton, { shape: "text", style: { width: "60%", height: 24 } }),
9448
9487
  /* @__PURE__ */ jsx82(Skeleton, { shape: "text", style: { width: "100%", height: 14 } }),
9449
9488
  /* @__PURE__ */ jsx82(Skeleton, { shape: "text", style: { width: "95%", height: 14 } }),
@@ -9782,7 +9821,7 @@ import {
9782
9821
  ChevronLeftIcon,
9783
9822
  ChevronRightIcon as ChevronRightIcon2
9784
9823
  } from "lucide-react";
9785
- import { Fragment as Fragment16, jsx as jsx86, jsxs as jsxs59 } from "react/jsx-runtime";
9824
+ import { Fragment as Fragment17, jsx as jsx86, jsxs as jsxs59 } from "react/jsx-runtime";
9786
9825
  var DEFAULT_PER_PAGE_OPTIONS = [5, 10, 20, 30, 50, 70, 100];
9787
9826
  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";
9788
9827
  var pageButtonStyles = cn(
@@ -9898,7 +9937,7 @@ var DataTablePagination = forwardRef58(
9898
9937
  className
9899
9938
  ),
9900
9939
  ...props,
9901
- children: variant === "buttons" ? /* @__PURE__ */ jsxs59(Fragment16, { children: [
9940
+ children: variant === "buttons" ? /* @__PURE__ */ jsxs59(Fragment17, { children: [
9902
9941
  /* @__PURE__ */ jsxs59("div", { className: "flex flex-wrap items-center gap-4", children: [
9903
9942
  showing,
9904
9943
  perPageSelector
@@ -9925,7 +9964,7 @@ var DataTablePagination = forwardRef58(
9925
9964
  }
9926
9965
  )
9927
9966
  ] })
9928
- ] }) : /* @__PURE__ */ jsxs59(Fragment16, { children: [
9967
+ ] }) : /* @__PURE__ */ jsxs59(Fragment17, { children: [
9929
9968
  showing,
9930
9969
  /* @__PURE__ */ jsxs59("div", { className: "flex flex-wrap items-center gap-4", children: [
9931
9970
  perPageSelector,
@@ -9996,7 +10035,7 @@ import {
9996
10035
  ChevronsUpDownIcon as ChevronsUpDownIcon2
9997
10036
  } from "lucide-react";
9998
10037
  import { useState as useState26 } from "react";
9999
- import { Fragment as Fragment17, jsx as jsx87, jsxs as jsxs60 } from "react/jsx-runtime";
10038
+ import { Fragment as Fragment18, jsx as jsx87, jsxs as jsxs60 } from "react/jsx-runtime";
10000
10039
  function formatDate(value, format3) {
10001
10040
  if (!value) return "\u2014";
10002
10041
  const date = value instanceof Date ? value : new Date(String(value));
@@ -10050,7 +10089,7 @@ function ReadOnlyDataView({
10050
10089
  setActiveDialog({ dialog, row, details: result });
10051
10090
  };
10052
10091
  const hasTriggerColumn = (column) => column.type !== "action" && Boolean(detailsDialogs?.some((d) => d.triggerColumn === column.key));
10053
- return /* @__PURE__ */ jsxs60(Fragment17, { children: [
10092
+ return /* @__PURE__ */ jsxs60(Fragment18, { children: [
10054
10093
  /* @__PURE__ */ jsx87(
10055
10094
  Card,
10056
10095
  {
@@ -10378,7 +10417,7 @@ NotificationCenter.displayName = "NotificationCenter";
10378
10417
  // src/patterns/NavigatorTile/NavigatorTile.tsx
10379
10418
  import { ChevronRightIcon as ChevronRightIcon3 } from "lucide-react";
10380
10419
  import { forwardRef as forwardRef60 } from "react";
10381
- import { Fragment as Fragment18, jsx as jsx89, jsxs as jsxs62 } from "react/jsx-runtime";
10420
+ import { Fragment as Fragment19, jsx as jsx89, jsxs as jsxs62 } from "react/jsx-runtime";
10382
10421
  var NavigatorTile = forwardRef60(
10383
10422
  ({
10384
10423
  icon,
@@ -10405,7 +10444,7 @@ var NavigatorTile = forwardRef60(
10405
10444
  className
10406
10445
  ),
10407
10446
  ...props,
10408
- children: asChild ? children : /* @__PURE__ */ jsxs62(Fragment18, { children: [
10447
+ children: asChild ? children : /* @__PURE__ */ jsxs62(Fragment19, { children: [
10409
10448
  /* @__PURE__ */ jsxs62("div", { className: "flex min-w-0 items-center gap-3", children: [
10410
10449
  icon && /* @__PURE__ */ jsx89("span", { className: "inline-flex size-10 shrink-0 items-center justify-center rounded-humu-pill bg-humu-background-brand-brand text-humu-content-on-brand [&_svg]:size-6", children: icon }),
10411
10450
  /* @__PURE__ */ jsx89(
@@ -10643,7 +10682,7 @@ import {
10643
10682
  forwardRef as forwardRef64,
10644
10683
  isValidElement as isValidElement2
10645
10684
  } from "react";
10646
- import { Fragment as Fragment19, jsx as jsx93, jsxs as jsxs66 } from "react/jsx-runtime";
10685
+ import { Fragment as Fragment20, jsx as jsx93, jsxs as jsxs66 } from "react/jsx-runtime";
10647
10686
  var TutorialCard = forwardRef64(
10648
10687
  ({
10649
10688
  title,
@@ -10656,7 +10695,7 @@ var TutorialCard = forwardRef64(
10656
10695
  children,
10657
10696
  ...props
10658
10697
  }, ref) => {
10659
- const content = /* @__PURE__ */ jsxs66(Fragment19, { children: [
10698
+ const content = /* @__PURE__ */ jsxs66(Fragment20, { children: [
10660
10699
  media && /* @__PURE__ */ jsxs66("div", { className: "relative aspect-video w-full overflow-hidden bg-humu-background-inactive", children: [
10661
10700
  media,
10662
10701
  category && /* @__PURE__ */ jsx93("div", { className: "absolute left-3 top-3", children: /* @__PURE__ */ jsx93(Badge, { variant: "default", size: "sm", children: category }) })
@@ -10687,7 +10726,7 @@ TutorialCard.displayName = "TutorialCard";
10687
10726
  // src/patterns/KpiCard/KpiCard.tsx
10688
10727
  import { ChevronDownIcon as ChevronDownIcon10 } from "lucide-react";
10689
10728
  import { forwardRef as forwardRef65, useId as useId21 } from "react";
10690
- import { Fragment as Fragment20, jsx as jsx94, jsxs as jsxs67 } from "react/jsx-runtime";
10729
+ import { Fragment as Fragment21, jsx as jsx94, jsxs as jsxs67 } from "react/jsx-runtime";
10691
10730
  var resolveVariant = (variant) => variant === "danger" ? "error" : variant;
10692
10731
  var stripeClass = {
10693
10732
  neutral: "bg-humu-content-subtitle",
@@ -10749,7 +10788,7 @@ var KpiCard = forwardRef65(
10749
10788
  const progressLabelId = useId21();
10750
10789
  const progressValue = progress && Number.isFinite(progress.value) ? Math.min(100, Math.max(0, progress.value)) : 0;
10751
10790
  const progressTone = progress?.tone ?? "default";
10752
- const title = /* @__PURE__ */ jsxs67(Fragment20, { children: [
10791
+ const title = /* @__PURE__ */ jsxs67(Fragment21, { children: [
10753
10792
  icon && /* @__PURE__ */ jsx94(
10754
10793
  "span",
10755
10794
  {
@@ -10866,7 +10905,7 @@ KpiCard.displayName = "KpiCard";
10866
10905
  import { SearchIcon as SearchIcon4 } from "lucide-react";
10867
10906
  import { useEffect as useEffect12, useRef as useRef10, useState as useState28 } from "react";
10868
10907
  import { createPortal } from "react-dom";
10869
- import { Fragment as Fragment21, jsx as jsx95, jsxs as jsxs68 } from "react/jsx-runtime";
10908
+ import { Fragment as Fragment22, jsx as jsx95, jsxs as jsxs68 } from "react/jsx-runtime";
10870
10909
  function CommandPalette({
10871
10910
  open,
10872
10911
  onOpenChange,
@@ -11028,7 +11067,7 @@ function CommandPalette({
11028
11067
  isHighlighted ? "bg-humu-background-brand-brand text-humu-content-on-brand" : "text-humu-content-title",
11029
11068
  item.disabled && "pointer-events-none opacity-50"
11030
11069
  ),
11031
- children: renderItem ? renderItem(item, isHighlighted) : /* @__PURE__ */ jsxs68(Fragment21, { children: [
11070
+ children: renderItem ? renderItem(item, isHighlighted) : /* @__PURE__ */ jsxs68(Fragment22, { children: [
11032
11071
  /* @__PURE__ */ jsxs68("div", { className: "flex min-w-0 flex-1 flex-col", children: [
11033
11072
  /* @__PURE__ */ jsx95("span", { className: "truncate font-medium", children: item.label }),
11034
11073
  item.description && /* @__PURE__ */ jsx95(
@@ -11074,7 +11113,7 @@ function CommandPalette({
11074
11113
 
11075
11114
  // src/patterns/ChartTimeSeries/ChartTimeSeries.tsx
11076
11115
  import { forwardRef as forwardRef66, useId as useId22, useState as useState29 } from "react";
11077
- import { Fragment as Fragment22, jsx as jsx96, jsxs as jsxs69 } from "react/jsx-runtime";
11116
+ import { Fragment as Fragment23, jsx as jsx96, jsxs as jsxs69 } from "react/jsx-runtime";
11078
11117
  var DEFAULT_RANGES = ["3m", "6m", "12m", "YTD"];
11079
11118
  var DEFAULT_EMPTY_MESSAGE = "Sem dados no per\xEDodo.";
11080
11119
  function buildChartPaths(data) {
@@ -11200,7 +11239,7 @@ var ChartTimeSeries = forwardRef66(
11200
11239
  },
11201
11240
  y
11202
11241
  )),
11203
- paths && /* @__PURE__ */ jsxs69(Fragment22, { children: [
11242
+ paths && /* @__PURE__ */ jsxs69(Fragment23, { children: [
11204
11243
  /* @__PURE__ */ jsx96(
11205
11244
  "path",
11206
11245
  {
@@ -11498,7 +11537,7 @@ EmptyState.displayName = "EmptyState";
11498
11537
  import {
11499
11538
  forwardRef as forwardRef69
11500
11539
  } from "react";
11501
- import { Fragment as Fragment23, jsx as jsx99, jsxs as jsxs72 } from "react/jsx-runtime";
11540
+ import { Fragment as Fragment24, jsx as jsx99, jsxs as jsxs72 } from "react/jsx-runtime";
11502
11541
  var ActionBar = forwardRef69(
11503
11542
  ({ start, end, children, sticky = false, className, ...props }, ref) => /* @__PURE__ */ jsx99(
11504
11543
  "section",
@@ -11510,7 +11549,7 @@ var ActionBar = forwardRef69(
11510
11549
  className
11511
11550
  ),
11512
11551
  ...props,
11513
- children: children ?? /* @__PURE__ */ jsxs72(Fragment23, { children: [
11552
+ children: children ?? /* @__PURE__ */ jsxs72(Fragment24, { children: [
11514
11553
  /* @__PURE__ */ jsx99("div", { className: "flex flex-wrap items-center gap-4", children: start }),
11515
11554
  /* @__PURE__ */ jsx99("div", { className: "ml-auto flex flex-wrap items-center justify-end gap-4", children: end })
11516
11555
  ] })
@@ -11521,7 +11560,7 @@ ActionBar.displayName = "ActionBar";
11521
11560
 
11522
11561
  // src/patterns/CookieConsent/CookieConsent.tsx
11523
11562
  import { useState as useState31 } from "react";
11524
- import { Fragment as Fragment24, jsx as jsx100, jsxs as jsxs73 } from "react/jsx-runtime";
11563
+ import { Fragment as Fragment25, jsx as jsx100, jsxs as jsxs73 } from "react/jsx-runtime";
11525
11564
  var readConsent = (cookieName) => typeof document !== "undefined" && document.cookie.split("; ").some((cookie) => cookie.startsWith(`${cookieName}=`));
11526
11565
  function CookieConsent({
11527
11566
  cookieName,
@@ -11550,7 +11589,7 @@ function CookieConsent({
11550
11589
  children: [
11551
11590
  /* @__PURE__ */ jsxs73("p", { className: "min-w-0 flex-1", children: [
11552
11591
  message,
11553
- policyLink ? /* @__PURE__ */ jsxs73(Fragment24, { children: [
11592
+ policyLink ? /* @__PURE__ */ jsxs73(Fragment25, { children: [
11554
11593
  " ",
11555
11594
  policyLink,
11556
11595
  "."
@@ -11603,7 +11642,7 @@ var ErrorBoundary = class extends Component {
11603
11642
  // src/patterns/QuickFilters/QuickFilters.tsx
11604
11643
  import { ChevronDownIcon as ChevronDownIcon11, EllipsisIcon } from "lucide-react";
11605
11644
  import { useState as useState32 } from "react";
11606
- import { Fragment as Fragment25, jsx as jsx102, jsxs as jsxs74 } from "react/jsx-runtime";
11645
+ import { Fragment as Fragment26, jsx as jsx102, jsxs as jsxs74 } from "react/jsx-runtime";
11607
11646
  var visibleFrom = {
11608
11647
  0: "inline-flex",
11609
11648
  1: "hidden sm:inline-flex",
@@ -11652,7 +11691,7 @@ function QuickFilters({
11652
11691
  },
11653
11692
  key
11654
11693
  );
11655
- return /* @__PURE__ */ jsxs74(Fragment25, { children: [
11694
+ return /* @__PURE__ */ jsxs74(Fragment26, { children: [
11656
11695
  items.map(
11657
11696
  (item) => chip(item, visibleFrom[item.priority ?? 0], item.id)
11658
11697
  ),
@@ -11948,7 +11987,7 @@ import {
11948
11987
  XIcon as XIcon9
11949
11988
  } from "lucide-react";
11950
11989
  import { useState as useState33 } from "react";
11951
- import { Fragment as Fragment26, jsx as jsx107, jsxs as jsxs77 } from "react/jsx-runtime";
11990
+ import { Fragment as Fragment27, jsx as jsx107, jsxs as jsxs77 } from "react/jsx-runtime";
11952
11991
  var stepIndicatorClass = {
11953
11992
  completed: "bg-humu-status-background-success text-humu-content-on-brand border-humu-status-background-success",
11954
11993
  active: "bg-humu-background-brand-brand text-humu-content-on-brand border-humu-background-brand-brand",
@@ -11961,7 +12000,7 @@ function StepIndicator({
11961
12000
  index,
11962
12001
  onStepChange
11963
12002
  }) {
11964
- const inner = /* @__PURE__ */ jsxs77(Fragment26, { children: [
12003
+ const inner = /* @__PURE__ */ jsxs77(Fragment27, { children: [
11965
12004
  /* @__PURE__ */ jsx107(
11966
12005
  "span",
11967
12006
  {
@@ -12363,7 +12402,7 @@ import {
12363
12402
  useEffect as useEffect14,
12364
12403
  useState as useState34
12365
12404
  } from "react";
12366
- import { Fragment as Fragment27, jsx as jsx110, jsxs as jsxs80 } from "react/jsx-runtime";
12405
+ import { Fragment as Fragment28, jsx as jsx110, jsxs as jsxs80 } from "react/jsx-runtime";
12367
12406
  function isStringValue(v) {
12368
12407
  return typeof v === "string";
12369
12408
  }
@@ -12428,7 +12467,7 @@ function NumberRangeField({
12428
12467
  const minLabel = field.minLabel ?? `${field.label} (maior ou igual)`;
12429
12468
  const maxLabel = field.maxLabel ?? `${field.label} (menor ou igual)`;
12430
12469
  if (field.format === "money") {
12431
- return /* @__PURE__ */ jsxs80(Fragment27, { children: [
12470
+ return /* @__PURE__ */ jsxs80(Fragment28, { children: [
12432
12471
  /* @__PURE__ */ jsx110(
12433
12472
  MoneyInput,
12434
12473
  {
@@ -12448,7 +12487,7 @@ function NumberRangeField({
12448
12487
  ] });
12449
12488
  }
12450
12489
  if (field.format === "percent") {
12451
- return /* @__PURE__ */ jsxs80(Fragment27, { children: [
12490
+ return /* @__PURE__ */ jsxs80(Fragment28, { children: [
12452
12491
  /* @__PURE__ */ jsx110(
12453
12492
  PercentInput,
12454
12493
  {
@@ -12474,7 +12513,7 @@ function NumberRangeField({
12474
12513
  const digits = raw.replace(/\D/g, "");
12475
12514
  return maxDigits === void 0 ? digits : digits.slice(0, maxDigits);
12476
12515
  };
12477
- return /* @__PURE__ */ jsxs80(Fragment27, { children: [
12516
+ return /* @__PURE__ */ jsxs80(Fragment28, { children: [
12478
12517
  /* @__PURE__ */ jsx110(
12479
12518
  Input,
12480
12519
  {
@@ -12504,7 +12543,7 @@ function NumberRangeField({
12504
12543
  const blockNonDecimalKeys = (e) => {
12505
12544
  if (BLOCKED_DECIMAL_KEYS.has(e.key)) e.preventDefault();
12506
12545
  };
12507
- return /* @__PURE__ */ jsxs80(Fragment27, { children: [
12546
+ return /* @__PURE__ */ jsxs80(Fragment28, { children: [
12508
12547
  /* @__PURE__ */ jsx110(
12509
12548
  Input,
12510
12549
  {
@@ -12651,7 +12690,7 @@ function FilterBar({
12651
12690
  }
12652
12691
  ),
12653
12692
  triggerLabel,
12654
- hasActive && /* @__PURE__ */ jsxs80(Fragment27, { children: [
12693
+ hasActive && /* @__PURE__ */ jsxs80(Fragment28, { children: [
12655
12694
  /* @__PURE__ */ jsx110("span", { className: "sr-only", children: `: ${activeCount} ${activeCount === 1 ? "filtro aplicado" : "filtros aplicados"}` }),
12656
12695
  /* @__PURE__ */ jsx110(
12657
12696
  "span",
@@ -12809,7 +12848,7 @@ function FormSection({
12809
12848
  // src/patterns/FormWithAside/FormWithAside.tsx
12810
12849
  import { useState as useState35 } from "react";
12811
12850
  import { ChevronsLeftIcon as ChevronsLeftIcon2, ChevronsRightIcon as ChevronsRightIcon2 } from "lucide-react";
12812
- import { Fragment as Fragment28, jsx as jsx113, jsxs as jsxs83 } from "react/jsx-runtime";
12851
+ import { Fragment as Fragment29, jsx as jsx113, jsxs as jsxs83 } from "react/jsx-runtime";
12813
12852
  function scrollToId(id) {
12814
12853
  const el = document.getElementById(id);
12815
12854
  if (!el) return;
@@ -12881,7 +12920,7 @@ function FormWithAside({
12881
12920
  s.id
12882
12921
  );
12883
12922
  })
12884
- ] }) : /* @__PURE__ */ jsxs83(Fragment28, { children: [
12923
+ ] }) : /* @__PURE__ */ jsxs83(Fragment29, { children: [
12885
12924
  /* @__PURE__ */ jsx113(
12886
12925
  ProgressTitle,
12887
12926
  {
@@ -13634,7 +13673,7 @@ import {
13634
13673
  useState as useState36
13635
13674
  } from "react";
13636
13675
  import { ChevronDownIcon as ChevronDownIcon13 } from "lucide-react";
13637
- import { Fragment as Fragment29, jsx as jsx121, jsxs as jsxs91 } from "react/jsx-runtime";
13676
+ import { Fragment as Fragment30, jsx as jsx121, jsxs as jsxs91 } from "react/jsx-runtime";
13638
13677
  var TONE_ICON = {
13639
13678
  neutral: "border border-humu-background-border bg-humu-background-surface",
13640
13679
  success: "bg-humu-status-background-success-subtle",
@@ -13674,7 +13713,7 @@ var TimelineItem = forwardRef75(
13674
13713
  const [uncontrolled, setUncontrolled] = useState36(defaultOpen);
13675
13714
  const isOpen = open ?? uncontrolled;
13676
13715
  const expandable = children !== void 0 && children !== null;
13677
- const row = /* @__PURE__ */ jsxs91(Fragment29, { children: [
13716
+ const row = /* @__PURE__ */ jsxs91(Fragment30, { children: [
13678
13717
  /* @__PURE__ */ jsx121(
13679
13718
  "span",
13680
13719
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@humu-tech/ui",
3
- "version": "0.4.1",
3
+ "version": "0.5.0",
4
4
  "description": "Design System da Humu: primitives e patterns em React 18 e 19, com tema claro/escuro, preset Tailwind e TypeScript.",
5
5
  "keywords": [
6
6
  "design-system",