Wykres commitów

182 Commity (next)

Autor SHA1 Wiadomość Data
Cory LaViska 7571f8c534 remove styles from template 2024-02-09 10:27:09 -05:00
Cory LaViska 1bf3e5a2b7 add missing import to template 2024-02-09 10:20:18 -05:00
Cory LaViska 02ce4dbf4e
Import styles more efficiently (#1861)
* import styles more efficiently; fixes #1692

* remove scale transition
2024-02-09 10:12:47 -05:00
Konnor Rogers 7891dbef93
Add missing extensions (#1770)
* fix(typescript): add missing extension to imports in typescript

This is required for the types to work with the new
`--module-resolution=node16`.

The list of places to fix was obtained by a crude script:

```sh
rg -g'**/*.ts' -g'!**/*.test.ts' ' from\s+.\.' | rg -v '\.js'
```

References #1765

* add missing extensions

* revert tsconfig

* prettier

* fix test files for NodeNext

* prettier

* changelog entry

* prettier

* prettier

* prettier

---------

Co-authored-by: Andrey Lushnikov <aslushnikov@gmail.com>
2023-12-08 12:30:31 -05:00
Cory LaViska 59ef323f38 moar prettier 2023-12-06 16:23:39 -05:00
Ryan 3de99eee0a
Add .d.ts files to theme style.js files (#1767) 2023-12-06 16:16:52 -05:00
Coridyn e786aa86b5
Fix React .d.ts files to import from valid path; fixes #1713 (#1714) 2023-11-13 11:09:11 -05:00
Cory LaViska e5da26fe6d
fix empty react index; closes #1659 (#1663) 2023-10-19 10:30:16 -04:00
Cory LaViska 3882eb151d remove unused dep 2023-10-16 12:39:05 -04:00
Cory LaViska 39a0fafdc3 remove whitespace 2023-10-13 13:53:12 -04:00
Christian Schilling 7041357bf5 Updated @lit-labs/react to @lit/react now as this is stable 2023-10-13 09:38:05 +02:00
Cory LaViska c7b53cff47 update prettier 2023-10-12 13:56:11 -04:00
Burton Smith 8d86f374f9 clean up messaging 2023-09-07 21:38:16 -04:00
Burton Smith 242e8e92ae fix web-types reference 2023-09-07 21:32:45 -04:00
Konnor Rogers 883cb161ec
show errors in dev server (#1547)
* show errors in dev server

* fix build

* prettier
2023-08-30 09:42:34 -04:00
Konnor Rogers 1867603225
log stderr in builds (#1543) 2023-08-25 16:20:19 -04:00
Cory LaViska 44b27e791e fix plop template 2023-08-23 09:29:24 -04:00
Konnor Rogers 87837df35c
remove extra react component wrapper, upgrade to v2 of @lit-labs/react (#1531)
* remove extra react wrapper, upgrade to v2 of @lit-labs/react, call define in module.

* add changelog entry

* prettier
2023-08-22 11:26:54 -04:00
Konnor Rogers 539eaded73
Update React Wrappers with Refs that work (#1526)
* fix react types for refs

* fix displayName

* fix displayName]

* attempt to fix typings for React refs

* fix bad type

* prettier

* add changelog entry

* prettier
2023-08-18 13:31:50 -04:00
Burton Smith aeef986cf5
JetBrains IDE Integration (#1512)
* upgrade vs code integration package

* add references

* add web-types plugin

* update reference

* run prettier

* update documentation

* run prettier

* remove test script
2023-08-14 09:34:34 -04:00
Cory LaViska 1383ea3fe8
React import paths (#1507)
* fix react imports in examples

* move types to definition files

* update changelog

* update changelog
2023-08-11 13:09:44 -04:00
Cory LaViska 458def7830 update bootstrap icons and fix license 2023-08-10 12:59:44 -04:00
Konnor Rogers 31ef2f7929
remove side-effects key, update React docs for cherry-picking (#1485)
* remove side-effects, update React docs for cherry-picking

* prettier

* add PR #

* prettier

* fix react import paths

* Update docs/pages/frameworks/react.md

Co-authored-by: Cory LaViska <cory@abeautifulsite.net>

* add colons to imports

---------

Co-authored-by: Cory LaViska <cory@abeautifulsite.net>
2023-08-07 13:20:34 -04:00
Konnor Rogers 3a61d20d93
Create non-auto-registering routes (#1450)
* initial attempt at not auto defining

* add files with -

* continued work on removing auto-define

* fix component definitions

* update with new tag stuff

* fix lots of things

* fix improper scoped elements

* working through side effects

* continued react wrapper work

* update changelog

* formatting

* fixes

* update changelog

* lint / formatting

* fix version injection

* fix version injection, work on test

* fix version injection, work on test

* fix merge conflicts

* fix jsdoc null issue

* fix templates

* use exports

* working on tests

* working on registration mocking

* fix customElements test

* linting

* fix some test stuff

* clean up test

* clean up comment

* rename scopedElements to dependencies

* linting / formatting

* linting / formatting

* mark all packages external and still bundle

* set bundle false

* set bundle true

* dont minify

* fix merge conflicts

* use built shoelace-element

* fix lint errors

* prettier

* appease eslint

* appease eslint gods

* appease eslint gods

* appease eslint gods

* appease eslint gods

* add shoelace-autoloader

* move it all into 1 function

* add exportmaps note

* prettier

* add jsdelivr entrypoint

* read as utf8

* update docs with .component.js importS

* prettier
2023-07-24 13:00:07 -04:00
Cory LaViska 8267968b76 update output 2023-07-18 12:08:50 -04:00
Cory LaViska e8634e4178
Popup virtual elements (#1449)
* 1433: POC for comments (+ fix build.watch())

* 1433: consolidate virtualAnchor into anchor

* add virtual element examples

* update changelog

---------

Co-authored-by: Marko <marko@modelcitizen.com>
2023-07-13 16:49:57 -04:00
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
Konnor Rogers 67cbb85682
Add support for svg sprites in `<sl-icon>` (#1374)
* wip: initial implementation for review

* icon testing

* feat: add the ability to use SVG sprite sheets

* finish up spritesheets

* add icon notes

* update plopfile, add changelog entry

* prettier

* linting

* linting

* fix icon test

* eslint fixes?

* prettier

* disable eslint -.-

* linting loop!

* linting loop!

* prettier

* prettier

---------

Co-authored-by: Diego <diego@trebellar.com>
2023-06-20 14:01:58 -04:00
Cory LaViska 73ad76a2fa fix serve 2023-06-13 13:48:50 -04:00
Konnor Rogers aadcb486a9
fix broken build (#1370)
* fix broken build

* prettier
2023-06-13 12:30:32 -04:00
Cory LaViska 8c8977549c fix dispose 2023-06-13 12:19:25 -04:00
Cory LaViska 24ef154d42 update esbuild 2023-06-13 11:48:17 -04:00
Cory LaViska 834d44e0e4 npm 2023-06-12 16:22:20 -04:00
Cory LaViska 65b72217ea remove copydir and fix virtual path for serve 2023-06-12 16:15:29 -04:00
Cory LaViska c4c2e8e3a9 make esbuild happy again 2023-06-12 15:36:35 -04:00
Cory LaViska 47018d61cd don't bundle anything for npm 2023-06-12 15:32:45 -04:00
konnorrogers 41913c8c58 update docs with cdn / npm paths 2023-06-12 13:45:27 -04:00
konnorrogers 415a1477bb changelog, prettier 2023-06-12 11:39:56 -04:00
konnorrogers d236206cce remove unneeded CLI args 2023-06-12 10:54:33 -04:00
Cory LaViska b268d7dd8e done! 2023-06-08 15:12:23 -04:00
Cory LaViska 90e56e2f07 don't swallow errors 2023-06-08 15:05:39 -04:00
Cory LaViska 45ddaa4d38 cleaner watching 2023-06-08 14:46:12 -04:00
Cory LaViska 0de54b163a smarter exit 2023-06-08 13:47:01 -04:00
Cory LaViska 620b86cddb exit after 2023-06-08 12:51:15 -04:00
Cory LaViska b7726cd514 cleanup 2023-06-07 16:56:46 -04:00
Cory LaViska c31fe1ed35 update template 2023-06-07 16:53:48 -04:00
Cory LaViska 9e034810d9 reorder 2023-06-07 16:50:30 -04:00
Cory LaViska 217aabe55a update plop 2023-06-07 16:49:27 -04:00
Cory LaViska add09ca5b8 cleanup 2023-06-07 16:38:13 -04:00