Skip to content

Commit 2158654

Browse files
authored
Merge branch 'next' into fix-alert-alignment
2 parents 4ff082e + 4e03f34 commit 2158654

3 files changed

Lines changed: 9 additions & 6 deletions

File tree

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Publish to try-module.cloud
1+
name: Publish to pkg.vc
22

33
on:
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

v2/pink-sb/src/lib/Tooltip.svelte

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,14 @@
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() {
@@ -54,10 +55,11 @@
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'}
@@ -66,7 +68,7 @@
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">

v2/pink-sb/src/lib/selector/Radio.svelte

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@
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);

0 commit comments

Comments
 (0)