@shipengine/elements 1.1.1 → 1.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (43) hide show
  1. package/index.cjs +5018 -4293
  2. package/index.js +5019 -4304
  3. package/package.json +3 -3
  4. package/src/components/code-block/code-block.d.ts +6 -0
  5. package/src/components/code-block/index.d.ts +1 -0
  6. package/src/components/drawer/drawer.d.ts +9 -0
  7. package/src/components/drawer/drawer.styles.d.ts +28 -0
  8. package/src/components/drawer/index.d.ts +1 -0
  9. package/src/components/field/date-picker/date-picker.d.ts +2 -2
  10. package/src/components/grid-controller/grid-controller.d.ts +4 -12
  11. package/src/components/grid-controller/grid-controller.styles.d.ts +2 -52
  12. package/src/components/index.d.ts +7 -3
  13. package/src/components/pager/index.d.ts +2 -0
  14. package/src/components/pager/pager.d.ts +10 -0
  15. package/src/components/pager/pager.styles.d.ts +44 -0
  16. package/src/components/pager/usePager.d.ts +10 -0
  17. package/src/components/tabs/index.d.ts +1 -0
  18. package/src/components/tabs/tabs.d.ts +7 -0
  19. package/src/components/tabs/tabs.styles.d.ts +20 -0
  20. package/src/components/templates/index.d.ts +4 -3
  21. package/src/components/templates/theme-creator/color-palette-editor/color-palette-editor.d.ts +8 -0
  22. package/src/components/templates/theme-creator/color-palette-editor/color-palette-editor.styles.d.ts +49 -0
  23. package/src/components/templates/theme-creator/color-palette-editor/index.d.ts +1 -0
  24. package/src/components/templates/theme-creator/index.d.ts +3 -0
  25. package/src/components/templates/theme-creator/theme-creator.d.ts +10 -0
  26. package/src/components/templates/theme-creator/theme-creator.styles.d.ts +71 -0
  27. package/src/components/templates/theme-creator/typography-editor/index.d.ts +1 -0
  28. package/src/components/templates/theme-creator/typography-editor/typography-editor.d.ts +8 -0
  29. package/src/components/templates/theme-creator/typography-editor/typography-editor.styles.d.ts +36 -0
  30. package/src/elements/index.d.ts +2 -1
  31. package/src/elements/shipments-grid/index.d.ts +1 -1
  32. package/src/elements/shipments-grid/shipments-grid.d.ts +688 -0
  33. package/src/elements/theme-creator/index.d.ts +2 -0
  34. package/src/elements/theme-creator/theme-creator-provider.d.ts +12 -0
  35. package/src/elements/theme-creator/theme-creator.d.ts +694 -0
  36. package/src/elements/theme-creator/themeData/index.d.ts +1 -0
  37. package/src/elements/theme-creator/themeData/themeData.d.ts +3 -0
  38. package/src/utilities/{string.d.ts → formatString.d.ts} +2 -0
  39. package/src/utilities/index.d.ts +1 -1
  40. package/src/components/grid-controller/hooks/use-grid.d.ts +0 -43
  41. package/src/components/templates/shipments-grid/index.d.ts +0 -1
  42. package/src/components/templates/shipments-grid/shipments-grid.d.ts +0 -14
  43. package/src/elements/shipments-grid/shipmets-grid.d.ts +0 -1
@@ -0,0 +1,688 @@
1
+ import { Shipment, ShipmentStatus } from "@shipengine/alchemy";
2
+ type ShipmentsGridProps = {
3
+ onRowClick?: (data: Shipment) => void;
4
+ shipmentStatus?: ShipmentStatus;
5
+ };
6
+ export declare const Element: ({ resources, ...props }: ShipmentsGridProps & {
7
+ resources?: {
8
+ en: {
9
+ "wallet-history": {
10
+ actions: {
11
+ downloadCsv: string;
12
+ chooseDate: string;
13
+ };
14
+ dateRange: string;
15
+ historyOptions: {
16
+ custom: string;
17
+ last30days: string;
18
+ thisMonth: string;
19
+ lastMonth: string;
20
+ };
21
+ };
22
+ "void-label": {
23
+ title: string;
24
+ actions: {
25
+ complete: string;
26
+ confirmVoid: string;
27
+ viewShipment: string;
28
+ };
29
+ errorMessages: {
30
+ labelIdRequired: string;
31
+ };
32
+ resultMessages: {
33
+ approved: string;
34
+ rejected: string;
35
+ };
36
+ refund_process: string;
37
+ refund_rules: string;
38
+ resultTitles: {
39
+ approved: string;
40
+ rejected: string;
41
+ };
42
+ voidedOn: string;
43
+ };
44
+ "view-shipment": {
45
+ title: string;
46
+ actions: {
47
+ buyAnotherLabel: string;
48
+ hideItems: string;
49
+ printForms: string;
50
+ printLabel: string;
51
+ schedulePickup: string;
52
+ showItems: string;
53
+ void: string;
54
+ };
55
+ fields: {
56
+ dimensions: string;
57
+ estimatedShipping: string;
58
+ items: string;
59
+ orderDate: string;
60
+ orderValue: string;
61
+ requestedShipping: string;
62
+ shipDate: string;
63
+ shipTo: string;
64
+ warehouse: string;
65
+ weight: string;
66
+ insuredValue: string;
67
+ deliveryConfirmation: string;
68
+ };
69
+ highVolumeForms: string;
70
+ multipleShippingServices: string;
71
+ sections: {
72
+ labels: string;
73
+ };
74
+ noLabels: string;
75
+ };
76
+ "register-wallet": {
77
+ sections: {
78
+ setup: {
79
+ title: string;
80
+ subtitle: string;
81
+ descriptionTitle: string;
82
+ description: string;
83
+ };
84
+ billing: {
85
+ title: string;
86
+ cardSubTitle: string;
87
+ addressSubTitle: string;
88
+ info: string;
89
+ };
90
+ carriers: {
91
+ title: string;
92
+ subtitle: string;
93
+ };
94
+ notifications: {
95
+ error: {
96
+ title: string;
97
+ };
98
+ info: {
99
+ title: string;
100
+ description: string;
101
+ };
102
+ poBox: {
103
+ title: string;
104
+ description: string;
105
+ };
106
+ carrier: {
107
+ title: string;
108
+ confirmAddress: string;
109
+ description: string;
110
+ };
111
+ blackBox: {
112
+ description: string;
113
+ };
114
+ };
115
+ };
116
+ settings: {
117
+ title: string;
118
+ billing: {
119
+ title: string;
120
+ subtitleCard: string;
121
+ subtitleBilling: string;
122
+ };
123
+ };
124
+ };
125
+ "register-carrier": {
126
+ formTitle: string;
127
+ agreeToTerms: string;
128
+ };
129
+ "purchase-label": {
130
+ title: string;
131
+ actions: {
132
+ calculateRates_one: string;
133
+ calculateRates_other: string;
134
+ hideItems: string;
135
+ purchaseLabel: string;
136
+ purchaseNow: string;
137
+ showItems: string;
138
+ showMoreRates: string;
139
+ showFewerRates: string;
140
+ saveRate: string;
141
+ };
142
+ balance: {
143
+ currentBalance: string;
144
+ insufficientBalanceCTA: string;
145
+ };
146
+ cta: {
147
+ addPackageDetails: string;
148
+ };
149
+ errorMessages: {
150
+ customsItemsRequired: string;
151
+ invalidAddress: string;
152
+ noRates: string;
153
+ salesOrderNotLoaded: string;
154
+ unsupportedAddress: string;
155
+ saveRateFailedMessage: string;
156
+ saveRateFailedTitle: string;
157
+ };
158
+ errorTypes: {
159
+ results: string;
160
+ };
161
+ fields: {
162
+ "requires-additional-handling": string;
163
+ addOns: string;
164
+ contentDescription: string;
165
+ confirmation: string;
166
+ dimensions: {
167
+ length: string;
168
+ width: string;
169
+ height: string;
170
+ };
171
+ dimensionsGroup: string;
172
+ estimatedShipping: string;
173
+ insurance: string;
174
+ insuranceProvider: string;
175
+ insuredValue: string;
176
+ items: string;
177
+ orderDate: string;
178
+ orderValue: string;
179
+ packageCode: string;
180
+ requestedShipping: string;
181
+ shipDate: string;
182
+ service: string;
183
+ shipTo: string;
184
+ addShipToAddress: string;
185
+ warehouse: string;
186
+ weight: {
187
+ whole: string;
188
+ fractional: string;
189
+ };
190
+ weightGroup: string;
191
+ today: string;
192
+ };
193
+ hints: {
194
+ contentDescription: string;
195
+ };
196
+ loading: {
197
+ calculatingRates: string;
198
+ };
199
+ modes: {
200
+ browseRates: string;
201
+ selectService: string;
202
+ };
203
+ multipleShippingServices: string;
204
+ schemaErrors: {
205
+ shipFromUnitedStatesOnly: string;
206
+ shipFromAddressRequired: string;
207
+ needToAcknowledge: string;
208
+ };
209
+ rates: {
210
+ uspsMediaMailAcknowledgement: string;
211
+ uspsFirstClassMailAcknowledgement_leof: string;
212
+ rateSavings: string;
213
+ upsGroundSaverTermsAcknowledgement: string;
214
+ dhlExpressTermsAcknowledgement: string;
215
+ };
216
+ requirements: {
217
+ noWarehouse: string;
218
+ noCarrier: string;
219
+ noWarehouseOrCarrier: string;
220
+ };
221
+ shipToAddressFormFields: string;
222
+ sections: {
223
+ customsForm: string;
224
+ shipment: string;
225
+ rate_one: string;
226
+ rate_other: string;
227
+ payment: string;
228
+ };
229
+ };
230
+ "payment-method": {
231
+ title: string;
232
+ };
233
+ onboarding: {
234
+ title: string;
235
+ inlineTitle: string;
236
+ accountRegistration: {
237
+ action: string;
238
+ title: string;
239
+ subtitle: string;
240
+ welcome: string;
241
+ messageLine1: string;
242
+ partnerMessageLine1: string;
243
+ messageLine2: string;
244
+ };
245
+ stepLabel: {
246
+ accountRegistration: string;
247
+ termsAgreement: string;
248
+ shipFromAddress: string;
249
+ fundingAndCarrierConnection: string;
250
+ };
251
+ warehouse: {
252
+ title: string;
253
+ subtitle: string;
254
+ inlineMessage: string;
255
+ };
256
+ success: {
257
+ title: string;
258
+ subtitle: string;
259
+ action: string;
260
+ };
261
+ termsAndAgreementLinkText: {
262
+ aHR0cHM6Ly9teWRobC5leHByZXNzLmRobC91cy9lbi9sZWdhbC90ZXJtcy1hbmQtY29uZGl0aW9ucy5odG1s: string;
263
+ "aHR0cHM6Ly93d3cuc3RhbXBzLmNvbS9wcml2YWN5LXBvbGljeQ==": string;
264
+ "aHR0cHM6Ly93d3cuc3RhbXBzLmNvbS9jb25kaXRpb25zLw==": string;
265
+ "aHR0cHM6Ly93d3cudXBzLmNvbS91cy9lbi9zdXBwb3J0L3NoaXBwaW5nLXN1cHBvcnQvc2hpcHBpbmctc3BlY2lhbC1jYXJlLXJlZ3VsYXRlZC1pdGVtcy9wcm9oaWJpdGVkLWl0ZW1zLnBhZ2U=": string;
266
+ aHR0cHM6Ly93d3cudXBzLmNvbS9hc3NldHMvcmVzb3VyY2VzL21lZGlhL2VuX1VTL1VQU19EQVBfVEMucGRm: string;
267
+ "aHR0cHM6Ly93d3cudXBzLmNvbS9hc3NldHMvcmVzb3VyY2VzL21lZGlhL2VuX1VTL1VUQS5wZGY=": string;
268
+ "aHR0cHM6Ly93d3cuZXZyaS5jb20vdGVybXMtYW5kLWNvbmRpdGlvbnM=": string;
269
+ "aHR0cHM6Ly93d3cueW9kZWxkaXJlY3QuY28udWsvY29udGVudC9hYm91dC10ZXJtcw==": string;
270
+ aHR0cHM6Ly93d3cuc2hpcHN0YXRpb24uY29tL3Rlcm1zLXNlcnZpY2UtdW5pdGVkLWtpbmdkb20v: string;
271
+ };
272
+ termsAndAgreementTitles: {
273
+ "WW9kZWwgRGlyZWN0IC0gVGVybXMgYW5kIENvbmRpdGlvbnMgKOKAnFRlcm1z4oCdKQ==": string;
274
+ "RXZyaSBTZW5kIFRlcm1zICYgQ29uZGl0aW9ucw==": string;
275
+ "VGVybXMgb2YgU2VydmljZSBVbml0ZWQgS2luZ2RvbQ==": string;
276
+ };
277
+ };
278
+ "manage-defaults": {
279
+ label: {
280
+ title: string;
281
+ letter: {
282
+ title: string;
283
+ description: string;
284
+ };
285
+ purchase: {
286
+ title: string;
287
+ description: string;
288
+ };
289
+ thermal: {
290
+ title: string;
291
+ description: string;
292
+ };
293
+ };
294
+ status: {
295
+ saving: string;
296
+ saved: string;
297
+ savingFailed: string;
298
+ };
299
+ units: {
300
+ title: string;
301
+ dimensions: {
302
+ title: string;
303
+ standard: string;
304
+ metric: string;
305
+ };
306
+ weight: {
307
+ title: string;
308
+ standard: string;
309
+ g: string;
310
+ kg: string;
311
+ };
312
+ };
313
+ };
314
+ "manage-warehouses": {
315
+ title: string;
316
+ addNew: string;
317
+ editWarehouse: string;
318
+ contactName: string;
319
+ default: string;
320
+ isDefault: string;
321
+ locationName: string;
322
+ residentialAddress: string;
323
+ returnTo: string;
324
+ returnToAddressIsDifferent: string;
325
+ setDefault: string;
326
+ shipFrom: string;
327
+ };
328
+ "manage-funding": {
329
+ actions: {
330
+ addFunds: string;
331
+ addFundsAndPurchase: string;
332
+ addNow: string;
333
+ saveRule: string;
334
+ };
335
+ autoFunding: {
336
+ edit: string;
337
+ editSettings: string;
338
+ error: {
339
+ title: string;
340
+ message: string;
341
+ };
342
+ isEnabledCTA: string;
343
+ isEnabled: string;
344
+ isLoading: string;
345
+ lowBalancePurchaseThreshold: string;
346
+ maximumPurchasesPerDay: string;
347
+ purchaseAmount: string;
348
+ readSettings: string;
349
+ };
350
+ addFunds: {
351
+ custom: string;
352
+ error: {
353
+ title: string;
354
+ message: string;
355
+ };
356
+ isLoading: string;
357
+ labels: {
358
+ amount: string;
359
+ };
360
+ minimumPurchaseAmount: string;
361
+ other: string;
362
+ };
363
+ fundAndPurchase: {
364
+ finalBalance: string;
365
+ insufficientFunds: string;
366
+ insufficientFundsTitle: string;
367
+ negativeBalance: string;
368
+ negativeBalanceTitle: string;
369
+ newBalance: string;
370
+ };
371
+ errors: {
372
+ balanceUnknown: string;
373
+ unableToFindBalance: string;
374
+ };
375
+ currentBalance: string;
376
+ maximumBalanceAmount: string;
377
+ };
378
+ "list-carriers": {
379
+ title: string;
380
+ headers: {
381
+ accountCarriers: string;
382
+ carriers: string;
383
+ settings: string;
384
+ };
385
+ actions: {
386
+ status: {
387
+ connected: string;
388
+ notConnected: string;
389
+ };
390
+ };
391
+ };
392
+ common: {
393
+ actions: {
394
+ add: string;
395
+ cancel: string;
396
+ close: string;
397
+ confirm: string;
398
+ connect: string;
399
+ continue: string;
400
+ delete: string;
401
+ edit: string;
402
+ hide: string;
403
+ parse: string;
404
+ purchase: string;
405
+ remove: string;
406
+ save: string;
407
+ skipForNow: string;
408
+ submit: string;
409
+ tryAgain: string;
410
+ };
411
+ address: {
412
+ fields: {
413
+ name: string;
414
+ company: string;
415
+ county: string;
416
+ countryCode: string;
417
+ addressLine1: string;
418
+ addressLine2: string;
419
+ cityLocality: string;
420
+ stateProvince: string;
421
+ postalCode: string;
422
+ phone: string;
423
+ email: string;
424
+ addressResidentialIndicator: string;
425
+ };
426
+ noResults: string;
427
+ subFields: {
428
+ optional: string;
429
+ };
430
+ parserFields: {
431
+ fullAddress: string;
432
+ };
433
+ paste: string;
434
+ preference: {
435
+ confirm: string;
436
+ addressNotValidated: string;
437
+ modified: string;
438
+ title: string;
439
+ originalAddress: string;
440
+ matchedAddress: string;
441
+ unableToValidate: string;
442
+ use: {
443
+ originalAddress: string;
444
+ matchedAddress: string;
445
+ };
446
+ };
447
+ validation: {
448
+ notValidated: string;
449
+ validated: string;
450
+ };
451
+ };
452
+ billing: {
453
+ fields: {
454
+ differentBillingAddress: string;
455
+ name: string;
456
+ cardNumber: string;
457
+ expiration: string;
458
+ cvv: string;
459
+ cvvPlaceholder: string;
460
+ expirationPlaceholder: string;
461
+ cardNumberPlaceholder: string;
462
+ };
463
+ };
464
+ carriers: {
465
+ fields: {
466
+ agreement: string;
467
+ };
468
+ terms: {
469
+ agreeToTerms: string;
470
+ title: string;
471
+ };
472
+ };
473
+ charsetWarnings: {
474
+ name: {
475
+ message: string;
476
+ };
477
+ address: {
478
+ message: string;
479
+ title: string;
480
+ };
481
+ };
482
+ confirmationTypes: {
483
+ adultSignature: string;
484
+ delivery: string;
485
+ deliveryMailed: string;
486
+ directSignature: string;
487
+ none: string;
488
+ signature: string;
489
+ verbalConfirmation: string;
490
+ };
491
+ customs: {
492
+ addDeclaration: string;
493
+ contents: {
494
+ documents: string;
495
+ gift: string;
496
+ merchandise: string;
497
+ returnedGoods: string;
498
+ sample: string;
499
+ };
500
+ declarations: string;
501
+ each: string;
502
+ fields: {
503
+ contentsType: string;
504
+ countryOfOrigin: string;
505
+ description: string;
506
+ harmonizedTariffCode: string;
507
+ ifDeliveryFails: string;
508
+ quantity: string;
509
+ sku: string;
510
+ value: string;
511
+ valueQuantity: string;
512
+ };
513
+ nonDelivery: {
514
+ returnToSender: string;
515
+ treatAsAbandoned: string;
516
+ };
517
+ removeAllDeclarations: string;
518
+ total: string;
519
+ };
520
+ errorMessages: {
521
+ invalidNameOrCompany: string;
522
+ parsingFailure: string;
523
+ incompleteLabelPurchaseRequirements: string;
524
+ shipmentCancelled: string;
525
+ unableToLoad: {
526
+ accountSettings: string;
527
+ autoFundingSettings: string;
528
+ carrier: string;
529
+ carriers: string;
530
+ fundingSourceMetadata: string;
531
+ label: string;
532
+ salesOrder: string;
533
+ shipment: string;
534
+ warehouses: string;
535
+ };
536
+ unknown: string;
537
+ noRatesAvailable: string;
538
+ };
539
+ errorTypes: {
540
+ accountStatus: string;
541
+ businessRules: string;
542
+ integrations: string;
543
+ purchase: string;
544
+ rateInvalid: string;
545
+ saveRate: string;
546
+ security: string;
547
+ shipmentStatus: string;
548
+ system: string;
549
+ unknown: string;
550
+ validation: string;
551
+ };
552
+ grid: {
553
+ "row-count_one": string;
554
+ "row-count_other": string;
555
+ rows: string;
556
+ };
557
+ insuranceProviders: {
558
+ carrier: string;
559
+ none: string;
560
+ shipsurance: string;
561
+ thirdParty: string;
562
+ };
563
+ loading: {
564
+ accountSettings: string;
565
+ carrier: string;
566
+ carriers: string;
567
+ connectingCarriers: string;
568
+ creatingFundingSource: string;
569
+ data: string;
570
+ importingSalesOrder: string;
571
+ label: string;
572
+ onboarding: string;
573
+ salesOrder: string;
574
+ shipment: string;
575
+ warehouses: string;
576
+ };
577
+ months: {
578
+ january: string;
579
+ february: string;
580
+ march: string;
581
+ april: string;
582
+ may: string;
583
+ june: string;
584
+ july: string;
585
+ august: string;
586
+ september: string;
587
+ october: string;
588
+ november: string;
589
+ december: string;
590
+ };
591
+ packageCategories: {
592
+ customPackages: string;
593
+ };
594
+ packageCodes: {
595
+ package: string;
596
+ };
597
+ "powered-by": string;
598
+ schema: {
599
+ optionalLabel: string;
600
+ };
601
+ required: string;
602
+ schemaErrors: {
603
+ notAValidPhoneNumber: string;
604
+ mustAgreeToTerms: string;
605
+ group: {
606
+ allMeasurementsOrNone: string;
607
+ };
608
+ invalidAddressName: string;
609
+ invalidAddressNameStrict: string;
610
+ invalidAddressPoBox: string;
611
+ invalidCreditCardType: string;
612
+ invalidExpirationDate: string;
613
+ invalidPostalCode: string;
614
+ invalidStateProvince: string;
615
+ invalidString: string;
616
+ nonnegative: string;
617
+ nonnegativeList: string;
618
+ positive: string;
619
+ positiveList: string;
620
+ required: string;
621
+ requiredList: string;
622
+ tooFewCharacters: string;
623
+ tooManyCharacters: string;
624
+ };
625
+ shippingPresets: {
626
+ apply: string;
627
+ platform: string;
628
+ user: string;
629
+ };
630
+ terms: {
631
+ fields: {
632
+ agreement: string;
633
+ };
634
+ agreeToTerms: string;
635
+ carriersTitle: string;
636
+ fundingSourceTitle: string;
637
+ };
638
+ weight: {
639
+ ounces: string;
640
+ pounds_one: string;
641
+ pounds_other: string;
642
+ kilogram: string;
643
+ gram: string;
644
+ };
645
+ units: {
646
+ inch: string;
647
+ lbs: string;
648
+ oz: string;
649
+ centimeter: string;
650
+ gram: string;
651
+ kilogram: string;
652
+ };
653
+ T25seSByZXNpZGVudGlhbCBkZWxpdmVyeSBhZGRyZXNzZXMgYXJlIGFsbG93ZWQgZm9yIFVQUyBHcm91bmQgU2F2ZXIu: string;
654
+ "VGhlIHNlbGVjdGVkIHNlcnZpY2UgaW5jbHVkZXMgaW5zdXJhbmNlIGZvciBhbiBpbnN1cmVkIGFtb3VudCB1cCB0byAkMTAwLgo=": string;
655
+ "VGhlIHNlbGVjdGVkIHNlcnZpY2UgaW5jbHVkZXMgaW5zdXJhbmNlIGZvciBhbiBpbnN1cmVkIGFtb3VudCB1cCB0byAkNTAuCg==": string;
656
+ QSBzaGlwcGluZyBjYXJyaWVyIGVycm9yIG9jY3VycmVkOiBJbnN1ZmZpY2llbnQgYWNjb3VudCBiYWxhbmNlLiBBY2NvdW50IGV4Y2VwdGlvbiBFeGNlcHRpb24gd2l0aCBjb2RlIDB4MDA1NjAxMDE7IG1vZHVsZSA4NiwgY2F0ZWdvcnkgMSwgaXRlbSAx: string;
657
+ "QWRkcmVzcyBub3QgZm91bmQ=": string;
658
+ QSBzaGlwcGluZyBjYXJyaWVyIGVycm9yIG9jY3VycmVkOiBVUFMgd2VpZ2h0IGxpbWl0IHBlciBwYWNrYWdlIGlzIDE1MCBsYnMu: string;
659
+ UGxlYXNlIGFkZCBhIFN0YW1wcy5jb20gYWNjb3VudCB0byBTaGlwRW5naW5lIGluIG9yZGVyIHRvIGNyZWF0ZSBzaGlwcGluZyBsYWJlbHMu: string;
660
+ QSBzaGlwcGluZyBlcnJvciBvY2N1cnJlZDogTWlzc2luZyBvciBpbnZhbGlkIHNoaXBwZXIgbnVtYmVy: string;
661
+ QSBzaGlwcGluZyBjYXJyaWVyIGVycm9yIG9jY3VycmVkOiBNaXNzaW5nIG9yIGludmFsaWQgc2hpcHBlciBuYW1l: string;
662
+ "QSBzaGlwcGluZyBjYXJyaWVyIGVycm9yIG9jY3VycmVkOiBNaXNzaW5nIG9yIGludmFsaWQgc2hpcCB0byBTdGF0ZVByb3ZpbmNlQ29kZQ==": string;
663
+ "QSBzaGlwcGluZyBjYXJyaWVyIGVycm9yIG9jY3VycmVkOiBJbnZhbGlkIHNvbGQgdG8gc3RhdGUgcHJvdmluY2UgY29kZS4gVmFsaWQgbGVuZ3RoIGlzIDAgdG8gNSBhbHBoYW51bWVyaWM=": string;
664
+ };
665
+ "connect-carrier": {
666
+ registrationForm: {
667
+ title: string;
668
+ isLoading: string;
669
+ betaWarning: string;
670
+ };
671
+ };
672
+ "account-settings": {
673
+ title: string;
674
+ sections: {
675
+ accountBalance: string;
676
+ paymentMethod: string;
677
+ transactionHistory: string;
678
+ adjustmentHistory: string;
679
+ warehouses: string;
680
+ carriers: string;
681
+ labelLayout: string;
682
+ unitSettings: string;
683
+ };
684
+ };
685
+ };
686
+ } | undefined;
687
+ }) => import("@emotion/react/jsx-runtime").JSX.Element;
688
+ export {};
@@ -0,0 +1,2 @@
1
+ export * from "./theme-creator-provider";
2
+ export * as ThemeCreator from "./theme-creator";
@@ -0,0 +1,12 @@
1
+ import { Dispatch, SetStateAction } from "react";
2
+ import { CustomThemeData } from "@shipengine/giger-theme";
3
+ export type ThemeCreatorContextValue = {
4
+ setThemeConfig: Dispatch<SetStateAction<CustomThemeData>>;
5
+ themeConfig: CustomThemeData;
6
+ };
7
+ export type ThemeCreatorProviderProps = {
8
+ children: React.ReactNode;
9
+ editableTheme: CustomThemeData;
10
+ };
11
+ export declare const ThemeCreatorProvider: ({ children, editableTheme, }: ThemeCreatorProviderProps) => import("@emotion/react/jsx-runtime").JSX.Element;
12
+ export declare const useThemeCreator: () => ThemeCreatorContextValue;