@oicl/openbridge-webcomponents-react 2.0.0-next.36 → 2.0.0-next.38

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,7 +1,17 @@
1
1
  import { EventName } from '@lit/react';
2
2
  import { ObcStepperBox as ObcStepperBoxElement } from '@oicl/openbridge-webcomponents/dist/components/stepper-box/stepper-box.js';
3
3
  export declare const ObcStepperBox: import("@lit/react").ReactWebComponent<ObcStepperBoxElement, {
4
- onDown: EventName<CustomEvent<void>>;
5
- onUp: EventName<CustomEvent<void>>;
4
+ onDown: EventName<CustomEvent<{
5
+ value: number;
6
+ }>>;
7
+ onUp: EventName<CustomEvent<{
8
+ value: number;
9
+ }>>;
10
+ onInput: EventName<CustomEvent<{
11
+ value: string;
12
+ }>>;
13
+ onChange: EventName<CustomEvent<{
14
+ value: number | null;
15
+ }>>;
6
16
  }>;
7
17
  //# sourceMappingURL=stepper-box.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"stepper-box.d.ts","sourceRoot":"","sources":["../../src/components/stepper-box/stepper-box.ts"],"names":[],"mappings":"AAEC,OAAO,EAAkB,SAAS,EAAC,MAAM,YAAY,CAAC;AAEtD,OAAO,EAAC,aAAa,IAAI,oBAAoB,EAAC,MAAM,2EAA2E,CAAC;AAMhI,eAAO,MAAM,aAAa;YAMJ,SAAS,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC;UAChC,SAAS,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC;EAE3C,CAAC"}
1
+ {"version":3,"file":"stepper-box.d.ts","sourceRoot":"","sources":["../../src/components/stepper-box/stepper-box.ts"],"names":[],"mappings":"AAEC,OAAO,EAAkB,SAAS,EAAC,MAAM,YAAY,CAAC;AAEtD,OAAO,EAAC,aAAa,IAAI,oBAAoB,EAAC,MAAM,2EAA2E,CAAC;AAMhI,eAAO,MAAM,aAAa;YAMJ,SAAS,CAAC,WAAW,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAC,CAAC,CAAC;UAC3C,SAAS,CAAC,WAAW,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAC,CAAC,CAAC;aACjC,SAAS,CAAC,WAAW,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAC,CAAC,CAAC;cACrC,SAAS,CAAC,WAAW,CAAC;QAAC,KAAK,EAAE,MAAM,GAAG,IAAI,CAAA;KAAC,CAAC,CAAC;EAErE,CAAC"}
@@ -8,6 +8,8 @@ export const ObcStepperBox = createComponent({
8
8
  events: {
9
9
  onDown: 'down',
10
10
  onUp: 'up',
11
+ onInput: 'input',
12
+ onChange: 'change',
11
13
  }
12
14
  });
13
15
  //# sourceMappingURL=stepper-box.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"stepper-box.js","sourceRoot":"","sources":["../../src/components/stepper-box/stepper-box.ts"],"names":[],"mappings":"AACC,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAC,eAAe,EAAY,MAAM,YAAY,CAAC;AAEtD,OAAO,EAAC,aAAa,IAAI,oBAAoB,EAAC,MAAM,2EAA2E,CAAC;AAMhI,MAAM,CAAC,MAAM,aAAa,GAAG,eAAe,CAAC;IAC3C,KAAK,EAAE,KAAK;IACZ,OAAO,EAAE,iBAAiB;IAC1B,YAAY,EAAE,oBAAoB;IAClC,MAAM,EAAE;QAEN,MAAM,EAAE,MAAsC;QAC9C,IAAI,EAAE,IAAoC;KAC3C;CACD,CAAC,CAAC","sourcesContent":["\n import * as React from 'react';\n import {createComponent, EventName} from '@lit/react';\n \n import {ObcStepperBox as ObcStepperBoxElement} from '@oicl/openbridge-webcomponents/dist/components/stepper-box/stepper-box.js';\n \n \n \n\n \n export const ObcStepperBox = createComponent({\n react: React,\n tagName: 'obc-stepper-box',\n elementClass: ObcStepperBoxElement,\n events: {\n \n onDown: 'down' as EventName<CustomEvent<void>>,\n onUp: 'up' as EventName<CustomEvent<void>>,\n }\n });\n \n "]}
1
+ {"version":3,"file":"stepper-box.js","sourceRoot":"","sources":["../../src/components/stepper-box/stepper-box.ts"],"names":[],"mappings":"AACC,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAC,eAAe,EAAY,MAAM,YAAY,CAAC;AAEtD,OAAO,EAAC,aAAa,IAAI,oBAAoB,EAAC,MAAM,2EAA2E,CAAC;AAMhI,MAAM,CAAC,MAAM,aAAa,GAAG,eAAe,CAAC;IAC3C,KAAK,EAAE,KAAK;IACZ,OAAO,EAAE,iBAAiB;IAC1B,YAAY,EAAE,oBAAoB;IAClC,MAAM,EAAE;QAEN,MAAM,EAAE,MAAiD;QACzD,IAAI,EAAE,IAA+C;QACrD,OAAO,EAAE,OAAkD;QAC3D,QAAQ,EAAE,QAA0D;KACrE;CACD,CAAC,CAAC","sourcesContent":["\n import * as React from 'react';\n import {createComponent, EventName} from '@lit/react';\n \n import {ObcStepperBox as ObcStepperBoxElement} from '@oicl/openbridge-webcomponents/dist/components/stepper-box/stepper-box.js';\n \n \n \n\n \n export const ObcStepperBox = createComponent({\n react: React,\n tagName: 'obc-stepper-box',\n elementClass: ObcStepperBoxElement,\n events: {\n \n onDown: 'down' as EventName<CustomEvent<{value: number}>>,\n onUp: 'up' as EventName<CustomEvent<{value: number}>>,\n onInput: 'input' as EventName<CustomEvent<{value: string}>>,\n onChange: 'change' as EventName<CustomEvent<{value: number | null}>>,\n }\n });\n \n "]}
package/package.json CHANGED
@@ -5,9 +5,9 @@
5
5
  "build": "tsc",
6
6
  "build:watch": "tsc --watch"
7
7
  },
8
- "version": "2.0.0-next.36",
8
+ "version": "2.0.0-next.38",
9
9
  "dependencies": {
10
- "@oicl/openbridge-webcomponents": "^2.0.0-next.35",
10
+ "@oicl/openbridge-webcomponents": "^2.0.0-next.37",
11
11
  "@lit/react": "^1.0.0"
12
12
  },
13
13
  "peerDependencies": {