@ashtuka/react-lib 1.0.13 → 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 +1 -0
- package/dist/react-lib.mjs +32 -32
- package/dist/react-lib.umd.js +6 -5
- package/package.json +3 -2
- package/dist/style.css +0 -1
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}}
|
package/dist/react-lib.mjs
CHANGED
|
@@ -13,10 +13,10 @@ var k = { exports: {} }, R = {};
|
|
|
13
13
|
* This source code is licensed under the MIT license found in the
|
|
14
14
|
* LICENSE file in the root directory of this source tree.
|
|
15
15
|
*/
|
|
16
|
-
var
|
|
16
|
+
var $;
|
|
17
17
|
function ce() {
|
|
18
|
-
if (
|
|
19
|
-
|
|
18
|
+
if ($) return R;
|
|
19
|
+
$ = 1;
|
|
20
20
|
var o = Symbol.for("react.transitional.element"), p = Symbol.for("react.fragment");
|
|
21
21
|
function i(m, s, t) {
|
|
22
22
|
var a = null;
|
|
@@ -45,9 +45,9 @@ var b = {};
|
|
|
45
45
|
* This source code is licensed under the MIT license found in the
|
|
46
46
|
* LICENSE file in the root directory of this source tree.
|
|
47
47
|
*/
|
|
48
|
-
var
|
|
48
|
+
var D;
|
|
49
49
|
function ie() {
|
|
50
|
-
return
|
|
50
|
+
return D || (D = 1, process.env.NODE_ENV !== "production" && function() {
|
|
51
51
|
function o(e) {
|
|
52
52
|
if (e == null) return null;
|
|
53
53
|
if (typeof e == "function")
|
|
@@ -150,11 +150,11 @@ function ie() {
|
|
|
150
150
|
}
|
|
151
151
|
function V() {
|
|
152
152
|
var e = o(this.type);
|
|
153
|
-
return
|
|
153
|
+
return z[e] || (z[e] = !0, console.error(
|
|
154
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."
|
|
155
155
|
)), e = this.props.ref, e !== void 0 ? e : null;
|
|
156
156
|
}
|
|
157
|
-
function q(e, r, n, l, E, _,
|
|
157
|
+
function q(e, r, n, l, E, _, h, j) {
|
|
158
158
|
return n = _.ref, e = {
|
|
159
159
|
$$typeof: P,
|
|
160
160
|
type: e,
|
|
@@ -178,15 +178,15 @@ function ie() {
|
|
|
178
178
|
configurable: !1,
|
|
179
179
|
enumerable: !1,
|
|
180
180
|
writable: !0,
|
|
181
|
-
value:
|
|
181
|
+
value: h
|
|
182
182
|
}), Object.defineProperty(e, "_debugTask", {
|
|
183
183
|
configurable: !1,
|
|
184
184
|
enumerable: !1,
|
|
185
185
|
writable: !0,
|
|
186
|
-
value:
|
|
186
|
+
value: j
|
|
187
187
|
}), Object.freeze && (Object.freeze(e.props), Object.freeze(e)), e;
|
|
188
188
|
}
|
|
189
|
-
function A(e, r, n, l, E, _,
|
|
189
|
+
function A(e, r, n, l, E, _, h, j) {
|
|
190
190
|
var c = r.children;
|
|
191
191
|
if (c !== void 0)
|
|
192
192
|
if (l)
|
|
@@ -204,7 +204,7 @@ function ie() {
|
|
|
204
204
|
var v = Object.keys(r).filter(function(oe) {
|
|
205
205
|
return oe !== "key";
|
|
206
206
|
});
|
|
207
|
-
l = 0 < v.length ? "{key: someKey, " + v.join(": ..., ") + ": ...}" : "{key: someKey}",
|
|
207
|
+
l = 0 < v.length ? "{key: someKey, " + v.join(": ..., ") + ": ...}" : "{key: someKey}", W[c + l] || (v = 0 < v.length ? "{" + v.join(": ..., ") + ": ...}" : "{}", console.error(
|
|
208
208
|
`A props object containing a "key" prop is being spread into JSX:
|
|
209
209
|
let props = %s;
|
|
210
210
|
<%s {...props} />
|
|
@@ -215,12 +215,12 @@ React keys must be passed directly to JSX without using spread:
|
|
|
215
215
|
c,
|
|
216
216
|
v,
|
|
217
217
|
c
|
|
218
|
-
),
|
|
218
|
+
), W[c + l] = !0);
|
|
219
219
|
}
|
|
220
220
|
if (c = null, n !== void 0 && (i(n), c = "" + n), a(r) && (i(r.key), c = "" + r.key), "key" in r) {
|
|
221
221
|
n = {};
|
|
222
|
-
for (var
|
|
223
|
-
|
|
222
|
+
for (var S in r)
|
|
223
|
+
S !== "key" && (n[S] = r[S]);
|
|
224
224
|
} else n = r;
|
|
225
225
|
return c && u(
|
|
226
226
|
n,
|
|
@@ -232,14 +232,14 @@ React keys must be passed directly to JSX without using spread:
|
|
|
232
232
|
E,
|
|
233
233
|
s(),
|
|
234
234
|
n,
|
|
235
|
-
|
|
236
|
-
|
|
235
|
+
h,
|
|
236
|
+
j
|
|
237
237
|
);
|
|
238
238
|
}
|
|
239
239
|
function N(e) {
|
|
240
240
|
typeof e == "object" && e !== null && e.$$typeof === P && e._store && (e._store.validated = 1);
|
|
241
241
|
}
|
|
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,
|
|
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() {
|
|
243
243
|
return null;
|
|
244
244
|
};
|
|
245
245
|
g = {
|
|
@@ -247,10 +247,10 @@ React keys must be passed directly to JSX without using spread:
|
|
|
247
247
|
return e();
|
|
248
248
|
}
|
|
249
249
|
};
|
|
250
|
-
var Y,
|
|
250
|
+
var Y, z = {}, F = g.react_stack_bottom_frame.bind(
|
|
251
251
|
g,
|
|
252
252
|
t
|
|
253
|
-
)(),
|
|
253
|
+
)(), I = w(m(t)), W = {};
|
|
254
254
|
b.Fragment = T, b.jsx = function(e, r, n, l, E) {
|
|
255
255
|
var _ = 1e4 > x.recentlyCreatedOwnerStacks++;
|
|
256
256
|
return A(
|
|
@@ -260,8 +260,8 @@ React keys must be passed directly to JSX without using spread:
|
|
|
260
260
|
!1,
|
|
261
261
|
l,
|
|
262
262
|
E,
|
|
263
|
-
_ ? Error("react-stack-top-frame") :
|
|
264
|
-
_ ?
|
|
263
|
+
_ ? Error("react-stack-top-frame") : F,
|
|
264
|
+
_ ? w(m(e)) : I
|
|
265
265
|
);
|
|
266
266
|
}, b.jsxs = function(e, r, n, l, E) {
|
|
267
267
|
var _ = 1e4 > x.recentlyCreatedOwnerStacks++;
|
|
@@ -272,14 +272,14 @@ React keys must be passed directly to JSX without using spread:
|
|
|
272
272
|
!0,
|
|
273
273
|
l,
|
|
274
274
|
E,
|
|
275
|
-
_ ? Error("react-stack-top-frame") :
|
|
276
|
-
_ ?
|
|
275
|
+
_ ? Error("react-stack-top-frame") : F,
|
|
276
|
+
_ ? w(m(e)) : I
|
|
277
277
|
);
|
|
278
278
|
};
|
|
279
279
|
}()), b;
|
|
280
280
|
}
|
|
281
281
|
process.env.NODE_ENV === "production" ? k.exports = ce() : k.exports = ie();
|
|
282
|
-
var f = k.exports,
|
|
282
|
+
var f = k.exports, M = { exports: {} };
|
|
283
283
|
/*!
|
|
284
284
|
Copyright (c) 2018 Jed Watson.
|
|
285
285
|
Licensed under the MIT License (MIT), see
|
|
@@ -314,11 +314,11 @@ var f = k.exports, U = { exports: {} };
|
|
|
314
314
|
}
|
|
315
315
|
o.exports ? (i.default = i, o.exports = i) : window.classNames = i;
|
|
316
316
|
})();
|
|
317
|
-
})(
|
|
318
|
-
var ue =
|
|
319
|
-
const
|
|
320
|
-
var
|
|
321
|
-
const fe = "
|
|
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 = {
|
|
322
322
|
container: fe,
|
|
323
323
|
fullScreen: de,
|
|
324
324
|
loaderContainer: me,
|
|
@@ -340,14 +340,14 @@ const fe = "_container_ot1x6_2", de = "_fullScreen_ot1x6_11", me = "_loaderConta
|
|
|
340
340
|
}), xe = ({
|
|
341
341
|
classes: o = "",
|
|
342
342
|
isFullScreen: p,
|
|
343
|
-
locale: i =
|
|
343
|
+
locale: i = U.UK,
|
|
344
344
|
title: m,
|
|
345
345
|
titleClasses: s = ""
|
|
346
346
|
}) => {
|
|
347
347
|
O.setLanguage(i);
|
|
348
|
-
const t =
|
|
348
|
+
const t = L(d.container, o, {
|
|
349
349
|
[d.fullScreen]: p
|
|
350
|
-
}), a =
|
|
350
|
+
}), a = L(d.title, s);
|
|
351
351
|
return /* @__PURE__ */ f.jsxs("div", { className: t, children: [
|
|
352
352
|
/* @__PURE__ */ f.jsxs("div", { className: d.loaderContainer, children: [
|
|
353
353
|
/* @__PURE__ */ f.jsxs("div", { className: d.inner, children: [
|
package/dist/react-lib.umd.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
(function(p,
|
|
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={};/**
|
|
2
3
|
* @license React
|
|
3
4
|
* react-jsx-runtime.production.js
|
|
4
5
|
*
|
|
@@ -6,7 +7,7 @@
|
|
|
6
7
|
*
|
|
7
8
|
* This source code is licensed under the MIT license found in the
|
|
8
9
|
* LICENSE file in the root directory of this source tree.
|
|
9
|
-
*/var A;function
|
|
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={};/**
|
|
10
11
|
* @license React
|
|
11
12
|
* react-jsx-runtime.development.js
|
|
12
13
|
*
|
|
@@ -14,13 +15,13 @@
|
|
|
14
15
|
*
|
|
15
16
|
* This source code is licensed under the MIT license found in the
|
|
16
17
|
* LICENSE file in the root directory of this source tree.
|
|
17
|
-
*/var N;function
|
|
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:
|
|
18
19
|
let props = %s;
|
|
19
20
|
<%s {...props} />
|
|
20
21
|
React keys must be passed directly to JSX without using spread:
|
|
21
22
|
let props = %s;
|
|
22
|
-
<%s key={someKey} {...props} />`,l,
|
|
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:{}};/*!
|
|
23
24
|
Copyright (c) 2018 Jed Watson.
|
|
24
25
|
Licensed under the MIT License (MIT), see
|
|
25
26
|
http://jedwatson.github.io/classnames
|
|
26
|
-
*/(function(o){(function(){var
|
|
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.
|
|
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",
|
|
@@ -9,7 +9,8 @@
|
|
|
9
9
|
"import": "./dist/react-lib.mjs",
|
|
10
10
|
"require": "./dist/react-lib.umd.js",
|
|
11
11
|
"types": "./dist/index.d.ts"
|
|
12
|
-
}
|
|
12
|
+
},
|
|
13
|
+
"./style.css": "./dist/style.css"
|
|
13
14
|
},
|
|
14
15
|
"files": [
|
|
15
16
|
"dist"
|
package/dist/style.css
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
._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}}
|