@akira-io/ui 1.2.0 → 1.3.1

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 (34) hide show
  1. package/dist/blocks.js +12 -11
  2. package/dist/blocks.js.map +1 -1
  3. package/dist/{chunk-2HLBBU3O.js → chunk-2V6HUWST.js} +6 -5
  4. package/dist/chunk-2V6HUWST.js.map +1 -0
  5. package/dist/{chunk-UTSTTTH5.js → chunk-3Z2VGVPI.js} +4 -4
  6. package/dist/chunk-3Z2VGVPI.js.map +1 -0
  7. package/dist/{chunk-3HKIYFWI.js → chunk-B3L6PRLX.js} +6 -6
  8. package/dist/{chunk-3HKIYFWI.js.map → chunk-B3L6PRLX.js.map} +1 -1
  9. package/dist/{chunk-DW42Z75X.js → chunk-I6VVCFZ2.js} +12 -12
  10. package/dist/chunk-I6VVCFZ2.js.map +1 -0
  11. package/dist/{chunk-MCMBS2SB.js → chunk-IDNOI4OK.js} +3 -3
  12. package/dist/{chunk-MCMBS2SB.js.map → chunk-IDNOI4OK.js.map} +1 -1
  13. package/dist/{chunk-I5UZAJB4.js → chunk-KHOA4TEI.js} +33 -7
  14. package/dist/chunk-KHOA4TEI.js.map +1 -0
  15. package/dist/{chunk-O5DZTX7D.js → chunk-N2KIFFI7.js} +3 -3
  16. package/dist/{chunk-O5DZTX7D.js.map → chunk-N2KIFFI7.js.map} +1 -1
  17. package/dist/{chunk-SH5QZCOW.js → chunk-SZUXATOF.js} +6 -6
  18. package/dist/{chunk-SH5QZCOW.js.map → chunk-SZUXATOF.js.map} +1 -1
  19. package/dist/{chunk-SBLZ6T3D.js → chunk-YBXRJSR3.js} +3 -3
  20. package/dist/{chunk-SBLZ6T3D.js.map → chunk-YBXRJSR3.js.map} +1 -1
  21. package/dist/code.js +2 -2
  22. package/dist/editor.js +4 -4
  23. package/dist/index.d.ts +1 -1
  24. package/dist/index.js +18 -18
  25. package/dist/index.js.map +1 -1
  26. package/dist/inertia.js +4 -4
  27. package/dist/shells.js +6 -6
  28. package/package.json +1 -1
  29. package/theme.css +9 -3
  30. package/themes/nosferry.css +2 -2
  31. package/dist/chunk-2HLBBU3O.js.map +0 -1
  32. package/dist/chunk-DW42Z75X.js.map +0 -1
  33. package/dist/chunk-I5UZAJB4.js.map +0 -1
  34. package/dist/chunk-UTSTTTH5.js.map +0 -1
package/dist/blocks.js CHANGED
@@ -1,13 +1,13 @@
1
- import { CommandDialog, CommandInput, CommandList, CommandEmpty, CommandGroup, CommandItem, ConfirmDialog, Popover, PopoverTrigger, PopoverContent, FloatingSheet, FloatingSheetBody, FloatingSheetFooter, Tabs, TabsList, TabsTrigger, TabsContent, Textarea, Switch, FieldError, Select, SelectTrigger, SelectValue, SelectContent, SelectItem, InputOTP, InputOTPGroup, InputOTPSlot, Alert, AlertDescription, Calendar } from './chunk-DW42Z75X.js';
2
- import { CopyButton } from './chunk-MCMBS2SB.js';
3
- import { Dialog, DialogContent, DialogHeader, DialogTitle, DialogDescription, DialogFooter, Label } from './chunk-O5DZTX7D.js';
4
- import { Card } from './chunk-2HLBBU3O.js';
1
+ import { CommandDialog, CommandInput, CommandList, CommandEmpty, CommandGroup, CommandItem, ConfirmDialog, Popover, PopoverTrigger, PopoverContent, FloatingSheet, FloatingSheetBody, FloatingSheetFooter, Tabs, TabsList, TabsTrigger, TabsContent, Textarea, Switch, FieldError, Select, SelectTrigger, SelectValue, SelectContent, SelectItem, InputOTP, InputOTPGroup, InputOTPSlot, Alert, AlertDescription, Calendar } from './chunk-I6VVCFZ2.js';
2
+ import { CopyButton } from './chunk-IDNOI4OK.js';
3
+ import { Dialog, DialogContent, DialogHeader, DialogTitle, DialogDescription, DialogFooter, Label } from './chunk-N2KIFFI7.js';
4
+ import { Card } from './chunk-2V6HUWST.js';
5
5
  export { DEFAULT_TOUR_LABELS, TourProvider, resolveSteps, shouldStartTour, stepsForBreakpoint, useTour, useTourController } from './chunk-NGMG2UWX.js';
6
6
  import { useUiLabels, useUiLocale } from './chunk-QNF4LJVT.js';
7
7
  export { UiLocaleProvider, useUiLabels, useUiLocale } from './chunk-QNF4LJVT.js';
8
8
  import { resolveLink } from './chunk-L2H5GIF7.js';
9
- import { Separator, Input } from './chunk-UTSTTTH5.js';
10
- import { Button, cn, elevatedSurface, nestedSurfaceReset, recessedSurface, compactRadius, focusRing, controlRadius, Spinner } from './chunk-I5UZAJB4.js';
9
+ import { Separator, Input } from './chunk-3Z2VGVPI.js';
10
+ import { Button, cn, elevatedSurface, nestedSurfaceReset, compactRadius, recessedSurface, focusRing, controlRadius, Spinner } from './chunk-KHOA4TEI.js';
11
11
  import { createContext, useState, useCallback, useEffect, useContext, useId, useRef } from 'react';
12
12
  import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
13
13
  import { TriangleAlert, CalendarDays, ArrowLeft, ChevronRight, AlertCircle, ShieldOff, EyeOff, Eye, RefreshCw, ChevronLeft, ArrowLeftToLine, X, ArrowRight, ArrowUpRight, ArrowDownRight } from 'lucide-react';
@@ -613,8 +613,9 @@ function DateFilterItem({
613
613
  {
614
614
  type: "button",
615
615
  onClick: onSelect,
616
+ "data-slot": "date-filter-item",
616
617
  className: cn(
617
- "px-4 py-2 text-sm font-medium cursor-pointer text-left transition-colors",
618
+ `mx-1 px-2 py-2 ${compactRadius} text-sm font-medium cursor-pointer text-left transition-colors`,
618
619
  active ? "bg-accent text-accent-foreground" : "text-foreground hover:bg-accent/50"
619
620
  ),
620
621
  children
@@ -622,7 +623,7 @@ function DateFilterItem({
622
623
  );
623
624
  }
624
625
  function DateFilterSeparator() {
625
- return /* @__PURE__ */ jsx("div", { className: "my-2 border-t" });
626
+ return /* @__PURE__ */ jsx("div", { "data-slot": "date-filter-separator", className: "mx-1 my-2 border-t" });
626
627
  }
627
628
  function DateFilterAll({ children }) {
628
629
  const { value, labels, commit } = useDateFilter();
@@ -1170,7 +1171,7 @@ function SettingsCard({
1170
1171
  "data-inset": inset || void 0,
1171
1172
  className: cn(
1172
1173
  elevatedSurface,
1173
- "space-y-5 p-6 bg-card/60 text-card-foreground",
1174
+ "space-y-5 p-6 bg-card text-card-foreground",
1174
1175
  inset && recessedSurface,
1175
1176
  className
1176
1177
  ),
@@ -1214,7 +1215,7 @@ function SettingsPanel({
1214
1215
  "data-inset": inset || void 0,
1215
1216
  className: cn(
1216
1217
  elevatedSurface,
1217
- "space-y-4 p-5 bg-card/60 text-card-foreground",
1218
+ "space-y-4 p-5 bg-card text-card-foreground",
1218
1219
  inset && recessedSurface,
1219
1220
  className
1220
1221
  ),
@@ -1641,7 +1642,7 @@ function StatCard({
1641
1642
  "data-inset": inset || void 0,
1642
1643
  className: cn(
1643
1644
  elevatedSurface,
1644
- "p-6 min-w-0 flex h-full flex-col justify-between bg-card/60 text-card-foreground",
1645
+ "p-6 min-w-0 flex h-full flex-col justify-between bg-card text-card-foreground",
1645
1646
  inset && recessedSurface,
1646
1647
  className
1647
1648
  ),