@semcore/time-picker 4.51.0 → 16.0.0-prerelease.11
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/CHANGELOG.md +2 -2
- package/lib/cjs/PickerFormat.js +3 -3
- package/lib/cjs/PickerFormat.js.map +1 -1
- package/lib/cjs/PickerInput.js +1 -1
- package/lib/cjs/PickerInput.js.map +1 -1
- package/lib/cjs/TimePicker.js +15 -19
- package/lib/cjs/TimePicker.js.map +1 -1
- package/lib/cjs/index.d.js.map +1 -1
- package/lib/cjs/style/time-picker.shadow.css +6 -12
- package/lib/es6/PickerFormat.js +3 -3
- package/lib/es6/PickerFormat.js.map +1 -1
- package/lib/es6/PickerInput.js +1 -1
- package/lib/es6/PickerInput.js.map +1 -1
- package/lib/es6/TimePicker.js +15 -17
- package/lib/es6/TimePicker.js.map +1 -1
- package/lib/es6/index.d.js.map +1 -1
- package/lib/es6/style/time-picker.shadow.css +6 -12
- package/lib/esm/PickerFormat.mjs +56 -46
- package/lib/esm/PickerInput.mjs +220 -146
- package/lib/esm/TimePicker.mjs +222 -157
- package/lib/esm/index.mjs +7 -7
- package/lib/esm/translations/__intergalactic-dynamic-locales.mjs +30 -30
- package/lib/esm/translations/de.json.mjs +20 -14
- package/lib/esm/translations/en.json.mjs +20 -14
- package/lib/esm/translations/es.json.mjs +20 -14
- package/lib/esm/translations/fr.json.mjs +20 -14
- package/lib/esm/translations/it.json.mjs +20 -14
- package/lib/esm/translations/ja.json.mjs +20 -14
- package/lib/esm/translations/ko.json.mjs +20 -14
- package/lib/esm/translations/nl.json.mjs +20 -14
- package/lib/esm/translations/pl.json.mjs +20 -14
- package/lib/esm/translations/pt.json.mjs +20 -14
- package/lib/esm/translations/sv.json.mjs +20 -14
- package/lib/esm/translations/tr.json.mjs +20 -14
- package/lib/esm/translations/vi.json.mjs +20 -14
- package/lib/esm/translations/zh.json.mjs +20 -14
- package/lib/types/index.d.ts +1 -1
- package/package.json +6 -9
|
@@ -1,17 +1,23 @@
|
|
|
1
|
-
const
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
const title = "{time} {meridiem}";
|
|
2
|
+
const titleEmpty = "Seleccionar";
|
|
3
|
+
const hours = "Horas";
|
|
4
|
+
const minutes = "Minutos";
|
|
5
|
+
const formatToggler = "Período de tiempo";
|
|
6
|
+
const changedFormatNotice = "Periodo de tiempo cambiado a {meridiem}";
|
|
7
|
+
const es = {
|
|
8
|
+
title,
|
|
9
|
+
titleEmpty,
|
|
10
|
+
hours,
|
|
11
|
+
minutes,
|
|
12
|
+
formatToggler,
|
|
13
|
+
changedFormatNotice
|
|
8
14
|
};
|
|
9
15
|
export {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
16
|
+
changedFormatNotice,
|
|
17
|
+
es as default,
|
|
18
|
+
formatToggler,
|
|
19
|
+
hours,
|
|
20
|
+
minutes,
|
|
21
|
+
title,
|
|
22
|
+
titleEmpty
|
|
17
23
|
};
|
|
@@ -1,17 +1,23 @@
|
|
|
1
|
-
const
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
const title = "{time} {meridiem}";
|
|
2
|
+
const titleEmpty = "Sélectionner";
|
|
3
|
+
const hours = "Heures";
|
|
4
|
+
const minutes = "Minutes";
|
|
5
|
+
const formatToggler = "Période";
|
|
6
|
+
const changedFormatNotice = "La période a été définie sur {meridiem}";
|
|
7
|
+
const fr = {
|
|
8
|
+
title,
|
|
9
|
+
titleEmpty,
|
|
10
|
+
hours,
|
|
11
|
+
minutes,
|
|
12
|
+
formatToggler,
|
|
13
|
+
changedFormatNotice
|
|
8
14
|
};
|
|
9
15
|
export {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
16
|
+
changedFormatNotice,
|
|
17
|
+
fr as default,
|
|
18
|
+
formatToggler,
|
|
19
|
+
hours,
|
|
20
|
+
minutes,
|
|
21
|
+
title,
|
|
22
|
+
titleEmpty
|
|
17
23
|
};
|
|
@@ -1,17 +1,23 @@
|
|
|
1
|
-
const
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
const title = "{time} {meridiem}";
|
|
2
|
+
const titleEmpty = "Seleziona";
|
|
3
|
+
const hours = "Ore";
|
|
4
|
+
const minutes = "Minuti";
|
|
5
|
+
const formatToggler = "Periodo";
|
|
6
|
+
const changedFormatNotice = "Periodo indicato in {meridiem}";
|
|
7
|
+
const it = {
|
|
8
|
+
title,
|
|
9
|
+
titleEmpty,
|
|
10
|
+
hours,
|
|
11
|
+
minutes,
|
|
12
|
+
formatToggler,
|
|
13
|
+
changedFormatNotice
|
|
8
14
|
};
|
|
9
15
|
export {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
16
|
+
changedFormatNotice,
|
|
17
|
+
it as default,
|
|
18
|
+
formatToggler,
|
|
19
|
+
hours,
|
|
20
|
+
minutes,
|
|
21
|
+
title,
|
|
22
|
+
titleEmpty
|
|
17
23
|
};
|
|
@@ -1,17 +1,23 @@
|
|
|
1
|
-
const
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
const title = "{time} {meridiem}";
|
|
2
|
+
const titleEmpty = "選択";
|
|
3
|
+
const hours = "時間";
|
|
4
|
+
const minutes = "分";
|
|
5
|
+
const formatToggler = "期間";
|
|
6
|
+
const changedFormatNotice = "期間を {meridiem} に変更";
|
|
7
|
+
const ja = {
|
|
8
|
+
title,
|
|
9
|
+
titleEmpty,
|
|
10
|
+
hours,
|
|
11
|
+
minutes,
|
|
12
|
+
formatToggler,
|
|
13
|
+
changedFormatNotice
|
|
8
14
|
};
|
|
9
15
|
export {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
16
|
+
changedFormatNotice,
|
|
17
|
+
ja as default,
|
|
18
|
+
formatToggler,
|
|
19
|
+
hours,
|
|
20
|
+
minutes,
|
|
21
|
+
title,
|
|
22
|
+
titleEmpty
|
|
17
23
|
};
|
|
@@ -1,17 +1,23 @@
|
|
|
1
|
-
const
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
const title = "{time} {meridiem}";
|
|
2
|
+
const titleEmpty = "선택";
|
|
3
|
+
const hours = "시";
|
|
4
|
+
const minutes = "분";
|
|
5
|
+
const formatToggler = "시간대";
|
|
6
|
+
const changedFormatNotice = "시간대가 {meridiem}로 변경되었습니다";
|
|
7
|
+
const ko = {
|
|
8
|
+
title,
|
|
9
|
+
titleEmpty,
|
|
10
|
+
hours,
|
|
11
|
+
minutes,
|
|
12
|
+
formatToggler,
|
|
13
|
+
changedFormatNotice
|
|
8
14
|
};
|
|
9
15
|
export {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
16
|
+
changedFormatNotice,
|
|
17
|
+
ko as default,
|
|
18
|
+
formatToggler,
|
|
19
|
+
hours,
|
|
20
|
+
minutes,
|
|
21
|
+
title,
|
|
22
|
+
titleEmpty
|
|
17
23
|
};
|
|
@@ -1,17 +1,23 @@
|
|
|
1
|
-
const
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
const title = "{time} {meridiem}";
|
|
2
|
+
const titleEmpty = "Selecteren";
|
|
3
|
+
const hours = "Uur";
|
|
4
|
+
const minutes = "Minuten";
|
|
5
|
+
const formatToggler = "Tijdzone";
|
|
6
|
+
const changedFormatNotice = "Tijdzone gewijzigd in {meridiem}";
|
|
7
|
+
const nl = {
|
|
8
|
+
title,
|
|
9
|
+
titleEmpty,
|
|
10
|
+
hours,
|
|
11
|
+
minutes,
|
|
12
|
+
formatToggler,
|
|
13
|
+
changedFormatNotice
|
|
8
14
|
};
|
|
9
15
|
export {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
16
|
+
changedFormatNotice,
|
|
17
|
+
nl as default,
|
|
18
|
+
formatToggler,
|
|
19
|
+
hours,
|
|
20
|
+
minutes,
|
|
21
|
+
title,
|
|
22
|
+
titleEmpty
|
|
17
23
|
};
|
|
@@ -1,17 +1,23 @@
|
|
|
1
|
-
const
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
const title = "{time} {meridiem}";
|
|
2
|
+
const titleEmpty = "Wybierz";
|
|
3
|
+
const hours = "Godziny";
|
|
4
|
+
const minutes = "Minuty";
|
|
5
|
+
const formatToggler = "Pora dnia";
|
|
6
|
+
const changedFormatNotice = "Zmieniono porę dnia na {meridiem}";
|
|
7
|
+
const pl = {
|
|
8
|
+
title,
|
|
9
|
+
titleEmpty,
|
|
10
|
+
hours,
|
|
11
|
+
minutes,
|
|
12
|
+
formatToggler,
|
|
13
|
+
changedFormatNotice
|
|
8
14
|
};
|
|
9
15
|
export {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
16
|
+
changedFormatNotice,
|
|
17
|
+
pl as default,
|
|
18
|
+
formatToggler,
|
|
19
|
+
hours,
|
|
20
|
+
minutes,
|
|
21
|
+
title,
|
|
22
|
+
titleEmpty
|
|
17
23
|
};
|
|
@@ -1,17 +1,23 @@
|
|
|
1
|
-
const
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
const title = "{time} {meridiem}";
|
|
2
|
+
const titleEmpty = "Selecionar";
|
|
3
|
+
const hours = "Horas";
|
|
4
|
+
const minutes = "Minutos";
|
|
5
|
+
const formatToggler = "Período";
|
|
6
|
+
const changedFormatNotice = "Período alterado para {meridiem}";
|
|
7
|
+
const pt = {
|
|
8
|
+
title,
|
|
9
|
+
titleEmpty,
|
|
10
|
+
hours,
|
|
11
|
+
minutes,
|
|
12
|
+
formatToggler,
|
|
13
|
+
changedFormatNotice
|
|
8
14
|
};
|
|
9
15
|
export {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
16
|
+
changedFormatNotice,
|
|
17
|
+
pt as default,
|
|
18
|
+
formatToggler,
|
|
19
|
+
hours,
|
|
20
|
+
minutes,
|
|
21
|
+
title,
|
|
22
|
+
titleEmpty
|
|
17
23
|
};
|
|
@@ -1,17 +1,23 @@
|
|
|
1
|
-
const
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
const title = "{time} {meridiem}";
|
|
2
|
+
const titleEmpty = "Välj";
|
|
3
|
+
const hours = "Timmar";
|
|
4
|
+
const minutes = "Minuter";
|
|
5
|
+
const formatToggler = "Tidsperiod";
|
|
6
|
+
const changedFormatNotice = "Tidsperiod ändrad till {meridiem}";
|
|
7
|
+
const sv = {
|
|
8
|
+
title,
|
|
9
|
+
titleEmpty,
|
|
10
|
+
hours,
|
|
11
|
+
minutes,
|
|
12
|
+
formatToggler,
|
|
13
|
+
changedFormatNotice
|
|
8
14
|
};
|
|
9
15
|
export {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
16
|
+
changedFormatNotice,
|
|
17
|
+
sv as default,
|
|
18
|
+
formatToggler,
|
|
19
|
+
hours,
|
|
20
|
+
minutes,
|
|
21
|
+
title,
|
|
22
|
+
titleEmpty
|
|
17
23
|
};
|
|
@@ -1,17 +1,23 @@
|
|
|
1
|
-
const
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
const title = "{time} {meridiem}";
|
|
2
|
+
const titleEmpty = "Seç";
|
|
3
|
+
const hours = "Saat";
|
|
4
|
+
const minutes = "Dakika";
|
|
5
|
+
const formatToggler = "Zaman aralığı";
|
|
6
|
+
const changedFormatNotice = "Zaman aralığı {meridiem} olarak değiştirildi";
|
|
7
|
+
const tr = {
|
|
8
|
+
title,
|
|
9
|
+
titleEmpty,
|
|
10
|
+
hours,
|
|
11
|
+
minutes,
|
|
12
|
+
formatToggler,
|
|
13
|
+
changedFormatNotice
|
|
8
14
|
};
|
|
9
15
|
export {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
16
|
+
changedFormatNotice,
|
|
17
|
+
tr as default,
|
|
18
|
+
formatToggler,
|
|
19
|
+
hours,
|
|
20
|
+
minutes,
|
|
21
|
+
title,
|
|
22
|
+
titleEmpty
|
|
17
23
|
};
|
|
@@ -1,17 +1,23 @@
|
|
|
1
|
-
const
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
const title = "{time} {meridiem}";
|
|
2
|
+
const titleEmpty = "Chọn";
|
|
3
|
+
const hours = "Giờ";
|
|
4
|
+
const minutes = "Phút";
|
|
5
|
+
const formatToggler = "Thời gian";
|
|
6
|
+
const changedFormatNotice = "Thời gian đã đổi thành {meridiem}";
|
|
7
|
+
const vi = {
|
|
8
|
+
title,
|
|
9
|
+
titleEmpty,
|
|
10
|
+
hours,
|
|
11
|
+
minutes,
|
|
12
|
+
formatToggler,
|
|
13
|
+
changedFormatNotice
|
|
8
14
|
};
|
|
9
15
|
export {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
16
|
+
changedFormatNotice,
|
|
17
|
+
vi as default,
|
|
18
|
+
formatToggler,
|
|
19
|
+
hours,
|
|
20
|
+
minutes,
|
|
21
|
+
title,
|
|
22
|
+
titleEmpty
|
|
17
23
|
};
|
|
@@ -1,17 +1,23 @@
|
|
|
1
|
-
const
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
const title = "{time} {meridiem}";
|
|
2
|
+
const titleEmpty = "选择";
|
|
3
|
+
const hours = "小时";
|
|
4
|
+
const minutes = "分钟";
|
|
5
|
+
const formatToggler = "时段";
|
|
6
|
+
const changedFormatNotice = "时间段已更改为 {meridiem}";
|
|
7
|
+
const zh = {
|
|
8
|
+
title,
|
|
9
|
+
titleEmpty,
|
|
10
|
+
hours,
|
|
11
|
+
minutes,
|
|
12
|
+
formatToggler,
|
|
13
|
+
changedFormatNotice
|
|
8
14
|
};
|
|
9
15
|
export {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
16
|
+
changedFormatNotice,
|
|
17
|
+
zh as default,
|
|
18
|
+
formatToggler,
|
|
19
|
+
hours,
|
|
20
|
+
minutes,
|
|
21
|
+
title,
|
|
22
|
+
titleEmpty
|
|
17
23
|
};
|
package/lib/types/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import React from 'react';
|
|
|
2
2
|
import { PropGetterFn, UnknownProperties, Intergalactic } from '@semcore/core';
|
|
3
3
|
import { InputProps, InputValueProps } from '@semcore/input';
|
|
4
4
|
import { Box, BoxProps } from '@semcore/flex-box';
|
|
5
|
-
import { KeyboardFocusProps } from '@semcore/
|
|
5
|
+
import { KeyboardFocusProps } from '@semcore/core/lib/utils/enhances/keyboardFocusEnhance';
|
|
6
6
|
|
|
7
7
|
/** @deprecated */
|
|
8
8
|
export interface ITimePickerProps extends TimePickerProps, UnknownProperties {}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@semcore/time-picker",
|
|
3
3
|
"description": "Semrush TimePicker Component",
|
|
4
|
-
"version": "
|
|
4
|
+
"version": "16.0.0-prerelease.11",
|
|
5
5
|
"main": "lib/cjs/index.js",
|
|
6
6
|
"module": "lib/es6/index.js",
|
|
7
7
|
"typings": "lib/types/index.d.ts",
|
|
@@ -14,16 +14,13 @@
|
|
|
14
14
|
"types": "./lib/types/index.d.ts"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@semcore/
|
|
18
|
-
"@semcore/
|
|
19
|
-
"@semcore/input": "
|
|
20
|
-
"@semcore/select": "
|
|
21
|
-
"@semcore/utils": "4.48.1"
|
|
17
|
+
"@semcore/flex-box": "16.0.0-prerelease.11",
|
|
18
|
+
"@semcore/button": "16.0.0-prerelease.11",
|
|
19
|
+
"@semcore/input": "16.0.0-prerelease.11",
|
|
20
|
+
"@semcore/select": "16.0.0-prerelease.11"
|
|
22
21
|
},
|
|
23
22
|
"peerDependencies": {
|
|
24
|
-
"@semcore/
|
|
25
|
-
"react": "16.8 - 18",
|
|
26
|
-
"react-dom": "16.8 - 18"
|
|
23
|
+
"@semcore/base-components": "^16.0.0-prerelease.11"
|
|
27
24
|
},
|
|
28
25
|
"repository": {
|
|
29
26
|
"type": "git",
|