Enrico Sacchetti
bd3ea6dbf1
chore: install svelte 5
...
Adjust configs to prepare for svelte 5
2024-04-28 17:53:47 -04:00
Eric Liu
1b3907fc71
docs(style): always use dark mode for code snippet
2024-03-31 10:40:49 -07:00
dependabot[bot]
dbfe50685c
build(deps): bump express from 4.18.3 to 4.19.2 in /examples/webpack ( #1946 )
...
Bumps [express](https://github.com/expressjs/express ) from 4.18.3 to 4.19.2.
- [Release notes](https://github.com/expressjs/express/releases )
- [Changelog](https://github.com/expressjs/express/blob/master/History.md )
- [Commits](https://github.com/expressjs/express/compare/4.18.3...4.19.2 )
---
updated-dependencies:
- dependency-name: express
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-31 10:01:45 -07:00
Eric Liu
adc7baed63
docs: update guidance on carbon-preprocess-svelte
2024-03-25 11:23:41 -07:00
Eric Liu
8a7583e8fc
chore(package): normalize repository.url
[ci skip]
...
Run "npm pkg fix" to auto-fix the error.
2024-03-23 14:52:15 -07:00
Eric Liu
40c8ba4449
chore(examples): bump deps
2024-03-23 14:40:01 -07:00
Eric Liu
1fc8fff2d9
v0.85.0
2024-03-23 14:05:12 -07:00
metonym
d5a11489f8
refactor!: use :global()
for custom styles ( #1940 )
...
* Prefix custom class selectors with `bx--` (primarily used in custom UI Shell components)
* Use `:global` scope so that selector names are not hashed
2024-03-23 13:11:44 -07:00
dependabot[bot]
c1e0d7a3b8
build(deps): bump webpack-dev-middleware from 7.0.0 to 7.1.1 in /examples/webpack ( #1939 )
...
build(deps): bump webpack-dev-middleware in /examples/webpack
Bumps [webpack-dev-middleware](https://github.com/webpack/webpack-dev-middleware ) from 7.0.0 to 7.1.1.
- [Release notes](https://github.com/webpack/webpack-dev-middleware/releases )
- [Changelog](https://github.com/webpack/webpack-dev-middleware/blob/master/CHANGELOG.md )
- [Commits](https://github.com/webpack/webpack-dev-middleware/compare/v7.0.0...v7.1.1 )
---
updated-dependencies:
- dependency-name: webpack-dev-middleware
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-21 12:11:36 -07:00
Eric Liu
acd08cde5c
docs(ui-shell): remove unused imports
2024-03-18 14:31:28 -07:00
dependabot[bot]
4f3a1227ed
build(deps): bump follow-redirects from 1.15.5 to 1.15.6 in /examples/webpack ( #1938 )
...
build(deps): bump follow-redirects in /examples/webpack
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects ) from 1.15.5 to 1.15.6.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases )
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.15.5...v1.15.6 )
---
updated-dependencies:
- dependency-name: follow-redirects
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-16 09:45:07 -07:00
Eric Liu
240a87a8e9
v0.84.1
2024-03-16 09:42:25 -07:00
Nick Wing
6364b23030
fix(checkbox): forward on:focus
, on:blur
to Checkbox
and InlineCheckbox
( #1937 )
2024-03-16 09:31:30 -07:00
berndfuhrmann
9132bf8e5a
fix(data-table): loosen sort
return type to be a number
( #1935 )
...
Fixes #1934
Loosen the `sort` return type from `0 | 1 | -1` to `number`.
2024-03-13 09:55:02 -07:00
Eric Liu
21b1d78d8e
chore(examples): bump deps
2024-03-09 08:54:09 -08:00
Eric Liu
8ce0c6b66d
v0.84.0
2024-03-07 21:18:33 -08:00
spburtsev
d8bc65163e
feat(ui-shell): support button tooltip in HeaderGlobalAction
( #1894 )
...
Closes #1893
2024-03-07 20:37:58 -08:00
metonym
0405edee7d
fix(exports): resolve imports with explicit *.js extension ( #1927 )
...
Fixes #1925
Importing using the explicit `.*js` extension will throw an error as these are not included in the package exports map. Normally, this would be acceptable if it's not part of the API.
However, the `optimizeImports` Carbon preprocessor rewrites certain imports (e.g., `breakpoints`) to the source `*.js` file.
```sh
Internal server error: Failed to resolve import "carbon-components-svelte/src/Breakpoint/breakpoints.js" from "src/App.svelte".
```
2024-03-07 20:35:08 -08:00
Enrico Sacchetti
0071990803
v0.83.0
2024-03-06 22:53:25 -05:00
metonym
6152b784c1
fix(search): hoist ignore a11y autofocus
comment
...
In Svelte 5, the comment is ignored when it's above the input element. Setting the comment at the top-level resolves the issue.
2024-03-06 22:49:27 -05:00
metonym
8bffc17d65
fix(link)!: do not render p
for disabled link
...
Closes #1924
Svelte 5 will not compile if `div` is nested inside `p` element. Refactor Link to render an `a` instead of `p` when disabled.
2024-03-06 22:49:27 -05:00
metonym
a0d5028540
fix: avoid using reserved $
for Svelte 5 compat
...
Co-Authored-By: Eric Fulton <5297269+Sahasrara@users.noreply.github.com>
2024-03-06 22:49:27 -05:00
Eric Liu
96aef1705c
ci: upgrade Node to 20.x
2024-03-05 20:58:51 -08:00
Eric Liu
de9e71178b
ci: upgrade actions/cache
to v4
2024-03-05 20:58:51 -08:00
metonym
91c27d48bf
docs(tag): add "Tooltip in a tag" example ( #1922 )
2024-03-05 20:55:06 -08:00
Francine Lucca
44a2989dff
chore(deps): add @ibm/telemetry-js
( #1912 )
2024-02-29 15:09:13 -08:00
metonym
0ef0f9b593
v0.82.11
2024-02-26 07:58:47 -08:00
Eric Liu
15f0e03c43
docs(button): add description to "Custom element"
2024-02-25 14:11:51 -08:00
Eric Liu
e8d4ed0382
docs(button): add "Link button with icon" example
2024-02-25 14:11:51 -08:00
Eric Liu
9aabe3cbbb
fix(toast-notification): fire on:clear
from timeout correctly
...
Fixes #1914
Co-Authored-By: brunnerh <brunnerh@users.noreply.github.com>
2024-02-25 13:38:46 -08:00
Eric Liu
ced9673681
docs(toast-notification): add "Autoclose" example
2024-02-25 13:38:46 -08:00
Eric Fulton
2404244221
fix(overflow-menu): use offsetWidth
, offsetHeight
to compute menu dimensions ( #1913 )
2024-02-25 10:21:54 -08:00
Eric Liu
c6af8bdafe
docs(image-loader): add "Dynamic image source" example
2024-02-24 13:40:02 -08:00
Eric Liu
0f318aac77
fix(image-loader): updated src
should update the image
...
Fixes #1677
The `ImageLoader` image should correctly update if `src` changes.
2024-02-24 13:40:02 -08:00
metonym
4e6bfd0612
docs(code-snippet): add "Custom show more/less text" example ( #1918 )
2024-02-24 10:39:14 -08:00
Eric Liu
1901bcddb6
docs(code-snippet): add "Hidden copy, show more buttons" example
2024-02-24 10:24:59 -08:00
Eric Liu
79b0f8dbf0
docs(code-snippet): add "Hidden show more button" example
...
Related #1536
2024-02-24 10:24:59 -08:00
Eric Liu
4085536189
fix(code-snippet): showMoreLess={false}
should hide button
...
Fixes #1536
If `showMoreLess` is explicitly `false` for multi-line code snippets, the button should not be shown at all.
2024-02-24 10:24:59 -08:00
metonym
17f4c49519
v0.82.10
2024-02-12 14:09:40 -08:00
mmamedel
90dbd1562b
fix(slider): dispatch on:input
event ( #1906 )
...
Fixes #1643
The dispatched `on:change` event in `Slider` only fires when the slider thumb is released. `on:input` fires when actively dragging the thumb, and should fire on every increment (e.g., 1, 2, 3).
2024-02-10 20:44:39 -08:00
Eric Liu
5c95891079
chore(deps-dev): bump svelte, svelte-check
2024-02-10 20:33:42 -08:00
Eric Liu
c35036011e
chore(examples): bump deps
2024-02-10 20:31:01 -08:00
metonym
5a758b5c60
v0.82.9
2024-02-07 14:40:41 -08:00
metonym
4ad522c197
fix(context-menu): prevent on:contextmenu
default behavior only when opening menu ( #1911 )
...
Fixes #1909
2024-02-07 14:37:44 -08:00
metonym
6590457574
fix(types): improve e.detail
type for dispatched events ( #1907 )
...
* fix(types): improve `e.detail` type for dispatched events
* Run "yarn build:docs"
* test: assert new types
2024-02-01 10:56:34 -05:00
Enrico Sacchetti
f1cafd4959
build: set up separate publish jobs ( #1887 )
2024-01-12 13:44:20 -05:00
Gregor Wassmann
3bd943d12c
chore: linting ( #1885 )
2024-01-11 06:55:39 -08:00
Eric Liu
6aa0ef61ad
v0.82.8
2024-01-09 20:19:40 -08:00
Eric Liu
d3e5b3dd54
chore: re-install sveld and run yarn build:docs
2024-01-09 20:15:04 -08:00
Ryan Marx
59018728df
fix(button): forward on:focus
event ( #1878 )
...
Fixes #1830
2024-01-09 20:09:11 -08:00