@ni/nimble-components 18.13.6 → 19.0.1

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 (65) hide show
  1. package/dist/all-components-bundle.js +141 -94
  2. package/dist/all-components-bundle.js.map +1 -1
  3. package/dist/all-components-bundle.min.js +969 -967
  4. package/dist/all-components-bundle.min.js.map +1 -1
  5. package/dist/esm/icon-base/icon-metadata.js +9 -6
  6. package/dist/esm/icon-base/icon-metadata.js.map +1 -1
  7. package/dist/esm/icons/all-icons.d.ts +3 -2
  8. package/dist/esm/icons/all-icons.js +3 -2
  9. package/dist/esm/icons/all-icons.js.map +1 -1
  10. package/dist/esm/icons/down-right-from-square.d.ts +13 -0
  11. package/dist/esm/icons/down-right-from-square.js +16 -0
  12. package/dist/esm/icons/down-right-from-square.js.map +1 -0
  13. package/dist/esm/icons/file-arrow-curved-right.d.ts +13 -0
  14. package/dist/esm/icons/file-arrow-curved-right.js +16 -0
  15. package/dist/esm/icons/file-arrow-curved-right.js.map +1 -0
  16. package/dist/esm/icons/up-right-from-square.d.ts +13 -0
  17. package/dist/esm/icons/up-right-from-square.js +16 -0
  18. package/dist/esm/icons/up-right-from-square.js.map +1 -0
  19. package/dist/esm/table/types.d.ts +6 -1
  20. package/dist/esm/table/types.js.map +1 -1
  21. package/dist/esm/table-column/base/group-header-view/index.d.ts +3 -2
  22. package/dist/esm/table-column/base/group-header-view/index.js.map +1 -1
  23. package/dist/esm/table-column/text/cell-view/index.d.ts +6 -8
  24. package/dist/esm/table-column/text/cell-view/index.js +12 -21
  25. package/dist/esm/table-column/text/cell-view/index.js.map +1 -1
  26. package/dist/esm/table-column/text/group-header-view/index.d.ts +8 -12
  27. package/dist/esm/table-column/text/group-header-view/index.js +11 -27
  28. package/dist/esm/table-column/text/group-header-view/index.js.map +1 -1
  29. package/dist/esm/table-column/text/index.d.ts +3 -28
  30. package/dist/esm/table-column/text/index.js +3 -23
  31. package/dist/esm/table-column/text/index.js.map +1 -1
  32. package/dist/esm/table-column/text-base/cell-view/index.d.ts +30 -0
  33. package/dist/esm/table-column/text-base/cell-view/index.js +23 -0
  34. package/dist/esm/table-column/text-base/cell-view/index.js.map +1 -0
  35. package/dist/esm/table-column/text-base/cell-view/styles.js.map +1 -0
  36. package/dist/esm/table-column/text-base/cell-view/template.d.ts +2 -0
  37. package/dist/esm/table-column/{text → text-base}/cell-view/template.js +1 -1
  38. package/dist/esm/table-column/text-base/cell-view/template.js.map +1 -0
  39. package/dist/esm/table-column/text-base/group-header-view/index.d.ts +35 -0
  40. package/dist/esm/table-column/text-base/group-header-view/index.js +31 -0
  41. package/dist/esm/table-column/text-base/group-header-view/index.js.map +1 -0
  42. package/dist/esm/table-column/text-base/group-header-view/styles.js.map +1 -0
  43. package/dist/esm/table-column/text-base/group-header-view/template.d.ts +2 -0
  44. package/dist/esm/table-column/{text → text-base}/group-header-view/template.js +2 -4
  45. package/dist/esm/table-column/text-base/group-header-view/template.js.map +1 -0
  46. package/dist/esm/table-column/text-base/index.d.ts +32 -0
  47. package/dist/esm/table-column/text-base/index.js +26 -0
  48. package/dist/esm/table-column/text-base/index.js.map +1 -0
  49. package/package.json +3 -3
  50. package/dist/esm/icons/file-export.d.ts +0 -13
  51. package/dist/esm/icons/file-export.js +0 -16
  52. package/dist/esm/icons/file-export.js.map +0 -1
  53. package/dist/esm/icons/share-square.d.ts +0 -13
  54. package/dist/esm/icons/share-square.js +0 -16
  55. package/dist/esm/icons/share-square.js.map +0 -1
  56. package/dist/esm/table-column/text/cell-view/styles.js.map +0 -1
  57. package/dist/esm/table-column/text/cell-view/template.d.ts +0 -2
  58. package/dist/esm/table-column/text/cell-view/template.js.map +0 -1
  59. package/dist/esm/table-column/text/group-header-view/styles.js.map +0 -1
  60. package/dist/esm/table-column/text/group-header-view/template.d.ts +0 -2
  61. package/dist/esm/table-column/text/group-header-view/template.js.map +0 -1
  62. /package/dist/esm/table-column/{text → text-base}/cell-view/styles.d.ts +0 -0
  63. /package/dist/esm/table-column/{text → text-base}/cell-view/styles.js +0 -0
  64. /package/dist/esm/table-column/{text → text-base}/group-header-view/styles.d.ts +0 -0
  65. /package/dist/esm/table-column/{text → text-base}/group-header-view/styles.js +0 -0
@@ -0,0 +1,30 @@
1
+ import { TableCellView } from '../../base/cell-view';
2
+ import type { TableCellRecord } from '../../base/types';
3
+ /**
4
+ * The cell view base class for displaying fields of any type as text.
5
+ */
6
+ export declare abstract class TableColumnTextCellViewBase<TCellRecord extends TableCellRecord = TableCellRecord, TColumnConfig = unknown> extends TableCellView<TCellRecord, TColumnConfig> {
7
+ /** @internal */
8
+ isValidContentAndHasOverflow: boolean;
9
+ /** @internal */
10
+ textSpan: HTMLElement;
11
+ /**
12
+ * Returns the text to render in the cell when it contains a valid value (i.e. when shouldUsePlaceholder() is false).
13
+ * If the implementation has branching code paths then it must be marked with @volatile.
14
+ * https://www.fast.design/docs/fast-element/observables-and-state/#observable-features
15
+ */
16
+ abstract get text(): string;
17
+ /**
18
+ * Returns the text to render in the cell when it contains an invalid value (i.e. when shouldUsePlaceholder() is true).
19
+ * If the implementation has branching code paths then it must be marked with @volatile.
20
+ * https://www.fast.design/docs/fast-element/observables-and-state/#observable-features
21
+ */
22
+ abstract get placeholder(): string;
23
+ /**
24
+ * Returns whether to display the placeholder value or the text value
25
+ * If the implementation has branching code paths then it must be marked with @volatile.
26
+ * https://www.fast.design/docs/fast-element/observables-and-state/#observable-features
27
+ * */
28
+ abstract get shouldUsePlaceholder(): boolean;
29
+ get content(): string;
30
+ }
@@ -0,0 +1,23 @@
1
+ import { __decorate } from "tslib";
2
+ import { observable, volatile } from '@microsoft/fast-element';
3
+ import { TableCellView } from '../../base/cell-view';
4
+ /**
5
+ * The cell view base class for displaying fields of any type as text.
6
+ */
7
+ export class TableColumnTextCellViewBase extends TableCellView {
8
+ constructor() {
9
+ super(...arguments);
10
+ /** @internal */
11
+ this.isValidContentAndHasOverflow = false;
12
+ }
13
+ get content() {
14
+ return this.shouldUsePlaceholder ? this.placeholder : this.text;
15
+ }
16
+ }
17
+ __decorate([
18
+ observable
19
+ ], TableColumnTextCellViewBase.prototype, "isValidContentAndHasOverflow", void 0);
20
+ __decorate([
21
+ volatile
22
+ ], TableColumnTextCellViewBase.prototype, "content", null);
23
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/table-column/text-base/cell-view/index.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AAC/D,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAGrD;;GAEG;AACH,MAAM,OAAgB,2BAGpB,SAAQ,aAAyC;IAHnD;;QAII,gBAAgB;QAET,iCAA4B,GAAG,KAAK,CAAC;IA8BhD,CAAC;IAHG,IAAW,OAAO;QACd,OAAO,IAAI,CAAC,oBAAoB,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC;IACpE,CAAC;CACJ;AA9BG;IADC,UAAU;iFACiC;AA2B5C;IADC,QAAQ;0DAGR"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"styles.js","sourceRoot":"","sources":["../../../../../src/table-column/text-base/cell-view/styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,yBAAyB,CAAC;AAC9C,OAAO,EACH,QAAQ,EACR,aAAa,EACb,qBAAqB,EACxB,MAAM,uCAAuC,CAAC;AAE/C,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,CAAA;;gBAET,QAAQ;iBACP,aAAa;;;;;;;iBAOb,qBAAqB;;CAErC,CAAC"}
@@ -0,0 +1,2 @@
1
+ import type { TableColumnTextCellViewBase } from '.';
2
+ export declare const template: import("@microsoft/fast-element").ViewTemplate<TableColumnTextCellViewBase<import("../../base/types").TableCellRecord, unknown>, any>;
@@ -2,7 +2,7 @@ import { html, ref } from '@microsoft/fast-element';
2
2
  export const template = html `
3
3
  <span
4
4
  ${ref('textSpan')}
5
- class="${x => (typeof x.cellRecord.value === 'string' ? '' : 'placeholder')}"
5
+ class="${x => (x.shouldUsePlaceholder ? 'placeholder' : '')}"
6
6
  @mouseover="${x => {
7
7
  x.isValidContentAndHasOverflow = !!x.content && x.textSpan.offsetWidth < x.textSpan.scrollWidth;
8
8
  }}"
@@ -0,0 +1 @@
1
+ {"version":3,"file":"template.js","sourceRoot":"","sources":["../../../../../src/table-column/text-base/cell-view/template.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,GAAG,EAAE,MAAM,yBAAyB,CAAC;AAIpD,MAAM,CAAC,MAAM,QAAQ,GAAG,IAAI,CAA6B;;UAE/C,GAAG,CAAC,UAAU,CAAC;iBACR,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,oBAAoB,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,EAAE,CAAC;sBAC7C,CAAC,CAAC,EAAE;IAClB,CAAC,CAAC,4BAA4B,GAAG,CAAC,CAAC,CAAC,CAAC,OAAO,IAAI,CAAC,CAAC,QAAQ,CAAC,WAAW,GAAG,CAAC,CAAC,QAAQ,CAAC,WAAW,CAAC;AACpG,CAAC;qBACgB,CAAC,CAAC,EAAE;IACjB,CAAC,CAAC,4BAA4B,GAAG,KAAK,CAAC;AAC3C,CAAC;gBACW,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,4BAA4B,CAAC,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,IAAI,CAAC;;UAE9D,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,OAAO;;CAEvB,CAAC"}
@@ -0,0 +1,35 @@
1
+ import { TableGroupHeaderView } from '../../base/group-header-view';
2
+ import type { TableFieldValue } from '../../../table/types';
3
+ import type { TableColumnWithPlaceholderColumnConfig } from '../../base/types';
4
+ /**
5
+ * The group header view base class for displaying fields of any type as text.
6
+ */
7
+ export declare abstract class TableColumnTextGroupHeaderViewBase<TGroupValue = TableFieldValue, TColumnConfig = TableColumnWithPlaceholderColumnConfig> extends TableGroupHeaderView<TGroupValue, TColumnConfig> {
8
+ /** @internal */
9
+ textSpan: HTMLElement;
10
+ /** @internal */
11
+ hasOverflow: boolean;
12
+ /**
13
+ * Returns the text to render in the cell when it contains a valid value (i.e. when shouldUsePlaceholder() is false).
14
+ * If the implementation has branching code paths then it must be marked with @volatile.
15
+ * https://www.fast.design/docs/fast-element/observables-and-state/#observable-features
16
+ */
17
+ abstract get text(): string;
18
+ /**
19
+ * Returns the text to render in the cell when it contains an invalid value (i.e. when shouldUsePlaceholder() is true).
20
+ * If the implementation has branching code paths then it must be marked with @volatile.
21
+ * https://www.fast.design/docs/fast-element/observables-and-state/#observable-features
22
+ */
23
+ abstract get placeholder(): string;
24
+ /**
25
+ * Returns whether to display the placeholder value or the text value
26
+ * If the implementation has branching code paths then it must be marked with @volatile.
27
+ * https://www.fast.design/docs/fast-element/observables-and-state/#observable-features
28
+ * */
29
+ abstract get shouldUsePlaceholder(): boolean;
30
+ get content(): string;
31
+ /** @internal */
32
+ updateTitleOverflow(): void;
33
+ /** @internal */
34
+ clearTitleOverflow(): void;
35
+ }
@@ -0,0 +1,31 @@
1
+ import { __decorate } from "tslib";
2
+ import { observable, volatile } from '@microsoft/fast-element';
3
+ import { TableGroupHeaderView } from '../../base/group-header-view';
4
+ /**
5
+ * The group header view base class for displaying fields of any type as text.
6
+ */
7
+ export class TableColumnTextGroupHeaderViewBase extends TableGroupHeaderView {
8
+ constructor() {
9
+ super(...arguments);
10
+ /** @internal */
11
+ this.hasOverflow = false;
12
+ }
13
+ get content() {
14
+ return this.shouldUsePlaceholder ? this.placeholder : this.text;
15
+ }
16
+ /** @internal */
17
+ updateTitleOverflow() {
18
+ this.hasOverflow = this.textSpan.offsetWidth < this.textSpan.scrollWidth;
19
+ }
20
+ /** @internal */
21
+ clearTitleOverflow() {
22
+ this.hasOverflow = false;
23
+ }
24
+ }
25
+ __decorate([
26
+ observable
27
+ ], TableColumnTextGroupHeaderViewBase.prototype, "hasOverflow", void 0);
28
+ __decorate([
29
+ volatile
30
+ ], TableColumnTextGroupHeaderViewBase.prototype, "content", null);
31
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/table-column/text-base/group-header-view/index.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AAC/D,OAAO,EAAE,oBAAoB,EAAE,MAAM,8BAA8B,CAAC;AAIpE;;GAEG;AACH,MAAM,OAAgB,kCAGpB,SAAQ,oBAAgD;IAH1D;;QAOI,gBAAgB;QAET,gBAAW,GAAG,KAAK,CAAC;IAqC/B,CAAC;IAbG,IAAW,OAAO;QACd,OAAO,IAAI,CAAC,oBAAoB,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC;IACpE,CAAC;IAED,gBAAgB;IACT,mBAAmB;QACtB,IAAI,CAAC,WAAW,GAAG,IAAI,CAAC,QAAQ,CAAC,WAAW,GAAG,IAAI,CAAC,QAAQ,CAAC,WAAW,CAAC;IAC7E,CAAC;IAED,gBAAgB;IACT,kBAAkB;QACrB,IAAI,CAAC,WAAW,GAAG,KAAK,CAAC;IAC7B,CAAC;CACJ;AArCG;IADC,UAAU;uEACgB;AAwB3B;IADC,QAAQ;iEAGR"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"styles.js","sourceRoot":"","sources":["../../../../../src/table-column/text-base/group-header-view/styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,yBAAyB,CAAC;AAC9C,OAAO,EACH,QAAQ,EACR,aAAa,EACb,qBAAqB,EACxB,MAAM,uCAAuC,CAAC;AAE/C,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,CAAA;;gBAET,QAAQ;iBACP,aAAa;;;;;;;iBAOb,qBAAqB;;CAErC,CAAC"}
@@ -0,0 +1,2 @@
1
+ import type { TableColumnTextGroupHeaderViewBase } from '.';
2
+ export declare const template: import("@microsoft/fast-element").ViewTemplate<TableColumnTextGroupHeaderViewBase<import("../../../table/types").TableFieldValue, import("../../base/types").TableColumnWithPlaceholderColumnConfig>, any>;
@@ -2,12 +2,10 @@ import { html, ref } from '@microsoft/fast-element';
2
2
  export const template = html `
3
3
  <span
4
4
  ${ref('textSpan')}
5
- class="${x => (typeof x.groupHeaderValue === 'string' ? '' : 'placeholder')}"
5
+ class="${x => (x.shouldUsePlaceholder ? 'placeholder' : '')}"
6
6
  @mouseover="${x => x.updateTitleOverflow()}"
7
7
  @mouseout="${x => x.clearTitleOverflow()}"
8
- title="${x => (x.isValidContentAndHasOverflow && x.content
9
- ? x.content
10
- : undefined)}"
8
+ title="${x => (x.hasOverflow && x.content ? x.content : undefined)}"
11
9
  >
12
10
  ${x => x.content}
13
11
  </span>
@@ -0,0 +1 @@
1
+ {"version":3,"file":"template.js","sourceRoot":"","sources":["../../../../../src/table-column/text-base/group-header-view/template.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,GAAG,EAAE,MAAM,yBAAyB,CAAC;AAGpD,MAAM,CAAC,MAAM,QAAQ,GAAG,IAAI,CAAoC;;UAEtD,GAAG,CAAC,UAAU,CAAC;iBACR,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,oBAAoB,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,EAAE,CAAC;sBAC7C,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,mBAAmB,EAAE;qBAC7B,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,kBAAkB,EAAE;iBAC/B,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,WAAW,IAAI,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;;UAEhE,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,OAAO;;CAEvB,CAAC"}
@@ -0,0 +1,32 @@
1
+ import { TableColumn } from '../base';
2
+ import type { TableColumnWithPlaceholderColumnConfig } from '../base/types';
3
+ declare const TableColumnTextBase_base: (abstract new (...args: any[]) => {
4
+ groupingDisabled: boolean;
5
+ groupIndex?: number | null | undefined;
6
+ groupingDisabledChanged(): void;
7
+ groupIndexChanged(): void;
8
+ readonly columnInternals: import("../base/models/column-internals").ColumnInternals<unknown>;
9
+ }) & (abstract new (...args: any[]) => {
10
+ fractionalWidth?: number | null | undefined;
11
+ minPixelWidth?: number | null | undefined;
12
+ fractionalWidthChanged(): void;
13
+ minPixelWidthChanged(): void;
14
+ readonly columnInternals: import("../base/models/column-internals").ColumnInternals<unknown>;
15
+ }) & ((abstract new (options: import("../base/models/column-internals").ColumnInternalsOptions) => TableColumn<TableColumnWithPlaceholderColumnConfig>) & {
16
+ compose<T extends import("@microsoft/fast-foundation").FoundationElementDefinition = import("@microsoft/fast-foundation").FoundationElementDefinition, K extends import("@microsoft/fast-element").Constructable<import("@microsoft/fast-foundation").FoundationElement> = import("@microsoft/fast-element").Constructable<import("@microsoft/fast-foundation").FoundationElement>>(this: K, elementDefinition: T): (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<T> | undefined) => import("@microsoft/fast-foundation").FoundationElementRegistry<T, K>;
17
+ from<TBase extends {
18
+ new (): HTMLElement;
19
+ prototype: HTMLElement;
20
+ }>(BaseType: TBase): new () => InstanceType<TBase> & import("@microsoft/fast-element").FASTElement;
21
+ define<TType extends Function>(type: TType, nameOrDef?: string | import("@microsoft/fast-element").PartialFASTElementDefinition | undefined): TType;
22
+ });
23
+ /**
24
+ * The base class for table columns that display fields of any type as text.
25
+ */
26
+ export declare abstract class TableColumnTextBase extends TableColumnTextBase_base {
27
+ fieldName?: string;
28
+ placeholder?: string;
29
+ protected fieldNameChanged(): void;
30
+ protected placeholderChanged(): void;
31
+ }
32
+ export {};
@@ -0,0 +1,26 @@
1
+ import { __decorate } from "tslib";
2
+ import { attr } from '@microsoft/fast-element';
3
+ import { mixinFractionalWidthColumnAPI } from '../mixins/fractional-width-column';
4
+ import { TableColumn } from '../base';
5
+ import { mixinGroupableColumnAPI } from '../mixins/groupable-column';
6
+ /**
7
+ * The base class for table columns that display fields of any type as text.
8
+ */
9
+ export class TableColumnTextBase extends mixinGroupableColumnAPI(mixinFractionalWidthColumnAPI((TableColumn))) {
10
+ fieldNameChanged() {
11
+ this.columnInternals.dataRecordFieldNames = [this.fieldName];
12
+ this.columnInternals.operandDataRecordFieldName = this.fieldName;
13
+ }
14
+ placeholderChanged() {
15
+ this.columnInternals.columnConfig = {
16
+ placeholder: this.placeholder ?? ''
17
+ };
18
+ }
19
+ }
20
+ __decorate([
21
+ attr({ attribute: 'field-name' })
22
+ ], TableColumnTextBase.prototype, "fieldName", void 0);
23
+ __decorate([
24
+ attr
25
+ ], TableColumnTextBase.prototype, "placeholder", void 0);
26
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/table-column/text-base/index.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,yBAAyB,CAAC;AAC/C,OAAO,EAAE,6BAA6B,EAAE,MAAM,mCAAmC,CAAC;AAClF,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAEtC,OAAO,EAAE,uBAAuB,EAAE,MAAM,4BAA4B,CAAC;AAErE;;GAEG;AACH,MAAM,OAAgB,mBAAoB,SAAQ,uBAAuB,CACrE,6BAA6B,CACzB,CAAA,WAAmD,CAAA,CACtD,CACJ;IAOa,gBAAgB;QACtB,IAAI,CAAC,eAAe,CAAC,oBAAoB,GAAG,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;QAC7D,IAAI,CAAC,eAAe,CAAC,0BAA0B,GAAG,IAAI,CAAC,SAAS,CAAC;IACrE,CAAC;IAES,kBAAkB;QACxB,IAAI,CAAC,eAAe,CAAC,YAAY,GAAG;YAChC,WAAW,EAAE,IAAI,CAAC,WAAW,IAAI,EAAE;SACtC,CAAC;IACN,CAAC;CACJ;AAfG;IADC,IAAI,CAAC,EAAE,SAAS,EAAE,YAAY,EAAE,CAAC;sDACR;AAG1B;IADC,IAAI;wDACuB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ni/nimble-components",
3
- "version": "18.13.6",
3
+ "version": "19.0.1",
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",
@@ -61,7 +61,7 @@
61
61
  "@microsoft/fast-element": "^1.10.1",
62
62
  "@microsoft/fast-foundation": "^2.47.1-0",
63
63
  "@microsoft/fast-web-utilities": "^6.0.0",
64
- "@ni/nimble-tokens": "^5.0.0",
64
+ "@ni/nimble-tokens": "^6.0.0",
65
65
  "@tanstack/table-core": "^8.7.0",
66
66
  "@tanstack/virtual-core": "^3.0.0-beta.44",
67
67
  "@types/d3-array": "^3.0.4",
@@ -119,7 +119,7 @@
119
119
  "karma-webkit-launcher": "^2.1.0",
120
120
  "karma-webpack": "^5.0.0",
121
121
  "playwright": "^1.30.0",
122
- "prettier": "^2.0.0",
122
+ "prettier": "^2.8.8",
123
123
  "prettier-eslint": "^15.0.1",
124
124
  "prettier-eslint-cli": "^7.1.0",
125
125
  "puppeteer": "^10.1.0",
@@ -1,13 +0,0 @@
1
- import { Icon } from '../icon-base';
2
- declare global {
3
- interface HTMLElementTagNameMap {
4
- 'nimble-icon-file-export': IconFileExport;
5
- }
6
- }
7
- /**
8
- * The icon component for the 'fileExport' icon
9
- */
10
- export declare class IconFileExport extends Icon {
11
- constructor();
12
- }
13
- export declare const iconFileExportTag: string;
@@ -1,16 +0,0 @@
1
- // AUTO-GENERATED FILE - DO NOT EDIT DIRECTLY
2
- // See generation source in nimble-components/build/generate-icons
3
- import { fileExport } from '@ni/nimble-tokens/dist/icons/js';
4
- import { DesignSystem } from '@microsoft/fast-foundation';
5
- import { Icon, registerIcon } from '../icon-base';
6
- /**
7
- * The icon component for the 'fileExport' icon
8
- */
9
- export class IconFileExport extends Icon {
10
- constructor() {
11
- super(fileExport);
12
- }
13
- }
14
- registerIcon('icon-file-export', IconFileExport);
15
- export const iconFileExportTag = DesignSystem.tagFor(IconFileExport);
16
- //# sourceMappingURL=file-export.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"file-export.js","sourceRoot":"","sources":["../../../src/icons/file-export.ts"],"names":[],"mappings":"AAAA,6CAA6C;AAC7C,kEAAkE;AAElE,OAAO,EAAE,UAAU,EAAE,MAAM,iCAAiC,CAAC;AAC7D,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAC1D,OAAO,EAAE,IAAI,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAQlD;;GAEG;AACH,MAAM,OAAO,cAAe,SAAQ,IAAI;IACpC;QACI,KAAK,CAAC,UAAU,CAAC,CAAC;IACtB,CAAC;CACJ;AAED,YAAY,CAAC,kBAAkB,EAAE,cAAc,CAAC,CAAC;AACjD,MAAM,CAAC,MAAM,iBAAiB,GAAG,YAAY,CAAC,MAAM,CAAC,cAAc,CAAC,CAAC"}
@@ -1,13 +0,0 @@
1
- import { Icon } from '../icon-base';
2
- declare global {
3
- interface HTMLElementTagNameMap {
4
- 'nimble-icon-share-square': IconShareSquare;
5
- }
6
- }
7
- /**
8
- * The icon component for the 'shareSquare' icon
9
- */
10
- export declare class IconShareSquare extends Icon {
11
- constructor();
12
- }
13
- export declare const iconShareSquareTag: string;
@@ -1,16 +0,0 @@
1
- // AUTO-GENERATED FILE - DO NOT EDIT DIRECTLY
2
- // See generation source in nimble-components/build/generate-icons
3
- import { shareSquare16X16 } from '@ni/nimble-tokens/dist/icons/js';
4
- import { DesignSystem } from '@microsoft/fast-foundation';
5
- import { Icon, registerIcon } from '../icon-base';
6
- /**
7
- * The icon component for the 'shareSquare' icon
8
- */
9
- export class IconShareSquare extends Icon {
10
- constructor() {
11
- super(shareSquare16X16);
12
- }
13
- }
14
- registerIcon('icon-share-square', IconShareSquare);
15
- export const iconShareSquareTag = DesignSystem.tagFor(IconShareSquare);
16
- //# sourceMappingURL=share-square.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"share-square.js","sourceRoot":"","sources":["../../../src/icons/share-square.ts"],"names":[],"mappings":"AAAA,6CAA6C;AAC7C,kEAAkE;AAElE,OAAO,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AACnE,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAC1D,OAAO,EAAE,IAAI,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAQlD;;GAEG;AACH,MAAM,OAAO,eAAgB,SAAQ,IAAI;IACrC;QACI,KAAK,CAAC,gBAAgB,CAAC,CAAC;IAC5B,CAAC;CACJ;AAED,YAAY,CAAC,mBAAmB,EAAE,eAAe,CAAC,CAAC;AACnD,MAAM,CAAC,MAAM,kBAAkB,GAAG,YAAY,CAAC,MAAM,CAAC,eAAe,CAAC,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"styles.js","sourceRoot":"","sources":["../../../../../src/table-column/text/cell-view/styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,yBAAyB,CAAC;AAC9C,OAAO,EACH,QAAQ,EACR,aAAa,EACb,qBAAqB,EACxB,MAAM,uCAAuC,CAAC;AAE/C,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,CAAA;;gBAET,QAAQ;iBACP,aAAa;;;;;;;iBAOb,qBAAqB;;CAErC,CAAC"}
@@ -1,2 +0,0 @@
1
- import type { TableColumnTextCellView } from '.';
2
- export declare const template: import("@microsoft/fast-element").ViewTemplate<TableColumnTextCellView, any>;
@@ -1 +0,0 @@
1
- {"version":3,"file":"template.js","sourceRoot":"","sources":["../../../../../src/table-column/text/cell-view/template.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,GAAG,EAAE,MAAM,yBAAyB,CAAC;AAIpD,MAAM,CAAC,MAAM,QAAQ,GAAG,IAAI,CAAyB;;UAE3C,GAAG,CAAC,UAAU,CAAC;iBACR,CAAC,CAAC,EAAE,CAAC,CAAC,OAAO,CAAC,CAAC,UAAU,CAAC,KAAK,KAAK,QAAQ,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,aAAa,CAAC;sBAC7D,CAAC,CAAC,EAAE;IAClB,CAAC,CAAC,4BAA4B,GAAG,CAAC,CAAC,CAAC,CAAC,OAAO,IAAI,CAAC,CAAC,QAAQ,CAAC,WAAW,GAAG,CAAC,CAAC,QAAQ,CAAC,WAAW,CAAC;AACpG,CAAC;qBACgB,CAAC,CAAC,EAAE;IACjB,CAAC,CAAC,4BAA4B,GAAG,KAAK,CAAC;AAC3C,CAAC;gBACW,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,4BAA4B,CAAC,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,IAAI,CAAC;;UAE9D,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,OAAO;;CAEvB,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"styles.js","sourceRoot":"","sources":["../../../../../src/table-column/text/group-header-view/styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,yBAAyB,CAAC;AAC9C,OAAO,EACH,QAAQ,EACR,aAAa,EACb,qBAAqB,EACxB,MAAM,uCAAuC,CAAC;AAE/C,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,CAAA;;gBAET,QAAQ;iBACP,aAAa;;;;;;;iBAOb,qBAAqB;;CAErC,CAAC"}
@@ -1,2 +0,0 @@
1
- import type { TableColumnTextGroupHeaderView } from '.';
2
- export declare const template: import("@microsoft/fast-element").ViewTemplate<TableColumnTextGroupHeaderView, any>;
@@ -1 +0,0 @@
1
- {"version":3,"file":"template.js","sourceRoot":"","sources":["../../../../../src/table-column/text/group-header-view/template.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,GAAG,EAAE,MAAM,yBAAyB,CAAC;AAGpD,MAAM,CAAC,MAAM,QAAQ,GAAG,IAAI,CAAgC;;UAElD,GAAG,CAAC,UAAU,CAAC;iBACR,CAAC,CAAC,EAAE,CAAC,CAAC,OAAO,CAAC,CAAC,gBAAgB,KAAK,QAAQ,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,aAAa,CAAC;sBAC7D,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,mBAAmB,EAAE;qBAC7B,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,kBAAkB,EAAE;iBAC/B,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,4BAA4B,IAAI,CAAC,CAAC,OAAO;IAC1D,CAAC,CAAC,CAAC,CAAC,OAAO;IACX,CAAC,CAAC,SAAS,CAAC;;UAEV,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,OAAO;;CAEvB,CAAC"}