@ni/nimble-react 0.13.2 → 0.14.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.
- package/dist/esm/chip/index.d.ts +10 -0
- package/dist/esm/chip/index.js +10 -0
- package/dist/esm/chip/index.js.map +1 -0
- package/package.json +3 -3
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Chip, chipTag } from '@ni/nimble-components/dist/esm/chip';
|
|
2
|
+
import { type EventName } from '../utilities/react-wrapper';
|
|
3
|
+
export { chipTag };
|
|
4
|
+
export { type Chip };
|
|
5
|
+
export declare const NimbleChip: import("@lit/react").ReactWebComponent<Chip, {
|
|
6
|
+
onRemove: EventName<ChipRemoveEvent>;
|
|
7
|
+
}>;
|
|
8
|
+
export interface ChipRemoveEvent extends CustomEvent {
|
|
9
|
+
target: Chip;
|
|
10
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Chip, chipTag } from '@ni/nimble-components/dist/esm/chip';
|
|
2
|
+
import { wrap } from '../utilities/react-wrapper';
|
|
3
|
+
export { chipTag };
|
|
4
|
+
export {};
|
|
5
|
+
export const NimbleChip = wrap(Chip, {
|
|
6
|
+
events: {
|
|
7
|
+
onRemove: 'remove',
|
|
8
|
+
}
|
|
9
|
+
});
|
|
10
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/chip/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,qCAAqC,CAAC;AACpE,OAAO,EAAE,IAAI,EAAkB,MAAM,4BAA4B,CAAC;AAElE,OAAO,EAAE,OAAO,EAAE,CAAC;AACnB,OAAO,EAAa,CAAC;AACrB,MAAM,CAAC,MAAM,UAAU,GAAG,IAAI,CAAC,IAAI,EAAE;IACjC,MAAM,EAAE;QACJ,QAAQ,EAAE,QAAsC;KACnD;CACJ,CAAC,CAAC","sourcesContent":["import { Chip, chipTag } from '@ni/nimble-components/dist/esm/chip';\nimport { wrap, type EventName } from '../utilities/react-wrapper';\n\nexport { chipTag };\nexport { type Chip };\nexport const NimbleChip = wrap(Chip, {\n events: {\n onRemove: 'remove' as EventName<ChipRemoveEvent>,\n }\n});\nexport interface ChipRemoveEvent extends CustomEvent {\n target: Chip;\n}\n"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ni/nimble-react",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.14.1",
|
|
4
4
|
"description": "React components for the NI Nimble Design System",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ni",
|
|
@@ -48,13 +48,13 @@
|
|
|
48
48
|
"license": "MIT",
|
|
49
49
|
"peerDependencies": {
|
|
50
50
|
"@lit/react": "^1.0.8",
|
|
51
|
-
"@ni/nimble-components": "^35.
|
|
51
|
+
"@ni/nimble-components": "^35.6.1",
|
|
52
52
|
"react": "^17 || ^18 || ^19"
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
55
|
"@ni-private/eslint-config-nimble": "*",
|
|
56
56
|
"@ni/fast-web-utilities": "^10.0.0",
|
|
57
|
-
"@ni/nimble-components": "^35.
|
|
57
|
+
"@ni/nimble-components": "^35.6.1",
|
|
58
58
|
"@ni/nimble-tokens": "^8.17.0",
|
|
59
59
|
"typescript": "~5.8.3"
|
|
60
60
|
}
|