Commit graph

1504 commits

Author SHA1 Message Date
Andrea N. Cardona
b531bd19b6
chore: index svelte components (#1266)
Add `carbon.yml` that indexes the Svelte component library.

Co-authored-by: Francine Lucca <40550942+francinelucca@users.noreply.github.com>
2022-05-04 11:12:40 -07:00
Eric Liu
5da320f33c v0.63.7 2022-05-04 07:53:46 -07:00
metonym
d242849780
fix(dropdown): strongly type translateWithId (#1286) 2022-05-04 07:52:42 -07:00
Eric Liu
0e88a24a55 v0.63.6 2022-05-04 07:43:29 -07:00
metonym
f7146b61dc
fix: remove translateWithIdMenu, use translateWithId instead, rename translateWithIdInput (#1285)
* fix: remove translateWithIdMenu, use translateWithId instead

* chore: rename translateWithIdInput to translateWithIdSelection
2022-05-04 07:40:10 -07:00
metonym
0c39506dcb
fix(types): strongly type translateWithId parameters (#1284) 2022-05-04 07:31:51 -07:00
metonym
ff2e6276db
fix: ComboBox, MultiSelect should have multiple translateWithId functions (#1283)
* fix(combo-box): ListBoxField and ListBoxSelection have different `translateWithId` props

* fix(multi-select): ListBoxField and ListBoxSelection have different `translateWithId` props

* Run "yarn build docs"

* test: assert translateWithIdMenu, translateWIthIdInput props
2022-05-04 07:17:35 -07:00
metonym
877173df59
fix: use default values if translateWithId is falsy (#1282)
* fix(list-box-menu-icon): use default translations if `translateWithId` is undefined

* fix(list-box-selection): use default translations if `translateWithId` is undefined
2022-05-03 19:43:07 -07:00
Eric Liu
39e3424b6f v0.63.5 2022-05-02 20:50:24 -07:00
metonym
9911764df1
fix(tabs): dispatch "change" event only if index has changed (#1279)
Fixes #1278
2022-05-02 20:48:59 -07:00
Eric Liu
2cc54c1a53 docs(aspect-ratio): update aspect ratio values [ci skip] 2022-04-30 13:09:19 -07:00
Eric Liu
9ec97c7517 chore(examples): bump deps [ci skip] 2022-04-30 10:59:58 -07:00
Eric Liu
ff9027be99 v0.63.4 2022-04-30 10:44:53 -07:00
metonym
52eff3c5a8
docs(data-table): add "Expandable and selectable" example (#1277)
* docs(data-table): add "Expandable and selectable" example

* docs(data-table): add "Batch selection" example

* docs(data-table): rework "Batch selection with initial selected rows" example

* docs(data-table): rework selectable examples to include selectedRowIds

* docs: remove extra space from pre tags
2022-04-30 09:58:14 -07:00
metonym
410ac0c32f
fix(aspect-ratio): add missing "2x3" ratio value (#1276)
* fix(aspect-ratio): add missing "2x3" ratio value

* Run "yarn buld:docs"

* docs(aspect-ratio): add "Ratio 2x3" example
2022-04-30 09:14:18 -07:00
metonym
30b81f9877
chore: fix typos in type annotations (#1275)
* chore: fix typos in type annotations

* Run "yarn build:docs"
2022-04-30 08:52:47 -07:00
metonym
77b6e4f831
docs(action): generate action imports (#1274) 2022-04-30 08:47:21 -07:00
metonym
3f466bc9bc
docs(icons): correctly render icon imports in examples (#1273)
Fixes #1272
2022-04-29 07:12:32 -07:00
metonym
3950496b7e
docs(tooltip): remove unnecessary tooltipBodyId in examples (#1271)
Fixes #1270
2022-04-28 15:06:10 -07:00
Eric Liu
020b2e07b6 v0.63.3 2022-04-28 07:42:15 -07:00
metonym
d40d238de5
docs(file-uploader): improve FileUploaderItem examples (#1269) 2022-04-28 07:39:58 -07:00
metonym
564f25d087
fix(file-uploader-item): fix "delete" event regression (#1268)
Fixes #1267
2022-04-28 07:30:28 -07:00
Eric Liu
6bb767f8d2 v0.63.2 2022-04-23 10:18:06 -07:00
metonym
1f18c86f4f
fix(dropdown): button type attribute should be "button" (#1264)
Fixes #739
2022-04-23 10:02:33 -07:00
metonym
49a852b1f3
fix(toolbar-search): clearing value should re-focus search bar (#1263)
Fixes #1258
2022-04-21 08:04:14 -07:00
Eric Liu
099fcbcda8 chore: update docs [ci skip] 2022-04-18 18:33:52 -07:00
Eric Liu
601c5be260 v0.63.1 2022-04-18 18:31:24 -07:00
metonym
1041c6e9f8
fix(header-global-action): icon slot should have a default size of 20 (#1257)
Fixes #1240
2022-04-18 17:57:28 -07:00
Nicolas Peugnet
43e2986434
fix(data-table): rows should be reactive (#1255) 2022-04-18 17:50:19 -07:00
Eric Liu
c2568ec5d4 docs(grid): fix typo in padded grid example [ci skip] 2022-04-17 13:04:27 -07:00
Eric Liu
6e1f9d49c4 docs(button): update "Link button" description [ci skip] 2022-04-17 12:57:29 -07:00
Eric Liu
f820f001c0 chore(examples): bump deps [ci skip] 2022-04-17 11:06:48 -07:00
Eric Liu
65bf22e3b1 chore: update COMPONENT_INDEX.md 2022-04-17 09:21:40 -07:00
Eric Liu
503de8533c v0.63.0 2022-04-17 09:20:19 -07:00
Eric Liu
63b610d01b Run "yarn build:css" 2022-04-17 09:20:13 -07:00
metonym
e19ace4135
docs(data-table): add "Sticky header" example (#1241)
* docs(data-table): add "Sticky header" example

* docs(link): add note on disabled link
2022-04-17 09:03:05 -07:00
metonym
2d26ce115d
chore(deps-dev): upgrade sveld to v0.15.0 (#1247)
* chore(deps-dev): upgrade sveld to v0.15.0

* Run "yarn build:docs"
2022-04-15 08:28:00 -07:00
metonym
7f9f45e54f
fix(tag): add type="button" on interactive, filter tag variants (#1246)
Fixes #1243
2022-04-14 20:17:23 -07:00
metonym
4c0d6ea5a2
chore: upgrade husky, lint-staged (#1239)
* chore: add husky auto-setup

* chore: update husky, lint-staged
2022-04-10 10:53:14 -07:00
Eric Liu
26e5ce5572 refactor(scripts): remove carbon-components-10.47 2022-04-10 08:47:21 -07:00
dependabot[bot]
c84bf427ce
build(deps): bump minimist from 1.2.5 to 1.2.6 (#1236)
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)

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

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-09 14:18:47 -07:00
metonym
35f4a5cb84
refactor(link): make a precede p element for restProps (#1237) 2022-04-09 14:17:36 -07:00
dependabot[bot]
bc1f7b728c
build(deps): bump minimist from 1.2.5 to 1.2.6 in /docs (#1235)
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)

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

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-09 14:16:31 -07:00
metonym
ea38cd2568
feat(types): support sveltekit:prefetch, sveltekit:noscroll attributes in type definitions (#1234)
* chore(deps-dev): upgrade sveld to 0.14.0

* Run "yarn build:docs"
2022-04-09 14:13:56 -07:00
metonym
45c272642f
fix(link): $$restProps should extend p, a HTML attributes (#1233)
* fix(link): restProps should extend `p` or `a` tag attributes

* Run "yarn build:docs"

* test(link): assert anchor link rest attributes
2022-04-09 11:24:25 -07:00
metonym
e8da9d7e9b
fix(data-table): prevent selectable datatable with sticky header from jumping (#1230)
Fixes #1228
2022-04-04 19:37:54 -07:00
Eric Liu
845225ffeb fix: use correct View icon [ci skip] 2022-04-03 12:15:56 -07:00
Eric Liu
9c0a75f052 docs: fix icons [ci skip] 2022-04-03 12:05:33 -07:00
metonym
ba58ba8f00
refactor: use icons from carbon-icons-svelte@11 (#1227)
* chore: update ignore rules, remove unused files

* refactor(icons): use icons from carbon-icons-svelte@11

* docs(time-picker): fix default value

* chore: upgrade carbon-icons-svelte to v11

* docs: update examples to use icons from carbon-icons-svelte@11

* docs: update number of icons [ci skip]
2022-04-03 11:57:28 -07:00
Eric Liu
755a8aa5bc chore(deps-dev): bump deps 2022-04-02 16:53:37 -07:00