File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- name : Publish to try-module.cloud
1+ name : Publish to pkg.vc
22
33on :
44 pull_request :
@@ -24,14 +24,14 @@ jobs:
2424 - name : Build packages
2525 run : pnpm run build
2626 - name : Publish @appwrite.io/pink-svelte
27- uses : TorstenDittmann/try-module -action@main
27+ uses : pkg-vc/publish -action@main
2828 with :
2929 organization : appwrite
3030 directory : ./v2/pink-sb
3131 secret : ${{ secrets.TRY_MODULE_SECRET }}
3232 github-token : ${{ secrets.GITHUB_TOKEN }}
3333 - name : Publish @appwrite.io/pink-icons-svelte
34- uses : TorstenDittmann/try-module -action@main
34+ uses : pkg-vc/publish -action@main
3535 with :
3636 organization : appwrite
3737 directory : ./v2/pink-icons
Original file line number Diff line number Diff line change 1010 export let maxWidth = ' 11.25rem' ;
1111
1212 let show = false ;
13+ let showing = false ;
1314 const id = ' tooltip-' + Math .random ().toString (36 ).substring (2 , 9 );
1415 let referenceElement: HTMLSpanElement ;
1516 let tooltipElement: HTMLDivElement ;
1617
1718 async function showTooltip() {
1819 await update ();
19- show = ! disabled ;
20+ showing = show = ! disabled ;
2021 }
2122
2223 function hideTooltip() {
5455 on:mouseleave ={hideTooltip }
5556 on:blur ={hideTooltip }
5657>
57- <slot showing ={ show } {update } />
58+ <slot { showing } {update } />
5859</span >
5960<div
6061 {id }
62+ on:transitionend ={() => (showing = false )}
6163 bind:this ={tooltipElement }
6264 aria-hidden ={! show }
6365 class:padding-none ={padding === ' none' }
6668 style:max-inline-size ={maxWidth }
6769 data-state ={! show ? ' closed' : ' open' }
6870>
69- <slot showing ={ show } {update } name =" tooltip" />
71+ <slot { showing } {update } name =" tooltip" />
7072</div >
7173
7274<style lang =" scss" >
Original file line number Diff line number Diff line change 5151 border-radius : var (--border-radius-circle );
5252 outline-offset : var (--border-width-l );
5353 background-color : var (--bgcolor-neutral-primary );
54+ flex-shrink : 0 ;
5455
5556 & .s {
5657 --p-radio-size : var (--icon-size-s );
You can’t perform that action at this time.
0 commit comments