@new_york_style/project-template-ui 1.0.0

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/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 NewYorkStyle
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,77 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+ import * as antd from 'antd';
3
+ import { ButtonProps, DividerProps, FlexProps, InputProps } from 'antd';
4
+ import * as antd_es_input_OTP from 'antd/es/input/OTP';
5
+ import * as react from 'react';
6
+ import { ReactNode } from 'react';
7
+ import * as antd_es_input_TextArea from 'antd/es/input/TextArea';
8
+ import * as antd_es_input from 'antd/es/input';
9
+
10
+ type TProps$3 = ButtonProps;
11
+ declare const Button: (props: TProps$3) => react_jsx_runtime.JSX.Element;
12
+
13
+ type TProps$2 = DividerProps;
14
+ declare const Divider: (props: TProps$2) => react_jsx_runtime.JSX.Element;
15
+
16
+ type TProps$1 = FlexProps;
17
+ declare const Flex: (props: TProps$1) => react_jsx_runtime.JSX.Element;
18
+
19
+ type TProps = InputProps;
20
+ declare const Input: {
21
+ (props: TProps): react_jsx_runtime.JSX.Element;
22
+ TextArea: react.ForwardRefExoticComponent<antd_es_input.TextAreaProps & react.RefAttributes<antd_es_input_TextArea.TextAreaRef>>;
23
+ Search: react.ForwardRefExoticComponent<antd_es_input.SearchProps & react.RefAttributes<antd.InputRef>>;
24
+ Password: react.ForwardRefExoticComponent<antd_es_input.PasswordProps & react.RefAttributes<antd.InputRef>>;
25
+ OTP: react.ForwardRefExoticComponent<antd_es_input_OTP.OTPProps & react.RefAttributes<antd_es_input_OTP.OTPRef>>;
26
+ };
27
+
28
+ type TDesignTokens = {
29
+ colors: {
30
+ textPrimary: string;
31
+ textSecondary: string;
32
+ textDisabled: string;
33
+ backgroundPrimary: string;
34
+ backgroundSecondary: string;
35
+ backgroundElevated: string;
36
+ borderPrimary: string;
37
+ borderSecondary: string;
38
+ accentPrimary: string;
39
+ accentHover: string;
40
+ accentActive: string;
41
+ };
42
+ spacing: {
43
+ xs: number;
44
+ sm: number;
45
+ md: number;
46
+ lg: number;
47
+ };
48
+ borderRadius: {
49
+ sm: number;
50
+ md: number;
51
+ lg: number;
52
+ };
53
+ textSize: {
54
+ xs: number;
55
+ sm: number;
56
+ md: number;
57
+ lg: number;
58
+ xl: number;
59
+ };
60
+ breakpoints: {
61
+ phone: number;
62
+ tablet: number;
63
+ tabletLg: number;
64
+ desktop: number;
65
+ desktopLg: number;
66
+ desktopXl: number;
67
+ };
68
+ };
69
+ declare const designTokens: TDesignTokens;
70
+
71
+ type TUiProviderProps = {
72
+ children: ReactNode;
73
+ tokens?: Partial<TDesignTokens>;
74
+ };
75
+ declare const UiProvider: ({ children, tokens }: TUiProviderProps) => react_jsx_runtime.JSX.Element;
76
+
77
+ export { Button, Divider, Flex, Input, type TDesignTokens, type TUiProviderProps, UiProvider, designTokens };
@@ -0,0 +1,77 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+ import * as antd from 'antd';
3
+ import { ButtonProps, DividerProps, FlexProps, InputProps } from 'antd';
4
+ import * as antd_es_input_OTP from 'antd/es/input/OTP';
5
+ import * as react from 'react';
6
+ import { ReactNode } from 'react';
7
+ import * as antd_es_input_TextArea from 'antd/es/input/TextArea';
8
+ import * as antd_es_input from 'antd/es/input';
9
+
10
+ type TProps$3 = ButtonProps;
11
+ declare const Button: (props: TProps$3) => react_jsx_runtime.JSX.Element;
12
+
13
+ type TProps$2 = DividerProps;
14
+ declare const Divider: (props: TProps$2) => react_jsx_runtime.JSX.Element;
15
+
16
+ type TProps$1 = FlexProps;
17
+ declare const Flex: (props: TProps$1) => react_jsx_runtime.JSX.Element;
18
+
19
+ type TProps = InputProps;
20
+ declare const Input: {
21
+ (props: TProps): react_jsx_runtime.JSX.Element;
22
+ TextArea: react.ForwardRefExoticComponent<antd_es_input.TextAreaProps & react.RefAttributes<antd_es_input_TextArea.TextAreaRef>>;
23
+ Search: react.ForwardRefExoticComponent<antd_es_input.SearchProps & react.RefAttributes<antd.InputRef>>;
24
+ Password: react.ForwardRefExoticComponent<antd_es_input.PasswordProps & react.RefAttributes<antd.InputRef>>;
25
+ OTP: react.ForwardRefExoticComponent<antd_es_input_OTP.OTPProps & react.RefAttributes<antd_es_input_OTP.OTPRef>>;
26
+ };
27
+
28
+ type TDesignTokens = {
29
+ colors: {
30
+ textPrimary: string;
31
+ textSecondary: string;
32
+ textDisabled: string;
33
+ backgroundPrimary: string;
34
+ backgroundSecondary: string;
35
+ backgroundElevated: string;
36
+ borderPrimary: string;
37
+ borderSecondary: string;
38
+ accentPrimary: string;
39
+ accentHover: string;
40
+ accentActive: string;
41
+ };
42
+ spacing: {
43
+ xs: number;
44
+ sm: number;
45
+ md: number;
46
+ lg: number;
47
+ };
48
+ borderRadius: {
49
+ sm: number;
50
+ md: number;
51
+ lg: number;
52
+ };
53
+ textSize: {
54
+ xs: number;
55
+ sm: number;
56
+ md: number;
57
+ lg: number;
58
+ xl: number;
59
+ };
60
+ breakpoints: {
61
+ phone: number;
62
+ tablet: number;
63
+ tabletLg: number;
64
+ desktop: number;
65
+ desktopLg: number;
66
+ desktopXl: number;
67
+ };
68
+ };
69
+ declare const designTokens: TDesignTokens;
70
+
71
+ type TUiProviderProps = {
72
+ children: ReactNode;
73
+ tokens?: Partial<TDesignTokens>;
74
+ };
75
+ declare const UiProvider: ({ children, tokens }: TUiProviderProps) => react_jsx_runtime.JSX.Element;
76
+
77
+ export { Button, Divider, Flex, Input, type TDesignTokens, type TUiProviderProps, UiProvider, designTokens };
package/dist/index.js ADDED
@@ -0,0 +1,202 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+
20
+ // src/index.ts
21
+ var index_exports = {};
22
+ __export(index_exports, {
23
+ Button: () => Button,
24
+ Divider: () => Divider,
25
+ Flex: () => Flex,
26
+ Input: () => Input,
27
+ UiProvider: () => UiProvider,
28
+ designTokens: () => designTokens
29
+ });
30
+ module.exports = __toCommonJS(index_exports);
31
+
32
+ // src/components/button/button.tsx
33
+ var import_antd = require("antd");
34
+ var import_jsx_runtime = require("react/jsx-runtime");
35
+ var Button = (props) => {
36
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_antd.Button, { ...props });
37
+ };
38
+
39
+ // src/components/divider/divider.tsx
40
+ var import_antd2 = require("antd");
41
+ var import_jsx_runtime2 = require("react/jsx-runtime");
42
+ var Divider = (props) => {
43
+ return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_antd2.Divider, { ...props });
44
+ };
45
+
46
+ // src/components/flex/flex.tsx
47
+ var import_antd3 = require("antd");
48
+ var import_jsx_runtime3 = require("react/jsx-runtime");
49
+ var Flex = (props) => {
50
+ return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_antd3.Flex, { ...props });
51
+ };
52
+
53
+ // src/components/input/input.tsx
54
+ var import_antd4 = require("antd");
55
+ var import_jsx_runtime4 = require("react/jsx-runtime");
56
+ var {
57
+ OTP: AntdOTP,
58
+ Password: AntdPassword,
59
+ Search: AntdSearch,
60
+ TextArea: AntdTextArea
61
+ } = import_antd4.Input;
62
+ var Input = (props) => {
63
+ return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_antd4.Input, { ...props });
64
+ };
65
+ Input.TextArea = AntdTextArea;
66
+ Input.Search = AntdSearch;
67
+ Input.Password = AntdPassword;
68
+ Input.OTP = AntdOTP;
69
+
70
+ // src/theme/design-tokens.ts
71
+ var designTokens = {
72
+ borderRadius: {
73
+ sm: 8,
74
+ md: 12,
75
+ lg: 16
76
+ },
77
+ breakpoints: {
78
+ phone: 480,
79
+ tablet: 768,
80
+ tabletLg: 1024,
81
+ desktop: 1280,
82
+ desktopLg: 1440,
83
+ desktopXl: 1920
84
+ },
85
+ colors: {
86
+ textPrimary: "#000000",
87
+ textSecondary: "#6B6B6B",
88
+ textDisabled: "#A4A6A8",
89
+ backgroundPrimary: "#CBCBCB",
90
+ backgroundSecondary: "#D9D9DC",
91
+ backgroundElevated: "#FFFFFF",
92
+ borderPrimary: "#C1C0C0",
93
+ borderSecondary: "#E0E0E0",
94
+ accentPrimary: "#4594D1",
95
+ accentHover: "#5AA3DB",
96
+ accentActive: "#2F7AB8"
97
+ },
98
+ spacing: {
99
+ xs: 4,
100
+ sm: 8,
101
+ md: 16,
102
+ lg: 24
103
+ },
104
+ textSize: {
105
+ xs: 12,
106
+ sm: 14,
107
+ md: 16,
108
+ lg: 24,
109
+ xl: 36
110
+ }
111
+ };
112
+
113
+ // src/theme/ui-provider.tsx
114
+ var import_react = require("react");
115
+ var import_antd5 = require("antd");
116
+
117
+ // src/theme/get-antd-tokens.ts
118
+ var getAntdThemeConfig = (tokens = designTokens) => {
119
+ const palette = tokens.colors;
120
+ return {
121
+ components: {
122
+ Button: {
123
+ dangerShadow: "none",
124
+ defaultShadow: "none",
125
+ primaryShadow: "none"
126
+ },
127
+ Divider: {
128
+ colorSplit: palette.borderPrimary
129
+ },
130
+ Layout: {
131
+ headerBg: palette.backgroundPrimary,
132
+ headerPadding: tokens.spacing.md,
133
+ triggerBg: "transparent"
134
+ },
135
+ Select: {
136
+ optionSelectedBg: palette.accentPrimary,
137
+ optionSelectedFontWeight: "normal"
138
+ },
139
+ Typography: {
140
+ fontSize: tokens.textSize.md,
141
+ fontSizeHeading1: tokens.textSize.xl
142
+ }
143
+ },
144
+ token: {
145
+ borderRadius: tokens.borderRadius.md,
146
+ colorBgBase: palette.backgroundPrimary,
147
+ colorBgContainer: palette.backgroundSecondary,
148
+ colorTextBase: palette.textPrimary,
149
+ colorTextPlaceholder: palette.textSecondary,
150
+ fontFamily: "'Franklin Gothic Medium', 'Arial Narrow',\n Arial,\n sans-serif;",
151
+ fontSize: tokens.textSize.md
152
+ }
153
+ };
154
+ };
155
+
156
+ // src/theme/ui-provider.tsx
157
+ var import_jsx_runtime5 = require("react/jsx-runtime");
158
+ var mergeTokens = (overrides) => {
159
+ if (!overrides) {
160
+ return designTokens;
161
+ }
162
+ return {
163
+ colors: {
164
+ ...designTokens.colors,
165
+ ...overrides.colors ?? {}
166
+ },
167
+ spacing: {
168
+ ...designTokens.spacing,
169
+ ...overrides.spacing ?? {}
170
+ },
171
+ borderRadius: {
172
+ ...designTokens.borderRadius,
173
+ ...overrides.borderRadius ?? {}
174
+ },
175
+ textSize: {
176
+ ...designTokens.textSize,
177
+ ...overrides.textSize ?? {}
178
+ },
179
+ breakpoints: {
180
+ ...designTokens.breakpoints,
181
+ ...overrides.breakpoints ?? {}
182
+ }
183
+ };
184
+ };
185
+ var UiProvider = ({ children, tokens }) => {
186
+ const mergedTokens = (0, import_react.useMemo)(() => mergeTokens(tokens), [tokens]);
187
+ const antdTheme = (0, import_react.useMemo)(
188
+ () => getAntdThemeConfig(mergedTokens),
189
+ [mergedTokens]
190
+ );
191
+ return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_antd5.ConfigProvider, { theme: antdTheme, children });
192
+ };
193
+ // Annotate the CommonJS export names for ESM import in node:
194
+ 0 && (module.exports = {
195
+ Button,
196
+ Divider,
197
+ Flex,
198
+ Input,
199
+ UiProvider,
200
+ designTokens
201
+ });
202
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/index.ts","../src/components/button/button.tsx","../src/components/divider/divider.tsx","../src/components/flex/flex.tsx","../src/components/input/input.tsx","../src/theme/design-tokens.ts","../src/theme/ui-provider.tsx","../src/theme/get-antd-tokens.ts"],"sourcesContent":["export * from './components/button';\nexport * from './components/divider';\nexport * from './components/flex';\nexport * from './components/input';\nexport * from './theme';\n","import {Button as AntdButton, type ButtonProps} from 'antd';\n\ntype TProps = ButtonProps;\n\nexport const Button = (props: TProps) => {\n return <AntdButton {...props} />;\n};\n","import {Divider as AntdDivider, type DividerProps} from 'antd';\n\ntype TProps = DividerProps;\n\nexport const Divider = (props: TProps) => {\n return <AntdDivider {...props} />;\n};\n","import {Flex as AntdFlex, type FlexProps} from 'antd';\n\ntype TProps = FlexProps;\n\nexport const Flex = (props: TProps) => {\n return <AntdFlex {...props} />;\n};\n","import {Input as AntdInput, type InputProps} from 'antd';\n\ntype TProps = InputProps;\n\nconst {\n OTP: AntdOTP,\n Password: AntdPassword,\n Search: AntdSearch,\n TextArea: AntdTextArea,\n} = AntdInput;\n\nexport const Input = (props: TProps) => {\n return <AntdInput {...props} />;\n};\n\nInput.TextArea = AntdTextArea;\nInput.Search = AntdSearch;\nInput.Password = AntdPassword;\nInput.OTP = AntdOTP;\n","export type TDesignTokens = {\n colors: {\n textPrimary: string;\n textSecondary: string;\n textDisabled: string;\n\n backgroundPrimary: string;\n backgroundSecondary: string;\n backgroundElevated: string;\n\n borderPrimary: string;\n borderSecondary: string;\n\n accentPrimary: string;\n accentHover: string;\n accentActive: string;\n };\n spacing: {\n xs: number;\n sm: number;\n md: number;\n lg: number;\n };\n borderRadius: {\n sm: number;\n md: number;\n lg: number;\n };\n textSize: {\n xs: number;\n sm: number;\n md: number;\n lg: number;\n xl: number;\n };\n breakpoints: {\n phone: number;\n tablet: number;\n tabletLg: number;\n desktop: number;\n desktopLg: number;\n desktopXl: number;\n };\n};\n\nexport const designTokens: TDesignTokens = {\n borderRadius: {\n sm: 8,\n md: 12,\n lg: 16,\n },\n breakpoints: {\n phone: 480,\n tablet: 768,\n tabletLg: 1024,\n desktop: 1280,\n desktopLg: 1440,\n desktopXl: 1920,\n },\n colors: {\n textPrimary: '#000000',\n textSecondary: '#6B6B6B',\n textDisabled: '#A4A6A8',\n\n backgroundPrimary: '#CBCBCB',\n backgroundSecondary: '#D9D9DC',\n backgroundElevated: '#FFFFFF',\n\n borderPrimary: '#C1C0C0',\n borderSecondary: '#E0E0E0',\n\n accentPrimary: '#4594D1',\n accentHover: '#5AA3DB',\n accentActive: '#2F7AB8',\n },\n spacing: {\n xs: 4,\n sm: 8,\n md: 16,\n lg: 24,\n },\n textSize: {\n xs: 12,\n sm: 14,\n md: 16,\n lg: 24,\n xl: 36,\n },\n};\n","import {type ReactNode, useMemo} from 'react';\n\nimport {ConfigProvider} from 'antd';\n\nimport {designTokens, type TDesignTokens} from './design-tokens';\nimport {getAntdThemeConfig} from './get-antd-tokens';\n\nexport type TUiProviderProps = {\n children: ReactNode;\n tokens?: Partial<TDesignTokens>;\n};\n\nconst mergeTokens = (overrides?: Partial<TDesignTokens>): TDesignTokens => {\n if (!overrides) {\n return designTokens;\n }\n\n return {\n colors: {\n ...designTokens.colors,\n ...(overrides.colors ?? {}),\n },\n spacing: {\n ...designTokens.spacing,\n ...(overrides.spacing ?? {}),\n },\n borderRadius: {\n ...designTokens.borderRadius,\n ...(overrides.borderRadius ?? {}),\n },\n textSize: {\n ...designTokens.textSize,\n ...(overrides.textSize ?? {}),\n },\n breakpoints: {\n ...designTokens.breakpoints,\n ...(overrides.breakpoints ?? {}),\n },\n };\n};\n\nexport const UiProvider = ({children, tokens}: TUiProviderProps) => {\n const mergedTokens = useMemo(() => mergeTokens(tokens), [tokens]);\n\n const antdTheme = useMemo(\n () => getAntdThemeConfig(mergedTokens),\n [mergedTokens]\n );\n\n return <ConfigProvider theme={antdTheme}>{children}</ConfigProvider>;\n};\n","import type {ThemeConfig} from 'antd';\n\nimport {designTokens, type TDesignTokens} from './design-tokens';\n\nexport const getAntdThemeConfig = (\n tokens: TDesignTokens = designTokens\n): ThemeConfig => {\n const palette = tokens.colors;\n\n return {\n components: {\n Button: {\n dangerShadow: 'none',\n defaultShadow: 'none',\n primaryShadow: 'none',\n },\n Divider: {\n colorSplit: palette.borderPrimary,\n },\n Layout: {\n headerBg: palette.backgroundPrimary,\n headerPadding: tokens.spacing.md,\n triggerBg: 'transparent',\n },\n Select: {\n optionSelectedBg: palette.accentPrimary,\n optionSelectedFontWeight: 'normal',\n },\n Typography: {\n fontSize: tokens.textSize.md,\n fontSizeHeading1: tokens.textSize.xl,\n },\n },\n token: {\n borderRadius: tokens.borderRadius.md,\n colorBgBase: palette.backgroundPrimary,\n colorBgContainer: palette.backgroundSecondary,\n colorTextBase: palette.textPrimary,\n colorTextPlaceholder: palette.textSecondary,\n fontFamily:\n \"'Franklin Gothic Medium', 'Arial Narrow',\\n Arial,\\n sans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AAU,CAAC;AAAA,IAC3B;AAAA,IACA,SAAS;AAAA,MACP,GAAG,aAAa;AAAA,MAChB,GAAI,UAAU,WAAW,CAAC;AAAA,IAC5B;AAAA,IACA,cAAc;AAAA,MACZ,GAAG,aAAa;AAAA,MAChB,GAAI,UAAU,gBAAgB,CAAC;AAAA,IACjC;AAAA,IACA,UAAU;AAAA,MACR,GAAG,aAAa;AAAA,MAChB,GAAI,UAAU,YAAY,CAAC;AAAA,IAC7B;AAAA,IACA,aAAa;AAAA,MACX,GAAG,aAAa;AAAA,MAChB,GAAI,UAAU,eAAe,CAAC;AAAA,IAChC;AAAA,EACF;AACF;AAEO,IAAM,aAAa,CAAC,EAAC,UAAU,OAAM,MAAwB;AAClE,QAAM,mBAAe,sBAAQ,MAAM,YAAY,MAAM,GAAG,CAAC,MAAM,CAAC;AAEhE,QAAM,gBAAY;AAAA,IAChB,MAAM,mBAAmB,YAAY;AAAA,IACrC,CAAC,YAAY;AAAA,EACf;AAEA,SAAO,6CAAC,+BAAe,OAAO,WAAY,UAAS;AACrD;","names":["AntdButton","import_antd","import_jsx_runtime","AntdDivider","import_antd","import_jsx_runtime","AntdFlex","import_antd","import_jsx_runtime","AntdInput","import_antd","import_jsx_runtime"]}
package/dist/index.mjs ADDED
@@ -0,0 +1,170 @@
1
+ // src/components/button/button.tsx
2
+ import { Button as AntdButton } from "antd";
3
+ import { jsx } from "react/jsx-runtime";
4
+ var Button = (props) => {
5
+ return /* @__PURE__ */ jsx(AntdButton, { ...props });
6
+ };
7
+
8
+ // src/components/divider/divider.tsx
9
+ import { Divider as AntdDivider } from "antd";
10
+ import { jsx as jsx2 } from "react/jsx-runtime";
11
+ var Divider = (props) => {
12
+ return /* @__PURE__ */ jsx2(AntdDivider, { ...props });
13
+ };
14
+
15
+ // src/components/flex/flex.tsx
16
+ import { Flex as AntdFlex } from "antd";
17
+ import { jsx as jsx3 } from "react/jsx-runtime";
18
+ var Flex = (props) => {
19
+ return /* @__PURE__ */ jsx3(AntdFlex, { ...props });
20
+ };
21
+
22
+ // src/components/input/input.tsx
23
+ import { Input as AntdInput } from "antd";
24
+ import { jsx as jsx4 } from "react/jsx-runtime";
25
+ var {
26
+ OTP: AntdOTP,
27
+ Password: AntdPassword,
28
+ Search: AntdSearch,
29
+ TextArea: AntdTextArea
30
+ } = AntdInput;
31
+ var Input = (props) => {
32
+ return /* @__PURE__ */ jsx4(AntdInput, { ...props });
33
+ };
34
+ Input.TextArea = AntdTextArea;
35
+ Input.Search = AntdSearch;
36
+ Input.Password = AntdPassword;
37
+ Input.OTP = AntdOTP;
38
+
39
+ // src/theme/design-tokens.ts
40
+ var designTokens = {
41
+ borderRadius: {
42
+ sm: 8,
43
+ md: 12,
44
+ lg: 16
45
+ },
46
+ breakpoints: {
47
+ phone: 480,
48
+ tablet: 768,
49
+ tabletLg: 1024,
50
+ desktop: 1280,
51
+ desktopLg: 1440,
52
+ desktopXl: 1920
53
+ },
54
+ colors: {
55
+ textPrimary: "#000000",
56
+ textSecondary: "#6B6B6B",
57
+ textDisabled: "#A4A6A8",
58
+ backgroundPrimary: "#CBCBCB",
59
+ backgroundSecondary: "#D9D9DC",
60
+ backgroundElevated: "#FFFFFF",
61
+ borderPrimary: "#C1C0C0",
62
+ borderSecondary: "#E0E0E0",
63
+ accentPrimary: "#4594D1",
64
+ accentHover: "#5AA3DB",
65
+ accentActive: "#2F7AB8"
66
+ },
67
+ spacing: {
68
+ xs: 4,
69
+ sm: 8,
70
+ md: 16,
71
+ lg: 24
72
+ },
73
+ textSize: {
74
+ xs: 12,
75
+ sm: 14,
76
+ md: 16,
77
+ lg: 24,
78
+ xl: 36
79
+ }
80
+ };
81
+
82
+ // src/theme/ui-provider.tsx
83
+ import { useMemo } from "react";
84
+ import { ConfigProvider } from "antd";
85
+
86
+ // src/theme/get-antd-tokens.ts
87
+ var getAntdThemeConfig = (tokens = designTokens) => {
88
+ const palette = tokens.colors;
89
+ return {
90
+ components: {
91
+ Button: {
92
+ dangerShadow: "none",
93
+ defaultShadow: "none",
94
+ primaryShadow: "none"
95
+ },
96
+ Divider: {
97
+ colorSplit: palette.borderPrimary
98
+ },
99
+ Layout: {
100
+ headerBg: palette.backgroundPrimary,
101
+ headerPadding: tokens.spacing.md,
102
+ triggerBg: "transparent"
103
+ },
104
+ Select: {
105
+ optionSelectedBg: palette.accentPrimary,
106
+ optionSelectedFontWeight: "normal"
107
+ },
108
+ Typography: {
109
+ fontSize: tokens.textSize.md,
110
+ fontSizeHeading1: tokens.textSize.xl
111
+ }
112
+ },
113
+ token: {
114
+ borderRadius: tokens.borderRadius.md,
115
+ colorBgBase: palette.backgroundPrimary,
116
+ colorBgContainer: palette.backgroundSecondary,
117
+ colorTextBase: palette.textPrimary,
118
+ colorTextPlaceholder: palette.textSecondary,
119
+ fontFamily: "'Franklin Gothic Medium', 'Arial Narrow',\n Arial,\n sans-serif;",
120
+ fontSize: tokens.textSize.md
121
+ }
122
+ };
123
+ };
124
+
125
+ // src/theme/ui-provider.tsx
126
+ import { jsx as jsx5 } from "react/jsx-runtime";
127
+ var mergeTokens = (overrides) => {
128
+ if (!overrides) {
129
+ return designTokens;
130
+ }
131
+ return {
132
+ colors: {
133
+ ...designTokens.colors,
134
+ ...overrides.colors ?? {}
135
+ },
136
+ spacing: {
137
+ ...designTokens.spacing,
138
+ ...overrides.spacing ?? {}
139
+ },
140
+ borderRadius: {
141
+ ...designTokens.borderRadius,
142
+ ...overrides.borderRadius ?? {}
143
+ },
144
+ textSize: {
145
+ ...designTokens.textSize,
146
+ ...overrides.textSize ?? {}
147
+ },
148
+ breakpoints: {
149
+ ...designTokens.breakpoints,
150
+ ...overrides.breakpoints ?? {}
151
+ }
152
+ };
153
+ };
154
+ var UiProvider = ({ children, tokens }) => {
155
+ const mergedTokens = useMemo(() => mergeTokens(tokens), [tokens]);
156
+ const antdTheme = useMemo(
157
+ () => getAntdThemeConfig(mergedTokens),
158
+ [mergedTokens]
159
+ );
160
+ return /* @__PURE__ */ jsx5(ConfigProvider, { theme: antdTheme, children });
161
+ };
162
+ export {
163
+ Button,
164
+ Divider,
165
+ Flex,
166
+ Input,
167
+ UiProvider,
168
+ designTokens
169
+ };
170
+ //# sourceMappingURL=index.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/components/button/button.tsx","../src/components/divider/divider.tsx","../src/components/flex/flex.tsx","../src/components/input/input.tsx","../src/theme/design-tokens.ts","../src/theme/ui-provider.tsx","../src/theme/get-antd-tokens.ts"],"sourcesContent":["import {Button as AntdButton, type ButtonProps} from 'antd';\n\ntype TProps = ButtonProps;\n\nexport const Button = (props: TProps) => {\n return <AntdButton {...props} />;\n};\n","import {Divider as AntdDivider, type DividerProps} from 'antd';\n\ntype TProps = DividerProps;\n\nexport const Divider = (props: TProps) => {\n return <AntdDivider {...props} />;\n};\n","import {Flex as AntdFlex, type FlexProps} from 'antd';\n\ntype TProps = FlexProps;\n\nexport const Flex = (props: TProps) => {\n return <AntdFlex {...props} />;\n};\n","import {Input as AntdInput, type InputProps} from 'antd';\n\ntype TProps = InputProps;\n\nconst {\n OTP: AntdOTP,\n Password: AntdPassword,\n Search: AntdSearch,\n TextArea: AntdTextArea,\n} = AntdInput;\n\nexport const Input = (props: TProps) => {\n return <AntdInput {...props} />;\n};\n\nInput.TextArea = AntdTextArea;\nInput.Search = AntdSearch;\nInput.Password = AntdPassword;\nInput.OTP = AntdOTP;\n","export type TDesignTokens = {\n colors: {\n textPrimary: string;\n textSecondary: string;\n textDisabled: string;\n\n backgroundPrimary: string;\n backgroundSecondary: string;\n backgroundElevated: string;\n\n borderPrimary: string;\n borderSecondary: string;\n\n accentPrimary: string;\n accentHover: string;\n accentActive: string;\n };\n spacing: {\n xs: number;\n sm: number;\n md: number;\n lg: number;\n };\n borderRadius: {\n sm: number;\n md: number;\n lg: number;\n };\n textSize: {\n xs: number;\n sm: number;\n md: number;\n lg: number;\n xl: number;\n };\n breakpoints: {\n phone: number;\n tablet: number;\n tabletLg: number;\n desktop: number;\n desktopLg: number;\n desktopXl: number;\n };\n};\n\nexport const designTokens: TDesignTokens = {\n borderRadius: {\n sm: 8,\n md: 12,\n lg: 16,\n },\n breakpoints: {\n phone: 480,\n tablet: 768,\n tabletLg: 1024,\n desktop: 1280,\n desktopLg: 1440,\n desktopXl: 1920,\n },\n colors: {\n textPrimary: '#000000',\n textSecondary: '#6B6B6B',\n textDisabled: '#A4A6A8',\n\n backgroundPrimary: '#CBCBCB',\n backgroundSecondary: '#D9D9DC',\n backgroundElevated: '#FFFFFF',\n\n borderPrimary: '#C1C0C0',\n borderSecondary: '#E0E0E0',\n\n accentPrimary: '#4594D1',\n accentHover: '#5AA3DB',\n accentActive: '#2F7AB8',\n },\n spacing: {\n xs: 4,\n sm: 8,\n md: 16,\n lg: 24,\n },\n textSize: {\n xs: 12,\n sm: 14,\n md: 16,\n lg: 24,\n xl: 36,\n },\n};\n","import {type ReactNode, useMemo} from 'react';\n\nimport {ConfigProvider} from 'antd';\n\nimport {designTokens, type TDesignTokens} from './design-tokens';\nimport {getAntdThemeConfig} from './get-antd-tokens';\n\nexport type TUiProviderProps = {\n children: ReactNode;\n tokens?: Partial<TDesignTokens>;\n};\n\nconst mergeTokens = (overrides?: Partial<TDesignTokens>): TDesignTokens => {\n if (!overrides) {\n return designTokens;\n }\n\n return {\n colors: {\n ...designTokens.colors,\n ...(overrides.colors ?? {}),\n },\n spacing: {\n ...designTokens.spacing,\n ...(overrides.spacing ?? {}),\n },\n borderRadius: {\n ...designTokens.borderRadius,\n ...(overrides.borderRadius ?? {}),\n },\n textSize: {\n ...designTokens.textSize,\n ...(overrides.textSize ?? {}),\n },\n breakpoints: {\n ...designTokens.breakpoints,\n ...(overrides.breakpoints ?? {}),\n },\n };\n};\n\nexport const UiProvider = ({children, tokens}: TUiProviderProps) => {\n const mergedTokens = useMemo(() => mergeTokens(tokens), [tokens]);\n\n const antdTheme = useMemo(\n () => getAntdThemeConfig(mergedTokens),\n [mergedTokens]\n );\n\n return <ConfigProvider theme={antdTheme}>{children}</ConfigProvider>;\n};\n","import type {ThemeConfig} from 'antd';\n\nimport {designTokens, type TDesignTokens} from './design-tokens';\n\nexport const getAntdThemeConfig = (\n tokens: TDesignTokens = designTokens\n): ThemeConfig => {\n const palette = tokens.colors;\n\n return {\n components: {\n Button: {\n dangerShadow: 'none',\n defaultShadow: 'none',\n primaryShadow: 'none',\n },\n Divider: {\n colorSplit: palette.borderPrimary,\n },\n Layout: {\n headerBg: palette.backgroundPrimary,\n headerPadding: tokens.spacing.md,\n triggerBg: 'transparent',\n },\n Select: {\n optionSelectedBg: palette.accentPrimary,\n optionSelectedFontWeight: 'normal',\n },\n Typography: {\n fontSize: tokens.textSize.md,\n fontSizeHeading1: tokens.textSize.xl,\n },\n },\n token: {\n borderRadius: tokens.borderRadius.md,\n colorBgBase: palette.backgroundPrimary,\n colorBgContainer: palette.backgroundSecondary,\n colorTextBase: palette.textPrimary,\n colorTextPlaceholder: palette.textSecondary,\n fontFamily:\n \"'Franklin Gothic Medium', 'Arial Narrow',\\n Arial,\\n sans-serif;\",\n fontSize: tokens.textSize.md,\n },\n };\n};\n"],"mappings":";AAAA,SAAQ,UAAU,kBAAmC;AAK5C;AADF,IAAM,SAAS,CAAC,UAAkB;AACvC,SAAO,oBAAC,cAAY,GAAG,OAAO;AAChC;;;ACNA,SAAQ,WAAW,mBAAqC;AAK/C,gBAAAA,YAAA;AADF,IAAM,UAAU,CAAC,UAAkB;AACxC,SAAO,gBAAAA,KAAC,eAAa,GAAG,OAAO;AACjC;;;ACNA,SAAQ,QAAQ,gBAA+B;AAKtC,gBAAAC,YAAA;AADF,IAAM,OAAO,CAAC,UAAkB;AACrC,SAAO,gBAAAA,KAAC,YAAU,GAAG,OAAO;AAC9B;;;ACNA,SAAQ,SAAS,iBAAiC;AAYzC,gBAAAC,YAAA;AART,IAAM;AAAA,EACJ,KAAK;AAAA,EACL,UAAU;AAAA,EACV,QAAQ;AAAA,EACR,UAAU;AACZ,IAAI;AAEG,IAAM,QAAQ,CAA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sx","jsx"]}
package/package.json ADDED
@@ -0,0 +1,100 @@
1
+ {
2
+ "name": "@new_york_style/project-template-ui",
3
+ "version": "1.0.0",
4
+ "description": "React UI Kit for Project Template",
5
+ "license": "MIT",
6
+ "private": false,
7
+ "scripts": {
8
+ "build": "tsup",
9
+ "test": "jest",
10
+ "test:coverage": "jest --coverage",
11
+ "storybook": "storybook dev -p 6006",
12
+ "build-storybook": "storybook build",
13
+ "semantic-release": "semantic-release",
14
+ "semantic-release:dry-run": "semantic-release --dry-run",
15
+ "prepare": "husky install",
16
+ "prettier:check": "prettier --check \"**/*.{ts,tsx,js,md,mdx,css,yaml}\"",
17
+ "prettier:format": "prettier --write \"**/*.{ts,tsx,js,md,mdx,css,yaml}\""
18
+ },
19
+ "lint-staged": {
20
+ "*.{ts,tsx,js,jsx}": [
21
+ "eslint --fix",
22
+ "prettier --write"
23
+ ],
24
+ "*.{json,md,yml,yaml,css,scss}": [
25
+ "prettier --write"
26
+ ]
27
+ },
28
+ "main": "dist/index.js",
29
+ "module": "dist/index.mjs",
30
+ "types": "dist/index.d.ts",
31
+ "files": [
32
+ "dist"
33
+ ],
34
+ "sideEffects": false,
35
+ "publishConfig": {
36
+ "access": "public"
37
+ },
38
+ "repository": {
39
+ "type": "git",
40
+ "url": "https://github.com/NewYorkStyle/project-template-ui.git"
41
+ },
42
+ "bugs": {
43
+ "url": "https://github.com/NewYorkStyle/project-template-ui/issues"
44
+ },
45
+ "homepage": "https://newyorkstyle.github.io/project-template-ui/",
46
+ "peerDependencies": {
47
+ "antd": "^6",
48
+ "react": "^18 || ^19",
49
+ "react-dom": "^18 || ^19"
50
+ },
51
+ "devDependencies": {
52
+ "@eslint/js": "9.39.3",
53
+ "@semantic-release/changelog": "6.0.3",
54
+ "@semantic-release/git": "10.0.1",
55
+ "@semantic-release/github": "11.0.6",
56
+ "@semantic-release/npm": "12.0.2",
57
+ "@storybook/addon-a11y": "10.2.12",
58
+ "@storybook/addon-docs": "10.2.12",
59
+ "@storybook/addon-webpack5-compiler-swc": "4.0.2",
60
+ "@storybook/react-webpack5": "10.2.12",
61
+ "@testing-library/jest-dom": "6.9.1",
62
+ "@testing-library/react": "16.3.2",
63
+ "@testing-library/user-event": "14.6.1",
64
+ "@types/jest": "30.0.0",
65
+ "@types/react": "19.2.14",
66
+ "@types/react-dom": "19.2.3",
67
+ "@typescript-eslint/eslint-plugin": "8.56.1",
68
+ "@typescript-eslint/parser": "8.56.1",
69
+ "antd": "6",
70
+ "conventional-changelog-conventionalcommits": "9.1.0",
71
+ "css-loader": "6.8.1",
72
+ "eslint": "9.39.3",
73
+ "eslint-config-prettier": "10.1.8",
74
+ "eslint-import-resolver-typescript": "4.4.4",
75
+ "eslint-plugin-import": "2.32.0",
76
+ "eslint-plugin-prettier": "5.5.5",
77
+ "eslint-plugin-sort-destructure-keys": "3.0.0",
78
+ "eslint-plugin-storybook": "10.2.12",
79
+ "globals": "17.3.0",
80
+ "husky": "8.0.3",
81
+ "jest": "30.2.0",
82
+ "jest-environment-jsdom": "30.2.0",
83
+ "lint-staged": "15.2.10",
84
+ "prettier": "3.6.2",
85
+ "react": "19.2.4",
86
+ "react-dom": "19.2.4",
87
+ "sass": "1.80.5",
88
+ "sass-loader": "16.0.3",
89
+ "semantic-release": "24.2.9",
90
+ "storybook": "10.2.12",
91
+ "style-loader": "3.3.3",
92
+ "style-resources-loader": "1.5.0",
93
+ "ts-jest": "29.4.6",
94
+ "ts-loader": "9.5.4",
95
+ "ts-node": "10.9.2",
96
+ "tsup": "8.5.1",
97
+ "typescript": "5.9.3",
98
+ "typescript-eslint": "8.56.1"
99
+ }
100
+ }