@sunrise-upc/sales-static-components 3.4.1-beta.2 → 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/dist/index.d.ts CHANGED
@@ -109,6 +109,11 @@ interface LineCheckProps {
109
109
  upgradeText: string;
110
110
  reference?: any;
111
111
  maximumSpeedText?: string;
112
+ messages?: Array<{
113
+ text?: string;
114
+ }>;
115
+ timeBetweenMessages?: number;
116
+ timeLastMessage?: number;
112
117
  }
113
118
  interface ShippingAddressProps {
114
119
  address: string;
@@ -134,46 +139,6 @@ declare const LineCheckV2: FC<LineCheckSchema>;
134
139
 
135
140
  declare const StageTeaserV3: FC<any>;
136
141
 
137
- type PromoBubblePosition = "top-left" | "top-right" | "bottom-left" | "bottom-right" | "xy-pos";
138
- interface BubbleItem {
139
- bubbleSize?: "small" | "medium" | "large";
140
- position?: PromoBubblePosition;
141
- wideX?: string | number;
142
- wideY?: string | number;
143
- desktopX?: string | number;
144
- desktopY?: string | number;
145
- tabX?: string | number;
146
- tabY?: string | number;
147
- mobileX?: string | number;
148
- mobileY?: string | number;
149
- primaryTopText?: string;
150
- primarytext?: string;
151
- strikethroughPrimary?: boolean;
152
- diagonalStrikethroughPrimary?: boolean;
153
- strikethroughColor?: string | {
154
- color?: string;
155
- };
156
- secondarytext?: string;
157
- bgcolor?: {
158
- color?: string;
159
- };
160
- textcolor?: {
161
- color?: string;
162
- };
163
- secondPrimaryText?: string;
164
- secondSecondaryText?: string;
165
- secondaryBgColor?: {
166
- color?: string;
167
- };
168
- secondaryTextColor?: {
169
- color?: string;
170
- };
171
- }
172
- interface PromoBubbleProps {
173
- content: BubbleItem;
174
- }
175
- declare const PromoBubble: FC<PromoBubbleProps>;
176
-
177
142
  interface LinecheckBasicPropConfigSchema {
178
143
  baseURL: string | '';
179
144
  }
@@ -187,18 +152,5 @@ declare class LinecheckBasicPropConfig {
187
152
  static create: (p_config: LinecheckBasicPropConfigSchema) => void;
188
153
  }
189
154
 
190
- interface CustomerPropConfigSchema {
191
- baseURL: string | '';
192
- }
193
- declare class CustomerPropConfig {
194
- private static instance;
195
- config: CustomerPropConfigSchema;
196
- private constructor();
197
- getConfig: () => CustomerPropConfigSchema;
198
- getBaseUrl: () => string;
199
- static getInstance: () => CustomerPropConfig;
200
- static create: (p_config: CustomerPropConfigSchema) => void;
201
- }
202
-
203
- export { ButtonGroup, CustomerPropConfig, ImageComponent, ImageWithText, ImageWithTextWrapper, InternetAndTvCardsBenefits, LineCheckV2, LinecheckBasicPropConfig, PromoBubble, RibbonComponent, StageTeaserComponent, StageTeaserV3, TextComponent };
204
- export type { CustomerPropConfigSchema, LinecheckBasicPropConfigSchema };
155
+ export { ButtonGroup, ImageComponent, ImageWithText, ImageWithTextWrapper, InternetAndTvCardsBenefits, LineCheckV2, LinecheckBasicPropConfig, RibbonComponent, StageTeaserComponent, StageTeaserV3, TextComponent };
156
+ export type { LinecheckBasicPropConfigSchema };
package/package.json CHANGED
@@ -1,72 +1,72 @@
1
- {
2
- "name": "@sunrise-upc/sales-static-components",
3
- "version": "3.4.1-beta.2",
4
- "description": "Static Reusable Components Library",
5
- "main": "dist/cjs/index.js",
6
- "module": "dist/esm/index.js",
7
- "files": [
8
- "dist",
9
- "package.json"
10
- ],
11
- "typings": "dist/index.d.ts",
12
- "scripts": {
13
- "test": "echo \"Error: no test specified\" && exit 1",
14
- "clean": "rimraf dist",
15
- "build": "npm run clean && rollup -c",
16
- "prepare": "npm run build",
17
- "dev": "npm run clean && rollup -c -w",
18
- "prepatch": "npm --no-git-tag-version version prepatch",
19
- "release:major": "npm version major && npm publish --access public --tag latest",
20
- "release:minor": "npm version minor && npm publish --access public --tag latest",
21
- "release:patch": "npm version patch && npm publish --access public --tag latest",
22
- "release:prepatch": "npm version prepatch --preid=beta && npm publish --access public --tag latest",
23
- "release:prerelease": "npm version prerelease --preid=beta && npm publish --access public --tag latest"
24
- },
25
- "repository": {
26
- "type": "git",
27
- "url": "git+https://Angles_Kathirvel@bitbucket.org/sunrisedigitalbusiness/sunrise-ch-b2c-sales-static-components.git"
28
- },
29
- "author": "Angles Kathirvel",
30
- "license": "ISC",
31
- "bugs": {
32
- "url": "https://bitbucket.org/sunrisedigitalbusiness/sunrise-ch-b2c-sales-static-components/issues"
33
- },
34
- "homepage": "https://bitbucket.org/sunrisedigitalbusiness/sunrise-ch-b2c-sales-static-components#readme",
35
- "devDependencies": {
36
- "@rollup/plugin-commonjs": "^29.0.0",
37
- "@rollup/plugin-json": "^6.1.0",
38
- "@rollup/plugin-node-resolve": "^16.0.3",
39
- "@rollup/plugin-terser": "^0.4.4",
40
- "@rollup/plugin-typescript": "^12.3.0",
41
- "@types/js-cookie": "^3.0.6",
42
- "@types/node": "^24.6.0",
43
- "@types/react": "^19.1.13",
44
- "@types/react-dom": "^19.1.9",
45
- "rimraf": "^6.0.1",
46
- "rollup": "^4.56.0",
47
- "rollup-plugin-dts": "^6.3.0",
48
- "rollup-plugin-peer-deps-external": "^2.2.4",
49
- "postcss": "^8.5.3",
50
- "postcss-modules": "^6.0.0",
51
- "sass-embedded": "^1.97.3",
52
- "tslib": "^2.8.1",
53
- "typescript": "^5.9.2"
54
- },
55
- "peerDependencies": {
56
- "react": "^19.1.0",
57
- "react-dom": "^19.1.0",
58
- "react-bootstrap": "^2.10.10",
59
- "storyblok-rich-text-react-renderer": "^3.0.1"
60
- },
61
- "dependencies": {
62
- "@sunrise-upc/ajax-lib": "^3.0.0",
63
- "axios": "^1.12.2",
64
- "cookies-next": "^6.1.0",
65
- "fitty": "^2.4.2",
66
- "js-cookie": "^3.0.5",
67
- "react-loading-skeleton": "^3.5.0",
68
- "react-multi-carousel": "^2.8.5",
69
- "uuid": "^13.0.0",
70
- "swiper": "^12.0.3"
71
- }
72
- }
1
+ {
2
+ "name": "@sunrise-upc/sales-static-components",
3
+ "version": "3.5.0",
4
+ "description": "Static Reusable Components Library",
5
+ "main": "dist/cjs/index.js",
6
+ "module": "dist/esm/index.js",
7
+ "files": [
8
+ "dist",
9
+ "package.json"
10
+ ],
11
+ "typings": "dist/index.d.ts",
12
+ "scripts": {
13
+ "test": "echo \"Error: no test specified\" && exit 1",
14
+ "clean": "rimraf dist",
15
+ "build": "npm run clean && rollup -c",
16
+ "prepare": "npm run build",
17
+ "dev": "npm run clean && rollup -c -w",
18
+ "prepatch": "npm --no-git-tag-version version prepatch",
19
+ "release:major": "npm version major && npm publish --access public --tag latest",
20
+ "release:minor": "npm version minor && npm publish --access public --tag latest",
21
+ "release:patch": "npm version patch && npm publish --access public --tag latest",
22
+ "release:prepatch": "npm version prepatch --preid=beta && npm publish --access public --tag latest",
23
+ "release:prerelease": "npm version prerelease --preid=beta && npm publish --access public --tag latest"
24
+ },
25
+ "repository": {
26
+ "type": "git",
27
+ "url": "git+https://Angles_Kathirvel@bitbucket.org/sunrisedigitalbusiness/sunrise-ch-b2c-sales-static-components.git"
28
+ },
29
+ "author": "Angles Kathirvel",
30
+ "license": "ISC",
31
+ "bugs": {
32
+ "url": "https://bitbucket.org/sunrisedigitalbusiness/sunrise-ch-b2c-sales-static-components/issues"
33
+ },
34
+ "homepage": "https://bitbucket.org/sunrisedigitalbusiness/sunrise-ch-b2c-sales-static-components#readme",
35
+ "devDependencies": {
36
+ "@rollup/plugin-commonjs": "^29.0.0",
37
+ "@rollup/plugin-json": "^6.1.0",
38
+ "@rollup/plugin-node-resolve": "^16.0.3",
39
+ "@rollup/plugin-terser": "^0.4.4",
40
+ "@rollup/plugin-typescript": "^12.3.0",
41
+ "@types/js-cookie": "^3.0.6",
42
+ "@types/node": "^24.6.0",
43
+ "@types/react": "^19.1.13",
44
+ "@types/react-dom": "^19.1.9",
45
+ "rimraf": "^6.0.1",
46
+ "rollup": "^4.56.0",
47
+ "rollup-plugin-dts": "^6.3.0",
48
+ "rollup-plugin-peer-deps-external": "^2.2.4",
49
+ "postcss": "^8.5.3",
50
+ "postcss-modules": "^6.0.0",
51
+ "sass-embedded": "^1.97.3",
52
+ "tslib": "^2.8.1",
53
+ "typescript": "^5.9.2"
54
+ },
55
+ "peerDependencies": {
56
+ "react": "^19.1.0",
57
+ "react-dom": "^19.1.0",
58
+ "react-bootstrap": "^2.10.10",
59
+ "storyblok-rich-text-react-renderer": "^3.0.1"
60
+ },
61
+ "dependencies": {
62
+ "@sunrise-upc/ajax-lib": "^3.0.0",
63
+ "axios": "^1.12.2",
64
+ "cookies-next": "^6.1.0",
65
+ "fitty": "^2.4.2",
66
+ "js-cookie": "^3.0.5",
67
+ "react-loading-skeleton": "^3.5.0",
68
+ "react-multi-carousel": "^2.8.5",
69
+ "uuid": "^13.0.0",
70
+ "swiper": "^12.0.3"
71
+ }
72
+ }
@@ -1,2 +0,0 @@
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
@@ -1 +0,0 @@
1
- {"version":3,"file":"index-D4vKOHD1.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- export{PromoBubble as default}from"./esm/index.js";import"react/jsx-runtime";import"react";import"cookies-next";import"storyblok-rich-text-react-renderer";import"react-bootstrap";import"react-loading-skeleton";
2
- //# sourceMappingURL=index-DAybi958.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index-DAybi958.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}