Commit graph

98 commits

Author SHA1 Message Date
Eric Liu
63ef51209d
feat: make renderIcon/icon prop consistent (#496) 2021-01-27 14:16:07 -08:00
Eric Liu
48012b9ca0
Minor fixes to align with v10.26 (#490)
* fix(data-table): remove aria-hidden prop from ToolbarSearch

* fix(ui-shell): deprecate ariaLabel prop in HeaderNav

- remove menubar role from HeaderNav
- obtain "aria-label" and "aria-labelledby" from $$props

* fix(slider): add label id
2021-01-21 15:28:34 -08:00
josef
a9e63e0038
feat(UIShell): only render hamburger menu if SideNav exists (#457)
* feat(UIShell): only render hamburger menu if SideNav exists

* feat(SideNav): store logic moved to onMount
2020-12-09 09:14:32 -08:00
Eric Liu
e9016a5f8d
fix(ui-shell): prevent default behavior for Arrow{Up|Down} in HeaderSearch (#432) 2020-11-28 12:01:21 -08:00
Eric Liu
03462e79a7
fix(ui-shell): set selectedResultIndex in HeaderSearch on click (#430) 2020-11-28 06:17:33 -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
7a1480f0ed fix(types): prefix icon type with "typeof" 2020-11-19 10:41:15 -08:00
Eric Liu
56718c633d
Merge branch 'master' into rewrite-tyepscript-definitions 2020-11-19 06:16:50 -08:00
josefaidt
fd56f67705 refactor(SideNav): simplify collapsed logic 2020-11-18 08:42:37 -06:00
josefaidt
07ce05e344 refactor(SideNav): simplify collapsed logic 2020-11-13 12:43:10 -06:00
josefaidt
4e88bcc5b8 refactor(SideNav): collapse logic should differ from fixed variants 2020-11-12 08:07:28 -06:00
josefaidt
9d0a0b00b7 feat(UIShell): add persistentHamburgerMenu prop to header 2020-11-12 08:03:20 -06:00
Eric Liu
75d4b4cf03 refactor(types): shorten ref, id JSDocs, use CarbonIcon type, export component props 2020-11-06 11:30:46 -08:00
Eric Liu
d38e6d8be6 refactor: update/fix JSDoc props 2020-11-04 06:04:25 -08:00
Eric Liu
8950920a10 fix(ui-shell): initialize platformName as empty string
Prevents "undefined" from being rendered.
2020-10-24 14:31:40 -07:00
Eric Liu
cf2dc12546 refactor(ui-shell): remove redundant conditional in HeaderGlobalAction 2020-10-24 14:24:30 -07:00
Eric Liu
378fe06e03 chore: remove storybook 2020-10-14 16:23:44 -07:00
Eric Liu
46c611f638 chore: run prettier [ci skip] 2020-10-14 15:40:33 -07:00
Eric Liu
e382038850
Merge pull request #321 from josefaidt/320-add-rel-all-links
chore(links): add rel="" to all links
2020-10-13 13:09:13 -07:00
weaseldotro
4e2b675866
fix(HeaderAction): panel closes when user clicks inside the browser window, not just inside the page body 2020-10-10 10:24:11 +03:00
josefaidt
266443bf9e chore(HeaderNavItem): add rel="" 2020-10-08 14:22:27 -05:00
josefaidt
32077693e0 chore(links): add rel="" to all links 2020-10-08 14:02:08 -05:00
josefaidt
d65d9d406c chore(UIShell): update JSDoc 2020-10-01 15:20:49 -05:00
josefaidt
d1e9fc7225 feat(UIShell): export ref for all UIShell components 2020-10-01 15:13:40 -05:00
weaseldotro
34aba7947e
Add on:click to HeaderPanelLink 2020-09-26 20:08:17 +03:00
josefaidt
398887a3d3 feat(prettier): add svelteBracketNewLine 2020-09-24 10:50:34 -05:00
Eric Liu
a4d68e7e00 fix(side-nav-menu): fix a11y warnings
- remove role attributes from SideNavMenuItem
- remove "aria-haspopup" from SideNavMenu
2020-09-14 06:49:42 -07:00
Eric Liu
d250a0c3cc v0.12.0 2020-09-13 14:05:51 -07:00
Eric Liu
7b3c111b5f feat(ui-shell): add HeaderGlobalAction component 2020-09-05 15:28:10 -07:00
Eric Liu
5f62cdeb82 feat(ui-shell): add Close/AppSwitcher as default HeaderAction icons 2020-09-04 17:05:55 -07: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
5c829b5afc build: use svelte compiler to generate typescript definitions 2020-08-10 18:27:26 -07:00
Eric Liu
8225a0869e chore(ui-shell): rename slot to "skip-to-content" 2020-08-02 05:53:36 -07:00
Eric Liu
4f2251b5e1 feat(ui-shell): support fixed SideNav 2020-08-02 05:52:42 -07:00
Eric Liu
76ac0505e3 feat(ui-shell): add expandedByDefault prop to Header 2020-08-02 05:52:01 -07:00
Eric Liu
abc66248f8 feat(ui-shell): add Header skip-to-main-content slot 2020-08-01 15:56:52 -07:00
Eric Liu
62cf3be278 feat(ui-shell): add Header platform name slot 2020-08-01 15:46:28 -07:00
Eric Liu
6645533912 feat(ui-shell): make Header name optional 2020-08-01 15:40:06 -07:00
Eric Liu
4d93396d01 fix(ui-shell): stop propagation when clicking header action button 2020-08-01 15:36:38 -07:00
Eric Liu
66bc076307 fix(ui-shell): add space between company and platform name 2020-08-01 15:36:11 -07:00
Eric Liu
334ea7f063 chore(ui-shell): apply toggle behavior to HeaderAction
Dispatch open/close events
2020-07-30 16:42:36 -07:00
Eric Liu
f30755b237 chore: complete first pass of apply jsdoc annotations to component props 2020-07-26 17:42:12 -07:00
Eric Liu
566a281d81 chore(ui-shell): remove ambiguous type prop in favor of $$restProps 2020-07-26 15:12:28 -07:00
Eric Liu
773b18d314 chore: add more prop annotations 2020-07-25 06:26:49 -07:00
Eric Liu
b255dd9f99 feat(ui-shell): conditionally render icon markup 2020-07-24 17:18:55 -07:00
Eric Liu
2200b29b92 chore: lift components folder 2020-07-19 09:06:08 -07:00