@pago-sh/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/.turbo/turbo-build.log +195 -0
- package/CHANGELOG.md +47 -0
- package/README.md +22 -0
- package/components.json +17 -0
- package/dist/chunk-2RCGDEGJ.mjs +1 -0
- package/dist/chunk-3GDNSYGJ.mjs +1 -0
- package/dist/chunk-4TCUGB6E.mjs +1 -0
- package/dist/chunk-6XCXQA5L.mjs +1 -0
- package/dist/chunk-BBYR3CIF.mjs +1 -0
- package/dist/chunk-CFBUY7KY.mjs +1 -0
- package/dist/chunk-CHG2VB73.mjs +1 -0
- package/dist/chunk-GCVBVZU7.mjs +1 -0
- package/dist/chunk-HRGUR4R2.mjs +1 -0
- package/dist/chunk-IVU4SSCD.mjs +1 -0
- package/dist/chunk-N6WI5TGM.mjs +1 -0
- package/dist/chunk-OTKGECM3.mjs +1 -0
- package/dist/chunk-SRZFZUN4.mjs +1 -0
- package/dist/chunk-VPECET7P.mjs +1 -0
- package/dist/chunk-WQPSZXQS.mjs +1 -0
- package/dist/chunk-YXNT3UEO.mjs +1 -0
- package/dist/components/atoms/Accordion.d.mts +20 -0
- package/dist/components/atoms/Accordion.d.ts +20 -0
- package/dist/components/atoms/Accordion.js +1 -0
- package/dist/components/atoms/Accordion.mjs +1 -0
- package/dist/components/atoms/Card.d.mts +18 -0
- package/dist/components/atoms/Card.d.ts +18 -0
- package/dist/components/atoms/Card.js +1 -0
- package/dist/components/atoms/Card.mjs +1 -0
- package/dist/components/atoms/Combobox.d.mts +24 -0
- package/dist/components/atoms/Combobox.d.ts +24 -0
- package/dist/components/atoms/Combobox.js +1 -0
- package/dist/components/atoms/Combobox.mjs +1 -0
- package/dist/components/atoms/CopyToClipboardInput.d.mts +12 -0
- package/dist/components/atoms/CopyToClipboardInput.d.ts +12 -0
- package/dist/components/atoms/CopyToClipboardInput.js +1 -0
- package/dist/components/atoms/CopyToClipboardInput.mjs +1 -0
- package/dist/components/atoms/CountryPicker.d.mts +16 -0
- package/dist/components/atoms/CountryPicker.d.ts +16 -0
- package/dist/components/atoms/CountryPicker.js +1 -0
- package/dist/components/atoms/CountryPicker.mjs +1 -0
- package/dist/components/atoms/CountryStatePicker.d.mts +18 -0
- package/dist/components/atoms/CountryStatePicker.d.ts +18 -0
- package/dist/components/atoms/CountryStatePicker.js +1 -0
- package/dist/components/atoms/CountryStatePicker.mjs +1 -0
- package/dist/components/atoms/DateTimePicker.d.mts +10 -0
- package/dist/components/atoms/DateTimePicker.d.ts +10 -0
- package/dist/components/atoms/DateTimePicker.js +1 -0
- package/dist/components/atoms/DateTimePicker.mjs +1 -0
- package/dist/components/atoms/DropdownMenu.d.mts +22 -0
- package/dist/components/atoms/DropdownMenu.d.ts +22 -0
- package/dist/components/atoms/DropdownMenu.js +1 -0
- package/dist/components/atoms/DropdownMenu.mjs +1 -0
- package/dist/components/atoms/FormattedDateTime.d.mts +10 -0
- package/dist/components/atoms/FormattedDateTime.d.ts +10 -0
- package/dist/components/atoms/FormattedDateTime.js +1 -0
- package/dist/components/atoms/FormattedDateTime.mjs +1 -0
- package/dist/components/atoms/FormattedInterval.d.mts +9 -0
- package/dist/components/atoms/FormattedInterval.d.ts +9 -0
- package/dist/components/atoms/FormattedInterval.js +1 -0
- package/dist/components/atoms/FormattedInterval.mjs +1 -0
- package/dist/components/atoms/InputOTP.d.mts +4 -0
- package/dist/components/atoms/InputOTP.d.ts +4 -0
- package/dist/components/atoms/InputOTP.js +1 -0
- package/dist/components/atoms/InputOTP.mjs +1 -0
- package/dist/components/atoms/MoneyInput.d.mts +21 -0
- package/dist/components/atoms/MoneyInput.d.ts +21 -0
- package/dist/components/atoms/MoneyInput.js +1 -0
- package/dist/components/atoms/MoneyInput.mjs +1 -0
- package/dist/components/atoms/Paginator.d.mts +21 -0
- package/dist/components/atoms/Paginator.d.ts +21 -0
- package/dist/components/atoms/Paginator.js +1 -0
- package/dist/components/atoms/Paginator.mjs +1 -0
- package/dist/components/atoms/PagoTimeAgo.d.mts +8 -0
- package/dist/components/atoms/PagoTimeAgo.d.ts +8 -0
- package/dist/components/atoms/PagoTimeAgo.js +1 -0
- package/dist/components/atoms/PagoTimeAgo.mjs +1 -0
- package/dist/components/atoms/PercentageInput.d.mts +19 -0
- package/dist/components/atoms/PercentageInput.d.ts +19 -0
- package/dist/components/atoms/PercentageInput.js +1 -0
- package/dist/components/atoms/PercentageInput.mjs +1 -0
- package/dist/components/atoms/ShadowBox.d.mts +14 -0
- package/dist/components/atoms/ShadowBox.d.ts +14 -0
- package/dist/components/atoms/ShadowBox.js +1 -0
- package/dist/components/atoms/ShadowBox.mjs +1 -0
- package/dist/components/atoms/ShadowBoxOnMd.d.mts +6 -0
- package/dist/components/atoms/ShadowBoxOnMd.d.ts +6 -0
- package/dist/components/atoms/ShadowBoxOnMd.js +1 -0
- package/dist/components/atoms/ShadowBoxOnMd.mjs +1 -0
- package/dist/components/atoms/Sidebar.d.mts +11 -0
- package/dist/components/atoms/Sidebar.d.ts +11 -0
- package/dist/components/atoms/Sidebar.js +1 -0
- package/dist/components/atoms/Sidebar.mjs +1 -0
- package/dist/components/molecules/Banner.d.mts +11 -0
- package/dist/components/molecules/Banner.d.ts +11 -0
- package/dist/components/molecules/Banner.js +1 -0
- package/dist/components/molecules/Banner.mjs +1 -0
- package/dist/components/ui/accordion.d.mts +19 -0
- package/dist/components/ui/accordion.d.ts +19 -0
- package/dist/components/ui/accordion.js +1 -0
- package/dist/components/ui/accordion.mjs +1 -0
- package/dist/components/ui/alert-dialog.d.mts +41 -0
- package/dist/components/ui/alert-dialog.d.ts +41 -0
- package/dist/components/ui/alert-dialog.js +1 -0
- package/dist/components/ui/alert-dialog.mjs +1 -0
- package/dist/components/ui/calendar.d.mts +12 -0
- package/dist/components/ui/calendar.d.ts +12 -0
- package/dist/components/ui/calendar.js +1 -0
- package/dist/components/ui/calendar.mjs +1 -0
- package/dist/components/ui/card.d.mts +23 -0
- package/dist/components/ui/card.d.ts +23 -0
- package/dist/components/ui/card.js +1 -0
- package/dist/components/ui/card.mjs +1 -0
- package/dist/components/ui/chart.d.mts +55 -0
- package/dist/components/ui/chart.d.ts +55 -0
- package/dist/components/ui/chart.js +7 -0
- package/dist/components/ui/chart.mjs +7 -0
- package/dist/components/ui/checkbox.d.mts +2 -0
- package/dist/components/ui/checkbox.d.ts +2 -0
- package/dist/components/ui/checkbox.js +1 -0
- package/dist/components/ui/checkbox.mjs +1 -0
- package/dist/components/ui/command.d.mts +36 -0
- package/dist/components/ui/command.d.ts +36 -0
- package/dist/components/ui/command.js +1 -0
- package/dist/components/ui/command.mjs +1 -0
- package/dist/components/ui/dialog.d.mts +34 -0
- package/dist/components/ui/dialog.d.ts +34 -0
- package/dist/components/ui/dialog.js +1 -0
- package/dist/components/ui/dialog.mjs +1 -0
- package/dist/components/ui/dropdown-menu.d.mts +23 -0
- package/dist/components/ui/dropdown-menu.d.ts +23 -0
- package/dist/components/ui/dropdown-menu.js +1 -0
- package/dist/components/ui/dropdown-menu.mjs +1 -0
- package/dist/components/ui/form.d.mts +43 -0
- package/dist/components/ui/form.d.ts +43 -0
- package/dist/components/ui/form.js +1 -0
- package/dist/components/ui/form.mjs +1 -0
- package/dist/components/ui/input-otp.d.mts +21 -0
- package/dist/components/ui/input-otp.d.ts +21 -0
- package/dist/components/ui/input-otp.js +1 -0
- package/dist/components/ui/input-otp.mjs +1 -0
- package/dist/components/ui/label.d.mts +9 -0
- package/dist/components/ui/label.d.ts +9 -0
- package/dist/components/ui/label.js +1 -0
- package/dist/components/ui/label.mjs +1 -0
- package/dist/components/ui/popover.d.mts +12 -0
- package/dist/components/ui/popover.d.ts +12 -0
- package/dist/components/ui/popover.js +1 -0
- package/dist/components/ui/popover.mjs +1 -0
- package/dist/components/ui/radio-group.d.mts +14 -0
- package/dist/components/ui/radio-group.d.ts +14 -0
- package/dist/components/ui/radio-group.js +1 -0
- package/dist/components/ui/radio-group.mjs +1 -0
- package/dist/components/ui/separator.d.mts +10 -0
- package/dist/components/ui/separator.d.ts +10 -0
- package/dist/components/ui/separator.js +1 -0
- package/dist/components/ui/separator.mjs +1 -0
- package/dist/components/ui/sheet.d.mts +43 -0
- package/dist/components/ui/sheet.d.ts +43 -0
- package/dist/components/ui/sheet.js +1 -0
- package/dist/components/ui/sheet.mjs +1 -0
- package/dist/components/ui/sidebar.d.mts +149 -0
- package/dist/components/ui/sidebar.d.ts +149 -0
- package/dist/components/ui/sidebar.js +1 -0
- package/dist/components/ui/sidebar.mjs +1 -0
- package/dist/components/ui/tooltip.d.mts +1 -0
- package/dist/components/ui/tooltip.d.ts +1 -0
- package/dist/components/ui/tooltip.js +1 -0
- package/dist/components/ui/tooltip.mjs +1 -0
- package/dist/hooks/theming.d.mts +76 -0
- package/dist/hooks/theming.d.ts +76 -0
- package/dist/hooks/theming.js +1 -0
- package/dist/hooks/theming.mjs +1 -0
- package/dist/hooks/use-mobile.d.mts +3 -0
- package/dist/hooks/use-mobile.d.ts +3 -0
- package/dist/hooks/use-mobile.js +1 -0
- package/dist/hooks/use-mobile.mjs +1 -0
- package/dist/lib/meterUnit.d.mts +34 -0
- package/dist/lib/meterUnit.d.ts +34 -0
- package/dist/lib/meterUnit.js +1 -0
- package/dist/lib/meterUnit.mjs +1 -0
- package/dist/lib/utils.d.mts +5 -0
- package/dist/lib/utils.d.ts +5 -0
- package/dist/lib/utils.js +1 -0
- package/dist/lib/utils.mjs +1 -0
- package/eslint.config.mjs +18 -0
- package/package.json +74 -0
- package/src/components/atoms/Accordion.tsx +56 -0
- package/src/components/atoms/Card.tsx +52 -0
- package/src/components/atoms/Combobox.tsx +166 -0
- package/src/components/atoms/CopyToClipboardInput.tsx +72 -0
- package/src/components/atoms/CountryPicker.tsx +81 -0
- package/src/components/atoms/CountryStatePicker.tsx +155 -0
- package/src/components/atoms/DateTimePicker.tsx +69 -0
- package/src/components/atoms/DropdownMenu.tsx +68 -0
- package/src/components/atoms/FormattedDateTime.tsx +58 -0
- package/src/components/atoms/FormattedInterval.tsx +81 -0
- package/src/components/atoms/InputOTP.tsx +7 -0
- package/src/components/atoms/MoneyInput.tsx +297 -0
- package/src/components/atoms/Paginator.tsx +227 -0
- package/src/components/atoms/PagoTimeAgo.tsx +19 -0
- package/src/components/atoms/PercentageInput.tsx +97 -0
- package/src/components/atoms/ShadowBox.tsx +26 -0
- package/src/components/atoms/ShadowBoxOnMd.tsx +20 -0
- package/src/components/atoms/Sidebar.tsx +1 -0
- package/src/components/molecules/Banner.tsx +42 -0
- package/src/components/ui/accordion.tsx +63 -0
- package/src/components/ui/alert-dialog.tsx +147 -0
- package/src/components/ui/calendar.tsx +81 -0
- package/src/components/ui/card.tsx +47 -0
- package/src/components/ui/chart.tsx +372 -0
- package/src/components/ui/checkbox.tsx +3 -0
- package/src/components/ui/command.tsx +133 -0
- package/src/components/ui/dialog.tsx +127 -0
- package/src/components/ui/dropdown-menu.tsx +74 -0
- package/src/components/ui/form.tsx +180 -0
- package/src/components/ui/input-otp.tsx +68 -0
- package/src/components/ui/label.tsx +25 -0
- package/src/components/ui/popover.tsx +34 -0
- package/src/components/ui/radio-group.tsx +46 -0
- package/src/components/ui/separator.tsx +29 -0
- package/src/components/ui/sheet.tsx +149 -0
- package/src/components/ui/sidebar.tsx +742 -0
- package/src/components/ui/tooltip.tsx +8 -0
- package/src/hooks/theming.ts +87 -0
- package/src/hooks/use-mobile.ts +19 -0
- package/src/lib/meterUnit.ts +52 -0
- package/src/lib/utils.ts +6 -0
- package/tsconfig.json +15 -0
- package/tsup.config.ts +11 -0
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import { type Appearance } from '@stripe/stripe-js'
|
|
2
|
+
|
|
3
|
+
export interface ThemingPresetProps {
|
|
4
|
+
stripe: Appearance
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
export const getThemePreset = (theme: 'light' | 'dark') => {
|
|
8
|
+
const inputBoxShadow =
|
|
9
|
+
theme === 'dark'
|
|
10
|
+
? 'none'
|
|
11
|
+
: 'rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0.05) 0px 1px 2px 0px'
|
|
12
|
+
const focusBoxShadow =
|
|
13
|
+
theme === 'dark'
|
|
14
|
+
? 'rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 71, 184, 0.4) 0px 0px 0px 3px, rgba(0, 0, 0, 0.05) 0px 1px 2px 0px'
|
|
15
|
+
: 'rgb(255, 255, 255) 0px 0px 0px 0px, rgb(204, 224, 255) 0px 0px 0px 3px, rgba(0, 0, 0, 0.05) 0px 1px 2px 0px'
|
|
16
|
+
|
|
17
|
+
return {
|
|
18
|
+
stripe: {
|
|
19
|
+
theme: theme === 'dark' ? 'night' : 'stripe',
|
|
20
|
+
rules: {
|
|
21
|
+
'.Label': {
|
|
22
|
+
color: theme === 'dark' ? 'white' : 'black',
|
|
23
|
+
fontWeight: '500',
|
|
24
|
+
fontSize: '14px',
|
|
25
|
+
marginBottom: '8px',
|
|
26
|
+
},
|
|
27
|
+
'.PickerItem': {
|
|
28
|
+
padding: '12px',
|
|
29
|
+
backgroundColor: theme === 'dark' ? 'rgb(23 23 25)' : 'white',
|
|
30
|
+
color: theme === 'dark' ? '#E5E5E1' : '#181A1F',
|
|
31
|
+
borderRadius: '0.75rem',
|
|
32
|
+
boxShadow: inputBoxShadow,
|
|
33
|
+
borderColor: 'transparent',
|
|
34
|
+
},
|
|
35
|
+
'.PickerItem--selected': {
|
|
36
|
+
backgroundColor: theme === 'dark' ? 'rgb(23 23 25)' : 'white',
|
|
37
|
+
borderColor: '#0062FF',
|
|
38
|
+
borderWidth: '2px',
|
|
39
|
+
},
|
|
40
|
+
'.PickerItem--selected:hover': {
|
|
41
|
+
backgroundColor: theme === 'dark' ? 'rgb(23 23 25)' : 'white',
|
|
42
|
+
},
|
|
43
|
+
'.Input': {
|
|
44
|
+
padding: '12px',
|
|
45
|
+
backgroundColor: theme === 'dark' ? 'rgb(23 23 25)' : 'white',
|
|
46
|
+
color: theme === 'dark' ? '#E5E5E1' : '#181A1F',
|
|
47
|
+
borderRadius: '0.75rem',
|
|
48
|
+
borderColor: theme === 'dark' ? 'rgb(36, 36.5, 40.5)' : '#EEE',
|
|
49
|
+
boxShadow: inputBoxShadow,
|
|
50
|
+
},
|
|
51
|
+
'.Input:focus': {
|
|
52
|
+
borderColor:
|
|
53
|
+
theme === 'dark' ? 'rgb(0, 84, 219)' : 'rgb(102, 161, 255)',
|
|
54
|
+
boxShadow: focusBoxShadow,
|
|
55
|
+
},
|
|
56
|
+
'.Tab': {
|
|
57
|
+
backgroundColor: theme === 'dark' ? 'rgb(23 23 25)' : 'white',
|
|
58
|
+
borderColor: theme === 'dark' ? 'rgb(36, 36.5, 40.5)' : '#EEE',
|
|
59
|
+
},
|
|
60
|
+
'.Tab--selected': {
|
|
61
|
+
backgroundColor: 'rgb(51, 129, 255)',
|
|
62
|
+
boxShadow: focusBoxShadow,
|
|
63
|
+
border: 'none',
|
|
64
|
+
},
|
|
65
|
+
'.Tab:focus': {
|
|
66
|
+
boxShadow: focusBoxShadow,
|
|
67
|
+
},
|
|
68
|
+
'.TabLabel--selected': {
|
|
69
|
+
color: 'white',
|
|
70
|
+
},
|
|
71
|
+
'.TabIcon--selected': {
|
|
72
|
+
fill: 'white',
|
|
73
|
+
},
|
|
74
|
+
'.Block': {
|
|
75
|
+
backgroundColor: 'transparent',
|
|
76
|
+
borderColor: theme === 'dark' ? '#353641' : '#EEE',
|
|
77
|
+
},
|
|
78
|
+
},
|
|
79
|
+
variables: {
|
|
80
|
+
borderRadius: '8px',
|
|
81
|
+
fontSizeBase: '1rem',
|
|
82
|
+
spacingGridRow: '18px',
|
|
83
|
+
colorDanger: theme === 'dark' ? '#F17878' : '#E64D4D',
|
|
84
|
+
},
|
|
85
|
+
},
|
|
86
|
+
} satisfies ThemingPresetProps
|
|
87
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import * as React from 'react'
|
|
2
|
+
|
|
3
|
+
const MOBILE_BREAKPOINT = 768
|
|
4
|
+
|
|
5
|
+
export function useIsMobile() {
|
|
6
|
+
const [isMobile, setIsMobile] = React.useState<boolean | undefined>(undefined)
|
|
7
|
+
|
|
8
|
+
React.useEffect(() => {
|
|
9
|
+
const mql = window.matchMedia(`(max-width: ${MOBILE_BREAKPOINT - 1}px)`)
|
|
10
|
+
const onChange = () => {
|
|
11
|
+
setIsMobile(window.innerWidth < MOBILE_BREAKPOINT)
|
|
12
|
+
}
|
|
13
|
+
mql.addEventListener('change', onChange)
|
|
14
|
+
setIsMobile(window.innerWidth < MOBILE_BREAKPOINT)
|
|
15
|
+
return () => mql.removeEventListener('change', onChange)
|
|
16
|
+
}, [])
|
|
17
|
+
|
|
18
|
+
return !!isMobile
|
|
19
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
export type MeterUnit = 'scalar' | 'token' | 'custom'
|
|
2
|
+
|
|
3
|
+
export interface MeterUnitFormat {
|
|
4
|
+
/**
|
|
5
|
+
* Factor to multiply unit_amount (in cents) by to get the price at display
|
|
6
|
+
* scale. For example, token uses 1_000_000 so "$0.00001/token" becomes
|
|
7
|
+
* "$10 / 1M tokens".
|
|
8
|
+
*/
|
|
9
|
+
scale: number
|
|
10
|
+
/** Human-readable denominator shown after the price, e.g. "1M tokens". */
|
|
11
|
+
label: string
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
const UNIT_FORMATS: Record<Exclude<MeterUnit, 'custom'>, MeterUnitFormat> = {
|
|
15
|
+
scalar: { scale: 1, label: 'unit' },
|
|
16
|
+
token: { scale: 1_000_000, label: '1M tokens' },
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* Returns the display scale and unit label for a given meter unit.
|
|
21
|
+
*
|
|
22
|
+
* For custom units, pass `customLabel` and `customMultiplier` to override the
|
|
23
|
+
* defaults. Without them, custom units fall back to scalar (scale=1, label="unit").
|
|
24
|
+
*
|
|
25
|
+
* @example
|
|
26
|
+
* // Token: $10 / 1M tokens
|
|
27
|
+
* const { scale, label } = getMeterUnitFormat('token')
|
|
28
|
+
* const displayAmount = unitAmountCents * scale // 0.001 * 1_000_000 = 1000 cents = $10
|
|
29
|
+
*
|
|
30
|
+
* @example
|
|
31
|
+
* // Custom: $5 / 1000 requests
|
|
32
|
+
* const { scale, label } = getMeterUnitFormat('custom', { customLabel: 'requests', customMultiplier: 1000 })
|
|
33
|
+
* const displayAmount = unitAmountCents * scale // 0.5 * 1000 = 500 cents = $5
|
|
34
|
+
*/
|
|
35
|
+
export function getMeterUnitFormat(
|
|
36
|
+
unit: MeterUnit,
|
|
37
|
+
options?: { customLabel?: string | null; customMultiplier?: number | null },
|
|
38
|
+
): MeterUnitFormat {
|
|
39
|
+
if (unit === 'custom') {
|
|
40
|
+
return {
|
|
41
|
+
scale: options?.customMultiplier ?? 1,
|
|
42
|
+
label: options?.customLabel ?? 'unit',
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
return UNIT_FORMATS[unit] ?? UNIT_FORMATS.scalar
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
export const METER_UNIT_DISPLAY_NAMES: Record<MeterUnit, string> = {
|
|
49
|
+
scalar: 'Scalar',
|
|
50
|
+
token: 'Token',
|
|
51
|
+
custom: 'Custom',
|
|
52
|
+
}
|
package/src/lib/utils.ts
ADDED
package/tsconfig.json
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
{
|
|
2
|
+
"extends": "@pago-sh/typescript-config/react-library.json",
|
|
3
|
+
"compilerOptions": {
|
|
4
|
+
"baseUrl": "src/",
|
|
5
|
+
"allowSyntheticDefaultImports": true,
|
|
6
|
+
"lib": ["esnext", "dom"],
|
|
7
|
+
"module": "esnext",
|
|
8
|
+
"moduleResolution": "bundler",
|
|
9
|
+
"paths": {
|
|
10
|
+
"@/*": ["./*"]
|
|
11
|
+
}
|
|
12
|
+
},
|
|
13
|
+
"include": ["src/**/*.ts", "src/**/*.tsx"],
|
|
14
|
+
"exclude": ["dist", "build", "node_modules", "openapi", "scripts"]
|
|
15
|
+
}
|
package/tsup.config.ts
ADDED