Skip to content

Commit 5ba079f

Browse files
committed
v1.27.0
1 parent 9bd457a commit 5ba079f

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

59 files changed

+699
-419
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Changelog
22

3+
## 1.27.0
4+
5+
### Minor Changes
6+
7+
- feat: ClipboardManager
8+
39
## 1.26.0
410

511
### Minor Changes

e2e/extend.spec.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ test("ClipboardManager page should have h1", async ({ page }) => {
1212
expect(await page.textContent("h1")).toBe("Svelte Clipboard Manager");
1313
});
1414

15-
1615
// CommandPalette
1716
test("CommandPalette page should have h1", async ({ page }) => {
1817
await page.goto("/docs/extend/command-palette");

package.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "flowbite-svelte",
3-
"version": "1.26.0",
3+
"version": "1.27.0",
44
"description": "Flowbite components for Svelte",
55
"main": "dist/index.js",
66
"author": {
@@ -278,6 +278,10 @@
278278
"types": "./dist/clipboard/Clipboard.svelte.d.ts",
279279
"svelte": "./dist/clipboard/Clipboard.svelte"
280280
},
281+
"./ClipboardManager.svelte": {
282+
"types": "./dist/clipboard-manager/ClipboardManager.svelte.d.ts",
283+
"svelte": "./dist/clipboard-manager/ClipboardManager.svelte"
284+
},
281285
"./CommandPalette.svelte": {
282286
"types": "./dist/command-palette/CommandPalette.svelte.d.ts",
283287
"svelte": "./dist/command-palette/CommandPalette.svelte"

src/lib/clipboard-manager/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
export { default as ClipboardManager } from "./ClipboardManager.svelte";
2-
export { clipboardManager } from "./theme";
2+
export { clipboardManager } from "./theme";

src/lib/clipboard-manager/theme.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ export const clipboardManager = tv({
5454
selectionBubble: "mb-2 flex items-center gap-2 rounded-lg bg-gray-900 px-3 py-2 text-white shadow-xl",
5555
selectionText: "max-w-[200px] truncate text-xs",
5656
selectionButton: "rounded bg-primary-700 px-2 py-1 text-xs font-medium whitespace-nowrap transition hover:bg-primary-500",
57-
selectionArrow: "absolute bottom-1 left-1/2 h-2 w-2 -translate-x-1/2 rotate-45 bg-gray-900",
57+
selectionArrow: "absolute bottom-1 left-1/2 h-2 w-2 -translate-x-1/2 rotate-45 bg-gray-900"
5858
},
5959
variants: {
6060
pinned: {
@@ -81,4 +81,4 @@ export const clipboardManager = tv({
8181
pinned: false,
8282
type: "success"
8383
}
84-
});
84+
});

src/lib/command-palette/CommandPalette.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@
194194
@component
195195
[Go to docs](https://flowbite-svelte.com/)
196196
## Type
197-
[CommandPaletteProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L2191)
197+
[CommandPaletteProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L2192)
198198
## Props
199199
@prop open = $bindable(false)
200200
@prop items = []

src/lib/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,4 +94,4 @@ export * from "./scroll-spy";
9494
export * from "./split-pane";
9595
export * from "./tour";
9696
export * from "./virtuallist";
97-
export * from "./virtual-masonry";
97+
export * from "./virtual-masonry";

src/lib/kanban/KanbanBoard.svelte

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,6 @@
7474
}
7575
</script>
7676

77-
7877
<div {...restProps} class={styles.container({ class: clsx(theme?.container, className) })}>
7978
{#each columns as col (col.id)}
8079
<div
@@ -90,14 +89,7 @@
9089

9190
<div class={styles.cardList({ class: clsx(theme?.cardList, classes?.cardList) })} role="list" aria-label={`${col.title} cards`}>
9291
{#each col.cards as card (card.id)}
93-
<KanbanCard
94-
{card}
95-
{classes}
96-
{...cardProps}
97-
isDragging={draggedCard?.id === card.id}
98-
onDragStart={() => handleDragStart(card, col.id)}
99-
onDragEnd={handleDragEnd}
100-
/>
92+
<KanbanCard {card} {classes} {...cardProps} isDragging={draggedCard?.id === card.id} onDragStart={() => handleDragStart(card, col.id)} onDragEnd={handleDragEnd} />
10193
{/each}
10294
</div>
10395

src/lib/kanban/KanbanCard.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
@component
4848
[Go to docs](https://flowbite-svelte.com/)
4949
## Type
50-
[KanbanCardProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L2120)
50+
[KanbanCardProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L2121)
5151
## Props
5252
@prop card
5353
@prop isDragging = false

src/lib/scroll-spy/ScrollSpy.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@
255255
@component
256256
[Go to docs](https://flowbite-svelte.com/)
257257
## Type
258-
[ScrollSpyProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L2206)
258+
[ScrollSpyProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L2207)
259259
## Props
260260
@prop items
261261
@prop position = "top"

0 commit comments

Comments
 (0)