@akira-io/ui 1.1.1 → 1.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 (57) hide show
  1. package/dist/blocks.d.ts +6 -6
  2. package/dist/blocks.js +17 -18
  3. package/dist/blocks.js.map +1 -1
  4. package/dist/{chunk-CFDDAFPJ.js → chunk-7LBWPBVE.js} +29 -15
  5. package/dist/chunk-7LBWPBVE.js.map +1 -0
  6. package/dist/{chunk-ODYCBCKS.js → chunk-I5UZAJB4.js} +7 -6
  7. package/dist/chunk-I5UZAJB4.js.map +1 -0
  8. package/dist/{chunk-RPCL7VFQ.js → chunk-IE6VWUSB.js} +9 -5
  9. package/dist/chunk-IE6VWUSB.js.map +1 -0
  10. package/dist/{chunk-2WIIRDHT.js → chunk-MCMBS2SB.js} +4 -4
  11. package/dist/{chunk-2WIIRDHT.js.map → chunk-MCMBS2SB.js.map} +1 -1
  12. package/dist/{chunk-4SOQAVUP.js → chunk-NA33PNQO.js} +46 -28
  13. package/dist/chunk-NA33PNQO.js.map +1 -0
  14. package/dist/{chunk-YOVY3KT6.js → chunk-NGMG2UWX.js} +3 -3
  15. package/dist/{chunk-YOVY3KT6.js.map → chunk-NGMG2UWX.js.map} +1 -1
  16. package/dist/{chunk-T2INZOCM.js → chunk-O5DZTX7D.js} +3 -3
  17. package/dist/{chunk-T2INZOCM.js.map → chunk-O5DZTX7D.js.map} +1 -1
  18. package/dist/{chunk-QHZWW55M.js → chunk-PSJGAZIS.js} +24 -16
  19. package/dist/chunk-PSJGAZIS.js.map +1 -0
  20. package/dist/{chunk-5AJFQ6C4.js → chunk-QNF4LJVT.js} +2 -2
  21. package/dist/chunk-QNF4LJVT.js.map +1 -0
  22. package/dist/{chunk-FWQFB37J.js → chunk-SBLZ6T3D.js} +3 -3
  23. package/dist/{chunk-FWQFB37J.js.map → chunk-SBLZ6T3D.js.map} +1 -1
  24. package/dist/chunk-UTSTTTH5.js +48 -0
  25. package/dist/chunk-UTSTTTH5.js.map +1 -0
  26. package/dist/code.js +3 -3
  27. package/dist/{context-YWbxMH0C.d.ts → context-OwSoVEri.d.ts} +32 -3
  28. package/dist/editor.js +4 -5
  29. package/dist/editor.js.map +1 -1
  30. package/dist/{password-input-DcXX7SG9.d.ts → field-DWm5NXeV.d.ts} +1 -13
  31. package/dist/index.d.ts +15 -23
  32. package/dist/index.js +38 -30
  33. package/dist/index.js.map +1 -1
  34. package/dist/inertia.js +6 -7
  35. package/dist/inertia.js.map +1 -1
  36. package/dist/{button-Bj6My68b.d.ts → input-Dxnsxi-f.d.ts} +4 -1
  37. package/dist/{language-Dgjr9bm3.d.ts → language-Cv_N_53L.d.ts} +5 -2
  38. package/dist/locales/pt.d.ts +5 -5
  39. package/dist/locales/pt.js +7 -1
  40. package/dist/locales/pt.js.map +1 -1
  41. package/dist/shells.d.ts +2 -3
  42. package/dist/shells.js +6 -7
  43. package/dist/shells.js.map +1 -1
  44. package/dist/{sidebar-DqkFRUxQ.d.ts → sidebar-Bp6Q46j-.d.ts} +1 -2
  45. package/package.json +1 -1
  46. package/theme.css +6 -3
  47. package/dist/chunk-4SOQAVUP.js.map +0 -1
  48. package/dist/chunk-5AJFQ6C4.js.map +0 -1
  49. package/dist/chunk-CFDDAFPJ.js.map +0 -1
  50. package/dist/chunk-ODYCBCKS.js.map +0 -1
  51. package/dist/chunk-QHZWW55M.js.map +0 -1
  52. package/dist/chunk-RPCL7VFQ.js.map +0 -1
  53. package/dist/chunk-TGF54WAO.js +0 -29
  54. package/dist/chunk-TGF54WAO.js.map +0 -1
  55. package/dist/chunk-XZCC6MTE.js +0 -26
  56. package/dist/chunk-XZCC6MTE.js.map +0 -1
  57. package/dist/input-Dpi7pXeR.d.ts +0 -6
package/dist/blocks.d.ts CHANGED
@@ -1,19 +1,19 @@
1
- import { D as DateFilterValue, a as DateFilterLabels, b as DateFilterOption, c as DateFilterUnit, C as CopyButtonLabels } from './context-YWbxMH0C.js';
2
- export { d as CommandPalette, e as CommandPaletteGroup, f as CommandPaletteItem, g as CommandPaletteProps, h as DATE_FILTER_LABELS, i as DATE_FILTER_OPERATORS, j as DATE_FILTER_PRESETS, k as DATE_FILTER_UNITS, l as DateFilterMode, m as DateFilterOperator, S as SettingsEntry, n as SettingsEntryProps, o as SettingsGroup, p as SettingsGroupProps, q as SettingsLabels, r as SettingsPage, s as SettingsPageProps, t as SettingsSection, u as SettingsSectionProps, U as UiLabelSections, v as UiLabels, w as UiLocaleProvider, x as settingsLabels, y as useCommandPalette, z as useUiLabels, A as useUiLocale } from './context-YWbxMH0C.js';
1
+ import { D as DateFilterValue, a as DateFilterLabels, b as DateFilterOption, c as DateFilterUnit, C as CopyButtonLabels } from './context-OwSoVEri.js';
2
+ export { d as CommandPalette, e as CommandPaletteGroup, f as CommandPaletteItem, g as CommandPaletteProps, h as DATE_FILTER_LABELS, i as DATE_FILTER_OPERATORS, j as DATE_FILTER_PRESETS, k as DATE_FILTER_UNITS, l as DateFilterMode, m as DateFilterOperator, S as SettingsEntry, n as SettingsEntryProps, o as SettingsGroup, p as SettingsGroupProps, q as SettingsLabels, r as SettingsPage, s as SettingsPageProps, t as SettingsSection, u as SettingsSectionProps, U as UiLabelSections, v as UiLabels, w as UiLocaleProvider, x as settingsLabels, y as useCommandPalette, z as useUiLabels, A as useUiLocale } from './context-OwSoVEri.js';
3
3
  import { F as FormOverlayIntent, a as FormOverlayLabels, T as TwoFactorLabelProps, b as TwoFactorCodeMode, c as TwoFactorQrProps } from './types-B-eGPoFD.js';
4
4
  export { D as DangerZone, d as DangerZoneAction, e as DangerZoneLabels, f as DangerZoneProps, g as FormOverlayActions, h as FormOverlayActionsProps, i as TwoFactorLabels, j as TwoFactorSetupStep, k as dangerZoneLabels, l as formOverlayDefaultLabels, t as twoFactorLabels } from './types-B-eGPoFD.js';
5
5
  import * as React from 'react';
6
6
  import { ReactNode, PropsWithChildren, ReactElement, ComponentProps } from 'react';
7
7
  import { S as SlotNameProps } from './types-cmBL8zOc.js';
8
8
  import { LucideIcon } from 'lucide-react';
9
- import { S as SurfaceProps } from './language-Dgjr9bm3.js';
9
+ import { S as SurfaceProps } from './language-Cv_N_53L.js';
10
10
  import { T as TourStep, a as TourDefinition, b as TourBreakpoint, c as TourProgress, d as TourLabels } from './types-u1qfmJQi.js';
11
11
  export { D as DEFAULT_TOUR_LABELS, e as TourOutcome } from './types-u1qfmJQi.js';
12
- import { B as Button } from './button-Bj6My68b.js';
13
- import './json-viewer-BARA2RCW.js';
12
+ import { B as Button } from './input-Dxnsxi-f.js';
13
+ import 'class-variance-authority/types';
14
14
  import 'class-variance-authority';
15
+ import './json-viewer-BARA2RCW.js';
15
16
  import '@tanstack/react-table';
16
- import 'class-variance-authority/types';
17
17
 
18
18
  type DateFilterPanel = 'root' | 'fixed' | 'relative';
19
19
  interface DateFilterContextValue {
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-CFDDAFPJ.js';
2
- import { CopyButton } from './chunk-2WIIRDHT.js';
3
- import { Dialog, DialogContent, DialogHeader, DialogTitle, DialogDescription, DialogFooter, Label } from './chunk-T2INZOCM.js';
4
- import { Card } from './chunk-RPCL7VFQ.js';
5
- export { DEFAULT_TOUR_LABELS, TourProvider, resolveSteps, shouldStartTour, stepsForBreakpoint, useTour, useTourController } from './chunk-YOVY3KT6.js';
6
- import { useUiLabels, useUiLocale } from './chunk-5AJFQ6C4.js';
7
- export { UiLocaleProvider, useUiLabels, useUiLocale } from './chunk-5AJFQ6C4.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-7LBWPBVE.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-IE6VWUSB.js';
5
+ export { DEFAULT_TOUR_LABELS, TourProvider, resolveSteps, shouldStartTour, stepsForBreakpoint, useTour, useTourController } from './chunk-NGMG2UWX.js';
6
+ import { useUiLabels, useUiLocale } from './chunk-QNF4LJVT.js';
7
+ export { UiLocaleProvider, useUiLabels, useUiLocale } from './chunk-QNF4LJVT.js';
8
8
  import { resolveLink } from './chunk-L2H5GIF7.js';
9
- import { Input } from './chunk-XZCC6MTE.js';
10
- import { Button, cn, elevatedSurface, nestedSurfaceReset, recessedSurface, compactRadius, controlRadius, Spinner } from './chunk-ODYCBCKS.js';
9
+ import { Separator, Input } from './chunk-UTSTTTH5.js';
10
+ import { Button, cn, elevatedSurface, nestedSurfaceReset, compactRadius, recessedSurface, focusRing, controlRadius, Spinner } from './chunk-I5UZAJB4.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();
@@ -894,6 +895,7 @@ function DetailEditSheet({
894
895
  "data-slot": slotName,
895
896
  children: [
896
897
  /* @__PURE__ */ jsx(FloatingSheetBody, { children }),
898
+ /* @__PURE__ */ jsx(Separator, {}),
897
899
  /* @__PURE__ */ jsx(FloatingSheetFooter, { children: /* @__PURE__ */ jsx(
898
900
  FormOverlayActions,
899
901
  {
@@ -1169,7 +1171,7 @@ function SettingsCard({
1169
1171
  "data-inset": inset || void 0,
1170
1172
  className: cn(
1171
1173
  elevatedSurface,
1172
- "space-y-5 p-6 bg-card/60 text-card-foreground",
1174
+ "space-y-5 p-6 bg-card text-card-foreground",
1173
1175
  inset && recessedSurface,
1174
1176
  className
1175
1177
  ),
@@ -1213,7 +1215,7 @@ function SettingsPanel({
1213
1215
  "data-inset": inset || void 0,
1214
1216
  className: cn(
1215
1217
  elevatedSurface,
1216
- "space-y-4 p-5 bg-card/60 text-card-foreground",
1218
+ "space-y-4 p-5 bg-card text-card-foreground",
1217
1219
  inset && recessedSurface,
1218
1220
  className
1219
1221
  ),
@@ -1590,10 +1592,7 @@ function SettingsEntry({
1590
1592
  Link,
1591
1593
  {
1592
1594
  href,
1593
- className: cn(
1594
- compactRadius,
1595
- "outline-none focus-visible:ring-[3px] focus-visible:ring-ring/50"
1596
- ),
1595
+ className: cn(compactRadius, focusRing),
1597
1596
  "data-slot": slotName,
1598
1597
  children: card
1599
1598
  }
@@ -1643,7 +1642,7 @@ function StatCard({
1643
1642
  "data-inset": inset || void 0,
1644
1643
  className: cn(
1645
1644
  elevatedSurface,
1646
- "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",
1647
1646
  inset && recessedSurface,
1648
1647
  className
1649
1648
  ),