react-luminus-components 2.0.4-table → 2.0.5-beta.r19-2

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 (92) hide show
  1. package/README.md +349 -349
  2. package/dist/.vite/manifest.json +52 -46
  3. package/dist/FormDisabledProvider-C8heDps-.js +51 -0
  4. package/dist/FormDisabledProvider-D0qy0L0K.cjs +1 -0
  5. package/dist/components/Buttons/ContextButton/FileUploadContextButton.d.ts +6 -3
  6. package/dist/components/Documents/components/DocumentsModals/components/CreateFolderModal/hooks/useDocCreateFolderForm.d.ts +4 -1
  7. package/dist/components/Documents/components/DocumentsModals/components/EditFileModal/hooks/useEditFileForm.d.ts +6 -1
  8. package/dist/components/Documents/hooks/useDocumentsReducer.d.ts +1 -1
  9. package/dist/components/Dropdown/comps/SimpleToggle/SimpleToggle.d.ts +6 -3
  10. package/dist/components/Dropdown/comps/UserAvatarToggle/UserAvatarToggle.d.ts +3 -1
  11. package/dist/components/Flexmonster/Flexmonster.d.ts +1 -1
  12. package/dist/components/Flexmonster/hooks/useReportVersionApi.d.ts +1 -1
  13. package/dist/components/Flexmonster/utils/flexMonsterUtils.d.ts +1 -1
  14. package/dist/components/HookForm/MiniDetailWrapper/MiniDetailWrapper.d.ts +1 -1
  15. package/dist/components/HookForm/TextInput/HookFormTextInput.d.ts +4 -17
  16. package/dist/components/InputContainers/FloatingLabelInput/FloatingLabelInput.d.ts +7 -38
  17. package/dist/components/InputContainers/NoInputContainer/NoInputContainer.d.ts +8 -38
  18. package/dist/components/InputContainers/RowLabelInput/RowLabelInput.d.ts +8 -38
  19. package/dist/components/NotifCenter/Actions/NotificationActions.d.ts +3 -3
  20. package/dist/components/NotifCenter/Actions/components/HistoryTable/NotificationHistoryTable.d.ts +1 -1
  21. package/dist/components/ResponsiveContextDropdown/components/ResponsiveContextDropdownItem/ResponsiveContextDropdownItem.d.ts +1 -1
  22. package/dist/components/ResponsiveContextDropdown/hooks/useReponsiveContextDropdownHelpers.d.ts +2 -2
  23. package/dist/components/ResponsiveContextDropdown/utils/responsiveContextDropdownUtils.d.ts +1 -1
  24. package/dist/components/Tooltip/HtmlTooltip/HtmlTooltip.d.ts +2 -2
  25. package/dist/components/Tooltip/SimpleTooltip/SimpleTooltip.d.ts +1 -1
  26. package/dist/components/common/AuthTemplate/AuthTemplate.d.ts +1 -1
  27. package/dist/components/common/ColumnResizer/ColumnResizer.d.ts +1 -1
  28. package/dist/components/common/DisabledRowLabelLink/DisabledRowLabelLink.d.ts +1 -1
  29. package/dist/components/common/ErrorBoundary/ErrorBoundary.d.ts +7 -3
  30. package/dist/components/common/FromToDatePicker/components/FromToDatePickerDropdownToggle/FromToDatePickerDropdownToggle.d.ts +3 -1
  31. package/dist/components/common/HomeDashboard/comps/HomeDashboardWidget/HomeDashboardWidget.d.ts +15 -0
  32. package/dist/components/common/LineChart/comps/LineChartTooltip/LineChartTooltip.d.ts +2 -2
  33. package/dist/components/common/PermissionsSubstitute/Detail/hooks/useSubstDetailForm.d.ts +8 -1
  34. package/dist/components/common/PhotoLightbox/comps/PhotoPreviews/PhotoPreviews.d.ts +15 -0
  35. package/dist/components/common/PhotoLightbox/comps/PhotoPreviews/comps/PhotoPreview/PhotoPreview.d.ts +14 -0
  36. package/dist/components/common/PhotoLightbox/comps/PhotoPreviews/comps/PhotoPreview/comps/PreviewShadow/PreviewShadow.d.ts +5 -0
  37. package/dist/components/common/PhotoLightbox/comps/PhotoPreviews/comps/PhotoPreview/comps/index.d.ts +1 -0
  38. package/dist/components/common/PhotoLightbox/comps/PhotoPreviews/comps/index.d.ts +1 -0
  39. package/dist/components/common/PhotoLightbox/comps/index.d.ts +1 -0
  40. package/dist/components/common/QrCode/QrCode.d.ts +1 -1
  41. package/dist/components/common/RouteLink/RouteLink.d.ts +1 -1
  42. package/dist/components/common/SimplePicker/SimplePicker.d.ts +1 -1
  43. package/dist/components/common/index.d.ts +0 -1
  44. package/dist/contexts.cjs.js +1 -1
  45. package/dist/contexts.es.js +542 -941
  46. package/dist/hooks/index.d.ts +1 -0
  47. package/dist/hooks/useAxios/useAxios.d.ts +5 -2
  48. package/dist/hooks/useClickOutside/useClickOutside.d.ts +1 -1
  49. package/dist/hooks/useGetApiDataBound/useGetApiDataBound.d.ts +3 -0
  50. package/dist/hooks/useGetDataBound/useGetDataBound.d.ts +4 -2
  51. package/dist/hooks/useIsFormDirty/useIsFormDirty.d.ts +7 -0
  52. package/dist/hooks/useScrollSave/useScrollSave.d.ts +1 -1
  53. package/dist/hooks.cjs.js +1 -1
  54. package/dist/hooks.es.js +206 -136
  55. package/dist/layout/SideMenu/SideMenu.d.ts +3 -1
  56. package/dist/layout.cjs.js +1 -1
  57. package/dist/layout.es.js +282 -141
  58. package/dist/{localStorageUtils-DdeuyghB.js → localStorageUtils-CZ4HDRzi.js} +18 -8
  59. package/dist/localStorageUtils-CkZslzIU.cjs +1 -0
  60. package/dist/main.cjs.js +22 -184
  61. package/dist/main.es.js +11317 -11418
  62. package/dist/models/bntTable/IBnfTableDefColumn.d.ts +40 -0
  63. package/dist/models/prop-types/InputContainerProps.d.ts +4 -12
  64. package/dist/models/prop-types/InputProps/DropdownPickerProps.d.ts +1 -1
  65. package/dist/models/prop-types/InputProps/InputBaseProps.d.ts +4 -2
  66. package/dist/models/prop-types/InputProps/NumericInputProps.d.ts +1 -1
  67. package/dist/models/prop-types/InputProps/TextInputProps.d.ts +1 -1
  68. package/dist/models/ui/notifications/NotificationHistoryTableModel.d.ts +6 -0
  69. package/dist/nivo-bar-BcQddlHb.js +41895 -0
  70. package/dist/nivo-bar-GEZlEbHd.cjs +326 -0
  71. package/dist/style.css +1 -1
  72. package/dist/useIsFormDirty-B125NdWZ.js +123 -0
  73. package/dist/useIsFormDirty-DORaJxqb.cjs +1 -0
  74. package/dist/useLocalStorageState-CMX4R5vm.js +95 -0
  75. package/dist/useLocalStorageState-DjAdoFfQ.cjs +1 -0
  76. package/dist/utils/index.d.ts +1 -1
  77. package/dist/utils/route/apiPathUtils.d.ts +1 -1
  78. package/dist/utils.cjs.js +1 -1
  79. package/dist/utils.es.js +133 -159
  80. package/dist/variables.scss +165 -165
  81. package/package.json +128 -123
  82. package/dist/FormDisabledProvider-1MOB6N34.cjs +0 -1
  83. package/dist/FormDisabledProvider-CHZ2m_zJ.js +0 -40
  84. package/dist/ShortcutLinksContext-DEirK-v9.js +0 -39884
  85. package/dist/ShortcutLinksContext-DLi4B8z5.cjs +0 -334
  86. package/dist/components/NotifCenter/Actions/types/NotificationHistoryTableModel.d.ts +0 -5
  87. package/dist/components/common/StrictModeDroppable/StrictModeDroppable.d.ts +0 -5
  88. package/dist/localStorageUtils-89Gfn6XS.cjs +0 -1
  89. package/dist/useLocalStorageState-B-CRodSS.cjs +0 -1
  90. package/dist/useLocalStorageState-BPYqQMTu.js +0 -78
  91. package/dist/useRenderDraggableInPortal-D0OLp7Qb.js +0 -78
  92. package/dist/useRenderDraggableInPortal-QPCaw-E_.cjs +0 -1
@@ -1,165 +1,165 @@
1
- @use 'sass:color';
2
- @use 'pkg:bootstrap/scss/functions' as bs-functions;
3
-
4
- $enable-negative-margins: true;
5
-
6
- $eon-red: #ea1b0a;
7
- $eon-yellow: #e3e000;
8
- $eon-turquoise: #1ea2b1;
9
-
10
- $palette-turkey-red: #b00402;
11
- $palette-moonstone: #56b9c5;
12
- $palette-light-cyan: #c7e8eb;
13
- $palette-jet: #39393a;
14
- $palette-battleship-gray: #8f9192;
15
- $palette-alice-blue: #ebf2f4;
16
- $palette-seasalt: #f6f7f7;
17
-
18
- $bg: #f7fbfa;
19
- $bg-darker: #ebf2f4;
20
-
21
- $accent-darker: #e9edf2;
22
-
23
- $danger: #f4254e;
24
- $danger-100: color.adjust($danger, $lightness: 40%);
25
- $danger-50: color.adjust($danger, $lightness: 43%);
26
-
27
- $success: #00b77a;
28
-
29
- $warning: #ffb000;
30
-
31
- $info: #38b0e5;
32
-
33
- $border-radius: 4px;
34
- $border-width: 1px;
35
- $border-color: $bg-darker;
36
-
37
- $white: #fff !default;
38
- $gray-100: #f8f9fa !default;
39
- $gray-200: #e9ecef !default;
40
- $gray-300: #dee2e6 !default;
41
- $gray-400: #ced4da !default;
42
- $gray-500: #adb5bd !default;
43
- $gray-600: #6c757d !default;
44
- $gray-700: #495057 !default;
45
- $gray-800: #343a40 !default;
46
- $gray-900: #212529 !default;
47
- $black: #000 !default;
48
- $blue: #0d6efd !default;
49
- $indigo: #6610f2 !default;
50
- $purple: #6f42c1 !default;
51
- $pink: #d63384 !default;
52
- $red: #dc3545 !default;
53
- $orange: #fd7e14 !default;
54
- $yellow: #ffc107 !default;
55
- $green: #198754 !default;
56
- $teal: #20c997 !default;
57
- $cyan: #0dcaf0 !default;
58
- $blue-100: bs-functions.tint-color($blue, 80%) !default;
59
- $blue-200: bs-functions.tint-color($blue, 60%) !default;
60
- $blue-300: bs-functions.tint-color($blue, 40%) !default;
61
- $blue-400: bs-functions.tint-color($blue, 20%) !default;
62
- $blue-500: $blue !default;
63
- $blue-600: bs-functions.shade-color($blue, 20%) !default;
64
- $blue-700: bs-functions.shade-color($blue, 40%) !default;
65
- $blue-800: bs-functions.shade-color($blue, 60%) !default;
66
- $blue-900: bs-functions.shade-color($blue, 80%) !default;
67
- $indigo-100: bs-functions.tint-color($indigo, 80%) !default;
68
- $indigo-200: bs-functions.tint-color($indigo, 60%) !default;
69
- $indigo-300: bs-functions.tint-color($indigo, 40%) !default;
70
- $indigo-400: bs-functions.tint-color($indigo, 20%) !default;
71
- $indigo-500: $indigo !default;
72
- $indigo-600: bs-functions.shade-color($indigo, 20%) !default;
73
- $indigo-700: bs-functions.shade-color($indigo, 40%) !default;
74
- $indigo-800: bs-functions.shade-color($indigo, 60%) !default;
75
- $indigo-900: bs-functions.shade-color($indigo, 80%) !default;
76
- $purple-100: bs-functions.tint-color($purple, 80%) !default;
77
- $purple-200: bs-functions.tint-color($purple, 60%) !default;
78
- $purple-300: bs-functions.tint-color($purple, 40%) !default;
79
- $purple-400: bs-functions.tint-color($purple, 20%) !default;
80
- $purple-500: $purple !default;
81
- $purple-600: bs-functions.shade-color($purple, 20%) !default;
82
- $purple-700: bs-functions.shade-color($purple, 40%) !default;
83
- $purple-800: bs-functions.shade-color($purple, 60%) !default;
84
- $purple-900: bs-functions.shade-color($purple, 80%) !default;
85
- $pink-100: bs-functions.tint-color($pink, 80%) !default;
86
- $pink-200: bs-functions.tint-color($pink, 60%) !default;
87
- $pink-300: bs-functions.tint-color($pink, 40%) !default;
88
- $pink-400: bs-functions.tint-color($pink, 20%) !default;
89
- $pink-500: $pink !default;
90
- $pink-600: bs-functions.shade-color($pink, 20%) !default;
91
- $pink-700: bs-functions.shade-color($pink, 40%) !default;
92
- $pink-800: bs-functions.shade-color($pink, 60%) !default;
93
- $pink-900: bs-functions.shade-color($pink, 80%) !default;
94
- $red-100: bs-functions.tint-color($red, 80%) !default;
95
- $red-200: bs-functions.tint-color($red, 60%) !default;
96
- $red-300: bs-functions.tint-color($red, 40%) !default;
97
- $red-400: bs-functions.tint-color($red, 20%) !default;
98
- $red-500: $red !default;
99
- $red-600: bs-functions.shade-color($red, 20%) !default;
100
- $red-700: bs-functions.shade-color($red, 40%) !default;
101
- $red-800: bs-functions.shade-color($red, 60%) !default;
102
- $red-900: bs-functions.shade-color($red, 80%) !default;
103
- $orange-100: bs-functions.tint-color($orange, 80%) !default;
104
- $orange-200: bs-functions.tint-color($orange, 60%) !default;
105
- $orange-300: bs-functions.tint-color($orange, 40%) !default;
106
- $orange-400: bs-functions.tint-color($orange, 20%) !default;
107
- $orange-500: $orange !default;
108
- $orange-600: bs-functions.shade-color($orange, 20%) !default;
109
- $orange-700: bs-functions.shade-color($orange, 40%) !default;
110
- $orange-800: bs-functions.shade-color($orange, 60%) !default;
111
- $orange-900: bs-functions.shade-color($orange, 80%) !default;
112
- $yellow-100: bs-functions.tint-color($yellow, 80%) !default;
113
- $yellow-200: bs-functions.tint-color($yellow, 60%) !default;
114
- $yellow-300: bs-functions.tint-color($yellow, 40%) !default;
115
- $yellow-400: bs-functions.tint-color($yellow, 20%) !default;
116
- $yellow-500: $yellow !default;
117
- $yellow-600: bs-functions.shade-color($yellow, 20%) !default;
118
- $yellow-700: bs-functions.shade-color($yellow, 40%) !default;
119
- $yellow-800: bs-functions.shade-color($yellow, 60%) !default;
120
- $yellow-900: bs-functions.shade-color($yellow, 80%) !default;
121
- $green-100: bs-functions.tint-color($green, 80%) !default;
122
- $green-200: bs-functions.tint-color($green, 60%) !default;
123
- $green-300: bs-functions.tint-color($green, 40%) !default;
124
- $green-400: bs-functions.tint-color($green, 20%) !default;
125
- $green-500: $green !default;
126
- $green-600: bs-functions.shade-color($green, 20%) !default;
127
- $green-700: bs-functions.shade-color($green, 40%) !default;
128
- $green-800: bs-functions.shade-color($green, 60%) !default;
129
- $green-900: bs-functions.shade-color($green, 80%) !default;
130
- $teal-100: bs-functions.tint-color($teal, 80%) !default;
131
- $teal-200: bs-functions.tint-color($teal, 60%) !default;
132
- $teal-300: bs-functions.tint-color($teal, 40%) !default;
133
- $teal-400: bs-functions.tint-color($teal, 20%) !default;
134
- $teal-500: $teal !default;
135
- $teal-600: bs-functions.shade-color($teal, 20%) !default;
136
- $teal-700: bs-functions.shade-color($teal, 40%) !default;
137
- $teal-800: bs-functions.shade-color($teal, 60%) !default;
138
- $teal-900: bs-functions.shade-color($teal, 80%) !default;
139
- $cyan-100: bs-functions.tint-color($cyan, 80%) !default;
140
- $cyan-200: bs-functions.tint-color($cyan, 60%) !default;
141
- $cyan-300: bs-functions.tint-color($cyan, 40%) !default;
142
- $cyan-400: bs-functions.tint-color($cyan, 20%) !default;
143
- $cyan-500: $cyan !default;
144
- $cyan-600: bs-functions.shade-color($cyan, 20%) !default;
145
- $cyan-700: bs-functions.shade-color($cyan, 40%) !default;
146
- $cyan-800: bs-functions.shade-color($cyan, 60%) !default;
147
- $cyan-900: bs-functions.shade-color($cyan, 80%) !default;
148
-
149
- $text: #1e2832;
150
- $text-muted: #8a929c;
151
- $text-light: $gray-200;
152
-
153
- $dark: $text;
154
-
155
- $box-shadow: 0 0.5rem 1rem rgba($black, 0.15) !default;
156
- $box-shadow-sm: 0rem 0rem 0.5rem rgba($black, 0.1) !default;
157
- // $box-shadow-sm-primary: 0 0rem 0.4rem rgba($primary, 0.3) !default;
158
- $box-shadow-sm-danger: 0 0rem 0.4rem rgba($danger, 0.3) !default;
159
- $box-shadow-sm-warning: 0 0rem 0.4rem rgba($warning, 0.3) !default;
160
- $box-shadow-sm-success: 0 0rem 0.4rem rgba($success, 0.3) !default;
161
- $box-shadow-lg: 0 1rem 3rem rgba($black, 0.175) !default;
162
- $box-shadow-inset: inset 0 0.5rem 1rem rgba($black, 0.1) !default;
163
-
164
- $modal-backdrop-bg: black;
165
- $modal-backdrop-opacity: 0.3;
1
+ @use 'sass:color';
2
+ @use 'pkg:bootstrap/scss/functions' as bs-functions;
3
+
4
+ $enable-negative-margins: true;
5
+
6
+ $eon-red: #ea1b0a;
7
+ $eon-yellow: #e3e000;
8
+ $eon-turquoise: #1ea2b1;
9
+
10
+ $palette-turkey-red: #b00402;
11
+ $palette-moonstone: #56b9c5;
12
+ $palette-light-cyan: #c7e8eb;
13
+ $palette-jet: #39393a;
14
+ $palette-battleship-gray: #8f9192;
15
+ $palette-alice-blue: #ebf2f4;
16
+ $palette-seasalt: #f6f7f7;
17
+
18
+ $bg: #f7fbfa;
19
+ $bg-darker: #ebf2f4;
20
+
21
+ $accent-darker: #e9edf2;
22
+
23
+ $danger: #f4254e;
24
+ $danger-100: color.adjust($danger, $lightness: 40%);
25
+ $danger-50: color.adjust($danger, $lightness: 43%);
26
+
27
+ $success: #00b77a;
28
+
29
+ $warning: #ffb000;
30
+
31
+ $info: #38b0e5;
32
+
33
+ $border-radius: 4px;
34
+ $border-width: 1px;
35
+ $border-color: $bg-darker;
36
+
37
+ $white: #fff !default;
38
+ $gray-100: #f8f9fa !default;
39
+ $gray-200: #e9ecef !default;
40
+ $gray-300: #dee2e6 !default;
41
+ $gray-400: #ced4da !default;
42
+ $gray-500: #adb5bd !default;
43
+ $gray-600: #6c757d !default;
44
+ $gray-700: #495057 !default;
45
+ $gray-800: #343a40 !default;
46
+ $gray-900: #212529 !default;
47
+ $black: #000 !default;
48
+ $blue: #0d6efd !default;
49
+ $indigo: #6610f2 !default;
50
+ $purple: #6f42c1 !default;
51
+ $pink: #d63384 !default;
52
+ $red: #dc3545 !default;
53
+ $orange: #fd7e14 !default;
54
+ $yellow: #ffc107 !default;
55
+ $green: #198754 !default;
56
+ $teal: #20c997 !default;
57
+ $cyan: #0dcaf0 !default;
58
+ $blue-100: bs-functions.tint-color($blue, 80%) !default;
59
+ $blue-200: bs-functions.tint-color($blue, 60%) !default;
60
+ $blue-300: bs-functions.tint-color($blue, 40%) !default;
61
+ $blue-400: bs-functions.tint-color($blue, 20%) !default;
62
+ $blue-500: $blue !default;
63
+ $blue-600: bs-functions.shade-color($blue, 20%) !default;
64
+ $blue-700: bs-functions.shade-color($blue, 40%) !default;
65
+ $blue-800: bs-functions.shade-color($blue, 60%) !default;
66
+ $blue-900: bs-functions.shade-color($blue, 80%) !default;
67
+ $indigo-100: bs-functions.tint-color($indigo, 80%) !default;
68
+ $indigo-200: bs-functions.tint-color($indigo, 60%) !default;
69
+ $indigo-300: bs-functions.tint-color($indigo, 40%) !default;
70
+ $indigo-400: bs-functions.tint-color($indigo, 20%) !default;
71
+ $indigo-500: $indigo !default;
72
+ $indigo-600: bs-functions.shade-color($indigo, 20%) !default;
73
+ $indigo-700: bs-functions.shade-color($indigo, 40%) !default;
74
+ $indigo-800: bs-functions.shade-color($indigo, 60%) !default;
75
+ $indigo-900: bs-functions.shade-color($indigo, 80%) !default;
76
+ $purple-100: bs-functions.tint-color($purple, 80%) !default;
77
+ $purple-200: bs-functions.tint-color($purple, 60%) !default;
78
+ $purple-300: bs-functions.tint-color($purple, 40%) !default;
79
+ $purple-400: bs-functions.tint-color($purple, 20%) !default;
80
+ $purple-500: $purple !default;
81
+ $purple-600: bs-functions.shade-color($purple, 20%) !default;
82
+ $purple-700: bs-functions.shade-color($purple, 40%) !default;
83
+ $purple-800: bs-functions.shade-color($purple, 60%) !default;
84
+ $purple-900: bs-functions.shade-color($purple, 80%) !default;
85
+ $pink-100: bs-functions.tint-color($pink, 80%) !default;
86
+ $pink-200: bs-functions.tint-color($pink, 60%) !default;
87
+ $pink-300: bs-functions.tint-color($pink, 40%) !default;
88
+ $pink-400: bs-functions.tint-color($pink, 20%) !default;
89
+ $pink-500: $pink !default;
90
+ $pink-600: bs-functions.shade-color($pink, 20%) !default;
91
+ $pink-700: bs-functions.shade-color($pink, 40%) !default;
92
+ $pink-800: bs-functions.shade-color($pink, 60%) !default;
93
+ $pink-900: bs-functions.shade-color($pink, 80%) !default;
94
+ $red-100: bs-functions.tint-color($red, 80%) !default;
95
+ $red-200: bs-functions.tint-color($red, 60%) !default;
96
+ $red-300: bs-functions.tint-color($red, 40%) !default;
97
+ $red-400: bs-functions.tint-color($red, 20%) !default;
98
+ $red-500: $red !default;
99
+ $red-600: bs-functions.shade-color($red, 20%) !default;
100
+ $red-700: bs-functions.shade-color($red, 40%) !default;
101
+ $red-800: bs-functions.shade-color($red, 60%) !default;
102
+ $red-900: bs-functions.shade-color($red, 80%) !default;
103
+ $orange-100: bs-functions.tint-color($orange, 80%) !default;
104
+ $orange-200: bs-functions.tint-color($orange, 60%) !default;
105
+ $orange-300: bs-functions.tint-color($orange, 40%) !default;
106
+ $orange-400: bs-functions.tint-color($orange, 20%) !default;
107
+ $orange-500: $orange !default;
108
+ $orange-600: bs-functions.shade-color($orange, 20%) !default;
109
+ $orange-700: bs-functions.shade-color($orange, 40%) !default;
110
+ $orange-800: bs-functions.shade-color($orange, 60%) !default;
111
+ $orange-900: bs-functions.shade-color($orange, 80%) !default;
112
+ $yellow-100: bs-functions.tint-color($yellow, 80%) !default;
113
+ $yellow-200: bs-functions.tint-color($yellow, 60%) !default;
114
+ $yellow-300: bs-functions.tint-color($yellow, 40%) !default;
115
+ $yellow-400: bs-functions.tint-color($yellow, 20%) !default;
116
+ $yellow-500: $yellow !default;
117
+ $yellow-600: bs-functions.shade-color($yellow, 20%) !default;
118
+ $yellow-700: bs-functions.shade-color($yellow, 40%) !default;
119
+ $yellow-800: bs-functions.shade-color($yellow, 60%) !default;
120
+ $yellow-900: bs-functions.shade-color($yellow, 80%) !default;
121
+ $green-100: bs-functions.tint-color($green, 80%) !default;
122
+ $green-200: bs-functions.tint-color($green, 60%) !default;
123
+ $green-300: bs-functions.tint-color($green, 40%) !default;
124
+ $green-400: bs-functions.tint-color($green, 20%) !default;
125
+ $green-500: $green !default;
126
+ $green-600: bs-functions.shade-color($green, 20%) !default;
127
+ $green-700: bs-functions.shade-color($green, 40%) !default;
128
+ $green-800: bs-functions.shade-color($green, 60%) !default;
129
+ $green-900: bs-functions.shade-color($green, 80%) !default;
130
+ $teal-100: bs-functions.tint-color($teal, 80%) !default;
131
+ $teal-200: bs-functions.tint-color($teal, 60%) !default;
132
+ $teal-300: bs-functions.tint-color($teal, 40%) !default;
133
+ $teal-400: bs-functions.tint-color($teal, 20%) !default;
134
+ $teal-500: $teal !default;
135
+ $teal-600: bs-functions.shade-color($teal, 20%) !default;
136
+ $teal-700: bs-functions.shade-color($teal, 40%) !default;
137
+ $teal-800: bs-functions.shade-color($teal, 60%) !default;
138
+ $teal-900: bs-functions.shade-color($teal, 80%) !default;
139
+ $cyan-100: bs-functions.tint-color($cyan, 80%) !default;
140
+ $cyan-200: bs-functions.tint-color($cyan, 60%) !default;
141
+ $cyan-300: bs-functions.tint-color($cyan, 40%) !default;
142
+ $cyan-400: bs-functions.tint-color($cyan, 20%) !default;
143
+ $cyan-500: $cyan !default;
144
+ $cyan-600: bs-functions.shade-color($cyan, 20%) !default;
145
+ $cyan-700: bs-functions.shade-color($cyan, 40%) !default;
146
+ $cyan-800: bs-functions.shade-color($cyan, 60%) !default;
147
+ $cyan-900: bs-functions.shade-color($cyan, 80%) !default;
148
+
149
+ $text: #1e2832;
150
+ $text-muted: #8a929c;
151
+ $text-light: $gray-200;
152
+
153
+ $dark: $text;
154
+
155
+ $box-shadow: 0 0.5rem 1rem rgba($black, 0.15) !default;
156
+ $box-shadow-sm: 0rem 0rem 0.5rem rgba($black, 0.1) !default;
157
+ // $box-shadow-sm-primary: 0 0rem 0.4rem rgba($primary, 0.3) !default;
158
+ $box-shadow-sm-danger: 0 0rem 0.4rem rgba($danger, 0.3) !default;
159
+ $box-shadow-sm-warning: 0 0rem 0.4rem rgba($warning, 0.3) !default;
160
+ $box-shadow-sm-success: 0 0rem 0.4rem rgba($success, 0.3) !default;
161
+ $box-shadow-lg: 0 1rem 3rem rgba($black, 0.175) !default;
162
+ $box-shadow-inset: inset 0 0.5rem 1rem rgba($black, 0.1) !default;
163
+
164
+ $modal-backdrop-bg: black;
165
+ $modal-backdrop-opacity: 0.3;
package/package.json CHANGED
@@ -1,123 +1,128 @@
1
- {
2
- "name": "react-luminus-components",
3
- "version": "2.0.4-table",
4
- "description": "Library of React Components reusable in Luminus projects (Fleetman, CAFM)",
5
- "type": "module",
6
- "repository": {
7
- "type": "git",
8
- "url": "git+https://github.com/BenefitCZ/react-luminus-components.git"
9
- },
10
- "author": "triskacik",
11
- "homepage": "https://github.com/BenefitCZ/react-luminus-components#readme",
12
- "main": "./dist/main.cjs.js",
13
- "module": "./dist/main.es.js",
14
- "typings": "./dist/main.d.ts",
15
- "exports": {
16
- ".": {
17
- "import": "./dist/main.es.js",
18
- "require": "./dist/main.cjs.js",
19
- "types": "./dist/main.d.ts"
20
- },
21
- "./layout": {
22
- "import": "./dist/layout.es.js",
23
- "require": "./dist/layout.cjs.js",
24
- "types": "./dist/layout.d.ts"
25
- },
26
- "./contexts": {
27
- "import": "./dist/contexts.es.js",
28
- "require": "./dist/contexts.cjs.js",
29
- "types": "./dist/contexts.d.ts"
30
- },
31
- "./hooks": {
32
- "import": "./dist/hooks.es.js",
33
- "require": "./dist/hooks.cjs.js",
34
- "types": "./dist/hooks.d.ts"
35
- },
36
- "./utils": {
37
- "import": "./dist/utils.es.js",
38
- "require": "./dist/utils.cjs.js",
39
- "types": "./dist/utils.d.ts"
40
- },
41
- "./types": "./dist/models/index.d.ts",
42
- "./styles": "./dist/style.css"
43
- },
44
- "files": [
45
- "dist"
46
- ],
47
- "scripts": {
48
- "build": "tsc && vite build",
49
- "build:watch": "tsc && vite build --watch",
50
- "dev": "vite",
51
- "lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0 --cache",
52
- "compile": "tsc --noEmit",
53
- "deploy": "npm ci && npm run build && npm version patch -m \"chore: bump version to %s\" && npm publish && git push && git push --tags"
54
- },
55
- "peerDependencies": {
56
- "@azure/msal-browser": "^3.14.0",
57
- "@azure/msal-react": "^2.0.16",
58
- "@hookform/resolvers": "^3.3.4",
59
- "axios": "^1.6.8",
60
- "bootstrap": "^5.3.5",
61
- "flexmonster": "2.9.95",
62
- "react": ">=18",
63
- "react-bootstrap": ">=2",
64
- "react-dom": ">=18",
65
- "react-flexmonster": "2.9.95",
66
- "react-hook-form": ">=7",
67
- "react-icons": "^5.0.1",
68
- "react-qrcode-logo": "^3.0.0",
69
- "react-responsive": "^10.0.0",
70
- "react-router-dom": ">=6",
71
- "tanstack-bnf-table": ">=0.2.3",
72
- "zod": ">=3.22.4"
73
- },
74
- "dependencies": {
75
- "@nivo/bar": "^0.87.0",
76
- "@nivo/core": "^0.87.0",
77
- "@nivo/line": "^0.87.0",
78
- "@nivo/pie": "^0.87.0",
79
- "classnames": "^2.5.1",
80
- "date-fns": "^3.6.0",
81
- "latinize": "^2.0.0",
82
- "react-beautiful-dnd": "^13.1.1",
83
- "react-cookie": "^7.1.4",
84
- "react-helmet-async": "^2.0.5",
85
- "react-hot-toast": "^2.4.1",
86
- "react-number-format": "^5.4.0",
87
- "react-portal": "^4.2.2",
88
- "react-swipeable": "^7.0.2",
89
- "use-debounce": "^10.0.0",
90
- "uuid": "^9.0.1"
91
- },
92
- "devDependencies": {
93
- "@rollup/plugin-typescript": "^11.1.6",
94
- "@types/latinize": "^0.2.18",
95
- "@types/node": "^20.11.29",
96
- "@types/react": "^18.2.56",
97
- "@types/react-beautiful-dnd": "^13.1.8",
98
- "@types/react-dom": "^18.2.19",
99
- "@types/react-portal": "^4.0.7",
100
- "@types/uuid": "^9.0.8",
101
- "@typescript-eslint/eslint-plugin": "^7.3.1",
102
- "@typescript-eslint/parser": "^7.3.1",
103
- "@vitejs/plugin-react": "^4.2.1",
104
- "eslint": "^8.57.0",
105
- "eslint-config-airbnb": "^19.0.4",
106
- "eslint-config-airbnb-typescript": "^18.0.0",
107
- "eslint-config-prettier": "^9.1.0",
108
- "eslint-plugin-import": "^2.29.1",
109
- "eslint-plugin-jsx-a11y": "^6.8.0",
110
- "eslint-plugin-prettier": "^5.1.3",
111
- "eslint-plugin-react": "^7.34.1",
112
- "eslint-plugin-react-hooks": "^4.6.0",
113
- "eslint-plugin-react-refresh": "^0.4.6",
114
- "prettier": "^3.2.5",
115
- "rollup-plugin-typescript-paths": "^1.5.0",
116
- "sass-embedded": "^1.81.0",
117
- "sass-loader": "^14.1.1",
118
- "tslib": "^2.6.2",
119
- "typescript": "^5.2.2",
120
- "vite": "^5.1.4",
121
- "vite-plugin-dts": "^3.7.3"
122
- }
123
- }
1
+ {
2
+ "name": "react-luminus-components",
3
+ "version": "2.0.5-beta.r19-2",
4
+ "description": "Library of React Components reusable in Luminus projects (Fleetman, CAFM)",
5
+ "type": "module",
6
+ "repository": {
7
+ "type": "git",
8
+ "url": "git+https://github.com/BenefitCZ/react-luminus-components.git"
9
+ },
10
+ "author": "triskacik",
11
+ "homepage": "https://github.com/BenefitCZ/react-luminus-components#readme",
12
+ "main": "./dist/main.cjs.js",
13
+ "module": "./dist/main.es.js",
14
+ "typings": "./dist/main.d.ts",
15
+ "exports": {
16
+ ".": {
17
+ "import": "./dist/main.es.js",
18
+ "require": "./dist/main.cjs.js",
19
+ "types": "./dist/main.d.ts"
20
+ },
21
+ "./layout": {
22
+ "import": "./dist/layout.es.js",
23
+ "require": "./dist/layout.cjs.js",
24
+ "types": "./dist/layout.d.ts"
25
+ },
26
+ "./contexts": {
27
+ "import": "./dist/contexts.es.js",
28
+ "require": "./dist/contexts.cjs.js",
29
+ "types": "./dist/contexts.d.ts"
30
+ },
31
+ "./hooks": {
32
+ "import": "./dist/hooks.es.js",
33
+ "require": "./dist/hooks.cjs.js",
34
+ "types": "./dist/hooks.d.ts"
35
+ },
36
+ "./utils": {
37
+ "import": "./dist/utils.es.js",
38
+ "require": "./dist/utils.cjs.js",
39
+ "types": "./dist/utils.d.ts"
40
+ },
41
+ "./types": "./dist/models/index.d.ts",
42
+ "./styles": "./dist/style.css"
43
+ },
44
+ "files": [
45
+ "dist"
46
+ ],
47
+ "scripts": {
48
+ "build": "tsc && vite build",
49
+ "build:watch": "tsc && vite build --watch",
50
+ "dev": "vite",
51
+ "lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0 --cache",
52
+ "lint-fix": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0 --cache --fix",
53
+ "compile": "tsc --noEmit",
54
+ "deploy": "npm ci && npm run build && npm version patch -m \"chore: bump version to %s\" && npm publish && git push && git push --tags"
55
+ },
56
+ "peerDependencies": {
57
+ "@azure/msal-browser": "^4.23.0",
58
+ "@azure/msal-react": "^3.0.19",
59
+ "@hookform/resolvers": "^3.3.4",
60
+ "@tanstack/react-query": "^5.90.5",
61
+ "axios": "^1.6.8",
62
+ "bootstrap": "^5.3.5",
63
+ "flexmonster": ">=2.9.107",
64
+ "react": "19.x",
65
+ "react-bootstrap": ">=2",
66
+ "react-dom": "19.x",
67
+ "react-flexmonster": ">=2.9.107",
68
+ "react-hook-form": "^7.66.0",
69
+ "react-icons": "^5.0.1",
70
+ "react-qrcode-logo": "^3.0.0",
71
+ "react-responsive": "^10.0.0",
72
+ "react-router": "7.x",
73
+ "tanstack-bnf-table": "^0.3.0-beta.r19-2",
74
+ "zod": "^3.25.76"
75
+ },
76
+ "dependencies": {
77
+ "@atlaskit/pragmatic-drag-and-drop": "^1.7.7",
78
+ "@atlaskit/pragmatic-drag-and-drop-hitbox": "^1.1.0",
79
+ "@nivo/bar": "^0.99.0",
80
+ "@nivo/core": "^0.99.0",
81
+ "@nivo/line": "^0.99.0",
82
+ "@nivo/pie": "^0.99.0",
83
+ "classnames": "^2.5.1",
84
+ "date-fns": "^3.6.0",
85
+ "latinize": "^2.0.0",
86
+ "react-cookie": "^7.1.4",
87
+ "react-hot-toast": "^2.4.1",
88
+ "react-number-format": "^5.4.0",
89
+ "react-portal": "^4.2.2",
90
+ "react-swipeable": "^7.0.2",
91
+ "use-debounce": "^10.0.0",
92
+ "uuid": "^9.0.1"
93
+ },
94
+ "devDependencies": {
95
+ "@rollup/plugin-typescript": "^11.1.6",
96
+ "@types/latinize": "^0.2.18",
97
+ "@types/node": "^20.11.29",
98
+ "@types/react": "19.x",
99
+ "@types/react-dom": "19.x",
100
+ "@types/react-portal": "^4.0.7",
101
+ "@types/uuid": "^9.0.8",
102
+ "@typescript-eslint/eslint-plugin": "^7.3.1",
103
+ "@typescript-eslint/parser": "^7.3.1",
104
+ "@vitejs/plugin-react": "^4.2.1",
105
+ "babel-plugin-react-compiler": "^1.0.0",
106
+ "eslint": "^8.57.0",
107
+ "eslint-config-airbnb": "^19.0.4",
108
+ "eslint-config-airbnb-typescript": "^18.0.0",
109
+ "eslint-config-prettier": "^9.1.0",
110
+ "eslint-plugin-import": "^2.29.1",
111
+ "eslint-plugin-jsx-a11y": "^6.8.0",
112
+ "eslint-plugin-prettier": "^5.1.3",
113
+ "eslint-plugin-react": "^7.34.1",
114
+ "eslint-plugin-react-hook-form": "^0.3.1",
115
+ "eslint-plugin-react-hooks": "^4.6.0",
116
+ "eslint-plugin-react-refresh": "^0.4.6",
117
+ "glob": "^11.0.3",
118
+ "path": "^0.12.7",
119
+ "prettier": "^3.2.5",
120
+ "rollup-plugin-typescript-paths": "^1.5.0",
121
+ "sass-embedded": "^1.81.0",
122
+ "sass-loader": "^14.1.1",
123
+ "tslib": "^2.6.2",
124
+ "typescript": "^5.2.2",
125
+ "vite": "^5.1.4",
126
+ "vite-plugin-dts": "^3.7.3"
127
+ }
128
+ }
@@ -1 +0,0 @@
1
- "use strict";const s=require("./ShortcutLinksContext-DLi4B8z5.cjs"),l="_loading_obchl_1",d="_spinner-grow_obchl_10",u="_second_obchl_14",_="_third_obchl_17",g="_loadingBlock_obchl_21",h="_sizeLine_obchl_29",m="_sizeFill_obchl_36",o={loading:l,"spinner-grow":"_spinner-grow_obchl_10",spinnerGrow:d,second:u,third:_,loadingBlock:g,sizeLine:h,sizeFill:m},x=()=>s.jsxRuntimeExports.jsxs("div",{className:s.classNames("luminus-loading",o.loading),children:[s.jsxRuntimeExports.jsx("div",{className:s.classNames("spinner-grow",o.spinnerGrow,"text-primary"),role:"status"}),s.jsxRuntimeExports.jsx("div",{className:s.classNames("spinner-grow",o.spinnerGrow,"text-primary",o.second),role:"status"}),s.jsxRuntimeExports.jsx("div",{className:s.classNames("spinner-grow",o.spinnerGrow,"text-primary",o.third),role:"status"})]});function a(e,n){const t=s.toDate(e);if(isNaN(n))return s.constructFrom(e,NaN);if(!n)return t;const i=t.getDate(),r=s.constructFrom(e,t.getTime());r.setMonth(t.getMonth()+n+1,0);const c=r.getDate();return i>=c?r:(t.setFullYear(r.getFullYear(),r.getMonth(),i),t)}function p(e,n){return a(e,n*12)}const N=({children:e,disabled:n})=>s.jsxRuntimeExports.jsx(s.FormDisabledContext.Provider,{value:n,children:e});exports.FormDisabledProvider=N;exports.Loading=x;exports.addMonths=a;exports.addYears=p;exports.classes=o;
@@ -1,40 +0,0 @@
1
- import { j as t, c as i, t as d, a as l, bN as _ } from "./ShortcutLinksContext-DEirK-v9.js";
2
- const g = "_loading_obchl_1", h = "_spinner-grow_obchl_10", p = "_second_obchl_14", u = "_third_obchl_17", m = "_loadingBlock_obchl_21", b = "_sizeLine_obchl_29", x = "_sizeFill_obchl_36", o = {
3
- loading: g,
4
- "spinner-grow": "_spinner-grow_obchl_10",
5
- spinnerGrow: h,
6
- second: p,
7
- third: u,
8
- loadingBlock: m,
9
- sizeLine: b,
10
- sizeFill: x
11
- }, F = () => /* @__PURE__ */ t.jsxs("div", { className: i("luminus-loading", o.loading), children: [
12
- /* @__PURE__ */ t.jsx("div", { className: i("spinner-grow", o.spinnerGrow, "text-primary"), role: "status" }),
13
- /* @__PURE__ */ t.jsx("div", { className: i("spinner-grow", o.spinnerGrow, "text-primary", o.second), role: "status" }),
14
- /* @__PURE__ */ t.jsx("div", { className: i("spinner-grow", o.spinnerGrow, "text-primary", o.third), role: "status" })
15
- ] });
16
- function w(s, n) {
17
- const e = d(s);
18
- if (isNaN(n)) return l(s, NaN);
19
- if (!n)
20
- return e;
21
- const a = e.getDate(), r = l(s, e.getTime());
22
- r.setMonth(e.getMonth() + n + 1, 0);
23
- const c = r.getDate();
24
- return a >= c ? r : (e.setFullYear(
25
- r.getFullYear(),
26
- r.getMonth(),
27
- a
28
- ), e);
29
- }
30
- function f(s, n) {
31
- return w(s, n * 12);
32
- }
33
- const j = ({ children: s, disabled: n }) => /* @__PURE__ */ t.jsx(_.Provider, { value: n, children: s });
34
- export {
35
- j as F,
36
- F as L,
37
- w as a,
38
- f as b,
39
- o as c
40
- };