Commit graph

33 commits

Author SHA1 Message Date
Eric Liu
5fad0cb3c7
Alignment with Carbon version 10.31 (#571)
* chore(deps-dev): upgrade carbon-components to v10.31.0

* fix(slider): use CSS to hide input if hideTextInput is true

* docs(slider): add hidden text input, invalid, disabled examples

* feat(tabs): support "container" type for TabsSkeleton

* chore(list-box): remove hotfix inline style to center dropdown chevron

* fix(number-input): use add, subtract icons and update markup

* feat(select): add warning state

* docs(select): add invalid state example

* docs(select): add helper text example

* fix(structured-list): add "rowgroup" role to StructuredListBody

* docs: release code snippet max-width

* docs(select): add skeleton hidden label example

* feat(popover): add Popover component

* feat(pagination): dispatch button click events to be consistent with PaginationNav

* fix(multi-select): type clear as a custom event

* docs(radio-button): add disabled buttons example

* chore(tabs): use absolute icon import

* fix(link): remove line breaks within anchor link

* docs(radio-button): adjust section copy verbiage

* chore(deps-dev): upgrade carbon-icons-svelte to v10.27

v10.27 uses the SvelteComponentTyped interface

* docs(accordion): adjust section title verbiage

* test(types): fix warnings from svelte-check

* fix(search): only set autofocus attribute if equals true

* feat(popover): add closeOnOutsideClick prop

* docs: style [data-outline] as relative positioned

* feat(context-menu): add initial ContextMenu

* feat(context-menu): annotate props, generate types

* feat(context-menu): add initial focus logic

* fix(context-menu): correctly tab in/out of nested menus

* chore(context-menu): update types

* fix(context-menu): obtain radio id from node directly

* docs(context-menu): add examples and test

* fix(context-menu): prevent default keydown behavior
2021-03-20 10:39:14 -07:00
Dominik Ritter
66bd254042
Fix path to source (#517) 2021-02-07 12:57:46 -08:00
Eric Liu
7cd3723960
Alignment with Carbon version 10.28 (#505)
* chore(deps-dev): remove @carbon/themes

* chore(deps-dev): bump devDependencies

* fix(tabs): forward click event to Tab

* feat(toggle): dispatch toggle event

* feat(tag): dispatch close event

* feat(tooltip-icon): make tooltipText slottable

* feat(dropdown): add hideLabel prop

* docs(select): add "Hidden label" example

* refactor(modal): use class directive

* feat(modal): dispatch transitionend event

* chore(deps-dev): upgrade carbon-components to 10.28.0-rc.0

* feat(date-picker): add warn state

* feat(tag): support small size variant

* fix(search): add semantic role

* feat(toolbar-search): add disabled state

* fix(composed-modal): add aria-label prop, update header semantic tags

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

* docs(overflow-menu): add light variant example

* docs(link): document OutboundLink in Component API

* chore(tooltip-icon): rename slot to "tooltipText"

* docs(component-api): wrap code blocks to minimize width

* docs(aspect-ratio): remove inline outline style

* fix(tab): do not trigger focus when mounting

* docs(tabs): add reactive example

Closes #438
2021-02-05 05:59:10 -08:00
Eric Liu
3d002f3246
chore(deps-dev): upgrade prettier-plugin-svelte (#498) 2021-01-27 15:02:02 -08:00
Eric Liu
f2a3f8d2e1
Alignment with Carbon version 10.27 (#495)
* chore(deps-dev): bump devDependencies

* docs: update number of available carbon icons

* feat(notification): distinguish dispatched close event between click/timeout

* fix(notification): prevent class from being overriden by $$restProps

* docs(notification): improve example body copy

* fix(notification): remove notificationType prop

* refactor(notification): resolve svelte file in imports

* fix(notification): prevent class from being overridden by $$restProps

* feat(notification): update TS signature for dispatched close event

* docs: update contributing

* fix(loading): adjust spinner styles

* feat(tag): support custom icon variant

* feat(tile): add optional expand/collapse icon labels to ExpandableTile

* feat(code-snippet): support disabled state for single and multi-line types

* fix(code-snippet): remove impossible class directive

* fix(code-snippet): showMoreLess button size should be "field", not "small"

* fix(password-input): disable visibility button

- set default values for tooltipAlignment, tooltipPosition

* fix(text-input): add missing warning field wrapper class

* feat(button): infer hasIconOnly using $$slots API

- requires Svelte version >=3.25

* docs(button): add danger tertiary, icon-only example

* feat(button): set default values for tooltip alignment, position

* docs: document dynamic theming

* fix(modal): correctly set class props #482

* fix(form): forward submit event in FluidForm #487

* feat(dropdown): support warning state

* feat(multi-select): support warning state

* fix(multi-select): prevent dropdown from opening if disabled

* feat(number-input): support warning state

* chore(deps-dev): upgrade devDependencies

* docs:  bump @carbon/themes, carbon-components

* refactor(data-table): co-locate DataTableSkeleton with DataTable

* docs: update number of pictograms

* fix(password-input): add missing "bx--btn" class to visibility toggle

* docs: increase z-index for component preview
2021-01-27 13:29:20 -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
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
f1800bf332 docs: move reactive label to component prop name column 2020-11-20 09:39:25 -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
albert
9cd1533a8a docs: add line replace method for code tags 2020-11-07 21:09:53 +01:00
Eric Liu
4d89c83723 docs(preview): append current theme to iframe url 2020-10-26 12:25:38 -07:00
Eric Liu
626a1da8b0 docs: remove flaky iframe on:load behavior 2020-10-24 15:20:04 -07:00
Eric Liu
a9a09b2086 docs(component-api): add margin bottom if no props 2020-10-24 14:00:27 -07:00
Eric Liu
829275e594 docs: tweak copy 2020-10-22 17:30:50 -07:00
Eric Liu
1a809c9c3a fix(data-table): fix JSDoc type for expandableRowIds 2020-10-17 13:45:15 -07:00
Eric Liu
0d0d35e715 docs: add component API information 2020-10-16 18:20:39 -07:00
Eric Liu
249f158f8a docs: add initial recipes 2020-10-16 13:19:54 -07:00
Eric Liu
7345cc1b83 docs(preview): move inline loader above preview 2020-10-15 17:27:27 -07:00
Eric Liu
b0dbcb8f06 docs: use AspectRatio from library 2020-10-15 17:21:46 -07:00
Eric Liu
826c744ec2 docs: add vercel to docsite footer 2020-10-05 15:03:06 -07:00
Eric Liu
f0b270b9bc docs: prerender for gh pages 2020-10-03 08:46:13 -07:00
Eric Liu
2008d0035f docs: add new component docs 2020-10-02 20:13:02 -07:00
josefaidt
398887a3d3 feat(prettier): add svelteBracketNewLine 2020-09-24 10:50:34 -05:00
Eric Liu
42b8159b1c chore(prettier): use svelteStrictMode 2020-09-04 16:35:49 -07:00
Eric Liu
322b238cf0 chore(deps-dev): bump prettier, prettier-plugin-svelte 2020-09-04 16:34:28 -07:00
Eric Liu
12ff171784 docs: extract TileCard component 2020-08-08 15:49:16 -07:00
Eric Liu
3fa388bd3d docs: add component grid 2020-07-24 17:19:19 -07:00
Eric Liu
e2c8ea6d76 docs: build carbon themes using sass 2020-07-23 19:58:54 -07:00
Eric Liu
ccdf6af78d docs: use sapper/cypress for e2e testing 2020-07-19 11:41:15 -07:00
Eric Liu
76df51674d chore: update dependencies, remove jest
- remove docs/palimpsest folders (to be replaced)
- remove Layout Storybook component
2020-07-19 06:53:10 -07:00
Eric Liu
04b8978ec2 docs: set-up sapper template 2020-05-09 07:19:03 -07:00