@rainlanguage/ui-components 0.0.1-alpha.11 → 0.0.1-alpha.12
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.
|
@@ -5,29 +5,27 @@ export let pathname;
|
|
|
5
5
|
$: breadcrumbs = generateBreadcrumbs(pathname);
|
|
6
6
|
</script>
|
|
7
7
|
|
|
8
|
-
<div class="mb-4 flex w-full items-center">
|
|
9
|
-
<
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
>
|
|
14
|
-
|
|
15
|
-
{#each breadcrumbs as crumb}
|
|
16
|
-
<BreadcrumbItem
|
|
17
|
-
href={crumb.href}
|
|
18
|
-
linkClass="mx-2 text-sm font-medium text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-white first-letter:uppercase"
|
|
19
|
-
>{crumb.label}</BreadcrumbItem
|
|
20
|
-
>
|
|
21
|
-
{/each}
|
|
8
|
+
<div class="mb-4 flex w-full items-center justify-between">
|
|
9
|
+
<Breadcrumb
|
|
10
|
+
olClass="inline-flex items-center rtl:space-x-reverse"
|
|
11
|
+
aria-label="Default breadcrumb example"
|
|
12
|
+
>
|
|
13
|
+
<BreadcrumbItem href="/" home></BreadcrumbItem>
|
|
14
|
+
{#each breadcrumbs as crumb}
|
|
22
15
|
<BreadcrumbItem
|
|
23
|
-
|
|
24
|
-
|
|
16
|
+
href={crumb.href}
|
|
17
|
+
linkClass="mx-2 text-sm font-medium text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-white first-letter:uppercase"
|
|
18
|
+
>{crumb.label}</BreadcrumbItem
|
|
25
19
|
>
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
20
|
+
{/each}
|
|
21
|
+
<BreadcrumbItem
|
|
22
|
+
spanClass="mx-2 text-sm font-medium text-gray-700 dark:text-gray-300 first-letter:uppercase"
|
|
23
|
+
><span data-testid="breadcrumb-page-title">{title}</span></BreadcrumbItem
|
|
24
|
+
>
|
|
25
|
+
</Breadcrumb>
|
|
26
|
+
|
|
27
|
+
<div class="flex flex-col items-end gap-2 lg:flex-row lg:items-center">
|
|
28
|
+
<slot name="warning" />
|
|
29
|
+
<slot name="actions" />
|
|
32
30
|
</div>
|
|
33
31
|
</div>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rainlanguage/ui-components",
|
|
3
|
-
"version": "0.0.1-alpha.
|
|
3
|
+
"version": "0.0.1-alpha.12",
|
|
4
4
|
"description": "A component library for building Svelte applications to be used with Raindex.",
|
|
5
5
|
"license": "LicenseRef-DCL-1.0",
|
|
6
6
|
"author": "Rain Open Source Software Ltd",
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"@fontsource/dm-sans": "^5.0.18",
|
|
54
54
|
"@imask/svelte": "^7.3.0",
|
|
55
55
|
"@observablehq/plot": "^0.6.13",
|
|
56
|
-
"@rainlanguage/orderbook": "0.0.1-alpha.
|
|
56
|
+
"@rainlanguage/orderbook": "0.0.1-alpha.12",
|
|
57
57
|
"@reown/appkit": "^1.6.4",
|
|
58
58
|
"@reown/appkit-adapter-wagmi": "^1.6.4",
|
|
59
59
|
"@sentry/sveltekit": "^7.107.0",
|