@asanchez-sa/abby 0.1.2 → 0.2.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 (120) hide show
  1. package/README.md +1 -1
  2. package/dist/agents/approvals.d.ts +4 -4
  3. package/dist/agents/changes.d.ts +4 -4
  4. package/dist/agents/hooks.d.ts +3 -3
  5. package/dist/agents/index.d.ts +2 -7
  6. package/dist/agents/index.js +2 -5
  7. package/dist/agents/run-tool.d.ts +2 -2
  8. package/dist/agents/ui-sdk.d.ts +3 -5
  9. package/dist/agents/ui-sdk.js +3 -3
  10. package/dist/behaviors/lists/index.d.ts +2 -3
  11. package/dist/behaviors/lists/index.js +1 -3
  12. package/dist/behaviors/lists/ui-sdk.d.ts +2 -2
  13. package/dist/behaviors/lists/ui-sdk.js +3 -3
  14. package/dist/behaviors/popups/index.d.ts +2 -3
  15. package/dist/behaviors/popups/index.js +1 -3
  16. package/dist/behaviors/popups/ui-sdk.d.ts +2 -2
  17. package/dist/behaviors/popups/ui-sdk.js +3 -3
  18. package/dist/behaviors/preferences/index.d.ts +2 -3
  19. package/dist/behaviors/preferences/index.js +1 -3
  20. package/dist/behaviors/preferences/ui-sdk.d.ts +2 -2
  21. package/dist/behaviors/preferences/ui-sdk.js +3 -3
  22. package/dist/behaviors/transitions/index.d.ts +2 -3
  23. package/dist/behaviors/transitions/index.js +1 -3
  24. package/dist/behaviors/transitions/ui-sdk.d.ts +2 -2
  25. package/dist/behaviors/transitions/ui-sdk.js +3 -3
  26. package/dist/components/alert/alert.d.ts +3 -2
  27. package/dist/components/alert/alert.js +3 -2
  28. package/dist/components/attachment/attachment.d.ts +3 -2
  29. package/dist/components/attachment/attachment.js +3 -2
  30. package/dist/components/badge/badge.d.ts +3 -2
  31. package/dist/components/badge/badge.js +3 -2
  32. package/dist/components/bubble/bubble.d.ts +3 -2
  33. package/dist/components/bubble/bubble.js +3 -2
  34. package/dist/components/button-group/button-group.d.ts +4 -3
  35. package/dist/components/button-group/button-group.js +4 -3
  36. package/dist/components/card/card.d.ts +3 -2
  37. package/dist/components/card/card.js +3 -2
  38. package/dist/components/choice-cards/choice-cards.d.ts +4 -3
  39. package/dist/components/choice-cards/choice-cards.js +4 -3
  40. package/dist/components/command-dock/command-dock.d.ts +4 -4
  41. package/dist/components/command-dock/command-dock.js +9 -9
  42. package/dist/components/empty/empty.d.ts +3 -2
  43. package/dist/components/empty/empty.js +3 -2
  44. package/dist/components/input/input.d.ts +5 -2
  45. package/dist/components/input/input.js +32 -17
  46. package/dist/components/input-group/input-group.d.ts +5 -4
  47. package/dist/components/input-group/input-group.js +5 -4
  48. package/dist/components/item/item.d.ts +3 -2
  49. package/dist/components/item/item.js +3 -2
  50. package/dist/components/link/link.d.ts +3 -2
  51. package/dist/components/link/link.js +4 -4
  52. package/dist/components/marker/marker.d.ts +3 -2
  53. package/dist/components/marker/marker.js +3 -2
  54. package/dist/components/message-scroller/message-scroller.d.ts +7 -6
  55. package/dist/components/message-scroller/message-scroller.js +8 -8
  56. package/dist/components/model-selector/model-selector.js +9 -9
  57. package/dist/components/native-select/native-select.js +4 -4
  58. package/dist/components/note-editor/note-editor.js +5 -5
  59. package/dist/components/otp-input/otp-input.d.ts +8 -2
  60. package/dist/components/otp-input/otp-input.js +35 -20
  61. package/dist/components/questionnaire/questionnaire.d.ts +11 -11
  62. package/dist/components/questionnaire/questionnaire.js +13 -13
  63. package/dist/components/sidebar/sidebar.d.ts +4 -4
  64. package/dist/components/sidebar/sidebar.js +10 -9
  65. package/dist/components/table-of-contents/table-of-contents.d.ts +4 -4
  66. package/dist/components/table-of-contents/table-of-contents.js +5 -5
  67. package/dist/components/team-mark/team-mark.d.ts +26 -0
  68. package/dist/components/team-mark/team-mark.js +101 -0
  69. package/dist/components/toolbar/toolbar.d.ts +3 -2
  70. package/dist/components/toolbar/toolbar.js +7 -5
  71. package/dist/components/week-strip/week-strip.d.ts +7 -7
  72. package/dist/components/week-strip/week-strip.js +32 -31
  73. package/dist/core/index.d.ts +2 -6
  74. package/dist/core/index.js +2 -26
  75. package/dist/core/ui-sdk.d.ts +2 -2
  76. package/dist/core/ui-sdk.js +3 -3
  77. package/dist/tools/observe/index.d.ts +2 -2
  78. package/dist/tools/observe/index.js +1 -3
  79. package/dist/tools/observe/ui-sdk.d.ts +2 -1
  80. package/dist/tools/observe/ui-sdk.js +1 -2
  81. package/dist/tools/testing/check-agent.d.ts +4 -3
  82. package/dist/tools/testing/index.d.ts +2 -3
  83. package/dist/tools/testing/index.js +3 -4
  84. package/dist/tools/testing/ui-sdk.d.ts +2 -1
  85. package/dist/tools/testing/ui-sdk.js +1 -2
  86. package/dist/utilities/color/index.d.ts +2 -2
  87. package/dist/utilities/color/index.js +1 -3
  88. package/dist/utilities/color/ui-sdk.d.ts +2 -1
  89. package/dist/utilities/color/ui-sdk.js +1 -2
  90. package/dist/utilities/date/index.d.ts +2 -2
  91. package/dist/utilities/date/index.js +1 -6
  92. package/dist/utilities/date/ui-sdk.d.ts +2 -1
  93. package/dist/utilities/date/ui-sdk.js +1 -2
  94. package/dist/utilities/image/index.d.ts +2 -2
  95. package/dist/utilities/image/index.js +1 -3
  96. package/dist/utilities/image/ui-sdk.d.ts +2 -1
  97. package/dist/utilities/image/ui-sdk.js +1 -2
  98. package/dist/utilities/number/index.d.ts +2 -2
  99. package/dist/utilities/number/index.js +1 -3
  100. package/dist/utilities/number/ui-sdk.d.ts +2 -1
  101. package/dist/utilities/number/ui-sdk.js +1 -2
  102. package/dist/utilities/platform/index.d.ts +2 -3
  103. package/dist/utilities/platform/index.js +1 -14
  104. package/dist/utilities/platform/ui-sdk.d.ts +2 -2
  105. package/dist/utilities/platform/ui-sdk.js +3 -3
  106. package/dist/utilities/text/index.d.ts +2 -3
  107. package/dist/utilities/text/index.js +1 -3
  108. package/dist/utilities/text/ui-sdk.d.ts +2 -2
  109. package/dist/utilities/text/ui-sdk.js +3 -3
  110. package/package.json +2 -1
  111. package/skills/agent-ready-ui/SKILL.md +1 -1
  112. package/skills/blocks/SKILL.md +1 -1
  113. package/skills/compose-screens/SKILL.md +40 -1
  114. package/skills/note-editor/SKILL.md +1 -1
  115. package/skills/note-status/SKILL.md +1 -1
  116. package/skills/setup/SKILL.md +1 -1
  117. package/skills/theming/SKILL.md +1 -1
  118. package/src/blocks/shell/parts/marks.tsx +18 -4
  119. package/src/blocks/shell/parts/rail.tsx +7 -7
  120. package/dist/_virtual/_rolldown/runtime.js +0 -26
@@ -1,5 +1,5 @@
1
- import { index_d_exports } from "../../core/index.js";
2
- import { ChangeDetails } from "../../core/ui-sdk.js";
1
+ import "../../core/index.js";
2
+ import { ChangeDetails, PartProps } from "../../core/ui-sdk.js";
3
3
  import { ButtonLook } from "../button/button.js";
4
4
  import { DateMatchers } from "../calendar/calendar.js";
5
5
  import { ReactNode } from "react";
@@ -135,7 +135,7 @@ declare function useWeekStrip(): {
135
135
  declare const weekStripLayout = "grid grid-cols-[auto_1fr_auto] items-center gap-y-2 [&>*:not([data-slot=week-strip-previous],[data-slot=week-strip-heading],[data-slot=week-strip-next])]:col-span-full";
136
136
  /** What a strip with no children shows: Previous, the heading, Next and the days, or only the days in scroll mode. */
137
137
  declare function weekStripParts(scroll: boolean): ReactNode;
138
- type WeekStripProps = WeekStripOptions & Omit<index_d_exports.PartProps<"div", WeekStripRootState>, "defaultValue"> & {
138
+ type WeekStripProps = WeekStripOptions & Omit<PartProps<"div", WeekStripRootState>, "defaultValue"> & {
139
139
  /** Names the strip for screen readers and agents. Set it in the page's language. */
140
140
  label?: string;
141
141
  /** How tall the days are. */
@@ -144,8 +144,8 @@ type WeekStripProps = WeekStripOptions & Omit<index_d_exports.PartProps<"div", W
144
144
  /** Without children it renders Previous, the heading, Next and the days; in scroll mode, only the days. */
145
145
  declare function WeekStrip({ value, defaultValue, onValueChange, week, defaultWeek, onWeekChange, scroll, start, length, weekStartsOn, locale, timeZone, today, unavailable, faded, marks, disabled, controller, label, size, className, children, ...props }: WeekStripProps): import("react").JSX.Element | null;
146
146
  /** The month or months shown, like "November 2026". Children replace the text. */
147
- declare function WeekStripHeading({ className, children, ...props }: index_d_exports.PartProps<"h2", WeekStripHeadingState>): import("react").JSX.Element | null;
148
- type WeekStripStepProps = index_d_exports.PartProps<"button", WeekStripStepState> & ButtonLook & {
147
+ declare function WeekStripHeading({ className, children, ...props }: PartProps<"h2", WeekStripHeadingState>): import("react").JSX.Element | null;
148
+ type WeekStripStepProps = PartProps<"button", WeekStripStepState> & ButtonLook & {
149
149
  /** The button's accessible name. Set it in the page's language. */
150
150
  label?: string;
151
151
  };
@@ -154,8 +154,8 @@ declare function WeekStripPrevious({ variant, size, label, className, children,
154
154
  /** A ghost icon button that shows the week after. Its arrow follows the reading direction. */
155
155
  declare function WeekStripNext({ variant, size, label, className, children, ...props }: WeekStripStepProps): import("react").JSX.Element | null;
156
156
  /** The listbox of days. Without children it renders a `WeekStripDay` for each day shown. */
157
- declare function WeekStripDays({ className, children, ...props }: index_d_exports.PartProps<"div", WeekStripDaysState>): import("react").JSX.Element | null;
158
- type WeekStripDayProps = Omit<index_d_exports.PartProps<"div", WeekStripDayState>, "value"> & {
157
+ declare function WeekStripDays({ className, children, ...props }: PartProps<"div", WeekStripDaysState>): import("react").JSX.Element | null;
158
+ type WeekStripDayProps = Omit<PartProps<"div", WeekStripDayState>, "value"> & {
159
159
  /** Its ISO date. */
160
160
  value: string;
161
161
  };
@@ -1,16 +1,17 @@
1
1
  "use client";
2
- import { createChange, createController, definePrimitive } from "../../core/ui-sdk.js";
2
+ import { createChange, createController, definePrimitive, usePart, usePrimitive } from "../../core/ui-sdk.js";
3
3
  import { usePrimitiveState } from "../../core/use-primitive-state.js";
4
4
  import "../../behaviors/focus/index.js";
5
5
  import { createRovingFocus } from "../../behaviors/focus/ui-sdk.js";
6
- import { core_exports } from "../../core/index.js";
6
+ import "../../core/index.js";
7
7
  import { cn, cnState, cva } from "../../utilities/cn/index.js";
8
- import { date_exports } from "../../utilities/date/index.js";
8
+ import "../../utilities/date/index.js";
9
9
  import "../../utilities/platform/index.js";
10
10
  import { createTypeahead, isTypeaheadKey, pageLocale } from "../../utilities/text/ui-sdk.js";
11
11
  import "../../utilities/text/index.js";
12
12
  import { announce } from "../../utilities/platform/ui-sdk.js";
13
13
  import { buttonLook } from "../button/button.js";
14
+ import { addDays, firstDayOfWeek, formatDate, formatDateRange, isISODate, startOfWeek, todayDate, weekday } from "../../utilities/date/ui-sdk.js";
14
15
  import { Icon } from "../icon/icon.js";
15
16
  import { c } from "react/compiler-runtime";
16
17
  import { createContext, use } from "react";
@@ -23,20 +24,20 @@ function matches(date, matchers) {
23
24
  return (Array.isArray(matchers) ? matchers : [matchers]).some((matcher) => {
24
25
  if (typeof matcher === "string") return matcher === date;
25
26
  if (typeof matcher === "function") return matcher(date);
26
- if ("weekday" in matcher) return matcher.weekday.includes((0, date_exports.weekday)(date));
27
+ if ("weekday" in matcher) return matcher.weekday.includes(weekday(date));
27
28
  if ("before" in matcher) return date < matcher.before;
28
29
  if ("after" in matcher) return date > matcher.after;
29
30
  return date >= matcher.from && date <= matcher.to;
30
31
  });
31
32
  }
32
33
  const localeOf = (state) => state.locale ?? void 0;
33
- const weekStartOf = (state) => state.weekStartsOn === "auto" ? (0, date_exports.firstDayOfWeek)(localeOf(state)) : state.weekStartsOn;
34
+ const weekStartOf = (state) => state.weekStartsOn === "auto" ? firstDayOfWeek(localeOf(state)) : state.weekStartsOn;
34
35
  /** The first day shown: the week's first day, or `start` in scroll mode. */
35
- const firstDayOf = (state) => state.scroll ? state.start : (0, date_exports.startOfWeek)(state.week, weekStartOf(state));
36
+ const firstDayOf = (state) => state.scroll ? state.start : startOfWeek(state.week, weekStartOf(state));
36
37
  function daysOf(state) {
37
38
  const first = firstDayOf(state);
38
39
  const length = state.scroll ? Math.max(1, Math.floor(state.length)) : 7;
39
- return Array.from({ length }, (_, index) => (0, date_exports.addDays)(first, index));
40
+ return Array.from({ length }, (_, index) => addDays(first, index));
40
41
  }
41
42
  /** The day that takes the tab stop: the selected one, else today, else the first that can be picked. */
42
43
  function stopOf(state) {
@@ -47,14 +48,14 @@ function stopOf(state) {
47
48
  }
48
49
  function nameOf(state, date, mark) {
49
50
  return [
50
- (0, date_exports.formatDate)(date, localeOf(state)),
51
+ formatDate(date, localeOf(state)),
51
52
  mark?.label,
52
53
  mark?.description
53
54
  ].filter(Boolean).join(", ");
54
55
  }
55
56
  function rangeOf(state) {
56
57
  const days = daysOf(state);
57
- return (0, date_exports.formatDateRange)(days[0], days.at(-1), localeOf(state), {
58
+ return formatDateRange(days[0], days.at(-1), localeOf(state), {
58
59
  day: "numeric",
59
60
  month: "long",
60
61
  year: "numeric"
@@ -62,7 +63,7 @@ function rangeOf(state) {
62
63
  }
63
64
  function monthsOf(state) {
64
65
  const days = daysOf(state);
65
- return (0, date_exports.formatDateRange)(days[0], days.at(-1), localeOf(state), {
66
+ return formatDateRange(days[0], days.at(-1), localeOf(state), {
66
67
  month: "long",
67
68
  year: "numeric"
68
69
  });
@@ -97,7 +98,7 @@ const weekStrip = definePrimitive({
97
98
  },
98
99
  controlled: ["value", "week"],
99
100
  state: (options) => {
100
- const today = options.today ?? (0, date_exports.todayDate)(options.timeZone);
101
+ const today = options.today ?? todayDate(options.timeZone);
101
102
  const value = options.value ?? options.defaultValue ?? null;
102
103
  return {
103
104
  value,
@@ -134,10 +135,10 @@ const weekStrip = definePrimitive({
134
135
  const change = createChange(context);
135
136
  const showWeek = (date, reason, event) => {
136
137
  const state = store.get();
137
- if (state.scroll || state.disabled || !(0, date_exports.isISODate)(date)) return false;
138
+ if (state.scroll || state.disabled || !isISODate(date)) return false;
138
139
  const start = weekStartOf(state);
139
- const week = (0, date_exports.startOfWeek)(date, start);
140
- if (week === (0, date_exports.startOfWeek)(state.week, start)) return true;
140
+ const week = startOfWeek(date, start);
141
+ if (week === startOfWeek(state.week, start)) return true;
141
142
  return change("week", week, {
142
143
  reason,
143
144
  event
@@ -145,7 +146,7 @@ const weekStrip = definePrimitive({
145
146
  };
146
147
  const pickable = (date) => {
147
148
  const state = store.get();
148
- if (state.disabled || !(0, date_exports.isISODate)(date) || matches(date, state.unavailable)) return false;
149
+ if (state.disabled || !isISODate(date) || matches(date, state.unavailable)) return false;
149
150
  return !state.scroll || daysOf(state).includes(date);
150
151
  };
151
152
  const select = (date, reason, event) => {
@@ -158,7 +159,7 @@ const weekStrip = definePrimitive({
158
159
  };
159
160
  const step = (by, reason, event) => {
160
161
  const state = store.get();
161
- const target = (0, date_exports.addDays)(firstDayOf(state), by);
162
+ const target = addDays(firstDayOf(state), by);
162
163
  const pressed = event instanceof Event;
163
164
  const shown = showWeek(target, pressed ? reason : "imperative", pressed ? event : void 0);
164
165
  if (shown && pressed) announce(rangeOf({
@@ -181,12 +182,12 @@ const weekStrip = definePrimitive({
181
182
  const days = daysOf(state);
182
183
  const forward = rtl ? -1 : 1;
183
184
  const target = {
184
- ArrowRight: (0, date_exports.addDays)(from.key, forward),
185
- ArrowLeft: (0, date_exports.addDays)(from.key, -forward),
185
+ ArrowRight: addDays(from.key, forward),
186
+ ArrowLeft: addDays(from.key, -forward),
186
187
  Home: days[0],
187
188
  End: days.at(-1),
188
- PageDown: (0, date_exports.addDays)(from.key, 7),
189
- PageUp: (0, date_exports.addDays)(from.key, -7)
189
+ PageDown: addDays(from.key, 7),
190
+ PageUp: addDays(from.key, -7)
190
191
  }[event.key];
191
192
  if (target === void 0) return void 0;
192
193
  if (days.includes(target)) return target;
@@ -205,7 +206,7 @@ const weekStrip = definePrimitive({
205
206
  if (state.disabled || !isTypeaheadKey(event)) return;
206
207
  if (event.key === " ") event.preventDefault();
207
208
  const items = roving.items();
208
- const labels = items.map((item) => matches(item.key, state.unavailable) ? "" : (0, date_exports.formatDate)(item.key, localeOf(state), { weekday: "long" }));
209
+ const labels = items.map((item) => matches(item.key, state.unavailable) ? "" : formatDate(item.key, localeOf(state), { weekday: "long" }));
209
210
  const index = typeahead(event.key, labels, items.findIndex((item) => item.el === day));
210
211
  if (index !== -1) roving.focus(items[index].key);
211
212
  };
@@ -245,7 +246,7 @@ const weekStrip = definePrimitive({
245
246
  const options = context.options();
246
247
  store.set({
247
248
  ...options.locale === void 0 ? { locale: pageLocale(el) ?? null } : {},
248
- ...options.today === void 0 ? { today: (0, date_exports.todayDate)(options.timeZone) } : {}
249
+ ...options.today === void 0 ? { today: todayDate(options.timeZone) } : {}
249
250
  });
250
251
  }
251
252
  }
@@ -339,8 +340,8 @@ const weekStrip = definePrimitive({
339
340
  return {
340
341
  date: key,
341
342
  name: nameOf(state, key, marks),
342
- weekday: (0, date_exports.formatDate)(key, localeOf(state), { weekday: "short" }),
343
- label: (0, date_exports.formatDate)(key, localeOf(state), { day: "numeric" }),
343
+ weekday: formatDate(key, localeOf(state), { weekday: "short" }),
344
+ label: formatDate(key, localeOf(state), { day: "numeric" }),
344
345
  selected: state.value === key,
345
346
  today: state.today === key,
346
347
  unavailable,
@@ -585,7 +586,7 @@ function WeekStrip(t0) {
585
586
  $[41] = weekStartsOn;
586
587
  $[42] = t3;
587
588
  } else t3 = $[42];
588
- const handle = (0, core_exports.usePrimitive)(weekStrip, t3);
589
+ const handle = usePrimitive(weekStrip, t3);
589
590
  let t4;
590
591
  if ($[43] === Symbol.for("react.memo_cache_sentinel")) {
591
592
  t4 = {};
@@ -626,7 +627,7 @@ function WeekStrip(t0) {
626
627
  $[53] = t7;
627
628
  $[54] = t8;
628
629
  } else t8 = $[54];
629
- return (0, core_exports.usePart)(handle, "root", t4, t8, "div");
630
+ return usePart(handle, "root", t4, t8, "div");
630
631
  }
631
632
  /** The month or months shown, like "November 2026". Children replace the text. */
632
633
  function WeekStripHeading(t0) {
@@ -674,7 +675,7 @@ function WeekStripHeading(t0) {
674
675
  $[11] = t3;
675
676
  $[12] = t4;
676
677
  } else t4 = $[12];
677
- return (0, core_exports.usePart)(weekStrip, "heading", t1, t4, "h2");
678
+ return usePart(weekStrip, "heading", t1, t4, "h2");
678
679
  }
679
680
  /** A ghost icon button that shows the week before. Its arrow follows the reading direction. */
680
681
  function WeekStripPrevious(t0) {
@@ -744,7 +745,7 @@ function WeekStripPrevious(t0) {
744
745
  $[17] = t6;
745
746
  $[18] = t7;
746
747
  } else t7 = $[18];
747
- return (0, core_exports.usePart)(weekStrip, "previous", t4, t7, "button");
748
+ return usePart(weekStrip, "previous", t4, t7, "button");
748
749
  }
749
750
  /** A ghost icon button that shows the week after. Its arrow follows the reading direction. */
750
751
  function WeekStripNext(t0) {
@@ -814,7 +815,7 @@ function WeekStripNext(t0) {
814
815
  $[17] = t6;
815
816
  $[18] = t7;
816
817
  } else t7 = $[18];
817
- return (0, core_exports.usePart)(weekStrip, "next", t4, t7, "button");
818
+ return usePart(weekStrip, "next", t4, t7, "button");
818
819
  }
819
820
  const weekStripDaysVariants = cva("", { variants: { scroll: {
820
821
  false: "grid grid-cols-7 gap-1",
@@ -866,7 +867,7 @@ function WeekStripDays(t0) {
866
867
  $[11] = t3;
867
868
  $[12] = t4;
868
869
  } else t4 = $[12];
869
- return (0, core_exports.usePart)(weekStrip, "days", t1, t4, "div");
870
+ return usePart(weekStrip, "days", t1, t4, "div");
870
871
  }
871
872
  function _temp(day) {
872
873
  return /* @__PURE__ */ jsx(WeekStripDay, { value: day }, day);
@@ -968,7 +969,7 @@ function WeekStripDay(t0) {
968
969
  $[15] = t3;
969
970
  $[16] = t4;
970
971
  } else t4 = $[16];
971
- return (0, core_exports.usePart)(weekStrip, "day", t1, t4, "div");
972
+ return usePart(weekStrip, "day", t1, t4, "div");
972
973
  }
973
974
  function WeekStripDayFace(t0) {
974
975
  const $ = c(13);
@@ -1,7 +1,3 @@
1
- import { ActionDetails, Attrs, ChangeDetails, ChangeOptions, ChangeReason, ChangeSource, CommitDetails, DismissAttemptDetails, DismissAttemptReason, DismissReason, OptionsOf, Part, Primitive, PrimitiveContext, PrimitiveInstance, PrimitiveOptions, PropSchema, PropSpec, PropsOf, ReasonVocabulary, SlotDefinition, SlotFactory, SlotName, StateOf, Store, TypesOf, UndoStackOptions, checkedAttrs, createChange, createCommit, createController, createUndoStack, css, definePrimitive, direct, dispatch, elements, idPart, isDismissal, isFocusFromKeyboard, live, openAttrs, selects, settleDraft, sourceOf } from "./ui-sdk.js";
1
+ import { ActionDetails, Attrs, ChangeDetails, ChangeOptions, ChangeReason, ChangeSource, CommitDetails, DismissAttemptDetails, DismissAttemptReason, DismissReason, GenericPartComponent, OptionsOf, Part, PartComponent, PartProps, Parts, Primitive, PrimitiveContext, PrimitiveHandle, PrimitiveInstance, PrimitiveOptions, PropSchema, PropSpec, PropsOf, ReasonVocabulary, RenderProp, SlotDefinition, SlotFactory, SlotName, StateOf, Store, TypesOf, UndoStackOptions, checkedAttrs, createChange, createCommit, createController, createParts, createUndoStack, css, definePrimitive, direct, dispatch, elements, idPart, isDismissal, isFocusFromKeyboard, live, mergeProps, openAttrs, renderElement, selects, settleDraft, sourceOf, usePart, usePrimitive } from "./ui-sdk.js";
2
2
  import { usePrimitiveState } from "./use-primitive-state.js";
3
- export * from "@ui-sdk/react/primitive";
4
- declare namespace index_d_exports {
5
- export { ActionDetails, Attrs, ChangeDetails, ChangeOptions, ChangeReason, ChangeSource, CommitDetails, DismissAttemptDetails, DismissAttemptReason, DismissReason, OptionsOf, Part, Primitive, PrimitiveContext, PrimitiveInstance, PrimitiveOptions, PropSchema, PropSpec, PropsOf, ReasonVocabulary, SlotDefinition, SlotFactory, SlotName, StateOf, Store, TypesOf, UndoStackOptions, checkedAttrs, createChange, createCommit, createController, createUndoStack, css, definePrimitive, direct, dispatch, elements, idPart, isDismissal, isFocusFromKeyboard, live, openAttrs, selects, settleDraft, sourceOf, usePrimitiveState };
6
- }
7
- export { type ActionDetails, type Attrs, type ChangeDetails, type ChangeOptions, type ChangeReason, type ChangeSource, type CommitDetails, type DismissAttemptDetails, type DismissAttemptReason, type DismissReason, type OptionsOf, type Part, type Primitive, type PrimitiveContext, type PrimitiveInstance, type PrimitiveOptions, type PropSchema, type PropSpec, type PropsOf, type ReasonVocabulary, type SlotDefinition, type SlotFactory, type SlotName, type StateOf, type Store, type TypesOf, type UndoStackOptions, checkedAttrs, createChange, createCommit, createController, createUndoStack, css, definePrimitive, direct, dispatch, elements, idPart, index_d_exports, isDismissal, isFocusFromKeyboard, live, openAttrs, selects, settleDraft, sourceOf, usePrimitiveState };
3
+ export { type ActionDetails, type Attrs, type ChangeDetails, type ChangeOptions, type ChangeReason, type ChangeSource, type CommitDetails, type DismissAttemptDetails, type DismissAttemptReason, type DismissReason, type GenericPartComponent, type OptionsOf, type Part, type PartComponent, type PartProps, type Parts, type Primitive, type PrimitiveContext, type PrimitiveHandle, type PrimitiveInstance, type PrimitiveOptions, type PropSchema, type PropSpec, type PropsOf, type ReasonVocabulary, type RenderProp, type SlotDefinition, type SlotFactory, type SlotName, type StateOf, type Store, type TypesOf, type UndoStackOptions, checkedAttrs, createChange, createCommit, createController, createParts, createUndoStack, css, definePrimitive, direct, dispatch, elements, idPart, isDismissal, isFocusFromKeyboard, live, mergeProps, openAttrs, renderElement, selects, settleDraft, sourceOf, usePart, usePrimitive, usePrimitiveState };
@@ -1,27 +1,3 @@
1
- import { __exportAll } from "../_virtual/_rolldown/runtime.js";
2
- import { checkedAttrs, createChange, createCommit, createController, createUndoStack, css, definePrimitive, direct, dispatch, elements, idPart, isDismissal, isFocusFromKeyboard, live, openAttrs, selects, settleDraft, sourceOf } from "./ui-sdk.js";
1
+ import { checkedAttrs, createChange, createCommit, createController, createParts, createUndoStack, css, definePrimitive, direct, dispatch, elements, idPart, isDismissal, isFocusFromKeyboard, live, mergeProps, openAttrs, renderElement, selects, settleDraft, sourceOf, usePart, usePrimitive } from "./ui-sdk.js";
3
2
  import { usePrimitiveState } from "./use-primitive-state.js";
4
- export * from "@ui-sdk/react/primitive";
5
- // src/core/index.ts
6
- var core_exports = /* @__PURE__ */ __exportAll({
7
- checkedAttrs: () => checkedAttrs,
8
- createChange: () => createChange,
9
- createCommit: () => createCommit,
10
- createController: () => createController,
11
- createUndoStack: () => createUndoStack,
12
- css: () => css,
13
- definePrimitive: () => definePrimitive,
14
- direct: () => direct,
15
- dispatch: () => dispatch,
16
- elements: () => elements,
17
- idPart: () => idPart,
18
- isDismissal: () => isDismissal,
19
- isFocusFromKeyboard: () => isFocusFromKeyboard,
20
- live: () => live,
21
- openAttrs: () => openAttrs,
22
- selects: () => selects,
23
- settleDraft: () => settleDraft,
24
- sourceOf: () => sourceOf,
25
- usePrimitiveState: () => usePrimitiveState
26
- });
27
- export { checkedAttrs, core_exports, createChange, createCommit, createController, createUndoStack, css, definePrimitive, direct, dispatch, elements, idPart, isDismissal, isFocusFromKeyboard, live, openAttrs, selects, settleDraft, sourceOf, usePrimitiveState };
3
+ export { checkedAttrs, createChange, createCommit, createController, createParts, createUndoStack, css, definePrimitive, direct, dispatch, elements, idPart, isDismissal, isFocusFromKeyboard, live, mergeProps, openAttrs, renderElement, selects, settleDraft, sourceOf, usePart, usePrimitive, usePrimitiveState };
@@ -1,3 +1,3 @@
1
1
  import { ActionDetails, Attrs, ChangeDetails, ChangeOptions, ChangeReason, ChangeSource, CommitDetails, DismissAttemptDetails, DismissAttemptReason, DismissReason, OptionsOf, Part, Primitive, PrimitiveContext, PrimitiveInstance, PrimitiveOptions, PropSchema, PropSpec, PropsOf, ReasonVocabulary, SlotDefinition, SlotFactory, SlotName, StateOf, Store, TypesOf, UndoStackOptions, checkedAttrs, createChange, createCommit, createController, createUndoStack, css, definePrimitive, direct, dispatch, elements, idPart, isDismissal, isFocusFromKeyboard, live, openAttrs, selects, settleDraft, sourceOf } from "@ui-sdk/core";
2
- export * from "@ui-sdk/react/primitive";
3
- export { type ActionDetails, type Attrs, type ChangeDetails, type ChangeOptions, type ChangeReason, type ChangeSource, type CommitDetails, type DismissAttemptDetails, type DismissAttemptReason, type DismissReason, type OptionsOf, type Part, type Primitive, type PrimitiveContext, type PrimitiveInstance, type PrimitiveOptions, type PropSchema, type PropSpec, type PropsOf, type ReasonVocabulary, type SlotDefinition, type SlotFactory, type SlotName, type StateOf, type Store, type TypesOf, type UndoStackOptions, checkedAttrs, createChange, createCommit, createController, createUndoStack, css, definePrimitive, direct, dispatch, elements, idPart, isDismissal, isFocusFromKeyboard, live, openAttrs, selects, settleDraft, sourceOf };
2
+ import { GenericPartComponent, PartComponent, PartProps, Parts, PrimitiveHandle, RenderProp, createParts, mergeProps, renderElement, usePart, usePrimitive } from "@ui-sdk/react/primitive";
3
+ export { type ActionDetails, type Attrs, type ChangeDetails, type ChangeOptions, type ChangeReason, type ChangeSource, type CommitDetails, type DismissAttemptDetails, type DismissAttemptReason, type DismissReason, type GenericPartComponent, type OptionsOf, type Part, type PartComponent, type PartProps, type Parts, type Primitive, type PrimitiveContext, type PrimitiveHandle, type PrimitiveInstance, type PrimitiveOptions, type PropSchema, type PropSpec, type PropsOf, type ReasonVocabulary, type RenderProp, type SlotDefinition, type SlotFactory, type SlotName, type StateOf, type Store, type TypesOf, type UndoStackOptions, checkedAttrs, createChange, createCommit, createController, createParts, createUndoStack, css, definePrimitive, direct, dispatch, elements, idPart, isDismissal, isFocusFromKeyboard, live, mergeProps, openAttrs, renderElement, selects, settleDraft, sourceOf, usePart, usePrimitive };
@@ -1,3 +1,3 @@
1
- import "../_virtual/_rolldown/runtime.js";
2
- export { checkedAttrs, createChange, createCommit, createController, createUndoStack, css, definePrimitive, direct, dispatch, elements, idPart, isDismissal, isFocusFromKeyboard, live, openAttrs, selects, settleDraft, sourceOf } from "@ui-sdk/core";
3
- export * from "@ui-sdk/react/primitive";
1
+ import { checkedAttrs, createChange, createCommit, createController, createUndoStack, css, definePrimitive, direct, dispatch, elements, idPart, isDismissal, isFocusFromKeyboard, live, openAttrs, selects, settleDraft, sourceOf } from "@ui-sdk/core";
2
+ import { createParts, mergeProps, renderElement, usePart, usePrimitive } from "@ui-sdk/react/primitive";
3
+ export { checkedAttrs, createChange, createCommit, createController, createParts, createUndoStack, css, definePrimitive, direct, dispatch, elements, idPart, isDismissal, isFocusFromKeyboard, live, mergeProps, openAttrs, renderElement, selects, settleDraft, sourceOf, usePart, usePrimitive };
@@ -1,2 +1,2 @@
1
- import "./ui-sdk.js";
2
- export * from "@ui-sdk/core/observe";
1
+ import { ObservedChange, elementOf, observe, withSource } from "./ui-sdk.js";
2
+ export { type ObservedChange, elementOf, observe, withSource };
@@ -1,3 +1 @@
1
- import "../../_virtual/_rolldown/runtime.js";
2
- import "./ui-sdk.js";
3
- export * from "@ui-sdk/core/observe";
1
+ export { elementOf, observe, withSource } from "./ui-sdk.js";
@@ -1 +1,2 @@
1
- export * from "@ui-sdk/core/observe";
1
+ import { ObservedChange, elementOf, observe, withSource } from "@ui-sdk/core/observe";
2
+ export { type ObservedChange, elementOf, observe, withSource };
@@ -1,2 +1 @@
1
- import "../../_virtual/_rolldown/runtime.js";
2
- export * from "@ui-sdk/core/observe";
1
+ export { elementOf, observe, withSource } from "@ui-sdk/core/observe";
@@ -1,7 +1,8 @@
1
- import { index_d_exports } from "../../agents/index.js";
1
+ import { AgentComponent } from "../../agents/ui-sdk.js";
2
+ import "../../agents/index.js";
2
3
  /** What `checkAgent` reads: the bridge from `createAgent`, or anything with its `snapshot`. */
3
4
  type AgentSnapshot = {
4
- snapshot: () => index_d_exports.AgentComponent[];
5
+ snapshot: () => AgentComponent[];
5
6
  };
6
7
  type CheckAgentOptions = {
7
8
  /** Whether two components may not share a name. True by default. */
@@ -24,5 +25,5 @@ type CheckAgentOptions = {
24
25
  * render(<ProjectSettings />)
25
26
  * const components = checkAgent(agent)
26
27
  */
27
- declare function checkAgent(agent: AgentSnapshot, { unique }?: CheckAgentOptions): index_d_exports.AgentComponent[];
28
+ declare function checkAgent(agent: AgentSnapshot, { unique }?: CheckAgentOptions): AgentComponent[];
28
29
  export { type AgentSnapshot, type CheckAgentOptions, checkAgent };
@@ -1,4 +1,3 @@
1
- import "./ui-sdk.js";
1
+ import { Pattern, checkDirection, checkPattern, checkServer, mount, partAttrs, partPresent, partState, setPlatform } from "./ui-sdk.js";
2
2
  import { AgentSnapshot, CheckAgentOptions, checkAgent } from "./check-agent.js";
3
- export * from "@ui-sdk/core/testing";
4
- export { type AgentSnapshot, type CheckAgentOptions, checkAgent };
3
+ export { type AgentSnapshot, type CheckAgentOptions, type Pattern, checkAgent, checkDirection, checkPattern, checkServer, mount, partAttrs, partPresent, partState, setPlatform };
@@ -1,4 +1,3 @@
1
- import "../../_virtual/_rolldown/runtime.js";
2
- import "./ui-sdk.js";
3
- export { checkAgent } from "./check-agent.js";
4
- export * from "@ui-sdk/core/testing";
1
+ import { checkDirection, checkPattern, checkServer, mount, partAttrs, partPresent, partState, setPlatform } from "./ui-sdk.js";
2
+ import { checkAgent } from "./check-agent.js";
3
+ export { checkAgent, checkDirection, checkPattern, checkServer, mount, partAttrs, partPresent, partState, setPlatform };
@@ -1 +1,2 @@
1
- export * from "@ui-sdk/core/testing";
1
+ import { Pattern, checkDirection, checkPattern, checkServer, mount, partAttrs, partPresent, partState, setPlatform } from "@ui-sdk/core/testing";
2
+ export { type Pattern, checkDirection, checkPattern, checkServer, mount, partAttrs, partPresent, partState, setPlatform };
@@ -1,2 +1 @@
1
- import "../../_virtual/_rolldown/runtime.js";
2
- export * from "@ui-sdk/core/testing";
1
+ export { checkDirection, checkPattern, checkServer, mount, partAttrs, partPresent, partState, setPlatform } from "@ui-sdk/core/testing";
@@ -1,2 +1,2 @@
1
- import "./ui-sdk.js";
2
- export * from "@ui-sdk/core/color";
1
+ import { Color, ColorFormat, ColorFormatOptions, ColorGamut, ColorHueInterpolation, ColorMixOptions, ColorSpace, colorDistance, contrastRatio, convertColor, formatColor, isInGamut, mixColor, parseColor, toGamut } from "./ui-sdk.js";
2
+ export { type Color, type ColorFormat, type ColorFormatOptions, type ColorGamut, type ColorHueInterpolation, type ColorMixOptions, type ColorSpace, colorDistance, contrastRatio, convertColor, formatColor, isInGamut, mixColor, parseColor, toGamut };
@@ -1,3 +1 @@
1
- import "../../_virtual/_rolldown/runtime.js";
2
- import "./ui-sdk.js";
3
- export * from "@ui-sdk/core/color";
1
+ export { colorDistance, contrastRatio, convertColor, formatColor, isInGamut, mixColor, parseColor, toGamut } from "./ui-sdk.js";
@@ -1 +1,2 @@
1
- export * from "@ui-sdk/core/color";
1
+ import { Color, ColorFormat, ColorFormatOptions, ColorGamut, ColorHueInterpolation, ColorMixOptions, ColorSpace, colorDistance, contrastRatio, convertColor, formatColor, isInGamut, mixColor, parseColor, toGamut } from "@ui-sdk/core/color";
2
+ export { type Color, type ColorFormat, type ColorFormatOptions, type ColorGamut, type ColorHueInterpolation, type ColorMixOptions, type ColorSpace, colorDistance, contrastRatio, convertColor, formatColor, isInGamut, mixColor, parseColor, toGamut };
@@ -1,2 +1 @@
1
- import "../../_virtual/_rolldown/runtime.js";
2
- export * from "@ui-sdk/core/color";
1
+ export { colorDistance, contrastRatio, convertColor, formatColor, isInGamut, mixColor, parseColor, toGamut } from "@ui-sdk/core/color";
@@ -1,2 +1,2 @@
1
- import "./ui-sdk.js";
2
- export * from "@ui-sdk/core/date";
1
+ import { DateField, DateParts, DatePattern, ISODate, addDays, addMonths, addYears, clampDate, dateFormatter, dateParts, datePattern, daysBetween, daysInMonth, endOfMonth, endOfWeek, firstDayOfWeek, formatDate, formatDateRange, formatDateToParts, isISODate, isSameMonth, isoDate, monthGrid, monthNames, parseDate, startOfMonth, startOfWeek, toISODate, todayDate, weekday, weekdayNames } from "./ui-sdk.js";
2
+ export { type DateField, type DateParts, type DatePattern, type ISODate, addDays, addMonths, addYears, clampDate, dateFormatter, dateParts, datePattern, daysBetween, daysInMonth, endOfMonth, endOfWeek, firstDayOfWeek, formatDate, formatDateRange, formatDateToParts, isISODate, isSameMonth, isoDate, monthGrid, monthNames, parseDate, startOfMonth, startOfWeek, toISODate, todayDate, weekday, weekdayNames };
@@ -1,6 +1 @@
1
- import { __exportAll } from "../../_virtual/_rolldown/runtime.js";
2
- import "./ui-sdk.js";
3
- export * from "@ui-sdk/core/date";
4
- // src/utilities/date/index.ts
5
- var date_exports = /* @__PURE__ */ __exportAll({});
6
- export { date_exports };
1
+ export { addDays, addMonths, addYears, clampDate, dateFormatter, dateParts, datePattern, daysBetween, daysInMonth, endOfMonth, endOfWeek, firstDayOfWeek, formatDate, formatDateRange, formatDateToParts, isISODate, isSameMonth, isoDate, monthGrid, monthNames, parseDate, startOfMonth, startOfWeek, toISODate, todayDate, weekday, weekdayNames } from "./ui-sdk.js";
@@ -1 +1,2 @@
1
- export * from "@ui-sdk/core/date";
1
+ import { DateField, DateParts, DatePattern, ISODate, addDays, addMonths, addYears, clampDate, dateFormatter, dateParts, datePattern, daysBetween, daysInMonth, endOfMonth, endOfWeek, firstDayOfWeek, formatDate, formatDateRange, formatDateToParts, isISODate, isSameMonth, isoDate, monthGrid, monthNames, parseDate, startOfMonth, startOfWeek, toISODate, todayDate, weekday, weekdayNames } from "@ui-sdk/core/date";
2
+ export { type DateField, type DateParts, type DatePattern, type ISODate, addDays, addMonths, addYears, clampDate, dateFormatter, dateParts, datePattern, daysBetween, daysInMonth, endOfMonth, endOfWeek, firstDayOfWeek, formatDate, formatDateRange, formatDateToParts, isISODate, isSameMonth, isoDate, monthGrid, monthNames, parseDate, startOfMonth, startOfWeek, toISODate, todayDate, weekday, weekdayNames };
@@ -1,2 +1 @@
1
- import "../../_virtual/_rolldown/runtime.js";
2
- export * from "@ui-sdk/core/date";
1
+ export { addDays, addMonths, addYears, clampDate, dateFormatter, dateParts, datePattern, daysBetween, daysInMonth, endOfMonth, endOfWeek, firstDayOfWeek, formatDate, formatDateRange, formatDateToParts, isISODate, isSameMonth, isoDate, monthGrid, monthNames, parseDate, startOfMonth, startOfWeek, toISODate, todayDate, weekday, weekdayNames } from "@ui-sdk/core/date";
@@ -1,2 +1,2 @@
1
- import "./ui-sdk.js";
2
- export * from "@ui-sdk/core/image";
1
+ import { CropImageOptions, ImageCrop, ImageRotation, ImageSource, cropImage } from "./ui-sdk.js";
2
+ export { type CropImageOptions, type ImageCrop, type ImageRotation, type ImageSource, cropImage };
@@ -1,3 +1 @@
1
- import "../../_virtual/_rolldown/runtime.js";
2
- import "./ui-sdk.js";
3
- export * from "@ui-sdk/core/image";
1
+ export { cropImage } from "./ui-sdk.js";
@@ -1 +1,2 @@
1
- export * from "@ui-sdk/core/image";
1
+ import { CropImageOptions, ImageCrop, ImageRotation, ImageSource, cropImage } from "@ui-sdk/core/image";
2
+ export { type CropImageOptions, type ImageCrop, type ImageRotation, type ImageSource, cropImage };
@@ -1,2 +1 @@
1
- import "../../_virtual/_rolldown/runtime.js";
2
- export * from "@ui-sdk/core/image";
1
+ export { cropImage } from "@ui-sdk/core/image";
@@ -1,2 +1,2 @@
1
- import "./ui-sdk.js";
2
- export * from "@ui-sdk/core/number";
1
+ import { NumberFormat, NumberKeyOptions, NumberMove, NumberRange, NumberScale, NumberScrub, NumberSnap, StepRange, clamp, decimalsOf, formatNumber, formatNumberRange, formatNumberToParts, fractionOf, isPartialNumber, maxOnGrid, numberFormatter, parseNumber, roundTo, scrubTo, stepBy, stepFromKey, stepValue, valueAt, wrap } from "./ui-sdk.js";
2
+ export { type NumberFormat, type NumberKeyOptions, type NumberMove, type NumberRange, type NumberScale, type NumberScrub, type NumberSnap, type StepRange, clamp, decimalsOf, formatNumber, formatNumberRange, formatNumberToParts, fractionOf, isPartialNumber, maxOnGrid, numberFormatter, parseNumber, roundTo, scrubTo, stepBy, stepFromKey, stepValue, valueAt, wrap };
@@ -1,3 +1 @@
1
- import "../../_virtual/_rolldown/runtime.js";
2
- import "./ui-sdk.js";
3
- export * from "@ui-sdk/core/number";
1
+ export { clamp, decimalsOf, formatNumber, formatNumberRange, formatNumberToParts, fractionOf, isPartialNumber, maxOnGrid, numberFormatter, parseNumber, roundTo, scrubTo, stepBy, stepFromKey, stepValue, valueAt, wrap } from "./ui-sdk.js";
@@ -1 +1,2 @@
1
- export * from "@ui-sdk/core/number";
1
+ import { NumberFormat, NumberKeyOptions, NumberMove, NumberRange, NumberScale, NumberScrub, NumberSnap, StepRange, clamp, decimalsOf, formatNumber, formatNumberRange, formatNumberToParts, fractionOf, isPartialNumber, maxOnGrid, numberFormatter, parseNumber, roundTo, scrubTo, stepBy, stepFromKey, stepValue, valueAt, wrap } from "@ui-sdk/core/number";
2
+ export { type NumberFormat, type NumberKeyOptions, type NumberMove, type NumberRange, type NumberScale, type NumberScrub, type NumberSnap, type StepRange, clamp, decimalsOf, formatNumber, formatNumberRange, formatNumberToParts, fractionOf, isPartialNumber, maxOnGrid, numberFormatter, parseNumber, roundTo, scrubTo, stepBy, stepFromKey, stepValue, valueAt, wrap };
@@ -1,2 +1 @@
1
- import "../../_virtual/_rolldown/runtime.js";
2
- export * from "@ui-sdk/core/number";
1
+ export { clamp, decimalsOf, formatNumber, formatNumberRange, formatNumberToParts, fractionOf, isPartialNumber, maxOnGrid, numberFormatter, parseNumber, roundTo, scrubTo, stepBy, stepFromKey, stepValue, valueAt, wrap } from "@ui-sdk/core/number";
@@ -1,3 +1,2 @@
1
- import { AnnouncePriority, announce, ariaKeyshortcuts, formatShortcut, isRTL, matchesShortcut, prepareAnnouncements, supportsTopLayer } from "./ui-sdk.js";
2
- export * from "@ui-sdk/react/shortcuts";
3
- export { type AnnouncePriority, announce, ariaKeyshortcuts, formatShortcut, isRTL, matchesShortcut, prepareAnnouncements, supportsTopLayer };
1
+ import { AnnouncePriority, ShortcutHandler, ShortcutInfo, ShortcutKeys, ShortcutOptions, Shortcuts, UseShortcutOptions, announce, ariaKeyshortcuts, formatShortcut, isRTL, matchesShortcut, prepareAnnouncements, registerShortcut, shortcuts, supportsTopLayer, useShortcut, useShortcutHint } from "./ui-sdk.js";
2
+ export { type AnnouncePriority, type ShortcutHandler, type ShortcutInfo, type ShortcutKeys, type ShortcutOptions, type Shortcuts, type UseShortcutOptions, announce, ariaKeyshortcuts, formatShortcut, isRTL, matchesShortcut, prepareAnnouncements, registerShortcut, shortcuts, supportsTopLayer, useShortcut, useShortcutHint };
@@ -1,14 +1 @@
1
- import { __exportAll } from "../../_virtual/_rolldown/runtime.js";
2
- import { announce, ariaKeyshortcuts, formatShortcut, isRTL, matchesShortcut, prepareAnnouncements, supportsTopLayer } from "./ui-sdk.js";
3
- export * from "@ui-sdk/react/shortcuts";
4
- // src/utilities/platform/index.ts
5
- var platform_exports = /* @__PURE__ */ __exportAll({
6
- announce: () => announce,
7
- ariaKeyshortcuts: () => ariaKeyshortcuts,
8
- formatShortcut: () => formatShortcut,
9
- isRTL: () => isRTL,
10
- matchesShortcut: () => matchesShortcut,
11
- prepareAnnouncements: () => prepareAnnouncements,
12
- supportsTopLayer: () => supportsTopLayer
13
- });
14
- export { announce, ariaKeyshortcuts, formatShortcut, isRTL, matchesShortcut, platform_exports, prepareAnnouncements, supportsTopLayer };
1
+ export { announce, ariaKeyshortcuts, formatShortcut, isRTL, matchesShortcut, prepareAnnouncements, registerShortcut, shortcuts, supportsTopLayer, useShortcut, useShortcutHint } from "./ui-sdk.js";
@@ -1,3 +1,3 @@
1
1
  import { AnnouncePriority, announce, ariaKeyshortcuts, formatShortcut, isRTL, matchesShortcut, prepareAnnouncements, supportsTopLayer } from "@ui-sdk/core";
2
- export * from "@ui-sdk/react/shortcuts";
3
- export { type AnnouncePriority, announce, ariaKeyshortcuts, formatShortcut, isRTL, matchesShortcut, prepareAnnouncements, supportsTopLayer };
2
+ import { ShortcutHandler, ShortcutInfo, ShortcutKeys, ShortcutOptions, Shortcuts, UseShortcutOptions, registerShortcut, shortcuts, useShortcut, useShortcutHint } from "@ui-sdk/react/shortcuts";
3
+ export { type AnnouncePriority, type ShortcutHandler, type ShortcutInfo, type ShortcutKeys, type ShortcutOptions, type Shortcuts, type UseShortcutOptions, announce, ariaKeyshortcuts, formatShortcut, isRTL, matchesShortcut, prepareAnnouncements, registerShortcut, shortcuts, supportsTopLayer, useShortcut, useShortcutHint };
@@ -1,3 +1,3 @@
1
- import "../../_virtual/_rolldown/runtime.js";
2
- export { announce, ariaKeyshortcuts, formatShortcut, isRTL, matchesShortcut, prepareAnnouncements, supportsTopLayer } from "@ui-sdk/core";
3
- export * from "@ui-sdk/react/shortcuts";
1
+ import { announce, ariaKeyshortcuts, formatShortcut, isRTL, matchesShortcut, prepareAnnouncements, supportsTopLayer } from "@ui-sdk/core";
2
+ import { registerShortcut, shortcuts, useShortcut, useShortcutHint } from "@ui-sdk/react/shortcuts";
3
+ export { announce, ariaKeyshortcuts, formatShortcut, isRTL, matchesShortcut, prepareAnnouncements, registerShortcut, shortcuts, supportsTopLayer, useShortcut, useShortcutHint };
@@ -1,3 +1,2 @@
1
- import { InputHistoryOptions, createInputHistory, createTypeahead, isComposing, isTypeaheadKey, labelOf, pageLocale, toLocale, userLocale } from "./ui-sdk.js";
2
- export * from "@ui-sdk/core/text-match";
3
- export { type InputHistoryOptions, createInputHistory, createTypeahead, isComposing, isTypeaheadKey, labelOf, pageLocale, toLocale, userLocale };
1
+ import { InputHistoryOptions, MatchRange, MatchSegment, createInputHistory, createTypeahead, fuzzyScore, isComposing, isTypeaheadKey, labelOf, matchRanges, matchSegments, pageLocale, toLocale, userLocale } from "./ui-sdk.js";
2
+ export { type InputHistoryOptions, type MatchRange, type MatchSegment, createInputHistory, createTypeahead, fuzzyScore, isComposing, isTypeaheadKey, labelOf, matchRanges, matchSegments, pageLocale, toLocale, userLocale };
@@ -1,3 +1 @@
1
- import "../../_virtual/_rolldown/runtime.js";
2
- export { createInputHistory, createTypeahead, isComposing, isTypeaheadKey, labelOf, pageLocale, toLocale, userLocale } from "./ui-sdk.js";
3
- export * from "@ui-sdk/core/text-match";
1
+ export { createInputHistory, createTypeahead, fuzzyScore, isComposing, isTypeaheadKey, labelOf, matchRanges, matchSegments, pageLocale, toLocale, userLocale } from "./ui-sdk.js";
@@ -1,3 +1,3 @@
1
1
  import { InputHistoryOptions, createInputHistory, createTypeahead, isComposing, isTypeaheadKey, labelOf, pageLocale, toLocale, userLocale } from "@ui-sdk/core";
2
- export * from "@ui-sdk/core/text-match";
3
- export { type InputHistoryOptions, createInputHistory, createTypeahead, isComposing, isTypeaheadKey, labelOf, pageLocale, toLocale, userLocale };
2
+ import { MatchRange, MatchSegment, fuzzyScore, matchRanges, matchSegments } from "@ui-sdk/core/text-match";
3
+ export { type InputHistoryOptions, type MatchRange, type MatchSegment, createInputHistory, createTypeahead, fuzzyScore, isComposing, isTypeaheadKey, labelOf, matchRanges, matchSegments, pageLocale, toLocale, userLocale };
@@ -1,3 +1,3 @@
1
- import "../../_virtual/_rolldown/runtime.js";
2
- export { createInputHistory, createTypeahead, isComposing, isTypeaheadKey, labelOf, pageLocale, toLocale, userLocale } from "@ui-sdk/core";
3
- export * from "@ui-sdk/core/text-match";
1
+ import { createInputHistory, createTypeahead, isComposing, isTypeaheadKey, labelOf, pageLocale, toLocale, userLocale } from "@ui-sdk/core";
2
+ import { fuzzyScore, matchRanges, matchSegments } from "@ui-sdk/core/text-match";
3
+ export { createInputHistory, createTypeahead, fuzzyScore, isComposing, isTypeaheadKey, labelOf, matchRanges, matchSegments, pageLocale, toLocale, userLocale };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@asanchez-sa/abby",
3
- "version": "0.1.2",
3
+ "version": "0.2.0",
4
4
  "description": "Sistema de diseño para React sobre ui-sdk y Tailwind CSS.",
5
5
  "keywords": [
6
6
  "agents",
@@ -143,6 +143,7 @@
143
143
  "./table": "./dist/components/table/table.js",
144
144
  "./tabs": "./dist/components/tabs/tabs.js",
145
145
  "./task": "./dist/components/task/task.js",
146
+ "./team-mark": "./dist/components/team-mark/team-mark.js",
146
147
  "./terminal": "./dist/components/terminal/terminal.js",
147
148
  "./test-results": "./dist/components/test-results/test-results.js",
148
149
  "./textarea": "./dist/components/textarea/textarea.js",
@@ -11,7 +11,7 @@ metadata:
11
11
  risky steps and the app keeping its rules.
12
12
  type: core
13
13
  library: abby
14
- library_version: 0.1.2
14
+ library_version: 0.2.0
15
15
  requires:
16
16
  - compose-screens
17
17
  sources: