Commit graph

1905 commits

Author SHA1 Message Date
Eric Liu
35031e800c v0.65.3 2022-06-15 07:15:27 -07:00
metonym
eb381190c9
fix(tree-view): fix type error when keyboard navigating an expanded node (#1350)
Fixes #1349
2022-06-15 07:14:09 -07:00
Eric Liu
624abe88fe v0.65.2 2022-06-12 18:12:40 -07:00
jorgebv
0f060ea035
fix(data-table): table header keys should be reactive (#1346)
Fixes #1345

Co-authored-by: Jorge Vergara <jbvergara@bethel.jw.org>
2022-06-12 18:09:33 -07:00
metonym
b21718ccfd
fix(time-picker): use native binding for value prop (#1344) 2022-06-12 08:09:43 -07:00
metonym
8e52e13ee9
fix: use native binding for value prop in ComboBox, MultiSelect (#1343)
* fix(combo-box): use native binding for value prop (fixes #1262)

* fix(multi-select): use native binding for value prop
2022-06-12 07:12:11 -07:00
Eric Liu
2c05f35c48 v0.65.1 2022-06-09 11:20:30 -07:00
metonym
e56ee83dc4
hotfix(data-table): column sort direction order should be independent (#1342)
Fixes #1341
2022-06-09 11:14:14 -07:00
Eric Liu
566d64c970 v0.65.0 2022-06-07 08:03:16 -07:00
brunnerh
37aa207c85
refactor(modal): simply nested modals logic (#1339)
Cleans up #1331 to reuse shared logic between `Modal`, `ComposedModal`.
2022-06-07 07:43:02 -07:00
metonym
95b32937d6
perf(data-table): save rows reference when reducing (#1338)
d2cdb8eb0f (r75383503)
2022-06-05 14:24:37 -07:00
metonym
72c24b83b2
feat(data-table): support programmatic sorting (#1337)
* refactor(data-table): pass down sortable props instead of using context

* feat(data-table): support programmatic sorting

* test(data-table): assert new props

* docs(data-table): add "Programmatic sorting" example

* refactor(data-table): remove unused tableSortable store

* refactor(data-table): remove unused indices
2022-06-05 13:37:50 -07:00
metonym
d2cdb8eb0f
fix(data-table): do not overwrite row.cells property (#1336)
* refactor(data-table): remove unneeded third argument from resolvePath call

* fix(data-table): do not overwrite `cells` property (#667)

* perf(data-table): early return if path in object when resolving path
2022-06-05 13:29:58 -07:00
metonym
260bf4e040
breaking(types): type arrays as read-only (#1335)
Closes #1259

* breaking(types): type arrays as read-only

* Run "yarn build:docs"

* test: assert read-only arrays
2022-06-05 13:25:43 -07:00
metonym
1a904dda36
docs(modal): add "Has scrolling content," "Custom focus" examples (#1334)
* docs(modal): add example "Has scrolling content"

* docs(modal): add "Custom focus" example

* docs: do not open modals initially
2022-06-02 19:26:26 -07:00
metonym
e62bea38aa
refactor(modal): set alert dialog attributes in markup (#1333) 2022-06-02 18:41:18 -07:00
metonym
e230db8115
feat: forward paste event to input/textarea elements (#1332)
* chore(deps-dev): upgrade sveld, svelte-check

* feat: forward paste event to input/textarea elements

* Run "yarn build:docs"

* test: assert paste event
2022-06-02 18:39:49 -07:00
metonym
f25a10c9c4
feat: support item.disabled key for Dropdown, MultiSelect, ComboBox (#1328)
Closes #1326

* feat: support item.disabled key for `Dropdown`, `MultiSelect`, `ComboBox`

* Run "yarn build:docs"

* test: assert disabled property

* docs: add "Disabled items" examples
2022-06-02 17:56:30 -07:00
metonym
22f93ee675
fix(modal): nested modals should correctly toggle the body class (#1331)
Fixes #1324
2022-06-02 17:56:07 -07:00
metonym
0063c01beb
breaking(dropdown): remove useless inline prop (#1329)
* breaking(dropdown): remove useless `inline` prop

* Run "yarn build:docs"
2022-06-02 17:36:46 -07:00
metonym
66c96612bf
fix(dropdown): remove redundant role/id (#1327)
* fix(list-box): list box item should have a role and `aria-selected` attribute

* fix(dropdown): remove redundant role/id
2022-06-01 18:55:27 -07:00
Eric Liu
068e4913e0 chore(examples): bump deps [ci skip] 2022-05-29 11:26:14 -07:00
Eric Liu
b271aa5c67 v0.64.3 2022-05-29 10:47:52 -07:00
metonym
c90594002a
fix(checkbox): do not set title attribute if already provided (#1323)
* fix(checkbox): do not set title attribute if already provided

* Run "yarn build:docs"
2022-05-29 10:42:36 -07:00
metonym
f431104057
docs(tabs): add example "Disabled tabs" (#1322) 2022-05-29 10:32:22 -07:00
Eric Liu
fa5d1df3b4 docs: make install commands more concise 2022-05-29 10:15:52 -07:00
metonym
0f621c2545
fix(tabs): selected tab should not steal focus if updated programmatically (#1320)
Fixes #572
2022-05-29 10:12:55 -07:00
metonym
0801e1d078
refactor: prefer class directive over class attribute (#1318) 2022-05-29 08:16:27 -07:00
metonym
40e18fbc88
feat: set title attribute in CheckBox, MultiSelect, Dropdown, ComboBox if label is truncated (#1317)
* feat(checkbox): set title attribute if label is truncated

* feat(list-box-menu-item): set title attribute if label is truncated
2022-05-29 08:16:17 -07:00
Eric Liu
90477c4d0e v0.64.2 2022-05-25 18:53:14 -07:00
metonym
31dacd53ab
fix(data-table): apply custom widths to empty columns (#1314)
Fixes #1313
2022-05-25 18:50:55 -07:00
Eric Liu
9137238be0 v0.64.1 2022-05-24 07:37:40 -07:00
metonym
04d758f869
fix: CopyButton text prop and Dropdown selectedId prop should be required (#1311)
* chore(deps-dev): upgrade sveld to v0.17.0

* fix(copy-button): text prop is required

* fix(dropdown): selectedId prop is required

* Run "yarn build:docs"

* docs: display "Required" tag for required props
2022-05-22 12:39:53 -07:00
Andrea N. Cardona
e70f925902
chore: update thumbnails (#1307) 2022-05-20 10:33:12 -07:00
metonym
003ab653eb
fix(theme): use @see tag for link in tokens prop description (#1309)
* fix(theme): use `@see` tag for link in tokens prop description

* Run "yarn build:docs"
2022-05-18 19:28:38 -07:00
metonym
cae1f1939e
fix(modal): remove close button title attribute, add aria-hidden to icons (#1308)
* fix(modal): close button should not have a title

* fix(modal): close icon should not have aria-label

* fix(modal): close button icons should have `aria-hidden="true"
2022-05-18 19:00:21 -07:00
metonym
e1451324cc
docs: update Theme, DataTable docs (#1305)
* docs(theme): add note that `Theme` must be used with `all.css`

* docs(data-table): add note that custom widths do not work with `stickyHeader`
2022-05-17 06:24:23 -07:00
Eric Liu
d5a3557530 v0.64.0 2022-05-14 13:57:32 -07:00
metonym
4a052afcb5
chore(date-picker): also set static: true in exported prop (#1300)
* chore(date-picker): also set `static: true` in exported prop

* Run "yarn build:docs"
2022-05-14 12:49:06 -07:00
metonym
37b40d640b
fix(types): use @see tag for flatpickr options link (#1299)
* chore(deps-dev): upgrade sveld to v0.15.3

* Run "yarn build:docs"

* fix(types): use `@see` tag for flatpickr options link
2022-05-14 12:43:12 -07:00
metonym
a958825d19
breaking(date-picker): default flatpickrProps.static to true (#1298)
Closes #985

* breaking(date-picker): default `flatpickrProps.static` to true

* docs(date-picker): update docs on `flatpickrProps.static`

* docs(date-picker): feature single/range examples first
2022-05-14 11:46:38 -07:00
István Pató
20a8a647f1
fix(date-picker): pressing "Enter" in date picker should update the value (#1280) 2022-05-14 10:00:33 -07:00
metonym
c6f210899b
feat(data-table): allow custom column widths (#1265)
* feat(data-table): allow header column `width`, `minWidth` values

* Run "yarn build:docs"

* test(data-table): assert width, minWidth properties

* docs(data-table): add "Custom column widths" example
2022-05-14 09:24:24 -07:00
metonym
6239c11024
breaking(data-table): use data attribute instead of id for table header/row (#1297)
Fixes #1294
2022-05-13 20:18:32 -07:00
metonym
7c4842f506
docs(code-snippet): add "Reactive example" (#1296)
* docs(code-snippet): add description to "Hidden copy button"

* docs(code-snippet): add "Reactive example"
2022-05-13 19:18:14 -07:00
metonym
88d5152343
fix(types): narrow dispatched events without detail to use null instead of any (#1295)
* chore(deps-dev): upgrade sveld to v0.15.2

* Run "yarn build:docs"
2022-05-13 09:56:21 -07:00
metonym
5576c7ce84
fix(header-action): type missing "open" event (#1293)
* fix(header-action): type missing "open" event

* Run "yarn build:docs"

* test(header-utilities): assert "open" and "close" events
2022-05-12 20:23:16 -07:00
metonym
1454eeae19
feat(code-snippet): dispatch "expand" and "collapse" events (#1291)
* test(code-snippet): simply assertions

* feat(code-snippet): dispatch "expand," "collapse" events

* Run "yarn build:docs"

* test(code-snippet): assert events
2022-05-12 19:52:31 -07:00
metonym
e3f72e6412
fix(code-snippet): use "small" size for expand/collapse button (#1292)
Ref: https://github.com/carbon-design-system/carbon/pull/11353
2022-05-12 19:52:17 -07:00
Eric Liu
12ffe3d70f v0.63.8 2022-05-07 12:22:53 -07:00