arkenstone-ui 0.0.12 → 0.0.14
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 +17 -17
- package/dist/arkenstone-ui.umd.js +4 -4
- package/dist/style.css +1 -0
- package/package.json +3 -2
package/dist/arkenstone-ui.es.js
CHANGED
|
@@ -126,7 +126,7 @@ function re() {
|
|
|
126
126
|
return Error("react-stack-top-frame");
|
|
127
127
|
}
|
|
128
128
|
function d(e) {
|
|
129
|
-
if (
|
|
129
|
+
if (g.call(e, "key")) {
|
|
130
130
|
var r = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
131
131
|
if (r && r.isReactWarning) return !1;
|
|
132
132
|
}
|
|
@@ -134,7 +134,7 @@ function re() {
|
|
|
134
134
|
}
|
|
135
135
|
function m(e, r) {
|
|
136
136
|
function t() {
|
|
137
|
-
|
|
137
|
+
h || (h = !0, console.error(
|
|
138
138
|
"%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
139
|
r
|
|
140
140
|
));
|
|
@@ -153,7 +153,7 @@ function re() {
|
|
|
153
153
|
function L(e, r, t, n, R, A) {
|
|
154
154
|
var a = t.ref;
|
|
155
155
|
return e = {
|
|
156
|
-
$$typeof:
|
|
156
|
+
$$typeof: y,
|
|
157
157
|
type: e,
|
|
158
158
|
key: r,
|
|
159
159
|
props: t,
|
|
@@ -183,20 +183,20 @@ function re() {
|
|
|
183
183
|
value: A
|
|
184
184
|
}), Object.freeze && (Object.freeze(e.props), Object.freeze(e)), e;
|
|
185
185
|
}
|
|
186
|
-
function
|
|
186
|
+
function x(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
|
+
P(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
|
|
199
|
-
if (
|
|
198
|
+
else P(a);
|
|
199
|
+
if (g.call(r, "key")) {
|
|
200
200
|
a = l(e);
|
|
201
201
|
var c = Object.keys(r).filter(function(Q) {
|
|
202
202
|
return Q !== "key";
|
|
@@ -231,13 +231,13 @@ React keys must be passed directly to JSX without using spread:
|
|
|
231
231
|
A
|
|
232
232
|
);
|
|
233
233
|
}
|
|
234
|
-
function
|
|
235
|
-
|
|
234
|
+
function P(e) {
|
|
235
|
+
w(e) ? e._store && (e._store.validated = 1) : typeof e == "object" && e !== null && e.$$typeof === T && (e._payload.status === "fulfilled" ? w(e._payload.value) && e._payload.value._store && (e._payload.value._store.validated = 1) : e._store && (e._store.validated = 1));
|
|
236
236
|
}
|
|
237
|
-
function
|
|
238
|
-
return typeof e == "object" && e !== null && e.$$typeof ===
|
|
237
|
+
function w(e) {
|
|
238
|
+
return typeof e == "object" && e !== null && e.$$typeof === y;
|
|
239
239
|
}
|
|
240
|
-
var b = K,
|
|
240
|
+
var b = K, y = 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, g = Object.prototype.hasOwnProperty, Z = Array.isArray, O = console.createTask ? console.createTask : function() {
|
|
241
241
|
return null;
|
|
242
242
|
};
|
|
243
243
|
b = {
|
|
@@ -245,13 +245,13 @@ React keys must be passed directly to JSX without using spread:
|
|
|
245
245
|
return e();
|
|
246
246
|
}
|
|
247
247
|
};
|
|
248
|
-
var
|
|
248
|
+
var h, N = {}, C = b.react_stack_bottom_frame.bind(
|
|
249
249
|
b,
|
|
250
250
|
s
|
|
251
251
|
)(), Y = O(f(s)), $ = {};
|
|
252
252
|
E.Fragment = v, E.jsx = function(e, r, t) {
|
|
253
253
|
var n = 1e4 > k.recentlyCreatedOwnerStacks++;
|
|
254
|
-
return
|
|
254
|
+
return x(
|
|
255
255
|
e,
|
|
256
256
|
r,
|
|
257
257
|
t,
|
|
@@ -261,7 +261,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
261
261
|
);
|
|
262
262
|
}, E.jsxs = function(e, r, t) {
|
|
263
263
|
var n = 1e4 > k.recentlyCreatedOwnerStacks++;
|
|
264
|
-
return
|
|
264
|
+
return x(
|
|
265
265
|
e,
|
|
266
266
|
r,
|
|
267
267
|
t,
|
|
@@ -275,8 +275,8 @@ React keys must be passed directly to JSX without using spread:
|
|
|
275
275
|
process.env.NODE_ENV === "production" ? j.exports = ee() : j.exports = re();
|
|
276
276
|
var p = j.exports;
|
|
277
277
|
function ne({ children: l, className: u }) {
|
|
278
|
-
return /* @__PURE__ */ p.jsxs("div", { className: "px-10 py-5 rounded-full", children: [
|
|
279
|
-
/* @__PURE__ */ p.jsx("h3", { children: "Button Field" }),
|
|
278
|
+
return /* @__PURE__ */ p.jsxs("div", { className: "px-10 py-5 rounded-full w-full bg-green-500", children: [
|
|
279
|
+
/* @__PURE__ */ p.jsx("h3", { className: "c-text", children: "Button Field" }),
|
|
280
280
|
/* @__PURE__ */ p.jsx("button", { className: u, children: l }),
|
|
281
281
|
/* @__PURE__ */ p.jsx("p", { children: "description" })
|
|
282
282
|
] });
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(u,f){typeof exports=="object"&&typeof module<"u"?f(exports,require("react")):typeof define=="function"&&define.amd?define(["exports","react"],f):(u=typeof globalThis<"u"?globalThis:u||self,f(u["arkenstone-ui"]={},u.React))})(this,function(u,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
|
|
9
|
+
*/var P;function L(){if(P)return d;P=1;var l=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:l,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 h;function W(){return h||(h=1,process.env.NODE_ENV!=="production"&&function(){function l(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:l(e.type)||"Memo";case y:r=e._payload,e=e._init;try{return l(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=l(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=l(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=l(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),p(r)&&(_(r.key),a=""+r.key),"key"in r){t={};for(var
|
|
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 x in r)x!=="key"&&(t[x]=r[x])}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:l,className:c}){return R.jsxs("div",{className:"px-10 py-5 rounded-full w-full bg-green-500",children:[R.jsx("h3",{className:"c-text",children:"Button Field"}),R.jsx("button",{className:c,children:l}),R.jsx("p",{children:"description"})]})}u.Button=U,Object.defineProperty(u,Symbol.toStringTag,{value:"Module"})});
|
package/dist/style.css
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
:root{--background: #f4f8f5;--foreground: #2c2f2a;--card: #e7edea;--card-foreground: #2c2f2a;--popover: #edf3ef;--popover-foreground: #2c2f2a;--primary: #8ca982;--primary-foreground: #ffffff;--secondary: #d9e1db;--secondary-foreground: #1e241f;--muted: #c4ccc7;--muted-foreground: #5a605b;--accent: #aa8745;--accent-foreground: #ffffff;--destructive: #b54949;--destructive-foreground: #ffffff;--border: #a1b0a2;--input: #90a093;--ring: #b9cbbd;--chart-1: #6b8e6d;--chart-2: #b2a56e;--chart-3: #748f99;--chart-4: #e5c67c;--chart-5: #9e7a3e;--radius: .625rem;--sidebar: #e0e8e3;--sidebar-foreground: #2c2f2a;--sidebar-primary: #8ca982;--sidebar-primary-foreground: #ffffff;--sidebar-accent: #aa8745;--sidebar-accent-foreground: #ffffff;--sidebar-border: #cdd9d3;--sidebar-ring: #b9cbbd;--color-card: #dce5de}::-webkit-scrollbar{width:6px;height:6px}::-webkit-scrollbar-track{border-radius:30px;background:var(--background)}::-webkit-scrollbar-thumb{border-radius:30px;background:var(--muted-foreground)}::-webkit-scrollbar-thumb:hover{background:var(--accent)}::-webkit-scrollbar-thumb:active{background:var(--accent)}.c-text{color:#8128ff}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "arkenstone-ui",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.14",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/arkenstone-ui.umd.js",
|
|
6
6
|
"module": "./dist/arkenstone-ui.es.js",
|
|
@@ -23,7 +23,8 @@
|
|
|
23
23
|
},
|
|
24
24
|
"peerDependencies": {
|
|
25
25
|
"react": "^19.2.0",
|
|
26
|
-
"react-dom": "^19.2.0"
|
|
26
|
+
"react-dom": "^19.2.0",
|
|
27
|
+
"tailwindcss": "^4.0.0"
|
|
27
28
|
},
|
|
28
29
|
"devDependencies": {
|
|
29
30
|
"@types/node": "^24.10.1",
|