pb-sxp-ui 1.0.83 → 1.0.84

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 React from 'react';
2
- import './index.less';
3
2
  export interface IConsentProps {
4
3
  width?: number;
5
4
  height?: number;
@@ -1,7 +1,6 @@
1
1
  import React, { memo, useEffect, useMemo } from 'react';
2
2
  import qs from 'qs';
3
3
  import { useSxpDataSource } from '../../../core/hooks';
4
- import './index.less';
5
4
  import { AGREE_POLICY } from '../../../core/utils/localStore';
6
5
  const Consent = ({ width = window.innerWidth, height = window.innerHeight, privacy_title, privacy_context, privacy_policy_url, privacy_policy_title }) => {
7
6
  const { setIsAgreePolicy, bffEventReport } = useSxpDataSource();
@@ -1,5 +1,4 @@
1
1
  import React from 'react';
2
- import './index.less';
3
2
  export interface IConsentProps {
4
3
  width?: number;
5
4
  height?: number;
@@ -4,7 +4,6 @@ const tslib_1 = require("tslib");
4
4
  const react_1 = tslib_1.__importStar(require("react"));
5
5
  const qs_1 = tslib_1.__importDefault(require("qs"));
6
6
  const hooks_1 = require("../../../core/hooks");
7
- require("./index.less");
8
7
  const localStore_1 = require("../../../core/utils/localStore");
9
8
  const Consent = ({ width = window.innerWidth, height = window.innerHeight, privacy_title, privacy_context, privacy_policy_url, privacy_policy_title }) => {
10
9
  const { setIsAgreePolicy, bffEventReport } = (0, hooks_1.useSxpDataSource)();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pb-sxp-ui",
3
- "version": "1.0.83",
3
+ "version": "1.0.84",
4
4
  "description": "React enterprise-class UI components",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.js",