@public-ui/react 1.1.10 → 1.1.11-rc.1

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,8 +1,14 @@
1
1
  'use strict';
2
2
 
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
3
5
  const React = require('react');
4
6
  require('react-dom');
5
7
 
8
+ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e["default"] : e; }
9
+
10
+ const React__default = /*#__PURE__*/_interopDefaultLegacy(React);
11
+
6
12
  const dashToPascalCase = (str) => str.toLowerCase().split("-").map((segment) => segment.charAt(0).toUpperCase() + segment.slice(1)).join("");
7
13
  const camelToDashCase = (str) => str.replace(/([A-Z])/g, (m) => `-${m[0].toLowerCase()}`);
8
14
 
@@ -105,13 +111,13 @@ const mergeRefs = (...refs) => {
105
111
  };
106
112
  const createForwardRef = (ReactComponent, displayName) => {
107
113
  const forwardRef = (props, ref) => {
108
- return /* @__PURE__ */ React.createElement(ReactComponent, {
114
+ return /* @__PURE__ */ React__default.createElement(ReactComponent, {
109
115
  ...props,
110
116
  forwardedRef: ref
111
117
  });
112
118
  };
113
119
  forwardRef.displayName = displayName;
114
- return React.forwardRef(forwardRef);
120
+ return React__default.forwardRef(forwardRef);
115
121
  };
116
122
 
117
123
  const createReactComponent = (tagName, ReactComponentContext, manipulatePropsFunction, defineCustomElement) => {
@@ -119,7 +125,7 @@ const createReactComponent = (tagName, ReactComponentContext, manipulatePropsFun
119
125
  defineCustomElement();
120
126
  }
121
127
  const displayName = dashToPascalCase(tagName);
122
- const ReactComponent = class extends React.Component {
128
+ const ReactComponent = class extends React__default.Component {
123
129
  constructor(props) {
124
130
  super(props);
125
131
  this.setComponentElRef = (element) => {
@@ -207,6 +213,7 @@ const KolPagination = /* @__PURE__ */ createReactComponent("kol-pagination");
207
213
  const KolProgress = /* @__PURE__ */ createReactComponent("kol-progress");
208
214
  const KolSelect = /* @__PURE__ */ createReactComponent("kol-select");
209
215
  const KolSkipNav = /* @__PURE__ */ createReactComponent("kol-skip-nav");
216
+ const KolSpan = /* @__PURE__ */ createReactComponent("kol-span");
210
217
  const KolSpin = /* @__PURE__ */ createReactComponent("kol-spin");
211
218
  const KolSymbol = /* @__PURE__ */ createReactComponent("kol-symbol");
212
219
  const KolTable = /* @__PURE__ */ createReactComponent("kol-table");
@@ -254,6 +261,7 @@ exports.KolPagination = KolPagination;
254
261
  exports.KolProgress = KolProgress;
255
262
  exports.KolSelect = KolSelect;
256
263
  exports.KolSkipNav = KolSkipNav;
264
+ exports.KolSpan = KolSpan;
257
265
  exports.KolSpin = KolSpin;
258
266
  exports.KolSymbol = KolSymbol;
259
267
  exports.KolTable = KolTable;
package/dist/index.d.ts CHANGED
@@ -47,6 +47,7 @@ declare const KolPagination: react.ForwardRefExoticComponent<JSX.KolPagination &
47
47
  declare const KolProgress: react.ForwardRefExoticComponent<JSX.KolProgress & Omit<react.HTMLAttributes<HTMLKolProgressElement>, "style"> & StyleReactProps & react.RefAttributes<HTMLKolProgressElement>>;
48
48
  declare const KolSelect: react.ForwardRefExoticComponent<JSX.KolSelect & Omit<react.HTMLAttributes<HTMLKolSelectElement>, "style"> & StyleReactProps & react.RefAttributes<HTMLKolSelectElement>>;
49
49
  declare const KolSkipNav: react.ForwardRefExoticComponent<JSX.KolSkipNav & Omit<react.HTMLAttributes<HTMLKolSkipNavElement>, "style"> & StyleReactProps & react.RefAttributes<HTMLKolSkipNavElement>>;
50
+ declare const KolSpan: react.ForwardRefExoticComponent<JSX.KolSpan & Omit<react.HTMLAttributes<HTMLKolSpanElement>, "style"> & StyleReactProps & react.RefAttributes<HTMLKolSpanElement>>;
50
51
  declare const KolSpin: react.ForwardRefExoticComponent<JSX.KolSpin & Omit<react.HTMLAttributes<HTMLKolSpinElement>, "style"> & StyleReactProps & react.RefAttributes<HTMLKolSpinElement>>;
51
52
  declare const KolSymbol: react.ForwardRefExoticComponent<JSX.KolSymbol & Omit<react.HTMLAttributes<HTMLKolSymbolElement>, "style"> & StyleReactProps & react.RefAttributes<HTMLKolSymbolElement>>;
52
53
  declare const KolTable: react.ForwardRefExoticComponent<JSX.KolTable & Omit<react.HTMLAttributes<HTMLKolTableElement>, "style"> & StyleReactProps & react.RefAttributes<HTMLKolTableElement>>;
@@ -56,4 +57,4 @@ declare const KolToast: react.ForwardRefExoticComponent<JSX.KolToast & Omit<reac
56
57
  declare const KolTooltip: react.ForwardRefExoticComponent<JSX.KolTooltip & Omit<react.HTMLAttributes<HTMLKolTooltipElement>, "style"> & StyleReactProps & react.RefAttributes<HTMLKolTooltipElement>>;
57
58
  declare const KolVersion: react.ForwardRefExoticComponent<JSX.KolVersion & Omit<react.HTMLAttributes<HTMLKolVersionElement>, "style"> & StyleReactProps & react.RefAttributes<HTMLKolVersionElement>>;
58
59
 
59
- export { KolAbbr, KolAccordion, KolAlert, KolBadge, KolBreadcrumb, KolButton, KolButtonGroup, KolButtonLink, KolCard, KolDetails, KolForm, KolHeading, KolIcon, KolIconFontAwesome, KolIconIcofont, KolIndentedText, KolInputAdapterLeanup, KolInputCheckbox, KolInputColor, KolInputDate, KolInputEmail, KolInputFile, KolInputNumber, KolInputPassword, KolInputRadio, KolInputRange, KolInputText, KolKolibri, KolLink, KolLinkButton, KolLinkGroup, KolLogo, KolModal, KolNav, KolPagination, KolProgress, KolSelect, KolSkipNav, KolSpin, KolSymbol, KolTable, KolTabs, KolTextarea, KolToast, KolTooltip, KolVersion };
60
+ export { KolAbbr, KolAccordion, KolAlert, KolBadge, KolBreadcrumb, KolButton, KolButtonGroup, KolButtonLink, KolCard, KolDetails, KolForm, KolHeading, KolIcon, KolIconFontAwesome, KolIconIcofont, KolIndentedText, KolInputAdapterLeanup, KolInputCheckbox, KolInputColor, KolInputDate, KolInputEmail, KolInputFile, KolInputNumber, KolInputPassword, KolInputRadio, KolInputRange, KolInputText, KolKolibri, KolLink, KolLinkButton, KolLinkGroup, KolLogo, KolModal, KolNav, KolPagination, KolProgress, KolSelect, KolSkipNav, KolSpan, KolSpin, KolSymbol, KolTable, KolTabs, KolTextarea, KolToast, KolTooltip, KolVersion };
package/dist/index.mjs CHANGED
@@ -205,6 +205,7 @@ const KolPagination = /* @__PURE__ */ createReactComponent("kol-pagination");
205
205
  const KolProgress = /* @__PURE__ */ createReactComponent("kol-progress");
206
206
  const KolSelect = /* @__PURE__ */ createReactComponent("kol-select");
207
207
  const KolSkipNav = /* @__PURE__ */ createReactComponent("kol-skip-nav");
208
+ const KolSpan = /* @__PURE__ */ createReactComponent("kol-span");
208
209
  const KolSpin = /* @__PURE__ */ createReactComponent("kol-spin");
209
210
  const KolSymbol = /* @__PURE__ */ createReactComponent("kol-symbol");
210
211
  const KolTable = /* @__PURE__ */ createReactComponent("kol-table");
@@ -214,4 +215,4 @@ const KolToast = /* @__PURE__ */ createReactComponent("kol-toast");
214
215
  const KolTooltip = /* @__PURE__ */ createReactComponent("kol-tooltip");
215
216
  const KolVersion = /* @__PURE__ */ createReactComponent("kol-version");
216
217
 
217
- export { KolAbbr, KolAccordion, KolAlert, KolBadge, KolBreadcrumb, KolButton, KolButtonGroup, KolButtonLink, KolCard, KolDetails, KolForm, KolHeading, KolIcon, KolIconFontAwesome, KolIconIcofont, KolIndentedText, KolInputAdapterLeanup, KolInputCheckbox, KolInputColor, KolInputDate, KolInputEmail, KolInputFile, KolInputNumber, KolInputPassword, KolInputRadio, KolInputRange, KolInputText, KolKolibri, KolLink, KolLinkButton, KolLinkGroup, KolLogo, KolModal, KolNav, KolPagination, KolProgress, KolSelect, KolSkipNav, KolSpin, KolSymbol, KolTable, KolTabs, KolTextarea, KolToast, KolTooltip, KolVersion };
218
+ export { KolAbbr, KolAccordion, KolAlert, KolBadge, KolBreadcrumb, KolButton, KolButtonGroup, KolButtonLink, KolCard, KolDetails, KolForm, KolHeading, KolIcon, KolIconFontAwesome, KolIconIcofont, KolIndentedText, KolInputAdapterLeanup, KolInputCheckbox, KolInputColor, KolInputDate, KolInputEmail, KolInputFile, KolInputNumber, KolInputPassword, KolInputRadio, KolInputRange, KolInputText, KolKolibri, KolLink, KolLinkButton, KolLinkGroup, KolLogo, KolModal, KolNav, KolPagination, KolProgress, KolSelect, KolSkipNav, KolSpan, KolSpin, KolSymbol, KolTable, KolTabs, KolTextarea, KolToast, KolTooltip, KolVersion };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@public-ui/react",
3
- "version": "1.1.10",
3
+ "version": "1.1.11-rc.1",
4
4
  "license": "EUPL-1.2",
5
5
  "homepage": "https://public-ui.github.io",
6
6
  "repository": "https://github.com/public-ui/kolibri",
@@ -28,21 +28,21 @@
28
28
  ":unpublish": "npm unpublish -f --registry=http://localhost:4873"
29
29
  },
30
30
  "devDependencies": {
31
- "@public-ui/core": "1.1.10",
32
- "@public-ui/components": "1.1.10",
31
+ "@public-ui/core": "1.1.11-rc.1",
32
+ "@public-ui/components": "1.1.11-rc.1",
33
33
  "@types/minimatch": "5.1.2",
34
34
  "@types/minimist": "1.2.2",
35
35
  "@types/node": "18.11.9",
36
36
  "@types/normalize-package-data": "2.4.1",
37
37
  "@types/react": "18.0.25",
38
- "@types/react-dom": "18.0.8",
38
+ "@types/react-dom": "18.0.9",
39
39
  "react": "18.2.0",
40
40
  "react-dom": "18.2.0",
41
41
  "typescript": "4.8.4",
42
- "unbuild": "0.9.1"
42
+ "unbuild": "0.8.11"
43
43
  },
44
44
  "peerDependencies": {
45
- "@public-ui/components": "1.1.10",
45
+ "@public-ui/components": "1.1.11-rc.1",
46
46
  "react": ">=16.14.0",
47
47
  "react-dom": ">=16.14.0"
48
48
  },