Commit graph

1331 commits

Author SHA1 Message Date
Eric Liu
08402e54bf
feat(form): add ref prop (#900)
Closes #877
2021-11-10 19:46:14 -08:00
Eric Liu
186d2863d3 v0.47.6 2021-11-10 19:38:13 -08:00
Eric Liu
32beeac85b
fix(text-input): coerce TextInput value to number if type is numerical (#902)
Fixes #898
2021-11-10 14:45:13 -08:00
Paweł Malinowski
7e76cbc8a9
fix(Tooltip): fix two way binding in cases where icon is in focus (#895) 2021-11-09 14:52:40 -08:00
Eric Liu
81daaab1ff v0.47.5 2021-11-07 12:14:44 -08:00
Eric Liu
b22058f54e hotfix(expandable-tile): set relative position in tile 2021-11-07 12:09:51 -08:00
Eric Liu
0383a2fe40 Merge branch 'master' of https://github.com/carbon-design-system/carbon-components-svelte 2021-11-07 12:04:11 -08:00
Eric Liu
a298a1bf15 Revert "docs(tooltip): hotfix reactive example #872 [ci skip]"
This reverts commit 3a0e2e92b8.
2021-11-07 12:04:06 -08:00
Paweł Malinowski
f32f8fb9dc
fix(ToolTip): better toggling logic (#885)
* fix(ToolTip): better toggling logic

* fix(ToolTip): remove redundant click handler

* fix(ToolTip): ensure at most one ToolTip is open at the same time

- a click event closes the tooltip if the target is not the tooltip or
  the tooltip icon.
- the event is registered in the capture phase and a `setTimeout` is used to
  deal with edge cases in which a button is used to toggle the tooltip
  on or off.
2021-11-07 12:03:32 -08:00
Eric Liu
0e460cdd91 v0.47.4 2021-11-06 10:46:47 -07:00
Eric Liu
b3a73cf80c
fix(data-table): avoid triggering click:row when clicking expandable row chevron (#890)
Fixes #889
2021-11-06 10:33:33 -07:00
Nicco
a317c7ed52
document static property on datepicker modal (#879)
* document static property on datepicker modal

* move to frame

* docs(date-picker): add missing props to DatePickerModal.svelte

Co-authored-by: metonym <ericyl.us@gmail.com>
2021-11-05 10:02:56 -07:00
metonym
07655aed3e docs: fix typo in button code path [ci skip] 2021-10-26 11:13:42 -07:00
metonym
af9b9a1d92 v0.47.3 2021-10-22 07:21:07 -07:00
Eric Liu
fb7ebb93cb
fix(data-table): expand batch expansion chevron if all rows are expanded #867 (#873)
Fixes #867
2021-10-22 07:18:03 -07:00
metonym
3a0e2e92b8 docs(tooltip): hotfix reactive example #872 [ci skip] 2021-10-21 09:49:16 -07:00
metonym
f4281b82e4 chore(changelog): fix typo [ci skip] 2021-10-21 08:49:22 -07:00
metonym
4cdf4a9b24 v0.47.2 2021-10-21 08:47:55 -07:00
Daniel Miedzik
51cd4ec342
fix #869 (#870) 2021-10-21 08:26:47 -07:00
Eric Liu
2aeeb728a2
fix(data-table): collapse batch expansion button if one or more rows collapsed #867 (#868) 2021-10-20 17:45:53 -07:00
Eric Liu
7b65a15345
Omit explicit "from carbon-icons-svelte" from icon prop definitions (#866)
* fix(types): update description for icon props #865

* docs(component-api): remove hardcoded Carbon Svelte icon description
2021-10-20 13:48:52 -07:00
metonym
0509e8f640 v0.47.1 2021-10-20 10:46:25 -07:00
Eric Liu
c64075acbe
fix(data-table): include border style for non-expandable rows (#864)
* fix(data-table): include border style for non-expandable rows

Fixes #861

* docs(data-table): use batchExpansion for non-expandable rows example [ci skip]
2021-10-20 10:02:10 -07:00
dependabot[bot]
ed873324e5
build(deps): bump vm2 from 3.9.3 to 3.9.5 in /examples/snowpack (#863)
Bumps [vm2](https://github.com/patriksimek/vm2) from 3.9.3 to 3.9.5.
- [Release notes](https://github.com/patriksimek/vm2/releases)
- [Changelog](https://github.com/patriksimek/vm2/blob/master/CHANGELOG.md)
- [Commits](https://github.com/patriksimek/vm2/compare/3.9.3...3.9.5)

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

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-19 08:40:37 -07:00
metonym
7af2732f83 v0.47.0 2021-10-19 07:28:04 -07:00
Eric Liu
96d848e9ef
feat(data-table): add nonExpandableRowIds prop (#862)
* feat(data-table): add nonExpandableRowIds prop #861

* test(data-table): validate nonExpandableRowIds prop

* docs(data-table): add Non-expandable rows example
2021-10-19 07:25:22 -07:00
Eric Liu
f64b021a94 v0.46.0 2021-10-17 13:06:10 -07:00
Eric Liu
2cc8953eb5 docs: omit explicit treeview scss import 2021-10-17 12:58:44 -07:00
Eric Liu
b616243b7f
fix(date-picker-input): avoid opening calendar if input is descendant of disabled fieldset #857 (#860) 2021-10-17 12:50:21 -07:00
Eric Liu
5a96f3f49d docs: fix sidenav overlay z-index 2021-10-16 14:54:54 -07:00
Eric Liu
3203e7a61f
Upgrade sveld to v0.10 (#856)
* chore(deps-dev): upgrade sveld to v0.10.2

* feat(types): regenerate types using sveld@0.10.2

* fix(types): update @extends to use .svelte extension
2021-10-16 12:34:29 -07:00
Eric Liu
c6fc8548d3
Align v10.46 (#854)
* chore(deps-dev): upgrade carbon-components to v10.46.0

* feat(tag): support outline type

* feat(multi-select): add hideLabel prop

* chore: delete unused publish-examples.js

* chore(deps-dev): remove gh-pages

* chore: remove publish-examples script

* chore(deps-dev): upgrade carbon-components to v10.46.0

* feat(tag): support outline type

* feat(multi-select): add hideLabel prop

* chore: delete unused publish-examples.js

* chore(deps-dev): remove gh-pages

* chore: remove publish-examples script

* chore: rebuild component index
2021-10-15 17:03:45 -07:00
Eric Liu
b21600c9d6
feat(types): loosen icon prop type to allow any Svelte component #806 (#853)
* feat(types): loosen type for Carbon icons #806

* Add closeIcon option and remove stopPropagation on:click in HeaderAction (#840)

* Remove stopPropagation on:click

Remove stopPropagation on:click helps when you have more then one acction to switch between actions tabs

* fix bug for default icon

* add closeIcon attribute to HeaderAction

* feat(types): loosen type for Carbon icons #806

* chore: update TreeView, HeaderAction icon types

Co-authored-by: Daniel Miedzik <daniel.miedzik@gmail.com>
2021-10-15 16:40:23 -07:00
Daniel Miedzik
1581bc0122
Add closeIcon option and remove stopPropagation on:click in HeaderAction (#840)
* Remove stopPropagation on:click

Remove stopPropagation on:click helps when you have more then one acction to switch between actions tabs

* fix bug for default icon

* add closeIcon attribute to HeaderAction
2021-10-15 16:23:34 -07:00
metonym
e7322acaae v0.45.1 2021-10-15 07:24:19 -07:00
Eric Liu
6759d3e8a0
fix(progress-indicator): prevent keyboard navigation for incomplete steps #851 (#852) 2021-10-15 07:21:47 -07:00
metonym
a9fe4e328b v0.45.0 2021-10-13 09:01:18 -07:00
Eric Liu
c4413636a4
Programmatically expand/collapse TreeView nodes (#850)
* feat(tree-view): add accessors to programmatically expand/collapse nodes

* feat(tree-view): update docs/types

* test(tree-view): test updated TreeView accessors

* docs(tree-view): document TreeView accessors
2021-10-13 08:54:37 -07:00
metonym
e14f9f7252 v0.44.7 2021-10-13 07:40:53 -07:00
KoichiKiyokawa
fed34e40ed
fix: add a value prop to Checkbox (#849) 2021-10-13 07:38:51 -07:00
Eric Liu
e0d5e6133e docs: fix link to source [ci skip]
TODO: refactor to use exact file path from component API
2021-10-11 18:33:24 -07:00
Eric Liu
0b96614b52 v0.44.6 2021-10-11 10:16:50 -07:00
Paweł Malinowski
d3eb146fb5
fix(DataTable): handle null/undefined values when sorting (#846) 2021-10-11 10:11:59 -07:00
Alexander Mart
16c377945c
docs: how to install from pnpm (#614)
Co-authored-by: Eric Liu <ericyl.us@gmail.com>
2021-10-08 10:56:48 -07:00
metonym
12f3784bb9 chore: update links [ci skip] 2021-10-05 15:25:40 -07:00
metonym
c1306b36a2 chore: update permalinks to new doc site [ci skip] 2021-10-05 15:23:32 -07:00
metonym
bf39b268c5 chore: delete vercel.json [ci skip] 2021-10-05 15:22:48 -07:00
metonym
66033e588d v0.44.5 2021-10-04 09:20:29 -07:00
KoichiKiyokawa
05f9d2afb3
fix: menuOptionsClass in OverflowMenu (#836) 2021-10-04 09:18:48 -07:00
metonym
8a56859110 ci: update test run name [ci skip] 2021-09-29 11:51:28 -07:00