Skip to content

Commit

Permalink
Update Modulz -> WorkOS (#1440)
Browse files Browse the repository at this point in the history
  • Loading branch information
Andy Hook authored Jun 1, 2022
1 parent cec4009 commit ee4e319
Show file tree
Hide file tree
Showing 11 changed files with 54 additions and 57 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,4 @@ cypress/screenshots
.idea

# So devs can maintain their own todo lists in the project
# modulz.slack.com/archives/GFU9U06DB/p1588189767003300
TODO.md
2 changes: 2 additions & 0 deletions .yarn/versions/eccc0c8b.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
declined:
- primitives
28 changes: 14 additions & 14 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,22 +14,22 @@ appearance, race, religion, or sexual identity and orientation.
Examples of behavior that contributes to creating a positive environment
include:

* Using welcoming and inclusive language
* Being respectful of differing viewpoints and experiences
* Gracefully accepting constructive criticism
* Focusing on what is best for the community
* Showing empathy towards other community members
- Using welcoming and inclusive language
- Being respectful of differing viewpoints and experiences
- Gracefully accepting constructive criticism
- Focusing on what is best for the community
- Showing empathy towards other community members

Examples of unacceptable behavior by participants include:

* The use of sexualized language or imagery and unwelcome sexual attention or
advances
* Trolling, insulting/derogatory comments, and personal or political attacks
* Public or private harassment
* Publishing others' private information, such as a physical or electronic
address, without explicit permission
* Other conduct which could reasonably be considered inappropriate in a
professional setting
- The use of sexualized language or imagery and unwelcome sexual attention or
advances
- Trolling, insulting/derogatory comments, and personal or political attacks
- Public or private harassment
- Publishing others' private information, such as a physical or electronic
address, without explicit permission
- Other conduct which could reasonably be considered inappropriate in a
professional setting

## Our Responsibilities

Expand All @@ -55,7 +55,7 @@ further defined and clarified by project maintainers.
## Enforcement

Instances of abusive, harassing, or otherwise unacceptable behavior may be
reported by contacting the project team at [email protected]. All
reported by contacting the project team at [email protected]. All
complaints will be reviewed and investigated and will result in a response that
is deemed necessary and appropriate to the circumstances. The project team is
obligated to maintain confidentiality with regard to the reporter of an incident.
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2020 Modulz
Copyright (c) 2022 WorkOS

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ Please follow our [contributing guidelines](./.github/CONTRIBUTING.md).

## Authors

- Benoit Grelard ([@benoitgrelard](https://twitter.com/benoitgrelard)) - [Modulz](https://modulz.app)
- Jenna Smith ([@jjenzz](https://twitter.com/jjenzz)) - [Modulz](https://modulz.app)
- Andy Hook ([@Andy_Hook](https://twitter.com/Andy_Hook)) - [Modulz](https://modulz.app)
- Pedro Duarte ([@peduarte](https://twitter.com/peduarte)) - [Modulz](https://modulz.app)
- Benoit Grelard ([@benoitgrelard](https://twitter.com/benoitgrelard)) - [WorkOS](https://workos.com)
- Jenna Smith ([@jjenzz](https://twitter.com/jjenzz))
- Andy Hook ([@Andy_Hook](https://twitter.com/Andy_Hook)) - [WorkOS](https://workos.com)
- Pedro Duarte ([@peduarte](https://twitter.com/peduarte))
- Chance Strickland ([@chancethedev](https://twitter.com/chancethedev))

## Contributors
Expand All @@ -39,8 +39,8 @@ Please follow our [contributing guidelines](./.github/CONTRIBUTING.md).

## Community

- Pedro Duarte ([@peduarte](https://twitter.com/peduarte)) - [Modulz](https://modulz.app)
- Colm Tuite ([@colmtuite](https://twitter.com/colmtuite)) - [Modulz](https://modulz.app)
- Pedro Duarte ([@peduarte](https://twitter.com/peduarte))
- Colm Tuite ([@colmtuite](https://twitter.com/colmtuite)) - [WorkOS](https://workos.com)

- [Discord](https://discord.com/invite/7Xb99uG) - To get involved with the Radix community, ask questions and share tips.
- [Twitter](https://twitter.com/radix_ui) - To receive updates, announcements, blog posts, and general Radix tips.
Expand All @@ -55,6 +55,6 @@ Thanks to [Chromatic](https://www.chromatic.com/) for providing the visual testi

## License

Licensed under the MIT License, Copyright © 2020-present [Modulz](https://modulz.app).
Licensed under the MIT License, Copyright © 2022-present [WorkOS](https://workos.com).

See [LICENSE](./LICENSE) for more information.
24 changes: 12 additions & 12 deletions cypress/integration/ContextMenu.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,15 +46,15 @@ describe('ContextMenu', () => {

// Test at collision edge
// Moving away
pointerOver('Modulz →');
pointerOver('WorkOS →');
cy.findByText('Radix').should('be.visible');
pointerExitLeftToRight('Modulz →');
pointerExitLeftToRight('WorkOS →');
cy.findByText('Radix').should('not.exist');

// Moving towards
pointerOver('Modulz →');
pointerOver('WorkOS →');
cy.findByText('Radix').should('be.visible');
pointerExitRightToLeft('Modulz →');
pointerExitRightToLeft('WorkOS →');
cy.findByText('Radix').should('be.visible');
}
);
Expand Down Expand Up @@ -88,7 +88,7 @@ describe('ContextMenu', () => {
it('should close unassociated submenus when moving pointer back to the root trigger', () => {
// Open multiple nested submenus and back to trigger in root menu
pointerOver('Bookmarks →');
pointerOver('Modulz →');
pointerOver('WorkOS →');
pointerOver('Radix');
pointerOver('Bookmarks →');

Expand Down Expand Up @@ -134,9 +134,9 @@ describe('ContextMenu', () => {

it('should close only the focused submenu when pressing left arrow key', () => {
cy.findByText('Bookmarks →').type('{enter}');
cy.findByText('Modulz →').type('{enter}');
cy.findByText('WorkOS →').type('{enter}');
cy.findByText('Stitches').type('{leftarrow}').should('not.exist');
cy.findByText('Modulz →').should('be.visible');
cy.findByText('WorkOS →').should('be.visible');
cy.findByText('New Window').should('be.visible');
});

Expand All @@ -161,7 +161,7 @@ describe('ContextMenu', () => {
it('should scope typeahead behaviour to the active menu', () => {
// Matching items outside of the active menu should not become focused
pointerOver('Bookmarks →');
pointerOver('Modulz →');
pointerOver('WorkOS →');
cy.findByText('Stitches').focus().type('Inbox');
cy.findByText('Inbox').should('not.have.focus');

Expand Down Expand Up @@ -197,15 +197,15 @@ describe('ContextMenu', () => {

// Test at collision edge
// Moving away
pointerOver('Modulz →');
pointerOver('WorkOS →');
cy.findByText('Radix').should('be.visible');
pointerExitRightToLeft('Modulz →');
pointerExitRightToLeft('WorkOS →');
cy.findByText('Radix').should('not.exist');

// Moving towards
pointerOver('Modulz →');
pointerOver('WorkOS →');
cy.findByText('Radix').should('be.visible');
pointerExitLeftToRight('Modulz →');
pointerExitLeftToRight('WorkOS →');
cy.findByText('Radix').should('be.visible');
}
);
Expand Down
24 changes: 12 additions & 12 deletions cypress/integration/DropdownMenu.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,15 +38,15 @@ describe('DropdownMenu', () => {

// Test at collision edge
// Moving away
pointerOver('Modulz →');
pointerOver('WorkOS →');
cy.findByText('Radix').should('be.visible');
pointerExitLeftToRight('Modulz →');
pointerExitLeftToRight('WorkOS →');
cy.findByText('Radix').should('not.exist');

// Moving towards
pointerOver('Modulz →');
pointerOver('WorkOS →');
cy.findByText('Radix').should('be.visible');
pointerExitRightToLeft('Modulz →');
pointerExitRightToLeft('WorkOS →');
cy.findByText('Radix').should('be.visible');
}
);
Expand Down Expand Up @@ -80,7 +80,7 @@ describe('DropdownMenu', () => {
it('should close unassociated submenus when moving pointer back to the root trigger', () => {
// Open multiple nested submenus and back to trigger in root menu
pointerOver('Bookmarks →');
pointerOver('Modulz →');
pointerOver('WorkOS →');
pointerOver('Radix');
pointerOver('Bookmarks →');

Expand Down Expand Up @@ -126,9 +126,9 @@ describe('DropdownMenu', () => {

it('should close only the focused submenu when pressing left arrow key', () => {
cy.findByText('Bookmarks →').type('{enter}');
cy.findByText('Modulz →').type('{enter}');
cy.findByText('WorkOS →').type('{enter}');
cy.findByText('Stitches').type('{leftarrow}').should('not.exist');
cy.findByText('Modulz →').should('be.visible');
cy.findByText('WorkOS →').should('be.visible');
cy.findByText('New Window').should('be.visible');
});

Expand All @@ -153,7 +153,7 @@ describe('DropdownMenu', () => {
it('should scope typeahead behaviour to the active menu', () => {
// Matching items outside of the active menu should not become focused
pointerOver('Bookmarks →');
pointerOver('Modulz →');
pointerOver('WorkOS →');
cy.findByText('Stitches').focus().type('Inbox');
cy.findByText('Inbox').should('not.have.focus');

Expand Down Expand Up @@ -189,15 +189,15 @@ describe('DropdownMenu', () => {

// Test at collision edge
// Moving away
pointerOver('Modulz →');
pointerOver('WorkOS →');
cy.findByText('Radix').should('be.visible');
pointerExitRightToLeft('Modulz →');
pointerExitRightToLeft('WorkOS →');
cy.findByText('Radix').should('not.exist');

// Moving towards
pointerOver('Modulz →');
pointerOver('WorkOS →');
cy.findByText('Radix').should('be.visible');
pointerExitLeftToRight('Modulz →');
pointerExitLeftToRight('WorkOS →');
cy.findByText('Radix').should('be.visible');
}
);
Expand Down
2 changes: 1 addition & 1 deletion packages/react/context-menu/src/ContextMenu.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ export const Submenus = () => {
<ContextMenu.Separator className={separatorClass()} />
<ContextMenu.Sub>
<ContextMenu.SubTrigger className={subTriggerClass()}>
Modulz
WorkOS
</ContextMenu.SubTrigger>
<ContextMenu.SubContent
className={contentClass()}
Expand Down
2 changes: 1 addition & 1 deletion packages/react/dropdown-menu/src/DropdownMenu.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ export const Submenus = () => {
<DropdownMenu.Separator className={separatorClass()} />
<DropdownMenu.Sub>
<DropdownMenu.SubTrigger className={subTriggerClass()}>
Modulz
WorkOS
</DropdownMenu.SubTrigger>
<DropdownMenu.SubContent
className={contentClass()}
Expand Down
8 changes: 4 additions & 4 deletions packages/react/tooltip/src/Tooltip.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ export const CustomContent = () => (
<Tooltip.Trigger>Link</Tooltip.Trigger>
<Tooltip.Portal>
<Tooltip.Content className={contentClass()} sideOffset={5}>
View in <a href="https://modulz.app">Modulz</a>
View in <a href="https://workos.com">WorkOS</a>
<Tooltip.Arrow className={arrowClass()} offset={10} />
</Tooltip.Content>
</Tooltip.Portal>
Expand Down Expand Up @@ -557,19 +557,19 @@ export const WithText = () => (
Hello this is a test with{' '}
<SimpleTooltip label="This is a tooltip">
<Tooltip.Trigger asChild>
<a href="https://modulz.app">Tooltip.Root</a>
<a href="https://workos.com">Tooltip.Root</a>
</Tooltip.Trigger>
</SimpleTooltip>{' '}
inside a Text Component{' '}
<SimpleTooltip label="This is a tooltip" side="top">
<Tooltip.Trigger asChild>
<a href="https://modulz.app">Tooltip.Root</a>
<a href="https://workos.com">Tooltip.Root</a>
</Tooltip.Trigger>
</SimpleTooltip>{' '}
some more text{' '}
<SimpleTooltip label="This is a tooltip" side="right" align="center">
<Tooltip.Trigger asChild>
<a href="https://modulz.app">Tooltip.Root</a>
<a href="https://workos.com">Tooltip.Root</a>
</Tooltip.Trigger>
</SimpleTooltip>{' '}
</p>
Expand Down
4 changes: 0 additions & 4 deletions philosophy.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,6 @@ Our goal is to create a well-funded open-source component library that the commu

- Components are feature-rich, with support for keyboard interaction, collision detection, focus trapping, dynamic resizing, scroll locking, native fallbacks, and more.

### Interoperable

- Components are fully interoperable with the Modulz Editor and compatible with Modulz design tool plugins.

### Composable

- Components are designed with an open API that provides consumers with direct access to the underlying DOM node that is rendered to the page.
Expand Down

0 comments on commit ee4e319

Please sign in to comment.