visits-style 1.4.0 → 1.4.1

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.
@@ -1 +1 @@
1
- export default function Arrow(color: string): import("styled-components").FlattenSimpleInterpolation;
1
+ export default function Arrow(color: string): import("styled-components").RuleSet<object>;
@@ -1 +1 @@
1
- export default function boxShadow(size: string, color: string, amount?: number): import("styled-components").FlattenSimpleInterpolation;
1
+ export default function boxShadow(size: string, color: string, amount?: number): import("styled-components").RuleSet<object>;
@@ -1,2 +1,2 @@
1
1
  import { ThemeType } from '../types';
2
- export default function disabledColor(theme: ThemeType): import("styled-components").FlattenSimpleInterpolation;
2
+ export default function disabledColor(theme: ThemeType): import("styled-components").RuleSet<object>;
@@ -1 +1 @@
1
- export default function hamburger(size: string): import("styled-components").FlattenSimpleInterpolation;
1
+ export default function hamburger(size: string): import("styled-components").RuleSet<object>;
@@ -1,10 +1,6 @@
1
- import { ThemeType } from '../types';
2
- interface Props {
3
- theme: ThemeType;
4
- }
5
- export declare function mediaMobile({ theme }: Props): string;
6
- export declare function mediaTablet({ theme }: Props): string;
7
- export declare function mediaDesktop({ theme }: Props): string;
8
- export declare function mediaFullHD({ theme }: Props): string;
9
- export declare function mediaUntilFullHD({ theme }: Props): string;
10
- export {};
1
+ import type { Interpolation, ExecutionContext } from 'styled-components/dist/types';
2
+ export declare function mediaMobile({ theme }: ExecutionContext): Interpolation<object>;
3
+ export declare function mediaTablet({ theme }: ExecutionContext): Interpolation<object>;
4
+ export declare function mediaDesktop({ theme }: ExecutionContext): Interpolation<object>;
5
+ export declare function mediaFullHD({ theme }: ExecutionContext): Interpolation<object>;
6
+ export declare function mediaUntilFullHD({ theme }: ExecutionContext): Interpolation<object>;
@@ -1,3 +1,3 @@
1
1
  export default function setAlign({ align }: {
2
2
  align?: 'left' | 'right' | 'center';
3
- }): "center" | "flex-start" | "flex-end" | "space-evenly";
3
+ }): "center" | "space-evenly" | "flex-end" | "flex-start";
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "visits-style",
3
3
  "repository": "https://github.com/visits-works/visits-style",
4
4
  "homepage": "https://github.com/visits-works/visits-style",
5
- "version": "1.4.0",
5
+ "version": "1.4.1",
6
6
  "type": "module",
7
7
  "main": "./dist/index.cjs.js",
8
8
  "module": "./dist/index.es.js",
@@ -24,7 +24,7 @@
24
24
  "peerDependencies": {
25
25
  "react": ">=18.2.0",
26
26
  "react-dom": ">=18.2.0",
27
- "styled-components": ">=5.0.0"
27
+ "styled-components": ">=6.0.2"
28
28
  },
29
29
  "dependencies": {
30
30
  "@floating-ui/react": "^0.24.3",
@@ -1,17 +0,0 @@
1
- import { HTMLAttributes } from 'react';
2
- import { ColorType } from '../../types';
3
- export interface Props extends HTMLAttributes<HTMLDivElement> {
4
- /** レスポンシブなイメージを追加する */
5
- image?: string;
6
- /** タイトル */
7
- title?: string;
8
- /** ヘッダーの右側に追加する */
9
- headerOptions?: any;
10
- /** header部分(イメージ)を横並びにする */
11
- horizontal?: boolean;
12
- /** footer */
13
- footer?: any;
14
- /** 色の指定 */
15
- color?: ColorType;
16
- }
17
- export default function Card({ image, title, children, horizontal, footer, color, style, ...rest }: Props): import("react/jsx-runtime").JSX.Element;
@@ -1 +0,0 @@
1
- export default function useForceUpdate(): () => void;
@@ -1 +0,0 @@
1
- export default function useScrollFix(show?: boolean): void;