Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

V3 #263

Open
wants to merge 76 commits into
base: main
Choose a base branch
from
Open

V3 #263

Show file tree
Hide file tree
Changes from 65 commits
Commits
Show all changes
76 commits
Select commit Hold shift + click to select a range
504444b
chore: update pro
Pagebakers Jun 7, 2024
80c3136
Merge branch 'main' of github.com:saas-js/saas-ui
Pagebakers Jun 7, 2024
a7d5bd7
chore: update deps
Pagebakers Aug 16, 2024
42a3d0f
Merge branch 'main' of github.com:saas-js/saas-ui
Pagebakers Aug 16, 2024
3d73448
Merge branch 'main' into v3
Pagebakers Aug 16, 2024
2d0c34e
feat: initial
Pagebakers Oct 30, 2024
ee25dcf
feat: add link stub
Pagebakers Oct 30, 2024
7bc24ee
feat: rewrite sidebar
Pagebakers Oct 31, 2024
b610025
feat: update system and remove depcrated deps
Pagebakers Nov 1, 2024
991963a
feat: add fly out mode
Pagebakers Nov 1, 2024
9dde632
feat: improve backdrop behavior
Pagebakers Nov 1, 2024
6d8bf55
feat: add actions
Pagebakers Nov 1, 2024
3d0fd53
feat: improve styles
Pagebakers Nov 1, 2024
b84f2db
feat: restructure and add all components
Pagebakers Nov 4, 2024
0e95b70
feat: update button theme
Pagebakers Nov 6, 2024
77043a5
feat: update modals
Pagebakers Nov 9, 2024
dc768c3
feat: migreate nprogress
Pagebakers Nov 15, 2024
b49960f
feat: remove file upload
Pagebakers Nov 15, 2024
c34699c
chore:remove data table
Pagebakers Nov 15, 2024
5225ee4
feat: remove hotkeys
Pagebakers Nov 15, 2024
8804082
feat: migrate charts
Pagebakers Nov 15, 2024
4ca3e77
feat: improve
Pagebakers Nov 15, 2024
15139b6
chore: update storybook config
Pagebakers Nov 15, 2024
f5a8bdf
feat: migrate forms
Pagebakers Nov 20, 2024
770f4d1
chore: update pro
Pagebakers Nov 21, 2024
550e5a6
fix: build
Pagebakers Nov 22, 2024
6459de4
feat: remove src export and files from package
Pagebakers Nov 23, 2024
0654068
fix: build
Pagebakers Nov 23, 2024
cee2e9c
fix: remove chakra ui dep of core package
Pagebakers Nov 23, 2024
7808a76
fix: restrcuture
Pagebakers Nov 24, 2024
f62c3d6
feat: export components from root
Pagebakers Nov 24, 2024
e9fec88
feat: add toaster and menu components
Pagebakers Nov 25, 2024
95c8652
feat: upgrade to chakra 3.2.1
Pagebakers Nov 27, 2024
8e760c5
feat: add wide gamut color tokens
Pagebakers Nov 30, 2024
e50b05d
fix: export color tokens
Pagebakers Nov 30, 2024
f9e4a22
fix: build
Pagebakers Nov 30, 2024
903e1c0
chore: update
Pagebakers Nov 30, 2024
64e680e
fix: update default button color palette to gray
Pagebakers Nov 30, 2024
f0f5ab0
fix: improved navbar composition
Pagebakers Nov 30, 2024
212a7e6
feat: improve color tokens
Pagebakers Dec 1, 2024
a67a07e
feat: add piechart
Pagebakers Dec 6, 2024
2949041
fix: glass button recipe
Pagebakers Dec 6, 2024
433ff58
fix: semantic bg tokens
Pagebakers Dec 6, 2024
65fac53
chore: add changset
Pagebakers Dec 6, 2024
942e9a0
fix: improve sidebar item positioning
Pagebakers Dec 6, 2024
03295f8
chore: update pro
Pagebakers Dec 6, 2024
19309d4
feat: improve theme
Pagebakers Dec 7, 2024
0b706c7
fix: persona size prop
Pagebakers Dec 7, 2024
58bbeb7
fix: sidebar item end element positioning
Pagebakers Dec 7, 2024
61ce1b5
chore: add chagneset
Pagebakers Dec 7, 2024
b51aff9
feat: form and theme improvements
Pagebakers Dec 8, 2024
7e40491
chore: do not generate tokens after build
Pagebakers Dec 8, 2024
0067207
fix: theming improvements
Pagebakers Dec 8, 2024
c9a0a0e
feat: add pie chart
Pagebakers Dec 9, 2024
2285040
feat: improve persona and avatar recipes
Pagebakers Dec 9, 2024
205580d
feat: improve command and tooltips
Pagebakers Dec 11, 2024
a2ef175
feat: add pagination component
Pagebakers Dec 14, 2024
a21c5ae
fix: exports
Pagebakers Dec 14, 2024
e7fe684
fix: export pagination context
Pagebakers Dec 14, 2024
eb02362
feat: improve grid list and clean up theme
Pagebakers Dec 14, 2024
727b902
fix: allow click event on sidebar track handler to be prevented.
Pagebakers Dec 15, 2024
e8d0ed6
fix: removed console.log
Pagebakers Dec 15, 2024
38082d4
fix: field composition
Pagebakers Dec 15, 2024
ba3b566
feat: improve theme
Pagebakers Dec 15, 2024
3a73bc8
fix: improve theme
Pagebakers Dec 15, 2024
f85d493
feat: sidebar improvements
Pagebakers Dec 20, 2024
aecd40b
fix: forward prop
Pagebakers Dec 20, 2024
6f9f04d
fix: sidebar mode
Pagebakers Dec 20, 2024
53716c5
fix: button color palette and grid list props
Pagebakers Jan 4, 2025
405e944
chore: update pro
Pagebakers Jan 4, 2025
c680574
feat: improve components and theme
Pagebakers Jan 10, 2025
8ac704a
feat: improve tag
Pagebakers Jan 10, 2025
ac2d80d
feat: improve toaster
Pagebakers Jan 11, 2025
9d47676
feat: add data list and tabs
Pagebakers Jan 11, 2025
1997437
fix: persona sizes
Pagebakers Jan 11, 2025
db155d8
chore: update yarn
Pagebakers Jan 11, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
5 changes: 5 additions & 0 deletions .changeset/afraid-avocados-roll.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@saas-ui/react': patch
---

Improved Sidebar contrast
5 changes: 5 additions & 0 deletions .changeset/beige-fans-eat.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@saas-ui/react': minor
---

Added toaster and menu components
5 changes: 5 additions & 0 deletions .changeset/beige-penguins-ring.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@saas-ui/react': patch
---

Improved avatar and persona sizes
5 changes: 5 additions & 0 deletions .changeset/big-wolves-perform.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@saas-ui/react': patch
---

Update default button colorPalette to gray
5 changes: 5 additions & 0 deletions .changeset/chilly-lizards-visit.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@saas-ui/react': patch
---

Add missing focusRing semantic tokens
6 changes: 6 additions & 0 deletions .changeset/chilly-mugs-shave.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'@saas-ui/forms': patch
'@saas-ui/react': patch
---

Improved horizontal field styles
5 changes: 5 additions & 0 deletions .changeset/dry-berries-report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@saas-ui/react': minor
---

Export all components from root barrel file
5 changes: 5 additions & 0 deletions .changeset/dry-shirts-travel.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@saas-ui/react': patch
---

Improved SidebarNavItem positioning
5 changes: 5 additions & 0 deletions .changeset/fair-pants-grab.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@saas-ui/react': minor
---

Added Pagination component
5 changes: 5 additions & 0 deletions .changeset/fast-dolls-jump.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@saas-ui/react': minor
---

Improved GridList recipe
5 changes: 5 additions & 0 deletions .changeset/five-islands-fold.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@saas-ui/react': patch
---

Added option to customize the Command modifiers
5 changes: 5 additions & 0 deletions .changeset/flat-pumas-grow.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@saas-ui/react': patch
---

Restructure slot components and add ui namespaces to recipes
5 changes: 5 additions & 0 deletions .changeset/forty-starfishes-notice.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@saas-ui/react': patch
---

Export Pagination Context component
5 changes: 5 additions & 0 deletions .changeset/friendly-vans-act.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@saas-ui/forms': patch
---

Improved prop handling of base field
5 changes: 5 additions & 0 deletions .changeset/gentle-crabs-switch.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@saas-ui/react': patch
---

Improved form components recipes sizing
5 changes: 5 additions & 0 deletions .changeset/giant-bugs-hang.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@saas-ui/react': patch
---

Improved yellow color tokens
22 changes: 22 additions & 0 deletions .changeset/gorgeous-masks-rescue.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---
'@saas-ui/modals-provider': major
'@saas-ui/auth-provider': major
'@saas-ui/use-hotkeys': major
'@saas-ui/nprogress': major
'@saas-ui/supabase': major
'@saas-ui/assets': major
'@saas-ui/charts': major
'@saas-ui/modals': major
'@saas-ui/storybook-addon': major
'@saas-ui/auth0': major
'@saas-ui/clerk': major
'@saas-ui/forms': major
'@saas-ui/hooks': major
'@saas-ui/react': major
'@saas-ui/core': major
'saas-ui-storybook': major
'@saas-ui/props-docs': major
'@saas-ui/test-utils': major
---

Upgrade to Chakra v3
5 changes: 5 additions & 0 deletions .changeset/green-tips-report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@saas-ui/react': patch
---

Improved Sidebar recipe with beter balance and added --sidebar-item-icon-color variable
5 changes: 5 additions & 0 deletions .changeset/honest-nails-wash.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@saas-ui/react': patch
---

Improved focusRing styles
19 changes: 19 additions & 0 deletions .changeset/honest-pumpkins-marry.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
'@saas-ui/modals-provider': minor
'@saas-ui/auth-provider': minor
'@saas-ui/use-hotkeys': minor
'@saas-ui/nprogress': minor
'@saas-ui/supabase': minor
'@saas-ui/assets': minor
'@saas-ui/charts': minor
'@saas-ui/modals': minor
'@saas-ui/storybook-addon': minor
'@saas-ui/auth0': minor
'@saas-ui/clerk': minor
'@saas-ui/forms': minor
'@saas-ui/hooks': minor
'@saas-ui/react': minor
'@saas-ui/core': minor
---

Update to Chakra UI 3.2.1
5 changes: 5 additions & 0 deletions .changeset/hungry-readers-lie.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@saas-ui/core': minor
---

Improved GridList aria props
5 changes: 5 additions & 0 deletions .changeset/many-spiders-join.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@saas-ui/react': patch
---

Fixed issue where paddingStart would not apply to grouped inputs
5 changes: 5 additions & 0 deletions .changeset/mean-peas-sip.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@saas-ui/react': patch
---

Fixed passing menu button props to button component
7 changes: 7 additions & 0 deletions .changeset/modern-mangos-push.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
'@saas-ui/forms': patch
'@saas-ui/hooks': patch
'@saas-ui/core': patch
---

Removed chakra ui dependency of core package
5 changes: 5 additions & 0 deletions .changeset/moody-drinks-hammer.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@saas-ui/react': patch
---

Added size variant to Command
5 changes: 5 additions & 0 deletions .changeset/nasty-knives-argue.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@saas-ui/react': patch
---

Added SegmentControl stories and made sizing consistent with buttons
5 changes: 5 additions & 0 deletions .changeset/odd-beers-study.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@saas-ui/charts': minor
---

Added PieChart component
5 changes: 5 additions & 0 deletions .changeset/odd-elephants-yell.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@saas-ui/forms': major
---

BREAKING: getBaseField should now return props and Component
5 changes: 5 additions & 0 deletions .changeset/olive-mails-melt.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@saas-ui/react': major
---

Added new wide gammut color tokens
5 changes: 5 additions & 0 deletions .changeset/slow-deers-float.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@saas-ui/react': patch
---

Add missing PaginationPageTextProps export
22 changes: 22 additions & 0 deletions .changeset/smooth-kings-teach.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---
'@saas-ui/modals-provider': minor
'@saas-ui/auth-provider': minor
'@saas-ui/use-hotkeys': minor
'@saas-ui/nprogress': minor
'@saas-ui/supabase': minor
'@saas-ui/assets': minor
'@saas-ui/charts': minor
'@saas-ui/modals': minor
'@saas-ui/storybook-addon': minor
'@saas-ui/auth0': minor
'@saas-ui/clerk': minor
'@saas-ui/forms': minor
'@saas-ui/hooks': minor
'@saas-ui/react': minor
'@saas-ui/core': minor
'saas-ui-storybook': minor
'@saas-ui/props-docs': minor
'@saas-ui/test-utils': minor
---

Removed src exports and files from packages
5 changes: 5 additions & 0 deletions .changeset/ten-walls-doubt.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@saas-ui/charts': patch
---

Removed console.log
5 changes: 5 additions & 0 deletions .changeset/tough-comics-hunt.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@saas-ui/react': patch
---

Added 4.5 spacing
5 changes: 5 additions & 0 deletions .changeset/twenty-dodos-float.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@saas-ui/react': patch
---

Fixed semantic token inconsistencies
5 changes: 5 additions & 0 deletions .changeset/two-taxis-itch.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@saas-ui/react': patch
---

Fixed sidebar item end element positioning
5 changes: 5 additions & 0 deletions .changeset/unlucky-pens-sit.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@saas-ui/react': patch
---

Fixed incorrect props type for GridListRoot
5 changes: 5 additions & 0 deletions .changeset/unlucky-tomatoes-arrive.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@saas-ui/react': patch
---

Export Menu.Context
5 changes: 5 additions & 0 deletions .changeset/violet-spies-wink.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@saas-ui/react': patch
---

No longer showing presence badge if no presence is set
5 changes: 5 additions & 0 deletions .changeset/weak-horses-smile.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@saas-ui/react': patch
---

Sidebar.Button now renders a div with role="button"
5 changes: 5 additions & 0 deletions .changeset/wild-bobcats-shout.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@saas-ui/react': minor
---

Improve Navbar composition
5 changes: 5 additions & 0 deletions .changeset/wild-knives-worry.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@saas-ui/react': patch
---

Improved font size balance
5 changes: 5 additions & 0 deletions .changeset/young-dingos-judge.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@saas-ui/react': patch
---

Allow click event on Sidebar.Track to be prevented
1 change: 1 addition & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,6 @@ module.exports = {
'@typescript-eslint/no-unused-vars': 'off',
'@typescript-eslint/no-empty-interface': 'off',
'@typescript-eslint/no-var-requires': 'off',
'@typescript-eslint/ban-types': 'off',
},
}
7 changes: 0 additions & 7 deletions .prettierrc

This file was deleted.

20 changes: 20 additions & 0 deletions .prettierrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
module.exports = {
semi: false,
trailingComma: 'all',
singleQuote: true,
printWidth: 80,
importOrder: [
'server-only',
'^react$',
'^react-dom$',
'<THIRD_PARTY_MODULES>',
'^@acme/(.*)$',
'^@ui/(.*)$',
'^#.(.*)$',
'^[./]',
],
importOrderSeparation: true,
importOrderSortSpecifiers: true,
importOrderGroupNamespaceSpecifiers: true,
plugins: ['@trivago/prettier-plugin-sort-imports'],
}
11 changes: 8 additions & 3 deletions .vscode/createMultiStyleTheme.code-snippets
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,12 @@
"body": [
"import { createMultiStyleConfigHelpers } from '@chakra-ui/styled-system'",
"const { definePartsStyle, defineMultiStyleConfig } = createMultiStyleConfigHelpers($1)",
"export const $2 = defineMultiStyleConfig({$0})"
]
}
"export const $2 = defineMultiStyleConfig({$0})",
],
},
"import": {
"scope": "javascript,typescript",
"prefix": "from",
"body": ["import { $2 } from '$1'"],
},
}
22 changes: 10 additions & 12 deletions apps/palette/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,29 +11,27 @@
"typecheck": "tsc --noEmit"
},
"dependencies": {
"@chakra-ui/react": "^2.8.2",
"@chakra-ui/system": "2.6.2",
"@emotion/react": "^11.11.4",
"@emotion/styled": "^11.11.5",
"@fontsource/inter": "^4.5.15",
"@chakra-ui/react": "^3.2.2",
"@emotion/react": "^11.13.0",
"@emotion/styled": "^11.13.0",
"@fontsource/inter": "^5.0.20",
"@saas-ui/next-workspaces": "^0.3.0",
"@saas-ui/palette": "workspace:*",
"@saas-ui/react": "workspace:*",
"@saas-ui/theme-glass": "workspace:*",
"@svgr/webpack": "^5.5.0",
"@types/lodash.debounce": "^4.0.9",
"framer-motion": "^10.18.0",
"framer-motion": "^11.3.28",
"lodash.debounce": "^4.0.8",
"next": "^14.2.4",
"next": "^14.2.5",
"next-seo": "^6.5.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-icons": "^5.2.1"
"react-icons": "^5.3.0"
},
"devDependencies": {
"@types/react": "^18.3.3",
"eslint": "^8.56.0",
"eslint-config-next": "^14.2.4",
"typescript": "^5.5.2"
"eslint": "^8.57.0",
"eslint-config-next": "^14.2.5",
"typescript": "^5.5.4"
}
}
Loading
Loading