maru_design2 0.0.2 → 0.0.3
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.
|
@@ -27,5 +27,4 @@ export interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElemen
|
|
|
27
27
|
*/
|
|
28
28
|
endIcon?: IconProps;
|
|
29
29
|
}
|
|
30
|
-
declare const Button: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<HTMLButtonElement>>;
|
|
31
|
-
export default Button;
|
|
30
|
+
export declare const Button: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<HTMLButtonElement>>;
|
|
@@ -6,5 +6,5 @@ interface Props {
|
|
|
6
6
|
children: React.ReactNode;
|
|
7
7
|
theme: TTheme;
|
|
8
8
|
}
|
|
9
|
-
export declare
|
|
9
|
+
export declare function StyleProvider({ children, theme }: Props): import("react/jsx-runtime").JSX.Element;
|
|
10
10
|
export {};
|
package/dist/index.js
CHANGED
|
@@ -78,7 +78,7 @@ styleInject(css_248z$c);
|
|
|
78
78
|
var css_248z$b = ":root {\n --primary: var(--p);\n --primary-50-per: var(--p-50-per);\n --primary-50: var(--p-50);\n --primary-20-per: var(--p-20-per);\n --primary-20: var(--p-20);\n --primary-10-per: var(--p-10-per);\n --primary-10: var(--p-10);\n}\n\n[data-theme=blue] {\n --p: #308acc;\n --p-50-per: #308acc80;\n --p-50: #97c4e5;\n --p-20-per: #308acc33;\n --p-20: #d6e8f5;\n --p-10-per: #308acc1a;\n --p-10: #eaf3fa;\n}";
|
|
79
79
|
styleInject(css_248z$b);
|
|
80
80
|
|
|
81
|
-
|
|
81
|
+
function StyleProvider(_a) {
|
|
82
82
|
var children = _a.children,
|
|
83
83
|
theme = _a.theme;
|
|
84
84
|
return jsx("div", __assign({
|
|
@@ -86,7 +86,7 @@ var StyleProvider = function StyleProvider(_a) {
|
|
|
86
86
|
}, {
|
|
87
87
|
children: children
|
|
88
88
|
}));
|
|
89
|
-
}
|
|
89
|
+
}
|
|
90
90
|
|
|
91
91
|
var classnames = {exports: {}};
|
|
92
92
|
|
|
@@ -3320,4 +3320,4 @@ styleInject(css_248z$1);
|
|
|
3320
3320
|
var css_248z = ".maru-pagination-wrapper .maru-pagination {\n display: flex;\n justify-content: center;\n align-items: center;\n flex-direction: row;\n}\n.maru-pagination-wrapper .maru-pagination button {\n cursor: pointer;\n font-family: Pretendard;\n font-style: normal;\n line-height: 150%;\n font-size: 12px;\n letter-spacing: -0.48px;\n font-weight: 500;\n color: #8c8c8c;\n padding: unset;\n margin: unset;\n background-color: unset;\n border: unset;\n min-width: 30px;\n min-height: 30px;\n border-radius: 6px;\n}\n.maru-pagination-wrapper .maru-pagination button > span {\n display: flex;\n justify-content: center;\n align-items: center;\n flex-direction: row;\n}\n.maru-pagination-wrapper .maru-pagination button:hover {\n background-color: #e4e4e4;\n font-weight: 700;\n}\n.maru-pagination-wrapper .maru-pagination button:disabled {\n cursor: default;\n}\n.maru-pagination-wrapper .maru-pagination .maru-pagination-default-wrapper {\n display: flex;\n justify-content: space-evenly;\n align-items: center;\n flex-direction: row;\n flex: 1;\n}\n.maru-pagination-wrapper .maru-pagination .maru-pagination-default-wrapper .maru-pagination-page-button {\n line-height: 140%;\n padding: 6px 12px;\n}\n.maru-pagination-wrapper .maru-pagination .maru-pagination-default-wrapper .maru-pagination-page-button.selected {\n font-weight: 700;\n color: white;\n background-color: #bdbdbd;\n}\n.maru-pagination-wrapper .maru-pagination .maru-pagination-input-wrapper .maru-pagination-input {\n border: 1px solid #e4e4e4;\n border-radius: 6px;\n padding: 2px 20px;\n font-family: Pretendard;\n font-style: normal;\n line-height: 150%;\n font-size: 12px;\n letter-spacing: -0.48px;\n font-weight: 700;\n margin: 0 8px;\n color: #5c5c5c;\n text-align: center;\n}\n.maru-pagination-wrapper .maru-pagination .maru-pagination-input-wrapper .maru-pagination-input::-webkit-outer-spin-button, .maru-pagination-wrapper .maru-pagination .maru-pagination-input-wrapper .maru-pagination-input::-webkit-inner-spin-button {\n -webkit-appearance: none;\n margin: 0;\n}\n.maru-pagination-wrapper .maru-pagination .maru-pagination-input-wrapper .maru-pagination-input:disabled {\n pointer-events: none;\n border: none;\n background-color: transparent;\n width: auto;\n margin-right: 0;\n padding: 0;\n}\n.maru-pagination-wrapper .maru-pagination .maru-pagination-input-wrapper > span {\n font-family: Pretendard;\n font-style: normal;\n line-height: 150%;\n font-size: 12px;\n letter-spacing: -0.48px;\n font-weight: 500;\n color: #8c8c8c;\n}";
|
|
3321
3321
|
styleInject(css_248z);
|
|
3322
3322
|
|
|
3323
|
-
export { StyleProvider };
|
|
3323
|
+
export { Button, StyleProvider };
|