Commit graph

480 commits

Author SHA1 Message Date
metonym
8fea168ffd
feat(toast-notification): add fullWidth prop (#1444)
* feat(toast-notification): add `fullWidth` prop

* Run "yarn build:docs"

* test(toast-notification): assert `fullWidth` prop

* docs(toast-notification): add "Full width" example
2022-08-14 14:56:02 -07:00
metonym
b04a281939
fix(toolbar-batch-actions): active prop should be reactive (#1445)
Follow-up to #1440
2022-08-14 14:55:38 -07:00
naegelin
06777ba803
feat(toolbar-batch-actions): dispatch cancelable on:cancel event (#1441)
Closes #1438
2022-08-14 12:09:40 -07:00
naegelin
bc58c7b029
feat(toolbar-batch-actions): add active prop to show toolbar (#1440)
Closes #1438
2022-08-12 08:01:58 -07:00
Eric Liu
14a8376a81 v0.67.9 2022-08-11 18:47:53 -07:00
metonym
ab5eff5205 v0.67.8 2022-08-10 07:54:17 -07:00
Eric Liu
21f2c7fb4c v0.67.7 2022-08-07 10:15:08 -07:00
metonym
df0e68a541 v0.67.6 2022-08-05 07:40:37 -07:00
metonym
7fe9b39436
fix(number-input): forward keydown, keyup events (#1424)
Fixes #1421

`NumberInput` should forward the keydown and keyup events like other input components.
2022-08-05 04:50:40 -07:00
metonym
6f9e023066 v0.67.5 2022-08-04 10:03:11 -07:00
metonym
c87196c16b v0.67.4 2022-07-26 08:20:39 -07:00
metonym
de5b482b0c v0.67.3 2022-07-26 08:04:06 -07:00
metonym
ef904567cb Run "yarn build:docs" 2022-07-26 08:02:24 -07:00
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
Eric Liu
f8e400f2ed v0.67.1 2022-07-12 19:45:53 -07:00
metonym
2fedd6343f v0.67.0 2022-06-29 11:50:25 -07:00
metonym
f08175b6b3 v0.66.3 2022-06-29 10:59:45 -07:00
metonym
5fa07ab44b v0.66.2 2022-06-29 10:18:24 -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
Eric Liu
d417eea82c v0.66.0 2022-06-18 13:05:39 -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
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
Eric Liu
35031e800c v0.65.3 2022-06-15 07:15:27 -07:00
Eric Liu
624abe88fe v0.65.2 2022-06-12 18:12:40 -07:00
metonym
b21718ccfd
fix(time-picker): use native binding for value prop (#1344) 2022-06-12 08:09:43 -07:00
Eric Liu
2c05f35c48 v0.65.1 2022-06-09 11:20:30 -07:00
Eric Liu
566d64c970 v0.65.0 2022-06-07 08:03:16 -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
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
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
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
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
Eric Liu
90477c4d0e v0.64.2 2022-05-25 18:53:14 -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
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
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
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
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
Eric Liu
12ffe3d70f v0.63.8 2022-05-07 12:22:53 -07:00
Eric Liu
5da320f33c v0.63.7 2022-05-04 07:53:46 -07:00