Commit graph

1179 commits

Author SHA1 Message Date
metonym
5aa8a0f8de ci: add workflow 2021-09-29 11:46:11 -07:00
Eric Liu
b2623a0695
docs: remove vercel, add Deploy to Render button (#832)
* chore: remove vercel

* docs: add Deploy to Render button
2021-09-29 09:49:15 -07:00
metonym
01637e6ae6 build: add render.yaml 2021-09-28 09:10:56 -07:00
metonym
b4f12490bc v0.44.4 2021-09-28 08:57:31 -07:00
Eric Liu
ee9bb22768
fix(clickable-tile): explicitly type restProps (#831) 2021-09-28 08:55:16 -07:00
metonym
007796f881 v0.44.3 2021-09-23 09:03:56 -07:00
Florian-Schoenherr
dbf1f225dc
fix(DataTable): useStaticWidth fix for title/description (#824)
* fix(DataTable): useStaticWidth title/description

Signed-off-by: Florian-Schoenherr <florian.schoenherr99@gmail.com>

* docs(DataTable): useStaticWidth title/description

Signed-off-by: Florian-Schoenherr <florian.schoenherr99@gmail.com>

* chore(deps-dev): upgrade carbon-components, sass

Co-authored-by: metonym <ericyl.us@gmail.com>
2021-09-23 08:55:06 -07:00
metonym
7e0b8af685 v0.44.2 2021-09-14 10:01:30 -07:00
Eric Liu
70163b36f8
fix(combo-box): remove redundant clear events #817 (#818)
Fixes #817
2021-09-14 09:56:32 -07:00
Eric Liu
60ff25c2af v0.44.1 2021-09-11 12:38:21 -07:00
Eric Liu
e4e75e5859
Fixes (#814)
* fix(combo-box): clicking chevron should not open the combo box if disabled

Fixes #776

* fix(toolbar-batch-actions): cancel text should be slottable

Fixes #782
2021-09-11 12:29:26 -07:00
metonym
36efee358f chore(changelog): fix typo 2021-09-07 08:42:20 -07:00
metonym
80dec85985 v0.44.0 2021-09-07 08:39:58 -07:00
metonym
f2a445cb7e feat(date-picker): type flatpickrProps 2021-09-07 08:39:46 -07:00
stilet
bc0b048e30
added the staticProp property for the DatePicker component to work correctly (#794)
* added the staticProp property for the Modal component to work correctly

* Update src/DatePicker/DatePicker.svelte

Co-authored-by: Eric Liu <ericyl.us@gmail.com>

* Update src/DatePicker/DatePicker.svelte

Co-authored-by: Eric Liu <ericyl.us@gmail.com>

Co-authored-by: Leonid <leo@garantum.ru>
Co-authored-by: Eric Liu <ericyl.us@gmail.com>
2021-09-07 08:18:46 -07:00
Eric Liu
fec53820aa chore: update version in component index 2021-09-06 09:57:34 -07:00
Eric Liu
05fae5093a v0.43.0 2021-09-06 09:54:20 -07:00
Eric Liu
e39efc5668 feat: rebuild types, component api 2021-09-06 09:52:00 -07:00
Rafael Dessotti
dfc00f6668
Clear ComboBox Programaticaly (#804)
* Added clear function

* Dispatching clear event

* Exporting function clear

* Added example
2021-09-06 09:47:48 -07:00
Eric Liu
18e8430646 chore: change all ibm org references to carbon-design-system 2021-09-05 15:54:37 -07:00
Eric Liu
a560584f7a chore: update version in component index 2021-09-05 15:47:08 -07:00
Eric Liu
3b7fa22fe3 v0.42.3 2021-09-05 15:41:34 -07:00
airedwin
c1bf34964d
fix: radiobutton slot not working (#799) (#808)
Co-authored-by: Edwin Leong <leong_edwin@bah.com>
2021-09-05 15:34:10 -07:00
Bilux
892c19a8dd
Set a condition for showing legend in FormGroup (#785)
We shouldn't add a <legend> If the the legend text specified.
2021-09-05 13:25:32 -07:00
Eric Y Liu
abfc472c82 v0.42.2 2021-07-29 16:03:32 -07:00
Eric
bd7c4756f7
chore: remove self from MAINTAINERS (#773) 2021-07-29 15:55:15 -07:00
Eric
0315a17d4a
Update examples, update README documentation (#772)
* chore(examples): update example set-ups

* chore: update readme docs
2021-07-29 15:51:34 -07:00
Eric
d24c60856f
fix(combo-box): fix reactivity regression #768 (#769)
* fix(combo-box): fix reactivity regression #768

Fixes #768

* fix(combo-box): if selectedItem is not defined, default selectedIndex to 0

* fix(combo-box): do not reset selectedIndex to 0, fallback to empty string

* fix(combo-box): reset selectedIndex
2021-07-29 10:09:55 -07:00
Eric Y Liu
59dce3ce65 v0.42.1 2021-07-26 08:51:18 -07:00
Eric
6db4112b40
Fix a11y-mouse-events warning, update docs (#765)
* docs: update number of available Carbon icons

* docs: add svelte:head example for loading CDN styles

* chore(deps-dev): upgrade svelte to 3.40.1

* fix(a11y): disable a11y-mouse-events-have-key-events warning #760

* fix(deps): upgrade carbon-icons-svelte to v10.36.0 to avoid a11y warnings #760

* refactor(overflow-menu): remove formatStyle utility

* docs: links in paragraphs should be inline

* docs: add note on using all styles for dynamic theming
2021-07-26 08:40:05 -07:00
Eric Y Liu
fa11c2e9c4 fix(changelog): fix typo [ci skip] 2021-07-22 17:08:11 -07:00
Eric Y Liu
87fbcf6de4 v0.42.0 2021-07-22 17:06:41 -07:00
Eric Liu
9114298f76
Align 10.40 (#763)
* docs: fix typo [ci skip]

* docs(tree-view): update expanded nodes guidance

* chore(deps-dev): upgrade carbon-components to v10.40.0

* build(css): omit treeview SCSS import

treeview.scss is included in global styles.css by default in v10.40.0

* feat(date-picker): add helperText prop

Ref: 4b5b5fdf8
2021-07-22 16:56:51 -07:00
Phil Mayer
af26bdb10a
fix: close overlays on window click (#761) 2021-07-22 09:44:23 -07:00
Eric Y Liu
7e3b0bc1cd v0.41.0 2021-07-18 06:12:26 -07:00
Eric Liu
793ecd8dc2
fix(button): only set disabled attribute if true #755 (#757)
* fix(button): only set disabled attribute if true #755

Fixes #755

* Improve docs (#756)

* docs: remove Theme from new components

* docs: add styling instructions

* docs: add styling instructions

* docs: update copy

* fix(button): only set disabled attribute if true #755

Fixes #755

* docs(button): use inline notification for note [ci skip]
2021-07-18 05:53:56 -07:00
Eric Liu
13bd64e5c9
Improve docs (#756)
* docs: remove Theme from new components

* docs: add styling instructions

* docs: add styling instructions

* docs: update copy
2021-07-18 05:39:35 -07:00
Eric Liu
d01995e11e
feat(tree-view): add expandedIds #750 (#751) 2021-07-15 07:49:25 -07:00
Nguyễn Trường Minh
89513fb4cb
fix(DataTable): undefined cell value fallback (#745)
* fix(DataTable): undefined cell value fallback

* Update DataTable.svelte

* fix(data-table): remove "" as the default value for table cells

Co-authored-by: Eric Y Liu <ericyl.us@gmail.com>
2021-07-15 06:37:42 -07:00
Eric Y Liu
51ebf185b5 v0.40.1 2021-07-14 13:53:23 -07:00
Eric Liu
a1e56bd135
Fixes (#749)
* fix(data-table): type DataTableRowId as "any" #530

Fixes #530

* fix(tree-view): make first node focusable if activeId does not match selected

* fix(overflow-menu): set type="button" to prevent default submit behavior #554

Fixes #554

* fix(overflow-menu): update semantic attributes in OverflowMenuItem

* fix(number-input): do not dispatch change event on initialization #561

Fixes #561

* fix(tree-view): make first focusable node tabbable regardless of active/selected states

* fix(date-picker): load rangePlugin dynamically

* build(rollup): enable inlineDynamicImports

* build(rollup): remove "clipboard-copy" global

* fix(overflow-menu): do not render title if using a slot #537

Fixes #537

* fix(select): forward missing focus, input events #501

Fixes #501
2021-07-14 13:48:23 -07:00
Eric Liu
ed395e42b7
fix(tree-view): TreeView should be tab focusable if no active id is provided #747 (#748)
Fixes #747
2021-07-14 08:47:08 -07:00
Eric Y Liu
3968287084 v0.40.0 2021-07-11 17:17:09 -07:00
Eric Liu
54e1e07872
fix(types): upgrade sveld and type constant props as accessors (#742) 2021-07-11 07:21:50 -07:00
Eric Liu
fac78ee4aa
feat(theme): add Theme (#741)
* feat(theme): add Theme

* fix(theme): fix broken type test

* docs(theme): add examples

* docs(theme): add description, update carbon theme link [ci skip]

* docs: pre-wrap type code snippet [ci skip]
2021-07-10 16:00:03 -07:00
Eric Liu
18c6f03224
Fix TypeScript definitions; function declarations should be typed as accessors, not props (#740)
* chore(deps-dev): upgrade svelte to v0.8.1

* chore: regenerate types to correctly type function declarations

* test: fix svelte-check warnings
2021-07-10 09:00:57 -07:00
Eric Liu
b6fa25c3e7
Align v10.39 (#738)
* chore(deps-dev): upgrade carbon-components to v10.39.0

* fix(data-table): deprecate Table shouldShowBorder prop

Ref: 0f7324156

* fix(form-group): add legendId

Ref: 4fc56c30b

* feat(number-input): support readonly variant

Ref: d0bd8eddb

* feat(multi-select): export multiSelectRef, fieldRef, selectionRef

* feat(local-storage): add clearItem, clearAll instance methods

* docs(local-storage): simplify clear example

* docs(local-storage): add instructions [ci skip]

* chore(local-storage): reset value on clear [ci skip]

* chore(local-storage): revert value clear [ci skip]
2021-07-09 13:40:25 -07:00
Eric Liu
edefd6429b
DatePicker rework (#737)
* fix(date-picker): append calendar to date picker element #345

Fixes #345

* fix(date-picker): do not import rangePlugin from esm folder

* fix(date-picker): correctly type change event for single/range types

* feat(date-picker): add valueFrom, valueTo for range datepicker

* docs(date-picker): add range type example

* docs(date-picker): extract range example to iframe

* docs(date-picker): extract single type to iframe
2021-07-08 16:33:03 -07:00
Eric Liu
569d7021cb
Improve documentation (#730)
* docs: fix "no-op" typo

* docs: add carbon-preprocess-svelte

* docs: use lg size for outbound link to source code

* docs: update copy

* docs: default to white theme

* docs(recursive-list): simplify copy

* docs(recursive-list): simplify copy

* docs: apply noGutter to installation code snippets
2021-07-08 16:30:53 -07:00
Eric Liu
19dbad1f76
fix(data-table-skeleton): every row should animate text #734 (#736)
* fix(data-table-skeleton): every row should animate text #734

Fixes #734

* fix(data-table-skeleton): revert unkeyed each
2021-07-08 07:58:26 -07:00