@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/tooltip/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import '../
|
|
1
|
+
import '../shared/index3.js';
|
|
2
2
|
import { F as FoundationElement, _ as __decorate, a as attr, b as __metadata, h as html, d as designSystem } from '../shared/index.js';
|
|
3
3
|
import { s as styleInject } from '../shared/style-inject.es.js';
|
|
4
4
|
import '../shared/web.dom-collections.iterator.js';
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import '../icon';
|
|
2
|
-
import '../focus';
|
|
3
|
-
import type { FoundationElementDefinition } from '@microsoft/fast-foundation';
|
|
4
|
-
export declare const vividSidenavDisclosure: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<FoundationElementDefinition> | undefined) => import("@microsoft/fast-foundation").FoundationElementRegistry<FoundationElementDefinition, import("@microsoft/fast-element").Constructable<import("@microsoft/fast-foundation").FoundationElement>>;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import type { ViewTemplate } from '@microsoft/fast-element';
|
|
2
|
-
import type { ElementDefinitionContext, FoundationElementDefinition } from '@microsoft/fast-foundation';
|
|
3
|
-
import type { SidenavDisclosure } from './sidenav-disclosure';
|
|
4
|
-
export declare const SidenavDisclosureTemplate: (context: ElementDefinitionContext, definition: FoundationElementDefinition) => ViewTemplate<SidenavDisclosure>;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import '../icon';
|
|
2
|
-
import '../focus';
|
|
3
|
-
import type { FoundationElementDefinition } from '@microsoft/fast-foundation';
|
|
4
|
-
export declare const vividSidenavItem: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<FoundationElementDefinition> | undefined) => import("@microsoft/fast-foundation").FoundationElementRegistry<FoundationElementDefinition, import("@microsoft/fast-element").Constructable<import("@microsoft/fast-foundation").FoundationElement>>;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import type { ViewTemplate } from '@microsoft/fast-element';
|
|
2
|
-
import type { ElementDefinitionContext, FoundationElementDefinition } from '@microsoft/fast-foundation';
|
|
3
|
-
import type { SidenavItem } from './sidenav-item';
|
|
4
|
-
export declare const SidenavItemTemplate: (context: ElementDefinitionContext, definition: FoundationElementDefinition) => ViewTemplate<SidenavItem>;
|
package/sidenav/index.js
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { F as FoundationElement, h as html, d as designSystem } from '../shared/index.js';
|
|
2
|
-
|
|
3
|
-
class Sidenav extends FoundationElement {}
|
|
4
|
-
|
|
5
|
-
let _ = t => t,
|
|
6
|
-
_t;
|
|
7
|
-
const SidenavTemplate = () => html(_t || (_t = _`
|
|
8
|
-
<nav><slot></slot></nav>
|
|
9
|
-
`));
|
|
10
|
-
|
|
11
|
-
const vividSidenav = Sidenav.compose({
|
|
12
|
-
baseName: 'sidenav',
|
|
13
|
-
template: SidenavTemplate
|
|
14
|
-
});
|
|
15
|
-
designSystem.register(vividSidenav());
|
|
16
|
-
|
|
17
|
-
export { vividSidenav };
|