@ni/nimble-react 0.7.7 → 0.7.9

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.
@@ -1,5 +1,5 @@
1
- import { Dialog, UserDismissed } from '@ni/nimble-components/dist/esm/dialog';
1
+ import { Dialog, UserDismissed as DialogUserDismissed } from '@ni/nimble-components/dist/esm/dialog';
2
2
  import type { LegacyRef } from 'react';
3
- export { type Dialog, UserDismissed };
3
+ export { type Dialog, DialogUserDismissed };
4
4
  export declare const NimbleDialog: import("@lit/react").ReactWebComponent<Dialog<void>, {}>;
5
5
  export type DialogRef = LegacyRef<Dialog>;
@@ -1,5 +1,5 @@
1
- import { Dialog, UserDismissed } from '@ni/nimble-components/dist/esm/dialog';
1
+ import { Dialog, UserDismissed as DialogUserDismissed } from '@ni/nimble-components/dist/esm/dialog';
2
2
  import { wrap } from '../utilities/react-wrapper';
3
- export { UserDismissed };
3
+ export { DialogUserDismissed };
4
4
  export const NimbleDialog = wrap(Dialog);
5
5
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/dialog/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,uCAAuC,CAAC;AAE9E,OAAO,EAAE,IAAI,EAAE,MAAM,4BAA4B,CAAC;AAElD,OAAO,EAAe,aAAa,EAAE,CAAC;AACtC,MAAM,CAAC,MAAM,YAAY,GAAG,IAAI,CAAC,MAAM,CAAC,CAAC","sourcesContent":["import { Dialog, UserDismissed } from '@ni/nimble-components/dist/esm/dialog';\nimport type { LegacyRef } from 'react';\nimport { wrap } from '../utilities/react-wrapper';\n\nexport { type Dialog, UserDismissed };\nexport const NimbleDialog = wrap(Dialog);\n\nexport type DialogRef = LegacyRef<Dialog>;\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/dialog/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,aAAa,IAAI,mBAAmB,EAAE,MAAM,uCAAuC,CAAC;AAErG,OAAO,EAAE,IAAI,EAAE,MAAM,4BAA4B,CAAC;AAElD,OAAO,EAAe,mBAAmB,EAAE,CAAC;AAC5C,MAAM,CAAC,MAAM,YAAY,GAAG,IAAI,CAAC,MAAM,CAAC,CAAC","sourcesContent":["import { Dialog, UserDismissed as DialogUserDismissed } from '@ni/nimble-components/dist/esm/dialog';\nimport type { LegacyRef } from 'react';\nimport { wrap } from '../utilities/react-wrapper';\n\nexport { type Dialog, DialogUserDismissed };\nexport const NimbleDialog = wrap(Dialog);\n\nexport type DialogRef = LegacyRef<Dialog>;\n"]}
@@ -1,3 +1,6 @@
1
- import { Drawer } from '@ni/nimble-components/dist/esm/drawer';
2
- export { type Drawer };
1
+ import { Drawer, UserDismissed as DrawerUserDismissed } from '@ni/nimble-components/dist/esm/drawer';
2
+ import { DrawerLocation } from '@ni/nimble-components/dist/esm/drawer/types';
3
+ import type { LegacyRef } from 'react';
4
+ export { type Drawer, DrawerUserDismissed, DrawerLocation };
3
5
  export declare const NimbleDrawer: import("@lit/react").ReactWebComponent<Drawer<void>, {}>;
6
+ export type DrawerRef = LegacyRef<Drawer>;
@@ -1,5 +1,6 @@
1
- import { Drawer } from '@ni/nimble-components/dist/esm/drawer';
1
+ import { Drawer, UserDismissed as DrawerUserDismissed } from '@ni/nimble-components/dist/esm/drawer';
2
+ import { DrawerLocation } from '@ni/nimble-components/dist/esm/drawer/types';
2
3
  import { wrap } from '../utilities/react-wrapper';
3
- export {};
4
+ export { DrawerUserDismissed, DrawerLocation };
4
5
  export const NimbleDrawer = wrap(Drawer);
5
6
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/drawer/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,uCAAuC,CAAC;AAC/D,OAAO,EAAE,IAAI,EAAE,MAAM,4BAA4B,CAAC;AAElD,OAAO,EAAe,CAAC;AACvB,MAAM,CAAC,MAAM,YAAY,GAAG,IAAI,CAAC,MAAM,CAAC,CAAC","sourcesContent":["import { Drawer } from '@ni/nimble-components/dist/esm/drawer';\nimport { wrap } from '../utilities/react-wrapper';\n\nexport { type Drawer };\nexport const NimbleDrawer = wrap(Drawer);\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/drawer/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,aAAa,IAAI,mBAAmB,EAAE,MAAM,uCAAuC,CAAC;AACrG,OAAO,EAAE,cAAc,EAAE,MAAM,6CAA6C,CAAC;AAE7E,OAAO,EAAE,IAAI,EAAE,MAAM,4BAA4B,CAAC;AAElD,OAAO,EAAe,mBAAmB,EAAE,cAAc,EAAE,CAAC;AAC5D,MAAM,CAAC,MAAM,YAAY,GAAG,IAAI,CAAC,MAAM,CAAC,CAAC","sourcesContent":["import { Drawer, UserDismissed as DrawerUserDismissed } from '@ni/nimble-components/dist/esm/drawer';\nimport { DrawerLocation } from '@ni/nimble-components/dist/esm/drawer/types';\nimport type { LegacyRef } from 'react';\nimport { wrap } from '../utilities/react-wrapper';\n\nexport { type Drawer, DrawerUserDismissed, DrawerLocation };\nexport const NimbleDrawer = wrap(Drawer);\n\nexport type DrawerRef = LegacyRef<Drawer>;\n"]}
@@ -1,8 +1,9 @@
1
1
  import { Table } from '@ni/nimble-components/dist/esm/table';
2
- import type { TableActionMenuToggleEventDetail, TableRowExpansionToggleEventDetail, TableColumnConfigurationChangeEventDetail, TableRowSelectionEventDetail } from '@ni/nimble-components/dist/esm/table/types';
2
+ import type { TableActionMenuToggleEventDetail, TableRowExpansionToggleEventDetail, TableColumnConfigurationChangeEventDetail, TableRowSelectionEventDetail, TableRecord, TableSetRecordHierarchyOptions } from '@ni/nimble-components/dist/esm/table/types';
3
+ import type { LegacyRef } from 'react';
3
4
  import { type EventName } from '../utilities/react-wrapper';
4
- export { type Table };
5
- export declare const NimbleTable: import("@lit/react").ReactWebComponent<Table<import("@ni/nimble-components/dist/esm/table/types").TableRecord>, {
5
+ export { type Table, type TableRecord, type TableSetRecordHierarchyOptions };
6
+ export declare const NimbleTable: import("@lit/react").ReactWebComponent<Table<TableRecord>, {
6
7
  onActionMenuBeforeToggle: EventName<TableActionMenuBeforeToggleEvent>;
7
8
  onActionMenuToggle: EventName<TableActionMenuToggleEvent>;
8
9
  onSelectionChange: EventName<TableSelectionChangeEvent>;
@@ -24,3 +25,4 @@ export interface TableColumnConfigurationChangeEvent extends CustomEvent<TableCo
24
25
  export interface TableRowExpandToggleEvent extends CustomEvent<TableRowExpansionToggleEventDetail> {
25
26
  target: Table;
26
27
  }
28
+ export type TableRef = LegacyRef<Table>;
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/table/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,sCAAsC,CAAC;AAO7D,OAAO,EAAE,IAAI,EAAkB,MAAM,4BAA4B,CAAC;AAElE,OAAO,EAAc,CAAC;AACtB,MAAM,CAAC,MAAM,WAAW,GAAG,IAAI,CAAC,KAAK,EAAE;IACnC,MAAM,EAAE;QACJ,wBAAwB,EAAE,0BAAyE;QACnG,kBAAkB,EAAE,oBAA6D;QACjF,iBAAiB,EAAE,kBAA0D;QAC7E,2BAA2B,EAAE,6BAA+E;QAC5G,iBAAiB,EAAE,mBAA2D;KACjF;CACJ,CAAC,CAAC","sourcesContent":["import { Table } from '@ni/nimble-components/dist/esm/table';\nimport type {\n TableActionMenuToggleEventDetail,\n TableRowExpansionToggleEventDetail,\n TableColumnConfigurationChangeEventDetail,\n TableRowSelectionEventDetail\n} from '@ni/nimble-components/dist/esm/table/types';\nimport { wrap, type EventName } from '../utilities/react-wrapper';\n\nexport { type Table };\nexport const NimbleTable = wrap(Table, {\n events: {\n onActionMenuBeforeToggle: 'action-menu-beforetoggle' as EventName<TableActionMenuBeforeToggleEvent>,\n onActionMenuToggle: 'action-menu-toggle' as EventName<TableActionMenuToggleEvent>,\n onSelectionChange: 'selection-change' as EventName<TableSelectionChangeEvent>,\n onColumnConfigurationChange: 'column-configuration-change' as EventName<TableColumnConfigurationChangeEvent>,\n onRowExpandToggle: 'row-expand-toggle' as EventName<TableRowExpandToggleEvent>,\n }\n});\nexport interface TableActionMenuBeforeToggleEvent extends CustomEvent<TableActionMenuToggleEventDetail> {\n target: Table;\n}\nexport interface TableActionMenuToggleEvent extends CustomEvent<TableActionMenuToggleEventDetail> {\n target: Table;\n}\nexport interface TableSelectionChangeEvent extends CustomEvent<TableRowSelectionEventDetail> {\n target: Table;\n}\nexport interface TableColumnConfigurationChangeEvent extends CustomEvent<TableColumnConfigurationChangeEventDetail> {\n target: Table;\n}\nexport interface TableRowExpandToggleEvent extends CustomEvent<TableRowExpansionToggleEventDetail> {\n target: Table;\n}\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/table/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,sCAAsC,CAAC;AAU7D,OAAO,EAAE,IAAI,EAAkB,MAAM,4BAA4B,CAAC;AAElE,OAAO,EAAqE,CAAC;AAC7E,MAAM,CAAC,MAAM,WAAW,GAAG,IAAI,CAAC,KAAK,EAAE;IACnC,MAAM,EAAE;QACJ,wBAAwB,EAAE,0BAAyE;QACnG,kBAAkB,EAAE,oBAA6D;QACjF,iBAAiB,EAAE,kBAA0D;QAC7E,2BAA2B,EAAE,6BAA+E;QAC5G,iBAAiB,EAAE,mBAA2D;KACjF;CACJ,CAAC,CAAC","sourcesContent":["import { Table } from '@ni/nimble-components/dist/esm/table';\nimport type {\n TableActionMenuToggleEventDetail,\n TableRowExpansionToggleEventDetail,\n TableColumnConfigurationChangeEventDetail,\n TableRowSelectionEventDetail,\n TableRecord,\n TableSetRecordHierarchyOptions\n} from '@ni/nimble-components/dist/esm/table/types';\nimport type { LegacyRef } from 'react';\nimport { wrap, type EventName } from '../utilities/react-wrapper';\n\nexport { type Table, type TableRecord, type TableSetRecordHierarchyOptions };\nexport const NimbleTable = wrap(Table, {\n events: {\n onActionMenuBeforeToggle: 'action-menu-beforetoggle' as EventName<TableActionMenuBeforeToggleEvent>,\n onActionMenuToggle: 'action-menu-toggle' as EventName<TableActionMenuToggleEvent>,\n onSelectionChange: 'selection-change' as EventName<TableSelectionChangeEvent>,\n onColumnConfigurationChange: 'column-configuration-change' as EventName<TableColumnConfigurationChangeEvent>,\n onRowExpandToggle: 'row-expand-toggle' as EventName<TableRowExpandToggleEvent>,\n }\n});\nexport interface TableActionMenuBeforeToggleEvent extends CustomEvent<TableActionMenuToggleEventDetail> {\n target: Table;\n}\nexport interface TableActionMenuToggleEvent extends CustomEvent<TableActionMenuToggleEventDetail> {\n target: Table;\n}\nexport interface TableSelectionChangeEvent extends CustomEvent<TableRowSelectionEventDetail> {\n target: Table;\n}\nexport interface TableColumnConfigurationChangeEvent extends CustomEvent<TableColumnConfigurationChangeEventDetail> {\n target: Table;\n}\nexport interface TableRowExpandToggleEvent extends CustomEvent<TableRowExpansionToggleEventDetail> {\n target: Table;\n}\n\nexport type TableRef = LegacyRef<Table>;\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ni/nimble-react",
3
- "version": "0.7.7",
3
+ "version": "0.7.9",
4
4
  "description": "React components for the NI Nimble Design System",
5
5
  "keywords": [
6
6
  "ni",
@@ -37,7 +37,7 @@
37
37
  },
38
38
  "peerDependencies": {
39
39
  "@lit/react": "^1.0.8",
40
- "@ni/nimble-components": "^34.8.5",
40
+ "@ni/nimble-components": "^34.9.0",
41
41
  "react": "^16 || ^17 || ^18"
42
42
  }
43
43
  }