blockforce-design-system 2.0.3 → 2.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (85) hide show
  1. package/MIGRATION.md +23 -19
  2. package/lib/ai/components.json +106 -1
  3. package/lib/ai/tokens.md +1 -1
  4. package/lib/commonjs/components/data-display/calendar/calendar.styles.js +14 -13
  5. package/lib/commonjs/components/data-display/calendar/calendar.styles.js.map +1 -1
  6. package/lib/commonjs/components/data-display/matrix/matrix.styles.js +22 -21
  7. package/lib/commonjs/components/data-display/matrix/matrix.styles.js.map +1 -1
  8. package/lib/commonjs/components/data-display/side-panel/side-panel.styles.js +11 -10
  9. package/lib/commonjs/components/data-display/side-panel/side-panel.styles.js.map +1 -1
  10. package/lib/commonjs/components/forms/autocomplete/autocomplete.styles.js +8 -21
  11. package/lib/commonjs/components/forms/autocomplete/autocomplete.styles.js.map +1 -1
  12. package/lib/commonjs/components/layout/drawer/drawer.styles.js +7 -5
  13. package/lib/commonjs/components/layout/drawer/drawer.styles.js.map +1 -1
  14. package/lib/commonjs/components/layout/modal/modal.styles.js +7 -18
  15. package/lib/commonjs/components/layout/modal/modal.styles.js.map +1 -1
  16. package/lib/commonjs/components/layout/popover/popover.styles.js +3 -2
  17. package/lib/commonjs/components/layout/popover/popover.styles.js.map +1 -1
  18. package/lib/commonjs/components/layout/slider/slider.styles.js +5 -26
  19. package/lib/commonjs/components/layout/slider/slider.styles.js.map +1 -1
  20. package/lib/commonjs/components/layout/table/table.comp.js +1 -1
  21. package/lib/commonjs/components/layout/table/table.comp.js.map +1 -1
  22. package/lib/commonjs/components/layout/table/table.styles.js +18 -17
  23. package/lib/commonjs/components/layout/table/table.styles.js.map +1 -1
  24. package/lib/commonjs/components/layout/table-head/table-head.comp.js +1 -1
  25. package/lib/commonjs/components/layout/table-head/table-head.comp.js.map +1 -1
  26. package/lib/commonjs/components/layout/table-head/table-head.styles.js +1 -1
  27. package/lib/commonjs/components/layout/table-head/table-head.styles.js.map +1 -1
  28. package/lib/commonjs/components/layout/table-row/table-row.comp.js +1 -1
  29. package/lib/commonjs/components/layout/table-row/table-row.comp.js.map +1 -1
  30. package/lib/commonjs/components/navigation/navigation-card/navigation-card.comp.js +2 -0
  31. package/lib/commonjs/components/navigation/navigation-card/navigation-card.comp.js.map +1 -0
  32. package/lib/commonjs/components/navigation/navigation-card/navigation-card.styles.js +47 -0
  33. package/lib/commonjs/components/navigation/navigation-card/navigation-card.styles.js.map +1 -0
  34. package/lib/commonjs/components/navigation/navigation-card/navigation-cards.comp.js +2 -0
  35. package/lib/commonjs/components/navigation/navigation-card/navigation-cards.comp.js.map +1 -0
  36. package/lib/commonjs/components/navigation/navigation-sections/navigation-sections.comp.js +2 -0
  37. package/lib/commonjs/components/navigation/navigation-sections/navigation-sections.comp.js.map +1 -0
  38. package/lib/commonjs/components/navigation/navigation-sections/navigation-sections.styles.js +91 -0
  39. package/lib/commonjs/components/navigation/navigation-sections/navigation-sections.styles.js.map +1 -0
  40. package/lib/commonjs/index.js +1 -1
  41. package/lib/commonjs/theme/scrollbar.js +39 -0
  42. package/lib/commonjs/theme/scrollbar.js.map +1 -0
  43. package/lib/index.d.ts +112 -1
  44. package/lib/module/components/data-display/calendar/calendar.styles.js +17 -16
  45. package/lib/module/components/data-display/calendar/calendar.styles.js.map +1 -1
  46. package/lib/module/components/data-display/matrix/matrix.styles.js +20 -19
  47. package/lib/module/components/data-display/matrix/matrix.styles.js.map +1 -1
  48. package/lib/module/components/data-display/side-panel/side-panel.styles.js +10 -9
  49. package/lib/module/components/data-display/side-panel/side-panel.styles.js.map +1 -1
  50. package/lib/module/components/forms/autocomplete/autocomplete.styles.js +8 -21
  51. package/lib/module/components/forms/autocomplete/autocomplete.styles.js.map +1 -1
  52. package/lib/module/components/layout/drawer/drawer.styles.js +7 -5
  53. package/lib/module/components/layout/drawer/drawer.styles.js.map +1 -1
  54. package/lib/module/components/layout/modal/modal.styles.js +7 -18
  55. package/lib/module/components/layout/modal/modal.styles.js.map +1 -1
  56. package/lib/module/components/layout/popover/popover.styles.js +2 -1
  57. package/lib/module/components/layout/popover/popover.styles.js.map +1 -1
  58. package/lib/module/components/layout/slider/slider.styles.js +5 -26
  59. package/lib/module/components/layout/slider/slider.styles.js.map +1 -1
  60. package/lib/module/components/layout/table/table.comp.js +1 -1
  61. package/lib/module/components/layout/table/table.comp.js.map +1 -1
  62. package/lib/module/components/layout/table/table.styles.js +9 -8
  63. package/lib/module/components/layout/table/table.styles.js.map +1 -1
  64. package/lib/module/components/layout/table-head/table-head.comp.js +1 -1
  65. package/lib/module/components/layout/table-head/table-head.comp.js.map +1 -1
  66. package/lib/module/components/layout/table-head/table-head.styles.js +1 -1
  67. package/lib/module/components/layout/table-head/table-head.styles.js.map +1 -1
  68. package/lib/module/components/layout/table-row/table-row.comp.js +1 -1
  69. package/lib/module/components/layout/table-row/table-row.comp.js.map +1 -1
  70. package/lib/module/components/navigation/navigation-card/navigation-card.comp.js +2 -0
  71. package/lib/module/components/navigation/navigation-card/navigation-card.comp.js.map +1 -0
  72. package/lib/module/components/navigation/navigation-card/navigation-card.styles.js +47 -0
  73. package/lib/module/components/navigation/navigation-card/navigation-card.styles.js.map +1 -0
  74. package/lib/module/components/navigation/navigation-card/navigation-cards.comp.js +2 -0
  75. package/lib/module/components/navigation/navigation-card/navigation-cards.comp.js.map +1 -0
  76. package/lib/module/components/navigation/navigation-sections/navigation-sections.comp.js +2 -0
  77. package/lib/module/components/navigation/navigation-sections/navigation-sections.comp.js.map +1 -0
  78. package/lib/module/components/navigation/navigation-sections/navigation-sections.styles.js +91 -0
  79. package/lib/module/components/navigation/navigation-sections/navigation-sections.styles.js.map +1 -0
  80. package/lib/module/index.js +1 -1
  81. package/lib/module/theme/scrollbar.js +39 -0
  82. package/lib/module/theme/scrollbar.js.map +1 -0
  83. package/llms-full.txt +87 -2
  84. package/llms.txt +15 -2
  85. package/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"table-row.comp.js","sources":["../../../../../src/components/layout/table-row/table-row.comp.tsx"],"sourcesContent":["import { Checkbox } from '../../forms/checkbox'\nimport { Box } from '../box'\nimport * as TableStyles from '../table/table.styles'\n\nimport { TableRowProps } from './table-row.types'\n\nimport * as Styles from './table-row.styles'\n\nconst CONTROLS = 'button, a, input, select, textarea, label, [role=\"button\"]'\n\n/** Clique que nasceu num controle dentro da linha (checkbox, botão, link) não abre a linha. */\nconst isFromControl = (event: React.MouseEvent<HTMLElement>) => {\n const control = (event.target as HTMLElement).closest(CONTROLS)\n return Boolean(control && event.currentTarget.contains(control))\n}\n\nexport const TableRow = ({\n data,\n headers,\n onSelect,\n selected,\n selectable,\n index,\n spacing,\n hoverable,\n onClick,\n}: TableRowProps) => {\n const getValue = (key: string) => {\n if (key.includes('.')) {\n const keys = key.split('.')\n let value = data\n for (const k of keys) {\n value = value[k]\n if (value === undefined) {\n return value\n }\n }\n return value\n }\n\n return data[key]\n }\n\n return (\n <Styles.TableRow\n backgroundColor={data.backgroundColor}\n data-testid=\"table-row\"\n spacing={spacing}\n $hoverable={Boolean(hoverable || onClick)}\n $clickable={Boolean(onClick)}\n tabIndex={onClick ? 0 : undefined}\n onClick={(event: React.MouseEvent<HTMLTableRowElement>) => {\n if (!onClick || isFromControl(event)) return\n onClick(data, index)\n }}\n onKeyDown={(event: React.KeyboardEvent<HTMLTableRowElement>) => {\n if (!onClick || event.target !== event.currentTarget) return\n if (event.key === 'Enter' || event.key === ' ') {\n event.preventDefault()\n onClick(data, index)\n }\n }}\n >\n {selectable && (\n <TableStyles.SelectableColumn data-testid=\"selectable-column\">\n <Checkbox\n checked={selected}\n onChange={() => onSelect?.(data)}\n aria-label=\"Selecionar linha\"\n data-testid={`checkbox`}\n />\n </TableStyles.SelectableColumn>\n )}\n {headers.map((header, headerIndex) => (\n <TableStyles.TableColumn\n $align={header.align || 'left'}\n width={header.width}\n minWidth={header.minWidth}\n key={`column-${headerIndex}`}\n data-label={header.label}\n >\n {header.customRender ? (\n <Box width=\"100%\" height=\"100%\" data-testid=\"custom-column\">\n {header.customRender(data, index)}\n </Box>\n ) : (\n <Styles.CellText size=\"small\" color=\"grey_1\" align={header.align}>\n {getValue(header.key)}\n </Styles.CellText>\n )}\n </TableStyles.TableColumn>\n ))}\n </Styles.TableRow>\n )\n}\n"],"names":["TableRow","data","headers","onSelect","selected","selectable","index","spacing","hoverable","onClick","getValue","key","includes","keys","split","value","k","undefined","_jsxs","Styles","backgroundColor","$hoverable","Boolean","$clickable","tabIndex","event","control","target","closest","currentTarget","contains","isFromControl","onKeyDown","preventDefault","children","_jsx","TableStyles","jsx","Checkbox","checked","onChange","map","header","headerIndex","$align","align","width","minWidth","label","customRender","Box","height","size","color"],"mappings":"6NAgBwBA,EACtBC,OACAC,UACAC,WACAC,WACAC,aACAC,QACAC,UACAC,YACAC,cAEA,MAAMC,EAAYC,IAChB,GAAIA,EAAIC,SAAS,KAAM,CACrB,MAAMC,EAAOF,EAAIG,MAAM,KACvB,IAAIC,EAAQd,EACZ,IAAK,MAAMe,KAAKH,EAEd,GADAE,EAAQA,EAAMC,QACAC,IAAVF,EACF,OAAOA,EAGX,OAAOA,CACT,CAEA,OAAOd,EAAKU,EAAI,EAGlB,OACEO,EAAAA,KAACC,EAAAA,SACC,CAAAC,gBAAiBnB,EAAKmB,gBACV,cAAA,YACZb,QAASA,EACGc,WAAAC,QAAQd,GAAaC,GACrBc,WAAAD,QAAQb,GACpBe,SAAUf,EAAU,OAAIQ,EACxBR,QAAUgB,IACHhB,IAzCUgB,KACrB,MAAMC,EAAWD,EAAME,OAAuBC,QAJ/B,8DAKf,OAAON,QAAQI,GAAWD,EAAMI,cAAcC,SAASJ,GAAS,EAuC1CK,CAAcN,IAC9BhB,EAAQR,EAAMK,EAAM,EAEtB0B,UAAYP,IACLhB,GAAWgB,EAAME,SAAWF,EAAMI,gBACrB,UAAdJ,EAAMd,KAAiC,MAAdc,EAAMd,MACjCc,EAAMQ,iBACNxB,EAAQR,EAAMK,IAChB,EAGD4B,SAAA,CAAA7B,GACC8B,MAACC,mBAA4B,CAAA,cAAa,oBAAmBF,SAC3DC,EAACE,IAAAC,YACCC,QAASnC,EACToC,SAAUA,IAAMrC,IAAWF,GAChB,aAAA,mBACE,cAAA,eAIlBC,EAAQuC,KAAI,CAACC,EAAQC,IACpBR,EAACE,IAAAD,cAAuB,CAAAQ,OACdF,EAAOG,OAAS,OACxBC,MAAOJ,EAAOI,MACdC,SAAUL,EAAOK,SAEL,aAAAL,EAAOM,MAElBd,SAAAQ,EAAOO,aACNd,EAAAA,IAACe,EAAAA,IAAG,CAACJ,MAAM,OAAOK,OAAO,OAAmB,cAAA,gBACzCjB,SAAAQ,EAAOO,aAAahD,EAAMK,KAG7B6B,EAACE,IAAAlB,WAAgB,CAAAiC,KAAK,QAAQC,MAAM,SAASR,MAAOH,EAAOG,MAAKX,SAC7DxB,EAASgC,EAAO/B,QATN,UAAAgC,SAcH"}
1
+ {"version":3,"file":"table-row.comp.js","sources":["../../../../../src/components/layout/table-row/table-row.comp.tsx"],"sourcesContent":["import { Checkbox } from '../../forms/checkbox'\nimport { Box } from '../box'\nimport * as TableStyles from '../table/table.styles'\n\nimport { TableRowProps } from './table-row.types'\n\nimport * as Styles from './table-row.styles'\n\nconst CONTROLS = 'button, a, input, select, textarea, label, [role=\"button\"]'\n\n/** Clique que nasceu num controle dentro da linha (checkbox, botão, link) não abre a linha. */\nconst isFromControl = (event: React.MouseEvent<HTMLElement>) => {\n const control = (event.target as HTMLElement).closest(CONTROLS)\n return Boolean(control && event.currentTarget.contains(control))\n}\n\nexport const TableRow = ({\n data,\n headers,\n onSelect,\n selected,\n selectable,\n index,\n spacing,\n hoverable,\n onClick,\n}: TableRowProps) => {\n const getValue = (key: string) => {\n if (key.includes('.')) {\n const keys = key.split('.')\n let value = data\n for (const k of keys) {\n value = value[k]\n if (value === undefined) {\n return value\n }\n }\n return value\n }\n\n return data[key]\n }\n\n return (\n <Styles.TableRow\n backgroundColor={data.backgroundColor}\n data-testid=\"table-row\"\n spacing={spacing}\n $hoverable={Boolean(hoverable || onClick)}\n $clickable={Boolean(onClick)}\n tabIndex={onClick ? 0 : undefined}\n onClick={(event: React.MouseEvent<HTMLTableRowElement>) => {\n if (!onClick || isFromControl(event)) return\n onClick(data, index)\n }}\n onKeyDown={(event: React.KeyboardEvent<HTMLTableRowElement>) => {\n if (!onClick || event.target !== event.currentTarget) return\n if (event.key === 'Enter' || event.key === ' ') {\n event.preventDefault()\n onClick(data, index)\n }\n }}\n >\n {selectable && (\n <TableStyles.SelectableColumn data-testid=\"selectable-column\">\n <Checkbox\n checked={selected}\n onChange={() => onSelect?.(data)}\n aria-label=\"Selecionar linha\"\n data-testid={`checkbox`}\n />\n </TableStyles.SelectableColumn>\n )}\n {headers.map((header, headerIndex) => (\n <TableStyles.TableColumn\n $align={header.align || 'left'}\n width={header.width}\n $minWidth={header.minWidth}\n key={`column-${headerIndex}`}\n data-label={header.label}\n >\n {header.customRender ? (\n <Box width=\"100%\" height=\"100%\" data-testid=\"custom-column\">\n {header.customRender(data, index)}\n </Box>\n ) : (\n <Styles.CellText size=\"small\" color=\"grey_1\" align={header.align}>\n {getValue(header.key)}\n </Styles.CellText>\n )}\n </TableStyles.TableColumn>\n ))}\n </Styles.TableRow>\n )\n}\n"],"names":["TableRow","data","headers","onSelect","selected","selectable","index","spacing","hoverable","onClick","getValue","key","includes","keys","split","value","k","undefined","_jsxs","Styles","backgroundColor","$hoverable","Boolean","$clickable","tabIndex","event","control","target","closest","currentTarget","contains","isFromControl","onKeyDown","preventDefault","children","_jsx","TableStyles","jsx","Checkbox","checked","onChange","map","header","headerIndex","$align","align","width","$minWidth","minWidth","label","customRender","Box","height","size","color"],"mappings":"6NAgBwBA,EACtBC,OACAC,UACAC,WACAC,WACAC,aACAC,QACAC,UACAC,YACAC,cAEA,MAAMC,EAAYC,IAChB,GAAIA,EAAIC,SAAS,KAAM,CACrB,MAAMC,EAAOF,EAAIG,MAAM,KACvB,IAAIC,EAAQd,EACZ,IAAK,MAAMe,KAAKH,EAEd,GADAE,EAAQA,EAAMC,QACAC,IAAVF,EACF,OAAOA,EAGX,OAAOA,CACT,CAEA,OAAOd,EAAKU,EAAI,EAGlB,OACEO,EAAAA,KAACC,EAAAA,SACC,CAAAC,gBAAiBnB,EAAKmB,gBACV,cAAA,YACZb,QAASA,EACGc,WAAAC,QAAQd,GAAaC,GACrBc,WAAAD,QAAQb,GACpBe,SAAUf,EAAU,OAAIQ,EACxBR,QAAUgB,IACHhB,IAzCUgB,KACrB,MAAMC,EAAWD,EAAME,OAAuBC,QAJ/B,8DAKf,OAAON,QAAQI,GAAWD,EAAMI,cAAcC,SAASJ,GAAS,EAuC1CK,CAAcN,IAC9BhB,EAAQR,EAAMK,EAAM,EAEtB0B,UAAYP,IACLhB,GAAWgB,EAAME,SAAWF,EAAMI,gBACrB,UAAdJ,EAAMd,KAAiC,MAAdc,EAAMd,MACjCc,EAAMQ,iBACNxB,EAAQR,EAAMK,IAChB,EAGD4B,SAAA,CAAA7B,GACC8B,MAACC,mBAA4B,CAAA,cAAa,oBAAmBF,SAC3DC,EAACE,IAAAC,YACCC,QAASnC,EACToC,SAAUA,IAAMrC,IAAWF,GAAK,aACrB,mBAAkB,6BAKlCC,EAAQuC,KAAI,CAACC,EAAQC,IACpBR,EAAAE,IAACD,cACS,CAAAQ,OAAAF,EAAOG,OAAS,OACxBC,MAAOJ,EAAOI,MACHC,UAAAL,EAAOM,sBAENN,EAAOO,MAAKf,SAEvBQ,EAAOQ,aACNf,EAAAA,IAACgB,EAAAA,IAAI,CAAAL,MAAM,OAAOM,OAAO,OAAM,cAAa,gBAAelB,SACxDQ,EAAOQ,aAAajD,EAAMK,KAG7B6B,EAAAE,IAAClB,WAAe,CAACkC,KAAK,QAAQC,MAAM,SAAST,MAAOH,EAAOG,MAAKX,SAC7DxB,EAASgC,EAAO/B,QATN,UAAAgC,SAcH"}
@@ -0,0 +1,2 @@
1
+ "use strict";var e=require("react/jsx-runtime"),i=require("./navigation-card.styles.js"),r=require("../../icons/icon/icon.comp.js"),n=require("../../typography/text/text.comp.js");exports.NavigationCard=({icon:t,title:o,description:a,onClick:c,"data-testid":d="navigation-card"})=>e.jsxs(i.Card,{$clickable:!!c,role:c?"button":void 0,tabIndex:c?0:void 0,onClick:c,onKeyDown:c?e=>{"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),c?.())}:void 0,"data-testid":d,children:[e.jsx(i.Arrow,{"aria-hidden":!0,children:e.jsx(r.Icon,{name:"arrow_right_up",size:18,color:"grey_2"})}),e.jsx(i.IconCircle,{"aria-hidden":!0,children:e.jsx(r.Icon,{name:t,size:24,gradient:!0})}),e.jsx(n.Text,{weight:"medium",color:"grey_1",align:"center",children:o}),e.jsx(n.Text,{size:"bodySm",color:"grey_3",align:"center",children:a})]});
2
+ //# sourceMappingURL=navigation-card.comp.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"navigation-card.comp.js","sources":["../../../../../src/components/navigation/navigation-card/navigation-card.comp.tsx"],"sourcesContent":["import { KeyboardEvent } from 'react'\n\nimport { Icon } from '../../icons/icon'\nimport { Text } from '../../typography'\n\nimport { NavigationCardProps } from './navigation-card.types'\n\nimport * as Styles from './navigation-card.styles'\n\n/**\n * Atalho para outra tela, em card: ícone no círculo, título e descrição centralizados e a seta\n * no canto. Use em linha, com poucos atalhos (até uns cinco), pelo NavigationCards.\n * Para muitos atalhos ou atalhos em grupos, use NavigationSections; para link no meio do texto, TextLink.\n * @example <NavigationCard icon=\"barcode_box\" title=\"Produtos\" description=\"Total de produtos cadastrados\" onClick={goToProducts} />\n */\nexport const NavigationCard = ({\n icon,\n title,\n description,\n onClick,\n 'data-testid': testId = 'navigation-card',\n}: NavigationCardProps) => {\n const handleKeyDown = (event: KeyboardEvent<HTMLDivElement>) => {\n if (event.key === 'Enter' || event.key === ' ') {\n event.preventDefault()\n onClick?.()\n }\n }\n\n return (\n <Styles.Card\n $clickable={!!onClick}\n role={onClick ? 'button' : undefined}\n tabIndex={onClick ? 0 : undefined}\n onClick={onClick}\n onKeyDown={onClick ? handleKeyDown : undefined}\n data-testid={testId}\n >\n <Styles.Arrow aria-hidden>\n <Icon name=\"arrow_right_up\" size={18} color=\"grey_2\" />\n </Styles.Arrow>\n <Styles.IconCircle aria-hidden>\n <Icon name={icon} size={24} gradient />\n </Styles.IconCircle>\n <Text weight=\"medium\" color=\"grey_1\" align=\"center\">\n {title}\n </Text>\n <Text size=\"bodySm\" color=\"grey_3\" align=\"center\">\n {description}\n </Text>\n </Styles.Card>\n )\n}\n"],"names":["NavigationCard","icon","title","description","onClick","testId","_jsxs","Styles","$clickable","role","undefined","tabIndex","onKeyDown","event","key","preventDefault","children","_jsx","jsx","Icon","name","size","color","gradient","Text","weight","align"],"mappings":"2MAe8BA,EAC5BC,OACAC,QACAC,cACAC,UACA,cAAeC,EAAS,qBAUtBC,EAAAA,KAACC,EAAAA,KAAW,CAAAC,aACIJ,EACdK,KAAML,EAAU,cAAWM,EAC3BC,SAAUP,EAAU,OAAIM,EACxBN,QAASA,EACTQ,UAAWR,EAbQS,IACH,UAAdA,EAAMC,KAAiC,MAAdD,EAAMC,MACjCD,EAAME,iBACNX,MACF,OASuCM,EAAS,cACjCL,EAAMW,SAAA,CAEnBC,EAACC,IAAAX,QACC,CAAA,eAAA,EAAAS,SAAAC,EAAAC,IAACC,OAAI,CAACC,KAAK,iBAAiBC,KAAM,GAAIC,MAAM,aAE9CL,EAAAC,IAACX,aAAiB,CAAA,eAAA,EAAAS,SAChBC,MAACE,OAAI,CAACC,KAAMnB,EAAMoB,KAAM,GAAIE,UAAQ,MAEtCN,EAACC,IAAAM,QAAKC,OAAO,SAASH,MAAM,SAASI,MAAM,SAAQV,SAChDd,IAEHe,EAAAC,IAACM,OAAK,CAAAH,KAAK,SAASC,MAAM,SAASI,MAAM,SACtCV,SAAAb"}
@@ -0,0 +1,47 @@
1
+ "use strict";var e=require("styled-components"),o=require("../../../theme/theme.util.js");const t=e.styled.div`
2
+ display: flex;
3
+ flex-wrap: wrap;
4
+ align-items: stretch;
5
+ gap: ${({theme:e})=>e.spacing.md};
6
+ width: 100%;
7
+ `,r=e.styled.div`
8
+ position: relative;
9
+ display: flex;
10
+ flex: 1 1 0;
11
+ flex-direction: column;
12
+ align-items: center;
13
+ gap: ${({theme:e})=>e.spacing.md};
14
+ min-width: min(${"220px"}, 100%);
15
+ padding: ${({theme:e})=>e.spacing.md};
16
+ border: 1px solid ${({theme:e})=>o.getThemeColor("grey_5",e)};
17
+ border-radius: ${({theme:e})=>e.radius.lg};
18
+ background-color: ${({theme:e})=>o.getThemeColor("white",e)};
19
+ box-shadow: ${({theme:e})=>e.shadow.sm};
20
+ transition: background-color
21
+ ${({theme:e})=>`${e.motion.duration.normal} ${e.motion.easing.default}`};
22
+
23
+ ${({$clickable:t,theme:r})=>t&&e.css`
24
+ cursor: pointer;
25
+
26
+ &:hover {
27
+ background-color: ${o.getThemeColor("grey_6",r)};
28
+ }
29
+
30
+ &:focus-visible {
31
+ outline: none;
32
+ box-shadow: ${r.shadow.focus};
33
+ }
34
+ `}
35
+ `,i=e.styled.span`
36
+ position: absolute;
37
+ top: ${({theme:e})=>e.spacing.md};
38
+ right: ${({theme:e})=>e.spacing.md};
39
+ display: flex;
40
+ `,s=e.styled.span`
41
+ display: flex;
42
+ padding: ${({theme:e})=>e.spacing.sm};
43
+ border: 2px solid ${({theme:e})=>o.getThemeColor("grey_5",e)};
44
+ border-radius: ${({theme:e})=>e.radius.full};
45
+ background-color: ${({theme:e})=>o.getThemeColor("white",e)};
46
+ `;exports.Arrow=i,exports.Card=r,exports.IconCircle=s,exports.List=t;
47
+ //# sourceMappingURL=navigation-card.styles.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"navigation-card.styles.js","sources":["../../../../../src/components/navigation/navigation-card/navigation-card.styles.tsx"],"sourcesContent":["import { css, styled } from 'styled-components'\n\nimport { getThemeColor } from '../../../theme'\n\n/** Largura mínima de cada card. Abaixo disso, ele desce para a linha de baixo. */\nconst CARD_MIN_WIDTH = '220px'\n\nexport const List = styled.div`\n display: flex;\n flex-wrap: wrap;\n align-items: stretch;\n gap: ${({ theme }) => theme.spacing.md};\n width: 100%;\n`\n\nexport const Card = styled.div<{ $clickable: boolean }>`\n position: relative;\n display: flex;\n flex: 1 1 0;\n flex-direction: column;\n align-items: center;\n gap: ${({ theme }) => theme.spacing.md};\n min-width: min(${CARD_MIN_WIDTH}, 100%);\n padding: ${({ theme }) => theme.spacing.md};\n border: 1px solid ${({ theme }) => getThemeColor('grey_5', theme)};\n border-radius: ${({ theme }) => theme.radius.lg};\n background-color: ${({ theme }) => getThemeColor('white', theme)};\n box-shadow: ${({ theme }) => theme.shadow.sm};\n transition: background-color\n ${({ theme }) =>\n `${theme.motion.duration.normal} ${theme.motion.easing.default}`};\n\n ${({ $clickable, theme }) =>\n $clickable &&\n css`\n cursor: pointer;\n\n &:hover {\n background-color: ${getThemeColor('grey_6', theme)};\n }\n\n &:focus-visible {\n outline: none;\n box-shadow: ${theme.shadow.focus};\n }\n `}\n`\n\nexport const Arrow = styled.span`\n position: absolute;\n top: ${({ theme }) => theme.spacing.md};\n right: ${({ theme }) => theme.spacing.md};\n display: flex;\n`\n\nexport const IconCircle = styled.span`\n display: flex;\n padding: ${({ theme }) => theme.spacing.sm};\n border: 2px solid ${({ theme }) => getThemeColor('grey_5', theme)};\n border-radius: ${({ theme }) => theme.radius.full};\n background-color: ${({ theme }) => getThemeColor('white', theme)};\n`\n"],"names":["List","styled","div","theme","spacing","md","Card","getThemeColor","radius","lg","shadow","sm","motion","duration","normal","easing","default","$clickable","css","focus","Arrow","span","IconCircle","full"],"mappings":"0FAKA,MAEaA,EAAOC,EAAMA,OAACC,GAAG;;;;SAIrB,EAAGC,WAAYA,EAAMC,QAAQC;;EAIzBC,EAAOL,EAAMA,OAACC,GAA4B;;;;;;SAM9C,EAAGC,WAAYA,EAAMC,QAAQC;mBAhBf;aAkBV,EAAGF,WAAYA,EAAMC,QAAQC;sBACpB,EAAGF,WAAYI,EAAaA,cAAC,SAAUJ;mBAC1C,EAAGA,WAAYA,EAAMK,OAAOC;sBACzB,EAAGN,WAAYI,EAAaA,cAAC,QAASJ;gBAC5C,EAAGA,WAAYA,EAAMO,OAAOC;;MAEtC,EAAGR,WACH,GAAGA,EAAMS,OAAOC,SAASC,UAAUX,EAAMS,OAAOG,OAAOC;;IAEzD,EAAGC,aAAYd,WACfc,GACAC,EAAAA,GAAG;;;;4BAIqBX,EAAaA,cAAC,SAAUJ;;;;;sBAK9BA,EAAMO,OAAOS;;;EAKtBC,EAAQnB,EAAMA,OAACoB,IAAI;;SAEvB,EAAGlB,WAAYA,EAAMC,QAAQC;WAC3B,EAAGF,WAAYA,EAAMC,QAAQC;;EAI3BiB,EAAarB,EAAMA,OAACoB,IAAI;;aAExB,EAAGlB,WAAYA,EAAMC,QAAQO;sBACpB,EAAGR,WAAYI,EAAaA,cAAC,SAAUJ;mBAC1C,EAAGA,WAAYA,EAAMK,OAAOe;sBACzB,EAAGpB,WAAYI,EAAaA,cAAC,QAASJ;"}
@@ -0,0 +1,2 @@
1
+ "use strict";var a=require("react/jsx-runtime"),i=require("./navigation-card.comp.js"),r=require("./navigation-card.styles.js");exports.NavigationCards=({items:t})=>a.jsx(r.List,{"data-testid":"navigation-cards",children:t.map((({key:r,...t})=>a.jsx(i.NavigationCard,{...t},r)))});
2
+ //# sourceMappingURL=navigation-cards.comp.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"navigation-cards.comp.js","sources":["../../../../../src/components/navigation/navigation-card/navigation-cards.comp.tsx"],"sourcesContent":["import { NavigationCard } from './navigation-card.comp'\nimport { NavigationCardsProps } from './navigation-card.types'\n\nimport * as Styles from './navigation-card.styles'\n\n/**\n * Linha de atalhos em card (NavigationCard) no topo de uma dashboard. Os cards dividem a\n * largura e descem para a linha de baixo quando não cabem (mínimo de 220px cada).\n * Use com poucos atalhos (até uns cinco); para muitos ou em grupos, use NavigationSections.\n * @example\n * <NavigationCards\n * items={[\n * { key: 'products', icon: 'barcode_box', title: 'Produtos', description: 'Total de produtos cadastrados' },\n * { key: 'orders', icon: 'checkbox_circle', title: 'Pedidos de compra', description: 'Registre e acompanhe pedidos' },\n * ]}\n * />\n */\nexport const NavigationCards = ({ items }: NavigationCardsProps) => (\n <Styles.List data-testid=\"navigation-cards\">\n {items.map(({ key, ...card }) => (\n <NavigationCard key={key} {...card} />\n ))}\n </Styles.List>\n)\n"],"names":["NavigationCards","items","_jsx","Styles","children","map","key","card","NavigationCard"],"mappings":"wJAiB+BA,EAAGC,WAChCC,EAAAA,IAACC,EAAAA,oBAAwB,mBAAkBC,SACxCH,EAAMI,KAAI,EAAGC,SAAQC,KACpBL,EAAAA,IAACM,EAAAA,eAAc,IAAeD,GAATD"}
@@ -0,0 +1,2 @@
1
+ "use strict";var e=require("react/jsx-runtime"),i=require("react"),n=require("./navigation-sections.styles.js"),o=require("../../icons/icon-box/icon-box.comp.js"),t=require("../../icons/icon/icon.comp.js"),c=require("../../typography/text/text.comp.js");const r=({section:r})=>{const s=i.useId(),l=e=>i=>{"Enter"!==i.key&&" "!==i.key||(i.preventDefault(),e.onClick?.())};return e.jsxs(n.Section,{"aria-labelledby":s,children:[e.jsxs(n.SectionHeader,{children:[e.jsx(t.Icon,{name:r.icon,size:16,color:"grey_2"}),e.jsx(n.SectionLabel,{id:s,children:r.title})]}),e.jsx(n.Grid,{children:r.items.map((i=>e.jsxs(n.Item,{$clickable:!!i.onClick,role:i.onClick?"button":void 0,tabIndex:i.onClick?0:void 0,onClick:i.onClick,onKeyDown:i.onClick?l(i):void 0,"data-testid":"navigation-section-item",children:[e.jsx(o.IconBox,{icon:i.icon,size:20}),e.jsxs(n.Content,{children:[e.jsx(c.Text,{weight:"medium",color:"grey_1",children:i.title}),e.jsx(n.Description,{children:i.description})]}),e.jsx(n.Arrow,{"aria-hidden":!0,children:e.jsx(t.Icon,{name:"arrow_right",size:18,color:"grey_3"})})]},i.key)))})]})};exports.NavigationSections=({sections:i})=>e.jsx(n.Panel,{"data-testid":"navigation-sections",children:i.filter((e=>e.items.length>0)).map((i=>e.jsx(r,{section:i},i.key)))});
2
+ //# sourceMappingURL=navigation-sections.comp.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"navigation-sections.comp.js","sources":["../../../../../src/components/navigation/navigation-sections/navigation-sections.comp.tsx"],"sourcesContent":["import { KeyboardEvent, useId } from 'react'\n\nimport { Icon } from '../../icons/icon'\nimport { IconBox } from '../../icons/icon-box'\nimport { Text } from '../../typography'\n\nimport {\n NavigationSection,\n NavigationSectionItem,\n NavigationSectionsProps,\n} from './navigation-sections.types'\n\nimport * as Styles from './navigation-sections.styles'\n\nconst SectionBlock = ({ section }: { section: NavigationSection }) => {\n const labelId = useId()\n\n const handleKeyDown =\n (item: NavigationSectionItem) => (event: KeyboardEvent<HTMLDivElement>) => {\n if (event.key === 'Enter' || event.key === ' ') {\n event.preventDefault()\n item.onClick?.()\n }\n }\n\n return (\n <Styles.Section aria-labelledby={labelId}>\n <Styles.SectionHeader>\n <Icon name={section.icon} size={16} color=\"grey_2\" />\n <Styles.SectionLabel id={labelId}>{section.title}</Styles.SectionLabel>\n </Styles.SectionHeader>\n <Styles.Grid>\n {section.items.map((item) => (\n <Styles.Item\n key={item.key}\n $clickable={!!item.onClick}\n role={item.onClick ? 'button' : undefined}\n tabIndex={item.onClick ? 0 : undefined}\n onClick={item.onClick}\n onKeyDown={item.onClick ? handleKeyDown(item) : undefined}\n data-testid=\"navigation-section-item\"\n >\n <IconBox icon={item.icon} size={20} />\n <Styles.Content>\n <Text weight=\"medium\" color=\"grey_1\">\n {item.title}\n </Text>\n <Styles.Description>{item.description}</Styles.Description>\n </Styles.Content>\n <Styles.Arrow aria-hidden>\n <Icon name=\"arrow_right\" size={18} color=\"grey_3\" />\n </Styles.Arrow>\n </Styles.Item>\n ))}\n </Styles.Grid>\n </Styles.Section>\n )\n}\n\n/**\n * Painel de atalhos agrupados em seções, para o topo de módulos com muitas telas (Compliance,\n * Relatórios). Cada atalho é uma linha com ícone em caixa, título, descrição de até duas\n * linhas e seta. Para poucos atalhos soltos (até uns cinco), use NavigationCards.\n * @example\n * <NavigationSections\n * sections={[\n * {\n * key: 'register',\n * icon: 'file_list',\n * title: 'Cadastro & Configuração',\n * items: [{ key: 'providers', icon: 'user_community', title: 'Fornecedores', description: 'Gerencie e monitore seus fornecedores', onClick: goToProviders }],\n * },\n * ]}\n * />\n */\nexport const NavigationSections = ({ sections }: NavigationSectionsProps) => (\n <Styles.Panel data-testid=\"navigation-sections\">\n {sections\n .filter((section) => section.items.length > 0)\n .map((section) => (\n <SectionBlock key={section.key} section={section} />\n ))}\n </Styles.Panel>\n)\n"],"names":["SectionBlock","section","labelId","useId","handleKeyDown","item","event","key","preventDefault","onClick","_jsxs","Styles","children","jsxs","_jsx","jsx","Icon","name","icon","size","color","id","title","items","map","$clickable","role","undefined","tabIndex","onKeyDown","IconBox","Text","weight","description","NavigationSections","sections","filter","length"],"mappings":"8PAcA,MAAMA,EAAeA,EAAGC,cACtB,MAAMC,EAAUC,EAAAA,QAEVC,EACHC,GAAiCC,IACd,UAAdA,EAAMC,KAAiC,MAAdD,EAAMC,MACjCD,EAAME,iBACNH,EAAKI,YACP,EAGJ,OACEC,EAAAA,KAACC,EAAAA,QAAgC,CAAA,kBAAAT,EAC/BU,SAAA,CAAAF,EAAAG,KAACF,gBACC,CAAAC,SAAA,CAAAE,EAAAC,IAACC,OAAK,CAAAC,KAAMhB,EAAQiB,KAAMC,KAAM,GAAIC,MAAM,WAC1CN,EAACC,IAAAJ,eAAoB,CAAAU,GAAInB,EAAOU,SAAGX,EAAQqB,WAE7CR,EAACC,IAAAJ,iBACEV,EAAQsB,MAAMC,KAAKnB,GAClBK,OAACC,OAEa,CAAAc,aAAEpB,EAAKI,QACnBiB,KAAMrB,EAAKI,QAAU,cAAWkB,EAChCC,SAAUvB,EAAKI,QAAU,OAAIkB,EAC7BlB,QAASJ,EAAKI,QACdoB,UAAWxB,EAAKI,QAAUL,EAAcC,QAAQsB,EACpC,cAAA,0BAEZf,SAAA,CAAAE,EAAAC,IAACe,UAAQ,CAAAZ,KAAMb,EAAKa,KAAMC,KAAM,KAChCT,OAACC,UACC,CAAAC,SAAA,CAAAE,EAAAC,IAACgB,OAAK,CAAAC,OAAO,SAASZ,MAAM,SAAQR,SACjCP,EAAKiB,QAERR,EAAAC,IAACJ,cAAkB,CAAAC,SAAEP,EAAK4B,iBAE5BnB,MAACH,QAAY,CAAA,eAAA,EAAAC,SACXE,EAACC,IAAAC,QAAKC,KAAK,cAAcE,KAAM,GAAIC,MAAM,eAhBtCf,EAAKE,WAqBD,6BAoBa2B,EAAGC,cACnCrB,EAAAA,IAACH,EAAAA,MAAyB,CAAA,cAAA,+BACvBwB,EACEC,QAAQnC,GAAYA,EAAQsB,MAAMc,OAAS,IAC3Cb,KAAKvB,GACJa,EAAAA,IAACd,EAA+B,CAAAC,QAASA,GAAtBA,EAAQM"}
@@ -0,0 +1,91 @@
1
+ "use strict";var e=require("styled-components"),t=require("../../../theme/theme.util.js");const o="260px",i=e.css`
2
+ ${({theme:e})=>`${e.motion.duration.normal} ${e.motion.easing.default}`}
3
+ `,r=e.styled.div`
4
+ display: flex;
5
+ flex-direction: column;
6
+ gap: ${({theme:e})=>e.spacing.md};
7
+ width: 100%;
8
+ padding: ${({theme:e})=>e.spacing.md};
9
+ border-radius: ${({theme:e})=>e.radius.xl};
10
+ background-color: ${({theme:e})=>t.getThemeColor("white",e)};
11
+ box-shadow: ${({theme:e})=>e.shadow.sm};
12
+ `,s=e.styled.section`
13
+ display: flex;
14
+ flex-direction: column;
15
+ gap: ${({theme:e})=>e.spacing.sm};
16
+ width: 100%;
17
+ `,a=e.styled.div`
18
+ display: flex;
19
+ align-items: center;
20
+ gap: ${({theme:e})=>e.spacing.sm};
21
+ `,n=e.styled.h2`
22
+ margin: 0;
23
+ font-size: ${({theme:e})=>e.typography.textSize.bodySm};
24
+ font-weight: ${({theme:e})=>e.typography.fontWeight.medium};
25
+ color: ${({theme:e})=>t.getThemeColor("grey_2",e)};
26
+ text-transform: uppercase;
27
+ letter-spacing: ${"0.06em"};
28
+ `,l=e.styled.div`
29
+ display: flex;
30
+ flex-wrap: wrap;
31
+ align-items: stretch;
32
+ gap: ${({theme:e})=>e.spacing.sm};
33
+ width: 100%;
34
+ `,d=e.styled.span`
35
+ display: flex;
36
+ flex-shrink: 0;
37
+ opacity: ${.6};
38
+ transition:
39
+ transform ${i},
40
+ opacity ${i};
41
+ `,m=e.styled.div`
42
+ display: flex;
43
+ flex: 1 1 ${o};
44
+ align-items: center;
45
+ gap: ${({theme:e})=>e.spacing[1.5]};
46
+ min-width: min(${o}, 100%);
47
+ padding: ${({theme:e})=>e.spacing[1.5]}
48
+ ${({theme:e})=>e.spacing.md};
49
+ border: 1px solid ${({theme:e})=>t.getThemeColor("grey_5",e)};
50
+ border-radius: ${({theme:e})=>e.radius.md};
51
+ background-color: ${({theme:e})=>t.getThemeColor("white",e)};
52
+ transition:
53
+ transform ${i},
54
+ background-color ${i},
55
+ box-shadow ${i};
56
+
57
+ ${({$clickable:o,theme:i})=>o&&e.css`
58
+ cursor: pointer;
59
+ user-select: none;
60
+
61
+ &:hover {
62
+ transform: translateY(-${"2px"});
63
+ box-shadow: ${i.shadow.sm};
64
+ background-color: ${t.getThemeColor("grey_6",i)};
65
+ }
66
+
67
+ &:hover ${d} {
68
+ transform: translateX(${"3px"});
69
+ opacity: 1;
70
+ }
71
+
72
+ &:focus-visible {
73
+ outline: none;
74
+ box-shadow: ${i.shadow.focus};
75
+ }
76
+ `}
77
+ `,h=e.styled.div`
78
+ display: flex;
79
+ flex: 1;
80
+ flex-direction: column;
81
+ min-width: 0;
82
+ `,p=e.styled.span`
83
+ display: -webkit-box;
84
+ overflow: hidden;
85
+ font-size: ${({theme:e})=>e.typography.textSize.bodySm};
86
+ line-height: ${({theme:e})=>e.typography.lineHeight.snug};
87
+ color: ${({theme:e})=>t.getThemeColor("grey_3",e)};
88
+ -webkit-line-clamp: 2;
89
+ -webkit-box-orient: vertical;
90
+ `;exports.Arrow=d,exports.Content=h,exports.Description=p,exports.Grid=l,exports.Item=m,exports.Panel=r,exports.Section=s,exports.SectionHeader=a,exports.SectionLabel=n;
91
+ //# sourceMappingURL=navigation-sections.styles.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"navigation-sections.styles.js","sources":["../../../../../src/components/navigation/navigation-sections/navigation-sections.styles.tsx"],"sourcesContent":["import { css, styled } from 'styled-components'\n\nimport { getThemeColor } from '../../../theme'\n\n/** Largura mínima de cada atalho. Abaixo disso, ele desce para a linha de baixo. */\nconst ITEM_MIN_WIDTH = '260px'\n\n/** Quanto a seta aparece em repouso; no hover ela fica inteira. */\nconst ARROW_REST_OPACITY = 0.6\n\n/** Quanto o atalho sobe e a seta anda no hover. */\nconst HOVER_LIFT = '2px'\nconst ARROW_SHIFT = '3px'\n\n/** Espaço entre as letras do nome da seção, que fica em maiúsculas. */\nconst LABEL_LETTER_SPACING = '0.06em'\n\nconst transition = css`\n ${({ theme }) =>\n `${theme.motion.duration.normal} ${theme.motion.easing.default}`}\n`\n\nexport const Panel = styled.div`\n display: flex;\n flex-direction: column;\n gap: ${({ theme }) => theme.spacing.md};\n width: 100%;\n padding: ${({ theme }) => theme.spacing.md};\n border-radius: ${({ theme }) => theme.radius.xl};\n background-color: ${({ theme }) => getThemeColor('white', theme)};\n box-shadow: ${({ theme }) => theme.shadow.sm};\n`\n\nexport const Section = styled.section`\n display: flex;\n flex-direction: column;\n gap: ${({ theme }) => theme.spacing.sm};\n width: 100%;\n`\n\nexport const SectionHeader = styled.div`\n display: flex;\n align-items: center;\n gap: ${({ theme }) => theme.spacing.sm};\n`\n\nexport const SectionLabel = styled.h2`\n margin: 0;\n font-size: ${({ theme }) => theme.typography.textSize.bodySm};\n font-weight: ${({ theme }) => theme.typography.fontWeight.medium};\n color: ${({ theme }) => getThemeColor('grey_2', theme)};\n text-transform: uppercase;\n letter-spacing: ${LABEL_LETTER_SPACING};\n`\n\nexport const Grid = styled.div`\n display: flex;\n flex-wrap: wrap;\n align-items: stretch;\n gap: ${({ theme }) => theme.spacing.sm};\n width: 100%;\n`\n\nexport const Arrow = styled.span`\n display: flex;\n flex-shrink: 0;\n opacity: ${ARROW_REST_OPACITY};\n transition:\n transform ${transition},\n opacity ${transition};\n`\n\nexport const Item = styled.div<{ $clickable: boolean }>`\n display: flex;\n flex: 1 1 ${ITEM_MIN_WIDTH};\n align-items: center;\n gap: ${({ theme }) => theme.spacing[1.5]};\n min-width: min(${ITEM_MIN_WIDTH}, 100%);\n padding: ${({ theme }) => theme.spacing[1.5]}\n ${({ theme }) => theme.spacing.md};\n border: 1px solid ${({ theme }) => getThemeColor('grey_5', theme)};\n border-radius: ${({ theme }) => theme.radius.md};\n background-color: ${({ theme }) => getThemeColor('white', theme)};\n transition:\n transform ${transition},\n background-color ${transition},\n box-shadow ${transition};\n\n ${({ $clickable, theme }) =>\n $clickable &&\n css`\n cursor: pointer;\n user-select: none;\n\n &:hover {\n transform: translateY(-${HOVER_LIFT});\n box-shadow: ${theme.shadow.sm};\n background-color: ${getThemeColor('grey_6', theme)};\n }\n\n &:hover ${Arrow} {\n transform: translateX(${ARROW_SHIFT});\n opacity: 1;\n }\n\n &:focus-visible {\n outline: none;\n box-shadow: ${theme.shadow.focus};\n }\n `}\n`\n\nexport const Content = styled.div`\n display: flex;\n flex: 1;\n flex-direction: column;\n min-width: 0;\n`\n\nexport const Description = styled.span`\n display: -webkit-box;\n overflow: hidden;\n font-size: ${({ theme }) => theme.typography.textSize.bodySm};\n line-height: ${({ theme }) => theme.typography.lineHeight.snug};\n color: ${({ theme }) => getThemeColor('grey_3', theme)};\n -webkit-line-clamp: 2;\n -webkit-box-orient: vertical;\n`\n"],"names":["ITEM_MIN_WIDTH","transition","css","theme","motion","duration","normal","easing","default","Panel","styled","div","spacing","md","radius","xl","getThemeColor","shadow","sm","Section","section","SectionHeader","SectionLabel","h2","typography","textSize","bodySm","fontWeight","medium","Grid","Arrow","span","Item","$clickable","focus","Content","Description","lineHeight","snug"],"mappings":"0FAKA,MAAMA,EAAiB,QAYjBC,EAAaC,EAAAA,GAAG;IAClB,EAAGC,WACH,GAAGA,EAAMC,OAAOC,SAASC,UAAUH,EAAMC,OAAOG,OAAOC;EAG9CC,EAAQC,EAAMA,OAACC,GAAG;;;SAGtB,EAAGR,WAAYA,EAAMS,QAAQC;;aAEzB,EAAGV,WAAYA,EAAMS,QAAQC;mBACvB,EAAGV,WAAYA,EAAMW,OAAOC;sBACzB,EAAGZ,WAAYa,EAAaA,cAAC,QAASb;gBAC5C,EAAGA,WAAYA,EAAMc,OAAOC;EAG/BC,EAAUT,EAAMA,OAACU,OAAO;;;SAG5B,EAAGjB,WAAYA,EAAMS,QAAQM;;EAIzBG,EAAgBX,EAAMA,OAACC,GAAG;;;SAG9B,EAAGR,WAAYA,EAAMS,QAAQM;EAGzBI,EAAeZ,EAAMA,OAACa,EAAE;;eAEtB,EAAGpB,WAAYA,EAAMqB,WAAWC,SAASC;iBACvC,EAAGvB,WAAYA,EAAMqB,WAAWG,WAAWC;WACjD,EAAGzB,WAAYa,EAAaA,cAAC,SAAUb;;oBAnCrB;EAwChB0B,EAAOnB,EAAMA,OAACC,GAAG;;;;SAIrB,EAAGR,WAAYA,EAAMS,QAAQM;;EAIzBY,EAAQpB,EAAMA,OAACqB,IAAI;;;aAvDL;;gBA4DX9B;cACFA;EAGD+B,EAAOtB,EAAMA,OAACC,GAA4B;;cAEzCX;;SAEL,EAAGG,WAAYA,EAAMS,QAAQ;mBACnBZ;aACN,EAAGG,WAAYA,EAAMS,QAAQ;MACpC,EAAGT,WAAYA,EAAMS,QAAQC;sBACb,EAAGV,WAAYa,EAAaA,cAAC,SAAUb;mBAC1C,EAAGA,WAAYA,EAAMW,OAAOD;sBACzB,EAAGV,WAAYa,EAAaA,cAAC,QAASb;;gBAE5CF;uBACOA;iBACNA;;IAEb,EAAGgC,aAAY9B,WACf8B,GACA/B,EAAAA,GAAG;;;;;iCA/EY;sBAqFGC,EAAMc,OAAOC;4BACPF,EAAaA,cAAC,SAAUb;;;gBAGpC2B;gCAxFI;;;;;;sBA+FE3B,EAAMc,OAAOiB;;;EAKtBC,EAAUzB,EAAMA,OAACC,GAAG;;;;;EAOpByB,EAAc1B,EAAMA,OAACqB,IAAI;;;eAGvB,EAAG5B,WAAYA,EAAMqB,WAAWC,SAASC;iBACvC,EAAGvB,WAAYA,EAAMqB,WAAWa,WAAWC;WACjD,EAAGnC,WAAYa,EAAaA,cAAC,SAAUb;;;"}
@@ -1,2 +1,2 @@
1
- "use strict";var e=require("./components/buttons/button/button.comp.js"),o=require("./components/buttons/icon-button/icon-button.comp.js"),t=require("./components/charts/doughnut-chart/doughnut-chart.comp.js"),r=require("./components/charts/bar-chart/bar-chart.comp.js"),s=require("./components/charts/line-chart/line-chart.comp.js"),i=require("./components/charts/treemap-chart/treemap-chart.comp.js"),p=require("./components/charts/chart-legend/chart-legend.comp.js"),a=require("./components/data-display/calendar/calendar.comp.js"),n=require("./components/data-display/info-item/info-item.comp.js"),c=require("./components/data-display/matrix/matrix.comp.js"),m=require("./components/data-display/tinted-section/tinted-section.comp.js"),u=require("./components/data-display/tree-node/tree-node.comp.js"),l=require("./components/data-display/canvas-controls/canvas-controls.comp.js"),x=require("./components/data-display/side-panel/side-panel.comp.js"),d=require("./components/feedback/spinner/spinner.comp.js"),g=require("./components/feedback/tooltip/tooltip.comp.js"),h=require("./components/feedback/skeleton/skeleton.comp.js"),T=require("./components/feedback/tag/tag.comp.js"),C=require("./components/feedback/toast/toast.comp.js"),j=require("./components/feedback/toast/toast.provider.js"),q=require("./components/feedback/empty-state/empty-state.comp.js"),b=require("./components/feedback/alert/alert.comp.js"),f=require("./components/feedback/progress-bar/progress-bar.comp.js"),v=require("./components/feedback/confirm-dialog/confirm-dialog.comp.js"),k=require("./components/feedback/confirm-dialog/confirm-dialog.provider.js"),I=require("./components/forms/autocomplete/autocomplete.comp.js"),S=require("./components/forms/checkbox/checkbox.comp.js"),y=require("./components/forms/date/month-picker/month-picker.comp.js"),D=require("./components/forms/date/date-picker/date.utils.js"),P=require("./components/forms/date/date-picker/date-picker.comp.js"),w=require("./components/forms/date/date-picker/date-range-picker.comp.js"),B=require("./components/forms/file/drag-n-drop/drag-n-drop.comp.js"),L=require("./components/forms/file/file-preview/file-preview.comp.js"),R=require("./components/forms/file/file-image-preview/file-image-preview.comp.js"),A=require("./components/forms/file/file-preview-list/file-preview-list.comp.js"),E=require("./components/forms/file/file-image-preview-list/file-image-preview-list.comp.js"),O=require("./components/forms/input/input.comp.js"),F=require("./components/forms/select/select.comp.js"),_=require("./components/forms/switch/switch.comp.js"),N=require("./components/forms/textarea/textarea.comp.js"),M=require("./components/forms/search-input/search-input.comp.js"),H=require("./components/forms/radio-group/radio-group.comp.js"),U=require("./components/icons/icon/icon.comp.js"),V=require("./components/icons/icon/icon.utils.js"),z=require("./components/icons/icon-box/icon-box.comp.js"),G=require("./components/images/image/image.comp.js"),K=require("./components/images/avatar/avatar.comp.js"),Q=require("./components/layout/accordion/accordion.comp.js"),X=require("./components/layout/box/box.comp.js"),J=require("./components/layout/modal/modal.comp.js"),W=require("./components/layout/timeline/timeline.comp.js"),Y=require("./components/layout/treeview/treeview.comp.js"),Z=require("./components/layout/popover/popover.comp.js"),$=require("./components/layout/table/table.comp.js"),ee=require("./components/layout/slider/slider.comp.js"),oe=require("./components/layout/drawer/drawer.comp.js"),te=require("./components/layout/card/card.comp.js"),re=require("./components/layout/title-card/title-card.comp.js"),se=require("./components/layout/stat-card/stat-card.comp.js"),ie=require("./components/layout/divider/divider.comp.js"),pe=require("./components/navigation/pagination/pagination.comp.js"),ae=require("./components/navigation/tabs/tabs.comp.js"),ne=require("./components/navigation/text-link/text-link.comp.js"),ce=require("./components/navigation/table-pagination/table-pagination.comp.js"),me=require("./components/navigation/breadcrumb/breadcrumb.comp.js"),ue=require("./components/navigation/action-menu/action-menu.comp.js"),le=require("./components/navigation/stepper/stepper.comp.js"),xe=require("./components/navigation/view-toggle/view-toggle.comp.js"),de=require("./components/typography/text/text.comp.js"),ge=require("./hooks/use-breakpoint.js"),he=require("./theme/generated/tokens.js"),Te=require("./theme/create-theme.js"),Ce=require("./theme/chart-colors.js"),je=require("./theme/client-theme.js"),qe=require("./theme/default-theme.js"),be=require("./theme/global-styles.js"),fe=require("./theme/media.js"),ve=require("./theme/theme-provider.js"),ke=require("./theme/theme.util.js");exports.Button=e.Button,exports.IconButton=o.IconButton,exports.DoughnutChart=t.DoughnutChart,exports.BarChart=r.BarChart,exports.LineChart=s.LineChart,exports.TreemapChart=i.TreemapChart,exports.ChartLegend=p.ChartLegend,exports.Calendar=a.Calendar,exports.InfoItem=n.InfoItem,exports.Matrix=c.Matrix,exports.getBand=c.getBand,exports.TintedSection=m.TintedSection,exports.TreeNode=u.TreeNode,exports.CanvasButton=l.CanvasButton,exports.CanvasPanel=l.CanvasPanel,exports.DirectionToggle=l.DirectionToggle,exports.FullscreenToggle=l.FullscreenToggle,exports.SelectableItem=x.SelectableItem,exports.SidePanel=x.SidePanel,exports.Spinner=d.Spinner,exports.Tooltip=g.Tooltip,exports.Skeleton=h.Skeleton,exports.Tag=T.Tag,exports.Toast=C.Toast,exports.ToastStackStyles=C.ToastStackStyles,exports.ToastProvider=j.ToastProvider,exports.useToast=j.useToast,exports.EmptyState=q.EmptyState,exports.Alert=b.Alert,exports.ProgressBar=f.ProgressBar,exports.ConfirmDialog=v.ConfirmDialog,exports.ConfirmDialogProvider=k.ConfirmDialogProvider,exports.useConfirm=k.useConfirm,exports.Autocomplete=I.Autocomplete,exports.CustomAutocomplete=I.CustomAutocomplete,exports.CheckBox=S.CheckBox,exports.Checkbox=S.Checkbox,exports.CustomCheckBox=S.CustomCheckBox,exports.MonthPicker=y.MonthPicker,exports.formatDateKey=D.formatDateKey,exports.parseDateText=D.parseDateText,exports.DEFAULT_DATE_LABELS=P.DEFAULT_DATE_LABELS,exports.DatePicker=P.DatePicker,exports.initialDay=P.initialDay,exports.DateRangePicker=w.DateRangePicker,exports.DragNDrop=B.DragNDrop,exports.FileDropzone=B.FileDropzone,exports.FilePreview=L.FilePreview,exports.FileImagePreview=R.FileImagePreview,exports.FilePreviewList=A.FilePreviewList,exports.FileImagePreviewList=E.FileImagePreviewList,exports.CustomInput=O.CustomInput,exports.Input=O.Input,exports.Select=F.Select,exports.CustomSwitch=_.CustomSwitch,exports.Switch=_.Switch,exports.CustomTextArea=N.CustomTextArea,exports.TextArea=N.TextArea,exports.SearchInput=M.SearchInput,exports.RadioGroup=H.RadioGroup,exports.Icon=U.Icon,exports.LUCIDE_PREFIX=V.LUCIDE_PREFIX,exports.allIconsOptions=V.allIconsOptions,exports.customIconsOptions=V.customIconsOptions,exports.isLucideName=V.isLucideName,exports.parseIconNameToLucide=V.parseIconNameToLucide,exports.parseIconNameToRemixIcon=V.parseIconNameToRemixIcon,exports.IconBox=z.IconBox,exports.Image=G.Image,exports.Avatar=K.Avatar,exports.Accordion=Q.Accordion,exports.Box=X.Box,exports.CustomBox=X.CustomBox,exports.Modal=J.Modal,exports.Timeline=W.Timeline,exports.TreeView=Y.TreeView,exports.Treeview=Y.Treeview,exports.Popover=Z.Popover,exports.Table=$.Table,exports.Carousel=ee.Carousel,exports.Slider=ee.Slider,exports.Drawer=oe.Drawer,exports.Card=te.Card,exports.TitleCard=re.TitleCard,exports.StatCard=se.StatCard,exports.Divider=ie.Divider,exports.Pagination=pe.Pagination,exports.Tabs=ae.Tabs,exports.TextLink=ne.TextLink,exports.TablePagination=ce.TablePagination,exports.Breadcrumb=me.Breadcrumb,exports.ActionMenu=ue.ActionMenu,exports.Stepper=le.Stepper,exports.ViewToggle=xe.ViewToggle,exports.Text=de.Text,exports.useBreakpoint=ge.useBreakpoint,exports.useIsMobile=ge.useIsMobile,exports.useIsTablet=ge.useIsTablet,exports.useMediaQuery=ge.useMediaQuery,exports.tokens=he.tokens,exports.createTheme=Te.createTheme,exports.CHART_COLOR_ORDER=Ce.CHART_COLOR_ORDER,exports.CHART_OTHER_COLOR=Ce.CHART_OTHER_COLOR,exports.getChartColors=Ce.getChartColors,exports.SUPPORTED_CLIENT_FONTS=je.SUPPORTED_CLIENT_FONTS,exports.createClientTheme=je.createClientTheme,exports.getClientThemeIssues=je.getClientThemeIssues,exports.defaultTheme=qe.defaultTheme,exports.legacyTheme=qe.legacyTheme,exports.GlobalStyle=be.GlobalStyle,exports.breakpointValues=fe.breakpointValues,exports.media=fe.media,exports.ThemeProvider=ve.ThemeProvider,exports.adjustColorBrightness=ke.adjustColorBrightness,exports.getContrastRatio=ke.getContrastRatio,exports.getLuminance=ke.getLuminance,exports.getReadableTextColor=ke.getReadableTextColor,exports.getThemeColor=ke.getThemeColor,exports.getThemeContrastColor=ke.getThemeContrastColor,exports.getThemeSize=ke.getThemeSize,exports.getThemeSpacing=ke.getThemeSpacing,exports.mixColors=ke.mixColors;
1
+ "use strict";var e=require("./components/buttons/button/button.comp.js"),o=require("./components/buttons/icon-button/icon-button.comp.js"),t=require("./components/charts/doughnut-chart/doughnut-chart.comp.js"),r=require("./components/charts/bar-chart/bar-chart.comp.js"),s=require("./components/charts/line-chart/line-chart.comp.js"),i=require("./components/charts/treemap-chart/treemap-chart.comp.js"),a=require("./components/charts/chart-legend/chart-legend.comp.js"),n=require("./components/data-display/calendar/calendar.comp.js"),p=require("./components/data-display/info-item/info-item.comp.js"),c=require("./components/data-display/matrix/matrix.comp.js"),m=require("./components/data-display/tinted-section/tinted-section.comp.js"),l=require("./components/data-display/tree-node/tree-node.comp.js"),u=require("./components/data-display/canvas-controls/canvas-controls.comp.js"),x=require("./components/data-display/side-panel/side-panel.comp.js"),d=require("./components/feedback/spinner/spinner.comp.js"),g=require("./components/feedback/tooltip/tooltip.comp.js"),h=require("./components/feedback/skeleton/skeleton.comp.js"),T=require("./components/feedback/tag/tag.comp.js"),C=require("./components/feedback/toast/toast.comp.js"),j=require("./components/feedback/toast/toast.provider.js"),q=require("./components/feedback/empty-state/empty-state.comp.js"),v=require("./components/feedback/alert/alert.comp.js"),b=require("./components/feedback/progress-bar/progress-bar.comp.js"),f=require("./components/feedback/confirm-dialog/confirm-dialog.comp.js"),k=require("./components/feedback/confirm-dialog/confirm-dialog.provider.js"),S=require("./components/forms/autocomplete/autocomplete.comp.js"),I=require("./components/forms/checkbox/checkbox.comp.js"),y=require("./components/forms/date/month-picker/month-picker.comp.js"),D=require("./components/forms/date/date-picker/date.utils.js"),P=require("./components/forms/date/date-picker/date-picker.comp.js"),w=require("./components/forms/date/date-picker/date-range-picker.comp.js"),B=require("./components/forms/file/drag-n-drop/drag-n-drop.comp.js"),L=require("./components/forms/file/file-preview/file-preview.comp.js"),R=require("./components/forms/file/file-image-preview/file-image-preview.comp.js"),A=require("./components/forms/file/file-preview-list/file-preview-list.comp.js"),O=require("./components/forms/file/file-image-preview-list/file-image-preview-list.comp.js"),E=require("./components/forms/input/input.comp.js"),N=require("./components/forms/select/select.comp.js"),F=require("./components/forms/switch/switch.comp.js"),_=require("./components/forms/textarea/textarea.comp.js"),M=require("./components/forms/search-input/search-input.comp.js"),H=require("./components/forms/radio-group/radio-group.comp.js"),U=require("./components/icons/icon/icon.comp.js"),V=require("./components/icons/icon/icon.utils.js"),z=require("./components/icons/icon-box/icon-box.comp.js"),G=require("./components/images/image/image.comp.js"),K=require("./components/images/avatar/avatar.comp.js"),Q=require("./components/layout/accordion/accordion.comp.js"),X=require("./components/layout/box/box.comp.js"),J=require("./components/layout/modal/modal.comp.js"),W=require("./components/layout/timeline/timeline.comp.js"),Y=require("./components/layout/treeview/treeview.comp.js"),Z=require("./components/layout/popover/popover.comp.js"),$=require("./components/layout/table/table.comp.js"),ee=require("./components/layout/slider/slider.comp.js"),oe=require("./components/layout/drawer/drawer.comp.js"),te=require("./components/layout/card/card.comp.js"),re=require("./components/layout/title-card/title-card.comp.js"),se=require("./components/layout/stat-card/stat-card.comp.js"),ie=require("./components/layout/divider/divider.comp.js"),ae=require("./components/navigation/pagination/pagination.comp.js"),ne=require("./components/navigation/tabs/tabs.comp.js"),pe=require("./components/navigation/text-link/text-link.comp.js"),ce=require("./components/navigation/table-pagination/table-pagination.comp.js"),me=require("./components/navigation/breadcrumb/breadcrumb.comp.js"),le=require("./components/navigation/action-menu/action-menu.comp.js"),ue=require("./components/navigation/stepper/stepper.comp.js"),xe=require("./components/navigation/view-toggle/view-toggle.comp.js"),de=require("./components/navigation/navigation-card/navigation-card.comp.js"),ge=require("./components/navigation/navigation-card/navigation-cards.comp.js"),he=require("./components/navigation/navigation-sections/navigation-sections.comp.js"),Te=require("./components/typography/text/text.comp.js"),Ce=require("./hooks/use-breakpoint.js"),je=require("./theme/generated/tokens.js"),qe=require("./theme/create-theme.js"),ve=require("./theme/chart-colors.js"),be=require("./theme/client-theme.js"),fe=require("./theme/default-theme.js"),ke=require("./theme/global-styles.js"),Se=require("./theme/media.js"),Ie=require("./theme/scrollbar.js"),ye=require("./theme/theme-provider.js"),De=require("./theme/theme.util.js");exports.Button=e.Button,exports.IconButton=o.IconButton,exports.DoughnutChart=t.DoughnutChart,exports.BarChart=r.BarChart,exports.LineChart=s.LineChart,exports.TreemapChart=i.TreemapChart,exports.ChartLegend=a.ChartLegend,exports.Calendar=n.Calendar,exports.InfoItem=p.InfoItem,exports.Matrix=c.Matrix,exports.getBand=c.getBand,exports.TintedSection=m.TintedSection,exports.TreeNode=l.TreeNode,exports.CanvasButton=u.CanvasButton,exports.CanvasPanel=u.CanvasPanel,exports.DirectionToggle=u.DirectionToggle,exports.FullscreenToggle=u.FullscreenToggle,exports.SelectableItem=x.SelectableItem,exports.SidePanel=x.SidePanel,exports.Spinner=d.Spinner,exports.Tooltip=g.Tooltip,exports.Skeleton=h.Skeleton,exports.Tag=T.Tag,exports.Toast=C.Toast,exports.ToastStackStyles=C.ToastStackStyles,exports.ToastProvider=j.ToastProvider,exports.useToast=j.useToast,exports.EmptyState=q.EmptyState,exports.Alert=v.Alert,exports.ProgressBar=b.ProgressBar,exports.ConfirmDialog=f.ConfirmDialog,exports.ConfirmDialogProvider=k.ConfirmDialogProvider,exports.useConfirm=k.useConfirm,exports.Autocomplete=S.Autocomplete,exports.CustomAutocomplete=S.CustomAutocomplete,exports.CheckBox=I.CheckBox,exports.Checkbox=I.Checkbox,exports.CustomCheckBox=I.CustomCheckBox,exports.MonthPicker=y.MonthPicker,exports.formatDateKey=D.formatDateKey,exports.parseDateText=D.parseDateText,exports.DEFAULT_DATE_LABELS=P.DEFAULT_DATE_LABELS,exports.DatePicker=P.DatePicker,exports.initialDay=P.initialDay,exports.DateRangePicker=w.DateRangePicker,exports.DragNDrop=B.DragNDrop,exports.FileDropzone=B.FileDropzone,exports.FilePreview=L.FilePreview,exports.FileImagePreview=R.FileImagePreview,exports.FilePreviewList=A.FilePreviewList,exports.FileImagePreviewList=O.FileImagePreviewList,exports.CustomInput=E.CustomInput,exports.Input=E.Input,exports.Select=N.Select,exports.CustomSwitch=F.CustomSwitch,exports.Switch=F.Switch,exports.CustomTextArea=_.CustomTextArea,exports.TextArea=_.TextArea,exports.SearchInput=M.SearchInput,exports.RadioGroup=H.RadioGroup,exports.Icon=U.Icon,exports.LUCIDE_PREFIX=V.LUCIDE_PREFIX,exports.allIconsOptions=V.allIconsOptions,exports.customIconsOptions=V.customIconsOptions,exports.isLucideName=V.isLucideName,exports.parseIconNameToLucide=V.parseIconNameToLucide,exports.parseIconNameToRemixIcon=V.parseIconNameToRemixIcon,exports.IconBox=z.IconBox,exports.Image=G.Image,exports.Avatar=K.Avatar,exports.Accordion=Q.Accordion,exports.Box=X.Box,exports.CustomBox=X.CustomBox,exports.Modal=J.Modal,exports.Timeline=W.Timeline,exports.TreeView=Y.TreeView,exports.Treeview=Y.Treeview,exports.Popover=Z.Popover,exports.Table=$.Table,exports.Carousel=ee.Carousel,exports.Slider=ee.Slider,exports.Drawer=oe.Drawer,exports.Card=te.Card,exports.TitleCard=re.TitleCard,exports.StatCard=se.StatCard,exports.Divider=ie.Divider,exports.Pagination=ae.Pagination,exports.Tabs=ne.Tabs,exports.TextLink=pe.TextLink,exports.TablePagination=ce.TablePagination,exports.Breadcrumb=me.Breadcrumb,exports.ActionMenu=le.ActionMenu,exports.Stepper=ue.Stepper,exports.ViewToggle=xe.ViewToggle,exports.NavigationCard=de.NavigationCard,exports.NavigationCards=ge.NavigationCards,exports.NavigationSections=he.NavigationSections,exports.Text=Te.Text,exports.useBreakpoint=Ce.useBreakpoint,exports.useIsMobile=Ce.useIsMobile,exports.useIsTablet=Ce.useIsTablet,exports.useMediaQuery=Ce.useMediaQuery,exports.tokens=je.tokens,exports.createTheme=qe.createTheme,exports.CHART_COLOR_ORDER=ve.CHART_COLOR_ORDER,exports.CHART_OTHER_COLOR=ve.CHART_OTHER_COLOR,exports.getChartColors=ve.getChartColors,exports.SUPPORTED_CLIENT_FONTS=be.SUPPORTED_CLIENT_FONTS,exports.createClientTheme=be.createClientTheme,exports.getClientThemeIssues=be.getClientThemeIssues,exports.defaultTheme=fe.defaultTheme,exports.legacyTheme=fe.legacyTheme,exports.GlobalStyle=ke.GlobalStyle,exports.breakpointValues=Se.breakpointValues,exports.media=Se.media,exports.thinScrollbar=Ie.thinScrollbar,exports.thinScrollbarOnHover=Ie.thinScrollbarOnHover,exports.ThemeProvider=ye.ThemeProvider,exports.adjustColorBrightness=De.adjustColorBrightness,exports.getContrastRatio=De.getContrastRatio,exports.getLuminance=De.getLuminance,exports.getReadableTextColor=De.getReadableTextColor,exports.getThemeColor=De.getThemeColor,exports.getThemeContrastColor=De.getThemeContrastColor,exports.getThemeSize=De.getThemeSize,exports.getThemeSpacing=De.getThemeSpacing,exports.mixColors=De.mixColors;
2
2
  //# sourceMappingURL=index.js.map
@@ -0,0 +1,39 @@
1
+ "use strict";var r=require("styled-components"),e=require("./theme.util.js");const t=r.css`
2
+ scrollbar-width: thin;
3
+ scrollbar-color: ${({theme:r})=>e.getThemeColor("grey_4",r)} transparent;
4
+
5
+ &::-webkit-scrollbar {
6
+ width: ${({theme:r})=>r.spacing.xs};
7
+ height: ${({theme:r})=>r.spacing.xs};
8
+ }
9
+
10
+ &::-webkit-scrollbar-track {
11
+ background: transparent;
12
+ }
13
+
14
+ &::-webkit-scrollbar-thumb {
15
+ border-radius: ${({theme:r})=>r.radius.full};
16
+ background: ${({theme:r})=>e.getThemeColor("grey_4",r)};
17
+ }
18
+
19
+ &::-webkit-scrollbar-thumb:hover {
20
+ background: ${({theme:r})=>e.getThemeColor("grey_3",r)};
21
+ }
22
+ `,o=r.css`
23
+ ${t}
24
+ scrollbar-color: transparent transparent;
25
+
26
+ &::-webkit-scrollbar-thumb {
27
+ background: transparent;
28
+ }
29
+
30
+ &:hover {
31
+ scrollbar-color: ${({theme:r})=>e.getThemeColor("grey_4",r)}
32
+ transparent;
33
+ }
34
+
35
+ &:hover::-webkit-scrollbar-thumb {
36
+ background: ${({theme:r})=>e.getThemeColor("grey_4",r)};
37
+ }
38
+ `;exports.thinScrollbar=t,exports.thinScrollbarOnHover=o;
39
+ //# sourceMappingURL=scrollbar.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"scrollbar.js","sources":["../../../src/theme/scrollbar.ts"],"sourcesContent":["import { css } from 'styled-components'\n\nimport { getThemeColor } from './theme.util'\n\n/**\n * Barra de rolagem fina, a mesma em toda área que rola (regra de ouro 12): 4px, polegar\n * `grey_4` (`grey_3` no hover), trilho transparente e raio `full`. Use dentro do styled de\n * qualquer contêiner com `overflow: auto`, em vez de escrever `::-webkit-scrollbar`.\n * @example\n * const List = styled.ul`\n * overflow-y: auto;\n * ${thinScrollbar}\n * `\n */\nexport const thinScrollbar = css`\n scrollbar-width: thin;\n scrollbar-color: ${({ theme }) => getThemeColor('grey_4', theme)} transparent;\n\n &::-webkit-scrollbar {\n width: ${({ theme }) => theme.spacing.xs};\n height: ${({ theme }) => theme.spacing.xs};\n }\n\n &::-webkit-scrollbar-track {\n background: transparent;\n }\n\n &::-webkit-scrollbar-thumb {\n border-radius: ${({ theme }) => theme.radius.full};\n background: ${({ theme }) => getThemeColor('grey_4', theme)};\n }\n\n &::-webkit-scrollbar-thumb:hover {\n background: ${({ theme }) => getThemeColor('grey_3', theme)};\n }\n`\n\n/**\n * Barra fina que só aparece com o mouse em cima, para faixas que rolam de lado (ex. Carousel).\n * No celular, sem hover, a rolagem continua pelo toque.\n */\nexport const thinScrollbarOnHover = css`\n ${thinScrollbar}\n scrollbar-color: transparent transparent;\n\n &::-webkit-scrollbar-thumb {\n background: transparent;\n }\n\n &:hover {\n scrollbar-color: ${({ theme }) => getThemeColor('grey_4', theme)}\n transparent;\n }\n\n &:hover::-webkit-scrollbar-thumb {\n background: ${({ theme }) => getThemeColor('grey_4', theme)};\n }\n`\n"],"names":["thinScrollbar","css","theme","getThemeColor","spacing","xs","radius","full","thinScrollbarOnHover"],"mappings":"6EAcO,MAAMA,EAAgBC,EAAAA,GAAG;;qBAEX,EAAGC,WAAYC,EAAaA,cAAC,SAAUD;;;aAG/C,EAAGA,WAAYA,EAAME,QAAQC;cAC5B,EAAGH,WAAYA,EAAME,QAAQC;;;;;;;;qBAQtB,EAAGH,WAAYA,EAAMI,OAAOC;kBAC/B,EAAGL,WAAYC,EAAaA,cAAC,SAAUD;;;;kBAIvC,EAAGA,WAAYC,EAAaA,cAAC,SAAUD;;EAQ5CM,EAAuBP,EAAAA,GAAG;IACnCD;;;;;;;;uBAQmB,EAAGE,WAAYC,EAAaA,cAAC,SAAUD;;;;;kBAK5C,EAAGA,WAAYC,EAAaA,cAAC,SAAUD;;"}
package/lib/index.d.ts CHANGED
@@ -593,6 +593,23 @@ declare const media: {
593
593
  between: (from: Breakpoint, to: Breakpoint) => string;
594
594
  };
595
595
 
596
+ /**
597
+ * Barra de rolagem fina, a mesma em toda área que rola (regra de ouro 12): 4px, polegar
598
+ * `grey_4` (`grey_3` no hover), trilho transparente e raio `full`. Use dentro do styled de
599
+ * qualquer contêiner com `overflow: auto`, em vez de escrever `::-webkit-scrollbar`.
600
+ * @example
601
+ * const List = styled.ul`
602
+ * overflow-y: auto;
603
+ * ${thinScrollbar}
604
+ * `
605
+ */
606
+ declare const thinScrollbar: styled_components.RuleSet<object>;
607
+ /**
608
+ * Barra fina que só aparece com o mouse em cima, para faixas que rolam de lado (ex. Carousel).
609
+ * No celular, sem hover, a rolagem continua pelo toque.
610
+ */
611
+ declare const thinScrollbarOnHover: styled_components.RuleSet<object>;
612
+
596
613
  interface ThemeProviderProps {
597
614
  children: React.ReactNode;
598
615
  theme: ThemeProps;
@@ -3558,6 +3575,100 @@ interface ViewToggleProps<V extends string = string> {
3558
3575
  */
3559
3576
  declare const ViewToggle: <V extends string = string>({ options, value, onChange, "aria-label": ariaLabel, size, fullWidth, }: ViewToggleProps<V>) => react_jsx_runtime.JSX.Element;
3560
3577
 
3578
+ /** Props for the NavigationCard component */
3579
+ interface NavigationCardProps {
3580
+ /** Ícone do atalho, em gradiente dentro de um círculo. */
3581
+ icon: IconsName;
3582
+ /** Nome da tela para onde o atalho leva (ex. "Produtos"). */
3583
+ title: string;
3584
+ /** Uma frase sobre o que a pessoa encontra lá. */
3585
+ description: string;
3586
+ /** Chamado ao clicar ou apertar Enter/Espaço. Sem ele, o card é só ilustração e não recebe foco. */
3587
+ onClick?: () => void;
3588
+ /** `data-testid` do card, para testes. @default 'navigation-card' */
3589
+ 'data-testid'?: string;
3590
+ }
3591
+ /** Um atalho da lista do NavigationCards. */
3592
+ interface NavigationCardsItem extends NavigationCardProps {
3593
+ /** Chave única do atalho na lista. */
3594
+ key: string;
3595
+ }
3596
+ /** Props for the NavigationCards component */
3597
+ interface NavigationCardsProps {
3598
+ /** Atalhos, na ordem em que aparecem (até uns cinco). */
3599
+ items: NavigationCardsItem[];
3600
+ }
3601
+
3602
+ /**
3603
+ * Atalho para outra tela, em card: ícone no círculo, título e descrição centralizados e a seta
3604
+ * no canto. Use em linha, com poucos atalhos (até uns cinco), pelo NavigationCards.
3605
+ * Para muitos atalhos ou atalhos em grupos, use NavigationSections; para link no meio do texto, TextLink.
3606
+ * @example <NavigationCard icon="barcode_box" title="Produtos" description="Total de produtos cadastrados" onClick={goToProducts} />
3607
+ */
3608
+ declare const NavigationCard: ({ icon, title, description, onClick, "data-testid": testId, }: NavigationCardProps) => react_jsx_runtime.JSX.Element;
3609
+
3610
+ /**
3611
+ * Linha de atalhos em card (NavigationCard) no topo de uma dashboard. Os cards dividem a
3612
+ * largura e descem para a linha de baixo quando não cabem (mínimo de 220px cada).
3613
+ * Use com poucos atalhos (até uns cinco); para muitos ou em grupos, use NavigationSections.
3614
+ * @example
3615
+ * <NavigationCards
3616
+ * items={[
3617
+ * { key: 'products', icon: 'barcode_box', title: 'Produtos', description: 'Total de produtos cadastrados' },
3618
+ * { key: 'orders', icon: 'checkbox_circle', title: 'Pedidos de compra', description: 'Registre e acompanhe pedidos' },
3619
+ * ]}
3620
+ * />
3621
+ */
3622
+ declare const NavigationCards: ({ items }: NavigationCardsProps) => react_jsx_runtime.JSX.Element;
3623
+
3624
+ /** Um atalho dentro de uma seção do NavigationSections. */
3625
+ interface NavigationSectionItem {
3626
+ /** Chave única do atalho na seção. */
3627
+ key: string;
3628
+ /** Ícone do atalho, numa caixinha (IconBox). */
3629
+ icon: IconsName;
3630
+ /** Nome da tela para onde o atalho leva (ex. "Fornecedores"). */
3631
+ title: string;
3632
+ /** O que a pessoa encontra lá. Corta em duas linhas. */
3633
+ description: string;
3634
+ /** Chamado ao clicar ou apertar Enter/Espaço. Sem ele, o atalho é só ilustração e não recebe foco. */
3635
+ onClick?: () => void;
3636
+ }
3637
+ /** Um grupo de atalhos do NavigationSections. */
3638
+ interface NavigationSection {
3639
+ /** Chave única da seção. */
3640
+ key: string;
3641
+ /** Ícone pequeno antes do nome da seção. */
3642
+ icon: IconsName;
3643
+ /** Nome da seção (ex. "Cadastro & Configuração"). Aparece em maiúsculas. */
3644
+ title: string;
3645
+ /** Atalhos da seção, na ordem em que aparecem. */
3646
+ items: NavigationSectionItem[];
3647
+ }
3648
+ /** Props for the NavigationSections component */
3649
+ interface NavigationSectionsProps {
3650
+ /** Seções, de cima para baixo. Seção sem atalho não aparece. */
3651
+ sections: NavigationSection[];
3652
+ }
3653
+
3654
+ /**
3655
+ * Painel de atalhos agrupados em seções, para o topo de módulos com muitas telas (Compliance,
3656
+ * Relatórios). Cada atalho é uma linha com ícone em caixa, título, descrição de até duas
3657
+ * linhas e seta. Para poucos atalhos soltos (até uns cinco), use NavigationCards.
3658
+ * @example
3659
+ * <NavigationSections
3660
+ * sections={[
3661
+ * {
3662
+ * key: 'register',
3663
+ * icon: 'file_list',
3664
+ * title: 'Cadastro & Configuração',
3665
+ * items: [{ key: 'providers', icon: 'user_community', title: 'Fornecedores', description: 'Gerencie e monitore seus fornecedores', onClick: goToProviders }],
3666
+ * },
3667
+ * ]}
3668
+ * />
3669
+ */
3670
+ declare const NavigationSections: ({ sections }: NavigationSectionsProps) => react_jsx_runtime.JSX.Element;
3671
+
3561
3672
  /** Props for the Text component — the main typography primitive */
3562
3673
  interface TextProps {
3563
3674
  /** Text content or child elements */
@@ -3635,4 +3746,4 @@ declare const useIsTablet: (options?: ScreenHookOptions) => boolean;
3635
3746
  */
3636
3747
  declare const useBreakpoint: ({ ssr }?: ScreenHookOptions) => Breakpoint | "base";
3637
3748
 
3638
- export { Accordion, type AccordionProps, ActionMenu, type ActionMenuItem, type ActionMenuProps, Alert, type AlertProps, type AlertStatus, Autocomplete, type AutocompleteOption, type AutocompleteProps, Avatar, type AvatarProps, BarChart, type BarChartData, type BarChartProps, Box, type BoxProps, Breadcrumb, type BreadcrumbItem, type BreadcrumbProps, type Breakpoint, Button, type ButtonProps, type ButtonSize, type ButtonVariant, CHART_COLOR_ORDER, CHART_OTHER_COLOR, type CSSCursor, Calendar, type CalendarEvent, type CalendarLabels, type CalendarLegendItem, type CalendarProps, CanvasButton, type CanvasButtonProps, CanvasPanel, type CanvasPanelProps, Card, type CardProps, type CardVariant, Carousel, type CarouselProps, type CellAlign, type ChartColorName, ChartLegend, type ChartLegendItem, type ChartLegendProps, CheckBox, type CheckBoxProps, Checkbox, type CheckboxAlign, type CheckboxProps, type ClientFont, type ClientThemeIssue, type ClientThemeOptions, ConfirmDialog, type ConfirmDialogProps, ConfirmDialogProvider, type ConfirmDialogReason, type ConfirmOptions, CustomAutocomplete, CustomBox, CustomCheckBox, type CustomIconName, type CustomIconProps, CustomInput, CustomSwitch, CustomTextArea, DEFAULT_DATE_LABELS, DatePicker, type DatePickerLabels, type DatePickerProps, type DateRange, DateRangePicker, type DateRangePickerProps, type DateRangePreset, type DeepPartial, DirectionToggle, type DirectionToggleProps, Divider, type DividerProps, DoughnutChart, type DoughnutChartProps, DragNDrop, type DragNDropProps, Drawer, type DrawerAnchor, type DrawerProps, EmptyState, type EmptyStateProps, type ExternalIconName, FileDropzone, type FileDropzoneProps, FileImagePreview, FileImagePreviewList, type FileImagePreviewListProps, type FileImagePreviewProps, FilePreview, FilePreviewList, type FilePreviewListProps, type FilePreviewProps, FullscreenToggle, type FullscreenToggleProps, GlobalStyle, Icon, IconBox, type IconBoxProps, IconButton, type IconButtonProps, type IconButtonSize, type IconButtonVariant, type IconProps, type IconsName, Image, type ImageProps, InfoItem, type InfoItemProps, Input, type InputProps, LUCIDE_PREFIX, type LegacyButtonSize, LineChart, type LineChartData, type LineChartProps, type LineChartSeries, type LuIconName, type LucideIconName, Matrix, type MatrixAxisItem, type MatrixBand, type MatrixCell, type MatrixCellStyle, type MatrixItem, type MatrixKey, type MatrixLegendItem, type MatrixProps, Modal, type ModalProps, MonthPicker, type MonthPickerProps, Pagination, type PaginationProps, type PartsProps, Popover, type PopoverPosition, type PopoverProps, ProgressBar, type ProgressBarProps, RadioGroup, type RadioGroupProps, type RadioOption, type RiIconName, SUPPORTED_CLIENT_FONTS, type ScreenHookOptions, SearchInput, type SearchInputProps, Select, type SelectOption, type SelectProps, SelectableItem, type SelectableItemProps, SidePanel, type SidePanelProps, type SizeType, Skeleton, type SkeletonProps, Slider, type SliderProps, type SpacingName, Spinner, type SpinnerProps, StatCard, type StatCardProps, type StepState, Stepper, type StepperLabels, type StepperProps, type StepperStep, Switch, type SwitchProps, type TabItem, Table, type TableData, type TableHeader, TablePagination, type TablePaginationProps, type TableProps, Tabs, type TabsProps, type TabsVariant, Tag, type TagProps, Text, TextArea, type TextAreaProps, type TextElementTags, TextLink, type TextLinkProps, type TextProps, type Theme, type ThemeColorPath, type ThemeColors, type ThemeProps, CustomThemeProvider as ThemeProvider, Timeline, type TimelineProps, TintedSection, type TintedSectionProps, TitleCard, type TitleCardProps, Toast, type ToastApi, type ToastConfig, type ToastOptions, type ToastPosition, type ToastProps, ToastProvider, type ToastProviderProps, ToastStackStyles, type ToastType, type Tokens, Tooltip, type TooltipProps, type TreeDirection, TreeNode, type TreeNodeBaseProps, type TreeNodeCaptionProps, type TreeNodeProps, type TreeNodeTitleProps, TreeView, type TreeViewProps, TreemapChart, type TreemapChartData, type TreemapChartProps, Treeview, type TreeviewProps, ViewToggle, type ViewToggleOption, type ViewToggleProps, adjustColorBrightness, allIconsOptions, breakpointValues, createClientTheme, createTheme, customIconsOptions, defaultTheme, formatDateKey, getBand, getChartColors, getClientThemeIssues, getContrastRatio, getLuminance, getReadableTextColor, getThemeColor, getThemeContrastColor, getThemeSize, getThemeSpacing, initialDay, isLucideName, legacyTheme, media, mixColors, parseDateText, parseIconNameToLucide, parseIconNameToRemixIcon, tokens, useBreakpoint, useConfirm, useIsMobile, useIsTablet, useMediaQuery, useToast };
3749
+ export { Accordion, type AccordionProps, ActionMenu, type ActionMenuItem, type ActionMenuProps, Alert, type AlertProps, type AlertStatus, Autocomplete, type AutocompleteOption, type AutocompleteProps, Avatar, type AvatarProps, BarChart, type BarChartData, type BarChartProps, Box, type BoxProps, Breadcrumb, type BreadcrumbItem, type BreadcrumbProps, type Breakpoint, Button, type ButtonProps, type ButtonSize, type ButtonVariant, CHART_COLOR_ORDER, CHART_OTHER_COLOR, type CSSCursor, Calendar, type CalendarEvent, type CalendarLabels, type CalendarLegendItem, type CalendarProps, CanvasButton, type CanvasButtonProps, CanvasPanel, type CanvasPanelProps, Card, type CardProps, type CardVariant, Carousel, type CarouselProps, type CellAlign, type ChartColorName, ChartLegend, type ChartLegendItem, type ChartLegendProps, CheckBox, type CheckBoxProps, Checkbox, type CheckboxAlign, type CheckboxProps, type ClientFont, type ClientThemeIssue, type ClientThemeOptions, ConfirmDialog, type ConfirmDialogProps, ConfirmDialogProvider, type ConfirmDialogReason, type ConfirmOptions, CustomAutocomplete, CustomBox, CustomCheckBox, type CustomIconName, type CustomIconProps, CustomInput, CustomSwitch, CustomTextArea, DEFAULT_DATE_LABELS, DatePicker, type DatePickerLabels, type DatePickerProps, type DateRange, DateRangePicker, type DateRangePickerProps, type DateRangePreset, type DeepPartial, DirectionToggle, type DirectionToggleProps, Divider, type DividerProps, DoughnutChart, type DoughnutChartProps, DragNDrop, type DragNDropProps, Drawer, type DrawerAnchor, type DrawerProps, EmptyState, type EmptyStateProps, type ExternalIconName, FileDropzone, type FileDropzoneProps, FileImagePreview, FileImagePreviewList, type FileImagePreviewListProps, type FileImagePreviewProps, FilePreview, FilePreviewList, type FilePreviewListProps, type FilePreviewProps, FullscreenToggle, type FullscreenToggleProps, GlobalStyle, Icon, IconBox, type IconBoxProps, IconButton, type IconButtonProps, type IconButtonSize, type IconButtonVariant, type IconProps, type IconsName, Image, type ImageProps, InfoItem, type InfoItemProps, Input, type InputProps, LUCIDE_PREFIX, type LegacyButtonSize, LineChart, type LineChartData, type LineChartProps, type LineChartSeries, type LuIconName, type LucideIconName, Matrix, type MatrixAxisItem, type MatrixBand, type MatrixCell, type MatrixCellStyle, type MatrixItem, type MatrixKey, type MatrixLegendItem, type MatrixProps, Modal, type ModalProps, MonthPicker, type MonthPickerProps, NavigationCard, type NavigationCardProps, NavigationCards, type NavigationCardsItem, type NavigationCardsProps, type NavigationSection, type NavigationSectionItem, NavigationSections, type NavigationSectionsProps, Pagination, type PaginationProps, type PartsProps, Popover, type PopoverPosition, type PopoverProps, ProgressBar, type ProgressBarProps, RadioGroup, type RadioGroupProps, type RadioOption, type RiIconName, SUPPORTED_CLIENT_FONTS, type ScreenHookOptions, SearchInput, type SearchInputProps, Select, type SelectOption, type SelectProps, SelectableItem, type SelectableItemProps, SidePanel, type SidePanelProps, type SizeType, Skeleton, type SkeletonProps, Slider, type SliderProps, type SpacingName, Spinner, type SpinnerProps, StatCard, type StatCardProps, type StepState, Stepper, type StepperLabels, type StepperProps, type StepperStep, Switch, type SwitchProps, type TabItem, Table, type TableData, type TableHeader, TablePagination, type TablePaginationProps, type TableProps, Tabs, type TabsProps, type TabsVariant, Tag, type TagProps, Text, TextArea, type TextAreaProps, type TextElementTags, TextLink, type TextLinkProps, type TextProps, type Theme, type ThemeColorPath, type ThemeColors, type ThemeProps, CustomThemeProvider as ThemeProvider, Timeline, type TimelineProps, TintedSection, type TintedSectionProps, TitleCard, type TitleCardProps, Toast, type ToastApi, type ToastConfig, type ToastOptions, type ToastPosition, type ToastProps, ToastProvider, type ToastProviderProps, ToastStackStyles, type ToastType, type Tokens, Tooltip, type TooltipProps, type TreeDirection, TreeNode, type TreeNodeBaseProps, type TreeNodeCaptionProps, type TreeNodeProps, type TreeNodeTitleProps, TreeView, type TreeViewProps, TreemapChart, type TreemapChartData, type TreemapChartProps, Treeview, type TreeviewProps, ViewToggle, type ViewToggleOption, type ViewToggleProps, adjustColorBrightness, allIconsOptions, breakpointValues, createClientTheme, createTheme, customIconsOptions, defaultTheme, formatDateKey, getBand, getChartColors, getClientThemeIssues, getContrastRatio, getLuminance, getReadableTextColor, getThemeColor, getThemeContrastColor, getThemeSize, getThemeSpacing, initialDay, isLucideName, legacyTheme, media, mixColors, parseDateText, parseIconNameToLucide, parseIconNameToRemixIcon, thinScrollbar, thinScrollbarOnHover, tokens, useBreakpoint, useConfirm, useIsMobile, useIsTablet, useMediaQuery, useToast };
@@ -1,20 +1,20 @@
1
- import{styled as e,css as t}from"styled-components";import{media as o}from"../../../theme/media.js";import{getThemeColor as i}from"../../../theme/theme.util.js";const r=e.div`
1
+ import{styled as e,css as t}from"styled-components";import{media as o}from"../../../theme/media.js";import{getThemeColor as i}from"../../../theme/theme.util.js";import{thinScrollbar as r}from"../../../theme/scrollbar.js";const a=e.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  gap: ${({theme:e})=>e.spacing.md};
5
5
  width: 100%;
6
6
  min-width: 280px;
7
7
  font-family: ${({theme:e})=>e.typography.fontFamily};
8
- `,a=e.div`
8
+ `,n=e.div`
9
9
  display: flex;
10
10
  align-items: center;
11
11
  justify-content: space-between;
12
12
  gap: ${({theme:e})=>e.spacing.sm};
13
- `,n=e.span`
13
+ `,p=e.span`
14
14
  font-size: ${({theme:e})=>e.typography.textSize.body};
15
15
  font-weight: ${({theme:e})=>e.typography.fontWeight.medium};
16
16
  color: ${({theme:e})=>e.colors.grey_1};
17
- `,p=e.div`
17
+ `,s=e.div`
18
18
  display: grid;
19
19
  grid-template-columns: repeat(7, minmax(0, 1fr));
20
20
  gap: 4px;
@@ -22,7 +22,7 @@ import{styled as e,css as t}from"styled-components";import{media as o}from"../..
22
22
  ${o.down("md")} {
23
23
  gap: 2px;
24
24
  }
25
- `,s=e.abbr`
25
+ `,m=e.abbr`
26
26
  padding: 4px;
27
27
  text-align: center;
28
28
  text-decoration: none;
@@ -30,7 +30,7 @@ import{styled as e,css as t}from"styled-components";import{media as o}from"../..
30
30
  font-size: ${({theme:e})=>e.typography.textSize.caption};
31
31
  font-weight: ${({theme:e})=>e.typography.fontWeight.medium};
32
32
  color: ${({theme:e})=>e.colors.grey_2};
33
- `,m=e.button`
33
+ `,l=e.button`
34
34
  display: flex;
35
35
  flex-direction: column;
36
36
  align-items: flex-start;
@@ -67,22 +67,22 @@ import{styled as e,css as t}from"styled-components";import{media as o}from"../..
67
67
  min-height: 36px;
68
68
  padding: 2px;
69
69
  }
70
- `,l=e.span`
70
+ `,h=e.span`
71
71
  font-size: ${({theme:e})=>e.typography.textSize.caption};
72
72
  font-weight: ${({$today:e,theme:t})=>e?t.typography.fontWeight.semibold:t.typography.fontWeight.regular};
73
73
  color: ${({$outside:e,$today:t,theme:o})=>t?o.colors.primary:e?o.colors.grey_3:o.colors.grey_1};
74
- `,h=e.span`
74
+ `,g=e.span`
75
75
  display: flex;
76
76
  flex-wrap: wrap;
77
77
  align-items: center;
78
78
  gap: 2px;
79
- `,g=e.span`
79
+ `,d=e.span`
80
80
  flex: none;
81
81
  width: ${({$size:e})=>e??8}px;
82
82
  height: ${({$size:e})=>e??8}px;
83
83
  border-radius: 50%;
84
84
  background: ${({$color:e,theme:t})=>i(e??"primary",t)};
85
- `,d=e.span`
85
+ `,c=e.span`
86
86
  flex: none;
87
87
  padding: 0 4px;
88
88
  border-radius: ${({theme:e})=>e.radius.full};
@@ -95,7 +95,7 @@ import{styled as e,css as t}from"styled-components";import{media as o}from"../..
95
95
  &::after {
96
96
  content: attr(data-count);
97
97
  }
98
- `,c=e.ul`
98
+ `,y=e.ul`
99
99
  display: flex;
100
100
  flex-wrap: wrap;
101
101
  justify-content: center;
@@ -103,28 +103,29 @@ import{styled as e,css as t}from"styled-components";import{media as o}from"../..
103
103
  margin: 0;
104
104
  padding: 0;
105
105
  list-style: none;
106
- `,y=e.li`
106
+ `,$=e.li`
107
107
  display: flex;
108
108
  align-items: center;
109
109
  gap: ${({theme:e})=>e.spacing.sm};
110
110
  font-size: ${({theme:e})=>e.typography.textSize.bodySm};
111
111
  color: ${({theme:e})=>e.colors.grey_2};
112
- `,$=e.div`
112
+ `,f=e.div`
113
113
  display: flex;
114
114
  flex-direction: column;
115
115
  gap: ${({theme:e})=>e.spacing.sm};
116
116
  max-height: 400px;
117
117
  overflow-y: auto;
118
+ ${r}
118
119
  padding: ${({theme:e})=>e.spacing.md};
119
- `,f=e.span`
120
+ `,x=e.span`
120
121
  font-size: ${({theme:e})=>e.typography.textSize.bodySm};
121
122
  font-weight: ${({theme:e})=>e.typography.fontWeight.semibold};
122
123
  color: ${({theme:e})=>e.colors.grey_1};
123
- `,x=e.span`
124
+ `,u=e.span`
124
125
  display: flex;
125
126
  align-items: center;
126
127
  gap: ${({theme:e})=>e.spacing.sm};
127
128
  font-size: ${({theme:e})=>e.typography.textSize.bodySm};
128
129
  color: ${({theme:e})=>e.colors.grey_1};
129
- `;export{r as Container,m as Day,l as DayNumber,$ as Details,x as DetailsItem,f as DetailsTitle,g as Dot,h as Dots,p as Grid,a as Header,c as Legend,y as LegendItem,n as MonthTitle,d as More,s as Weekday};
130
+ `;export{a as Container,l as Day,h as DayNumber,f as Details,u as DetailsItem,x as DetailsTitle,d as Dot,g as Dots,s as Grid,n as Header,y as Legend,$ as LegendItem,p as MonthTitle,c as More,m as Weekday};
130
131
  //# sourceMappingURL=calendar.styles.js.map