denwa-web-shared 1.0.8 → 1.0.10

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 (33) hide show
  1. package/dist/client/hooks/index.d.ts +3 -0
  2. package/dist/client/hooks/use-disable-scroll.d.ts +1 -0
  3. package/dist/client/hooks/use-is-client.d.ts +1 -0
  4. package/dist/{client.d.ts → client/hooks/use-view-port.d.ts} +24 -48
  5. package/dist/client/index.d.ts +2 -0
  6. package/dist/client/ui/index.d.ts +1 -0
  7. package/dist/client/ui/infinity-list.d.ts +10 -0
  8. package/dist/denwa-web-shared.cjs.js +6830 -1
  9. package/dist/denwa-web-shared.es.js +6828 -30
  10. package/dist/index.d.ts +2 -0
  11. package/dist/server/constants/index.d.ts +39 -0
  12. package/dist/server/index.d.ts +5 -0
  13. package/dist/server/lib/css.d.ts +2 -0
  14. package/dist/server/lib/images.d.ts +46 -0
  15. package/dist/server/lib/index.d.ts +3 -0
  16. package/dist/server/lib/utils.d.ts +116 -0
  17. package/dist/server/schemas/index.d.ts +13 -0
  18. package/dist/server/types/index.d.ts +42 -0
  19. package/dist/server/ui/image.d.ts +20 -0
  20. package/dist/server/ui/index.d.ts +1 -0
  21. package/package.json +12 -10
  22. package/dist/client/denwa-web-shared.client.cjs.js +0 -1
  23. package/dist/client/denwa-web-shared.client.es.js +0 -12
  24. package/dist/image-CRxiqKd9.cjs +0 -18
  25. package/dist/image-CeUbwO13.js +0 -2575
  26. package/dist/infinity-list-BqhNmBDM.cjs +0 -1
  27. package/dist/infinity-list-ChtJSexP.js +0 -118
  28. package/dist/jsx-runtime-BgsXhnJy.js +0 -3065
  29. package/dist/jsx-runtime-Cgef3_fl.cjs +0 -22
  30. package/dist/main.d.ts +0 -349
  31. package/dist/server/denwa-web-shared.server.cjs.js +0 -1
  32. package/dist/server/denwa-web-shared.server.es.js +0 -22
  33. package/dist/server.d.ts +0 -304
@@ -0,0 +1,3 @@
1
+ export * from './use-disable-scroll';
2
+ export * from './use-is-client';
3
+ export * from './use-view-port';
@@ -0,0 +1 @@
1
+ export declare const useDisableScroll: (isDisableScroll: boolean) => void;
@@ -0,0 +1 @@
1
+ export declare const useIsClient: () => boolean;
@@ -1,48 +1,24 @@
1
- import { FC } from 'react';
2
- import { ReactNode } from 'react';
3
-
4
- export declare const InfinityList: FC<InfinityListProps>;
5
-
6
- declare interface InfinityListProps {
7
- children: ReactNode;
8
- intersectionElementClassName?: string;
9
- isNext: boolean;
10
- onIntersection: () => void;
11
- intersectionElement: () => ReactNode;
12
- }
13
-
14
- export declare const useDisableScroll: (isDisableScroll: boolean) => void;
15
-
16
- export declare const useExtraMediumViewPort: () => {
17
- isExtraMediumMinWidth: boolean;
18
- isExtraMediumMaxWidth: boolean;
19
- };
20
-
21
- export declare const useIsClient: () => boolean;
22
-
23
- export declare const useLaptopBigViewPort: () => {
24
- isLaptopBigMinWidth: boolean;
25
- isLaptopBigMaxWidth: boolean;
26
- };
27
-
28
- export declare const useLaptopViewPort: () => {
29
- isLaptopMinWidth: boolean;
30
- isLaptopMaxWidth: boolean;
31
- };
32
-
33
- export declare const useMobileViewPort: () => {
34
- isMobileMinWidth: boolean;
35
- isMobileMaxWidth: boolean;
36
- };
37
-
38
- export declare const useSmallViewPort: () => {
39
- isSmallMinWidth: boolean;
40
- isSmallMaxWidth: boolean;
41
- };
42
-
43
- export declare const useTabletViewPort: () => {
44
- isTabletMinWidth: boolean;
45
- isTabletMaxWidth: boolean;
46
- };
47
-
48
- export { }
1
+ export declare const useLaptopBigViewPort: () => {
2
+ isLaptopBigMinWidth: boolean;
3
+ isLaptopBigMaxWidth: boolean;
4
+ };
5
+ export declare const useLaptopViewPort: () => {
6
+ isLaptopMinWidth: boolean;
7
+ isLaptopMaxWidth: boolean;
8
+ };
9
+ export declare const useTabletViewPort: () => {
10
+ isTabletMinWidth: boolean;
11
+ isTabletMaxWidth: boolean;
12
+ };
13
+ export declare const useExtraMediumViewPort: () => {
14
+ isExtraMediumMinWidth: boolean;
15
+ isExtraMediumMaxWidth: boolean;
16
+ };
17
+ export declare const useMobileViewPort: () => {
18
+ isMobileMinWidth: boolean;
19
+ isMobileMaxWidth: boolean;
20
+ };
21
+ export declare const useSmallViewPort: () => {
22
+ isSmallMinWidth: boolean;
23
+ isSmallMaxWidth: boolean;
24
+ };
@@ -0,0 +1,2 @@
1
+ export * from './hooks';
2
+ export * from './ui';
@@ -0,0 +1 @@
1
+ export * from './infinity-list';
@@ -0,0 +1,10 @@
1
+ import { FC, ReactNode } from '../../../node_modules/react';
2
+ interface InfinityListProps {
3
+ children: ReactNode;
4
+ intersectionElementClassName?: string;
5
+ isNext: boolean;
6
+ onIntersection: () => void;
7
+ intersectionElement: () => ReactNode;
8
+ }
9
+ export declare const InfinityList: FC<InfinityListProps>;
10
+ export {};