@ni/ok-react 0.12.3 → 0.12.4

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.
@@ -0,0 +1,14 @@
1
+ import { FvSplitter, fvSplitterTag } from '@ni/ok-components/dist/esm/fv/splitter';
2
+ import { type EventName } from '../../utilities/react-wrapper';
3
+ export { fvSplitterTag };
4
+ export { type FvSplitter };
5
+ export declare const OkFvSplitter: import("@lit/react").ReactWebComponent<FvSplitter, {
6
+ onInput: EventName<FvSplitterInputEvent>;
7
+ onChange: EventName<FvSplitterChangeEvent>;
8
+ }>;
9
+ export interface FvSplitterInputEvent extends Event {
10
+ target: FvSplitter;
11
+ }
12
+ export interface FvSplitterChangeEvent extends Event {
13
+ target: FvSplitter;
14
+ }
@@ -0,0 +1,12 @@
1
+ 'use client';
2
+ import { FvSplitter, fvSplitterTag } from '@ni/ok-components/dist/esm/fv/splitter';
3
+ import { wrap } from '../../utilities/react-wrapper';
4
+ export { fvSplitterTag };
5
+ export {};
6
+ export const OkFvSplitter = wrap(FvSplitter, {
7
+ events: {
8
+ onInput: 'input',
9
+ onChange: 'change',
10
+ }
11
+ });
12
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/fv/splitter/index.ts"],"names":[],"mappings":"AAAA,YAAY,CAAC;AAEb,OAAO,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,wCAAwC,CAAC;AACnF,OAAO,EAAE,IAAI,EAAkB,MAAM,+BAA+B,CAAC;AAErE,OAAO,EAAE,aAAa,EAAE,CAAC;AACzB,OAAO,EAAmB,CAAC;AAC3B,MAAM,CAAC,MAAM,YAAY,GAAG,IAAI,CAAC,UAAU,EAAE;IACzC,MAAM,EAAE;QACJ,OAAO,EAAE,OAA0C;QACnD,QAAQ,EAAE,QAA4C;KACzD;CACJ,CAAC,CAAC","sourcesContent":["'use client';\n\nimport { FvSplitter, fvSplitterTag } from '@ni/ok-components/dist/esm/fv/splitter';\nimport { wrap, type EventName } from '../../utilities/react-wrapper';\n\nexport { fvSplitterTag };\nexport { type FvSplitter };\nexport const OkFvSplitter = wrap(FvSplitter, {\n events: {\n onInput: 'input' as EventName<FvSplitterInputEvent>,\n onChange: 'change' as EventName<FvSplitterChangeEvent>,\n }\n});\nexport interface FvSplitterInputEvent extends Event {\n target: FvSplitter;\n}\nexport interface FvSplitterChangeEvent extends Event {\n target: FvSplitter;\n}"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ni/ok-react",
3
- "version": "0.12.3",
3
+ "version": "0.12.4",
4
4
  "description": "React components for NI Ok Components",
5
5
  "keywords": [
6
6
  "ni",
@@ -45,11 +45,11 @@
45
45
  "license": "MIT",
46
46
  "peerDependencies": {
47
47
  "@lit/react": "^1.0.8",
48
- "@ni/ok-components": "^1.8.3",
48
+ "@ni/ok-components": "^1.9.0",
49
49
  "react": "^17 || ^18 || ^19"
50
50
  },
51
51
  "devDependencies": {
52
- "@ni/ok-components": "^1.8.3",
52
+ "@ni/ok-components": "^1.9.0",
53
53
  "@ni-private/eslint-config-nimble": "*",
54
54
  "typescript": "~5.8.3"
55
55
  }