Wykres commitów

101 Commity (b9c5848a2239191b868952a0c5e77010b735e4e6)

Autor SHA1 Wiadomość Data
Konnor Rogers 7a62a87b9b
apply mutator to spritesheets (#1927)
* apply mutator to spritesheets

* prettier

* Update docs/pages/resources/changelog.md

---------

Co-authored-by: Cory LaViska <cory@abeautifulsite.net>
2024-03-25 11:14:04 -04: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
Henry Wilkinson 8ddef1a0bd
Updates copy button with Bootstrap Icons 1.11 (#1702) 2023-11-03 10:25:18 -04:00
Cory LaViska c9f810ac3e rename private var; #1572 2023-09-26 09:05:17 -04:00
Yehuda Ringler 25dd15b92c ONLY-USE: Fix bug: svg url treated as sprite 2023-09-20 16:43:26 -04:00
Konnor Rogers 43d1f9ee7a
fix: use verbatimModuleSyntax and isolatedModules (#1534)
* feat: use verbatimModuleSyntax and isolatedModules

* prettier

* remove newline

* prettier
2023-08-23 10:34:40 -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 c36df5ecc1
<sl-copy> (#1483)
* copy updates

* Update docs/pages/components/copy.md

Co-authored-by: Thomas Allmer <d4kmor@gmail.com>

* unwrap and fix case

* copy button updates

* use bs icon

* add parts, hoist, and improve parsing a bit

* update docs

* remove comment

---------

Co-authored-by: Thomas Allmer <d4kmor@gmail.com>
2023-08-11 10:27: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 50af138424 fix typos 2023-07-18 13:15:21 -04:00
Cory LaViska 9d592f4e08 wait longer to prevent flakiness 2023-07-18 13:13:59 -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
konnorrogers 0e869ec18d fix the tests 2023-06-13 15:40:04 -04:00
Cory LaViska 1b347874ef fix tests 2023-06-13 14:22:56 -04:00
Cory LaViska ff5b1e8573 fix imports 2023-06-13 14:06:37 -04:00
Cory LaViska 0e7487257b spell check and reorder static function 2023-04-13 14:16:03 -04:00
Matt Pharoah eab0e3219f
Improve performance of sl-icon by caching later (#1286)
* Improve performance of sl-icon by caching later

* Fixed error handling

* Don't use requestInclude in sl-icon

* Separate sl-icon errors into cacheable and retryable errors
2023-04-13 14:12:59 -04:00
Cory LaViska 2371c5490f Merge branch 'next' into autoload 2023-02-28 12:45:23 -05:00
Cory LaViska 70a64262e9 add svg part 2023-02-24 12:51:46 -05:00
Cory LaViska a32488baeb add autoloader prototype 2023-02-22 14:18:04 -05:00
Matt Pharoah 41b5cb367f Use typed events in components and tests 2023-02-08 18:19:27 -05:00
Cory LaViska efd944d822 remove contain:strict 2023-01-18 09:07:37 -05:00
Cory LaViska 3c2f5ec48e sort this, eslint 2023-01-13 15:43:55 -05:00
Cory LaViska edc9e69f30 add @documentation tag 2023-01-12 10:26:25 -05:00
Cory LaViska 8056379fdd support multiple properties in watch decorator 2023-01-09 16:07:59 -05:00
Cory LaViska c8555f448c reorg and add private keyword 2023-01-03 15:04:07 -05:00
Cory LaViska 7885572ebd jsdoc exported functions 2022-12-06 11:48:57 -05:00
Cory LaViska f2efa73e20 improve documentation 2022-12-06 11:18:14 -05:00
Cory LaViska 0c18880e5c replace icon x => x-lg 2022-11-29 11:03:58 -05:00
Cory LaViska f64f144b4b fixes #985 2022-11-10 12:27:03 -05:00
Cory LaViska 197a0c3048 update icon tests 2022-11-10 12:02:26 -05:00
Cory LaViska c6a43ba4c2 remove base from icons 2022-11-10 11:30:42 -05:00
Manuel Schmidt 8121faa1d4
Enrich components `@summary` with description from docs (#962)
* keep header styles with repositioned description text

* `animated-image` move description to component

* code style

* `avatar` add summary from docs

* `badge` add summary from docs

* `breadcrumb` add summary from docs

* `button` add summary from docs

* lead sentence is now part of the header

* `button-group` add summary from docs

* `card` add summary from docs

* `checkbox` add summary from docs

* `color-picker` add summary from docs

* `details` add summary from docs

* `dialog` add summary from docs

* `divider` add summary from docs

* `drawer` add summary from docs

* `dropdown` add summary from docs

* `format-bytes` add summary from docs

* `format-date` add summary from docs

* `format-number` add summary from docs

* `icon` add summary from docs

* `icon-button` add summary from docs

* `image-comparer` add summary from docs

* `include` add summary from docs

* `input` add summary from docs

* `menu` add summary from docs

* `menu-item` add summary from docs

* `menu-label` add summary from docs

* `popup` add summary from docs

* `progressbar` add summary from docs

* `progress-ring` add summary from docs

* `radio` add summary from docs

* `radio-button` add summary from docs

* `range` add summary from docs

* `rating` add summary from docs

* `relative-time` add summary from docs

* `select` add summary from docs

* `skeleton` add summary from docs

* `spinner` add summary from docs

* `split-panel` add summary from docs

* `switch` add summary from docs

* `tab-group` add summary from docs

* `tag` add summary from docs

* `textarea` add summary from docs

* `tooltip` add summary from docs

* `visually-hidden` add summary from docs

* `animation` add summary from docs

* `breadcrumb-item` add summary from docs

* `mutation-observer` add summary from docs

* `radio-group` add summary from docs

* `resize-observer` add summary from docs

* `tab` add summary from docs

* `tab-panel` add summary from docs

* `tree` add summary from docs

* `tree-item` add summary from docs

* remove `title` for further usage of `Sl` classnames in docs

* revert: use markdown parser for component summary
2022-10-21 09:56:35 -04:00
Cory LaViska 69ff4f0bbc refactor emit into ShoelaceElement 2022-09-16 16:21:40 -04:00
Cory LaViska 32f24a881e make dir/lang reactive everywhere 2022-08-17 11:37:37 -04:00
Cory LaViska d07a8cfaea fix import paths 2022-08-08 10:15:41 -04:00
Philipp Sonntag 3fb4cba856
Added type declaration to styles property for all components (#829)
* Updated the plop template with type for styles property
2022-07-19 08:27:39 -04:00
Cory LaViska 15dbb0a634 defer dom parser instantiation 2022-06-07 09:08:54 -04:00
Cory LaViska 9539123fc3 improve image comparer icon 2022-06-01 09:36:16 -04:00
Cory LaViska e60c5c4546 update eslint 2022-05-24 08:12:13 -04:00
Buni48 240db01e75
reflecting name and library in sl-icon (#742) 2022-05-02 16:26:37 -04:00
Cory LaViska 4b22fd2095 move to lint config 2022-03-24 08:23:58 -04:00
Cory LaViska 368854ba41 fix test 2022-03-24 08:17:28 -04:00
Cory LaViska 300cbd090f revert path aliases 2022-03-24 08:01:09 -04:00
Cory LaViska e32c15204c Revert recent changes 2022-03-24 07:48:03 -04:00
Cory LaViska f34960d82a revert path aliases since we can't override WTR's TS config 2022-03-23 09:30:39 -04:00
Cory LaViska f676949460 remove unused import 2022-03-22 11:03:00 -04:00
Cory LaViska 43e4a5b250 ts fixes 2022-03-22 10:32:39 -04:00