rsuite 6.2.0 → 6.2.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.
- package/AutoComplete/styles/index.css +3 -0
- package/CHANGELOG.md +24 -0
- package/Cascader/styles/index.css +3 -0
- package/CheckPicker/styles/index.css +3 -0
- package/CheckTree/styles/index.css +3 -0
- package/CheckTreePicker/styles/index.css +3 -0
- package/DatePicker/styles/index.css +3 -0
- package/DateRangePicker/styles/index.css +3 -0
- package/InputPicker/styles/index.css +3 -0
- package/MultiCascadeTree/styles/index.css +3 -0
- package/MultiCascader/styles/index.css +3 -0
- package/Pagination/styles/index.css +3 -0
- package/SelectPicker/styles/index.css +3 -0
- package/TagInput/styles/index.css +3 -0
- package/TagPicker/styles/index.css +3 -0
- package/TimePicker/styles/index.css +3 -0
- package/TimeRangePicker/styles/index.css +3 -0
- package/Tree/styles/index.css +3 -0
- package/TreePicker/styles/index.css +3 -0
- package/cjs/InputPicker/InputPicker.js +4 -0
- package/cjs/internals/Picker/PickerIndicator.js +15 -14
- package/cjs/locales/index.d.ts +1 -0
- package/cjs/locales/index.js +3 -1
- package/cjs/locales/nb_NO.d.ts +173 -0
- package/cjs/locales/nb_NO.js +101 -0
- package/dist/rsuite-no-reset.css +3 -0
- package/dist/rsuite-no-reset.min.css +1 -1
- package/dist/rsuite.css +3 -0
- package/dist/rsuite.js +2 -2
- package/dist/rsuite.min.css +1 -1
- package/dist/rsuite.min.js +1 -1
- package/dist/rsuite.min.js.map +1 -1
- package/esm/InputPicker/InputPicker.js +4 -0
- package/esm/internals/Picker/PickerIndicator.js +15 -14
- package/esm/locales/index.d.ts +1 -0
- package/esm/locales/index.js +1 -0
- package/esm/locales/nb_NO.d.ts +173 -0
- package/esm/locales/nb_NO.js +97 -0
- package/internals/Picker/styles/index.scss +3 -0
- package/locales/nb_NO/package.json +7 -0
- package/package.json +1 -1
|
@@ -2223,6 +2223,9 @@
|
|
|
2223
2223
|
align-items:center;
|
|
2224
2224
|
}
|
|
2225
2225
|
.rs-picker-toggle-indicator .rs-picker-clean{
|
|
2226
|
+
display:inline-flex;
|
|
2227
|
+
align-items:center;
|
|
2228
|
+
justify-content:center;
|
|
2226
2229
|
color:var(--rs-text-secondary);
|
|
2227
2230
|
transition:0.2s color linear;
|
|
2228
2231
|
cursor:pointer;
|
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,27 @@
|
|
|
1
|
+
## [6.2.2](https://github.com/rsuite/rsuite/compare/v6.2.1...v6.2.2) (2026-07-15)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **docs:** repair online sandbox examples ([#4588](https://github.com/rsuite/rsuite/issues/4588)) ([2bd4f65](https://github.com/rsuite/rsuite/commit/2bd4f655e47d1eab02a95be52a06bba0042f2d8e))
|
|
7
|
+
* **InputPicker:** ignore Enter during IME composition when selecting an item ([#4585](https://github.com/rsuite/rsuite/issues/4585)) ([81c0b0f](https://github.com/rsuite/rsuite/commit/81c0b0fb129ef7aea6078b9395ab5358c88d215a))
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
### Features
|
|
11
|
+
|
|
12
|
+
* **locales:** add Norwegian Bokmål (nb_NO) locale ([#4583](https://github.com/rsuite/rsuite/issues/4583)) ([98b2024](https://github.com/rsuite/rsuite/commit/98b20249b18b89f7b121021dbfda36105f577c20))
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
## [6.2.1](https://github.com/rsuite/rsuite/compare/v6.2.0...v6.2.1) (2026-06-12)
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
### Bug Fixes
|
|
20
|
+
|
|
21
|
+
* **picker:** hide caret when clear button is shown ([#4581](https://github.com/rsuite/rsuite/issues/4581)) ([d52842b](https://github.com/rsuite/rsuite/commit/d52842b0c6444bc6765595899e3f9917de52af7a))
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
1
25
|
# [6.2.0](https://github.com/rsuite/rsuite/compare/v6.1.3...v6.2.0) (2026-06-12)
|
|
2
26
|
|
|
3
27
|
|
|
@@ -2384,6 +2384,9 @@
|
|
|
2384
2384
|
align-items:center;
|
|
2385
2385
|
}
|
|
2386
2386
|
.rs-picker-toggle-indicator .rs-picker-clean{
|
|
2387
|
+
display:inline-flex;
|
|
2388
|
+
align-items:center;
|
|
2389
|
+
justify-content:center;
|
|
2387
2390
|
color:var(--rs-text-secondary);
|
|
2388
2391
|
transition:0.2s color linear;
|
|
2389
2392
|
cursor:pointer;
|
|
@@ -2411,6 +2411,9 @@ label:hover .rs-checkbox-control .rs-checkbox-inner::before{
|
|
|
2411
2411
|
align-items:center;
|
|
2412
2412
|
}
|
|
2413
2413
|
.rs-picker-toggle-indicator .rs-picker-clean{
|
|
2414
|
+
display:inline-flex;
|
|
2415
|
+
align-items:center;
|
|
2416
|
+
justify-content:center;
|
|
2414
2417
|
color:var(--rs-text-secondary);
|
|
2415
2418
|
transition:0.2s color linear;
|
|
2416
2419
|
cursor:pointer;
|
|
@@ -2242,6 +2242,9 @@
|
|
|
2242
2242
|
align-items:center;
|
|
2243
2243
|
}
|
|
2244
2244
|
.rs-picker-toggle-indicator .rs-picker-clean{
|
|
2245
|
+
display:inline-flex;
|
|
2246
|
+
align-items:center;
|
|
2247
|
+
justify-content:center;
|
|
2245
2248
|
color:var(--rs-text-secondary);
|
|
2246
2249
|
transition:0.2s color linear;
|
|
2247
2250
|
cursor:pointer;
|
|
@@ -2243,6 +2243,9 @@
|
|
|
2243
2243
|
align-items:center;
|
|
2244
2244
|
}
|
|
2245
2245
|
.rs-picker-toggle-indicator .rs-picker-clean{
|
|
2246
|
+
display:inline-flex;
|
|
2247
|
+
align-items:center;
|
|
2248
|
+
justify-content:center;
|
|
2246
2249
|
color:var(--rs-text-secondary);
|
|
2247
2250
|
transition:0.2s color linear;
|
|
2248
2251
|
cursor:pointer;
|
|
@@ -2275,6 +2275,9 @@
|
|
|
2275
2275
|
align-items:center;
|
|
2276
2276
|
}
|
|
2277
2277
|
.rs-picker-toggle-indicator .rs-picker-clean{
|
|
2278
|
+
display:inline-flex;
|
|
2279
|
+
align-items:center;
|
|
2280
|
+
justify-content:center;
|
|
2278
2281
|
color:var(--rs-text-secondary);
|
|
2279
2282
|
transition:0.2s color linear;
|
|
2280
2283
|
cursor:pointer;
|
|
@@ -2277,6 +2277,9 @@
|
|
|
2277
2277
|
align-items:center;
|
|
2278
2278
|
}
|
|
2279
2279
|
.rs-picker-toggle-indicator .rs-picker-clean{
|
|
2280
|
+
display:inline-flex;
|
|
2281
|
+
align-items:center;
|
|
2282
|
+
justify-content:center;
|
|
2280
2283
|
color:var(--rs-text-secondary);
|
|
2281
2284
|
transition:0.2s color linear;
|
|
2282
2285
|
cursor:pointer;
|
|
@@ -2244,6 +2244,9 @@
|
|
|
2244
2244
|
align-items:center;
|
|
2245
2245
|
}
|
|
2246
2246
|
.rs-picker-toggle-indicator .rs-picker-clean{
|
|
2247
|
+
display:inline-flex;
|
|
2248
|
+
align-items:center;
|
|
2249
|
+
justify-content:center;
|
|
2247
2250
|
color:var(--rs-text-secondary);
|
|
2248
2251
|
transition:0.2s color linear;
|
|
2249
2252
|
cursor:pointer;
|
|
@@ -2564,6 +2564,9 @@ label:hover .rs-checkbox-control .rs-checkbox-inner::before{
|
|
|
2564
2564
|
align-items:center;
|
|
2565
2565
|
}
|
|
2566
2566
|
.rs-picker-toggle-indicator .rs-picker-clean{
|
|
2567
|
+
display:inline-flex;
|
|
2568
|
+
align-items:center;
|
|
2569
|
+
justify-content:center;
|
|
2567
2570
|
color:var(--rs-text-secondary);
|
|
2568
2571
|
transition:0.2s color linear;
|
|
2569
2572
|
cursor:pointer;
|
|
@@ -2564,6 +2564,9 @@ label:hover .rs-checkbox-control .rs-checkbox-inner::before{
|
|
|
2564
2564
|
align-items:center;
|
|
2565
2565
|
}
|
|
2566
2566
|
.rs-picker-toggle-indicator .rs-picker-clean{
|
|
2567
|
+
display:inline-flex;
|
|
2568
|
+
align-items:center;
|
|
2569
|
+
justify-content:center;
|
|
2567
2570
|
color:var(--rs-text-secondary);
|
|
2568
2571
|
transition:0.2s color linear;
|
|
2569
2572
|
cursor:pointer;
|
|
@@ -2309,6 +2309,9 @@
|
|
|
2309
2309
|
align-items:center;
|
|
2310
2310
|
}
|
|
2311
2311
|
.rs-picker-toggle-indicator .rs-picker-clean{
|
|
2312
|
+
display:inline-flex;
|
|
2313
|
+
align-items:center;
|
|
2314
|
+
justify-content:center;
|
|
2312
2315
|
color:var(--rs-text-secondary);
|
|
2313
2316
|
transition:0.2s color linear;
|
|
2314
2317
|
cursor:pointer;
|
|
@@ -2244,6 +2244,9 @@
|
|
|
2244
2244
|
align-items:center;
|
|
2245
2245
|
}
|
|
2246
2246
|
.rs-picker-toggle-indicator .rs-picker-clean{
|
|
2247
|
+
display:inline-flex;
|
|
2248
|
+
align-items:center;
|
|
2249
|
+
justify-content:center;
|
|
2247
2250
|
color:var(--rs-text-secondary);
|
|
2248
2251
|
transition:0.2s color linear;
|
|
2249
2252
|
cursor:pointer;
|
|
@@ -2256,6 +2256,9 @@
|
|
|
2256
2256
|
align-items:center;
|
|
2257
2257
|
}
|
|
2258
2258
|
.rs-picker-toggle-indicator .rs-picker-clean{
|
|
2259
|
+
display:inline-flex;
|
|
2260
|
+
align-items:center;
|
|
2261
|
+
justify-content:center;
|
|
2259
2262
|
color:var(--rs-text-secondary);
|
|
2260
2263
|
transition:0.2s color linear;
|
|
2261
2264
|
cursor:pointer;
|
|
@@ -2256,6 +2256,9 @@
|
|
|
2256
2256
|
align-items:center;
|
|
2257
2257
|
}
|
|
2258
2258
|
.rs-picker-toggle-indicator .rs-picker-clean{
|
|
2259
|
+
display:inline-flex;
|
|
2260
|
+
align-items:center;
|
|
2261
|
+
justify-content:center;
|
|
2259
2262
|
color:var(--rs-text-secondary);
|
|
2260
2263
|
transition:0.2s color linear;
|
|
2261
2264
|
cursor:pointer;
|
|
@@ -2275,6 +2275,9 @@
|
|
|
2275
2275
|
align-items:center;
|
|
2276
2276
|
}
|
|
2277
2277
|
.rs-picker-toggle-indicator .rs-picker-clean{
|
|
2278
|
+
display:inline-flex;
|
|
2279
|
+
align-items:center;
|
|
2280
|
+
justify-content:center;
|
|
2278
2281
|
color:var(--rs-text-secondary);
|
|
2279
2282
|
transition:0.2s color linear;
|
|
2280
2283
|
cursor:pointer;
|
|
@@ -2277,6 +2277,9 @@
|
|
|
2277
2277
|
align-items:center;
|
|
2278
2278
|
}
|
|
2279
2279
|
.rs-picker-toggle-indicator .rs-picker-clean{
|
|
2280
|
+
display:inline-flex;
|
|
2281
|
+
align-items:center;
|
|
2282
|
+
justify-content:center;
|
|
2280
2283
|
color:var(--rs-text-secondary);
|
|
2281
2284
|
transition:0.2s color linear;
|
|
2282
2285
|
cursor:pointer;
|
package/Tree/styles/index.css
CHANGED
|
@@ -2242,6 +2242,9 @@
|
|
|
2242
2242
|
align-items:center;
|
|
2243
2243
|
}
|
|
2244
2244
|
.rs-picker-toggle-indicator .rs-picker-clean{
|
|
2245
|
+
display:inline-flex;
|
|
2246
|
+
align-items:center;
|
|
2247
|
+
justify-content:center;
|
|
2245
2248
|
color:var(--rs-text-secondary);
|
|
2246
2249
|
transition:0.2s color linear;
|
|
2247
2250
|
cursor:pointer;
|
|
@@ -2242,6 +2242,9 @@
|
|
|
2242
2242
|
align-items:center;
|
|
2243
2243
|
}
|
|
2244
2244
|
.rs-picker-toggle-indicator .rs-picker-clean{
|
|
2245
|
+
display:inline-flex;
|
|
2246
|
+
align-items:center;
|
|
2247
|
+
justify-content:center;
|
|
2245
2248
|
color:var(--rs-text-secondary);
|
|
2246
2249
|
transition:0.2s color linear;
|
|
2247
2250
|
cursor:pointer;
|
|
@@ -314,6 +314,10 @@ const InputPicker = (0, _utils3.forwardRef)((props, ref) => {
|
|
|
314
314
|
handleChange(val, event);
|
|
315
315
|
});
|
|
316
316
|
const handleMenuItemKeyPress = (0, _hooks.useEventCallback)(event => {
|
|
317
|
+
// When composing, ignore the keypress event.
|
|
318
|
+
if (event.nativeEvent.isComposing) {
|
|
319
|
+
return;
|
|
320
|
+
}
|
|
317
321
|
if (!focusItemValue || !controlledData) {
|
|
318
322
|
return;
|
|
319
323
|
}
|
|
@@ -36,27 +36,28 @@ const PickerIndicator = ({
|
|
|
36
36
|
size: size === 'xs' ? 'xs' : 'sm'
|
|
37
37
|
});
|
|
38
38
|
}
|
|
39
|
-
|
|
39
|
+
if (showCleanButton && !disabled) {
|
|
40
|
+
return /*#__PURE__*/_react.default.createElement(_CloseButton.default, {
|
|
41
|
+
className: prefix('clean'),
|
|
42
|
+
tabIndex: -1,
|
|
43
|
+
locale: {
|
|
44
|
+
closeLabel: clear
|
|
45
|
+
},
|
|
46
|
+
onClick: onClose
|
|
47
|
+
});
|
|
48
|
+
}
|
|
49
|
+
return caretAs && /*#__PURE__*/_react.default.createElement(_Icon.default, {
|
|
40
50
|
as: caretAs,
|
|
41
51
|
className: prefix('caret-icon'),
|
|
42
52
|
"data-testid": "caret"
|
|
43
53
|
});
|
|
44
|
-
const cleanButton = showCleanButton && !disabled && /*#__PURE__*/_react.default.createElement(_CloseButton.default, {
|
|
45
|
-
className: prefix('clean'),
|
|
46
|
-
tabIndex: -1,
|
|
47
|
-
locale: {
|
|
48
|
-
closeLabel: clear
|
|
49
|
-
},
|
|
50
|
-
onClick: onClose
|
|
51
|
-
});
|
|
52
|
-
if (caret && cleanButton) {
|
|
53
|
-
return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, caret, cleanButton);
|
|
54
|
-
}
|
|
55
|
-
return cleanButton || caret || null;
|
|
56
54
|
};
|
|
57
55
|
const props = Component === _InputGroup.default.Addon ? {
|
|
56
|
+
className: prefix('toggle-indicator'),
|
|
58
57
|
disabled
|
|
59
|
-
} : undefined
|
|
58
|
+
} : Component === _react.default.Fragment ? undefined : {
|
|
59
|
+
className: prefix('toggle-indicator')
|
|
60
|
+
};
|
|
60
61
|
return /*#__PURE__*/_react.default.createElement(Component, props, addon());
|
|
61
62
|
};
|
|
62
63
|
var _default = exports.default = PickerIndicator;
|
package/cjs/locales/index.d.ts
CHANGED
|
@@ -13,6 +13,7 @@ export { default as huHU } from './hu_HU';
|
|
|
13
13
|
export { default as itIT } from './it_IT';
|
|
14
14
|
export { default as kkKZ } from './kk_KZ';
|
|
15
15
|
export { default as koKR } from './ko_KR';
|
|
16
|
+
export { default as nbNO } from './nb_NO';
|
|
16
17
|
export { default as nlNL } from './nl_NL';
|
|
17
18
|
export { default as ptBR } from './pt_BR';
|
|
18
19
|
export { default as ruRU } from './ru_RU';
|
package/cjs/locales/index.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
5
5
|
exports.__esModule = true;
|
|
6
|
-
exports.zhTW = exports.zhCN = exports.ukUA = exports.trTR = exports.thTH = exports.svSE = exports.ruRU = exports.ptBR = exports.plPL = exports.nlNL = exports.neNP = exports.koKR = exports.kkKZ = exports.jaJP = exports.itIT = exports.huHU = exports.guIN = exports.frFR = exports.fiFI = exports.faIR = exports.esES = exports.esAR = exports.enUS = exports.enGB = exports.deDE = exports.daDK = exports.csCZ = exports.caES = exports.arEG = void 0;
|
|
6
|
+
exports.zhTW = exports.zhCN = exports.ukUA = exports.trTR = exports.thTH = exports.svSE = exports.ruRU = exports.ptBR = exports.plPL = exports.nlNL = exports.neNP = exports.nbNO = exports.koKR = exports.kkKZ = exports.jaJP = exports.itIT = exports.huHU = exports.guIN = exports.frFR = exports.fiFI = exports.faIR = exports.esES = exports.esAR = exports.enUS = exports.enGB = exports.deDE = exports.daDK = exports.csCZ = exports.caES = exports.arEG = void 0;
|
|
7
7
|
var _ar_EG = _interopRequireDefault(require("./ar_EG"));
|
|
8
8
|
exports.arEG = _ar_EG.default;
|
|
9
9
|
var _da_DK = _interopRequireDefault(require("./da_DK"));
|
|
@@ -30,6 +30,8 @@ var _kk_KZ = _interopRequireDefault(require("./kk_KZ"));
|
|
|
30
30
|
exports.kkKZ = _kk_KZ.default;
|
|
31
31
|
var _ko_KR = _interopRequireDefault(require("./ko_KR"));
|
|
32
32
|
exports.koKR = _ko_KR.default;
|
|
33
|
+
var _nb_NO = _interopRequireDefault(require("./nb_NO"));
|
|
34
|
+
exports.nbNO = _nb_NO.default;
|
|
33
35
|
var _nl_NL = _interopRequireDefault(require("./nl_NL"));
|
|
34
36
|
exports.nlNL = _nl_NL.default;
|
|
35
37
|
var _pt_BR = _interopRequireDefault(require("./pt_BR"));
|
|
@@ -0,0 +1,173 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
code: string;
|
|
3
|
+
common: {
|
|
4
|
+
loading: string;
|
|
5
|
+
emptyMessage: string;
|
|
6
|
+
remove: string;
|
|
7
|
+
clear: string;
|
|
8
|
+
};
|
|
9
|
+
Plaintext: {
|
|
10
|
+
unfilled: string;
|
|
11
|
+
notSelected: string;
|
|
12
|
+
notUploaded: string;
|
|
13
|
+
};
|
|
14
|
+
Pagination: {
|
|
15
|
+
more: string;
|
|
16
|
+
prev: string;
|
|
17
|
+
next: string;
|
|
18
|
+
first: string;
|
|
19
|
+
last: string;
|
|
20
|
+
limit: string;
|
|
21
|
+
total: string;
|
|
22
|
+
skip: string;
|
|
23
|
+
};
|
|
24
|
+
DateTimeFormats: {
|
|
25
|
+
sunday: string;
|
|
26
|
+
monday: string;
|
|
27
|
+
tuesday: string;
|
|
28
|
+
wednesday: string;
|
|
29
|
+
thursday: string;
|
|
30
|
+
friday: string;
|
|
31
|
+
saturday: string;
|
|
32
|
+
ok: string;
|
|
33
|
+
today: string;
|
|
34
|
+
yesterday: string;
|
|
35
|
+
now: string;
|
|
36
|
+
hours: string;
|
|
37
|
+
minutes: string;
|
|
38
|
+
seconds: string;
|
|
39
|
+
/**
|
|
40
|
+
* Format of the string is based on Unicode Technical Standard #35:
|
|
41
|
+
* https://www.unicode.org/reports/tr35/tr35-dates.html#Date_Field_Symbol_Table
|
|
42
|
+
**/
|
|
43
|
+
formattedMonthPattern: string;
|
|
44
|
+
formattedDayPattern: string;
|
|
45
|
+
shortDateFormat: string;
|
|
46
|
+
shortTimeFormat: string;
|
|
47
|
+
dateLocale: any;
|
|
48
|
+
};
|
|
49
|
+
Calendar: {
|
|
50
|
+
sunday: string;
|
|
51
|
+
monday: string;
|
|
52
|
+
tuesday: string;
|
|
53
|
+
wednesday: string;
|
|
54
|
+
thursday: string;
|
|
55
|
+
friday: string;
|
|
56
|
+
saturday: string;
|
|
57
|
+
ok: string;
|
|
58
|
+
today: string;
|
|
59
|
+
yesterday: string;
|
|
60
|
+
now: string;
|
|
61
|
+
hours: string;
|
|
62
|
+
minutes: string;
|
|
63
|
+
seconds: string;
|
|
64
|
+
/**
|
|
65
|
+
* Format of the string is based on Unicode Technical Standard #35:
|
|
66
|
+
* https://www.unicode.org/reports/tr35/tr35-dates.html#Date_Field_Symbol_Table
|
|
67
|
+
**/
|
|
68
|
+
formattedMonthPattern: string;
|
|
69
|
+
formattedDayPattern: string;
|
|
70
|
+
shortDateFormat: string;
|
|
71
|
+
shortTimeFormat: string;
|
|
72
|
+
dateLocale: any;
|
|
73
|
+
};
|
|
74
|
+
DatePicker: {
|
|
75
|
+
sunday: string;
|
|
76
|
+
monday: string;
|
|
77
|
+
tuesday: string;
|
|
78
|
+
wednesday: string;
|
|
79
|
+
thursday: string;
|
|
80
|
+
friday: string;
|
|
81
|
+
saturday: string;
|
|
82
|
+
ok: string;
|
|
83
|
+
today: string;
|
|
84
|
+
yesterday: string;
|
|
85
|
+
now: string;
|
|
86
|
+
hours: string;
|
|
87
|
+
minutes: string;
|
|
88
|
+
seconds: string;
|
|
89
|
+
/**
|
|
90
|
+
* Format of the string is based on Unicode Technical Standard #35:
|
|
91
|
+
* https://www.unicode.org/reports/tr35/tr35-dates.html#Date_Field_Symbol_Table
|
|
92
|
+
**/
|
|
93
|
+
formattedMonthPattern: string;
|
|
94
|
+
formattedDayPattern: string;
|
|
95
|
+
shortDateFormat: string;
|
|
96
|
+
shortTimeFormat: string;
|
|
97
|
+
dateLocale: any;
|
|
98
|
+
};
|
|
99
|
+
DateRangePicker: {
|
|
100
|
+
last7Days: string;
|
|
101
|
+
sunday: string;
|
|
102
|
+
monday: string;
|
|
103
|
+
tuesday: string;
|
|
104
|
+
wednesday: string;
|
|
105
|
+
thursday: string;
|
|
106
|
+
friday: string;
|
|
107
|
+
saturday: string;
|
|
108
|
+
ok: string;
|
|
109
|
+
today: string;
|
|
110
|
+
yesterday: string;
|
|
111
|
+
now: string;
|
|
112
|
+
hours: string;
|
|
113
|
+
minutes: string;
|
|
114
|
+
seconds: string;
|
|
115
|
+
/**
|
|
116
|
+
* Format of the string is based on Unicode Technical Standard #35:
|
|
117
|
+
* https://www.unicode.org/reports/tr35/tr35-dates.html#Date_Field_Symbol_Table
|
|
118
|
+
**/
|
|
119
|
+
formattedMonthPattern: string;
|
|
120
|
+
formattedDayPattern: string;
|
|
121
|
+
shortDateFormat: string;
|
|
122
|
+
shortTimeFormat: string;
|
|
123
|
+
dateLocale: any;
|
|
124
|
+
};
|
|
125
|
+
Combobox: {
|
|
126
|
+
noResultsText: string;
|
|
127
|
+
placeholder: string;
|
|
128
|
+
searchPlaceholder: string;
|
|
129
|
+
checkAll: string;
|
|
130
|
+
};
|
|
131
|
+
InputPicker: {
|
|
132
|
+
newItem: string;
|
|
133
|
+
createOption: string;
|
|
134
|
+
noResultsText: string;
|
|
135
|
+
placeholder: string;
|
|
136
|
+
searchPlaceholder: string;
|
|
137
|
+
checkAll: string;
|
|
138
|
+
};
|
|
139
|
+
TagPicker: {
|
|
140
|
+
newItem: string;
|
|
141
|
+
createOption: string;
|
|
142
|
+
noResultsText: string;
|
|
143
|
+
placeholder: string;
|
|
144
|
+
searchPlaceholder: string;
|
|
145
|
+
checkAll: string;
|
|
146
|
+
};
|
|
147
|
+
Uploader: {
|
|
148
|
+
inited: string;
|
|
149
|
+
progress: string;
|
|
150
|
+
error: string;
|
|
151
|
+
complete: string;
|
|
152
|
+
emptyFile: string;
|
|
153
|
+
upload: string;
|
|
154
|
+
removeFile: string;
|
|
155
|
+
};
|
|
156
|
+
CloseButton: {
|
|
157
|
+
closeLabel: string;
|
|
158
|
+
};
|
|
159
|
+
Breadcrumb: {
|
|
160
|
+
expandText: string;
|
|
161
|
+
};
|
|
162
|
+
Toggle: {
|
|
163
|
+
on: string;
|
|
164
|
+
off: string;
|
|
165
|
+
};
|
|
166
|
+
Dialog: {
|
|
167
|
+
alert: string;
|
|
168
|
+
confirm: string;
|
|
169
|
+
ok: string;
|
|
170
|
+
cancel: string;
|
|
171
|
+
};
|
|
172
|
+
};
|
|
173
|
+
export default _default;
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
"use strict";
|
|
3
|
+
|
|
4
|
+
exports.__esModule = true;
|
|
5
|
+
exports.default = void 0;
|
|
6
|
+
var _nb = require("date-fns/locale/nb");
|
|
7
|
+
const DateTimeFormats = {
|
|
8
|
+
sunday: 'Sø',
|
|
9
|
+
monday: 'Ma',
|
|
10
|
+
tuesday: 'Ti',
|
|
11
|
+
wednesday: 'On',
|
|
12
|
+
thursday: 'To',
|
|
13
|
+
friday: 'Fr',
|
|
14
|
+
saturday: 'Lø',
|
|
15
|
+
ok: 'OK',
|
|
16
|
+
today: 'I dag',
|
|
17
|
+
yesterday: 'I går',
|
|
18
|
+
now: 'Nå',
|
|
19
|
+
hours: 'Timer',
|
|
20
|
+
minutes: 'Minutter',
|
|
21
|
+
seconds: 'Sekunder',
|
|
22
|
+
/**
|
|
23
|
+
* Format of the string is based on Unicode Technical Standard #35:
|
|
24
|
+
* https://www.unicode.org/reports/tr35/tr35-dates.html#Date_Field_Symbol_Table
|
|
25
|
+
**/
|
|
26
|
+
formattedMonthPattern: 'MMM yyyy',
|
|
27
|
+
formattedDayPattern: 'dd MMM yyyy',
|
|
28
|
+
shortDateFormat: 'dd.MM.yyyy',
|
|
29
|
+
shortTimeFormat: 'HH:mm',
|
|
30
|
+
dateLocale: _nb.nb
|
|
31
|
+
};
|
|
32
|
+
const Combobox = {
|
|
33
|
+
noResultsText: 'Ingen resultater funnet',
|
|
34
|
+
placeholder: 'Velg',
|
|
35
|
+
searchPlaceholder: 'Søk',
|
|
36
|
+
checkAll: 'Alle'
|
|
37
|
+
};
|
|
38
|
+
const CreatableComboBox = {
|
|
39
|
+
...Combobox,
|
|
40
|
+
newItem: 'Nytt element',
|
|
41
|
+
createOption: 'Opprett alternativ "{0}"'
|
|
42
|
+
};
|
|
43
|
+
var _default = exports.default = {
|
|
44
|
+
code: 'nb-NO',
|
|
45
|
+
common: {
|
|
46
|
+
loading: 'Laster...',
|
|
47
|
+
emptyMessage: 'Fant ingen data',
|
|
48
|
+
remove: 'Fjern',
|
|
49
|
+
clear: 'Tøm'
|
|
50
|
+
},
|
|
51
|
+
Plaintext: {
|
|
52
|
+
unfilled: 'Ikke utfylt',
|
|
53
|
+
notSelected: 'Ikke valgt',
|
|
54
|
+
notUploaded: 'Ikke lastet opp'
|
|
55
|
+
},
|
|
56
|
+
Pagination: {
|
|
57
|
+
more: 'Mer',
|
|
58
|
+
prev: 'Forrige',
|
|
59
|
+
next: 'Neste',
|
|
60
|
+
first: 'Første',
|
|
61
|
+
last: 'Siste',
|
|
62
|
+
limit: '{0} / side',
|
|
63
|
+
total: 'Totalt antall rader: {0}',
|
|
64
|
+
skip: 'Gå til {0}'
|
|
65
|
+
},
|
|
66
|
+
DateTimeFormats,
|
|
67
|
+
Calendar: DateTimeFormats,
|
|
68
|
+
DatePicker: DateTimeFormats,
|
|
69
|
+
DateRangePicker: {
|
|
70
|
+
...DateTimeFormats,
|
|
71
|
+
last7Days: 'Siste 7 dager'
|
|
72
|
+
},
|
|
73
|
+
Combobox,
|
|
74
|
+
InputPicker: CreatableComboBox,
|
|
75
|
+
TagPicker: CreatableComboBox,
|
|
76
|
+
Uploader: {
|
|
77
|
+
inited: 'Klar',
|
|
78
|
+
progress: 'Laster opp',
|
|
79
|
+
error: 'Feil',
|
|
80
|
+
complete: 'Fullført',
|
|
81
|
+
emptyFile: 'Tom',
|
|
82
|
+
upload: 'Last opp',
|
|
83
|
+
removeFile: 'Fjern fil'
|
|
84
|
+
},
|
|
85
|
+
CloseButton: {
|
|
86
|
+
closeLabel: 'Lukk'
|
|
87
|
+
},
|
|
88
|
+
Breadcrumb: {
|
|
89
|
+
expandText: 'Vis sti'
|
|
90
|
+
},
|
|
91
|
+
Toggle: {
|
|
92
|
+
on: 'PÅ',
|
|
93
|
+
off: 'AV'
|
|
94
|
+
},
|
|
95
|
+
Dialog: {
|
|
96
|
+
alert: 'Varsel',
|
|
97
|
+
confirm: 'Bekreft',
|
|
98
|
+
ok: 'OK',
|
|
99
|
+
cancel: 'Avbryt'
|
|
100
|
+
}
|
|
101
|
+
};
|
package/dist/rsuite-no-reset.css
CHANGED
|
@@ -3480,6 +3480,9 @@ tbody.rs-anim-collapse.rs-anim-in{
|
|
|
3480
3480
|
align-items:center;
|
|
3481
3481
|
}
|
|
3482
3482
|
.rs-picker-toggle-indicator .rs-picker-clean{
|
|
3483
|
+
display:inline-flex;
|
|
3484
|
+
align-items:center;
|
|
3485
|
+
justify-content:center;
|
|
3483
3486
|
color:var(--rs-text-secondary);
|
|
3484
3487
|
transition:0.2s color linear;
|
|
3485
3488
|
cursor:pointer;
|