Commit graph

1722 commits

Author SHA1 Message Date
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
metonym
ec867c46ba
fix(tree-view)!: remove expanded property from TreeNode interface (#1631)
* fix(tree-view)!: remove `expanded` property from `TreeNode`

* fix(tree-view-node-list)!: remove unused `expanded` prop

* docs(tree-view): remove `expanded` as a property

#1630
2023-01-17 20:55:46 -05:00
metonym
7701c012a5
chore: remove .husky (#1632) 2023-01-16 18:11:16 -05:00
Enrico Sacchetti
6d2e21f027
chore: improve lint, release workflows (#1627)
* Add standard-version to automate releases

* Remove husky

* Add lint script; run lint in GitHub Actions

* Run lint script

* Add Enrico to contributors
2023-01-15 15:34:09 -08:00
Enrico Sacchetti
c1c8309443
docs(component-api): change details -> detail (#1610) 2023-01-01 09:04:17 -08:00
Enrico Sacchetti
2e5f3554c6
chore: fix changelog 2022-12-31 15:39:59 -05:00
Enrico Sacchetti
bdf0e109c8
v0.71.0 2022-12-31 15:31:06 -05:00
Enrico Sacchetti
50066966da
feat(notification)!: replace iconDescription prop with statusIconDescription, closeButtonDescription (#1591)
Fixes #672, fixes #1563

* breaking: remove `iconDescription` prop from `InlineNotification`, `ToastNotification`

* breaking: require `iconDescription` prop in `NotificationIcon`

* feat: add new `statusIconDescription` and `closeButtonDescription` to `InlineNotification`, `ToastNotification`
2022-12-18 15:28:23 -08:00
Gregor Wassmann
e258db0cae
docs(pagination-nav): add change event docs (#1592)
It seems that in #1518 some docs were not properly generated.

This is the change that results from running `yarn build:docs`.
2022-12-17 09:06:40 -05:00
Enrico Sacchetti
8d55752a18
fix(pagination-nav)!: use 1-indexing to be consistent with Pagination (#1518)
Fixes #1513
2022-12-13 10:23:04 -08:00
Enrico Sacchetti
9198ed5474
feat!: dispatch "change" event in Pagination, rename "change" to "update" in Select (#1497)
Closes #1491

* feat(pagination): dispatch "change" event when interacting with previous/next buttons, page/page size dropdowns

* breaking(select): rename dispatched "change" event to "update"

* breaking(select): forward `change` event to `Select`
2022-12-13 10:22:17 -08:00
metonym
724d90bd7b
chore(types)!: remove sveltekit: attributes from types (#1581)
* chore(deps-dev): upgrade sveld 0.17.2 -> 0.18.0

* Run "yarn build:docs"
2022-12-11 15:58:19 -05:00
metonym
27da2a0f8b
docs: link source code to folder for multiple components (#1582)
* docs: link source code to folder for multiple components

* chore(docs): remove unused `source` from frontmatter
2022-12-10 20:49:42 -05:00
Eric Liu
f7969c64e8 chore(examples): bump deps [ci skip] 2022-12-08 07:50:33 -08:00
Eric Liu
3ba5ba7ccb v0.70.13 2022-12-08 07:41:42 -08:00
metonym
fce92fb648
fix(dropdown): avoid runtime error if items is empty (#1578) 2022-12-07 20:38:22 -08:00
metonym
4b503c8c35
fix(multi-select): avoid runtime error if items is empty (#1577) 2022-12-07 20:34:46 -08:00
Bilux
09b3eed582
fix(combobox): avoid runtime error if items is empty (#1545) 2022-12-07 20:29:04 -08:00
DetachHead
948b5a1488 docs: fix link to carbon-components (#1571) 2022-12-07 20:25:47 -08:00
David Wolf
c823f5c03a docs: fix link to carbon-components in README (#1574) 2022-12-07 20:25:47 -08:00
metonym
837716ff8b fix(overflow-menu): dispatch "close" event when clicking outside (#1546)
Fixes #1541
2022-12-07 20:25:47 -08:00
David Wolf
ba62f45d34
fix(table-header): button should have explicit type="button" (#1573) 2022-12-07 20:14:47 -08:00
Eric Liu
a3204cc131 docs(popover): simplify external element example 2022-12-07 20:13:13 -08:00
Maxime Fafard
0f8a57b9d2
fix(popover): fire "click:outside" event when clicking sibling elements (#1570) 2022-12-07 20:10:45 -08:00
Enrico Sacchetti
fa5515ded0
fix(dropdown): only dispatch "select" on interaction, allow arrow keys to navigate menu (#1569)
Fixes #1475
2022-12-07 20:09:29 -08:00
Eric Liu
a0600e8bdb chore(number-input): ensure value is a number
Fast-follow to #1555. `ref.value` remains a string if not converted to a number.
2022-12-07 20:07:49 -08:00
Jonathan Quintin
e6f5766e46
fix(number-input): support floating point values (#1555)
Fixes #233, fixes #486, fixes #1554
2022-12-07 20:06:29 -08:00
Jonathan Quintin
e7fe8ca85b
fix(toggle): forward change, keyup events after toggled updates (#1559)
Fixes #1556
2022-12-07 20:05:20 -08:00
brunnerh
75a69bbfc2
fix(progress-step): fix label text if vertical is true (#1533)
Fixes #1532
2022-12-07 20:03:34 -08:00
brunnerh
7a98ec26eb
fix(progress-step): inherit unclickable styling if preventChangeOnClick is true (#1535)
Fixes #1534
2022-12-07 20:02:24 -08:00
Tadeáš Maršík
bf337c48ae
fix(progress-step): button should have explicit type="button" (#1551)
Fixes #1550
2022-12-07 20:01:29 -08:00
metonym
198e0da4c5
fix(tree-view): loosen TreeNode text property type to any (#1576)
* fix(tree-view): loosen `TreeNode` text property type to any

* Run "yarn build:docs"

* test(tree-view): assert updated property type value
2022-12-07 20:00:20 -08:00
DetachHead
21d841feeb
fix(tree-view): make TreeView children prop type work recursively (#1566) 2022-12-07 19:54:14 -08:00
Bilux
ae34451583
fix(data-table): remove unused import from "svelte/store" (#1529) 2022-10-20 10:21:12 -07:00
Eric Liu
43b3029d50 v0.70.12 2022-10-13 22:06:06 -07:00
metonym
1c4ee00142
fix(search): prop types should extend input attributes (#1523)
Fixes #1520
2022-10-13 22:04:32 -07:00
Eric Liu
c0188d16bb v0.70.11 2022-10-13 21:50:28 -07:00
metonym
c6373dc9b6
fix(a11y): ignore false positive a11y warnings (#1522)
Fixes #1517
2022-10-13 21:37:52 -07:00
Paweł Malinowski
5723ffef02
fix(number-input): allowEmpty should not be invalid if value is null (#1511)
Fixes #1510
2022-10-13 21:24:55 -07:00
metonym
b5b392963e
docs(pagination-nav): add more examples (#1514)
Adds "Reactive example," "Total," "Shown," and "Custom button text."
2022-10-08 13:38:11 -07:00
Eric Liu
d9255e7441 chore(examples): bump deps 2022-10-08 13:05:52 -07:00
Eric Liu
c238a9a2ba v0.70.10 2022-10-04 06:53:38 -07:00
Matt Rosno
4feba54820
docs: index getting started content (#1499) 2022-10-03 20:34:59 -07:00
metonym
59c02c9a92
docs: update README, links (#1509)
* docs: add note on using `optimizeImports` with `svelte-preprocess` (Closes #1500)

* docs: point link to SASS guide to v10 (#1489)

* docs: remove note on minimum Svelte version as it's been almost half a year since 3.48 was released
2022-10-03 20:32:48 -07:00
metonym
affeb2e2f4
fix(list-box-menu-item): avoid element reference error (#1507)
Fixes #1505
Fixes #1503
2022-10-03 19:08:07 -07:00
metonym
a657b6e334
fix(date-picker): display warn/invalid icons in input with calendar (#1508)
Fixes #1498
2022-10-03 19:07:48 -07:00
metonym
139e23fdcc
fix(header-search): fix layout regression (#1506)
Fixes #1504
2022-10-03 18:33:30 -07:00
Tee Ming
e900b47ff0
fix: localize HeaderAction, ImageLoader transitions (#1502) 2022-10-03 18:33:04 -07:00
Eric Liu
8dd9169a33 v0.70.9 2022-09-23 07:17:08 -07:00