@redneckz/wildless-cms-uni-blocks 0.3.51 → 0.3.52

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.
Files changed (40) hide show
  1. package/bundle/blocks.schema.json +1 -1
  2. package/bundle/bundle.umd.js +5 -59
  3. package/bundle/bundle.umd.min.js +1 -1
  4. package/dist/components/OtherProducts/OtherProductsContent.d.ts +2 -2
  5. package/dist/components/OtherProducts/OtherProductsItem.d.ts +2 -2
  6. package/dist/components/OtherProducts/OtherProductsItem.js +1 -1
  7. package/dist/components/OtherProducts/OtherProductsItem.js.map +1 -1
  8. package/dist/index.d.ts +0 -13
  9. package/dist/index.js +1 -13
  10. package/dist/index.js.map +1 -1
  11. package/lib/components/OtherProducts/OtherProductsContent.d.ts +2 -2
  12. package/lib/components/OtherProducts/OtherProductsItem.d.ts +2 -2
  13. package/lib/components/OtherProducts/OtherProductsItem.js +1 -1
  14. package/lib/components/OtherProducts/OtherProductsItem.js.map +1 -1
  15. package/lib/index.d.ts +0 -13
  16. package/lib/index.js +0 -6
  17. package/lib/index.js.map +1 -1
  18. package/mobile/bundle/bundle.umd.js +0 -55
  19. package/mobile/bundle/bundle.umd.min.js +1 -1
  20. package/mobile/dist/components/OtherProducts/OtherProductsContent.d.ts +2 -2
  21. package/mobile/dist/components/OtherProducts/OtherProductsItem.d.ts +2 -2
  22. package/mobile/dist/components/OtherProducts/OtherProductsItem.js +1 -1
  23. package/mobile/dist/components/OtherProducts/OtherProductsItem.js.map +1 -1
  24. package/mobile/dist/index.d.ts +0 -13
  25. package/mobile/dist/index.js +1 -13
  26. package/mobile/dist/index.js.map +1 -1
  27. package/mobile/lib/components/OtherProducts/OtherProductsContent.d.ts +2 -2
  28. package/mobile/lib/components/OtherProducts/OtherProductsItem.d.ts +2 -2
  29. package/mobile/lib/components/OtherProducts/OtherProductsItem.js +1 -1
  30. package/mobile/lib/components/OtherProducts/OtherProductsItem.js.map +1 -1
  31. package/mobile/lib/index.d.ts +0 -13
  32. package/mobile/lib/index.js +0 -6
  33. package/mobile/lib/index.js.map +1 -1
  34. package/mobile/src/components/OtherProducts/OtherProductsContent.ts +2 -2
  35. package/mobile/src/components/OtherProducts/OtherProductsItem.tsx +3 -3
  36. package/mobile/src/index.ts +0 -28
  37. package/package.json +4 -9
  38. package/src/components/OtherProducts/OtherProductsContent.ts +2 -2
  39. package/src/components/OtherProducts/OtherProductsItem.tsx +3 -3
  40. package/src/index.ts +0 -28
@@ -3,7 +3,7 @@ import type { BlockDef, ColumnsCount } from '../../ui-kit/BlocksList/BlocksListP
3
3
  /**
4
4
  * @title Элемент списка
5
5
  */
6
- export interface blockItemCommonProps {
6
+ export interface BlockItemCommonProps {
7
7
  /**
8
8
  * @title Название
9
9
  * @default Список
@@ -27,6 +27,6 @@ export interface OtherProductsContent {
27
27
  * @title Список
28
28
  * @maxItems 10
29
29
  */
30
- blockItems?: blockItemCommonProps[];
30
+ blockItems?: BlockItemCommonProps[];
31
31
  colorPalette?: ColorPalette;
32
32
  }
@@ -1,5 +1,5 @@
1
1
  import type { UniBlockProps } from '../../types';
2
- import type { blockItemCommonProps } from './OtherProductsContent';
3
- export interface BlockItemProps extends blockItemCommonProps, UniBlockProps {
2
+ import type { BlockItemCommonProps } from './OtherProductsContent';
3
+ export interface BlockItemProps extends BlockItemCommonProps, UniBlockProps {
4
4
  }
5
5
  export declare const OtherProductsItem: (props: import("@redneckz/uni-jsx").PropsWithChildren<BlockItemProps, any>, context?: any) => any;
@@ -1,8 +1,8 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
2
2
  import { JSX } from '@redneckz/uni-jsx';
3
- import { useActiveHandler } from './useActiveHandler.js';
4
3
  import { Icon } from '../../ui-kit/Icon/Icon.js';
5
4
  import { OtherProductsItemInner } from './OtherProductsItemInner.js';
5
+ import { useActiveHandler } from './useActiveHandler.js';
6
6
  export const OtherProductsItem = JSX(({ label, isExpanded, blocks, columns, context }) => {
7
7
  const { hasContent, icon, handleToggle, isActive } = useActiveHandler({
8
8
  context,
@@ -1 +1 @@
1
- {"version":3,"file":"OtherProductsItem.js","sourceRoot":"","sources":["../../../src/components/OtherProducts/OtherProductsItem.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAGtD,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAC9C,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAIlE,MAAM,CAAC,MAAM,iBAAiB,GAAG,GAAG,CAClC,CAAC,EAAE,KAAK,EAAE,UAAU,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,EAAE,EAAE,EAAE;IAClD,MAAM,EAAE,UAAU,EAAE,IAAI,EAAE,YAAY,EAAE,QAAQ,EAAE,GAAG,gBAAgB,CAAC;QACpE,OAAO;QACP,MAAM;QACN,YAAY,EAAE,UAAU;KACzB,CAAC,CAAC;IAEH,OAAO,CACL,eAAK,SAAS,EAAC,oDAAoD,aAChE,UAAU,CAAC,CAAC,CAAC,CACZ,KAAC,sBAAsB,IACrB,UAAU,EAAE,QAAQ,EACpB,OAAO,EAAE,OAAO,EAChB,MAAM,EAAE,MAAM,EACd,OAAO,EAAE,OAAO,GAChB,CACH,CAAC,CAAC,CAAC,IAAI,EACR,kBACE,SAAS,EAAC,8HAA8H,EACxI,OAAO,EAAE,YAAY,aAErB,eAAM,SAAS,EAAC,MAAM,YAAE,QAAQ,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,KAAK,GAAQ,EAC1D,UAAU,CAAC,CAAC,CAAC,KAAC,IAAI,IAAC,IAAI,EAAE,IAAI,EAAE,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,EAAC,KAAK,SAAG,CAAC,CAAC,CAAC,IAAI,IAC/D,IACL,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
1
+ {"version":3,"file":"OtherProductsItem.js","sourceRoot":"","sources":["../../../src/components/OtherProducts/OtherProductsItem.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAE9C,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAItD,MAAM,CAAC,MAAM,iBAAiB,GAAG,GAAG,CAClC,CAAC,EAAE,KAAK,EAAE,UAAU,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,EAAE,EAAE,EAAE;IAClD,MAAM,EAAE,UAAU,EAAE,IAAI,EAAE,YAAY,EAAE,QAAQ,EAAE,GAAG,gBAAgB,CAAC;QACpE,OAAO;QACP,MAAM;QACN,YAAY,EAAE,UAAU;KACzB,CAAC,CAAC;IAEH,OAAO,CACL,eAAK,SAAS,EAAC,oDAAoD,aAChE,UAAU,CAAC,CAAC,CAAC,CACZ,KAAC,sBAAsB,IACrB,UAAU,EAAE,QAAQ,EACpB,OAAO,EAAE,OAAO,EAChB,MAAM,EAAE,MAAM,EACd,OAAO,EAAE,OAAO,GAChB,CACH,CAAC,CAAC,CAAC,IAAI,EACR,kBACE,SAAS,EAAC,8HAA8H,EACxI,OAAO,EAAE,YAAY,aAErB,eAAM,SAAS,EAAC,MAAM,YAAE,QAAQ,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,KAAK,GAAQ,EAC1D,UAAU,CAAC,CAAC,CAAC,KAAC,IAAI,IAAC,IAAI,EAAE,IAAI,EAAE,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,EAAC,KAAK,SAAG,CAAC,CAAC,CAAC,IAAI,IAC/D,IACL,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
@@ -1,21 +1,8 @@
1
1
  export { setup } from '@redneckz/uni-jsx';
2
2
  export { DaDataAPI } from './api/DaDataAPI';
3
3
  export { LikeAPI } from './api/LikeAPI';
4
- export type { BlockContent } from './components/BlockContent';
5
4
  export { Blocks } from './components/Blocks';
6
- export { Button } from './ui-kit/Button/Button';
7
- export { Img as Image } from './ui-kit/Img/Img';
8
5
  export { ContentPage } from './components/ContentPage/ContentPage';
9
- export type { BlockDecorator } from './components/ContentPage/ContentPage';
10
- export type { AsyncDataHook, ContentPageContext, GeolocationHook, HandlerDecorator, LikeService, Router, Search, } from './components/ContentPage/ContentPageContext';
11
- export { ContentPageHead } from './components/ContentPage/ContentPageHead';
12
- export { normalizePage } from './components/ContentPage/normalizePage';
13
- export { Header } from './components/Header/Header';
14
- export type { Img, ImgSource, Picture } from './model/Picture';
15
6
  export { projectSettings } from './ProjectSettings';
16
- export type { ProjectSettings } from './ProjectSettings';
17
- export type { SitemapProps as SitemapContent } from './services/sitemap/SitemapProps';
18
- export type { BlockDef, ContentPageDef, ContentPageMeta, Slot, SlotsMap, UniBlockProps, } from './types';
19
- export { Icon } from './ui-kit/Icon/Icon';
20
7
  export { joinList } from './utils/joinList';
21
8
  export * as url from './utils/url';
@@ -2,14 +2,8 @@ export { setup } from '@redneckz/uni-jsx';
2
2
  export { DaDataAPI } from './api/DaDataAPI.js';
3
3
  export { LikeAPI } from './api/LikeAPI.js';
4
4
  export { Blocks } from './components/Blocks.js';
5
- export { Button } from './ui-kit/Button/Button.js';
6
- export { Img as Image } from './ui-kit/Img/Img.js';
7
5
  export { ContentPage } from './components/ContentPage/ContentPage.js';
8
- export { ContentPageHead } from './components/ContentPage/ContentPageHead.js';
9
- export { normalizePage } from './components/ContentPage/normalizePage.js';
10
- export { Header } from './components/Header/Header.js';
11
6
  export { projectSettings } from './ProjectSettings.js';
12
- export { Icon } from './ui-kit/Icon/Icon.js';
13
7
  export { joinList } from './utils/joinList.js';
14
8
  export * as url from './utils/url.js';
15
9
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC1C,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AAExC,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAC7C,OAAO,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAC;AAChD,OAAO,EAAE,GAAG,IAAI,KAAK,EAAE,MAAM,kBAAkB,CAAC;AAChD,OAAO,EAAE,WAAW,EAAE,MAAM,sCAAsC,CAAC;AAWnE,OAAO,EAAE,eAAe,EAAE,MAAM,0CAA0C,CAAC;AAC3E,OAAO,EAAE,aAAa,EAAE,MAAM,wCAAwC,CAAC;AACvE,OAAO,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAC;AAEpD,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAWpD,OAAO,EAAE,IAAI,EAAE,MAAM,oBAAoB,CAAC;AAC1C,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAC5C,OAAO,KAAK,GAAG,MAAM,aAAa,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC1C,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAC7C,OAAO,EAAE,WAAW,EAAE,MAAM,sCAAsC,CAAC;AACnE,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAC5C,OAAO,KAAK,GAAG,MAAM,aAAa,CAAC"}
@@ -4,7 +4,7 @@ import type { BlockDef, ColumnsCount } from '../../ui-kit/BlocksList/BlocksListP
4
4
  /**
5
5
  * @title Элемент списка
6
6
  */
7
- export interface blockItemCommonProps {
7
+ export interface BlockItemCommonProps {
8
8
  /**
9
9
  * @title Название
10
10
  * @default Список
@@ -29,6 +29,6 @@ export interface OtherProductsContent {
29
29
  * @title Список
30
30
  * @maxItems 10
31
31
  */
32
- blockItems?: blockItemCommonProps[];
32
+ blockItems?: BlockItemCommonProps[];
33
33
  colorPalette?: ColorPalette;
34
34
  }
@@ -1,11 +1,11 @@
1
1
  import { JSX } from '@redneckz/uni-jsx';
2
- import { useActiveHandler } from './useActiveHandler';
3
2
  import type { UniBlockProps } from '../../types';
4
- import type { blockItemCommonProps } from './OtherProductsContent';
5
3
  import { Icon } from '../../ui-kit/Icon/Icon';
4
+ import type { BlockItemCommonProps } from './OtherProductsContent';
6
5
  import { OtherProductsItemInner } from './OtherProductsItemInner';
6
+ import { useActiveHandler } from './useActiveHandler';
7
7
 
8
- export interface BlockItemProps extends blockItemCommonProps, UniBlockProps {}
8
+ export interface BlockItemProps extends BlockItemCommonProps, UniBlockProps {}
9
9
 
10
10
  export const OtherProductsItem = JSX<BlockItemProps>(
11
11
  ({ label, isExpanded, blocks, columns, context }) => {
@@ -1,36 +1,8 @@
1
1
  export { setup } from '@redneckz/uni-jsx';
2
2
  export { DaDataAPI } from './api/DaDataAPI';
3
3
  export { LikeAPI } from './api/LikeAPI';
4
- export type { BlockContent } from './components/BlockContent';
5
4
  export { Blocks } from './components/Blocks';
6
- export { Button } from './ui-kit/Button/Button';
7
- export { Img as Image } from './ui-kit/Img/Img';
8
5
  export { ContentPage } from './components/ContentPage/ContentPage';
9
- export type { BlockDecorator } from './components/ContentPage/ContentPage';
10
- export type {
11
- AsyncDataHook,
12
- ContentPageContext,
13
- GeolocationHook,
14
- HandlerDecorator,
15
- LikeService,
16
- Router,
17
- Search,
18
- } from './components/ContentPage/ContentPageContext';
19
- export { ContentPageHead } from './components/ContentPage/ContentPageHead';
20
- export { normalizePage } from './components/ContentPage/normalizePage';
21
- export { Header } from './components/Header/Header';
22
- export type { Img, ImgSource, Picture } from './model/Picture';
23
6
  export { projectSettings } from './ProjectSettings';
24
- export type { ProjectSettings } from './ProjectSettings';
25
- export type { SitemapProps as SitemapContent } from './services/sitemap/SitemapProps';
26
- export type {
27
- BlockDef,
28
- ContentPageDef,
29
- ContentPageMeta,
30
- Slot,
31
- SlotsMap,
32
- UniBlockProps,
33
- } from './types';
34
- export { Icon } from './ui-kit/Icon/Icon';
35
7
  export { joinList } from './utils/joinList';
36
8
  export * as url from './utils/url';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@redneckz/wildless-cms-uni-blocks",
3
- "version": "0.3.51",
3
+ "version": "0.3.52",
4
4
  "private": false,
5
5
  "license": "MIT",
6
6
  "author": "ЦК",
@@ -23,12 +23,12 @@
23
23
  "require": "./mobile/dist/index.js",
24
24
  "types": "./mobile/lib/index.d.ts"
25
25
  },
26
- "./lib/*.js": {
26
+ "./lib/*": {
27
27
  "import": "./lib/*.js",
28
28
  "require": "./dist/*.js",
29
29
  "types": "./lib/*.d.ts"
30
30
  },
31
- "./mobile/lib/*.js": {
31
+ "./mobile/lib/*": {
32
32
  "import": "./mobile/lib/*.js",
33
33
  "require": "./mobile/dist/*.js",
34
34
  "types": "./mobile/lib/*.d.ts"
@@ -40,16 +40,11 @@
40
40
  "require": "./dist/content-page-repository/index.js",
41
41
  "types": "./lib/content-page-repository/index.d.ts"
42
42
  },
43
- "./lib/content-page-repository/*.js": {
43
+ "./lib/content-page-repository/*": {
44
44
  "import": "./lib/content-page-repository/*.js",
45
45
  "require": "./dist/content-page-repository/*.js",
46
46
  "types": "./lib/content-page-repository/*.d.ts"
47
47
  },
48
- "./lib/utils/*.js": {
49
- "import": "./lib/utils/*.js",
50
- "require": "./dist/utils/*.js",
51
- "types": "./lib/utils/*.d.ts"
52
- },
53
48
  "./bundle/*.js": "./bundle/*.js",
54
49
  "./bundle/*.json": "./bundle/*.json",
55
50
  "./*.json": "./*.json",
@@ -4,7 +4,7 @@ import type { BlockDef, ColumnsCount } from '../../ui-kit/BlocksList/BlocksListP
4
4
  /**
5
5
  * @title Элемент списка
6
6
  */
7
- export interface blockItemCommonProps {
7
+ export interface BlockItemCommonProps {
8
8
  /**
9
9
  * @title Название
10
10
  * @default Список
@@ -29,6 +29,6 @@ export interface OtherProductsContent {
29
29
  * @title Список
30
30
  * @maxItems 10
31
31
  */
32
- blockItems?: blockItemCommonProps[];
32
+ blockItems?: BlockItemCommonProps[];
33
33
  colorPalette?: ColorPalette;
34
34
  }
@@ -1,11 +1,11 @@
1
1
  import { JSX } from '@redneckz/uni-jsx';
2
- import { useActiveHandler } from './useActiveHandler';
3
2
  import type { UniBlockProps } from '../../types';
4
- import type { blockItemCommonProps } from './OtherProductsContent';
5
3
  import { Icon } from '../../ui-kit/Icon/Icon';
4
+ import type { BlockItemCommonProps } from './OtherProductsContent';
6
5
  import { OtherProductsItemInner } from './OtherProductsItemInner';
6
+ import { useActiveHandler } from './useActiveHandler';
7
7
 
8
- export interface BlockItemProps extends blockItemCommonProps, UniBlockProps {}
8
+ export interface BlockItemProps extends BlockItemCommonProps, UniBlockProps {}
9
9
 
10
10
  export const OtherProductsItem = JSX<BlockItemProps>(
11
11
  ({ label, isExpanded, blocks, columns, context }) => {
package/src/index.ts CHANGED
@@ -1,36 +1,8 @@
1
1
  export { setup } from '@redneckz/uni-jsx';
2
2
  export { DaDataAPI } from './api/DaDataAPI';
3
3
  export { LikeAPI } from './api/LikeAPI';
4
- export type { BlockContent } from './components/BlockContent';
5
4
  export { Blocks } from './components/Blocks';
6
- export { Button } from './ui-kit/Button/Button';
7
- export { Img as Image } from './ui-kit/Img/Img';
8
5
  export { ContentPage } from './components/ContentPage/ContentPage';
9
- export type { BlockDecorator } from './components/ContentPage/ContentPage';
10
- export type {
11
- AsyncDataHook,
12
- ContentPageContext,
13
- GeolocationHook,
14
- HandlerDecorator,
15
- LikeService,
16
- Router,
17
- Search,
18
- } from './components/ContentPage/ContentPageContext';
19
- export { ContentPageHead } from './components/ContentPage/ContentPageHead';
20
- export { normalizePage } from './components/ContentPage/normalizePage';
21
- export { Header } from './components/Header/Header';
22
- export type { Img, ImgSource, Picture } from './model/Picture';
23
6
  export { projectSettings } from './ProjectSettings';
24
- export type { ProjectSettings } from './ProjectSettings';
25
- export type { SitemapProps as SitemapContent } from './services/sitemap/SitemapProps';
26
- export type {
27
- BlockDef,
28
- ContentPageDef,
29
- ContentPageMeta,
30
- Slot,
31
- SlotsMap,
32
- UniBlockProps,
33
- } from './types';
34
- export { Icon } from './ui-kit/Icon/Icon';
35
7
  export { joinList } from './utils/joinList';
36
8
  export * as url from './utils/url';