@asanchez-sa/abby 0.1.3 → 0.3.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.
Files changed (33) hide show
  1. package/README.md +1 -1
  2. package/dist/components/alert/alert.d.ts +1 -1
  3. package/dist/components/alert/alert.js +2 -1
  4. package/dist/components/alert-dialog/alert-dialog.d.ts +10 -1
  5. package/dist/components/alert-dialog/alert-dialog.js +80 -3
  6. package/dist/components/button/button.d.ts +1 -1
  7. package/dist/components/button/button.js +3 -2
  8. package/dist/components/dialog/dialog.d.ts +9 -1
  9. package/dist/components/dialog/dialog.js +82 -3
  10. package/dist/components/field/field.d.ts +5 -1
  11. package/dist/components/field/field.js +25 -21
  12. package/dist/components/input/input.d.ts +12 -2
  13. package/dist/components/input/input.js +33 -18
  14. package/dist/components/meter/meter.d.ts +52 -3
  15. package/dist/components/meter/meter.js +535 -33
  16. package/dist/components/note-editor/parts/suggestions.js +2 -2
  17. package/dist/components/otp-input/otp-input.d.ts +14 -4
  18. package/dist/components/otp-input/otp-input.js +74 -39
  19. package/dist/components/sheet/sheet.js +1 -1
  20. package/dist/components/switch/switch.d.ts +9 -2
  21. package/dist/components/switch/switch.js +23 -17
  22. package/dist/components/team-mark/team-mark.d.ts +26 -0
  23. package/dist/components/team-mark/team-mark.js +101 -0
  24. package/package.json +2 -1
  25. package/skills/agent-ready-ui/SKILL.md +1 -1
  26. package/skills/blocks/SKILL.md +1 -1
  27. package/skills/compose-screens/SKILL.md +89 -5
  28. package/skills/note-editor/SKILL.md +1 -1
  29. package/skills/note-status/SKILL.md +1 -1
  30. package/skills/setup/SKILL.md +1 -1
  31. package/skills/theming/SKILL.md +1 -1
  32. package/src/blocks/shell/parts/marks.tsx +18 -4
  33. package/src/blocks/shell/parts/rail.tsx +7 -7
@@ -19,6 +19,7 @@ import {
19
19
  SidebarMenuButton,
20
20
  SidebarMenuItem,
21
21
  } from "abby/sidebar";
22
+ import { TeamMark } from "abby/team-mark";
22
23
  import type { ShellWorkspace } from "../data.ts";
23
24
  import type { ShellTexts } from "../texts.ts";
24
25
  import { initialsOf, tint } from "./marks.tsx";
@@ -122,13 +123,12 @@ export function Rail({ workspace, texts, page, href }: RailProps) {
122
123
  render={<a href={href("home")} />}
123
124
  data-team=""
124
125
  >
125
- <span
126
- aria-hidden="true"
127
- className="grid size-full place-items-center rounded-lg text-xs font-semibold"
128
- style={tint(team.color, "var(--sidebar)")}
129
- >
130
- {team.initials}
131
- </span>
126
+ <TeamMark
127
+ name={team.name}
128
+ initials={team.initials}
129
+ color={team.color}
130
+ className="size-full [--team-mark-surface:var(--sidebar)]"
131
+ />
132
132
  <span>{team.name}</span>
133
133
  </SidebarMenuButton>
134
134
  </SidebarMenuItem>