@inceptionbg/iui 2.0.10 → 2.0.12

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 (117) hide show
  1. package/dist/icons/index.d.ts +5 -1
  2. package/dist/icons/index.js +1 -1
  3. package/dist/index.d.ts +169 -85
  4. package/dist/index.js +1 -1
  5. package/dist/index.js.map +1 -1
  6. package/dist/iui.css +1 -1
  7. package/package.json +1 -1
  8. package/src/assets/icons/duotone/faCircleUser.ts +6 -6
  9. package/src/assets/icons/index.ts +2 -0
  10. package/src/assets/icons/light/faArrowDownShortWide.ts +1 -1
  11. package/src/assets/icons/light/faArrowDownWideShort.ts +1 -1
  12. package/src/assets/icons/light/faArrowUpArrowDown.ts +5 -5
  13. package/src/assets/icons/light/faArrowUpRightFromSquare.ts +1 -1
  14. package/src/assets/icons/light/faArrowsToLine.ts +1 -1
  15. package/src/assets/icons/light/faArrowsUpDown.ts +1 -1
  16. package/src/assets/icons/light/faBookmark.ts +15 -0
  17. package/src/assets/icons/light/faBookmarkSlash.ts +15 -0
  18. package/src/assets/icons/light/faCalendarPlus.ts +5 -5
  19. package/src/assets/icons/light/faCheck.ts +1 -1
  20. package/src/assets/icons/light/faChevronDown.ts +5 -5
  21. package/src/assets/icons/light/faChevronRight.ts +5 -5
  22. package/src/assets/icons/light/faCircleInfo.ts +5 -5
  23. package/src/assets/icons/light/faCircleXmark.ts +5 -5
  24. package/src/assets/icons/light/faClipboardCheck.ts +5 -5
  25. package/src/assets/icons/light/faClockRotateLeft.ts +1 -1
  26. package/src/assets/icons/light/faEllipsisVertical.ts +1 -1
  27. package/src/assets/icons/light/faEye.ts +5 -5
  28. package/src/assets/icons/light/faEyeSlash.ts +5 -5
  29. package/src/assets/icons/light/faFilter.ts +5 -5
  30. package/src/assets/icons/light/faGear.ts +1 -1
  31. package/src/assets/icons/light/faHouse.ts +5 -5
  32. package/src/assets/icons/light/faIdBadge.ts +5 -5
  33. package/src/assets/icons/light/faLineColumns.ts +5 -5
  34. package/src/assets/icons/light/faLink.ts +1 -1
  35. package/src/assets/icons/light/faMagnifyingGlass.ts +5 -5
  36. package/src/assets/icons/light/faPen.ts +15 -15
  37. package/src/assets/icons/light/faPrint.ts +5 -5
  38. package/src/assets/icons/light/faQuestion.ts +5 -5
  39. package/src/assets/icons/light/faRotateRight.ts +5 -5
  40. package/src/assets/icons/light/faTrashCan.ts +5 -5
  41. package/src/assets/icons/light/faTriangleExclamation.ts +5 -5
  42. package/src/assets/icons/light/faXmark.ts +1 -1
  43. package/src/assets/icons/regular/faArrowLeft.ts +6 -6
  44. package/src/assets/icons/regular/faArrowRightArrowLeft.ts +1 -1
  45. package/src/assets/icons/regular/faCircleCheck.ts +1 -1
  46. package/src/assets/icons/regular/faCircleExclamation.ts +1 -1
  47. package/src/assets/icons/regular/faCircleInfo.ts +1 -1
  48. package/src/assets/icons/regular/faFileArrowDown.ts +1 -1
  49. package/src/assets/icons/regular/faFilterCircleXmark.ts +1 -1
  50. package/src/assets/icons/regular/faTriangleExclamation.ts +1 -1
  51. package/src/assets/icons/solid/faAngleLeft.ts +1 -1
  52. package/src/assets/icons/solid/faAngleRight.ts +1 -1
  53. package/src/assets/icons/solid/faArrowDownWideShort.ts +1 -1
  54. package/src/assets/icons/solid/faCaretDown.ts +1 -1
  55. package/src/assets/icons/solid/faCheck.ts +5 -5
  56. package/src/assets/icons/solid/faEllipsisVertical.ts +1 -1
  57. package/src/assets/icons/solid/faFilter.ts +1 -1
  58. package/src/assets/icons/solid/faFloppyDisk.ts +1 -1
  59. package/src/assets/icons/solid/faGripDotsVertical.ts +1 -1
  60. package/src/assets/icons/solid/faListUl.ts +1 -1
  61. package/src/assets/icons/solid/faMinus.ts +6 -6
  62. package/src/assets/icons/solid/faPlus.ts +6 -6
  63. package/src/assets/icons/solid/faPrint.ts +1 -1
  64. package/src/assets/icons/solid/faRotateRight.ts +1 -1
  65. package/src/assets/icons/solid/faXmark.ts +1 -1
  66. package/src/components/Button/Button.tsx +1 -1
  67. package/src/components/Button/IconButton.tsx +1 -1
  68. package/src/components/Dashboard/FastLinksWidget/FastLinksWidget.tsx +1 -1
  69. package/src/components/Dialog/Dialog.tsx +6 -8
  70. package/src/components/Dialog/components/DialogFooter.tsx +1 -1
  71. package/src/components/Header/Components/ModuleSelect.tsx +14 -6
  72. package/src/components/Header/Components/UserMenu.tsx +2 -4
  73. package/src/components/Inputs/DateInput/DateInput.tsx +1 -2
  74. package/src/components/Inputs/InputWrapper.tsx +1 -1
  75. package/src/components/Inputs/PasswordInput.tsx +2 -1
  76. package/src/components/Inputs/Select2/Select.tsx +0 -1
  77. package/src/components/Inputs/TextInput.tsx +1 -1
  78. package/src/components/List/List.tsx +18 -0
  79. package/src/components/List/ListItem.tsx +24 -0
  80. package/src/components/Loader/ProgressBar.tsx +41 -0
  81. package/src/components/Menu/Menu.tsx +0 -3
  82. package/src/components/Menu/MenuItem.tsx +21 -23
  83. package/src/components/Menu/NewMenu.tsx +0 -3
  84. package/src/components/Menu/hooks/useMenuPosition.tsx +26 -8
  85. package/src/components/Pullover/Pullover.tsx +33 -16
  86. package/src/components/Sidebar/types/ISidebar.ts +1 -1
  87. package/src/components/Table/Table.tsx +18 -11
  88. package/src/components/Table/components/filters/TableFilters.tsx +5 -8
  89. package/src/components/Table/components/footer/TableFooter.tsx +6 -10
  90. package/src/components/Table/components/header/TableHeader.tsx +22 -24
  91. package/src/components/Table/components/header/TableHeaderRow.tsx +16 -7
  92. package/{idea/Table/Components/Print → src/components/Table/components/print}/TablePrint.tsx +89 -96
  93. package/src/components/Table/components/sort/TableSort.tsx +2 -0
  94. package/src/components/Table/components/templates/TableTemplates.tsx +81 -0
  95. package/src/components/Table/hooks/useTablePrint.ts +75 -0
  96. package/src/components/Wrappers/PageLayout.tsx +1 -1
  97. package/src/hooks/useLocalPopoverControl.ts +11 -17
  98. package/src/hooks/usePopupControl.ts +11 -7
  99. package/src/index.ts +11 -0
  100. package/src/styles/App.scss +2 -0
  101. package/src/styles/common/_animations.scss +8 -14
  102. package/src/styles/common/_typography.scss +1 -1
  103. package/src/styles/common/helpers/_base.scss +0 -4
  104. package/src/styles/components/_header.scss +21 -9
  105. package/src/styles/components/_list.scss +40 -0
  106. package/src/styles/components/_loader.scss +3 -1
  107. package/src/styles/components/_menu.scss +19 -18
  108. package/src/styles/components/_print.scss +36 -46
  109. package/src/styles/components/_progressBar.scss +83 -0
  110. package/src/styles/components/_table.scss +16 -22
  111. package/src/types/IHeader.ts +13 -7
  112. package/src/types/IPopup.ts +17 -0
  113. package/src/types/ITable.ts +55 -32
  114. package/src/utils/i18n/i18nIUICyrilic.ts +2 -1
  115. package/src/utils/i18n/i18nIUILatin.ts +16 -12
  116. package/src/utils/i18n/i18nIUIMe.ts +2 -1
  117. package/src/utils/icons.ts +1 -1
@@ -13,7 +13,7 @@ export const i18nIUILatin = {
13
13
  Close: 'Zatvori',
14
14
  Confirm: 'Potvrdi',
15
15
  Create: 'Kreiraj',
16
- Delete: 'Izbriši',
16
+ Delete: 'Obriši',
17
17
  Edit: 'Izmeni',
18
18
  FreeText: 'Slobodan unos',
19
19
  from: 'od',
@@ -32,6 +32,7 @@ export const i18nIUILatin = {
32
32
  Title: 'Naslov',
33
33
  to: 'do',
34
34
  Yes: 'Da',
35
+ LoadingProgress: 'Učitavanje...',
35
36
 
36
37
  ////// TABLE //////
37
38
  RefreshData: 'Osveži podatke',
@@ -55,18 +56,21 @@ export const i18nIUILatin = {
55
56
  SelectedColumns: 'Odabrane kolone',
56
57
  Sort: 'Sortiranje',
57
58
  AddItem: 'Dodaj stavku',
59
+ // TEMPLATES
58
60
  Templates: 'Šabloni',
59
- SelectTemplate: 'Izaberi šablon',
60
- TemplateList: 'Lista šablona',
61
- PublicTemplate: 'Javni šablon',
62
- PublicTemplates: 'Javni šabloni',
63
- DefaultTemplate: 'Osnovni šabloni',
64
- RemoveFiltersAndLook: 'Poništi izgled i filtere',
65
- CreateTemplateLong: 'Sačuvaj trenutni izgled kao šablon',
66
- CreateDefaultTemplate: 'Sačuvaj trenutni izgled kao podrazumevani',
67
- CreateTemplate: 'Sačuvaj šablon',
68
- DeleteTemplateDesc: 'Da li ste sigurni da želite da izbrišete šablon?',
69
- DeleteTemplateTitle: 'Brisanje šablona',
61
+ ApplyTemplate: 'Primeni šablon',
62
+ ResetTemplate: 'Poništi šablon',
63
+ // SelectTemplate: 'Izaberi šablon',
64
+ // TemplateList: 'Lista šablona',
65
+ // PublicTemplate: 'Javni šablon',
66
+ // PublicTemplates: 'Javni šabloni',
67
+ // DefaultTemplate: 'Osnovni šabloni',
68
+ // RemoveFiltersAndLook: 'Poništi izgled i filtere',
69
+ // CreateTemplateLong: 'Sačuvaj trenutni izgled kao šablon',
70
+ // CreateDefaultTemplate: 'Sačuvaj trenutni izgled kao podrazumevani',
71
+ // CreateTemplate: 'Sačuvaj šablon',
72
+ // DeleteTemplateDesc: 'Da li ste sigurni da želite da izbrišete šablon?',
73
+ // DeleteTemplateTitle: 'Brisanje šablona',
70
74
 
71
75
  FastLinks: 'Brzi pristup',
72
76
 
@@ -12,7 +12,7 @@ export const i18nIUIMe = {
12
12
  Close: 'Zatvori',
13
13
  Confirm: 'Potvrdi',
14
14
  Create: 'Kreiraj',
15
- Delete: 'Izbriši',
15
+ Delete: 'Obriši',
16
16
  Edit: 'Izmijeni',
17
17
  FreeText: 'Slobodan unos',
18
18
  from: 'od',
@@ -31,6 +31,7 @@ export const i18nIUIMe = {
31
31
  Title: 'Naslov',
32
32
  to: 'do',
33
33
  Yes: 'Da',
34
+ LoadingProgress: 'Učitavanje...',
34
35
 
35
36
  ////// TABLE //////
36
37
  RefreshData: 'Osvježi podatke',
@@ -1,4 +1,4 @@
1
- import { IconDefinition } from '@fortawesome/fontawesome-svg-core';
1
+ import type { IconDefinition } from '@fortawesome/fontawesome-svg-core';
2
2
  import { faCircleCheck } from '../assets/icons/regular/faCircleCheck';
3
3
  import { faCircleExclamation } from '../assets/icons/regular/faCircleExclamation';
4
4
  import { faCircleInfo } from '../assets/icons/regular/faCircleInfo';