Omar López
7c749299bb
Enforces explicit type imports ( #7158 )
...
* Enforces explicit type imports
* Upgrades typescript-eslint
* Upgrades eslint related dependencies
* Update config
* Sync packages mismatches
* Syncs prettier version
* Linting
* Relocks node version
* Fixes
* Locks @vitejs/plugin-react to 1.3.2
* Linting
2023-02-16 15:39:57 -07:00
Omar López
16adf86c8c
Upgrades typescript to 4.9.4 ( #6747 )
...
* Upgrades typescript to 4.9.4
* Type fixes
2023-01-26 18:50:56 -07:00
Jeroen Reumkens
cfa8fd8b67
Reduce bundle size by importing single icons at a time ( #6644 )
...
* Removed barrel import for icons to reduce bundle size.
* Fixed replacement mistakes
* Reverted unneccesary yarn.lock updates
* Added some missed Icon. import conversions
* Remove merge artifact import in @calcom/ui
* Don't import Icon in pages/[user]
* Update packages/ui/package.json
Co-authored-by: Alex van Andel <me@alexvanandel.com>
Co-authored-by: Omar López <zomars@me.com>
2023-01-23 23:08:01 +00:00
sean-brydon
cfaecc3e02
Icon small button variant ( #6525 )
...
* Icon small button variant
* Rename
* Update CVA + Update button WIP
* add ticket ref and fix padding
* Update button and all uses of Icon button
* SB deployment test
* Fixing type error
* Fix lint
* Add icon button to canvas
Co-authored-by: Alex van Andel <me@alexvanandel.com>
2023-01-19 14:55:32 +00:00
Peer Richelsen
d83411162d
Upgrade to next 13.1 ( #6265 )
...
Co-authored-by: zomars <zomars@me.com>
2023-01-06 12:13:56 +00:00
sean-brydon
cefcb1eaf8
Feature/booking filters ( #6099 )
...
* EventTypeFilter UI working
* Tidy + fix avatar + fix overflow
* Component store
* WIP - switchin to query filtering instead of state
* Push working
* Checkbox approach - weird conditional toggle for all bookings
* WIP
* the master query hook :O
* useTypedQuery
* Working typed query
* Typed query hook
* Add optional keys
* safeParse query params
* Add use callback
* Fix re-renders
* Remove local version of local query and use util branch
* Working team filters!
* working people filter!
* Tidy up
* NIT
Co-authored-by: zomars <zomars@me.com>
2022-12-22 12:35:01 +00:00
Leo Giovanetti
f1b92c49fc
App Store Search ( #5704 )
...
Co-authored-by: Alex van Andel <me@alexvanandel.com>
Co-authored-by: Peer Richelsen <peeroke@gmail.com>
Co-authored-by: Peer Richelsen <peer@cal.com>
2022-11-30 20:51:44 +00:00
zomars
3137a188a0
Type fixes for API
2022-11-25 07:24:44 -07:00
Jeroen Reumkens
ccc2bdd25e
🧹 One `calcom/ui` import to rule them all ( #5561 )
...
* Removed emptyscreen component v1 version, migrated pages that still used it to v2, and removed v1 of workflow pages and components.
* updated workflow pages imports to remove v2 from path.
* Deleted v1 switch component, deleted v1 api-keys components, deleted old web integrations components that were unused.
* Removed v1 list component.
* Fixed event workflows tab path.
* Fixed import path for button in sandbox page.
* Cleanup and type fixes
* Making explicit indexes
* UI import migrations
* More import fixes
* More import fixes
* Submodule sync
* Type fixes
* Build fixes
Co-authored-by: zomars <zomars@me.com>
2022-11-22 19:55:25 -07:00
Jeroen Reumkens
d64400d66b
Added proper dark mode support for buttons ( #5603 )
...
* Added proper dark mode support for buttons, and converted buttons to use CVA for better maintainable variant styling.
* Added animations to buttons.
* Added cva types to buttonbase type since thats imported in different places
* Fixed issue with styled buttons when false was pas for disabled instead of undefined. Added a small util function that now accepts arrays of variants, and creates all the possible combinations. This way we have less duplicate compoundvariants defined. This fixes the styles in the eventsinglelayout component.
* Undo disabling of api jest tests.
* Fixed remaining buttons using combined prop, which is replace by button group.
Co-authored-by: Peer Richelsen <peeroke@gmail.com>
Co-authored-by: sean-brydon <55134778+sean-brydon@users.noreply.github.com>
2022-11-22 17:07:55 +00:00
zomars
2aa84cd5ce
Sync package.json
2022-11-04 12:15:12 -07:00
sean-brydon
b18eabc6e8
#5131 -Event Type Settings Inconsistency ( #5147 )
...
* Reusable component
* Fix limits not being toggleable
* Remove custom input margin
* addTestId
* Limits+adv
* Reccuring Tab
* Remove console .log
Co-authored-by: Omar López <zomars@me.com>
2022-10-24 17:11:07 -06:00
zomars
0289e727ad
sync monorepo packages
2022-10-10 17:22:52 -06:00
Alex / KATT
2f8bd3c07a
add trpc v10 ( #4683 )
...
* revert me later
* let's see if this builds
* fix dupe proc
* fix: v10 works
* fix type error
* fix type error
* fix type errors
* fix more
* add example procedure
* spreading not needed
* Update yarn.lock
* Revert "revert me later"
This reverts commit 0c8c15d057
.
Co-authored-by: Chris Bautista <chrisbautista@netflix.com>
Co-authored-by: Peer Richelsen <peeroke@gmail.com>
Co-authored-by: Omar López <zomars@me.com>
Co-authored-by: Alex van Andel <me@alexvanandel.com>
2022-09-29 16:58:29 +00:00
zomars
25711ef18e
fixes packages mismatch
2022-09-18 23:12:23 +01:00
depfu[bot]
d75a8910f6
Update all Yarn dependencies (2022-08-17) ( #3887 )
...
* Update all Yarn dependencies (2022-08-17)
* Fix package mismatches
* Submodule sync
* Type fixes
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
Co-authored-by: Peer Richelsen <peeroke@gmail.com>
Co-authored-by: zomars <zomars@me.com>
2022-08-29 17:55:27 -06:00
sean-brydon
436f88a48e
V2 Main ( #3549 )
...
* Fix breadcrumb colors
* HorizontalTabs
* Team List Item WIP
* Horizontal Tabs
* Cards
* Remove team list item WIP
* Login Page
* Add welcome back i118n
* EventType page work
* Update EventType Icons
* WIP Availability
* Horizontal Tab Work
* Add build command for in root
* Update build DIr/command
* Add Edit Button + change buttons to v2
* Availablitiy page
* Fix IPAD
* Make mobile look a little nicer
* WIP bookingshell
* Remove list items from breaking build
* Mian bulk of Booking Page.
* Few updates to components
* Fix chormatic feedback
* Fix banner
* Fix Empty Screen
* Text area + embded window fixes
* Semi fix avatar
* Troubleshoot container + Active on count
* Improve mobile
* NITS
* Fix padding on input
* Fix icons
* Starting to move event types settings to tabs
* Begin migration to single page form
* Single page tabs
* Limits Page
* Advanced tab
* Add RHF to dependancies
* Most of advanced tab
* Solved RHF mismtach
* Build fixes
* RHF conditionals fixes
* Improved legibility
* Major refactor/organisation into optional V2 UI
* Portal EditLocationModal
* Fix dialoug form
* Update imports
* Auto Animate + custom inputs WIP
* Custom Inputs
* WIP Apps
* Fixing stories imports
* Stripe app
* Remove duplicate dialog
* Remove duplicate dialog
* Fix embed URL
* Fix app toggles + number of active apps
* Fix container padding on disabledBorder prop
* Removes strict
* EventType Team page WIP
* Fix embed
* NIT
* Add Darkmode gray color
* V2 Shell WIP
* Fix headings on shell V2
* Fix mobile layout with V2 shell
* V2 create event type button
* Checked Team Select
* Hidden to happen on save - not on toggle
* Team Attendee Select animation
* Fix scheduling type and remove multi select label
* Fix overflow on teams url
* Even Type move order handles
* Fix Embed TS errors
* Fix TS errors
* Fix Eslint errors
* Fix TS errors for UI
* Fix ESLINT error
* added SidebarCard for promo to v2 and storybook (#3906 )
Co-authored-by: Julian Benegas <julianbenegas99@gmail.com>
Co-authored-by: Alan <alannnc@gmail.com>
Co-authored-by: sean-brydon <55134778+sean-brydon@users.noreply.github.com>
* Tooltip Provider - Wrapper due to dep upgrade
* public event type list darkmode
* V2 Color changes to public booking
* Remove unused component
* Fix typecheck
* Removed extra buttons on create ET dialog
* ET edit page refactoring
* Avoids form wrapping the whole Shell
* Nitpicks
Co-authored-by: Peer Richelsen <peeroke@gmail.com>
Co-authored-by: zomars <zomars@me.com>
Co-authored-by: Hariom Balhara <hariombalhara@gmail.com>
Co-authored-by: Julian Benegas <julianbenegas99@gmail.com>
Co-authored-by: Alan <alannnc@gmail.com>
2022-08-24 14:18:42 -06:00
depfu[bot]
b8acf1e180
Update all Yarn dependencies (2022-07-29) ( #3599 )
...
* Update all Yarn dependencies (2022-07-29)
* Adds syncpack config
* Fixes mismatches
* Update yarn.lock
* RRule fixes
* Locking dayjs to fix build
* Type fixes
* Fixes mismatches
* Submodule sync
* Update yarn.lock
* Update event.ts
* Conflict fixes
* Fixes prisma warnings
* Liting
* Upgrade next, zod
* Prevents articfact overwriting
* Yarn fixes
* Jest fixes
* Submodule sync
* Formatting
* Submodule sync
* Adds provider for react-tooltip
* Removed dotenv-cli
* Readds dotenv-cli
* Skips getSchedule tests
Until prisma is mocked properly
* Fixes
* Revert prisma seed script
* E2E fixes
* test
* Removed deprecated req.page in middleware
* Make tests stable
* Unskip getSchedule tests
* fixed 404 logo on cal video (#3885 )
* Removed PW aliases as aren't needed anymore
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
Co-authored-by: zomars <zomars@me.com>
Co-authored-by: Hariom Balhara <hariombalhara@gmail.com>
Co-authored-by: Alex van Andel <me@alexvanandel.com>
Co-authored-by: Peer Richelsen <peeroke@gmail.com>
2022-08-17 11:38:21 -06:00
Omar López
accf845f0e
Allows tree shaking unused modules ( #3752 )
...
* Allows tree shaking unused modules
* don't tree shake embed-core side effects
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-08-11 10:36:30 -06:00
sean-brydon
532723fb41
Update V2 components + Move to react-icons ( #3670 )
2022-08-03 16:01:29 +00:00
Omar López
464343f5ab
Refactors EE code ( #3490 )
...
* WIP
* WIP
* Type and migration fixes
* Adds missing default import
* Fixes import
* Fixes tRPC imports in App Store
* Migrate stripe helpers
* WIP
* Type fixes
* Type fix?
* WIP
* WIP
* Update index.ts
* Fixes
* Update workflow.tsx
* Moved queries to lib
* Moves QueryCell
* Migrates MultiSelectCheckboxes
* WIP
* CryptoSection type fixes
* WIP
* Import fixes
* Build fixes
* Update app-providers.tsx
* Build fixes
* Upgrades hookform zod resolvers
* Build fixes
* Cleanup
* Build fixes
* Relocates QueryCell to ui
* Moved List and SkeletonLoader
* Revert QueryCell migration
* Can't use QueryCell here
* oops
* CryptoSection cleanup
* Update app-providers.tsx
* Moved ee to features
* ee to features/ee
* Removes @calcom/ee
* Adds possible feature locations
* Build fixes
* Migrates stripe to app-store lib
* Colocates stripe imports
* Update subscription.ts
* Submodule sync
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-07-28 13:58:26 -06:00
sean-brydon
b3bd8c1a58
Few updates to V2 components ( #3532 )
...
* Fix breadcrumb colors
* HorizontalTabs
* Team List Item WIP
* Horizontal Tabs
* Cards
* Remove team list item WIP
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-07-27 23:12:27 +01:00
sean-brydon
277b0c4c92
Feat/design system ( #3051 )
...
* Storybook Boilerplate setup
* Inital Setup
* First story
* Color Design System
* Badge Story + Comp
* Checkbox UI + Stories
* Update Red colors + Button Group
* Switch+Stories / Default brand color
* Update Version + Button Group combined
* Compact Butotn Group
* Tidy up Selectors
* Adds Tooltip to Button
* TextInput
* Update SB
* Prefix Input
* Match text area styles
* Prefix Controls
* Update spacing on text area
* Text Input Suffix
* Color Picker
* Update storybook
* Icon Suffix/Prefix
* Datepicker + move components to monorepo
* Text color on labels
* Move Radio over to monorepo
* Move CustomBranding to calcom/ib
* Radio
* IconBadge Component
* Update radio indicator background
* Disabled radio state
* Delete yarn.lock
* Revert "Delete yarn.lock"
This reverts commit 9b99d244b7
.
* Fix webhook test
* Replace old toast location
* Update radio path
* Empty State
* Update Badge.tsx
* Update Badge.tsx
* Banner Component+story
* Creation Modal
* Creation Dialog updated
* Button hover dialog
* Confirmation Modal
* Datepicker (Booking)
* PageHeader
* Fix border width
* PageHeader update search bar
* Fix input height
* Fix button group size
* Add spacing between badges - font smoothing
* Update button position on banner
* Banner update
* Fixing focus state on suffix/prefix inputs
* Implement A11y addon
* Add aria label
* error && "text-red-800"
* Fix button hover
* Change colors
* Generate snapshot tests for on hover button
* Revert colors to demo
* Change colors
* Fix Linear Issues
* Form Stepper component
* Add padding back to input
* Move ui to UI_V2
* Use V2
* Update imports for v1
* Update imports for v1
* Upgrade to nextjs in storybook root
* Update website submodule
* Avatar Groups
* Fix webpack again
* Vertical Tab Item
[WIP] - active state on small item is not working currently
* Vertical Tab Group
* Add Github action
* Fix website submodule
* Fix GH action
* Rename Workflow
* Adds lint report for CI
* Lint report fixes
* NavigationItem comments
* VerticalTabItem type fixes
* Fix avatar blur
* Fix comments
* Adding isEmbed to window object
* Disable components that use router mock.
* Load inter via google fonts
* Started select
* Adding base Breadcrumb
* Update readme
* Formatting
* Fixes
* Dependencies matching
* Linting
* Update FormStep.stories.tsx
* Linting
* Update MultiSelectCheckboxes.tsx
Co-authored-by: zomars <zomars@me.com>
Co-authored-by: Peer Richelsen <peeroke@gmail.com>
2022-07-22 18:39:50 -06:00
Leo Giovanetti
b1d637d1a6
Upgrading nextjs and collect ( #3252 )
...
* Upgrading nextjs and collect
* Fixing suggestions + yarn.lock
* Updating submodules
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-07-12 11:43:53 -06:00
depfu[bot]
db01f7be19
Update all Yarn dependencies (2022-05-16) ( #2769 )
...
* Update all Yarn dependencies (2022-05-16)
* Upgrade dependencies
* Removes deprecated packages
* Upgrades deps
* Updates submodules
* Update yarn.lock
* Linting
* Linting
* Update website
* Build fixes
* TODO: fix this
* Module resolving
* Type fixes
* Intercom fixes on SSG
* Fixes infinite loop
* Upgrades to React 18
* Type fixes
* Locks node version to 14
* Upgrades daily-js
* Readds missing types
* Upgrades playwright
* Noop when intercom is not installed
* Update website
* Removed yarn.lock in favor of monorepo
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
Co-authored-by: zomars <zomars@me.com>
2022-05-17 19:31:49 +00:00
Omar López
558897fe53
Migrates components and libs to packages ( #2172 )
...
* Migrates Dialog to ui package
* Migrates Alert to ui
* Migrate Button to ui
* UI and lib migrations
* Add missing imports
* Update Error.tsx
2022-03-16 16:36:43 -07:00
Omar López
95b3397e42
Add ui package for reusable components ( #1916 )
...
* Add ui package for reusable components
* Add fallback
* Type fixes
* Type fixes
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-02-21 09:41:25 -07:00