Commit graph

1108 commits

Author SHA1 Message Date
Eric Y Liu
6dbbe7a2f0 fix(context-menu): render submenu based on viewport constraints #577 2021-04-02 13:23:01 -07:00
Eric Y Liu
29745564a6 fix(context-menu): set initial y offset of context menu based on window height #577 2021-04-02 13:04:45 -07:00
Eric Y Liu
7380165298 docs(data-table): update example to desort the Protocol header
As an example, it makes more sense because all the values ("http") are the same.
2021-04-02 12:01:21 -07:00
Eric Y Liu
766ee936ed feat(data-table): allow sorting to be disabled for a specific header 2021-04-02 11:51:32 -07:00
Eric Y Liu
2d5ef94e71 refactor(types): use shorter import path in DataTableSkeleton 2021-04-02 11:33:49 -07:00
Eric Y Liu
fcf93bb8aa feat(data-table): support rendering empty table header in skeleton 2021-04-02 11:33:25 -07:00
Eric Y Liu
b19696b9f1 feat(context-menu): support danger kind for ContextMenuOption 2021-04-02 04:40:27 -07:00
Eric Y Liu
05433c4fb7 docs(tooltip): document TooltipFooter 2021-04-02 04:36:22 -07:00
Eric Y Liu
1284ffc5f3 feat(form): add noMargin prop to FormGroup 2021-04-02 04:31:34 -07:00
Eric Y Liu
3bcbead74d chore(deps-dev): upgrade carbon-components to v10.32.0 2021-04-02 04:27:17 -07:00
Eric Y Liu
93613bd9f5 feat(multi-select): export inputRef prop 2021-04-01 16:23:39 -07:00
Eric Y Liu
079f758a3c feat(breadcrumb): support overflow menu 2021-04-01 16:16:55 -07:00
Eric Y Liu
e26ff3bc8f fix(time-picker): correctly display invalidText 2021-04-01 15:38:31 -07:00
Eric Y Liu
3718f3e867 feat(tooltip): add TooltipFooter component 2021-04-01 15:31:56 -07:00
Eric Y Liu
ca25720226 docs(data-table): add expandable size examples 2021-04-01 15:00:42 -07:00
Eric Y Liu
15c8bf3940 fix(composed-modal): set hasScrollingContent class on ModalBody 2021-04-01 14:55:46 -07:00
Eric Y Liu
7df5bbe5d0 feat(search): add searchClass prop 2021-04-01 14:49:50 -07:00
Eric Y Liu
d181063d67 fix(toolbar-search): remove outer div 2021-04-01 14:49:40 -07:00
Eric Y Liu
52e7ecfe87 feat(content-switcher): deprecate the light prop
- docs: remove the light variant example
2021-04-01 14:39:08 -07:00
Eric Y Liu
ce53706e17 feat(copy-button): add copy functionality 2021-04-01 14:36:52 -07:00
Eric Y Liu
acfa5c2a17 build(rollup): add clipboard-copy to globals 2021-04-01 14:29:19 -07:00
Eric Y Liu
e5d123eb4b feat(tile): support disabled state for SelectableTile, RadioTile
Closes #539
2021-04-01 14:27:44 -07:00
Eric Y Liu
50b93c8a17 feat(code-snippet): add copy functionality
- docs: add custom feedback copy text example
2021-04-01 14:19:11 -07:00
Eric Y Liu
f13e3b100e v0.31.1 2021-03-28 17:40:02 -07:00
jhwz
d5db33abc1
forward name to non-mobile variant (#568) 2021-03-28 17:35:55 -07:00
Eric Liu
f4f209f13b
fix(fluid-form): forward missing events (#583) 2021-03-28 12:10:51 -07:00
weaseldotro
1d93eb0783
feat(Form): forward keydown event (#581) 2021-03-27 06:06:27 -07:00
Eric Y Liu
4577e7f152 v0.31.0 2021-03-20 17:11:35 -07:00
Eric Liu
63e7965745
Fixes (#575)
* fix(context-menu): only prevent default keydown behavior if menu is open

* docs(notification): update copy

* docs(select): update item groups example to use hidden default option

* docs: increase max-height to render UIShell, UnorderedList items

* fix(ui-shell): remove iconDescription prop from HeaderNavMenu #566

Fixes #566
2021-03-20 16:28:29 -07:00
Nicco
121062a80c
remove default from inline notification (#553)
* remove default from inline notification

* feat(notification): remove default prop value for title, caption

Co-authored-by: Eric Y Liu <ericyl.us@gmail.com>
2021-03-20 11:05:38 -07:00
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
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