@ashtuka/react-lib 1.0.37 → 1.0.38

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.es.js CHANGED
@@ -1,4 +1,4 @@
1
- import { P as a } from "./PageLoaderModule-BJcY2xBU.mjs";
1
+ import { P as a } from "./PageLoaderModule-C7IoevYf.mjs";
2
2
  export {
3
3
  a as PageLoaderModule
4
4
  };
@@ -318,7 +318,16 @@ var f = k.exports, M = { exports: {} };
318
318
  var ue = M.exports;
319
319
  const L = /* @__PURE__ */ le(ue);
320
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 = {
321
+ const O = new se({
322
+ uk: {
323
+ sloganRow1: "Класний пошукатор",
324
+ sloganRow2: "страхових"
325
+ },
326
+ ru: {
327
+ sloganRow1: "Классный пошукатор",
328
+ sloganRow2: "страховых"
329
+ }
330
+ }), 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
331
  container: fe,
323
332
  fullScreen: de,
324
333
  loaderContainer: me,
@@ -328,16 +337,7 @@ const fe = "_container_1xrzw_1", de = "_fullScreen_1xrzw_10", me = "_loaderConta
328
337
  sloganWrap: ve,
329
338
  slogan: Re,
330
339
  title: be
331
- }, O = new se({
332
- uk: {
333
- sloganRow1: "Класний пошукатор",
334
- sloganRow2: "страхових"
335
- },
336
- ru: {
337
- sloganRow1: "Классный пошукатор",
338
- sloganRow2: "страховых"
339
- }
340
- }), xe = ({
340
+ }, xe = ({
341
341
  classes: o = "",
342
342
  isFullScreen: p,
343
343
  locale: i = U.UK,
@@ -19,30 +19,5 @@
19
19
  * ```
20
20
  */
21
21
  import React from 'react';
22
- import { Locale } from '@/types';
23
- export type PageLoaderModuleProps = {
24
- /**
25
- * Додаткові CSS-класи для контейнера.
26
- * @default ''
27
- */
28
- classes?: string;
29
- /**
30
- * Якщо `true`, лоадер займає весь екран.
31
- */
32
- isFullScreen?: boolean;
33
- /**
34
- * Підтримувані значення: `Locale.UK` (українська), `Locale.RU` (російська).
35
- * @default Locale.UK
36
- */
37
- locale?: Locale;
38
- /**
39
- * Додатковий заголовок.
40
- */
41
- title?: string;
42
- /**
43
- * Додаткові CSS-класи для заголовка.
44
- * @default ''
45
- */
46
- titleClasses?: string;
47
- };
22
+ import { PageLoaderModuleProps } from './PageLoaderModule.types';
48
23
  export declare const PageLoaderModule: React.FC<PageLoaderModuleProps>;
@@ -1,4 +1,4 @@
1
- import { P as a } from "./PageLoaderModule-BJcY2xBU.mjs";
1
+ import { P as a } from "./PageLoaderModule-C7IoevYf.mjs";
2
2
  export {
3
3
  a as PageLoaderModule
4
4
  };
@@ -0,0 +1,26 @@
1
+ import { Locale } from '@/types';
2
+ export type PageLoaderModuleProps = {
3
+ /**
4
+ * Додаткові CSS-класи для контейнера.
5
+ * @default ''
6
+ */
7
+ classes?: string;
8
+ /**
9
+ * Якщо `true`, лоадер займає весь екран.
10
+ */
11
+ isFullScreen?: boolean;
12
+ /**
13
+ * Підтримувані значення: `Locale.UK` (українська), `Locale.RU` (російська).
14
+ * @default Locale.UK
15
+ */
16
+ locale?: Locale;
17
+ /**
18
+ * Додатковий заголовок.
19
+ */
20
+ title?: string;
21
+ /**
22
+ * Додаткові CSS-класи для заголовка.
23
+ * @default ''
24
+ */
25
+ titleClasses?: string;
26
+ };
@@ -0,0 +1,7 @@
1
+ export declare const localization: import("react-localization").LocalizedStrings<{
2
+ sloganRow1: string;
3
+ sloganRow2: string;
4
+ } | {
5
+ sloganRow1: string;
6
+ sloganRow2: string;
7
+ }>;
@@ -1,2 +1,2 @@
1
1
  export { PageLoaderModule } from './PageLoaderModule';
2
- export type { PageLoaderModuleProps } from './PageLoaderModule';
2
+ export type { PageLoaderModuleProps } from './PageLoaderModule.types';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ashtuka/react-lib",
3
- "version": "1.0.37",
3
+ "version": "1.0.38",
4
4
  "main": "./dist/index.es.js",
5
5
  "module": "./dist/index.es.js",
6
6
  "types": "./dist/index.d.ts",