arkenstone-ui 0.0.15 → 0.0.17

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.
@@ -1,5 +1,5 @@
1
1
  import K from "react";
2
- var j = { exports: {} }, _ = {};
2
+ var h = { exports: {} }, E = {};
3
3
  /**
4
4
  * @license React
5
5
  * react-jsx-runtime.production.js
@@ -11,27 +11,27 @@ var j = { exports: {} }, _ = {};
11
11
  */
12
12
  var F;
13
13
  function ee() {
14
- if (F) return _;
14
+ if (F) return E;
15
15
  F = 1;
16
- var l = Symbol.for("react.transitional.element"), c = Symbol.for("react.fragment");
17
- function u(f, o, s) {
18
- var d = null;
19
- if (s !== void 0 && (d = "" + s), o.key !== void 0 && (d = "" + o.key), "key" in o) {
20
- s = {};
21
- for (var m in o)
22
- m !== "key" && (s[m] = o[m]);
23
- } else s = o;
24
- return o = s.ref, {
25
- $$typeof: l,
26
- type: f,
27
- key: d,
28
- ref: o !== void 0 ? o : null,
29
- props: s
16
+ var o = Symbol.for("react.transitional.element"), i = Symbol.for("react.fragment");
17
+ function u(d, s, l) {
18
+ var m = null;
19
+ if (l !== void 0 && (m = "" + l), s.key !== void 0 && (m = "" + s.key), "key" in s) {
20
+ l = {};
21
+ for (var _ in s)
22
+ _ !== "key" && (l[_] = s[_]);
23
+ } else l = s;
24
+ return s = l.ref, {
25
+ $$typeof: o,
26
+ type: d,
27
+ key: m,
28
+ ref: s !== void 0 ? s : null,
29
+ props: l
30
30
  };
31
31
  }
32
- return _.Fragment = c, _.jsx = u, _.jsxs = u, _;
32
+ return E.Fragment = i, E.jsx = u, E.jsxs = u, E;
33
33
  }
34
- var E = {};
34
+ var b = {};
35
35
  /**
36
36
  * @license React
37
37
  * react-jsx-runtime.development.js
@@ -44,21 +44,21 @@ var E = {};
44
44
  var I;
45
45
  function re() {
46
46
  return I || (I = 1, process.env.NODE_ENV !== "production" && function() {
47
- function l(e) {
47
+ function o(e) {
48
48
  if (e == null) return null;
49
49
  if (typeof e == "function")
50
50
  return e.$$typeof === H ? null : e.displayName || e.name || null;
51
51
  if (typeof e == "string") return e;
52
52
  switch (e) {
53
- case v:
53
+ case R:
54
54
  return "Fragment";
55
55
  case U:
56
56
  return "Profiler";
57
57
  case W:
58
58
  return "StrictMode";
59
- case G:
59
+ case q:
60
60
  return "Suspense";
61
- case J:
61
+ case G:
62
62
  return "SuspenseList";
63
63
  case B:
64
64
  return "Activity";
@@ -73,26 +73,26 @@ function re() {
73
73
  return e.displayName || "Context";
74
74
  case V:
75
75
  return (e._context.displayName || "Context") + ".Consumer";
76
- case q:
76
+ case J:
77
77
  var r = e.render;
78
78
  return e = e.displayName, e || (e = r.displayName || r.name || "", e = e !== "" ? "ForwardRef(" + e + ")" : "ForwardRef"), e;
79
79
  case X:
80
- return r = e.displayName || null, r !== null ? r : l(e.type) || "Memo";
80
+ return r = e.displayName || null, r !== null ? r : o(e.type) || "Memo";
81
81
  case T:
82
82
  r = e._payload, e = e._init;
83
83
  try {
84
- return l(e(r));
84
+ return o(e(r));
85
85
  } catch {
86
86
  }
87
87
  }
88
88
  return null;
89
89
  }
90
- function c(e) {
90
+ function i(e) {
91
91
  return "" + e;
92
92
  }
93
93
  function u(e) {
94
94
  try {
95
- c(e);
95
+ i(e);
96
96
  var r = !1;
97
97
  } catch {
98
98
  r = !0;
@@ -104,37 +104,37 @@ function re() {
104
104
  r,
105
105
  "The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
106
106
  n
107
- ), c(e);
107
+ ), i(e);
108
108
  }
109
109
  }
110
- function f(e) {
111
- if (e === v) return "<>";
110
+ function d(e) {
111
+ if (e === R) return "<>";
112
112
  if (typeof e == "object" && e !== null && e.$$typeof === T)
113
113
  return "<...>";
114
114
  try {
115
- var r = l(e);
115
+ var r = o(e);
116
116
  return r ? "<" + r + ">" : "<...>";
117
117
  } catch {
118
118
  return "<...>";
119
119
  }
120
120
  }
121
- function o() {
121
+ function s() {
122
122
  var e = k.A;
123
123
  return e === null ? null : e.getOwner();
124
124
  }
125
- function s() {
125
+ function l() {
126
126
  return Error("react-stack-top-frame");
127
127
  }
128
- function d(e) {
129
- if (g.call(e, "key")) {
128
+ function m(e) {
129
+ if (w.call(e, "key")) {
130
130
  var r = Object.getOwnPropertyDescriptor(e, "key").get;
131
131
  if (r && r.isReactWarning) return !1;
132
132
  }
133
133
  return e.key !== void 0;
134
134
  }
135
- function m(e, r) {
135
+ function _(e, r) {
136
136
  function t() {
137
- h || (h = !0, console.error(
137
+ P || (P = !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
  ));
@@ -145,15 +145,15 @@ function re() {
145
145
  });
146
146
  }
147
147
  function D() {
148
- var e = l(this.type);
148
+ var e = o(this.type);
149
149
  return N[e] || (N[e] = !0, console.error(
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, A) {
153
+ function L(e, r, t, n, v, O) {
154
154
  var a = t.ref;
155
155
  return e = {
156
- $$typeof: y,
156
+ $$typeof: g,
157
157
  type: e,
158
158
  key: r,
159
159
  props: t,
@@ -175,33 +175,33 @@ function re() {
175
175
  configurable: !1,
176
176
  enumerable: !1,
177
177
  writable: !0,
178
- value: R
178
+ value: v
179
179
  }), Object.defineProperty(e, "_debugTask", {
180
180
  configurable: !1,
181
181
  enumerable: !1,
182
182
  writable: !0,
183
- value: A
183
+ value: O
184
184
  }), Object.freeze && (Object.freeze(e.props), Object.freeze(e)), e;
185
185
  }
186
- function x(e, r, t, n, R, A) {
186
+ function A(e, r, t, n, v, O) {
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
- P(a[n]);
192
+ y(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 P(a);
199
- if (g.call(r, "key")) {
200
- a = l(e);
201
- var i = Object.keys(r).filter(function(Q) {
198
+ else y(a);
199
+ if (w.call(r, "key")) {
200
+ a = o(e);
201
+ var f = Object.keys(r).filter(function(Q) {
202
202
  return Q !== "key";
203
203
  });
204
- n = 0 < i.length ? "{key: someKey, " + i.join(": ..., ") + ": ...}" : "{key: someKey}", $[a + n] || (i = 0 < i.length ? "{" + i.join(": ..., ") + ": ...}" : "{}", console.error(
204
+ n = 0 < f.length ? "{key: someKey, " + f.join(": ..., ") + ": ...}" : "{key: someKey}", $[a + n] || (f = 0 < f.length ? "{" + f.join(": ..., ") + ": ...}" : "{}", console.error(
205
205
  `A props object containing a "key" prop is being spread into JSX:
206
206
  let props = %s;
207
207
  <%s {...props} />
@@ -210,77 +210,84 @@ React keys must be passed directly to JSX without using spread:
210
210
  <%s key={someKey} {...props} />`,
211
211
  n,
212
212
  a,
213
- i,
213
+ f,
214
214
  a
215
215
  ), $[a + n] = !0);
216
216
  }
217
- if (a = null, t !== void 0 && (u(t), a = "" + t), d(r) && (u(r.key), a = "" + r.key), "key" in r) {
217
+ if (a = null, t !== void 0 && (u(t), a = "" + t), m(r) && (u(r.key), a = "" + r.key), "key" in r) {
218
218
  t = {};
219
- for (var S in r)
220
- S !== "key" && (t[S] = r[S]);
219
+ for (var j in r)
220
+ j !== "key" && (t[j] = r[j]);
221
221
  } else t = r;
222
- return a && m(
222
+ return a && _(
223
223
  t,
224
224
  typeof e == "function" ? e.displayName || e.name || "Unknown" : e
225
225
  ), L(
226
226
  e,
227
227
  a,
228
228
  t,
229
- o(),
230
- R,
231
- A
229
+ s(),
230
+ v,
231
+ O
232
232
  );
233
233
  }
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));
234
+ function y(e) {
235
+ S(e) ? e._store && (e._store.validated = 1) : typeof e == "object" && e !== null && e.$$typeof === T && (e._payload.status === "fulfilled" ? S(e._payload.value) && e._payload.value._store && (e._payload.value._store.validated = 1) : e._store && (e._store.validated = 1));
236
236
  }
237
- function w(e) {
238
- return typeof e == "object" && e !== null && e.$$typeof === y;
237
+ function S(e) {
238
+ return typeof e == "object" && e !== null && e.$$typeof === g;
239
239
  }
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() {
240
+ var p = K, g = Symbol.for("react.transitional.element"), M = Symbol.for("react.portal"), R = 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"), J = Symbol.for("react.forward_ref"), q = 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 = p.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, w = Object.prototype.hasOwnProperty, Z = Array.isArray, x = console.createTask ? console.createTask : function() {
241
241
  return null;
242
242
  };
243
- b = {
243
+ p = {
244
244
  react_stack_bottom_frame: function(e) {
245
245
  return e();
246
246
  }
247
247
  };
248
- var h, N = {}, C = b.react_stack_bottom_frame.bind(
249
- b,
250
- s
251
- )(), Y = O(f(s)), $ = {};
252
- E.Fragment = v, E.jsx = function(e, r, t) {
248
+ var P, N = {}, C = p.react_stack_bottom_frame.bind(
249
+ p,
250
+ l
251
+ )(), Y = x(d(l)), $ = {};
252
+ b.Fragment = R, b.jsx = function(e, r, t) {
253
253
  var n = 1e4 > k.recentlyCreatedOwnerStacks++;
254
- return x(
254
+ return A(
255
255
  e,
256
256
  r,
257
257
  t,
258
258
  !1,
259
259
  n ? Error("react-stack-top-frame") : C,
260
- n ? O(f(e)) : Y
260
+ n ? x(d(e)) : Y
261
261
  );
262
- }, E.jsxs = function(e, r, t) {
262
+ }, b.jsxs = function(e, r, t) {
263
263
  var n = 1e4 > k.recentlyCreatedOwnerStacks++;
264
- return x(
264
+ return A(
265
265
  e,
266
266
  r,
267
267
  t,
268
268
  !0,
269
269
  n ? Error("react-stack-top-frame") : C,
270
- n ? O(f(e)) : Y
270
+ n ? x(d(e)) : Y
271
271
  );
272
272
  };
273
- }()), E;
273
+ }()), b;
274
+ }
275
+ process.env.NODE_ENV === "production" ? h.exports = ee() : h.exports = re();
276
+ var c = h.exports;
277
+ function ne({ children: o, className: i, active: u }) {
278
+ return /* @__PURE__ */ c.jsxs("div", { className: "px-10 py-5 rounded-full w-full bg-green-500", children: [
279
+ /* @__PURE__ */ c.jsx("h3", { className: "c-text", children: "Button Field" }),
280
+ /* @__PURE__ */ c.jsx("button", { className: i, children: o }),
281
+ u && /* @__PURE__ */ c.jsx("p", { children: "description" })
282
+ ] });
274
283
  }
275
- process.env.NODE_ENV === "production" ? j.exports = ee() : j.exports = re();
276
- var p = j.exports;
277
- function ne({ children: l, className: c, active: u }) {
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
- /* @__PURE__ */ p.jsx("button", { className: c, children: l }),
281
- u && /* @__PURE__ */ p.jsx("p", { children: "description" })
284
+ function ae({ name: o }) {
285
+ return /* @__PURE__ */ c.jsxs("div", { className: "w-full bg-green-500 px-30 py-5", children: [
286
+ /* @__PURE__ */ c.jsx("h1", { className: "c-text text-blue-500 text-sm", children: o }),
287
+ /* @__PURE__ */ c.jsx("p", { className: "bg-blue-500 my-40", children: "test" })
282
288
  ] });
283
289
  }
284
290
  export {
285
- ne as Button
291
+ ne as Button,
292
+ ae as JanithNirmal
286
293
  };
@@ -1,4 +1,4 @@
1
- (function(u,d){typeof exports=="object"&&typeof module<"u"?d(exports,require("react")):typeof define=="function"&&define.amd?define(["exports","react"],d):(u=typeof globalThis<"u"?globalThis:u||self,d(u["arkenstone-ui"]={},u.React))})(this,function(u,d){"use strict";var k={exports:{}},m={};/**
1
+ (function(u,m){typeof exports=="object"&&typeof module<"u"?m(exports,require("react")):typeof define=="function"&&define.amd?define(["exports","react"],m):(u=typeof globalThis<"u"?globalThis:u||self,m(u["arkenstone-ui"]={},u.React))})(this,function(u,m){"use strict";var k={exports:{}},_={};/**
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 P;function L(){if(P)return m;P=1;var l=Symbol.for("react.transitional.element"),i=Symbol.for("react.fragment");function c(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 m.Fragment=i,m.jsx=c,m.jsxs=c,m}var _={};/**
9
+ */var A;function L(){if(A)return _;A=1;var o=Symbol.for("react.transitional.element"),f=Symbol.for("react.fragment");function i(b,s,l){var p=null;if(l!==void 0&&(p=""+l),s.key!==void 0&&(p=""+s.key),"key"in s){l={};for(var v in s)v!=="key"&&(l[v]=s[v])}else l=s;return s=l.ref,{$$typeof:o,type:b,key:p,ref:s!==void 0?s:null,props:l}}return _.Fragment=f,_.jsx=i,_.jsxs=i,_}var E={};/**
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 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 i(e){return""+e}function c(e){try{i(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),i(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 f=Object.keys(r).filter(function(ne){return ne!=="key"});n=0<f.length?"{key: someKey, "+f.join(": ..., ")+": ...}":"{key: someKey}",M[a+n]||(f=0<f.length?"{"+f.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
17
+ */var g;function W(){return g||(g=1,process.env.NODE_ENV!=="production"&&function(){function o(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===te?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case x:return"Fragment";case B:return"Profiler";case G:return"StrictMode";case Q:return"Suspense";case K:return"SuspenseList";case re: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 H:return e.displayName||"Context";case X:return(e._context.displayName||"Context")+".Consumer";case Z:var r=e.render;return e=e.displayName,e||(e=r.displayName||r.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case ee:return r=e.displayName||null,r!==null?r:o(e.type)||"Memo";case h:r=e._payload,e=e._init;try{return o(e(r))}catch{}}return null}function f(e){return""+e}function i(e){try{f(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),f(e)}}function b(e){if(e===x)return"<>";if(typeof e=="object"&&e!==null&&e.$$typeof===h)return"<...>";try{var r=o(e);return r?"<"+r+">":"<...>"}catch{return"<...>"}}function s(){var e=j.A;return e===null?null:e.getOwner()}function l(){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 v(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=o(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,O){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:O}),Object.freeze&&(Object.freeze(e.props),Object.freeze(e)),e}function P(e,r,t,n,T,O){var a=r.children;if(a!==void 0)if(n)if(ne(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(Y.call(r,"key")){a=o(e);var d=Object.keys(r).filter(function(ae){return ae!=="key"});n=0<d.length?"{key: someKey, "+d.join(": ..., ")+": ...}":"{key: someKey}",M[a+n]||(d=0<d.length?"{"+d.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,f,a),M[a+n]=!0)}if(a=null,t!==void 0&&(c(t),a=""+t),p(r)&&(c(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=d,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={};_.Fragment=O,_.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)},_.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)}}()),_}process.env.NODE_ENV==="production"?k.exports=L():k.exports=W();var R=k.exports;function U({children:l,className:i,active: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:i,children:l}),c&&R.jsx("p",{children:"description"})]})}u.Button=U,Object.defineProperty(u,Symbol.toStringTag,{value:"Module"})});
22
+ <%s key={someKey} {...props} />`,n,a,d,a),M[a+n]=!0)}if(a=null,t!==void 0&&(i(t),a=""+t),p(r)&&(i(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&&v(t,typeof e=="function"?e.displayName||e.name||"Unknown":e),z(e,a,t,s(),T,O)}function w(e){N(e)?e._store&&(e._store.validated=1):typeof e=="object"&&e!==null&&e.$$typeof===h&&(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 R=m,C=Symbol.for("react.transitional.element"),q=Symbol.for("react.portal"),x=Symbol.for("react.fragment"),G=Symbol.for("react.strict_mode"),B=Symbol.for("react.profiler"),X=Symbol.for("react.consumer"),H=Symbol.for("react.context"),Z=Symbol.for("react.forward_ref"),Q=Symbol.for("react.suspense"),K=Symbol.for("react.suspense_list"),ee=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),re=Symbol.for("react.activity"),te=Symbol.for("react.client.reference"),j=R.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Y=Object.prototype.hasOwnProperty,ne=Array.isArray,y=console.createTask?console.createTask:function(){return null};R={react_stack_bottom_frame:function(e){return e()}};var F,I={},$=R.react_stack_bottom_frame.bind(R,l)(),D=y(b(l)),M={};E.Fragment=x,E.jsx=function(e,r,t){var n=1e4>j.recentlyCreatedOwnerStacks++;return P(e,r,t,!1,n?Error("react-stack-top-frame"):$,n?y(b(e)):D)},E.jsxs=function(e,r,t){var n=1e4>j.recentlyCreatedOwnerStacks++;return P(e,r,t,!0,n?Error("react-stack-top-frame"):$,n?y(b(e)):D)}}()),E}process.env.NODE_ENV==="production"?k.exports=L():k.exports=W();var c=k.exports;function U({children:o,className:f,active:i}){return c.jsxs("div",{className:"px-10 py-5 rounded-full w-full bg-green-500",children:[c.jsx("h3",{className:"c-text",children:"Button Field"}),c.jsx("button",{className:f,children:o}),i&&c.jsx("p",{children:"description"})]})}function J({name:o}){return c.jsxs("div",{className:"w-full bg-green-500 px-30 py-5",children:[c.jsx("h1",{className:"c-text text-blue-500 text-sm",children:o}),c.jsx("p",{className:"bg-blue-500 my-40",children:"test"})]})}u.Button=U,u.JanithNirmal=J,Object.defineProperty(u,Symbol.toStringTag,{value:"Module"})});
package/dist/style.css CHANGED
@@ -1 +1 @@
1
- @tailwind base;@tailwind components;@tailwind utilities;: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:#ffb428}
1
+ /*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial}}}@layer theme{:root,:host{--font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--color-green-500:oklch(72.3% .219 149.579);--color-blue-500:oklch(62.3% .214 259.815);--spacing:.25rem;--text-sm:.875rem;--text-sm--line-height:calc(1.25/.875);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){-webkit-appearance:button;-moz-appearance:button;appearance:button}::file-selector-button{-webkit-appearance:button;-moz-appearance:button;appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.my-40{margin-block:calc(var(--spacing)*40)}.w-full{width:100%}.transform{transform:var(--tw-rotate-x,)var(--tw-rotate-y,)var(--tw-rotate-z,)var(--tw-skew-x,)var(--tw-skew-y,)}.rounded-full{border-radius:3.40282e38px}.bg-blue-500{background-color:var(--color-blue-500)}.bg-green-500{background-color:var(--color-green-500)}.px-10{padding-inline:calc(var(--spacing)*10)}.px-30{padding-inline:calc(var(--spacing)*30)}.py-5{padding-block:calc(var(--spacing)*5)}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-blue-500{color:var(--color-blue-500)}}:root{--background:#f4f8f5;--foreground:#2c2f2a;--card:#e7edea;--card-foreground:#2c2f2a;--popover:#edf3ef;--popover-foreground:#2c2f2a;--primary:#8ca982;--primary-foreground:#fff;--secondary:#d9e1db;--secondary-foreground:#1e241f;--muted:#c4ccc7;--muted-foreground:#5a605b;--accent:#aa8745;--accent-foreground:#fff;--destructive:#b54949;--destructive-foreground:#fff;--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:#fff;--sidebar-accent:#aa8745;--sidebar-accent-foreground:#fff;--sidebar-border:#cdd9d3;--sidebar-ring:#b9cbbd;--color-card:#dce5de}::-webkit-scrollbar{width:6px;height:6px}::-webkit-scrollbar-track{background:var(--background);border-radius:30px}::-webkit-scrollbar-thumb{background:var(--muted-foreground);border-radius:30px}::-webkit-scrollbar-thumb:hover{background:var(--accent)}::-webkit-scrollbar-thumb:active{background:var(--accent)}.c-text{color:red}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}
@@ -1,2 +1,3 @@
1
1
  export * from './components/button';
2
+ export * from './components/janith-nirmal';
2
3
  export * from './pages/home';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "arkenstone-ui",
3
- "version": "0.0.15",
3
+ "version": "0.0.17",
4
4
  "type": "module",
5
5
  "main": "./dist/arkenstone-ui.umd.js",
6
6
  "module": "./dist/arkenstone-ui.es.js",
@@ -25,8 +25,7 @@
25
25
  },
26
26
  "peerDependencies": {
27
27
  "react": "^19.2.0",
28
- "react-dom": "^19.2.0",
29
- "tailwindcss": "^4.0.0"
28
+ "react-dom": "^19.2.0"
30
29
  },
31
30
  "devDependencies": {
32
31
  "@chromatic-com/storybook": "^4.1.2",
@@ -41,12 +40,10 @@
41
40
  "@vitejs/plugin-react": "^5.1.0",
42
41
  "@vitest/browser-playwright": "^4.0.9",
43
42
  "@vitest/coverage-v8": "^4.0.9",
44
- "autoprefixer": "^10.4.22",
45
43
  "eslint-plugin-storybook": "^10.0.7",
44
+ "@tailwindcss/vite": "^4.1.17",
46
45
  "playwright": "^1.56.1",
47
- "postcss": "^8.5.6",
48
46
  "storybook": "^10.0.7",
49
- "tailwindcss": "^4.1.17",
50
47
  "typescript": "^5.4.0",
51
48
  "vite": "^5.4.10",
52
49
  "vite-plugin-dts": "^4.5.4",