@optimum-intelligence/opti-ui 0.8.0 → 0.9.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.
Files changed (68) hide show
  1. package/CHANGELOG.md +97 -0
  2. package/README.md +3 -3
  3. package/dist/components/app-shell/AppShell.d.ts +6 -1
  4. package/dist/components/app-shell/AppShell.js +99 -94
  5. package/dist/components/app-shell/AppShell.js.map +1 -1
  6. package/dist/components/breadcrumbs/Breadcrumbs.d.ts +6 -1
  7. package/dist/components/breadcrumbs/Breadcrumbs.js +42 -40
  8. package/dist/components/breadcrumbs/Breadcrumbs.js.map +1 -1
  9. package/dist/components/calendar/Calendar.js +29 -17
  10. package/dist/components/calendar/Calendar.js.map +1 -1
  11. package/dist/components/combobox/Combobox.d.ts +1 -1
  12. package/dist/components/combobox/Combobox.js +38 -29
  13. package/dist/components/combobox/Combobox.js.map +1 -1
  14. package/dist/components/command-palette/CommandPalette.d.ts +13 -4
  15. package/dist/components/command-palette/CommandPalette.js +91 -89
  16. package/dist/components/command-palette/CommandPalette.js.map +1 -1
  17. package/dist/components/data-table/DataTable.d.ts +38 -13
  18. package/dist/components/data-table/DataTable.js +421 -266
  19. package/dist/components/data-table/DataTable.js.map +1 -1
  20. package/dist/components/data-table/DataTableContent.d.ts +7 -1
  21. package/dist/components/data-table/DataTableContent.js +246 -210
  22. package/dist/components/data-table/DataTableContent.js.map +1 -1
  23. package/dist/components/data-table/DataTableFilters.d.ts +4 -3
  24. package/dist/components/data-table/DataTableFilters.js +311 -194
  25. package/dist/components/data-table/DataTableFilters.js.map +1 -1
  26. package/dist/components/data-table/DataTableRow.js +76 -72
  27. package/dist/components/data-table/DataTableRow.js.map +1 -1
  28. package/dist/components/data-table/layout.d.ts +5 -0
  29. package/dist/components/data-table/layout.js +23 -1
  30. package/dist/components/data-table/layout.js.map +1 -1
  31. package/dist/components/data-table/types.d.ts +57 -3
  32. package/dist/components/data-table/useDataTable.d.ts +1 -1
  33. package/dist/components/data-table/useDataTable.js +396 -351
  34. package/dist/components/data-table/useDataTable.js.map +1 -1
  35. package/dist/components/dialog/ConfirmDialog.d.ts +6 -1
  36. package/dist/components/dialog/ConfirmDialog.js +88 -85
  37. package/dist/components/dialog/ConfirmDialog.js.map +1 -1
  38. package/dist/components/progress/Progress.d.ts +2 -1
  39. package/dist/components/progress/Progress.js.map +1 -1
  40. package/dist/components/stat-card/StatCard.d.ts +7 -2
  41. package/dist/components/stat-card/StatCard.js +1 -1
  42. package/dist/components/stat-card/StatCard.js.map +1 -1
  43. package/dist/components/table/Table.d.ts +5 -1
  44. package/dist/components/table/Table.js +2 -1
  45. package/dist/components/table/Table.js.map +1 -1
  46. package/dist/components.json +124 -18
  47. package/dist/fonts/JetBrainsMono-OFL.txt +93 -0
  48. package/dist/fonts/jetbrains-mono-latin-ext.woff2 +0 -0
  49. package/dist/fonts/jetbrains-mono-latin.woff2 +0 -0
  50. package/dist/fonts.css +22 -1
  51. package/dist/icons/index.d.ts +4 -0
  52. package/dist/icons/index.js +12 -1
  53. package/dist/icons/index.js.map +1 -1
  54. package/dist/index.d.ts +1 -0
  55. package/dist/index.js +3 -2
  56. package/dist/labels/Labels.d.ts +9 -1
  57. package/dist/labels/Labels.js +4 -0
  58. package/dist/labels/Labels.js.map +1 -1
  59. package/dist/labels/hu.d.ts +17 -0
  60. package/dist/labels/hu.js +124 -0
  61. package/dist/labels/hu.js.map +1 -0
  62. package/dist/llms-full.txt +60 -17
  63. package/dist/llms.txt +2 -1
  64. package/dist/opti-ui.css +303 -70
  65. package/dist/utils/scroll-fade.d.ts +5 -1
  66. package/dist/utils/scroll-fade.js +11 -1
  67. package/dist/utils/scroll-fade.js.map +1 -1
  68. package/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":["React","IconProps","SVGProps","SVGSVGElement","size","createIcon","name","paths","ReactNode","Icon","t0","$","_c","props","ref","t1","t2","strokeWidth","undefined","t3","displayName","CheckIcon","MinusIcon","PlusIcon","XIcon","ChevronDownIcon","ChevronUpIcon","ChevronRightIcon","ChevronLeftIcon","ChevronsUpDownIcon","ArrowUpIcon","ArrowDownIcon","TrendingUpIcon","TrendingDownIcon","InfoIcon","CircleCheckIcon","TriangleAlertIcon","CircleXIcon","SearchIcon","MenuIcon","MoreHorizontalIcon","CircleIcon","ChevronsLeftIcon","ChevronsRightIcon","CalendarIcon","ClockIcon","UploadIcon","DownloadIcon","FileIcon","EyeIcon","EyeOffIcon","PencilIcon","TrashIcon","ExternalLinkIcon","LayersIcon","FilterIcon","_c","_Fragment"],"sources":["../../src/icons/index.tsx"],"sourcesContent":["import * as React from 'react';\n\nexport interface IconProps extends React.SVGProps<SVGSVGElement> {\n /** Width and height. Defaults to `1em` so icons follow the font size. */\n size?: number | string;\n}\n\nfunction createIcon(name: string, paths: React.ReactNode) {\n function Icon({ size = '1em', strokeWidth = 2, ref, ...props }: IconProps) {\n return (\n <svg\n ref={ref}\n xmlns=\"http://www.w3.org/2000/svg\"\n width={size}\n height={size}\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"currentColor\"\n strokeWidth={strokeWidth}\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n aria-hidden=\"true\"\n focusable=\"false\"\n {...props}\n >\n {paths}\n </svg>\n );\n }\n Icon.displayName = name;\n return Icon;\n}\n\nexport const CheckIcon = createIcon('CheckIcon', <path d=\"M20 6 9 17l-5-5\" />);\nexport const MinusIcon = createIcon('MinusIcon', <path d=\"M5 12h14\" />);\nexport const PlusIcon = createIcon(\n 'PlusIcon',\n <>\n <path d=\"M5 12h14\" />\n <path d=\"M12 5v14\" />\n </>,\n);\nexport const XIcon = createIcon(\n 'XIcon',\n <>\n <path d=\"M18 6 6 18\" />\n <path d=\"m6 6 12 12\" />\n </>,\n);\nexport const ChevronDownIcon = createIcon('ChevronDownIcon', <path d=\"m6 9 6 6 6-6\" />);\nexport const ChevronUpIcon = createIcon('ChevronUpIcon', <path d=\"m18 15-6-6-6 6\" />);\nexport const ChevronRightIcon = createIcon('ChevronRightIcon', <path d=\"m9 18 6-6-6-6\" />);\nexport const ChevronLeftIcon = createIcon('ChevronLeftIcon', <path d=\"m15 18-6-6 6-6\" />);\nexport const ChevronsUpDownIcon = createIcon(\n 'ChevronsUpDownIcon',\n <>\n <path d=\"m7 15 5 5 5-5\" />\n <path d=\"m7 9 5-5 5 5\" />\n </>,\n);\nexport const ArrowUpIcon = createIcon(\n 'ArrowUpIcon',\n <>\n <path d=\"m5 12 7-7 7 7\" />\n <path d=\"M12 19V5\" />\n </>,\n);\nexport const ArrowDownIcon = createIcon(\n 'ArrowDownIcon',\n <>\n <path d=\"M12 5v14\" />\n <path d=\"m19 12-7 7-7-7\" />\n </>,\n);\nexport const TrendingUpIcon = createIcon(\n 'TrendingUpIcon',\n <>\n <path d=\"M22 7 13.5 15.5 8.5 10.5 2 17\" />\n <path d=\"M16 7h6v6\" />\n </>,\n);\nexport const TrendingDownIcon = createIcon(\n 'TrendingDownIcon',\n <>\n <path d=\"M22 17 13.5 8.5 8.5 13.5 2 7\" />\n <path d=\"M16 17h6v-6\" />\n </>,\n);\nexport const InfoIcon = createIcon(\n 'InfoIcon',\n <>\n <circle cx=\"12\" cy=\"12\" r=\"10\" />\n <path d=\"M12 16v-4\" />\n <path d=\"M12 8h.01\" />\n </>,\n);\nexport const CircleCheckIcon = createIcon(\n 'CircleCheckIcon',\n <>\n <circle cx=\"12\" cy=\"12\" r=\"10\" />\n <path d=\"m9 12 2 2 4-4\" />\n </>,\n);\nexport const TriangleAlertIcon = createIcon(\n 'TriangleAlertIcon',\n <>\n <path d=\"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3\" />\n <path d=\"M12 9v4\" />\n <path d=\"M12 17h.01\" />\n </>,\n);\nexport const CircleXIcon = createIcon(\n 'CircleXIcon',\n <>\n <circle cx=\"12\" cy=\"12\" r=\"10\" />\n <path d=\"m15 9-6 6\" />\n <path d=\"m9 9 6 6\" />\n </>,\n);\nexport const SearchIcon = createIcon(\n 'SearchIcon',\n <>\n <circle cx=\"11\" cy=\"11\" r=\"8\" />\n <path d=\"m21 21-4.3-4.3\" />\n </>,\n);\nexport const MenuIcon = createIcon(\n 'MenuIcon',\n <>\n <path d=\"M4 6h16\" />\n <path d=\"M4 12h16\" />\n <path d=\"M4 18h16\" />\n </>,\n);\nexport const MoreHorizontalIcon = createIcon(\n 'MoreHorizontalIcon',\n <>\n <circle cx=\"12\" cy=\"12\" r=\"1\" />\n <circle cx=\"19\" cy=\"12\" r=\"1\" />\n <circle cx=\"5\" cy=\"12\" r=\"1\" />\n </>,\n);\nexport const CircleIcon = createIcon('CircleIcon', <circle cx=\"12\" cy=\"12\" r=\"10\" />);\nexport const ChevronsLeftIcon = createIcon(\n 'ChevronsLeftIcon',\n <>\n <path d=\"m11 17-5-5 5-5\" />\n <path d=\"m18 17-5-5 5-5\" />\n </>,\n);\nexport const ChevronsRightIcon = createIcon(\n 'ChevronsRightIcon',\n <>\n <path d=\"m6 17 5-5-5-5\" />\n <path d=\"m13 17 5-5-5-5\" />\n </>,\n);\nexport const CalendarIcon = createIcon(\n 'CalendarIcon',\n <>\n <path d=\"M8 2v4\" />\n <path d=\"M16 2v4\" />\n <rect width=\"18\" height=\"18\" x=\"3\" y=\"4\" rx=\"2\" />\n <path d=\"M3 10h18\" />\n </>,\n);\nexport const ClockIcon = createIcon(\n 'ClockIcon',\n <>\n <circle cx=\"12\" cy=\"12\" r=\"10\" />\n <path d=\"M12 6v6l4 2\" />\n </>,\n);\nexport const UploadIcon = createIcon(\n 'UploadIcon',\n <>\n <path d=\"M12 3v12\" />\n <path d=\"m17 8-5-5-5 5\" />\n <path d=\"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4\" />\n </>,\n);\nexport const DownloadIcon = createIcon(\n 'DownloadIcon',\n <>\n <path d=\"M12 15V3\" />\n <path d=\"m7 10 5 5 5-5\" />\n <path d=\"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4\" />\n </>,\n);\nexport const FileIcon = createIcon(\n 'FileIcon',\n <>\n <path d=\"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z\" />\n <path d=\"M14 2v5a1 1 0 0 0 1 1h5\" />\n </>,\n);\nexport const EyeIcon = createIcon(\n 'EyeIcon',\n <>\n <path d=\"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0\" />\n <circle cx=\"12\" cy=\"12\" r=\"3\" />\n </>,\n);\nexport const EyeOffIcon = createIcon(\n 'EyeOffIcon',\n <>\n <path d=\"M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49\" />\n <path d=\"M14.084 14.158a3 3 0 0 1-4.242-4.242\" />\n <path d=\"M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143\" />\n <path d=\"m2 2 20 20\" />\n </>,\n);\nexport const PencilIcon = createIcon(\n 'PencilIcon',\n <>\n <path d=\"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z\" />\n <path d=\"m15 5 4 4\" />\n </>,\n);\nexport const TrashIcon = createIcon(\n 'TrashIcon',\n <>\n <path d=\"M3 6h18\" />\n <path d=\"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6\" />\n <path d=\"M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2\" />\n <path d=\"M10 11v6\" />\n <path d=\"M14 11v6\" />\n </>,\n);\nexport const ExternalLinkIcon = createIcon(\n 'ExternalLinkIcon',\n <>\n <path d=\"M15 3h6v6\" />\n <path d=\"M10 14 21 3\" />\n <path d=\"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6\" />\n </>,\n);\n\nexport const LayersIcon = createIcon(\n 'LayersIcon',\n <>\n <path d=\"M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z\" />\n <path d=\"M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12\" />\n <path d=\"M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17\" />\n </>,\n);\n\nexport const FilterIcon = createIcon(\n 'FilterIcon',\n <>\n <path d=\"M3 6h18\" />\n <path d=\"M7 12h10\" />\n <path d=\"M10 18h4\" />\n </>,\n);\n"],"mappings":";;;;;AAOA,SAASK,WAAWC,MAAcC,OAAwB;CACxD,SAAAE,KAAAC,IAAA;EAAA,MAAAC,IAAAC,EAAA,EAAA;EAAA,IAAAC;EAAA,IAAAC;EAAA,IAAAC;EAAA,IAAAC;EAAA,IAAAL,EAAA,OAAAD,IAAA;GAAc,CAAA,CAAAN,MAAAW,IAAAE,aAAAD,IAAAF,KAAA,GAAAD,SAAAH;GAA2DC,EAAA,KAAAD;GAAAC,EAAA,KAAAE;GAAAF,EAAA,KAAAG;GAAAH,EAAA,KAAAI;GAAAJ,EAAA,KAAAK;EAAA,OAAA;GAAAH,QAAAF,EAAA;GAAAG,MAAAH,EAAA;GAAAI,KAAAJ,EAAA;GAAAK,KAAAL,EAAA;EAAA;EAAzD,MAAAP,OAAAW,OAAAG,KAAAA,IAAA,QAAAH;EAAc,MAAAE,cAAAD,OAAAE,KAAAA,IAAA,IAAAF;EAAe,IAAAG;EAAA,IAAAR,EAAA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AAU,CAAA;CAClB,oBAAC,QAAD,EAAM,GAAE,WAAU,CAAA;AACpB,EAAA,CAAA,CACF;AACA,IAAaJ,mBAAmBhD,WAC9B,oBACA,qBAAAoD,UAAA,EAAA,UAAA;CACE,oBAAC,QAAD,EAAM,GAAE,YAAW,CAAA;CACnB,oBAAC,QAAD,EAAM,GAAE,cAAa,CAAA;CACrB,oBAAC,QAAD,EAAM,GAAE,2DAA0D,CAAA;AACpE,EAAA,CAAA,CACF;AAEA,IAAaH,aAAajD,WACxB,cACA,qBAAAoD,UAAA,EAAA,UAAA;CACE,oBAAC,QAAD,EAAM,GAAE,+GAA8G,CAAA;CACtH,oBAAC,QAAD,EAAM,GAAE,4EAA2E,CAAA;CACnF,oBAAC,QAAD,EAAM,GAAE,4EAA2E,CAAA;AACrF,EAAA,CAAA,CACF;AAEA,IAAaF,aAAalD,WACxB,cACA,qBAAAoD,UAAA,EAAA,UAAA;CACE,oBAAC,QAAD,EAAM,GAAE,UAAS,CAAA;CACjB,oBAAC,QAAD,EAAM,GAAE,WAAU,CAAA;CAClB,oBAAC,QAAD,EAAM,GAAE,WAAU,CAAA;AACpB,EAAA,CAAA,CACF"}
1
+ {"version":3,"file":"index.js","names":["React","IconProps","SVGProps","SVGSVGElement","size","createIcon","name","paths","ReactNode","Icon","t0","$","_c","props","ref","t1","t2","strokeWidth","undefined","t3","displayName","CheckIcon","MinusIcon","PlusIcon","XIcon","ChevronDownIcon","ChevronUpIcon","ChevronRightIcon","ChevronLeftIcon","ChevronsUpDownIcon","ArrowUpIcon","ArrowDownIcon","TrendingUpIcon","TrendingDownIcon","InfoIcon","CircleCheckIcon","TriangleAlertIcon","CircleXIcon","SearchIcon","MenuIcon","MoreHorizontalIcon","CircleIcon","ChevronsLeftIcon","ChevronsRightIcon","CalendarIcon","ClockIcon","UploadIcon","DownloadIcon","FileIcon","EyeIcon","EyeOffIcon","PencilIcon","TrashIcon","ExternalLinkIcon","LayersIcon","FilterIcon","ColumnsIcon","_c","_Fragment"],"sources":["../../src/icons/index.tsx"],"sourcesContent":["import * as React from 'react';\n\nexport interface IconProps extends React.SVGProps<SVGSVGElement> {\n /** Width and height. Defaults to `1em` so icons follow the font size. */\n size?: number | string;\n}\n\nfunction createIcon(name: string, paths: React.ReactNode) {\n function Icon({ size = '1em', strokeWidth = 2, ref, ...props }: IconProps) {\n return (\n <svg\n ref={ref}\n xmlns=\"http://www.w3.org/2000/svg\"\n width={size}\n height={size}\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"currentColor\"\n strokeWidth={strokeWidth}\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n aria-hidden=\"true\"\n focusable=\"false\"\n {...props}\n >\n {paths}\n </svg>\n );\n }\n Icon.displayName = name;\n return Icon;\n}\n\nexport const CheckIcon = createIcon('CheckIcon', <path d=\"M20 6 9 17l-5-5\" />);\nexport const MinusIcon = createIcon('MinusIcon', <path d=\"M5 12h14\" />);\nexport const PlusIcon = createIcon(\n 'PlusIcon',\n <>\n <path d=\"M5 12h14\" />\n <path d=\"M12 5v14\" />\n </>,\n);\nexport const XIcon = createIcon(\n 'XIcon',\n <>\n <path d=\"M18 6 6 18\" />\n <path d=\"m6 6 12 12\" />\n </>,\n);\nexport const ChevronDownIcon = createIcon('ChevronDownIcon', <path d=\"m6 9 6 6 6-6\" />);\nexport const ChevronUpIcon = createIcon('ChevronUpIcon', <path d=\"m18 15-6-6-6 6\" />);\nexport const ChevronRightIcon = createIcon('ChevronRightIcon', <path d=\"m9 18 6-6-6-6\" />);\nexport const ChevronLeftIcon = createIcon('ChevronLeftIcon', <path d=\"m15 18-6-6 6-6\" />);\nexport const ChevronsUpDownIcon = createIcon(\n 'ChevronsUpDownIcon',\n <>\n <path d=\"m7 15 5 5 5-5\" />\n <path d=\"m7 9 5-5 5 5\" />\n </>,\n);\nexport const ArrowUpIcon = createIcon(\n 'ArrowUpIcon',\n <>\n <path d=\"m5 12 7-7 7 7\" />\n <path d=\"M12 19V5\" />\n </>,\n);\nexport const ArrowDownIcon = createIcon(\n 'ArrowDownIcon',\n <>\n <path d=\"M12 5v14\" />\n <path d=\"m19 12-7 7-7-7\" />\n </>,\n);\nexport const TrendingUpIcon = createIcon(\n 'TrendingUpIcon',\n <>\n <path d=\"M22 7 13.5 15.5 8.5 10.5 2 17\" />\n <path d=\"M16 7h6v6\" />\n </>,\n);\nexport const TrendingDownIcon = createIcon(\n 'TrendingDownIcon',\n <>\n <path d=\"M22 17 13.5 8.5 8.5 13.5 2 7\" />\n <path d=\"M16 17h6v-6\" />\n </>,\n);\nexport const InfoIcon = createIcon(\n 'InfoIcon',\n <>\n <circle cx=\"12\" cy=\"12\" r=\"10\" />\n <path d=\"M12 16v-4\" />\n <path d=\"M12 8h.01\" />\n </>,\n);\nexport const CircleCheckIcon = createIcon(\n 'CircleCheckIcon',\n <>\n <circle cx=\"12\" cy=\"12\" r=\"10\" />\n <path d=\"m9 12 2 2 4-4\" />\n </>,\n);\nexport const TriangleAlertIcon = createIcon(\n 'TriangleAlertIcon',\n <>\n <path d=\"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3\" />\n <path d=\"M12 9v4\" />\n <path d=\"M12 17h.01\" />\n </>,\n);\nexport const CircleXIcon = createIcon(\n 'CircleXIcon',\n <>\n <circle cx=\"12\" cy=\"12\" r=\"10\" />\n <path d=\"m15 9-6 6\" />\n <path d=\"m9 9 6 6\" />\n </>,\n);\nexport const SearchIcon = createIcon(\n 'SearchIcon',\n <>\n <circle cx=\"11\" cy=\"11\" r=\"8\" />\n <path d=\"m21 21-4.3-4.3\" />\n </>,\n);\nexport const MenuIcon = createIcon(\n 'MenuIcon',\n <>\n <path d=\"M4 6h16\" />\n <path d=\"M4 12h16\" />\n <path d=\"M4 18h16\" />\n </>,\n);\nexport const MoreHorizontalIcon = createIcon(\n 'MoreHorizontalIcon',\n <>\n <circle cx=\"12\" cy=\"12\" r=\"1\" />\n <circle cx=\"19\" cy=\"12\" r=\"1\" />\n <circle cx=\"5\" cy=\"12\" r=\"1\" />\n </>,\n);\nexport const CircleIcon = createIcon('CircleIcon', <circle cx=\"12\" cy=\"12\" r=\"10\" />);\nexport const ChevronsLeftIcon = createIcon(\n 'ChevronsLeftIcon',\n <>\n <path d=\"m11 17-5-5 5-5\" />\n <path d=\"m18 17-5-5 5-5\" />\n </>,\n);\nexport const ChevronsRightIcon = createIcon(\n 'ChevronsRightIcon',\n <>\n <path d=\"m6 17 5-5-5-5\" />\n <path d=\"m13 17 5-5-5-5\" />\n </>,\n);\nexport const CalendarIcon = createIcon(\n 'CalendarIcon',\n <>\n <path d=\"M8 2v4\" />\n <path d=\"M16 2v4\" />\n <rect width=\"18\" height=\"18\" x=\"3\" y=\"4\" rx=\"2\" />\n <path d=\"M3 10h18\" />\n </>,\n);\nexport const ClockIcon = createIcon(\n 'ClockIcon',\n <>\n <circle cx=\"12\" cy=\"12\" r=\"10\" />\n <path d=\"M12 6v6l4 2\" />\n </>,\n);\nexport const UploadIcon = createIcon(\n 'UploadIcon',\n <>\n <path d=\"M12 3v12\" />\n <path d=\"m17 8-5-5-5 5\" />\n <path d=\"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4\" />\n </>,\n);\nexport const DownloadIcon = createIcon(\n 'DownloadIcon',\n <>\n <path d=\"M12 15V3\" />\n <path d=\"m7 10 5 5 5-5\" />\n <path d=\"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4\" />\n </>,\n);\nexport const FileIcon = createIcon(\n 'FileIcon',\n <>\n <path d=\"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z\" />\n <path d=\"M14 2v5a1 1 0 0 0 1 1h5\" />\n </>,\n);\nexport const EyeIcon = createIcon(\n 'EyeIcon',\n <>\n <path d=\"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0\" />\n <circle cx=\"12\" cy=\"12\" r=\"3\" />\n </>,\n);\nexport const EyeOffIcon = createIcon(\n 'EyeOffIcon',\n <>\n <path d=\"M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49\" />\n <path d=\"M14.084 14.158a3 3 0 0 1-4.242-4.242\" />\n <path d=\"M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143\" />\n <path d=\"m2 2 20 20\" />\n </>,\n);\nexport const PencilIcon = createIcon(\n 'PencilIcon',\n <>\n <path d=\"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z\" />\n <path d=\"m15 5 4 4\" />\n </>,\n);\nexport const TrashIcon = createIcon(\n 'TrashIcon',\n <>\n <path d=\"M3 6h18\" />\n <path d=\"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6\" />\n <path d=\"M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2\" />\n <path d=\"M10 11v6\" />\n <path d=\"M14 11v6\" />\n </>,\n);\nexport const ExternalLinkIcon = createIcon(\n 'ExternalLinkIcon',\n <>\n <path d=\"M15 3h6v6\" />\n <path d=\"M10 14 21 3\" />\n <path d=\"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6\" />\n </>,\n);\n\nexport const LayersIcon = createIcon(\n 'LayersIcon',\n <>\n <path d=\"M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z\" />\n <path d=\"M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12\" />\n <path d=\"M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17\" />\n </>,\n);\n\nexport const FilterIcon = createIcon(\n 'FilterIcon',\n <>\n <path d=\"M3 6h18\" />\n <path d=\"M7 12h10\" />\n <path d=\"M10 18h4\" />\n </>,\n);\n\nexport const ColumnsIcon = createIcon(\n 'ColumnsIcon',\n <>\n <rect width=\"18\" height=\"18\" x=\"3\" y=\"3\" rx=\"2\" />\n <path d=\"M9 3v18\" />\n <path d=\"M15 3v18\" />\n </>,\n);\n"],"mappings":";;;;;AAOA,SAASK,WAAWC,MAAcC,OAAwB;CACxD,SAAAE,KAAAC,IAAA;EAAA,MAAAC,IAAAC,EAAA,EAAA;EAAA,IAAAC;EAAA,IAAAC;EAAA,IAAAC;EAAA,IAAAC;EAAA,IAAAL,EAAA,OAAAD,IAAA;GAAc,CAAA,CAAAN,MAAAW,IAAAE,aAAAD,IAAAF,KAAA,GAAAD,SAAAH;GAA2DC,EAAA,KAAAD;GAAAC,EAAA,KAAAE;GAAAF,EAAA,KAAAG;GAAAH,EAAA,KAAAI;GAAAJ,EAAA,KAAAK;EAAA,OAAA;GAAAH,QAAAF,EAAA;GAAAG,MAAAH,EAAA;GAAAI,KAAAJ,EAAA;GAAAK,KAAAL,EAAA;EAAA;EAAzD,MAAAP,OAAAW,OAAAG,KAAAA,IAAA,QAAAH;EAAc,MAAAE,cAAAD,OAAAE,KAAAA,IAAA,IAAAF;EAAe,IAAAG;EAAA,IAAAR,EAAA,OAAAE,SAAAF,EAAA,OAAAG,OAAAH,EAAA,OAAAP,QAAAO,EAAA,OAAAM,aAAA;GAEzCE,KAAA,oBAAA,OAAA;IACOL;IACC,OAAA;IACCV,OAAAA;IACCA,QAAAA;IACA,SAAA;IACH,MAAA;IACE,QAAA;IACMa;IACC,eAAA;IACC,gBA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AAM,GAAE,cAAa,CAAA;CACrB,oBAAC,QAAD,EAAM,GAAE,2DAA0D,CAAA;AACpE,EAAA,CAAA,CACF;AAEA,IAAaJ,aAAajD,WACxB,cACA,qBAAAqD,UAAA,EAAA,UAAA;CACE,oBAAC,QAAD,EAAM,GAAE,+GAA8G,CAAA;CACtH,oBAAC,QAAD,EAAM,GAAE,4EAA2E,CAAA;CACnF,oBAAC,QAAD,EAAM,GAAE,4EAA2E,CAAA;AACrF,EAAA,CAAA,CACF;AAEA,IAAaH,aAAalD,WACxB,cACA,qBAAAqD,UAAA,EAAA,UAAA;CACE,oBAAC,QAAD,EAAM,GAAE,UAAS,CAAA;CACjB,oBAAC,QAAD,EAAM,GAAE,WAAU,CAAA;CAClB,oBAAC,QAAD,EAAM,GAAE,WAAU,CAAA;AACpB,EAAA,CAAA,CACF;AAEA,IAAaF,cAAcnD,WACzB,eACA,qBAAAqD,UAAA,EAAA,UAAA;CACE,oBAAC,QAAD;EAAM,OAAM;EAAK,QAAO;EAAK,GAAE;EAAI,GAAE;EAAI,IAAG;CAAG,CAAA;CAC/C,oBAAC,QAAD,EAAM,GAAE,UAAS,CAAA;CACjB,oBAAC,QAAD,EAAM,GAAE,WAAU,CAAA;AACpB,EAAA,CAAA,CACF"}
package/dist/index.d.ts CHANGED
@@ -1,6 +1,7 @@
1
1
  export * from './theme';
2
2
  export * from './components/calendar/DateConfig';
3
3
  export * from './labels/Labels';
4
+ export * from './labels/hu';
4
5
  export * from './components/app-shell/AppShell';
5
6
  export * from './components/card/Card';
6
7
  export * from './components/stat-card/StatCard';
package/dist/index.js CHANGED
@@ -6,7 +6,8 @@ import { ThemeProvider, createTheme, themeToStyle } from "./theme/ThemeProvider.
6
6
  import { seriesColor } from "./theme/series.js";
7
7
  import { DateConfigProvider, useDateConfig } from "./components/calendar/DateConfig.js";
8
8
  import { LabelsProvider, useLabels } from "./labels/Labels.js";
9
- import { ArrowDownIcon, ArrowUpIcon, CalendarIcon, CheckIcon, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, ChevronsLeftIcon, ChevronsRightIcon, ChevronsUpDownIcon, CircleCheckIcon, CircleIcon, CircleXIcon, ClockIcon, DownloadIcon, ExternalLinkIcon, EyeIcon, EyeOffIcon, FileIcon, FilterIcon, InfoIcon, LayersIcon, MenuIcon, MinusIcon, MoreHorizontalIcon, PencilIcon, PlusIcon, SearchIcon, TrashIcon, TrendingDownIcon, TrendingUpIcon, TriangleAlertIcon, UploadIcon, XIcon } from "./icons/index.js";
9
+ import { huLabels } from "./labels/hu.js";
10
+ import { ArrowDownIcon, ArrowUpIcon, CalendarIcon, CheckIcon, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, ChevronsLeftIcon, ChevronsRightIcon, ChevronsUpDownIcon, CircleCheckIcon, CircleIcon, CircleXIcon, ClockIcon, ColumnsIcon, DownloadIcon, ExternalLinkIcon, EyeIcon, EyeOffIcon, FileIcon, FilterIcon, InfoIcon, LayersIcon, MenuIcon, MinusIcon, MoreHorizontalIcon, PencilIcon, PlusIcon, SearchIcon, TrashIcon, TrendingDownIcon, TrendingUpIcon, TriangleAlertIcon, UploadIcon, XIcon } from "./icons/index.js";
10
11
  import { AppShell, Grid, Navbar, NavbarBrand, NavbarFooter, NavbarGroup, NavbarHeader, NavbarItem, NavbarSection, NavbarSectionLabel, PageHeader } from "./components/app-shell/AppShell.js";
11
12
  import { Card, CardActions, CardContent, CardDescription, CardFooter, CardHeader, CardTitle } from "./components/card/Card.js";
12
13
  import { Skeleton, SkeletonText } from "./components/skeleton/Skeleton.js";
@@ -61,4 +62,4 @@ import { EmptyState } from "./components/empty-state/EmptyState.js";
61
62
  import { useDataTable } from "./components/data-table/useDataTable.js";
62
63
  import { DataTable } from "./components/data-table/DataTable.js";
63
64
  import { DescriptionItem, DescriptionList } from "./components/description-list/DescriptionList.js";
64
- export { Accordion, Alert, AlertDialog, AppShell, ArrowDownIcon, ArrowUpIcon, Avatar, AvatarGroup, Badge, Breadcrumb, Breadcrumbs, Button, Calendar, CalendarIcon, Card, CardActions, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, CheckIcon, Checkbox, CheckboxGroup, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, ChevronsLeftIcon, ChevronsRightIcon, ChevronsUpDownIcon, CircleCheckIcon, CircleIcon, CircleXIcon, ClockIcon, Collapsible, Combobox, CommandPalette, ConfirmDialog, ContextMenu, DataTable, DateConfigProvider, DatePicker, DateRangePicker, DateTimePicker, DescriptionItem, DescriptionList, Dialog, DownloadIcon, Drawer, Dropzone, EmptyState, ExternalLinkIcon, EyeIcon, EyeOffIcon, Eyebrow, Field, Fieldset, FileIcon, FileItem, FileUpload, FilterIcon, Form, FormField, Grid, Heading, IconButton, InfoIcon, Input, LabelsProvider, LayersIcon, Link, Menu, MenuIcon, Meter, MinusIcon, MoreHorizontalIcon, NARROW_SCREEN, Navbar, NavbarBrand, NavbarFooter, NavbarGroup, NavbarHeader, NavbarItem, NavbarSection, NavbarSectionLabel, NumberField, PageHeader, Pagination, PasswordField, PasswordInput, PencilIcon, PlusIcon, Popover, PreviewCard, Progress, Radio, RadioGroup, RangeCalendar, SHELL_COLLAPSED, ScrollArea, SearchIcon, SearchInput, SegmentedControl, Select, Separator, Skeleton, SkeletonText, Slider, Spinner, Stack, StatCard, Stepper, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, Tag, Text, TextField, Textarea, TextareaField, ThemeProvider, ToastProvider, Toggle, ToggleGroup, Toolbar, Tooltip, TrashIcon, TrendingDownIcon, TrendingUpIcon, TriangleAlertIcon, UploadIcon, XIcon, createTheme, createToastManager, cx, formatDate, formatFileSize, getPageItems, matchesQuery, normalizeText, seriesColor, themeToStyle, useDataTable, useDataTableContext, useDateConfig, useLabels, useMediaQuery, usePortalContainer, useToast, withClass };
65
+ export { Accordion, Alert, AlertDialog, AppShell, ArrowDownIcon, ArrowUpIcon, Avatar, AvatarGroup, Badge, Breadcrumb, Breadcrumbs, Button, Calendar, CalendarIcon, Card, CardActions, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, CheckIcon, Checkbox, CheckboxGroup, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, ChevronsLeftIcon, ChevronsRightIcon, ChevronsUpDownIcon, CircleCheckIcon, CircleIcon, CircleXIcon, ClockIcon, Collapsible, ColumnsIcon, Combobox, CommandPalette, ConfirmDialog, ContextMenu, DataTable, DateConfigProvider, DatePicker, DateRangePicker, DateTimePicker, DescriptionItem, DescriptionList, Dialog, DownloadIcon, Drawer, Dropzone, EmptyState, ExternalLinkIcon, EyeIcon, EyeOffIcon, Eyebrow, Field, Fieldset, FileIcon, FileItem, FileUpload, FilterIcon, Form, FormField, Grid, Heading, IconButton, InfoIcon, Input, LabelsProvider, LayersIcon, Link, Menu, MenuIcon, Meter, MinusIcon, MoreHorizontalIcon, NARROW_SCREEN, Navbar, NavbarBrand, NavbarFooter, NavbarGroup, NavbarHeader, NavbarItem, NavbarSection, NavbarSectionLabel, NumberField, PageHeader, Pagination, PasswordField, PasswordInput, PencilIcon, PlusIcon, Popover, PreviewCard, Progress, Radio, RadioGroup, RangeCalendar, SHELL_COLLAPSED, ScrollArea, SearchIcon, SearchInput, SegmentedControl, Select, Separator, Skeleton, SkeletonText, Slider, Spinner, Stack, StatCard, Stepper, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, Tag, Text, TextField, Textarea, TextareaField, ThemeProvider, ToastProvider, Toggle, ToggleGroup, Toolbar, Tooltip, TrashIcon, TrendingDownIcon, TrendingUpIcon, TriangleAlertIcon, UploadIcon, XIcon, createTheme, createToastManager, cx, formatDate, formatFileSize, getPageItems, huLabels, matchesQuery, normalizeText, seriesColor, themeToStyle, useDataTable, useDataTableContext, useDateConfig, useLabels, useMediaQuery, usePortalContainer, useToast, withClass };
@@ -32,10 +32,18 @@ export interface Labels {
32
32
  clearSelection: string;
33
33
  /** Remove button of a chip in a multiple `Combobox`. */
34
34
  removeItem: (label: string) => string;
35
+ /** Remove button of a `Combobox.Chip` whose content is not plain text. */
36
+ remove: string;
35
37
  /** The `+N` chip of a multiple `Combobox` with `maxChips`. */
36
38
  moreSelected: (count: number) => string;
37
- /** Shown when a `Combobox` filter matches nothing. */
39
+ /** Shown when a `Combobox` filter or a `CommandPalette` search matches nothing. */
38
40
  noResults: string;
41
+ /** Accessible name of the `CommandPalette` dialog. */
42
+ commandPalette: string;
43
+ /** Placeholder of the `CommandPalette` search input. */
44
+ commandSearch: string;
45
+ /** Accessible name of `Breadcrumbs`. */
46
+ breadcrumbs: string;
39
47
  /** Collapse button of the `Navbar`. */
40
48
  collapseNavbar: string;
41
49
  /** Expand button of a collapsed `Navbar`. */
@@ -16,8 +16,12 @@ var defaultLabels = {
16
16
  openList: "Open list",
17
17
  clearSelection: "Clear selection",
18
18
  removeItem: (label) => `Remove ${label}`,
19
+ remove: "Remove",
19
20
  moreSelected: (count) => `${count} more selected`,
20
21
  noResults: "No results found.",
22
+ commandPalette: "Command palette",
23
+ commandSearch: "Search…",
24
+ breadcrumbs: "Breadcrumb",
21
25
  collapseNavbar: "Collapse",
22
26
  expandNavbar: "Expand",
23
27
  openNavigation: "Open navigation",
@@ -1 +1 @@
1
- {"version":3,"file":"Labels.js","names":["React","CalendarLabels","DataTableLabels","DatePickerLabels","DateRangePickerLabels","FileUploadLabels","PaginationLabels","StepperLabels","Labels","close","dismiss","cancel","loading","selectPlaceholder","clearSearch","showPassword","decrease","increase","openList","clearSelection","removeItem","label","moreSelected","count","noResults","collapseNavbar","expandNavbar","openNavigation","more","quickNavigation","navigation","closeNavigation","calendar","Partial","datePicker","dateRangePicker","pagination","stepper","fileUpload","dataTable","defaultLabels","nested","const","LabelsContext","createContext","LabelsProviderProps","labels","children","ReactNode","LabelsProvider","t0","$","_c","parent","useContext","value","key","t1","useLabels","_c"],"sources":["../../src/labels/Labels.tsx"],"sourcesContent":["import * as React from 'react';\nimport type { CalendarLabels } from '../components/calendar/Calendar';\nimport type { DataTableLabels } from '../components/data-table/types';\nimport type { DatePickerLabels } from '../components/date-picker/DatePicker';\nimport type { DateRangePickerLabels } from '../components/date-picker/DateRangePicker';\nimport type { FileUploadLabels } from '../components/file-upload/FileUpload';\nimport type { PaginationLabels } from '../components/pagination/Pagination';\nimport type { StepperLabels } from '../components/stepper/Stepper';\n\n/** Every built-in text of the library, for `LabelsProvider`. */\nexport interface Labels {\n /** Close buttons of `Dialog`, `Drawer` and toasts. */\n close: string;\n /** Dismiss button of an `Alert`. */\n dismiss: string;\n /** Cancel button of a `ConfirmDialog`. */\n cancel: string;\n /** Accessible name of a `Spinner`. */\n loading: string;\n /** Placeholder of a `Select` with nothing chosen. */\n selectPlaceholder: string;\n /** Clear button of a `SearchInput`. */\n clearSearch: string;\n /** Show/hide button of a `PasswordInput`. */\n showPassword: string;\n /** − button of a `NumberField`. */\n decrease: string;\n /** + button of a `NumberField`. */\n increase: string;\n /** Button that opens a `Combobox` list. */\n openList: string;\n /** Button that clears a `Combobox`. */\n clearSelection: string;\n /** Remove button of a chip in a multiple `Combobox`. */\n removeItem: (label: string) => string;\n /** The `+N` chip of a multiple `Combobox` with `maxChips`. */\n moreSelected: (count: number) => string;\n /** Shown when a `Combobox` filter matches nothing. */\n noResults: string;\n /** Collapse button of the `Navbar`. */\n collapseNavbar: string;\n /** Expand button of a collapsed `Navbar`. */\n expandNavbar: string;\n /** `AppShell` mobile menu button, shown when there is no tab bar. */\n openNavigation: string;\n /** `AppShell` tab that opens the full navigation. */\n more: string;\n /** Accessible name of the `AppShell` mobile tab bar. */\n quickNavigation: string;\n /** Accessible name of the `AppShell` navigation drawer. */\n navigation: string;\n /** Close button of the `AppShell` navigation drawer. */\n closeNavigation: string;\n /** Texts of `Calendar` and `RangeCalendar`. */\n calendar: Partial<CalendarLabels>;\n /** Texts of `DatePicker`. */\n datePicker: Partial<DatePickerLabels>;\n /** Texts of `DateRangePicker`. */\n dateRangePicker: Partial<DateRangePickerLabels>;\n /** Texts of `Pagination`. */\n pagination: Partial<PaginationLabels>;\n /** Texts of `Stepper`. */\n stepper: Partial<StepperLabels>;\n /** Texts of `FileUpload`. */\n fileUpload: Partial<FileUploadLabels>;\n /** Texts of `DataTable`. */\n dataTable: Partial<DataTableLabels>;\n}\n\nconst defaultLabels: Labels = {\n close: 'Close',\n dismiss: 'Dismiss',\n cancel: 'Cancel',\n loading: 'Loading',\n selectPlaceholder: 'Select…',\n clearSearch: 'Clear search',\n showPassword: 'Show password',\n decrease: 'Decrease',\n increase: 'Increase',\n openList: 'Open list',\n clearSelection: 'Clear selection',\n removeItem: (label) => `Remove ${label}`,\n moreSelected: (count) => `${count} more selected`,\n noResults: 'No results found.',\n collapseNavbar: 'Collapse',\n expandNavbar: 'Expand',\n openNavigation: 'Open navigation',\n more: 'More',\n quickNavigation: 'Quick navigation',\n navigation: 'Navigation',\n closeNavigation: 'Close navigation',\n calendar: {},\n datePicker: {},\n dateRangePicker: {},\n pagination: {},\n stepper: {},\n fileUpload: {},\n dataTable: {},\n};\n\nconst nested = ['calendar', 'datePicker', 'dateRangePicker', 'pagination', 'stepper', 'fileUpload', 'dataTable'] as const;\n\nconst LabelsContext = React.createContext<Labels>(defaultLabels);\n\nexport interface LabelsProviderProps {\n /** Texts to replace. Nested providers override only what they pass; props on a component still win. */\n labels: Partial<Labels>;\n /** The subtree that uses these texts. */\n children?: React.ReactNode;\n}\n\n/**\n * Replaces the library's built-in English texts (button names, placeholders, table and calendar texts) for\n * everything inside it, so an app translates them once instead of per component.\n *\n * @example\n * <LabelsProvider labels={{ close: 'Bezárás', selectPlaceholder: 'Válasszon…', dataTable: { search: 'Keresés…' } }}>\n * <App />\n * </LabelsProvider>\n */\nexport function LabelsProvider({ labels, children }: LabelsProviderProps) {\n const parent = React.useContext(LabelsContext);\n const value: Labels = { ...parent, ...labels };\n for (const key of nested) value[key] = { ...parent[key], ...labels[key] } as never;\n return <LabelsContext value={value}>{children}</LabelsContext>;\n}\n\n/** The texts from the nearest `LabelsProvider`, with English defaults for the rest. */\nexport function useLabels(): Labels {\n return React.useContext(LabelsContext);\n}\n"],"mappings":";;;;;AAqEA,IAAMwC,gBAAwB;CAC5B/B,OAAO;CACPC,SAAS;CACTC,QAAQ;CACRC,SAAS;CACTC,mBAAmB;CACnBC,aAAa;CACbC,cAAc;CACdC,UAAU;CACVC,UAAU;CACVC,UAAU;CACVC,gBAAgB;CAChBC,aAAaC,UAAU,UAAUA;CACjCC,eAAeC,UAAU,GAAGA,MAAK;CACjCC,WAAW;CACXC,gBAAgB;CAChBC,cAAc;CACdC,gBAAgB;CAChBC,MAAM;CACNC,iBAAiB;CACjBC,YAAY;CACZC,iBAAiB;CACjBC,UAAU,CAAC;CACXE,YAAY,CAAC;CACbC,iBAAiB,CAAC;CAClBC,YAAY,CAAC;CACbC,SAAS,CAAC;CACVC,YAAY,CAAC;CACbC,WAAW,CAAC;AACd;AAEA,IAAME,SAAS;CAAC;CAAY;CAAc;CAAmB;CAAc;CAAW;CAAc;AAAW;AAE/G,IAAME,gBAAgB3C,MAAM4C,cAAsBJ,aAAa;;;;;;;;;;AAkB/D,SAAOS,eAAAC,IAAA;CAAA,MAAAC,IAAAC,EAAA,CAAA;CAAwB,MAAA,EAAAN,QAAAC,aAAAG;CAC7B,MAAAG,SAAerD,MAAKsD,WAAYX,aAAa;CAAE,IAAAY;CAAA,IAAAJ,EAAA,OAAAL,UAAAK,EAAA,OAAAE,QAAA;EAC/CE,QAAsB;GAAA,GAAKF;GAAM,GAAKP;EAAO;EAC7C,KAAK,MAAAU,OAAaf,QAAQc,MAAMC,OAAO;GAAA,GAAKH,OAAOG;GAAI,GAAKV,OAAOU;EAAK;EAAWL,EAAA,KAAAL;EAAAK,EAAA,KAAAE;EAAAF,EAAA,KAAAI;CAAA,OAAAA,QAAAJ,EAAA;CAAA,IAAAM;CAAA,IAAAN,EAAA,OAAAJ,YAAAI,EAAA,OAAAI,OAAA;EAC5EE,KAAA,oBAAC,eAAD;GAAsBF;GAAQR;EAAhB,CAAA;EAAyCI,EAAA,KAAAJ;EAAAI,EAAA,KAAAI;EAAAJ,EAAA,KAAAM;CAAA,OAAAA,KAAAN,EAAA;CAAA,OAAvDM;AAAuD;;AAIhE,SAAOC,YAAA;CAAA,OACE1D,MAAKsD,WAAYX,aAAa;AAAC"}
1
+ {"version":3,"file":"Labels.js","names":["React","CalendarLabels","DataTableLabels","DatePickerLabels","DateRangePickerLabels","FileUploadLabels","PaginationLabels","StepperLabels","Labels","close","dismiss","cancel","loading","selectPlaceholder","clearSearch","showPassword","decrease","increase","openList","clearSelection","removeItem","label","remove","moreSelected","count","noResults","commandPalette","commandSearch","breadcrumbs","collapseNavbar","expandNavbar","openNavigation","more","quickNavigation","navigation","closeNavigation","calendar","Partial","datePicker","dateRangePicker","pagination","stepper","fileUpload","dataTable","defaultLabels","nested","const","LabelsContext","createContext","LabelsProviderProps","labels","children","ReactNode","LabelsProvider","t0","$","_c","parent","useContext","value","key","t1","useLabels","_c"],"sources":["../../src/labels/Labels.tsx"],"sourcesContent":["import * as React from 'react';\nimport type { CalendarLabels } from '../components/calendar/Calendar';\nimport type { DataTableLabels } from '../components/data-table/types';\nimport type { DatePickerLabels } from '../components/date-picker/DatePicker';\nimport type { DateRangePickerLabels } from '../components/date-picker/DateRangePicker';\nimport type { FileUploadLabels } from '../components/file-upload/FileUpload';\nimport type { PaginationLabels } from '../components/pagination/Pagination';\nimport type { StepperLabels } from '../components/stepper/Stepper';\n\n/** Every built-in text of the library, for `LabelsProvider`. */\nexport interface Labels {\n /** Close buttons of `Dialog`, `Drawer` and toasts. */\n close: string;\n /** Dismiss button of an `Alert`. */\n dismiss: string;\n /** Cancel button of a `ConfirmDialog`. */\n cancel: string;\n /** Accessible name of a `Spinner`. */\n loading: string;\n /** Placeholder of a `Select` with nothing chosen. */\n selectPlaceholder: string;\n /** Clear button of a `SearchInput`. */\n clearSearch: string;\n /** Show/hide button of a `PasswordInput`. */\n showPassword: string;\n /** − button of a `NumberField`. */\n decrease: string;\n /** + button of a `NumberField`. */\n increase: string;\n /** Button that opens a `Combobox` list. */\n openList: string;\n /** Button that clears a `Combobox`. */\n clearSelection: string;\n /** Remove button of a chip in a multiple `Combobox`. */\n removeItem: (label: string) => string;\n /** Remove button of a `Combobox.Chip` whose content is not plain text. */\n remove: string;\n /** The `+N` chip of a multiple `Combobox` with `maxChips`. */\n moreSelected: (count: number) => string;\n /** Shown when a `Combobox` filter or a `CommandPalette` search matches nothing. */\n noResults: string;\n /** Accessible name of the `CommandPalette` dialog. */\n commandPalette: string;\n /** Placeholder of the `CommandPalette` search input. */\n commandSearch: string;\n /** Accessible name of `Breadcrumbs`. */\n breadcrumbs: string;\n /** Collapse button of the `Navbar`. */\n collapseNavbar: string;\n /** Expand button of a collapsed `Navbar`. */\n expandNavbar: string;\n /** `AppShell` mobile menu button, shown when there is no tab bar. */\n openNavigation: string;\n /** `AppShell` tab that opens the full navigation. */\n more: string;\n /** Accessible name of the `AppShell` mobile tab bar. */\n quickNavigation: string;\n /** Accessible name of the `AppShell` navigation drawer. */\n navigation: string;\n /** Close button of the `AppShell` navigation drawer. */\n closeNavigation: string;\n /** Texts of `Calendar` and `RangeCalendar`. */\n calendar: Partial<CalendarLabels>;\n /** Texts of `DatePicker`. */\n datePicker: Partial<DatePickerLabels>;\n /** Texts of `DateRangePicker`. */\n dateRangePicker: Partial<DateRangePickerLabels>;\n /** Texts of `Pagination`. */\n pagination: Partial<PaginationLabels>;\n /** Texts of `Stepper`. */\n stepper: Partial<StepperLabels>;\n /** Texts of `FileUpload`. */\n fileUpload: Partial<FileUploadLabels>;\n /** Texts of `DataTable`. */\n dataTable: Partial<DataTableLabels>;\n}\n\nconst defaultLabels: Labels = {\n close: 'Close',\n dismiss: 'Dismiss',\n cancel: 'Cancel',\n loading: 'Loading',\n selectPlaceholder: 'Select…',\n clearSearch: 'Clear search',\n showPassword: 'Show password',\n decrease: 'Decrease',\n increase: 'Increase',\n openList: 'Open list',\n clearSelection: 'Clear selection',\n removeItem: (label) => `Remove ${label}`,\n remove: 'Remove',\n moreSelected: (count) => `${count} more selected`,\n noResults: 'No results found.',\n commandPalette: 'Command palette',\n commandSearch: 'Search…',\n breadcrumbs: 'Breadcrumb',\n collapseNavbar: 'Collapse',\n expandNavbar: 'Expand',\n openNavigation: 'Open navigation',\n more: 'More',\n quickNavigation: 'Quick navigation',\n navigation: 'Navigation',\n closeNavigation: 'Close navigation',\n calendar: {},\n datePicker: {},\n dateRangePicker: {},\n pagination: {},\n stepper: {},\n fileUpload: {},\n dataTable: {},\n};\n\nconst nested = ['calendar', 'datePicker', 'dateRangePicker', 'pagination', 'stepper', 'fileUpload', 'dataTable'] as const;\n\nconst LabelsContext = React.createContext<Labels>(defaultLabels);\n\nexport interface LabelsProviderProps {\n /** Texts to replace. Nested providers override only what they pass; props on a component still win. */\n labels: Partial<Labels>;\n /** The subtree that uses these texts. */\n children?: React.ReactNode;\n}\n\n/**\n * Replaces the library's built-in English texts (button names, placeholders, table and calendar texts) for\n * everything inside it, so an app translates them once instead of per component.\n *\n * @example\n * <LabelsProvider labels={{ close: 'Bezárás', selectPlaceholder: 'Válasszon…', dataTable: { search: 'Keresés…' } }}>\n * <App />\n * </LabelsProvider>\n */\nexport function LabelsProvider({ labels, children }: LabelsProviderProps) {\n const parent = React.useContext(LabelsContext);\n const value: Labels = { ...parent, ...labels };\n for (const key of nested) value[key] = { ...parent[key], ...labels[key] } as never;\n return <LabelsContext value={value}>{children}</LabelsContext>;\n}\n\n/** The texts from the nearest `LabelsProvider`, with English defaults for the rest. */\nexport function useLabels(): Labels {\n return React.useContext(LabelsContext);\n}\n"],"mappings":";;;;;AA6EA,IAAM4C,gBAAwB;CAC5BnC,OAAO;CACPC,SAAS;CACTC,QAAQ;CACRC,SAAS;CACTC,mBAAmB;CACnBC,aAAa;CACbC,cAAc;CACdC,UAAU;CACVC,UAAU;CACVC,UAAU;CACVC,gBAAgB;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-0,0 +1,17 @@
1
+ import type { Labels } from './Labels';
2
+ /**
3
+ * Hungarian texts for every built-in label of the library, in the formal register (magázás). Pass it to
4
+ * `LabelsProvider` once at the app root; spread it to change single texts. Dates also need `locale="hu"` (or
5
+ * `DateConfigProvider`) for month and weekday names. Map texts are separate: see `MapLabels`.
6
+ *
7
+ * @example
8
+ * <LabelsProvider labels={huLabels}>
9
+ * <App />
10
+ * </LabelsProvider>
11
+ *
12
+ * @example
13
+ * <LabelsProvider labels={{ ...huLabels, dataTable: { ...huLabels.dataTable, count: (n) => `${n} jármű` } }}>
14
+ * <App />
15
+ * </LabelsProvider>
16
+ */
17
+ export declare const huLabels: Labels;
@@ -0,0 +1,124 @@
1
+ "use client";
2
+ //#region src/labels/hu.ts
3
+ var calendar = {
4
+ previousMonth: "Előző hónap",
5
+ nextMonth: "Következő hónap",
6
+ previousYear: "Előző év",
7
+ nextYear: "Következő év",
8
+ previousYears: "Előző évek",
9
+ nextYears: "Következő évek",
10
+ chooseMonth: "Hónap kiválasztása",
11
+ chooseYear: "Év kiválasztása"
12
+ };
13
+ /**
14
+ * Hungarian texts for every built-in label of the library, in the formal register (magázás). Pass it to
15
+ * `LabelsProvider` once at the app root; spread it to change single texts. Dates also need `locale="hu"` (or
16
+ * `DateConfigProvider`) for month and weekday names. Map texts are separate: see `MapLabels`.
17
+ *
18
+ * @example
19
+ * <LabelsProvider labels={huLabels}>
20
+ * <App />
21
+ * </LabelsProvider>
22
+ *
23
+ * @example
24
+ * <LabelsProvider labels={{ ...huLabels, dataTable: { ...huLabels.dataTable, count: (n) => `${n} jármű` } }}>
25
+ * <App />
26
+ * </LabelsProvider>
27
+ */
28
+ var huLabels = {
29
+ close: "Bezárás",
30
+ dismiss: "Bezárás",
31
+ cancel: "Mégse",
32
+ loading: "Betöltés",
33
+ selectPlaceholder: "Válasszon…",
34
+ clearSearch: "Keresés törlése",
35
+ showPassword: "Jelszó megjelenítése",
36
+ decrease: "Csökkentés",
37
+ increase: "Növelés",
38
+ openList: "Lista megnyitása",
39
+ clearSelection: "Választás törlése",
40
+ removeItem: (label) => `${label} eltávolítása`,
41
+ remove: "Eltávolítás",
42
+ moreSelected: (count) => `További ${count} kiválasztva`,
43
+ noResults: "Nincs találat.",
44
+ commandPalette: "Parancsok",
45
+ commandSearch: "Keresés…",
46
+ breadcrumbs: "Navigációs útvonal",
47
+ collapseNavbar: "Összecsukás",
48
+ expandNavbar: "Kibontás",
49
+ openNavigation: "Navigáció megnyitása",
50
+ more: "Több",
51
+ quickNavigation: "Gyors navigáció",
52
+ navigation: "Navigáció",
53
+ closeNavigation: "Navigáció bezárása",
54
+ calendar,
55
+ datePicker: {
56
+ ...calendar,
57
+ today: "Ma",
58
+ clear: "Törlés",
59
+ done: "Kész",
60
+ time: "Idő",
61
+ hours: "Óra",
62
+ minutes: "Perc",
63
+ seconds: "Másodperc",
64
+ selectYear: "Válasszon évet",
65
+ selectMonth: "Válasszon hónapot",
66
+ selectDate: "Válasszon dátumot",
67
+ selectDateTime: "Válasszon dátumot és időt"
68
+ },
69
+ dateRangePicker: {
70
+ ...calendar,
71
+ clear: "Törlés",
72
+ presets: "Gyorsválasztás",
73
+ selectDates: "Válasszon időszakot"
74
+ },
75
+ pagination: {
76
+ navigation: "Lapozás",
77
+ previous: "Előző oldal",
78
+ next: "Következő oldal",
79
+ rowsPerPage: "Sorok oldalanként",
80
+ page: (page) => `${page}. oldal`,
81
+ range: (from, to, total) => total ? `${from}–${to} / ${total}` : "0 találat"
82
+ },
83
+ stepper: {
84
+ complete: "Kész",
85
+ current: "Folyamatban",
86
+ upcoming: "Nincs elkezdve",
87
+ error: "Sikertelen"
88
+ },
89
+ fileUpload: { remove: (name) => `${name} eltávolítása` },
90
+ dataTable: {
91
+ search: "Keresés…",
92
+ clearSearch: "Keresés törlése",
93
+ selectAll: "Összes kijelölése",
94
+ selectRow: (label) => `${label} kijelölése`,
95
+ count: (count) => `${count} tétel`,
96
+ selected: (count) => `${count} kijelölve`,
97
+ emptyTitle: "Még nincsenek tételek",
98
+ emptyDescription: "A tételek itt jelennek meg, amint felveszik őket.",
99
+ noMatchTitle: "Nincs megfelelő tétel",
100
+ noMatchDescription: "Próbálkozzon más kereséssel.",
101
+ noFilterMatchDescription: "Próbálkozzon más szűrőkkel, vagy törölje őket.",
102
+ loading: "Betöltés",
103
+ errorTitle: "Nem sikerült betölteni a tételeket",
104
+ retry: "Újrapróbálás",
105
+ filters: "Szűrők",
106
+ showResults: (count) => `${count} tétel megjelenítése`,
107
+ removeFilter: (filter) => `Szűrő eltávolítása: ${filter}`,
108
+ close: "Bezárás",
109
+ filterAll: "Mind",
110
+ clearFilters: "Szűrők törlése",
111
+ actions: "Műveletek",
112
+ columns: "Oszlopok",
113
+ clearSelection: "Kijelölés megszüntetése",
114
+ export: "Exportálás",
115
+ edit: "Szerkesztés",
116
+ save: "Mentés",
117
+ cancel: "Mégse",
118
+ delete: "Törlés"
119
+ }
120
+ };
121
+ //#endregion
122
+ export { huLabels };
123
+
124
+ //# sourceMappingURL=hu.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"hu.js","names":["CalendarLabels","Labels","calendar","previousMonth","nextMonth","previousYear","nextYear","previousYears","nextYears","chooseMonth","chooseYear","huLabels","close","dismiss","cancel","loading","selectPlaceholder","clearSearch","showPassword","decrease","increase","openList","clearSelection","removeItem","label","remove","moreSelected","count","noResults","commandPalette","commandSearch","breadcrumbs","collapseNavbar","expandNavbar","openNavigation","more","quickNavigation","navigation","closeNavigation","datePicker","today","clear","done","time","hours","minutes","seconds","selectYear","selectMonth","selectDate","selectDateTime","dateRangePicker","presets","selectDates","pagination","previous","next","rowsPerPage","page","range","from","to","total","stepper","complete","current","upcoming","error","fileUpload","name","dataTable","search","selectAll","selectRow","selected","emptyTitle","emptyDescription","noMatchTitle","noMatchDescription","noFilterMatchDescription","errorTitle","retry","filters","showResults","removeFilter","filter","filterAll","clearFilters","actions","columns","export","edit","save","delete"],"sources":["../../src/labels/hu.ts"],"sourcesContent":["import type { CalendarLabels } from '../components/calendar/Calendar';\nimport type { Labels } from './Labels';\n\nconst calendar: CalendarLabels = {\n previousMonth: 'Előző hónap',\n nextMonth: 'Következő hónap',\n previousYear: 'Előző év',\n nextYear: 'Következő év',\n previousYears: 'Előző évek',\n nextYears: 'Következő évek',\n chooseMonth: 'Hónap kiválasztása',\n chooseYear: 'Év kiválasztása',\n};\n\n/**\n * Hungarian texts for every built-in label of the library, in the formal register (magázás). Pass it to\n * `LabelsProvider` once at the app root; spread it to change single texts. Dates also need `locale=\"hu\"` (or\n * `DateConfigProvider`) for month and weekday names. Map texts are separate: see `MapLabels`.\n *\n * @example\n * <LabelsProvider labels={huLabels}>\n * <App />\n * </LabelsProvider>\n *\n * @example\n * <LabelsProvider labels={{ ...huLabels, dataTable: { ...huLabels.dataTable, count: (n) => `${n} jármű` } }}>\n * <App />\n * </LabelsProvider>\n */\nexport const huLabels: Labels = {\n close: 'Bezárás',\n dismiss: 'Bezárás',\n cancel: 'Mégse',\n loading: 'Betöltés',\n selectPlaceholder: 'Válasszon…',\n clearSearch: 'Keresés törlése',\n showPassword: 'Jelszó megjelenítése',\n decrease: 'Csökkentés',\n increase: 'Növelés',\n openList: 'Lista megnyitása',\n clearSelection: 'Választás törlése',\n removeItem: (label) => `${label} eltávolítása`,\n remove: 'Eltávolítás',\n moreSelected: (count) => `További ${count} kiválasztva`,\n noResults: 'Nincs találat.',\n commandPalette: 'Parancsok',\n commandSearch: 'Keresés…',\n breadcrumbs: 'Navigációs útvonal',\n collapseNavbar: 'Összecsukás',\n expandNavbar: 'Kibontás',\n openNavigation: 'Navigáció megnyitása',\n more: 'Több',\n quickNavigation: 'Gyors navigáció',\n navigation: 'Navigáció',\n closeNavigation: 'Navigáció bezárása',\n calendar,\n datePicker: {\n ...calendar,\n today: 'Ma',\n clear: 'Törlés',\n done: 'Kész',\n time: 'Idő',\n hours: 'Óra',\n minutes: 'Perc',\n seconds: 'Másodperc',\n selectYear: 'Válasszon évet',\n selectMonth: 'Válasszon hónapot',\n selectDate: 'Válasszon dátumot',\n selectDateTime: 'Válasszon dátumot és időt',\n },\n dateRangePicker: {\n ...calendar,\n clear: 'Törlés',\n presets: 'Gyorsválasztás',\n selectDates: 'Válasszon időszakot',\n },\n pagination: {\n navigation: 'Lapozás',\n previous: 'Előző oldal',\n next: 'Következő oldal',\n rowsPerPage: 'Sorok oldalanként',\n page: (page) => `${page}. oldal`,\n range: (from, to, total) => (total ? `${from}–${to} / ${total}` : '0 találat'),\n },\n stepper: {\n complete: 'Kész',\n current: 'Folyamatban',\n upcoming: 'Nincs elkezdve',\n error: 'Sikertelen',\n },\n fileUpload: {\n remove: (name) => `${name} eltávolítása`,\n },\n dataTable: {\n search: 'Keresés…',\n clearSearch: 'Keresés törlése',\n selectAll: 'Összes kijelölése',\n selectRow: (label) => `${label} kijelölése`,\n count: (count) => `${count} tétel`,\n selected: (count) => `${count} kijelölve`,\n emptyTitle: 'Még nincsenek tételek',\n emptyDescription: 'A tételek itt jelennek meg, amint felveszik őket.',\n noMatchTitle: 'Nincs megfelelő tétel',\n noMatchDescription: 'Próbálkozzon más kereséssel.',\n noFilterMatchDescription: 'Próbálkozzon más szűrőkkel, vagy törölje őket.',\n loading: 'Betöltés',\n errorTitle: 'Nem sikerült betölteni a tételeket',\n retry: 'Újrapróbálás',\n filters: 'Szűrők',\n showResults: (count) => `${count} tétel megjelenítése`,\n removeFilter: (filter) => `Szűrő eltávolítása: ${filter}`,\n close: 'Bezárás',\n filterAll: 'Mind',\n clearFilters: 'Szűrők törlése',\n actions: 'Műveletek',\n columns: 'Oszlopok',\n clearSelection: 'Kijelölés megszüntetése',\n export: 'Exportálás',\n edit: 'Szerkesztés',\n save: 'Mentés',\n cancel: 'Mégse',\n delete: 'Törlés',\n },\n};\n"],"mappings":";;AAGA,IAAME,WAA2B;CAC/BC,eAAe;CACfC,WAAW;CACXC,cAAc;CACdC,UAAU;CACVC,eAAe;CACfC,WAAW;CACXC,aAAa;CACbC,YAAY;AAC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OAAO;EACPC,SAAS;EACTC,cAAcxD,UAAU,GAAGA,MAAK;EAChCyD,eAAeC,WAAW,uBAAuBA;EACjDzE,OAAO;EACP0E,WAAW;EACXC,cAAc;EACdC,SAAS;EACTC,SAAS;EACTnE,gBAAgB;EAChBoE,QAAQ;EACRC,MAAM;EACNC,MAAM;EACN9E,QAAQ;EACR+E,QAAQ;CACV;AACF"}
@@ -76,6 +76,24 @@ import { createTheme } from '@optimum-intelligence/opti-ui';
76
76
 
77
77
  Signature: `createTheme(...themes: Theme[])`
78
78
 
79
+ ## huLabels
80
+
81
+ constant · Theme
82
+
83
+ Hungarian texts for every built-in label of the library, in the formal register (magázás). Pass it to
84
+ `LabelsProvider` once at the app root; spread it to change single texts. Dates also need `locale="hu"` (or
85
+ `DateConfigProvider`) for month and weekday names. Map texts are separate: see `MapLabels`.
86
+
87
+ ```tsx
88
+ import { huLabels } from '@optimum-intelligence/opti-ui';
89
+ ```
90
+
91
+ ```tsx
92
+ <LabelsProvider labels={{ ...huLabels, dataTable: { ...huLabels.dataTable, count: (n) => `${n} jármű` } }}>
93
+ <App />
94
+ </LabelsProvider>
95
+ ```
96
+
79
97
  ## LabelsProvider
80
98
 
81
99
  component · Theme
@@ -1259,6 +1277,7 @@ import { NavbarItem } from '@optimum-intelligence/opti-ui';
1259
1277
  | `active?` | `boolean` | `false` | Marks the current page (sets aria-current). Also opens the surrounding `NavbarGroup`. |
1260
1278
  | `badge?` | `React.ReactNode` | | Trailing content such as a count badge. |
1261
1279
  | `pinned?` | `boolean` | `false` | Also shows the item in the `AppShell` mobile tab bar (icon and label). Pin up to four items; the first four in navbar order are used. Has no effect outside an `AppShell`. |
1280
+ | `tabLabel?` | `React.ReactNode` | | Shorter label for the mobile tab bar, where long labels are cut short (e.g. "Vehicles" for "Vehicle register"). The full label stays in the navbar and becomes the tab's tooltip. Only used with `pinned`. |
1262
1281
 
1263
1282
  Also accepts all props of: `useRender.ComponentProps<'a', NavbarItemState>`.
1264
1283
 
@@ -1377,7 +1396,7 @@ import { StatCard } from '@optimum-intelligence/opti-ui';
1377
1396
  | `unit?` | `React.ReactNode` | | Unit beside the value, e.g. "kWh" or "orders". |
1378
1397
  | `delta?` | `React.ReactNode` | | Change indicator, e.g. "+12.4%". |
1379
1398
  | `trend?` | `'up' \| 'down' \| 'flat'` | | Arrow direction shown next to `delta`. |
1380
- | `tone?` | `'positive' \| 'negative' \| 'neutral'` | | Color of the delta. Defaults to positive for `up`, negative for `down`. |
1399
+ | `tone?` | `'success' \| 'danger' \| 'neutral' \| 'positive' \| 'negative'` | | Colour of the delta: whether the change is good (`success`) or bad (`danger`), which the direction alone does not say. Defaults to `success` for `up`, `danger` for `down`. `positive` and `negative` still work but are deprecated. |
1381
1400
  | `hint?` | `React.ReactNode` | | Supporting text under the value. |
1382
1401
  | `icon?` | `React.ReactNode` | | Icon tile shown in the top-right corner. Hidden below 640px, where the tile is compact. |
1383
1402
  | `loading?` | `boolean` | | Replaces the value with a skeleton while data loads. |
@@ -1774,9 +1793,9 @@ import { CommandPalette } from '@optimum-intelligence/opti-ui';
1774
1793
  | `maxResults?` | `number` | `50` | Cap on rendered results. |
1775
1794
  | `hotkey?` | `string \| false` | `'k'` | Key that toggles the palette together with Ctrl / ⌘. `false` disables the shortcut. |
1776
1795
  | `keepOpenOnSelect?` | `boolean` | | Keep the palette open after choosing an item. |
1777
- | `title?` | `string` | `'Command palette'` | Accessible name of the dialog. |
1778
- | `placeholder?` | `string` | `'Search…'` | Placeholder of the search input. |
1779
- | `emptyText?` | `React.ReactNode` | `'No results found.'` | Shown when nothing matches. |
1796
+ | `title?` | `string` | `'Command palette'` | Accessible name of the dialog. Set app-wide with `LabelsProvider` (`commandPalette`). |
1797
+ | `placeholder?` | `string` | `'Search…'` | Placeholder and accessible name of the search input. Set app-wide with `LabelsProvider` (`commandSearch`). |
1798
+ | `emptyText?` | `React.ReactNode` | `'No results found.'` | Shown when nothing matches. Set app-wide with `LabelsProvider` (`noResults`). |
1780
1799
  | `loading?` | `boolean` | | Show a spinner in the search row while results load. |
1781
1800
  | `footer?` | `React.ReactNode` | | Content below the results (key hints, a retry button…). |
1782
1801
  | `className?` | `string` | | Class name for the palette popup. |
@@ -1825,6 +1844,7 @@ import { ConfirmDialog } from '@optimum-intelligence/opti-ui';
1825
1844
  | `onConfirm` | `() => void` | | Called by the confirm button. The dialog stays open; close it when the action succeeds. |
1826
1845
  | `destructive?` | `boolean` | `false` | Red confirm button, for actions that delete or cannot be undone. |
1827
1846
  | `pending?` | `boolean` | `false` | The action is running: the confirm button spins and the dialog cannot be closed. |
1847
+ | `confirmDisabled?` | `boolean` | `false` | Disables the confirm button, for an action that turns out to be blocked once the dialog is open. Say why in `children` or `error`. |
1828
1848
  | `error?` | `React.ReactNode` | | Why the action failed, shown above the buttons. |
1829
1849
  | `size?` | `'sm' \| 'md' \| 'lg'` | `'sm'` | Dialog width. |
1830
1850
  | `backdropBlur?` | `'none' \| 'sm' \| 'md' \| 'lg'` | | How strongly the page behind the dialog is blurred. |
@@ -2157,6 +2177,7 @@ import { Breadcrumbs } from '@optimum-intelligence/opti-ui';
2157
2177
  | --- | --- | --- | --- |
2158
2178
  | `ref?` | `React.Ref<HTMLElement>` | | Ref to the `<nav>` element. |
2159
2179
  | `separator?` | `React.ReactNode` | | Shown between items. Defaults to a chevron. |
2180
+ | `aria-label?` | `string` | `'Breadcrumb'` | Accessible name of the `<nav>`. Set app-wide with `LabelsProvider` (`breadcrumbs`). |
2160
2181
 
2161
2182
  Also accepts all props of: `React.HTMLAttributes<HTMLElement>`.
2162
2183
 
@@ -2375,6 +2396,7 @@ picks the toolbar filters), `DataTable.Filter`, `DataTable.FilterPanel`
2375
2396
  (the "Filters" button and panel for the other filters),
2376
2397
  `DataTable.ActiveFilters` (their tags), `DataTable.FilterSheet` (the phone
2377
2398
  filter button and sheet), `DataTable.ClearFilters`, `DataTable.Actions`,
2399
+ `DataTable.ColumnsMenu`,
2378
2400
  `DataTable.Loading`, `DataTable.Summary`, `DataTable.Content`,
2379
2401
  `DataTable.Pagination`.
2380
2402
 
@@ -2396,8 +2418,10 @@ import { DataTable } from '@optimum-intelligence/opti-ui';
2396
2418
  | `tableProps?` | `Omit<TableProps, 'children'>` | | Props for the underlying `Table` (className, wrapperProps, aria-*). |
2397
2419
  | `pageSizeOptions?` | `number[]` | | Choices in the rows-per-page select. |
2398
2420
  | `controlSize?` | `'sm' \| 'md'` | | Size of the search box and the filters. |
2399
- | `toolbar?` | `React.ReactNode \| ((context: DataTableToolbarContext<T>) => React.ReactNode)` | | Extra toolbar content (add, bulk actions…). A function receives the processed rows. |
2400
- | `showToolbar?` | `boolean` | `true` | `false` drops the search, filters, row count and toolbar content: rows only, for short tables under their own heading. The toolbar holds the search, the `quick` filters, a "Filters (n)" button whose panel holds the other filters, and a clear button on the left; the loading spinner, `toolbar` content and export on the right. Active filters from the panel show as tags under it. The row count sits in the footer: the pagination's range, or a count when the table is not paginated or rows are selected. Below 640px the toolbar is one line: the search, a "Filters (n)" button whose bottom sheet holds every filter and the `toolbar` content, and export. |
2421
+ | `toolbar?` | `React.ReactNode \| ((context: DataTableToolbarContext<T>) => React.ReactNode)` | | Extra toolbar content (add, import…). A function receives the processed rows. |
2422
+ | `bulkActions?` | `(context: DataTableToolbarContext<T>) => React.ReactNode` | | Actions on the selected rows. While rows are selected, the header row shows their count, a clear button and these actions in place of the column names. Needs `onSelectionChange`. |
2423
+ | `columnsMenu?` | `boolean` | `false` | Adds an icon button whose menu shows and hides columns (`DataTable.ColumnsMenu`). |
2424
+ | `showToolbar?` | `boolean` | `true` | `false` drops the search, filters, row count and toolbar content: rows only, for short tables under their own heading. The toolbar holds the search, a "Filters (n)" button whose panel holds the filters that are not `quick`, the `quick` filters and a clear button on the left; the loading spinner, `toolbar` content, columns menu and export on the right. Active filters from the panel show as tags under it. The row count sits in the footer: the pagination's range, or a count when the table is not paginated. Below 640px the toolbar is one line: the search, a filter icon button whose bottom sheet holds every filter and the `toolbar` content, and export. |
2401
2425
  | `exportName?` | `string` | | Adds an icon-only export button (named by `labels.export`, also its tooltip) that saves the filtered, sorted rows as `<exportName>.csv`. Columns choose their text with `exportValue`. |
2402
2426
  | `fill?` | `boolean` | `false` | Grow to fill the height of a flex column container (a page, or a `Card` whose content holds the table); only the rows scroll. `maxHeight` still caps it. |
2403
2427
  | `className?` | `string` | | Class name for the table's root element. |
@@ -2439,8 +2463,9 @@ Also accepts all props of: `Omit<BaseInput.Props, 'size'>`.
2439
2463
 
2440
2464
  ### DataTable.Filters
2441
2465
 
2442
- The filters of the table, in a wrapping row. Children are added after the filters. Selects and date
2443
- ranges in the row have a fixed width (`--oui-data-table-filter-width`), so picking a value moves nothing.
2466
+ The filters of the table, in a wrapping row. Children are added after the filters. Selects in the row have
2467
+ a fixed width (`--oui-data-table-filter-width`), and date ranges the width of a full range, so picking a
2468
+ value moves nothing. A filter's `width` overrides both.
2444
2469
 
2445
2470
  | Prop | Type | Default | Description |
2446
2471
  | --- | --- | --- | --- |
@@ -2462,9 +2487,10 @@ The control of one filter: a dropdown, a toggle chip, a row of chips or a date r
2462
2487
 
2463
2488
  ### DataTable.FilterSheet
2464
2489
 
2465
- The phone toolbar's "Filters (n)" button, which opens a bottom sheet holding every filter and the
2466
- `children`. Filters apply as they change. The footer keeps a clear button (disabled while no filter
2467
- is set, so nothing moves when one is) and a button that closes the sheet on the result count.
2490
+ The phone toolbar's filter button: an icon with the number of active filters, so the search next to it
2491
+ keeps the width. It opens a bottom sheet holding every filter and the `children`. Filters apply as they
2492
+ change. The footer keeps a clear button (disabled while no filter is set, so nothing moves when one is)
2493
+ and a button that closes the sheet on the result count.
2468
2494
 
2469
2495
  | Prop | Type | Default | Description |
2470
2496
  | --- | --- | --- | --- |
@@ -2482,8 +2508,8 @@ when every filter is quick.
2482
2508
  <DataTable.Toolbar>
2483
2509
  <DataTable.Controls>
2484
2510
  <DataTable.Search />
2485
- <DataTable.Filters quick />
2486
2511
  <DataTable.FilterPanel />
2512
+ <DataTable.Filters quick />
2487
2513
  <DataTable.ClearFilters keepSpace />
2488
2514
  </DataTable.Controls>
2489
2515
  </DataTable.Toolbar>
@@ -2523,13 +2549,25 @@ Button that clears every filter. Place it after the filters with `keepSpace`, so
2523
2549
  | `className?` | `string` | | Class name for the button. |
2524
2550
  | `keepSpace?` | `boolean` | | While no filter is set, hide the button but keep its space, so the controls around it never move. Without it the button renders nothing then. |
2525
2551
 
2552
+ ### DataTable.ColumnsMenu
2553
+
2554
+ Icon button with a menu of checkboxes that show or hide columns. Columns with `hidden` or
2555
+ `hideable: false` are not listed. The choice is in `table.hiddenColumns`; keep it across visits with
2556
+ `hiddenColumns` and `onHiddenColumnsChange`.
2557
+
2558
+ | Prop | Type | Default | Description |
2559
+ | --- | --- | --- | --- |
2560
+ | `size?` | `'sm' \| 'md'` | `'md'` | Height of the button. |
2561
+ | `className?` | `string` | | Class name for the button. |
2562
+
2526
2563
  ### DataTable.Loading
2527
2564
 
2528
2565
  Spinner while the table loads. It keeps its space while idle, so nothing moves when it shows.
2529
2566
 
2530
2567
  ### DataTable.Summary
2531
2568
 
2532
- Row count, or the number of selected rows. The default table shows it in the footer.
2569
+ Matching rows of all rows (`"3 / 10"`), or the number of selected rows. In server mode, where the total
2570
+ before filters is not known, the `count` label. The default table shows it in the footer.
2533
2571
 
2534
2572
  ### DataTable.Content
2535
2573
 
@@ -2543,6 +2581,7 @@ The table itself, with its loading, empty and error states.
2543
2581
  | `onEndReached?` | `() => void` | | Called when the rows are scrolled near their end, once per row count: load and append the next rows. Needs `maxHeight` or `virtualized`. |
2544
2582
  | `stickyFirstColumn?` | `boolean` | | Keeps the first column (and the selection checkboxes) in place while the table scrolls sideways, so each row stays identifiable on narrow screens. |
2545
2583
  | `empty?` | `React.ReactNode` | | Replaces the default empty state. |
2584
+ | `selectionActions?` | `React.ReactNode` | | Actions on the selected rows (delete, export, assign…). While rows are selected, the header row shows their count, a button that clears the selection and these actions in place of the column names, at the header's height, so the rows do not move. Buttons in it are made header-sized. |
2546
2585
  | `tableProps?` | `Omit<TableProps, 'children'>` | | Props for the underlying `Table` (className, wrapperProps, aria-*). |
2547
2586
 
2548
2587
  Also accepts all props of: `Pick<TableProps, 'density' \| 'striped' \| 'stickyHeader'>`.
@@ -2639,7 +2678,7 @@ import { Meter } from '@optimum-intelligence/opti-ui';
2639
2678
  | --- | --- | --- | --- |
2640
2679
  | `label?` | `React.ReactNode` | | Label above the bar. |
2641
2680
  | `showValue?` | `boolean` | `true` | Show the formatted value next to the label. Defaults to `true`. |
2642
- | `tone?` | `'accent' \| 'primary' \| 'success' \| 'warning' \| 'danger'` | `'accent'` | Bar color. |
2681
+ | `tone?` | `'accent' \| 'info' \| 'primary' \| 'success' \| 'warning' \| 'danger'` | `'accent'` | Bar color. |
2643
2682
  | `size?` | `'sm' \| 'md' \| 'lg'` | `'md'` | Bar thickness. |
2644
2683
 
2645
2684
  Also accepts all props of: `BaseMeter.Root.Props`.
@@ -2658,7 +2697,7 @@ import { Progress } from '@optimum-intelligence/opti-ui';
2658
2697
  | --- | --- | --- | --- |
2659
2698
  | `label?` | `React.ReactNode` | | Label above the bar. |
2660
2699
  | `showValue?` | `boolean` | | Show the formatted value next to the label. |
2661
- | `tone?` | `'accent' \| 'primary' \| 'success' \| 'warning' \| 'danger'` | `'accent'` | Bar color. |
2700
+ | `tone?` | `'accent' \| 'info' \| 'primary' \| 'success' \| 'warning' \| 'danger'` | `'accent'` | Bar color. |
2662
2701
  | `size?` | `'sm' \| 'md' \| 'lg'` | `'md'` | Bar thickness. |
2663
2702
 
2664
2703
  Also accepts all props of: `BaseProgress.Root.Props`.
@@ -2748,7 +2787,7 @@ import { Table } from '@optimum-intelligence/opti-ui';
2748
2787
  | `striped?` | `boolean` | | Alternating row background. |
2749
2788
  | `hoverable?` | `boolean` | `true` | Highlight rows on hover. |
2750
2789
  | `stickyHeader?` | `boolean` | | Keep the header visible while the wrapper scrolls (set a max height on it). |
2751
- | `wrapperProps?` | `React.HTMLAttributes<HTMLDivElement>` | | Props for the horizontally scrolling wrapper. |
2790
+ | `wrapperProps?` | `React.HTMLAttributes<HTMLDivElement>` | | Props for the horizontally scrolling wrapper. While the table overflows, the wrapper is focusable so keyboard users can scroll it; give it `role="region"` and an `aria-label` (or `aria-labelledby` the caption) so screen readers announce what it is. |
2752
2791
 
2753
2792
  Also accepts all props of: `React.TableHTMLAttributes<HTMLTableElement>`.
2754
2793
 
@@ -2914,10 +2953,14 @@ import { useDataTable } from '@optimum-intelligence/opti-ui';
2914
2953
  | `onPageSizeChange?` | `(pageSize: number) => void` | | Called when the rows per page change. |
2915
2954
  | `selection?` | `string[]` | | Selected row ids. Passing `onSelectionChange` adds the checkbox column. Select-all covers every filtered row, or in server mode the current page. |
2916
2955
  | `onSelectionChange?` | `(selection: string[]) => void` | | Called with the selected row ids. |
2956
+ | `hiddenColumns?` | `string[]` | | Ids of the columns hidden from the columns menu (controlled). Columns with `hidden` stay hidden regardless. |
2957
+ | `defaultHiddenColumns?` | `string[]` | | Initial hidden column ids when uncontrolled. |
2958
+ | `onHiddenColumnsChange?` | `(hiddenColumns: string[]) => void` | | Called with the hidden column ids when one is shown or hidden; store them to keep the choice. |
2917
2959
  | `onRowClick?` | `(row: T) => void` | | Makes rows clickable and keyboard-activatable (Enter). |
2918
2960
  | `rowLabel?` | `(row: T) => string` | | Accessible name of a row, used by row selection and clickable rows. |
2919
2961
  | `rowActions?` | `(row: T) => DataTableRowAction[] \| React.ReactNode` | | Trailing cell of each row: icon buttons, or any content (a menu, a link). |
2920
2962
  | `rowTone?` | `(row: T) => DataTableRowTone \| null \| undefined` | | Tints a row to flag its state. |
2963
+ | `rowToneStyle?` | `'fill' \| 'bar' \| 'both'` | `'fill'` | How `rowTone` shows: `fill` tints the whole row, `bar` draws a 3px bar in the tone on the row's first cell, which marks rows without a block of colour and stays in view with `stickyFirstColumn`, and `both` tints the row and draws the bar. |
2921
2964
  | `rowProps?` | `(row: T) => React.HTMLAttributes<HTMLTableRowElement> & Record<`data-${string}`, unknown>` | | Extra props for a row's `<tr>` (`className`, `style`, `data-*`). |
2922
2965
  | `onRowSave?` | `(row: T, original: T) => void \| Promise<void>` | | Adds an edit action to each row; columns with `edit` turn into inputs. Called with the edited row. Return a promise to keep the row open while it saves; a rejected one leaves it open for another try. |
2923
2966
  | `onRowDelete?` | `(row: T) => void` | | Adds a delete action, shown while a row is edited, or on every row without `onRowSave`. |
@@ -2959,7 +3002,7 @@ Small built-in stroke icon set. Every icon renders an `<svg>` that follows the f
2959
3002
  import { ArrowDownIcon } from '@optimum-intelligence/opti-ui';
2960
3003
  ```
2961
3004
 
2962
- Icons: `ArrowDownIcon`, `ArrowUpIcon`, `CalendarIcon`, `CheckIcon`, `ChevronDownIcon`, `ChevronLeftIcon`, `ChevronRightIcon`, `ChevronUpIcon`, `ChevronsLeftIcon`, `ChevronsRightIcon`, `ChevronsUpDownIcon`, `CircleCheckIcon`, `CircleIcon`, `CircleXIcon`, `ClockIcon`, `DownloadIcon`, `ExternalLinkIcon`, `EyeIcon`, `EyeOffIcon`, `FileIcon`, `FilterIcon`, `InfoIcon`, `LayersIcon`, `MenuIcon`, `MinusIcon`, `MoreHorizontalIcon`, `PencilIcon`, `PlusIcon`, `SearchIcon`, `TrashIcon`, `TrendingDownIcon`, `TrendingUpIcon`, `TriangleAlertIcon`, `UploadIcon`, `XIcon`
3005
+ Icons: `ArrowDownIcon`, `ArrowUpIcon`, `CalendarIcon`, `CheckIcon`, `ChevronDownIcon`, `ChevronLeftIcon`, `ChevronRightIcon`, `ChevronUpIcon`, `ChevronsLeftIcon`, `ChevronsRightIcon`, `ChevronsUpDownIcon`, `CircleCheckIcon`, `CircleIcon`, `CircleXIcon`, `ClockIcon`, `ColumnsIcon`, `DownloadIcon`, `ExternalLinkIcon`, `EyeIcon`, `EyeOffIcon`, `FileIcon`, `FilterIcon`, `InfoIcon`, `LayersIcon`, `MenuIcon`, `MinusIcon`, `MoreHorizontalIcon`, `PencilIcon`, `PlusIcon`, `SearchIcon`, `TrashIcon`, `TrendingDownIcon`, `TrendingUpIcon`, `TriangleAlertIcon`, `UploadIcon`, `XIcon`
2963
3006
 
2964
3007
  | Prop | Type | Default | Description |
2965
3008
  | --- | --- | --- | --- |
package/dist/llms.txt CHANGED
@@ -38,6 +38,7 @@ so the components work in Next.js App Router.
38
38
  ## Theme
39
39
 
40
40
  - `createTheme` — Builds a theme from a base, applying overrides on top.
41
+ - `huLabels` — Hungarian texts for every built-in label of the library, in the formal register (magázás). Pass it to `LabelsProvider` once at the app root; spread it to change single texts. Dates also need `locale="hu"` (or `DateConfigProvider`) for month and weekday names. Map texts are separate: see `MapLabels`.
41
42
  - `LabelsProvider` — Replaces the library's built-in English texts (button names, placeholders, table and calendar texts) for everything inside it, so an app translates them once instead of per component.
42
43
  - `seriesColor` — Colour for the `index`-th data series: `var(--oui-color-chart-N)`, cycling through the eight chart tokens. Use it for chart series, legend swatches and map routes so the same index gets the same hue everywhere, in light and dark mode.
43
44
  - `ThemeProvider` — Scopes a theme to its children. Popups opened inside are portalled into the provider so they pick up the same tokens.
@@ -153,7 +154,7 @@ so the components work in Next.js App Router.
153
154
  - `Avatar` — User or entity picture with initials fallback.
154
155
  - `AvatarGroup` — Overlapping row of `Avatar` children, with an optional "+N" overflow counter.
155
156
  - `Badge` — Small status label.
156
- - `DataTable` — `<DataTable data={…} columns={…} />` renders a complete table with search, filters, sorting, pagination, row selection, row actions and inline editing; columns declare what they take part in. Every piece of state works uncontrolled or controlled (`search` / `filterValues` / `sort` / `page` / `selection`), and with `mode="server"` the same state drives an API. (parts: Root, Toolbar, Controls, Search, Filters, Filter, FilterSheet, FilterPanel, ActiveFilters, Actions, ClearFilters, Loading, Summary, Content, Pagination)
157
+ - `DataTable` — `<DataTable data={…} columns={…} />` renders a complete table with search, filters, sorting, pagination, row selection, row actions and inline editing; columns declare what they take part in. Every piece of state works uncontrolled or controlled (`search` / `filterValues` / `sort` / `page` / `selection`), and with `mode="server"` the same state drives an API. (parts: Root, Toolbar, Controls, Search, Filters, Filter, FilterSheet, FilterPanel, ActiveFilters, Actions, ClearFilters, ColumnsMenu, Loading, Summary, Content, Pagination)
157
158
  - `DescriptionItem` — One label and value pair inside a `DescriptionList`.
158
159
  - `DescriptionList` — Label and value pairs, such as a record's details. Holds `DescriptionItem`s.
159
160
  - `EmptyState` — Placeholder for empty lists, searches without results and first-run screens.