arkenstone-ui 0.0.10 → 0.0.12
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/arkenstone-ui.es.js +30 -29
- package/dist/arkenstone-ui.umd.js +4 -4
- package/package.json +1 -1
package/dist/arkenstone-ui.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import K from "react";
|
|
2
|
-
var
|
|
2
|
+
var j = { exports: {} }, _ = {};
|
|
3
3
|
/**
|
|
4
4
|
* @license React
|
|
5
5
|
* react-jsx-runtime.production.js
|
|
@@ -78,7 +78,7 @@ function re() {
|
|
|
78
78
|
return e = e.displayName, e || (e = r.displayName || r.name || "", e = e !== "" ? "ForwardRef(" + e + ")" : "ForwardRef"), e;
|
|
79
79
|
case X:
|
|
80
80
|
return r = e.displayName || null, r !== null ? r : l(e.type) || "Memo";
|
|
81
|
-
case
|
|
81
|
+
case T:
|
|
82
82
|
r = e._payload, e = e._init;
|
|
83
83
|
try {
|
|
84
84
|
return l(e(r));
|
|
@@ -109,7 +109,7 @@ function re() {
|
|
|
109
109
|
}
|
|
110
110
|
function f(e) {
|
|
111
111
|
if (e === v) return "<>";
|
|
112
|
-
if (typeof e == "object" && e !== null && e.$$typeof ===
|
|
112
|
+
if (typeof e == "object" && e !== null && e.$$typeof === T)
|
|
113
113
|
return "<...>";
|
|
114
114
|
try {
|
|
115
115
|
var r = l(e);
|
|
@@ -119,7 +119,7 @@ function re() {
|
|
|
119
119
|
}
|
|
120
120
|
}
|
|
121
121
|
function o() {
|
|
122
|
-
var e =
|
|
122
|
+
var e = k.A;
|
|
123
123
|
return e === null ? null : e.getOwner();
|
|
124
124
|
}
|
|
125
125
|
function s() {
|
|
@@ -150,10 +150,10 @@ function re() {
|
|
|
150
150
|
"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
151
|
)), e = this.props.ref, e !== void 0 ? e : null;
|
|
152
152
|
}
|
|
153
|
-
function L(e, r, t, n, R,
|
|
153
|
+
function L(e, r, t, n, R, A) {
|
|
154
154
|
var a = t.ref;
|
|
155
155
|
return e = {
|
|
156
|
-
$$typeof:
|
|
156
|
+
$$typeof: w,
|
|
157
157
|
type: e,
|
|
158
158
|
key: r,
|
|
159
159
|
props: t,
|
|
@@ -180,22 +180,22 @@ function re() {
|
|
|
180
180
|
configurable: !1,
|
|
181
181
|
enumerable: !1,
|
|
182
182
|
writable: !0,
|
|
183
|
-
value:
|
|
183
|
+
value: A
|
|
184
184
|
}), Object.freeze && (Object.freeze(e.props), Object.freeze(e)), e;
|
|
185
185
|
}
|
|
186
|
-
function
|
|
186
|
+
function P(e, r, t, n, R, A) {
|
|
187
187
|
var a = r.children;
|
|
188
188
|
if (a !== void 0)
|
|
189
189
|
if (n)
|
|
190
190
|
if (Z(a)) {
|
|
191
191
|
for (n = 0; n < a.length; n++)
|
|
192
|
-
|
|
192
|
+
x(a[n]);
|
|
193
193
|
Object.freeze && Object.freeze(a);
|
|
194
194
|
} else
|
|
195
195
|
console.error(
|
|
196
196
|
"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
197
|
);
|
|
198
|
-
else
|
|
198
|
+
else x(a);
|
|
199
199
|
if (h.call(r, "key")) {
|
|
200
200
|
a = l(e);
|
|
201
201
|
var c = Object.keys(r).filter(function(Q) {
|
|
@@ -216,8 +216,8 @@ React keys must be passed directly to JSX without using spread:
|
|
|
216
216
|
}
|
|
217
217
|
if (a = null, t !== void 0 && (i(t), a = "" + t), d(r) && (i(r.key), a = "" + r.key), "key" in r) {
|
|
218
218
|
t = {};
|
|
219
|
-
for (var
|
|
220
|
-
|
|
219
|
+
for (var S in r)
|
|
220
|
+
S !== "key" && (t[S] = r[S]);
|
|
221
221
|
} else t = r;
|
|
222
222
|
return a && m(
|
|
223
223
|
t,
|
|
@@ -228,16 +228,16 @@ React keys must be passed directly to JSX without using spread:
|
|
|
228
228
|
t,
|
|
229
229
|
o(),
|
|
230
230
|
R,
|
|
231
|
-
|
|
231
|
+
A
|
|
232
232
|
);
|
|
233
233
|
}
|
|
234
|
-
function
|
|
235
|
-
y(e) ? e._store && (e._store.validated = 1) : typeof e == "object" && e !== null && e.$$typeof ===
|
|
234
|
+
function x(e) {
|
|
235
|
+
y(e) ? e._store && (e._store.validated = 1) : typeof e == "object" && e !== null && e.$$typeof === T && (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
236
|
}
|
|
237
237
|
function y(e) {
|
|
238
|
-
return typeof e == "object" && e !== null && e.$$typeof ===
|
|
238
|
+
return typeof e == "object" && e !== null && e.$$typeof === w;
|
|
239
239
|
}
|
|
240
|
-
var b = K,
|
|
240
|
+
var b = K, w = Symbol.for("react.transitional.element"), M = Symbol.for("react.portal"), v = Symbol.for("react.fragment"), W = Symbol.for("react.strict_mode"), U = Symbol.for("react.profiler"), V = Symbol.for("react.consumer"), z = Symbol.for("react.context"), q = Symbol.for("react.forward_ref"), G = Symbol.for("react.suspense"), J = 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 = b.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, h = Object.prototype.hasOwnProperty, Z = Array.isArray, O = console.createTask ? console.createTask : function() {
|
|
241
241
|
return null;
|
|
242
242
|
};
|
|
243
243
|
b = {
|
|
@@ -248,36 +248,37 @@ React keys must be passed directly to JSX without using spread:
|
|
|
248
248
|
var g, N = {}, C = b.react_stack_bottom_frame.bind(
|
|
249
249
|
b,
|
|
250
250
|
s
|
|
251
|
-
)(), Y =
|
|
251
|
+
)(), Y = O(f(s)), $ = {};
|
|
252
252
|
E.Fragment = v, E.jsx = function(e, r, t) {
|
|
253
|
-
var n = 1e4 >
|
|
254
|
-
return
|
|
253
|
+
var n = 1e4 > k.recentlyCreatedOwnerStacks++;
|
|
254
|
+
return P(
|
|
255
255
|
e,
|
|
256
256
|
r,
|
|
257
257
|
t,
|
|
258
258
|
!1,
|
|
259
259
|
n ? Error("react-stack-top-frame") : C,
|
|
260
|
-
n ?
|
|
260
|
+
n ? O(f(e)) : Y
|
|
261
261
|
);
|
|
262
262
|
}, E.jsxs = function(e, r, t) {
|
|
263
|
-
var n = 1e4 >
|
|
264
|
-
return
|
|
263
|
+
var n = 1e4 > k.recentlyCreatedOwnerStacks++;
|
|
264
|
+
return P(
|
|
265
265
|
e,
|
|
266
266
|
r,
|
|
267
267
|
t,
|
|
268
268
|
!0,
|
|
269
269
|
n ? Error("react-stack-top-frame") : C,
|
|
270
|
-
n ?
|
|
270
|
+
n ? O(f(e)) : Y
|
|
271
271
|
);
|
|
272
272
|
};
|
|
273
273
|
}()), E;
|
|
274
274
|
}
|
|
275
|
-
process.env.NODE_ENV === "production" ?
|
|
276
|
-
var
|
|
275
|
+
process.env.NODE_ENV === "production" ? j.exports = ee() : j.exports = re();
|
|
276
|
+
var p = j.exports;
|
|
277
277
|
function ne({ children: l, className: u }) {
|
|
278
|
-
return /* @__PURE__ */
|
|
279
|
-
/* @__PURE__ */
|
|
280
|
-
/* @__PURE__ */
|
|
278
|
+
return /* @__PURE__ */ p.jsxs("div", { className: "px-10 py-5 rounded-full", children: [
|
|
279
|
+
/* @__PURE__ */ p.jsx("h3", { children: "Button Field" }),
|
|
280
|
+
/* @__PURE__ */ p.jsx("button", { className: u, children: l }),
|
|
281
|
+
/* @__PURE__ */ p.jsx("p", { children: "description" })
|
|
281
282
|
] });
|
|
282
283
|
}
|
|
283
284
|
export {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
(function(l,f){typeof exports=="object"&&typeof module<"u"?f(exports,require("react")):typeof define=="function"&&define.amd?define(["exports","react"],f):(l=typeof globalThis<"u"?globalThis:l||self,f(l["arkenstone-ui"]={},l.React))})(this,function(l,f){"use strict";var
|
|
1
|
+
(function(l,f){typeof exports=="object"&&typeof module<"u"?f(exports,require("react")):typeof define=="function"&&define.amd?define(["exports","react"],f):(l=typeof globalThis<"u"?globalThis:l||self,f(l["arkenstone-ui"]={},l.React))})(this,function(l,f){"use strict";var k={exports:{}},d={};/**
|
|
2
2
|
* @license React
|
|
3
3
|
* react-jsx-runtime.production.js
|
|
4
4
|
*
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
*
|
|
7
7
|
* This source code is licensed under the MIT license found in the
|
|
8
8
|
* LICENSE file in the root directory of this source tree.
|
|
9
|
-
*/var h;function L(){if(h)return d;h=1;var u=Symbol.for("react.transitional.element"),c=Symbol.for("react.fragment");function _(E,o,s){var
|
|
9
|
+
*/var h;function L(){if(h)return d;h=1;var u=Symbol.for("react.transitional.element"),c=Symbol.for("react.fragment");function _(E,o,s){var p=null;if(s!==void 0&&(p=""+s),o.key!==void 0&&(p=""+o.key),"key"in o){s={};for(var b in o)b!=="key"&&(s[b]=o[b])}else s=o;return o=s.ref,{$$typeof:u,type:E,key:p,ref:o!==void 0?o:null,props:s}}return d.Fragment=c,d.jsx=_,d.jsxs=_,d}var m={};/**
|
|
10
10
|
* @license React
|
|
11
11
|
* react-jsx-runtime.development.js
|
|
12
12
|
*
|
|
@@ -14,9 +14,9 @@
|
|
|
14
14
|
*
|
|
15
15
|
* This source code is licensed under the MIT license found in the
|
|
16
16
|
* LICENSE file in the root directory of this source tree.
|
|
17
|
-
*/var
|
|
17
|
+
*/var x;function W(){return x||(x=1,process.env.NODE_ENV!=="production"&&function(){function u(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===re?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case O:return"Fragment";case J:return"Profiler";case G:return"StrictMode";case Z:return"Suspense";case Q:return"SuspenseList";case ee: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 q:return"Portal";case X:return e.displayName||"Context";case B:return(e._context.displayName||"Context")+".Consumer";case H:var r=e.render;return e=e.displayName,e||(e=r.displayName||r.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case K:return r=e.displayName||null,r!==null?r:u(e.type)||"Memo";case y:r=e._payload,e=e._init;try{return u(e(r))}catch{}}return null}function c(e){return""+e}function _(e){try{c(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),c(e)}}function E(e){if(e===O)return"<>";if(typeof e=="object"&&e!==null&&e.$$typeof===y)return"<...>";try{var r=u(e);return r?"<"+r+">":"<...>"}catch{return"<...>"}}function o(){var e=S.A;return e===null?null:e.getOwner()}function s(){return Error("react-stack-top-frame")}function p(e){if(Y.call(e,"key")){var r=Object.getOwnPropertyDescriptor(e,"key").get;if(r&&r.isReactWarning)return!1}return e.key!==void 0}function b(e,r){function t(){F||(F=!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 V(){var e=u(this.type);return I[e]||(I[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 z(e,r,t,n,T,A){var a=t.ref;return e={$$typeof:C,type:e,key:r,props:t,_owner:n},(a!==void 0?a:null)!==null?Object.defineProperty(e,"ref",{enumerable:!1,get:V}):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:T}),Object.defineProperty(e,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:A}),Object.freeze&&(Object.freeze(e.props),Object.freeze(e)),e}function w(e,r,t,n,T,A){var a=r.children;if(a!==void 0)if(n)if(te(a)){for(n=0;n<a.length;n++)g(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 g(a);if(Y.call(r,"key")){a=u(e);var i=Object.keys(r).filter(function(ne){return ne!=="key"});n=0<i.length?"{key: someKey, "+i.join(": ..., ")+": ...}":"{key: someKey}",M[a+n]||(i=0<i.length?"{"+i.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
|
|
18
18
|
let props = %s;
|
|
19
19
|
<%s {...props} />
|
|
20
20
|
React keys must be passed directly to JSX without using spread:
|
|
21
21
|
let props = %s;
|
|
22
|
-
<%s key={someKey} {...props} />`,n,a,i,a),M[a+n]=!0)}if(a=null,t!==void 0&&(_(t),a=""+t),
|
|
22
|
+
<%s key={someKey} {...props} />`,n,a,i,a),M[a+n]=!0)}if(a=null,t!==void 0&&(_(t),a=""+t),p(r)&&(_(r.key),a=""+r.key),"key"in r){t={};for(var P in r)P!=="key"&&(t[P]=r[P])}else t=r;return a&&b(t,typeof e=="function"?e.displayName||e.name||"Unknown":e),z(e,a,t,o(),T,A)}function g(e){N(e)?e._store&&(e._store.validated=1):typeof e=="object"&&e!==null&&e.$$typeof===y&&(e._payload.status==="fulfilled"?N(e._payload.value)&&e._payload.value._store&&(e._payload.value._store.validated=1):e._store&&(e._store.validated=1))}function N(e){return typeof e=="object"&&e!==null&&e.$$typeof===C}var v=f,C=Symbol.for("react.transitional.element"),q=Symbol.for("react.portal"),O=Symbol.for("react.fragment"),G=Symbol.for("react.strict_mode"),J=Symbol.for("react.profiler"),B=Symbol.for("react.consumer"),X=Symbol.for("react.context"),H=Symbol.for("react.forward_ref"),Z=Symbol.for("react.suspense"),Q=Symbol.for("react.suspense_list"),K=Symbol.for("react.memo"),y=Symbol.for("react.lazy"),ee=Symbol.for("react.activity"),re=Symbol.for("react.client.reference"),S=v.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Y=Object.prototype.hasOwnProperty,te=Array.isArray,j=console.createTask?console.createTask:function(){return null};v={react_stack_bottom_frame:function(e){return e()}};var F,I={},$=v.react_stack_bottom_frame.bind(v,s)(),D=j(E(s)),M={};m.Fragment=O,m.jsx=function(e,r,t){var n=1e4>S.recentlyCreatedOwnerStacks++;return w(e,r,t,!1,n?Error("react-stack-top-frame"):$,n?j(E(e)):D)},m.jsxs=function(e,r,t){var n=1e4>S.recentlyCreatedOwnerStacks++;return w(e,r,t,!0,n?Error("react-stack-top-frame"):$,n?j(E(e)):D)}}()),m}process.env.NODE_ENV==="production"?k.exports=L():k.exports=W();var R=k.exports;function U({children:u,className:c}){return R.jsxs("div",{className:"px-10 py-5 rounded-full",children:[R.jsx("h3",{children:"Button Field"}),R.jsx("button",{className:c,children:u}),R.jsx("p",{children:"description"})]})}l.Button=U,Object.defineProperty(l,Symbol.toStringTag,{value:"Module"})});
|