@ni/nimble-components 9.0.4 → 10.0.0
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/dist/all-components-bundle.js +79 -86
- package/dist/all-components-bundle.js.map +1 -1
- package/dist/all-components-bundle.min.js +798 -807
- package/dist/all-components-bundle.min.js.map +1 -1
- package/dist/esm/button/index.js +1 -1
- package/dist/esm/button/styles.js +2 -2
- package/dist/esm/button/types.d.ts +0 -1
- package/dist/esm/button/types.js.map +1 -1
- package/dist/esm/drawer/index.js +16 -16
- package/dist/esm/drawer/types.d.ts +12 -12
- package/dist/esm/drawer/types.js +10 -12
- package/dist/esm/drawer/types.js.map +1 -1
- package/dist/esm/icon-base/types.d.ts +7 -7
- package/dist/esm/icon-base/types.js +6 -7
- package/dist/esm/icon-base/types.js.map +1 -1
- package/dist/esm/menu-button/index.js +1 -1
- package/dist/esm/menu-button/types.d.ts +0 -1
- package/dist/esm/menu-button/types.js +4 -1
- package/dist/esm/menu-button/types.js.map +1 -1
- package/dist/esm/nimble-components/src/button/types.d.ts +0 -1
- package/dist/esm/nimble-components/src/drawer/types.d.ts +12 -12
- package/dist/esm/nimble-components/src/icon-base/types.d.ts +7 -7
- package/dist/esm/nimble-components/src/menu-button/types.d.ts +0 -1
- package/dist/esm/nimble-components/src/patterns/button/types.d.ts +6 -6
- package/dist/esm/nimble-components/src/text-area/types.d.ts +5 -6
- package/dist/esm/nimble-components/src/text-field/types.d.ts +7 -14
- package/dist/esm/nimble-components/src/theme-provider/types.d.ts +6 -6
- package/dist/esm/nimble-components/src/toggle-button/types.d.ts +0 -1
- package/dist/esm/nimble-components/src/tree-view/types.d.ts +6 -6
- package/dist/esm/nimble-components/src/utilities/style/theme.d.ts +5 -5
- package/dist/esm/patterns/button/styles.js +3 -3
- package/dist/esm/patterns/button/types.d.ts +6 -6
- package/dist/esm/patterns/button/types.js +5 -6
- package/dist/esm/patterns/button/types.js.map +1 -1
- package/dist/esm/text-area/index.js +1 -1
- package/dist/esm/text-area/styles.js +2 -2
- package/dist/esm/text-area/types.d.ts +5 -6
- package/dist/esm/text-area/types.js +4 -5
- package/dist/esm/text-area/types.js.map +1 -1
- package/dist/esm/text-field/index.js +1 -1
- package/dist/esm/text-field/styles.js +5 -5
- package/dist/esm/text-field/types.d.ts +7 -14
- package/dist/esm/text-field/types.js +6 -7
- package/dist/esm/text-field/types.js.map +1 -1
- package/dist/esm/theme-provider/design-tokens.js +3 -3
- package/dist/esm/theme-provider/index.js +2 -2
- package/dist/esm/theme-provider/types.d.ts +6 -6
- package/dist/esm/theme-provider/types.js +5 -6
- package/dist/esm/theme-provider/types.js.map +1 -1
- package/dist/esm/toggle-button/index.js +1 -1
- package/dist/esm/toggle-button/types.d.ts +0 -1
- package/dist/esm/toggle-button/types.js +4 -0
- package/dist/esm/toggle-button/types.js.map +1 -1
- package/dist/esm/tree-view/index.js +4 -4
- package/dist/esm/tree-view/types.d.ts +6 -6
- package/dist/esm/tree-view/types.js +5 -6
- package/dist/esm/tree-view/types.js.map +1 -1
- package/dist/esm/utilities/style/theme.d.ts +5 -5
- package/dist/esm/utilities/style/theme.js +3 -3
- package/dist/esm/utilities/style/theme.js.map +1 -1
- package/package.json +1 -1
|
@@ -230,7 +230,7 @@ export const styles = css `
|
|
|
230
230
|
slot[name='actions']::slotted(*) {
|
|
231
231
|
${controlHeight.cssCustomProperty}: 24px;
|
|
232
232
|
}
|
|
233
|
-
`.withBehaviors(appearanceBehavior(TextFieldAppearance.
|
|
233
|
+
`.withBehaviors(appearanceBehavior(TextFieldAppearance.underline, css `
|
|
234
234
|
.root {
|
|
235
235
|
--ni-private-bottom-border-width: 1px;
|
|
236
236
|
padding-top: ${borderWidth};
|
|
@@ -245,7 +245,7 @@ export const styles = css `
|
|
|
245
245
|
:host([disabled]) .root:hover {
|
|
246
246
|
--ni-private-bottom-border-width: 1px;
|
|
247
247
|
}
|
|
248
|
-
`), appearanceBehavior(TextFieldAppearance.
|
|
248
|
+
`), appearanceBehavior(TextFieldAppearance.block, css `
|
|
249
249
|
.root {
|
|
250
250
|
background-color: rgba(${borderRgbPartialColor}, 0.1);
|
|
251
251
|
--ni-private-bottom-border-width: 0px;
|
|
@@ -290,7 +290,7 @@ export const styles = css `
|
|
|
290
290
|
:host(.invalid[disabled]) .root {
|
|
291
291
|
--ni-private-bottom-border-width: 1px;
|
|
292
292
|
}
|
|
293
|
-
`), appearanceBehavior(TextFieldAppearance.
|
|
293
|
+
`), appearanceBehavior(TextFieldAppearance.outline, css `
|
|
294
294
|
.root {
|
|
295
295
|
--ni-private-bottom-border-width: 1px;
|
|
296
296
|
border-width: ${borderWidth};
|
|
@@ -300,7 +300,7 @@ export const styles = css `
|
|
|
300
300
|
:host(.invalid) .errortext {
|
|
301
301
|
top: calc(${controlHeight} - ${borderWidth});
|
|
302
302
|
}
|
|
303
|
-
`), appearanceBehavior(TextFieldAppearance.
|
|
303
|
+
`), appearanceBehavior(TextFieldAppearance.frameless, css `
|
|
304
304
|
.root {
|
|
305
305
|
--ni-private-bottom-border-width: 0px;
|
|
306
306
|
padding-top: ${borderWidth};
|
|
@@ -327,5 +327,5 @@ export const styles = css `
|
|
|
327
327
|
}
|
|
328
328
|
`,
|
|
329
329
|
// Color theme
|
|
330
|
-
Theme.
|
|
330
|
+
Theme.dark));
|
|
331
331
|
//# sourceMappingURL=styles.js.map
|
|
@@ -1,22 +1,15 @@
|
|
|
1
1
|
import { TextFieldType } from '@microsoft/fast-foundation';
|
|
2
|
-
/**
|
|
3
|
-
* Values for the 'type' attribute of the text field.
|
|
4
|
-
*/
|
|
5
|
-
export declare type TextFieldTypeAttribute = `${TextFieldType}`;
|
|
6
2
|
/**
|
|
7
3
|
* Values for the 'type' property of the text field.
|
|
8
4
|
*/
|
|
9
5
|
export { TextFieldType };
|
|
10
|
-
/**
|
|
11
|
-
* Values for the 'appearance' attribute of the text field.
|
|
12
|
-
*/
|
|
13
|
-
export declare type TextFieldAppearanceAttribute = `${TextFieldAppearance}`;
|
|
14
6
|
/**
|
|
15
7
|
* Values for the 'appearance' property of the text field
|
|
16
8
|
*/
|
|
17
|
-
export declare
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
}
|
|
9
|
+
export declare const TextFieldAppearance: {
|
|
10
|
+
readonly underline: "underline";
|
|
11
|
+
readonly outline: "outline";
|
|
12
|
+
readonly block: "block";
|
|
13
|
+
readonly frameless: "frameless";
|
|
14
|
+
};
|
|
15
|
+
export declare type TextFieldAppearance = typeof TextFieldAppearance[keyof typeof TextFieldAppearance];
|
|
@@ -6,11 +6,10 @@ export { TextFieldType };
|
|
|
6
6
|
/**
|
|
7
7
|
* Values for the 'appearance' property of the text field
|
|
8
8
|
*/
|
|
9
|
-
export
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
})(TextFieldAppearance || (TextFieldAppearance = {}));
|
|
9
|
+
export const TextFieldAppearance = {
|
|
10
|
+
underline: 'underline',
|
|
11
|
+
outline: 'outline',
|
|
12
|
+
block: 'block',
|
|
13
|
+
frameless: 'frameless'
|
|
14
|
+
};
|
|
16
15
|
//# sourceMappingURL=types.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/text-field/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/text-field/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAE3D;;GAEG;AACH,OAAO,EAAE,aAAa,EAAE,CAAC;AAEzB;;GAEG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAAG;IAC/B,SAAS,EAAE,WAAW;IACtB,OAAO,EAAE,SAAS;IAClB,KAAK,EAAE,OAAO;IACd,SAAS,EAAE,WAAW;CAChB,CAAC"}
|
|
@@ -96,11 +96,11 @@ function createFontTokens(fontTokenName, colorFunction, disabledColorFunction, f
|
|
|
96
96
|
}
|
|
97
97
|
function getColorForTheme(element, lightThemeColor, darkThemeColor, colorThemeColor) {
|
|
98
98
|
switch (theme.getValueFor(element)) {
|
|
99
|
-
case Theme.
|
|
99
|
+
case Theme.light:
|
|
100
100
|
return lightThemeColor;
|
|
101
|
-
case Theme.
|
|
101
|
+
case Theme.dark:
|
|
102
102
|
return darkThemeColor;
|
|
103
|
-
case Theme.
|
|
103
|
+
case Theme.color:
|
|
104
104
|
return colorThemeColor;
|
|
105
105
|
default:
|
|
106
106
|
return lightThemeColor;
|
|
@@ -14,7 +14,7 @@ export const direction = DesignToken.create({
|
|
|
14
14
|
export const theme = DesignToken.create({
|
|
15
15
|
name: 'theme',
|
|
16
16
|
cssCustomPropertyName: null
|
|
17
|
-
}).withDefault(Theme.
|
|
17
|
+
}).withDefault(Theme.light);
|
|
18
18
|
/**
|
|
19
19
|
* The ThemeProvider implementation. Add this component to the page and set its `theme` attribute to control
|
|
20
20
|
* the values of design tokens that provide colors and fonts as CSS custom properties to any descendant components.
|
|
@@ -24,7 +24,7 @@ export class ThemeProvider extends FoundationElement {
|
|
|
24
24
|
constructor() {
|
|
25
25
|
super(...arguments);
|
|
26
26
|
this.direction = Direction.ltr;
|
|
27
|
-
this.theme = Theme.
|
|
27
|
+
this.theme = Theme.light;
|
|
28
28
|
}
|
|
29
29
|
directionChanged(_prev, next) {
|
|
30
30
|
if (next !== undefined && next !== null) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export declare
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
}
|
|
6
|
-
export declare type
|
|
1
|
+
export declare const Theme: {
|
|
2
|
+
readonly light: "light";
|
|
3
|
+
readonly dark: "dark";
|
|
4
|
+
readonly color: "color";
|
|
5
|
+
};
|
|
6
|
+
export declare type Theme = typeof Theme[keyof typeof Theme];
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
export
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
})(Theme || (Theme = {}));
|
|
1
|
+
export const Theme = {
|
|
2
|
+
light: 'light',
|
|
3
|
+
dark: 'dark',
|
|
4
|
+
color: 'color'
|
|
5
|
+
};
|
|
7
6
|
//# sourceMappingURL=types.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/theme-provider/types.ts"],"names":[],"mappings":"AAAA,MAAM,
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/theme-provider/types.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,KAAK,GAAG;IACjB,KAAK,EAAE,OAAO;IACd,IAAI,EAAE,MAAM;IACZ,KAAK,EAAE,OAAO;CACR,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/toggle-button/types.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/toggle-button/types.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC"}
|
|
@@ -16,7 +16,7 @@ import { TreeViewSelectionMode } from './types';
|
|
|
16
16
|
export class TreeView extends FoundationTreeView {
|
|
17
17
|
constructor() {
|
|
18
18
|
super(...arguments);
|
|
19
|
-
this.selectionMode = TreeViewSelectionMode.
|
|
19
|
+
this.selectionMode = TreeViewSelectionMode.all;
|
|
20
20
|
}
|
|
21
21
|
handleClick(e) {
|
|
22
22
|
if (e.defaultPrevented) {
|
|
@@ -41,11 +41,11 @@ export class TreeView extends FoundationTreeView {
|
|
|
41
41
|
}
|
|
42
42
|
canSelect(item) {
|
|
43
43
|
switch (this.selectionMode) {
|
|
44
|
-
case TreeViewSelectionMode.
|
|
44
|
+
case TreeViewSelectionMode.all:
|
|
45
45
|
return true;
|
|
46
|
-
case TreeViewSelectionMode.
|
|
46
|
+
case TreeViewSelectionMode.none:
|
|
47
47
|
return false;
|
|
48
|
-
case TreeViewSelectionMode.
|
|
48
|
+
case TreeViewSelectionMode.leavesOnly:
|
|
49
49
|
return !this.itemHasChildren(item);
|
|
50
50
|
default:
|
|
51
51
|
return true;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
export declare const pinnedSelectedAttribute = "pinned-selected";
|
|
2
2
|
export declare const groupSelectedAttribute = "group-selected";
|
|
3
|
-
export declare
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
}
|
|
8
|
-
export declare type
|
|
3
|
+
export declare const TreeViewSelectionMode: {
|
|
4
|
+
readonly all: "all";
|
|
5
|
+
readonly leavesOnly: "leaves-only";
|
|
6
|
+
readonly none: "none";
|
|
7
|
+
};
|
|
8
|
+
export declare type TreeViewSelectionMode = typeof TreeViewSelectionMode[keyof typeof TreeViewSelectionMode];
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
export const pinnedSelectedAttribute = 'pinned-selected';
|
|
2
2
|
export const groupSelectedAttribute = 'group-selected';
|
|
3
|
-
export
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
})(TreeViewSelectionMode || (TreeViewSelectionMode = {}));
|
|
3
|
+
export const TreeViewSelectionMode = {
|
|
4
|
+
all: 'all',
|
|
5
|
+
leavesOnly: 'leaves-only',
|
|
6
|
+
none: 'none'
|
|
7
|
+
};
|
|
9
8
|
//# sourceMappingURL=types.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/tree-view/types.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,uBAAuB,GAAG,iBAAiB,CAAC;AACzD,MAAM,CAAC,MAAM,sBAAsB,GAAG,gBAAgB,CAAC;AAEvD,MAAM,
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/tree-view/types.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,uBAAuB,GAAG,iBAAiB,CAAC;AACzD,MAAM,CAAC,MAAM,sBAAsB,GAAG,gBAAgB,CAAC;AAEvD,MAAM,CAAC,MAAM,qBAAqB,GAAG;IACjC,GAAG,EAAE,KAAK;IACV,UAAU,EAAE,aAAa;IACzB,IAAI,EAAE,MAAM;CACN,CAAC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Behavior, ElementStyles, FASTElement } from '@microsoft/fast-element';
|
|
2
2
|
import type { Theme } from '../../theme-provider/types';
|
|
3
3
|
export declare type LightStyle = ElementStyles | null;
|
|
4
|
-
export declare type DarkStyleOrAlias = ElementStyles | null | Theme
|
|
5
|
-
export declare type ColorStyleOrAlias = ElementStyles | null | Theme
|
|
4
|
+
export declare type DarkStyleOrAlias = ElementStyles | null | Extract<Theme, 'light'>;
|
|
5
|
+
export declare type ColorStyleOrAlias = ElementStyles | null | Extract<Theme, 'light' | 'dark'>;
|
|
6
6
|
/**
|
|
7
7
|
* Behavior to conditionally apply theme-based stylesheets.
|
|
8
8
|
*/
|
|
@@ -32,9 +32,9 @@ declare class ThemeStyleSheetBehavior implements Behavior {
|
|
|
32
32
|
* css`
|
|
33
33
|
* // ...
|
|
34
34
|
* `.withBehaviors(new ThemeStyleSheetBehavior(
|
|
35
|
-
* css`:host { ... Theme.
|
|
36
|
-
* null, // No style needed for Theme.
|
|
37
|
-
* Theme.
|
|
35
|
+
* css`:host { ... Theme.light style... }`),
|
|
36
|
+
* null, // No style needed for Theme.dark style
|
|
37
|
+
* Theme.light // For the Theme.color style, re-use the previously set Theme.light style
|
|
38
38
|
* )
|
|
39
39
|
* ```
|
|
40
40
|
*/
|
|
@@ -96,9 +96,9 @@ class ThemeStyleSheetBehavior {
|
|
|
96
96
|
* css`
|
|
97
97
|
* // ...
|
|
98
98
|
* `.withBehaviors(new ThemeStyleSheetBehavior(
|
|
99
|
-
* css`:host { ... Theme.
|
|
100
|
-
* null, // No style needed for Theme.
|
|
101
|
-
* Theme.
|
|
99
|
+
* css`:host { ... Theme.light style... }`),
|
|
100
|
+
* null, // No style needed for Theme.dark style
|
|
101
|
+
* Theme.light // For the Theme.color style, re-use the previously set Theme.light style
|
|
102
102
|
* )
|
|
103
103
|
* ```
|
|
104
104
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"theme.js","sourceRoot":"","sources":["../../../../src/utilities/style/theme.ts"],"names":[],"mappings":"AAAA,yCAAyC;AACzC,OAAO,EAEH,aAAa,EAGhB,MAAM,yBAAyB,CAAC;AAGjC,OAAO,EAAE,KAAK,IAAI,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAI3D;;GAEG;AACH,MAAM,mCAAmC;IAGrC,YACqB,WAAwB,EACxB,MAAiC;QADjC,gBAAW,GAAX,WAAW,CAAa;QACxB,WAAM,GAAN,MAAM,CAA2B;QAJ9C,aAAQ,GAAyB,IAAI,CAAC;IAK3C,CAAC;IAEG,YAAY,CAAC,EAChB,MAAM,EACN,KAAK,EACoC;QACzC,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,WAAW,CAAC,MAAM,CAAC,CAAC,CAAC;IAC3C,CAAC;IAEM,MAAM,CAAC,
|
|
1
|
+
{"version":3,"file":"theme.js","sourceRoot":"","sources":["../../../../src/utilities/style/theme.ts"],"names":[],"mappings":"AAAA,yCAAyC;AACzC,OAAO,EAEH,aAAa,EAGhB,MAAM,yBAAyB,CAAC;AAGjC,OAAO,EAAE,KAAK,IAAI,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAI3D;;GAEG;AACH,MAAM,mCAAmC;IAGrC,YACqB,WAAwB,EACxB,MAAiC;QADjC,gBAAW,GAAX,WAAW,CAAa;QACxB,WAAM,GAAN,MAAM,CAA2B;QAJ9C,aAAQ,GAAyB,IAAI,CAAC;IAK3C,CAAC;IAEG,YAAY,CAAC,EAChB,MAAM,EACN,KAAK,E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
+
"version": "10.0.0",
|
|
4
4
|
"description": "Styled web components for the NI Nimble Design System",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "npm run generate-icons && npm run build-components && npm run bundle-components && npm run generate-scss && npm run build-storybook",
|