metonym
f4d12b805a
fix(toggle): add missing hideLabel
prop ( #1414 )
...
* fix(toggle): add missing hideLabel prop
* Run "yarn build:docs"
* test(toggle): assert hideLabel prop
* docs(toggle): add "Hidden label text" example
2022-07-26 07:12:57 -07:00
Eric Liu
614e6eb087
v0.67.2
2022-07-23 06:17:56 -07:00
Johannes
8bd615b250
fix(combobox): value should call itemToString
with filtered item ( #1411 )
...
Fixes #1405
When using the `shouldFilterItem` prop, the `ComboBox` does not display the custom label set with `itemToString` in the input after a selection.
2022-07-23 06:15:11 -07:00
Eric Liu
e3f98cde4b
chore(examples): bump deps [ci skip]
2022-07-19 19:43:49 -07:00
Andrea N. Cardona
035c563a26
chore(carbon.yml): update library name ( #1407 )
2022-07-19 07:48:18 -07:00
Eric Liu
f8e400f2ed
v0.67.1
2022-07-12 19:45:53 -07:00
metonym
638a43714f
fix(side-nav): set high z-index
on open overlay ( #1388 )
...
Fixes #786
The UI Shell `SideNav` overlay can sometimes be superseded by other elements. This applies a `z-index` value of `6000` to the overlay when open.
2022-07-12 19:43:45 -07:00
metonym
2fedd6343f
v0.67.0
2022-06-29 11:50:25 -07:00
metonym
f59daa20a2
docs: specify minimum Svelte version requirement
2022-06-29 11:49:23 -07:00
metonym
aee7f3ba76
Revert "Revert "fix(notification): on:close
should be cancellable ( #1379 )" ( #1381 )" ( #1382 )
...
This reverts commit 052acfc2ce
.
2022-06-29 11:11:33 -07:00
metonym
f08175b6b3
v0.66.3
2022-06-29 10:59:45 -07:00
metonym
052acfc2ce
Revert "fix(notification): on:close
should be cancellable ( #1379 )" ( #1381 )
...
This reverts commit 924b6d352e
.
2022-06-29 10:57:37 -07:00
metonym
5fa07ab44b
v0.66.2
2022-06-29 10:18:24 -07:00
metonym
04f18ae5e9
docs(notification): add examples "Prevent default close behavior" ( #1380 )
...
Follow-up to #1379
2022-06-29 10:14:22 -07:00
tlkh40
924b6d352e
fix(notification): on:close
should be cancellable ( #1379 )
...
Fixes #927
2022-06-29 07:08:51 -07:00
Eric Liu
3b3a9c9a29
v0.66.1
2022-06-27 05:51:31 -07:00
metonym
5a8bd9ca57
chore(code-snippet): preserve custom copy event type ( #1375 )
2022-06-27 05:44:05 -07:00
metonym
45627aad1f
docs: rename ComboBox
example, do not open modal in DatePicker
by default ( #1374 )
...
* docs(combo-box): "Selected id" -> " Initial selected id"
* docs(date-picker): do not open modal by default to prevent stealing focusing
2022-06-26 16:43:34 -07:00
metonym
c346b8edc0
fix(side-nav-menu): remove title attribute from menu icon ( #1373 )
2022-06-26 13:56:08 -07:00
metonym
d5d6294b02
refactor(code-snippet): pass required text
prop to CopyButton
( #1372 )
...
This also passes the `copy` prop to `CopyButton` instead of wrapping it in another function.
2022-06-25 16:26:27 -07:00
metonym
6a3614bf55
fix(password-input): support invalid state when used in a FluidForm
( #1371 )
...
* fix(password-input): support invalid state when used in a `FluidForm`
* docs(fluid-form): add example "Invalid state"
2022-06-25 08:17:19 -07:00
metonym
83c11fd460
fix(side-nav-menu): chevron icon should not be focusable ( #1369 )
2022-06-23 05:55:01 -07:00
metonym
388a05c290
fix(side-nav-menu): expanded SideNavMenu
should not have a max-height ( #1368 )
...
* fix(side-nav-menu): expanded `SideNavMenu` should not have a max-height (fixes #1361 )
* chore(docs): remove max-height override
2022-06-23 05:52:02 -07:00
dependabot[bot]
f2a9ae4638
chore(deps): bump jsdom from 16.4.0 to 16.7.0 in /docs ( #1367 )
...
Bumps [jsdom](https://github.com/jsdom/jsdom ) from 16.4.0 to 16.7.0.
- [Release notes](https://github.com/jsdom/jsdom/releases )
- [Changelog](https://github.com/jsdom/jsdom/blob/master/Changelog.md )
- [Commits](https://github.com/jsdom/jsdom/compare/16.4.0...16.7.0 )
---
updated-dependencies:
- dependency-name: jsdom
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-22 22:37:08 -07:00
dependabot[bot]
87391022df
chore(deps): bump got from 11.8.3 to 11.8.5 in /examples/snowpack ( #1366 )
...
Bumps [got](https://github.com/sindresorhus/got ) from 11.8.3 to 11.8.5.
- [Release notes](https://github.com/sindresorhus/got/releases )
- [Commits](https://github.com/sindresorhus/got/compare/v11.8.3...v11.8.5 )
---
updated-dependencies:
- dependency-name: got
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-22 22:36:50 -07:00
dependabot[bot]
510629b511
chore(deps): bump shell-quote from 1.7.2 to 1.7.3 in /docs ( #1365 )
...
Bumps [shell-quote](https://github.com/substack/node-shell-quote ) from 1.7.2 to 1.7.3.
- [Release notes](https://github.com/substack/node-shell-quote/releases )
- [Changelog](https://github.com/substack/node-shell-quote/blob/master/CHANGELOG.md )
- [Commits](https://github.com/substack/node-shell-quote/compare/v1.7.2...1.7.3 )
---
updated-dependencies:
- dependency-name: shell-quote
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-22 22:20:25 -07:00
metonym
9fcf9855e6
fix(composed-modal): node to focus is possibly null
( #1364 )
...
Fixes #1360
2022-06-22 06:24:02 -07:00
Eric Liu
c7be47cefb
chore(changelog): include Slider
example "Full width" [ci skip]
2022-06-18 13:11:28 -07:00
Eric Liu
d417eea82c
v0.66.0
2022-06-18 13:05:39 -07:00
Eric Liu
87bf6e9aaf
chore(docs): bump deps [ci skip]
2022-06-18 12:55:21 -07:00
metonym
1ccdf64504
feat(slider): add fullWidth
prop ( #1354 )
...
The `bx--slider` class in the `Slider` component has max-width of `40rem`. Because `$$restProps` is spread to the top-level `div` element in `Slider`, the only way to override the style is to do so globally:
```css
:global(.bx--slider-container) {
width: 100%;
}
:global(.bx--slider) {
max-width: none;
}
```
This adds a `fullWidth` prop that sets a full width style using inline style attributes.
2022-06-18 12:47:10 -07:00
metonym
a86aa5d363
docs(select): adjust default example to demo usage without selected
prop ( #1358 )
2022-06-18 12:45:39 -07:00
metonym
511d7c24e6
fix(select): do not dispatch "change" event on initial load ( #1356 )
...
Follow-up to #1353
If `selected` is `undefined` or not provided, the "change" event will be dispatched since the first `SelectItem` value will be set as the default.
The "change" event should only be dispatched when the value is actually changed.
2022-06-18 12:27:27 -07:00
metonym
b4d0205080
chore(select): update dispatched change event type ( #1357 )
...
Follow-up to #1355
2022-06-18 12:26:46 -07:00
metonym
78d3f1328a
feat(select): support selected
prop number type ( #1355 )
...
* feat(select): support number type
* Run "yarn build:docs"
* refactor(pagination): do not coerce `pageSize`, `page` to be numbers
* test(select): assert selected prop number type
2022-06-18 11:09:41 -07:00
metonym
f8b1c8a23a
fix(select): use first SelectItem
value as default if selected
is undefined ( #1353 )
...
Fixes #570
2022-06-18 10:13:42 -07:00
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