@coldsurf/ocean-road 1.13.2
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/css/global.css +30 -0
- package/dist/index.d.ts +641 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +733 -0
- package/dist/index.js.map +1 -0
- package/dist/native.cjs +94 -0
- package/dist/native.cjs.map +1 -0
- package/dist/native.d.cts +304 -0
- package/dist/native.d.cts.map +1 -0
- package/dist/native.d.ts +304 -0
- package/dist/native.d.ts.map +1 -0
- package/dist/native.js +94 -0
- package/dist/native.js.map +1 -0
- package/dist/next.cjs +949 -0
- package/dist/next.cjs.map +1 -0
- package/dist/next.d.cts +270 -0
- package/dist/next.d.cts.map +1 -0
- package/dist/next.d.ts +270 -0
- package/dist/next.d.ts.map +1 -0
- package/dist/next.js +949 -0
- package/dist/next.js.map +1 -0
- package/native/index.d.ts +7 -0
- package/next/index.d.ts +7 -0
- package/package.json +126 -0
- package/src/GlobalStyle.tsx +111 -0
- package/src/base/badge/badge.tsx +50 -0
- package/src/base/badge/index.ts +1 -0
- package/src/base/button/button.styled.tsx +123 -0
- package/src/base/button/button.tsx +60 -0
- package/src/base/button/button.types.ts +20 -0
- package/src/base/button/button.utils.ts +36 -0
- package/src/base/button/index.tsx +2 -0
- package/src/base/checkbox/checkbox.styled.ts +52 -0
- package/src/base/checkbox/checkbox.tsx +26 -0
- package/src/base/checkbox/index.ts +1 -0
- package/src/base/icon-button/icon-button.styled.ts +8 -0
- package/src/base/icon-button/icon-button.tsx +15 -0
- package/src/base/icon-button/icon-button.types.ts +3 -0
- package/src/base/icon-button/index.ts +2 -0
- package/src/base/index.ts +11 -0
- package/src/base/label/index.ts +1 -0
- package/src/base/label/label.styled.ts +7 -0
- package/src/base/label/label.tsx +27 -0
- package/src/base/modal/index.ts +1 -0
- package/src/base/modal/modal.tsx +59 -0
- package/src/base/spinner/index.ts +2 -0
- package/src/base/spinner/spinner.styled.ts +25 -0
- package/src/base/spinner/spinner.tsx +36 -0
- package/src/base/spinner/spinner.types.ts +1 -0
- package/src/base/switch/index.ts +1 -0
- package/src/base/switch/switch.styled.tsx +49 -0
- package/src/base/switch/switch.tsx +29 -0
- package/src/base/text/index.ts +1 -0
- package/src/base/text/text.styled.ts +17 -0
- package/src/base/text/text.tsx +37 -0
- package/src/base/text-area/index.ts +2 -0
- package/src/base/text-area/text-area.styled.ts +16 -0
- package/src/base/text-area/text-area.tsx +29 -0
- package/src/base/text-area/text-area.types.ts +11 -0
- package/src/base/text-input/index.ts +2 -0
- package/src/base/text-input/text-input.styled.ts +40 -0
- package/src/base/text-input/text-input.tsx +59 -0
- package/src/base/text-input/text-input.types.ts +15 -0
- package/src/base/toast/index.ts +2 -0
- package/src/base/toast/toast.tsx +60 -0
- package/src/base/toast/toast.types.ts +5 -0
- package/src/constants.ts +1 -0
- package/src/contexts/ColorSchemeProvider.tsx +154 -0
- package/src/css/global.css +30 -0
- package/src/extensions/accordion/accordion.hooks.ts +11 -0
- package/src/extensions/accordion/accordion.tsx +80 -0
- package/src/extensions/accordion/index.ts +1 -0
- package/src/extensions/app-header/app-header.hooks.ts +94 -0
- package/src/extensions/app-header/app-header.tsx +31 -0
- package/src/extensions/app-header/app-header.types.ts +1 -0
- package/src/extensions/app-header/index.ts +8 -0
- package/src/extensions/app-logo/app-logo.tsx +40 -0
- package/src/extensions/app-logo/index.ts +1 -0
- package/src/extensions/app-store-button/app-store-button.tsx +64 -0
- package/src/extensions/app-store-button/index.ts +1 -0
- package/src/extensions/brand-icon/brand-icon.android.tsx +11 -0
- package/src/extensions/brand-icon/brand-icon.apple.tsx +11 -0
- package/src/extensions/brand-icon/brand-icon.google.tsx +11 -0
- package/src/extensions/brand-icon/brand-icon.tsx +22 -0
- package/src/extensions/brand-icon/index.ts +1 -0
- package/src/extensions/color-scheme-toggle/color-scheme-toggle.tsx +76 -0
- package/src/extensions/color-scheme-toggle/index.ts +1 -0
- package/src/extensions/dropdown/dropdown.menu-item.tsx +237 -0
- package/src/extensions/dropdown/dropdown.result-item.tsx +26 -0
- package/src/extensions/dropdown/dropdown.styled.tsx +48 -0
- package/src/extensions/dropdown/dropdown.trigger.tsx +72 -0
- package/src/extensions/dropdown/dropdown.tsx +222 -0
- package/src/extensions/dropdown/dropdown.types.ts +3 -0
- package/src/extensions/dropdown/dropdown.utils.ts +40 -0
- package/src/extensions/dropdown/index.ts +14 -0
- package/src/extensions/error-ui/index.ts +7 -0
- package/src/extensions/error-ui/network-error/index.ts +1 -0
- package/src/extensions/error-ui/network-error/network-error.styled.ts +16 -0
- package/src/extensions/error-ui/network-error/network-error.tsx +14 -0
- package/src/extensions/error-ui/unknown-error/index.ts +1 -0
- package/src/extensions/error-ui/unknown-error/unknown-error.styled.ts +16 -0
- package/src/extensions/error-ui/unknown-error/unknown-error.tsx +14 -0
- package/src/extensions/full-screen-modal/full-screen-modal.tsx +52 -0
- package/src/extensions/full-screen-modal/index.ts +1 -0
- package/src/extensions/grid-card-image/grid-card-image.tsx +11 -0
- package/src/extensions/grid-card-image/index.ts +1 -0
- package/src/extensions/grid-card-image-empty/grid-card-image-empty.tsx +11 -0
- package/src/extensions/grid-card-image-empty/index.ts +1 -0
- package/src/extensions/grid-card-item/grid-card-item.masonry.styled.tsx +95 -0
- package/src/extensions/grid-card-item/grid-card-item.masonry.tsx +63 -0
- package/src/extensions/grid-card-item/grid-card-item.styled.tsx +93 -0
- package/src/extensions/grid-card-item/grid-card-item.subscribe-btn-layout.tsx +30 -0
- package/src/extensions/grid-card-item/grid-card-item.tsx +81 -0
- package/src/extensions/grid-card-item/index.ts +2 -0
- package/src/extensions/grid-card-list/grid-card-list.masonry.styled.tsx +45 -0
- package/src/extensions/grid-card-list/grid-card-list.masonry.tsx +58 -0
- package/src/extensions/grid-card-list/grid-card-list.styled.tsx +40 -0
- package/src/extensions/grid-card-list/grid-card-list.tsx +59 -0
- package/src/extensions/grid-card-list/index.ts +2 -0
- package/src/extensions/grid-card-list-empty/grid-card-list-empty.tsx +38 -0
- package/src/extensions/grid-card-list-empty/index.ts +1 -0
- package/src/extensions/grid-card-list-load-more/grid-card-list-load-more.styled.tsx +15 -0
- package/src/extensions/grid-card-list-load-more/grid-card-list-load-more.tsx +43 -0
- package/src/extensions/grid-card-list-load-more/index.ts +1 -0
- package/src/extensions/index.ts +38 -0
- package/src/extensions/menu-item/index.ts +1 -0
- package/src/extensions/menu-item/menu-item.tsx +87 -0
- package/src/extensions/sns-icon/index.ts +1 -0
- package/src/extensions/sns-icon/sns-icon.facebook.tsx +11 -0
- package/src/extensions/sns-icon/sns-icon.instagram.tsx +11 -0
- package/src/extensions/sns-icon/sns-icon.tsx +24 -0
- package/src/extensions/sns-icon/sns-icon.x.tsx +11 -0
- package/src/extensions/sns-icon/sns-icon.youtube.tsx +11 -0
- package/src/index.ts +8 -0
- package/src/native/button/button.styled.tsx +99 -0
- package/src/native/button/button.tsx +42 -0
- package/src/native/button/index.ts +1 -0
- package/src/native/contexts/color-scheme-context/color-scheme-context.tsx +45 -0
- package/src/native/contexts/color-scheme-context/index.ts +1 -0
- package/src/native/contexts/index.ts +1 -0
- package/src/native/icon-button/icon-button.styled.ts +6 -0
- package/src/native/icon-button/icon-button.tsx +33 -0
- package/src/native/icon-button/icon-button.types.ts +14 -0
- package/src/native/icon-button/icon-button.utils.ts +114 -0
- package/src/native/icon-button/index.ts +1 -0
- package/src/native/index.ts +9 -0
- package/src/native/modal/index.ts +2 -0
- package/src/native/modal/modal.styled.ts +17 -0
- package/src/native/modal/modal.tsx +21 -0
- package/src/native/modal/modal.types.ts +8 -0
- package/src/native/profile-thumbnail/index.ts +1 -0
- package/src/native/profile-thumbnail/profile-thumbnail.tsx +91 -0
- package/src/native/spinner/index.ts +1 -0
- package/src/native/spinner/spinner.tsx +75 -0
- package/src/native/text/index.ts +2 -0
- package/src/native/text/text.tsx +51 -0
- package/src/native/text/text.types.ts +5 -0
- package/src/native/text-input/index.ts +2 -0
- package/src/native/text-input/text-input.tsx +72 -0
- package/src/native/text-input/text-input.types.ts +3 -0
- package/src/native/toast/index.ts +2 -0
- package/src/native/toast/toast.styled.ts +40 -0
- package/src/native/toast/toast.tsx +23 -0
- package/src/native/toast/toast.types.ts +10 -0
- package/src/next/app-footer/app-footer.tsx +250 -0
- package/src/next/app-footer/index.ts +1 -0
- package/src/next/app-header/app-header.fixed-header.tsx +83 -0
- package/src/next/app-header/app-header.full-screen-mobile-accordion-drawer.tsx +131 -0
- package/src/next/app-header/app-header.logo.tsx +50 -0
- package/src/next/app-header/app-header.modal-mobile-accordion-drawer.tsx +69 -0
- package/src/next/app-header/app-header.styled.ts +160 -0
- package/src/next/app-header/app-header.tsx +91 -0
- package/src/next/app-header/index.ts +13 -0
- package/src/next/global-link/global-link.store.ts +41 -0
- package/src/next/global-link/global-link.tsx +52 -0
- package/src/next/global-link/global-link.utils.ts +9 -0
- package/src/next/global-link/index.ts +3 -0
- package/src/next/grid-card-item/grid-card-item.masonry.tsx +23 -0
- package/src/next/grid-card-item/grid-card-item.tsx +23 -0
- package/src/next/grid-card-item/index.ts +2 -0
- package/src/next/index.ts +16 -0
- package/src/next/new-tab-link/index.ts +1 -0
- package/src/next/new-tab-link/new-tab-link.tsx +15 -0
- package/src/next/route-loading/index.ts +1 -0
- package/src/next/route-loading/route-loading.tsx +21 -0
- package/src/tokens/index.ts +2 -0
- package/src/tokens/tokens.ts +8 -0
- package/src/tokens/tokens.types.ts +7 -0
- package/src/utils/breakpoints.ts +9 -0
- package/src/utils/common-styles.ts +23 -0
- package/src/utils/index.ts +2 -0
- package/src/utils/media.ts +23 -0
- package/src/utils/use-prevent-scroll-effect.ts +19 -0
- package/src/utils/with-id.ts +3 -0
- package/src/utils/with-stop-propagation.ts +10 -0
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
html,
|
|
2
|
+
body {
|
|
3
|
+
padding: 0;
|
|
4
|
+
margin: 0;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
body {
|
|
8
|
+
background-color: white;
|
|
9
|
+
color: black;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
@media (prefers-color-scheme: dark) {
|
|
13
|
+
body {
|
|
14
|
+
background-color: rgb(24, 24, 31);
|
|
15
|
+
color: rgb(238, 238, 238);
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
a {
|
|
20
|
+
color: #2563eb;
|
|
21
|
+
text-decoration: none;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
* {
|
|
25
|
+
box-sizing: border-box;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
h1 {
|
|
29
|
+
font-weight: 800;
|
|
30
|
+
}
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,641 @@
|
|
|
1
|
+
import * as react0$1 from "react";
|
|
2
|
+
import * as react0 from "react";
|
|
3
|
+
import * as react44 from "react";
|
|
4
|
+
import * as react68 from "react";
|
|
5
|
+
import * as react94 from "react";
|
|
6
|
+
import * as react84 from "react";
|
|
7
|
+
import * as react61 from "react";
|
|
8
|
+
import * as react88 from "react";
|
|
9
|
+
import * as react63 from "react";
|
|
10
|
+
import * as react53 from "react";
|
|
11
|
+
import * as react62 from "react";
|
|
12
|
+
import * as react51 from "react";
|
|
13
|
+
import * as react59 from "react";
|
|
14
|
+
import * as react23 from "react";
|
|
15
|
+
import * as react82 from "react";
|
|
16
|
+
import * as react90 from "react";
|
|
17
|
+
import * as react49 from "react";
|
|
18
|
+
import * as react72 from "react";
|
|
19
|
+
import * as react27 from "react";
|
|
20
|
+
import * as react85 from "react";
|
|
21
|
+
import * as react42 from "react";
|
|
22
|
+
import * as react92 from "react";
|
|
23
|
+
import * as react80 from "react";
|
|
24
|
+
import * as react71 from "react";
|
|
25
|
+
import * as react1 from "react";
|
|
26
|
+
import { ButtonHTMLAttributes, CSSProperties, ComponentPropsWithRef, DetailedHTMLProps, ElementType, HTMLAttributes, InputHTMLAttributes, MouseEventHandler, PropsWithChildren, ReactElement, ReactNode, Ref, RefObject, SVGProps, TextareaHTMLAttributes } from "react";
|
|
27
|
+
import * as _emotion_react1 from "@emotion/react";
|
|
28
|
+
import * as _emotion_react0 from "@emotion/react";
|
|
29
|
+
import { SerializedStyles } from "@emotion/react";
|
|
30
|
+
import * as _emotion_styled1 from "@emotion/styled";
|
|
31
|
+
import * as _emotion_styled0 from "@emotion/styled";
|
|
32
|
+
import darkColorDesignTokens from "@coldsurfers/ocean-road-design-tokens/dist/json/color/variables-dark.json";
|
|
33
|
+
import lightColorDesignTokens from "@coldsurfers/ocean-road-design-tokens/dist/json/color/variables-light.json";
|
|
34
|
+
import colorDesignTokens from "@coldsurfers/ocean-road-design-tokens/js/color/variables";
|
|
35
|
+
import { icons } from "lucide-react";
|
|
36
|
+
import { MotionProps } from "framer-motion";
|
|
37
|
+
|
|
38
|
+
//#region src/tokens/tokens.types.d.ts
|
|
39
|
+
type ColorDesignTokens = typeof colorDesignTokens;
|
|
40
|
+
type DarkColorDesignTokens = typeof darkColorDesignTokens;
|
|
41
|
+
type LightColorDesignTokens = typeof lightColorDesignTokens;
|
|
42
|
+
//# sourceMappingURL=tokens.types.d.ts.map
|
|
43
|
+
//#endregion
|
|
44
|
+
//#region src/tokens/tokens.d.ts
|
|
45
|
+
declare const colors: ColorDesignTokens;
|
|
46
|
+
declare const semantics: {
|
|
47
|
+
readonly color: {
|
|
48
|
+
readonly background: {
|
|
49
|
+
readonly "1": "var(--color-background-1)";
|
|
50
|
+
readonly "2": "var(--color-background-2)";
|
|
51
|
+
readonly "3": "var(--color-background-3)";
|
|
52
|
+
readonly "4": "var(--color-background-4)";
|
|
53
|
+
readonly "5": "var(--color-background-5)";
|
|
54
|
+
};
|
|
55
|
+
readonly foreground: {
|
|
56
|
+
readonly "1": "var(--color-foreground-1)";
|
|
57
|
+
readonly "2": "var(--color-foreground-2)";
|
|
58
|
+
readonly "3": "var(--color-foreground-3)";
|
|
59
|
+
readonly "4": "var(--color-foreground-4)";
|
|
60
|
+
};
|
|
61
|
+
readonly border: {
|
|
62
|
+
readonly "1": "var(--color-border-1)";
|
|
63
|
+
readonly "2": "var(--color-border-2)";
|
|
64
|
+
};
|
|
65
|
+
readonly dimmed: {
|
|
66
|
+
readonly "1": "var(--color-dimmed-1)";
|
|
67
|
+
};
|
|
68
|
+
};
|
|
69
|
+
};
|
|
70
|
+
declare const semanticVariables: {
|
|
71
|
+
readonly light: {
|
|
72
|
+
readonly color: {
|
|
73
|
+
readonly background: {
|
|
74
|
+
readonly "1": "#ffffff";
|
|
75
|
+
readonly "2": "#f1f3f5";
|
|
76
|
+
readonly "3": "#e9ecef";
|
|
77
|
+
readonly "4": "#dee2e6";
|
|
78
|
+
readonly "5": "#ced4da";
|
|
79
|
+
};
|
|
80
|
+
readonly foreground: {
|
|
81
|
+
readonly "1": "#212529";
|
|
82
|
+
readonly "2": "#343a40";
|
|
83
|
+
readonly "3": "#495057";
|
|
84
|
+
readonly "4": "#868e96";
|
|
85
|
+
};
|
|
86
|
+
readonly border: {
|
|
87
|
+
readonly "1": "#f1f3f5";
|
|
88
|
+
readonly "2": "#e9ecef";
|
|
89
|
+
};
|
|
90
|
+
readonly dimmed: {
|
|
91
|
+
readonly "1": "#f1f3f5";
|
|
92
|
+
};
|
|
93
|
+
};
|
|
94
|
+
};
|
|
95
|
+
readonly dark: {
|
|
96
|
+
readonly color: {
|
|
97
|
+
readonly background: {
|
|
98
|
+
readonly "1": "#000000";
|
|
99
|
+
readonly "2": "#212529";
|
|
100
|
+
readonly "3": "#343a40";
|
|
101
|
+
readonly "4": "#495057";
|
|
102
|
+
readonly "5": "#868e96";
|
|
103
|
+
};
|
|
104
|
+
readonly foreground: {
|
|
105
|
+
readonly "1": "#f1f3f5";
|
|
106
|
+
readonly "2": "#e9ecef";
|
|
107
|
+
readonly "3": "#dee2e6";
|
|
108
|
+
readonly "4": "#ced4da";
|
|
109
|
+
};
|
|
110
|
+
readonly border: {
|
|
111
|
+
readonly "1": "#495057";
|
|
112
|
+
readonly "2": "#868e96";
|
|
113
|
+
};
|
|
114
|
+
readonly dimmed: {
|
|
115
|
+
readonly "1": "#495057";
|
|
116
|
+
};
|
|
117
|
+
};
|
|
118
|
+
};
|
|
119
|
+
};
|
|
120
|
+
//# sourceMappingURL=tokens.d.ts.map
|
|
121
|
+
//#endregion
|
|
122
|
+
//#region src/contexts/ColorSchemeProvider.d.ts
|
|
123
|
+
type ColorScheme = 'light' | 'dark' | 'userPreference';
|
|
124
|
+
interface Theme extends DarkColorDesignTokens, LightColorDesignTokens {
|
|
125
|
+
name: 'lightMode' | 'darkMode';
|
|
126
|
+
}
|
|
127
|
+
declare const lightModeTheme: Theme;
|
|
128
|
+
declare const darkModeTheme: Theme;
|
|
129
|
+
declare const generateCssVar: (themeName: Theme["name"]) => string;
|
|
130
|
+
declare const themeVariables: Record<"color-background-1" | "color-background-2" | "color-background-3" | "color-background-4" | "color-background-5" | "color-foreground-1" | "color-foreground-2" | "color-foreground-3" | "color-foreground-4" | "color-border-1" | "color-border-2" | "color-dimmed-1", string>;
|
|
131
|
+
declare const themeToStyles: (theme: Theme) => string;
|
|
132
|
+
type ThemeContextValue = {
|
|
133
|
+
theme: Theme;
|
|
134
|
+
setTheme: (theme: ColorScheme) => void;
|
|
135
|
+
};
|
|
136
|
+
declare const ColorSchemeProvider: ({
|
|
137
|
+
children,
|
|
138
|
+
colorScheme,
|
|
139
|
+
id
|
|
140
|
+
}: PropsWithChildren<{
|
|
141
|
+
colorScheme: ColorScheme;
|
|
142
|
+
id?: string;
|
|
143
|
+
}>) => react0$1.JSX.Element;
|
|
144
|
+
declare const useColorScheme: () => ThemeContextValue;
|
|
145
|
+
//# sourceMappingURL=ColorSchemeProvider.d.ts.map
|
|
146
|
+
//#endregion
|
|
147
|
+
//#region src/GlobalStyle.d.ts
|
|
148
|
+
type Props$8 = {
|
|
149
|
+
themeStorageItem?: string;
|
|
150
|
+
};
|
|
151
|
+
declare function GlobalStyle({
|
|
152
|
+
themeStorageItem
|
|
153
|
+
}: Props$8): react0.JSX.Element;
|
|
154
|
+
//#endregion
|
|
155
|
+
//#region src/base/button/button.types.d.ts
|
|
156
|
+
type ButtonTheme = 'transparent' | 'transparentDarkGray' | 'white' | 'pink' | 'indigo' | 'border';
|
|
157
|
+
//# sourceMappingURL=button.types.d.ts.map
|
|
158
|
+
//#endregion
|
|
159
|
+
//#region src/base/button/button.d.ts
|
|
160
|
+
declare const Button: react44.ForwardRefExoticComponent<{
|
|
161
|
+
theme?: ButtonTheme;
|
|
162
|
+
variant?: ButtonTheme;
|
|
163
|
+
size?: "lg" | "md" | "sm";
|
|
164
|
+
leftIcon?: keyof typeof icons | react44.ReactElement;
|
|
165
|
+
rightIcon?: keyof typeof icons | react44.ReactElement;
|
|
166
|
+
textWeight?: "light" | "medium" | "bold";
|
|
167
|
+
} & {
|
|
168
|
+
children?: react44.ReactNode | undefined;
|
|
169
|
+
} & ButtonHTMLAttributes<HTMLButtonElement> & react44.RefAttributes<HTMLButtonElement>>;
|
|
170
|
+
//# sourceMappingURL=button.d.ts.map
|
|
171
|
+
//#endregion
|
|
172
|
+
//#region src/base/checkbox/checkbox.d.ts
|
|
173
|
+
declare const Checkbox: react68.MemoExoticComponent<react68.ForwardRefExoticComponent<Omit<InputHTMLAttributes<HTMLInputElement>, "size" | "formAction"> & {
|
|
174
|
+
size?: "lg" | "md" | "sm";
|
|
175
|
+
labelText?: string;
|
|
176
|
+
} & react68.RefAttributes<HTMLInputElement>>>;
|
|
177
|
+
//# sourceMappingURL=checkbox.d.ts.map
|
|
178
|
+
//#endregion
|
|
179
|
+
//#region src/base/icon-button/icon-button.d.ts
|
|
180
|
+
declare const IconButton: react94.ForwardRefExoticComponent<react94.ButtonHTMLAttributes<HTMLButtonElement> & react94.RefAttributes<HTMLButtonElement>>;
|
|
181
|
+
//# sourceMappingURL=icon-button.d.ts.map
|
|
182
|
+
//#endregion
|
|
183
|
+
//#region src/base/icon-button/icon-button.types.d.ts
|
|
184
|
+
type IconButtonProps = {} & ButtonHTMLAttributes<HTMLButtonElement>;
|
|
185
|
+
//# sourceMappingURL=icon-button.types.d.ts.map
|
|
186
|
+
//#endregion
|
|
187
|
+
//#region src/base/modal/modal.d.ts
|
|
188
|
+
declare const Modal: ({
|
|
189
|
+
children,
|
|
190
|
+
visible,
|
|
191
|
+
onClose,
|
|
192
|
+
zIndex
|
|
193
|
+
}: PropsWithChildren<{
|
|
194
|
+
visible: boolean;
|
|
195
|
+
onClose: () => void;
|
|
196
|
+
zIndex?: number;
|
|
197
|
+
}>) => react84.JSX.Element;
|
|
198
|
+
//# sourceMappingURL=modal.d.ts.map
|
|
199
|
+
//#endregion
|
|
200
|
+
//#region src/base/spinner/spinner.types.d.ts
|
|
201
|
+
type SpinnerVariant = 'page-overlay';
|
|
202
|
+
//# sourceMappingURL=spinner.types.d.ts.map
|
|
203
|
+
//#endregion
|
|
204
|
+
//#region src/base/spinner/spinner.d.ts
|
|
205
|
+
type Props$7 = {
|
|
206
|
+
variant?: SpinnerVariant;
|
|
207
|
+
className?: string;
|
|
208
|
+
};
|
|
209
|
+
declare const Spinner: ({
|
|
210
|
+
variant,
|
|
211
|
+
className
|
|
212
|
+
}: Props$7) => react61.JSX.Element;
|
|
213
|
+
//#endregion
|
|
214
|
+
//#region src/base/text/text.d.ts
|
|
215
|
+
type TextProps = PropsWithChildren<ComponentPropsWithRef<'span'> & {
|
|
216
|
+
style?: CSSProperties;
|
|
217
|
+
as?: ElementType<any, keyof JSX.IntrinsicElements>;
|
|
218
|
+
numberOfLines?: number;
|
|
219
|
+
}>;
|
|
220
|
+
declare const Text: react88.ForwardRefExoticComponent<Omit<TextProps, "ref"> & react88.RefAttributes<HTMLSpanElement>>;
|
|
221
|
+
//#endregion
|
|
222
|
+
//#region src/base/text-area/text-area.types.d.ts
|
|
223
|
+
type TextAreaProps = DetailedHTMLProps<TextareaHTMLAttributes<HTMLTextAreaElement>, HTMLTextAreaElement> & {
|
|
224
|
+
label?: string;
|
|
225
|
+
labelStyle?: CSSProperties;
|
|
226
|
+
noResize?: boolean;
|
|
227
|
+
isError?: boolean;
|
|
228
|
+
};
|
|
229
|
+
//# sourceMappingURL=text-area.types.d.ts.map
|
|
230
|
+
//#endregion
|
|
231
|
+
//#region src/base/text-area/text-area.d.ts
|
|
232
|
+
declare const TextArea: react63.ForwardRefExoticComponent<Omit<TextAreaProps, "ref"> & react63.RefAttributes<HTMLTextAreaElement>>;
|
|
233
|
+
//# sourceMappingURL=text-area.d.ts.map
|
|
234
|
+
//#endregion
|
|
235
|
+
//#region src/base/text-input/text-input.types.d.ts
|
|
236
|
+
type TextInputProps = InputHTMLAttributes<HTMLInputElement> & {
|
|
237
|
+
label?: string;
|
|
238
|
+
labelStyle?: CSSProperties;
|
|
239
|
+
isError?: boolean;
|
|
240
|
+
required?: boolean;
|
|
241
|
+
left?: ReactNode;
|
|
242
|
+
right?: ReactNode;
|
|
243
|
+
};
|
|
244
|
+
interface TextInputRef {
|
|
245
|
+
focus: () => void;
|
|
246
|
+
blur: () => void;
|
|
247
|
+
}
|
|
248
|
+
//# sourceMappingURL=text-input.types.d.ts.map
|
|
249
|
+
//#endregion
|
|
250
|
+
//#region src/base/text-input/text-input.d.ts
|
|
251
|
+
declare const TextInput: react53.ForwardRefExoticComponent<react53.InputHTMLAttributes<HTMLInputElement> & {
|
|
252
|
+
label?: string;
|
|
253
|
+
labelStyle?: react53.CSSProperties;
|
|
254
|
+
isError?: boolean;
|
|
255
|
+
required?: boolean;
|
|
256
|
+
left?: react53.ReactNode;
|
|
257
|
+
right?: react53.ReactNode;
|
|
258
|
+
} & react53.RefAttributes<TextInputRef>>;
|
|
259
|
+
//# sourceMappingURL=text-input.d.ts.map
|
|
260
|
+
//#endregion
|
|
261
|
+
//#region src/base/toast/toast.types.d.ts
|
|
262
|
+
type ToastProps = {
|
|
263
|
+
message: string;
|
|
264
|
+
zIndex?: number;
|
|
265
|
+
onClose: () => void;
|
|
266
|
+
};
|
|
267
|
+
//# sourceMappingURL=toast.types.d.ts.map
|
|
268
|
+
//#endregion
|
|
269
|
+
//#region src/base/toast/toast.d.ts
|
|
270
|
+
/**
|
|
271
|
+
* 사용시, framer-motion의 AnimatePresence 컴포넌트를 사용해야 합니다.
|
|
272
|
+
*/
|
|
273
|
+
declare const Toast: ({
|
|
274
|
+
message,
|
|
275
|
+
zIndex,
|
|
276
|
+
onClose
|
|
277
|
+
}: ToastProps) => react62.JSX.Element;
|
|
278
|
+
//# sourceMappingURL=toast.d.ts.map
|
|
279
|
+
//#endregion
|
|
280
|
+
//#region src/base/switch/switch.d.ts
|
|
281
|
+
interface SwitchProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'onChange'> {
|
|
282
|
+
checked: boolean;
|
|
283
|
+
onChange: (checked: boolean) => void;
|
|
284
|
+
}
|
|
285
|
+
declare const Switch: react51.ForwardRefExoticComponent<SwitchProps & react51.RefAttributes<HTMLButtonElement>>;
|
|
286
|
+
//#endregion
|
|
287
|
+
//#region src/base/badge/badge.d.ts
|
|
288
|
+
type Props$6 = {
|
|
289
|
+
leftIcon?: keyof typeof icons;
|
|
290
|
+
onClick?: () => void;
|
|
291
|
+
isHighlighted?: boolean;
|
|
292
|
+
children?: string | ReactElement;
|
|
293
|
+
};
|
|
294
|
+
declare const Badge: react59.ForwardRefExoticComponent<Props$6 & react59.RefAttributes<HTMLDivElement>>;
|
|
295
|
+
//#endregion
|
|
296
|
+
//#region src/utils/breakpoints.d.ts
|
|
297
|
+
declare const breakpoints: {
|
|
298
|
+
readonly small: 576;
|
|
299
|
+
readonly medium: 768;
|
|
300
|
+
readonly large: 992;
|
|
301
|
+
readonly 'x-large': 1280;
|
|
302
|
+
readonly 'xx-large': 1460;
|
|
303
|
+
};
|
|
304
|
+
//#endregion
|
|
305
|
+
//#region src/utils/media.d.ts
|
|
306
|
+
type BreakpointKey = keyof typeof breakpoints;
|
|
307
|
+
declare const media: Record<BreakpointKey, (styles: SerializedStyles | string) => SerializedStyles>;
|
|
308
|
+
//#endregion
|
|
309
|
+
//#region src/utils/with-id.d.ts
|
|
310
|
+
type WithId<T> = {
|
|
311
|
+
id: string;
|
|
312
|
+
} & T;
|
|
313
|
+
//# sourceMappingURL=with-id.d.ts.map
|
|
314
|
+
//#endregion
|
|
315
|
+
//#region src/extensions/grid-card-item/grid-card-item.d.ts
|
|
316
|
+
type GridCardListItemProps = WithId<{
|
|
317
|
+
thumbnailUrl: string;
|
|
318
|
+
titleText: string;
|
|
319
|
+
subText: string;
|
|
320
|
+
bottomText?: string;
|
|
321
|
+
isSubscribed?: boolean;
|
|
322
|
+
rightBottomSlot?: {
|
|
323
|
+
type: 'subscribe';
|
|
324
|
+
subscribeEventBtn: ReactNode;
|
|
325
|
+
};
|
|
326
|
+
renderThumbnail?: (url: string) => ReactNode;
|
|
327
|
+
href?: string;
|
|
328
|
+
onClick?: MouseEventHandler<HTMLDivElement | HTMLAnchorElement>;
|
|
329
|
+
}>;
|
|
330
|
+
//#endregion
|
|
331
|
+
//#region src/extensions/error-ui/index.d.ts
|
|
332
|
+
declare const ErrorUI: {
|
|
333
|
+
NetworkError: react23.MemoExoticComponent<({
|
|
334
|
+
onClickRetry
|
|
335
|
+
}: {
|
|
336
|
+
onClickRetry: () => void;
|
|
337
|
+
}) => react23.JSX.Element>;
|
|
338
|
+
UnknownError: react23.MemoExoticComponent<({
|
|
339
|
+
onClickRetry
|
|
340
|
+
}: {
|
|
341
|
+
onClickRetry: () => void;
|
|
342
|
+
}) => react23.JSX.Element>;
|
|
343
|
+
};
|
|
344
|
+
//# sourceMappingURL=index.d.ts.map
|
|
345
|
+
//#endregion
|
|
346
|
+
//#region src/extensions/app-logo/app-logo.d.ts
|
|
347
|
+
type LogoTheme = 'christmas' | 'transparent' | 'white-background';
|
|
348
|
+
interface Props$5 {
|
|
349
|
+
type?: 'round' | 'square';
|
|
350
|
+
logoTheme: LogoTheme;
|
|
351
|
+
}
|
|
352
|
+
declare const AppLogo: react82.MemoExoticComponent<({
|
|
353
|
+
type,
|
|
354
|
+
logoTheme,
|
|
355
|
+
...otherProps
|
|
356
|
+
}: Props$5) => react82.JSX.Element>;
|
|
357
|
+
//#endregion
|
|
358
|
+
//#region src/extensions/app-store-button/app-store-button.d.ts
|
|
359
|
+
type Props$4 = {
|
|
360
|
+
store: 'app-store' | 'google-play';
|
|
361
|
+
};
|
|
362
|
+
declare const AppStoreButton: react90.MemoExoticComponent<({
|
|
363
|
+
store
|
|
364
|
+
}: Props$4) => react90.JSX.Element>;
|
|
365
|
+
//#endregion
|
|
366
|
+
//#region src/extensions/brand-icon/brand-icon.d.ts
|
|
367
|
+
interface Props$3 extends SVGProps<SVGSVGElement> {
|
|
368
|
+
brand: 'apple' | 'google' | 'android';
|
|
369
|
+
ref?: Ref<SVGSVGElement>;
|
|
370
|
+
}
|
|
371
|
+
declare const BrandIcon: react49.MemoExoticComponent<({
|
|
372
|
+
brand,
|
|
373
|
+
...svgProps
|
|
374
|
+
}: Props$3) => react49.JSX.Element>;
|
|
375
|
+
//#endregion
|
|
376
|
+
//#region src/extensions/sns-icon/sns-icon.d.ts
|
|
377
|
+
interface Props$2 extends React.SVGProps<SVGSVGElement> {
|
|
378
|
+
social: 'instagram' | 'x' | 'facebook' | 'youtube';
|
|
379
|
+
ref?: Ref<SVGSVGElement>;
|
|
380
|
+
}
|
|
381
|
+
declare const SNSIcon: react72.MemoExoticComponent<({
|
|
382
|
+
social,
|
|
383
|
+
...svgProps
|
|
384
|
+
}: Props$2) => react72.JSX.Element>;
|
|
385
|
+
//#endregion
|
|
386
|
+
//#region src/extensions/dropdown/dropdown.types.d.ts
|
|
387
|
+
type DropdownMenuItemRef = {
|
|
388
|
+
close: () => void;
|
|
389
|
+
};
|
|
390
|
+
//# sourceMappingURL=dropdown.types.d.ts.map
|
|
391
|
+
//#endregion
|
|
392
|
+
//#region src/extensions/dropdown/dropdown.d.ts
|
|
393
|
+
type Position = {
|
|
394
|
+
top: number;
|
|
395
|
+
left?: number;
|
|
396
|
+
right?: number;
|
|
397
|
+
};
|
|
398
|
+
type DropdownCoreBaseProps = {
|
|
399
|
+
isOpen: boolean;
|
|
400
|
+
onClose: () => void;
|
|
401
|
+
position?: Position;
|
|
402
|
+
className?: string;
|
|
403
|
+
style?: CSSProperties;
|
|
404
|
+
isLoading?: boolean;
|
|
405
|
+
backdrop?: boolean;
|
|
406
|
+
preventScroll?: boolean;
|
|
407
|
+
animate?: boolean;
|
|
408
|
+
triggerRef?: RefObject<HTMLElement>;
|
|
409
|
+
zIndex?: number;
|
|
410
|
+
};
|
|
411
|
+
type DropdownCoreProps = PropsWithChildren<({
|
|
412
|
+
edge: 'left';
|
|
413
|
+
} & DropdownCoreBaseProps) | ({
|
|
414
|
+
edge: 'right';
|
|
415
|
+
} & DropdownCoreBaseProps)>;
|
|
416
|
+
//#endregion
|
|
417
|
+
//#region src/extensions/dropdown/index.d.ts
|
|
418
|
+
declare const Dropdown: {
|
|
419
|
+
ResultItem: _emotion_styled1.StyledComponent<{
|
|
420
|
+
theme?: _emotion_react1.Theme;
|
|
421
|
+
as?: React.ElementType;
|
|
422
|
+
} & {
|
|
423
|
+
$isActive?: boolean;
|
|
424
|
+
}, react27.DetailedHTMLProps<react27.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
425
|
+
MenuItem: <DataItemT>(props: {
|
|
426
|
+
isCurrent: boolean;
|
|
427
|
+
icon?: react27.ReactNode;
|
|
428
|
+
title: react27.ReactNode;
|
|
429
|
+
dropdownData: DataItemT[];
|
|
430
|
+
renderDropdownItem: (item: DataItemT) => react27.ReactNode;
|
|
431
|
+
backdrop?: boolean;
|
|
432
|
+
absolute?: boolean;
|
|
433
|
+
isLoading?: boolean;
|
|
434
|
+
onClose?: () => void;
|
|
435
|
+
onMouseEnter?: (e: react27.MouseEvent<HTMLDivElement>, params: {
|
|
436
|
+
openDropdown: () => void;
|
|
437
|
+
}) => void;
|
|
438
|
+
onMouseLeave?: (e: react27.MouseEvent<HTMLDivElement>, params: {
|
|
439
|
+
closeDropdown: () => void;
|
|
440
|
+
}) => void;
|
|
441
|
+
onClick?: (e: react27.MouseEvent<HTMLDivElement>, params: {
|
|
442
|
+
openDropdown: () => void;
|
|
443
|
+
}) => void;
|
|
444
|
+
} & {
|
|
445
|
+
ref?: react27.Ref<DropdownMenuItemRef>;
|
|
446
|
+
}) => JSX.Element;
|
|
447
|
+
Core: react27.MemoExoticComponent<react27.ForwardRefExoticComponent<DropdownCoreProps & react27.RefAttributes<DropdownMenuItemRef>>>;
|
|
448
|
+
Trigger: ({
|
|
449
|
+
renderTriggerNode,
|
|
450
|
+
triggerRef,
|
|
451
|
+
children,
|
|
452
|
+
backdrop,
|
|
453
|
+
zIndex,
|
|
454
|
+
edge
|
|
455
|
+
}: react27.PropsWithChildren<{
|
|
456
|
+
renderTriggerNode: ({
|
|
457
|
+
openDropdown
|
|
458
|
+
}: {
|
|
459
|
+
openDropdown: () => void;
|
|
460
|
+
}) => react27.ReactNode;
|
|
461
|
+
triggerRef: DropdownCoreProps["triggerRef"];
|
|
462
|
+
backdrop: DropdownCoreProps["backdrop"];
|
|
463
|
+
zIndex: DropdownCoreProps["zIndex"];
|
|
464
|
+
edge: DropdownCoreProps["edge"];
|
|
465
|
+
}>) => react27.JSX.Element;
|
|
466
|
+
};
|
|
467
|
+
//#endregion
|
|
468
|
+
//#region src/extensions/menu-item/menu-item.d.ts
|
|
469
|
+
declare const MenuItem: react85.ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & MotionProps & {
|
|
470
|
+
isLoading?: boolean;
|
|
471
|
+
isCurrent?: boolean;
|
|
472
|
+
icon?: React.ReactNode;
|
|
473
|
+
} & {
|
|
474
|
+
children?: react85.ReactNode | undefined;
|
|
475
|
+
} & react85.RefAttributes<HTMLDivElement>>;
|
|
476
|
+
//# sourceMappingURL=menu-item.d.ts.map
|
|
477
|
+
//#endregion
|
|
478
|
+
//#region src/extensions/app-header/app-header.types.d.ts
|
|
479
|
+
type AnimatedHeaderAnimation = 'show' | 'hide';
|
|
480
|
+
//# sourceMappingURL=app-header.types.d.ts.map
|
|
481
|
+
//#endregion
|
|
482
|
+
//#region src/extensions/app-header/app-header.d.ts
|
|
483
|
+
type AnimatedHeaderProps = PropsWithChildren<{
|
|
484
|
+
animation: AnimatedHeaderAnimation;
|
|
485
|
+
className?: string;
|
|
486
|
+
zIndex?: number;
|
|
487
|
+
}>;
|
|
488
|
+
//#endregion
|
|
489
|
+
//#region src/extensions/app-header/app-header.hooks.d.ts
|
|
490
|
+
declare function useHeaderScrollAnimation(): {
|
|
491
|
+
headerAnimation: AnimatedHeaderAnimation;
|
|
492
|
+
};
|
|
493
|
+
declare function useIsMobileMenuOpen(): {
|
|
494
|
+
isMobileMenuOpen: boolean;
|
|
495
|
+
openMobileMenu: () => void;
|
|
496
|
+
closeMobileMenu: () => void;
|
|
497
|
+
};
|
|
498
|
+
//#endregion
|
|
499
|
+
//#region src/extensions/app-header/index.d.ts
|
|
500
|
+
declare const AppHeader: {
|
|
501
|
+
useHeaderScrollAnimation: typeof useHeaderScrollAnimation;
|
|
502
|
+
useIsMobileMenuOpen: typeof useIsMobileMenuOpen;
|
|
503
|
+
AnimatedHeader: react42.MemoExoticComponent<({
|
|
504
|
+
animation,
|
|
505
|
+
children,
|
|
506
|
+
className,
|
|
507
|
+
zIndex
|
|
508
|
+
}: AnimatedHeaderProps) => react42.JSX.Element>;
|
|
509
|
+
};
|
|
510
|
+
//# sourceMappingURL=index.d.ts.map
|
|
511
|
+
//#endregion
|
|
512
|
+
//#region src/extensions/color-scheme-toggle/color-scheme-toggle.d.ts
|
|
513
|
+
type Props$1 = {
|
|
514
|
+
onToggle?: (params: {
|
|
515
|
+
setTheme: ReturnType<typeof useColorScheme>['setTheme'];
|
|
516
|
+
}) => void;
|
|
517
|
+
};
|
|
518
|
+
declare const ColorSchemeToggle: react92.MemoExoticComponent<({
|
|
519
|
+
onToggle
|
|
520
|
+
}: Props$1) => react92.JSX.Element>;
|
|
521
|
+
//#endregion
|
|
522
|
+
//#region src/extensions/full-screen-modal/full-screen-modal.d.ts
|
|
523
|
+
type Props = PropsWithChildren<{
|
|
524
|
+
visible: boolean;
|
|
525
|
+
onClose: () => void;
|
|
526
|
+
zIndex?: number;
|
|
527
|
+
}>;
|
|
528
|
+
declare const FullScreenModal: react80.MemoExoticComponent<({
|
|
529
|
+
visible,
|
|
530
|
+
onClose,
|
|
531
|
+
children,
|
|
532
|
+
zIndex
|
|
533
|
+
}: Props) => react80.JSX.Element>;
|
|
534
|
+
//#endregion
|
|
535
|
+
//#region src/extensions/accordion/accordion.d.ts
|
|
536
|
+
type AccordionProps<ItemT> = {
|
|
537
|
+
data: ItemT[];
|
|
538
|
+
renderTrigger: (item: ItemT) => ReactNode;
|
|
539
|
+
renderExpanded: ({
|
|
540
|
+
selectedItem
|
|
541
|
+
}: {
|
|
542
|
+
selectedItem: ItemT;
|
|
543
|
+
}) => ReactNode;
|
|
544
|
+
customized?: ReactNode;
|
|
545
|
+
};
|
|
546
|
+
declare const Accordion: <ItemT extends {
|
|
547
|
+
accordionKey: string;
|
|
548
|
+
}>({
|
|
549
|
+
data,
|
|
550
|
+
renderTrigger,
|
|
551
|
+
renderExpanded,
|
|
552
|
+
customized
|
|
553
|
+
}: AccordionProps<ItemT>) => react71.JSX.Element;
|
|
554
|
+
//# sourceMappingURL=accordion.d.ts.map
|
|
555
|
+
//#endregion
|
|
556
|
+
//#region src/extensions/index.d.ts
|
|
557
|
+
declare const GridCardList: {
|
|
558
|
+
List: react1.MemoExoticComponent<({
|
|
559
|
+
items,
|
|
560
|
+
renderItem,
|
|
561
|
+
onLoadMore,
|
|
562
|
+
headerText,
|
|
563
|
+
hasNextPage,
|
|
564
|
+
isEmpty,
|
|
565
|
+
emptyComponent,
|
|
566
|
+
navigationComponent
|
|
567
|
+
}: {
|
|
568
|
+
items: GridCardListItemProps[];
|
|
569
|
+
renderItem: (item: GridCardListItemProps) => react1.ReactNode;
|
|
570
|
+
onLoadMore: () => void;
|
|
571
|
+
headerText?: string;
|
|
572
|
+
hasNextPage?: boolean;
|
|
573
|
+
isEmpty?: boolean;
|
|
574
|
+
emptyComponent?: react1.ReactNode;
|
|
575
|
+
navigationComponent?: react1.ReactNode;
|
|
576
|
+
}) => react1.JSX.Element>;
|
|
577
|
+
MasonryList: react1.MemoExoticComponent<({
|
|
578
|
+
items,
|
|
579
|
+
renderItem,
|
|
580
|
+
onLoadMore,
|
|
581
|
+
headerText,
|
|
582
|
+
hasNextPage,
|
|
583
|
+
isEmpty,
|
|
584
|
+
emptyComponent,
|
|
585
|
+
navigationComponent
|
|
586
|
+
}: {
|
|
587
|
+
items: GridCardListItemProps[];
|
|
588
|
+
renderItem: (item: GridCardListItemProps) => react1.ReactNode;
|
|
589
|
+
onLoadMore: () => void;
|
|
590
|
+
headerText?: string;
|
|
591
|
+
hasNextPage?: boolean;
|
|
592
|
+
isEmpty?: boolean;
|
|
593
|
+
emptyComponent?: react1.ReactNode;
|
|
594
|
+
navigationComponent?: react1.ReactNode;
|
|
595
|
+
}) => react1.JSX.Element>;
|
|
596
|
+
Item: react1.MemoExoticComponent<({
|
|
597
|
+
thumbnailUrl,
|
|
598
|
+
titleText,
|
|
599
|
+
subText,
|
|
600
|
+
bottomText,
|
|
601
|
+
rightBottomSlot,
|
|
602
|
+
renderThumbnail,
|
|
603
|
+
isSubscribed,
|
|
604
|
+
onClick
|
|
605
|
+
}: GridCardListItemProps) => react1.JSX.Element>;
|
|
606
|
+
MasonryItem: react1.MemoExoticComponent<({
|
|
607
|
+
isSubscribed,
|
|
608
|
+
thumbnailUrl,
|
|
609
|
+
titleText,
|
|
610
|
+
subText,
|
|
611
|
+
bottomText,
|
|
612
|
+
rightBottomSlot,
|
|
613
|
+
renderThumbnail
|
|
614
|
+
}: GridCardListItemProps) => react1.JSX.Element>;
|
|
615
|
+
LoadMore: react1.MemoExoticComponent<({
|
|
616
|
+
onLoadMore
|
|
617
|
+
}: {
|
|
618
|
+
onLoadMore: () => void;
|
|
619
|
+
}) => react1.JSX.Element>;
|
|
620
|
+
Empty: react1.MemoExoticComponent<({
|
|
621
|
+
text
|
|
622
|
+
}: {
|
|
623
|
+
text: string;
|
|
624
|
+
}) => react1.JSX.Element>;
|
|
625
|
+
ImageEmpty: _emotion_styled0.StyledComponent<{
|
|
626
|
+
theme?: _emotion_react0.Theme;
|
|
627
|
+
as?: React.ElementType;
|
|
628
|
+
}, react1.DetailedHTMLProps<react1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
629
|
+
Image: _emotion_styled0.StyledComponent<{
|
|
630
|
+
theme?: _emotion_react0.Theme;
|
|
631
|
+
as?: React.ElementType;
|
|
632
|
+
}, react1.DetailedHTMLProps<react1.ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, {}>;
|
|
633
|
+
};
|
|
634
|
+
//#endregion
|
|
635
|
+
//#region src/constants.d.ts
|
|
636
|
+
declare const WEB_APP_HEADER_HEIGHT = "100px";
|
|
637
|
+
//# sourceMappingURL=constants.d.ts.map
|
|
638
|
+
|
|
639
|
+
//#endregion
|
|
640
|
+
export { Accordion, AccordionProps, AppHeader, AppLogo, AppStoreButton, Badge, BrandIcon, Button, Checkbox, ColorDesignTokens, ColorScheme, ColorSchemeProvider, ColorSchemeToggle, DarkColorDesignTokens, Dropdown, type DropdownCoreProps, type DropdownMenuItemRef, ErrorUI, FullScreenModal, GlobalStyle, GridCardList, type GridCardListItemProps, IconButton, IconButtonProps, LightColorDesignTokens, MenuItem, Modal, SNSIcon, Spinner, SpinnerVariant, Switch, Text, TextArea, TextAreaProps, TextInput, TextInputProps, TextInputRef, Theme, Toast, ToastProps, WEB_APP_HEADER_HEIGHT, breakpoints, colors, darkModeTheme, generateCssVar, lightModeTheme, media, semanticVariables, semantics, themeToStyles, themeVariables, useColorScheme };
|
|
641
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","names":[],"sources":["../src/tokens/tokens.types.ts","../src/tokens/tokens.ts","../src/contexts/ColorSchemeProvider.tsx","../src/GlobalStyle.tsx","../src/base/button/button.types.ts","../src/base/button/button.tsx","../src/base/checkbox/checkbox.tsx","../src/base/icon-button/icon-button.tsx","../src/base/icon-button/icon-button.types.ts","../src/base/modal/modal.tsx","../src/base/spinner/spinner.types.ts","../src/base/spinner/spinner.tsx","../src/base/text/text.tsx","../src/base/text-area/text-area.types.ts","../src/base/text-area/text-area.tsx","../src/base/text-input/text-input.types.ts","../src/base/text-input/text-input.tsx","../src/base/toast/toast.types.ts","../src/base/toast/toast.tsx","../src/base/switch/switch.tsx","../src/base/badge/badge.tsx","../src/utils/breakpoints.ts","../src/utils/media.ts","../src/utils/with-id.ts","../src/extensions/grid-card-item/grid-card-item.tsx","../src/extensions/error-ui/index.ts","../src/extensions/app-logo/app-logo.tsx","../src/extensions/app-store-button/app-store-button.tsx","../src/extensions/brand-icon/brand-icon.tsx","../src/extensions/sns-icon/sns-icon.tsx","../src/extensions/dropdown/dropdown.types.ts","../src/extensions/dropdown/dropdown.tsx","../src/extensions/dropdown/index.ts","../src/extensions/menu-item/menu-item.tsx","../src/extensions/app-header/app-header.types.ts","../src/extensions/app-header/app-header.tsx","../src/extensions/app-header/app-header.hooks.ts","../src/extensions/app-header/index.ts","../src/extensions/color-scheme-toggle/color-scheme-toggle.tsx","../src/extensions/full-screen-modal/full-screen-modal.tsx","../src/extensions/accordion/accordion.tsx","../src/extensions/index.ts","../src/constants.ts"],"sourcesContent":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAIY,iBAAA,UAA2B;KAC3B,qBAAA,UAA+B;KAC/B,sBAAA,UAAgC;;;;cCD/B,QAAQ;cACR;;;;;;;;;;;;;;;;;;;;;;;;cACA;;;;;;;;;;;;QDHD,SAAiB,GAAA,EAAA,SAAU;QAC3B,SAAA,GAAqB,EAAA,SAAU;QAC/B,SAAA,GAAA,EAAsB,SAAA;;;;QCDwB,SAArC,GAAA,EAAA,SAAA;MACR,CAAA;MACA,SAAA,MAA8C,E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