Commit graph

74 commits

Author SHA1 Message Date
Eric Liu
3214d8563f
Reactive audit (#449)
* refactor(search): resolve svelte file paths

* docs(Search): add reactive example

* refactor(tag): use class name directive for tag types, resolve svelte icon path

* chore(button-skeleton): deprecate small prop

* fix(breadcrumb-item): type default slot

* refactor(breadcrumb-skeleton): omit unused index

* refactor(aspect-ratio): use class name directive

* refactor(accordion): use the class name directive, resolve svelte icon paths

* refactor(code-snippet): use class name directive, resolve svelte icon paths

* fix(code-snippet-skeleton): CodeSnippetSkeleton can only be single or multi

* refactor(content-switcher): use class name directive

* docs(content-switcher): add reactive example

* docs(content-switcher): remove unused import

* docs(toggle): add reactive example

* refactor(tooltip-definition): use class name directive

* refactor(tooltip-icon): use class name directive

* refactor(tooltip): resolve svelte icon import

* fix(select): type dispatched change event

* refactor(select): resolve svelte icon import

* feat(select-item): spread rest props, avoid $ variable name

* fix(pagination-nav): type dispatched events

* refactor(pagination): resolve svelte imports

* fix(pagination): type dispatched update event

* fix(overflow-menu): type dispatched close event

* fix(number-input): type dispatched change event

* refactor(modal): use class name directive, resolve svelte imports

* refactor(inline-loading): use class name directive, resolve svelte imports

* refactor(composed-modal): resolve svelte icon imports

* refactor(combo-box): resolve svelte imports

* fix(fluid-form): rest props should not override Form class

* refactor(progress-step): resolve svelte icon imports
2020-12-06 03:59:30 -08:00
Eric Liu
222c7f2899
feat(tooltip): support align prop from carbon-components v10.25 (#446) 2020-12-05 09:04:53 -08:00
Eric Liu
a53bddf8f6
improve documentation (#424)
* chore(deps-dev): pin sveld dependency to v0.3.0

* docs: escape HTML in component prop descriptions

* docs(ordered-list): describe use case for using native styles

#418

* docs: update count for icons, charts packages

* docs(readme): update description, links
2020-11-27 05:15:24 -08:00
Richard O'flynn
b597a64131
Add padding prop to Grid component (#420)
* Add padding prop to Grid component

* Fix file name

* Build lib

* Typo

Co-authored-by: Richard O'flynn <richard.oflynn@brighter-software.co.uk>
2020-11-27 04:08:30 -08:00
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
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
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
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
josefaidt
a417cee481 docs(UIShell): add example for persisted hamburger menu 2020-11-18 08:53:55 -06: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
882737c8b8 docs(code-snippet): update hidden example copy 2020-10-30 10:48:12 -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
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
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
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
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
3c02829e73 feat(data-table): support empty table body columns 2020-10-26 11:55:58 -07:00
Eric Liu
a2b375f32e feat(data-table): hide batch actions if overflow visible 2020-10-26 08:15:31 -07:00
Eric Liu
a58be75648
Merge pull request #363 from IBM/fixes
Fixes
2020-10-24 15:22:09 -07:00
Albert Mañosa
f5adf8022d
fix(docs): add missing datatable sortable prop
Co-authored-by: Eric Liu <ericyl.us@gmail.com>
2020-10-24 23:57:01 +02:00
Albert Mañosa
bdc41f1144
fix(docs): string interpolation in display method body
Co-authored-by: Eric Liu <ericyl.us@gmail.com>
2020-10-24 23:52:53 +02:00
Eric Liu
b167b33ec8 docs(accordion): add missing p tag 2020-10-24 14:44:15 -07:00
albert
177836e2f3 feat(docs): add datatable display and sort example 2020-10-24 23:41:22 +02:00
Eric Liu
f43b132088 feat(data-table): support radio, selectable variants with batch actions 2020-10-24 13:37:00 -07:00
Eric Liu
611d72bcf3 feat(data-table): add toolbar, toolbar search 2020-10-24 11:10:31 -07:00
Eric Liu
6fc073c932 fix(search): forward size prop to Search skeleton
Add deprecation notice for the `small` prop.
2020-10-22 18:55:57 -07:00
Eric Liu
829275e594 docs: tweak copy 2020-10-22 17:30:50 -07:00
Eric Liu
09511cc528 docs(accordion): use better mock data 2020-10-22 17:14:38 -07:00
Eric Liu
d7add290d9 docs(inline-loading): add UX example 2020-10-22 10:59:27 -07:00
Eric Liu
096c2c9729 docs(code-snippet): add multi-line skeleton example 2020-10-22 08:57:57 -07:00
Eric Liu
dbb1f9e8a5 docs(content-switcher): add selected index example, use more realistic copy 2020-10-22 08:53:16 -07:00
Eric Liu
b7dfcecd1d Merge branch 'tooltip-definition' 2020-10-21 06:30:01 -07:00
Eric Liu
4113ae95da refactor(progress-indicator): make currentIndex reactive, add preventChangeOnClick 2020-10-20 18:21:36 -07:00
Eric Liu
cc01b0fb5b feat(tooltip-definition): make tooltipText slottable 2020-10-20 11:46:30 -07:00
Eric Liu
6ae0e31011 refactor(tooltip-definition): remove hidden variable 2020-10-20 11:41:45 -07:00
Eric Liu
c0fbd24e2a feat(data-table): make cells slottable 2020-10-17 14:31:57 -07:00
Eric Liu
0a927ae512 feat(data-table): add expandable DataTable
#14
2020-10-17 13:33:26 -07:00