@kakadu/components 6.9.0 → 6.10.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/build/components/aria-text.js +1 -1
- package/build/components/aria-text.mjs +1 -1
- package/build/components/box.js +1 -1
- package/build/components/box.mjs +1 -1
- package/build/components/button-tooltip.js +1 -1
- package/build/components/button-tooltip.mjs +1 -1
- package/build/components/button.js +1 -1
- package/build/components/button.mjs +1 -1
- package/build/components/card.js +1 -1
- package/build/components/card.mjs +1 -1
- package/build/components/checkbox.js +1 -1
- package/build/components/checkbox.mjs +1 -1
- package/build/components/click-ripples.js +1 -1
- package/build/components/click-ripples.mjs +1 -1
- package/build/components/collapsible.js +1 -1
- package/build/components/collapsible.mjs +1 -1
- package/build/components/combobox.js +1 -1
- package/build/components/combobox.mjs +1 -1
- package/build/components/copy-icon-button.js +1 -1
- package/build/components/copy-icon-button.mjs +1 -1
- package/build/components/datum.js +1 -1
- package/build/components/datum.mjs +1 -1
- package/build/components/decorators.js +1 -1
- package/build/components/decorators.mjs +1 -1
- package/build/components/dot.js +1 -1
- package/build/components/dot.mjs +1 -1
- package/build/components/flags.js +1 -1
- package/build/components/flags.mjs +1 -1
- package/build/components/flex.js +1 -1
- package/build/components/flex.mjs +1 -1
- package/build/components/footer.js +1 -1
- package/build/components/footer.mjs +1 -1
- package/build/components/gauge.js +1 -1
- package/build/components/gauge.mjs +1 -1
- package/build/components/header.js +1 -1
- package/build/components/header.mjs +1 -1
- package/build/components/hover-gradient.js +1 -1
- package/build/components/hover-gradient.mjs +1 -1
- package/build/components/icon-button.js +1 -1
- package/build/components/icon-button.mjs +1 -1
- package/build/components/input.js +1 -1
- package/build/components/input.mjs +1 -1
- package/build/components/logos/akt-logo.js +1 -1
- package/build/components/logos/akt-logo.mjs +1 -1
- package/build/components/logos/amedia-logo.js +1 -1
- package/build/components/logos/amedia-logo.mjs +1 -1
- package/build/components/logos/bankaxept-logo.js +1 -1
- package/build/components/logos/bankaxept-logo.mjs +1 -1
- package/build/components/logos/bankid-logo.js +1 -1
- package/build/components/logos/bankid-logo.mjs +1 -1
- package/build/components/logos/dnb-logo.js +1 -1
- package/build/components/logos/dnb-logo.mjs +1 -1
- package/build/components/logos/entur-logo.js +1 -1
- package/build/components/logos/entur-logo.mjs +1 -1
- package/build/components/logos/gjensidige-logo.js +1 -1
- package/build/components/logos/gjensidige-logo.mjs +1 -1
- package/build/components/logos/kakadu-academy-logo.js +1 -1
- package/build/components/logos/kakadu-academy-logo.mjs +1 -1
- package/build/components/logos/kakadu-guide-icon.js +1 -1
- package/build/components/logos/kakadu-guide-icon.mjs +1 -1
- package/build/components/logos/kakadu-guide-logo.js +1 -1
- package/build/components/logos/kakadu-guide-logo.mjs +1 -1
- package/build/components/logos/kakadu-index-logo.js +1 -1
- package/build/components/logos/kakadu-index-logo.mjs +1 -1
- package/build/components/logos/kakadu-logo.js +1 -1
- package/build/components/logos/kakadu-logo.mjs +1 -1
- package/build/components/logos/kakadu-play-logo.js +1 -1
- package/build/components/logos/kakadu-play-logo.mjs +1 -1
- package/build/components/logos/kolumbus-logo.js +1 -1
- package/build/components/logos/kolumbus-logo.mjs +1 -1
- package/build/components/logos/nordea-logo.js +1 -1
- package/build/components/logos/nordea-logo.mjs +1 -1
- package/build/components/logos/norsk-tipping-logo.js +1 -1
- package/build/components/logos/norsk-tipping-logo.mjs +1 -1
- package/build/components/logos/ruter-logo.js +1 -1
- package/build/components/logos/ruter-logo.mjs +1 -1
- package/build/components/logos/senteret-for-et-aldersvennlig-norge-logo.js +1 -1
- package/build/components/logos/senteret-for-et-aldersvennlig-norge-logo.mjs +1 -1
- package/build/components/logos/sparebank1-logo.js +1 -1
- package/build/components/logos/sparebank1-logo.mjs +1 -1
- package/build/components/logos/sparebanken-norge-logo.js +1 -1
- package/build/components/logos/sparebanken-norge-logo.mjs +1 -1
- package/build/components/logos/sto-logo.js +1 -1
- package/build/components/logos/sto-logo.mjs +1 -1
- package/build/components/logos/storebrand-logo.js +1 -1
- package/build/components/logos/storebrand-logo.mjs +1 -1
- package/build/components/modal.js +1 -1
- package/build/components/modal.mjs +2 -2
- package/build/components/moving-gradients.js +1 -1
- package/build/components/moving-gradients.mjs +1 -1
- package/build/components/moving-stars.js +1 -1
- package/build/components/moving-stars.mjs +1 -1
- package/build/components/notice.js +1 -1
- package/build/components/notice.mjs +1 -1
- package/build/components/notification.js +1 -1
- package/build/components/notification.mjs +1 -1
- package/build/components/popover-menu.js +1 -1
- package/build/components/popover-menu.mjs +1 -1
- package/build/components/popover.js +1 -1
- package/build/components/popover.mjs +2 -2
- package/build/components/revealer.js +1 -1
- package/build/components/revealer.mjs +1 -1
- package/build/components/select.js +1 -1
- package/build/components/select.mjs +1 -1
- package/build/components/separator.js +1 -1
- package/build/components/separator.mjs +1 -1
- package/build/components/skeleton.js +1 -1
- package/build/components/skeleton.mjs +1 -1
- package/build/components/spinner.js +1 -1
- package/build/components/spinner.mjs +1 -1
- package/build/components/text-button.js +1 -1
- package/build/components/text-button.mjs +1 -1
- package/build/components/text.js +1 -1
- package/build/components/text.mjs +1 -1
- package/build/components/theme-setter.js +1 -1
- package/build/components/theme-setter.mjs +1 -1
- package/build/components/veil.js +1 -1
- package/build/components/veil.mjs +1 -1
- package/build/components/wrapper.js +1 -1
- package/build/components/wrapper.mjs +1 -1
- package/build/{focus-trap-react-B7f3iC5h.js → focus-trap-react-D0ZxGVUk.js} +3 -3
- package/build/{focus-trap-react-Dr3BYLw6.mjs → focus-trap-react-D4ushEjf.mjs} +86 -85
- package/build/hooks/use-fetch.d.ts +3 -3
- package/build/hooks/use-fetch.js +1 -1
- package/build/hooks/use-fetch.mjs +77 -75
- package/build/hooks/use-local-storage.d.ts +3 -0
- package/build/hooks/use-local-storage.js +1 -0
- package/build/hooks/use-local-storage.mjs +84 -0
- package/build/icons/anchor-down.js +1 -1
- package/build/icons/anchor-down.mjs +1 -1
- package/build/icons/anchor-up.js +1 -1
- package/build/icons/anchor-up.mjs +1 -1
- package/build/icons/arrow-down.js +1 -1
- package/build/icons/arrow-down.mjs +1 -1
- package/build/icons/arrow-left.js +1 -1
- package/build/icons/arrow-left.mjs +1 -1
- package/build/icons/arrow-right.js +1 -1
- package/build/icons/arrow-right.mjs +1 -1
- package/build/icons/arrow-up.js +1 -1
- package/build/icons/arrow-up.mjs +1 -1
- package/build/icons/caret-down.js +1 -1
- package/build/icons/caret-down.mjs +1 -1
- package/build/icons/caret-left.js +1 -1
- package/build/icons/caret-left.mjs +1 -1
- package/build/icons/caret-right.js +1 -1
- package/build/icons/caret-right.mjs +1 -1
- package/build/icons/caret-up.js +1 -1
- package/build/icons/caret-up.mjs +1 -1
- package/build/icons/check.js +1 -1
- package/build/icons/check.mjs +1 -1
- package/build/icons/chevron-down.js +1 -1
- package/build/icons/chevron-down.mjs +1 -1
- package/build/icons/chevron-left.js +1 -1
- package/build/icons/chevron-left.mjs +1 -1
- package/build/icons/chevron-right.js +1 -1
- package/build/icons/chevron-right.mjs +1 -1
- package/build/icons/chevron-up.js +1 -1
- package/build/icons/chevron-up.mjs +1 -1
- package/build/icons/chrome-browser-logo.js +1 -1
- package/build/icons/chrome-browser-logo.mjs +1 -1
- package/build/icons/cog.js +1 -1
- package/build/icons/cog.mjs +1 -1
- package/build/icons/copy.js +1 -1
- package/build/icons/copy.mjs +1 -1
- package/build/icons/document.js +1 -1
- package/build/icons/document.mjs +1 -1
- package/build/icons/dots.js +1 -1
- package/build/icons/dots.mjs +1 -1
- package/build/icons/drag.js +1 -1
- package/build/icons/drag.mjs +1 -1
- package/build/icons/edge-browser-logo.js +1 -1
- package/build/icons/edge-browser-logo.mjs +1 -1
- package/build/icons/edit.js +1 -1
- package/build/icons/edit.mjs +1 -1
- package/build/icons/exclamation-triangle.js +1 -1
- package/build/icons/exclamation-triangle.mjs +1 -1
- package/build/icons/external.js +1 -1
- package/build/icons/external.mjs +1 -1
- package/build/icons/eye.js +1 -1
- package/build/icons/eye.mjs +1 -1
- package/build/icons/icon.js +1 -1
- package/build/icons/icon.mjs +1 -1
- package/build/icons/information.js +1 -1
- package/build/icons/information.mjs +1 -1
- package/build/icons/kakadu-guide-glyph.js +1 -1
- package/build/icons/kakadu-guide-glyph.mjs +1 -1
- package/build/icons/kakadu-guide-icon.js +1 -1
- package/build/icons/kakadu-guide-icon.mjs +1 -1
- package/build/icons/menu.js +1 -1
- package/build/icons/menu.mjs +1 -1
- package/build/icons/package.js +1 -1
- package/build/icons/package.mjs +1 -1
- package/build/icons/plus.js +1 -1
- package/build/icons/plus.mjs +1 -1
- package/build/icons/reload.js +1 -1
- package/build/icons/reload.mjs +1 -1
- package/build/icons/select.js +1 -1
- package/build/icons/select.mjs +1 -1
- package/build/icons/share.js +1 -1
- package/build/icons/share.mjs +1 -1
- package/build/icons/sparkle.js +1 -1
- package/build/icons/sparkle.mjs +1 -1
- package/build/icons/test.js +1 -1
- package/build/icons/test.mjs +1 -1
- package/build/icons/thumbs-down.js +1 -1
- package/build/icons/thumbs-down.mjs +1 -1
- package/build/icons/thumbs-up.js +1 -1
- package/build/icons/thumbs-up.mjs +1 -1
- package/build/icons/times.js +1 -1
- package/build/icons/times.mjs +1 -1
- package/build/icons/trash.js +1 -1
- package/build/icons/trash.mjs +1 -1
- package/build/icons/trend-up.js +1 -1
- package/build/icons/trend-up.mjs +1 -1
- package/build/index.d.ts +2 -0
- package/build/index.js +1 -1
- package/build/index.mjs +22 -20
- package/build/jsx-runtime-CZa898vN.js +22 -0
- package/build/{jsx-runtime-B4hRZ52C.mjs → jsx-runtime-z6PQ6F3d.mjs} +111 -97
- package/build/theme.js +1 -1
- package/build/theme.mjs +1 -1
- package/package.json +22 -22
- package/build/jsx-runtime-BB_1_6y_.js +0 -22
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";const ee=require("react");var b={exports:{}},d={};/**
|
|
2
|
+
* @license React
|
|
3
|
+
* react-jsx-runtime.production.js
|
|
4
|
+
*
|
|
5
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
6
|
+
*
|
|
7
|
+
* This source code is licensed under the MIT license found in the
|
|
8
|
+
* LICENSE file in the root directory of this source tree.
|
|
9
|
+
*/var I;function re(){if(I)return d;I=1;var c=Symbol.for("react.transitional.element"),T=Symbol.for("react.fragment");function f(m,o,s){var E=null;if(s!==void 0&&(E=""+s),o.key!==void 0&&(E=""+o.key),"key"in o){s={};for(var _ in o)_!=="key"&&(s[_]=o[_])}else s=o;return o=s.ref,{$$typeof:c,type:m,key:E,ref:o!==void 0?o:null,props:s}}return d.Fragment=T,d.jsx=f,d.jsxs=f,d}var R={};/**
|
|
10
|
+
* @license React
|
|
11
|
+
* react-jsx-runtime.development.js
|
|
12
|
+
*
|
|
13
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
14
|
+
*
|
|
15
|
+
* This source code is licensed under the MIT license found in the
|
|
16
|
+
* LICENSE file in the root directory of this source tree.
|
|
17
|
+
*/var L;function te(){return L||(L=1,process.env.NODE_ENV!=="production"&&(function(){function c(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===Z?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case p:return"Fragment";case U:return"Profiler";case M:return"StrictMode";case z:return"Suspense";case G:return"SuspenseList";case B:return"Activity";case H:return"ViewTransition"}if(typeof e=="object")switch(typeof e.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),e.$$typeof){case D:return"Portal";case J:return e.displayName||"Context";case q:return(e._context.displayName||"Context")+".Consumer";case V:var r=e.render;return e=e.displayName,e||(e=r.displayName||r.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case X:return r=e.displayName||null,r!==null?r:c(e.type)||"Memo";case k:r=e._payload,e=e._init;try{return c(e(r))}catch{}}return null}function T(e){return""+e}function f(e){try{T(e);var r=!1}catch{r=!0}if(r){r=console;var t=r.error,a=typeof Symbol=="function"&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object";return t.call(r,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",a),T(e)}}function m(e){if(e===p)return"<>";if(typeof e=="object"&&e!==null&&e.$$typeof===k)return"<...>";try{var r=c(e);return r?"<"+r+">":"<...>"}catch{return"<...>"}}function o(){var e=O.A;return e===null?null:e.getOwner()}function s(){return Error("react-stack-top-frame")}function E(e){if(j.call(e,"key")){var r=Object.getOwnPropertyDescriptor(e,"key").get;if(r&&r.isReactWarning)return!1}return e.key!==void 0}function _(e,r){function t(){h||(h=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",r))}t.isReactWarning=!0,Object.defineProperty(e,"key",{get:t,configurable:!0})}function F(){var e=c(this.type);return g[e]||(g[e]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),e=this.props.ref,e!==void 0?e:null}function W(e,r,t,a,u,l){var n=t.ref;return e={$$typeof:x,type:e,key:r,props:t,_owner:a},(n!==void 0?n:null)!==null?Object.defineProperty(e,"ref",{enumerable:!1,get:F}):Object.defineProperty(e,"ref",{enumerable:!1,value:null}),e._store={},Object.defineProperty(e._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(e,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(e,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:u}),Object.defineProperty(e,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:l}),Object.freeze&&(Object.freeze(e.props),Object.freeze(e)),e}function S(e,r,t,a,u,l){var n=r.children;if(n!==void 0)if(a)if(Q(n)){for(a=0;a<n.length;a++)w(n[a]);Object.freeze&&Object.freeze(n)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else w(n);if(j.call(r,"key")){n=c(e);var i=Object.keys(r).filter(function(K){return K!=="key"});a=0<i.length?"{key: someKey, "+i.join(": ..., ")+": ...}":"{key: someKey}",Y[n+a]||(i=0<i.length?"{"+i.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
|
|
18
|
+
let props = %s;
|
|
19
|
+
<%s {...props} />
|
|
20
|
+
React keys must be passed directly to JSX without using spread:
|
|
21
|
+
let props = %s;
|
|
22
|
+
<%s key={someKey} {...props} />`,a,n,i,n),Y[n+a]=!0)}if(n=null,t!==void 0&&(f(t),n=""+t),E(r)&&(f(r.key),n=""+r.key),"key"in r){t={};for(var P in r)P!=="key"&&(t[P]=r[P])}else t=r;return n&&_(t,typeof e=="function"?e.displayName||e.name||"Unknown":e),W(e,n,t,o(),u,l)}function w(e){y(e)?e._store&&(e._store.validated=1):typeof e=="object"&&e!==null&&e.$$typeof===k&&(e._payload.status==="fulfilled"?y(e._payload.value)&&e._payload.value._store&&(e._payload.value._store.validated=1):e._store&&(e._store.validated=1))}function y(e){return typeof e=="object"&&e!==null&&e.$$typeof===x}var v=ee,x=Symbol.for("react.transitional.element"),D=Symbol.for("react.portal"),p=Symbol.for("react.fragment"),M=Symbol.for("react.strict_mode"),U=Symbol.for("react.profiler"),q=Symbol.for("react.consumer"),J=Symbol.for("react.context"),V=Symbol.for("react.forward_ref"),z=Symbol.for("react.suspense"),G=Symbol.for("react.suspense_list"),X=Symbol.for("react.memo"),k=Symbol.for("react.lazy"),B=Symbol.for("react.activity"),H=Symbol.for("react.view_transition"),Z=Symbol.for("react.client.reference"),O=v.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,j=Object.prototype.hasOwnProperty,Q=Array.isArray,A=console.createTask?console.createTask:function(){return null};v={react_stack_bottom_frame:function(e){return e()}};var h,g={},N=v.react_stack_bottom_frame.bind(v,s)(),C=A(m(s)),Y={};R.Fragment=p,R.jsx=function(e,r,t){var a=1e4>O.recentlyCreatedOwnerStacks++;if(a){var u=Error.stackTraceLimit;Error.stackTraceLimit=10;var l=Error("react-stack-top-frame");Error.stackTraceLimit=u}else l=N;return S(e,r,t,!1,l,a?A(m(e)):C)},R.jsxs=function(e,r,t){var a=1e4>O.recentlyCreatedOwnerStacks++;if(a){var u=Error.stackTraceLimit;Error.stackTraceLimit=10;var l=Error("react-stack-top-frame");Error.stackTraceLimit=u}else l=N;return S(e,r,t,!0,l,a?A(m(e)):C)}})()),R}var $;function ae(){return $||($=1,process.env.NODE_ENV==="production"?b.exports=re():b.exports=te()),b.exports}var ne=ae();exports.jsxRuntimeExports=ne;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
var
|
|
1
|
+
import ee from "react";
|
|
2
|
+
var b = { exports: {} }, d = {};
|
|
3
3
|
/**
|
|
4
4
|
* @license React
|
|
5
5
|
* react-jsx-runtime.production.js
|
|
@@ -9,29 +9,29 @@ var v = { exports: {} }, m = {};
|
|
|
9
9
|
* This source code is licensed under the MIT license found in the
|
|
10
10
|
* LICENSE file in the root directory of this source tree.
|
|
11
11
|
*/
|
|
12
|
-
var
|
|
13
|
-
function
|
|
14
|
-
if (
|
|
15
|
-
|
|
16
|
-
var
|
|
17
|
-
function
|
|
18
|
-
var
|
|
19
|
-
if (s !== void 0 && (
|
|
12
|
+
var I;
|
|
13
|
+
function re() {
|
|
14
|
+
if (I) return d;
|
|
15
|
+
I = 1;
|
|
16
|
+
var c = Symbol.for("react.transitional.element"), T = Symbol.for("react.fragment");
|
|
17
|
+
function f(m, o, s) {
|
|
18
|
+
var E = null;
|
|
19
|
+
if (s !== void 0 && (E = "" + s), o.key !== void 0 && (E = "" + o.key), "key" in o) {
|
|
20
20
|
s = {};
|
|
21
|
-
for (var
|
|
22
|
-
|
|
21
|
+
for (var _ in o)
|
|
22
|
+
_ !== "key" && (s[_] = o[_]);
|
|
23
23
|
} else s = o;
|
|
24
24
|
return o = s.ref, {
|
|
25
|
-
$$typeof:
|
|
26
|
-
type:
|
|
27
|
-
key:
|
|
25
|
+
$$typeof: c,
|
|
26
|
+
type: m,
|
|
27
|
+
key: E,
|
|
28
28
|
ref: o !== void 0 ? o : null,
|
|
29
29
|
props: s
|
|
30
30
|
};
|
|
31
31
|
}
|
|
32
|
-
return
|
|
32
|
+
return d.Fragment = T, d.jsx = f, d.jsxs = f, d;
|
|
33
33
|
}
|
|
34
|
-
var
|
|
34
|
+
var R = {};
|
|
35
35
|
/**
|
|
36
36
|
* @license React
|
|
37
37
|
* react-jsx-runtime.development.js
|
|
@@ -41,20 +41,20 @@ var _ = {};
|
|
|
41
41
|
* This source code is licensed under the MIT license found in the
|
|
42
42
|
* LICENSE file in the root directory of this source tree.
|
|
43
43
|
*/
|
|
44
|
-
var
|
|
45
|
-
function
|
|
46
|
-
return
|
|
47
|
-
function
|
|
44
|
+
var L;
|
|
45
|
+
function te() {
|
|
46
|
+
return L || (L = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
47
|
+
function c(e) {
|
|
48
48
|
if (e == null) return null;
|
|
49
49
|
if (typeof e == "function")
|
|
50
|
-
return e.$$typeof ===
|
|
50
|
+
return e.$$typeof === Z ? null : e.displayName || e.name || null;
|
|
51
51
|
if (typeof e == "string") return e;
|
|
52
52
|
switch (e) {
|
|
53
53
|
case p:
|
|
54
54
|
return "Fragment";
|
|
55
55
|
case U:
|
|
56
56
|
return "Profiler";
|
|
57
|
-
case
|
|
57
|
+
case M:
|
|
58
58
|
return "StrictMode";
|
|
59
59
|
case z:
|
|
60
60
|
return "Suspense";
|
|
@@ -62,12 +62,14 @@ function re() {
|
|
|
62
62
|
return "SuspenseList";
|
|
63
63
|
case B:
|
|
64
64
|
return "Activity";
|
|
65
|
+
case H:
|
|
66
|
+
return "ViewTransition";
|
|
65
67
|
}
|
|
66
68
|
if (typeof e == "object")
|
|
67
69
|
switch (typeof e.tag == "number" && console.error(
|
|
68
70
|
"Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
|
|
69
71
|
), e.$$typeof) {
|
|
70
|
-
case
|
|
72
|
+
case D:
|
|
71
73
|
return "Portal";
|
|
72
74
|
case J:
|
|
73
75
|
return e.displayName || "Context";
|
|
@@ -77,64 +79,64 @@ function re() {
|
|
|
77
79
|
var r = e.render;
|
|
78
80
|
return e = e.displayName, e || (e = r.displayName || r.name || "", e = e !== "" ? "ForwardRef(" + e + ")" : "ForwardRef"), e;
|
|
79
81
|
case X:
|
|
80
|
-
return r = e.displayName || null, r !== null ? r :
|
|
81
|
-
case
|
|
82
|
+
return r = e.displayName || null, r !== null ? r : c(e.type) || "Memo";
|
|
83
|
+
case k:
|
|
82
84
|
r = e._payload, e = e._init;
|
|
83
85
|
try {
|
|
84
|
-
return
|
|
86
|
+
return c(e(r));
|
|
85
87
|
} catch {
|
|
86
88
|
}
|
|
87
89
|
}
|
|
88
90
|
return null;
|
|
89
91
|
}
|
|
90
|
-
function
|
|
92
|
+
function T(e) {
|
|
91
93
|
return "" + e;
|
|
92
94
|
}
|
|
93
|
-
function
|
|
95
|
+
function f(e) {
|
|
94
96
|
try {
|
|
95
|
-
|
|
97
|
+
T(e);
|
|
96
98
|
var r = !1;
|
|
97
99
|
} catch {
|
|
98
100
|
r = !0;
|
|
99
101
|
}
|
|
100
102
|
if (r) {
|
|
101
103
|
r = console;
|
|
102
|
-
var t = r.error,
|
|
104
|
+
var t = r.error, a = typeof Symbol == "function" && Symbol.toStringTag && e[Symbol.toStringTag] || e.constructor.name || "Object";
|
|
103
105
|
return t.call(
|
|
104
106
|
r,
|
|
105
107
|
"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
|
|
106
|
-
|
|
107
|
-
),
|
|
108
|
+
a
|
|
109
|
+
), T(e);
|
|
108
110
|
}
|
|
109
111
|
}
|
|
110
|
-
function
|
|
112
|
+
function m(e) {
|
|
111
113
|
if (e === p) return "<>";
|
|
112
|
-
if (typeof e == "object" && e !== null && e.$$typeof ===
|
|
114
|
+
if (typeof e == "object" && e !== null && e.$$typeof === k)
|
|
113
115
|
return "<...>";
|
|
114
116
|
try {
|
|
115
|
-
var r =
|
|
117
|
+
var r = c(e);
|
|
116
118
|
return r ? "<" + r + ">" : "<...>";
|
|
117
119
|
} catch {
|
|
118
120
|
return "<...>";
|
|
119
121
|
}
|
|
120
122
|
}
|
|
121
123
|
function o() {
|
|
122
|
-
var e =
|
|
124
|
+
var e = O.A;
|
|
123
125
|
return e === null ? null : e.getOwner();
|
|
124
126
|
}
|
|
125
127
|
function s() {
|
|
126
128
|
return Error("react-stack-top-frame");
|
|
127
129
|
}
|
|
128
|
-
function
|
|
130
|
+
function E(e) {
|
|
129
131
|
if (x.call(e, "key")) {
|
|
130
132
|
var r = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
131
133
|
if (r && r.isReactWarning) return !1;
|
|
132
134
|
}
|
|
133
135
|
return e.key !== void 0;
|
|
134
136
|
}
|
|
135
|
-
function
|
|
137
|
+
function _(e, r) {
|
|
136
138
|
function t() {
|
|
137
|
-
|
|
139
|
+
h || (h = !0, console.error(
|
|
138
140
|
"%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",
|
|
139
141
|
r
|
|
140
142
|
));
|
|
@@ -144,23 +146,23 @@ function re() {
|
|
|
144
146
|
configurable: !0
|
|
145
147
|
});
|
|
146
148
|
}
|
|
147
|
-
function
|
|
148
|
-
var e =
|
|
149
|
-
return
|
|
149
|
+
function F() {
|
|
150
|
+
var e = c(this.type);
|
|
151
|
+
return g[e] || (g[e] = !0, console.error(
|
|
150
152
|
"Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
|
|
151
153
|
)), e = this.props.ref, e !== void 0 ? e : null;
|
|
152
154
|
}
|
|
153
|
-
function
|
|
154
|
-
var
|
|
155
|
+
function W(e, r, t, a, u, l) {
|
|
156
|
+
var n = t.ref;
|
|
155
157
|
return e = {
|
|
156
158
|
$$typeof: j,
|
|
157
159
|
type: e,
|
|
158
160
|
key: r,
|
|
159
161
|
props: t,
|
|
160
|
-
_owner:
|
|
161
|
-
}, (
|
|
162
|
+
_owner: a
|
|
163
|
+
}, (n !== void 0 ? n : null) !== null ? Object.defineProperty(e, "ref", {
|
|
162
164
|
enumerable: !1,
|
|
163
|
-
get:
|
|
165
|
+
get: F
|
|
164
166
|
}) : Object.defineProperty(e, "ref", { enumerable: !1, value: null }), e._store = {}, Object.defineProperty(e._store, "validated", {
|
|
165
167
|
configurable: !1,
|
|
166
168
|
enumerable: !1,
|
|
@@ -175,108 +177,120 @@ function re() {
|
|
|
175
177
|
configurable: !1,
|
|
176
178
|
enumerable: !1,
|
|
177
179
|
writable: !0,
|
|
178
|
-
value:
|
|
180
|
+
value: u
|
|
179
181
|
}), Object.defineProperty(e, "_debugTask", {
|
|
180
182
|
configurable: !1,
|
|
181
183
|
enumerable: !1,
|
|
182
184
|
writable: !0,
|
|
183
|
-
value:
|
|
185
|
+
value: l
|
|
184
186
|
}), Object.freeze && (Object.freeze(e.props), Object.freeze(e)), e;
|
|
185
187
|
}
|
|
186
|
-
function
|
|
187
|
-
var
|
|
188
|
-
if (
|
|
189
|
-
if (
|
|
190
|
-
if (
|
|
191
|
-
for (
|
|
192
|
-
w(a
|
|
193
|
-
Object.freeze && Object.freeze(
|
|
188
|
+
function S(e, r, t, a, u, l) {
|
|
189
|
+
var n = r.children;
|
|
190
|
+
if (n !== void 0)
|
|
191
|
+
if (a)
|
|
192
|
+
if (Q(n)) {
|
|
193
|
+
for (a = 0; a < n.length; a++)
|
|
194
|
+
w(n[a]);
|
|
195
|
+
Object.freeze && Object.freeze(n);
|
|
194
196
|
} else
|
|
195
197
|
console.error(
|
|
196
198
|
"React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
|
|
197
199
|
);
|
|
198
|
-
else w(
|
|
200
|
+
else w(n);
|
|
199
201
|
if (x.call(r, "key")) {
|
|
200
|
-
|
|
201
|
-
var
|
|
202
|
-
return
|
|
202
|
+
n = c(e);
|
|
203
|
+
var i = Object.keys(r).filter(function(K) {
|
|
204
|
+
return K !== "key";
|
|
203
205
|
});
|
|
204
|
-
|
|
206
|
+
a = 0 < i.length ? "{key: someKey, " + i.join(": ..., ") + ": ...}" : "{key: someKey}", Y[n + a] || (i = 0 < i.length ? "{" + i.join(": ..., ") + ": ...}" : "{}", console.error(
|
|
205
207
|
`A props object containing a "key" prop is being spread into JSX:
|
|
206
208
|
let props = %s;
|
|
207
209
|
<%s {...props} />
|
|
208
210
|
React keys must be passed directly to JSX without using spread:
|
|
209
211
|
let props = %s;
|
|
210
212
|
<%s key={someKey} {...props} />`,
|
|
211
|
-
n,
|
|
212
213
|
a,
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
214
|
+
n,
|
|
215
|
+
i,
|
|
216
|
+
n
|
|
217
|
+
), Y[n + a] = !0);
|
|
216
218
|
}
|
|
217
|
-
if (
|
|
219
|
+
if (n = null, t !== void 0 && (f(t), n = "" + t), E(r) && (f(r.key), n = "" + r.key), "key" in r) {
|
|
218
220
|
t = {};
|
|
219
|
-
for (var
|
|
220
|
-
|
|
221
|
+
for (var P in r)
|
|
222
|
+
P !== "key" && (t[P] = r[P]);
|
|
221
223
|
} else t = r;
|
|
222
|
-
return
|
|
224
|
+
return n && _(
|
|
223
225
|
t,
|
|
224
226
|
typeof e == "function" ? e.displayName || e.name || "Unknown" : e
|
|
225
|
-
),
|
|
227
|
+
), W(
|
|
226
228
|
e,
|
|
227
|
-
|
|
229
|
+
n,
|
|
228
230
|
t,
|
|
229
231
|
o(),
|
|
230
|
-
|
|
231
|
-
|
|
232
|
+
u,
|
|
233
|
+
l
|
|
232
234
|
);
|
|
233
235
|
}
|
|
234
236
|
function w(e) {
|
|
235
|
-
y(e) ? e._store && (e._store.validated = 1) : typeof e == "object" && e !== null && e.$$typeof ===
|
|
237
|
+
y(e) ? e._store && (e._store.validated = 1) : typeof e == "object" && e !== null && e.$$typeof === k && (e._payload.status === "fulfilled" ? y(e._payload.value) && e._payload.value._store && (e._payload.value._store.validated = 1) : e._store && (e._store.validated = 1));
|
|
236
238
|
}
|
|
237
239
|
function y(e) {
|
|
238
240
|
return typeof e == "object" && e !== null && e.$$typeof === j;
|
|
239
241
|
}
|
|
240
|
-
var
|
|
242
|
+
var v = ee, j = Symbol.for("react.transitional.element"), D = Symbol.for("react.portal"), p = Symbol.for("react.fragment"), M = Symbol.for("react.strict_mode"), U = Symbol.for("react.profiler"), q = Symbol.for("react.consumer"), J = Symbol.for("react.context"), V = Symbol.for("react.forward_ref"), z = Symbol.for("react.suspense"), G = Symbol.for("react.suspense_list"), X = Symbol.for("react.memo"), k = Symbol.for("react.lazy"), B = Symbol.for("react.activity"), H = Symbol.for("react.view_transition"), Z = Symbol.for("react.client.reference"), O = v.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, x = Object.prototype.hasOwnProperty, Q = Array.isArray, A = console.createTask ? console.createTask : function() {
|
|
241
243
|
return null;
|
|
242
244
|
};
|
|
243
|
-
|
|
245
|
+
v = {
|
|
244
246
|
react_stack_bottom_frame: function(e) {
|
|
245
247
|
return e();
|
|
246
248
|
}
|
|
247
249
|
};
|
|
248
|
-
var
|
|
249
|
-
|
|
250
|
+
var h, g = {}, N = v.react_stack_bottom_frame.bind(
|
|
251
|
+
v,
|
|
250
252
|
s
|
|
251
|
-
)(), C =
|
|
252
|
-
|
|
253
|
-
var
|
|
254
|
-
|
|
253
|
+
)(), C = A(m(s)), Y = {};
|
|
254
|
+
R.Fragment = p, R.jsx = function(e, r, t) {
|
|
255
|
+
var a = 1e4 > O.recentlyCreatedOwnerStacks++;
|
|
256
|
+
if (a) {
|
|
257
|
+
var u = Error.stackTraceLimit;
|
|
258
|
+
Error.stackTraceLimit = 10;
|
|
259
|
+
var l = Error("react-stack-top-frame");
|
|
260
|
+
Error.stackTraceLimit = u;
|
|
261
|
+
} else l = N;
|
|
262
|
+
return S(
|
|
255
263
|
e,
|
|
256
264
|
r,
|
|
257
265
|
t,
|
|
258
266
|
!1,
|
|
259
|
-
|
|
260
|
-
|
|
267
|
+
l,
|
|
268
|
+
a ? A(m(e)) : C
|
|
261
269
|
);
|
|
262
|
-
},
|
|
263
|
-
var
|
|
264
|
-
|
|
270
|
+
}, R.jsxs = function(e, r, t) {
|
|
271
|
+
var a = 1e4 > O.recentlyCreatedOwnerStacks++;
|
|
272
|
+
if (a) {
|
|
273
|
+
var u = Error.stackTraceLimit;
|
|
274
|
+
Error.stackTraceLimit = 10;
|
|
275
|
+
var l = Error("react-stack-top-frame");
|
|
276
|
+
Error.stackTraceLimit = u;
|
|
277
|
+
} else l = N;
|
|
278
|
+
return S(
|
|
265
279
|
e,
|
|
266
280
|
r,
|
|
267
281
|
t,
|
|
268
282
|
!0,
|
|
269
|
-
|
|
270
|
-
|
|
283
|
+
l,
|
|
284
|
+
a ? A(m(e)) : C
|
|
271
285
|
);
|
|
272
286
|
};
|
|
273
|
-
})()),
|
|
287
|
+
})()), R;
|
|
274
288
|
}
|
|
275
|
-
var
|
|
276
|
-
function
|
|
277
|
-
return
|
|
289
|
+
var $;
|
|
290
|
+
function ae() {
|
|
291
|
+
return $ || ($ = 1, process.env.NODE_ENV === "production" ? b.exports = re() : b.exports = te()), b.exports;
|
|
278
292
|
}
|
|
279
|
-
var
|
|
293
|
+
var oe = ae();
|
|
280
294
|
export {
|
|
281
|
-
|
|
295
|
+
oe as j
|
|
282
296
|
};
|
package/build/theme.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./jsx-runtime-
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./jsx-runtime-CZa898vN.js"),r=require("@kuma-ui/core"),c="#f8fafc",a="#0c0d12",t={family:"Inter, sans-serif",stylesheet:"https://components.kakadu.no/fonts/inter.css",preconnect:[{url:"https://components.kakadu.no",crossOrigin:!0}]};function l(){return e.jsxRuntimeExports.jsxs(e.jsxRuntimeExports.Fragment,{children:[t.preconnect.map(({url:o,crossOrigin:s})=>e.jsxRuntimeExports.jsx("link",{href:o,rel:"preconnect",crossOrigin:s?"anonymous":void 0},o)),e.jsxRuntimeExports.jsx("link",{href:t.stylesheet,rel:"stylesheet"})]})}const u="kakadu-components-1176607554",i="kakadu-components-4178476647",f="kakadu-components-216224454",n="kakadu-components-1857537902",k=r.cx(n,"kakadu-components-1119532724"),d="kakadu-components-2239887361";exports.FontFamilyHead=l;exports.buttonResetStyles=f;exports.darkBackgroundColor=a;exports.default=u;exports.effectStyles=n;exports.font=t;exports.lightBackgroundColor=c;exports.nonInteractiveEffectStyles=k;exports.overflowProtectionStyles=i;exports.overlayEffectStyles=d;
|
package/build/theme.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kakadu/components",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.10.1",
|
|
4
4
|
"description": "Kakadu components library",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "./build/index.js",
|
|
@@ -62,37 +62,37 @@
|
|
|
62
62
|
"dependencies": {
|
|
63
63
|
"@kuma-ui/vite": "^1.5.1",
|
|
64
64
|
"fast-levenshtein": "^3.0.0",
|
|
65
|
-
"focus-trap-react": "^11.0.6"
|
|
66
|
-
"next": "^16.2.10"
|
|
65
|
+
"focus-trap-react": "^11.0.6"
|
|
67
66
|
},
|
|
68
67
|
"devDependencies": {
|
|
69
|
-
"@chromatic-com/storybook": "^4.1.
|
|
68
|
+
"@chromatic-com/storybook": "^4.1.3",
|
|
70
69
|
"@kuma-ui/core": "^1.6.4",
|
|
71
|
-
"@storybook/addon-a11y": "^10.
|
|
72
|
-
"@storybook/addon-docs": "^10.
|
|
73
|
-
"@storybook/addon-vitest": "^10.
|
|
74
|
-
"@storybook/nextjs-vite": "^10.
|
|
70
|
+
"@storybook/addon-a11y": "^10.6.0",
|
|
71
|
+
"@storybook/addon-docs": "^10.6.0",
|
|
72
|
+
"@storybook/addon-vitest": "^10.6.0",
|
|
73
|
+
"@storybook/nextjs-vite": "^10.6.0",
|
|
75
74
|
"@testing-library/jest-dom": "^6.9.1",
|
|
76
|
-
"@testing-library/react": "^16.3.
|
|
77
|
-
"@testing-library/user-event": "^14.6.
|
|
75
|
+
"@testing-library/react": "^16.3.3",
|
|
76
|
+
"@testing-library/user-event": "^14.6.7",
|
|
78
77
|
"@types/fast-levenshtein": "^0.0.4",
|
|
79
78
|
"@types/node": "^20.19.43",
|
|
80
|
-
"@types/react": "^19.
|
|
81
|
-
"@types/react-dom": "^19.
|
|
82
|
-
"@vitejs/plugin-react": "^5.
|
|
79
|
+
"@types/react": "^19.3.0",
|
|
80
|
+
"@types/react-dom": "^19.3.0",
|
|
81
|
+
"@vitejs/plugin-react": "^5.2.0",
|
|
83
82
|
"@vitest/browser-playwright": "^4.0.4",
|
|
84
83
|
"@vitest/coverage-v8": "^4.0.4",
|
|
85
84
|
"chromatic": "^13.3.5",
|
|
86
|
-
"dotenv": "^17.2
|
|
85
|
+
"dotenv": "^17.4.2",
|
|
87
86
|
"eslint-config-xo-react": "^0.27.0",
|
|
88
|
-
"eslint-plugin-storybook": "^10.
|
|
89
|
-
"jsdom": "^27.
|
|
90
|
-
"
|
|
91
|
-
"
|
|
92
|
-
"
|
|
93
|
-
"react
|
|
94
|
-
"
|
|
95
|
-
"
|
|
87
|
+
"eslint-plugin-storybook": "^10.6.0",
|
|
88
|
+
"jsdom": "^27.4.0",
|
|
89
|
+
"next": "^16.3.5",
|
|
90
|
+
"playwright": "^1.63.0",
|
|
91
|
+
"prettier": "^3.9.6",
|
|
92
|
+
"react": "^19.3.0",
|
|
93
|
+
"react-dom": "^19.3.0",
|
|
94
|
+
"storybook": "^10.6.0",
|
|
95
|
+
"typescript": "^5.9.3",
|
|
96
96
|
"vite": "^6.4.3",
|
|
97
97
|
"vitest": "^4.0.4",
|
|
98
98
|
"xo": "^0.59.3"
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
"use strict";const K=require("react");var v={exports:{}},m={};/**
|
|
2
|
-
* @license React
|
|
3
|
-
* react-jsx-runtime.production.js
|
|
4
|
-
*
|
|
5
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
6
|
-
*
|
|
7
|
-
* This source code is licensed under the MIT license found in the
|
|
8
|
-
* LICENSE file in the root directory of this source tree.
|
|
9
|
-
*/var $;function ee(){if($)return m;$=1;var u=Symbol.for("react.transitional.element"),_=Symbol.for("react.fragment");function c(i,o,s){var f=null;if(s!==void 0&&(f=""+s),o.key!==void 0&&(f=""+o.key),"key"in o){s={};for(var d in o)d!=="key"&&(s[d]=o[d])}else s=o;return o=s.ref,{$$typeof:u,type:i,key:f,ref:o!==void 0?o:null,props:s}}return m.Fragment=_,m.jsx=c,m.jsxs=c,m}var E={};/**
|
|
10
|
-
* @license React
|
|
11
|
-
* react-jsx-runtime.development.js
|
|
12
|
-
*
|
|
13
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
14
|
-
*
|
|
15
|
-
* This source code is licensed under the MIT license found in the
|
|
16
|
-
* LICENSE file in the root directory of this source tree.
|
|
17
|
-
*/var I;function re(){return I||(I=1,process.env.NODE_ENV!=="production"&&(function(){function u(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===H?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case p:return"Fragment";case U:return"Profiler";case W:return"StrictMode";case z:return"Suspense";case G:return"SuspenseList";case B:return"Activity"}if(typeof e=="object")switch(typeof e.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),e.$$typeof){case M:return"Portal";case J:return e.displayName||"Context";case q:return(e._context.displayName||"Context")+".Consumer";case V:var r=e.render;return e=e.displayName,e||(e=r.displayName||r.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case X:return r=e.displayName||null,r!==null?r:u(e.type)||"Memo";case T:r=e._payload,e=e._init;try{return u(e(r))}catch{}}return null}function _(e){return""+e}function c(e){try{_(e);var r=!1}catch{r=!0}if(r){r=console;var t=r.error,n=typeof Symbol=="function"&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object";return t.call(r,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",n),_(e)}}function i(e){if(e===p)return"<>";if(typeof e=="object"&&e!==null&&e.$$typeof===T)return"<...>";try{var r=u(e);return r?"<"+r+">":"<...>"}catch{return"<...>"}}function o(){var e=k.A;return e===null?null:e.getOwner()}function s(){return Error("react-stack-top-frame")}function f(e){if(j.call(e,"key")){var r=Object.getOwnPropertyDescriptor(e,"key").get;if(r&&r.isReactWarning)return!1}return e.key!==void 0}function d(e,r){function t(){g||(g=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",r))}t.isReactWarning=!0,Object.defineProperty(e,"key",{get:t,configurable:!0})}function D(){var e=u(this.type);return h[e]||(h[e]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),e=this.props.ref,e!==void 0?e:null}function L(e,r,t,n,b,A){var a=t.ref;return e={$$typeof:y,type:e,key:r,props:t,_owner:n},(a!==void 0?a:null)!==null?Object.defineProperty(e,"ref",{enumerable:!1,get:D}):Object.defineProperty(e,"ref",{enumerable:!1,value:null}),e._store={},Object.defineProperty(e._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(e,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(e,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:b}),Object.defineProperty(e,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:A}),Object.freeze&&(Object.freeze(e.props),Object.freeze(e)),e}function P(e,r,t,n,b,A){var a=r.children;if(a!==void 0)if(n)if(Z(a)){for(n=0;n<a.length;n++)w(a[n]);Object.freeze&&Object.freeze(a)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else w(a);if(j.call(r,"key")){a=u(e);var l=Object.keys(r).filter(function(Q){return Q!=="key"});n=0<l.length?"{key: someKey, "+l.join(": ..., ")+": ...}":"{key: someKey}",Y[a+n]||(l=0<l.length?"{"+l.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
|
|
18
|
-
let props = %s;
|
|
19
|
-
<%s {...props} />
|
|
20
|
-
React keys must be passed directly to JSX without using spread:
|
|
21
|
-
let props = %s;
|
|
22
|
-
<%s key={someKey} {...props} />`,n,a,l,a),Y[a+n]=!0)}if(a=null,t!==void 0&&(c(t),a=""+t),f(r)&&(c(r.key),a=""+r.key),"key"in r){t={};for(var S in r)S!=="key"&&(t[S]=r[S])}else t=r;return a&&d(t,typeof e=="function"?e.displayName||e.name||"Unknown":e),L(e,a,t,o(),b,A)}function w(e){x(e)?e._store&&(e._store.validated=1):typeof e=="object"&&e!==null&&e.$$typeof===T&&(e._payload.status==="fulfilled"?x(e._payload.value)&&e._payload.value._store&&(e._payload.value._store.validated=1):e._store&&(e._store.validated=1))}function x(e){return typeof e=="object"&&e!==null&&e.$$typeof===y}var R=K,y=Symbol.for("react.transitional.element"),M=Symbol.for("react.portal"),p=Symbol.for("react.fragment"),W=Symbol.for("react.strict_mode"),U=Symbol.for("react.profiler"),q=Symbol.for("react.consumer"),J=Symbol.for("react.context"),V=Symbol.for("react.forward_ref"),z=Symbol.for("react.suspense"),G=Symbol.for("react.suspense_list"),X=Symbol.for("react.memo"),T=Symbol.for("react.lazy"),B=Symbol.for("react.activity"),H=Symbol.for("react.client.reference"),k=R.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,j=Object.prototype.hasOwnProperty,Z=Array.isArray,O=console.createTask?console.createTask:function(){return null};R={react_stack_bottom_frame:function(e){return e()}};var g,h={},N=R.react_stack_bottom_frame.bind(R,s)(),C=O(i(s)),Y={};E.Fragment=p,E.jsx=function(e,r,t){var n=1e4>k.recentlyCreatedOwnerStacks++;return P(e,r,t,!1,n?Error("react-stack-top-frame"):N,n?O(i(e)):C)},E.jsxs=function(e,r,t){var n=1e4>k.recentlyCreatedOwnerStacks++;return P(e,r,t,!0,n?Error("react-stack-top-frame"):N,n?O(i(e)):C)}})()),E}var F;function te(){return F||(F=1,process.env.NODE_ENV==="production"?v.exports=ee():v.exports=re()),v.exports}var ne=te();exports.jsxRuntimeExports=ne;
|