@vonage/vivid 3.49.0 → 3.50.0
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/accordion/index.cjs +1 -1
- package/accordion/index.js +1 -1
- package/accordion-item/index.cjs +1 -1
- package/accordion-item/index.js +1 -1
- package/alert/index.cjs +2 -2
- package/alert/index.js +2 -2
- package/audio-player/index.cjs +1 -1
- package/audio-player/index.js +1 -1
- package/banner/index.cjs +1 -1
- package/banner/index.js +1 -1
- package/breadcrumb-item/index.cjs +1 -1
- package/breadcrumb-item/index.js +1 -1
- package/button/index.cjs +1 -1
- package/button/index.js +1 -1
- package/card/index.cjs +1 -1
- package/card/index.js +1 -1
- package/checkbox/index.cjs +1 -2
- package/checkbox/index.js +1 -2
- package/combobox/index.cjs +3 -3
- package/combobox/index.js +3 -3
- package/custom-elements.json +797 -124
- package/date-picker/index.cjs +4 -3
- package/date-picker/index.js +4 -3
- package/date-range-picker/index.cjs +3 -2
- package/date-range-picker/index.js +3 -2
- package/dialog/index.cjs +2 -2
- package/dialog/index.js +2 -2
- package/elevation/index.cjs +1 -1
- package/elevation/index.js +1 -1
- package/fab/index.cjs +1 -1
- package/fab/index.js +1 -1
- package/file-picker/index.cjs +1 -1
- package/file-picker/index.js +1 -1
- package/focus/index.cjs +1 -1
- package/focus/index.js +1 -1
- package/header/index.cjs +1 -1
- package/header/index.js +1 -1
- package/index.cjs +21 -16
- package/index.js +10 -8
- package/lib/components.d.ts +1 -0
- package/lib/time-picker/definition.d.ts +3 -0
- package/lib/time-picker/locale.d.ts +12 -0
- package/lib/time-picker/time/picker.d.ts +9 -0
- package/lib/time-picker/time/presentationTime.d.ts +5 -0
- package/lib/time-picker/time/time.d.ts +15 -0
- package/lib/time-picker/time-picker.d.ts +16 -0
- package/lib/time-picker/time-picker.form-associated.d.ts +10 -0
- package/lib/time-picker/time-picker.template.d.ts +4 -0
- package/listbox/index.cjs +1 -1
- package/listbox/index.js +1 -1
- package/locales/en-GB.cjs +15 -0
- package/locales/en-GB.js +15 -0
- package/locales/en-US.cjs +15 -0
- package/locales/en-US.js +15 -0
- package/locales/ja-JP.cjs +15 -0
- package/locales/ja-JP.js +15 -0
- package/locales/zh-CN.cjs +15 -0
- package/locales/zh-CN.js +15 -0
- package/menu/index.cjs +3 -3
- package/menu/index.js +3 -3
- package/menu-item/index.cjs +1 -1
- package/menu-item/index.js +1 -1
- package/nav-disclosure/index.cjs +1 -1
- package/nav-disclosure/index.js +1 -1
- package/nav-item/index.cjs +1 -1
- package/nav-item/index.js +1 -1
- package/number-field/index.cjs +1 -1
- package/number-field/index.js +1 -1
- package/option/index.cjs +1 -1
- package/option/index.js +1 -1
- package/package.json +1 -1
- package/pagination/index.cjs +1 -1
- package/pagination/index.js +1 -1
- package/popup/index.cjs +3 -3
- package/popup/index.js +3 -3
- package/radio/index.cjs +1 -2
- package/radio/index.js +1 -2
- package/select/index.cjs +3 -3
- package/select/index.js +3 -3
- package/selectable-box/index.cjs +2 -2
- package/selectable-box/index.js +2 -2
- package/shared/date-picker/date-picker-base.d.ts +2 -2
- package/shared/definition.cjs +1 -1
- package/shared/definition.js +1 -1
- package/shared/definition11.cjs +1 -1
- package/shared/definition11.js +1 -1
- package/shared/definition14.cjs +1 -1
- package/shared/definition14.js +1 -1
- package/shared/definition15.cjs +2 -5
- package/shared/definition15.js +2 -5
- package/shared/definition16.cjs +2 -2
- package/shared/definition16.js +2 -2
- package/shared/definition18.cjs +2 -2
- package/shared/definition18.js +2 -2
- package/shared/definition19.cjs +2 -2
- package/shared/definition19.js +2 -2
- package/shared/definition20.cjs +1 -1
- package/shared/definition20.js +1 -1
- package/shared/definition23.cjs +1 -1
- package/shared/definition23.js +1 -1
- package/shared/definition24.cjs +1 -1
- package/shared/definition24.js +1 -1
- package/shared/definition25.cjs +1 -1
- package/shared/definition25.js +1 -1
- package/shared/definition28.cjs +1 -1
- package/shared/definition28.js +1 -1
- package/shared/definition29.cjs +1 -1
- package/shared/definition29.js +1 -1
- package/shared/definition30.cjs +1 -1
- package/shared/definition30.js +1 -1
- package/shared/definition31.cjs +1 -1
- package/shared/definition31.js +1 -1
- package/shared/definition35.cjs +1 -1
- package/shared/definition35.js +1 -1
- package/shared/definition4.cjs +1 -1
- package/shared/definition4.js +1 -1
- package/shared/definition40.cjs +3 -6
- package/shared/definition40.js +3 -6
- package/shared/definition41.cjs +2 -2
- package/shared/definition41.js +2 -2
- package/shared/definition42.cjs +1 -1
- package/shared/definition42.js +1 -1
- package/shared/definition44.cjs +1 -1
- package/shared/definition44.js +1 -1
- package/shared/definition45.cjs +1 -1
- package/shared/definition45.js +1 -1
- package/shared/definition46.cjs +1 -1
- package/shared/definition46.js +1 -1
- package/shared/definition48.cjs +1 -1
- package/shared/definition48.js +1 -1
- package/shared/definition5.cjs +1 -1
- package/shared/definition5.js +1 -1
- package/shared/definition51.cjs +1 -1
- package/shared/definition51.js +1 -1
- package/shared/definition52.cjs +1 -1
- package/shared/definition52.js +1 -1
- package/shared/definition53.cjs +1 -1
- package/shared/definition53.js +1 -1
- package/shared/definition54.cjs +769 -91
- package/shared/definition54.js +768 -90
- package/shared/definition55.cjs +76 -58
- package/shared/definition55.js +75 -57
- package/shared/definition56.cjs +100 -71
- package/shared/definition56.js +99 -70
- package/shared/definition57.cjs +80 -291
- package/shared/definition57.js +81 -292
- package/shared/definition58.cjs +303 -13
- package/shared/definition58.js +302 -13
- package/shared/definition59.cjs +11 -42
- package/shared/definition59.js +11 -41
- package/shared/definition60.cjs +23 -1782
- package/shared/definition60.js +22 -1781
- package/shared/definition61.cjs +1810 -0
- package/shared/definition61.js +1806 -0
- package/shared/definition9.cjs +1 -1
- package/shared/definition9.js +1 -1
- package/shared/localization/Locale.d.ts +2 -0
- package/shared/patterns/index.d.ts +1 -0
- package/shared/patterns/trapped-focus.d.ts +4 -0
- package/shared/presentationDate.cjs +11 -25
- package/shared/presentationDate.js +11 -25
- package/shared/trapped-focus.cjs +29 -0
- package/shared/trapped-focus.js +27 -0
- package/slider/index.cjs +1 -1
- package/slider/index.js +1 -1
- package/split-button/index.cjs +1 -1
- package/split-button/index.js +1 -1
- package/style.css +1 -1
- package/styles/core/all.css +1 -1
- package/styles/core/theme.css +1 -1
- package/styles/core/typography.css +1 -1
- package/styles/tokens/theme-dark.css +4 -4
- package/styles/tokens/theme-light.css +4 -4
- package/styles/tokens/vivid-2-compat.css +1 -1
- package/switch/index.cjs +1 -1
- package/switch/index.js +1 -1
- package/tab/index.cjs +1 -1
- package/tab/index.js +1 -1
- package/tabs/index.cjs +1 -1
- package/tabs/index.js +1 -1
- package/tag/index.cjs +1 -1
- package/tag/index.js +1 -1
- package/text-area/index.cjs +1 -1
- package/text-area/index.js +1 -1
- package/text-field/index.cjs +1 -1
- package/text-field/index.js +1 -1
- package/time-picker/index.cjs +38 -0
- package/time-picker/index.js +36 -0
- package/toggletip/index.cjs +4 -4
- package/toggletip/index.js +4 -4
- package/tooltip/index.cjs +4 -4
- package/tooltip/index.js +4 -4
- package/tree-item/index.cjs +2 -2
- package/tree-item/index.js +2 -2
- package/tree-view/index.cjs +1 -1
- package/tree-view/index.js +1 -1
- package/vivid.api.json +105 -0
package/date-picker/index.cjs
CHANGED
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
const definition = require('../shared/definition18.cjs');
|
|
4
4
|
require('../shared/index.cjs');
|
|
5
|
-
require('../shared/
|
|
5
|
+
require('../shared/definition61.cjs');
|
|
6
6
|
require('../shared/definition11.cjs');
|
|
7
7
|
require('../shared/definition26.cjs');
|
|
8
8
|
require('../shared/icon.cjs');
|
|
9
9
|
require('../shared/_has.cjs');
|
|
10
10
|
require('../shared/class-names.cjs');
|
|
11
11
|
require('../shared/when.cjs');
|
|
12
|
-
require('../shared/
|
|
12
|
+
require('../shared/definition59.cjs');
|
|
13
13
|
require('../shared/focus.cjs');
|
|
14
14
|
require('../shared/definition37.cjs');
|
|
15
15
|
require('../shared/base-progress.cjs');
|
|
@@ -23,7 +23,7 @@ require('../shared/aria-global.cjs');
|
|
|
23
23
|
require('../shared/start-end.cjs');
|
|
24
24
|
require('../shared/ref.cjs');
|
|
25
25
|
require('../shared/enums.cjs');
|
|
26
|
-
require('../shared/
|
|
26
|
+
require('../shared/definition60.cjs');
|
|
27
27
|
require('../shared/definition53.cjs');
|
|
28
28
|
require('../shared/index2.cjs');
|
|
29
29
|
require('../locales/en-US.cjs');
|
|
@@ -36,5 +36,6 @@ require('../shared/aria.cjs');
|
|
|
36
36
|
require('../shared/presentationDate.cjs');
|
|
37
37
|
require('../shared/repeat.cjs');
|
|
38
38
|
require('../shared/localized.cjs');
|
|
39
|
+
require('../shared/trapped-focus.cjs');
|
|
39
40
|
|
|
40
41
|
definition.registerDatePicker();
|
package/date-picker/index.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { r as registerDatePicker } from '../shared/definition18.js';
|
|
2
2
|
import '../shared/index.js';
|
|
3
|
-
import '../shared/
|
|
3
|
+
import '../shared/definition61.js';
|
|
4
4
|
import '../shared/definition11.js';
|
|
5
5
|
import '../shared/definition26.js';
|
|
6
6
|
import '../shared/icon.js';
|
|
7
7
|
import '../shared/_has.js';
|
|
8
8
|
import '../shared/class-names.js';
|
|
9
9
|
import '../shared/when.js';
|
|
10
|
-
import '../shared/
|
|
10
|
+
import '../shared/definition59.js';
|
|
11
11
|
import '../shared/focus.js';
|
|
12
12
|
import '../shared/definition37.js';
|
|
13
13
|
import '../shared/base-progress.js';
|
|
@@ -21,7 +21,7 @@ import '../shared/aria-global.js';
|
|
|
21
21
|
import '../shared/start-end.js';
|
|
22
22
|
import '../shared/ref.js';
|
|
23
23
|
import '../shared/enums.js';
|
|
24
|
-
import '../shared/
|
|
24
|
+
import '../shared/definition60.js';
|
|
25
25
|
import '../shared/definition53.js';
|
|
26
26
|
import '../shared/index2.js';
|
|
27
27
|
import '../locales/en-US.js';
|
|
@@ -34,5 +34,6 @@ import '../shared/aria.js';
|
|
|
34
34
|
import '../shared/presentationDate.js';
|
|
35
35
|
import '../shared/repeat.js';
|
|
36
36
|
import '../shared/localized.js';
|
|
37
|
+
import '../shared/trapped-focus.js';
|
|
37
38
|
|
|
38
39
|
registerDatePicker();
|
|
@@ -8,7 +8,7 @@ require('../shared/icon.cjs');
|
|
|
8
8
|
require('../shared/_has.cjs');
|
|
9
9
|
require('../shared/class-names.cjs');
|
|
10
10
|
require('../shared/when.cjs');
|
|
11
|
-
require('../shared/
|
|
11
|
+
require('../shared/definition59.cjs');
|
|
12
12
|
require('../shared/focus.cjs');
|
|
13
13
|
require('../shared/definition37.cjs');
|
|
14
14
|
require('../shared/base-progress.cjs');
|
|
@@ -22,8 +22,8 @@ require('../shared/aria-global.cjs');
|
|
|
22
22
|
require('../shared/start-end.cjs');
|
|
23
23
|
require('../shared/ref.cjs');
|
|
24
24
|
require('../shared/enums.cjs');
|
|
25
|
+
require('../shared/definition61.cjs');
|
|
25
26
|
require('../shared/definition60.cjs');
|
|
26
|
-
require('../shared/definition59.cjs');
|
|
27
27
|
require('../shared/definition53.cjs');
|
|
28
28
|
require('../shared/index2.cjs');
|
|
29
29
|
require('../locales/en-US.cjs');
|
|
@@ -36,5 +36,6 @@ require('../shared/aria.cjs');
|
|
|
36
36
|
require('../shared/presentationDate.cjs');
|
|
37
37
|
require('../shared/repeat.cjs');
|
|
38
38
|
require('../shared/localized.cjs');
|
|
39
|
+
require('../shared/trapped-focus.cjs');
|
|
39
40
|
|
|
40
41
|
definition.registerDateRangePicker();
|
|
@@ -6,7 +6,7 @@ import '../shared/icon.js';
|
|
|
6
6
|
import '../shared/_has.js';
|
|
7
7
|
import '../shared/class-names.js';
|
|
8
8
|
import '../shared/when.js';
|
|
9
|
-
import '../shared/
|
|
9
|
+
import '../shared/definition59.js';
|
|
10
10
|
import '../shared/focus.js';
|
|
11
11
|
import '../shared/definition37.js';
|
|
12
12
|
import '../shared/base-progress.js';
|
|
@@ -20,8 +20,8 @@ import '../shared/aria-global.js';
|
|
|
20
20
|
import '../shared/start-end.js';
|
|
21
21
|
import '../shared/ref.js';
|
|
22
22
|
import '../shared/enums.js';
|
|
23
|
+
import '../shared/definition61.js';
|
|
23
24
|
import '../shared/definition60.js';
|
|
24
|
-
import '../shared/definition59.js';
|
|
25
25
|
import '../shared/definition53.js';
|
|
26
26
|
import '../shared/index2.js';
|
|
27
27
|
import '../locales/en-US.js';
|
|
@@ -34,5 +34,6 @@ import '../shared/aria.js';
|
|
|
34
34
|
import '../shared/presentationDate.js';
|
|
35
35
|
import '../shared/repeat.js';
|
|
36
36
|
import '../shared/localized.js';
|
|
37
|
+
import '../shared/trapped-focus.js';
|
|
37
38
|
|
|
38
39
|
registerDateRangePicker();
|
package/dialog/index.cjs
CHANGED
|
@@ -8,7 +8,7 @@ require('../shared/_has.cjs');
|
|
|
8
8
|
require('../shared/class-names.cjs');
|
|
9
9
|
require('../shared/when.cjs');
|
|
10
10
|
require('../shared/definition11.cjs');
|
|
11
|
-
require('../shared/
|
|
11
|
+
require('../shared/definition59.cjs');
|
|
12
12
|
require('../shared/focus.cjs');
|
|
13
13
|
require('../shared/definition37.cjs');
|
|
14
14
|
require('../shared/base-progress.cjs');
|
|
@@ -22,7 +22,7 @@ require('../shared/aria-global.cjs');
|
|
|
22
22
|
require('../shared/start-end.cjs');
|
|
23
23
|
require('../shared/ref.cjs');
|
|
24
24
|
require('../shared/enums.cjs');
|
|
25
|
-
require('../shared/
|
|
25
|
+
require('../shared/definition60.cjs');
|
|
26
26
|
require('../shared/index2.cjs');
|
|
27
27
|
require('../locales/en-US.cjs');
|
|
28
28
|
require('../shared/localized.cjs');
|
package/dialog/index.js
CHANGED
|
@@ -6,7 +6,7 @@ import '../shared/_has.js';
|
|
|
6
6
|
import '../shared/class-names.js';
|
|
7
7
|
import '../shared/when.js';
|
|
8
8
|
import '../shared/definition11.js';
|
|
9
|
-
import '../shared/
|
|
9
|
+
import '../shared/definition59.js';
|
|
10
10
|
import '../shared/focus.js';
|
|
11
11
|
import '../shared/definition37.js';
|
|
12
12
|
import '../shared/base-progress.js';
|
|
@@ -20,7 +20,7 @@ import '../shared/aria-global.js';
|
|
|
20
20
|
import '../shared/start-end.js';
|
|
21
21
|
import '../shared/ref.js';
|
|
22
22
|
import '../shared/enums.js';
|
|
23
|
-
import '../shared/
|
|
23
|
+
import '../shared/definition60.js';
|
|
24
24
|
import '../shared/index2.js';
|
|
25
25
|
import '../locales/en-US.js';
|
|
26
26
|
import '../shared/localized.js';
|
package/elevation/index.cjs
CHANGED
package/elevation/index.js
CHANGED
package/fab/index.cjs
CHANGED
|
@@ -7,7 +7,7 @@ require('../shared/icon.cjs');
|
|
|
7
7
|
require('../shared/_has.cjs');
|
|
8
8
|
require('../shared/class-names.cjs');
|
|
9
9
|
require('../shared/when.cjs');
|
|
10
|
-
require('../shared/
|
|
10
|
+
require('../shared/definition59.cjs');
|
|
11
11
|
require('../shared/focus.cjs');
|
|
12
12
|
require('../shared/affix.cjs');
|
|
13
13
|
require('../shared/slotted.cjs');
|
package/fab/index.js
CHANGED
|
@@ -5,7 +5,7 @@ import '../shared/icon.js';
|
|
|
5
5
|
import '../shared/_has.js';
|
|
6
6
|
import '../shared/class-names.js';
|
|
7
7
|
import '../shared/when.js';
|
|
8
|
-
import '../shared/
|
|
8
|
+
import '../shared/definition59.js';
|
|
9
9
|
import '../shared/focus.js';
|
|
10
10
|
import '../shared/affix.js';
|
|
11
11
|
import '../shared/slotted.js';
|
package/file-picker/index.cjs
CHANGED
|
@@ -7,7 +7,7 @@ require('../shared/icon.cjs');
|
|
|
7
7
|
require('../shared/_has.cjs');
|
|
8
8
|
require('../shared/class-names.cjs');
|
|
9
9
|
require('../shared/when.cjs');
|
|
10
|
-
require('../shared/
|
|
10
|
+
require('../shared/definition59.cjs');
|
|
11
11
|
require('../shared/focus.cjs');
|
|
12
12
|
require('../shared/definition11.cjs');
|
|
13
13
|
require('../shared/definition37.cjs');
|
package/file-picker/index.js
CHANGED
|
@@ -5,7 +5,7 @@ import '../shared/icon.js';
|
|
|
5
5
|
import '../shared/_has.js';
|
|
6
6
|
import '../shared/class-names.js';
|
|
7
7
|
import '../shared/when.js';
|
|
8
|
-
import '../shared/
|
|
8
|
+
import '../shared/definition59.js';
|
|
9
9
|
import '../shared/focus.js';
|
|
10
10
|
import '../shared/definition11.js';
|
|
11
11
|
import '../shared/definition37.js';
|
package/focus/index.cjs
CHANGED
package/focus/index.js
CHANGED
package/header/index.cjs
CHANGED
package/header/index.js
CHANGED
package/index.cjs
CHANGED
|
@@ -59,10 +59,11 @@ const definition$R = require('./shared/definition54.cjs');
|
|
|
59
59
|
const definition$S = require('./shared/definition55.cjs');
|
|
60
60
|
const definition$T = require('./shared/definition56.cjs');
|
|
61
61
|
const definition$U = require('./shared/definition57.cjs');
|
|
62
|
+
const definition$V = require('./shared/definition58.cjs');
|
|
62
63
|
const enums = require('./shared/enums.cjs');
|
|
63
64
|
const index$1 = require('./shared/index.cjs');
|
|
64
65
|
const index = require('./shared/index2.cjs');
|
|
65
|
-
require('./shared/
|
|
66
|
+
require('./shared/definition59.cjs');
|
|
66
67
|
require('./shared/focus.cjs');
|
|
67
68
|
require('./shared/affix.cjs');
|
|
68
69
|
require('./shared/icon.cjs');
|
|
@@ -75,7 +76,7 @@ require('./shared/when.cjs');
|
|
|
75
76
|
require('./shared/key-codes.cjs');
|
|
76
77
|
require('./shared/numbers.cjs');
|
|
77
78
|
require('./shared/class-names.cjs');
|
|
78
|
-
require('./shared/
|
|
79
|
+
require('./shared/definition60.cjs');
|
|
79
80
|
require('./shared/localized.cjs');
|
|
80
81
|
require('./shared/button.cjs');
|
|
81
82
|
require('./shared/form-associated.cjs');
|
|
@@ -85,15 +86,16 @@ require('./shared/anchor.cjs');
|
|
|
85
86
|
require('./shared/text-anchor.template.cjs');
|
|
86
87
|
require('./shared/calendar-event.cjs');
|
|
87
88
|
require('./shared/repeat.cjs');
|
|
88
|
-
require('./shared/
|
|
89
|
-
require('./shared/definition60.cjs');
|
|
89
|
+
require('./shared/definition61.cjs');
|
|
90
90
|
require('./shared/text-field.cjs');
|
|
91
91
|
require('./shared/listbox.cjs');
|
|
92
92
|
require('./shared/key-codes2.cjs');
|
|
93
93
|
require('./shared/strings.cjs');
|
|
94
94
|
require('./shared/select.options.cjs');
|
|
95
|
+
require('./shared/focus2.cjs');
|
|
95
96
|
require('./shared/children.cjs');
|
|
96
97
|
require('./shared/presentationDate.cjs');
|
|
98
|
+
require('./shared/trapped-focus.cjs');
|
|
97
99
|
require('./shared/aria.cjs');
|
|
98
100
|
require('./shared/direction.cjs');
|
|
99
101
|
require('./shared/anchored.cjs');
|
|
@@ -269,18 +271,21 @@ exports.textAreaRegistries = definition$P.textAreaRegistries;
|
|
|
269
271
|
exports.registerTextField = definition$Q.registerTextField;
|
|
270
272
|
exports.textFieldDefinition = definition$Q.textFieldDefinition;
|
|
271
273
|
exports.textFieldRegistries = definition$Q.textFieldRegistries;
|
|
272
|
-
exports.
|
|
273
|
-
exports.
|
|
274
|
-
exports.
|
|
275
|
-
exports.
|
|
276
|
-
exports.
|
|
277
|
-
exports.
|
|
278
|
-
exports.
|
|
279
|
-
exports.
|
|
280
|
-
exports.
|
|
281
|
-
exports.
|
|
282
|
-
exports.
|
|
283
|
-
exports.
|
|
274
|
+
exports.registerTimePicker = definition$R.registerTimePicker;
|
|
275
|
+
exports.timePickerDefinition = definition$R.timePickerDefinition;
|
|
276
|
+
exports.timePickerRegistries = definition$R.timePickerRegistries;
|
|
277
|
+
exports.registerToggletip = definition$S.registerToggletip;
|
|
278
|
+
exports.toggletipDefinition = definition$S.toggletipDefinition;
|
|
279
|
+
exports.toggletipRegistries = definition$S.toggletipRegistries;
|
|
280
|
+
exports.registerTooltip = definition$T.registerTooltip;
|
|
281
|
+
exports.tooltipDefinition = definition$T.tooltipDefinition;
|
|
282
|
+
exports.tooltipRegistries = definition$T.tooltipRegistries;
|
|
283
|
+
exports.registerTreeItem = definition$U.registerTreeItem;
|
|
284
|
+
exports.treeItemDefinition = definition$U.treeItemDefinition;
|
|
285
|
+
exports.treeItemRegistries = definition$U.treeItemRegistries;
|
|
286
|
+
exports.registerTreeView = definition$V.registerTreeView;
|
|
287
|
+
exports.treeViewDefinition = definition$V.treeViewDefinition;
|
|
288
|
+
exports.treeViewRegistries = definition$V.treeViewRegistries;
|
|
284
289
|
exports.Appearance = enums.Appearance;
|
|
285
290
|
exports.AriaLive = enums.AriaLive;
|
|
286
291
|
exports.Connotation = enums.Connotation;
|
package/index.js
CHANGED
|
@@ -51,14 +51,15 @@ export { r as registerTagGroup, t as tagGroupDefinition, a as tagGroupRegistries
|
|
|
51
51
|
export { r as registerTag, t as tagDefinition } from './shared/definition51.js';
|
|
52
52
|
export { r as registerTextArea, t as textAreaDefinition, a as textAreaRegistries } from './shared/definition52.js';
|
|
53
53
|
export { r as registerTextField, t as textFieldDefinition, a as textFieldRegistries } from './shared/definition53.js';
|
|
54
|
-
export { r as
|
|
55
|
-
export { r as
|
|
56
|
-
export { r as
|
|
57
|
-
export { r as
|
|
54
|
+
export { r as registerTimePicker, t as timePickerDefinition, a as timePickerRegistries } from './shared/definition54.js';
|
|
55
|
+
export { r as registerToggletip, t as toggletipDefinition, a as toggletipRegistries } from './shared/definition55.js';
|
|
56
|
+
export { r as registerTooltip, t as tooltipDefinition, a as tooltipRegistries } from './shared/definition56.js';
|
|
57
|
+
export { r as registerTreeItem, t as treeItemDefinition, a as treeItemRegistries } from './shared/definition57.js';
|
|
58
|
+
export { r as registerTreeView, t as treeViewDefinition, a as treeViewRegistries } from './shared/definition58.js';
|
|
58
59
|
export { A as Appearance, c as AriaLive, C as Connotation, a as ConnotationDecorative, L as LayoutSize, P as Position, R as Role, S as Shape, b as Size, T as TabsSize } from './shared/enums.js';
|
|
59
60
|
export { d as designSystem, r as registerFactory } from './shared/index.js';
|
|
60
61
|
export { s as setLocale } from './shared/index2.js';
|
|
61
|
-
import './shared/
|
|
62
|
+
import './shared/definition59.js';
|
|
62
63
|
import './shared/focus.js';
|
|
63
64
|
import './shared/affix.js';
|
|
64
65
|
import './shared/icon.js';
|
|
@@ -71,7 +72,7 @@ import './shared/when.js';
|
|
|
71
72
|
import './shared/key-codes.js';
|
|
72
73
|
import './shared/numbers.js';
|
|
73
74
|
import './shared/class-names.js';
|
|
74
|
-
import './shared/
|
|
75
|
+
import './shared/definition60.js';
|
|
75
76
|
import './shared/localized.js';
|
|
76
77
|
import './shared/button.js';
|
|
77
78
|
import './shared/form-associated.js';
|
|
@@ -81,15 +82,16 @@ import './shared/anchor.js';
|
|
|
81
82
|
import './shared/text-anchor.template.js';
|
|
82
83
|
import './shared/calendar-event.js';
|
|
83
84
|
import './shared/repeat.js';
|
|
84
|
-
import './shared/
|
|
85
|
-
import './shared/definition60.js';
|
|
85
|
+
import './shared/definition61.js';
|
|
86
86
|
import './shared/text-field.js';
|
|
87
87
|
import './shared/listbox.js';
|
|
88
88
|
import './shared/key-codes2.js';
|
|
89
89
|
import './shared/strings.js';
|
|
90
90
|
import './shared/select.options.js';
|
|
91
|
+
import './shared/focus2.js';
|
|
91
92
|
import './shared/children.js';
|
|
92
93
|
import './shared/presentationDate.js';
|
|
94
|
+
import './shared/trapped-focus.js';
|
|
93
95
|
import './shared/aria.js';
|
|
94
96
|
import './shared/direction.js';
|
|
95
97
|
import './shared/anchored.js';
|
package/lib/components.d.ts
CHANGED
|
@@ -51,6 +51,7 @@ export * from './tag-group/definition';
|
|
|
51
51
|
export * from './tag/definition';
|
|
52
52
|
export * from './text-area/definition';
|
|
53
53
|
export * from './text-field/definition';
|
|
54
|
+
export * from './time-picker/definition';
|
|
54
55
|
export * from './toggletip/definition';
|
|
55
56
|
export * from './tooltip/definition';
|
|
56
57
|
export * from './tree-item/definition';
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import type { FoundationElementDefinition } from '@microsoft/fast-foundation';
|
|
2
|
+
export declare const timePickerDefinition: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<FoundationElementDefinition> | undefined) => import("@microsoft/fast-foundation").FoundationElementRegistry<FoundationElementDefinition, import("@microsoft/fast-element").Constructable<import("@microsoft/fast-foundation").FoundationElement>>;
|
|
3
|
+
export declare const registerTimePicker: (prefix?: string) => import("@microsoft/fast-foundation").DesignSystem;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export interface TimePickerLocale {
|
|
2
|
+
defaultTo12HourClock: boolean;
|
|
3
|
+
chooseTimeLabel: string;
|
|
4
|
+
changeTimeLabel: (time: string) => string;
|
|
5
|
+
hoursLabel: string;
|
|
6
|
+
minutesLabel: string;
|
|
7
|
+
secondsLabel: string;
|
|
8
|
+
meridiesLabel: string;
|
|
9
|
+
clearLabel: string;
|
|
10
|
+
okLabel: string;
|
|
11
|
+
invalidTimeError: string;
|
|
12
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { type TimeStr } from './time';
|
|
2
|
+
export interface PickerOption {
|
|
3
|
+
value: string;
|
|
4
|
+
label: string;
|
|
5
|
+
}
|
|
6
|
+
export declare const getHoursOptions: (min?: TimeStr, max?: TimeStr, forMeridiem?: string) => PickerOption[];
|
|
7
|
+
export declare const getMinutesOptions: (step: number | null, value?: TimeStr, min?: TimeStr, max?: TimeStr) => PickerOption[];
|
|
8
|
+
export declare const getSecondsOptions: (step: number, value?: TimeStr, min?: TimeStr, max?: TimeStr) => PickerOption[];
|
|
9
|
+
export declare const getMeridiesOptions: (min?: TimeStr, max?: TimeStr) => PickerOption[];
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { TimeStr } from './time';
|
|
2
|
+
type PresentationTime = string;
|
|
3
|
+
export declare const formatPresentationTime: (timeStr: TimeStr, includeSeconds: boolean, use12HourClock: boolean) => PresentationTime;
|
|
4
|
+
export declare const parsePresentationTime: (input: string, use12HourClock: boolean) => TimeStr;
|
|
5
|
+
export {};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export type TimeStr = string;
|
|
2
|
+
export declare const isValidTimeStr: (timeStr: TimeStr) => boolean;
|
|
3
|
+
interface ParsedTimeStr {
|
|
4
|
+
hourStr: string;
|
|
5
|
+
hours: number;
|
|
6
|
+
minuteStr: string;
|
|
7
|
+
minutes: number;
|
|
8
|
+
secondStr: string;
|
|
9
|
+
seconds: number;
|
|
10
|
+
meridiem: 'AM' | 'PM';
|
|
11
|
+
}
|
|
12
|
+
export declare const formatTimePart: (part: number) => string;
|
|
13
|
+
export declare const parseTimeStr: (timeStr: TimeStr) => ParsedTimeStr;
|
|
14
|
+
export declare const hoursAs12hClock: (hour: number) => number;
|
|
15
|
+
export {};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { type ErrorText, type FormElement, FormElementHelperText, Localized, TrappedFocus } from '../../shared/patterns';
|
|
2
|
+
import { FormAssociatedTimePicker } from './time-picker.form-associated';
|
|
3
|
+
export declare class TimePicker extends FormAssociatedTimePicker {
|
|
4
|
+
#private;
|
|
5
|
+
readOnly: boolean;
|
|
6
|
+
minutesStep: number | null;
|
|
7
|
+
secondsStep: number | null;
|
|
8
|
+
clock?: '12h' | '24h';
|
|
9
|
+
min: string;
|
|
10
|
+
max: string;
|
|
11
|
+
constructor();
|
|
12
|
+
connectedCallback(): void;
|
|
13
|
+
disconnectedCallback(): void;
|
|
14
|
+
}
|
|
15
|
+
export interface TimePicker extends ErrorText, FormElement, FormElementHelperText, Localized, TrappedFocus {
|
|
16
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { FormAssociated, FoundationElement } from '@microsoft/fast-foundation';
|
|
2
|
+
declare class _TimePicker extends FoundationElement {
|
|
3
|
+
}
|
|
4
|
+
interface _TimePicker extends FormAssociated {
|
|
5
|
+
}
|
|
6
|
+
declare const FormAssociatedTimePicker_base: typeof _TimePicker;
|
|
7
|
+
export declare class FormAssociatedTimePicker extends FormAssociatedTimePicker_base {
|
|
8
|
+
proxy: HTMLInputElement;
|
|
9
|
+
}
|
|
10
|
+
export {};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { ViewTemplate } from '@microsoft/fast-element';
|
|
2
|
+
import type { ElementDefinitionContext, FoundationElementDefinition } from '@microsoft/fast-foundation';
|
|
3
|
+
import type { TimePicker } from './time-picker';
|
|
4
|
+
export declare const TimePickerTemplate: (context: ElementDefinitionContext, definition: FoundationElementDefinition) => ViewTemplate<TimePicker>;
|
package/listbox/index.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
const index = require('../shared/index.cjs');
|
|
4
|
-
const definition$1 = require('../shared/
|
|
4
|
+
const definition$1 = require('../shared/definition59.cjs');
|
|
5
5
|
const definition = require('../shared/definition35.cjs');
|
|
6
6
|
const listbox = require('../shared/listbox.cjs');
|
|
7
7
|
require('../shared/affix.cjs');
|
package/listbox/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { h as html, r as registerFactory } from '../shared/index.js';
|
|
2
|
-
import { f as focusRegistries } from '../shared/
|
|
2
|
+
import { f as focusRegistries } from '../shared/definition59.js';
|
|
3
3
|
import { a as listboxOptionRegistries } from '../shared/definition35.js';
|
|
4
4
|
import { L as ListboxElement, a as Listbox } from '../shared/listbox.js';
|
|
5
5
|
import '../shared/affix.js';
|
package/locales/en-GB.cjs
CHANGED
|
@@ -74,6 +74,21 @@ const enGB = {
|
|
|
74
74
|
(maxDate) => `The end date must be ${maxDate} or earlier.`
|
|
75
75
|
)
|
|
76
76
|
},
|
|
77
|
+
timePicker: {
|
|
78
|
+
defaultTo12HourClock: false,
|
|
79
|
+
chooseTimeLabel: "Choose time",
|
|
80
|
+
changeTimeLabel: (
|
|
81
|
+
/* istanbul ignore next */
|
|
82
|
+
(time) => `Change time, ${time}`
|
|
83
|
+
),
|
|
84
|
+
hoursLabel: "hours",
|
|
85
|
+
minutesLabel: "minutes",
|
|
86
|
+
secondsLabel: "seconds",
|
|
87
|
+
meridiesLabel: "AM/PM",
|
|
88
|
+
clearLabel: "Clear",
|
|
89
|
+
okLabel: "OK",
|
|
90
|
+
invalidTimeError: "Please enter a valid time."
|
|
91
|
+
},
|
|
77
92
|
filePicker: {
|
|
78
93
|
invalidFileTypeError: "You can't select files of this type.",
|
|
79
94
|
maxFilesExceededError: "You can't select any more files.",
|
package/locales/en-GB.js
CHANGED
|
@@ -72,6 +72,21 @@ const enGB = {
|
|
|
72
72
|
(maxDate) => `The end date must be ${maxDate} or earlier.`
|
|
73
73
|
)
|
|
74
74
|
},
|
|
75
|
+
timePicker: {
|
|
76
|
+
defaultTo12HourClock: false,
|
|
77
|
+
chooseTimeLabel: "Choose time",
|
|
78
|
+
changeTimeLabel: (
|
|
79
|
+
/* istanbul ignore next */
|
|
80
|
+
(time) => `Change time, ${time}`
|
|
81
|
+
),
|
|
82
|
+
hoursLabel: "hours",
|
|
83
|
+
minutesLabel: "minutes",
|
|
84
|
+
secondsLabel: "seconds",
|
|
85
|
+
meridiesLabel: "AM/PM",
|
|
86
|
+
clearLabel: "Clear",
|
|
87
|
+
okLabel: "OK",
|
|
88
|
+
invalidTimeError: "Please enter a valid time."
|
|
89
|
+
},
|
|
75
90
|
filePicker: {
|
|
76
91
|
invalidFileTypeError: "You can't select files of this type.",
|
|
77
92
|
maxFilesExceededError: "You can't select any more files.",
|
package/locales/en-US.cjs
CHANGED
|
@@ -74,6 +74,21 @@ const enUS = {
|
|
|
74
74
|
(maxDate) => `The end date must be ${maxDate} or earlier.`
|
|
75
75
|
)
|
|
76
76
|
},
|
|
77
|
+
timePicker: {
|
|
78
|
+
defaultTo12HourClock: true,
|
|
79
|
+
chooseTimeLabel: "Choose time",
|
|
80
|
+
changeTimeLabel: (
|
|
81
|
+
/* istanbul ignore next */
|
|
82
|
+
(time) => `Change time, ${time}`
|
|
83
|
+
),
|
|
84
|
+
hoursLabel: "hours",
|
|
85
|
+
minutesLabel: "minutes",
|
|
86
|
+
secondsLabel: "seconds",
|
|
87
|
+
meridiesLabel: "AM/PM",
|
|
88
|
+
clearLabel: "Clear",
|
|
89
|
+
okLabel: "OK",
|
|
90
|
+
invalidTimeError: "Please enter a valid time."
|
|
91
|
+
},
|
|
77
92
|
filePicker: {
|
|
78
93
|
invalidFileTypeError: "You can't select files of this type.",
|
|
79
94
|
maxFilesExceededError: "You can't select any more files.",
|
package/locales/en-US.js
CHANGED
|
@@ -72,6 +72,21 @@ const enUS = {
|
|
|
72
72
|
(maxDate) => `The end date must be ${maxDate} or earlier.`
|
|
73
73
|
)
|
|
74
74
|
},
|
|
75
|
+
timePicker: {
|
|
76
|
+
defaultTo12HourClock: true,
|
|
77
|
+
chooseTimeLabel: "Choose time",
|
|
78
|
+
changeTimeLabel: (
|
|
79
|
+
/* istanbul ignore next */
|
|
80
|
+
(time) => `Change time, ${time}`
|
|
81
|
+
),
|
|
82
|
+
hoursLabel: "hours",
|
|
83
|
+
minutesLabel: "minutes",
|
|
84
|
+
secondsLabel: "seconds",
|
|
85
|
+
meridiesLabel: "AM/PM",
|
|
86
|
+
clearLabel: "Clear",
|
|
87
|
+
okLabel: "OK",
|
|
88
|
+
invalidTimeError: "Please enter a valid time."
|
|
89
|
+
},
|
|
75
90
|
filePicker: {
|
|
76
91
|
invalidFileTypeError: "You can't select files of this type.",
|
|
77
92
|
maxFilesExceededError: "You can't select any more files.",
|
package/locales/ja-JP.cjs
CHANGED
|
@@ -74,6 +74,21 @@ const jaJP = {
|
|
|
74
74
|
(maxDate) => `終了日は${maxDate}以前である必要があります。`
|
|
75
75
|
)
|
|
76
76
|
},
|
|
77
|
+
timePicker: {
|
|
78
|
+
defaultTo12HourClock: false,
|
|
79
|
+
chooseTimeLabel: "時間を選択",
|
|
80
|
+
changeTimeLabel: (
|
|
81
|
+
/* istanbul ignore next */
|
|
82
|
+
(time) => `時間を変更, ${time}`
|
|
83
|
+
),
|
|
84
|
+
hoursLabel: "時間",
|
|
85
|
+
minutesLabel: "分",
|
|
86
|
+
secondsLabel: "秒",
|
|
87
|
+
meridiesLabel: "午前/午後",
|
|
88
|
+
clearLabel: "クリア",
|
|
89
|
+
okLabel: "OK",
|
|
90
|
+
invalidTimeError: "有効な時間を入力してください。"
|
|
91
|
+
},
|
|
77
92
|
filePicker: {
|
|
78
93
|
invalidFileTypeError: "この種類のファイルは選択できません。",
|
|
79
94
|
maxFilesExceededError: "これ以上ファイルを選択できません。",
|
package/locales/ja-JP.js
CHANGED
|
@@ -72,6 +72,21 @@ const jaJP = {
|
|
|
72
72
|
(maxDate) => `終了日は${maxDate}以前である必要があります。`
|
|
73
73
|
)
|
|
74
74
|
},
|
|
75
|
+
timePicker: {
|
|
76
|
+
defaultTo12HourClock: false,
|
|
77
|
+
chooseTimeLabel: "時間を選択",
|
|
78
|
+
changeTimeLabel: (
|
|
79
|
+
/* istanbul ignore next */
|
|
80
|
+
(time) => `時間を変更, ${time}`
|
|
81
|
+
),
|
|
82
|
+
hoursLabel: "時間",
|
|
83
|
+
minutesLabel: "分",
|
|
84
|
+
secondsLabel: "秒",
|
|
85
|
+
meridiesLabel: "午前/午後",
|
|
86
|
+
clearLabel: "クリア",
|
|
87
|
+
okLabel: "OK",
|
|
88
|
+
invalidTimeError: "有効な時間を入力してください。"
|
|
89
|
+
},
|
|
75
90
|
filePicker: {
|
|
76
91
|
invalidFileTypeError: "この種類のファイルは選択できません。",
|
|
77
92
|
maxFilesExceededError: "これ以上ファイルを選択できません。",
|