Commit graph

1102 commits

Author SHA1 Message Date
Eric Y Liu
cd350a814f docs: style [data-outline] as relative positioned 2021-03-19 08:33:04 -07:00
Eric Y Liu
b728454a60 feat(popover): add closeOnOutsideClick prop 2021-03-19 08:21:52 -07:00
Eric Y Liu
4397d852eb fix(search): only set autofocus attribute if equals true 2021-03-19 08:11:22 -07:00
Eric Y Liu
d702c8fef0 test(types): fix warnings from svelte-check 2021-03-19 08:09:10 -07:00
Eric Y Liu
00097b4dc8 docs(accordion): adjust section title verbiage 2021-03-19 08:08:56 -07:00
Eric Y Liu
630b04a546 chore(deps-dev): upgrade carbon-icons-svelte to v10.27
v10.27 uses the SvelteComponentTyped interface
2021-03-19 08:07:11 -07:00
Eric Y Liu
ee52f26b48 docs(radio-button): adjust section copy verbiage 2021-03-19 06:59:17 -07:00
Eric Y Liu
6b34deb5c6 fix(link): remove line breaks within anchor link 2021-03-19 06:56:41 -07:00
Eric Y Liu
9c4200aa3d chore(tabs): use absolute icon import 2021-03-19 06:52:43 -07:00
Eric Y Liu
fb05553c35 docs(radio-button): add disabled buttons example 2021-03-19 06:50:57 -07:00
Eric Y Liu
4c8c9be28e fix(multi-select): type clear as a custom event 2021-03-19 06:47:50 -07:00
Eric Y Liu
32effacb76 feat(pagination): dispatch button click events to be consistent with PaginationNav 2021-03-19 06:44:58 -07:00
Eric Y Liu
a3a4a02d94 feat(popover): add Popover component 2021-03-19 06:34:42 -07:00
Eric Y Liu
1df92756fb docs(select): add skeleton hidden label example 2021-03-19 06:02:12 -07:00
Eric Y Liu
63e18a63ad docs: release code snippet max-width 2021-03-19 06:00:17 -07:00
Eric Y Liu
6ca6c5741b fix(structured-list): add "rowgroup" role to StructuredListBody 2021-03-19 05:54:02 -07:00
Eric Y Liu
f75f46e9e6 docs(select): add helper text example 2021-03-19 05:49:50 -07:00
Eric Y Liu
94cef3fcc7 docs(select): add invalid state example 2021-03-19 05:48:31 -07:00
Eric Y Liu
be30b0a019 feat(select): add warning state 2021-03-19 05:47:22 -07:00
Eric Y Liu
3dfb391a73 fix(number-input): use add, subtract icons and update markup 2021-03-19 05:28:40 -07:00
Eric Y Liu
16bb9406bc chore(list-box): remove hotfix inline style to center dropdown chevron 2021-03-18 15:56:01 -07:00
Eric Y Liu
70a3b79ed3 feat(tabs): support "container" type for TabsSkeleton 2021-03-18 15:51:17 -07:00
Eric Y Liu
a63f8911c4 docs(slider): add hidden text input, invalid, disabled examples 2021-03-18 15:44:50 -07:00
Eric Y Liu
5c14cde605 fix(slider): use CSS to hide input if hideTextInput is true 2021-03-18 15:44:34 -07:00
Eric Y Liu
924de3a49e chore(deps-dev): upgrade carbon-components to v10.31.0 2021-03-18 15:24:36 -07:00
Eric Y Liu
afed4fa2fa v0.30.0 2021-03-13 14:57:30 -08:00
Eric Liu
1b234ca2e3
Alignment with Carbon version 10.30 (#559)
* feat(toolbar): forward "clear" event in ToolbarSearch

* docs(search): add on:clear example

* fix(ui-shell): set aria-hidden in SideNav

Ref c2b4f1f00

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

* fix(text-input): use bx--text-input class for TextInputSkeleton

* fix(radio-button): only render span if labelText is truthy

* docs(password-input): add custom tooltip example

* feat(button): add isSelected prop for icon-only, ghost buttons

* feat(radio-button): add legendText prop to RadioButtonGroup

* docs(tag): add filterable (disabled) variant

* feat(tag): add interactive prop

* chore(number-input): deprecate the mobile variant

Mobile variant styles will no longer work.

* feat(button): set aria-pressed attribute if icon-only, ghost button is selected

* fix(multi-select): type dispatched select event

* fix(button): remove redundant "button" role

* feat(icon): deprecate Icon, IconSkeleton

* feat(ui-shell): make SideNavMenuItem text slottable

* fix(list-box): update styles for ListBoxSelection

* fix(list-box): temporarily apply override styles to ListBoxMenuIcon for chevron

* fix(tag): set disabled prop on interactive tag

* docs(button): extract selected, icon-only button example

* feat(tooltip): elevate z-index of tooltip when open

* feat: forward restProps to input element

* fix(types): fix TimePicker test to pass svelte-check

* feat: add ImageLoader component

* test: add ImageLoader

* feat: add LocalStorage component

* test(local-storage): fix invalid file

* chore(docs): use green tag type
2021-03-13 14:53:37 -08:00
josef
08249d6764
fix(SideNav): apply overlay for non-fixed sidenav instances, ref #544 (#562) 2021-03-12 12:35:01 -08:00
Eric Liu
390b621ed4 v0.29.2 2021-03-01 11:13:29 -08:00
Eric Liu
a67a38218a
fix(button): remove blank line to correctly render button with icon in Safari 13 (#548) 2021-03-01 11:09:36 -08:00
Eric Liu
720ef778f2 v0.29.1 2021-02-26 14:32:58 -08:00
Eric Liu
d6a136d6ca
hotfix: blur ComboBox, MultiSelect focus based on relatedTarget tag name (#540)
* fix(combo-fix): dont re-focus listbox if relatedTarget is input/select/textarea

* fix(combo-box): check if relatedTarget is truthy

* fix(multi-select): dont re-focus listbox if relatedTarget is input/select/textarea
2021-02-26 14:28:36 -08:00
Eric Liu
24e36a7fd0
fix(truncate): preserve existing class names on node (#541) 2021-02-26 14:21:53 -08:00
Eric Liu
66a3fd10c2
fix(scss): use new component tokens to render low contrast notifications (#533) 2021-02-23 13:18:41 -08:00
Eric Liu
d12442c797 v0.29.0 2021-02-19 16:36:51 -08:00
Eric Liu
14e714fa61
Alignment with Carbon version 10.29 (#529)
* chore: patch prettier-plugin-svelte

* docs(tag): add filterable small tag example

* feat(ui-shell): add SideNavDivider

* feat(combo-box): support warning state

* docs(combo-box): add invalid state example

* fix(progress-step): add title to warning icon

* docs(progress-indicator): add invalid step example

* docs(progress-indicator): add disabled steps example

* feat(truncate): add text truncation component and action

* docs(radio-tile): fix light variant example

* fix(side-effects): add pre-compiled CSS to library side effects

* refactor(css): use shorthand scss imports, add comments

* refactor(truncate): rename "direction" prop to "clamp"

* chore(deps-dev): bump carbon-components to v10.29.0

* feat(combo-box): add direction prop

* feat(dropdown): add direction prop

* feat(multi-select): add direction prop
2021-02-19 16:08:16 -08:00
Eric Liu
827a9822e7
fix(data-table): specify that restProps are forwarded to "div" #524 (#525) 2021-02-17 05:56:33 -08:00
Reed Shea
7459fdb08b
Change placeholder text for TimePicker to have ":" separator (#523)
* Change placeholder text for TimePicker to have ":" separator

* Revert "Change placeholder text for TimePicker to have ":" separator"

This reverts commit ab83560b4d.

* Change placeholder text for TimePicker to have ":" separator
2021-02-15 09:53:04 -08:00
Dominik Ritter
66bd254042
Fix path to source (#517) 2021-02-07 12:57:46 -08:00
Eric Liu
bcd28de86e
feat(types): use the SvelteComponentTyped interface in the TypeScript definitions (#515) 2021-02-07 11:25:20 -08:00
Eric Liu
4e4234f83d v0.28.0 2021-02-05 06:12:29 -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
251f986304
add OutboundLink (#504)
* feat(link): add OutboundLink

* fix(outbound-link): forward Link events
2021-02-03 05:27:24 -08:00
Eric Liu
3e926de49d v0.27.0 2021-01-28 11:07:01 -08:00
Eric Liu
e45d65c71e
feat(css): ship scss files used to pre-compile CSS (#500) 2021-01-28 10:50:56 -08:00
Eric Liu
855381a486
feat(preprocess): add optimizeCarbonImports preprocessor (#499) 2021-01-28 06:20:15 -08:00
Eric Liu
3d002f3246
chore(deps-dev): upgrade prettier-plugin-svelte (#498) 2021-01-27 15:02:02 -08:00
Eric Liu
3e7511e3f8
chore(deps-dev): replace node-sass with sass, upgrade autoprefixer, postcss (#497) 2021-01-27 14:52:56 -08:00
Eric Liu
63ef51209d
feat: make renderIcon/icon prop consistent (#496) 2021-01-27 14:16:07 -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