@oods/component-contracts 0.3.3 → 0.4.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.
@@ -0,0 +1,205 @@
1
+ {
2
+ "version": "1.1.0",
3
+ "generated_at": "2025-10-27T00:00:00Z",
4
+ "domains": {
5
+ "subscription": {
6
+ "future": {
7
+ "description": "Subscription is scheduled but not yet active.",
8
+ "chip": {
9
+ "foreground": "color.text.info",
10
+ "background": "color.background.info.subtle",
11
+ "border": "color.border.info",
12
+ "icon": "icon.status.scheduled"
13
+ },
14
+ "banner": {
15
+ "foreground": "color.text.info",
16
+ "background": "color.background.surface.default",
17
+ "border": "color.border.info",
18
+ "icon": "icon.status.scheduled"
19
+ }
20
+ },
21
+ "trialing": {
22
+ "description": "Subscription is in a trial period before billing begins.",
23
+ "chip": {
24
+ "foreground": "color.text.accent",
25
+ "background": "color.background.accent.subtle",
26
+ "border": "color.border.accent",
27
+ "icon": "icon.status.trial"
28
+ },
29
+ "banner": {
30
+ "foreground": "color.text.accent",
31
+ "background": "color.background.surface.default",
32
+ "border": "color.border.accent",
33
+ "icon": "icon.status.trial"
34
+ }
35
+ },
36
+ "active": {
37
+ "description": "Subscription is paid and service is provisioned.",
38
+ "chip": {
39
+ "foreground": "color.text.positive",
40
+ "background": "color.background.positive.subtle",
41
+ "border": "color.border.positive",
42
+ "icon": "icon.status.success"
43
+ },
44
+ "banner": {
45
+ "foreground": "color.text.positive",
46
+ "background": "color.background.surface.default",
47
+ "border": "color.border.positive",
48
+ "icon": "icon.status.success"
49
+ }
50
+ },
51
+ "paused": {
52
+ "description": "Billing paused temporarily by finance or customer request.",
53
+ "chip": {
54
+ "foreground": "color.text.neutral",
55
+ "background": "color.background.neutral.subtle",
56
+ "border": "color.border.neutral",
57
+ "icon": "icon.status.paused"
58
+ },
59
+ "banner": {
60
+ "foreground": "color.text.neutral",
61
+ "background": "color.background.surface.muted",
62
+ "border": "color.border.neutral",
63
+ "icon": "icon.status.paused"
64
+ }
65
+ },
66
+ "pending_cancellation": {
67
+ "description": "Subscription will cancel at period end but remains active now.",
68
+ "chip": {
69
+ "foreground": "color.text.info",
70
+ "background": "color.background.info.subtle",
71
+ "border": "color.border.info",
72
+ "icon": "icon.status.pending"
73
+ },
74
+ "banner": {
75
+ "foreground": "color.text.info",
76
+ "background": "color.background.surface.default",
77
+ "border": "color.border.info",
78
+ "icon": "icon.status.pending"
79
+ }
80
+ },
81
+ "past_due": {
82
+ "description": "Renewal payment failed; smart retries ongoing and access retained during the grace window.",
83
+ "chip": {
84
+ "foreground": "color.text.danger",
85
+ "background": "color.background.danger.subtle",
86
+ "border": "color.border.danger",
87
+ "icon": "icon.status.warning"
88
+ },
89
+ "banner": {
90
+ "foreground": "color.text.onbold",
91
+ "background": "color.background.danger.bold",
92
+ "border": "color.border.danger",
93
+ "icon": "icon.status.warning"
94
+ }
95
+ },
96
+ "unpaid": {
97
+ "description": "Payment retries exhausted; service access revoked.",
98
+ "chip": {
99
+ "foreground": "color.text.danger",
100
+ "background": "color.background.danger.subtle",
101
+ "border": "color.border.danger",
102
+ "icon": "icon.status.error"
103
+ },
104
+ "banner": {
105
+ "foreground": "color.text.onbold",
106
+ "background": "color.background.danger.bold",
107
+ "border": "color.border.danger",
108
+ "icon": "icon.status.error"
109
+ }
110
+ },
111
+ "terminated": {
112
+ "description": "Subscription ended; service access revoked and billing stopped.",
113
+ "chip": {
114
+ "foreground": "color.text.disabled",
115
+ "background": "color.background.disabled",
116
+ "border": "color.border.disabled",
117
+ "icon": "icon.status.canceled"
118
+ },
119
+ "banner": {
120
+ "foreground": "color.text.neutral",
121
+ "background": "color.background.neutral.subtle",
122
+ "border": "color.border.neutral",
123
+ "icon": "icon.status.canceled"
124
+ }
125
+ }
126
+ },
127
+ "invoice": {
128
+ "draft": {
129
+ "description": "Invoice is editable and not yet finalized.",
130
+ "chip": {
131
+ "foreground": "color.text.neutral",
132
+ "background": "color.background.neutral.subtle",
133
+ "border": "color.border.neutral",
134
+ "icon": "icon.status.draft"
135
+ },
136
+ "banner": {
137
+ "foreground": "color.text.neutral",
138
+ "background": "color.background.surface.muted",
139
+ "border": "color.border.neutral",
140
+ "icon": "icon.status.draft"
141
+ }
142
+ },
143
+ "posted": {
144
+ "description": "Invoice finalized with terms before collection.",
145
+ "chip": {
146
+ "foreground": "color.text.info",
147
+ "background": "color.background.info.subtle",
148
+ "border": "color.border.info",
149
+ "icon": "icon.status.pending"
150
+ },
151
+ "banner": {
152
+ "foreground": "color.text.info",
153
+ "background": "color.background.surface.default",
154
+ "border": "color.border.info",
155
+ "icon": "icon.status.pending"
156
+ }
157
+ },
158
+ "paid": {
159
+ "description": "Invoice collected successfully in full.",
160
+ "chip": {
161
+ "foreground": "color.text.positive",
162
+ "background": "color.background.positive.subtle",
163
+ "border": "color.border.positive",
164
+ "icon": "icon.status.success"
165
+ },
166
+ "banner": {
167
+ "foreground": "color.text.positive",
168
+ "background": "color.background.surface.default",
169
+ "border": "color.border.positive",
170
+ "icon": "icon.status.success"
171
+ }
172
+ },
173
+ "past_due": {
174
+ "description": "Invoice is unpaid past its due date.",
175
+ "chip": {
176
+ "foreground": "color.text.danger",
177
+ "background": "color.background.danger.subtle",
178
+ "border": "color.border.danger",
179
+ "icon": "icon.status.error"
180
+ },
181
+ "banner": {
182
+ "foreground": "color.text.onbold",
183
+ "background": "color.background.danger.bold",
184
+ "border": "color.border.danger",
185
+ "icon": "icon.status.error"
186
+ }
187
+ },
188
+ "void": {
189
+ "description": "Invoice canceled and no longer payable.",
190
+ "chip": {
191
+ "foreground": "color.text.disabled",
192
+ "background": "color.background.disabled",
193
+ "border": "color.border.disabled",
194
+ "icon": "icon.status.void"
195
+ },
196
+ "banner": {
197
+ "foreground": "color.text.neutral",
198
+ "background": "color.background.neutral.subtle",
199
+ "border": "color.border.neutral",
200
+ "icon": "icon.status.void"
201
+ }
202
+ }
203
+ }
204
+ }
205
+ }