@sunrise-upc/sales-static-components 0.0.2 → 0.0.3

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.
@@ -1,5 +1,4 @@
1
1
  import { TimerSchema } from "./RibbonComponentTimer/RibbonComponentTimer";
2
- import Richtext from 'storyblok-js-client';
3
2
  export declare interface RibbonComponentInterface {
4
3
  content: RibbonComponentSchema;
5
4
  }
@@ -10,7 +9,7 @@ interface RibbonComponentSchema {
10
9
  buttonType: string;
11
10
  closeIcon: Asset;
12
11
  deviceLimit: string;
13
- description: Richtext;
12
+ description: Array<object>;
14
13
  enableDarkMode: boolean;
15
14
  target: string;
16
15
  hotlineNumber: string;
@@ -1,7 +1,6 @@
1
- import Richtext from 'storyblok-js-client';
2
1
  import React from 'react';
3
2
  export interface richText {
4
- content: Richtext;
3
+ content: Array<object>;
5
4
  isIFrame?: boolean;
6
5
  callBack?: (e: any) => void | undefined;
7
6
  }
@@ -1,5 +1,4 @@
1
1
  import { TimerSchema } from "./RibbonComponentTimer/RibbonComponentTimer";
2
- import Richtext from 'storyblok-js-client';
3
2
  export declare interface RibbonComponentInterface {
4
3
  content: RibbonComponentSchema;
5
4
  }
@@ -10,7 +9,7 @@ interface RibbonComponentSchema {
10
9
  buttonType: string;
11
10
  closeIcon: Asset;
12
11
  deviceLimit: string;
13
- description: Richtext;
12
+ description: Array<object>;
14
13
  enableDarkMode: boolean;
15
14
  target: string;
16
15
  hotlineNumber: string;
@@ -1,7 +1,6 @@
1
- import Richtext from 'storyblok-js-client';
2
1
  import React from 'react';
3
2
  export interface richText {
4
- content: Richtext;
3
+ content: Array<object>;
5
4
  isIFrame?: boolean;
6
5
  callBack?: (e: any) => void | undefined;
7
6
  }
package/dist/index.d.ts CHANGED
@@ -1,6 +1,5 @@
1
1
  /// <reference types="react" />
2
2
  import { FC } from 'react';
3
- import Richtext from 'storyblok-js-client';
4
3
 
5
4
  declare interface NativeColorPicker {
6
5
  color: string;
@@ -35,7 +34,7 @@ interface RibbonComponentSchema {
35
34
  buttonType: string;
36
35
  closeIcon: Asset;
37
36
  deviceLimit: string;
38
- description: Richtext;
37
+ description: Array<object>;
39
38
  enableDarkMode: boolean;
40
39
  target: string;
41
40
  hotlineNumber: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sunrise-upc/sales-static-components",
3
- "version": "0.0.2",
3
+ "version": "0.0.3",
4
4
  "description": "Static Reusable Components Library",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",
@@ -52,13 +52,11 @@
52
52
  "typescript": "^4.9.4",
53
53
  "postcss": "8.4.21",
54
54
  "react": "^17.0.2",
55
- "react-dom": "^17.0.2",
56
- "axios": "^0.27.2"
55
+ "react-dom": "^17.0.2"
57
56
  },
58
57
  "peerDependencies": {
59
58
  "react": "^17.0.2",
60
59
  "react-dom": "^17.0.2",
61
- "storyblok-js-client": "^4.1.3",
62
60
  "storyblok-rich-text-react-renderer-ts": "^3.1.3"
63
61
  }
64
62
  }