@ni/nimble-components 1.0.0-beta.12 → 1.0.0-beta.123
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 +42 -4
- package/dist/esm/button/behaviors.js.map +1 -1
- package/dist/esm/button/index.d.ts +10 -0
- package/dist/esm/button/index.js +19 -10
- package/dist/esm/button/index.js.map +1 -1
- package/dist/esm/button/styles.js +125 -49
- package/dist/esm/button/styles.js.map +1 -1
- package/dist/esm/button/types.d.ts +3 -0
- package/dist/esm/button/types.js +0 -4
- package/dist/esm/button/types.js.map +1 -1
- package/dist/esm/checkbox/index.d.ts +12 -0
- package/dist/esm/checkbox/index.js +18 -0
- package/dist/esm/checkbox/index.js.map +1 -0
- package/dist/esm/checkbox/styles.d.ts +1 -0
- package/dist/esm/checkbox/styles.js +92 -0
- package/dist/esm/checkbox/styles.js.map +1 -0
- package/dist/esm/drawer/animations.d.ts +14 -0
- package/dist/esm/drawer/animations.js +52 -0
- package/dist/esm/drawer/animations.js.map +1 -0
- package/dist/esm/drawer/index.d.ts +43 -0
- package/dist/esm/drawer/index.js +189 -0
- package/dist/esm/drawer/index.js.map +1 -0
- package/dist/esm/drawer/styles.d.ts +1 -0
- package/dist/esm/drawer/styles.js +116 -0
- package/dist/esm/drawer/styles.js.map +1 -0
- package/dist/esm/drawer/types.d.ts +12 -0
- package/dist/esm/drawer/types.js +13 -0
- package/dist/esm/drawer/types.js.map +1 -0
- package/dist/esm/icon-base/index.d.ts +12 -0
- package/dist/esm/icon-base/index.js +22 -0
- package/dist/esm/icon-base/index.js.map +1 -0
- package/dist/esm/icon-base/styles.d.ts +1 -0
- package/dist/esm/icon-base/styles.js +38 -0
- package/dist/esm/icon-base/styles.js.map +1 -0
- package/dist/esm/icon-base/template.d.ts +2 -0
- package/dist/esm/icon-base/template.js +7 -0
- package/dist/esm/icon-base/template.js.map +1 -0
- package/dist/esm/icon-base/types.d.ts +11 -0
- package/dist/esm/icon-base/types.js +8 -0
- package/dist/esm/icon-base/types.js.map +1 -0
- package/dist/esm/icons/access-control.d.ts +12 -0
- package/dist/esm/icons/access-control.js +12 -0
- package/dist/esm/icons/access-control.js.map +1 -0
- package/dist/esm/icons/admin.d.ts +12 -0
- package/dist/esm/icons/admin.js +12 -0
- package/dist/esm/icons/admin.js.map +1 -0
- package/dist/esm/icons/administration.d.ts +12 -0
- package/dist/esm/icons/administration.js +12 -0
- package/dist/esm/icons/administration.js.map +1 -0
- package/dist/esm/icons/all-icons.d.ts +15 -0
- package/dist/esm/icons/all-icons.js +16 -0
- package/dist/esm/icons/all-icons.js.map +1 -0
- package/dist/esm/icons/check.d.ts +12 -0
- package/dist/esm/icons/check.js +12 -0
- package/dist/esm/icons/check.js.map +1 -0
- package/dist/esm/icons/custom-applications.d.ts +12 -0
- package/dist/esm/icons/custom-applications.js +12 -0
- package/dist/esm/icons/custom-applications.js.map +1 -0
- package/dist/esm/icons/delete.d.ts +12 -0
- package/dist/esm/icons/delete.js +12 -0
- package/dist/esm/icons/delete.js.map +1 -0
- package/dist/esm/icons/fail.d.ts +12 -0
- package/dist/esm/icons/fail.js +12 -0
- package/dist/esm/icons/fail.js.map +1 -0
- package/dist/esm/icons/login.d.ts +12 -0
- package/dist/esm/icons/login.js +12 -0
- package/dist/esm/icons/login.js.map +1 -0
- package/dist/esm/icons/logout.d.ts +12 -0
- package/dist/esm/icons/logout.js +12 -0
- package/dist/esm/icons/logout.js.map +1 -0
- package/dist/esm/icons/managed-systems.d.ts +12 -0
- package/dist/esm/icons/managed-systems.js +12 -0
- package/dist/esm/icons/managed-systems.js.map +1 -0
- package/dist/esm/icons/measurement-data-analysis.d.ts +12 -0
- package/dist/esm/icons/measurement-data-analysis.js +12 -0
- package/dist/esm/icons/measurement-data-analysis.js.map +1 -0
- package/dist/esm/icons/settings.d.ts +12 -0
- package/dist/esm/icons/settings.js +12 -0
- package/dist/esm/icons/settings.js.map +1 -0
- package/dist/esm/icons/succeeded.d.ts +12 -0
- package/dist/esm/icons/succeeded.js +12 -0
- package/dist/esm/icons/succeeded.js.map +1 -0
- package/dist/esm/icons/test-insights.d.ts +12 -0
- package/dist/esm/icons/test-insights.js +12 -0
- package/dist/esm/icons/test-insights.js.map +1 -0
- package/dist/esm/icons/utilities.d.ts +12 -0
- package/dist/esm/icons/utilities.js +12 -0
- package/dist/esm/icons/utilities.js.map +1 -0
- package/dist/esm/listbox-option/index.d.ts +15 -0
- package/dist/esm/listbox-option/index.js +31 -0
- package/dist/esm/listbox-option/index.js.map +1 -0
- package/dist/esm/listbox-option/styles.d.ts +1 -0
- package/dist/esm/listbox-option/styles.js +60 -0
- package/dist/esm/listbox-option/styles.js.map +1 -0
- package/dist/esm/menu/index.d.ts +12 -0
- package/dist/esm/menu/index.js +25 -0
- package/dist/esm/menu/index.js.map +1 -0
- package/dist/esm/menu/styles.d.ts +1 -0
- package/dist/esm/menu/styles.js +40 -0
- package/dist/esm/menu/styles.js.map +1 -0
- package/dist/esm/menu-item/index.d.ts +12 -0
- package/dist/esm/menu-item/index.js +25 -0
- package/dist/esm/menu-item/index.js.map +1 -0
- package/dist/esm/menu-item/styles.d.ts +1 -0
- package/dist/esm/menu-item/styles.js +64 -0
- package/dist/esm/menu-item/styles.js.map +1 -0
- package/dist/esm/nimble-components/src/button/behaviors.d.ts +12 -0
- package/dist/esm/nimble-components/src/button/index.d.ts +24 -0
- package/dist/esm/nimble-components/src/button/styles.d.ts +1 -0
- package/dist/esm/nimble-components/src/button/types.d.ts +12 -0
- package/dist/esm/nimble-components/src/checkbox/index.d.ts +12 -0
- package/dist/esm/nimble-components/src/checkbox/styles.d.ts +1 -0
- package/dist/esm/nimble-components/src/drawer/animations.d.ts +14 -0
- package/dist/esm/nimble-components/src/drawer/index.d.ts +43 -0
- package/dist/esm/nimble-components/src/drawer/styles.d.ts +1 -0
- package/dist/esm/nimble-components/src/drawer/types.d.ts +12 -0
- package/dist/esm/nimble-components/src/icon-base/index.d.ts +12 -0
- package/dist/esm/nimble-components/src/icon-base/styles.d.ts +1 -0
- package/dist/esm/nimble-components/src/icon-base/template.d.ts +2 -0
- package/dist/esm/nimble-components/src/icon-base/types.d.ts +11 -0
- package/dist/esm/nimble-components/src/icons/access-control.d.ts +12 -0
- package/dist/esm/nimble-components/src/icons/admin.d.ts +12 -0
- package/dist/esm/nimble-components/src/icons/administration.d.ts +12 -0
- package/dist/esm/nimble-components/src/icons/all-icons.d.ts +15 -0
- package/dist/esm/nimble-components/src/icons/check.d.ts +12 -0
- package/dist/esm/nimble-components/src/icons/custom-applications.d.ts +12 -0
- package/dist/esm/nimble-components/src/icons/delete.d.ts +12 -0
- package/dist/esm/nimble-components/src/icons/fail.d.ts +12 -0
- package/dist/esm/nimble-components/src/icons/login.d.ts +12 -0
- package/dist/esm/nimble-components/src/icons/logout.d.ts +12 -0
- package/dist/esm/nimble-components/src/icons/managed-systems.d.ts +12 -0
- package/dist/esm/nimble-components/src/icons/measurement-data-analysis.d.ts +12 -0
- package/dist/esm/nimble-components/src/icons/settings.d.ts +12 -0
- package/dist/esm/nimble-components/src/icons/succeeded.d.ts +12 -0
- package/dist/esm/nimble-components/src/icons/test-insights.d.ts +12 -0
- package/dist/esm/nimble-components/src/icons/utilities.d.ts +12 -0
- package/dist/esm/nimble-components/src/listbox-option/index.d.ts +15 -0
- package/dist/esm/nimble-components/src/listbox-option/styles.d.ts +1 -0
- package/dist/esm/nimble-components/src/menu/index.d.ts +12 -0
- package/dist/esm/nimble-components/src/menu/styles.d.ts +1 -0
- package/dist/esm/nimble-components/src/menu-item/index.d.ts +12 -0
- package/dist/esm/nimble-components/src/menu-item/styles.d.ts +1 -0
- package/dist/esm/nimble-components/src/number-field/index.d.ts +12 -0
- package/dist/esm/nimble-components/src/number-field/styles.d.ts +1 -0
- package/dist/esm/nimble-components/src/select/index.d.ts +16 -0
- package/dist/esm/nimble-components/src/select/styles.d.ts +1 -0
- package/dist/esm/nimble-components/src/tab/index.d.ts +12 -0
- package/dist/esm/nimble-components/src/tab/styles.d.ts +1 -0
- package/dist/esm/nimble-components/src/tab-panel/index.d.ts +12 -0
- package/dist/esm/nimble-components/src/tab-panel/styles.d.ts +1 -0
- package/dist/esm/nimble-components/src/tabs/index.d.ts +12 -0
- package/dist/esm/nimble-components/src/tabs/styles.d.ts +1 -0
- package/dist/esm/nimble-components/src/tabs-toolbar/index.d.ts +12 -0
- package/dist/esm/nimble-components/src/tabs-toolbar/styles.d.ts +1 -0
- package/dist/esm/nimble-components/src/tabs-toolbar/template.d.ts +1 -0
- package/dist/esm/nimble-components/src/testing/async-helpers.d.ts +10 -0
- package/dist/esm/nimble-components/src/text-field/index.d.ts +12 -0
- package/dist/esm/nimble-components/src/text-field/styles.d.ts +1 -0
- package/dist/esm/nimble-components/src/text-field/types.d.ts +3 -0
- package/dist/esm/nimble-components/src/theme-provider/design-tokens.d.ts +48 -0
- package/dist/esm/nimble-components/src/theme-provider/index.d.ts +17 -0
- package/dist/esm/nimble-components/src/theme-provider/styles.d.ts +1 -0
- package/dist/esm/nimble-components/src/theme-provider/template.d.ts +2 -0
- package/dist/esm/nimble-components/src/theme-provider/types.d.ts +7 -0
- package/dist/esm/nimble-components/src/tree-item/index.d.ts +34 -0
- package/dist/esm/nimble-components/src/tree-item/styles.d.ts +3 -0
- package/dist/esm/nimble-components/src/tree-view/index.d.ts +22 -0
- package/dist/esm/nimble-components/src/tree-view/styles.d.ts +1 -0
- package/dist/esm/nimble-components/src/tree-view/types.d.ts +7 -0
- package/dist/esm/nimble-components/src/utilities/style/focus.d.ts +11 -0
- package/dist/esm/nimble-components/src/utilities/style/prefers-reduced-motion.d.ts +8 -0
- package/dist/esm/number-field/index.d.ts +12 -1
- package/dist/esm/number-field/index.js +11 -8
- package/dist/esm/number-field/index.js.map +1 -1
- package/dist/esm/number-field/styles.js +114 -87
- package/dist/esm/number-field/styles.js.map +1 -1
- package/dist/esm/select/index.d.ts +16 -0
- package/dist/esm/select/index.js +50 -0
- package/dist/esm/select/index.js.map +1 -0
- package/dist/esm/select/styles.d.ts +1 -0
- package/dist/esm/select/styles.js +141 -0
- package/dist/esm/select/styles.js.map +1 -0
- package/dist/esm/tab/index.d.ts +12 -0
- package/dist/esm/tab/index.js +16 -0
- package/dist/esm/tab/index.js.map +1 -0
- package/dist/esm/tab/styles.d.ts +1 -0
- package/dist/esm/tab/styles.js +53 -0
- package/dist/esm/tab/styles.js.map +1 -0
- package/dist/esm/tab-panel/index.d.ts +12 -0
- package/dist/esm/tab-panel/index.js +16 -0
- package/dist/esm/tab-panel/index.js.map +1 -0
- package/dist/esm/tab-panel/styles.d.ts +1 -0
- package/dist/esm/tab-panel/styles.js +15 -0
- package/dist/esm/tab-panel/styles.js.map +1 -0
- package/dist/esm/tabs/index.d.ts +12 -0
- package/dist/esm/tabs/index.js +16 -0
- package/dist/esm/tabs/index.js.map +1 -0
- package/dist/esm/tabs/styles.d.ts +1 -0
- package/dist/esm/tabs/styles.js +43 -0
- package/dist/esm/tabs/styles.js.map +1 -0
- package/dist/esm/tabs-toolbar/index.d.ts +12 -0
- package/dist/esm/tabs-toolbar/index.js +15 -0
- package/dist/esm/tabs-toolbar/index.js.map +1 -0
- package/dist/esm/tabs-toolbar/styles.d.ts +1 -0
- package/dist/esm/tabs-toolbar/styles.js +23 -0
- package/dist/esm/tabs-toolbar/styles.js.map +1 -0
- package/dist/esm/tabs-toolbar/template.d.ts +1 -0
- package/dist/esm/tabs-toolbar/template.js +8 -0
- package/dist/esm/tabs-toolbar/template.js.map +1 -0
- package/dist/esm/testing/async-helpers.d.ts +10 -0
- package/dist/esm/testing/async-helpers.js +12 -0
- package/dist/esm/testing/async-helpers.js.map +1 -0
- package/dist/esm/text-field/index.d.ts +12 -1
- package/dist/esm/text-field/index.js +11 -2
- package/dist/esm/text-field/index.js.map +1 -1
- package/dist/esm/text-field/styles.js +139 -63
- package/dist/esm/text-field/styles.js.map +1 -1
- package/dist/esm/text-field/types.d.ts +3 -0
- package/dist/esm/text-field/types.js +3 -0
- package/dist/esm/text-field/types.js.map +1 -0
- package/dist/esm/theme-provider/design-tokens.d.ts +34 -3
- package/dist/esm/theme-provider/design-tokens.js +128 -15
- package/dist/esm/theme-provider/design-tokens.js.map +1 -1
- package/dist/esm/theme-provider/index.d.ts +17 -1
- package/dist/esm/theme-provider/index.js +18 -32
- package/dist/esm/theme-provider/index.js.map +1 -1
- package/dist/esm/theme-provider/styles.d.ts +1 -0
- package/dist/esm/theme-provider/styles.js +7 -0
- package/dist/esm/theme-provider/styles.js.map +1 -0
- package/dist/esm/theme-provider/template.d.ts +2 -0
- package/dist/esm/theme-provider/template.js +3 -0
- package/dist/esm/theme-provider/template.js.map +1 -0
- package/dist/esm/theme-provider/types.d.ts +7 -0
- package/dist/esm/theme-provider/types.js +8 -0
- package/dist/esm/theme-provider/types.js.map +1 -0
- package/dist/esm/tree-item/index.d.ts +34 -0
- package/dist/esm/tree-item/index.js +117 -0
- package/dist/esm/tree-item/index.js.map +1 -0
- package/dist/esm/tree-item/styles.d.ts +3 -0
- package/dist/esm/tree-item/styles.js +195 -0
- package/dist/esm/tree-item/styles.js.map +1 -0
- package/dist/esm/tree-view/index.d.ts +22 -0
- package/dist/esm/tree-view/index.js +35 -0
- package/dist/esm/tree-view/index.js.map +1 -0
- package/dist/esm/tree-view/styles.d.ts +1 -0
- package/dist/esm/tree-view/styles.js +17 -0
- package/dist/esm/tree-view/styles.js.map +1 -0
- package/dist/esm/tree-view/types.d.ts +7 -0
- package/dist/esm/tree-view/types.js +8 -0
- package/dist/esm/tree-view/types.js.map +1 -0
- package/dist/esm/utilities/style/focus.d.ts +11 -0
- package/dist/esm/utilities/style/focus.js +14 -0
- package/dist/esm/utilities/style/focus.js.map +1 -0
- package/dist/esm/utilities/style/prefers-reduced-motion.d.ts +8 -0
- package/dist/esm/utilities/style/prefers-reduced-motion.js +11 -0
- package/dist/esm/utilities/style/prefers-reduced-motion.js.map +1 -0
- package/package.json +41 -28
- package/dist/esm/button/tests/button.spec.d.ts +0 -1
- package/dist/esm/button/tests/button.spec.js +0 -39
- package/dist/esm/button/tests/button.spec.js.map +0 -1
- package/dist/esm/button/tests/button.stories.d.ts +0 -81
- package/dist/esm/button/tests/button.stories.js +0 -59
- package/dist/esm/button/tests/button.stories.js.map +0 -1
- package/dist/esm/number-field/tests/number-field.stories.d.ts +0 -33
- package/dist/esm/number-field/tests/number-field.stories.js +0 -26
- package/dist/esm/number-field/tests/number-field.stories.js.map +0 -1
- package/dist/esm/shared/icon-font.d.ts +0 -3
- package/dist/esm/shared/icon-font.js +0 -6
- package/dist/esm/shared/icon-font.js.map +0 -1
- package/dist/esm/stories/icons.stories.d.ts +0 -14
- package/dist/esm/stories/icons.stories.js +0 -52
- package/dist/esm/stories/icons.stories.js.map +0 -1
- package/dist/esm/tests/utilities/fixture.d.ts +0 -89
- package/dist/esm/tests/utilities/fixture.js +0 -90
- package/dist/esm/tests/utilities/fixture.js.map +0 -1
- package/dist/esm/tests/utilities/fixture.spec.d.ts +0 -1
- package/dist/esm/tests/utilities/fixture.spec.js +0 -73
- package/dist/esm/tests/utilities/fixture.spec.js.map +0 -1
- package/dist/esm/tests/utilities/setup.d.ts +0 -2
- package/dist/esm/tests/utilities/setup.js +0 -7
- package/dist/esm/tests/utilities/setup.js.map +0 -1
- package/dist/esm/text-field/tests/text-field.stories.d.ts +0 -42
- package/dist/esm/text-field/tests/text-field.stories.js +0 -30
- package/dist/esm/text-field/tests/text-field.stories.js.map +0 -1
- package/dist/esm/theme-provider/themes.d.ts +0 -5
- package/dist/esm/theme-provider/themes.js +0 -7
- package/dist/esm/theme-provider/themes.js.map +0 -1
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { css } from '@microsoft/fast-element';
|
|
2
|
+
import { display } from '@microsoft/fast-foundation';
|
|
3
|
+
import { focusVisible } from '../utilities/style/focus';
|
|
4
|
+
import { controlHeight, fontFamily, contentFontSize, fillColorSelected, fillColorHover, contentFontColor, borderColorHover, contentFontColorDisabled, iconSize } from '../theme-provider/design-tokens';
|
|
5
|
+
export const styles = css `
|
|
6
|
+
${display('grid')}
|
|
7
|
+
|
|
8
|
+
:host {
|
|
9
|
+
contain: layout;
|
|
10
|
+
overflow: visible;
|
|
11
|
+
box-sizing: border-box;
|
|
12
|
+
height: ${controlHeight};
|
|
13
|
+
grid-template-columns: 0px 1fr;
|
|
14
|
+
grid-template-rows: 1fr;
|
|
15
|
+
justify-items: start;
|
|
16
|
+
align-items: center;
|
|
17
|
+
padding-left: 8px;
|
|
18
|
+
padding-right: 8px;
|
|
19
|
+
margin: 0 0;
|
|
20
|
+
white-space: nowrap;
|
|
21
|
+
color: ${contentFontColor};
|
|
22
|
+
fill: currentcolor;
|
|
23
|
+
cursor: pointer;
|
|
24
|
+
font-family: ${fontFamily};
|
|
25
|
+
font-size: ${contentFontSize};
|
|
26
|
+
}
|
|
27
|
+
:host(${focusVisible}) {
|
|
28
|
+
outline: 2px solid ${borderColorHover};
|
|
29
|
+
outline-offset: -2px;
|
|
30
|
+
}
|
|
31
|
+
:host(:hover) {
|
|
32
|
+
background: ${fillColorHover};
|
|
33
|
+
}
|
|
34
|
+
:host(:active) {
|
|
35
|
+
background: ${fillColorSelected};
|
|
36
|
+
}
|
|
37
|
+
:host([disabled]) {
|
|
38
|
+
color: ${contentFontColorDisabled};
|
|
39
|
+
fill: currentcolor;
|
|
40
|
+
cursor: default;
|
|
41
|
+
}
|
|
42
|
+
:host([disabled]:hover) {
|
|
43
|
+
background: transparent;
|
|
44
|
+
}
|
|
45
|
+
:host(.indent-1) {
|
|
46
|
+
grid-template-columns: ${iconSize} 1fr;
|
|
47
|
+
column-gap: 8px;
|
|
48
|
+
}
|
|
49
|
+
[part='start'] {
|
|
50
|
+
display: contents;
|
|
51
|
+
}
|
|
52
|
+
slot[name='start']::slotted(*) {
|
|
53
|
+
fill: currentcolor;
|
|
54
|
+
width: ${iconSize};
|
|
55
|
+
height: ${iconSize};
|
|
56
|
+
}
|
|
57
|
+
:host(.indent-1) .start {
|
|
58
|
+
grid-column: 1;
|
|
59
|
+
}
|
|
60
|
+
:host(.indent-1) .content {
|
|
61
|
+
grid-column: 2;
|
|
62
|
+
}
|
|
63
|
+
`;
|
|
64
|
+
//# sourceMappingURL=styles.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"styles.js","sourceRoot":"","sources":["../../../src/menu-item/styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,yBAAyB,CAAC;AAC9C,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAC;AACrD,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAExD,OAAO,EACH,aAAa,EACb,UAAU,EACV,eAAe,EACf,iBAAiB,EACjB,cAAc,EACd,gBAAgB,EAChB,gBAAgB,EAChB,wBAAwB,EACxB,QAAQ,EACX,MAAM,iCAAiC,CAAC;AAEzC,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,CAAA;MACnB,OAAO,CAAC,MAAM,CAAC;;;;;;kBAMH,aAAa;;;;;;;;;iBASd,gBAAgB;;;uBAGV,UAAU;qBACZ,eAAe;;YAExB,YAAY;6BACK,gBAAgB;;;;sBAIvB,cAAc;;;sBAGd,iBAAiB;;;iBAGtB,wBAAwB;;;;;;;;iCAQR,QAAQ;;;;;;;;iBAQxB,QAAQ;kBACP,QAAQ;;;;;;;;CAQzB,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { Behavior, ElementStyles } from '@microsoft/fast-element';
|
|
2
|
+
import type { ButtonAppearance } from './types';
|
|
3
|
+
/**
|
|
4
|
+
* Behavior that will conditionally apply a stylesheet based on the element's
|
|
5
|
+
* appearance property
|
|
6
|
+
*
|
|
7
|
+
* @param value - The value of the appearance property
|
|
8
|
+
* @param styles - The styles to be applied when condition matches
|
|
9
|
+
*
|
|
10
|
+
* @public
|
|
11
|
+
*/
|
|
12
|
+
export declare function appearanceBehavior(value: ButtonAppearance, styles: ElementStyles): Behavior;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { Button as FoundationButton } from '@microsoft/fast-foundation';
|
|
2
|
+
import { ButtonAppearance } from './types';
|
|
3
|
+
export type { Button };
|
|
4
|
+
declare global {
|
|
5
|
+
interface HTMLElementTagNameMap {
|
|
6
|
+
'nimble-button': Button;
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* A nimble-styled HTML button
|
|
11
|
+
*/
|
|
12
|
+
declare class Button extends FoundationButton {
|
|
13
|
+
/**
|
|
14
|
+
* The appearance the button should have.
|
|
15
|
+
*
|
|
16
|
+
* @public
|
|
17
|
+
* @remarks
|
|
18
|
+
* HTML Attribute: appearance
|
|
19
|
+
*/
|
|
20
|
+
appearance: ButtonAppearance;
|
|
21
|
+
connectedCallback(): void;
|
|
22
|
+
defaultSlottedContentChanged(): void;
|
|
23
|
+
private checkForEmptyText;
|
|
24
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const styles: import("@microsoft/fast-element").ElementStyles;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Types of button appearance.
|
|
3
|
+
* @public
|
|
4
|
+
*/
|
|
5
|
+
import type { Button } from '@microsoft/fast-foundation';
|
|
6
|
+
export declare type ButtonAppearanceAttribute = 'outline' | 'ghost' | 'block';
|
|
7
|
+
export declare enum ButtonAppearance {
|
|
8
|
+
Outline = "outline",
|
|
9
|
+
Ghost = "ghost",
|
|
10
|
+
Block = "block"
|
|
11
|
+
}
|
|
12
|
+
export declare type ButtonType = Button['type'];
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Checkbox as FoundationCheckbox } from '@microsoft/fast-foundation';
|
|
2
|
+
export type { Checkbox };
|
|
3
|
+
declare global {
|
|
4
|
+
interface HTMLElementTagNameMap {
|
|
5
|
+
'nimble-checkbox': Checkbox;
|
|
6
|
+
}
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* A nimble-styled checkbox control.
|
|
10
|
+
*/
|
|
11
|
+
declare class Checkbox extends FoundationCheckbox {
|
|
12
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const styles: import("@microsoft/fast-element").ElementStyles;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export declare const animationConfig: {
|
|
2
|
+
slideLeftKeyframes: Keyframe[];
|
|
3
|
+
slideRightKeyframes: Keyframe[];
|
|
4
|
+
fadeOverlayKeyframes: Keyframe[];
|
|
5
|
+
slideInOptions: {
|
|
6
|
+
duration: number;
|
|
7
|
+
easing: string;
|
|
8
|
+
};
|
|
9
|
+
slideOutOptions: {
|
|
10
|
+
duration: number;
|
|
11
|
+
easing: string;
|
|
12
|
+
direction: string;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { Dialog as FoundationDialog } from '@microsoft/fast-foundation';
|
|
2
|
+
import { DrawerLocation, DrawerState } from './types';
|
|
3
|
+
export type { Drawer };
|
|
4
|
+
declare global {
|
|
5
|
+
interface HTMLElementTagNameMap {
|
|
6
|
+
'nimble-drawer': Drawer;
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Drawer/Sidenav control. Shows content in a panel on the left / right side of the screen,
|
|
11
|
+
* which animates to be visible with a slide-in / slide-out animation.
|
|
12
|
+
* Configured via 'location', 'state', 'modal', 'preventDismiss' properties.
|
|
13
|
+
*/
|
|
14
|
+
declare class Drawer extends FoundationDialog {
|
|
15
|
+
location: DrawerLocation;
|
|
16
|
+
state: DrawerState;
|
|
17
|
+
/**
|
|
18
|
+
* True to prevent dismissing the drawer when the overlay outside the drawer is clicked.
|
|
19
|
+
* Only applicable when 'modal' is set to true (i.e. when the overlay is used).
|
|
20
|
+
* HTML Attribute: prevent-dismiss
|
|
21
|
+
*/
|
|
22
|
+
preventDismiss: boolean;
|
|
23
|
+
private readonly propertiesToWatch;
|
|
24
|
+
private propertyChangeNotifier?;
|
|
25
|
+
private animationDurationMilliseconds;
|
|
26
|
+
private animationGroup?;
|
|
27
|
+
private animationsEnabledChangedHandler?;
|
|
28
|
+
private propertyChangeSubscriber?;
|
|
29
|
+
connectedCallback(): void;
|
|
30
|
+
disconnectedCallback(): void;
|
|
31
|
+
show(): void;
|
|
32
|
+
hide(): void;
|
|
33
|
+
dismiss(): void;
|
|
34
|
+
private onPropertyChange;
|
|
35
|
+
private onHiddenChanged;
|
|
36
|
+
private onLocationChanged;
|
|
37
|
+
private onStateChanged;
|
|
38
|
+
private updateAnimationDuration;
|
|
39
|
+
private animateOpening;
|
|
40
|
+
private animateClosing;
|
|
41
|
+
private animateOpenClose;
|
|
42
|
+
private cancelCurrentAnimation;
|
|
43
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const styles: import("@microsoft/fast-element").ElementStyles;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export declare type DrawerLocationAttribute = 'left' | 'right';
|
|
2
|
+
export declare enum DrawerLocation {
|
|
3
|
+
Left = "left",
|
|
4
|
+
Right = "right"
|
|
5
|
+
}
|
|
6
|
+
export declare type DrawerStateAttribute = 'opening' | 'opened' | 'closing' | 'closed';
|
|
7
|
+
export declare enum DrawerState {
|
|
8
|
+
Opening = "opening",
|
|
9
|
+
Opened = "opened",
|
|
10
|
+
Closing = "closing",
|
|
11
|
+
Closed = "closed"
|
|
12
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { FoundationElement } from '@microsoft/fast-foundation';
|
|
2
|
+
import type { NimbleIcon } from '@ni/nimble-tokens/dist-icons-esm/nimble-icons-inline';
|
|
3
|
+
/**
|
|
4
|
+
* The base class for icon components
|
|
5
|
+
*/
|
|
6
|
+
export declare class Icon extends FoundationElement {
|
|
7
|
+
icon: NimbleIcon;
|
|
8
|
+
constructor(icon: NimbleIcon);
|
|
9
|
+
}
|
|
10
|
+
declare type IconClass = typeof Icon;
|
|
11
|
+
export declare const registerIcon: (baseName: string, iconClass: IconClass) => void;
|
|
12
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const styles: import("@microsoft/fast-element").ElementStyles;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Predefined icon status states
|
|
3
|
+
* @public
|
|
4
|
+
*/
|
|
5
|
+
export declare type IconStatusAttribute = 'fail' | 'warning' | 'pass' | 'regular';
|
|
6
|
+
export declare enum IconStatus {
|
|
7
|
+
Fail = "fail",
|
|
8
|
+
Warning = "warning",
|
|
9
|
+
Pass = "pass",
|
|
10
|
+
Regular = "regular"
|
|
11
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Icon } from '../icon-base';
|
|
2
|
+
declare global {
|
|
3
|
+
interface HTMLElementTagNameMap {
|
|
4
|
+
'nimble-access-control-icon': AccessControlIcon;
|
|
5
|
+
}
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* The icon component for the 'access-control' icon
|
|
9
|
+
*/
|
|
10
|
+
export declare class AccessControlIcon extends Icon {
|
|
11
|
+
constructor();
|
|
12
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Icon } from '../icon-base';
|
|
2
|
+
declare global {
|
|
3
|
+
interface HTMLElementTagNameMap {
|
|
4
|
+
'nimble-admin-icon': AdminIcon;
|
|
5
|
+
}
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* The icon component for the 'admin' icon
|
|
9
|
+
*/
|
|
10
|
+
export declare class AdminIcon extends Icon {
|
|
11
|
+
constructor();
|
|
12
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Icon } from '../icon-base';
|
|
2
|
+
declare global {
|
|
3
|
+
interface HTMLElementTagNameMap {
|
|
4
|
+
'nimble-administration-icon': AdministrationIcon;
|
|
5
|
+
}
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* The icon component for the 'administration' icon
|
|
9
|
+
*/
|
|
10
|
+
export declare class AdministrationIcon extends Icon {
|
|
11
|
+
constructor();
|
|
12
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export { AccessControlIcon } from './access-control';
|
|
2
|
+
export { AdminIcon } from './admin';
|
|
3
|
+
export { AdministrationIcon } from './administration';
|
|
4
|
+
export { CheckIcon } from './check';
|
|
5
|
+
export { CustomApplicationsIcon } from './custom-applications';
|
|
6
|
+
export { DeleteIcon } from './delete';
|
|
7
|
+
export { FailIcon } from './fail';
|
|
8
|
+
export { LoginIcon } from './login';
|
|
9
|
+
export { LogoutIcon } from './logout';
|
|
10
|
+
export { ManagedSystemsIcon } from './managed-systems';
|
|
11
|
+
export { MeasurementDataAnalysisIcon } from './measurement-data-analysis';
|
|
12
|
+
export { SettingsIcon } from './settings';
|
|
13
|
+
export { SucceededIcon } from './succeeded';
|
|
14
|
+
export { TestInsightsIcon } from './test-insights';
|
|
15
|
+
export { UtilitiesIcon } from './utilities';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Icon } from '../icon-base';
|
|
2
|
+
declare global {
|
|
3
|
+
interface HTMLElementTagNameMap {
|
|
4
|
+
'nimble-check-icon': CheckIcon;
|
|
5
|
+
}
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* The icon component for the 'check' icon
|
|
9
|
+
*/
|
|
10
|
+
export declare class CheckIcon extends Icon {
|
|
11
|
+
constructor();
|
|
12
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Icon } from '../icon-base';
|
|
2
|
+
declare global {
|
|
3
|
+
interface HTMLElementTagNameMap {
|
|
4
|
+
'nimble-custom-applications-icon': CustomApplicationsIcon;
|
|
5
|
+
}
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* The icon component for the 'custom-applications' icon
|
|
9
|
+
*/
|
|
10
|
+
export declare class CustomApplicationsIcon extends Icon {
|
|
11
|
+
constructor();
|
|
12
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Icon } from '../icon-base';
|
|
2
|
+
declare global {
|
|
3
|
+
interface HTMLElementTagNameMap {
|
|
4
|
+
'nimble-delete-icon': DeleteIcon;
|
|
5
|
+
}
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* The icon component for the 'delete' icon
|
|
9
|
+
*/
|
|
10
|
+
export declare class DeleteIcon extends Icon {
|
|
11
|
+
constructor();
|
|
12
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Icon } from '../icon-base';
|
|
2
|
+
declare global {
|
|
3
|
+
interface HTMLElementTagNameMap {
|
|
4
|
+
'nimble-login-icon': LoginIcon;
|
|
5
|
+
}
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* The icon component for the 'login' icon
|
|
9
|
+
*/
|
|
10
|
+
export declare class LoginIcon extends Icon {
|
|
11
|
+
constructor();
|
|
12
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Icon } from '../icon-base';
|
|
2
|
+
declare global {
|
|
3
|
+
interface HTMLElementTagNameMap {
|
|
4
|
+
'nimble-logout-icon': LogoutIcon;
|
|
5
|
+
}
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* The icon component for the 'logout' icon
|
|
9
|
+
*/
|
|
10
|
+
export declare class LogoutIcon extends Icon {
|
|
11
|
+
constructor();
|
|
12
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Icon } from '../icon-base';
|
|
2
|
+
declare global {
|
|
3
|
+
interface HTMLElementTagNameMap {
|
|
4
|
+
'nimble-managed-systems-icon': ManagedSystemsIcon;
|
|
5
|
+
}
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* The icon component for the 'managed-systems' icon
|
|
9
|
+
*/
|
|
10
|
+
export declare class ManagedSystemsIcon extends Icon {
|
|
11
|
+
constructor();
|
|
12
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Icon } from '../icon-base';
|
|
2
|
+
declare global {
|
|
3
|
+
interface HTMLElementTagNameMap {
|
|
4
|
+
'nimble-measurement-data-analysis-icon': MeasurementDataAnalysisIcon;
|
|
5
|
+
}
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* The icon component for the 'measurement-data-analysis' icon
|
|
9
|
+
*/
|
|
10
|
+
export declare class MeasurementDataAnalysisIcon extends Icon {
|
|
11
|
+
constructor();
|
|
12
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Icon } from '../icon-base';
|
|
2
|
+
declare global {
|
|
3
|
+
interface HTMLElementTagNameMap {
|
|
4
|
+
'nimble-settings-icon': SettingsIcon;
|
|
5
|
+
}
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* The icon component for the 'settings' icon
|
|
9
|
+
*/
|
|
10
|
+
export declare class SettingsIcon extends Icon {
|
|
11
|
+
constructor();
|
|
12
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Icon } from '../icon-base';
|
|
2
|
+
declare global {
|
|
3
|
+
interface HTMLElementTagNameMap {
|
|
4
|
+
'nimble-succeeded-icon': SucceededIcon;
|
|
5
|
+
}
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* The icon component for the 'succeeded' icon
|
|
9
|
+
*/
|
|
10
|
+
export declare class SucceededIcon extends Icon {
|
|
11
|
+
constructor();
|
|
12
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Icon } from '../icon-base';
|
|
2
|
+
declare global {
|
|
3
|
+
interface HTMLElementTagNameMap {
|
|
4
|
+
'nimble-test-insights-icon': TestInsightsIcon;
|
|
5
|
+
}
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* The icon component for the 'test-insights' icon
|
|
9
|
+
*/
|
|
10
|
+
export declare class TestInsightsIcon extends Icon {
|
|
11
|
+
constructor();
|
|
12
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Icon } from '../icon-base';
|
|
2
|
+
declare global {
|
|
3
|
+
interface HTMLElementTagNameMap {
|
|
4
|
+
'nimble-utilities-icon': UtilitiesIcon;
|
|
5
|
+
}
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* The icon component for the 'utilities' icon
|
|
9
|
+
*/
|
|
10
|
+
export declare class UtilitiesIcon extends Icon {
|
|
11
|
+
constructor();
|
|
12
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { ListboxOption as FoundationListboxOption } from '@microsoft/fast-foundation';
|
|
2
|
+
export type { ListboxOption };
|
|
3
|
+
declare global {
|
|
4
|
+
interface HTMLElementTagNameMap {
|
|
5
|
+
'nimble-listbox-option': ListboxOption;
|
|
6
|
+
}
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* A nimble-styled HTML listbox option
|
|
10
|
+
*/
|
|
11
|
+
declare class ListboxOption extends FoundationListboxOption {
|
|
12
|
+
get value(): string;
|
|
13
|
+
set value(value: string);
|
|
14
|
+
connectedCallback(): void;
|
|
15
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const styles: import("@microsoft/fast-element").ElementStyles;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Menu as FoundationMenu } from '@microsoft/fast-foundation';
|
|
2
|
+
export type { Menu };
|
|
3
|
+
declare global {
|
|
4
|
+
interface HTMLElementTagNameMap {
|
|
5
|
+
'nimble-menu': Menu;
|
|
6
|
+
}
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* A nimble-styled menu
|
|
10
|
+
*/
|
|
11
|
+
declare class Menu extends FoundationMenu {
|
|
12
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const styles: import("@microsoft/fast-element").ElementStyles;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { MenuItem as FoundationMenuItem } from '@microsoft/fast-foundation';
|
|
2
|
+
export type { MenuItem };
|
|
3
|
+
declare global {
|
|
4
|
+
interface HTMLElementTagNameMap {
|
|
5
|
+
'nimble-menu-item': MenuItem;
|
|
6
|
+
}
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* A nimble-styled menu-item
|
|
10
|
+
*/
|
|
11
|
+
declare class MenuItem extends FoundationMenuItem {
|
|
12
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const styles: import("@microsoft/fast-element").ElementStyles;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { NumberField as FoundationNumberField } from '@microsoft/fast-foundation';
|
|
2
|
+
export type { NumberField };
|
|
3
|
+
declare global {
|
|
4
|
+
interface HTMLElementTagNameMap {
|
|
5
|
+
'nimble-number-field': NumberField;
|
|
6
|
+
}
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* A nimble-styled HTML number input
|
|
10
|
+
*/
|
|
11
|
+
declare class NumberField extends FoundationNumberField {
|
|
12
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const styles: import("@microsoft/fast-element").ElementStyles;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Select as FoundationSelect } from '@microsoft/fast-foundation';
|
|
2
|
+
export type { Select };
|
|
3
|
+
declare global {
|
|
4
|
+
interface HTMLElementTagNameMap {
|
|
5
|
+
'nimble-select': Select;
|
|
6
|
+
}
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* A nimble-styed HTML select
|
|
10
|
+
*/
|
|
11
|
+
declare class Select extends FoundationSelect {
|
|
12
|
+
get value(): string;
|
|
13
|
+
set value(value: string);
|
|
14
|
+
setPositioning(): void;
|
|
15
|
+
connectedCallback(): void;
|
|
16
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const styles: import("@microsoft/fast-element").ElementStyles;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Tab as FoundationTab } from '@microsoft/fast-foundation';
|
|
2
|
+
export type { Tab };
|
|
3
|
+
declare global {
|
|
4
|
+
interface HTMLElementTagNameMap {
|
|
5
|
+
'nimble-tab': Tab;
|
|
6
|
+
}
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* A nimble-styled HTML tab
|
|
10
|
+
*/
|
|
11
|
+
declare class Tab extends FoundationTab {
|
|
12
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const styles: import("@microsoft/fast-element").ElementStyles;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { TabPanel as FoundationTabPanel } from '@microsoft/fast-foundation';
|
|
2
|
+
export type { TabPanel };
|
|
3
|
+
declare global {
|
|
4
|
+
interface HTMLElementTagNameMap {
|
|
5
|
+
'nimble-tab-panel': TabPanel;
|
|
6
|
+
}
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* A nimble-styled tab panel
|
|
10
|
+
*/
|
|
11
|
+
declare class TabPanel extends FoundationTabPanel {
|
|
12
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const styles: import("@microsoft/fast-element").ElementStyles;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Tabs as FoundationTabs } from '@microsoft/fast-foundation';
|
|
2
|
+
export type { Tabs };
|
|
3
|
+
declare global {
|
|
4
|
+
interface HTMLElementTagNameMap {
|
|
5
|
+
'nimble-tabs': Tabs;
|
|
6
|
+
}
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* A nimble-styled tabs control
|
|
10
|
+
*/
|
|
11
|
+
declare class Tabs extends FoundationTabs {
|
|
12
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const styles: import("@microsoft/fast-element").ElementStyles;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { FoundationElement } from '@microsoft/fast-foundation';
|
|
2
|
+
export type { TabsToolbar };
|
|
3
|
+
declare global {
|
|
4
|
+
interface HTMLElementTagNameMap {
|
|
5
|
+
'nimble-tabs-toolbar': TabsToolbar;
|
|
6
|
+
}
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* A nimble-styled container for toolbar content next to tabs.
|
|
10
|
+
*/
|
|
11
|
+
declare class TabsToolbar extends FoundationElement {
|
|
12
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const styles: import("@microsoft/fast-element").ElementStyles;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const template: import("@microsoft/fast-element").ViewTemplate<any, any>;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Allows test code to wait for components to complete pending asynchronous updates that resulted
|
|
3
|
+
* from DOM interactions like property or attribute changes.
|
|
4
|
+
*/
|
|
5
|
+
export declare const waitForUpdatesAsync: () => Promise<void>;
|
|
6
|
+
/**
|
|
7
|
+
* Allows test code to force components to synchronously complete normally asynchronous pending
|
|
8
|
+
* updates that resulted from DOM interactions like property or attribute changes.
|
|
9
|
+
*/
|
|
10
|
+
export declare const processUpdates: () => void;
|