Ben Anderson
8fd01e1eda
Add event types to react wrapper components ( #1419 )
...
* Rename SlSlideChange for consistency with other events
* Setup React event types for events used by Shoelace components
Means that consumers of Shoelace via the React wrapper will be able to
use callback methods with the correct event type, instead of having to
rely on casting and friends when using Typescript.
* Add docs demonstrating importing event types for React callbacks
2023-07-12 11:31:27 -04:00
Konnor Rogers
60d7f688eb
fix extensionless imports ( #1394 )
2023-06-22 10:56:24 -04:00
Cory LaViska
57b13d848a
nicer build (abort still erroring)
2023-06-07 13:28:22 -04:00
Alan Chambers
0e1b792bf7
Update make-react.js script to use new @lit-labs/react createComponent options object ( #1090 )
...
* Update react wrapper signature
Updated react createComponent to use new options object
* removed unused pascalCase import
2023-01-03 08:57:27 -05:00
Cory LaViska
cc305f8957
replace all paths in CEM
2022-11-10 16:27:23 -05:00
Cory LaViska
47388d4a3f
update deps
2022-07-27 16:17:23 -04:00
Cory LaViska
c368af633c
use event.reactName
2022-02-04 09:28:35 -05:00
Cory LaViska
4e9573334a
fix outdir bug
2022-01-26 08:46:20 -05:00
Jason O'Neill
9fb3b5cfed
feat: add ESLint, improve types, improve a11y
2022-01-15 21:47:14 -08:00
Jason O'Neill
ca346ccbb2
update dependencies, cleanup, refine ( #642 )
...
* update dependencies, cleanup, refine
fixes #637
* update CI command to verify
2022-01-06 08:44:13 -05:00
Cory LaViska
d80fe902b3
fix lgtm warnings
2021-11-24 10:59:31 -05:00
Cory LaViska
a4c9b9c8cf
add react support into lib
2021-11-04 07:27:18 -04:00