visits-style 1.4.16 → 2.0.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.
- package/README.md +59 -26
- package/dist/index.cjs.js +1 -1571
- package/dist/index.d.ts +447 -7
- package/dist/index.es.js +953 -1440
- package/dist/lib.css +26 -0
- package/package.json +9 -8
- package/dist/components/Accordion/index.d.ts +0 -12
- package/dist/components/AppBar/index.d.ts +0 -19
- package/dist/components/Modal/index.d.ts +0 -32
- package/dist/components/Popover/index.d.ts +0 -46
- package/dist/components/Portal/index.d.ts +0 -8
- package/dist/components/Spinner/index.d.ts +0 -12
- package/dist/components/Toast/ToastItem.d.ts +0 -2
- package/dist/components/Toast/index.d.ts +0 -2
- package/dist/components/Toast/types.d.ts +0 -44
- package/dist/components/Tooltip/index.d.ts +0 -37
- package/dist/components/index.d.ts +0 -10
- package/dist/elements/Box/index.d.ts +0 -10
- package/dist/elements/Button/ButtonGroup.d.ts +0 -3
- package/dist/elements/Button/TextButton.d.ts +0 -18
- package/dist/elements/Button/index.d.ts +0 -16
- package/dist/elements/Content/index.d.ts +0 -3
- package/dist/elements/Divider/index.d.ts +0 -3
- package/dist/elements/Grid/Col.d.ts +0 -12
- package/dist/elements/Grid/Container.d.ts +0 -7
- package/dist/elements/Grid/Row.d.ts +0 -3
- package/dist/elements/Icons/Approved.d.ts +0 -2
- package/dist/elements/Icons/ArrowDown.d.ts +0 -2
- package/dist/elements/Icons/ChevronLeftRound.d.ts +0 -2
- package/dist/elements/Icons/ChevronRightRound.d.ts +0 -2
- package/dist/elements/Icons/Close.d.ts +0 -2
- package/dist/elements/Icons/FileRound.d.ts +0 -2
- package/dist/elements/Icons/Pencil.d.ts +0 -2
- package/dist/elements/Icons/PencilSimple.d.ts +0 -2
- package/dist/elements/Icons/Plus.d.ts +0 -2
- package/dist/elements/Icons/Refresh.d.ts +0 -2
- package/dist/elements/Icons/User.d.ts +0 -2
- package/dist/elements/Icons/index.d.ts +0 -11
- package/dist/elements/Placeholder/index.d.ts +0 -3
- package/dist/elements/Progress/index.d.ts +0 -18
- package/dist/elements/Table/index.d.ts +0 -12
- package/dist/elements/Tag/index.d.ts +0 -15
- package/dist/elements/index.d.ts +0 -14
- package/dist/forms/Checkbox/index.d.ts +0 -8
- package/dist/forms/Field/index.d.ts +0 -7
- package/dist/forms/HelpMessage.d.ts +0 -8
- package/dist/forms/Radio/index.d.ts +0 -8
- package/dist/forms/Select/index.d.ts +0 -29
- package/dist/forms/Switch/index.d.ts +0 -21
- package/dist/forms/TextInput/index.d.ts +0 -22
- package/dist/forms/Textarea/index.d.ts +0 -11
- package/dist/forms/index.d.ts +0 -7
- package/dist/hooks/useIsomorphicLayoutEffect.d.ts +0 -3
- package/dist/styles/normalize.d.ts +0 -3
- package/dist/theme.d.ts +0 -3
- package/dist/types.d.ts +0 -36
- package/dist/utils/arrow.d.ts +0 -1
- package/dist/utils/boxShadow.d.ts +0 -1
- package/dist/utils/disabledColor.d.ts +0 -2
- package/dist/utils/findColorInvert.d.ts +0 -2
- package/dist/utils/hambuger.d.ts +0 -1
- package/dist/utils/index.d.ts +0 -6
- package/dist/utils/isClient.d.ts +0 -2
- package/dist/utils/media.d.ts +0 -6
- package/dist/utils/setAlign.d.ts +0 -3
- package/dist/utils/setSize.d.ts +0 -4
- package/dist/utils/stopPropagation.d.ts +0 -2
- package/dist/utils/wrapEvent.d.ts +0 -2
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import React, { InputHTMLAttributes } from 'react';
|
|
2
|
-
export interface Props extends InputHTMLAttributes<HTMLInputElement> {
|
|
3
|
-
/**
|
|
4
|
-
* 'text' | 'number' | 'password' | 'email' | 'tel' | 'search'
|
|
5
|
-
* @default 'text'
|
|
6
|
-
*/
|
|
7
|
-
type?: 'text' | 'number' | 'password' | 'email' | 'tel' | 'search';
|
|
8
|
-
/** エラーの発生時の表示テキスト */
|
|
9
|
-
error?: React.ReactNode;
|
|
10
|
-
/** 捕捉テキスト */
|
|
11
|
-
help?: React.ReactNode;
|
|
12
|
-
/** ボックス系のデザインでする */
|
|
13
|
-
outline?: boolean;
|
|
14
|
-
/** 左側のアイコン */
|
|
15
|
-
leftIcon?: React.ReactNode;
|
|
16
|
-
/** 右側のアイコン */
|
|
17
|
-
rightIcon?: React.ReactNode;
|
|
18
|
-
/** エラーが発生しても、エラーメッセージを出さないようにする */
|
|
19
|
-
noErrorMessage?: boolean;
|
|
20
|
-
}
|
|
21
|
-
declare const TextInput: React.ForwardRefExoticComponent<Props & React.RefAttributes<HTMLInputElement>>;
|
|
22
|
-
export default TextInput;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import React, { TextareaHTMLAttributes } from 'react';
|
|
2
|
-
export interface Props extends TextareaHTMLAttributes<HTMLTextAreaElement> {
|
|
3
|
-
/** エラーの発生時の表示テキスト */
|
|
4
|
-
error?: React.ReactNode;
|
|
5
|
-
/** 捕捉テキスト */
|
|
6
|
-
help?: React.ReactNode;
|
|
7
|
-
/** エラーが発生しても、エラーメッセージを出さないようにする */
|
|
8
|
-
noErrorMessage?: boolean;
|
|
9
|
-
}
|
|
10
|
-
declare const Textarea: React.ForwardRefExoticComponent<Props & React.RefAttributes<HTMLTextAreaElement>>;
|
|
11
|
-
export default Textarea;
|
package/dist/forms/index.d.ts
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
export { default as Field, type Props as FieldProps } from './Field';
|
|
2
|
-
export { default as TextInput, type Props as TextInputProps } from './TextInput';
|
|
3
|
-
export { default as Textarea, type Props as TextareaProps } from './Textarea';
|
|
4
|
-
export { default as Checkbox, type Props as CheckboxProps } from './Checkbox';
|
|
5
|
-
export { default as Select, type Props as SelectProps } from './Select';
|
|
6
|
-
export { default as Radio, type Props as RadioProps } from './Radio';
|
|
7
|
-
export { default as Switch, type Props as SwitchProps } from './Switch';
|
package/dist/theme.d.ts
DELETED
package/dist/types.d.ts
DELETED
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
export type ColorType = 'light' | 'primary' | 'info' | 'link' | 'success' | 'warning' | 'danger' | 'dark' | 'text' | string;
|
|
2
|
-
export type SizeType = 'small' | 'medium' | 'large';
|
|
3
|
-
export type ColSizeType = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12;
|
|
4
|
-
export type AlignType = 'left' | 'right' | 'center';
|
|
5
|
-
export interface ThemeType {
|
|
6
|
-
fontSize: string;
|
|
7
|
-
fontFamily: string;
|
|
8
|
-
gutter: number;
|
|
9
|
-
smallGutter: number;
|
|
10
|
-
media: {
|
|
11
|
-
mobile: string;
|
|
12
|
-
tablet: string;
|
|
13
|
-
desktop: string;
|
|
14
|
-
fullhd: string;
|
|
15
|
-
};
|
|
16
|
-
radius: string;
|
|
17
|
-
primary: string;
|
|
18
|
-
link: string;
|
|
19
|
-
info: string;
|
|
20
|
-
success: string;
|
|
21
|
-
warning: string;
|
|
22
|
-
danger: string;
|
|
23
|
-
dark: string;
|
|
24
|
-
black: string;
|
|
25
|
-
white: string;
|
|
26
|
-
text: string;
|
|
27
|
-
textDark: string;
|
|
28
|
-
textLight: string;
|
|
29
|
-
textStrong: string;
|
|
30
|
-
background: string;
|
|
31
|
-
border: string;
|
|
32
|
-
borderHover: string;
|
|
33
|
-
borderActive: string;
|
|
34
|
-
responsive: boolean;
|
|
35
|
-
[key: string]: string | number | boolean | any;
|
|
36
|
-
}
|
package/dist/utils/arrow.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export default function Arrow(color: string): import("styled-components").RuleSet<object>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export default function boxShadow(size: string, color: string, amount?: number): import("styled-components").RuleSet<object>;
|
package/dist/utils/hambuger.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export default function hamburger(size: string): import("styled-components").RuleSet<object>;
|
package/dist/utils/index.d.ts
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
export { default as findColorInvert } from './findColorInvert';
|
|
2
|
-
export { default as hambuger } from './hambuger';
|
|
3
|
-
export { default as boxShadow } from './boxShadow';
|
|
4
|
-
export { default as arrow } from './arrow';
|
|
5
|
-
export { default as setSize } from './setSize';
|
|
6
|
-
export * from './media';
|
package/dist/utils/isClient.d.ts
DELETED
package/dist/utils/media.d.ts
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
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>;
|
package/dist/utils/setAlign.d.ts
DELETED
package/dist/utils/setSize.d.ts
DELETED