@celestia-island/hikari 0.32.1 → 0.32.2

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@celestia-island/hikari",
3
- "version": "0.32.1",
3
+ "version": "0.32.2",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "description": "Hikari Vue 3 component library — production-grade UI components based on shittim-chest design system",
@@ -32,6 +32,7 @@
32
32
  "import": "./src/styles/index.scss"
33
33
  },
34
34
  "./styles/*": "./src/styles/*",
35
+ "./theme/*": "./src/theme/*",
35
36
  "./components/*": "./src/components/*",
36
37
  "./plugins": {
37
38
  "import": "./src/plugins/index.ts",
@@ -35,6 +35,7 @@
35
35
  .s-token-usage-arrow {
36
36
  &[data-direction="in"] { color: rgb(var(--color-warning)); }
37
37
  &[data-direction="out"] { color: rgb(var(--color-success)); }
38
+ &[data-direction="tool"] { color: rgb(var(--color-muted)); }
38
39
  }
39
40
 
40
41
  .s-token-usage-val {
@@ -43,10 +44,6 @@
43
44
  font-variant-numeric: tabular-nums;
44
45
  }
45
46
 
46
- .s-token-usage-icon-tool {
47
- color: rgb(var(--color-muted));
48
- }
49
-
50
47
  .s-token-usage-duration {
51
48
  color: rgb(var(--color-muted));
52
49
  opacity: 0.8;
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, type PropType } from "vue";
2
- import { ArrowDown, ArrowUp } from "lucide-vue-next";
2
+ import { ArrowDown, ArrowLeftRight, ArrowUp } from "lucide-vue-next";
3
3
  import { HRollingNumber } from "@celestia-island/hikari";
4
4
 
5
5
  import { formatTokenCount } from "../utils/format";
@@ -39,7 +39,7 @@ export const HkTokenUsageBadge = defineComponent({
39
39
  </span>
40
40
  {props.toolCount != null && (
41
41
  <span class="s-token-usage-stat">
42
- <span class="s-token-usage-icon-tool">⇄</span>
42
+ <ArrowLeftRight size={props.compact ? 9 : 10} class="s-token-usage-arrow" data-direction="tool" />
43
43
  <span class="s-token-usage-val"><HRollingNumber value={props.toolCount} /></span>
44
44
  </span>
45
45
  )}