@elicecontents/content-ui 1.1.2 → 1.1.3-rc.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/dist/AIAvatar-NYAGMJJ3.png +0 -0
- package/dist/index.cjs +12803 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.js +12748 -0
- package/dist/index.js.map +1 -0
- package/dist/types/breakpoints/breakpoints.d.ts +1 -1
- package/dist/types/components/AI-feedback/AIFeedback.d.ts +2 -2
- package/dist/types/components/AIDTTypography/AIDTTypography.d.ts +15 -4
- package/dist/types/components/Modal/Modal.d.ts +1 -1
- package/dist/types/components/badge/Badge.d.ts +1 -1
- package/dist/types/components/base-input/BaseInput.d.ts +1 -1
- package/dist/types/components/button/Button.d.ts +2 -2
- package/dist/types/components/chat/Chat.d.ts +14 -4
- package/dist/types/components/chat/TypingIndicator.d.ts +1 -1
- package/dist/types/components/dialog/Dialog.d.ts +2 -2
- package/dist/types/components/dotted-pagination/DottedPagination.d.ts +1 -0
- package/dist/types/components/fluid/EliceBox.d.ts +3 -0
- package/dist/types/components/fluid/EliceFluidLayout.d.ts +46 -0
- package/dist/types/components/fluid/EliceStack.d.ts +3 -0
- package/dist/types/components/fluid/EliceTypography.d.ts +2 -0
- package/dist/types/components/fluid/constants.d.ts +9 -0
- package/dist/types/components/fluid/index.d.ts +7 -0
- package/dist/types/components/fluid/types.d.ts +15 -0
- package/dist/types/components/header-title/HeaderTitle.d.ts +1 -1
- package/dist/types/components/html-viewer/HtmlViewer.d.ts +9 -0
- package/dist/types/components/html-viewer/HtmlViewerContent.d.ts +6 -0
- package/dist/types/components/html-viewer/HtmlViewerContext.d.ts +13 -0
- package/dist/types/components/html-viewer/HtmlViewerHighlightLayer.d.ts +8 -0
- package/dist/types/components/html-viewer/HtmlViewerMemoMenu.d.ts +8 -0
- package/dist/types/components/html-viewer/HtmlViewerToolbar.d.ts +1 -0
- package/dist/types/components/html-viewer/HtmlViewerTypes.d.ts +106 -0
- package/dist/types/components/html-viewer/hooks/useAnchorResolver.d.ts +13 -0
- package/dist/types/components/html-viewer/hooks/useAnnotationStorage.d.ts +9 -0
- package/dist/types/components/html-viewer/hooks/useGestureStateMachine.d.ts +16 -0
- package/dist/types/components/html-viewer/hooks/useHighlightRects.d.ts +2 -0
- package/dist/types/components/html-viewer/hooks/useIntersectionVisibility.d.ts +8 -0
- package/dist/types/components/html-viewer/index.d.ts +2 -0
- package/dist/types/components/icon-button/IconButton.d.ts +2 -2
- package/dist/types/components/index.d.ts +2 -0
- package/dist/types/components/layout/Footer/LayoutFooterPaging.d.ts +2 -2
- package/dist/types/components/layout/Footer/LayoutFooterSubmit.d.ts +2 -1
- package/dist/types/components/layout/Header/LayoutHeaderSubTitle.d.ts +2 -2
- package/dist/types/components/layout/Header/LayoutHeaderTitle.d.ts +2 -2
- package/dist/types/components/layout/Layout.d.ts +9 -28
- package/dist/types/components/layout/index.d.ts +10 -16
- package/dist/types/components/pagination-button/PaginationButton.d.ts +1 -1
- package/dist/types/components/recorder/Recorder.d.ts +3 -3
- package/dist/types/components/recorder-chat/RecorderChat.d.ts +1 -1
- package/dist/types/components/recorder-chat/TypingIndicator.d.ts +1 -1
- package/dist/types/components/recorder-step/RecorderContext.d.ts +2 -1
- package/dist/types/components/recorder-step/RecorderStep.d.ts +3 -3
- package/dist/types/components/selection/Selection.d.ts +2 -2
- package/dist/types/components/sound-visualizer/SoundVisualizer.d.ts +1 -1
- package/dist/types/components/subtitle-button/SubtitleButton.d.ts +2 -2
- package/dist/types/components/table/ColInfoTable.d.ts +1 -1
- package/dist/types/components/table/RowInfoTable.d.ts +1 -1
- package/dist/types/components/table/Table.d.ts +1 -1
- package/dist/types/components/textarea/Textarea.d.ts +9 -3
- package/dist/types/components/tooltip/Tooltip.d.ts +7 -3
- package/dist/types/components/video/VideoPlayer.d.ts +1 -1
- package/dist/types/components/video/VideoV2.d.ts +3 -1
- package/dist/types/components/video/VideoV3.d.ts +37 -0
- package/dist/types/components/video/index.d.ts +2 -0
- package/dist/types/hooks/useAIDTMediaQuery.d.ts +5 -1
- package/dist/types/icons/MoreColumn.d.ts +1 -1
- package/dist/types/icons/QuestionBubble.d.ts +1 -1
- package/dist/types/icons/ReadyRecord.d.ts +1 -1
- package/dist/types/icons/RecordPause.d.ts +1 -1
- package/dist/types/icons/RecordPlay.d.ts +1 -1
- package/dist/types/icons/Recording.d.ts +1 -1
- package/dist/types/icons/ScrollMoreIcon.d.ts +1 -1
- package/dist/types/icons/SearchIcon.d.ts +1 -1
- package/dist/types/index.d.ts +2 -0
- package/dist/types/palettes/_typing.d.ts +1 -1
- package/dist/types/palettes/eliceDefault.d.ts +1 -1
- package/dist/types/palettes/type1.d.ts +1 -1
- package/dist/types/palettes/type2.d.ts +1 -1
- package/dist/types/theme/AIDTTheme.d.ts +1 -1
- package/dist/types/theme/_base.d.ts +1 -1
- package/dist/types/theme/createAIDTTheme.d.ts +2 -3
- package/dist/types/theme/createEliceThemeOverride.d.ts +5 -3
- package/dist/types/theme/transitions.d.ts +1 -1
- package/dist/types/tokens/breakpoints/breakpoints.d.ts +2 -2
- package/dist/types/tokens/colors/_typing.d.ts +1 -1
- package/dist/types/tokens/colors/bluepurple.d.ts +1 -1
- package/dist/types/tokens/colors/bluesky.d.ts +1 -1
- package/dist/types/tokens/colors/common.d.ts +1 -1
- package/dist/types/tokens/colors/gray.d.ts +1 -1
- package/dist/types/tokens/colors/green.d.ts +1 -1
- package/dist/types/tokens/colors/mint.d.ts +1 -1
- package/dist/types/tokens/colors/orange.d.ts +1 -1
- package/dist/types/tokens/colors/pink.d.ts +1 -1
- package/dist/types/tokens/colors/purple.d.ts +1 -1
- package/dist/types/tokens/colors/yellow.d.ts +1 -1
- package/dist/types/types/theme-augmentation.d.ts +14 -1
- package/dist/types/types/theme.types.d.ts +4 -2
- package/dist/types/typography/TypographyType.d.ts +798 -42
- package/dist/types/typography/index.d.ts +1 -0
- package/dist/types/typography/typography.d.ts +393 -45
- package/dist/types/typography/typographyFontFamily.d.ts +1 -0
- package/package.json +21 -17
- package/dist/cjs/index.js +0 -797
- package/dist/cjs/index.js.map +0 -1
- package/dist/es/index.js +0 -17963
- package/dist/es/index.js.map +0 -1
- package/dist/utils-B-OwYxKc.js +0 -2
- package/dist/utils-B-OwYxKc.js.map +0 -1
- package/dist/utils-C6l9edAI.mjs +0 -33
- package/dist/utils-C6l9edAI.mjs.map +0 -1
- package/dist/video-BVmBZcCY.mjs +0 -29748
- package/dist/video-BVmBZcCY.mjs.map +0 -1
- package/dist/video-De6bH9lK.js +0 -213
- package/dist/video-De6bH9lK.js.map +0 -1
- package/dist/video-utils-CSAdDJJN.js +0 -9
- package/dist/video-utils-CSAdDJJN.js.map +0 -1
- package/dist/video-utils-DfKS4cGg.mjs +0 -5735
- package/dist/video-utils-DfKS4cGg.mjs.map +0 -1
|
@@ -1,39 +1,33 @@
|
|
|
1
|
-
import { EliceLayoutProps } from './Layout';
|
|
2
|
-
import { SxProps } from '@mui/system';
|
|
3
|
-
import { Theme } from '@mui/material';
|
|
4
|
-
import { LayoutHeaderTitleProps, LayoutHeaderSubTitleProps } from './Header';
|
|
5
|
-
import { FC } from 'react';
|
|
6
|
-
import { LayoutFooterPagingProps, LayoutFooterSubmitProps } from './Footer';
|
|
7
1
|
export { Layout, HeaderContainer, HeaderSubTitle, ContentContainer, Content, FooterContainer, FooterPaging, FooterSubmit, Box, Stack, Typography, } from './Layout';
|
|
8
|
-
export declare const EliceLayout: (({ children, onPrev, onNext, allowPrev, allowNext, backgroundImage, backgroundColor, onlyPage, enableScrollTracking, sx }: EliceLayoutProps) => import("react/jsx-runtime").JSX.Element) & {
|
|
2
|
+
export declare const EliceLayout: (({ children, onPrev, onNext, allowPrev, allowNext, backgroundImage, backgroundColor, onlyPage, enableScrollTracking, sx }: import("./Layout").EliceLayoutProps) => import("react/jsx-runtime").JSX.Element) & {
|
|
9
3
|
HeaderContainer: ({ children, sx }: {
|
|
10
4
|
children: React.ReactNode;
|
|
11
|
-
sx?: SxProps<Theme>;
|
|
5
|
+
sx?: import("@mui/system").SxProps<import("@mui/material").Theme>;
|
|
12
6
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
13
|
-
HeaderTitle: ({ children, titleComponent, sx }: LayoutHeaderTitleProps) => JSX.Element;
|
|
14
|
-
HeaderSubTitle: ({ children, sx }: LayoutHeaderSubTitleProps) => JSX.Element;
|
|
7
|
+
HeaderTitle: ({ children, titleComponent, sx }: import("./Header").LayoutHeaderTitleProps) => JSX.Element;
|
|
8
|
+
HeaderSubTitle: ({ children, sx }: import("./Header").LayoutHeaderSubTitleProps) => JSX.Element;
|
|
15
9
|
Subtitle: ({ children, alignment, justifyContent, sx }: {
|
|
16
10
|
children: React.ReactNode;
|
|
17
11
|
alignment?: "center" | "right" | "left";
|
|
18
12
|
justifyContent?: string;
|
|
19
|
-
sx?: SxProps<Theme>;
|
|
13
|
+
sx?: import("@mui/system").SxProps<import("@mui/material").Theme>;
|
|
20
14
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
21
15
|
ContentContainer: ({ children, sx, scrollbarPostion }: {
|
|
22
16
|
children: React.ReactNode;
|
|
23
|
-
sx?: SxProps<Theme>;
|
|
17
|
+
sx?: import("@mui/system").SxProps<import("@mui/material").Theme>;
|
|
24
18
|
scrollbarPostion?: number;
|
|
25
19
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
26
20
|
Content: ({ children, alignment, justifyContent, sx, }: {
|
|
27
21
|
children: React.ReactNode;
|
|
28
22
|
alignment?: "center" | "right" | "left";
|
|
29
23
|
justifyContent?: string;
|
|
30
|
-
sx?: SxProps<Theme>;
|
|
24
|
+
sx?: import("@mui/system").SxProps<import("@mui/material").Theme>;
|
|
31
25
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
32
26
|
FooterContainer: ({ children, sx }: {
|
|
33
27
|
children: React.ReactNode;
|
|
34
|
-
sx?: SxProps<Theme>;
|
|
28
|
+
sx?: import("@mui/system").SxProps<import("@mui/material").Theme>;
|
|
35
29
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
36
|
-
FooterPaging: FC<LayoutFooterPagingProps>;
|
|
37
|
-
FooterSubmit: ({ isRollback, isSubmit, disableRollback, disableSubmit, submitText, rollbackText, onSubmit, onRollback, submitButtonColor, rollbackButtonColor, submitTextColor, rollbackTextColor, }: LayoutFooterSubmitProps) => import("react/jsx-runtime").JSX.Element;
|
|
30
|
+
FooterPaging: import("react").FC<import("./Footer").LayoutFooterPagingProps>;
|
|
31
|
+
FooterSubmit: ({ isRollback, isSubmit, disableRollback, disableSubmit, submitText, rollbackText, onSubmit, buttonSize, onRollback, submitButtonColor, rollbackButtonColor, submitTextColor, rollbackTextColor, }: import("./Footer").LayoutFooterSubmitProps) => import("react/jsx-runtime").JSX.Element;
|
|
38
32
|
};
|
|
39
33
|
export type { EliceLayoutProps } from './Layout';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { SoundVisualizerVariant } from '
|
|
2
|
-
import { SxProps } from '@mui/material';
|
|
3
|
-
import { AudioStep } from './recorderStore';
|
|
1
|
+
import type { SoundVisualizerVariant } from '@elicecontents/content-ui';
|
|
2
|
+
import type { SxProps } from '@mui/material';
|
|
3
|
+
import type { AudioStep } from './recorderStore';
|
|
4
4
|
export type RecorderStep = 'ready' | 'recording' | 'pause' | 'waiting';
|
|
5
5
|
export type RecorderType = 'pause' | 'waiting' | 'unsubmit' | null;
|
|
6
6
|
export interface EliceRecorderStepProps {
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { Dispatch } from 'react';
|
|
2
3
|
export type AudioStep = 'ready' | 'recording' | 'pause' | 'waiting' | '';
|
|
3
4
|
export type StepFlowType = 'basic' | 'pauseable' | 'oneClick' | 'recordOnly' | 'instantRecord';
|
|
4
5
|
interface RecorderState {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { AudioStep } from './RecorderContext';
|
|
2
|
-
import { SoundVisualizerVariant } from '
|
|
3
|
-
import { SxProps } from '@mui/material';
|
|
1
|
+
import { type AudioStep } from './RecorderContext';
|
|
2
|
+
import type { SoundVisualizerVariant } from '@elicecontents/content-ui';
|
|
3
|
+
import type { SxProps } from '@mui/material';
|
|
4
4
|
export type RecorderStep = 'ready' | 'recording' | 'pause' | 'waiting';
|
|
5
5
|
export type RecorderType = 'needPause' | 'needWaiting' | 'allNeed' | 'notNeed';
|
|
6
6
|
export interface EliceRecorderStepProps {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ToggleButtonGroupProps } from '@mui/material';
|
|
2
|
-
import { Dispatch, ReactNode, SetStateAction } from 'react';
|
|
1
|
+
import type { ToggleButtonGroupProps } from '@mui/material';
|
|
2
|
+
import type { Dispatch, ReactNode, SetStateAction } from 'react';
|
|
3
3
|
export interface EliceSelectionProps extends ToggleButtonGroupProps {
|
|
4
4
|
type: 'checkbox' | 'radio';
|
|
5
5
|
options: {
|
|
@@ -1,7 +1,13 @@
|
|
|
1
1
|
import { TextFieldProps } from '@mui/material';
|
|
2
|
-
interface EliceTextareaProps extends Omit<TextFieldProps, '
|
|
3
|
-
variant?: 'default' | 'textarea';
|
|
2
|
+
interface EliceTextareaProps extends Omit<TextFieldProps, 'type'> {
|
|
4
3
|
maxLength?: number;
|
|
4
|
+
hideBorder?: boolean;
|
|
5
|
+
type: 'default' | 'textarea';
|
|
6
|
+
isCompleted?: boolean;
|
|
7
|
+
borderColor?: string;
|
|
8
|
+
hoverBorderColor?: string;
|
|
9
|
+
focusedBorderColor?: string;
|
|
10
|
+
disabledBackgroundColor?: string;
|
|
5
11
|
}
|
|
6
|
-
declare const EliceTextarea: ({ variant, rows, placeholder, multiline, maxLength, value, onChange, disabled, ...rest }: EliceTextareaProps) => import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
declare const EliceTextarea: ({ type, variant, rows, placeholder, multiline, maxLength, value, onChange, hideBorder, disabled, isCompleted, borderColor, hoverBorderColor, focusedBorderColor, disabledBackgroundColor, sx, ...rest }: EliceTextareaProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
13
|
export default EliceTextarea;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { TooltipProps } from '@mui/material';
|
|
3
|
+
import type { ReactElement, ReactNode } from 'react';
|
|
3
4
|
export interface EliceTooltipProps extends TooltipProps {
|
|
4
5
|
title: string | ReactNode;
|
|
5
6
|
isControl?: boolean;
|
|
@@ -10,6 +11,9 @@ export interface EliceTooltipProps extends TooltipProps {
|
|
|
10
11
|
closeColor?: string;
|
|
11
12
|
fontColor?: string;
|
|
12
13
|
closeOnScroll?: boolean;
|
|
14
|
+
slotStyles?: React.CSSProperties;
|
|
15
|
+
allowMultiple?: boolean;
|
|
16
|
+
maxHeight?: string;
|
|
13
17
|
}
|
|
14
|
-
declare const EliceTooltip: ({ title, initOpen, isControl, placement, triggerAction, children, backgroundColor, closeColor, fontColor, closeOnScroll, ...rest }: EliceTooltipProps) => import("react/jsx-runtime").JSX.Element;
|
|
18
|
+
declare const EliceTooltip: ({ title, initOpen, isControl, placement, triggerAction, children, backgroundColor, closeColor, fontColor, closeOnScroll, slotStyles, allowMultiple, maxHeight, ...rest }: EliceTooltipProps) => import("react/jsx-runtime").JSX.Element;
|
|
15
19
|
export default EliceTooltip;
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
interface VideoV2Props {
|
|
2
|
+
/** video.js UI/에러 메시지 언어. 기본값: 'en' */
|
|
3
|
+
language?: "en" | "ko";
|
|
2
4
|
source: {
|
|
3
5
|
src: string;
|
|
4
6
|
type?: string;
|
|
@@ -16,5 +18,5 @@ interface VideoV2Props {
|
|
|
16
18
|
playbackRates?: number[];
|
|
17
19
|
};
|
|
18
20
|
}
|
|
19
|
-
export declare function EliceVideoV2({ source, textTrack, options: _options, }: VideoV2Props): import("react/jsx-runtime").JSX.Element;
|
|
21
|
+
export declare function EliceVideoV2({ language, source, textTrack, options: _options, }: VideoV2Props): import("react/jsx-runtime").JSX.Element;
|
|
20
22
|
export {};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface VideoV3Track {
|
|
3
|
+
src: string;
|
|
4
|
+
lang: string;
|
|
5
|
+
label?: string;
|
|
6
|
+
default?: boolean;
|
|
7
|
+
}
|
|
8
|
+
export interface VideoV3Source {
|
|
9
|
+
src: string;
|
|
10
|
+
type?: string;
|
|
11
|
+
}
|
|
12
|
+
export interface EliceVideoV3Props {
|
|
13
|
+
language?: 'en' | 'ko';
|
|
14
|
+
source: VideoV3Source[];
|
|
15
|
+
textTrack?: VideoV3Track[];
|
|
16
|
+
poster?: string;
|
|
17
|
+
autoPlay?: boolean;
|
|
18
|
+
loop?: boolean;
|
|
19
|
+
muted?: boolean;
|
|
20
|
+
preload?: 'none' | 'metadata' | 'auto';
|
|
21
|
+
playbackRates?: number[];
|
|
22
|
+
rememberPositionKey?: string;
|
|
23
|
+
primaryColor?: string;
|
|
24
|
+
customColor?: {
|
|
25
|
+
background?: string;
|
|
26
|
+
text?: string;
|
|
27
|
+
mutedText?: string;
|
|
28
|
+
controlBackground?: string;
|
|
29
|
+
border?: string;
|
|
30
|
+
error?: string;
|
|
31
|
+
primary?: string;
|
|
32
|
+
focus?: string;
|
|
33
|
+
};
|
|
34
|
+
className?: string;
|
|
35
|
+
style?: React.CSSProperties;
|
|
36
|
+
}
|
|
37
|
+
export declare function EliceVideoV3({ language, source, textTrack, poster, autoPlay, loop, muted, preload, playbackRates, rememberPositionKey, primaryColor, customColor, className, style, }: EliceVideoV3Props): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,3 +1,5 @@
|
|
|
1
1
|
export { default as EliceVideoPlayer } from './VideoPlayer';
|
|
2
2
|
export { EliceVideoV2 } from './VideoV2';
|
|
3
|
+
export { EliceVideoV3 } from './VideoV3';
|
|
3
4
|
export type { EliceVideoPlayerProps } from './VideoPlayer';
|
|
5
|
+
export type { EliceVideoV3Props, VideoV3Source, VideoV3Track } from './VideoV3';
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
|
|
1
|
+
import { breakpoints as DEFAULT_BREAKPOINTS } from '../tokens';
|
|
2
|
+
interface UseAIDTMediaQueryOptions {
|
|
3
|
+
breakpoints?: typeof DEFAULT_BREAKPOINTS;
|
|
4
|
+
}
|
|
5
|
+
declare const useAIDTMediaQuery: (options?: UseAIDTMediaQueryOptions) => {
|
|
2
6
|
isMobile: boolean;
|
|
3
7
|
isMiniTablet: boolean;
|
|
4
8
|
isTablet: boolean;
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
|
+
import './types/theme-augmentation';
|
|
1
2
|
export * from './components';
|
|
2
3
|
export * from './theme';
|
|
3
4
|
export * from './tokens';
|
|
4
5
|
export * from './icons';
|
|
5
6
|
export * from './hooks';
|
|
7
|
+
export type { BaseTypographyVariant, ContentTypographyVariant } from './typography';
|
|
6
8
|
export { createEliceTheme } from './theme/createEliceThemeOverride';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { PublisherSubjects } from './types';
|
|
1
|
+
import type { PublisherSubjects } from './types';
|
|
2
2
|
export declare const elicePalettes: PublisherSubjects;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { PublisherSubjects } from './types';
|
|
1
|
+
import type { PublisherSubjects } from './types';
|
|
2
2
|
export declare const type1Palettes: PublisherSubjects;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { PublisherSubjects } from './types';
|
|
1
|
+
import type { PublisherSubjects } from './types';
|
|
2
2
|
export declare const type2Palettes: PublisherSubjects;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { Publisher, PublisherSubjects, SubjectLevels, ThemeColor } from '../palettes/types';
|
|
1
|
+
import type { Publisher, PublisherSubjects, SubjectLevels, ThemeColor } from '../palettes/types';
|
|
2
2
|
declare const getThemeColors: (publisher: Publisher, subject: keyof PublisherSubjects, level: keyof SubjectLevels) => ThemeColor;
|
|
3
3
|
export { getThemeColors };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { PaletteOptions } from '@mui/material';
|
|
1
|
+
import type { PaletteOptions } from '@mui/material';
|
|
2
2
|
export declare const basePalette: PaletteOptions;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { CreateAIDTThemeProps } from '../types/theme.types';
|
|
2
|
-
|
|
3
|
-
declare const createAIDTTheme: ({ paletteMode, palettePublisher, paletteSubject, paletteLevel, typographyType, typographyFontFamily, }: CreateAIDTThemeProps) => Theme;
|
|
1
|
+
import type { CreateAIDTThemeProps } from '../types/theme.types';
|
|
2
|
+
declare const createAIDTTheme: ({ paletteMode, palettePublisher, paletteSubject, paletteLevel, typographyType, typographyFontFamily, }: CreateAIDTThemeProps) => import("@mui/material").Theme;
|
|
4
3
|
export { createAIDTTheme };
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { PaletteMode, Theme } from '@mui/material';
|
|
2
|
-
import { ElicePaletteName } from '@elice/mui-system';
|
|
1
|
+
import type { PaletteMode, Theme } from '@mui/material';
|
|
2
|
+
import type { ElicePaletteName } from '@elice/mui-system';
|
|
3
3
|
import { AIDTPaletteLevel, AIDTPalettePublisher, AIDTPaletteSubject } from '../types/theme.types';
|
|
4
4
|
import { TypographyFontFamilyType } from '../typography';
|
|
5
|
+
import { TYPOGRAPHY_STYLES_MAP } from '../typography/TypographyType';
|
|
5
6
|
export interface CreateEliceThemeProps {
|
|
6
7
|
paletteMode?: PaletteMode;
|
|
7
8
|
paletteName?: ElicePaletteName;
|
|
@@ -9,10 +10,11 @@ export interface CreateEliceThemeProps {
|
|
|
9
10
|
paletteSubject?: AIDTPaletteSubject;
|
|
10
11
|
paletteLevel?: AIDTPaletteLevel;
|
|
11
12
|
typographyFontFamily?: TypographyFontFamilyType;
|
|
13
|
+
typographyType?: keyof typeof TYPOGRAPHY_STYLES_MAP;
|
|
12
14
|
}
|
|
13
15
|
/**
|
|
14
16
|
* Override createEliceTheme to use createAIDTTheme instead
|
|
15
17
|
* This ensures the override works in both development and production builds
|
|
16
18
|
*/
|
|
17
|
-
export declare const createEliceTheme: ({ paletteMode, palettePublisher, paletteSubject, paletteLevel, typographyFontFamily, }?: CreateEliceThemeProps) => Theme;
|
|
19
|
+
export declare const createEliceTheme: ({ paletteMode, palettePublisher, paletteSubject, paletteLevel, typographyFontFamily, typographyType, }?: CreateEliceThemeProps) => Theme;
|
|
18
20
|
export { createEliceTheme as originalCreateEliceTheme } from '@elice/mui-system';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { AIDTColor } from './_typing';
|
|
1
|
+
import type { AIDTColor } from './_typing';
|
|
2
2
|
export declare const bluepurple: AIDTColor;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { AIDTColor } from './_typing';
|
|
1
|
+
import type { AIDTColor } from './_typing';
|
|
2
2
|
export declare const bluesky: AIDTColor;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { CommonColors } from '@mui/material';
|
|
1
|
+
import type { CommonColors } from '@mui/material';
|
|
2
2
|
export declare const common: CommonColors;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { AIDTColor } from './_typing';
|
|
1
|
+
import type { AIDTColor } from './_typing';
|
|
2
2
|
export declare const gray: AIDTColor;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { AIDTColor } from './_typing';
|
|
1
|
+
import type { AIDTColor } from './_typing';
|
|
2
2
|
export declare const green: AIDTColor;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { AIDTColor } from './_typing';
|
|
1
|
+
import type { AIDTColor } from './_typing';
|
|
2
2
|
export declare const mint: AIDTColor;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { AIDTColor } from './_typing';
|
|
1
|
+
import type { AIDTColor } from './_typing';
|
|
2
2
|
export declare const orange: AIDTColor;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { AIDTColor } from './_typing';
|
|
1
|
+
import type { AIDTColor } from './_typing';
|
|
2
2
|
export declare const pink: AIDTColor;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { AIDTColor } from './_typing';
|
|
1
|
+
import type { AIDTColor } from './_typing';
|
|
2
2
|
export declare const purple: AIDTColor;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { AIDTColor } from './_typing';
|
|
1
|
+
import type { AIDTColor } from './_typing';
|
|
2
2
|
export declare const yellow: AIDTColor;
|
|
@@ -1,14 +1,23 @@
|
|
|
1
|
+
import '@mui/material/styles';
|
|
1
2
|
declare module '@mui/material/styles' {
|
|
2
3
|
interface TypographyVariants {
|
|
3
4
|
subtitle3: React.CSSProperties;
|
|
5
|
+
body3: React.CSSProperties;
|
|
6
|
+
title1: React.CSSProperties;
|
|
7
|
+
title2: React.CSSProperties;
|
|
8
|
+
clampH1: React.CSSProperties;
|
|
4
9
|
pagination: React.CSSProperties;
|
|
5
10
|
buttoninput: React.CSSProperties;
|
|
6
11
|
textarea: React.CSSProperties;
|
|
7
12
|
}
|
|
8
13
|
interface TypographyVariantsOptions {
|
|
14
|
+
subtitle3?: React.CSSProperties;
|
|
15
|
+
body3?: React.CSSProperties;
|
|
16
|
+
title1?: React.CSSProperties;
|
|
17
|
+
title2?: React.CSSProperties;
|
|
18
|
+
clampH1?: React.CSSProperties;
|
|
9
19
|
pagination?: React.CSSProperties;
|
|
10
20
|
buttoninput?: React.CSSProperties;
|
|
11
|
-
subtitle?: React.CSSProperties;
|
|
12
21
|
textarea?: React.CSSProperties;
|
|
13
22
|
}
|
|
14
23
|
interface CommonColors {
|
|
@@ -57,6 +66,10 @@ declare module '@mui/material/styles' {
|
|
|
57
66
|
declare module '@mui/material/Typography' {
|
|
58
67
|
interface TypographyPropsVariantOverrides {
|
|
59
68
|
subtitle3: true;
|
|
69
|
+
body3: true;
|
|
70
|
+
title1: true;
|
|
71
|
+
title2: true;
|
|
72
|
+
clampH1: true;
|
|
60
73
|
pagination: true;
|
|
61
74
|
buttoninput: true;
|
|
62
75
|
textarea: true;
|
|
@@ -1,9 +1,11 @@
|
|
|
1
|
-
import { PaletteMode, PaletteOptions, Theme } from '@mui/material';
|
|
2
|
-
import { TypographyFontFamilyType } from '../typography';
|
|
1
|
+
import type { PaletteMode, PaletteOptions, Theme } from '@mui/material';
|
|
2
|
+
import type { TypographyFontFamilyType } from '../typography';
|
|
3
3
|
import { TYPOGRAPHY_STYLES_MAP } from '../typography/TypographyType';
|
|
4
|
+
/** Default/Fluid/Clamp 공통 커스텀 variant (MUI 기본 + buttoninput, pagination, textarea) */
|
|
4
5
|
export interface TypographyVariantsExtension {
|
|
5
6
|
pagination: React.CSSProperties;
|
|
6
7
|
buttoninput: React.CSSProperties;
|
|
8
|
+
textarea: React.CSSProperties;
|
|
7
9
|
}
|
|
8
10
|
export interface CommonColors {
|
|
9
11
|
white: string;
|