@vonage/vivid 3.0.0-next.43 → 3.0.0-next.46
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/README.md +113 -34
- package/checkbox/index.js +1 -4
- package/index.js +5 -3
- package/lib/components.d.ts +4 -2
- package/lib/menu/index.d.ts +11 -0
- package/lib/menu/menu.d.ts +7 -0
- package/lib/menu/menu.template.d.ts +3 -0
- package/lib/nav/index.d.ts +2 -0
- package/lib/{sidenav/sidenav.d.ts → nav/nav.d.ts} +1 -1
- package/lib/nav/nav.template.d.ts +4 -0
- package/lib/nav-disclosure/index.d.ts +4 -0
- package/lib/{sidenav-disclosure/sidenav-disclosure.d.ts → nav-disclosure/nav-disclosure.d.ts} +2 -2
- package/lib/nav-disclosure/nav-disclosure.template.d.ts +4 -0
- package/lib/{sidenav → nav-item}/index.d.ts +3 -1
- package/lib/{sidenav-item/sidenav-item.d.ts → nav-item/nav-item.d.ts} +2 -2
- package/lib/{sidenav/sidenav.template.d.ts → nav-item/nav-item.template.d.ts} +2 -2
- package/menu/index.js +661 -0
- package/nav/index.js +17 -0
- package/{sidenav-disclosure → nav-disclosure}/index.js +15 -15
- package/{sidenav-item → nav-item}/index.js +8 -8
- package/package.json +16 -5
- package/popup/index.js +13 -2107
- package/progress-ring/index.js +1 -1
- package/shared/form-associated.js +10 -1
- package/shared/icon.js +1 -1
- package/shared/index3.js +2109 -0
- package/tooltip/index.js +1 -1
- package/lib/sidenav-disclosure/index.d.ts +0 -4
- package/lib/sidenav-disclosure/sidenav-disclosure.template.d.ts +0 -4
- package/lib/sidenav-item/index.d.ts +0 -4
- package/lib/sidenav-item/sidenav-item.template.d.ts +0 -4
- package/sidenav/index.js +0 -17
package/progress-ring/index.js
CHANGED
|
@@ -22,7 +22,7 @@ const getClasses = ({
|
|
|
22
22
|
connotation,
|
|
23
23
|
density,
|
|
24
24
|
paused
|
|
25
|
-
}) => classNames('base', ['disabled', !!paused], [`connotation-${connotation}`, !!connotation], [`density-${(density ? Number(density) : 0) +
|
|
25
|
+
}) => classNames('base', ['disabled', !!paused], [`connotation-${connotation}`, !!connotation], [`density-${(density ? Number(density) : 0) + 10}`, !!density]);
|
|
26
26
|
|
|
27
27
|
const progressSegments = 44;
|
|
28
28
|
const ProgressRingTemplate = _ => html(_t || (_t = _2`
|
|
@@ -76,8 +76,17 @@ var KeyCodes;
|
|
|
76
76
|
KeyCodes[KeyCodes["windowsOpera"] = 219] = "windowsOpera";
|
|
77
77
|
KeyCodes[KeyCodes["windowsRight"] = 92] = "windowsRight";
|
|
78
78
|
})(KeyCodes || (KeyCodes = {}));
|
|
79
|
+
/**
|
|
80
|
+
* String values for use with KeyboardEvent.key
|
|
81
|
+
*/
|
|
82
|
+
const keyArrowDown = "ArrowDown";
|
|
83
|
+
const keyArrowLeft = "ArrowLeft";
|
|
84
|
+
const keyArrowRight = "ArrowRight";
|
|
85
|
+
const keyArrowUp = "ArrowUp";
|
|
79
86
|
const keyEnter = "Enter";
|
|
80
87
|
const keyEscape = "Escape";
|
|
88
|
+
const keyHome = "Home";
|
|
89
|
+
const keyEnd = "End";
|
|
81
90
|
const keySpace = " ";
|
|
82
91
|
|
|
83
92
|
const proxySlotName = "form-associated-proxy";
|
|
@@ -545,4 +554,4 @@ function CheckableFormAssociated(BaseCtor) {
|
|
|
545
554
|
return D;
|
|
546
555
|
}
|
|
547
556
|
|
|
548
|
-
export { CheckableFormAssociated as C, FormAssociated as F,
|
|
557
|
+
export { CheckableFormAssociated as C, FormAssociated as F, keyArrowLeft as a, keyArrowRight as b, keyEnter as c, keyHome as d, keyEnd as e, keyArrowUp as f, keyArrowDown as g, keyEscape as h, keySpace as k };
|
package/shared/icon.js
CHANGED
|
@@ -1333,7 +1333,7 @@ const PLACEHOLDER_ICON = `<svg width="80%" height="80%" viewBox="0 0 64 64">
|
|
|
1333
1333
|
</svg>`;
|
|
1334
1334
|
|
|
1335
1335
|
const BASE_URL = 'https://icon.resources.vonage.com';
|
|
1336
|
-
const ICON_SET_VERSION = '4.0.
|
|
1336
|
+
const ICON_SET_VERSION = '4.0.29';
|
|
1337
1337
|
const PLACEHOLDER_DELAY = 500;
|
|
1338
1338
|
const PLACEHOLDER_TIMEOUT = 2000;
|
|
1339
1339
|
|