@shipengine/elements 0.26.18 → 0.27.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 (29) hide show
  1. package/index.cjs +5636 -5187
  2. package/index.js +3078 -2634
  3. package/package.json +3 -3
  4. package/src/components/address-preference-context/address-preference-context.d.ts +2 -2
  5. package/src/components/index.d.ts +1 -0
  6. package/src/components/label/label.styles.d.ts +1 -1
  7. package/src/components/payment-method-settings/index.d.ts +1 -0
  8. package/src/components/payment-method-settings/payment-method-settings.d.ts +1 -0
  9. package/src/components/templates/carrier-recovery-form/carrier-recovery-form.d.ts +3 -2
  10. package/src/components/templates/edit-billing-form/edit-billing-form.d.ts +4 -3
  11. package/src/components/templates/onboarding/onboarding.d.ts +8 -8
  12. package/src/components/templates/wallet-form/wallet-form.d.ts +1 -1
  13. package/src/components/templates/wallet-form/wallet-schema.d.ts +10 -8
  14. package/src/elements/index.d.ts +1 -0
  15. package/src/elements/list-carriers/list-carriers.d.ts +6 -1
  16. package/src/elements/manage-warehouses/manage-warehouses.d.ts +6 -1
  17. package/src/elements/onboarding/onboarding.d.ts +6 -1
  18. package/src/elements/purchase-label/purchase-label.d.ts +6 -1
  19. package/src/elements/shipengine-workflow/index.d.ts +1 -0
  20. package/src/elements/shipengine-workflow/label-workflow.d.ts +25 -0
  21. package/src/elements/view-shipment/view-shipment.d.ts +6 -1
  22. package/src/elements/void-label/void-label.d.ts +6 -1
  23. package/src/locales/en/index.d.ts +6 -1
  24. package/src/types/carrier-metadata.d.ts +2 -0
  25. package/src/utilities/feature-flags.d.ts +3 -0
  26. package/src/utilities/index.d.ts +1 -0
  27. package/src/components/templates/manage-wallet/index.d.ts +0 -1
  28. package/src/components/templates/manage-wallet/manage-wallet.d.ts +0 -1
  29. package/src/components/templates/manage-wallet/manage-wallet.styles.d.ts +0 -21
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shipengine/elements",
3
- "version": "0.26.18",
3
+ "version": "0.27.0",
4
4
  "typedoc": {
5
5
  "entryPoint": "./src/index.ts",
6
6
  "readmeFile": "../../README.md",
@@ -30,8 +30,8 @@
30
30
  "@jest/globals": "28.1.3",
31
31
  "@packlink/brands": "3.24.0",
32
32
  "@packlink/giger-theme": "1.3.1",
33
- "@shipengine/alchemy": "0.4.24",
34
- "@shipengine/js-api": "0.13.1",
33
+ "@shipengine/alchemy": "0.5.1",
34
+ "@shipengine/js-api": "0.14.1",
35
35
  "@storybook/addons": "6.5.16",
36
36
  "@storybook/components": "7.0.0-rc.1",
37
37
  "@storybook/core-events": "7.0.0-rc.1",
@@ -21,7 +21,7 @@ export type ValidationPreference = {
21
21
  originAddress: AddressValidationPreference;
22
22
  returnAddress?: AddressValidationPreference;
23
23
  };
24
- export type AddressPreferenceProvideProps = {
24
+ export type AddressPreferenceProviderProps = {
25
25
  children: ReactNode;
26
26
  className?: string;
27
27
  formHeader?: React.ReactNode;
@@ -37,6 +37,6 @@ export type AddressPreferenceValue = {
37
37
  validationPreference?: ValidationPreference;
38
38
  };
39
39
  export declare const AddressPreferenceContext: import("react").Context<AddressPreferenceValue | undefined>;
40
- export declare const AddressPreferenceProvider: (props: AddressPreferenceProvideProps) => import("@emotion/react/jsx-runtime").JSX.Element;
40
+ export declare const AddressPreferenceProvider: (props: AddressPreferenceProviderProps) => import("@emotion/react/jsx-runtime").JSX.Element;
41
41
  export declare const useAddressPreference: () => AddressPreferenceValue;
42
42
  export {};
@@ -17,6 +17,7 @@ export * from "./items-breakdown";
17
17
  export * from "./link-action";
18
18
  export * from "./loader";
19
19
  export * from "./manage-funding";
20
+ export * from "./payment-method-settings";
20
21
  export * from "./portal";
21
22
  export * from "./powered-by-shipengine";
22
23
  export * from "./section";
@@ -6,7 +6,7 @@ export declare const styles: ({ variant, spacing, }: {
6
6
  labelContainer: (theme: import("@packlink/giger-theme/dist/lib/Theme").Theme) => {
7
7
  alignItems: "center";
8
8
  display: "flex";
9
- flexDirection: "column" | "row" | "row-reverse";
9
+ flexDirection: "row" | "column" | "row-reverse";
10
10
  gap: number;
11
11
  justifyContent: "flex-start" | "space-between;";
12
12
  };
@@ -0,0 +1 @@
1
+ export * from "./payment-method-settings";
@@ -0,0 +1 @@
1
+ export declare const PaymentMethodSettings: () => import("@emotion/react/jsx-runtime").JSX.Element;
@@ -4,7 +4,8 @@ export type CarrierRecoveryFormProps = {
4
4
  address?: SE.Address;
5
5
  carrierCode: string;
6
6
  errors?: SE.CodedError[] | null;
7
+ fundingSourceId: string;
7
8
  onSkip?: () => void;
8
- onSubmit: (payload: CarrierRecoveryFormPayload) => Promise<void>;
9
+ onSubmit: (fundingSourceId: string, payload: CarrierRecoveryFormPayload) => Promise<void>;
9
10
  };
10
- export declare const CarrierRecoveryForm: ({ address, carrierCode, errors, onSkip, onSubmit, }: CarrierRecoveryFormProps) => import("@emotion/react/jsx-runtime").JSX.Element;
11
+ export declare const CarrierRecoveryForm: ({ address, carrierCode, errors, fundingSourceId, onSkip, onSubmit, }: CarrierRecoveryFormProps) => import("@emotion/react/jsx-runtime").JSX.Element;
@@ -1,6 +1,7 @@
1
- import { WalletFormPayload } from "../wallet-form";
1
+ import { SE } from "@shipengine/alchemy";
2
2
  export type EditBillingFormProps = {
3
+ fundingSources?: SE.FundingSource[];
3
4
  onCancel: () => void;
4
- onSubmit: (walletPayload: WalletFormPayload) => void;
5
+ onSubmit: (billingInfo: SE.FundingSourceAddress, creditCardInfo: SE.CreditCardInfo) => void;
5
6
  };
6
- export declare const EditBillingForm: ({ onCancel, onSubmit }: EditBillingFormProps) => import("@emotion/react/jsx-runtime").JSX.Element;
7
+ export declare const EditBillingForm: ({ fundingSources, onCancel, onSubmit }: EditBillingFormProps) => import("@emotion/react/jsx-runtime").JSX.Element;
@@ -21,18 +21,18 @@ export type OnboardingFeatures = {
21
21
  };
22
22
  };
23
23
  export type OnboardingProps = {
24
- carriers: SE.Carrier[];
24
+ connectedCarriers: SE.Carrier[];
25
+ createFundingSource: (payload: SE.CreateFundingSource) => Promise<SE.CreateFundingSourceResponse>;
26
+ createFundingSourceErrors: SE.CodedError[] | null;
25
27
  createWarehouse: (payload: Partial<SE.Warehouse>) => Promise<SE.Warehouse>;
26
28
  features?: OnboardingFeatures;
29
+ fundingSources?: SE.FundingSource[];
27
30
  onCarrierCreated: () => Promise<void>;
28
31
  onCompleteOnboarding: () => void;
32
+ onFundingSourceCreated: () => Promise<void>;
29
33
  onWarehouseCreated: () => Promise<void>;
30
- registerDhlCarrier: (payload: SE.CarrierConnection) => Promise<void>;
31
- registerDhlCarrierErrors: SE.CodedError[] | null;
32
- registerStampsCarrier: (payload: SE.CarrierConnection) => Promise<void>;
33
- registerStampsCarrierErrors: SE.CodedError[] | null;
34
- registerUpsCarrier: (payload: SE.CarrierConnection) => Promise<void>;
35
- registerUpsCarrierErrors: SE.CodedError[] | null;
34
+ registerCarrier: (payload: SE.CarrierRegistration) => Promise<SE.CarrierRegistrationResponse>;
35
+ registerCarrierErrors: SE.CodedError[] | null;
36
36
  warehouses: SE.Warehouse[];
37
37
  };
38
- export declare const Onboarding: ({ carriers, createWarehouse, features, onCarrierCreated, onCompleteOnboarding, onWarehouseCreated, registerDhlCarrier, registerDhlCarrierErrors, registerStampsCarrier, registerStampsCarrierErrors, registerUpsCarrier, registerUpsCarrierErrors, warehouses, }: OnboardingProps) => import("@emotion/react/jsx-runtime").JSX.Element;
38
+ export declare const Onboarding: ({ connectedCarriers, createWarehouse, features, fundingSources, onCarrierCreated, onCompleteOnboarding, onFundingSourceCreated, onWarehouseCreated, registerCarrier, registerCarrierErrors, createFundingSource, createFundingSourceErrors, warehouses, }: OnboardingProps) => import("@emotion/react/jsx-runtime").JSX.Element;
@@ -2,7 +2,7 @@ import { SE } from "@shipengine/alchemy";
2
2
  export type WalletFormFeatures = {};
3
3
  export type WalletPayload = {
4
4
  address: SE.Address;
5
- creditCard: SE.CreditCard;
5
+ creditCard: SE.CreditCardInfo;
6
6
  };
7
7
  export type WalletFormProps = {
8
8
  address: SE.Address;
@@ -211,11 +211,12 @@ export declare const walletSchema: z.ZodObject<{
211
211
  cvv: string;
212
212
  expiration: string;
213
213
  }>, {
214
- expirationMonth: string;
215
- expirationYear: string;
214
+ cardNumber: string;
215
+ cvv: string;
216
+ expirationMonth: number;
217
+ expirationYear: number;
216
218
  name: string;
217
- number: string;
218
- type: CreditCardVendor;
219
+ provider: CreditCardVendor;
219
220
  }, {
220
221
  number: string;
221
222
  name: string;
@@ -235,11 +236,12 @@ export declare const walletSchema: z.ZodObject<{
235
236
  stateProvince: string;
236
237
  };
237
238
  creditCard: {
238
- expirationMonth: string;
239
- expirationYear: string;
239
+ cardNumber: string;
240
+ cvv: string;
241
+ expirationMonth: number;
242
+ expirationYear: number;
240
243
  name: string;
241
- number: string;
242
- type: CreditCardVendor;
244
+ provider: CreditCardVendor;
243
245
  };
244
246
  }, {
245
247
  address: {
@@ -4,3 +4,4 @@ export * from "./onboarding";
4
4
  export * from "./purchase-label";
5
5
  export * from "./view-shipment";
6
6
  export * from "./void-label";
7
+ export * from "./shipengine-workflow";
@@ -114,7 +114,8 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
114
114
  title: string;
115
115
  billing: {
116
116
  title: string;
117
- subtitle: string;
117
+ subtitleCard: string;
118
+ subtitleBilling: string;
118
119
  };
119
120
  };
120
121
  };
@@ -214,6 +215,9 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
214
215
  rate_other: string;
215
216
  };
216
217
  };
218
+ "payment-method": {
219
+ title: string;
220
+ };
217
221
  onboarding: {
218
222
  title: string;
219
223
  inlineTitle: string;
@@ -595,6 +599,7 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
595
599
  "QWRkcmVzcyBub3QgZm91bmQ=": string;
596
600
  QSBzaGlwcGluZyBjYXJyaWVyIGVycm9yIG9jY3VycmVkOiBVUFMgd2VpZ2h0IGxpbWl0IHBlciBwYWNrYWdlIGlzIDE1MCBsYnMu: string;
597
601
  UGxlYXNlIGFkZCBhIFN0YW1wcy5jb20gYWNjb3VudCB0byBTaGlwRW5naW5lIGluIG9yZGVyIHRvIGNyZWF0ZSBzaGlwcGluZyBsYWJlbHMu: string;
602
+ QSBzaGlwcGluZyBlcnJvciBvY2N1cnJlZDogTWlzc2luZyBvciBpbnZhbGlkIHNoaXBwZXIgbnVtYmVy: string;
598
603
  };
599
604
  };
600
605
  } | undefined;
@@ -114,7 +114,8 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
114
114
  title: string;
115
115
  billing: {
116
116
  title: string;
117
- subtitle: string;
117
+ subtitleCard: string;
118
+ subtitleBilling: string;
118
119
  };
119
120
  };
120
121
  };
@@ -214,6 +215,9 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
214
215
  rate_other: string;
215
216
  };
216
217
  };
218
+ "payment-method": {
219
+ title: string;
220
+ };
217
221
  onboarding: {
218
222
  title: string;
219
223
  inlineTitle: string;
@@ -595,6 +599,7 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
595
599
  "QWRkcmVzcyBub3QgZm91bmQ=": string;
596
600
  QSBzaGlwcGluZyBjYXJyaWVyIGVycm9yIG9jY3VycmVkOiBVUFMgd2VpZ2h0IGxpbWl0IHBlciBwYWNrYWdlIGlzIDE1MCBsYnMu: string;
597
601
  UGxlYXNlIGFkZCBhIFN0YW1wcy5jb20gYWNjb3VudCB0byBTaGlwRW5naW5lIGluIG9yZGVyIHRvIGNyZWF0ZSBzaGlwcGluZyBsYWJlbHMu: string;
602
+ QSBzaGlwcGluZyBlcnJvciBvY2N1cnJlZDogTWlzc2luZyBvciBpbnZhbGlkIHNoaXBwZXIgbnVtYmVy: string;
598
603
  };
599
604
  };
600
605
  } | undefined;
@@ -115,7 +115,8 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
115
115
  title: string;
116
116
  billing: {
117
117
  title: string;
118
- subtitle: string;
118
+ subtitleCard: string;
119
+ subtitleBilling: string;
119
120
  };
120
121
  };
121
122
  };
@@ -215,6 +216,9 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
215
216
  rate_other: string;
216
217
  };
217
218
  };
219
+ "payment-method": {
220
+ title: string;
221
+ };
218
222
  onboarding: {
219
223
  title: string;
220
224
  inlineTitle: string;
@@ -596,6 +600,7 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
596
600
  "QWRkcmVzcyBub3QgZm91bmQ=": string;
597
601
  QSBzaGlwcGluZyBjYXJyaWVyIGVycm9yIG9jY3VycmVkOiBVUFMgd2VpZ2h0IGxpbWl0IHBlciBwYWNrYWdlIGlzIDE1MCBsYnMu: string;
598
602
  UGxlYXNlIGFkZCBhIFN0YW1wcy5jb20gYWNjb3VudCB0byBTaGlwRW5naW5lIGluIG9yZGVyIHRvIGNyZWF0ZSBzaGlwcGluZyBsYWJlbHMu: string;
603
+ QSBzaGlwcGluZyBlcnJvciBvY2N1cnJlZDogTWlzc2luZyBvciBpbnZhbGlkIHNoaXBwZXIgbnVtYmVy: string;
599
604
  };
600
605
  };
601
606
  } | undefined;
@@ -134,7 +134,8 @@ export declare const Element: ({ resources, ...props }: ElementProps & {
134
134
  title: string;
135
135
  billing: {
136
136
  title: string;
137
- subtitle: string;
137
+ subtitleCard: string;
138
+ subtitleBilling: string;
138
139
  };
139
140
  };
140
141
  };
@@ -234,6 +235,9 @@ export declare const Element: ({ resources, ...props }: ElementProps & {
234
235
  rate_other: string;
235
236
  };
236
237
  };
238
+ "payment-method": {
239
+ title: string;
240
+ };
237
241
  onboarding: {
238
242
  title: string;
239
243
  inlineTitle: string;
@@ -615,6 +619,7 @@ export declare const Element: ({ resources, ...props }: ElementProps & {
615
619
  "QWRkcmVzcyBub3QgZm91bmQ=": string;
616
620
  QSBzaGlwcGluZyBjYXJyaWVyIGVycm9yIG9jY3VycmVkOiBVUFMgd2VpZ2h0IGxpbWl0IHBlciBwYWNrYWdlIGlzIDE1MCBsYnMu: string;
617
621
  UGxlYXNlIGFkZCBhIFN0YW1wcy5jb20gYWNjb3VudCB0byBTaGlwRW5naW5lIGluIG9yZGVyIHRvIGNyZWF0ZSBzaGlwcGluZyBsYWJlbHMu: string;
622
+ QSBzaGlwcGluZyBlcnJvciBvY2N1cnJlZDogTWlzc2luZyBvciBpbnZhbGlkIHNoaXBwZXIgbnVtYmVy: string;
618
623
  };
619
624
  };
620
625
  } | undefined;
@@ -0,0 +1 @@
1
+ export * as LabelWorkflow from "./label-workflow";
@@ -0,0 +1,25 @@
1
+ import { Shipment } from "@shipengine/js-api";
2
+ type LabelWorkflowProps = {
3
+ callbacks?: {
4
+ onLabelCreateSuccess?: (label: {
5
+ labelId: string;
6
+ }, shipment: Shipment) => void;
7
+ };
8
+ features: any;
9
+ labelId?: string;
10
+ multiplexedId: ({
11
+ orderSourceCode: string;
12
+ } & ({
13
+ externalOrderNumber: string;
14
+ } | {
15
+ externalOrderId: string;
16
+ })) | {
17
+ salesOrderId: string;
18
+ } | {
19
+ shipmentId: string;
20
+ } | {
21
+ oneOff: true;
22
+ };
23
+ };
24
+ export declare const Element: ({ multiplexedId: _multiplexedId, labelId: _labelId, features: propFeatures, callbacks, }: LabelWorkflowProps) => import("@emotion/react/jsx-runtime").JSX.Element;
25
+ export {};
@@ -119,7 +119,8 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
119
119
  title: string;
120
120
  billing: {
121
121
  title: string;
122
- subtitle: string;
122
+ subtitleCard: string;
123
+ subtitleBilling: string;
123
124
  };
124
125
  };
125
126
  };
@@ -219,6 +220,9 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
219
220
  rate_other: string;
220
221
  };
221
222
  };
223
+ "payment-method": {
224
+ title: string;
225
+ };
222
226
  onboarding: {
223
227
  title: string;
224
228
  inlineTitle: string;
@@ -600,6 +604,7 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
600
604
  "QWRkcmVzcyBub3QgZm91bmQ=": string;
601
605
  QSBzaGlwcGluZyBjYXJyaWVyIGVycm9yIG9jY3VycmVkOiBVUFMgd2VpZ2h0IGxpbWl0IHBlciBwYWNrYWdlIGlzIDE1MCBsYnMu: string;
602
606
  UGxlYXNlIGFkZCBhIFN0YW1wcy5jb20gYWNjb3VudCB0byBTaGlwRW5naW5lIGluIG9yZGVyIHRvIGNyZWF0ZSBzaGlwcGluZyBsYWJlbHMu: string;
607
+ QSBzaGlwcGluZyBlcnJvciBvY2N1cnJlZDogTWlzc2luZyBvciBpbnZhbGlkIHNoaXBwZXIgbnVtYmVy: string;
603
608
  };
604
609
  };
605
610
  } | undefined;
@@ -122,7 +122,8 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
122
122
  title: string;
123
123
  billing: {
124
124
  title: string;
125
- subtitle: string;
125
+ subtitleCard: string;
126
+ subtitleBilling: string;
126
127
  };
127
128
  };
128
129
  };
@@ -222,6 +223,9 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
222
223
  rate_other: string;
223
224
  };
224
225
  };
226
+ "payment-method": {
227
+ title: string;
228
+ };
225
229
  onboarding: {
226
230
  title: string;
227
231
  inlineTitle: string;
@@ -603,6 +607,7 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
603
607
  "QWRkcmVzcyBub3QgZm91bmQ=": string;
604
608
  QSBzaGlwcGluZyBjYXJyaWVyIGVycm9yIG9jY3VycmVkOiBVUFMgd2VpZ2h0IGxpbWl0IHBlciBwYWNrYWdlIGlzIDE1MCBsYnMu: string;
605
609
  UGxlYXNlIGFkZCBhIFN0YW1wcy5jb20gYWNjb3VudCB0byBTaGlwRW5naW5lIGluIG9yZGVyIHRvIGNyZWF0ZSBzaGlwcGluZyBsYWJlbHMu: string;
610
+ QSBzaGlwcGluZyBlcnJvciBvY2N1cnJlZDogTWlzc2luZyBvciBpbnZhbGlkIHNoaXBwZXIgbnVtYmVy: string;
606
611
  };
607
612
  };
608
613
  } | undefined;
@@ -106,7 +106,8 @@ declare const _default: {
106
106
  title: string;
107
107
  billing: {
108
108
  title: string;
109
- subtitle: string;
109
+ subtitleCard: string;
110
+ subtitleBilling: string;
110
111
  };
111
112
  };
112
113
  };
@@ -206,6 +207,9 @@ declare const _default: {
206
207
  rate_other: string;
207
208
  };
208
209
  };
210
+ "payment-method": {
211
+ title: string;
212
+ };
209
213
  onboarding: {
210
214
  title: string;
211
215
  inlineTitle: string;
@@ -587,6 +591,7 @@ declare const _default: {
587
591
  "QWRkcmVzcyBub3QgZm91bmQ=": string;
588
592
  QSBzaGlwcGluZyBjYXJyaWVyIGVycm9yIG9jY3VycmVkOiBVUFMgd2VpZ2h0IGxpbWl0IHBlciBwYWNrYWdlIGlzIDE1MCBsYnMu: string;
589
593
  UGxlYXNlIGFkZCBhIFN0YW1wcy5jb20gYWNjb3VudCB0byBTaGlwRW5naW5lIGluIG9yZGVyIHRvIGNyZWF0ZSBzaGlwcGluZyBsYWJlbHMu: string;
594
+ QSBzaGlwcGluZyBlcnJvciBvY2N1cnJlZDogTWlzc2luZyBvciBpbnZhbGlkIHNoaXBwZXIgbnVtYmVy: string;
590
595
  };
591
596
  };
592
597
  export default _default;
@@ -2,7 +2,9 @@ import { CarrierConnection, SE } from "@shipengine/alchemy";
2
2
  export type CarrierTerm = {
3
3
  description: string;
4
4
  name: string;
5
+ termType: string;
5
6
  url: string;
7
+ version: string;
6
8
  };
7
9
  export type CarrierTerms = {
8
10
  content: string[];
@@ -0,0 +1,3 @@
1
+ export declare const featureFlagComponentNameLookup: (componentName: string) => string;
2
+ export declare const getFeatures: (...element: string[]) => any;
3
+ export declare const useFeatures: (...element: string[]) => any;
@@ -9,3 +9,4 @@ export * from "./shipengine";
9
9
  export * from "./string";
10
10
  export * from "./styles";
11
11
  export * from "./validation";
12
+ export * from "./feature-flags";
@@ -1 +0,0 @@
1
- export * from "./manage-wallet";
@@ -1 +0,0 @@
1
- export declare const ManageWallet: () => import("@emotion/react/jsx-runtime").JSX.Element;
@@ -1,21 +0,0 @@
1
- export declare const styles: {
2
- container: (theme: import("@packlink/giger-theme/dist/lib/Theme").Theme) => {
3
- padding: string;
4
- };
5
- headingContainer: (theme: import("@packlink/giger-theme/dist/lib/Theme").Theme) => {
6
- backgroundColor: string;
7
- padding: number;
8
- position: "relative";
9
- width: string;
10
- };
11
- subtitle: (theme: import("@packlink/giger-theme/dist/lib/Theme").Theme) => {
12
- backgroundColor: string;
13
- marginBottom: number;
14
- padding: number;
15
- position: "absolute";
16
- textAlign: "left";
17
- top: string;
18
- transform: "translateY(-50%)";
19
- width: string;
20
- };
21
- };