@ashtuka/react-lib 1.0.14 → 1.0.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.css ADDED
@@ -0,0 +1 @@
1
+ ._container_1xrzw_1{max-width:1200px;margin:0 auto;padding:0 16px;display:flex;justify-content:center;align-items:center}._fullScreen_1xrzw_10{position:fixed;top:0;left:0;right:0;bottom:0;z-index:1000;width:100vw;height:100vh;background:#fff;display:flex;flex-direction:column;justify-content:center;align-items:center}._loaderContainer_1xrzw_26{position:relative;display:flex;justify-content:center;align-items:center;margin-right:24px}._inner_1xrzw_34{position:relative;width:64px;height:64px;transform-style:preserve-3d;perspective:800px}._inner_1xrzw_34 ._item_1xrzw_41{position:absolute;content:"";top:0;left:0;width:100%;height:100%;border-radius:50%;border-bottom:3px solid #374656}._inner_1xrzw_34 ._item_1xrzw_41:nth-child(1){animation:_rotate1_1xrzw_1 1.15s linear infinite}._inner_1xrzw_34 ._item_1xrzw_41:nth-child(2){animation:_rotate2_1xrzw_1 1.15s linear infinite}._inner_1xrzw_34 ._item_1xrzw_41:nth-child(3){animation:_rotate3_1xrzw_1 1.15s linear infinite}._inner_1xrzw_34 ._item_1xrzw_41:nth-child(1){animation-delay:-.8s}._inner_1xrzw_34 ._item_1xrzw_41:nth-child(2){animation-delay:-.4s}._inner_1xrzw_34 ._item_1xrzw_41:nth-child(3){animation-delay:0s}@keyframes _rotate1_1xrzw_1{0%{transform:rotateX(35deg) rotateY(-45deg) rotate(0)}to{transform:rotateX(35deg) rotateY(-45deg) rotate(1turn)}}@keyframes _rotate2_1xrzw_1{0%{transform:rotateX(50deg) rotateY(10deg) rotate(0)}to{transform:rotateX(50deg) rotateY(10deg) rotate(1turn)}}@keyframes _rotate3_1xrzw_1{0%{transform:rotateX(35deg) rotateY(55deg) rotate(0)}to{transform:rotateX(35deg) rotateY(55deg) rotate(1turn)}}._logo_1xrzw_94{margin-left:16px;width:116px}._sloganWrap_1xrzw_99{position:absolute;top:38px;left:117px;width:100px}._slogan_1xrzw_99{display:block;font-family:latoregular;font-size:10px;line-height:1}._title_1xrzw_113{margin-top:24px;font-size:18px;text-align:center;padding:0 16px}@media (min-width: 576px){._title_1xrzw_113{max-width:560px;font-size:24px}}
@@ -1,4 +1,3 @@
1
- (function(){"use strict";try{if(typeof document<"u"){var t=document.createElement("style");t.appendChild(document.createTextNode('._container_ot1x6_2{max-width:1200px;margin:0 auto;padding:0 16px;display:flex;justify-content:center;align-items:center}._fullScreen_ot1x6_11{position:fixed;top:0;left:0;right:0;bottom:0;z-index:1000;width:100vw;height:100vh;background:#fff;display:flex;flex-direction:column;justify-content:center;align-items:center}._loaderContainer_ot1x6_27{position:relative;display:flex;justify-content:center;align-items:center;margin-right:24px}._inner_ot1x6_35{position:relative;width:64px;height:64px;transform-style:preserve-3d;perspective:800px}._inner_ot1x6_35 ._item_ot1x6_42{position:absolute;content:"";top:0;left:0;width:100%;height:100%;border-radius:50%;border-bottom:3px solid #374656}._inner_ot1x6_35 ._item_ot1x6_42:nth-child(1){animation:_rotate1_ot1x6_1 1.15s linear infinite}._inner_ot1x6_35 ._item_ot1x6_42:nth-child(2){animation:_rotate2_ot1x6_1 1.15s linear infinite}._inner_ot1x6_35 ._item_ot1x6_42:nth-child(3){animation:_rotate3_ot1x6_1 1.15s linear infinite}._inner_ot1x6_35 ._item_ot1x6_42:nth-child(1){animation-delay:-.8s}._inner_ot1x6_35 ._item_ot1x6_42:nth-child(2){animation-delay:-.4s}._inner_ot1x6_35 ._item_ot1x6_42:nth-child(3){animation-delay:0s}@keyframes _rotate1_ot1x6_1{0%{transform:rotateX(35deg) rotateY(-45deg) rotate(0)}to{transform:rotateX(35deg) rotateY(-45deg) rotate(1turn)}}@keyframes _rotate2_ot1x6_1{0%{transform:rotateX(50deg) rotateY(10deg) rotate(0)}to{transform:rotateX(50deg) rotateY(10deg) rotate(1turn)}}@keyframes _rotate3_ot1x6_1{0%{transform:rotateX(35deg) rotateY(55deg) rotate(0)}to{transform:rotateX(35deg) rotateY(55deg) rotate(1turn)}}._logo_ot1x6_95{margin-left:16px;width:116px}._sloganWrap_ot1x6_100{position:absolute;top:38px;left:117px;width:100px}._slogan_ot1x6_100{display:block;font-family:latoregular;font-size:10px;line-height:1}._title_ot1x6_114{margin-top:24px;font-size:18px;text-align:center;padding:0 16px}@media (min-width: 576px){._title_ot1x6_114{max-width:560px;font-size:24px}}')),document.head.appendChild(t)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();
2
1
  import ae from "react";
3
2
  import se from "react-localization";
4
3
  function le(o) {
@@ -14,10 +13,10 @@ var k = { exports: {} }, R = {};
14
13
  * This source code is licensed under the MIT license found in the
15
14
  * LICENSE file in the root directory of this source tree.
16
15
  */
17
- var D;
16
+ var $;
18
17
  function ce() {
19
- if (D) return R;
20
- D = 1;
18
+ if ($) return R;
19
+ $ = 1;
21
20
  var o = Symbol.for("react.transitional.element"), p = Symbol.for("react.fragment");
22
21
  function i(m, s, t) {
23
22
  var a = null;
@@ -46,9 +45,9 @@ var b = {};
46
45
  * This source code is licensed under the MIT license found in the
47
46
  * LICENSE file in the root directory of this source tree.
48
47
  */
49
- var L;
48
+ var D;
50
49
  function ie() {
51
- return L || (L = 1, process.env.NODE_ENV !== "production" && function() {
50
+ return D || (D = 1, process.env.NODE_ENV !== "production" && function() {
52
51
  function o(e) {
53
52
  if (e == null) return null;
54
53
  if (typeof e == "function")
@@ -151,11 +150,11 @@ function ie() {
151
150
  }
152
151
  function V() {
153
152
  var e = o(this.type);
154
- return F[e] || (F[e] = !0, console.error(
153
+ return z[e] || (z[e] = !0, console.error(
155
154
  "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."
156
155
  )), e = this.props.ref, e !== void 0 ? e : null;
157
156
  }
158
- function q(e, r, n, l, E, _, j, S) {
157
+ function q(e, r, n, l, E, _, h, j) {
159
158
  return n = _.ref, e = {
160
159
  $$typeof: P,
161
160
  type: e,
@@ -179,15 +178,15 @@ function ie() {
179
178
  configurable: !1,
180
179
  enumerable: !1,
181
180
  writable: !0,
182
- value: j
181
+ value: h
183
182
  }), Object.defineProperty(e, "_debugTask", {
184
183
  configurable: !1,
185
184
  enumerable: !1,
186
185
  writable: !0,
187
- value: S
186
+ value: j
188
187
  }), Object.freeze && (Object.freeze(e.props), Object.freeze(e)), e;
189
188
  }
190
- function A(e, r, n, l, E, _, j, S) {
189
+ function A(e, r, n, l, E, _, h, j) {
191
190
  var c = r.children;
192
191
  if (c !== void 0)
193
192
  if (l)
@@ -205,7 +204,7 @@ function ie() {
205
204
  var v = Object.keys(r).filter(function(oe) {
206
205
  return oe !== "key";
207
206
  });
208
- l = 0 < v.length ? "{key: someKey, " + v.join(": ..., ") + ": ...}" : "{key: someKey}", $[c + l] || (v = 0 < v.length ? "{" + v.join(": ..., ") + ": ...}" : "{}", console.error(
207
+ l = 0 < v.length ? "{key: someKey, " + v.join(": ..., ") + ": ...}" : "{key: someKey}", W[c + l] || (v = 0 < v.length ? "{" + v.join(": ..., ") + ": ...}" : "{}", console.error(
209
208
  `A props object containing a "key" prop is being spread into JSX:
210
209
  let props = %s;
211
210
  <%s {...props} />
@@ -216,12 +215,12 @@ React keys must be passed directly to JSX without using spread:
216
215
  c,
217
216
  v,
218
217
  c
219
- ), $[c + l] = !0);
218
+ ), W[c + l] = !0);
220
219
  }
221
220
  if (c = null, n !== void 0 && (i(n), c = "" + n), a(r) && (i(r.key), c = "" + r.key), "key" in r) {
222
221
  n = {};
223
- for (var w in r)
224
- w !== "key" && (n[w] = r[w]);
222
+ for (var S in r)
223
+ S !== "key" && (n[S] = r[S]);
225
224
  } else n = r;
226
225
  return c && u(
227
226
  n,
@@ -233,14 +232,14 @@ React keys must be passed directly to JSX without using spread:
233
232
  E,
234
233
  s(),
235
234
  n,
236
- j,
237
- S
235
+ h,
236
+ j
238
237
  );
239
238
  }
240
239
  function N(e) {
241
240
  typeof e == "object" && e !== null && e.$$typeof === P && e._store && (e._store.validated = 1);
242
241
  }
243
- var g = ae, P = Symbol.for("react.transitional.element"), G = Symbol.for("react.portal"), T = Symbol.for("react.fragment"), J = Symbol.for("react.strict_mode"), X = Symbol.for("react.profiler"), B = 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"), y = Symbol.for("react.lazy"), re = Symbol.for("react.activity"), te = Symbol.for("react.client.reference"), x = g.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, C = Object.prototype.hasOwnProperty, ne = Array.isArray, h = console.createTask ? console.createTask : function() {
242
+ var g = ae, P = Symbol.for("react.transitional.element"), G = Symbol.for("react.portal"), T = Symbol.for("react.fragment"), J = Symbol.for("react.strict_mode"), X = Symbol.for("react.profiler"), B = 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"), y = Symbol.for("react.lazy"), re = Symbol.for("react.activity"), te = Symbol.for("react.client.reference"), x = g.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, C = Object.prototype.hasOwnProperty, ne = Array.isArray, w = console.createTask ? console.createTask : function() {
244
243
  return null;
245
244
  };
246
245
  g = {
@@ -248,10 +247,10 @@ React keys must be passed directly to JSX without using spread:
248
247
  return e();
249
248
  }
250
249
  };
251
- var Y, F = {}, I = g.react_stack_bottom_frame.bind(
250
+ var Y, z = {}, F = g.react_stack_bottom_frame.bind(
252
251
  g,
253
252
  t
254
- )(), W = h(m(t)), $ = {};
253
+ )(), I = w(m(t)), W = {};
255
254
  b.Fragment = T, b.jsx = function(e, r, n, l, E) {
256
255
  var _ = 1e4 > x.recentlyCreatedOwnerStacks++;
257
256
  return A(
@@ -261,8 +260,8 @@ React keys must be passed directly to JSX without using spread:
261
260
  !1,
262
261
  l,
263
262
  E,
264
- _ ? Error("react-stack-top-frame") : I,
265
- _ ? h(m(e)) : W
263
+ _ ? Error("react-stack-top-frame") : F,
264
+ _ ? w(m(e)) : I
266
265
  );
267
266
  }, b.jsxs = function(e, r, n, l, E) {
268
267
  var _ = 1e4 > x.recentlyCreatedOwnerStacks++;
@@ -273,14 +272,14 @@ React keys must be passed directly to JSX without using spread:
273
272
  !0,
274
273
  l,
275
274
  E,
276
- _ ? Error("react-stack-top-frame") : I,
277
- _ ? h(m(e)) : W
275
+ _ ? Error("react-stack-top-frame") : F,
276
+ _ ? w(m(e)) : I
278
277
  );
279
278
  };
280
279
  }()), b;
281
280
  }
282
281
  process.env.NODE_ENV === "production" ? k.exports = ce() : k.exports = ie();
283
- var f = k.exports, U = { exports: {} };
282
+ var f = k.exports, M = { exports: {} };
284
283
  /*!
285
284
  Copyright (c) 2018 Jed Watson.
286
285
  Licensed under the MIT License (MIT), see
@@ -315,11 +314,11 @@ var f = k.exports, U = { exports: {} };
315
314
  }
316
315
  o.exports ? (i.default = i, o.exports = i) : window.classNames = i;
317
316
  })();
318
- })(U);
319
- var ue = U.exports;
320
- const M = /* @__PURE__ */ le(ue);
321
- var z = /* @__PURE__ */ ((o) => (o.UK = "uk", o.RU = "ru", o))(z || {});
322
- const fe = "_container_ot1x6_2", de = "_fullScreen_ot1x6_11", me = "_loaderContainer_ot1x6_27", _e = "_inner_ot1x6_35", pe = "_item_ot1x6_42", Ee = "_logo_ot1x6_95", ve = "_sloganWrap_ot1x6_100", Re = "_slogan_ot1x6_100", be = "_title_ot1x6_114", d = {
317
+ })(M);
318
+ var ue = M.exports;
319
+ const L = /* @__PURE__ */ le(ue);
320
+ var U = /* @__PURE__ */ ((o) => (o.UK = "uk", o.RU = "ru", o))(U || {});
321
+ const fe = "_container_1xrzw_1", de = "_fullScreen_1xrzw_10", me = "_loaderContainer_1xrzw_26", _e = "_inner_1xrzw_34", pe = "_item_1xrzw_41", Ee = "_logo_1xrzw_94", ve = "_sloganWrap_1xrzw_99", Re = "_slogan_1xrzw_99", be = "_title_1xrzw_113", d = {
323
322
  container: fe,
324
323
  fullScreen: de,
325
324
  loaderContainer: me,
@@ -341,14 +340,14 @@ const fe = "_container_ot1x6_2", de = "_fullScreen_ot1x6_11", me = "_loaderConta
341
340
  }), xe = ({
342
341
  classes: o = "",
343
342
  isFullScreen: p,
344
- locale: i = z.UK,
343
+ locale: i = U.UK,
345
344
  title: m,
346
345
  titleClasses: s = ""
347
346
  }) => {
348
347
  O.setLanguage(i);
349
- const t = M(d.container, o, {
348
+ const t = L(d.container, o, {
350
349
  [d.fullScreen]: p
351
- }), a = M(d.title, s);
350
+ }), a = L(d.title, s);
352
351
  return /* @__PURE__ */ f.jsxs("div", { className: t, children: [
353
352
  /* @__PURE__ */ f.jsxs("div", { className: d.loaderContainer, children: [
354
353
  /* @__PURE__ */ f.jsxs("div", { className: d.inner, children: [
@@ -1,5 +1,5 @@
1
- (function(){"use strict";try{if(typeof document<"u"){var t=document.createElement("style");t.appendChild(document.createTextNode('._container_ot1x6_2{max-width:1200px;margin:0 auto;padding:0 16px;display:flex;justify-content:center;align-items:center}._fullScreen_ot1x6_11{position:fixed;top:0;left:0;right:0;bottom:0;z-index:1000;width:100vw;height:100vh;background:#fff;display:flex;flex-direction:column;justify-content:center;align-items:center}._loaderContainer_ot1x6_27{position:relative;display:flex;justify-content:center;align-items:center;margin-right:24px}._inner_ot1x6_35{position:relative;width:64px;height:64px;transform-style:preserve-3d;perspective:800px}._inner_ot1x6_35 ._item_ot1x6_42{position:absolute;content:"";top:0;left:0;width:100%;height:100%;border-radius:50%;border-bottom:3px solid #374656}._inner_ot1x6_35 ._item_ot1x6_42:nth-child(1){animation:_rotate1_ot1x6_1 1.15s linear infinite}._inner_ot1x6_35 ._item_ot1x6_42:nth-child(2){animation:_rotate2_ot1x6_1 1.15s linear infinite}._inner_ot1x6_35 ._item_ot1x6_42:nth-child(3){animation:_rotate3_ot1x6_1 1.15s linear infinite}._inner_ot1x6_35 ._item_ot1x6_42:nth-child(1){animation-delay:-.8s}._inner_ot1x6_35 ._item_ot1x6_42:nth-child(2){animation-delay:-.4s}._inner_ot1x6_35 ._item_ot1x6_42:nth-child(3){animation-delay:0s}@keyframes _rotate1_ot1x6_1{0%{transform:rotateX(35deg) rotateY(-45deg) rotate(0)}to{transform:rotateX(35deg) rotateY(-45deg) rotate(1turn)}}@keyframes _rotate2_ot1x6_1{0%{transform:rotateX(50deg) rotateY(10deg) rotate(0)}to{transform:rotateX(50deg) rotateY(10deg) rotate(1turn)}}@keyframes _rotate3_ot1x6_1{0%{transform:rotateX(35deg) rotateY(55deg) rotate(0)}to{transform:rotateX(35deg) rotateY(55deg) rotate(1turn)}}._logo_ot1x6_95{margin-left:16px;width:116px}._sloganWrap_ot1x6_100{position:absolute;top:38px;left:117px;width:100px}._slogan_ot1x6_100{display:block;font-family:latoregular;font-size:10px;line-height:1}._title_ot1x6_114{margin-top:24px;font-size:18px;text-align:center;padding:0 16px}@media (min-width: 576px){._title_ot1x6_114{max-width:560px;font-size:24px}}')),document.head.appendChild(t)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();
2
- (function(p,b){typeof exports=="object"&&typeof module<"u"?b(exports,require("react"),require("react-localization")):typeof define=="function"&&define.amd?define(["exports","react","react-localization"],b):(p=typeof globalThis<"u"?globalThis:p||self,b(p.ReactLib={},p.React,p.LocalizedStrings))})(this,function(p,b,G){"use strict";function J(o){return o&&o.__esModule&&Object.prototype.hasOwnProperty.call(o,"default")?o.default:o}var h={exports:{}},g={};/**
1
+ (function(p,h){typeof exports=="object"&&typeof module<"u"?h(exports,require("react"),require("react-localization")):typeof define=="function"&&define.amd?define(["exports","react","react-localization"],h):(p=typeof globalThis<"u"?globalThis:p||self,h(p.ReactLib={},p.React,p.LocalizedStrings))})(this,function(p,h,G){"use strict";var P=document.createElement("style");P.textContent=`._container_1xrzw_1{max-width:1200px;margin:0 auto;padding:0 16px;display:flex;justify-content:center;align-items:center}._fullScreen_1xrzw_10{position:fixed;top:0;left:0;right:0;bottom:0;z-index:1000;width:100vw;height:100vh;background:#fff;display:flex;flex-direction:column;justify-content:center;align-items:center}._loaderContainer_1xrzw_26{position:relative;display:flex;justify-content:center;align-items:center;margin-right:24px}._inner_1xrzw_34{position:relative;width:64px;height:64px;transform-style:preserve-3d;perspective:800px}._inner_1xrzw_34 ._item_1xrzw_41{position:absolute;content:"";top:0;left:0;width:100%;height:100%;border-radius:50%;border-bottom:3px solid #374656}._inner_1xrzw_34 ._item_1xrzw_41:nth-child(1){animation:_rotate1_1xrzw_1 1.15s linear infinite}._inner_1xrzw_34 ._item_1xrzw_41:nth-child(2){animation:_rotate2_1xrzw_1 1.15s linear infinite}._inner_1xrzw_34 ._item_1xrzw_41:nth-child(3){animation:_rotate3_1xrzw_1 1.15s linear infinite}._inner_1xrzw_34 ._item_1xrzw_41:nth-child(1){animation-delay:-.8s}._inner_1xrzw_34 ._item_1xrzw_41:nth-child(2){animation-delay:-.4s}._inner_1xrzw_34 ._item_1xrzw_41:nth-child(3){animation-delay:0s}@keyframes _rotate1_1xrzw_1{0%{transform:rotateX(35deg) rotateY(-45deg) rotate(0)}to{transform:rotateX(35deg) rotateY(-45deg) rotate(1turn)}}@keyframes _rotate2_1xrzw_1{0%{transform:rotateX(50deg) rotateY(10deg) rotate(0)}to{transform:rotateX(50deg) rotateY(10deg) rotate(1turn)}}@keyframes _rotate3_1xrzw_1{0%{transform:rotateX(35deg) rotateY(55deg) rotate(0)}to{transform:rotateX(35deg) rotateY(55deg) rotate(1turn)}}._logo_1xrzw_94{margin-left:16px;width:116px}._sloganWrap_1xrzw_99{position:absolute;top:38px;left:117px;width:100px}._slogan_1xrzw_99{display:block;font-family:latoregular;font-size:10px;line-height:1}._title_1xrzw_113{margin-top:24px;font-size:18px;text-align:center;padding:0 16px}@media (min-width: 576px){._title_1xrzw_113{max-width:560px;font-size:24px}}
2
+ /*$vite$:1*/`,document.head.appendChild(P);function J(o){return o&&o.__esModule&&Object.prototype.hasOwnProperty.call(o,"default")?o.default:o}var R={exports:{}},v={};/**
3
3
  * @license React
4
4
  * react-jsx-runtime.production.js
5
5
  *
@@ -7,7 +7,7 @@
7
7
  *
8
8
  * This source code is licensed under the MIT license found in the
9
9
  * LICENSE file in the root directory of this source tree.
10
- */var A;function X(){if(A)return g;A=1;var o=Symbol.for("react.transitional.element"),v=Symbol.for("react.fragment");function i(m,s,t){var a=null;if(t!==void 0&&(a=""+t),s.key!==void 0&&(a=""+s.key),"key"in s){t={};for(var d in s)d!=="key"&&(t[d]=s[d])}else t=s;return s=t.ref,{$$typeof:o,type:m,key:a,ref:s!==void 0?s:null,props:t}}return g.Fragment=v,g.jsx=i,g.jsxs=i,g}var T={};/**
10
+ */var A;function B(){if(A)return v;A=1;var o=Symbol.for("react.transitional.element"),x=Symbol.for("react.fragment");function c(d,i,t){var a=null;if(t!==void 0&&(a=""+t),i.key!==void 0&&(a=""+i.key),"key"in i){t={};for(var _ in i)_!=="key"&&(t[_]=i[_])}else t=i;return i=t.ref,{$$typeof:o,type:d,key:a,ref:i!==void 0?i:null,props:t}}return v.Fragment=x,v.jsx=c,v.jsxs=c,v}var b={};/**
11
11
  * @license React
12
12
  * react-jsx-runtime.development.js
13
13
  *
@@ -15,13 +15,13 @@
15
15
  *
16
16
  * This source code is licensed under the MIT license found in the
17
17
  * LICENSE file in the root directory of this source tree.
18
- */var N;function B(){return N||(N=1,process.env.NODE_ENV!=="production"&&function(){function o(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===ue?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case S:return"Fragment";case te:return"Profiler";case re:return"StrictMode";case se:return"Suspense";case le:return"SuspenseList";case ie: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 ee:return"Portal";case oe:return(e.displayName||"Context")+".Provider";case ne:return(e._context.displayName||"Context")+".Consumer";case ae:var r=e.render;return e=e.displayName,e||(e=r.displayName||r.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case ce:return r=e.displayName||null,r!==null?r:o(e.type)||"Memo";case M:r=e._payload,e=e._init;try{return o(e(r))}catch{}}return null}function v(e){return""+e}function i(e){try{v(e);var r=!1}catch{r=!0}if(r){r=console;var n=r.error,l=typeof Symbol=="function"&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object";return n.call(r,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",l),v(e)}}function m(e){if(e===S)return"<>";if(typeof e=="object"&&e!==null&&e.$$typeof===M)return"<...>";try{var r=o(e);return r?"<"+r+">":"<...>"}catch{return"<...>"}}function s(){var e=O.A;return e===null?null:e.getOwner()}function t(){return Error("react-stack-top-frame")}function a(e){if(D.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 n(){U||(U=!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))}n.isReactWarning=!0,Object.defineProperty(e,"key",{get:n,configurable:!0})}function Q(){var e=o(this.type);return $[e]||($[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 K(e,r,n,l,E,_,k,y){return n=_.ref,e={$$typeof:L,type:e,key:r,props:_,_owner:E},(n!==void 0?n:null)!==null?Object.defineProperty(e,"ref",{enumerable:!1,get:Q}):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:k}),Object.defineProperty(e,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:y}),Object.freeze&&(Object.freeze(e.props),Object.freeze(e)),e}function F(e,r,n,l,E,_,k,y){var c=r.children;if(c!==void 0)if(l)if(fe(c)){for(l=0;l<c.length;l++)I(c[l]);Object.freeze&&Object.freeze(c)}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 I(c);if(D.call(r,"key")){c=o(e);var R=Object.keys(r).filter(function(de){return de!=="key"});l=0<R.length?"{key: someKey, "+R.join(": ..., ")+": ...}":"{key: someKey}",q[c+l]||(R=0<R.length?"{"+R.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
18
+ */var N;function H(){return N||(N=1,process.env.NODE_ENV!=="production"&&function(){function o(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===fe?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case y:return"Fragment";case ne:return"Profiler";case te:return"StrictMode";case se:return"Suspense";case le:return"SuspenseList";case ue: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 re:return"Portal";case ae:return(e.displayName||"Context")+".Provider";case oe:return(e._context.displayName||"Context")+".Consumer";case ie:var r=e.render;return e=e.displayName,e||(e=r.displayName||r.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case ce:return r=e.displayName||null,r!==null?r:o(e.type)||"Memo";case M:r=e._payload,e=e._init;try{return o(e(r))}catch{}}return null}function x(e){return""+e}function c(e){try{x(e);var r=!1}catch{r=!0}if(r){r=console;var n=r.error,s=typeof Symbol=="function"&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object";return n.call(r,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",s),x(e)}}function d(e){if(e===y)return"<>";if(typeof e=="object"&&e!==null&&e.$$typeof===M)return"<...>";try{var r=o(e);return r?"<"+r+">":"<...>"}catch{return"<...>"}}function i(){var e=j.A;return e===null?null:e.getOwner()}function t(){return Error("react-stack-top-frame")}function a(e){if($.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 n(){D||(D=!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))}n.isReactWarning=!0,Object.defineProperty(e,"key",{get:n,configurable:!0})}function K(){var e=o(this.type);return U[e]||(U[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 ee(e,r,n,s,g,m,z,k){return n=m.ref,e={$$typeof:L,type:e,key:r,props:m,_owner:g},(n!==void 0?n:null)!==null?Object.defineProperty(e,"ref",{enumerable:!1,get:K}):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:z}),Object.defineProperty(e,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:k}),Object.freeze&&(Object.freeze(e.props),Object.freeze(e)),e}function F(e,r,n,s,g,m,z,k){var l=r.children;if(l!==void 0)if(s)if(_e(l)){for(s=0;s<l.length;s++)I(l[s]);Object.freeze&&Object.freeze(l)}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 I(l);if($.call(r,"key")){l=o(e);var w=Object.keys(r).filter(function(de){return de!=="key"});s=0<w.length?"{key: someKey, "+w.join(": ..., ")+": ...}":"{key: someKey}",q[l+s]||(w=0<w.length?"{"+w.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
19
19
  let props = %s;
20
20
  <%s {...props} />
21
21
  React keys must be passed directly to JSX without using spread:
22
22
  let props = %s;
23
- <%s key={someKey} {...props} />`,l,c,R,c),q[c+l]=!0)}if(c=null,n!==void 0&&(i(n),c=""+n),a(r)&&(i(r.key),c=""+r.key),"key"in r){n={};for(var P in r)P!=="key"&&(n[P]=r[P])}else n=r;return c&&d(n,typeof e=="function"?e.displayName||e.name||"Unknown":e),K(e,c,_,E,s(),n,k,y)}function I(e){typeof e=="object"&&e!==null&&e.$$typeof===L&&e._store&&(e._store.validated=1)}var x=b,L=Symbol.for("react.transitional.element"),ee=Symbol.for("react.portal"),S=Symbol.for("react.fragment"),re=Symbol.for("react.strict_mode"),te=Symbol.for("react.profiler"),ne=Symbol.for("react.consumer"),oe=Symbol.for("react.context"),ae=Symbol.for("react.forward_ref"),se=Symbol.for("react.suspense"),le=Symbol.for("react.suspense_list"),ce=Symbol.for("react.memo"),M=Symbol.for("react.lazy"),ie=Symbol.for("react.activity"),ue=Symbol.for("react.client.reference"),O=x.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,D=Object.prototype.hasOwnProperty,fe=Array.isArray,w=console.createTask?console.createTask:function(){return null};x={react_stack_bottom_frame:function(e){return e()}};var U,$={},z=x.react_stack_bottom_frame.bind(x,t)(),V=w(m(t)),q={};T.Fragment=S,T.jsx=function(e,r,n,l,E){var _=1e4>O.recentlyCreatedOwnerStacks++;return F(e,r,n,!1,l,E,_?Error("react-stack-top-frame"):z,_?w(m(e)):V)},T.jsxs=function(e,r,n,l,E){var _=1e4>O.recentlyCreatedOwnerStacks++;return F(e,r,n,!0,l,E,_?Error("react-stack-top-frame"):z,_?w(m(e)):V)}}()),T}process.env.NODE_ENV==="production"?h.exports=X():h.exports=B();var u=h.exports,C={exports:{}};/*!
23
+ <%s key={someKey} {...props} />`,s,l,w,l),q[l+s]=!0)}if(l=null,n!==void 0&&(c(n),l=""+n),a(r)&&(c(r.key),l=""+r.key),"key"in r){n={};for(var O in r)O!=="key"&&(n[O]=r[O])}else n=r;return l&&_(n,typeof e=="function"?e.displayName||e.name||"Unknown":e),ee(e,l,m,g,i(),n,z,k)}function I(e){typeof e=="object"&&e!==null&&e.$$typeof===L&&e._store&&(e._store.validated=1)}var E=h,L=Symbol.for("react.transitional.element"),re=Symbol.for("react.portal"),y=Symbol.for("react.fragment"),te=Symbol.for("react.strict_mode"),ne=Symbol.for("react.profiler"),oe=Symbol.for("react.consumer"),ae=Symbol.for("react.context"),ie=Symbol.for("react.forward_ref"),se=Symbol.for("react.suspense"),le=Symbol.for("react.suspense_list"),ce=Symbol.for("react.memo"),M=Symbol.for("react.lazy"),ue=Symbol.for("react.activity"),fe=Symbol.for("react.client.reference"),j=E.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,$=Object.prototype.hasOwnProperty,_e=Array.isArray,S=console.createTask?console.createTask:function(){return null};E={react_stack_bottom_frame:function(e){return e()}};var D,U={},X=E.react_stack_bottom_frame.bind(E,t)(),V=S(d(t)),q={};b.Fragment=y,b.jsx=function(e,r,n,s,g){var m=1e4>j.recentlyCreatedOwnerStacks++;return F(e,r,n,!1,s,g,m?Error("react-stack-top-frame"):X,m?S(d(e)):V)},b.jsxs=function(e,r,n,s,g){var m=1e4>j.recentlyCreatedOwnerStacks++;return F(e,r,n,!0,s,g,m?Error("react-stack-top-frame"):X,m?S(d(e)):V)}}()),b}process.env.NODE_ENV==="production"?R.exports=B():R.exports=H();var u=R.exports,C={exports:{}};/*!
24
24
  Copyright (c) 2018 Jed Watson.
25
25
  Licensed under the MIT License (MIT), see
26
26
  http://jedwatson.github.io/classnames
27
- */(function(o){(function(){var v={}.hasOwnProperty;function i(){for(var t="",a=0;a<arguments.length;a++){var d=arguments[a];d&&(t=s(t,m(d)))}return t}function m(t){if(typeof t=="string"||typeof t=="number")return t;if(typeof t!="object")return"";if(Array.isArray(t))return i.apply(null,t);if(t.toString!==Object.prototype.toString&&!t.toString.toString().includes("[native code]"))return t.toString();var a="";for(var d in t)v.call(t,d)&&t[d]&&(a=s(a,d));return a}function s(t,a){return a?t?t+" "+a:t+a:t}o.exports?(i.default=i,o.exports=i):window.classNames=i})()})(C);var H=C.exports;const Y=J(H);var W=(o=>(o.UK="uk",o.RU="ru",o))(W||{});const f={container:"_container_ot1x6_2",fullScreen:"_fullScreen_ot1x6_11",loaderContainer:"_loaderContainer_ot1x6_27",inner:"_inner_ot1x6_35",item:"_item_ot1x6_42",logo:"_logo_ot1x6_95",sloganWrap:"_sloganWrap_ot1x6_100",slogan:"_slogan_ot1x6_100",title:"_title_ot1x6_114"},j=new G({uk:{sloganRow1:"Класний пошукатор",sloganRow2:"страхових"},ru:{sloganRow1:"Классный пошукатор",sloganRow2:"страховых"}}),Z=({classes:o="",isFullScreen:v,locale:i=W.UK,title:m,titleClasses:s=""})=>{j.setLanguage(i);const t=Y(f.container,o,{[f.fullScreen]:v}),a=Y(f.title,s);return u.jsxs("div",{className:t,children:[u.jsxs("div",{className:f.loaderContainer,children:[u.jsxs("div",{className:f.inner,children:[u.jsx("div",{className:f.item,children:" "}),u.jsx("div",{className:f.item,children:" "}),u.jsx("div",{className:f.item,children:" "})]}),u.jsx("div",{className:f.logo,children:u.jsx("img",{width:"148px",height:"40px",src:"https://polis.ua/static/img/logo/logoWithFlagLine.svg",alt:"Icon"})}),u.jsxs("div",{className:f.sloganWrap,children:[u.jsx("span",{className:f.slogan,children:j.sloganRow1}),u.jsx("span",{className:f.slogan,children:j.sloganRow2})]})]}),m&&u.jsx("div",{className:a,children:m})]})};p.PageLoaderModule=Z,Object.defineProperty(p,Symbol.toStringTag,{value:"Module"})});
27
+ */(function(o){(function(){var x={}.hasOwnProperty;function c(){for(var t="",a=0;a<arguments.length;a++){var _=arguments[a];_&&(t=i(t,d(_)))}return t}function d(t){if(typeof t=="string"||typeof t=="number")return t;if(typeof t!="object")return"";if(Array.isArray(t))return c.apply(null,t);if(t.toString!==Object.prototype.toString&&!t.toString.toString().includes("[native code]"))return t.toString();var a="";for(var _ in t)x.call(t,_)&&t[_]&&(a=i(a,_));return a}function i(t,a){return a?t?t+" "+a:t+a:t}o.exports?(c.default=c,o.exports=c):window.classNames=c})()})(C);var Z=C.exports;const Y=J(Z);var W=(o=>(o.UK="uk",o.RU="ru",o))(W||{});const f={container:"_container_1xrzw_1",fullScreen:"_fullScreen_1xrzw_10",loaderContainer:"_loaderContainer_1xrzw_26",inner:"_inner_1xrzw_34",item:"_item_1xrzw_41",logo:"_logo_1xrzw_94",sloganWrap:"_sloganWrap_1xrzw_99",slogan:"_slogan_1xrzw_99",title:"_title_1xrzw_113"},T=new G({uk:{sloganRow1:"Класний пошукатор",sloganRow2:"страхових"},ru:{sloganRow1:"Классный пошукатор",sloganRow2:"страховых"}}),Q=({classes:o="",isFullScreen:x,locale:c=W.UK,title:d,titleClasses:i=""})=>{T.setLanguage(c);const t=Y(f.container,o,{[f.fullScreen]:x}),a=Y(f.title,i);return u.jsxs("div",{className:t,children:[u.jsxs("div",{className:f.loaderContainer,children:[u.jsxs("div",{className:f.inner,children:[u.jsx("div",{className:f.item,children:" "}),u.jsx("div",{className:f.item,children:" "}),u.jsx("div",{className:f.item,children:" "})]}),u.jsx("div",{className:f.logo,children:u.jsx("img",{width:"148px",height:"40px",src:"https://polis.ua/static/img/logo/logoWithFlagLine.svg",alt:"Icon"})}),u.jsxs("div",{className:f.sloganWrap,children:[u.jsx("span",{className:f.slogan,children:T.sloganRow1}),u.jsx("span",{className:f.slogan,children:T.sloganRow2})]})]}),d&&u.jsx("div",{className:a,children:d})]})};p.PageLoaderModule=Q,Object.defineProperty(p,Symbol.toStringTag,{value:"Module"})});
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ashtuka/react-lib",
3
- "version": "1.0.14",
3
+ "version": "1.0.15",
4
4
  "main": "./dist/react-lib.umd.js",
5
5
  "module": "./dist/react-lib.mjs",
6
6
  "types": "./dist/index.d.ts",
@@ -53,7 +53,6 @@
53
53
  "sass": "^1.86.3",
54
54
  "typescript": "^5.0.0",
55
55
  "vite": "^5.0.0",
56
- "vite-plugin-css-injected-by-js": "^3.5.2",
57
56
  "vitest": "^1.0.0"
58
57
  }
59
58
  }