diff --git a/lib/package.json b/lib/package.json index d446bed12..b60031f7a 100644 --- a/lib/package.json +++ b/lib/package.json @@ -1,6 +1,6 @@ { "name": "welcome-ui", - "version": "1.0.0-beta.6", + "version": "1.0.0-beta.8", "description": "Customizable design system with react • styled-components • styled-system and ariakit.", "files": [ "dist" diff --git a/lib/src/theme/index.ts b/lib/src/theme/index.ts index da876b2d7..fa4857aab 100644 --- a/lib/src/theme/index.ts +++ b/lib/src/theme/index.ts @@ -264,7 +264,7 @@ export const createTheme = (options: ThemeProps = {}): ThemeValues => { theme.links = getLinks(theme) theme.loaders = getLoaders(theme) theme.modals = getModals(theme) - theme.pagination = getPagination(theme) + theme.paginations = getPagination(theme) theme.popovers = getPopovers(theme) theme.radios = getRadios(theme) theme.radiosTab = getRadioTabs(theme) diff --git a/lib/vite.config.mjs b/lib/vite.config.mjs index c85d4bd5a..6a7f548cf 100644 --- a/lib/vite.config.mjs +++ b/lib/vite.config.mjs @@ -29,11 +29,37 @@ export default defineConfig({ name: 'Welcome UI', }, rollupOptions: { - external: ['react', '@xstyled/styled-components'], + external: [ + 'react', + '@xstyled/styled-components', + '@juggle/resize-observer', + '@xstyled/styled-components', + 'copy-to-clipboard', + 'date-fns', + 'downshift', + 'lottie-light-react', + 'match-sorter', + 'react-datepicker', + 'react-dropzone', + 'react-flatten-children', + 'react-hot-toast', + 'styled-components', + ], output: { globals: { react: 'React', '@xstyled/styled-components': 'XStyled', + '@juggle/resize-observer': 'ResizeObserver', + 'copy-to-clipboard': 'copyToClipboard', + 'date-fns': 'DateFns', + downshift: 'Downshift', + 'lottie-light-react': 'Lottie', + 'match-sorter': 'matchSorter', + 'react-datepicker': 'ReactDatepicker', + 'react-dropzone': 'ReactDropzone', + 'react-flatten-children': 'FlattenChildren', + 'react-hot-toast': 'RHT', + 'styled-components': 'Styled', }, }, },