@ni/nimble-components 1.0.0-beta.122 → 1.0.0-beta.126
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 +45 -0
- package/dist/esm/button/index.d.ts +11 -2
- package/dist/esm/button/index.js +20 -12
- package/dist/esm/button/index.js.map +1 -1
- package/dist/esm/button/styles.js +15 -10
- package/dist/esm/button/styles.js.map +1 -1
- package/dist/esm/checkbox/styles.js +4 -4
- package/dist/esm/checkbox/styles.js.map +1 -1
- package/dist/esm/drawer/styles.js +4 -4
- package/dist/esm/drawer/styles.js.map +1 -1
- package/dist/esm/icon-base/styles.js +6 -6
- package/dist/esm/icon-base/styles.js.map +1 -1
- package/dist/esm/icon-base/template.js +1 -1
- package/dist/esm/nimble-components/src/button/behaviors.d.ts +12 -0
- package/dist/esm/nimble-components/src/button/index.d.ts +33 -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-token-comments.d.ts +6 -0
- package/dist/esm/nimble-components/src/theme-provider/design-token-names.d.ts +11 -0
- package/dist/esm/nimble-components/src/theme-provider/design-tokens.d.ts +43 -0
- package/dist/esm/nimble-components/src/theme-provider/index.d.ts +23 -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/direction.d.ts +34 -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/styles.js +3 -3
- package/dist/esm/number-field/styles.js.map +1 -1
- package/dist/esm/tabs-toolbar/styles.js +3 -2
- package/dist/esm/tabs-toolbar/styles.js.map +1 -1
- package/dist/esm/text-field/styles.js +3 -3
- package/dist/esm/text-field/styles.js.map +1 -1
- package/dist/esm/theme-provider/design-token-comments.d.ts +6 -0
- package/dist/esm/theme-provider/design-token-comments.js +46 -0
- package/dist/esm/theme-provider/design-token-comments.js.map +1 -0
- package/dist/esm/theme-provider/design-token-names.d.ts +11 -0
- package/dist/esm/theme-provider/design-token-names.js +52 -0
- package/dist/esm/theme-provider/design-token-names.js.map +1 -0
- package/dist/esm/theme-provider/design-tokens.d.ts +4 -9
- package/dist/esm/theme-provider/design-tokens.js +78 -90
- package/dist/esm/theme-provider/design-tokens.js.map +1 -1
- package/dist/esm/theme-provider/index.d.ts +10 -3
- package/dist/esm/theme-provider/index.js +37 -3
- package/dist/esm/theme-provider/index.js.map +1 -1
- package/dist/esm/tree-item/styles.js +9 -7
- package/dist/esm/tree-item/styles.js.map +1 -1
- package/dist/esm/utilities/style/direction.d.ts +34 -0
- package/dist/esm/utilities/style/direction.js +78 -0
- package/dist/esm/utilities/style/direction.js.map +1 -0
- package/dist/fonts.scss +3 -0
- package/dist/tokens-internal.scss +261 -0
- package/dist/tokens.scss +135 -0
- package/package.json +10 -6
package/README.md
CHANGED
|
@@ -26,6 +26,51 @@ If you have an existing application that incorporates a module bundler like [Web
|
|
|
26
26
|
3. Add the HTML for the component to your page. You can see sample code for each component in the [Nimble Storybook](https://ni.github.io/nimble/storybook/) by going to the **Docs** tab for the component and clicking **Show code**. For example: `<nimble-succeeded-icon></nimble-succeeded-icon>`.
|
|
27
27
|
4. Nimble components are [standard web components (custom elements)](https://developer.mozilla.org/en-US/docs/Web/Web_Components) so you can configure them via normal DOM APIs like attributes, properties, events, and methods. The [Storybook documentation](https://ni.github.io/nimble/storybook/) for each component describes its custom API.
|
|
28
28
|
|
|
29
|
+
## Theming
|
|
30
|
+
|
|
31
|
+
This package contains a theming system which enables changing the appearance of controls based on user preferences or application designs.
|
|
32
|
+
|
|
33
|
+
The theming system is built on a set of design tokens that define different properties such as fonts, colors, etc. The Nimble components are configured to use these theme-aware design tokens. An application should use the same theme-aware design tokens for parts outside of the components.
|
|
34
|
+
|
|
35
|
+
The theming system is composed of:
|
|
36
|
+
|
|
37
|
+
1. Theme-aware design tokens that are used in your stylesheets.
|
|
38
|
+
2. A `<nimble-theme-provider>` component that is added around your page contents and is configured for a theme.
|
|
39
|
+
|
|
40
|
+
### Using the Theming System
|
|
41
|
+
|
|
42
|
+
1. Include the `<nimble-theme-provider>` element on your page and set its `theme` attribute. The theme provider has no appearance of its own but defines tokens that are used by descendant components. It will typically be at the root of the application:
|
|
43
|
+
|
|
44
|
+
```html
|
|
45
|
+
<body>
|
|
46
|
+
<nimble-theme-provider theme="light">
|
|
47
|
+
<!-- everything else -->
|
|
48
|
+
</nimble-theme-provider>
|
|
49
|
+
</body>
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
2. Include one import in your styles for the Nimble fonts. Nimble recommends using SCSS for capabilities such as build time property checking.
|
|
53
|
+
|
|
54
|
+
```scss
|
|
55
|
+
@import '~@ni/nimble-components/dist/fonts';
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
3. As needed, add Nimble components as descendants of the theme provider and they will inherit the theme.
|
|
59
|
+
|
|
60
|
+
4. As needed, import the theme-aware design tokens in each SCSS file that will leverage the tokens for other parts of your application (for colors, fonts, etc).
|
|
61
|
+
|
|
62
|
+
```scss
|
|
63
|
+
@import '~@ni/nimble-components/dist/tokens';
|
|
64
|
+
|
|
65
|
+
.my-element {
|
|
66
|
+
font-family: $ni-nimble-font-family;
|
|
67
|
+
}
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
## Customizing
|
|
71
|
+
|
|
72
|
+
The goal of the Nimble design system is to provide a consistent style for applications. If you find that Nimble does not expose colors, fonts, sizes, etc. that you need in an application get in touch with the Nimble squad.
|
|
73
|
+
|
|
29
74
|
## Contributing
|
|
30
75
|
|
|
31
76
|
Follow the instructions in [CONTRIBUTING.md](/packages/nimble-components/CONTRIBUTING.md) to modify this library.
|
|
@@ -18,7 +18,16 @@ declare class Button extends FoundationButton {
|
|
|
18
18
|
* HTML Attribute: appearance
|
|
19
19
|
*/
|
|
20
20
|
appearance: ButtonAppearance;
|
|
21
|
+
/**
|
|
22
|
+
* Specify as 'true' to hide the text content of the button. The button will
|
|
23
|
+
* become square, and the text content will be used as the label of the button
|
|
24
|
+
* for accessibility purposes.
|
|
25
|
+
*
|
|
26
|
+
* @public
|
|
27
|
+
* @remarks
|
|
28
|
+
* HTML Attribute: content-hidden
|
|
29
|
+
*/
|
|
30
|
+
contentHidden: boolean;
|
|
31
|
+
private readonly contentId;
|
|
21
32
|
connectedCallback(): void;
|
|
22
|
-
defaultSlottedContentChanged(): void;
|
|
23
|
-
private checkForEmptyText;
|
|
24
33
|
}
|
package/dist/esm/button/index.js
CHANGED
|
@@ -7,28 +7,36 @@ import { ButtonAppearance } from './types';
|
|
|
7
7
|
* A nimble-styled HTML button
|
|
8
8
|
*/
|
|
9
9
|
class Button extends FoundationButton {
|
|
10
|
+
constructor() {
|
|
11
|
+
super(...arguments);
|
|
12
|
+
/**
|
|
13
|
+
* Specify as 'true' to hide the text content of the button. The button will
|
|
14
|
+
* become square, and the text content will be used as the label of the button
|
|
15
|
+
* for accessibility purposes.
|
|
16
|
+
*
|
|
17
|
+
* @public
|
|
18
|
+
* @remarks
|
|
19
|
+
* HTML Attribute: content-hidden
|
|
20
|
+
*/
|
|
21
|
+
this.contentHidden = false;
|
|
22
|
+
this.contentId = 'nimble-button-content';
|
|
23
|
+
}
|
|
10
24
|
connectedCallback() {
|
|
11
25
|
super.connectedCallback();
|
|
12
26
|
if (!this.appearance) {
|
|
13
27
|
this.appearance = ButtonAppearance.Outline;
|
|
14
28
|
}
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
this.
|
|
18
|
-
}
|
|
19
|
-
checkForEmptyText() {
|
|
20
|
-
const hasTextContent = this.defaultSlottedContent.some(x => (x.textContent ?? '').trim().length !== 0);
|
|
21
|
-
if (hasTextContent) {
|
|
22
|
-
this.control.classList.remove('empty-text');
|
|
23
|
-
}
|
|
24
|
-
else {
|
|
25
|
-
this.control.classList.add('empty-text');
|
|
26
|
-
}
|
|
29
|
+
const content = this.control.querySelector('.content');
|
|
30
|
+
content.id = this.contentId;
|
|
31
|
+
this.control.setAttribute('aria-labelledby', this.contentId);
|
|
27
32
|
}
|
|
28
33
|
}
|
|
29
34
|
__decorate([
|
|
30
35
|
attr
|
|
31
36
|
], Button.prototype, "appearance", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
attr({ attribute: 'content-hidden', mode: 'boolean' })
|
|
39
|
+
], Button.prototype, "contentHidden", void 0);
|
|
32
40
|
/**
|
|
33
41
|
* A function that returns a nimble-button registration for configuring the component with a DesignSystem.
|
|
34
42
|
* Implements {@link @microsoft/fast-foundation#buttonTemplate}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/button/index.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,yBAAyB,CAAC;AAC/C,OAAO,EACH,MAAM,IAAI,gBAAgB,EAE1B,cAAc,IAAI,QAAQ,EAC1B,YAAY,EACf,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAU3C;;GAEG;AACH,MAAM,MAAO,SAAQ,gBAAgB;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/button/index.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,yBAAyB,CAAC;AAC/C,OAAO,EACH,MAAM,IAAI,gBAAgB,EAE1B,cAAc,IAAI,QAAQ,EAC1B,YAAY,EACf,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAU3C;;GAEG;AACH,MAAM,MAAO,SAAQ,gBAAgB;IAArC;;QAWI;;;;;;;;WAQG;QAEI,kBAAa,GAAG,KAAK,CAAC;QAEZ,cAAS,GAAG,uBAAuB,CAAC;IAYzD,CAAC;IAVU,iBAAiB;QACpB,KAAK,CAAC,iBAAiB,EAAE,CAAC;QAC1B,IAAI,CAAC,IAAI,CAAC,UAAU,EAAE;YAClB,IAAI,CAAC,UAAU,GAAG,gBAAgB,CAAC,OAAO,CAAC;SAC9C;QAED,MAAM,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC,aAAa,CAAC,UAAU,CAAE,CAAC;QACxD,OAAO,CAAC,EAAE,GAAG,IAAI,CAAC,SAAS,CAAC;QAC5B,IAAI,CAAC,OAAO,CAAC,YAAY,CAAC,iBAAiB,EAAE,IAAI,CAAC,SAAS,CAAC,CAAC;IACjE,CAAC;CACJ;AA1BG;IADC,IAAI;0CACgC;AAYrC;IADC,IAAI,CAAC,EAAE,SAAS,EAAE,gBAAgB,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;6CAC1B;AAgBjC;;;;;;;;GAQG;AACH,MAAM,YAAY,GAAG,MAAM,CAAC,OAAO,CAAgB;IAC/C,QAAQ,EAAE,QAAQ;IAClB,SAAS,EAAE,gBAAgB;IAC3B,0GAA0G;IAC1G,QAAQ;IACR,MAAM;IACN,aAAa,EAAE;QACX,cAAc,EAAE,IAAI;KACvB;CACJ,CAAC,CAAC;AAEH,YAAY,CAAC,WAAW,EAAE,CAAC,UAAU,CAAC,QAAQ,CAAC,CAAC,QAAQ,CAAC,YAAY,EAAE,CAAC,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { css } from '@microsoft/fast-element';
|
|
2
2
|
import { display } from '@microsoft/fast-foundation';
|
|
3
3
|
import { focusVisible } from '../utilities/style/focus';
|
|
4
|
-
import {
|
|
4
|
+
import { actionColorRgbPartial, borderColorHover, borderColorRgbPartial, borderWidth, buttonContentFontColor, contentFontColorDisabled, contentFontSize, controlHeight, fillColorSelected, fontFamily, iconColor, smallDelay, standardPadding } from '../theme-provider/design-tokens';
|
|
5
5
|
import { appearanceBehavior } from './behaviors';
|
|
6
6
|
import { ButtonAppearance } from './types';
|
|
7
7
|
export const styles = css `
|
|
@@ -21,6 +21,7 @@ export const styles = css `
|
|
|
21
21
|
/*
|
|
22
22
|
Not sure why but this is needed to get buttons with icons and buttons
|
|
23
23
|
without icons to align on the same line when the button is inline-flex
|
|
24
|
+
See: https://github.com/microsoft/fast/issues/5414
|
|
24
25
|
*/ ''}
|
|
25
26
|
vertical-align: middle;
|
|
26
27
|
}
|
|
@@ -52,7 +53,7 @@ export const styles = css `
|
|
|
52
53
|
transition: box-shadow ${smallDelay};
|
|
53
54
|
}
|
|
54
55
|
|
|
55
|
-
.control
|
|
56
|
+
:host([content-hidden]) .control {
|
|
56
57
|
width: ${controlHeight};
|
|
57
58
|
padding: 0px;
|
|
58
59
|
}
|
|
@@ -88,12 +89,16 @@ export const styles = css `
|
|
|
88
89
|
display: contents;
|
|
89
90
|
}
|
|
90
91
|
|
|
92
|
+
:host([content-hidden]) .content {
|
|
93
|
+
display: none;
|
|
94
|
+
}
|
|
95
|
+
|
|
91
96
|
[part='start'] {
|
|
92
97
|
display: contents;
|
|
93
98
|
}
|
|
94
99
|
|
|
95
100
|
slot[name='start']::slotted(*) {
|
|
96
|
-
|
|
101
|
+
${iconColor.cssCustomProperty}: ${buttonContentFontColor};
|
|
97
102
|
}
|
|
98
103
|
|
|
99
104
|
:host([disabled]) slot[name='start']::slotted(*) {
|
|
@@ -108,7 +113,7 @@ export const styles = css `
|
|
|
108
113
|
.withBehaviors(appearanceBehavior(ButtonAppearance.Outline, css `
|
|
109
114
|
.control {
|
|
110
115
|
background-color: transparent;
|
|
111
|
-
border-color: rgba(${
|
|
116
|
+
border-color: rgba(${actionColorRgbPartial}, 0.5);
|
|
112
117
|
}
|
|
113
118
|
|
|
114
119
|
.control:hover {
|
|
@@ -128,7 +133,7 @@ export const styles = css `
|
|
|
128
133
|
|
|
129
134
|
.control[disabled] {
|
|
130
135
|
background-color: transparent;
|
|
131
|
-
border-color: rgba(${
|
|
136
|
+
border-color: rgba(${borderColorRgbPartial}, 0.2);
|
|
132
137
|
}
|
|
133
138
|
`), appearanceBehavior(ButtonAppearance.Ghost, css `
|
|
134
139
|
.control {
|
|
@@ -157,17 +162,17 @@ export const styles = css `
|
|
|
157
162
|
}
|
|
158
163
|
`), appearanceBehavior(ButtonAppearance.Block, css `
|
|
159
164
|
.control {
|
|
160
|
-
background-color: rgba(${
|
|
165
|
+
background-color: rgba(${borderColorRgbPartial}, 0.1);
|
|
161
166
|
border-color: transparent;
|
|
162
167
|
}
|
|
163
168
|
|
|
164
169
|
.control:hover {
|
|
165
|
-
background-color: rgba(${
|
|
170
|
+
background-color: rgba(${borderColorRgbPartial}, 0.1);
|
|
166
171
|
border-color: ${borderColorHover};
|
|
167
172
|
}
|
|
168
173
|
|
|
169
174
|
.control${focusVisible} {
|
|
170
|
-
background-color: rgba(${
|
|
175
|
+
background-color: rgba(${borderColorRgbPartial}, 0.1);
|
|
171
176
|
border-color: ${borderColorHover};
|
|
172
177
|
}
|
|
173
178
|
|
|
@@ -177,8 +182,8 @@ export const styles = css `
|
|
|
177
182
|
}
|
|
178
183
|
|
|
179
184
|
.control[disabled] {
|
|
180
|
-
background-color: rgba(${
|
|
181
|
-
border-color: rgba(${
|
|
185
|
+
background-color: rgba(${borderColorRgbPartial}, 0.1);
|
|
186
|
+
border-color: rgba(${borderColorRgbPartial}, 0.1);
|
|
182
187
|
}
|
|
183
188
|
`));
|
|
184
189
|
//# sourceMappingURL=styles.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.js","sourceRoot":"","sources":["../../../src/button/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;AACxD,OAAO,EACH,
|
|
1
|
+
{"version":3,"file":"styles.js","sourceRoot":"","sources":["../../../src/button/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;AACxD,OAAO,EACH,qBAAqB,EACrB,gBAAgB,EAChB,qBAAqB,EACrB,WAAW,EACX,sBAAsB,EACtB,wBAAwB,EACxB,eAAe,EACf,aAAa,EACb,iBAAiB,EACjB,UAAU,EACV,SAAS,EACT,UAAU,EACV,eAAe,EAClB,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAC;AACjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAE3C,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,CAAA;MACnB,OAAO,CAAC,aAAa,CAAC;;;;kBAIV,aAAa;iBACd,sBAAsB;uBAChB,UAAU;qBACZ,eAAe;;;;;UAK1B;AACE;;;;EAIE,CAAC,EACP;;;;;iBAKS,wBAAwB;;;;;;;;kBAQvB,WAAW;;;;;;;;;;;;;;qBAcR,eAAe;iCACH,UAAU;;;;iBAI1B,aAAa;;;;;;;;;;;kCAWI,WAAW,IAAI,gBAAgB;;;;cAInD,YAAY;kCACQ,WAAW,IAAI,gBAAgB;mBAC9C,WAAW,UAAU,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;UA2B9C,SAAS,CAAC,iBAAiB,KAAK,sBAAsB;;;;;;;;;;CAU/D;IACG,kBAAkB;KACjB,aAAa,CACV,kBAAkB,CACd,gBAAgB,CAAC,OAAO,EACxB,GAAG,CAAA;;;yCAG0B,qBAAqB;;;;;oCAK1B,gBAAgB;;;0BAG1B,YAAY;;oCAEF,gBAAgB;;;;wCAIZ,iBAAiB;;;;;;yCAMhB,qBAAqB;;aAEjD,CACJ,EACD,kBAAkB,CACd,gBAAgB,CAAC,KAAK,EACtB,GAAG,CAAA;;;;;;;;oCAQqB,gBAAgB;;;0BAG1B,YAAY;;oCAEF,gBAAgB;;;;wCAIZ,iBAAiB;;;;;;;;aAQ5C,CACJ,EACD,kBAAkB,CACd,gBAAgB,CAAC,KAAK,EACtB,GAAG,CAAA;;6CAE8B,qBAAqB;;;;;6CAKrB,qBAAqB;oCAC9B,gBAAgB;;;0BAG1B,YAAY;6CACO,qBAAqB;oCAC9B,gBAAgB;;;;wCAIZ,iBAAiB;;;;;6CAKZ,qBAAqB;yCACzB,qBAAqB;;aAEjD,CACJ,CACJ,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { css } from '@microsoft/fast-element';
|
|
2
2
|
import { display } from '@microsoft/fast-foundation';
|
|
3
3
|
import { focusVisible } from '../utilities/style/focus';
|
|
4
|
-
import { borderColor, borderColorHover,
|
|
4
|
+
import { borderColor, borderColorHover, borderColorRgbPartial, contentFontColor, contentFontColorDisabled, contentFontSize, controlHeight, labelHeight, iconSize, fontFamily, borderWidth, smallDelay } from '../theme-provider/design-tokens';
|
|
5
5
|
export const styles = css `
|
|
6
6
|
${display('inline-flex')}
|
|
7
7
|
|
|
@@ -42,8 +42,8 @@ export const styles = css `
|
|
|
42
42
|
}
|
|
43
43
|
|
|
44
44
|
:host([disabled]) .control {
|
|
45
|
-
background-color: rgba(${
|
|
46
|
-
border-color: rgba(${
|
|
45
|
+
background-color: rgba(${borderColorRgbPartial}, 0.1);
|
|
46
|
+
border-color: rgba(${borderColorRgbPartial}, 0.2);
|
|
47
47
|
}
|
|
48
48
|
|
|
49
49
|
:host(:not([disabled]):not(:active):hover) .control {
|
|
@@ -86,7 +86,7 @@ export const styles = css `
|
|
|
86
86
|
}
|
|
87
87
|
|
|
88
88
|
:host([disabled]) slot[name='checked-indicator'] path {
|
|
89
|
-
fill: rgba(${
|
|
89
|
+
fill: rgba(${borderColorRgbPartial}, 0.3);
|
|
90
90
|
}
|
|
91
91
|
`;
|
|
92
92
|
//# sourceMappingURL=styles.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.js","sourceRoot":"","sources":["../../../src/checkbox/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,WAAW,EACX,gBAAgB,EAChB,
|
|
1
|
+
{"version":3,"file":"styles.js","sourceRoot":"","sources":["../../../src/checkbox/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,WAAW,EACX,gBAAgB,EAChB,qBAAqB,EACrB,gBAAgB,EAChB,wBAAwB,EACxB,eAAe,EACf,aAAa,EACb,WAAW,EACX,QAAQ,EACR,UAAU,EACV,WAAW,EACX,UAAU,EACb,MAAM,iCAAiC,CAAC;AAEzC,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,CAAA;MACnB,OAAO,CAAC,aAAa,CAAC;;;;;;;;;;;;;;sBAcN,aAAa;uBACZ,aAAa;;;kBAGlB,WAAW,UAAU,WAAW;;;;;iCAKjB,UAAU;UACjC;AACE;;;GAGG,CAAC,EACR;;;;;;;;;;;iCAWyB,qBAAqB;6BACzB,qBAAqB;;;;wBAI1B,gBAAgB;kCACN,WAAW,IAAI,gBAAgB;;;YAGrD,YAAY;wBACA,gBAAgB;6BACX,gBAAgB;;;;;uBAKtB,UAAU;qBACZ,eAAe;iBACnB,gBAAgB;uBACV,WAAW;;;;;;iBAMjB,wBAAwB;;;;kBAIvB,QAAQ;iBACT,QAAQ;;;;;gBAKT,WAAW;;;;;;;;;qBASN,qBAAqB;;CAEzC,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { css } from '@microsoft/fast-element';
|
|
2
2
|
import { display } from '@microsoft/fast-foundation';
|
|
3
|
-
import { applicationBackgroundColor, borderWidth, contentFontColor, contentFontSize, drawerHeaderFontFamily, drawerHeaderFontSize, drawerWidth, fontFamily, popupBorderColor, popupBoxShadowColor } from '../theme-provider/design-tokens';
|
|
3
|
+
import { applicationBackgroundColor, borderWidth, contentFontColor, contentFontSize, drawerHeaderFontFamily, drawerHeaderFontSize, drawerWidth, fontFamily, popupBorderColor, popupBoxShadowColor, standardPadding } from '../theme-provider/design-tokens';
|
|
4
4
|
export const styles = css `
|
|
5
5
|
${display('block')}
|
|
6
6
|
|
|
@@ -94,19 +94,19 @@ export const styles = css `
|
|
|
94
94
|
*/ ''}
|
|
95
95
|
|
|
96
96
|
::slotted(header) {
|
|
97
|
-
padding:
|
|
97
|
+
padding: ${standardPadding};
|
|
98
98
|
font-family: ${drawerHeaderFontFamily};
|
|
99
99
|
font-size: ${drawerHeaderFontSize};
|
|
100
100
|
}
|
|
101
101
|
|
|
102
102
|
::slotted(section) {
|
|
103
|
-
padding:
|
|
103
|
+
padding: ${standardPadding};
|
|
104
104
|
grid-row: 2;
|
|
105
105
|
overflow-y: auto;
|
|
106
106
|
}
|
|
107
107
|
|
|
108
108
|
::slotted(footer) {
|
|
109
|
-
padding:
|
|
109
|
+
padding: ${standardPadding};
|
|
110
110
|
display: flex;
|
|
111
111
|
justify-content: flex-end;
|
|
112
112
|
grid-row: 3;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.js","sourceRoot":"","sources":["../../../src/drawer/styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,yBAAyB,CAAC;AAC9C,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAC;AACrD,OAAO,EACH,0BAA0B,EAC1B,WAAW,EACX,gBAAgB,EAChB,eAAe,EACf,sBAAsB,EACtB,oBAAoB,EACpB,WAAW,EACX,UAAU,EACV,gBAAgB,EAChB,mBAAmB,
|
|
1
|
+
{"version":3,"file":"styles.js","sourceRoot":"","sources":["../../../src/drawer/styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,yBAAyB,CAAC;AAC9C,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAC;AACrD,OAAO,EACH,0BAA0B,EAC1B,WAAW,EACX,gBAAgB,EAChB,eAAe,EACf,sBAAsB,EACtB,oBAAoB,EACpB,WAAW,EACX,UAAU,EACV,gBAAgB,EAChB,mBAAmB,EACnB,eAAe,EAClB,MAAM,iCAAiC,CAAC;AAEzC,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,CAAA;MACnB,OAAO,CAAC,OAAO,CAAC;;;;;;;;;uBASC,UAAU;qBACZ,eAAe;iBACnB,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAgC3B,CAAA,8DAA+D,EAAE;;;;sBAIjD,gBAAgB;;;;;;;;;;;;;;iBAcrB,WAAW;;4BAEA,0BAA0B;;;;;;;;;;;;;;wBAc9B,WAAW,UAAU,mBAAmB;;;;;uBAKzC,WAAW,UAAU,mBAAmB;;;MAGzD;AACE;;;EAGE,CAAC,EACP;;;mBAGe,eAAe;uBACX,sBAAsB;qBACxB,oBAAoB;;;;mBAItB,eAAe;;;;;;mBAMf,eAAe;;;;sBAIZ,WAAW,UAAU,gBAAgB;;CAE1D,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { css } from '@microsoft/fast-element';
|
|
2
2
|
import { display } from '@microsoft/fast-foundation';
|
|
3
|
-
import { contentFontColor, iconSize, warningColor, failColor, passColor } from '../theme-provider/design-tokens';
|
|
3
|
+
import { contentFontColor, iconSize, warningColor, failColor, passColor, iconColor } from '../theme-provider/design-tokens';
|
|
4
4
|
export const styles = css `
|
|
5
5
|
${display('inline-flex')}
|
|
6
6
|
|
|
@@ -9,7 +9,7 @@ export const styles = css `
|
|
|
9
9
|
user-select: none;
|
|
10
10
|
width: ${iconSize};
|
|
11
11
|
height: ${iconSize};
|
|
12
|
-
|
|
12
|
+
${iconColor.cssCustomProperty}: ${contentFontColor};
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
.icon {
|
|
@@ -18,19 +18,19 @@ export const styles = css `
|
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
:host(.fail) {
|
|
21
|
-
|
|
21
|
+
${iconColor.cssCustomProperty}: ${failColor};
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
:host(.warning) {
|
|
25
|
-
|
|
25
|
+
${iconColor.cssCustomProperty}: ${warningColor};
|
|
26
26
|
}
|
|
27
27
|
|
|
28
28
|
:host(.pass) {
|
|
29
|
-
|
|
29
|
+
${iconColor.cssCustomProperty}: ${passColor};
|
|
30
30
|
}
|
|
31
31
|
|
|
32
32
|
.icon svg {
|
|
33
|
-
fill:
|
|
33
|
+
fill: ${iconColor};
|
|
34
34
|
width: 100%;
|
|
35
35
|
height: 100%;
|
|
36
36
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.js","sourceRoot":"","sources":["../../../src/icon-base/styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,yBAAyB,CAAC;AAC9C,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAC;AACrD,OAAO,EACH,gBAAgB,EAChB,QAAQ,EACR,YAAY,EACZ,SAAS,EACT,SAAS,EACZ,MAAM,iCAAiC,CAAC;AAEzC,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,CAAA;MACnB,OAAO,CAAC,aAAa,CAAC;;;;;iBAKX,QAAQ;kBACP,QAAQ;
|
|
1
|
+
{"version":3,"file":"styles.js","sourceRoot":"","sources":["../../../src/icon-base/styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,yBAAyB,CAAC;AAC9C,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAC;AACrD,OAAO,EACH,gBAAgB,EAChB,QAAQ,EACR,YAAY,EACZ,SAAS,EACT,SAAS,EACT,SAAS,EACZ,MAAM,iCAAiC,CAAC;AAEzC,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,CAAA;MACnB,OAAO,CAAC,aAAa,CAAC;;;;;iBAKX,QAAQ;kBACP,QAAQ;UAChB,SAAS,CAAC,iBAAiB,KAAK,gBAAgB;;;;;;;;;UAShD,SAAS,CAAC,iBAAiB,KAAK,SAAS;;;;UAIzC,SAAS,CAAC,iBAAiB,KAAK,YAAY;;;;UAI5C,SAAS,CAAC,iBAAiB,KAAK,SAAS;;;;gBAInC,SAAS;;;;CAIxB,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,33 @@
|
|
|
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
|
+
/**
|
|
22
|
+
* Specify as 'true' to hide the text content of the button. The button will
|
|
23
|
+
* become square, and the text content will be used as the label of the button
|
|
24
|
+
* for accessibility purposes.
|
|
25
|
+
*
|
|
26
|
+
* @public
|
|
27
|
+
* @remarks
|
|
28
|
+
* HTML Attribute: content-hidden
|
|
29
|
+
*/
|
|
30
|
+
contentHidden: boolean;
|
|
31
|
+
private readonly contentId;
|
|
32
|
+
connectedCallback(): void;
|
|
33
|
+
}
|
|
@@ -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
|
+
}
|