@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.
Files changed (61) hide show
  1. package/dist/all-components-bundle.js +79 -86
  2. package/dist/all-components-bundle.js.map +1 -1
  3. package/dist/all-components-bundle.min.js +798 -807
  4. package/dist/all-components-bundle.min.js.map +1 -1
  5. package/dist/esm/button/index.js +1 -1
  6. package/dist/esm/button/styles.js +2 -2
  7. package/dist/esm/button/types.d.ts +0 -1
  8. package/dist/esm/button/types.js.map +1 -1
  9. package/dist/esm/drawer/index.js +16 -16
  10. package/dist/esm/drawer/types.d.ts +12 -12
  11. package/dist/esm/drawer/types.js +10 -12
  12. package/dist/esm/drawer/types.js.map +1 -1
  13. package/dist/esm/icon-base/types.d.ts +7 -7
  14. package/dist/esm/icon-base/types.js +6 -7
  15. package/dist/esm/icon-base/types.js.map +1 -1
  16. package/dist/esm/menu-button/index.js +1 -1
  17. package/dist/esm/menu-button/types.d.ts +0 -1
  18. package/dist/esm/menu-button/types.js +4 -1
  19. package/dist/esm/menu-button/types.js.map +1 -1
  20. package/dist/esm/nimble-components/src/button/types.d.ts +0 -1
  21. package/dist/esm/nimble-components/src/drawer/types.d.ts +12 -12
  22. package/dist/esm/nimble-components/src/icon-base/types.d.ts +7 -7
  23. package/dist/esm/nimble-components/src/menu-button/types.d.ts +0 -1
  24. package/dist/esm/nimble-components/src/patterns/button/types.d.ts +6 -6
  25. package/dist/esm/nimble-components/src/text-area/types.d.ts +5 -6
  26. package/dist/esm/nimble-components/src/text-field/types.d.ts +7 -14
  27. package/dist/esm/nimble-components/src/theme-provider/types.d.ts +6 -6
  28. package/dist/esm/nimble-components/src/toggle-button/types.d.ts +0 -1
  29. package/dist/esm/nimble-components/src/tree-view/types.d.ts +6 -6
  30. package/dist/esm/nimble-components/src/utilities/style/theme.d.ts +5 -5
  31. package/dist/esm/patterns/button/styles.js +3 -3
  32. package/dist/esm/patterns/button/types.d.ts +6 -6
  33. package/dist/esm/patterns/button/types.js +5 -6
  34. package/dist/esm/patterns/button/types.js.map +1 -1
  35. package/dist/esm/text-area/index.js +1 -1
  36. package/dist/esm/text-area/styles.js +2 -2
  37. package/dist/esm/text-area/types.d.ts +5 -6
  38. package/dist/esm/text-area/types.js +4 -5
  39. package/dist/esm/text-area/types.js.map +1 -1
  40. package/dist/esm/text-field/index.js +1 -1
  41. package/dist/esm/text-field/styles.js +5 -5
  42. package/dist/esm/text-field/types.d.ts +7 -14
  43. package/dist/esm/text-field/types.js +6 -7
  44. package/dist/esm/text-field/types.js.map +1 -1
  45. package/dist/esm/theme-provider/design-tokens.js +3 -3
  46. package/dist/esm/theme-provider/index.js +2 -2
  47. package/dist/esm/theme-provider/types.d.ts +6 -6
  48. package/dist/esm/theme-provider/types.js +5 -6
  49. package/dist/esm/theme-provider/types.js.map +1 -1
  50. package/dist/esm/toggle-button/index.js +1 -1
  51. package/dist/esm/toggle-button/types.d.ts +0 -1
  52. package/dist/esm/toggle-button/types.js +4 -0
  53. package/dist/esm/toggle-button/types.js.map +1 -1
  54. package/dist/esm/tree-view/index.js +4 -4
  55. package/dist/esm/tree-view/types.d.ts +6 -6
  56. package/dist/esm/tree-view/types.js +5 -6
  57. package/dist/esm/tree-view/types.js.map +1 -1
  58. package/dist/esm/utilities/style/theme.d.ts +5 -5
  59. package/dist/esm/utilities/style/theme.js +3 -3
  60. package/dist/esm/utilities/style/theme.js.map +1 -1
  61. 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.Underline, css `
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.Block, css `
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.Outline, css `
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.Frameless, css `
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.Dark));
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 enum TextFieldAppearance {
18
- Underline = "underline",
19
- Outline = "outline",
20
- Block = "block",
21
- Frameless = "frameless"
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 var TextFieldAppearance;
10
- (function (TextFieldAppearance) {
11
- TextFieldAppearance["Underline"] = "underline";
12
- TextFieldAppearance["Outline"] = "outline";
13
- TextFieldAppearance["Block"] = "block";
14
- TextFieldAppearance["Frameless"] = "frameless";
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;AAO3D;;GAEG;AACH,OAAO,EAAE,aAAa,EAAE,CAAC;AAOzB;;GAEG;AACH,MAAM,CAAN,IAAY,mBAKX;AALD,WAAY,mBAAmB;IAC3B,8CAAuB,CAAA;IACvB,0CAAmB,CAAA;IACnB,sCAAe,CAAA;IACf,8CAAuB,CAAA;AAC3B,CAAC,EALW,mBAAmB,KAAnB,mBAAmB,QAK9B"}
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.Light:
99
+ case Theme.light:
100
100
  return lightThemeColor;
101
- case Theme.Dark:
101
+ case Theme.dark:
102
102
  return darkThemeColor;
103
- case Theme.Color:
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.Light);
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.Light;
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 enum Theme {
2
- Light = "light",
3
- Dark = "dark",
4
- Color = "color"
5
- }
6
- export declare type ThemeAttribute = `${Theme}`;
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 var Theme;
2
- (function (Theme) {
3
- Theme["Light"] = "light";
4
- Theme["Dark"] = "dark";
5
- Theme["Color"] = "color";
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,CAAN,IAAY,KAIX;AAJD,WAAY,KAAK;IACb,wBAAe,CAAA;IACf,sBAAa,CAAA;IACb,wBAAe,CAAA;AACnB,CAAC,EAJW,KAAK,KAAL,KAAK,QAIhB"}
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"}
@@ -15,7 +15,7 @@ export class ToggleButton extends FoundationSwitch {
15
15
  * @remarks
16
16
  * HTML Attribute: appearance
17
17
  */
18
- this.appearance = ButtonAppearance.Outline;
18
+ this.appearance = ButtonAppearance.outline;
19
19
  /**
20
20
  * @public
21
21
  * @remarks
@@ -2,5 +2,4 @@
2
2
  * Types of toggle button appearance.
3
3
  * @public
4
4
  */
5
- export type { ButtonAppearanceAttribute } from '../patterns/button/types';
6
5
  export { ButtonAppearance } from '../patterns/button/types';
@@ -1,2 +1,6 @@
1
+ /**
2
+ * Types of toggle button appearance.
3
+ * @public
4
+ */
1
5
  export { ButtonAppearance } from '../patterns/button/types';
2
6
  //# sourceMappingURL=types.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/toggle-button/types.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC"}
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.All;
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.All:
44
+ case TreeViewSelectionMode.all:
45
45
  return true;
46
- case TreeViewSelectionMode.None:
46
+ case TreeViewSelectionMode.none:
47
47
  return false;
48
- case TreeViewSelectionMode.LeavesOnly:
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 enum TreeViewSelectionMode {
4
- All = "all",
5
- LeavesOnly = "leaves-only",
6
- None = "none"
7
- }
8
- export declare type TreeViewSelectionModeAttribute = `${TreeViewSelectionMode}`;
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 var TreeViewSelectionMode;
4
- (function (TreeViewSelectionMode) {
5
- TreeViewSelectionMode["All"] = "all";
6
- TreeViewSelectionMode["LeavesOnly"] = "leaves-only";
7
- TreeViewSelectionMode["None"] = "none";
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,CAAN,IAAY,qBAIX;AAJD,WAAY,qBAAqB;IAC7B,oCAAW,CAAA;IACX,mDAA0B,CAAA;IAC1B,sCAAa,CAAA;AACjB,CAAC,EAJW,qBAAqB,KAArB,qBAAqB,QAIhC"}
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.Light;
5
- export declare type ColorStyleOrAlias = ElementStyles | null | Theme.Light | Theme.Dark;
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.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
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.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
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,KAAqB;QAC/B,IAAI,IAAI,CAAC,QAAQ,KAAK,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC,EAAE;YAC3C,IAAI,IAAI,CAAC,QAAQ,KAAK,IAAI,EAAE;gBACxB,IAAI,CAAC,MAAM,CAAC,eAAe,CAAC,YAAY,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;aAC3D;YACD,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;YACxC,IAAI,IAAI,CAAC,QAAQ,KAAK,IAAI,EAAE;gBACxB,IAAI,CAAC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OAAO,YAAY,CAAC;IACxB,CAAC;IAED;;OAEG;IACI,IAAI,CAAC,MAAiC;QACzC,MAAM,UAAU,GAAG,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,MAAM,CAAC;eAClC,IAAI,mCAAmC,CAAC,IAAI,CAAC,WAAW,EAAE,MAAM,CAAC,CAAC;QAEzE,MAAM,KAAK,GAAG,UAAU,CAAC,WAAW,CAAC,MAAM,CAAC,CAAC;QAC7C,+DAA+D;QAC/D,8CAA8C;QAC9C,6EAA6E;QAC7E,UAAU,CAAC,SAAS,CAAC,UAAU,EAAE,MAAM,CAAC,CAAC;QACzC,UAAU,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;QAEzB,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,MAAM,EAAE,UAAU,CAAC,CAAC;IACvC,CAAC;IAED;;OAEG;IACI,MAAM,CAAC,MAAiC;QAC3C,MAAM,UAAU,GAAG,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;QAE1C,IAAI,UAAU,EAAE;YACZ,UAAU,CAAC,WAAW,CAAC,UAAU,CAAC,CAAC;SACtC;QAED,iDAAiD;QACjD,6EAA6E;IACjF,CAAC;CACJ;AAED;;;;;;;;;;;;;;;;;GAiBG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG,CACzB,UAAsB,EACtB,gBAAkC,EAClC,iBAAoC,EACb,EAAE,CAAC,IAAI,uBAAuB,CACrD,UAAU,EACV,gBAAgB,EAChB,iBAAiB,CACpB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ni/nimble-components",
3
- "version": "9.0.4",
3
+ "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",