@canonical/svelte-ds-app-launchpad 0.48.0 → 0.49.0

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.
@@ -1,6 +1,6 @@
1
1
  <script lang="ts">
2
+ import { ExpandSideNavIcon } from "@canonical/svelte-icons";
2
3
  import { ButtonPrimitive } from "../../../common/ButtonPrimitive/index.js";
3
- import { ExpandRightIcon } from "../../../icons/index.js";
4
4
  import "./styles.css";
5
5
  import type { ExpandToggleProps } from "./types.js";
6
6
 
@@ -10,5 +10,5 @@
10
10
  </script>
11
11
 
12
12
  <ButtonPrimitive class={[componentCssClassName, className]} {...rest}>
13
- <ExpandRightIcon class="expand-icon" />
13
+ <ExpandSideNavIcon class="expand-icon" />
14
14
  </ButtonPrimitive>
@@ -4,9 +4,12 @@
4
4
  import { getTHContext } from "../../context.js";
5
5
  import type { SortButtonProps } from "./types.js";
6
6
  import "./styles.css";
7
- import { ArrowDownIcon, ArrowUpIcon } from "@canonical/svelte-icons";
7
+ import {
8
+ ArrowDownIcon,
9
+ ArrowUpIcon,
10
+ SortIcon,
11
+ } from "@canonical/svelte-icons";
8
12
  import { ButtonPrimitive } from "../../../../../common/index.js";
9
- import { SortIcon } from "../../../../../icons/index.js";
10
13
 
11
14
  const componentCssClassName = "ds table-th-sort";
12
15
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@canonical/svelte-ds-app-launchpad",
3
3
  "description": "Launchpad-specific components for the Pragma design system.",
4
- "version": "0.48.0",
4
+ "version": "0.49.0",
5
5
  "type": "module",
6
6
  "module": "dist/index.js",
7
7
  "types": "dist/index.d.ts",
@@ -64,10 +64,11 @@
64
64
  "devDependencies": {
65
65
  "@biomejs/biome": "2.6.9",
66
66
  "@canonical/biome-config": "0.47.0",
67
- "@canonical/storybook-config": "^0.48.0",
68
- "@canonical/storybook-helpers": "^0.48.0",
69
- "@canonical/svelte-ssr-test": "^0.48.0",
70
- "@canonical/typescript-config-svelte": "^0.48.0",
67
+ "@canonical/storybook-config": "^0.49.0",
68
+ "@canonical/storybook-helpers": "^0.49.0",
69
+ "@canonical/svelte-icons": "^0.2.0",
70
+ "@canonical/svelte-ssr-test": "^0.49.0",
71
+ "@canonical/typescript-config-svelte": "^0.49.0",
71
72
  "@canonical/webarchitect": "0.46.0",
72
73
  "@storybook/addon-docs": "^10.6.0",
73
74
  "@storybook/addon-svelte-csf": "^5.1.3",
@@ -86,12 +87,12 @@
86
87
  },
87
88
  "dependencies": {
88
89
  "@canonical/design-tokens": "0.46.0",
89
- "@canonical/styles": "^0.48.0",
90
- "@canonical/svelte-icons": "^0.1.0",
90
+ "@canonical/styles": "^0.49.0",
91
91
  "@floating-ui/dom": "^1.7.6"
92
92
  },
93
93
  "peerDependencies": {
94
+ "@canonical/svelte-icons": "^0.2.0",
94
95
  "svelte": "^5.47.1"
95
96
  },
96
- "gitHead": "aee4aebab851f90159776a7ba658d0c62e0d2bf4"
97
+ "gitHead": "9b71099ded16351ee14432246e3d8190f48767ed"
97
98
  }
@@ -1,22 +0,0 @@
1
- <script lang="ts">
2
- import type { IconProps } from "@canonical/svelte-icons";
3
- import { IconBase } from "@canonical/svelte-icons";
4
-
5
- const props: IconProps = $props();
6
- </script>
7
-
8
- <IconBase iconName="expand-right" {...props}>
9
- <svg
10
- width="16"
11
- height="16"
12
- viewBox="0 0 16 16"
13
- fill="none"
14
- xmlns="http://www.w3.org/2000/svg"
15
- >
16
- <path d="M3 1L3 15H1.5L1.5 1H3Z" fill="currentColor"></path>
17
- <path
18
- d="M8.91555 11.6844L11.8779 8.72209L4.9 8.72209V7.22209L11.8778 7.22209L8.91555 4.25982L9.97621 3.19916L14.7492 7.97213L9.97621 12.7451L8.91555 11.6844Z"
19
- fill="currentColor"
20
- ></path>
21
- </svg>
22
- </IconBase>
@@ -1,4 +0,0 @@
1
- import type { IconProps } from "@canonical/svelte-icons";
2
- declare const ExpandRightIcon: import("svelte").Component<IconProps, {}, "">;
3
- type ExpandRightIcon = ReturnType<typeof ExpandRightIcon>;
4
- export default ExpandRightIcon;
@@ -1,25 +0,0 @@
1
- <script lang="ts">
2
- import type { IconProps } from "@canonical/svelte-icons";
3
- import { IconBase } from "@canonical/svelte-icons";
4
-
5
- const props: IconProps = $props();
6
- </script>
7
-
8
- <IconBase iconName="sort" {...props}>
9
- <svg
10
- width="16"
11
- height="16"
12
- viewBox="0 0 16 16"
13
- fill="none"
14
- xmlns="http://www.w3.org/2000/svg"
15
- >
16
- <path
17
- d="M10.5303 1.46973L9.25 2.00006V14.5001H10.75V3.81072L13.4697 6.53039L14.5303 5.46973L10.5303 1.46973Z"
18
- fill="currentColor"
19
- ></path>
20
- <path
21
- d="M5.46967 14.5303L6.75 13.9999V1.49994H5.25V12.1893L2.53033 9.46961L1.46967 10.5303L5.46967 14.5303Z"
22
- fill="currentColor"
23
- ></path>
24
- </svg>
25
- </IconBase>
@@ -1,4 +0,0 @@
1
- import type { IconProps } from "@canonical/svelte-icons";
2
- declare const SortIcon: import("svelte").Component<IconProps, {}, "">;
3
- type SortIcon = ReturnType<typeof SortIcon>;
4
- export default SortIcon;
@@ -1,2 +0,0 @@
1
- export { default as ExpandRightIcon } from "./ExpandRightIcon.svelte";
2
- export { default as SortIcon } from "./SortIcon.svelte";
@@ -1,3 +0,0 @@
1
- // TODO(steciuk): Remove icons when they are approved, upstreamed to `@canonical/ds-assets` included in `@canonical/svelte-icons`.
2
- export { default as ExpandRightIcon } from "./ExpandRightIcon.svelte";
3
- export { default as SortIcon } from "./SortIcon.svelte";