@oliasoft-open-source/react-ui-library 4.20.9-beta-1 → 4.20.9

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/global.css CHANGED
@@ -996,80 +996,80 @@ a {
996
996
  ._contentWrapper_1cgsf_16 {
997
997
  border-radius: inherit;
998
998
  }
999
- ._inputInTable_1vpoe_1 {
999
+ ._inputInTable_1m45a_1 {
1000
1000
  background-color: transparent;
1001
1001
  border-radius: inherit !important;
1002
1002
  height: var(--size);
1003
1003
  min-height: 100%;
1004
1004
  }
1005
- ._inputInTable_1vpoe_1:not(:hover):not([data-error]):not([data-warning]) {
1005
+ ._inputInTable_1m45a_1:not(:hover):not([data-error]):not([data-warning]) {
1006
1006
  border-color: transparent;
1007
1007
  }
1008
- ._inputInTable_1vpoe_1:not(:focus) {
1008
+ ._inputInTable_1m45a_1:not(:focus) {
1009
1009
  box-shadow: none;
1010
1010
  }
1011
- ._inputHover_1vpoe_13 {
1011
+ ._inputHover_1m45a_13 {
1012
1012
  position: relative;
1013
1013
  border-color: var(--color-border-hover);
1014
1014
  z-index: 2;
1015
1015
  }
1016
- ._inputFocus_1vpoe_18 {
1016
+ ._inputFocus_1m45a_18 {
1017
1017
  position: relative;
1018
1018
  outline: none !important;
1019
1019
  border-color: var(--color-border-focus) !important;
1020
1020
  box-shadow: var(--shadow-focus);
1021
1021
  z-index: 3;
1022
1022
  }
1023
- ._inputError_1vpoe_25,
1024
- ._inputWarning_1vpoe_26 {
1023
+ ._inputError_1m45a_25,
1024
+ ._inputWarning_1m45a_26 {
1025
1025
  position: relative;
1026
1026
  }
1027
- ._inputError_1vpoe_25 {
1027
+ ._inputError_1m45a_25 {
1028
1028
  z-index: 2;
1029
1029
  border-color: var(--color-border-error);
1030
1030
  color: var(--color-text-error) !important;
1031
1031
  background-color: var(--color-background-error-muted);
1032
1032
  }
1033
- ._inputError_1vpoe_25:hover {
1033
+ ._inputError_1m45a_25:hover {
1034
1034
  border-color: var(--color-border-error-hover) !important;
1035
1035
  }
1036
- ._inputError_1vpoe_25:focus {
1036
+ ._inputError_1m45a_25:focus {
1037
1037
  position: relative;
1038
1038
  outline: none !important;
1039
1039
  border-color: var(--color-border-focus) !important;
1040
1040
  box-shadow: var(--shadow-focus);
1041
1041
  z-index: 3;
1042
1042
  }
1043
- ._inputWarning_1vpoe_26 {
1043
+ ._inputWarning_1m45a_26 {
1044
1044
  z-index: 1;
1045
1045
  border-color: var(--color-border-warning);
1046
1046
  color: var(--color-text-warning) !important;
1047
1047
  background-color: var(--color-background-warning-muted);
1048
1048
  }
1049
- ._inputWarning_1vpoe_26:hover {
1049
+ ._inputWarning_1m45a_26:hover {
1050
1050
  border-color: var(--color-border-warning-hover) !important;
1051
1051
  }
1052
- ._inputWarning_1vpoe_26:focus {
1052
+ ._inputWarning_1m45a_26:focus {
1053
1053
  position: relative;
1054
1054
  outline: none !important;
1055
1055
  border-color: var(--color-border-focus) !important;
1056
1056
  box-shadow: var(--shadow-focus);
1057
1057
  z-index: 3;
1058
1058
  }
1059
- ._inputDisabled_1vpoe_61 {
1059
+ ._inputDisabled_1m45a_61 {
1060
1060
  pointer-events: none;
1061
1061
  background-color: var(--color-background-disabled);
1062
1062
  color: var(--color-text-muted);
1063
1063
  box-shadow: none;
1064
1064
  }
1065
- ._hideScrollbars_1vpoe_67 {
1065
+ ._hideScrollbars_1m45a_67 {
1066
1066
  /* Firefox */
1067
1067
  scrollbar-width: none;
1068
1068
  /* IE 10+ */
1069
1069
  -ms-overflow-style: none;
1070
1070
  /* Chrome, Safari and Opera */
1071
1071
  }
1072
- ._hideScrollbars_1vpoe_67::-webkit-scrollbar {
1072
+ ._hideScrollbars_1m45a_67::-webkit-scrollbar {
1073
1073
  display: none;
1074
1074
  }
1075
1075
  :root {
@@ -1095,7 +1095,7 @@ html[data-theme='dark'] {
1095
1095
  --color-background-button-default-hover: var(--color-neutral-750);
1096
1096
  --color-background-button-default-active: var(--color-neutral-700);
1097
1097
  }
1098
- ._button_1vpoe_100 {
1098
+ ._button_1m45a_100 {
1099
1099
  cursor: pointer;
1100
1100
  display: inline-flex;
1101
1101
  align-items: center;
@@ -1120,232 +1120,233 @@ html[data-theme='dark'] {
1120
1120
  box-shadow: var(--shadow-button);
1121
1121
  font-weight: bold;
1122
1122
  }
1123
- ._button_1vpoe_100:hover {
1123
+ ._button_1m45a_100:hover {
1124
1124
  background: var(--color-background-button-default-hover);
1125
1125
  }
1126
- ._button_1vpoe_100:focus {
1126
+ ._button_1m45a_100:focus {
1127
1127
  box-shadow: var(--shadow-focus) !important;
1128
1128
  }
1129
- ._button_1vpoe_100:active {
1129
+ ._button_1m45a_100:active {
1130
1130
  background: var(--color-background-button-default-active);
1131
1131
  box-shadow: none;
1132
1132
  }
1133
- ._button_1vpoe_100._active_1vpoe_135:not(._green_1vpoe_135):not(._red_1vpoe_135):not(._orange_1vpoe_135) {
1133
+ ._button_1m45a_100._active_1m45a_135:not(._green_1m45a_135):not(._red_1m45a_135):not(._orange_1m45a_135) {
1134
1134
  border-color: var(--color-border-button-default-active);
1135
1135
  color: var(--color-text-button-default-active);
1136
1136
  position: relative;
1137
1137
  z-index: 2;
1138
1138
  }
1139
- ._button_1vpoe_100:hover,
1140
- ._button_1vpoe_100:focus,
1141
- ._button_1vpoe_100:active {
1139
+ ._button_1m45a_100:hover,
1140
+ ._button_1m45a_100:focus,
1141
+ ._button_1m45a_100:active {
1142
1142
  position: relative;
1143
1143
  z-index: 1;
1144
1144
  }
1145
- ._button_1vpoe_100 ._icon_1vpoe_147 {
1145
+ ._button_1m45a_100 ._icon_1m45a_147 {
1146
1146
  margin: -2px;
1147
1147
  margin-right: var(--padding-xxs);
1148
1148
  font-size: var(--size-xs);
1149
1149
  display: flex;
1150
1150
  }
1151
- ._iconOnly_1vpoe_153 {
1151
+ ._iconOnly_1m45a_153 {
1152
1152
  width: var(--size);
1153
1153
  display: inline-flex;
1154
1154
  align-items: center;
1155
1155
  justify-content: center;
1156
1156
  }
1157
- ._iconOnly_1vpoe_153 ._icon_1vpoe_147 {
1157
+ ._iconOnly_1m45a_153 ._icon_1m45a_147 {
1158
1158
  margin: 0;
1159
1159
  line-height: 0;
1160
1160
  }
1161
- ._basic_1vpoe_163 {
1161
+ ._basic_1m45a_163 {
1162
1162
  color: var(--color-text-primary);
1163
1163
  background: transparent;
1164
1164
  box-shadow: none !important;
1165
1165
  border: none !important;
1166
1166
  }
1167
- ._basic_1vpoe_163._muted_1vpoe_169 {
1167
+ ._basic_1m45a_163._muted_1m45a_169 {
1168
1168
  color: var(--color-text-muted);
1169
1169
  }
1170
- ._basic_1vpoe_163:hover {
1170
+ ._basic_1m45a_163:hover {
1171
1171
  color: var(--color-text-primary-hover);
1172
1172
  background: rgba(0, 0, 0, 0.05);
1173
1173
  }
1174
- [data-theme='dark'] ._basic_1vpoe_163:hover {
1174
+ [data-theme='dark'] ._basic_1m45a_163:hover {
1175
1175
  background: rgba(255, 255, 255, 0.1);
1176
1176
  }
1177
- ._basic_1vpoe_163:active,
1178
- ._basic_1vpoe_163._active_1vpoe_135 {
1177
+ ._basic_1m45a_163:active,
1178
+ ._basic_1m45a_163._active_1m45a_135 {
1179
1179
  color: var(--color-text-primary-active);
1180
1180
  background: rgba(0, 0, 0, 0.1);
1181
1181
  }
1182
- [data-theme='dark'] ._basic_1vpoe_163:active,
1183
- [data-theme='dark'] ._basic_1vpoe_163._active_1vpoe_135 {
1182
+ [data-theme='dark'] ._basic_1m45a_163:active,
1183
+ [data-theme='dark'] ._basic_1m45a_163._active_1m45a_135 {
1184
1184
  background: rgba(255, 255, 255, 0.2);
1185
1185
  }
1186
- ._disabled_1vpoe_188 {
1186
+ ._disabled_1m45a_188 {
1187
1187
  cursor: default;
1188
+ pointer-events: none !important;
1188
1189
  color: var(--color-text-faint) !important;
1189
1190
  box-shadow: none !important;
1190
1191
  }
1191
- ._disabled_1vpoe_188:not(._active_1vpoe_135):not(._basic_1vpoe_163) {
1192
+ ._disabled_1m45a_188:not(._active_1m45a_135):not(._basic_1m45a_163) {
1192
1193
  background: var(--color-background-disabled) !important;
1193
1194
  border: 1px solid var(--color-border) !important;
1194
1195
  }
1195
- ._small_1vpoe_197 {
1196
+ ._small_1m45a_198 {
1196
1197
  font-size: var(--font-size-sm);
1197
1198
  min-height: var(--size-sm);
1198
1199
  padding: var(--padding-input-sm);
1199
1200
  }
1200
- ._pill_1vpoe_202,
1201
- ._round_1vpoe_203 {
1201
+ ._pill_1m45a_203,
1202
+ ._round_1m45a_204 {
1202
1203
  border-radius: 19px;
1203
1204
  display: inline-flex;
1204
1205
  align-items: center;
1205
1206
  }
1206
- ._round_1vpoe_203 {
1207
+ ._round_1m45a_204 {
1207
1208
  padding: 0;
1208
1209
  width: var(--size);
1209
1210
  line-height: 1;
1210
1211
  }
1211
- ._round_1vpoe_203._small_1vpoe_197 {
1212
+ ._round_1m45a_204._small_1m45a_198 {
1212
1213
  width: var(--size-sm);
1213
1214
  }
1214
- ._orange_1vpoe_135:not(._basic_1vpoe_163) {
1215
+ ._orange_1m45a_135:not(._basic_1m45a_163) {
1215
1216
  background-color: var(--color-background-button-primary);
1216
1217
  }
1217
- ._orange_1vpoe_135:not(._basic_1vpoe_163):hover {
1218
+ ._orange_1m45a_135:not(._basic_1m45a_163):hover {
1218
1219
  background-color: var(--color-background-button-primary-hover);
1219
1220
  }
1220
- ._orange_1vpoe_135:not(._basic_1vpoe_163):active,
1221
- ._orange_1vpoe_135:not(._basic_1vpoe_163)._active_1vpoe_135 {
1221
+ ._orange_1m45a_135:not(._basic_1m45a_163):active,
1222
+ ._orange_1m45a_135:not(._basic_1m45a_163)._active_1m45a_135 {
1222
1223
  background-color: var(--color-background-button-primary-active);
1223
1224
  }
1224
- ._red_1vpoe_135:not(._basic_1vpoe_163) {
1225
+ ._red_1m45a_135:not(._basic_1m45a_163) {
1225
1226
  background-color: var(--color-background-button-error);
1226
1227
  }
1227
- ._red_1vpoe_135:not(._basic_1vpoe_163):hover {
1228
+ ._red_1m45a_135:not(._basic_1m45a_163):hover {
1228
1229
  background-color: var(--color-background-button-error-hover);
1229
1230
  }
1230
- ._red_1vpoe_135:not(._basic_1vpoe_163):active,
1231
- ._red_1vpoe_135:not(._basic_1vpoe_163)._active_1vpoe_135 {
1231
+ ._red_1m45a_135:not(._basic_1m45a_163):active,
1232
+ ._red_1m45a_135:not(._basic_1m45a_163)._active_1m45a_135 {
1232
1233
  background-color: var(--color-background-button-error-active);
1233
1234
  }
1234
- ._red_1vpoe_135._basic_1vpoe_163 {
1235
+ ._red_1m45a_135._basic_1m45a_163 {
1235
1236
  color: var(--color-text-error);
1236
1237
  }
1237
- ._green_1vpoe_135:not(._basic_1vpoe_163) {
1238
+ ._green_1m45a_135:not(._basic_1m45a_163) {
1238
1239
  background-color: var(--color-background-button-success);
1239
1240
  }
1240
- ._green_1vpoe_135:not(._basic_1vpoe_163):hover {
1241
+ ._green_1m45a_135:not(._basic_1m45a_163):hover {
1241
1242
  background-color: var(--color-background-button-success-hover);
1242
1243
  }
1243
- ._green_1vpoe_135:not(._basic_1vpoe_163):active,
1244
- ._green_1vpoe_135:not(._basic_1vpoe_163)._active_1vpoe_135 {
1244
+ ._green_1m45a_135:not(._basic_1m45a_163):active,
1245
+ ._green_1m45a_135:not(._basic_1m45a_163)._active_1m45a_135 {
1245
1246
  background-color: var(--color-background-button-success-active);
1246
1247
  }
1247
- ._green_1vpoe_135._basic_1vpoe_163 {
1248
+ ._green_1m45a_135._basic_1m45a_163 {
1248
1249
  color: var(--color-text-success);
1249
1250
  }
1250
- ._orange_1vpoe_135,
1251
- ._red_1vpoe_135,
1252
- ._green_1vpoe_135 {
1251
+ ._orange_1m45a_135,
1252
+ ._red_1m45a_135,
1253
+ ._green_1m45a_135 {
1253
1254
  border-color: var(--color-border-button);
1254
1255
  }
1255
- ._orange_1vpoe_135:not(._basic_1vpoe_163),
1256
- ._red_1vpoe_135:not(._basic_1vpoe_163),
1257
- ._green_1vpoe_135:not(._basic_1vpoe_163) {
1256
+ ._orange_1m45a_135:not(._basic_1m45a_163),
1257
+ ._red_1m45a_135:not(._basic_1m45a_163),
1258
+ ._green_1m45a_135:not(._basic_1m45a_163) {
1258
1259
  color: #fff;
1259
1260
  }
1260
- ._orange_1vpoe_135:not(._basic_1vpoe_163):hover,
1261
- ._red_1vpoe_135:not(._basic_1vpoe_163):hover,
1262
- ._green_1vpoe_135:not(._basic_1vpoe_163):hover {
1261
+ ._orange_1m45a_135:not(._basic_1m45a_163):hover,
1262
+ ._red_1m45a_135:not(._basic_1m45a_163):hover,
1263
+ ._green_1m45a_135:not(._basic_1m45a_163):hover {
1263
1264
  color: #fff;
1264
1265
  }
1265
- ._orange_1vpoe_135:not(._basic_1vpoe_163):active,
1266
- ._red_1vpoe_135:not(._basic_1vpoe_163):active,
1267
- ._green_1vpoe_135:not(._basic_1vpoe_163):active,
1268
- ._orange_1vpoe_135:not(._basic_1vpoe_163)._active_1vpoe_135,
1269
- ._red_1vpoe_135:not(._basic_1vpoe_163)._active_1vpoe_135,
1270
- ._green_1vpoe_135:not(._basic_1vpoe_163)._active_1vpoe_135 {
1266
+ ._orange_1m45a_135:not(._basic_1m45a_163):active,
1267
+ ._red_1m45a_135:not(._basic_1m45a_163):active,
1268
+ ._green_1m45a_135:not(._basic_1m45a_163):active,
1269
+ ._orange_1m45a_135:not(._basic_1m45a_163)._active_1m45a_135,
1270
+ ._red_1m45a_135:not(._basic_1m45a_163)._active_1m45a_135,
1271
+ ._green_1m45a_135:not(._basic_1m45a_163)._active_1m45a_135 {
1271
1272
  color: #fff;
1272
1273
  }
1273
- ._button_1vpoe_100[data-warning] {
1274
+ ._button_1m45a_100[data-warning] {
1274
1275
  position: relative;
1275
1276
  z-index: 1;
1276
1277
  border-color: var(--color-border-warning);
1277
1278
  color: var(--color-text-warning) !important;
1278
1279
  background-color: var(--color-background-warning-muted);
1279
1280
  }
1280
- ._button_1vpoe_100[data-warning]:hover {
1281
+ ._button_1m45a_100[data-warning]:hover {
1281
1282
  border-color: var(--color-border-warning-hover) !important;
1282
1283
  }
1283
- ._button_1vpoe_100[data-warning]:focus {
1284
+ ._button_1m45a_100[data-warning]:focus {
1284
1285
  position: relative;
1285
1286
  outline: none !important;
1286
1287
  border-color: var(--color-border-focus) !important;
1287
1288
  box-shadow: var(--shadow-focus);
1288
1289
  z-index: 3;
1289
1290
  }
1290
- ._button_1vpoe_100[data-error] {
1291
+ ._button_1m45a_100[data-error] {
1291
1292
  position: relative;
1292
1293
  z-index: 2;
1293
1294
  border-color: var(--color-border-error);
1294
1295
  color: var(--color-text-error) !important;
1295
1296
  background-color: var(--color-background-error-muted);
1296
1297
  }
1297
- ._button_1vpoe_100[data-error]:hover {
1298
+ ._button_1m45a_100[data-error]:hover {
1298
1299
  border-color: var(--color-border-error-hover) !important;
1299
1300
  }
1300
- ._button_1vpoe_100[data-error]:focus {
1301
+ ._button_1m45a_100[data-error]:focus {
1301
1302
  position: relative;
1302
1303
  outline: none !important;
1303
1304
  border-color: var(--color-border-focus) !important;
1304
1305
  box-shadow: var(--shadow-focus);
1305
1306
  z-index: 3;
1306
1307
  }
1307
- ._inverted_1vpoe_309 {
1308
+ ._inverted_1m45a_310 {
1308
1309
  background-color: transparent;
1309
1310
  border-color: var(--color-text);
1310
1311
  box-shadow: none;
1311
1312
  }
1312
- ._inverted_1vpoe_309:hover,
1313
- ._inverted_1vpoe_309:active {
1313
+ ._inverted_1m45a_310:hover,
1314
+ ._inverted_1m45a_310:active {
1314
1315
  box-shadow: none;
1315
1316
  }
1316
- ._inverted_1vpoe_309._orange_1vpoe_135 {
1317
+ ._inverted_1m45a_310._orange_1m45a_135 {
1317
1318
  color: var(--color-background-button-primary);
1318
1319
  border-color: var(--color-background-button-primary);
1319
1320
  }
1320
- ._inverted_1vpoe_309._red_1vpoe_135 {
1321
+ ._inverted_1m45a_310._red_1m45a_135 {
1321
1322
  color: var(--color-background-button-error);
1322
1323
  border-color: var(--color-background-button-error);
1323
1324
  }
1324
- ._inverted_1vpoe_309._green_1vpoe_135 {
1325
+ ._inverted_1m45a_310._green_1m45a_135 {
1325
1326
  color: var(--color-background-button-success);
1326
1327
  border-color: var(--color-background-button-success);
1327
1328
  }
1328
- ._inverted_1vpoe_309._orange_1vpoe_135:hover,
1329
- ._inverted_1vpoe_309._red_1vpoe_135:hover,
1330
- ._inverted_1vpoe_309._green_1vpoe_135:hover,
1331
- ._inverted_1vpoe_309._orange_1vpoe_135:active,
1332
- ._inverted_1vpoe_309._red_1vpoe_135:active,
1333
- ._inverted_1vpoe_309._green_1vpoe_135:active {
1329
+ ._inverted_1m45a_310._orange_1m45a_135:hover,
1330
+ ._inverted_1m45a_310._red_1m45a_135:hover,
1331
+ ._inverted_1m45a_310._green_1m45a_135:hover,
1332
+ ._inverted_1m45a_310._orange_1m45a_135:active,
1333
+ ._inverted_1m45a_310._red_1m45a_135:active,
1334
+ ._inverted_1m45a_310._green_1m45a_135:active {
1334
1335
  color: white;
1335
1336
  box-shadow: none;
1336
1337
  }
1337
- ._groupOrderFirst_1vpoe_339,
1338
- ._groupOrderMiddle_1vpoe_340,
1339
- ._groupOrderLast_1vpoe_341 {
1338
+ ._groupOrderFirst_1m45a_340,
1339
+ ._groupOrderMiddle_1m45a_341,
1340
+ ._groupOrderLast_1m45a_342 {
1340
1341
  margin-right: 0;
1341
1342
  }
1342
- ._groupOrderFirst_1vpoe_339,
1343
- ._groupOrderMiddle_1vpoe_340 {
1343
+ ._groupOrderFirst_1m45a_340,
1344
+ ._groupOrderMiddle_1m45a_341 {
1344
1345
  border-top-right-radius: 0 !important;
1345
1346
  border-bottom-right-radius: 0 !important;
1346
1347
  }
1347
- ._groupOrderLast_1vpoe_341,
1348
- ._groupOrderMiddle_1vpoe_340 {
1348
+ ._groupOrderLast_1m45a_342,
1349
+ ._groupOrderMiddle_1m45a_341 {
1349
1350
  border-top-left-radius: 0 !important;
1350
1351
  border-bottom-left-radius: 0 !important;
1351
1352
  }
package/dist/index.d.ts CHANGED
@@ -9,6 +9,7 @@ import { FocusEventHandler } from 'react';
9
9
  import { Id } from 'react-toastify';
10
10
  import { JSX as JSX_2 } from 'react/jsx-runtime';
11
11
  import { KeyboardEvent as KeyboardEvent_2 } from 'react';
12
+ import { KeyboardEventHandler } from 'react';
12
13
  import { MouseEvent as MouseEvent_2 } from 'react';
13
14
  import { MouseEventHandler } from 'react';
14
15
  import { MutableRefObject } from 'react';
@@ -528,10 +529,11 @@ export declare interface IInputProps {
528
529
  name?: string;
529
530
  type?: string;
530
531
  onChange?: TChangeEventHandler;
531
- onKeyPress?: default_2.KeyboardEventHandler<HTMLInputElement>;
532
+ onKeyPress?: KeyboardEventHandler<HTMLInputElement>;
532
533
  onFocus?: (evt: FocusEvent_2<HTMLInputElement>) => void;
533
534
  onBlur?: (evt: FocusEvent_2<HTMLInputElement>) => void;
534
535
  onPaste?: default_2.ClipboardEventHandler<HTMLInputElement>;
536
+ onKeyDown?: KeyboardEventHandler<HTMLInputElement>;
535
537
  selectOnFocus?: boolean;
536
538
  small?: boolean;
537
539
  placeholder?: string | null;
@@ -744,7 +746,6 @@ export declare interface IMenuProps {
744
746
  testId?: string;
745
747
  fullHeightTrigger?: boolean;
746
748
  };
747
- active?: boolean;
748
749
  contextMenu?: boolean;
749
750
  width?: TStringOrNumber;
750
751
  disabled?: boolean;