@reshape-biotech/design-system 0.0.16 → 0.0.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -28,22 +28,14 @@
|
|
|
28
28
|
open={forceOpen}
|
|
29
29
|
arrow={showArrow}
|
|
30
30
|
{placement}
|
|
31
|
-
class={`${tooltipClass}
|
|
31
|
+
class={`${tooltipClass} bg-base-inverse text-primary-inverse rounded px-2 py-1 text-sm font-normal shadow`}
|
|
32
32
|
>
|
|
33
33
|
{@render content?.()}
|
|
34
34
|
</Tooltip>
|
|
35
35
|
|
|
36
|
-
<style>
|
|
36
|
+
<!-- <style lang="postcss">
|
|
37
37
|
/* Hack to get the arrow styling to work */
|
|
38
38
|
:global(.tooltip.with-arrow > :last-child) {
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
height: 0.5rem;
|
|
43
|
-
width: 0.5rem;
|
|
44
|
-
--tw-rotate: 45deg;
|
|
45
|
-
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
|
|
46
|
-
border-color: inherit;
|
|
47
|
-
background-color: inherit
|
|
48
|
-
}
|
|
49
|
-
</style>
|
|
39
|
+
@apply pointer-events-none absolute block h-2 w-2 rotate-45 transform border-inherit bg-inherit;
|
|
40
|
+
}
|
|
41
|
+
</style> -->
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@reshape-biotech/design-system",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.17",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"dev": "vite dev",
|
|
6
6
|
"build": "vite build && npm run package",
|
|
@@ -53,6 +53,9 @@
|
|
|
53
53
|
"@sveltejs/kit": "^2.9.0",
|
|
54
54
|
"@sveltejs/package": "^2.0.0",
|
|
55
55
|
"@sveltejs/vite-plugin-svelte": "^4.0.0",
|
|
56
|
+
"@tailwindcss/container-queries": "^0.1.1",
|
|
57
|
+
"@tailwindcss/nesting": "^0.0.0-insiders.565cd3e",
|
|
58
|
+
"@tailwindcss/typography": "^0.5.15",
|
|
56
59
|
"autoprefixer": "^10.4.20",
|
|
57
60
|
"daisyui": "^4.10.5",
|
|
58
61
|
"eslint": "^9.7.0",
|
|
@@ -73,9 +76,5 @@
|
|
|
73
76
|
"vite": "^5.4.4",
|
|
74
77
|
"vitest": "^2.1.4"
|
|
75
78
|
},
|
|
76
|
-
"dependencies": {
|
|
77
|
-
"@tailwindcss/container-queries": "^0.1.1",
|
|
78
|
-
"@tailwindcss/nesting": "^0.0.0-insiders.565cd3e",
|
|
79
|
-
"@tailwindcss/typography": "^0.5.15"
|
|
80
|
-
}
|
|
79
|
+
"dependencies": {}
|
|
81
80
|
}
|