@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.
- package/dist/icons/index.d.ts +5 -1
- package/dist/icons/index.js +1 -1
- package/dist/index.d.ts +169 -85
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/iui.css +1 -1
- package/package.json +1 -1
- package/src/assets/icons/duotone/faCircleUser.ts +6 -6
- package/src/assets/icons/index.ts +2 -0
- package/src/assets/icons/light/faArrowDownShortWide.ts +1 -1
- package/src/assets/icons/light/faArrowDownWideShort.ts +1 -1
- package/src/assets/icons/light/faArrowUpArrowDown.ts +5 -5
- package/src/assets/icons/light/faArrowUpRightFromSquare.ts +1 -1
- package/src/assets/icons/light/faArrowsToLine.ts +1 -1
- package/src/assets/icons/light/faArrowsUpDown.ts +1 -1
- package/src/assets/icons/light/faBookmark.ts +15 -0
- package/src/assets/icons/light/faBookmarkSlash.ts +15 -0
- package/src/assets/icons/light/faCalendarPlus.ts +5 -5
- package/src/assets/icons/light/faCheck.ts +1 -1
- package/src/assets/icons/light/faChevronDown.ts +5 -5
- package/src/assets/icons/light/faChevronRight.ts +5 -5
- package/src/assets/icons/light/faCircleInfo.ts +5 -5
- package/src/assets/icons/light/faCircleXmark.ts +5 -5
- package/src/assets/icons/light/faClipboardCheck.ts +5 -5
- package/src/assets/icons/light/faClockRotateLeft.ts +1 -1
- package/src/assets/icons/light/faEllipsisVertical.ts +1 -1
- package/src/assets/icons/light/faEye.ts +5 -5
- package/src/assets/icons/light/faEyeSlash.ts +5 -5
- package/src/assets/icons/light/faFilter.ts +5 -5
- package/src/assets/icons/light/faGear.ts +1 -1
- package/src/assets/icons/light/faHouse.ts +5 -5
- package/src/assets/icons/light/faIdBadge.ts +5 -5
- package/src/assets/icons/light/faLineColumns.ts +5 -5
- package/src/assets/icons/light/faLink.ts +1 -1
- package/src/assets/icons/light/faMagnifyingGlass.ts +5 -5
- package/src/assets/icons/light/faPen.ts +15 -15
- package/src/assets/icons/light/faPrint.ts +5 -5
- package/src/assets/icons/light/faQuestion.ts +5 -5
- package/src/assets/icons/light/faRotateRight.ts +5 -5
- package/src/assets/icons/light/faTrashCan.ts +5 -5
- package/src/assets/icons/light/faTriangleExclamation.ts +5 -5
- package/src/assets/icons/light/faXmark.ts +1 -1
- package/src/assets/icons/regular/faArrowLeft.ts +6 -6
- package/src/assets/icons/regular/faArrowRightArrowLeft.ts +1 -1
- package/src/assets/icons/regular/faCircleCheck.ts +1 -1
- package/src/assets/icons/regular/faCircleExclamation.ts +1 -1
- package/src/assets/icons/regular/faCircleInfo.ts +1 -1
- package/src/assets/icons/regular/faFileArrowDown.ts +1 -1
- package/src/assets/icons/regular/faFilterCircleXmark.ts +1 -1
- package/src/assets/icons/regular/faTriangleExclamation.ts +1 -1
- package/src/assets/icons/solid/faAngleLeft.ts +1 -1
- package/src/assets/icons/solid/faAngleRight.ts +1 -1
- package/src/assets/icons/solid/faArrowDownWideShort.ts +1 -1
- package/src/assets/icons/solid/faCaretDown.ts +1 -1
- package/src/assets/icons/solid/faCheck.ts +5 -5
- package/src/assets/icons/solid/faEllipsisVertical.ts +1 -1
- package/src/assets/icons/solid/faFilter.ts +1 -1
- package/src/assets/icons/solid/faFloppyDisk.ts +1 -1
- package/src/assets/icons/solid/faGripDotsVertical.ts +1 -1
- package/src/assets/icons/solid/faListUl.ts +1 -1
- package/src/assets/icons/solid/faMinus.ts +6 -6
- package/src/assets/icons/solid/faPlus.ts +6 -6
- package/src/assets/icons/solid/faPrint.ts +1 -1
- package/src/assets/icons/solid/faRotateRight.ts +1 -1
- package/src/assets/icons/solid/faXmark.ts +1 -1
- package/src/components/Button/Button.tsx +1 -1
- package/src/components/Button/IconButton.tsx +1 -1
- package/src/components/Dashboard/FastLinksWidget/FastLinksWidget.tsx +1 -1
- package/src/components/Dialog/Dialog.tsx +6 -8
- package/src/components/Dialog/components/DialogFooter.tsx +1 -1
- package/src/components/Header/Components/ModuleSelect.tsx +14 -6
- package/src/components/Header/Components/UserMenu.tsx +2 -4
- package/src/components/Inputs/DateInput/DateInput.tsx +1 -2
- package/src/components/Inputs/InputWrapper.tsx +1 -1
- package/src/components/Inputs/PasswordInput.tsx +2 -1
- package/src/components/Inputs/Select2/Select.tsx +0 -1
- package/src/components/Inputs/TextInput.tsx +1 -1
- package/src/components/List/List.tsx +18 -0
- package/src/components/List/ListItem.tsx +24 -0
- package/src/components/Loader/ProgressBar.tsx +41 -0
- package/src/components/Menu/Menu.tsx +0 -3
- package/src/components/Menu/MenuItem.tsx +21 -23
- package/src/components/Menu/NewMenu.tsx +0 -3
- package/src/components/Menu/hooks/useMenuPosition.tsx +26 -8
- package/src/components/Pullover/Pullover.tsx +33 -16
- package/src/components/Sidebar/types/ISidebar.ts +1 -1
- package/src/components/Table/Table.tsx +18 -11
- package/src/components/Table/components/filters/TableFilters.tsx +5 -8
- package/src/components/Table/components/footer/TableFooter.tsx +6 -10
- package/src/components/Table/components/header/TableHeader.tsx +22 -24
- package/src/components/Table/components/header/TableHeaderRow.tsx +16 -7
- package/{idea/Table/Components/Print → src/components/Table/components/print}/TablePrint.tsx +89 -96
- package/src/components/Table/components/sort/TableSort.tsx +2 -0
- package/src/components/Table/components/templates/TableTemplates.tsx +81 -0
- package/src/components/Table/hooks/useTablePrint.ts +75 -0
- package/src/components/Wrappers/PageLayout.tsx +1 -1
- package/src/hooks/useLocalPopoverControl.ts +11 -17
- package/src/hooks/usePopupControl.ts +11 -7
- package/src/index.ts +11 -0
- package/src/styles/App.scss +2 -0
- package/src/styles/common/_animations.scss +8 -14
- package/src/styles/common/_typography.scss +1 -1
- package/src/styles/common/helpers/_base.scss +0 -4
- package/src/styles/components/_header.scss +21 -9
- package/src/styles/components/_list.scss +40 -0
- package/src/styles/components/_loader.scss +3 -1
- package/src/styles/components/_menu.scss +19 -18
- package/src/styles/components/_print.scss +36 -46
- package/src/styles/components/_progressBar.scss +83 -0
- package/src/styles/components/_table.scss +16 -22
- package/src/types/IHeader.ts +13 -7
- package/src/types/IPopup.ts +17 -0
- package/src/types/ITable.ts +55 -32
- package/src/utils/i18n/i18nIUICyrilic.ts +2 -1
- package/src/utils/i18n/i18nIUILatin.ts +16 -12
- package/src/utils/i18n/i18nIUIMe.ts +2 -1
- 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: '
|
|
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
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
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: '
|
|
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',
|
package/src/utils/icons.ts
CHANGED
|
@@ -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';
|