@voyantjs/notifications-ui 0.28.3
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/README.md +21 -0
- package/dist/components/notification-settings-form.d.ts +2 -0
- package/dist/components/notification-settings-form.d.ts.map +1 -0
- package/dist/components/notification-settings-form.js +66 -0
- package/dist/components/reminders-preview-list.d.ts +6 -0
- package/dist/components/reminders-preview-list.d.ts.map +1 -0
- package/dist/components/reminders-preview-list.js +19 -0
- package/dist/components/stage-channel-editor-dialog.d.ts +11 -0
- package/dist/components/stage-channel-editor-dialog.d.ts.map +1 -0
- package/dist/components/stage-channel-editor-dialog.js +77 -0
- package/dist/components/stage-channel-list.d.ts +6 -0
- package/dist/components/stage-channel-list.d.ts.map +1 -0
- package/dist/components/stage-channel-list.js +20 -0
- package/dist/components/stage-editor-dialog.d.ts +10 -0
- package/dist/components/stage-editor-dialog.d.ts.map +1 -0
- package/dist/components/stage-editor-dialog.js +104 -0
- package/dist/components/stage-list.d.ts +5 -0
- package/dist/components/stage-list.d.ts.map +1 -0
- package/dist/components/stage-list.js +34 -0
- package/dist/components/template-picker.d.ts +19 -0
- package/dist/components/template-picker.d.ts.map +1 -0
- package/dist/components/template-picker.js +24 -0
- package/dist/components/timezone-combobox.d.ts +9 -0
- package/dist/components/timezone-combobox.d.ts.map +1 -0
- package/dist/components/timezone-combobox.js +65 -0
- package/dist/i18n/en.d.ts +3 -0
- package/dist/i18n/en.d.ts.map +1 -0
- package/dist/i18n/en.js +138 -0
- package/dist/i18n/index.d.ts +5 -0
- package/dist/i18n/index.d.ts.map +1 -0
- package/dist/i18n/index.js +3 -0
- package/dist/i18n/messages.d.ts +139 -0
- package/dist/i18n/messages.d.ts.map +1 -0
- package/dist/i18n/messages.js +1 -0
- package/dist/i18n/provider.d.ts +26 -0
- package/dist/i18n/provider.d.ts.map +1 -0
- package/dist/i18n/provider.js +44 -0
- package/dist/i18n/ro.d.ts +3 -0
- package/dist/i18n/ro.d.ts.map +1 -0
- package/dist/i18n/ro.js +138 -0
- package/dist/index.d.ts +9 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +8 -0
- package/package.json +93 -0
- package/src/styles.css +2 -0
package/dist/i18n/en.js
ADDED
|
@@ -0,0 +1,138 @@
|
|
|
1
|
+
export const notificationsUiEn = {
|
|
2
|
+
common: {
|
|
3
|
+
cancel: "Cancel",
|
|
4
|
+
save: "Save",
|
|
5
|
+
create: "Create",
|
|
6
|
+
edit: "Edit",
|
|
7
|
+
delete: "Delete",
|
|
8
|
+
add: "Add",
|
|
9
|
+
none: "—",
|
|
10
|
+
loading: "Loading…",
|
|
11
|
+
optionalPlaceholder: "Optional",
|
|
12
|
+
},
|
|
13
|
+
stage: {
|
|
14
|
+
listHeading: "Stages",
|
|
15
|
+
listEmpty: "No stages yet. Add one to define when this rule fires.",
|
|
16
|
+
addStage: "Add stage",
|
|
17
|
+
deleteConfirm: "Delete this stage?",
|
|
18
|
+
fields: {
|
|
19
|
+
name: "Name",
|
|
20
|
+
orderIndex: "Order",
|
|
21
|
+
anchor: "Anchor",
|
|
22
|
+
windowStartDays: "Window start (days)",
|
|
23
|
+
windowEndDays: "Window end (days)",
|
|
24
|
+
cadenceKind: "Cadence",
|
|
25
|
+
cadenceEveryDays: "Every N days",
|
|
26
|
+
cadenceIntervals: "Escalation buckets",
|
|
27
|
+
maxSendsInStage: "Max sends in stage",
|
|
28
|
+
respectQuietHours: "Respect quiet hours",
|
|
29
|
+
},
|
|
30
|
+
placeholders: {
|
|
31
|
+
name: "First reminder",
|
|
32
|
+
},
|
|
33
|
+
anchors: {
|
|
34
|
+
due_date: "Due date",
|
|
35
|
+
booking_created_at: "Booking created at",
|
|
36
|
+
departure_date: "Departure date",
|
|
37
|
+
invoice_issued_at: "Invoice issued at",
|
|
38
|
+
last_send_at: "Last send",
|
|
39
|
+
},
|
|
40
|
+
cadences: {
|
|
41
|
+
once: "Once",
|
|
42
|
+
every_n_days: "Every N days",
|
|
43
|
+
escalating: "Escalating buckets",
|
|
44
|
+
},
|
|
45
|
+
intervalRow: {
|
|
46
|
+
whenDaysUntilDueGT: "When days-until-due >",
|
|
47
|
+
whenDaysUntilDueLT: "When days-until-due <",
|
|
48
|
+
repeatEveryDays: "Repeat every (days)",
|
|
49
|
+
addInterval: "Add bucket",
|
|
50
|
+
removeInterval: "Remove",
|
|
51
|
+
},
|
|
52
|
+
titles: {
|
|
53
|
+
create: "Add stage",
|
|
54
|
+
edit: "Edit stage",
|
|
55
|
+
},
|
|
56
|
+
},
|
|
57
|
+
channel: {
|
|
58
|
+
listHeading: "Channels",
|
|
59
|
+
listEmpty: "No channels yet. Add at least one for this stage to deliver.",
|
|
60
|
+
addChannel: "Add channel",
|
|
61
|
+
deleteConfirm: "Delete this channel?",
|
|
62
|
+
fields: {
|
|
63
|
+
orderIndex: "Order",
|
|
64
|
+
channel: "Channel",
|
|
65
|
+
provider: "Provider",
|
|
66
|
+
template: "Template",
|
|
67
|
+
recipientKind: "Recipient",
|
|
68
|
+
},
|
|
69
|
+
channels: {
|
|
70
|
+
email: "Email",
|
|
71
|
+
sms: "SMS",
|
|
72
|
+
},
|
|
73
|
+
recipientKinds: {
|
|
74
|
+
primary: "Primary",
|
|
75
|
+
cc: "CC",
|
|
76
|
+
bcc: "BCC",
|
|
77
|
+
},
|
|
78
|
+
providers: {
|
|
79
|
+
automatic: "Automatic",
|
|
80
|
+
resend: "Resend (email)",
|
|
81
|
+
twilio: "Twilio (SMS)",
|
|
82
|
+
},
|
|
83
|
+
titles: {
|
|
84
|
+
create: "Add channel",
|
|
85
|
+
edit: "Edit channel",
|
|
86
|
+
},
|
|
87
|
+
placeholders: {
|
|
88
|
+
template: "Search templates…",
|
|
89
|
+
},
|
|
90
|
+
},
|
|
91
|
+
settings: {
|
|
92
|
+
heading: "Notification settings",
|
|
93
|
+
description: "Tenant-wide defaults for quiet hours, blackouts, and per-recipient rate limits.",
|
|
94
|
+
sections: {
|
|
95
|
+
quietHours: "Quiet hours",
|
|
96
|
+
quietHoursDesc: "When reminders are eligible to send, in the recipient's timezone.",
|
|
97
|
+
blackouts: "Blackout dates",
|
|
98
|
+
blackoutsDesc: "Specific dates to skip entirely (holidays, company closures).",
|
|
99
|
+
rateLimits: "Rate limits & dedup",
|
|
100
|
+
rateLimitsDesc: "Caps that apply across all rules to protect recipients from spam.",
|
|
101
|
+
},
|
|
102
|
+
fields: {
|
|
103
|
+
quietHoursStart: "Start",
|
|
104
|
+
quietHoursEnd: "End",
|
|
105
|
+
quietHoursTz: "Timezone",
|
|
106
|
+
blackoutDates: "Blackout dates",
|
|
107
|
+
skipWeekends: "Skip weekends",
|
|
108
|
+
skipWeekendsDesc: "Defer reminders that would land on Saturday or Sunday.",
|
|
109
|
+
recipientRateLimitPerDay: "Per-recipient daily cap",
|
|
110
|
+
suppressionWindowHours: "Suppression window (hours)",
|
|
111
|
+
},
|
|
112
|
+
placeholders: {
|
|
113
|
+
tz: "Search timezones…",
|
|
114
|
+
noBlackouts: "No blackout dates yet.",
|
|
115
|
+
},
|
|
116
|
+
helpers: {
|
|
117
|
+
blackoutDates: "Add a date for each calendar day to skip.",
|
|
118
|
+
recipientRateLimitPerDay: "Maximum sent reminders per recipient per channel per 24h. Leave blank for no limit.",
|
|
119
|
+
suppressionWindowHours: "Window for suppression group dedup across rules sharing a tag.",
|
|
120
|
+
},
|
|
121
|
+
actions: {
|
|
122
|
+
addBlackoutDate: "Add date",
|
|
123
|
+
removeBlackoutDate: "Remove",
|
|
124
|
+
},
|
|
125
|
+
},
|
|
126
|
+
preview: {
|
|
127
|
+
dateLabel: "Date",
|
|
128
|
+
empty: "Nothing would fire on this date.",
|
|
129
|
+
columns: {
|
|
130
|
+
rule: "Rule",
|
|
131
|
+
stage: "Stage",
|
|
132
|
+
target: "Target",
|
|
133
|
+
anchor: "Anchor",
|
|
134
|
+
scheduledAt: "Scheduled at",
|
|
135
|
+
reasoning: "Reasoning",
|
|
136
|
+
},
|
|
137
|
+
},
|
|
138
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { notificationsUiEn } from "./en.js";
|
|
2
|
+
export type { NotificationsUiMessages } from "./messages.js";
|
|
3
|
+
export { getNotificationsUiI18n, type NotificationsUiMessageOverrides, NotificationsUiMessagesProvider, notificationsUiMessageDefinitions, resolveNotificationsUiMessages, useNotificationsUiI18n, useNotificationsUiI18nOrDefault, useNotificationsUiMessages, useNotificationsUiMessagesOrDefault, } from "./provider.js";
|
|
4
|
+
export { notificationsUiRo } from "./ro.js";
|
|
5
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/i18n/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAA;AAC3C,YAAY,EAAE,uBAAuB,EAAE,MAAM,eAAe,CAAA;AAC5D,OAAO,EACL,sBAAsB,EACtB,KAAK,+BAA+B,EACpC,+BAA+B,EAC/B,iCAAiC,EACjC,8BAA8B,EAC9B,sBAAsB,EACtB,+BAA+B,EAC/B,0BAA0B,EAC1B,mCAAmC,GACpC,MAAM,eAAe,CAAA;AACtB,OAAO,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAA"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export { notificationsUiEn } from "./en.js";
|
|
2
|
+
export { getNotificationsUiI18n, NotificationsUiMessagesProvider, notificationsUiMessageDefinitions, resolveNotificationsUiMessages, useNotificationsUiI18n, useNotificationsUiI18nOrDefault, useNotificationsUiMessages, useNotificationsUiMessagesOrDefault, } from "./provider.js";
|
|
3
|
+
export { notificationsUiRo } from "./ro.js";
|
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
export type NotificationsUiMessages = {
|
|
2
|
+
common: {
|
|
3
|
+
cancel: string;
|
|
4
|
+
save: string;
|
|
5
|
+
create: string;
|
|
6
|
+
edit: string;
|
|
7
|
+
delete: string;
|
|
8
|
+
add: string;
|
|
9
|
+
none: string;
|
|
10
|
+
loading: string;
|
|
11
|
+
optionalPlaceholder: string;
|
|
12
|
+
};
|
|
13
|
+
stage: {
|
|
14
|
+
listHeading: string;
|
|
15
|
+
listEmpty: string;
|
|
16
|
+
addStage: string;
|
|
17
|
+
deleteConfirm: string;
|
|
18
|
+
fields: {
|
|
19
|
+
name: string;
|
|
20
|
+
orderIndex: string;
|
|
21
|
+
anchor: string;
|
|
22
|
+
windowStartDays: string;
|
|
23
|
+
windowEndDays: string;
|
|
24
|
+
cadenceKind: string;
|
|
25
|
+
cadenceEveryDays: string;
|
|
26
|
+
cadenceIntervals: string;
|
|
27
|
+
maxSendsInStage: string;
|
|
28
|
+
respectQuietHours: string;
|
|
29
|
+
};
|
|
30
|
+
placeholders: {
|
|
31
|
+
name: string;
|
|
32
|
+
};
|
|
33
|
+
anchors: {
|
|
34
|
+
due_date: string;
|
|
35
|
+
booking_created_at: string;
|
|
36
|
+
departure_date: string;
|
|
37
|
+
invoice_issued_at: string;
|
|
38
|
+
last_send_at: string;
|
|
39
|
+
};
|
|
40
|
+
cadences: {
|
|
41
|
+
once: string;
|
|
42
|
+
every_n_days: string;
|
|
43
|
+
escalating: string;
|
|
44
|
+
};
|
|
45
|
+
intervalRow: {
|
|
46
|
+
whenDaysUntilDueGT: string;
|
|
47
|
+
whenDaysUntilDueLT: string;
|
|
48
|
+
repeatEveryDays: string;
|
|
49
|
+
addInterval: string;
|
|
50
|
+
removeInterval: string;
|
|
51
|
+
};
|
|
52
|
+
titles: {
|
|
53
|
+
create: string;
|
|
54
|
+
edit: string;
|
|
55
|
+
};
|
|
56
|
+
};
|
|
57
|
+
channel: {
|
|
58
|
+
listHeading: string;
|
|
59
|
+
listEmpty: string;
|
|
60
|
+
addChannel: string;
|
|
61
|
+
deleteConfirm: string;
|
|
62
|
+
fields: {
|
|
63
|
+
orderIndex: string;
|
|
64
|
+
channel: string;
|
|
65
|
+
provider: string;
|
|
66
|
+
template: string;
|
|
67
|
+
recipientKind: string;
|
|
68
|
+
};
|
|
69
|
+
channels: {
|
|
70
|
+
email: string;
|
|
71
|
+
sms: string;
|
|
72
|
+
};
|
|
73
|
+
recipientKinds: {
|
|
74
|
+
primary: string;
|
|
75
|
+
cc: string;
|
|
76
|
+
bcc: string;
|
|
77
|
+
};
|
|
78
|
+
providers: {
|
|
79
|
+
automatic: string;
|
|
80
|
+
resend: string;
|
|
81
|
+
twilio: string;
|
|
82
|
+
};
|
|
83
|
+
titles: {
|
|
84
|
+
create: string;
|
|
85
|
+
edit: string;
|
|
86
|
+
};
|
|
87
|
+
placeholders: {
|
|
88
|
+
template: string;
|
|
89
|
+
};
|
|
90
|
+
};
|
|
91
|
+
settings: {
|
|
92
|
+
heading: string;
|
|
93
|
+
description: string;
|
|
94
|
+
sections: {
|
|
95
|
+
quietHours: string;
|
|
96
|
+
quietHoursDesc: string;
|
|
97
|
+
blackouts: string;
|
|
98
|
+
blackoutsDesc: string;
|
|
99
|
+
rateLimits: string;
|
|
100
|
+
rateLimitsDesc: string;
|
|
101
|
+
};
|
|
102
|
+
fields: {
|
|
103
|
+
quietHoursStart: string;
|
|
104
|
+
quietHoursEnd: string;
|
|
105
|
+
quietHoursTz: string;
|
|
106
|
+
blackoutDates: string;
|
|
107
|
+
skipWeekends: string;
|
|
108
|
+
skipWeekendsDesc: string;
|
|
109
|
+
recipientRateLimitPerDay: string;
|
|
110
|
+
suppressionWindowHours: string;
|
|
111
|
+
};
|
|
112
|
+
placeholders: {
|
|
113
|
+
tz: string;
|
|
114
|
+
noBlackouts: string;
|
|
115
|
+
};
|
|
116
|
+
helpers: {
|
|
117
|
+
blackoutDates: string;
|
|
118
|
+
recipientRateLimitPerDay: string;
|
|
119
|
+
suppressionWindowHours: string;
|
|
120
|
+
};
|
|
121
|
+
actions: {
|
|
122
|
+
addBlackoutDate: string;
|
|
123
|
+
removeBlackoutDate: string;
|
|
124
|
+
};
|
|
125
|
+
};
|
|
126
|
+
preview: {
|
|
127
|
+
dateLabel: string;
|
|
128
|
+
empty: string;
|
|
129
|
+
columns: {
|
|
130
|
+
rule: string;
|
|
131
|
+
stage: string;
|
|
132
|
+
target: string;
|
|
133
|
+
anchor: string;
|
|
134
|
+
scheduledAt: string;
|
|
135
|
+
reasoning: string;
|
|
136
|
+
};
|
|
137
|
+
};
|
|
138
|
+
};
|
|
139
|
+
//# sourceMappingURL=messages.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"messages.d.ts","sourceRoot":"","sources":["../../src/i18n/messages.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,uBAAuB,GAAG;IACpC,MAAM,EAAE;QACN,MAAM,EAAE,MAAM,CAAA;QACd,IAAI,EAAE,MAAM,CAAA;QACZ,MAAM,EAAE,MAAM,CAAA;QACd,IAAI,EAAE,MAAM,CAAA;QACZ,MAAM,EAAE,MAAM,CAAA;QACd,GAAG,EAAE,MAAM,CAAA;QACX,IAAI,EAAE,MAAM,CAAA;QACZ,OAAO,EAAE,MAAM,CAAA;QACf,mBAAmB,EAAE,MAAM,CAAA;KAC5B,CAAA;IACD,KAAK,EAAE;QACL,WAAW,EAAE,MAAM,CAAA;QACnB,SAAS,EAAE,MAAM,CAAA;QACjB,QAAQ,EAAE,MAAM,CAAA;QAChB,aAAa,EAAE,MAAM,CAAA;QACrB,MAAM,EAAE;YACN,IAAI,EAAE,MAAM,CAAA;YACZ,UAAU,EAAE,MAAM,CAAA;YAClB,MAAM,EAAE,MAAM,CAAA;YACd,eAAe,EAAE,MAAM,CAAA;YACvB,aAAa,EAAE,MAAM,CAAA;YACrB,WAAW,EAAE,MAAM,CAAA;YACnB,gBAAgB,EAAE,MAAM,CAAA;YACxB,gBAAgB,EAAE,MAAM,CAAA;YACxB,eAAe,EAAE,MAAM,CAAA;YACvB,iBAAiB,EAAE,MAAM,CAAA;SAC1B,CAAA;QACD,YAAY,EAAE;YACZ,IAAI,EAAE,MAAM,CAAA;SACb,CAAA;QACD,OAAO,EAAE;YACP,QAAQ,EAAE,MAAM,CAAA;YAChB,kBAAkB,EAAE,MAAM,CAAA;YAC1B,cAAc,EAAE,MAAM,CAAA;YACtB,iBAAiB,EAAE,MAAM,CAAA;YACzB,YAAY,EAAE,MAAM,CAAA;SACrB,CAAA;QACD,QAAQ,EAAE;YACR,IAAI,EAAE,MAAM,CAAA;YACZ,YAAY,EAAE,MAAM,CAAA;YACpB,UAAU,EAAE,MAAM,CAAA;SACnB,CAAA;QACD,WAAW,EAAE;YACX,kBAAkB,EAAE,MAAM,CAAA;YAC1B,kBAAkB,EAAE,MAAM,CAAA;YAC1B,eAAe,EAAE,MAAM,CAAA;YACvB,WAAW,EAAE,MAAM,CAAA;YACnB,cAAc,EAAE,MAAM,CAAA;SACvB,CAAA;QACD,MAAM,EAAE;YACN,MAAM,EAAE,MAAM,CAAA;YACd,IAAI,EAAE,MAAM,CAAA;SACb,CAAA;KACF,CAAA;IACD,OAAO,EAAE;QACP,WAAW,EAAE,MAAM,CAAA;QACnB,SAAS,EAAE,MAAM,CAAA;QACjB,UAAU,EAAE,MAAM,CAAA;QAClB,aAAa,EAAE,MAAM,CAAA;QACrB,MAAM,EAAE;YACN,UAAU,EAAE,MAAM,CAAA;YAClB,OAAO,EAAE,MAAM,CAAA;YACf,QAAQ,EAAE,MAAM,CAAA;YAChB,QAAQ,EAAE,MAAM,CAAA;YAChB,aAAa,EAAE,MAAM,CAAA;SACtB,CAAA;QACD,QAAQ,EAAE;YACR,KAAK,EAAE,MAAM,CAAA;YACb,GAAG,EAAE,MAAM,CAAA;SACZ,CAAA;QACD,cAAc,EAAE;YACd,OAAO,EAAE,MAAM,CAAA;YACf,EAAE,EAAE,MAAM,CAAA;YACV,GAAG,EAAE,MAAM,CAAA;SACZ,CAAA;QACD,SAAS,EAAE;YACT,SAAS,EAAE,MAAM,CAAA;YACjB,MAAM,EAAE,MAAM,CAAA;YACd,MAAM,EAAE,MAAM,CAAA;SACf,CAAA;QACD,MAAM,EAAE;YACN,MAAM,EAAE,MAAM,CAAA;YACd,IAAI,EAAE,MAAM,CAAA;SACb,CAAA;QACD,YAAY,EAAE;YACZ,QAAQ,EAAE,MAAM,CAAA;SACjB,CAAA;KACF,CAAA;IACD,QAAQ,EAAE;QACR,OAAO,EAAE,MAAM,CAAA;QACf,WAAW,EAAE,MAAM,CAAA;QACnB,QAAQ,EAAE;YACR,UAAU,EAAE,MAAM,CAAA;YAClB,cAAc,EAAE,MAAM,CAAA;YACtB,SAAS,EAAE,MAAM,CAAA;YACjB,aAAa,EAAE,MAAM,CAAA;YACrB,UAAU,EAAE,MAAM,CAAA;YAClB,cAAc,EAAE,MAAM,CAAA;SACvB,CAAA;QACD,MAAM,EAAE;YACN,eAAe,EAAE,MAAM,CAAA;YACvB,aAAa,EAAE,MAAM,CAAA;YACrB,YAAY,EAAE,MAAM,CAAA;YACpB,aAAa,EAAE,MAAM,CAAA;YACrB,YAAY,EAAE,MAAM,CAAA;YACpB,gBAAgB,EAAE,MAAM,CAAA;YACxB,wBAAwB,EAAE,MAAM,CAAA;YAChC,sBAAsB,EAAE,MAAM,CAAA;SAC/B,CAAA;QACD,YAAY,EAAE;YACZ,EAAE,EAAE,MAAM,CAAA;YACV,WAAW,EAAE,MAAM,CAAA;SACpB,CAAA;QACD,OAAO,EAAE;YACP,aAAa,EAAE,MAAM,CAAA;YACrB,wBAAwB,EAAE,MAAM,CAAA;YAChC,sBAAsB,EAAE,MAAM,CAAA;SAC/B,CAAA;QACD,OAAO,EAAE;YACP,eAAe,EAAE,MAAM,CAAA;YACvB,kBAAkB,EAAE,MAAM,CAAA;SAC3B,CAAA;KACF,CAAA;IACD,OAAO,EAAE;QACP,SAAS,EAAE,MAAM,CAAA;QACjB,KAAK,EAAE,MAAM,CAAA;QACb,OAAO,EAAE;YACP,IAAI,EAAE,MAAM,CAAA;YACZ,KAAK,EAAE,MAAM,CAAA;YACb,MAAM,EAAE,MAAM,CAAA;YACd,MAAM,EAAE,MAAM,CAAA;YACd,WAAW,EAAE,MAAM,CAAA;YACnB,SAAS,EAAE,MAAM,CAAA;SAClB,CAAA;KACF,CAAA;CACF,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { type LocaleMessageOverrides, type PackageI18nValue } from "@voyantjs/i18n";
|
|
2
|
+
import type { ReactNode } from "react";
|
|
3
|
+
import type { NotificationsUiMessages } from "./messages.js";
|
|
4
|
+
export declare const notificationsUiMessageDefinitions: {
|
|
5
|
+
en: NotificationsUiMessages;
|
|
6
|
+
ro: NotificationsUiMessages;
|
|
7
|
+
};
|
|
8
|
+
export type NotificationsUiMessageOverrides = LocaleMessageOverrides<NotificationsUiMessages>;
|
|
9
|
+
export declare function resolveNotificationsUiMessages({ locale, overrides, }: {
|
|
10
|
+
locale: string | null | undefined;
|
|
11
|
+
overrides?: NotificationsUiMessageOverrides | null;
|
|
12
|
+
}): NotificationsUiMessages;
|
|
13
|
+
export declare function getNotificationsUiI18n({ locale, overrides, }: {
|
|
14
|
+
locale?: string | null | undefined;
|
|
15
|
+
overrides?: NotificationsUiMessageOverrides | null;
|
|
16
|
+
}): PackageI18nValue<NotificationsUiMessages>;
|
|
17
|
+
export declare function NotificationsUiMessagesProvider({ children, locale, overrides, }: {
|
|
18
|
+
children: ReactNode;
|
|
19
|
+
locale: string | null | undefined;
|
|
20
|
+
overrides?: NotificationsUiMessageOverrides | null;
|
|
21
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
22
|
+
export declare const useNotificationsUiI18n: () => PackageI18nValue<NotificationsUiMessages>;
|
|
23
|
+
export declare const useNotificationsUiMessages: () => NotificationsUiMessages;
|
|
24
|
+
export declare function useNotificationsUiI18nOrDefault(): PackageI18nValue<NotificationsUiMessages>;
|
|
25
|
+
export declare function useNotificationsUiMessagesOrDefault(): NotificationsUiMessages;
|
|
26
|
+
//# sourceMappingURL=provider.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"provider.d.ts","sourceRoot":"","sources":["../../src/i18n/provider.tsx"],"names":[],"mappings":"AAEA,OAAO,EAIL,KAAK,sBAAsB,EAC3B,KAAK,gBAAgB,EAEtB,MAAM,gBAAgB,CAAA;AACvB,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAGtC,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,eAAe,CAAA;AAK5D,eAAO,MAAM,iCAAiC;;;CAGe,CAAA;AAE7D,MAAM,MAAM,+BAA+B,GAAG,sBAAsB,CAAC,uBAAuB,CAAC,CAAA;AAU7F,wBAAgB,8BAA8B,CAAC,EAC7C,MAAM,EACN,SAAS,GACV,EAAE;IACD,MAAM,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAA;IACjC,SAAS,CAAC,EAAE,+BAA+B,GAAG,IAAI,CAAA;CACnD,2BAOA;AAED,wBAAgB,sBAAsB,CAAC,EACrC,MAAM,EACN,SAAS,GACV,EAAE;IACD,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAA;IAClC,SAAS,CAAC,EAAE,+BAA+B,GAAG,IAAI,CAAA;CACnD,GAAG,gBAAgB,CAAC,uBAAuB,CAAC,CAS5C;AAED,wBAAgB,+BAA+B,CAAC,EAC9C,QAAQ,EACR,MAAM,EACN,SAAS,GACV,EAAE;IACD,QAAQ,EAAE,SAAS,CAAA;IACnB,MAAM,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAA;IACjC,SAAS,CAAC,EAAE,+BAA+B,GAAG,IAAI,CAAA;CACnD,2CAWA;AAED,eAAO,MAAM,sBAAsB,iDAAiC,CAAA;AACpE,eAAO,MAAM,0BAA0B,+BAAqC,CAAA;AAE5E,wBAAgB,+BAA+B,8CAE9C;AAED,wBAAgB,mCAAmC,4BAElD"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
3
|
+
import { createLocaleFormatters, createPackageMessagesContext, resolvePackageMessages, } from "@voyantjs/i18n";
|
|
4
|
+
import { notificationsUiEn } from "./en.js";
|
|
5
|
+
import { notificationsUiRo } from "./ro.js";
|
|
6
|
+
const fallbackLocale = "en";
|
|
7
|
+
export const notificationsUiMessageDefinitions = {
|
|
8
|
+
en: notificationsUiEn,
|
|
9
|
+
ro: notificationsUiRo,
|
|
10
|
+
};
|
|
11
|
+
const notificationsUiContext = createPackageMessagesContext("NotificationsUiMessages");
|
|
12
|
+
const defaultNotificationsUiI18n = {
|
|
13
|
+
messages: notificationsUiEn,
|
|
14
|
+
...createLocaleFormatters(fallbackLocale),
|
|
15
|
+
};
|
|
16
|
+
export function resolveNotificationsUiMessages({ locale, overrides, }) {
|
|
17
|
+
return resolvePackageMessages({
|
|
18
|
+
definitions: notificationsUiMessageDefinitions,
|
|
19
|
+
fallbackLocale,
|
|
20
|
+
locale,
|
|
21
|
+
overrides,
|
|
22
|
+
});
|
|
23
|
+
}
|
|
24
|
+
export function getNotificationsUiI18n({ locale, overrides, }) {
|
|
25
|
+
const resolvedLocale = locale ?? fallbackLocale;
|
|
26
|
+
return {
|
|
27
|
+
messages: resolveNotificationsUiMessages({
|
|
28
|
+
locale: resolvedLocale,
|
|
29
|
+
overrides,
|
|
30
|
+
}),
|
|
31
|
+
...createLocaleFormatters(resolvedLocale),
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
export function NotificationsUiMessagesProvider({ children, locale, overrides, }) {
|
|
35
|
+
return (_jsx(notificationsUiContext.ResolvedMessagesProvider, { definitions: notificationsUiMessageDefinitions, fallbackLocale: fallbackLocale, locale: locale, overrides: overrides, children: children }));
|
|
36
|
+
}
|
|
37
|
+
export const useNotificationsUiI18n = notificationsUiContext.useI18n;
|
|
38
|
+
export const useNotificationsUiMessages = notificationsUiContext.useMessages;
|
|
39
|
+
export function useNotificationsUiI18nOrDefault() {
|
|
40
|
+
return notificationsUiContext.useOptionalI18n() ?? defaultNotificationsUiI18n;
|
|
41
|
+
}
|
|
42
|
+
export function useNotificationsUiMessagesOrDefault() {
|
|
43
|
+
return useNotificationsUiI18nOrDefault().messages;
|
|
44
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ro.d.ts","sourceRoot":"","sources":["../../src/i18n/ro.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,eAAe,CAAA;AAE5D,eAAO,MAAM,iBAAiB,EAAE,uBA2I/B,CAAA"}
|
package/dist/i18n/ro.js
ADDED
|
@@ -0,0 +1,138 @@
|
|
|
1
|
+
export const notificationsUiRo = {
|
|
2
|
+
common: {
|
|
3
|
+
cancel: "Anulează",
|
|
4
|
+
save: "Salvează",
|
|
5
|
+
create: "Creează",
|
|
6
|
+
edit: "Editează",
|
|
7
|
+
delete: "Șterge",
|
|
8
|
+
add: "Adaugă",
|
|
9
|
+
none: "—",
|
|
10
|
+
loading: "Se încarcă…",
|
|
11
|
+
optionalPlaceholder: "Opțional",
|
|
12
|
+
},
|
|
13
|
+
stage: {
|
|
14
|
+
listHeading: "Etape",
|
|
15
|
+
listEmpty: "Nicio etapă încă. Adaugă una pentru a defini când se trimite regula.",
|
|
16
|
+
addStage: "Adaugă etapă",
|
|
17
|
+
deleteConfirm: "Ștergi această etapă?",
|
|
18
|
+
fields: {
|
|
19
|
+
name: "Nume",
|
|
20
|
+
orderIndex: "Ordine",
|
|
21
|
+
anchor: "Reper",
|
|
22
|
+
windowStartDays: "Început fereastră (zile)",
|
|
23
|
+
windowEndDays: "Sfârșit fereastră (zile)",
|
|
24
|
+
cadenceKind: "Cadență",
|
|
25
|
+
cadenceEveryDays: "La fiecare N zile",
|
|
26
|
+
cadenceIntervals: "Praguri de escaladare",
|
|
27
|
+
maxSendsInStage: "Trimiteri maxime per etapă",
|
|
28
|
+
respectQuietHours: "Respectă orele de liniște",
|
|
29
|
+
},
|
|
30
|
+
placeholders: {
|
|
31
|
+
name: "Prima reamintire",
|
|
32
|
+
},
|
|
33
|
+
anchors: {
|
|
34
|
+
due_date: "Data scadenței",
|
|
35
|
+
booking_created_at: "Data creării rezervării",
|
|
36
|
+
departure_date: "Data plecării",
|
|
37
|
+
invoice_issued_at: "Data emiterii facturii",
|
|
38
|
+
last_send_at: "Ultima trimitere",
|
|
39
|
+
},
|
|
40
|
+
cadences: {
|
|
41
|
+
once: "O singură dată",
|
|
42
|
+
every_n_days: "La fiecare N zile",
|
|
43
|
+
escalating: "Praguri de escaladare",
|
|
44
|
+
},
|
|
45
|
+
intervalRow: {
|
|
46
|
+
whenDaysUntilDueGT: "Când zile-până-la-scadență >",
|
|
47
|
+
whenDaysUntilDueLT: "Când zile-până-la-scadență <",
|
|
48
|
+
repeatEveryDays: "Repetă la fiecare (zile)",
|
|
49
|
+
addInterval: "Adaugă prag",
|
|
50
|
+
removeInterval: "Șterge",
|
|
51
|
+
},
|
|
52
|
+
titles: {
|
|
53
|
+
create: "Adaugă etapă",
|
|
54
|
+
edit: "Editează etapă",
|
|
55
|
+
},
|
|
56
|
+
},
|
|
57
|
+
channel: {
|
|
58
|
+
listHeading: "Canale",
|
|
59
|
+
listEmpty: "Niciun canal. Adaugă cel puțin unul pentru a livra această etapă.",
|
|
60
|
+
addChannel: "Adaugă canal",
|
|
61
|
+
deleteConfirm: "Ștergi acest canal?",
|
|
62
|
+
fields: {
|
|
63
|
+
orderIndex: "Ordine",
|
|
64
|
+
channel: "Canal",
|
|
65
|
+
provider: "Furnizor",
|
|
66
|
+
template: "Șablon",
|
|
67
|
+
recipientKind: "Destinatar",
|
|
68
|
+
},
|
|
69
|
+
channels: {
|
|
70
|
+
email: "Email",
|
|
71
|
+
sms: "SMS",
|
|
72
|
+
},
|
|
73
|
+
recipientKinds: {
|
|
74
|
+
primary: "Principal",
|
|
75
|
+
cc: "CC",
|
|
76
|
+
bcc: "BCC",
|
|
77
|
+
},
|
|
78
|
+
providers: {
|
|
79
|
+
automatic: "Automat",
|
|
80
|
+
resend: "Resend (email)",
|
|
81
|
+
twilio: "Twilio (SMS)",
|
|
82
|
+
},
|
|
83
|
+
titles: {
|
|
84
|
+
create: "Adaugă canal",
|
|
85
|
+
edit: "Editează canal",
|
|
86
|
+
},
|
|
87
|
+
placeholders: {
|
|
88
|
+
template: "Caută șabloane…",
|
|
89
|
+
},
|
|
90
|
+
},
|
|
91
|
+
settings: {
|
|
92
|
+
heading: "Setări notificări",
|
|
93
|
+
description: "Valori implicite pentru orele de liniște, blocaje și limite per destinatar.",
|
|
94
|
+
sections: {
|
|
95
|
+
quietHours: "Ore de liniște",
|
|
96
|
+
quietHoursDesc: "Când se pot trimite reamintiri, în fusul orar al destinatarului.",
|
|
97
|
+
blackouts: "Date blocate",
|
|
98
|
+
blackoutsDesc: "Date specifice care se ignoră complet (sărbători, închideri).",
|
|
99
|
+
rateLimits: "Limite și deduplicare",
|
|
100
|
+
rateLimitsDesc: "Plafoane care se aplică tuturor regulilor pentru a proteja destinatarii.",
|
|
101
|
+
},
|
|
102
|
+
fields: {
|
|
103
|
+
quietHoursStart: "Început",
|
|
104
|
+
quietHoursEnd: "Sfârșit",
|
|
105
|
+
quietHoursTz: "Fus orar",
|
|
106
|
+
blackoutDates: "Date blocate",
|
|
107
|
+
skipWeekends: "Sari peste weekend-uri",
|
|
108
|
+
skipWeekendsDesc: "Amână reamintirile care ar cădea sâmbăta sau duminica.",
|
|
109
|
+
recipientRateLimitPerDay: "Plafon zilnic per destinatar",
|
|
110
|
+
suppressionWindowHours: "Fereastră de supresie (ore)",
|
|
111
|
+
},
|
|
112
|
+
placeholders: {
|
|
113
|
+
tz: "Caută fusuri orare…",
|
|
114
|
+
noBlackouts: "Nicio dată blocată.",
|
|
115
|
+
},
|
|
116
|
+
helpers: {
|
|
117
|
+
blackoutDates: "Adaugă o dată pentru fiecare zi calendaristică de ignorat.",
|
|
118
|
+
recipientRateLimitPerDay: "Numărul maxim de reamintiri trimise per destinatar/canal în 24h. Lasă gol pentru fără limită.",
|
|
119
|
+
suppressionWindowHours: "Fereastră pentru deduplicarea regulilor care partajează același grup de supresie.",
|
|
120
|
+
},
|
|
121
|
+
actions: {
|
|
122
|
+
addBlackoutDate: "Adaugă dată",
|
|
123
|
+
removeBlackoutDate: "Șterge",
|
|
124
|
+
},
|
|
125
|
+
},
|
|
126
|
+
preview: {
|
|
127
|
+
dateLabel: "Dată",
|
|
128
|
+
empty: "Nimic nu s-ar declanșa la această dată.",
|
|
129
|
+
columns: {
|
|
130
|
+
rule: "Regulă",
|
|
131
|
+
stage: "Etapă",
|
|
132
|
+
target: "Țintă",
|
|
133
|
+
anchor: "Reper",
|
|
134
|
+
scheduledAt: "Programat la",
|
|
135
|
+
reasoning: "Motiv",
|
|
136
|
+
},
|
|
137
|
+
},
|
|
138
|
+
};
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export { NotificationSettingsForm } from "./components/notification-settings-form.js";
|
|
2
|
+
export { RemindersPreviewList, type RemindersPreviewListProps, } from "./components/reminders-preview-list.js";
|
|
3
|
+
export { StageChannelEditorDialog, type StageChannelEditorDialogProps, } from "./components/stage-channel-editor-dialog.js";
|
|
4
|
+
export { StageChannelList, type StageChannelListProps, } from "./components/stage-channel-list.js";
|
|
5
|
+
export { StageEditorDialog, type StageEditorDialogProps, } from "./components/stage-editor-dialog.js";
|
|
6
|
+
export { StageList, type StageListProps } from "./components/stage-list.js";
|
|
7
|
+
export { TemplatePicker, type TemplatePickerProps } from "./components/template-picker.js";
|
|
8
|
+
export { getNotificationsUiI18n, type NotificationsUiMessageOverrides, type NotificationsUiMessages, NotificationsUiMessagesProvider, notificationsUiEn, notificationsUiMessageDefinitions, notificationsUiRo, resolveNotificationsUiMessages, useNotificationsUiI18n, useNotificationsUiI18nOrDefault, useNotificationsUiMessages, useNotificationsUiMessagesOrDefault, } from "./i18n/index.js";
|
|
9
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,4CAA4C,CAAA;AACrF,OAAO,EACL,oBAAoB,EACpB,KAAK,yBAAyB,GAC/B,MAAM,wCAAwC,CAAA;AAC/C,OAAO,EACL,wBAAwB,EACxB,KAAK,6BAA6B,GACnC,MAAM,6CAA6C,CAAA;AACpD,OAAO,EACL,gBAAgB,EAChB,KAAK,qBAAqB,GAC3B,MAAM,oCAAoC,CAAA;AAC3C,OAAO,EACL,iBAAiB,EACjB,KAAK,sBAAsB,GAC5B,MAAM,qCAAqC,CAAA;AAC5C,OAAO,EAAE,SAAS,EAAE,KAAK,cAAc,EAAE,MAAM,4BAA4B,CAAA;AAC3E,OAAO,EAAE,cAAc,EAAE,KAAK,mBAAmB,EAAE,MAAM,iCAAiC,CAAA;AAC1F,OAAO,EACL,sBAAsB,EACtB,KAAK,+BAA+B,EACpC,KAAK,uBAAuB,EAC5B,+BAA+B,EAC/B,iBAAiB,EACjB,iCAAiC,EACjC,iBAAiB,EACjB,8BAA8B,EAC9B,sBAAsB,EACtB,+BAA+B,EAC/B,0BAA0B,EAC1B,mCAAmC,GACpC,MAAM,iBAAiB,CAAA"}
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export { NotificationSettingsForm } from "./components/notification-settings-form.js";
|
|
2
|
+
export { RemindersPreviewList, } from "./components/reminders-preview-list.js";
|
|
3
|
+
export { StageChannelEditorDialog, } from "./components/stage-channel-editor-dialog.js";
|
|
4
|
+
export { StageChannelList, } from "./components/stage-channel-list.js";
|
|
5
|
+
export { StageEditorDialog, } from "./components/stage-editor-dialog.js";
|
|
6
|
+
export { StageList } from "./components/stage-list.js";
|
|
7
|
+
export { TemplatePicker } from "./components/template-picker.js";
|
|
8
|
+
export { getNotificationsUiI18n, NotificationsUiMessagesProvider, notificationsUiEn, notificationsUiMessageDefinitions, notificationsUiRo, resolveNotificationsUiMessages, useNotificationsUiI18n, useNotificationsUiI18nOrDefault, useNotificationsUiMessages, useNotificationsUiMessagesOrDefault, } from "./i18n/index.js";
|
package/package.json
ADDED
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@voyantjs/notifications-ui",
|
|
3
|
+
"version": "0.28.3",
|
|
4
|
+
"license": "Apache-2.0",
|
|
5
|
+
"repository": {
|
|
6
|
+
"type": "git",
|
|
7
|
+
"url": "https://github.com/voyantjs/voyant.git",
|
|
8
|
+
"directory": "packages/notifications-ui"
|
|
9
|
+
},
|
|
10
|
+
"type": "module",
|
|
11
|
+
"sideEffects": false,
|
|
12
|
+
"exports": {
|
|
13
|
+
".": "./src/index.ts",
|
|
14
|
+
"./styles.css": "./src/styles.css",
|
|
15
|
+
"./i18n": "./src/i18n/index.ts",
|
|
16
|
+
"./i18n/en": "./src/i18n/en.ts",
|
|
17
|
+
"./i18n/ro": "./src/i18n/ro.ts",
|
|
18
|
+
"./components/*": "./src/components/*.tsx"
|
|
19
|
+
},
|
|
20
|
+
"scripts": {
|
|
21
|
+
"build": "tsc -p tsconfig.build.json",
|
|
22
|
+
"clean": "rm -rf dist tsconfig.tsbuildinfo",
|
|
23
|
+
"prepack": "pnpm run build",
|
|
24
|
+
"typecheck": "tsc --noEmit",
|
|
25
|
+
"lint": "biome check src/",
|
|
26
|
+
"test": "vitest run --passWithNoTests"
|
|
27
|
+
},
|
|
28
|
+
"peerDependencies": {
|
|
29
|
+
"@tanstack/react-query": "^5.0.0",
|
|
30
|
+
"@voyantjs/notifications-react": "workspace:*",
|
|
31
|
+
"@voyantjs/ui": "workspace:*",
|
|
32
|
+
"react": "^19.0.0",
|
|
33
|
+
"react-dom": "^19.0.0",
|
|
34
|
+
"zod": "^4.3.6"
|
|
35
|
+
},
|
|
36
|
+
"dependencies": {
|
|
37
|
+
"@voyantjs/i18n": "workspace:*"
|
|
38
|
+
},
|
|
39
|
+
"devDependencies": {
|
|
40
|
+
"@tanstack/react-query": "^5.96.2",
|
|
41
|
+
"@types/react": "^19.2.14",
|
|
42
|
+
"@types/react-dom": "^19.2.3",
|
|
43
|
+
"@voyantjs/i18n": "workspace:*",
|
|
44
|
+
"@voyantjs/notifications-react": "workspace:*",
|
|
45
|
+
"@voyantjs/voyant-typescript-config": "workspace:*",
|
|
46
|
+
"@voyantjs/ui": "workspace:*",
|
|
47
|
+
"lucide-react": "^0.475.0",
|
|
48
|
+
"react": "^19.2.4",
|
|
49
|
+
"react-dom": "^19.2.4",
|
|
50
|
+
"typescript": "^6.0.2",
|
|
51
|
+
"vitest": "^4.1.2",
|
|
52
|
+
"zod": "^4.3.6"
|
|
53
|
+
},
|
|
54
|
+
"files": [
|
|
55
|
+
"dist",
|
|
56
|
+
"src/styles.css"
|
|
57
|
+
],
|
|
58
|
+
"publishConfig": {
|
|
59
|
+
"access": "public",
|
|
60
|
+
"exports": {
|
|
61
|
+
".": {
|
|
62
|
+
"types": "./dist/index.d.ts",
|
|
63
|
+
"import": "./dist/index.js",
|
|
64
|
+
"default": "./dist/index.js"
|
|
65
|
+
},
|
|
66
|
+
"./styles.css": {
|
|
67
|
+
"default": "./src/styles.css"
|
|
68
|
+
},
|
|
69
|
+
"./i18n": {
|
|
70
|
+
"types": "./dist/i18n/index.d.ts",
|
|
71
|
+
"import": "./dist/i18n/index.js",
|
|
72
|
+
"default": "./dist/i18n/index.js"
|
|
73
|
+
},
|
|
74
|
+
"./i18n/en": {
|
|
75
|
+
"types": "./dist/i18n/en.d.ts",
|
|
76
|
+
"import": "./dist/i18n/en.js",
|
|
77
|
+
"default": "./dist/i18n/en.js"
|
|
78
|
+
},
|
|
79
|
+
"./i18n/ro": {
|
|
80
|
+
"types": "./dist/i18n/ro.d.ts",
|
|
81
|
+
"import": "./dist/i18n/ro.js",
|
|
82
|
+
"default": "./dist/i18n/ro.js"
|
|
83
|
+
},
|
|
84
|
+
"./components/*": {
|
|
85
|
+
"types": "./dist/components/*.d.ts",
|
|
86
|
+
"import": "./dist/components/*.js",
|
|
87
|
+
"default": "./dist/components/*.js"
|
|
88
|
+
}
|
|
89
|
+
},
|
|
90
|
+
"main": "./dist/index.js",
|
|
91
|
+
"types": "./dist/index.d.ts"
|
|
92
|
+
}
|
|
93
|
+
}
|
package/src/styles.css
ADDED