@upnextapp/plugin-sdk 0.19.0 → 0.21.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.
- package/dist/index.d.ts +3 -1
- package/dist/index.js +2 -1
- package/dist/theme.d.ts +6 -0
- package/dist/theme.js +6 -0
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
export type { ReminderStatus, ScheduledReminder, RecurrenceType, ResponsibilityDef, AppSettings, StoreSchema } from '@upnextapp/core';
|
|
2
|
-
export { validatePluginManifest, pluginManifestSchema, buildSignedPayload, calculateNextTrigger, calculateNextTriggerFromNow, firstSlotForDay, isWithinActiveHours, matchesRecurrenceInterval, shouldTriggerOnDay, isStaleActive, isOccurrenceOverdue, STALE_ACTIVE_THRESHOLD_MS, isTimeOfDayOutsideActiveHours, coarsenIdleTime, IDLE_TIME_BUCKET_SECONDS, formatNextTrigger, versionSatisfies, isNewer, shouldAutoClose } from '@upnextapp/core';
|
|
2
|
+
export { validatePluginManifest, pluginManifestSchema, buildSignedPayload, calculateNextTrigger, calculateNextTriggerFromNow, firstSlotForDay, isWithinActiveHours, matchesRecurrenceInterval, shouldTriggerOnDay, isStaleActive, isOccurrenceOverdue, STALE_ACTIVE_THRESHOLD_MS, isTimeOfDayOutsideActiveHours, coarsenIdleTime, IDLE_TIME_BUCKET_SECONDS, formatNextTrigger, versionSatisfies, isNewer, shouldAutoClose, badgeFor, isEnded, isPastOnce } from '@upnextapp/core';
|
|
3
|
+
export type { ReminderBadge, ReminderBadgeTone } from '@upnextapp/core';
|
|
3
4
|
export type { PluginManifest } from '@upnextapp/core';
|
|
4
5
|
export type { PageRegistration, WindowRegistration, WindowHandle, ReminderTypeRegistration, PluginInfo, DrawerUrgencyLevel } from './plugin-types.js';
|
|
5
6
|
export type { PluginContext } from './plugin-context.js';
|
|
6
7
|
export { sharedTheme } from './theme.js';
|
|
8
|
+
export { BADGE_TONE_CLASSES } from './theme.js';
|
package/dist/index.js
CHANGED
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
export { validatePluginManifest, pluginManifestSchema, buildSignedPayload, calculateNextTrigger, calculateNextTriggerFromNow, firstSlotForDay, isWithinActiveHours, matchesRecurrenceInterval, shouldTriggerOnDay, isStaleActive, isOccurrenceOverdue, STALE_ACTIVE_THRESHOLD_MS, isTimeOfDayOutsideActiveHours, coarsenIdleTime, IDLE_TIME_BUCKET_SECONDS, formatNextTrigger, versionSatisfies, isNewer, shouldAutoClose } from '@upnextapp/core';
|
|
1
|
+
export { validatePluginManifest, pluginManifestSchema, buildSignedPayload, calculateNextTrigger, calculateNextTriggerFromNow, firstSlotForDay, isWithinActiveHours, matchesRecurrenceInterval, shouldTriggerOnDay, isStaleActive, isOccurrenceOverdue, STALE_ACTIVE_THRESHOLD_MS, isTimeOfDayOutsideActiveHours, coarsenIdleTime, IDLE_TIME_BUCKET_SECONDS, formatNextTrigger, versionSatisfies, isNewer, shouldAutoClose, badgeFor, isEnded, isPastOnce } from '@upnextapp/core';
|
|
2
2
|
export { sharedTheme } from './theme.js';
|
|
3
|
+
export { BADGE_TONE_CLASSES } from './theme.js';
|
package/dist/theme.d.ts
CHANGED
|
@@ -9,3 +9,9 @@ export declare const sharedTheme: {
|
|
|
9
9
|
muted: string;
|
|
10
10
|
};
|
|
11
11
|
};
|
|
12
|
+
export declare const BADGE_TONE_CLASSES: {
|
|
13
|
+
readonly active: "text-green-400 bg-green-400/10";
|
|
14
|
+
readonly docked: "text-amber-400 bg-amber-400/10";
|
|
15
|
+
readonly snoozed: "text-blue-400 bg-blue-400/10";
|
|
16
|
+
readonly done: "text-muted bg-white/10";
|
|
17
|
+
};
|
package/dist/theme.js
CHANGED
|
@@ -9,3 +9,9 @@ export const sharedTheme = {
|
|
|
9
9
|
muted: '#6b7280',
|
|
10
10
|
},
|
|
11
11
|
};
|
|
12
|
+
export const BADGE_TONE_CLASSES = {
|
|
13
|
+
active: 'text-green-400 bg-green-400/10',
|
|
14
|
+
docked: 'text-amber-400 bg-amber-400/10',
|
|
15
|
+
snoozed: 'text-blue-400 bg-blue-400/10',
|
|
16
|
+
done: 'text-muted bg-white/10',
|
|
17
|
+
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@upnextapp/plugin-sdk",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.21.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Plugin SDK for building UpNext reminder platform plugins",
|
|
6
6
|
"license": "MIT",
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"zod": "^3.0.0 || ^4.0.0"
|
|
53
53
|
},
|
|
54
54
|
"dependencies": {
|
|
55
|
-
"@upnextapp/core": "0.
|
|
55
|
+
"@upnextapp/core": "0.21.0"
|
|
56
56
|
},
|
|
57
57
|
"devDependencies": {
|
|
58
58
|
"typescript": "^5.9.3",
|