├── packages
├── forms
│ ├── src
│ │ ├── variables.ts
│ │ ├── components
│ │ │ ├── fields
│ │ │ │ ├── Input
│ │ │ │ │ └── index.ts
│ │ │ │ ├── Range
│ │ │ │ │ └── index.ts
│ │ │ │ ├── Select
│ │ │ │ │ └── index.ts
│ │ │ │ ├── Switch
│ │ │ │ │ └── index.ts
│ │ │ │ ├── Options
│ │ │ │ │ ├── index.tsx
│ │ │ │ │ └── options.css
│ │ │ │ ├── Repeater
│ │ │ │ │ └── index.ts
│ │ │ │ ├── DateTimePicker
│ │ │ │ │ └── index.ts
│ │ │ │ ├── Media
│ │ │ │ │ └── index.ts
│ │ │ │ └── index.ts
│ │ │ └── index.ts
│ │ ├── context
│ │ │ └── index.ts
│ │ ├── helpers
│ │ │ └── index.ts
│ │ └── index.ts
│ ├── .eslintrc.js
│ ├── README.md
│ ├── tsup.config.ts
│ ├── tsconfig.json
│ ├── jest.config.js
│ └── package.json
├── config
│ ├── build-tools
│ │ ├── README.md
│ │ ├── src
│ │ │ ├── index.ts
│ │ │ ├── plugins
│ │ │ │ ├── index.ts
│ │ │ │ └── css-combine.ts
│ │ │ └── tsup.ts
│ │ ├── tsconfig.json
│ │ └── package.json
│ ├── eslint-config-next-app
│ │ ├── index.js
│ │ └── package.json
│ ├── tsconfig
│ │ ├── react-library.json
│ │ ├── package.json
│ │ ├── next.json
│ │ └── base.json
│ └── eslint-config-library
│ │ ├── index.js
│ │ └── package.json
├── data
│ ├── tests
│ │ ├── SmartGrid.cy.tsx
│ │ └── SmartTable.cy.tsx
│ ├── README.md
│ ├── src
│ │ ├── components
│ │ │ ├── SmartGrid
│ │ │ │ ├── GridPagination.tsx
│ │ │ │ ├── index.ts
│ │ │ │ └── GridSearch.tsx
│ │ │ ├── SmartTable
│ │ │ │ ├── index.ts
│ │ │ │ ├── ExportButton.tsx
│ │ │ │ ├── TablePagination.tsx
│ │ │ │ └── reducer.ts
│ │ │ └── index.ts
│ │ ├── hooks
│ │ │ ├── index.ts
│ │ │ └── useSmartTable.ts
│ │ ├── index.ts
│ │ ├── styles
│ │ │ └── pagination.css
│ │ └── utils.ts
│ ├── .eslintrc.js
│ ├── tsconfig.json
│ ├── tsup.config.ts
│ ├── jest.config.js
│ ├── CHANGELOG.md
│ └── package.json
├── layout
│ ├── tests
│ │ ├── Workspace.cy.tsx
│ │ ├── useLayout.cy.tsx
│ │ ├── useMenu.cy.tsx
│ │ ├── MenuButton.cy.tsx
│ │ ├── useColorTheme.cy.tsx
│ │ ├── Layout.cy.tsx
│ │ └── setup.tsx
│ ├── .eslintrc.js
│ ├── tsconfig.json
│ ├── src
│ │ ├── components
│ │ │ ├── index.ts
│ │ │ └── ResponsiveStyle.tsx
│ │ ├── styles
│ │ │ ├── global.css
│ │ │ ├── topbar.css
│ │ │ ├── utility.css
│ │ │ └── mobile-menu.css
│ │ └── index.ts
│ ├── tsup.config.ts
│ └── package.json
├── scroll
│ ├── README.md
│ ├── .eslintrc.js
│ ├── tsconfig.json
│ ├── src
│ │ ├── components
│ │ │ └── index.ts
│ │ ├── index.ts
│ │ └── styles
│ │ │ ├── parallax.css
│ │ │ └── scrollbox.css
│ ├── tsup.config.ts
│ └── package.json
├── lightbox
│ ├── test
│ │ └── Lightbox.cy.tsx
│ ├── README.md
│ ├── .eslintrc.js
│ ├── src
│ │ ├── components
│ │ │ ├── index.ts
│ │ │ ├── Lightbox.tsx
│ │ │ ├── NavButton.tsx
│ │ │ └── Icons.tsx
│ │ ├── index.ts
│ │ └── variables.ts
│ ├── tsconfig.json
│ ├── tsup.config.ts
│ └── package.json
├── notifications
│ ├── tests
│ │ ├── Toast.cy.tsx
│ │ └── CookieNotice.cy.tsx
│ ├── README.md
│ ├── .eslintrc.js
│ ├── src
│ │ ├── components
│ │ │ └── index.ts
│ │ ├── index.ts
│ │ ├── variables.ts
│ │ └── hooks
│ │ │ └── index.ts
│ ├── tsconfig.json
│ ├── tsup.config.ts
│ └── package.json
├── layout-server
│ ├── globals.d.ts
│ ├── .eslintrc.js
│ ├── tsconfig.json
│ ├── tsup.config.ts
│ ├── src
│ │ ├── components
│ │ │ ├── Main.tsx
│ │ │ ├── Footer.tsx
│ │ │ ├── Sidebar.tsx
│ │ │ ├── Skiplinks.tsx
│ │ │ └── Topbar.tsx
│ │ ├── index.ts
│ │ └── defaults.ts
│ ├── tests
│ │ ├── Main.cy.tsx
│ │ └── Sidebar.cy.tsx
│ └── package.json
├── studio
│ ├── src
│ │ ├── components
│ │ │ ├── ResizeHandle
│ │ │ │ ├── resize-handle.css
│ │ │ │ └── index.ts
│ │ │ ├── Editor
│ │ │ │ └── index.ts
│ │ │ ├── GridMenu
│ │ │ │ └── index.ts
│ │ │ ├── GapControl
│ │ │ │ ├── index.ts
│ │ │ │ └── gap-control.css
│ │ │ └── Grid
│ │ │ │ └── index.ts
│ │ └── index.ts
│ ├── .eslintrc.js
│ ├── tsconfig.json
│ ├── tsup.config.ts
│ ├── package.json
│ └── CHANGELOG.md
├── generative
│ ├── README.md
│ ├── .eslintrc.js
│ ├── tsconfig.json
│ ├── src
│ │ ├── index.ts
│ │ └── utils.ts
│ ├── tsup.config.ts
│ └── package.json
├── maker-ui
│ ├── src
│ │ ├── hooks.ts
│ │ ├── utils.ts
│ │ ├── modal.ts
│ │ ├── spinners.ts
│ │ ├── data.ts
│ │ ├── popovers.ts
│ │ ├── forms.ts
│ │ ├── transition.ts
│ │ ├── tabs.ts
│ │ ├── carousel.ts
│ │ ├── accordion.ts
│ │ ├── scroll.ts
│ │ ├── lightbox.ts
│ │ ├── index.ts
│ │ ├── notifications.ts
│ │ ├── social.ts
│ │ └── layout.ts
│ ├── tsconfig.json
│ ├── README.md
│ └── tsup.config.ts
├── tabs
│ ├── README.md
│ ├── .eslintrc.js
│ ├── tsconfig.json
│ ├── src
│ │ ├── index.ts
│ │ ├── variables.ts
│ │ └── TabPanel.tsx
│ ├── tsup.config.ts
│ └── package.json
├── toc
│ ├── README.md
│ ├── .eslintrc.js
│ ├── src
│ │ └── index.ts
│ ├── tsconfig.json
│ ├── tsup.config.ts
│ └── package.json
├── carousel
│ ├── README.md
│ ├── src
│ │ ├── hooks
│ │ │ ├── index.ts
│ │ │ └── usePrevious.ts
│ │ ├── helpers
│ │ │ ├── index.ts
│ │ │ └── position.ts
│ │ ├── index.ts
│ │ ├── default-props.tsx
│ │ ├── variables.ts
│ │ └── components
│ │ │ └── Arrow.tsx
│ ├── globals.d.ts
│ ├── .eslintrc.js
│ ├── tsup.config.ts
│ ├── tsconfig.json
│ └── package.json
├── modal
│ ├── README.md
│ ├── .eslintrc.js
│ ├── src
│ │ ├── index.ts
│ │ └── Portal.tsx
│ ├── tsconfig.json
│ ├── types.ts
│ ├── tsup.config.ts
│ ├── tests
│ │ └── Portal.cy.tsx
│ └── package.json
├── social
│ ├── README.md
│ ├── .eslintrc.js
│ ├── tsconfig.json
│ ├── src
│ │ ├── index.ts
│ │ ├── icons
│ │ │ ├── x.svg
│ │ │ ├── facebook.svg
│ │ │ ├── linkedin.svg
│ │ │ ├── tiktok.svg
│ │ │ ├── website.svg
│ │ │ └── youtube.svg
│ │ ├── svgr
│ │ │ ├── index.ts
│ │ │ ├── X.tsx
│ │ │ ├── Facebook.tsx
│ │ │ ├── Linkedin.tsx
│ │ │ ├── Tiktok.tsx
│ │ │ ├── Website.tsx
│ │ │ └── Youtube.tsx
│ │ ├── types.ts
│ │ └── defaults.tsx
│ ├── tsup.config.ts
│ └── package.json
├── utils
│ ├── README.md
│ ├── .eslintrc.js
│ ├── tsconfig.json
│ ├── src
│ │ └── index.ts
│ ├── tsup.config.ts
│ ├── jest.config.js
│ └── package.json
├── popovers
│ ├── README.md
│ ├── .eslintrc.js
│ ├── src
│ │ ├── components
│ │ │ └── index.ts
│ │ ├── index.ts
│ │ ├── styles
│ │ │ ├── popover.css
│ │ │ └── tooltip.css
│ │ └── variables.ts
│ ├── tsconfig.json
│ ├── tsup.config.ts
│ └── package.json
├── spinners
│ ├── README.md
│ ├── src
│ │ ├── index.ts
│ │ └── Spinner
│ │ │ ├── index.ts
│ │ │ ├── Basic.tsx
│ │ │ ├── Bars.tsx
│ │ │ ├── Gear.tsx
│ │ │ ├── Pulse.tsx
│ │ │ └── Blocks.tsx
│ ├── .eslintrc.js
│ ├── tsconfig.json
│ ├── tsup.config.ts
│ └── package.json
├── hooks
│ ├── .eslintrc.js
│ ├── tsconfig.json
│ ├── README.md
│ ├── tsup.config.ts
│ ├── src
│ │ └── index.ts
│ └── package.json
├── style
│ ├── .eslintrc.js
│ ├── README.md
│ ├── tsconfig.json
│ ├── src
│ │ ├── index.ts
│ │ └── Style.tsx
│ ├── tsup.config.ts
│ ├── jest.config.js
│ └── package.json
├── accordion
│ ├── .eslintrc.js
│ ├── src
│ │ ├── index.ts
│ │ └── variables.ts
│ ├── tsconfig.json
│ ├── tsup.config.ts
│ └── package.json
├── transition
│ ├── .eslintrc.js
│ ├── tsconfig.json
│ ├── README.md
│ ├── src
│ │ └── index.ts
│ ├── tsup.config.ts
│ └── package.json
└── layout-client
│ ├── .eslintrc.js
│ ├── tsconfig.json
│ ├── src
│ ├── hooks
│ │ ├── index.ts
│ │ ├── useLayout.ts
│ │ └── useTheme.ts
│ ├── index.ts
│ └── components
│ │ ├── index.ts
│ │ ├── LayoutSettings.tsx
│ │ └── Div.tsx
│ ├── tsup.config.ts
│ └── package.json
├── apps
├── docs
│ ├── src
│ │ ├── styles
│ │ │ ├── _utility.scss
│ │ │ ├── styles.scss
│ │ │ └── _global.scss
│ │ ├── components
│ │ │ ├── Demo
│ │ │ │ └── index.ts
│ │ │ ├── Search
│ │ │ │ ├── index.ts
│ │ │ │ └── Search.tsx
│ │ │ ├── CodeBlock
│ │ │ │ ├── index.ts
│ │ │ │ └── CodeBlock.tsx
│ │ │ ├── PageContents
│ │ │ │ └── index.ts
│ │ │ ├── NavArea
│ │ │ │ ├── index.ts
│ │ │ │ └── NavArea.tsx
│ │ │ ├── PostNavigation
│ │ │ │ └── index.ts
│ │ │ ├── ReferenceLayout
│ │ │ │ └── index.ts
│ │ │ ├── CopyButton
│ │ │ │ ├── index.ts
│ │ │ │ └── CopyButton.tsx
│ │ │ ├── Table.tsx
│ │ │ ├── Callout.tsx
│ │ │ ├── index.ts
│ │ │ ├── Heading.tsx
│ │ │ └── MDXLink.tsx
│ │ ├── app
│ │ │ ├── favicon.ico
│ │ │ ├── apple-icon.png
│ │ │ ├── api-reference
│ │ │ │ ├── page.tsx
│ │ │ │ └── components
│ │ │ │ │ └── accordion
│ │ │ │ │ ├── _examples
│ │ │ │ │ └── example-1.mdx
│ │ │ │ │ ├── layout.tsx
│ │ │ │ │ └── page.tsx
│ │ │ ├── page.tsx
│ │ │ └── sitemap.ts
│ │ └── utils
│ │ │ ├── index.ts
│ │ │ ├── flatten-menu.ts
│ │ │ └── file-size.ts
│ ├── temp
│ │ └── docs
│ │ │ ├── hooks.mdx
│ │ │ ├── carousel.mdx
│ │ │ ├── elements
│ │ │ ├── tabs.mdx
│ │ │ ├── modal.mdx
│ │ │ ├── accordion.mdx
│ │ │ ├── dropdown.mdx
│ │ │ ├── generate.mdx
│ │ │ ├── index.mdx
│ │ │ ├── popover.mdx
│ │ │ ├── spinner.mdx
│ │ │ ├── tooltip.mdx
│ │ │ ├── announcement.mdx
│ │ │ ├── cookie-notice.mdx
│ │ │ ├── page-transition.mdx
│ │ │ └── table-of-contents.mdx
│ │ │ ├── forms
│ │ │ ├── form.mdx
│ │ │ ├── fields.mdx
│ │ │ ├── index.mdx
│ │ │ ├── pagination.mdx
│ │ │ ├── submission.mdx
│ │ │ └── validation.mdx
│ │ │ ├── lightbox.mdx
│ │ │ ├── layout
│ │ │ ├── index.mdx
│ │ │ ├── section.mdx
│ │ │ ├── color-button.mdx
│ │ │ ├── menus.mdx
│ │ │ └── side-nav.mdx
│ │ │ ├── utilities.mdx
│ │ │ ├── maker-ui-options.mdx
│ │ │ ├── contribute.mdx
│ │ │ └── faqs.mdx
│ ├── .eslintrc.js
│ ├── README.md
│ ├── next-env.d.ts
│ ├── types.d.ts
│ ├── mdx-components.tsx
│ ├── next.config.mjs
│ ├── package.json
│ └── tsconfig.json
└── v2
│ ├── .eslintrc.js
│ ├── public
│ ├── favicon.ico
│ └── images
│ │ └── cosmos.jpeg
│ ├── src
│ ├── components
│ │ ├── client.ts
│ │ └── CustomCollapse.tsx
│ ├── app
│ │ ├── layout
│ │ │ ├── both
│ │ │ │ ├── page.tsx
│ │ │ │ └── layout.tsx
│ │ │ ├── page.tsx
│ │ │ ├── left-panel
│ │ │ │ ├── page.tsx
│ │ │ │ └── layout.tsx
│ │ │ └── right-panel
│ │ │ │ ├── page.tsx
│ │ │ │ └── layout.tsx
│ │ ├── components
│ │ │ ├── transition
│ │ │ │ └── page.tsx
│ │ │ ├── page.tsx
│ │ │ ├── notifications
│ │ │ │ └── page.tsx
│ │ │ ├── forms
│ │ │ │ ├── page.tsx
│ │ │ │ ├── layout.scss
│ │ │ │ └── layout.tsx
│ │ │ ├── spinners
│ │ │ │ └── page.tsx
│ │ │ ├── layout.tsx
│ │ │ ├── accordion
│ │ │ │ └── page.tsx
│ │ │ └── social
│ │ │ │ └── page.tsx
│ │ ├── page.tsx
│ │ └── studio
│ │ │ ├── page.tsx
│ │ │ └── page.css
│ └── styles
│ │ └── global.css
│ ├── next-env.d.ts
│ ├── next.config.js
│ ├── .gitignore
│ ├── package.json
│ ├── README.md
│ └── tsconfig.json
├── pnpm-workspace.yaml
├── cypress
├── tsconfig.json
├── fixtures
│ └── example.json
└── support
│ ├── component-index.html
│ └── component.ts
├── .github
├── CODEOWNERS
├── ISSUE_TEMPLATE
│ └── config.yml
└── workflows
│ └── release.yml
├── .prettierrc
├── global-types.ts
├── cypress.config.ts
├── .changeset
├── config.json
└── README.md
├── .gitignore
└── turbo.json
/packages/forms/src/variables.ts:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/apps/docs/src/styles/_utility.scss:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/packages/config/build-tools/README.md:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/packages/data/tests/SmartGrid.cy.tsx:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/packages/data/tests/SmartTable.cy.tsx:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/packages/layout/tests/Workspace.cy.tsx:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/packages/layout/tests/useLayout.cy.tsx:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/packages/layout/tests/useMenu.cy.tsx:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/apps/docs/temp/docs/hooks.mdx:
--------------------------------------------------------------------------------
1 | # Hooks
2 |
--------------------------------------------------------------------------------
/packages/layout/tests/MenuButton.cy.tsx:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/packages/layout/tests/useColorTheme.cy.tsx:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/apps/docs/temp/docs/carousel.mdx:
--------------------------------------------------------------------------------
1 | # Carousel
2 |
--------------------------------------------------------------------------------
/apps/docs/temp/docs/elements/tabs.mdx:
--------------------------------------------------------------------------------
1 | # Tabs
2 |
--------------------------------------------------------------------------------
/apps/docs/temp/docs/forms/form.mdx:
--------------------------------------------------------------------------------
1 | # Form
2 |
--------------------------------------------------------------------------------
/apps/docs/temp/docs/lightbox.mdx:
--------------------------------------------------------------------------------
1 | # Lightbox
2 |
--------------------------------------------------------------------------------
/packages/data/README.md:
--------------------------------------------------------------------------------
1 | # @maker-ui/data
2 |
--------------------------------------------------------------------------------
/packages/scroll/README.md:
--------------------------------------------------------------------------------
1 | # @maker-ui/scroll
2 |
--------------------------------------------------------------------------------
/apps/docs/temp/docs/elements/modal.mdx:
--------------------------------------------------------------------------------
1 | # Modal
2 |
--------------------------------------------------------------------------------
/apps/docs/temp/docs/forms/fields.mdx:
--------------------------------------------------------------------------------
1 | # Fields
2 |
--------------------------------------------------------------------------------
/apps/docs/temp/docs/forms/index.mdx:
--------------------------------------------------------------------------------
1 | # Forms API
2 |
--------------------------------------------------------------------------------
/apps/docs/temp/docs/layout/index.mdx:
--------------------------------------------------------------------------------
1 | # Layout API
2 |
--------------------------------------------------------------------------------
/apps/docs/temp/docs/layout/section.mdx:
--------------------------------------------------------------------------------
1 | # Section
2 |
--------------------------------------------------------------------------------
/apps/docs/temp/docs/utilities.mdx:
--------------------------------------------------------------------------------
1 | # Utilities
2 |
--------------------------------------------------------------------------------
/packages/lightbox/test/Lightbox.cy.tsx:
--------------------------------------------------------------------------------
1 | // todo
2 |
--------------------------------------------------------------------------------
/packages/notifications/tests/Toast.cy.tsx:
--------------------------------------------------------------------------------
1 | // Todo
2 |
--------------------------------------------------------------------------------
/apps/docs/temp/docs/elements/accordion.mdx:
--------------------------------------------------------------------------------
1 | # Accordion
2 |
--------------------------------------------------------------------------------
/apps/docs/temp/docs/elements/dropdown.mdx:
--------------------------------------------------------------------------------
1 | # Dropdown
2 |
--------------------------------------------------------------------------------
/apps/docs/temp/docs/elements/generate.mdx:
--------------------------------------------------------------------------------
1 | # Generate
2 |
--------------------------------------------------------------------------------
/apps/docs/temp/docs/elements/index.mdx:
--------------------------------------------------------------------------------
1 | # Elements API
2 |
--------------------------------------------------------------------------------
/apps/docs/temp/docs/elements/popover.mdx:
--------------------------------------------------------------------------------
1 | # Popover
2 |
--------------------------------------------------------------------------------
/apps/docs/temp/docs/elements/spinner.mdx:
--------------------------------------------------------------------------------
1 | # Spinner
2 |
--------------------------------------------------------------------------------
/apps/docs/temp/docs/elements/tooltip.mdx:
--------------------------------------------------------------------------------
1 | # Tooltip
2 |
--------------------------------------------------------------------------------
/apps/docs/temp/docs/forms/pagination.mdx:
--------------------------------------------------------------------------------
1 | # Pagination
2 |
--------------------------------------------------------------------------------
/apps/docs/temp/docs/forms/submission.mdx:
--------------------------------------------------------------------------------
1 | # Submission
2 |
--------------------------------------------------------------------------------
/apps/docs/temp/docs/forms/validation.mdx:
--------------------------------------------------------------------------------
1 | # Validation
2 |
--------------------------------------------------------------------------------
/packages/data/src/components/SmartGrid/GridPagination.tsx:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/apps/docs/temp/docs/layout/color-button.mdx:
--------------------------------------------------------------------------------
1 | # ColorButton
2 |
--------------------------------------------------------------------------------
/packages/layout-server/globals.d.ts:
--------------------------------------------------------------------------------
1 | declare module '*.css'
2 |
--------------------------------------------------------------------------------
/packages/studio/src/components/ResizeHandle/resize-handle.css:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/apps/docs/temp/docs/elements/announcement.mdx:
--------------------------------------------------------------------------------
1 | # Announcement
2 |
--------------------------------------------------------------------------------
/apps/docs/temp/docs/elements/cookie-notice.mdx:
--------------------------------------------------------------------------------
1 | # Cookie Notice
2 |
--------------------------------------------------------------------------------
/packages/generative/README.md:
--------------------------------------------------------------------------------
1 | # Carousel
2 |
3 | Coming soon...
4 |
--------------------------------------------------------------------------------
/packages/maker-ui/src/hooks.ts:
--------------------------------------------------------------------------------
1 | export * from '@maker-ui/hooks'
2 |
--------------------------------------------------------------------------------
/packages/maker-ui/src/utils.ts:
--------------------------------------------------------------------------------
1 | export * from '@maker-ui/utils'
2 |
--------------------------------------------------------------------------------
/packages/tabs/README.md:
--------------------------------------------------------------------------------
1 | # @maker-ui/tabs
2 |
3 | Coming soon...
4 |
--------------------------------------------------------------------------------
/packages/toc/README.md:
--------------------------------------------------------------------------------
1 | # @maker-ui/toc
2 |
3 | Coming soon...
4 |
--------------------------------------------------------------------------------
/apps/docs/src/components/Demo/index.ts:
--------------------------------------------------------------------------------
1 | export { Demo } from './Demo'
2 |
--------------------------------------------------------------------------------
/apps/docs/temp/docs/elements/page-transition.mdx:
--------------------------------------------------------------------------------
1 | # Page Transition
2 |
--------------------------------------------------------------------------------
/apps/docs/temp/docs/elements/table-of-contents.mdx:
--------------------------------------------------------------------------------
1 | # TableofContents
2 |
--------------------------------------------------------------------------------
/packages/carousel/README.md:
--------------------------------------------------------------------------------
1 | # @maker-ui/carousel
2 |
3 | Coming soon
4 |
--------------------------------------------------------------------------------
/packages/modal/README.md:
--------------------------------------------------------------------------------
1 | # @maker-ui/modal
2 |
3 | Coming soon...
4 |
--------------------------------------------------------------------------------
/packages/social/README.md:
--------------------------------------------------------------------------------
1 | # @maker-ui/social
2 |
3 | Coming soon...
4 |
--------------------------------------------------------------------------------
/packages/utils/README.md:
--------------------------------------------------------------------------------
1 | # @maker-ui/utils
2 |
3 | Coming soon...
4 |
--------------------------------------------------------------------------------
/apps/docs/src/components/Search/index.ts:
--------------------------------------------------------------------------------
1 | export { Search } from './Search'
2 |
--------------------------------------------------------------------------------
/packages/lightbox/README.md:
--------------------------------------------------------------------------------
1 | # @maker-ui/lightbox
2 |
3 | Coming soon...
4 |
--------------------------------------------------------------------------------
/packages/popovers/README.md:
--------------------------------------------------------------------------------
1 | # @maker-ui/popovers
2 |
3 | Coming soon...
4 |
--------------------------------------------------------------------------------
/packages/spinners/README.md:
--------------------------------------------------------------------------------
1 | # @maker-ui/spinners
2 |
3 | Coming soon...
4 |
--------------------------------------------------------------------------------
/packages/config/build-tools/src/index.ts:
--------------------------------------------------------------------------------
1 | export { buildConfig } from './tsup'
2 |
--------------------------------------------------------------------------------
/packages/maker-ui/src/modal.ts:
--------------------------------------------------------------------------------
1 | export { Modal, Portal } from '@maker-ui/modal'
2 |
--------------------------------------------------------------------------------
/packages/maker-ui/src/spinners.ts:
--------------------------------------------------------------------------------
1 | export { Spinner } from '@maker-ui/spinners'
2 |
--------------------------------------------------------------------------------
/packages/notifications/README.md:
--------------------------------------------------------------------------------
1 | # @maker-ui/notifications
2 |
3 | Coming Soon
4 |
--------------------------------------------------------------------------------
/apps/docs/src/components/CodeBlock/index.ts:
--------------------------------------------------------------------------------
1 | export { CodeBlock } from './CodeBlock'
2 |
--------------------------------------------------------------------------------
/apps/docs/temp/docs/maker-ui-options.mdx:
--------------------------------------------------------------------------------
1 | # Maker UI Options
2 |
3 | Test content
4 |
--------------------------------------------------------------------------------
/packages/carousel/src/hooks/index.ts:
--------------------------------------------------------------------------------
1 | export { usePrevious } from './usePrevious'
2 |
--------------------------------------------------------------------------------
/packages/forms/src/components/fields/Input/index.ts:
--------------------------------------------------------------------------------
1 | export { Input } from './Input'
2 |
--------------------------------------------------------------------------------
/packages/forms/src/components/fields/Range/index.ts:
--------------------------------------------------------------------------------
1 | export { Range } from './Range'
2 |
--------------------------------------------------------------------------------
/packages/studio/src/components/Editor/index.ts:
--------------------------------------------------------------------------------
1 | export { Editor } from './Editor'
2 |
--------------------------------------------------------------------------------
/apps/docs/.eslintrc.js:
--------------------------------------------------------------------------------
1 | module.exports = {
2 | root: true,
3 | extends: ['next-app'],
4 | }
--------------------------------------------------------------------------------
/apps/docs/temp/docs/contribute.mdx:
--------------------------------------------------------------------------------
1 | # Contribute
2 |
3 | ## Code Style
4 |
5 | ## Tests
6 |
--------------------------------------------------------------------------------
/apps/v2/.eslintrc.js:
--------------------------------------------------------------------------------
1 | module.exports = {
2 | root: true,
3 | extends: ['next-app'],
4 | }
--------------------------------------------------------------------------------
/packages/carousel/globals.d.ts:
--------------------------------------------------------------------------------
1 | declare module '*.module.css'
2 | declare module '*.css'
3 |
--------------------------------------------------------------------------------
/packages/forms/src/components/fields/Select/index.ts:
--------------------------------------------------------------------------------
1 | export { Select } from './Select'
2 |
--------------------------------------------------------------------------------
/packages/forms/src/components/fields/Switch/index.ts:
--------------------------------------------------------------------------------
1 | export { Switch } from './Switch'
2 |
--------------------------------------------------------------------------------
/packages/spinners/src/index.ts:
--------------------------------------------------------------------------------
1 | export { Spinner, type SpinnerProps } from './Spinner'
2 |
--------------------------------------------------------------------------------
/packages/studio/src/components/GridMenu/index.ts:
--------------------------------------------------------------------------------
1 | export { GridMenu } from './GridMenu'
2 |
--------------------------------------------------------------------------------
/apps/docs/src/components/PageContents/index.ts:
--------------------------------------------------------------------------------
1 | export { PageContents } from './PageContents'
2 |
--------------------------------------------------------------------------------
/packages/forms/src/components/fields/Options/index.tsx:
--------------------------------------------------------------------------------
1 | export { Options } from './Options'
2 |
--------------------------------------------------------------------------------
/packages/forms/src/components/fields/Repeater/index.ts:
--------------------------------------------------------------------------------
1 | export { Repeater } from './Repeater'
2 |
--------------------------------------------------------------------------------
/packages/spinners/src/Spinner/index.ts:
--------------------------------------------------------------------------------
1 | export { Spinner, type SpinnerProps } from './Spinner'
2 |
--------------------------------------------------------------------------------
/packages/studio/src/components/GapControl/index.ts:
--------------------------------------------------------------------------------
1 | export { GapControl } from './GapControl'
2 |
--------------------------------------------------------------------------------
/packages/studio/src/components/Grid/index.ts:
--------------------------------------------------------------------------------
1 | export { Grid, type GridAction } from './Grid'
2 |
--------------------------------------------------------------------------------
/apps/docs/src/components/NavArea/index.ts:
--------------------------------------------------------------------------------
1 | export { DesktopWidgets, SharedWidgets } from './NavArea'
2 |
--------------------------------------------------------------------------------
/apps/docs/src/components/PostNavigation/index.ts:
--------------------------------------------------------------------------------
1 | export { PostNavigation } from './PostNavigation'
2 |
--------------------------------------------------------------------------------
/packages/carousel/src/helpers/index.ts:
--------------------------------------------------------------------------------
1 | export * from './position'
2 | export * from './navigation'
3 |
--------------------------------------------------------------------------------
/packages/data/.eslintrc.js:
--------------------------------------------------------------------------------
1 | module.exports = {
2 | root: true,
3 | extends: ['library'],
4 | }
5 |
--------------------------------------------------------------------------------
/packages/forms/.eslintrc.js:
--------------------------------------------------------------------------------
1 | module.exports = {
2 | root: true,
3 | extends: ['library'],
4 | }
5 |
--------------------------------------------------------------------------------
/packages/hooks/.eslintrc.js:
--------------------------------------------------------------------------------
1 | module.exports = {
2 | root: true,
3 | extends: ['library'],
4 | }
5 |
--------------------------------------------------------------------------------
/packages/layout/.eslintrc.js:
--------------------------------------------------------------------------------
1 | module.exports = {
2 | root: true,
3 | extends: ['library'],
4 | }
5 |
--------------------------------------------------------------------------------
/packages/maker-ui/src/data.ts:
--------------------------------------------------------------------------------
1 | export * from '@maker-ui/data'
2 | import '../../data/dist/index.css'
3 |
--------------------------------------------------------------------------------
/packages/maker-ui/src/popovers.ts:
--------------------------------------------------------------------------------
1 | export { Popover, Dropdown, Tooltip } from '@maker-ui/popovers'
2 |
--------------------------------------------------------------------------------
/packages/modal/.eslintrc.js:
--------------------------------------------------------------------------------
1 | module.exports = {
2 | root: true,
3 | extends: ['library'],
4 | }
5 |
--------------------------------------------------------------------------------
/packages/scroll/.eslintrc.js:
--------------------------------------------------------------------------------
1 | module.exports = {
2 | root: true,
3 | extends: ['library'],
4 | }
5 |
--------------------------------------------------------------------------------
/packages/social/.eslintrc.js:
--------------------------------------------------------------------------------
1 | module.exports = {
2 | root: true,
3 | extends: ['library'],
4 | }
5 |
--------------------------------------------------------------------------------
/packages/studio/.eslintrc.js:
--------------------------------------------------------------------------------
1 | module.exports = {
2 | root: true,
3 | extends: ['library'],
4 | }
5 |
--------------------------------------------------------------------------------
/packages/studio/src/components/ResizeHandle/index.ts:
--------------------------------------------------------------------------------
1 | export { ResizeHandle } from './ResizeHandle'
2 |
--------------------------------------------------------------------------------
/packages/style/.eslintrc.js:
--------------------------------------------------------------------------------
1 | module.exports = {
2 | root: true,
3 | extends: ['library'],
4 | }
5 |
--------------------------------------------------------------------------------
/packages/tabs/.eslintrc.js:
--------------------------------------------------------------------------------
1 | module.exports = {
2 | root: true,
3 | extends: ['library'],
4 | }
5 |
--------------------------------------------------------------------------------
/packages/toc/.eslintrc.js:
--------------------------------------------------------------------------------
1 | module.exports = {
2 | root: true,
3 | extends: ['library'],
4 | }
5 |
--------------------------------------------------------------------------------
/packages/toc/src/index.ts:
--------------------------------------------------------------------------------
1 | export { PageContents, type PageContentsProps } from './PageContents'
2 |
--------------------------------------------------------------------------------
/packages/utils/.eslintrc.js:
--------------------------------------------------------------------------------
1 | module.exports = {
2 | root: true,
3 | extends: ['library'],
4 | }
5 |
--------------------------------------------------------------------------------
/pnpm-workspace.yaml:
--------------------------------------------------------------------------------
1 | packages:
2 | - 'apps/*'
3 | - 'packages/*'
4 | - 'packages/config/*'
5 |
--------------------------------------------------------------------------------
/apps/docs/src/components/ReferenceLayout/index.ts:
--------------------------------------------------------------------------------
1 | export { ReferenceLayout } from './ReferenceLayout'
2 |
--------------------------------------------------------------------------------
/apps/v2/public/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mdarche/maker-ui/HEAD/apps/v2/public/favicon.ico
--------------------------------------------------------------------------------
/apps/v2/src/components/client.ts:
--------------------------------------------------------------------------------
1 | 'use client'
2 | export { CustomCollapseMenu } from './CustomCollapse'
3 |
--------------------------------------------------------------------------------
/packages/accordion/.eslintrc.js:
--------------------------------------------------------------------------------
1 | module.exports = {
2 | root: true,
3 | extends: ['library'],
4 | }
5 |
--------------------------------------------------------------------------------
/packages/carousel/.eslintrc.js:
--------------------------------------------------------------------------------
1 | module.exports = {
2 | root: true,
3 | extends: ['library'],
4 | }
5 |
--------------------------------------------------------------------------------
/packages/generative/.eslintrc.js:
--------------------------------------------------------------------------------
1 | module.exports = {
2 | root: true,
3 | extends: ['library'],
4 | }
5 |
--------------------------------------------------------------------------------
/packages/lightbox/.eslintrc.js:
--------------------------------------------------------------------------------
1 | module.exports = {
2 | root: true,
3 | extends: ['library'],
4 | }
5 |
--------------------------------------------------------------------------------
/packages/maker-ui/src/forms.ts:
--------------------------------------------------------------------------------
1 | export * from '@maker-ui/forms'
2 | import '../../forms/dist/index.css'
3 |
--------------------------------------------------------------------------------
/packages/maker-ui/src/transition.ts:
--------------------------------------------------------------------------------
1 | export { Transition, CSSTransition } from '@maker-ui/transition'
2 |
--------------------------------------------------------------------------------
/packages/popovers/.eslintrc.js:
--------------------------------------------------------------------------------
1 | module.exports = {
2 | root: true,
3 | extends: ['library'],
4 | }
5 |
--------------------------------------------------------------------------------
/packages/spinners/.eslintrc.js:
--------------------------------------------------------------------------------
1 | module.exports = {
2 | root: true,
3 | extends: ['library'],
4 | }
5 |
--------------------------------------------------------------------------------
/packages/transition/.eslintrc.js:
--------------------------------------------------------------------------------
1 | module.exports = {
2 | root: true,
3 | extends: ['library'],
4 | }
5 |
--------------------------------------------------------------------------------
/apps/docs/src/app/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mdarche/maker-ui/HEAD/apps/docs/src/app/favicon.ico
--------------------------------------------------------------------------------
/packages/layout-client/.eslintrc.js:
--------------------------------------------------------------------------------
1 | module.exports = {
2 | root: true,
3 | extends: ['library'],
4 | }
5 |
--------------------------------------------------------------------------------
/packages/layout-server/.eslintrc.js:
--------------------------------------------------------------------------------
1 | module.exports = {
2 | root: true,
3 | extends: ['library'],
4 | }
5 |
--------------------------------------------------------------------------------
/packages/notifications/.eslintrc.js:
--------------------------------------------------------------------------------
1 | module.exports = {
2 | root: true,
3 | extends: ['library'],
4 | }
5 |
--------------------------------------------------------------------------------
/packages/tabs/tsconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "extends": "tsconfig/react-library.json",
3 | "include": ["src"]
4 | }
5 |
--------------------------------------------------------------------------------
/packages/toc/tsconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "extends": "tsconfig/react-library.json",
3 | "include": ["src"]
4 | }
5 |
--------------------------------------------------------------------------------
/apps/docs/src/app/apple-icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mdarche/maker-ui/HEAD/apps/docs/src/app/apple-icon.png
--------------------------------------------------------------------------------
/apps/v2/public/images/cosmos.jpeg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mdarche/maker-ui/HEAD/apps/v2/public/images/cosmos.jpeg
--------------------------------------------------------------------------------
/packages/carousel/src/index.ts:
--------------------------------------------------------------------------------
1 | import './styles/carousel.css'
2 | export { Carousel } from './components/Carousel'
3 |
--------------------------------------------------------------------------------
/packages/forms/src/components/fields/DateTimePicker/index.ts:
--------------------------------------------------------------------------------
1 | export { DateTimePicker } from './DateTimePicker'
2 |
--------------------------------------------------------------------------------
/packages/generative/tsconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "extends": "tsconfig/react-library.json",
3 | "include": ["src"]
4 | }
5 |
--------------------------------------------------------------------------------
/packages/layout/tsconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "extends": "tsconfig/react-library.json",
3 | "include": ["src"]
4 | }
5 |
--------------------------------------------------------------------------------
/packages/modal/src/index.ts:
--------------------------------------------------------------------------------
1 | export { Modal, type ModalProps } from './Modal'
2 | export { Portal } from './Portal'
3 |
--------------------------------------------------------------------------------
/packages/scroll/tsconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "extends": "tsconfig/react-library.json",
3 | "include": ["src"]
4 | }
5 |
--------------------------------------------------------------------------------
/packages/social/tsconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "extends": "tsconfig/react-library.json",
3 | "include": ["src"]
4 | }
5 |
--------------------------------------------------------------------------------
/packages/spinners/tsconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "extends": "tsconfig/react-library.json",
3 | "include": ["src"]
4 | }
5 |
--------------------------------------------------------------------------------
/packages/studio/tsconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "extends": "tsconfig/react-library.json",
3 | "include": ["src"]
4 | }
5 |
--------------------------------------------------------------------------------
/packages/transition/tsconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "extends": "tsconfig/react-library.json",
3 | "include": ["src"]
4 | }
5 |
--------------------------------------------------------------------------------
/apps/docs/src/utils/index.ts:
--------------------------------------------------------------------------------
1 | export { getFileSize } from './file-size'
2 | export { flattenMenu } from './flatten-menu'
3 |
--------------------------------------------------------------------------------
/packages/generative/src/index.ts:
--------------------------------------------------------------------------------
1 | export { Generate } from './Generate'
2 | export { shuffle, random } from './utils'
3 |
--------------------------------------------------------------------------------
/packages/layout-client/tsconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "extends": "tsconfig/react-library.json",
3 | "include": ["src"]
4 | }
5 |
--------------------------------------------------------------------------------
/packages/maker-ui/src/tabs.ts:
--------------------------------------------------------------------------------
1 | export { Tabs, TabPanel } from '@maker-ui/tabs'
2 | import '../../tabs/dist/index.css'
3 |
--------------------------------------------------------------------------------
/packages/config/build-tools/tsconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "extends": "tsconfig/react-library.json",
3 | "include": ["src"]
4 | }
5 |
--------------------------------------------------------------------------------
/packages/lightbox/src/components/index.ts:
--------------------------------------------------------------------------------
1 | export { Lightbox } from './Lightbox'
2 | export { LightboxLink } from './Link'
3 |
--------------------------------------------------------------------------------
/packages/maker-ui/src/carousel.ts:
--------------------------------------------------------------------------------
1 | export { Carousel } from '@maker-ui/carousel'
2 | import '../../carousel/dist/index.css'
3 |
--------------------------------------------------------------------------------
/packages/layout/src/components/index.ts:
--------------------------------------------------------------------------------
1 | export { Layout } from './Layout'
2 | export { ResponsiveStyle } from './ResponsiveStyle'
3 |
--------------------------------------------------------------------------------
/packages/forms/src/components/index.ts:
--------------------------------------------------------------------------------
1 | export { Form } from './Form'
2 | export { ImagePicker } from '@/fields'
3 | export * from './Icons'
4 |
--------------------------------------------------------------------------------
/packages/modal/tsconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "extends": "tsconfig/react-library.json",
3 | "include": ["src", "../../types", "./types"]
4 | }
5 |
--------------------------------------------------------------------------------
/packages/forms/src/components/fields/Media/index.ts:
--------------------------------------------------------------------------------
1 | export { ImagePicker } from './ImagePicker'
2 | export { MediaField } from './MediaField'
3 |
--------------------------------------------------------------------------------
/packages/maker-ui/src/accordion.ts:
--------------------------------------------------------------------------------
1 | export { Accordion, AccordionPanel } from '@maker-ui/accordion'
2 | import '../../accordion/dist/index.css'
3 |
--------------------------------------------------------------------------------
/packages/maker-ui/src/scroll.ts:
--------------------------------------------------------------------------------
1 | export { Animate, ScrollBox, ParallaxSection } from '@maker-ui/scroll'
2 | import '../../scroll/dist/index.css'
3 |
--------------------------------------------------------------------------------
/packages/layout/tests/Layout.cy.tsx:
--------------------------------------------------------------------------------
1 | // Topbar
2 |
3 | // Header
4 |
5 | // MobileMenu
6 |
7 | // Main
8 |
9 | // Sidebar
10 |
11 | // SideNav
12 |
--------------------------------------------------------------------------------
/packages/maker-ui/src/lightbox.ts:
--------------------------------------------------------------------------------
1 | export { Lightbox, LightboxLink, type LightboxItem } from '@maker-ui/lightbox'
2 | import '../../lightbox/dist/index.css'
3 |
--------------------------------------------------------------------------------
/packages/popovers/src/components/index.ts:
--------------------------------------------------------------------------------
1 | export { Popover } from './Popover'
2 | export { Tooltip } from './Tooltip'
3 | export { Dropdown } from './Dropdown'
4 |
--------------------------------------------------------------------------------
/packages/style/README.md:
--------------------------------------------------------------------------------
1 | # @maker-ui/jss
2 |
3 | A CSS in JS runtime for client side styles. Wraps emotion to use a CSS prop that supports responsive arrays.
4 |
--------------------------------------------------------------------------------
/packages/transition/README.md:
--------------------------------------------------------------------------------
1 | # @maker-ui/transition
2 |
3 | A light wrapper for React Transition Group that is used to mount and unmount Maker UI components.
4 |
--------------------------------------------------------------------------------
/apps/docs/src/components/CopyButton/index.ts:
--------------------------------------------------------------------------------
1 | export { CopyButton } from './CopyButton'
2 |
3 | // Tests:
4 |
5 | // - clipboard functionality
6 | // - td prop
7 |
--------------------------------------------------------------------------------
/packages/accordion/src/index.ts:
--------------------------------------------------------------------------------
1 | import './styles/accordion.css'
2 | export { Accordion } from './Accordion'
3 | export { AccordionPanel } from './AccordionPanel'
4 |
--------------------------------------------------------------------------------
/packages/layout-client/src/hooks/index.ts:
--------------------------------------------------------------------------------
1 | export { useMenu } from './useMenu'
2 | export { useTheme } from './useTheme'
3 | export { useLayout } from './useLayout'
4 |
--------------------------------------------------------------------------------
/apps/docs/src/styles/styles.scss:
--------------------------------------------------------------------------------
1 | @import 'variables';
2 | @import 'global';
3 | @import 'utility';
4 | @import 'layout';
5 | @import 'components';
6 | @import 'tables';
7 |
--------------------------------------------------------------------------------
/apps/v2/src/app/layout/both/page.tsx:
--------------------------------------------------------------------------------
1 | export default function BothPanelPage() {
2 | return (
3 |
4 |
Both Panels
5 |
6 | )
7 | }
8 |
--------------------------------------------------------------------------------
/apps/v2/src/app/layout/page.tsx:
--------------------------------------------------------------------------------
1 | export default function WorkspacePage() {
2 | return (
3 |
4 |
Choose a Layout
5 |
6 | )
7 | }
8 |
--------------------------------------------------------------------------------
/packages/lightbox/src/index.ts:
--------------------------------------------------------------------------------
1 | import './styles/lightbox.css'
2 | export { Lightbox, LightboxLink } from './components'
3 | export type { LightboxItem } from './types'
4 |
--------------------------------------------------------------------------------
/packages/style/tsconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "extends": "tsconfig/react-library.json",
3 | "include": ["src"],
4 | "compilerOptions": {
5 | "jsx": "react"
6 | }
7 | }
8 |
--------------------------------------------------------------------------------
/packages/tabs/src/index.ts:
--------------------------------------------------------------------------------
1 | import './styles/tabs.css'
2 | export { Tabs, type TabsProps } from './Tabs'
3 | export { TabPanel, type TabPanelProps } from './TabPanel'
4 |
--------------------------------------------------------------------------------
/apps/v2/src/app/layout/left-panel/page.tsx:
--------------------------------------------------------------------------------
1 | export default function LeftPanelPage() {
2 | return (
3 |
4 |
Left Panel
5 |
6 | )
7 | }
8 |
--------------------------------------------------------------------------------
/packages/data/src/hooks/index.ts:
--------------------------------------------------------------------------------
1 | export { useExport } from './useExport'
2 | export { useSmartGrid } from './useSmartGrid'
3 | export { useSmartTable } from './useSmartTable'
4 |
--------------------------------------------------------------------------------
/packages/utils/tsconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "extends": "tsconfig/react-library.json",
3 | "include": ["src"],
4 | "compilerOptions": {
5 | "types": ["jest"]
6 | }
7 | }
8 |
--------------------------------------------------------------------------------
/apps/docs/temp/docs/faqs.mdx:
--------------------------------------------------------------------------------
1 |
5 |
6 | # FAQs
7 |
--------------------------------------------------------------------------------
/apps/v2/src/app/components/transition/page.tsx:
--------------------------------------------------------------------------------
1 | import { Transitions } from './Transitions'
2 |
3 | export default function TransitionPage() {
4 | return
5 | }
6 |
--------------------------------------------------------------------------------
/apps/v2/src/app/layout/right-panel/page.tsx:
--------------------------------------------------------------------------------
1 | export default function RightPanelPage() {
2 | return (
3 |
4 |
Both Panels
5 |
6 | )
7 | }
8 |
--------------------------------------------------------------------------------
/packages/accordion/tsconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "extends": "tsconfig/react-library.json",
3 | "include": ["src"],
4 | "compilerOptions": {
5 | "types": ["cypress"]
6 | }
7 | }
8 |
--------------------------------------------------------------------------------
/packages/scroll/src/components/index.ts:
--------------------------------------------------------------------------------
1 | export { ParallaxSection } from './ParallaxSection'
2 | export { Animate } from './Animate'
3 | export { ScrollBox } from './ScrollBox'
4 |
--------------------------------------------------------------------------------
/cypress/tsconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "compilerOptions": {
3 | "target": "es5",
4 | "lib": ["es5", "dom"],
5 | "types": ["cypress", "node"]
6 | },
7 | "include": ["**/*.ts"]
8 | }
--------------------------------------------------------------------------------
/apps/v2/src/app/components/page.tsx:
--------------------------------------------------------------------------------
1 | export default function DemoPage() {
2 | return (
3 |
4 |
About Page
5 |
Lorem ipsum
6 |
7 | )
8 | }
9 |
--------------------------------------------------------------------------------
/packages/maker-ui/tsconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "extends": "tsconfig/react-library.json",
3 | "include": ["src"],
4 | "compilerOptions": {
5 | "moduleResolution": "nodenext"
6 | }
7 | }
8 |
--------------------------------------------------------------------------------
/packages/maker-ui/src/index.ts:
--------------------------------------------------------------------------------
1 | export {
2 | Style,
3 | generateCSS,
4 | type ResponsiveCSS,
5 | type Breakpoints,
6 | type MediaQuery,
7 | type MakerCSS,
8 | } from '@maker-ui/style'
9 |
--------------------------------------------------------------------------------
/packages/popovers/src/index.ts:
--------------------------------------------------------------------------------
1 | import './styles/dropdown.css'
2 | import './styles/popover.css'
3 | import './styles/tooltip.css'
4 |
5 | export { Popover, Tooltip, Dropdown } from '@/components'
6 |
--------------------------------------------------------------------------------
/cypress/fixtures/example.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "Using fixtures to represent data",
3 | "email": "hello@cypress.io",
4 | "body": "Fixtures are a great way to mock data for responses to routes"
5 | }
6 |
--------------------------------------------------------------------------------
/packages/scroll/src/index.ts:
--------------------------------------------------------------------------------
1 | import './styles/animate.css'
2 | import './styles/parallax.css'
3 | import './styles/scrollbox.css'
4 | export { ParallaxSection, Animate, ScrollBox } from './components'
5 |
--------------------------------------------------------------------------------
/apps/docs/src/app/api-reference/page.tsx:
--------------------------------------------------------------------------------
1 | // import MDXPage from './test.mdx'
2 | // import Readme from '@packages/accordion/README.mdx'
3 |
4 | export default function Page() {
5 | return <>Test>
6 | }
7 |
--------------------------------------------------------------------------------
/apps/v2/src/app/components/notifications/page.tsx:
--------------------------------------------------------------------------------
1 | import { ToastsPage } from './toast'
2 | import 'maker-ui/notifications.css'
3 |
4 | export default function FormPage() {
5 | return
6 | }
7 |
--------------------------------------------------------------------------------
/packages/config/build-tools/src/plugins/index.ts:
--------------------------------------------------------------------------------
1 | export { PluginCSSCombine } from './css-combine'
2 | export { PluginCSSModule } from './css-module'
3 | // export { CreateIndexPlugin } from './create-index'
4 |
--------------------------------------------------------------------------------
/packages/maker-ui/src/notifications.ts:
--------------------------------------------------------------------------------
1 | export {
2 | Announcement,
3 | CookieNotice,
4 | ToastProvider,
5 | useToast,
6 | } from '@maker-ui/notifications'
7 | import '../../notifications/dist/index.css'
8 |
--------------------------------------------------------------------------------
/packages/notifications/src/components/index.ts:
--------------------------------------------------------------------------------
1 | export { Announcement } from './Announcement'
2 | export { CookieNotice } from './CookieNotice'
3 | export { ToastProvider, ToastContext } from './ToastProvider'
4 |
--------------------------------------------------------------------------------
/.github/CODEOWNERS:
--------------------------------------------------------------------------------
1 | # Learn how to add code owners here:
2 | # https://help.github.com/en/articles/about-code-owners
3 |
4 | * @mdarche
5 | /apps/ @mdarche
6 | /examples/ @mdarche
7 | /packages/ @mdarche
--------------------------------------------------------------------------------
/packages/config/eslint-config-next-app/index.js:
--------------------------------------------------------------------------------
1 | module.exports = {
2 | extends: ['next/core-web-vitals', 'turbo', 'prettier'],
3 | rules: {
4 | '@next/next/no-html-link-for-pages': 'off',
5 | },
6 | }
7 |
--------------------------------------------------------------------------------
/packages/data/src/components/SmartTable/index.ts:
--------------------------------------------------------------------------------
1 | export type {
2 | ColumnConfig,
3 | FetchDataParams,
4 | TableStyles,
5 | TableSettings,
6 | } from './types'
7 | export { SmartTable } from './SmartTable'
8 |
--------------------------------------------------------------------------------
/.prettierrc:
--------------------------------------------------------------------------------
1 | {
2 | "endOfLine": "lf",
3 | "semi": false,
4 | "singleQuote": true,
5 | "tabWidth": 2,
6 | "trailingComma": "es5",
7 | "proseWrap": "preserve",
8 | "jsxBracketSameLine": true
9 | }
10 |
--------------------------------------------------------------------------------
/apps/docs/README.md:
--------------------------------------------------------------------------------
1 | # Integration / E2E Testing App
2 |
3 | This is a simple NextJS app for testing all `@maker-ui` packages that export browser components. See `cypress/integration` for package specific test suites.
4 |
--------------------------------------------------------------------------------
/apps/docs/temp/docs/layout/menus.mdx:
--------------------------------------------------------------------------------
1 |
5 |
6 | # Menus
7 |
--------------------------------------------------------------------------------
/packages/data/src/index.ts:
--------------------------------------------------------------------------------
1 | import './styles/grid.css'
2 | import './styles/search.css'
3 | import './styles/table.css'
4 | import './styles/pagination.css'
5 | export * from './components'
6 | export { useSmartGrid } from './hooks'
7 |
--------------------------------------------------------------------------------
/packages/maker-ui/src/social.ts:
--------------------------------------------------------------------------------
1 | export {
2 | SocialAccounts,
3 | FacebookIcon,
4 | InstagramIcon,
5 | LinkedinIcon,
6 | TiktokIcon,
7 | XIcon,
8 | WebsiteIcon,
9 | YoutubeIcon,
10 | } from '@maker-ui/social'
11 |
--------------------------------------------------------------------------------
/apps/docs/src/components/Table.tsx:
--------------------------------------------------------------------------------
1 | interface TableProps extends React.HTMLAttributes {}
2 |
3 | export const Table = ({ children }: TableProps) => {
4 | return {children}
5 | }
6 |
--------------------------------------------------------------------------------
/apps/v2/next-env.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 | ///
3 |
4 | // NOTE: This file should not be edited
5 | // see https://nextjs.org/docs/basic-features/typescript for more information.
6 |
--------------------------------------------------------------------------------
/packages/forms/src/context/index.ts:
--------------------------------------------------------------------------------
1 | export { FormContext, formReducer, initFieldData } from './FormContext'
2 | export { useField } from './useField'
3 | export { useForm } from './useForm'
4 | export { useRepeater } from './useRepeater'
5 |
--------------------------------------------------------------------------------
/apps/docs/next-env.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 | ///
3 |
4 | // NOTE: This file should not be edited
5 | // see https://nextjs.org/docs/basic-features/typescript for more information.
6 |
--------------------------------------------------------------------------------
/packages/data/src/styles/pagination.css:
--------------------------------------------------------------------------------
1 | .mkui-pagination {
2 | margin-top: 10px;
3 | }
4 |
5 | .mkui-pagination.type-input {
6 | }
7 |
8 | .mkui-pagination.type-simple {
9 | }
10 |
11 | .mkui-pagination.type-numbered {
12 | }
13 |
--------------------------------------------------------------------------------
/packages/style/src/index.ts:
--------------------------------------------------------------------------------
1 | export { Style } from './Style'
2 | export { generateCSS } from './css'
3 | export type {
4 | ResponsiveCSS,
5 | Breakpoints,
6 | MediaQuery,
7 | MakerCSS,
8 | StyleSettings,
9 | } from './types'
10 |
--------------------------------------------------------------------------------
/packages/hooks/tsconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "extends": "tsconfig/react-library.json",
3 | "include": ["src"],
4 | "compilerOptions": {
5 | "baseUrl": ".",
6 | "paths": {
7 | "@/src": ["src/index.ts"]
8 | }
9 | }
10 | }
11 |
--------------------------------------------------------------------------------
/packages/scroll/src/styles/parallax.css:
--------------------------------------------------------------------------------
1 | .mkui-parallax-section {
2 | position: relative;
3 | z-index: 1;
4 | overflow: hidden;
5 | }
6 |
7 | .mkui-parallax-bg {
8 | z-index: -1;
9 | width: 100%;
10 | will-change: transform;
11 | }
12 |
--------------------------------------------------------------------------------
/packages/social/src/index.ts:
--------------------------------------------------------------------------------
1 | export { SocialAccounts } from './SocialAccounts'
2 | export {
3 | FacebookIcon,
4 | InstagramIcon,
5 | LinkedinIcon,
6 | TiktokIcon,
7 | XIcon,
8 | WebsiteIcon,
9 | YoutubeIcon,
10 | } from './svgr'
11 |
--------------------------------------------------------------------------------
/packages/notifications/src/index.ts:
--------------------------------------------------------------------------------
1 | import '@/styles/toast.css'
2 | export { Announcement, CookieNotice, ToastProvider } from '@/components'
3 | export type { ToastProps, ToastSettings, ToastClassNames } from '@/types'
4 | export { useToast } from '@/hooks'
5 |
--------------------------------------------------------------------------------
/global-types.ts:
--------------------------------------------------------------------------------
1 | ///
2 |
3 | import { mount } from 'cypress/react18'
4 | export {}
5 | declare global {
6 | namespace Cypress {
7 | interface Chainable {
8 | mount: typeof mount
9 | }
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/apps/docs/types.d.ts:
--------------------------------------------------------------------------------
1 | declare module '*.mdx' {
2 | let MDXComponent: (props: any) => JSX.Element
3 | export default MDXComponent
4 | }
5 |
6 | declare module '*.md' {
7 | let MDComponent: (props: any) => JSX.Element
8 | export default MDComponent
9 | }
10 |
--------------------------------------------------------------------------------
/packages/carousel/src/hooks/usePrevious.ts:
--------------------------------------------------------------------------------
1 | import { useEffect, useRef } from 'react'
2 |
3 | export const usePrevious = (value: T) => {
4 | const ref = useRef()
5 | useEffect(() => {
6 | ref.current = value
7 | })
8 | return ref.current
9 | }
10 |
--------------------------------------------------------------------------------
/packages/maker-ui/README.md:
--------------------------------------------------------------------------------
1 | # Maker UI
2 |
3 | Maker UI bundles 4 core packages so you can easily import everything you need to build responsive layouts and custom components:
4 |
5 | - @maker-ui/css
6 | - @maker-ui/primitives
7 | - @maker-ui/layout
8 | - @maker-ui/utils
9 |
--------------------------------------------------------------------------------
/packages/modal/types.ts:
--------------------------------------------------------------------------------
1 | ///
2 |
3 | import { mount } from 'cypress/react18'
4 | export {}
5 | declare global {
6 | namespace Cypress {
7 | interface Chainable {
8 | mount: typeof mount
9 | }
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/packages/transition/src/index.ts:
--------------------------------------------------------------------------------
1 | export {
2 | Transition,
3 | type TransitionProps,
4 | type TransitionState,
5 | } from './Transition'
6 | export {
7 | CSSTransition,
8 | type CSSTransitionProps,
9 | type TransitionType,
10 | } from './CSSTransition'
11 |
--------------------------------------------------------------------------------
/packages/lightbox/tsconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "extends": "tsconfig/react-library.json",
3 | "include": ["src"],
4 | "compilerOptions": {
5 | "jsx": "react",
6 | "baseUrl": ".",
7 | "paths": {
8 | "@/types": ["src/types.ts"]
9 | }
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/packages/carousel/tsup.config.ts:
--------------------------------------------------------------------------------
1 | import { defineConfig } from 'tsup'
2 | import { buildConfig } from '@maker-ui/build-tools'
3 |
4 | const config = buildConfig({
5 | minify: true,
6 | banner: {
7 | js: `'use client'`,
8 | },
9 | })
10 |
11 | export default defineConfig(config)
12 |
--------------------------------------------------------------------------------
/packages/layout-client/src/index.ts:
--------------------------------------------------------------------------------
1 | export {
2 | LayoutProvider,
3 | LayoutSettings,
4 | type LayoutSettingsProps,
5 | ThemeProvider,
6 | ColorButton,
7 | Menu,
8 | MenuButton,
9 | Div,
10 | } from './components'
11 | export { useTheme, useLayout, useMenu } from './hooks'
12 |
--------------------------------------------------------------------------------
/apps/v2/src/app/components/forms/page.tsx:
--------------------------------------------------------------------------------
1 | import { Section } from 'maker-ui/layout'
2 |
3 | export default function FormPage() {
4 | return (
5 |
6 | Select a form from the menu to test drive.
7 |
8 | )
9 | }
10 |
--------------------------------------------------------------------------------
/packages/lightbox/tsup.config.ts:
--------------------------------------------------------------------------------
1 | import { defineConfig } from 'tsup'
2 | import { buildConfig } from '@maker-ui/build-tools'
3 |
4 | const config = buildConfig({
5 | minify: false,
6 | banner: {
7 | js: `'use client'`,
8 | },
9 | })
10 |
11 | export default defineConfig(config)
12 |
--------------------------------------------------------------------------------
/packages/social/src/icons/x.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/packages/forms/README.md:
--------------------------------------------------------------------------------
1 | # @maker-ui/forms
2 |
3 | Coming soon
4 |
5 | ## FAQs
6 |
7 | ### How to handle multiple color themes?
8 |
9 | Define your colors in root variables and map your form values to those variables. This way you won't need to create separate styles for your form CSS variables.
10 |
--------------------------------------------------------------------------------
/packages/studio/src/index.ts:
--------------------------------------------------------------------------------
1 | import './components/Grid/grid.css'
2 | import './components/GridMenu/grid-menu.css'
3 | import './components/GapControl/gap-control.css'
4 | import './components/ResizeHandle/resize-handle.css'
5 | import './components/Editor/editor.css'
6 | export { Grid } from './components/Grid'
7 |
--------------------------------------------------------------------------------
/apps/v2/src/app/page.tsx:
--------------------------------------------------------------------------------
1 | export default function HomePage() {
2 | return (
3 |
4 | Lets see if we can render a list
5 |
6 | - Bullet 1
7 | - Bullet 2
8 | - Bullet 3
9 |
10 |
11 | )
12 | }
13 |
--------------------------------------------------------------------------------
/packages/social/src/icons/facebook.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/apps/docs/src/app/page.tsx:
--------------------------------------------------------------------------------
1 | export default function HomePage() {
2 | return (
3 |
4 | Lets see if we can render a list
5 |
6 | - Bullet 1
7 | - Bullet 2
8 | - Bullet 3
9 |
10 |
11 | )
12 | }
13 |
--------------------------------------------------------------------------------
/packages/forms/src/components/fields/index.ts:
--------------------------------------------------------------------------------
1 | export { Input } from './Input'
2 | export { Select } from './Select'
3 | export { Switch } from './Switch'
4 | export { Options } from './Options'
5 | export { Range } from './Range'
6 | export { ImagePicker, MediaField } from './Media'
7 | export { DateTimePicker } from './DateTimePicker'
8 |
--------------------------------------------------------------------------------
/packages/data/tsconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "extends": "tsconfig/react-library.json",
3 | "include": ["src"],
4 | "compilerOptions": {
5 | "baseUrl": ".",
6 | "paths": {
7 | "@/hooks": ["src/hooks/index.ts"],
8 | "@/icons": ["src/components/Icons.tsx"],
9 | "@/utils": ["src/utils.ts"]
10 | }
11 | }
12 | }
13 |
--------------------------------------------------------------------------------
/cypress.config.ts:
--------------------------------------------------------------------------------
1 | import { defineConfig } from 'cypress'
2 |
3 | export default defineConfig({
4 | video: false,
5 | screenshotOnRunFailure: false,
6 | viewportWidth: 1280,
7 | viewportHeight: 800,
8 | component: {
9 | devServer: {
10 | framework: 'next',
11 | bundler: 'webpack',
12 | },
13 | },
14 | })
15 |
--------------------------------------------------------------------------------
/packages/config/tsconfig/react-library.json:
--------------------------------------------------------------------------------
1 | {
2 | "$schema": "https://json.schemastore.org/tsconfig",
3 | "display": "React Library",
4 | "extends": "./base.json",
5 | "exclude": ["dist", "build"],
6 | "compilerOptions": {
7 | "lib": ["esnext", "dom"],
8 | "module": "esnext",
9 | "jsx": "react-jsx"
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/packages/config/eslint-config-next-app/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "eslint-config-next-app",
3 | "main": "index.js",
4 | "version": "1.0.0",
5 | "dependencies": {
6 | "eslint-config-next": "latest",
7 | "eslint-config-prettier": "latest",
8 | "eslint-plugin-react": "latest",
9 | "eslint-config-turbo": "latest"
10 | }
11 | }
--------------------------------------------------------------------------------
/packages/hooks/README.md:
--------------------------------------------------------------------------------
1 | # @maker-ui/hooks
2 |
3 | A collection of helpful React hooks for client components.
4 |
5 | - useFocus
6 | - useScrollPosition
7 | - useTracker
8 | - useWindowSize
9 | - useMeasure
10 |
11 | ## useFocus
12 |
13 | ## useScrollPosition
14 |
15 | ## useTracker
16 |
17 | ## useWindowSize
18 |
19 | ## useMeasure
20 |
--------------------------------------------------------------------------------
/packages/utils/src/index.ts:
--------------------------------------------------------------------------------
1 | import merge from 'deepmerge'
2 |
3 | export { Conditional } from './Conditional'
4 | export {
5 | generateId,
6 | cn,
7 | mergeRefs,
8 | isObjectEmpty,
9 | cleanObject,
10 | formatNumber,
11 | } from './helper'
12 | export { getCssVariables, type StyleConfig } from './internal'
13 | export { merge }
14 |
--------------------------------------------------------------------------------
/packages/layout/tsup.config.ts:
--------------------------------------------------------------------------------
1 | import { defineConfig } from 'tsup'
2 | import { buildConfig } from '@maker-ui/build-tools'
3 |
4 | export default defineConfig((options) =>
5 | buildConfig({
6 | global: true,
7 | clean: false,
8 | minify: !options.watch,
9 | entry: {
10 | index: 'src/index.ts',
11 | },
12 | })
13 | )
14 |
--------------------------------------------------------------------------------
/packages/style/tsup.config.ts:
--------------------------------------------------------------------------------
1 | import { defineConfig } from 'tsup'
2 | import { buildConfig } from '@maker-ui/build-tools'
3 |
4 | export default defineConfig((options) =>
5 | buildConfig({
6 | global: true,
7 | clean: false,
8 | minify: !options.watch,
9 | entry: {
10 | index: 'src/index.ts',
11 | },
12 | })
13 | )
14 |
--------------------------------------------------------------------------------
/packages/utils/tsup.config.ts:
--------------------------------------------------------------------------------
1 | import { defineConfig } from 'tsup'
2 | import { buildConfig } from '@maker-ui/build-tools'
3 |
4 | export default defineConfig((options) =>
5 | buildConfig({
6 | global: true,
7 | clean: false,
8 | minify: !options.watch,
9 | entry: {
10 | index: 'src/index.ts',
11 | },
12 | })
13 | )
14 |
--------------------------------------------------------------------------------
/.changeset/config.json:
--------------------------------------------------------------------------------
1 | {
2 | "$schema": "https://unpkg.com/@changesets/config@1.7.0/schema.json",
3 | "changelog": ["@changesets/changelog-github", { "repo": "mdarche/maker-ui" }],
4 | "commit": false,
5 | "linked": [],
6 | "access": "public",
7 | "baseBranch": "main",
8 | "updateInternalDependencies": "patch",
9 | "ignore": []
10 | }
11 |
--------------------------------------------------------------------------------
/apps/docs/src/components/Callout.tsx:
--------------------------------------------------------------------------------
1 | import { cn } from 'maker-ui/utils'
2 |
3 | interface CalloutProps {
4 | type: 'alert' | 'info' | 'suggestion'
5 | children: React.ReactNode
6 | }
7 |
8 | export const Callout = ({ children, type = 'suggestion' }: CalloutProps) => {
9 | return {children}
10 | }
11 |
--------------------------------------------------------------------------------
/apps/v2/src/app/studio/page.tsx:
--------------------------------------------------------------------------------
1 | import { Grid } from '@maker-ui/studio'
2 | import './page.css'
3 |
4 | export default function StudioTest() {
5 | return (
6 |
12 | )
13 | }
14 |
--------------------------------------------------------------------------------
/packages/scroll/src/styles/scrollbox.css:
--------------------------------------------------------------------------------
1 | .mkui-scrollbox {
2 | width: var(--scroll-box-width);
3 | height: var(--scroll-box-height);
4 | overflow: hidden;
5 | position: relative;
6 | }
7 |
8 | .mkui-scrollbox-inner {
9 | overflow: auto;
10 | height: 100%;
11 | padding-right: var(--scroll-bar-width);
12 | box-sizing: content-box;
13 | }
14 |
--------------------------------------------------------------------------------
/packages/layout-server/tsconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "extends": "tsconfig/react-library.json",
3 | "include": ["src"],
4 | "compilerOptions": {
5 | "jsx": "react",
6 | "baseUrl": ".",
7 | "paths": {
8 | "@/defaults": ["src/defaults.ts"],
9 | "@/types": ["src/types.ts"],
10 | "@/utils": ["src/utils.ts"]
11 | }
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/packages/layout-server/tsup.config.ts:
--------------------------------------------------------------------------------
1 | import { defineConfig } from 'tsup'
2 | import { buildConfig } from '@maker-ui/build-tools'
3 |
4 | export default defineConfig((options) =>
5 | buildConfig({
6 | global: true,
7 | clean: false,
8 | minify: !options.watch,
9 | entry: {
10 | index: 'src/index.ts',
11 | },
12 | })
13 | )
14 |
--------------------------------------------------------------------------------
/packages/toc/tsup.config.ts:
--------------------------------------------------------------------------------
1 | import { defineConfig } from 'tsup'
2 | import { buildConfig } from '@maker-ui/build-tools'
3 |
4 | const config = buildConfig({
5 | minifyIdentifiers: true,
6 | minifyWhitespace: true,
7 | minifySyntax: true,
8 | entry: {
9 | index: 'src/index.ts',
10 | },
11 | })
12 |
13 | export default defineConfig(config)
14 |
--------------------------------------------------------------------------------
/packages/carousel/tsconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "extends": "tsconfig/react-library.json",
3 | "include": ["src", "declaration.d.ts"],
4 | "compilerOptions": {
5 | "jsx": "react",
6 | "baseUrl": ".",
7 | "paths": {
8 | "@/types": ["src/types.ts"],
9 | "@/helpers": ["src/helpers"],
10 | "@/hooks": ["src/hooks"]
11 | }
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/packages/popovers/tsconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "extends": "tsconfig/react-library.json",
3 | "include": ["src"],
4 | "compilerOptions": {
5 | "jsx": "react",
6 | "baseUrl": ".",
7 | "paths": {
8 | "@/components": ["src/components"],
9 | "@/variables": ["src/variables.ts"],
10 | "@/types": ["src/types.ts"]
11 | }
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/apps/v2/next.config.js:
--------------------------------------------------------------------------------
1 | /** @type {import('next').NextConfig} */
2 |
3 | const config = {
4 | images: {
5 | remotePatterns: [{ hostname: 'images.unsplash.com' }],
6 | },
7 | }
8 |
9 | const withBundleAnalyzer = require('@next/bundle-analyzer')({
10 | enabled: process.env.ANALYZE === 'true',
11 | })
12 |
13 | module.exports = withBundleAnalyzer(config)
14 |
--------------------------------------------------------------------------------
/packages/config/eslint-config-library/index.js:
--------------------------------------------------------------------------------
1 | module.exports = {
2 | plugins: ['react-hooks'],
3 | extends: ['prettier', 'react-app', 'turbo'],
4 | settings: {
5 | react: {
6 | version: 'detect',
7 | },
8 | },
9 | rules: {
10 | 'react-hooks/exhaustive-deps': 'error',
11 | },
12 | ignorePatterns: ['packages/dist/*', 'dist/*'],
13 | }
14 |
--------------------------------------------------------------------------------
/apps/docs/temp/docs/layout/side-nav.mdx:
--------------------------------------------------------------------------------
1 |
5 |
6 |
7 |
8 | ```jsx
9 | import { SideNav } from 'maker-ui'
10 | ```
11 |
12 |
13 |
14 | ## Props
15 |
16 | ## Maker UI Options
17 |
18 | ## Usage
19 |
--------------------------------------------------------------------------------
/packages/spinners/tsup.config.ts:
--------------------------------------------------------------------------------
1 | import { defineConfig } from 'tsup'
2 | import { buildConfig } from '@maker-ui/build-tools'
3 |
4 | const config = buildConfig({
5 | clean: false,
6 | minifyIdentifiers: true,
7 | minifyWhitespace: true,
8 | minifySyntax: true,
9 | entry: {
10 | index: 'src/index.ts',
11 | },
12 | })
13 |
14 | export default defineConfig(config)
15 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | logs
2 | *.log
3 | npm-debug.log*
4 | yarn-debug.log*
5 | yarn-error.log*
6 | coverage
7 | build
8 | dist
9 | cache
10 | .npmrc
11 | .cache
12 | .env
13 | .next
14 | .turbo
15 | .vercel
16 | .DS_Store
17 | node_modules
18 | packages/*/node_modules
19 | package-lock.json
20 | yarn-error.log
21 | .yarn-integrity
22 | .vscode/
23 | .npmrc.turbo
24 | store
25 | .store
26 | .pnpm
27 |
--------------------------------------------------------------------------------
/packages/data/tsup.config.ts:
--------------------------------------------------------------------------------
1 | import { defineConfig } from 'tsup'
2 | import { buildConfig } from '@maker-ui/build-tools'
3 |
4 | export default defineConfig((options) =>
5 | buildConfig({
6 | clean: false,
7 | minify: !options.watch,
8 | entry: {
9 | index: 'src/index.ts',
10 | },
11 | banner: {
12 | js: `'use client'`,
13 | },
14 | })
15 | )
16 |
--------------------------------------------------------------------------------
/packages/forms/tsup.config.ts:
--------------------------------------------------------------------------------
1 | import { defineConfig } from 'tsup'
2 | import { buildConfig } from '@maker-ui/build-tools'
3 |
4 | export default defineConfig((options) =>
5 | buildConfig({
6 | clean: false,
7 | minify: !options.watch,
8 | entry: {
9 | index: 'src/index.ts',
10 | },
11 | banner: {
12 | js: `'use client'`,
13 | },
14 | })
15 | )
16 |
--------------------------------------------------------------------------------
/apps/v2/src/components/CustomCollapse.tsx:
--------------------------------------------------------------------------------
1 | 'use client'
2 |
3 | import { Menu, type MenuItem } from 'maker-ui/layout'
4 |
5 | export const CustomCollapseMenu = ({ menu }: { menu: MenuItem[] }) => {
6 | return (
7 |