@ni/nimble-react 0.7.8 → 0.7.10
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/esm/dialog/index.d.ts +2 -2
- package/dist/esm/dialog/index.js +2 -2
- package/dist/esm/dialog/index.js.map +1 -1
- package/dist/esm/drawer/index.d.ts +5 -2
- package/dist/esm/drawer/index.js +3 -2
- package/dist/esm/drawer/index.js.map +1 -1
- package/dist/esm/table/index.d.ts +5 -3
- package/dist/esm/table/index.js.map +1 -1
- package/package.json +3 -2
|
@@ -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,
|
|
3
|
+
export { type Dialog, DialogUserDismissed };
|
|
4
4
|
export declare const NimbleDialog: import("@lit/react").ReactWebComponent<Dialog<void>, {}>;
|
|
5
5
|
export type DialogRef = LegacyRef<Dialog>;
|
package/dist/esm/dialog/index.js
CHANGED
|
@@ -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 {
|
|
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;
|
|
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
|
-
|
|
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>;
|
package/dist/esm/drawer/index.js
CHANGED
|
@@ -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;
|
|
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<
|
|
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;
|
|
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.
|
|
3
|
+
"version": "0.7.10",
|
|
4
4
|
"description": "React components for the NI Nimble Design System",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ni",
|
|
@@ -30,6 +30,7 @@
|
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"@ni-private/eslint-config-nimble": "*",
|
|
32
32
|
"@ni/fast-web-utilities": "^10.0.0",
|
|
33
|
+
"@ni/nimble-components": "^34.10.0",
|
|
33
34
|
"@ni/nimble-tokens": "^8.13.5",
|
|
34
35
|
"@rollup/plugin-node-resolve": "^16.0.0",
|
|
35
36
|
"rollup": "^4.12.0",
|
|
@@ -37,7 +38,7 @@
|
|
|
37
38
|
},
|
|
38
39
|
"peerDependencies": {
|
|
39
40
|
"@lit/react": "^1.0.8",
|
|
40
|
-
"@ni/nimble-components": "^34.
|
|
41
|
+
"@ni/nimble-components": "^34.10.0",
|
|
41
42
|
"react": "^16 || ^17 || ^18"
|
|
42
43
|
}
|
|
43
44
|
}
|