@public-ui/react 1.6.0-rc.6 → 1.6.0-rc.8

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.cjs CHANGED
@@ -1,13 +1,10 @@
1
1
  'use strict';
2
2
 
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
3
  const React = require('react');
6
- require('react-dom');
7
4
 
8
- function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e["default"] : e; }
5
+ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e.default : e; }
9
6
 
10
- const React__default = /*#__PURE__*/_interopDefaultLegacy(React);
7
+ const React__default = /*#__PURE__*/_interopDefaultCompat(React);
11
8
 
12
9
  const dashToPascalCase = (str) => str.toLowerCase().split("-").map((segment) => segment.charAt(0).toUpperCase() + segment.slice(1)).join("");
13
10
  const camelToDashCase = (str) => str.replace(/([A-Z])/g, (m) => `-${m[0].toLowerCase()}`);
package/dist/index.mjs CHANGED
@@ -1,5 +1,4 @@
1
1
  import React, { createElement } from 'react';
2
- import 'react-dom';
3
2
 
4
3
  const dashToPascalCase = (str) => str.toLowerCase().split("-").map((segment) => segment.charAt(0).toUpperCase() + segment.slice(1)).join("");
5
4
  const camelToDashCase = (str) => str.replace(/([A-Z])/g, (m) => `-${m[0].toLowerCase()}`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@public-ui/react",
3
- "version": "1.6.0-rc.6",
3
+ "version": "1.6.0-rc.8",
4
4
  "license": "EUPL-1.2",
5
5
  "homepage": "https://public-ui.github.io",
6
6
  "repository": "https://github.com/public-ui/kolibri",
@@ -46,20 +46,20 @@
46
46
  "prepack": "unbuild"
47
47
  },
48
48
  "devDependencies": {
49
- "@public-ui/components": "1.6.0-rc.6",
49
+ "@public-ui/components": "1.6.0-rc.8",
50
50
  "@types/minimatch": "5.1.2",
51
51
  "@types/minimist": "1.2.2",
52
52
  "@types/node": "ts4.9",
53
53
  "@types/normalize-package-data": "2.4.1",
54
- "@types/react": "18.2.13",
54
+ "@types/react": "18.2.14",
55
55
  "@types/react-dom": "18.2.6",
56
56
  "react": "18.2.0",
57
57
  "react-dom": "18.2.0",
58
- "typescript": "5.0.4",
59
- "unbuild": "0.8.11"
58
+ "typescript": "5.1.6",
59
+ "unbuild": "1.2.1"
60
60
  },
61
61
  "peerDependencies": {
62
- "@public-ui/components": "1.6.0-rc.6",
62
+ "@public-ui/components": "1.6.0-rc.8",
63
63
  "react": ">=16.14.0",
64
64
  "react-dom": ">=16.14.0"
65
65
  },