Commit graph

1820 commits

Author SHA1 Message Date
Eric Liu
7fdc2ef7f0
fix(types): allow data-* attributes for props forwarded to HTML elements (#1741)
* chore(deps-dev): upgrade `sveld` to v0.18.1

* Run "yarn build:docs"

* test: assert that `data-*` attributes are valid
2023-07-08 16:41:44 -07:00
Eric Liu
7579c032fa
fix(select): hide helperText if invalid or warning state (#1761) 2023-07-08 11:29:05 -07:00
Eric Liu
7381a03951
chore(deps-dev): upgrade svelte-check to version 3 (#1739)
* chore(deps-dev): upgrade svelte-check, @tsconfig/svelte

* chore(types): fix type error in `TreeView`

* chore: adjust `test:types` command to ignore folders
2023-07-04 14:00:24 -07:00
Superior
ab21c89ab9
fix(slider): disabled Slider should not submit a form (#1758)
A single disabled input should not submit a form. If there are other non-disabled inputs in the same form, the value of the disabled input should not be included upon form submission.
2023-07-04 09:02:50 -07:00
Ben Periton
d5a4a8b94a
fix(date-picker): hide helperText if invalid or warning state (#1759) 2023-07-03 12:14:23 -07:00
Enrico Sacchetti
d75dca98d9
v0.76.0 2023-06-21 16:05:19 -04:00
Sachin
0b4f19c87e
feat: make titleText slottable in MultiSelect, ComboBox (#1750)
Closes #1747
2023-06-11 18:45:55 -07:00
Enrico Sacchetti
e2d7e04397
v0.75.1 2023-06-02 13:09:43 -04:00
Eric Liu
a369962fdf
fix(expandable-tile): set tile height using resize observer (#1738)
* fix(expandable-tile): set tile max height using Resize Observer

* docs(expandable-tile): update and re-work examples
2023-06-02 13:08:25 -04:00
Enrico Sacchetti
4460f5b5f8
v0.75.0 2023-05-21 14:09:58 -04:00
Sam
60a796ea48
feat(pagination-nav): add tooltipPosition prop (#1733)
* Add `tooltipPosition` to `PaginationNav` per #1656

* Rebuild test

* Update description in documentation

Co-authored-by: Enrico Sacchetti <esacchetti@gmail.com>

* chore: update docs

---------

Co-authored-by: Samuel Janda <hi@simpleprogramming.com.au>
Co-authored-by: Enrico Sacchetti <esacchetti@gmail.com>
Co-authored-by: Enrico Sacchetti <enrico@theetrain.ca>
2023-05-21 13:59:53 -04:00
Enrico Sacchetti
edcb14b3c9
v0.74.0 2023-05-18 21:31:41 -04:00
Eric Liu
c02b4738bc
fix: resolve a11y warnings from Svelte version 3.58 (#1732)
* chore(deps-dev): upgrade svelte to 3.58

* chore(a11y): ignore false positives

Referencing the upstream Carbon React implementation, these warnings can be ignored.

* fix(list-box-menu-item): set `tabindex` to `-1`

* chore: fix `tabindex` capitalization

The Svelte Language server does not detect `tabIndex` as a valid attribute.

Note, however, that `tabIndex` is correct when using it in JavaScript (e.g., `node.tabIndex`).
2023-05-18 14:53:17 -04:00
Pierre
b9aaa3adca
feat(ui-shell): make HeaderNavItem slottable (#1693) 2023-05-02 16:23:04 -07:00
metonym
8b57f235f2
docs(slider): add label text, value (#1716)
docs(slider): add label text
2023-04-08 15:21:24 -04:00
metonym
12bcefa38c
docs: remove Deploy to Render CTA (#1717) 2023-04-08 15:19:17 -04:00
metonym
50147439b5
ci: add job to automatically deploy docs (#1711)
* ci: add job to automatically deploy docs

* empty commit to re-trigger CI
2023-03-29 22:05:38 -04:00
Gregor Wassmann
24432fbed6
docs: remove redundant CSS (#1710) 2023-03-27 09:37:25 -07:00
Enrico Sacchetti
b4a2ea2758
v0.73.5 2023-03-26 15:31:02 -04:00
metonym
c00df40216
chore(a11y): silence new a11y warnings from svelte@3.57 (#1703)
* chore(deps-dev): upgrade svelte to 3.57

* chore(deps-dev): upgrade svelte-check

* chore(a11y): silence new a11y warnings from svelte@3.57

* Revert "chore(deps-dev): upgrade svelte-check"

This reverts commit 78106587a2.

* fix(progress-step): remove unnecessary `aria-disabled`

https://github.com/carbon-design-system/carbon-components-svelte/pull/1703#pullrequestreview-1357928713
2023-03-26 15:28:48 -04:00
Gregor Wassmann
9c1b0c1278
docs: fix layout for smaller screens (#1707)
Fixes #1649
2023-03-26 09:34:08 -07:00
Hyunseung
4c5d8cd1ed
docs(tag): fix typo (#1705) 2023-03-25 13:18:42 -07:00
Gregor Wassmann
aa2e97f110
docs(theme): use Theme component from library (#1700) 2023-03-24 16:10:50 -07:00
Gregor Wassmann
14f23962c3
chore: run yarn lint (#1701) 2023-03-24 15:48:00 -07:00
Enrico Sacchetti
4960504ace
v0.73.4 2023-03-20 21:29:25 -04:00
metonym
ca40dd18c2
fix(selectable-tile): include dispatched events in types (#1695)
Fixes #1694
2023-03-20 21:27:29 -04:00
Hyunseung
821233ab4f
fix(text-input): correctly set input padding for warning state (#1688)
Fixes #1687
2023-03-15 10:23:59 -07:00
Enrico Sacchetti
53899cf537
v0.73.3 2023-03-11 14:52:20 -05:00
gabrielleecredera
42349ebc61
fix(1684): hide helper text container in password input when not used (#1685) 2023-03-11 14:38:44 -05:00
Enrico Sacchetti
d2e471bbec
chore(github): provide contact links in issue template (#1669) 2023-02-26 19:49:32 -08:00
Enrico Sacchetti
185f1da7ef
v0.73.2 2023-02-26 20:53:43 -05:00
metonym
6386c33f93
fix: readonly should override error behavior in TextInput, NumberInput (#1666)
* fix(text-input): avoid overlapping readonly/invalid icons

* fix(number-input): avoid overlapping readonly/invalid icons

* fix: readonly inputs cannot be invalid

Addresses https://github.com/carbon-design-system/carbon-components-svelte/pull/1666#pullrequestreview-1314558645
2023-02-26 20:51:50 -05:00
Enrico Sacchetti
65a8bbf1f9
v0.73.1 2023-02-19 14:54:32 -05:00
Carson McCue
b435be4f12
fix(textinput/passwordinput): apply aria-describedby to hint text
* Aria-describedby

Resolves base aria-describedby attribute from #1633.

* Update PasswordInput.svelte
2023-02-19 14:53:00 -05:00
dependabot[bot]
eaa4af14d1
build(deps): bump minimatch from 3.0.4 to 3.1.2 (#1580)
Bumps [minimatch](https://github.com/isaacs/minimatch) from 3.0.4 to 3.1.2.
- [Release notes](https://github.com/isaacs/minimatch/releases)
- [Changelog](https://github.com/isaacs/minimatch/blob/main/changelog.md)
- [Commits](https://github.com/isaacs/minimatch/compare/v3.0.4...v3.1.2)

---
updated-dependencies:
- dependency-name: minimatch
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-19 12:55:59 -05:00
Enrico Sacchetti
420f8e8f24
docs: update release guide 2023-02-19 12:40:59 -05:00
Enrico Sacchetti
8f88a0f0b2
v0.73.0 2023-02-19 12:39:30 -05:00
Jonathan Quintin
7ddbf17cbb
feat(progress-bar): add status prop (#1560)
* ProgressBar status feature added

* ProgressBar: Removed the css variables and use carbon-css instead.
The way of assigning the ProgressBar value has change. It is now a style
variable and scale-x is calculated in the css. This way prevent the
override of carbon css.

* Removed an unessacery span.

* Removed an unnecessary span.

* Added the status for the ProgressBarUx

* Remove `style css` and update docs.

* - Fixed the `capped` variable for more readability
- Updated docs `label` and `helperText`
- Updated docs and css

* fix: finished/error states cannot be indeterminate

* Run "yarn build:css"

* Re-run "yarn build:docs"

* test(progress-bar): assert `status` prop

* chore: add aria-busy and set valuenow to 0 when not active

---------

Co-authored-by: Eric Liu <ericyl.us@gmail.com>
Co-authored-by: Enrico Sacchetti <enrico@theetrain.ca>
2023-02-19 12:34:41 -05:00
Francine Lucca
7cc92231b2
chore(platform): update tooltip definition in carbon.yml (#1640) 2023-02-13 11:32:06 -08:00
Taylor Jones
a3b37c4e62
docs(readme): add discord link to readme (#1659) 2023-02-13 13:16:35 -05:00
Enrico Sacchetti
7e4fd91bd3
v0.72.3 2023-02-11 13:51:13 -05:00
metonym
6450e8b0b1
fix(types): add missing $$restProps for Checkbox, Filename, FluidForm (#1655)
* fix(types): add missing `$$restProps` for `Checkbox`, `Filename`, `FluidForm`

* Run "yarn build:docs"

* test: assert `$$restProps` for `Checkbox`, `Form`
2023-02-11 13:50:01 -05:00
metonym
2a8fc00a09
docs(button): add example of disabled, icon-only button (#1651) 2023-02-06 22:26:24 -05:00
Enrico Sacchetti
09330552f9
v0.72.2 2023-02-04 20:33:10 -05:00
metonym
d897484abf
fix(dropdown): dispatch correct selectedItem in select event (#1646)
Fixes #1645
2023-02-04 20:31:31 -05:00
Enrico Sacchetti
57b6ea68b5
v0.72.1 2023-01-24 22:32:09 -05:00
ptrxyz
8cb5d538f7
fix(dropdown): fix ssr issue (#1639)
The `onDestroy` hook is also run during SSR, so returning destruction function from `onMount` should do the trick. For #1638
2023-01-24 22:28:36 -05:00
Enrico Sacchetti
afa692c9e0
docs: update release guide 2023-01-17 21:12:38 -05:00
Enrico Sacchetti
5bb2197371
v0.72.0 2023-01-17 21:02:23 -05:00
Jonathan Quintin
73aa6e216a
fix(dropdown): close when user clicks outside iframe (#1596)
* `Dropdown` click outside
Fixes #1595

* `onDestroy` we want to remove the event listener
to prevent listeners hanging
2023-01-17 20:57:50 -05:00