@sunrise-upc/sales-static-components 3.5.0 → 3.5.4
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/dist/cjs/index.js +2 -2
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.js +2 -2
- package/dist/esm/index.js.map +1 -1
- package/dist/index-D4vKOHD1.js +2 -0
- package/dist/index-D4vKOHD1.js.map +1 -0
- package/dist/index-DAybi958.js +2 -0
- package/dist/index-DAybi958.js.map +1 -0
- package/dist/index.d.ts +55 -2
- package/package.json +1 -1
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";var e=require("./cjs/index.js");require("react/jsx-runtime"),require("react"),require("cookies-next"),require("storyblok-rich-text-react-renderer"),require("react-bootstrap"),require("react-loading-skeleton"),exports.default=e.PromoBubble;
|
|
2
|
+
//# sourceMappingURL=index-D4vKOHD1.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index-D4vKOHD1.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index-DAybi958.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
package/dist/index.d.ts
CHANGED
|
@@ -139,6 +139,46 @@ declare const LineCheckV2: FC<LineCheckSchema>;
|
|
|
139
139
|
|
|
140
140
|
declare const StageTeaserV3: FC<any>;
|
|
141
141
|
|
|
142
|
+
type PromoBubblePosition = "top-left" | "top-right" | "bottom-left" | "bottom-right" | "xy-pos";
|
|
143
|
+
interface BubbleItem {
|
|
144
|
+
bubbleSize?: "small" | "medium" | "large";
|
|
145
|
+
position?: PromoBubblePosition;
|
|
146
|
+
wideX?: string | number;
|
|
147
|
+
wideY?: string | number;
|
|
148
|
+
desktopX?: string | number;
|
|
149
|
+
desktopY?: string | number;
|
|
150
|
+
tabX?: string | number;
|
|
151
|
+
tabY?: string | number;
|
|
152
|
+
mobileX?: string | number;
|
|
153
|
+
mobileY?: string | number;
|
|
154
|
+
primaryTopText?: string;
|
|
155
|
+
primarytext?: string;
|
|
156
|
+
strikethroughPrimary?: boolean;
|
|
157
|
+
diagonalStrikethroughPrimary?: boolean;
|
|
158
|
+
strikethroughColor?: string | {
|
|
159
|
+
color?: string;
|
|
160
|
+
};
|
|
161
|
+
secondarytext?: string;
|
|
162
|
+
bgcolor?: {
|
|
163
|
+
color?: string;
|
|
164
|
+
};
|
|
165
|
+
textcolor?: {
|
|
166
|
+
color?: string;
|
|
167
|
+
};
|
|
168
|
+
secondPrimaryText?: string;
|
|
169
|
+
secondSecondaryText?: string;
|
|
170
|
+
secondaryBgColor?: {
|
|
171
|
+
color?: string;
|
|
172
|
+
};
|
|
173
|
+
secondaryTextColor?: {
|
|
174
|
+
color?: string;
|
|
175
|
+
};
|
|
176
|
+
}
|
|
177
|
+
interface PromoBubbleProps {
|
|
178
|
+
content: BubbleItem;
|
|
179
|
+
}
|
|
180
|
+
declare const PromoBubble: FC<PromoBubbleProps>;
|
|
181
|
+
|
|
142
182
|
interface LinecheckBasicPropConfigSchema {
|
|
143
183
|
baseURL: string | '';
|
|
144
184
|
}
|
|
@@ -152,5 +192,18 @@ declare class LinecheckBasicPropConfig {
|
|
|
152
192
|
static create: (p_config: LinecheckBasicPropConfigSchema) => void;
|
|
153
193
|
}
|
|
154
194
|
|
|
155
|
-
|
|
156
|
-
|
|
195
|
+
interface CustomerPropConfigSchema {
|
|
196
|
+
baseURL: string | '';
|
|
197
|
+
}
|
|
198
|
+
declare class CustomerPropConfig {
|
|
199
|
+
private static instance;
|
|
200
|
+
config: CustomerPropConfigSchema;
|
|
201
|
+
private constructor();
|
|
202
|
+
getConfig: () => CustomerPropConfigSchema;
|
|
203
|
+
getBaseUrl: () => string;
|
|
204
|
+
static getInstance: () => CustomerPropConfig;
|
|
205
|
+
static create: (p_config: CustomerPropConfigSchema) => void;
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
export { ButtonGroup, CustomerPropConfig, ImageComponent, ImageWithText, ImageWithTextWrapper, InternetAndTvCardsBenefits, LineCheckV2, LinecheckBasicPropConfig, PromoBubble, RibbonComponent, StageTeaserComponent, StageTeaserV3, TextComponent };
|
|
209
|
+
export type { CustomerPropConfigSchema, LinecheckBasicPropConfigSchema };
|