@formicoidea/labre-framework-c4 3.4.0 → 3.5.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/LICENSE +384 -384
- package/dist/toolbar/config.js +76 -76
- package/dist/toolbar/icons.js +61 -61
- package/dist/toolbar/senior-tool.js +2 -2
- package/package.json +3 -3
package/LICENSE
CHANGED
|
@@ -1,384 +1,384 @@
|
|
|
1
|
-
# Mozilla Public License Version 2.0
|
|
2
|
-
|
|
3
|
-
Copyright (c) TOEVERYTHING PTE. LTD. and its affiliates.
|
|
4
|
-
|
|
5
|
-
1. Definitions
|
|
6
|
-
|
|
7
|
-
---
|
|
8
|
-
|
|
9
|
-
1.1. "Contributor"
|
|
10
|
-
means each individual or legal entity that creates, contributes to
|
|
11
|
-
the creation of, or owns Covered Software.
|
|
12
|
-
|
|
13
|
-
1.2. "Contributor Version"
|
|
14
|
-
means the combination of the Contributions of others (if any) used
|
|
15
|
-
by a Contributor and that particular Contributor's Contribution.
|
|
16
|
-
|
|
17
|
-
1.3. "Contribution"
|
|
18
|
-
means Covered Software of a particular Contributor.
|
|
19
|
-
|
|
20
|
-
1.4. "Covered Software"
|
|
21
|
-
means Source Code Form to which the initial Contributor has attached
|
|
22
|
-
the notice in Exhibit A, the Executable Form of such Source Code
|
|
23
|
-
Form, and Modifications of such Source Code Form, in each case
|
|
24
|
-
including portions thereof.
|
|
25
|
-
|
|
26
|
-
1.5. "Incompatible With Secondary Licenses"
|
|
27
|
-
means
|
|
28
|
-
|
|
29
|
-
(a) that the initial Contributor has attached the notice described
|
|
30
|
-
in Exhibit B to the Covered Software; or
|
|
31
|
-
|
|
32
|
-
(b) that the Covered Software was made available under the terms of
|
|
33
|
-
version 1.1 or earlier of the License, but not also under the
|
|
34
|
-
terms of a Secondary License.
|
|
35
|
-
|
|
36
|
-
1.6. "Executable Form"
|
|
37
|
-
means any form of the work other than Source Code Form.
|
|
38
|
-
|
|
39
|
-
1.7. "Larger Work"
|
|
40
|
-
means a work that combines Covered Software with other material, in
|
|
41
|
-
a separate file or files, that is not Covered Software.
|
|
42
|
-
|
|
43
|
-
1.8. "License"
|
|
44
|
-
means this document.
|
|
45
|
-
|
|
46
|
-
1.9. "Licensable"
|
|
47
|
-
means having the right to grant, to the maximum extent possible,
|
|
48
|
-
whether at the time of the initial grant or subsequently, any and
|
|
49
|
-
all of the rights conveyed by this License.
|
|
50
|
-
|
|
51
|
-
1.10. "Modifications"
|
|
52
|
-
means any of the following:
|
|
53
|
-
|
|
54
|
-
(a) any file in Source Code Form that results from an addition to,
|
|
55
|
-
deletion from, or modification of the contents of Covered
|
|
56
|
-
Software; or
|
|
57
|
-
|
|
58
|
-
(b) any new file in Source Code Form that contains any Covered
|
|
59
|
-
Software.
|
|
60
|
-
|
|
61
|
-
1.11. "Patent Claims" of a Contributor
|
|
62
|
-
means any patent claim(s), including without limitation, method,
|
|
63
|
-
process, and apparatus claims, in any patent Licensable by such
|
|
64
|
-
Contributor that would be infringed, but for the grant of the
|
|
65
|
-
License, by the making, using, selling, offering for sale, having
|
|
66
|
-
made, import, or transfer of either its Contributions or its
|
|
67
|
-
Contributor Version.
|
|
68
|
-
|
|
69
|
-
1.12. "Secondary License"
|
|
70
|
-
means either the GNU General Public License, Version 2.0, the GNU
|
|
71
|
-
Lesser General Public License, Version 2.1, the GNU Affero General
|
|
72
|
-
Public License, Version 3.0, or any later versions of those
|
|
73
|
-
licenses.
|
|
74
|
-
|
|
75
|
-
1.13. "Source Code Form"
|
|
76
|
-
means the form of the work preferred for making modifications.
|
|
77
|
-
|
|
78
|
-
1.14. "You" (or "Your")
|
|
79
|
-
means an individual or a legal entity exercising rights under this
|
|
80
|
-
License. For legal entities, "You" includes any entity that
|
|
81
|
-
controls, is controlled by, or is under common control with You. For
|
|
82
|
-
purposes of this definition, "control" means (a) the power, direct
|
|
83
|
-
or indirect, to cause the direction or management of such entity,
|
|
84
|
-
whether by contract or otherwise, or (b) ownership of more than
|
|
85
|
-
fifty percent (50%) of the outstanding shares or beneficial
|
|
86
|
-
ownership of such entity.
|
|
87
|
-
|
|
88
|
-
2. License Grants and Conditions
|
|
89
|
-
|
|
90
|
-
---
|
|
91
|
-
|
|
92
|
-
2.1. Grants
|
|
93
|
-
|
|
94
|
-
Each Contributor hereby grants You a world-wide, royalty-free,
|
|
95
|
-
non-exclusive license:
|
|
96
|
-
|
|
97
|
-
(a) under intellectual property rights (other than patent or trademark)
|
|
98
|
-
Licensable by such Contributor to use, reproduce, make available,
|
|
99
|
-
modify, display, perform, distribute, and otherwise exploit its
|
|
100
|
-
Contributions, either on an unmodified basis, with Modifications, or
|
|
101
|
-
as part of a Larger Work; and
|
|
102
|
-
|
|
103
|
-
(b) under Patent Claims of such Contributor to make, use, sell, offer
|
|
104
|
-
for sale, have made, import, and otherwise transfer either its
|
|
105
|
-
Contributions or its Contributor Version.
|
|
106
|
-
|
|
107
|
-
2.2. Effective Date
|
|
108
|
-
|
|
109
|
-
The licenses granted in Section 2.1 with respect to any Contribution
|
|
110
|
-
become effective for each Contribution on the date the Contributor first
|
|
111
|
-
distributes such Contribution.
|
|
112
|
-
|
|
113
|
-
2.3. Limitations on Grant Scope
|
|
114
|
-
|
|
115
|
-
The licenses granted in this Section 2 are the only rights granted under
|
|
116
|
-
this License. No additional rights or licenses will be implied from the
|
|
117
|
-
distribution or licensing of Covered Software under this License.
|
|
118
|
-
Notwithstanding Section 2.1(b) above, no patent license is granted by a
|
|
119
|
-
Contributor:
|
|
120
|
-
|
|
121
|
-
(a) for any code that a Contributor has removed from Covered Software;
|
|
122
|
-
or
|
|
123
|
-
|
|
124
|
-
(b) for infringements caused by: (i) Your and any other third party's
|
|
125
|
-
modifications of Covered Software, or (ii) the combination of its
|
|
126
|
-
Contributions with other software (except as part of its Contributor
|
|
127
|
-
Version); or
|
|
128
|
-
|
|
129
|
-
(c) under Patent Claims infringed by Covered Software in the absence of
|
|
130
|
-
its Contributions.
|
|
131
|
-
|
|
132
|
-
This License does not grant any rights in the trademarks, service marks,
|
|
133
|
-
or logos of any Contributor (except as may be necessary to comply with
|
|
134
|
-
the notice requirements in Section 3.4).
|
|
135
|
-
|
|
136
|
-
2.4. Subsequent Licenses
|
|
137
|
-
|
|
138
|
-
No Contributor makes additional grants as a result of Your choice to
|
|
139
|
-
distribute the Covered Software under a subsequent version of this
|
|
140
|
-
License (see Section 10.2) or under the terms of a Secondary License (if
|
|
141
|
-
permitted under the terms of Section 3.3).
|
|
142
|
-
|
|
143
|
-
2.5. Representation
|
|
144
|
-
|
|
145
|
-
Each Contributor represents that the Contributor believes its
|
|
146
|
-
Contributions are its original creation(s) or it has sufficient rights
|
|
147
|
-
to grant the rights to its Contributions conveyed by this License.
|
|
148
|
-
|
|
149
|
-
2.6. Fair Use
|
|
150
|
-
|
|
151
|
-
This License is not intended to limit any rights You have under
|
|
152
|
-
applicable copyright doctrines of fair use, fair dealing, or other
|
|
153
|
-
equivalents.
|
|
154
|
-
|
|
155
|
-
2.7. Conditions
|
|
156
|
-
|
|
157
|
-
Sections 3.1, 3.2, 3.3, and 3.4 are conditions of the licenses granted
|
|
158
|
-
in Section 2.1.
|
|
159
|
-
|
|
160
|
-
3. Responsibilities
|
|
161
|
-
|
|
162
|
-
---
|
|
163
|
-
|
|
164
|
-
3.1. Distribution of Source Form
|
|
165
|
-
|
|
166
|
-
All distribution of Covered Software in Source Code Form, including any
|
|
167
|
-
Modifications that You create or to which You contribute, must be under
|
|
168
|
-
the terms of this License. You must inform recipients that the Source
|
|
169
|
-
Code Form of the Covered Software is governed by the terms of this
|
|
170
|
-
License, and how they can obtain a copy of this License. You may not
|
|
171
|
-
attempt to alter or restrict the recipients' rights in the Source Code
|
|
172
|
-
Form.
|
|
173
|
-
|
|
174
|
-
3.2. Distribution of Executable Form
|
|
175
|
-
|
|
176
|
-
If You distribute Covered Software in Executable Form then:
|
|
177
|
-
|
|
178
|
-
(a) such Covered Software must also be made available in Source Code
|
|
179
|
-
Form, as described in Section 3.1, and You must inform recipients of
|
|
180
|
-
the Executable Form how they can obtain a copy of such Source Code
|
|
181
|
-
Form by reasonable means in a timely manner, at a charge no more
|
|
182
|
-
than the cost of distribution to the recipient; and
|
|
183
|
-
|
|
184
|
-
(b) You may distribute such Executable Form under the terms of this
|
|
185
|
-
License, or sublicense it under different terms, provided that the
|
|
186
|
-
license for the Executable Form does not attempt to limit or alter
|
|
187
|
-
the recipients' rights in the Source Code Form under this License.
|
|
188
|
-
|
|
189
|
-
3.3. Distribution of a Larger Work
|
|
190
|
-
|
|
191
|
-
You may create and distribute a Larger Work under terms of Your choice,
|
|
192
|
-
provided that You also comply with the requirements of this License for
|
|
193
|
-
the Covered Software. If the Larger Work is a combination of Covered
|
|
194
|
-
Software with a work governed by one or more Secondary Licenses, and the
|
|
195
|
-
Covered Software is not Incompatible With Secondary Licenses, this
|
|
196
|
-
License permits You to additionally distribute such Covered Software
|
|
197
|
-
under the terms of such Secondary License(s), so that the recipient of
|
|
198
|
-
the Larger Work may, at their option, further distribute the Covered
|
|
199
|
-
Software under the terms of either this License or such Secondary
|
|
200
|
-
License(s).
|
|
201
|
-
|
|
202
|
-
3.4. Notices
|
|
203
|
-
|
|
204
|
-
You may not remove or alter the substance of any license notices
|
|
205
|
-
(including copyright notices, patent notices, disclaimers of warranty,
|
|
206
|
-
or limitations of liability) contained within the Source Code Form of
|
|
207
|
-
the Covered Software, except that You may alter any license notices to
|
|
208
|
-
the extent required to remedy known factual inaccuracies.
|
|
209
|
-
|
|
210
|
-
3.5. Application of Additional Terms
|
|
211
|
-
|
|
212
|
-
You may choose to offer, and to charge a fee for, warranty, support,
|
|
213
|
-
indemnity or liability obligations to one or more recipients of Covered
|
|
214
|
-
Software. However, You may do so only on Your own behalf, and not on
|
|
215
|
-
behalf of any Contributor. You must make it absolutely clear that any
|
|
216
|
-
such warranty, support, indemnity, or liability obligation is offered by
|
|
217
|
-
You alone, and You hereby agree to indemnify every Contributor for any
|
|
218
|
-
liability incurred by such Contributor as a result of warranty, support,
|
|
219
|
-
indemnity or liability terms You offer. You may include additional
|
|
220
|
-
disclaimers of warranty and limitations of liability specific to any
|
|
221
|
-
jurisdiction.
|
|
222
|
-
|
|
223
|
-
4. Inability to Comply Due to Statute or Regulation
|
|
224
|
-
|
|
225
|
-
---
|
|
226
|
-
|
|
227
|
-
If it is impossible for You to comply with any of the terms of this
|
|
228
|
-
License with respect to some or all of the Covered Software due to
|
|
229
|
-
statute, judicial order, or regulation then You must: (a) comply with
|
|
230
|
-
the terms of this License to the maximum extent possible; and (b)
|
|
231
|
-
describe the limitations and the code they affect. Such description must
|
|
232
|
-
be placed in a text file included with all distributions of the Covered
|
|
233
|
-
Software under this License. Except to the extent prohibited by statute
|
|
234
|
-
or regulation, such description must be sufficiently detailed for a
|
|
235
|
-
recipient of ordinary skill to be able to understand it.
|
|
236
|
-
|
|
237
|
-
5. Termination
|
|
238
|
-
|
|
239
|
-
---
|
|
240
|
-
|
|
241
|
-
5.1. The rights granted under this License will terminate automatically
|
|
242
|
-
if You fail to comply with any of its terms. However, if You become
|
|
243
|
-
compliant, then the rights granted under this License from a particular
|
|
244
|
-
Contributor are reinstated (a) provisionally, unless and until such
|
|
245
|
-
Contributor explicitly and finally terminates Your grants, and (b) on an
|
|
246
|
-
ongoing basis, if such Contributor fails to notify You of the
|
|
247
|
-
non-compliance by some reasonable means prior to 60 days after You have
|
|
248
|
-
come back into compliance. Moreover, Your grants from a particular
|
|
249
|
-
Contributor are reinstated on an ongoing basis if such Contributor
|
|
250
|
-
notifies You of the non-compliance by some reasonable means, this is the
|
|
251
|
-
first time You have received notice of non-compliance with this License
|
|
252
|
-
from such Contributor, and You become compliant prior to 30 days after
|
|
253
|
-
Your receipt of the notice.
|
|
254
|
-
|
|
255
|
-
5.2. If You initiate litigation against any entity by asserting a patent
|
|
256
|
-
infringement claim (excluding declaratory judgment actions,
|
|
257
|
-
counter-claims, and cross-claims) alleging that a Contributor Version
|
|
258
|
-
directly or indirectly infringes any patent, then the rights granted to
|
|
259
|
-
You by any and all Contributors for the Covered Software under Section
|
|
260
|
-
2.1 of this License shall terminate.
|
|
261
|
-
|
|
262
|
-
5.3. In the event of termination under Sections 5.1 or 5.2 above, all
|
|
263
|
-
end user license agreements (excluding distributors and resellers) which
|
|
264
|
-
have been validly granted by You or Your distributors under this License
|
|
265
|
-
prior to termination shall survive termination.
|
|
266
|
-
|
|
267
|
-
---
|
|
268
|
-
|
|
269
|
-
- *
|
|
270
|
-
- 6. Disclaimer of Warranty \*
|
|
271
|
-
- ------------------------- \*
|
|
272
|
-
- *
|
|
273
|
-
- Covered Software is provided under this License on an "as is" \*
|
|
274
|
-
- basis, without warranty of any kind, either expressed, implied, or \*
|
|
275
|
-
- statutory, including, without limitation, warranties that the \*
|
|
276
|
-
- Covered Software is free of defects, merchantable, fit for a \*
|
|
277
|
-
- particular purpose or non-infringing. The entire risk as to the \*
|
|
278
|
-
- quality and performance of the Covered Software is with You. \*
|
|
279
|
-
- Should any Covered Software prove defective in any respect, You \*
|
|
280
|
-
- (not any Contributor) assume the cost of any necessary servicing, \*
|
|
281
|
-
- repair, or correction. This disclaimer of warranty constitutes an \*
|
|
282
|
-
- essential part of this License. No use of any Covered Software is \*
|
|
283
|
-
- authorized under this License except under this disclaimer. \*
|
|
284
|
-
- *
|
|
285
|
-
|
|
286
|
-
---
|
|
287
|
-
|
|
288
|
-
---
|
|
289
|
-
|
|
290
|
-
- *
|
|
291
|
-
- 7. Limitation of Liability \*
|
|
292
|
-
- -------------------------- \*
|
|
293
|
-
- *
|
|
294
|
-
- Under no circumstances and under no legal theory, whether tort \*
|
|
295
|
-
- (including negligence), contract, or otherwise, shall any \*
|
|
296
|
-
- Contributor, or anyone who distributes Covered Software as \*
|
|
297
|
-
- permitted above, be liable to You for any direct, indirect, \*
|
|
298
|
-
- special, incidental, or consequential damages of any character \*
|
|
299
|
-
- including, without limitation, damages for lost profits, loss of \*
|
|
300
|
-
- goodwill, work stoppage, computer failure or malfunction, or any \*
|
|
301
|
-
- and all other commercial damages or losses, even if such party \*
|
|
302
|
-
- shall have been informed of the possibility of such damages. This \*
|
|
303
|
-
- limitation of liability shall not apply to liability for death or \*
|
|
304
|
-
- personal injury resulting from such party's negligence to the \*
|
|
305
|
-
- extent applicable law prohibits such limitation. Some \*
|
|
306
|
-
- jurisdictions do not allow the exclusion or limitation of \*
|
|
307
|
-
- incidental or consequential damages, so this exclusion and \*
|
|
308
|
-
- limitation may not apply to You. \*
|
|
309
|
-
- *
|
|
310
|
-
|
|
311
|
-
---
|
|
312
|
-
|
|
313
|
-
8. Litigation
|
|
314
|
-
|
|
315
|
-
---
|
|
316
|
-
|
|
317
|
-
Any litigation relating to this License may be brought only in the
|
|
318
|
-
courts of a jurisdiction where the defendant maintains its principal
|
|
319
|
-
place of business and such litigation shall be governed by laws of that
|
|
320
|
-
jurisdiction, without reference to its conflict-of-law provisions.
|
|
321
|
-
Nothing in this Section shall prevent a party's ability to bring
|
|
322
|
-
cross-claims or counter-claims.
|
|
323
|
-
|
|
324
|
-
9. Miscellaneous
|
|
325
|
-
|
|
326
|
-
---
|
|
327
|
-
|
|
328
|
-
This License represents the complete agreement concerning the subject
|
|
329
|
-
matter hereof. If any provision of this License is held to be
|
|
330
|
-
unenforceable, such provision shall be reformed only to the extent
|
|
331
|
-
necessary to make it enforceable. Any law or regulation which provides
|
|
332
|
-
that the language of a contract shall be construed against the drafter
|
|
333
|
-
shall not be used to construe this License against a Contributor.
|
|
334
|
-
|
|
335
|
-
10. Versions of the License
|
|
336
|
-
|
|
337
|
-
---
|
|
338
|
-
|
|
339
|
-
10.1. New Versions
|
|
340
|
-
|
|
341
|
-
Mozilla Foundation is the license steward. Except as provided in Section
|
|
342
|
-
10.3, no one other than the license steward has the right to modify or
|
|
343
|
-
publish new versions of this License. Each version will be given a
|
|
344
|
-
distinguishing version number.
|
|
345
|
-
|
|
346
|
-
10.2. Effect of New Versions
|
|
347
|
-
|
|
348
|
-
You may distribute the Covered Software under the terms of the version
|
|
349
|
-
of the License under which You originally received the Covered Software,
|
|
350
|
-
or under the terms of any subsequent version published by the license
|
|
351
|
-
steward.
|
|
352
|
-
|
|
353
|
-
10.3. Modified Versions
|
|
354
|
-
|
|
355
|
-
If you create software not governed by this License, and you want to
|
|
356
|
-
create a new license for such software, you may create and use a
|
|
357
|
-
modified version of this License if you rename the license and remove
|
|
358
|
-
any references to the name of the license steward (except to note that
|
|
359
|
-
such modified license differs from this License).
|
|
360
|
-
|
|
361
|
-
10.4. Distributing Source Code Form that is Incompatible With Secondary
|
|
362
|
-
Licenses
|
|
363
|
-
|
|
364
|
-
If You choose to distribute Source Code Form that is Incompatible With
|
|
365
|
-
Secondary Licenses under the terms of this version of the License, the
|
|
366
|
-
notice described in Exhibit B of this License must be attached.
|
|
367
|
-
|
|
368
|
-
## Exhibit A - Source Code Form License Notice
|
|
369
|
-
|
|
370
|
-
This Source Code Form is subject to the terms of the Mozilla Public
|
|
371
|
-
License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
372
|
-
file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
373
|
-
|
|
374
|
-
If it is not possible or desirable to put the notice in a particular
|
|
375
|
-
file, then You may include the notice in a location (such as a LICENSE
|
|
376
|
-
file in a relevant directory) where a recipient would be likely to look
|
|
377
|
-
for such a notice.
|
|
378
|
-
|
|
379
|
-
You may add additional accurate notices of copyright ownership.
|
|
380
|
-
|
|
381
|
-
## Exhibit B - "Incompatible With Secondary Licenses" Notice
|
|
382
|
-
|
|
383
|
-
This Source Code Form is "Incompatible With Secondary Licenses", as
|
|
384
|
-
defined by the Mozilla Public License, v. 2.0.
|
|
1
|
+
# Mozilla Public License Version 2.0
|
|
2
|
+
|
|
3
|
+
Copyright (c) TOEVERYTHING PTE. LTD. and its affiliates.
|
|
4
|
+
|
|
5
|
+
1. Definitions
|
|
6
|
+
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
1.1. "Contributor"
|
|
10
|
+
means each individual or legal entity that creates, contributes to
|
|
11
|
+
the creation of, or owns Covered Software.
|
|
12
|
+
|
|
13
|
+
1.2. "Contributor Version"
|
|
14
|
+
means the combination of the Contributions of others (if any) used
|
|
15
|
+
by a Contributor and that particular Contributor's Contribution.
|
|
16
|
+
|
|
17
|
+
1.3. "Contribution"
|
|
18
|
+
means Covered Software of a particular Contributor.
|
|
19
|
+
|
|
20
|
+
1.4. "Covered Software"
|
|
21
|
+
means Source Code Form to which the initial Contributor has attached
|
|
22
|
+
the notice in Exhibit A, the Executable Form of such Source Code
|
|
23
|
+
Form, and Modifications of such Source Code Form, in each case
|
|
24
|
+
including portions thereof.
|
|
25
|
+
|
|
26
|
+
1.5. "Incompatible With Secondary Licenses"
|
|
27
|
+
means
|
|
28
|
+
|
|
29
|
+
(a) that the initial Contributor has attached the notice described
|
|
30
|
+
in Exhibit B to the Covered Software; or
|
|
31
|
+
|
|
32
|
+
(b) that the Covered Software was made available under the terms of
|
|
33
|
+
version 1.1 or earlier of the License, but not also under the
|
|
34
|
+
terms of a Secondary License.
|
|
35
|
+
|
|
36
|
+
1.6. "Executable Form"
|
|
37
|
+
means any form of the work other than Source Code Form.
|
|
38
|
+
|
|
39
|
+
1.7. "Larger Work"
|
|
40
|
+
means a work that combines Covered Software with other material, in
|
|
41
|
+
a separate file or files, that is not Covered Software.
|
|
42
|
+
|
|
43
|
+
1.8. "License"
|
|
44
|
+
means this document.
|
|
45
|
+
|
|
46
|
+
1.9. "Licensable"
|
|
47
|
+
means having the right to grant, to the maximum extent possible,
|
|
48
|
+
whether at the time of the initial grant or subsequently, any and
|
|
49
|
+
all of the rights conveyed by this License.
|
|
50
|
+
|
|
51
|
+
1.10. "Modifications"
|
|
52
|
+
means any of the following:
|
|
53
|
+
|
|
54
|
+
(a) any file in Source Code Form that results from an addition to,
|
|
55
|
+
deletion from, or modification of the contents of Covered
|
|
56
|
+
Software; or
|
|
57
|
+
|
|
58
|
+
(b) any new file in Source Code Form that contains any Covered
|
|
59
|
+
Software.
|
|
60
|
+
|
|
61
|
+
1.11. "Patent Claims" of a Contributor
|
|
62
|
+
means any patent claim(s), including without limitation, method,
|
|
63
|
+
process, and apparatus claims, in any patent Licensable by such
|
|
64
|
+
Contributor that would be infringed, but for the grant of the
|
|
65
|
+
License, by the making, using, selling, offering for sale, having
|
|
66
|
+
made, import, or transfer of either its Contributions or its
|
|
67
|
+
Contributor Version.
|
|
68
|
+
|
|
69
|
+
1.12. "Secondary License"
|
|
70
|
+
means either the GNU General Public License, Version 2.0, the GNU
|
|
71
|
+
Lesser General Public License, Version 2.1, the GNU Affero General
|
|
72
|
+
Public License, Version 3.0, or any later versions of those
|
|
73
|
+
licenses.
|
|
74
|
+
|
|
75
|
+
1.13. "Source Code Form"
|
|
76
|
+
means the form of the work preferred for making modifications.
|
|
77
|
+
|
|
78
|
+
1.14. "You" (or "Your")
|
|
79
|
+
means an individual or a legal entity exercising rights under this
|
|
80
|
+
License. For legal entities, "You" includes any entity that
|
|
81
|
+
controls, is controlled by, or is under common control with You. For
|
|
82
|
+
purposes of this definition, "control" means (a) the power, direct
|
|
83
|
+
or indirect, to cause the direction or management of such entity,
|
|
84
|
+
whether by contract or otherwise, or (b) ownership of more than
|
|
85
|
+
fifty percent (50%) of the outstanding shares or beneficial
|
|
86
|
+
ownership of such entity.
|
|
87
|
+
|
|
88
|
+
2. License Grants and Conditions
|
|
89
|
+
|
|
90
|
+
---
|
|
91
|
+
|
|
92
|
+
2.1. Grants
|
|
93
|
+
|
|
94
|
+
Each Contributor hereby grants You a world-wide, royalty-free,
|
|
95
|
+
non-exclusive license:
|
|
96
|
+
|
|
97
|
+
(a) under intellectual property rights (other than patent or trademark)
|
|
98
|
+
Licensable by such Contributor to use, reproduce, make available,
|
|
99
|
+
modify, display, perform, distribute, and otherwise exploit its
|
|
100
|
+
Contributions, either on an unmodified basis, with Modifications, or
|
|
101
|
+
as part of a Larger Work; and
|
|
102
|
+
|
|
103
|
+
(b) under Patent Claims of such Contributor to make, use, sell, offer
|
|
104
|
+
for sale, have made, import, and otherwise transfer either its
|
|
105
|
+
Contributions or its Contributor Version.
|
|
106
|
+
|
|
107
|
+
2.2. Effective Date
|
|
108
|
+
|
|
109
|
+
The licenses granted in Section 2.1 with respect to any Contribution
|
|
110
|
+
become effective for each Contribution on the date the Contributor first
|
|
111
|
+
distributes such Contribution.
|
|
112
|
+
|
|
113
|
+
2.3. Limitations on Grant Scope
|
|
114
|
+
|
|
115
|
+
The licenses granted in this Section 2 are the only rights granted under
|
|
116
|
+
this License. No additional rights or licenses will be implied from the
|
|
117
|
+
distribution or licensing of Covered Software under this License.
|
|
118
|
+
Notwithstanding Section 2.1(b) above, no patent license is granted by a
|
|
119
|
+
Contributor:
|
|
120
|
+
|
|
121
|
+
(a) for any code that a Contributor has removed from Covered Software;
|
|
122
|
+
or
|
|
123
|
+
|
|
124
|
+
(b) for infringements caused by: (i) Your and any other third party's
|
|
125
|
+
modifications of Covered Software, or (ii) the combination of its
|
|
126
|
+
Contributions with other software (except as part of its Contributor
|
|
127
|
+
Version); or
|
|
128
|
+
|
|
129
|
+
(c) under Patent Claims infringed by Covered Software in the absence of
|
|
130
|
+
its Contributions.
|
|
131
|
+
|
|
132
|
+
This License does not grant any rights in the trademarks, service marks,
|
|
133
|
+
or logos of any Contributor (except as may be necessary to comply with
|
|
134
|
+
the notice requirements in Section 3.4).
|
|
135
|
+
|
|
136
|
+
2.4. Subsequent Licenses
|
|
137
|
+
|
|
138
|
+
No Contributor makes additional grants as a result of Your choice to
|
|
139
|
+
distribute the Covered Software under a subsequent version of this
|
|
140
|
+
License (see Section 10.2) or under the terms of a Secondary License (if
|
|
141
|
+
permitted under the terms of Section 3.3).
|
|
142
|
+
|
|
143
|
+
2.5. Representation
|
|
144
|
+
|
|
145
|
+
Each Contributor represents that the Contributor believes its
|
|
146
|
+
Contributions are its original creation(s) or it has sufficient rights
|
|
147
|
+
to grant the rights to its Contributions conveyed by this License.
|
|
148
|
+
|
|
149
|
+
2.6. Fair Use
|
|
150
|
+
|
|
151
|
+
This License is not intended to limit any rights You have under
|
|
152
|
+
applicable copyright doctrines of fair use, fair dealing, or other
|
|
153
|
+
equivalents.
|
|
154
|
+
|
|
155
|
+
2.7. Conditions
|
|
156
|
+
|
|
157
|
+
Sections 3.1, 3.2, 3.3, and 3.4 are conditions of the licenses granted
|
|
158
|
+
in Section 2.1.
|
|
159
|
+
|
|
160
|
+
3. Responsibilities
|
|
161
|
+
|
|
162
|
+
---
|
|
163
|
+
|
|
164
|
+
3.1. Distribution of Source Form
|
|
165
|
+
|
|
166
|
+
All distribution of Covered Software in Source Code Form, including any
|
|
167
|
+
Modifications that You create or to which You contribute, must be under
|
|
168
|
+
the terms of this License. You must inform recipients that the Source
|
|
169
|
+
Code Form of the Covered Software is governed by the terms of this
|
|
170
|
+
License, and how they can obtain a copy of this License. You may not
|
|
171
|
+
attempt to alter or restrict the recipients' rights in the Source Code
|
|
172
|
+
Form.
|
|
173
|
+
|
|
174
|
+
3.2. Distribution of Executable Form
|
|
175
|
+
|
|
176
|
+
If You distribute Covered Software in Executable Form then:
|
|
177
|
+
|
|
178
|
+
(a) such Covered Software must also be made available in Source Code
|
|
179
|
+
Form, as described in Section 3.1, and You must inform recipients of
|
|
180
|
+
the Executable Form how they can obtain a copy of such Source Code
|
|
181
|
+
Form by reasonable means in a timely manner, at a charge no more
|
|
182
|
+
than the cost of distribution to the recipient; and
|
|
183
|
+
|
|
184
|
+
(b) You may distribute such Executable Form under the terms of this
|
|
185
|
+
License, or sublicense it under different terms, provided that the
|
|
186
|
+
license for the Executable Form does not attempt to limit or alter
|
|
187
|
+
the recipients' rights in the Source Code Form under this License.
|
|
188
|
+
|
|
189
|
+
3.3. Distribution of a Larger Work
|
|
190
|
+
|
|
191
|
+
You may create and distribute a Larger Work under terms of Your choice,
|
|
192
|
+
provided that You also comply with the requirements of this License for
|
|
193
|
+
the Covered Software. If the Larger Work is a combination of Covered
|
|
194
|
+
Software with a work governed by one or more Secondary Licenses, and the
|
|
195
|
+
Covered Software is not Incompatible With Secondary Licenses, this
|
|
196
|
+
License permits You to additionally distribute such Covered Software
|
|
197
|
+
under the terms of such Secondary License(s), so that the recipient of
|
|
198
|
+
the Larger Work may, at their option, further distribute the Covered
|
|
199
|
+
Software under the terms of either this License or such Secondary
|
|
200
|
+
License(s).
|
|
201
|
+
|
|
202
|
+
3.4. Notices
|
|
203
|
+
|
|
204
|
+
You may not remove or alter the substance of any license notices
|
|
205
|
+
(including copyright notices, patent notices, disclaimers of warranty,
|
|
206
|
+
or limitations of liability) contained within the Source Code Form of
|
|
207
|
+
the Covered Software, except that You may alter any license notices to
|
|
208
|
+
the extent required to remedy known factual inaccuracies.
|
|
209
|
+
|
|
210
|
+
3.5. Application of Additional Terms
|
|
211
|
+
|
|
212
|
+
You may choose to offer, and to charge a fee for, warranty, support,
|
|
213
|
+
indemnity or liability obligations to one or more recipients of Covered
|
|
214
|
+
Software. However, You may do so only on Your own behalf, and not on
|
|
215
|
+
behalf of any Contributor. You must make it absolutely clear that any
|
|
216
|
+
such warranty, support, indemnity, or liability obligation is offered by
|
|
217
|
+
You alone, and You hereby agree to indemnify every Contributor for any
|
|
218
|
+
liability incurred by such Contributor as a result of warranty, support,
|
|
219
|
+
indemnity or liability terms You offer. You may include additional
|
|
220
|
+
disclaimers of warranty and limitations of liability specific to any
|
|
221
|
+
jurisdiction.
|
|
222
|
+
|
|
223
|
+
4. Inability to Comply Due to Statute or Regulation
|
|
224
|
+
|
|
225
|
+
---
|
|
226
|
+
|
|
227
|
+
If it is impossible for You to comply with any of the terms of this
|
|
228
|
+
License with respect to some or all of the Covered Software due to
|
|
229
|
+
statute, judicial order, or regulation then You must: (a) comply with
|
|
230
|
+
the terms of this License to the maximum extent possible; and (b)
|
|
231
|
+
describe the limitations and the code they affect. Such description must
|
|
232
|
+
be placed in a text file included with all distributions of the Covered
|
|
233
|
+
Software under this License. Except to the extent prohibited by statute
|
|
234
|
+
or regulation, such description must be sufficiently detailed for a
|
|
235
|
+
recipient of ordinary skill to be able to understand it.
|
|
236
|
+
|
|
237
|
+
5. Termination
|
|
238
|
+
|
|
239
|
+
---
|
|
240
|
+
|
|
241
|
+
5.1. The rights granted under this License will terminate automatically
|
|
242
|
+
if You fail to comply with any of its terms. However, if You become
|
|
243
|
+
compliant, then the rights granted under this License from a particular
|
|
244
|
+
Contributor are reinstated (a) provisionally, unless and until such
|
|
245
|
+
Contributor explicitly and finally terminates Your grants, and (b) on an
|
|
246
|
+
ongoing basis, if such Contributor fails to notify You of the
|
|
247
|
+
non-compliance by some reasonable means prior to 60 days after You have
|
|
248
|
+
come back into compliance. Moreover, Your grants from a particular
|
|
249
|
+
Contributor are reinstated on an ongoing basis if such Contributor
|
|
250
|
+
notifies You of the non-compliance by some reasonable means, this is the
|
|
251
|
+
first time You have received notice of non-compliance with this License
|
|
252
|
+
from such Contributor, and You become compliant prior to 30 days after
|
|
253
|
+
Your receipt of the notice.
|
|
254
|
+
|
|
255
|
+
5.2. If You initiate litigation against any entity by asserting a patent
|
|
256
|
+
infringement claim (excluding declaratory judgment actions,
|
|
257
|
+
counter-claims, and cross-claims) alleging that a Contributor Version
|
|
258
|
+
directly or indirectly infringes any patent, then the rights granted to
|
|
259
|
+
You by any and all Contributors for the Covered Software under Section
|
|
260
|
+
2.1 of this License shall terminate.
|
|
261
|
+
|
|
262
|
+
5.3. In the event of termination under Sections 5.1 or 5.2 above, all
|
|
263
|
+
end user license agreements (excluding distributors and resellers) which
|
|
264
|
+
have been validly granted by You or Your distributors under this License
|
|
265
|
+
prior to termination shall survive termination.
|
|
266
|
+
|
|
267
|
+
---
|
|
268
|
+
|
|
269
|
+
- *
|
|
270
|
+
- 6. Disclaimer of Warranty \*
|
|
271
|
+
- ------------------------- \*
|
|
272
|
+
- *
|
|
273
|
+
- Covered Software is provided under this License on an "as is" \*
|
|
274
|
+
- basis, without warranty of any kind, either expressed, implied, or \*
|
|
275
|
+
- statutory, including, without limitation, warranties that the \*
|
|
276
|
+
- Covered Software is free of defects, merchantable, fit for a \*
|
|
277
|
+
- particular purpose or non-infringing. The entire risk as to the \*
|
|
278
|
+
- quality and performance of the Covered Software is with You. \*
|
|
279
|
+
- Should any Covered Software prove defective in any respect, You \*
|
|
280
|
+
- (not any Contributor) assume the cost of any necessary servicing, \*
|
|
281
|
+
- repair, or correction. This disclaimer of warranty constitutes an \*
|
|
282
|
+
- essential part of this License. No use of any Covered Software is \*
|
|
283
|
+
- authorized under this License except under this disclaimer. \*
|
|
284
|
+
- *
|
|
285
|
+
|
|
286
|
+
---
|
|
287
|
+
|
|
288
|
+
---
|
|
289
|
+
|
|
290
|
+
- *
|
|
291
|
+
- 7. Limitation of Liability \*
|
|
292
|
+
- -------------------------- \*
|
|
293
|
+
- *
|
|
294
|
+
- Under no circumstances and under no legal theory, whether tort \*
|
|
295
|
+
- (including negligence), contract, or otherwise, shall any \*
|
|
296
|
+
- Contributor, or anyone who distributes Covered Software as \*
|
|
297
|
+
- permitted above, be liable to You for any direct, indirect, \*
|
|
298
|
+
- special, incidental, or consequential damages of any character \*
|
|
299
|
+
- including, without limitation, damages for lost profits, loss of \*
|
|
300
|
+
- goodwill, work stoppage, computer failure or malfunction, or any \*
|
|
301
|
+
- and all other commercial damages or losses, even if such party \*
|
|
302
|
+
- shall have been informed of the possibility of such damages. This \*
|
|
303
|
+
- limitation of liability shall not apply to liability for death or \*
|
|
304
|
+
- personal injury resulting from such party's negligence to the \*
|
|
305
|
+
- extent applicable law prohibits such limitation. Some \*
|
|
306
|
+
- jurisdictions do not allow the exclusion or limitation of \*
|
|
307
|
+
- incidental or consequential damages, so this exclusion and \*
|
|
308
|
+
- limitation may not apply to You. \*
|
|
309
|
+
- *
|
|
310
|
+
|
|
311
|
+
---
|
|
312
|
+
|
|
313
|
+
8. Litigation
|
|
314
|
+
|
|
315
|
+
---
|
|
316
|
+
|
|
317
|
+
Any litigation relating to this License may be brought only in the
|
|
318
|
+
courts of a jurisdiction where the defendant maintains its principal
|
|
319
|
+
place of business and such litigation shall be governed by laws of that
|
|
320
|
+
jurisdiction, without reference to its conflict-of-law provisions.
|
|
321
|
+
Nothing in this Section shall prevent a party's ability to bring
|
|
322
|
+
cross-claims or counter-claims.
|
|
323
|
+
|
|
324
|
+
9. Miscellaneous
|
|
325
|
+
|
|
326
|
+
---
|
|
327
|
+
|
|
328
|
+
This License represents the complete agreement concerning the subject
|
|
329
|
+
matter hereof. If any provision of this License is held to be
|
|
330
|
+
unenforceable, such provision shall be reformed only to the extent
|
|
331
|
+
necessary to make it enforceable. Any law or regulation which provides
|
|
332
|
+
that the language of a contract shall be construed against the drafter
|
|
333
|
+
shall not be used to construe this License against a Contributor.
|
|
334
|
+
|
|
335
|
+
10. Versions of the License
|
|
336
|
+
|
|
337
|
+
---
|
|
338
|
+
|
|
339
|
+
10.1. New Versions
|
|
340
|
+
|
|
341
|
+
Mozilla Foundation is the license steward. Except as provided in Section
|
|
342
|
+
10.3, no one other than the license steward has the right to modify or
|
|
343
|
+
publish new versions of this License. Each version will be given a
|
|
344
|
+
distinguishing version number.
|
|
345
|
+
|
|
346
|
+
10.2. Effect of New Versions
|
|
347
|
+
|
|
348
|
+
You may distribute the Covered Software under the terms of the version
|
|
349
|
+
of the License under which You originally received the Covered Software,
|
|
350
|
+
or under the terms of any subsequent version published by the license
|
|
351
|
+
steward.
|
|
352
|
+
|
|
353
|
+
10.3. Modified Versions
|
|
354
|
+
|
|
355
|
+
If you create software not governed by this License, and you want to
|
|
356
|
+
create a new license for such software, you may create and use a
|
|
357
|
+
modified version of this License if you rename the license and remove
|
|
358
|
+
any references to the name of the license steward (except to note that
|
|
359
|
+
such modified license differs from this License).
|
|
360
|
+
|
|
361
|
+
10.4. Distributing Source Code Form that is Incompatible With Secondary
|
|
362
|
+
Licenses
|
|
363
|
+
|
|
364
|
+
If You choose to distribute Source Code Form that is Incompatible With
|
|
365
|
+
Secondary Licenses under the terms of this version of the License, the
|
|
366
|
+
notice described in Exhibit B of this License must be attached.
|
|
367
|
+
|
|
368
|
+
## Exhibit A - Source Code Form License Notice
|
|
369
|
+
|
|
370
|
+
This Source Code Form is subject to the terms of the Mozilla Public
|
|
371
|
+
License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
372
|
+
file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
373
|
+
|
|
374
|
+
If it is not possible or desirable to put the notice in a particular
|
|
375
|
+
file, then You may include the notice in a location (such as a LICENSE
|
|
376
|
+
file in a relevant directory) where a recipient would be likely to look
|
|
377
|
+
for such a notice.
|
|
378
|
+
|
|
379
|
+
You may add additional accurate notices of copyright ownership.
|
|
380
|
+
|
|
381
|
+
## Exhibit B - "Incompatible With Secondary Licenses" Notice
|
|
382
|
+
|
|
383
|
+
This Source Code Form is "Incompatible With Secondary Licenses", as
|
|
384
|
+
defined by the Mozilla Public License, v. 2.0.
|
package/dist/toolbar/config.js
CHANGED
|
@@ -5,18 +5,18 @@ import { BlockFlavourIdentifier } from '@formicoidea/labre-core/std';
|
|
|
5
5
|
import { html, nothing } from 'lit';
|
|
6
6
|
import { C4_BOARD_LEVEL_MENU } from '../levels.js';
|
|
7
7
|
import { c4ExportMermaidIcon } from './icons.js';
|
|
8
|
-
const ResizeIcon = html `<svg
|
|
9
|
-
width="24"
|
|
10
|
-
height="24"
|
|
11
|
-
viewBox="0 0 24 24"
|
|
12
|
-
fill="none"
|
|
13
|
-
stroke="currentColor"
|
|
14
|
-
stroke-width="1.6"
|
|
15
|
-
stroke-linecap="round"
|
|
16
|
-
stroke-linejoin="round"
|
|
17
|
-
>
|
|
18
|
-
<path d="M9 5H5v4M15 19h4v-4" />
|
|
19
|
-
<path d="M5 5l6 6M19 19l-6-6" />
|
|
8
|
+
const ResizeIcon = html `<svg
|
|
9
|
+
width="24"
|
|
10
|
+
height="24"
|
|
11
|
+
viewBox="0 0 24 24"
|
|
12
|
+
fill="none"
|
|
13
|
+
stroke="currentColor"
|
|
14
|
+
stroke-width="1.6"
|
|
15
|
+
stroke-linecap="round"
|
|
16
|
+
stroke-linejoin="round"
|
|
17
|
+
>
|
|
18
|
+
<path d="M9 5H5v4M15 19h4v-4" />
|
|
19
|
+
<path d="M5 5l6 6M19 19l-6-6" />
|
|
20
20
|
</svg>`;
|
|
21
21
|
/**
|
|
22
22
|
* The two glyphs the level picker needs, drawn inline rather than pulled from
|
|
@@ -25,34 +25,34 @@ const ResizeIcon = html `<svg
|
|
|
25
25
|
* `validation-toolbar.ts` makes for its own tick, and the same call
|
|
26
26
|
* {@link ResizeIcon} above already makes.
|
|
27
27
|
*/
|
|
28
|
-
const ChevronDownIcon = html `<svg
|
|
29
|
-
width="16"
|
|
30
|
-
height="16"
|
|
31
|
-
viewBox="0 0 24 24"
|
|
32
|
-
fill="none"
|
|
33
|
-
stroke="currentColor"
|
|
34
|
-
stroke-width="2"
|
|
35
|
-
stroke-linecap="round"
|
|
36
|
-
stroke-linejoin="round"
|
|
37
|
-
>
|
|
38
|
-
<path d="M6 9l6 6 6-6" />
|
|
28
|
+
const ChevronDownIcon = html `<svg
|
|
29
|
+
width="16"
|
|
30
|
+
height="16"
|
|
31
|
+
viewBox="0 0 24 24"
|
|
32
|
+
fill="none"
|
|
33
|
+
stroke="currentColor"
|
|
34
|
+
stroke-width="2"
|
|
35
|
+
stroke-linecap="round"
|
|
36
|
+
stroke-linejoin="round"
|
|
37
|
+
>
|
|
38
|
+
<path d="M6 9l6 6 6-6" />
|
|
39
39
|
</svg>`;
|
|
40
40
|
/**
|
|
41
41
|
* The tick on the level in force — inline, this package carrying no icon
|
|
42
42
|
* dependency. Rendered at the END of the row and only when selected, the row
|
|
43
43
|
* itself wearing `data-option` for the native geometry and the primary colour.
|
|
44
44
|
*/
|
|
45
|
-
const CheckIcon = html `<svg
|
|
46
|
-
width="20"
|
|
47
|
-
height="20"
|
|
48
|
-
viewBox="0 0 24 24"
|
|
49
|
-
fill="none"
|
|
50
|
-
stroke="currentColor"
|
|
51
|
-
stroke-width="2"
|
|
52
|
-
stroke-linecap="round"
|
|
53
|
-
stroke-linejoin="round"
|
|
54
|
-
>
|
|
55
|
-
<path d="M5 12.5l4.5 4.5L19 7.5" />
|
|
45
|
+
const CheckIcon = html `<svg
|
|
46
|
+
width="20"
|
|
47
|
+
height="20"
|
|
48
|
+
viewBox="0 0 24 24"
|
|
49
|
+
fill="none"
|
|
50
|
+
stroke="currentColor"
|
|
51
|
+
stroke-width="2"
|
|
52
|
+
stroke-linecap="round"
|
|
53
|
+
stroke-linejoin="round"
|
|
54
|
+
>
|
|
55
|
+
<path d="M5 12.5l4.5 4.5L19 7.5" />
|
|
56
56
|
</svg>`;
|
|
57
57
|
/**
|
|
58
58
|
* The selected C4 board's contextual toolbar: the resize toggle, and the
|
|
@@ -243,50 +243,50 @@ const levelPickerAction = {
|
|
|
243
243
|
undefined;
|
|
244
244
|
const options = C4_BOARD_LEVEL_MENU.options.map(option => {
|
|
245
245
|
const selected = option.level === board.level;
|
|
246
|
-
return html `<editor-menu-action
|
|
247
|
-
data-option
|
|
248
|
-
data-testid="c4-level-option"
|
|
249
|
-
data-level=${option.level ?? 'none'}
|
|
250
|
-
data-selected=${selected ? 'true' : nothing}
|
|
251
|
-
aria-label=${wordsFor(option)}
|
|
252
|
-
aria-pressed=${selected}
|
|
253
|
-
@click=${() => pickLevel(ctx, option)}
|
|
254
|
-
>
|
|
255
|
-
<span class="label">${wordsFor(option)}</span>
|
|
256
|
-
${selected ? CheckIcon : nothing}
|
|
246
|
+
return html `<editor-menu-action
|
|
247
|
+
data-option
|
|
248
|
+
data-testid="c4-level-option"
|
|
249
|
+
data-level=${option.level ?? 'none'}
|
|
250
|
+
data-selected=${selected ? 'true' : nothing}
|
|
251
|
+
aria-label=${wordsFor(option)}
|
|
252
|
+
aria-pressed=${selected}
|
|
253
|
+
@click=${() => pickLevel(ctx, option)}
|
|
254
|
+
>
|
|
255
|
+
<span class="label">${wordsFor(option)}</span>
|
|
256
|
+
${selected ? CheckIcon : nothing}
|
|
257
257
|
</editor-menu-action>`;
|
|
258
258
|
});
|
|
259
|
-
return html `<editor-menu-button
|
|
260
|
-
data-testid="c4-level-entry"
|
|
261
|
-
.contentPadding=${'8px'}
|
|
262
|
-
.button=${html `
|
|
263
|
-
<editor-icon-button
|
|
264
|
-
data-testid="c4-level-button"
|
|
265
|
-
aria-label=${menuLabel}
|
|
266
|
-
.tooltip=${menuLabel}
|
|
267
|
-
.justify=${'space-between'}
|
|
268
|
-
.labelHeight=${'20px'}
|
|
269
|
-
>
|
|
270
|
-
<span class="label"
|
|
271
|
-
>${current === undefined ? menuLabel : wordsFor(current)}</span
|
|
272
|
-
>
|
|
273
|
-
${ChevronDownIcon}
|
|
274
|
-
</editor-icon-button>
|
|
275
|
-
`}
|
|
276
|
-
>
|
|
277
|
-
<div
|
|
278
|
-
data-testid="c4-level-menu"
|
|
279
|
-
data-orientation="vertical"
|
|
280
|
-
data-size="large"
|
|
281
|
-
>
|
|
282
|
-
<div
|
|
283
|
-
role="group"
|
|
284
|
-
aria-label=${menuLabel}
|
|
285
|
-
style="display: flex; flex-direction: column;"
|
|
286
|
-
>
|
|
287
|
-
${options}
|
|
288
|
-
</div>
|
|
289
|
-
</div>
|
|
259
|
+
return html `<editor-menu-button
|
|
260
|
+
data-testid="c4-level-entry"
|
|
261
|
+
.contentPadding=${'8px'}
|
|
262
|
+
.button=${html `
|
|
263
|
+
<editor-icon-button
|
|
264
|
+
data-testid="c4-level-button"
|
|
265
|
+
aria-label=${menuLabel}
|
|
266
|
+
.tooltip=${menuLabel}
|
|
267
|
+
.justify=${'space-between'}
|
|
268
|
+
.labelHeight=${'20px'}
|
|
269
|
+
>
|
|
270
|
+
<span class="label"
|
|
271
|
+
>${current === undefined ? menuLabel : wordsFor(current)}</span
|
|
272
|
+
>
|
|
273
|
+
${ChevronDownIcon}
|
|
274
|
+
</editor-icon-button>
|
|
275
|
+
`}
|
|
276
|
+
>
|
|
277
|
+
<div
|
|
278
|
+
data-testid="c4-level-menu"
|
|
279
|
+
data-orientation="vertical"
|
|
280
|
+
data-size="large"
|
|
281
|
+
>
|
|
282
|
+
<div
|
|
283
|
+
role="group"
|
|
284
|
+
aria-label=${menuLabel}
|
|
285
|
+
style="display: flex; flex-direction: column;"
|
|
286
|
+
>
|
|
287
|
+
${options}
|
|
288
|
+
</div>
|
|
289
|
+
</div>
|
|
290
290
|
</editor-menu-button>`;
|
|
291
291
|
},
|
|
292
292
|
};
|
package/dist/toolbar/icons.js
CHANGED
|
@@ -8,92 +8,92 @@ import { svg } from 'lit';
|
|
|
8
8
|
* menu row and takes the row's colour; the tile is the framework's face on the
|
|
9
9
|
* toolbar and is painted in the palette the pack draws with (`consts.ts`).
|
|
10
10
|
*/
|
|
11
|
-
export const c4ToolbarIcon = svg `
|
|
12
|
-
<svg viewBox="0 0 56 56" width="100%" height="100%" fill="none"
|
|
13
|
-
xmlns="http://www.w3.org/2000/svg">
|
|
14
|
-
<circle cx="13" cy="10.5" r="5" fill="#08427b"/>
|
|
15
|
-
<rect x="5" y="16.5" width="16" height="11" rx="5.5" fill="#08427b"/>
|
|
16
|
-
<path d="M12.5 28.5 L19.4 33.8" stroke="#08427b" stroke-width="2"
|
|
17
|
-
stroke-dasharray="3 3" stroke-linecap="round"/>
|
|
18
|
-
<path d="M23 36.5 L18.1 35.6 L20.7 32 Z" fill="#08427b"/>
|
|
19
|
-
<rect x="24" y="22" width="27" height="28" rx="4" fill="#1168bd"/>
|
|
20
|
-
<rect x="28" y="27" width="12" height="8" rx="2" fill="#438dd5"/>
|
|
21
|
-
<rect x="42" y="27" width="5" height="8" rx="2" fill="#438dd5"/>
|
|
22
|
-
<rect x="28" y="39" width="19" height="7" rx="2" fill="#85bbf0"/>
|
|
23
|
-
</svg>
|
|
11
|
+
export const c4ToolbarIcon = svg `
|
|
12
|
+
<svg viewBox="0 0 56 56" width="100%" height="100%" fill="none"
|
|
13
|
+
xmlns="http://www.w3.org/2000/svg">
|
|
14
|
+
<circle cx="13" cy="10.5" r="5" fill="#08427b"/>
|
|
15
|
+
<rect x="5" y="16.5" width="16" height="11" rx="5.5" fill="#08427b"/>
|
|
16
|
+
<path d="M12.5 28.5 L19.4 33.8" stroke="#08427b" stroke-width="2"
|
|
17
|
+
stroke-dasharray="3 3" stroke-linecap="round"/>
|
|
18
|
+
<path d="M23 36.5 L18.1 35.6 L20.7 32 Z" fill="#08427b"/>
|
|
19
|
+
<rect x="24" y="22" width="27" height="28" rx="4" fill="#1168bd"/>
|
|
20
|
+
<rect x="28" y="27" width="12" height="8" rx="2" fill="#438dd5"/>
|
|
21
|
+
<rect x="42" y="27" width="5" height="8" rx="2" fill="#438dd5"/>
|
|
22
|
+
<rect x="28" y="39" width="19" height="7" rx="2" fill="#85bbf0"/>
|
|
23
|
+
</svg>
|
|
24
24
|
`;
|
|
25
25
|
/* ── The four levels ───────────────────────────────────────────────────── */
|
|
26
26
|
/** Person — a head over a rounded body, the stencil's own silhouette. */
|
|
27
|
-
export const c4PersonIcon = svg `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
28
|
-
<circle cx="12" cy="7" r="3.2" stroke="currentColor" stroke-width="1.6"/>
|
|
29
|
-
<rect x="5.5" y="12" width="13" height="8" rx="4" stroke="currentColor" stroke-width="1.6"/>
|
|
27
|
+
export const c4PersonIcon = svg `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
28
|
+
<circle cx="12" cy="7" r="3.2" stroke="currentColor" stroke-width="1.6"/>
|
|
29
|
+
<rect x="5.5" y="12" width="13" height="8" rx="4" stroke="currentColor" stroke-width="1.6"/>
|
|
30
30
|
</svg>`;
|
|
31
31
|
/**
|
|
32
32
|
* Person (external) — the same silhouette, DASHED. The stencil greys an
|
|
33
33
|
* external element out; a monochrome glyph has no grey to spend, so the dash is
|
|
34
34
|
* what carries "somebody else owns this" here.
|
|
35
35
|
*/
|
|
36
|
-
export const c4PersonExtIcon = svg `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
37
|
-
<circle cx="12" cy="7" r="3.2" stroke="currentColor" stroke-width="1.6" stroke-dasharray="2.6 2"/>
|
|
38
|
-
<rect x="5.5" y="12" width="13" height="8" rx="4" stroke="currentColor" stroke-width="1.6" stroke-dasharray="2.6 2"/>
|
|
36
|
+
export const c4PersonExtIcon = svg `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
37
|
+
<circle cx="12" cy="7" r="3.2" stroke="currentColor" stroke-width="1.6" stroke-dasharray="2.6 2"/>
|
|
38
|
+
<rect x="5.5" y="12" width="13" height="8" rx="4" stroke="currentColor" stroke-width="1.6" stroke-dasharray="2.6 2"/>
|
|
39
39
|
</svg>`;
|
|
40
40
|
/** Software system — a plain rounded rectangle, which is what C4 draws. */
|
|
41
|
-
export const c4SystemIcon = svg `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
42
|
-
<rect x="3.5" y="6" width="17" height="12" rx="2.5" stroke="currentColor" stroke-width="1.6"/>
|
|
41
|
+
export const c4SystemIcon = svg `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
42
|
+
<rect x="3.5" y="6" width="17" height="12" rx="2.5" stroke="currentColor" stroke-width="1.6"/>
|
|
43
43
|
</svg>`;
|
|
44
44
|
/** Software system (external) — the same rectangle, dashed. */
|
|
45
|
-
export const c4SystemExtIcon = svg `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
46
|
-
<rect x="3.5" y="6" width="17" height="12" rx="2.5" stroke="currentColor" stroke-width="1.6" stroke-dasharray="2.6 2"/>
|
|
45
|
+
export const c4SystemExtIcon = svg `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
46
|
+
<rect x="3.5" y="6" width="17" height="12" rx="2.5" stroke="currentColor" stroke-width="1.6" stroke-dasharray="2.6 2"/>
|
|
47
47
|
</svg>`;
|
|
48
48
|
/** Container — a box INSIDE a box: one level in from the system. */
|
|
49
|
-
export const c4ContainerIcon = svg `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
50
|
-
<rect x="2.5" y="4.5" width="19" height="15" rx="2.5" stroke="currentColor" stroke-width="1.6"/>
|
|
51
|
-
<rect x="6.5" y="8.5" width="11" height="7" rx="1.8" stroke="currentColor" stroke-width="1.4"/>
|
|
49
|
+
export const c4ContainerIcon = svg `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
50
|
+
<rect x="2.5" y="4.5" width="19" height="15" rx="2.5" stroke="currentColor" stroke-width="1.6"/>
|
|
51
|
+
<rect x="6.5" y="8.5" width="11" height="7" rx="1.8" stroke="currentColor" stroke-width="1.4"/>
|
|
52
52
|
</svg>`;
|
|
53
53
|
/** Component — the UML component: a box with two tabs down its leading edge. */
|
|
54
|
-
export const c4ComponentIcon = svg `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
55
|
-
<rect x="6" y="5.5" width="14.5" height="13" rx="1.8" stroke="currentColor" stroke-width="1.6"/>
|
|
56
|
-
<rect x="3.5" y="8" width="5" height="3" stroke="currentColor" stroke-width="1.3"/>
|
|
57
|
-
<rect x="3.5" y="13" width="5" height="3" stroke="currentColor" stroke-width="1.3"/>
|
|
54
|
+
export const c4ComponentIcon = svg `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
55
|
+
<rect x="6" y="5.5" width="14.5" height="13" rx="1.8" stroke="currentColor" stroke-width="1.6"/>
|
|
56
|
+
<rect x="3.5" y="8" width="5" height="3" stroke="currentColor" stroke-width="1.3"/>
|
|
57
|
+
<rect x="3.5" y="13" width="5" height="3" stroke="currentColor" stroke-width="1.3"/>
|
|
58
58
|
</svg>`;
|
|
59
59
|
/* ── The container flavours the stencil gives a silhouette of their own ─── */
|
|
60
60
|
/** Database — a cylinder. */
|
|
61
|
-
export const c4DatabaseIcon = svg `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
62
|
-
<path d="M4.5 7 V17 C4.5 18.4 8 19.5 12 19.5 C16 19.5 19.5 18.4 19.5 17 V7" stroke="currentColor" stroke-width="1.6" stroke-linejoin="round"/>
|
|
63
|
-
<ellipse cx="12" cy="7" rx="7.5" ry="2.5" stroke="currentColor" stroke-width="1.6"/>
|
|
61
|
+
export const c4DatabaseIcon = svg `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
62
|
+
<path d="M4.5 7 V17 C4.5 18.4 8 19.5 12 19.5 C16 19.5 19.5 18.4 19.5 17 V7" stroke="currentColor" stroke-width="1.6" stroke-linejoin="round"/>
|
|
63
|
+
<ellipse cx="12" cy="7" rx="7.5" ry="2.5" stroke="currentColor" stroke-width="1.6"/>
|
|
64
64
|
</svg>`;
|
|
65
65
|
/** Mobile app — a phone: a tall bezel with a speaker slot and a home bar. */
|
|
66
|
-
export const c4MobileIcon = svg `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
67
|
-
<rect x="7" y="2.5" width="10" height="19" rx="2.2" stroke="currentColor" stroke-width="1.6"/>
|
|
68
|
-
<path d="M10.5 5.2 H13.5" stroke="currentColor" stroke-width="1.3" stroke-linecap="round"/>
|
|
69
|
-
<path d="M10 18.8 H14" stroke="currentColor" stroke-width="1.3" stroke-linecap="round"/>
|
|
66
|
+
export const c4MobileIcon = svg `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
67
|
+
<rect x="7" y="2.5" width="10" height="19" rx="2.2" stroke="currentColor" stroke-width="1.6"/>
|
|
68
|
+
<path d="M10.5 5.2 H13.5" stroke="currentColor" stroke-width="1.3" stroke-linecap="round"/>
|
|
69
|
+
<path d="M10 18.8 H14" stroke="currentColor" stroke-width="1.3" stroke-linecap="round"/>
|
|
70
70
|
</svg>`;
|
|
71
71
|
/** Web browser — a window with a chrome band and its three dots. */
|
|
72
|
-
export const c4BrowserIcon = svg `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
73
|
-
<rect x="2.5" y="4.5" width="19" height="15" rx="2.2" stroke="currentColor" stroke-width="1.6"/>
|
|
74
|
-
<path d="M2.5 9 H21.5" stroke="currentColor" stroke-width="1.4"/>
|
|
75
|
-
<circle cx="5.6" cy="6.8" r="0.85" fill="currentColor"/>
|
|
76
|
-
<circle cx="8.3" cy="6.8" r="0.85" fill="currentColor"/>
|
|
77
|
-
<circle cx="11" cy="6.8" r="0.85" fill="currentColor"/>
|
|
72
|
+
export const c4BrowserIcon = svg `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
73
|
+
<rect x="2.5" y="4.5" width="19" height="15" rx="2.2" stroke="currentColor" stroke-width="1.6"/>
|
|
74
|
+
<path d="M2.5 9 H21.5" stroke="currentColor" stroke-width="1.4"/>
|
|
75
|
+
<circle cx="5.6" cy="6.8" r="0.85" fill="currentColor"/>
|
|
76
|
+
<circle cx="8.3" cy="6.8" r="0.85" fill="currentColor"/>
|
|
77
|
+
<circle cx="11" cy="6.8" r="0.85" fill="currentColor"/>
|
|
78
78
|
</svg>`;
|
|
79
79
|
/* ── The connecting object ─────────────────────────────────────────────── */
|
|
80
80
|
/** Relationship — a dashed arrow with a filled head, exactly as it is drawn. */
|
|
81
|
-
export const c4RelationshipIcon = svg `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
82
|
-
<path d="M3 12 H15.5" stroke="currentColor" stroke-width="1.8" stroke-dasharray="3 2.6" stroke-linecap="round"/>
|
|
83
|
-
<path d="M14.5 8.2 L21 12 L14.5 15.8 Z" fill="currentColor"/>
|
|
81
|
+
export const c4RelationshipIcon = svg `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
82
|
+
<path d="M3 12 H15.5" stroke="currentColor" stroke-width="1.8" stroke-dasharray="3 2.6" stroke-linecap="round"/>
|
|
83
|
+
<path d="M14.5 8.2 L21 12 L14.5 15.8 Z" fill="currentColor"/>
|
|
84
84
|
</svg>`;
|
|
85
85
|
/* ── The two frames ────────────────────────────────────────────────────── */
|
|
86
86
|
/** C4 board — a titled card with two elements and the arrow between them. */
|
|
87
|
-
export const c4BoardIcon = svg `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
88
|
-
<rect x="2.5" y="3.5" width="19" height="17" rx="2" stroke="currentColor" stroke-width="1.6"/>
|
|
89
|
-
<path d="M5.5 7 H12" stroke="currentColor" stroke-width="1.4" stroke-linecap="round"/>
|
|
90
|
-
<rect x="5.5" y="10" width="6" height="4" rx="1" stroke="currentColor" stroke-width="1.3"/>
|
|
91
|
-
<rect x="13" y="14" width="6" height="4" rx="1" stroke="currentColor" stroke-width="1.3"/>
|
|
92
|
-
<path d="M11.5 13 L13.5 14.6" stroke="currentColor" stroke-width="1.2" stroke-dasharray="2 1.6"/>
|
|
87
|
+
export const c4BoardIcon = svg `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
88
|
+
<rect x="2.5" y="3.5" width="19" height="17" rx="2" stroke="currentColor" stroke-width="1.6"/>
|
|
89
|
+
<path d="M5.5 7 H12" stroke="currentColor" stroke-width="1.4" stroke-linecap="round"/>
|
|
90
|
+
<rect x="5.5" y="10" width="6" height="4" rx="1" stroke="currentColor" stroke-width="1.3"/>
|
|
91
|
+
<rect x="13" y="14" width="6" height="4" rx="1" stroke="currentColor" stroke-width="1.3"/>
|
|
92
|
+
<path d="M11.5 13 L13.5 14.6" stroke="currentColor" stroke-width="1.2" stroke-dasharray="2 1.6"/>
|
|
93
93
|
</svg>`;
|
|
94
94
|
/** System boundary — a dashed rectangle, and nothing inside it to see. */
|
|
95
|
-
export const c4SystemBoundaryIcon = svg `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
96
|
-
<rect x="2.5" y="4.5" width="19" height="15" rx="2" stroke="currentColor" stroke-width="1.6" stroke-dasharray="3.2 2.4"/>
|
|
95
|
+
export const c4SystemBoundaryIcon = svg `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
96
|
+
<rect x="2.5" y="4.5" width="19" height="15" rx="2" stroke="currentColor" stroke-width="1.6" stroke-dasharray="3.2 2.4"/>
|
|
97
97
|
</svg>`;
|
|
98
98
|
/**
|
|
99
99
|
* Container boundary — the same dashed rectangle, one level IN: a second,
|
|
@@ -101,9 +101,9 @@ export const c4SystemBoundaryIcon = svg `<svg width="24" height="24" viewBox="0
|
|
|
101
101
|
* relate on the canvas, which is the only difference the notation makes between
|
|
102
102
|
* them.
|
|
103
103
|
*/
|
|
104
|
-
export const c4ContainerBoundaryIcon = svg `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
105
|
-
<rect x="2.5" y="4.5" width="19" height="15" rx="2" stroke="currentColor" stroke-width="1.6" stroke-dasharray="3.2 2.4"/>
|
|
106
|
-
<rect x="6.5" y="8" width="11" height="8" rx="1.6" stroke="currentColor" stroke-width="1.3" stroke-dasharray="2.4 1.8"/>
|
|
104
|
+
export const c4ContainerBoundaryIcon = svg `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
105
|
+
<rect x="2.5" y="4.5" width="19" height="15" rx="2" stroke="currentColor" stroke-width="1.6" stroke-dasharray="3.2 2.4"/>
|
|
106
|
+
<rect x="6.5" y="8" width="11" height="8" rx="1.6" stroke="currentColor" stroke-width="1.3" stroke-dasharray="2.4 1.8"/>
|
|
107
107
|
</svg>`;
|
|
108
108
|
/* ── The gesture that takes a board away ───────────────────────────────── */
|
|
109
109
|
/**
|
|
@@ -119,10 +119,10 @@ export const c4ContainerBoundaryIcon = svg `<svg width="24" height="24" viewBox=
|
|
|
119
119
|
* private module: a cross-framework import for one path would tie the C4 pack's
|
|
120
120
|
* build to BPMN's, and the two are meant to ship separately.
|
|
121
121
|
*/
|
|
122
|
-
export const c4ExportMermaidIcon = svg `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
123
|
-
<path d="M13.5 3.5H7a1.5 1.5 0 0 0-1.5 1.5v14A1.5 1.5 0 0 0 7 20.5h3" stroke="currentColor" stroke-width="1.5" stroke-linecap="round"/>
|
|
124
|
-
<path d="M13.5 3.5 18.5 8.5V12" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
125
|
-
<path d="M16 20.5v-6M13.5 18l2.5 2.5 2.5-2.5" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
122
|
+
export const c4ExportMermaidIcon = svg `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
123
|
+
<path d="M13.5 3.5H7a1.5 1.5 0 0 0-1.5 1.5v14A1.5 1.5 0 0 0 7 20.5h3" stroke="currentColor" stroke-width="1.5" stroke-linecap="round"/>
|
|
124
|
+
<path d="M13.5 3.5 18.5 8.5V12" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
125
|
+
<path d="M16 20.5v-6M13.5 18l2.5 2.5 2.5-2.5" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
126
126
|
</svg>`;
|
|
127
127
|
/**
|
|
128
128
|
* Every command glyph, keyed by its `iconKey`.
|
|
@@ -4,8 +4,8 @@ export const c4SeniorTool = SeniorToolExtension('c4', ({ block }) => {
|
|
|
4
4
|
return {
|
|
5
5
|
name: 'C4 model',
|
|
6
6
|
labelKey: 'com.labre.framework.c4',
|
|
7
|
-
content: html `<edgeless-c4-senior-button
|
|
8
|
-
.edgeless=${block}
|
|
7
|
+
content: html `<edgeless-c4-senior-button
|
|
8
|
+
.edgeless=${block}
|
|
9
9
|
></edgeless-c4-senior-button>`,
|
|
10
10
|
};
|
|
11
11
|
});
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@formicoidea/labre-framework-c4",
|
|
3
3
|
"description": "Labre c4 framework for @formicoidea/labre-core.",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.5.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": false,
|
|
7
7
|
"author": "lajola",
|
|
@@ -35,8 +35,8 @@
|
|
|
35
35
|
"dist"
|
|
36
36
|
],
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@formicoidea/labre-core": "3.
|
|
39
|
-
"@formicoidea/labre-ddd-shared": "3.
|
|
38
|
+
"@formicoidea/labre-core": "3.5.0",
|
|
39
|
+
"@formicoidea/labre-ddd-shared": "3.5.0",
|
|
40
40
|
"lit": "^3.2.0"
|
|
41
41
|
}
|
|
42
42
|
}
|