@oicl/openbridge-webcomponents-react 2.0.0-next.77 → 2.0.0-next.79

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.
Files changed (25) hide show
  1. package/components/pagination/pagination.d.ts +3 -2
  2. package/components/pagination/pagination.d.ts.map +1 -1
  3. package/components/pagination/pagination.js +1 -0
  4. package/components/pagination/pagination.js.map +1 -1
  5. package/components/slider/slider.d.ts +3 -2
  6. package/components/slider/slider.d.ts.map +1 -1
  7. package/components/slider/slider.js +1 -0
  8. package/components/slider/slider.js.map +1 -1
  9. package/components/slider-double/slider-double.d.ts +3 -2
  10. package/components/slider-double/slider-double.d.ts.map +1 -1
  11. package/components/slider-double/slider-double.js +1 -0
  12. package/components/slider-double/slider-double.js.map +1 -1
  13. package/components/toggle-button-group/toggle-button-group.d.ts +3 -0
  14. package/components/toggle-button-group/toggle-button-group.d.ts.map +1 -1
  15. package/components/toggle-button-group/toggle-button-group.js +1 -0
  16. package/components/toggle-button-group/toggle-button-group.js.map +1 -1
  17. package/components/toggle-button-vertical-group/toggle-button-vertical-group.d.ts +3 -0
  18. package/components/toggle-button-vertical-group/toggle-button-vertical-group.d.ts.map +1 -1
  19. package/components/toggle-button-vertical-group/toggle-button-vertical-group.js +1 -0
  20. package/components/toggle-button-vertical-group/toggle-button-vertical-group.js.map +1 -1
  21. package/components/toggle-switch/toggle-switch.d.ts +1 -0
  22. package/components/toggle-switch/toggle-switch.d.ts.map +1 -1
  23. package/components/toggle-switch/toggle-switch.js +1 -0
  24. package/components/toggle-switch/toggle-switch.js.map +1 -1
  25. package/package.json +2 -2
@@ -1,9 +1,10 @@
1
1
  import { EventName } from '@lit/react';
2
2
  import { ObcPagination as ObcPaginationElement } from '@oicl/openbridge-webcomponents/dist/components/pagination/pagination.js';
3
- import { ObcPaginationValueChangeEvent, ObcPaginationNavigateEvent } from '@oicl/openbridge-webcomponents/dist/components/pagination/pagination.js';
4
- export type { ObcPaginationValueChangeEvent, ObcPaginationNavigateEvent } from '@oicl/openbridge-webcomponents/dist/components/pagination/pagination.js';
3
+ import { ObcPaginationValueChangeEvent, ObcPaginationNavigateEvent, ObcPaginationSelectPageEvent } from '@oicl/openbridge-webcomponents/dist/components/pagination/pagination.js';
4
+ export type { ObcPaginationValueChangeEvent, ObcPaginationNavigateEvent, ObcPaginationSelectPageEvent } from '@oicl/openbridge-webcomponents/dist/components/pagination/pagination.js';
5
5
  export declare const ObcPagination: import("@lit/react").ReactWebComponent<ObcPaginationElement, {
6
6
  onValue: EventName<ObcPaginationValueChangeEvent>;
7
7
  onNavigate: EventName<ObcPaginationNavigateEvent>;
8
+ onSelectPage: EventName<ObcPaginationSelectPageEvent>;
8
9
  }>;
9
10
  //# sourceMappingURL=pagination.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"pagination.d.ts","sourceRoot":"","sources":["../../src/components/pagination/pagination.ts"],"names":[],"mappings":"AAEC,OAAO,EAAkB,SAAS,EAAC,MAAM,YAAY,CAAC;AAEtD,OAAO,EAAC,aAAa,IAAI,oBAAoB,EAAC,MAAM,yEAAyE,CAAC;AAC9H,OAAO,EAAC,6BAA6B,EAAE,0BAA0B,EAAC,MAAM,yEAAyE,CAAC;AAClJ,YAAY,EAAC,6BAA6B,EAAE,0BAA0B,EAAC,MAAM,yEAAyE,CAAC;AAIvJ,eAAO,MAAM,aAAa;aAMF,SAAS,CAAC,6BAA6B,CAAC;gBAClC,SAAS,CAAC,0BAA0B,CAAC;EAEhE,CAAC"}
1
+ {"version":3,"file":"pagination.d.ts","sourceRoot":"","sources":["../../src/components/pagination/pagination.ts"],"names":[],"mappings":"AAEC,OAAO,EAAkB,SAAS,EAAC,MAAM,YAAY,CAAC;AAEtD,OAAO,EAAC,aAAa,IAAI,oBAAoB,EAAC,MAAM,yEAAyE,CAAC;AAC9H,OAAO,EAAC,6BAA6B,EAAE,0BAA0B,EAAE,4BAA4B,EAAC,MAAM,yEAAyE,CAAC;AAChL,YAAY,EAAC,6BAA6B,EAAE,0BAA0B,EAAE,4BAA4B,EAAC,MAAM,yEAAyE,CAAC;AAIrL,eAAO,MAAM,aAAa;aAMF,SAAS,CAAC,6BAA6B,CAAC;gBAClC,SAAS,CAAC,0BAA0B,CAAC;kBAChC,SAAS,CAAC,4BAA4B,CAAC;EAEvE,CAAC"}
@@ -8,6 +8,7 @@ export const ObcPagination = createComponent({
8
8
  events: {
9
9
  onValue: 'value',
10
10
  onNavigate: 'navigate',
11
+ onSelectPage: 'select-page',
11
12
  }
12
13
  });
13
14
  //# sourceMappingURL=pagination.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"pagination.js","sourceRoot":"","sources":["../../src/components/pagination/pagination.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,yEAAyE,CAAC;AAM9H,MAAM,CAAC,MAAM,aAAa,GAAG,eAAe,CAAC;IAC3C,KAAK,EAAE,KAAK;IACZ,OAAO,EAAE,gBAAgB;IACzB,YAAY,EAAE,oBAAoB;IAClC,MAAM,EAAE;QAEN,OAAO,EAAE,OAAmD;QAC5D,UAAU,EAAE,UAAmD;KAChE;CACD,CAAC,CAAC","sourcesContent":["\n import * as React from 'react';\n import {createComponent, EventName} from '@lit/react';\n \n import {ObcPagination as ObcPaginationElement} from '@oicl/openbridge-webcomponents/dist/components/pagination/pagination.js';\n import {ObcPaginationValueChangeEvent, ObcPaginationNavigateEvent} from '@oicl/openbridge-webcomponents/dist/components/pagination/pagination.js';\n export type {ObcPaginationValueChangeEvent, ObcPaginationNavigateEvent} from '@oicl/openbridge-webcomponents/dist/components/pagination/pagination.js';\n \n\n \n export const ObcPagination = createComponent({\n react: React,\n tagName: 'obc-pagination',\n elementClass: ObcPaginationElement,\n events: {\n \n onValue: 'value' as EventName<ObcPaginationValueChangeEvent>,\n onNavigate: 'navigate' as EventName<ObcPaginationNavigateEvent>,\n }\n });\n \n "]}
1
+ {"version":3,"file":"pagination.js","sourceRoot":"","sources":["../../src/components/pagination/pagination.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,yEAAyE,CAAC;AAM9H,MAAM,CAAC,MAAM,aAAa,GAAG,eAAe,CAAC;IAC3C,KAAK,EAAE,KAAK;IACZ,OAAO,EAAE,gBAAgB;IACzB,YAAY,EAAE,oBAAoB;IAClC,MAAM,EAAE;QAEN,OAAO,EAAE,OAAmD;QAC5D,UAAU,EAAE,UAAmD;QAC/D,YAAY,EAAE,aAAwD;KACvE;CACD,CAAC,CAAC","sourcesContent":["\n import * as React from 'react';\n import {createComponent, EventName} from '@lit/react';\n \n import {ObcPagination as ObcPaginationElement} from '@oicl/openbridge-webcomponents/dist/components/pagination/pagination.js';\n import {ObcPaginationValueChangeEvent, ObcPaginationNavigateEvent, ObcPaginationSelectPageEvent} from '@oicl/openbridge-webcomponents/dist/components/pagination/pagination.js';\n export type {ObcPaginationValueChangeEvent, ObcPaginationNavigateEvent, ObcPaginationSelectPageEvent} from '@oicl/openbridge-webcomponents/dist/components/pagination/pagination.js';\n \n\n \n export const ObcPagination = createComponent({\n react: React,\n tagName: 'obc-pagination',\n elementClass: ObcPaginationElement,\n events: {\n \n onValue: 'value' as EventName<ObcPaginationValueChangeEvent>,\n onNavigate: 'navigate' as EventName<ObcPaginationNavigateEvent>,\n onSelectPage: 'select-page' as EventName<ObcPaginationSelectPageEvent>,\n }\n });\n \n "]}
@@ -1,8 +1,9 @@
1
1
  import { EventName } from '@lit/react';
2
2
  import { ObcSlider as ObcSliderElement } from '@oicl/openbridge-webcomponents/dist/components/slider/slider.js';
3
- import { ObcSliderValueEvent } from '@oicl/openbridge-webcomponents/dist/components/slider/slider.js';
4
- export type { ObcSliderValueEvent } from '@oicl/openbridge-webcomponents/dist/components/slider/slider.js';
3
+ import { ObcSliderValueEvent, ObcSliderChangeEvent } from '@oicl/openbridge-webcomponents/dist/components/slider/slider.js';
4
+ export type { ObcSliderValueEvent, ObcSliderChangeEvent } from '@oicl/openbridge-webcomponents/dist/components/slider/slider.js';
5
5
  export declare const ObcSlider: import("@lit/react").ReactWebComponent<ObcSliderElement, {
6
6
  onValue: EventName<ObcSliderValueEvent>;
7
+ onChange: EventName<ObcSliderChangeEvent>;
7
8
  }>;
8
9
  //# sourceMappingURL=slider.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"slider.d.ts","sourceRoot":"","sources":["../../src/components/slider/slider.ts"],"names":[],"mappings":"AAEC,OAAO,EAAkB,SAAS,EAAC,MAAM,YAAY,CAAC;AAEtD,OAAO,EAAC,SAAS,IAAI,gBAAgB,EAAC,MAAM,iEAAiE,CAAC;AAC9G,OAAO,EAAC,mBAAmB,EAAC,MAAM,iEAAiE,CAAC;AACpG,YAAY,EAAC,mBAAmB,EAAC,MAAM,iEAAiE,CAAC;AAIzG,eAAO,MAAM,SAAS;aAME,SAAS,CAAC,mBAAmB,CAAC;EAEnD,CAAC"}
1
+ {"version":3,"file":"slider.d.ts","sourceRoot":"","sources":["../../src/components/slider/slider.ts"],"names":[],"mappings":"AAEC,OAAO,EAAkB,SAAS,EAAC,MAAM,YAAY,CAAC;AAEtD,OAAO,EAAC,SAAS,IAAI,gBAAgB,EAAC,MAAM,iEAAiE,CAAC;AAC9G,OAAO,EAAC,mBAAmB,EAAE,oBAAoB,EAAC,MAAM,iEAAiE,CAAC;AAC1H,YAAY,EAAC,mBAAmB,EAAE,oBAAoB,EAAC,MAAM,iEAAiE,CAAC;AAI/H,eAAO,MAAM,SAAS;aAME,SAAS,CAAC,mBAAmB,CAAC;cAC5B,SAAS,CAAC,oBAAoB,CAAC;EAEtD,CAAC"}
@@ -7,6 +7,7 @@ export const ObcSlider = createComponent({
7
7
  elementClass: ObcSliderElement,
8
8
  events: {
9
9
  onValue: 'value',
10
+ onChange: 'change',
10
11
  }
11
12
  });
12
13
  //# sourceMappingURL=slider.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"slider.js","sourceRoot":"","sources":["../../src/components/slider/slider.ts"],"names":[],"mappings":"AACC,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAC,eAAe,EAAY,MAAM,YAAY,CAAC;AAEtD,OAAO,EAAC,SAAS,IAAI,gBAAgB,EAAC,MAAM,iEAAiE,CAAC;AAM9G,MAAM,CAAC,MAAM,SAAS,GAAG,eAAe,CAAC;IACvC,KAAK,EAAE,KAAK;IACZ,OAAO,EAAE,YAAY;IACrB,YAAY,EAAE,gBAAgB;IAC9B,MAAM,EAAE;QAEN,OAAO,EAAE,OAAyC;KACnD;CACD,CAAC,CAAC","sourcesContent":["\n import * as React from 'react';\n import {createComponent, EventName} from '@lit/react';\n \n import {ObcSlider as ObcSliderElement} from '@oicl/openbridge-webcomponents/dist/components/slider/slider.js';\n import {ObcSliderValueEvent} from '@oicl/openbridge-webcomponents/dist/components/slider/slider.js';\n export type {ObcSliderValueEvent} from '@oicl/openbridge-webcomponents/dist/components/slider/slider.js';\n \n\n \n export const ObcSlider = createComponent({\n react: React,\n tagName: 'obc-slider',\n elementClass: ObcSliderElement,\n events: {\n \n onValue: 'value' as EventName<ObcSliderValueEvent>,\n }\n });\n \n "]}
1
+ {"version":3,"file":"slider.js","sourceRoot":"","sources":["../../src/components/slider/slider.ts"],"names":[],"mappings":"AACC,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAC,eAAe,EAAY,MAAM,YAAY,CAAC;AAEtD,OAAO,EAAC,SAAS,IAAI,gBAAgB,EAAC,MAAM,iEAAiE,CAAC;AAM9G,MAAM,CAAC,MAAM,SAAS,GAAG,eAAe,CAAC;IACvC,KAAK,EAAE,KAAK;IACZ,OAAO,EAAE,YAAY;IACrB,YAAY,EAAE,gBAAgB;IAC9B,MAAM,EAAE;QAEN,OAAO,EAAE,OAAyC;QAClD,QAAQ,EAAE,QAA2C;KACtD;CACD,CAAC,CAAC","sourcesContent":["\n import * as React from 'react';\n import {createComponent, EventName} from '@lit/react';\n \n import {ObcSlider as ObcSliderElement} from '@oicl/openbridge-webcomponents/dist/components/slider/slider.js';\n import {ObcSliderValueEvent, ObcSliderChangeEvent} from '@oicl/openbridge-webcomponents/dist/components/slider/slider.js';\n export type {ObcSliderValueEvent, ObcSliderChangeEvent} from '@oicl/openbridge-webcomponents/dist/components/slider/slider.js';\n \n\n \n export const ObcSlider = createComponent({\n react: React,\n tagName: 'obc-slider',\n elementClass: ObcSliderElement,\n events: {\n \n onValue: 'value' as EventName<ObcSliderValueEvent>,\n onChange: 'change' as EventName<ObcSliderChangeEvent>,\n }\n });\n \n "]}
@@ -1,8 +1,9 @@
1
1
  import { EventName } from '@lit/react';
2
2
  import { ObcSliderDouble as ObcSliderDoubleElement } from '@oicl/openbridge-webcomponents/dist/components/slider-double/slider-double.js';
3
- import { ObcSliderDoubleValueEvent } from '@oicl/openbridge-webcomponents/dist/components/slider-double/slider-double.js';
4
- export type { ObcSliderDoubleValueEvent } from '@oicl/openbridge-webcomponents/dist/components/slider-double/slider-double.js';
3
+ import { ObcSliderDoubleValueEvent, ObcSliderDoubleChangeEvent } from '@oicl/openbridge-webcomponents/dist/components/slider-double/slider-double.js';
4
+ export type { ObcSliderDoubleValueEvent, ObcSliderDoubleChangeEvent } from '@oicl/openbridge-webcomponents/dist/components/slider-double/slider-double.js';
5
5
  export declare const ObcSliderDouble: import("@lit/react").ReactWebComponent<ObcSliderDoubleElement, {
6
6
  onValue: EventName<ObcSliderDoubleValueEvent>;
7
+ onChange: EventName<ObcSliderDoubleChangeEvent>;
7
8
  }>;
8
9
  //# sourceMappingURL=slider-double.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"slider-double.d.ts","sourceRoot":"","sources":["../../src/components/slider-double/slider-double.ts"],"names":[],"mappings":"AAEC,OAAO,EAAkB,SAAS,EAAC,MAAM,YAAY,CAAC;AAEtD,OAAO,EAAC,eAAe,IAAI,sBAAsB,EAAC,MAAM,+EAA+E,CAAC;AACxI,OAAO,EAAC,yBAAyB,EAAC,MAAM,+EAA+E,CAAC;AACxH,YAAY,EAAC,yBAAyB,EAAC,MAAM,+EAA+E,CAAC;AAI7H,eAAO,MAAM,eAAe;aAMJ,SAAS,CAAC,yBAAyB,CAAC;EAEzD,CAAC"}
1
+ {"version":3,"file":"slider-double.d.ts","sourceRoot":"","sources":["../../src/components/slider-double/slider-double.ts"],"names":[],"mappings":"AAEC,OAAO,EAAkB,SAAS,EAAC,MAAM,YAAY,CAAC;AAEtD,OAAO,EAAC,eAAe,IAAI,sBAAsB,EAAC,MAAM,+EAA+E,CAAC;AACxI,OAAO,EAAC,yBAAyB,EAAE,0BAA0B,EAAC,MAAM,+EAA+E,CAAC;AACpJ,YAAY,EAAC,yBAAyB,EAAE,0BAA0B,EAAC,MAAM,+EAA+E,CAAC;AAIzJ,eAAO,MAAM,eAAe;aAMJ,SAAS,CAAC,yBAAyB,CAAC;cAClC,SAAS,CAAC,0BAA0B,CAAC;EAE5D,CAAC"}
@@ -7,6 +7,7 @@ export const ObcSliderDouble = createComponent({
7
7
  elementClass: ObcSliderDoubleElement,
8
8
  events: {
9
9
  onValue: 'value',
10
+ onChange: 'change',
10
11
  }
11
12
  });
12
13
  //# sourceMappingURL=slider-double.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"slider-double.js","sourceRoot":"","sources":["../../src/components/slider-double/slider-double.ts"],"names":[],"mappings":"AACC,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAC,eAAe,EAAY,MAAM,YAAY,CAAC;AAEtD,OAAO,EAAC,eAAe,IAAI,sBAAsB,EAAC,MAAM,+EAA+E,CAAC;AAMxI,MAAM,CAAC,MAAM,eAAe,GAAG,eAAe,CAAC;IAC7C,KAAK,EAAE,KAAK;IACZ,OAAO,EAAE,mBAAmB;IAC5B,YAAY,EAAE,sBAAsB;IACpC,MAAM,EAAE;QAEN,OAAO,EAAE,OAA+C;KACzD;CACD,CAAC,CAAC","sourcesContent":["\n import * as React from 'react';\n import {createComponent, EventName} from '@lit/react';\n \n import {ObcSliderDouble as ObcSliderDoubleElement} from '@oicl/openbridge-webcomponents/dist/components/slider-double/slider-double.js';\n import {ObcSliderDoubleValueEvent} from '@oicl/openbridge-webcomponents/dist/components/slider-double/slider-double.js';\n export type {ObcSliderDoubleValueEvent} from '@oicl/openbridge-webcomponents/dist/components/slider-double/slider-double.js';\n \n\n \n export const ObcSliderDouble = createComponent({\n react: React,\n tagName: 'obc-slider-double',\n elementClass: ObcSliderDoubleElement,\n events: {\n \n onValue: 'value' as EventName<ObcSliderDoubleValueEvent>,\n }\n });\n \n "]}
1
+ {"version":3,"file":"slider-double.js","sourceRoot":"","sources":["../../src/components/slider-double/slider-double.ts"],"names":[],"mappings":"AACC,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAC,eAAe,EAAY,MAAM,YAAY,CAAC;AAEtD,OAAO,EAAC,eAAe,IAAI,sBAAsB,EAAC,MAAM,+EAA+E,CAAC;AAMxI,MAAM,CAAC,MAAM,eAAe,GAAG,eAAe,CAAC;IAC7C,KAAK,EAAE,KAAK;IACZ,OAAO,EAAE,mBAAmB;IAC5B,YAAY,EAAE,sBAAsB;IACpC,MAAM,EAAE;QAEN,OAAO,EAAE,OAA+C;QACxD,QAAQ,EAAE,QAAiD;KAC5D;CACD,CAAC,CAAC","sourcesContent":["\n import * as React from 'react';\n import {createComponent, EventName} from '@lit/react';\n \n import {ObcSliderDouble as ObcSliderDoubleElement} from '@oicl/openbridge-webcomponents/dist/components/slider-double/slider-double.js';\n import {ObcSliderDoubleValueEvent, ObcSliderDoubleChangeEvent} from '@oicl/openbridge-webcomponents/dist/components/slider-double/slider-double.js';\n export type {ObcSliderDoubleValueEvent, ObcSliderDoubleChangeEvent} from '@oicl/openbridge-webcomponents/dist/components/slider-double/slider-double.js';\n \n\n \n export const ObcSliderDouble = createComponent({\n react: React,\n tagName: 'obc-slider-double',\n elementClass: ObcSliderDoubleElement,\n events: {\n \n onValue: 'value' as EventName<ObcSliderDoubleValueEvent>,\n onChange: 'change' as EventName<ObcSliderDoubleChangeEvent>,\n }\n });\n \n "]}
@@ -5,5 +5,8 @@ export declare const ObcToggleButtonGroup: import("@lit/react").ReactWebComponen
5
5
  value: string;
6
6
  previousValue: string;
7
7
  }>>;
8
+ onChange: EventName<CustomEvent<{
9
+ value: string;
10
+ }>>;
8
11
  }>;
9
12
  //# sourceMappingURL=toggle-button-group.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"toggle-button-group.d.ts","sourceRoot":"","sources":["../../src/components/toggle-button-group/toggle-button-group.ts"],"names":[],"mappings":"AAEC,OAAO,EAAkB,SAAS,EAAC,MAAM,YAAY,CAAC;AAEtD,OAAO,EAAC,oBAAoB,IAAI,2BAA2B,EAAC,MAAM,2FAA2F,CAAC;AAM9J,eAAO,MAAM,oBAAoB;aAMT,SAAS,CAAC,WAAW,CAAC;QAAC,KAAK,EAAE,MAAM,CAAC;QAAC,aAAa,EAAE,MAAM,CAAA;KAAC,CAAC,CAAC;EAEnF,CAAC"}
1
+ {"version":3,"file":"toggle-button-group.d.ts","sourceRoot":"","sources":["../../src/components/toggle-button-group/toggle-button-group.ts"],"names":[],"mappings":"AAEC,OAAO,EAAkB,SAAS,EAAC,MAAM,YAAY,CAAC;AAEtD,OAAO,EAAC,oBAAoB,IAAI,2BAA2B,EAAC,MAAM,2FAA2F,CAAC;AAM9J,eAAO,MAAM,oBAAoB;aAMT,SAAS,CAAC,WAAW,CAAC;QAAC,KAAK,EAAE,MAAM,CAAC;QAAC,aAAa,EAAE,MAAM,CAAA;KAAC,CAAC,CAAC;cAC5D,SAAS,CAAC,WAAW,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAC,CAAC,CAAC;EAE9D,CAAC"}
@@ -7,6 +7,7 @@ export const ObcToggleButtonGroup = createComponent({
7
7
  elementClass: ObcToggleButtonGroupElement,
8
8
  events: {
9
9
  onValue: 'value',
10
+ onChange: 'change',
10
11
  }
11
12
  });
12
13
  //# sourceMappingURL=toggle-button-group.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"toggle-button-group.js","sourceRoot":"","sources":["../../src/components/toggle-button-group/toggle-button-group.ts"],"names":[],"mappings":"AACC,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAC,eAAe,EAAY,MAAM,YAAY,CAAC;AAEtD,OAAO,EAAC,oBAAoB,IAAI,2BAA2B,EAAC,MAAM,2FAA2F,CAAC;AAM9J,MAAM,CAAC,MAAM,oBAAoB,GAAG,eAAe,CAAC;IAClD,KAAK,EAAE,KAAK;IACZ,OAAO,EAAE,yBAAyB;IAClC,YAAY,EAAE,2BAA2B;IACzC,MAAM,EAAE;QAEN,OAAO,EAAE,OAAyE;KACnF;CACD,CAAC,CAAC","sourcesContent":["\n import * as React from 'react';\n import {createComponent, EventName} from '@lit/react';\n \n import {ObcToggleButtonGroup as ObcToggleButtonGroupElement} from '@oicl/openbridge-webcomponents/dist/components/toggle-button-group/toggle-button-group.js';\n \n \n \n\n \n export const ObcToggleButtonGroup = createComponent({\n react: React,\n tagName: 'obc-toggle-button-group',\n elementClass: ObcToggleButtonGroupElement,\n events: {\n \n onValue: 'value' as EventName<CustomEvent<{value: string, previousValue: string}>>,\n }\n });\n \n "]}
1
+ {"version":3,"file":"toggle-button-group.js","sourceRoot":"","sources":["../../src/components/toggle-button-group/toggle-button-group.ts"],"names":[],"mappings":"AACC,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAC,eAAe,EAAY,MAAM,YAAY,CAAC;AAEtD,OAAO,EAAC,oBAAoB,IAAI,2BAA2B,EAAC,MAAM,2FAA2F,CAAC;AAM9J,MAAM,CAAC,MAAM,oBAAoB,GAAG,eAAe,CAAC;IAClD,KAAK,EAAE,KAAK;IACZ,OAAO,EAAE,yBAAyB;IAClC,YAAY,EAAE,2BAA2B;IACzC,MAAM,EAAE;QAEN,OAAO,EAAE,OAAyE;QAClF,QAAQ,EAAE,QAAmD;KAC9D;CACD,CAAC,CAAC","sourcesContent":["\n import * as React from 'react';\n import {createComponent, EventName} from '@lit/react';\n \n import {ObcToggleButtonGroup as ObcToggleButtonGroupElement} from '@oicl/openbridge-webcomponents/dist/components/toggle-button-group/toggle-button-group.js';\n \n \n \n\n \n export const ObcToggleButtonGroup = createComponent({\n react: React,\n tagName: 'obc-toggle-button-group',\n elementClass: ObcToggleButtonGroupElement,\n events: {\n \n onValue: 'value' as EventName<CustomEvent<{value: string, previousValue: string}>>,\n onChange: 'change' as EventName<CustomEvent<{value: string}>>,\n }\n });\n \n "]}
@@ -5,5 +5,8 @@ export declare const ObcToggleButtonVerticalGroup: import("@lit/react").ReactWeb
5
5
  value: string;
6
6
  previousValue: string;
7
7
  }>>;
8
+ onChange: EventName<CustomEvent<{
9
+ value: string;
10
+ }>>;
8
11
  }>;
9
12
  //# sourceMappingURL=toggle-button-vertical-group.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"toggle-button-vertical-group.d.ts","sourceRoot":"","sources":["../../src/components/toggle-button-vertical-group/toggle-button-vertical-group.ts"],"names":[],"mappings":"AAEC,OAAO,EAAkB,SAAS,EAAC,MAAM,YAAY,CAAC;AAEtD,OAAO,EAAC,4BAA4B,IAAI,mCAAmC,EAAC,MAAM,6GAA6G,CAAC;AAMhM,eAAO,MAAM,4BAA4B;aAMjB,SAAS,CAAC,WAAW,CAAC;QAAC,KAAK,EAAE,MAAM,CAAC;QAAC,aAAa,EAAE,MAAM,CAAA;KAAC,CAAC,CAAC;EAEnF,CAAC"}
1
+ {"version":3,"file":"toggle-button-vertical-group.d.ts","sourceRoot":"","sources":["../../src/components/toggle-button-vertical-group/toggle-button-vertical-group.ts"],"names":[],"mappings":"AAEC,OAAO,EAAkB,SAAS,EAAC,MAAM,YAAY,CAAC;AAEtD,OAAO,EAAC,4BAA4B,IAAI,mCAAmC,EAAC,MAAM,6GAA6G,CAAC;AAMhM,eAAO,MAAM,4BAA4B;aAMjB,SAAS,CAAC,WAAW,CAAC;QAAC,KAAK,EAAE,MAAM,CAAC;QAAC,aAAa,EAAE,MAAM,CAAA;KAAC,CAAC,CAAC;cAC5D,SAAS,CAAC,WAAW,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAC,CAAC,CAAC;EAE9D,CAAC"}
@@ -7,6 +7,7 @@ export const ObcToggleButtonVerticalGroup = createComponent({
7
7
  elementClass: ObcToggleButtonVerticalGroupElement,
8
8
  events: {
9
9
  onValue: 'value',
10
+ onChange: 'change',
10
11
  }
11
12
  });
12
13
  //# sourceMappingURL=toggle-button-vertical-group.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"toggle-button-vertical-group.js","sourceRoot":"","sources":["../../src/components/toggle-button-vertical-group/toggle-button-vertical-group.ts"],"names":[],"mappings":"AACC,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAC,eAAe,EAAY,MAAM,YAAY,CAAC;AAEtD,OAAO,EAAC,4BAA4B,IAAI,mCAAmC,EAAC,MAAM,6GAA6G,CAAC;AAMhM,MAAM,CAAC,MAAM,4BAA4B,GAAG,eAAe,CAAC;IAC1D,KAAK,EAAE,KAAK;IACZ,OAAO,EAAE,kCAAkC;IAC3C,YAAY,EAAE,mCAAmC;IACjD,MAAM,EAAE;QAEN,OAAO,EAAE,OAAyE;KACnF;CACD,CAAC,CAAC","sourcesContent":["\n import * as React from 'react';\n import {createComponent, EventName} from '@lit/react';\n \n import {ObcToggleButtonVerticalGroup as ObcToggleButtonVerticalGroupElement} from '@oicl/openbridge-webcomponents/dist/components/toggle-button-vertical-group/toggle-button-vertical-group.js';\n \n \n \n\n \n export const ObcToggleButtonVerticalGroup = createComponent({\n react: React,\n tagName: 'obc-toggle-button-vertical-group',\n elementClass: ObcToggleButtonVerticalGroupElement,\n events: {\n \n onValue: 'value' as EventName<CustomEvent<{value: string, previousValue: string}>>,\n }\n });\n \n "]}
1
+ {"version":3,"file":"toggle-button-vertical-group.js","sourceRoot":"","sources":["../../src/components/toggle-button-vertical-group/toggle-button-vertical-group.ts"],"names":[],"mappings":"AACC,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAC,eAAe,EAAY,MAAM,YAAY,CAAC;AAEtD,OAAO,EAAC,4BAA4B,IAAI,mCAAmC,EAAC,MAAM,6GAA6G,CAAC;AAMhM,MAAM,CAAC,MAAM,4BAA4B,GAAG,eAAe,CAAC;IAC1D,KAAK,EAAE,KAAK;IACZ,OAAO,EAAE,kCAAkC;IAC3C,YAAY,EAAE,mCAAmC;IACjD,MAAM,EAAE;QAEN,OAAO,EAAE,OAAyE;QAClF,QAAQ,EAAE,QAAmD;KAC9D;CACD,CAAC,CAAC","sourcesContent":["\n import * as React from 'react';\n import {createComponent, EventName} from '@lit/react';\n \n import {ObcToggleButtonVerticalGroup as ObcToggleButtonVerticalGroupElement} from '@oicl/openbridge-webcomponents/dist/components/toggle-button-vertical-group/toggle-button-vertical-group.js';\n \n \n \n\n \n export const ObcToggleButtonVerticalGroup = createComponent({\n react: React,\n tagName: 'obc-toggle-button-vertical-group',\n elementClass: ObcToggleButtonVerticalGroupElement,\n events: {\n \n onValue: 'value' as EventName<CustomEvent<{value: string, previousValue: string}>>,\n onChange: 'change' as EventName<CustomEvent<{value: string}>>,\n }\n });\n \n "]}
@@ -2,5 +2,6 @@ import { EventName } from '@lit/react';
2
2
  import { ObcToggleSwitch as ObcToggleSwitchElement } from '@oicl/openbridge-webcomponents/dist/components/toggle-switch/toggle-switch.js';
3
3
  export declare const ObcToggleSwitch: import("@lit/react").ReactWebComponent<ObcToggleSwitchElement, {
4
4
  onInput: EventName<CustomEvent<unknown>>;
5
+ onChange: EventName<CustomEvent<unknown>>;
5
6
  }>;
6
7
  //# sourceMappingURL=toggle-switch.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"toggle-switch.d.ts","sourceRoot":"","sources":["../../src/components/toggle-switch/toggle-switch.ts"],"names":[],"mappings":"AAEC,OAAO,EAAkB,SAAS,EAAC,MAAM,YAAY,CAAC;AAEtD,OAAO,EAAC,eAAe,IAAI,sBAAsB,EAAC,MAAM,+EAA+E,CAAC;AAMxI,eAAO,MAAM,eAAe;aAMJ,SAAS,CAAC,WAAW,CAAC,OAAO,CAAC,CAAC;EAEpD,CAAC"}
1
+ {"version":3,"file":"toggle-switch.d.ts","sourceRoot":"","sources":["../../src/components/toggle-switch/toggle-switch.ts"],"names":[],"mappings":"AAEC,OAAO,EAAkB,SAAS,EAAC,MAAM,YAAY,CAAC;AAEtD,OAAO,EAAC,eAAe,IAAI,sBAAsB,EAAC,MAAM,+EAA+E,CAAC;AAMxI,eAAO,MAAM,eAAe;aAMJ,SAAS,CAAC,WAAW,CAAC,OAAO,CAAC,CAAC;cAC7B,SAAS,CAAC,WAAW,CAAC,OAAO,CAAC,CAAC;EAEtD,CAAC"}
@@ -7,6 +7,7 @@ export const ObcToggleSwitch = createComponent({
7
7
  elementClass: ObcToggleSwitchElement,
8
8
  events: {
9
9
  onInput: 'input',
10
+ onChange: 'change',
10
11
  }
11
12
  });
12
13
  //# sourceMappingURL=toggle-switch.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"toggle-switch.js","sourceRoot":"","sources":["../../src/components/toggle-switch/toggle-switch.ts"],"names":[],"mappings":"AACC,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAC,eAAe,EAAY,MAAM,YAAY,CAAC;AAEtD,OAAO,EAAC,eAAe,IAAI,sBAAsB,EAAC,MAAM,+EAA+E,CAAC;AAMxI,MAAM,CAAC,MAAM,eAAe,GAAG,eAAe,CAAC;IAC7C,KAAK,EAAE,KAAK;IACZ,OAAO,EAAE,mBAAmB;IAC5B,YAAY,EAAE,sBAAsB;IACpC,MAAM,EAAE;QAEN,OAAO,EAAE,OAA0C;KACpD;CACD,CAAC,CAAC","sourcesContent":["\n import * as React from 'react';\n import {createComponent, EventName} from '@lit/react';\n \n import {ObcToggleSwitch as ObcToggleSwitchElement} from '@oicl/openbridge-webcomponents/dist/components/toggle-switch/toggle-switch.js';\n \n \n \n\n \n export const ObcToggleSwitch = createComponent({\n react: React,\n tagName: 'obc-toggle-switch',\n elementClass: ObcToggleSwitchElement,\n events: {\n \n onInput: 'input' as EventName<CustomEvent<unknown>>,\n }\n });\n \n "]}
1
+ {"version":3,"file":"toggle-switch.js","sourceRoot":"","sources":["../../src/components/toggle-switch/toggle-switch.ts"],"names":[],"mappings":"AACC,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAC,eAAe,EAAY,MAAM,YAAY,CAAC;AAEtD,OAAO,EAAC,eAAe,IAAI,sBAAsB,EAAC,MAAM,+EAA+E,CAAC;AAMxI,MAAM,CAAC,MAAM,eAAe,GAAG,eAAe,CAAC;IAC7C,KAAK,EAAE,KAAK;IACZ,OAAO,EAAE,mBAAmB;IAC5B,YAAY,EAAE,sBAAsB;IACpC,MAAM,EAAE;QAEN,OAAO,EAAE,OAA0C;QACnD,QAAQ,EAAE,QAA2C;KACtD;CACD,CAAC,CAAC","sourcesContent":["\n import * as React from 'react';\n import {createComponent, EventName} from '@lit/react';\n \n import {ObcToggleSwitch as ObcToggleSwitchElement} from '@oicl/openbridge-webcomponents/dist/components/toggle-switch/toggle-switch.js';\n \n \n \n\n \n export const ObcToggleSwitch = createComponent({\n react: React,\n tagName: 'obc-toggle-switch',\n elementClass: ObcToggleSwitchElement,\n events: {\n \n onInput: 'input' as EventName<CustomEvent<unknown>>,\n onChange: 'change' as EventName<CustomEvent<unknown>>,\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.77",
8
+ "version": "2.0.0-next.79",
9
9
  "dependencies": {
10
- "@oicl/openbridge-webcomponents": "^2.0.0-next.76",
10
+ "@oicl/openbridge-webcomponents": "^2.0.0-next.78",
11
11
  "@lit/react": "^1.0.0"
12
12
  },
13
13
  "peerDependencies": {