@sunrise-upc/sales-static-components 3.5.0 → 3.5.5-beta.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/README.md +8 -8
- 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 +72 -72
|
@@ -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 };
|
package/package.json
CHANGED
|
@@ -1,72 +1,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
|
+
"name": "@sunrise-upc/sales-static-components",
|
|
3
|
+
"version": "3.5.5-beta.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
|
+
}
|