Commit graph

389 commits

Author SHA1 Message Date
Eric Liu
f4c940d5ee
Make UI Shell HeaderAction panel transition configurable (#419)
* fix(ui-shell): remove fly transition from hamburger menu

* feat(header-action): make panel transition configurable

* chore: rebuild types, docs

* docs(ui-shell): document transition prop in Header app switcher example
2020-11-26 17:14:07 -08:00
Eric Liu
30cfc842d5
Refactor UI Shell global search component (#417)
* feat(ui-shell): refactor UI Shell search component

* fix(ui-shell): dispatched event is "select", not "search"

* test(header-search): validate HeaderSearch types

* fix(header-search): selecting a result should reset the search

* feat(header-search): deefault selectedResultIndex should be 0

Reset selectedResultIndex, value after dispatching.

* docs(header-search): demo basic filtering

* chore: rebuild types, docs

* feat(header-search): pass index as a slot prop
2020-11-26 15:42:15 -08:00
Eric Liu
b7bf9ea1f0
Revise docs (#416)
* chore: add license badge to README

* perf(docs): ignore node_modules in markdown preprocessor

* docs: remove tabs for install commands on homepage

* docs(button-set): improve copy

* docs(button): improve usage for icon-only, link buttons

* docs: various copy improvements
2020-11-26 11:51:24 -08:00
Eric Liu
71c15db2ca
expand headers type in DataTableSkeleton, fix DataTableRow type to require "id" (#415)
* feat(data-table-skeleton): support object type for headers

* fix(data-table): require "id" in DataTableRow interface
2020-11-26 10:28:07 -08:00
Eric Liu
0d8064043f
fix(types): export component types (#411) 2020-11-25 10:19:11 -08:00
Eric Liu
f5509060d5 docs: tweak body copy, link to CopyableCodeSnippet recipe 2020-11-22 09:50:46 -08:00
Eric Liu
9edb0c2f31 docs(recipes): add ExpandableAccordion recipe 2020-11-22 09:50:23 -08:00
Eric Liu
bc29d9ee0d docs(radio-button): add reactive example 2020-11-22 09:25:05 -08:00
Eric Liu
b6036f889d fix(list-box): remove stopPropagation clikc modifier 2020-11-21 06:06:50 -08:00
Eric Liu
f1800bf332 docs: move reactive label to component prop name column 2020-11-20 09:39:25 -08:00
Eric Liu
bb3ecaaa9e docs(progress-indicator): add example for vertical skeleton 2020-11-20 09:27:08 -08:00
Eric Liu
365c16a0d1 docs(progress-indicator): add programmatic usage example 2020-11-20 09:06:20 -08:00
Eric Liu
c513279751 fix(progress-indicator): allow currentIndex to be programmatically updated 2020-11-20 06:21:27 -08:00
Eric Liu
1e3eef992c feat(toggle): support small size, deprecate ToggleSmall 2020-11-19 15:20:01 -08:00
Eric Liu
eed617433b test: add TS types 2020-11-19 14:16:01 -08:00
Eric Liu
7a1480f0ed fix(types): prefix icon type with "typeof" 2020-11-19 10:41:15 -08:00
Eric Liu
1e80e42573 fix(types): remove "undefined" dispatched events 2020-11-19 09:09:57 -08:00
Eric Liu
998757691b chore: regenerate component docs [ci skip] 2020-11-19 06:21:24 -08:00
Eric Liu
56718c633d
Merge branch 'master' into rewrite-tyepscript-definitions 2020-11-19 06:16:50 -08:00
Eric Liu
b313fb6787 docs: enhance Component API documentation
Replaces PUBLIC_API.json with COMPONENT_API.json generated by sveld.
2020-11-19 06:13:18 -08:00
josefaidt
a417cee481 docs(UIShell): add example for persisted hamburger menu 2020-11-18 08:53:55 -06:00
josefaidt
3049d2318c refactor boolean comparison 2020-11-12 09:05:24 -06:00
albert
9cd1533a8a docs: add line replace method for code tags 2020-11-07 21:09:53 +01:00
albert
64b007ebbf docs(datatable): simplify date sort method operation
* fix sortable with custom methods example order
2020-10-31 11:10:30 +01:00
Eric Liu
418e9efaef v0.22.0 2020-10-30 11:21:44 -07:00
Eric Liu
882737c8b8 docs(code-snippet): update hidden example copy 2020-10-30 10:48:12 -07:00
Eric Liu
25a7ceacf8 docs(code-snippet): simplify hidden code snippet example 2020-10-30 10:43:30 -07:00
Eric Liu
5e13f04e3c docs(code-snippet): add examples for dynnamic, hidden code snippets 2020-10-30 10:22:39 -07:00
Eric Liu
2140eebb33 feat(multi-select): dispatch "select" event 2020-10-29 18:39:41 -07:00
Eric Liu
a016bf897c feat(multi-select): forward "on:clear" event 2020-10-29 18:23:19 -07:00
Eric Liu
956b316009 docs(multi-select): add examples for initial selected items, format display text 2020-10-29 17:43:08 -07:00
Eric Liu
26276395e3 docs(dropdown): add example "Format item display text" 2020-10-29 17:42:27 -07:00
Eric Liu
ee779cd0aa chore(deps-dev): patch @carbon/themes, carbon-components 2020-10-29 15:01:48 -07:00
Eric Liu
2e389928d5 hotfix(css): use @carbon/themes instead of carbon-components 2020-10-29 14:10:56 -07:00
Eric Liu
4ab4fbc64b chore(deps-dev): bump development dependencies 2020-10-29 14:01:14 -07:00
Eric Liu
095173a574 feat(ordered-list): support native list styles 2020-10-29 13:45:25 -07:00
Eric Liu
55214aa38b feat(button): add "danger-tertiary", "danger-ghost" kinds 2020-10-29 13:31:18 -07:00
Eric Liu
4356ef47bf docs: use themes exported from carbon-components 2020-10-29 13:30:32 -07:00
Eric Liu
6dd363c2a9 feat(link): support "sm", "lg" size variants 2020-10-29 13:10:42 -07:00
Eric Liu
5a5587c115 feat(timepicker): support "sm", "xl" size variants 2020-10-29 13:05:36 -07:00
Eric Liu
b4caea5f62 feat(overflow-menu): support "sm", "xl" size variants 2020-10-29 13:02:18 -07:00
Eric Liu
1300104661 v0.21.0 2020-10-26 18:43:45 -07:00
Eric Liu
a3ed75fea9 docs: document "sm", "xl" field sizes for MultiSelect, Select 2020-10-26 14:32:38 -07:00
Eric Liu
7e2ab46e6a feat(dropdown): support "sm", "xl" sizes 2020-10-26 14:31:11 -07:00
Eric Liu
4d89c83723 docs(preview): append current theme to iframe url 2020-10-26 12:25:38 -07:00
Eric Liu
c76fa8c432 docs: overflow menu should not be open 2020-10-26 12:16:05 -07:00
Eric Liu
3c02829e73 feat(data-table): support empty table body columns 2020-10-26 11:55:58 -07:00
Eric Liu
a0caa12a27 fix(data-table): cancelling selection should uncheck batch selection checkbox 2020-10-26 08:24:20 -07:00
Eric Liu
a2b375f32e feat(data-table): hide batch actions if overflow visible 2020-10-26 08:15:31 -07:00
Eric Liu
c39427670a feat(data-table): add ToolbarMenu
Requires menuRef from OverflowMenu to be exported.
2020-10-26 07:43:54 -07:00