@vonage/vivid 3.0.0-next.83 → 3.0.0-next.85
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.js +2 -9
- package/accordion-item/index.js +8 -22
- package/action-group/index.js +2 -8
- package/avatar/index.js +4 -14
- package/badge/index.js +3 -13
- package/banner/index.js +3 -26
- package/breadcrumb/index.js +1 -1
- package/breadcrumb-item/index.js +5 -9
- package/calendar/index.js +12 -49
- package/calendar-event/index.js +4 -7
- package/card/index.js +9 -28
- package/checkbox/index.js +3 -11
- package/dialog/index.js +7 -59
- package/fab/index.js +2 -8
- package/focus/index.js +2 -2
- package/header/index.js +2 -7
- package/icon/index.js +2 -5
- package/index.js +1 -1
- package/layout/index.js +1 -9
- package/lib/badge/badge.d.ts +1 -3
- package/lib/components.d.ts +1 -0
- package/lib/listbox-option/index.d.ts +4 -0
- package/lib/listbox-option/listbox-option.d.ts +7 -0
- package/lib/listbox-option/listbox-option.template.d.ts +4 -0
- package/listbox-option/index.js +248 -0
- package/menu/index.js +1 -7
- package/nav/index.js +1 -1
- package/nav-disclosure/index.js +4 -11
- package/nav-item/index.js +2 -2
- package/note/index.js +4 -12
- package/number-field/index.js +24 -21
- package/package.json +12 -9
- package/popup/index.js +0 -1
- package/progress/index.js +5 -13
- package/progress-ring/index.js +4 -8
- package/radio/index.js +3 -5
- package/radio-group/index.js +3 -4
- package/shared/affix.js +1 -6
- package/shared/apply-mixins.js +5 -4
- package/shared/calendar-event.js +0 -7
- package/shared/enums.js +0 -17
- package/shared/es.object.assign.js +4 -4
- package/shared/export.js +79 -57
- package/shared/focus2.js +1 -1
- package/shared/form-associated.js +1 -1
- package/shared/form-elements.js +5 -27
- package/shared/icon.js +8 -18
- package/shared/index.js +38 -25
- package/shared/index2.js +2 -13
- package/shared/index3.js +1 -5
- package/shared/index4.js +2 -4
- package/shared/index5.js +6 -581
- package/shared/index6.js +6 -10
- package/shared/iterators.js +3 -3
- package/shared/object-keys.js +2 -2
- package/shared/patterns/form-elements/form-elements.d.ts +1 -1
- package/shared/radio.js +0 -1
- package/shared/ref.js +1 -1
- package/shared/slotted.js +1 -1
- package/shared/text-anchor.js +0 -2
- package/shared/text-anchor.template.js +1 -3
- package/shared/web.dom-collections.iterator.js +6 -8
- package/side-drawer/index.js +3 -16
- 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 +29 -23
- package/styles/tokens/theme-light.css +29 -23
- package/text-area/index.js +3 -9
- package/text-field/index.js +4 -14
- package/tooltip/index.js +2 -10
- package/shared/regexp-flags.js +0 -21
package/tooltip/index.js
CHANGED
|
@@ -24,33 +24,25 @@ import '../shared/ref.js';
|
|
|
24
24
|
import '../shared/focus2.js';
|
|
25
25
|
import '../shared/es.object.assign.js';
|
|
26
26
|
import '../shared/object-keys.js';
|
|
27
|
-
import '../shared/regexp-flags.js';
|
|
28
27
|
|
|
29
|
-
var css_248z = "/**\n * Do not edit directly\n * Generated on
|
|
28
|
+
var css_248z = "/**\n * Do not edit directly\n * Generated on Wed, 02 Nov 2022 12:59:38 GMT\n */\n.control {\n pointer-events: none;\n}\n\n.tooltip {\n width: var(--tooltip-inline-size, 240px);\n}\n.tooltip-text {\n padding: 8px 12px;\n color: var(--vvd-color-canvas-text);\n font: var(--vvd-typography-base-bold);\n}";
|
|
30
29
|
|
|
31
30
|
class Tooltip extends FoundationElement {
|
|
32
31
|
constructor() {
|
|
33
32
|
super(...arguments);
|
|
34
33
|
this.open = false;
|
|
35
34
|
}
|
|
36
|
-
|
|
37
35
|
}
|
|
38
|
-
|
|
39
36
|
__decorate([attr, __metadata("design:type", String)], Tooltip.prototype, "text", void 0);
|
|
40
|
-
|
|
41
37
|
__decorate([attr({
|
|
42
38
|
mode: 'boolean'
|
|
43
39
|
}), __metadata("design:type", Object)], Tooltip.prototype, "open", void 0);
|
|
44
|
-
|
|
45
40
|
__decorate([attr, __metadata("design:type", String)], Tooltip.prototype, "placement", void 0);
|
|
46
|
-
|
|
47
41
|
__decorate([attr, __metadata("design:type", String)], Tooltip.prototype, "anchor", void 0);
|
|
48
42
|
|
|
49
43
|
let _2 = t => t,
|
|
50
|
-
|
|
51
|
-
|
|
44
|
+
_t;
|
|
52
45
|
const getClasses = _ => classNames('control');
|
|
53
|
-
|
|
54
46
|
const TooltipTemplate = () => html(_t || (_t = _2`
|
|
55
47
|
<vwc-popup class="${0}" arrow alternate
|
|
56
48
|
placement=${0} open=${0} anchor=${0}
|
package/shared/regexp-flags.js
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { j as anObject$1 } from './export.js';
|
|
2
|
-
|
|
3
|
-
var anObject = anObject$1;
|
|
4
|
-
|
|
5
|
-
// `RegExp.prototype.flags` getter implementation
|
|
6
|
-
// https://tc39.es/ecma262/#sec-get-regexp.prototype.flags
|
|
7
|
-
var regexpFlags = function () {
|
|
8
|
-
var that = anObject(this);
|
|
9
|
-
var result = '';
|
|
10
|
-
if (that.hasIndices) result += 'd';
|
|
11
|
-
if (that.global) result += 'g';
|
|
12
|
-
if (that.ignoreCase) result += 'i';
|
|
13
|
-
if (that.multiline) result += 'm';
|
|
14
|
-
if (that.dotAll) result += 's';
|
|
15
|
-
if (that.unicode) result += 'u';
|
|
16
|
-
if (that.unicodeSets) result += 'v';
|
|
17
|
-
if (that.sticky) result += 'y';
|
|
18
|
-
return result;
|
|
19
|
-
};
|
|
20
|
-
|
|
21
|
-
export { regexpFlags as r };
|