@inera/ids-react 1.9.0 → 1.9.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/api.js CHANGED
@@ -6,7 +6,7 @@ export { IDSRadio, IDSRadioWebComponent } from './components/form/radio/radio.js
6
6
  export { IDSRadioGroup } from './components/form/radio/radio-group.js';
7
7
  export { IDSTextarea } from './components/form/textarea/textarea.js';
8
8
  export { IDSRange } from './components/form/range/range.js';
9
- export { IDSSelect, IDSSelectWebComponent } from './components/form/select/select.js';
9
+ export { IDSSelect } from './components/form/select/select.js';
10
10
  export { IDSSelectMultiple } from './components/form/selectmultiple/select-multiple.js';
11
11
  export { IDSErrorMessage } from './components/form/errormessage/error-message.js';
12
12
  export { IDSTime } from './components/form/time/time.js';
@@ -1,3 +1,2 @@
1
1
  import '@inera/ids-core/components/form/select/register';
2
- export declare const IDSSelectWebComponent: any;
3
- export declare const IDSSelect: (props: any) => any;
2
+ export declare const IDSSelect: any;
@@ -1,15 +1,8 @@
1
- import { __rest, __assign } from 'tslib';
2
1
  import * as React from 'react';
3
2
  import { createComponent } from '@lit-labs/react';
4
3
  import '@inera/ids-core/components/form/select/register';
5
4
  import { IDSSelect as IDSSelect$1 } from '@inera/ids-core/components/form/select/select-element';
6
5
 
7
- var IDSSelectWebComponent = createComponent(React, 'ids-select', IDSSelect$1);
8
- var IDSSelect = function (props) {
9
- var label = props.label, children = props.children, selectProps = __rest(props, ["label", "children"]);
10
- return (React.createElement(IDSSelectWebComponent, null,
11
- React.createElement("label", null, label),
12
- React.createElement("select", __assign({}, selectProps), children)));
13
- };
6
+ var IDSSelect = createComponent(React, 'ids-select', IDSSelect$1);
14
7
 
15
- export { IDSSelect, IDSSelectWebComponent };
8
+ export { IDSSelect };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inera/ids-react",
3
- "version": "1.9.0",
3
+ "version": "1.9.1",
4
4
  "peerDependencies": {
5
5
  "react": "*"
6
6
  },