@helpdice/ui 2.2.7 → 2.3.2

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,4 +1,3 @@
1
- import * as React from 'react';
2
1
  declare function Path({ className, counterClockwise, dashRatio, pathRadius, strokeWidth, style, }: {
3
2
  className?: string;
4
3
  counterClockwise: boolean;
@@ -6,5 +5,5 @@ declare function Path({ className, counterClockwise, dashRatio, pathRadius, stro
6
5
  pathRadius: number;
7
6
  strokeWidth: number;
8
7
  style?: object;
9
- }): React.JSX.Element;
8
+ }): import("node_modules/@types/react").JSX.Element;
10
9
  export default Path;
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var React = require('react');
3
+ var React$1 = require('react');
4
4
 
5
5
  function _interopNamespaceDefault(e) {
6
6
  var n = Object.create(null);
@@ -19,7 +19,7 @@ function _interopNamespaceDefault(e) {
19
19
  return Object.freeze(n);
20
20
  }
21
21
 
22
- var React__namespace = /*#__PURE__*/_interopNamespaceDefault(React);
22
+ var React__namespace = /*#__PURE__*/_interopNamespaceDefault(React$1);
23
23
 
24
24
  function _assertThisInitialized(e) {
25
25
  if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
@@ -126,6 +126,7 @@ var VIEWBOX_HEIGHT_HALF = 50;
126
126
  var VIEWBOX_CENTER_X = 50;
127
127
  var VIEWBOX_CENTER_Y = 50;
128
128
 
129
+ // import * as React from 'react';
129
130
  function Path(_ref) {
130
131
  var className = _ref.className,
131
132
  counterClockwise = _ref.counterClockwise,
@@ -133,7 +134,7 @@ function Path(_ref) {
133
134
  pathRadius = _ref.pathRadius,
134
135
  strokeWidth = _ref.strokeWidth,
135
136
  style = _ref.style;
136
- return /*#__PURE__*/React__namespace.createElement("path", {
137
+ return /*#__PURE__*/React.createElement("path", {
137
138
  className: className,
138
139
  style: Object.assign({}, style, getDashStyle({
139
140
  pathRadius: pathRadius,
@@ -2562,12 +2562,12 @@ var hasRequiredIsBuffer;
2562
2562
  function requireIsBuffer () {
2563
2563
  if (hasRequiredIsBuffer) return isBuffer.exports;
2564
2564
  hasRequiredIsBuffer = 1;
2565
- (function (module, exports) {
2565
+ (function (module, exports$1) {
2566
2566
  var root = require_root(),
2567
2567
  stubFalse = requireStubFalse();
2568
2568
 
2569
2569
  /** Detect free variable `exports`. */
2570
- var freeExports = exports && !exports.nodeType && exports;
2570
+ var freeExports = exports$1 && !exports$1.nodeType && exports$1;
2571
2571
 
2572
2572
  /** Detect free variable `module`. */
2573
2573
  var freeModule = freeExports && 'object' == 'object' && module && !module.nodeType && module;
@@ -2787,11 +2787,11 @@ var hasRequired_nodeUtil;
2787
2787
  function require_nodeUtil () {
2788
2788
  if (hasRequired_nodeUtil) return _nodeUtil.exports;
2789
2789
  hasRequired_nodeUtil = 1;
2790
- (function (module, exports) {
2790
+ (function (module, exports$1) {
2791
2791
  var freeGlobal = require_freeGlobal();
2792
2792
 
2793
2793
  /** Detect free variable `exports`. */
2794
- var freeExports = exports && !exports.nodeType && exports;
2794
+ var freeExports = exports$1 && !exports$1.nodeType && exports$1;
2795
2795
 
2796
2796
  /** Detect free variable `module`. */
2797
2797
  var freeModule = freeExports && 'object' == 'object' && module && !module.nodeType && module;
@@ -3260,11 +3260,11 @@ var hasRequired_cloneBuffer;
3260
3260
  function require_cloneBuffer () {
3261
3261
  if (hasRequired_cloneBuffer) return _cloneBuffer.exports;
3262
3262
  hasRequired_cloneBuffer = 1;
3263
- (function (module, exports) {
3263
+ (function (module, exports$1) {
3264
3264
  var root = require_root();
3265
3265
 
3266
3266
  /** Detect free variable `exports`. */
3267
- var freeExports = exports && !exports.nodeType && exports;
3267
+ var freeExports = exports$1 && !exports$1.nodeType && exports$1;
3268
3268
 
3269
3269
  /** Detect free variable `module`. */
3270
3270
  var freeModule = freeExports && 'object' == 'object' && module && !module.nodeType && module;
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var React = require('react');
6
6
 
7
- /*! @license DOMPurify 3.3.0 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.3.0/LICENSE */
7
+ /*! @license DOMPurify 3.3.1 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.3.1/LICENSE */
8
8
 
9
9
  const {
10
10
  entries,
@@ -302,7 +302,7 @@ const _createHooksMap = function _createHooksMap() {
302
302
  function createDOMPurify() {
303
303
  let window = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : getGlobal();
304
304
  const DOMPurify = root => createDOMPurify(root);
305
- DOMPurify.version = '3.3.0';
305
+ DOMPurify.version = '3.3.1';
306
306
  DOMPurify.removed = [];
307
307
  if (!window || !window.document || window.document.nodeType !== NODE_TYPE.document || !window.Element) {
308
308
  // Not running in a browser, provide a factory function
@@ -648,6 +648,12 @@ function createDOMPurify() {
648
648
  }
649
649
  addToSet(FORBID_CONTENTS, cfg.FORBID_CONTENTS, transformCaseFunc);
650
650
  }
651
+ if (cfg.ADD_FORBID_CONTENTS) {
652
+ if (FORBID_CONTENTS === DEFAULT_FORBID_CONTENTS) {
653
+ FORBID_CONTENTS = clone(FORBID_CONTENTS);
654
+ }
655
+ addToSet(FORBID_CONTENTS, cfg.ADD_FORBID_CONTENTS, transformCaseFunc);
656
+ }
651
657
  /* Add #text in case KEEP_CONTENT is set to true */
652
658
  if (KEEP_CONTENT) {
653
659
  ALLOWED_TAGS['#text'] = true;