repo
stringlengths
7
64
file_url
stringlengths
81
338
file_path
stringlengths
5
257
content
stringlengths
0
32.8k
language
stringclasses
1 value
license
stringclasses
7 values
commit_sha
stringlengths
40
40
retrieved_at
stringdate
2026-01-04 15:25:31
2026-01-05 01:50:38
truncated
bool
2 classes
RocketChat/fuselage
https://github.com/RocketChat/fuselage/blob/28b7a4a51c6c5bf72182f3b708965b1abfc36b38/packages/onboarding-ui/src/pages/CreateCloudWorkspacePage/CreateCloudWorkspacePage.tsx
packages/onboarding-ui/src/pages/CreateCloudWorkspacePage/CreateCloudWorkspacePage.tsx
import { Box } from '@rocket.chat/fuselage'; import { BackgroundLayer } from '@rocket.chat/layout'; import type { ComponentProps, ReactElement } from 'react'; import { useTranslation, Trans } from 'react-i18next'; import FormPageLayout from '../../common/FormPageLayout'; import CreateCloudWorkspaceForm from '../../for...
typescript
MIT
28b7a4a51c6c5bf72182f3b708965b1abfc36b38
2026-01-05T04:58:51.149339Z
false
RocketChat/fuselage
https://github.com/RocketChat/fuselage/blob/28b7a4a51c6c5bf72182f3b708965b1abfc36b38/packages/onboarding-ui/src/pages/CreateCloudWorkspacePage/CreateCloudWorkspacePage.stories.tsx
packages/onboarding-ui/src/pages/CreateCloudWorkspacePage/CreateCloudWorkspacePage.stories.tsx
import type { StoryFn, Meta } from '@storybook/react-webpack5'; import CreateCloudWorkspacePage from './CreateCloudWorkspacePage'; export default { title: 'pages/CreateCloudWorkspacePage', component: CreateCloudWorkspacePage, parameters: { actions: { argTypesRegex: '^on.*' }, layout: 'fullscreen', }, ...
typescript
MIT
28b7a4a51c6c5bf72182f3b708965b1abfc36b38
2026-01-05T04:58:51.149339Z
false
RocketChat/fuselage
https://github.com/RocketChat/fuselage/blob/28b7a4a51c6c5bf72182f3b708965b1abfc36b38/packages/onboarding-ui/src/pages/CreateCloudWorkspacePage/index.ts
packages/onboarding-ui/src/pages/CreateCloudWorkspacePage/index.ts
export { default } from './CreateCloudWorkspacePage';
typescript
MIT
28b7a4a51c6c5bf72182f3b708965b1abfc36b38
2026-01-05T04:58:51.149339Z
false
RocketChat/fuselage
https://github.com/RocketChat/fuselage/blob/28b7a4a51c6c5bf72182f3b708965b1abfc36b38/packages/onboarding-ui/src/pages/CreateCloudWorkspacePage/TitleCreateCloudPage.tsx
packages/onboarding-ui/src/pages/CreateCloudWorkspacePage/TitleCreateCloudPage.tsx
import { FormPageLayout } from '@rocket.chat/layout'; import type { ReactElement } from 'react'; import { Trans } from 'react-i18next'; const TitleCreateCloudPage = (): ReactElement => ( <Trans i18nKey='page.createCloudWorkspace.title'> Launch new workspace and <FormPageLayout.TitleHighlight>30-day trial</Fo...
typescript
MIT
28b7a4a51c6c5bf72182f3b708965b1abfc36b38
2026-01-05T04:58:51.149339Z
false
RocketChat/fuselage
https://github.com/RocketChat/fuselage/blob/28b7a4a51c6c5bf72182f3b708965b1abfc36b38/packages/onboarding-ui/src/pages/RequestTrialPage/Description.tsx
packages/onboarding-ui/src/pages/RequestTrialPage/Description.tsx
import colors from '@rocket.chat/fuselage-tokens/colors.json'; import { List, DarkModeProvider } from '@rocket.chat/layout'; import type { ReactElement } from 'react'; import { useMemo } from 'react'; import { renderToStaticMarkup } from 'react-dom/server'; import { useTranslation } from 'react-i18next'; import PlanFe...
typescript
MIT
28b7a4a51c6c5bf72182f3b708965b1abfc36b38
2026-01-05T04:58:51.149339Z
false
RocketChat/fuselage
https://github.com/RocketChat/fuselage/blob/28b7a4a51c6c5bf72182f3b708965b1abfc36b38/packages/onboarding-ui/src/pages/RequestTrialPage/RequestTrialPage.tsx
packages/onboarding-ui/src/pages/RequestTrialPage/RequestTrialPage.tsx
import { BackgroundLayer, FormPageLayout as FormLayout, } from '@rocket.chat/layout'; import type { ComponentProps, ReactElement } from 'react'; import { useTranslation, Trans } from 'react-i18next'; import FormPageLayout from '../../common/FormPageLayout'; import RequestTrialForm from '../../forms/RequestTrialFor...
typescript
MIT
28b7a4a51c6c5bf72182f3b708965b1abfc36b38
2026-01-05T04:58:51.149339Z
false
RocketChat/fuselage
https://github.com/RocketChat/fuselage/blob/28b7a4a51c6c5bf72182f3b708965b1abfc36b38/packages/onboarding-ui/src/pages/RequestTrialPage/RequestTrialPage.stories.tsx
packages/onboarding-ui/src/pages/RequestTrialPage/RequestTrialPage.stories.tsx
import type { StoryFn, Meta } from '@storybook/react-webpack5'; import { countries } from 'countries-list'; import RequestTrialPage from './RequestTrialPage'; export default { title: 'pages/RequestTrialPage', component: RequestTrialPage, parameters: { actions: { argTypesRegex: '^on.*' }, layout: 'fullsc...
typescript
MIT
28b7a4a51c6c5bf72182f3b708965b1abfc36b38
2026-01-05T04:58:51.149339Z
false
RocketChat/fuselage
https://github.com/RocketChat/fuselage/blob/28b7a4a51c6c5bf72182f3b708965b1abfc36b38/packages/onboarding-ui/src/pages/RequestTrialPage/index.ts
packages/onboarding-ui/src/pages/RequestTrialPage/index.ts
export { default } from './RequestTrialPage';
typescript
MIT
28b7a4a51c6c5bf72182f3b708965b1abfc36b38
2026-01-05T04:58:51.149339Z
false
RocketChat/fuselage
https://github.com/RocketChat/fuselage/blob/28b7a4a51c6c5bf72182f3b708965b1abfc36b38/packages/onboarding-ui/src/pages/LoginLinkEmailPage/LoginLinkEmailPage.spec.tsx
packages/onboarding-ui/src/pages/LoginLinkEmailPage/LoginLinkEmailPage.spec.tsx
import { render } from '@testing-library/react'; import LoginLinkEmailPage from './LoginLinkEmailPage'; it('renders without crashing', () => { render( <LoginLinkEmailPage onResendEmailRequest={() => undefined} onChangeEmailRequest={() => undefined} />, ); });
typescript
MIT
28b7a4a51c6c5bf72182f3b708965b1abfc36b38
2026-01-05T04:58:51.149339Z
false
RocketChat/fuselage
https://github.com/RocketChat/fuselage/blob/28b7a4a51c6c5bf72182f3b708965b1abfc36b38/packages/onboarding-ui/src/pages/LoginLinkEmailPage/LoginLinkEmailPage.stories.tsx
packages/onboarding-ui/src/pages/LoginLinkEmailPage/LoginLinkEmailPage.stories.tsx
import type { Meta, StoryFn } from '@storybook/react-webpack5'; import LoginLinkEmailPage from './LoginLinkEmailPage'; export default { title: 'pages/LoginLinkEmailPage', component: LoginLinkEmailPage, parameters: { actions: { argTypesRegex: '^on.*' }, layout: 'fullscreen', }, } satisfies Meta<typeof ...
typescript
MIT
28b7a4a51c6c5bf72182f3b708965b1abfc36b38
2026-01-05T04:58:51.149339Z
false
RocketChat/fuselage
https://github.com/RocketChat/fuselage/blob/28b7a4a51c6c5bf72182f3b708965b1abfc36b38/packages/onboarding-ui/src/pages/LoginLinkEmailPage/LoginLinkEmailPage.tsx
packages/onboarding-ui/src/pages/LoginLinkEmailPage/LoginLinkEmailPage.tsx
import { Box, Margins } from '@rocket.chat/fuselage'; import { BackgroundLayer, LayoutLogo } from '@rocket.chat/layout'; import type { ReactElement } from 'react'; import { Trans, useTranslation } from 'react-i18next'; import EmailCodeFallback from '../../common/EmailCodeFallback'; type LoginLinkEmailProps = { onRe...
typescript
MIT
28b7a4a51c6c5bf72182f3b708965b1abfc36b38
2026-01-05T04:58:51.149339Z
false
RocketChat/fuselage
https://github.com/RocketChat/fuselage/blob/28b7a4a51c6c5bf72182f3b708965b1abfc36b38/packages/onboarding-ui/src/pages/LoginLinkEmailPage/index.ts
packages/onboarding-ui/src/pages/LoginLinkEmailPage/index.ts
export { default } from './LoginLinkEmailPage';
typescript
MIT
28b7a4a51c6c5bf72182f3b708965b1abfc36b38
2026-01-05T04:58:51.149339Z
false
RocketChat/fuselage
https://github.com/RocketChat/fuselage/blob/28b7a4a51c6c5bf72182f3b708965b1abfc36b38/packages/onboarding-ui/src/pages/AwaitingConfirmationPage/AwaitingConfirmationPage.stories.tsx
packages/onboarding-ui/src/pages/AwaitingConfirmationPage/AwaitingConfirmationPage.stories.tsx
import type { StoryFn, Meta } from '@storybook/react-webpack5'; import AwaitingConfirmationPage from './AwaitingConfirmationPage'; export default { title: 'pages/AwaitingConfirmationPage', component: AwaitingConfirmationPage, parameters: { actions: { argTypesRegex: '^on.*' }, layout: 'fullscreen', }, ...
typescript
MIT
28b7a4a51c6c5bf72182f3b708965b1abfc36b38
2026-01-05T04:58:51.149339Z
false
RocketChat/fuselage
https://github.com/RocketChat/fuselage/blob/28b7a4a51c6c5bf72182f3b708965b1abfc36b38/packages/onboarding-ui/src/pages/AwaitingConfirmationPage/AwaitingConfirmationPage.spec.tsx
packages/onboarding-ui/src/pages/AwaitingConfirmationPage/AwaitingConfirmationPage.spec.tsx
import { render } from '@testing-library/react'; import AwaitingConfirmationPage from './AwaitingConfirmationPage'; it('renders without crashing', () => { render( <AwaitingConfirmationPage currentStep={4} stepCount={4} securityCode='' emailAddress='' onResendEmailRequest={() => und...
typescript
MIT
28b7a4a51c6c5bf72182f3b708965b1abfc36b38
2026-01-05T04:58:51.149339Z
false
RocketChat/fuselage
https://github.com/RocketChat/fuselage/blob/28b7a4a51c6c5bf72182f3b708965b1abfc36b38/packages/onboarding-ui/src/pages/AwaitingConfirmationPage/index.ts
packages/onboarding-ui/src/pages/AwaitingConfirmationPage/index.ts
export { default } from './AwaitingConfirmationPage';
typescript
MIT
28b7a4a51c6c5bf72182f3b708965b1abfc36b38
2026-01-05T04:58:51.149339Z
false
RocketChat/fuselage
https://github.com/RocketChat/fuselage/blob/28b7a4a51c6c5bf72182f3b708965b1abfc36b38/packages/onboarding-ui/src/pages/AwaitingConfirmationPage/AwaitingConfirmationPage.tsx
packages/onboarding-ui/src/pages/AwaitingConfirmationPage/AwaitingConfirmationPage.tsx
import { BackgroundLayer } from '@rocket.chat/layout'; import type { ReactElement, ReactNode } from 'react'; import type { FormPageLayoutStyleProps } from '../../Types'; import FormPageLayout from '../../common/FormPageLayout'; import AwaitingConfirmationForm from '../../forms/AwaitConfirmationForm'; type AwaitingCon...
typescript
MIT
28b7a4a51c6c5bf72182f3b708965b1abfc36b38
2026-01-05T04:58:51.149339Z
false
RocketChat/fuselage
https://github.com/RocketChat/fuselage/blob/28b7a4a51c6c5bf72182f3b708965b1abfc36b38/packages/onboarding-ui/src/pages/CreateFirstMemberPage/CreateFirstMemberPage.tsx
packages/onboarding-ui/src/pages/CreateFirstMemberPage/CreateFirstMemberPage.tsx
import { BackgroundLayer } from '@rocket.chat/layout'; import type { ComponentProps, ReactElement } from 'react'; import type { FormPageLayoutStyleProps } from '../../Types'; import FormPageLayout from '../../common/FormPageLayout'; import CreateFirstMemberForm from '../../forms/CreateFirstMemberForm'; import TitleCr...
typescript
MIT
28b7a4a51c6c5bf72182f3b708965b1abfc36b38
2026-01-05T04:58:51.149339Z
false
RocketChat/fuselage
https://github.com/RocketChat/fuselage/blob/28b7a4a51c6c5bf72182f3b708965b1abfc36b38/packages/onboarding-ui/src/pages/CreateFirstMemberPage/CreateFirstMemberPage.spec.tsx
packages/onboarding-ui/src/pages/CreateFirstMemberPage/CreateFirstMemberPage.spec.tsx
import { render } from '@testing-library/react'; import CreateFirstMemberPage from './CreateFirstMemberPage'; const onSubmit = jest.fn(); const onBackButtonClick = jest.fn(); const validateUsername = jest.fn(); const validatePassword = jest.fn(); const props = { currentStep: 1, stepCount: 1, organizationName: ...
typescript
MIT
28b7a4a51c6c5bf72182f3b708965b1abfc36b38
2026-01-05T04:58:51.149339Z
false
RocketChat/fuselage
https://github.com/RocketChat/fuselage/blob/28b7a4a51c6c5bf72182f3b708965b1abfc36b38/packages/onboarding-ui/src/pages/CreateFirstMemberPage/TitleCreateFirstMemberPage.tsx
packages/onboarding-ui/src/pages/CreateFirstMemberPage/TitleCreateFirstMemberPage.tsx
import { FormPageLayout } from '@rocket.chat/layout'; import type { ReactElement } from 'react'; import { Trans } from 'react-i18next'; const TitleCreateFirstMemberPage = (): ReactElement => ( <Trans i18nKey='page.createFirstMember.title'> Create first <FormPageLayout.TitleHighlight> workspace member ...
typescript
MIT
28b7a4a51c6c5bf72182f3b708965b1abfc36b38
2026-01-05T04:58:51.149339Z
false
RocketChat/fuselage
https://github.com/RocketChat/fuselage/blob/28b7a4a51c6c5bf72182f3b708965b1abfc36b38/packages/onboarding-ui/src/pages/CreateFirstMemberPage/CreateFirstMemberPage.stories.tsx
packages/onboarding-ui/src/pages/CreateFirstMemberPage/CreateFirstMemberPage.stories.tsx
import type { StoryFn, Meta } from '@storybook/react-webpack5'; import { action } from 'storybook/actions'; import CreateFirstMemberPage from './CreateFirstMemberPage'; export default { title: 'pages/CreateFirstMemberPage', component: CreateFirstMemberPage, parameters: { actions: { argTypesRegex: '^on.*' },...
typescript
MIT
28b7a4a51c6c5bf72182f3b708965b1abfc36b38
2026-01-05T04:58:51.149339Z
false
RocketChat/fuselage
https://github.com/RocketChat/fuselage/blob/28b7a4a51c6c5bf72182f3b708965b1abfc36b38/packages/onboarding-ui/src/pages/CreateFirstMemberPage/index.ts
packages/onboarding-ui/src/pages/CreateFirstMemberPage/index.ts
export { default } from './CreateFirstMemberPage';
typescript
MIT
28b7a4a51c6c5bf72182f3b708965b1abfc36b38
2026-01-05T04:58:51.149339Z
false
RocketChat/fuselage
https://github.com/RocketChat/fuselage/blob/28b7a4a51c6c5bf72182f3b708965b1abfc36b38/packages/onboarding-ui/src/forms/RegisterServerForm/RegisterServerForm.stories.tsx
packages/onboarding-ui/src/forms/RegisterServerForm/RegisterServerForm.stories.tsx
import type { Meta, StoryFn } from '@storybook/react-webpack5'; import RegisterServerForm from './RegisterServerForm'; export default { title: 'forms/RegisterServerForm', component: RegisterServerForm, parameters: { layout: 'centered', actions: { argTypesRegex: '^on.*' }, }, args: { currentStep:...
typescript
MIT
28b7a4a51c6c5bf72182f3b708965b1abfc36b38
2026-01-05T04:58:51.149339Z
false
RocketChat/fuselage
https://github.com/RocketChat/fuselage/blob/28b7a4a51c6c5bf72182f3b708965b1abfc36b38/packages/onboarding-ui/src/forms/RegisterServerForm/index.ts
packages/onboarding-ui/src/forms/RegisterServerForm/index.ts
export { default } from './RegisterServerForm';
typescript
MIT
28b7a4a51c6c5bf72182f3b708965b1abfc36b38
2026-01-05T04:58:51.149339Z
false
RocketChat/fuselage
https://github.com/RocketChat/fuselage/blob/28b7a4a51c6c5bf72182f3b708965b1abfc36b38/packages/onboarding-ui/src/forms/RegisterServerForm/RegisterServerForm.spec.tsx
packages/onboarding-ui/src/forms/RegisterServerForm/RegisterServerForm.spec.tsx
import { composeStories } from '@storybook/react-webpack5'; import { render } from '@testing-library/react'; import { axe } from 'jest-axe'; import * as stories from './RegisterServerForm.stories'; const testCases = Object.values(composeStories(stories)).map((Story) => [ Story.storyName || 'Story', Story, ]); te...
typescript
MIT
28b7a4a51c6c5bf72182f3b708965b1abfc36b38
2026-01-05T04:58:51.149339Z
false
RocketChat/fuselage
https://github.com/RocketChat/fuselage/blob/28b7a4a51c6c5bf72182f3b708965b1abfc36b38/packages/onboarding-ui/src/forms/RegisterServerForm/RegisterServerForm.tsx
packages/onboarding-ui/src/forms/RegisterServerForm/RegisterServerForm.tsx
import { Box, ButtonGroup, Button, Field, EmailInput, FieldLabel, FieldRow, FieldError, FieldGroup, } from '@rocket.chat/fuselage'; import { useBreakpoints } from '@rocket.chat/fuselage-hooks'; import { Form } from '@rocket.chat/layout'; import type { ReactElement } from 'react'; import { useEffect, u...
typescript
MIT
28b7a4a51c6c5bf72182f3b708965b1abfc36b38
2026-01-05T04:58:51.149339Z
false
RocketChat/fuselage
https://github.com/RocketChat/fuselage/blob/28b7a4a51c6c5bf72182f3b708965b1abfc36b38/packages/onboarding-ui/src/forms/LoginForm/LoginForm.stories.tsx
packages/onboarding-ui/src/forms/LoginForm/LoginForm.stories.tsx
import type { Meta, StoryFn } from '@storybook/react-webpack5'; import LoginForm from './LoginForm'; export default { title: 'forms/LoginForm', component: LoginForm, parameters: { layout: 'centered', actions: { argTypesRegex: '^on.*' }, }, } satisfies Meta<typeof LoginForm>; export const _LoginForm: ...
typescript
MIT
28b7a4a51c6c5bf72182f3b708965b1abfc36b38
2026-01-05T04:58:51.149339Z
false
RocketChat/fuselage
https://github.com/RocketChat/fuselage/blob/28b7a4a51c6c5bf72182f3b708965b1abfc36b38/packages/onboarding-ui/src/forms/LoginForm/LoginForm.tsx
packages/onboarding-ui/src/forms/LoginForm/LoginForm.tsx
import { FieldGroup, Field, EmailInput, PasswordInput, Button, Box, FieldLabel, FieldRow, FieldError, } from '@rocket.chat/fuselage'; import { Form, ActionLink } from '@rocket.chat/layout'; import type { ReactElement } from 'react'; import type { SubmitHandler } from 'react-hook-form'; import { useFor...
typescript
MIT
28b7a4a51c6c5bf72182f3b708965b1abfc36b38
2026-01-05T04:58:51.149339Z
false
RocketChat/fuselage
https://github.com/RocketChat/fuselage/blob/28b7a4a51c6c5bf72182f3b708965b1abfc36b38/packages/onboarding-ui/src/forms/LoginForm/LoginForm.styles.tsx
packages/onboarding-ui/src/forms/LoginForm/LoginForm.styles.tsx
import styled from '@rocket.chat/styled'; export const LoginActionsWrapper = styled('div')` width: 100%; box-sizing: border-box; display: flex; flex-flow: row nowrap; align-items: center; justify-content: stretch; a { padding-inline: 8px; } `;
typescript
MIT
28b7a4a51c6c5bf72182f3b708965b1abfc36b38
2026-01-05T04:58:51.149339Z
false
RocketChat/fuselage
https://github.com/RocketChat/fuselage/blob/28b7a4a51c6c5bf72182f3b708965b1abfc36b38/packages/onboarding-ui/src/forms/LoginForm/LoginForm.spec.tsx
packages/onboarding-ui/src/forms/LoginForm/LoginForm.spec.tsx
import { render } from '@testing-library/react'; import LoginForm from './LoginForm'; it('renders without crashing', () => { render( <LoginForm onChangeForm={() => undefined} isPasswordLess={false} onResetPassword={() => undefined} onSubmit={() => undefined} />, ); });
typescript
MIT
28b7a4a51c6c5bf72182f3b708965b1abfc36b38
2026-01-05T04:58:51.149339Z
false
RocketChat/fuselage
https://github.com/RocketChat/fuselage/blob/28b7a4a51c6c5bf72182f3b708965b1abfc36b38/packages/onboarding-ui/src/forms/LoginForm/index.ts
packages/onboarding-ui/src/forms/LoginForm/index.ts
export { default } from './LoginForm';
typescript
MIT
28b7a4a51c6c5bf72182f3b708965b1abfc36b38
2026-01-05T04:58:51.149339Z
false
RocketChat/fuselage
https://github.com/RocketChat/fuselage/blob/28b7a4a51c6c5bf72182f3b708965b1abfc36b38/packages/onboarding-ui/src/forms/RequestTrialForm/RequestTrialForm.tsx
packages/onboarding-ui/src/forms/RequestTrialForm/RequestTrialForm.tsx
import type { SelectOption } from '@rocket.chat/fuselage'; import { FieldDescription, FieldError, FieldLabel, FieldRow, Button, Field, Box, CheckBox, FieldGroup, TextInput, EmailInput, Select, SelectFiltered, } from '@rocket.chat/fuselage'; import { Form } from '@rocket.chat/layout'; import ty...
typescript
MIT
28b7a4a51c6c5bf72182f3b708965b1abfc36b38
2026-01-05T04:58:51.149339Z
false
RocketChat/fuselage
https://github.com/RocketChat/fuselage/blob/28b7a4a51c6c5bf72182f3b708965b1abfc36b38/packages/onboarding-ui/src/forms/RequestTrialForm/RequestTrialForm.stories.tsx
packages/onboarding-ui/src/forms/RequestTrialForm/RequestTrialForm.stories.tsx
import type { Meta, StoryFn } from '@storybook/react-webpack5'; import { countries } from 'countries-list'; import RequestTrialForm from './RequestTrialForm'; export default { title: 'forms/RequestTrialForm', component: RequestTrialForm, parameters: { layout: 'centered', actions: { argTypesRegex: '^on.*...
typescript
MIT
28b7a4a51c6c5bf72182f3b708965b1abfc36b38
2026-01-05T04:58:51.149339Z
false
RocketChat/fuselage
https://github.com/RocketChat/fuselage/blob/28b7a4a51c6c5bf72182f3b708965b1abfc36b38/packages/onboarding-ui/src/forms/RequestTrialForm/index.ts
packages/onboarding-ui/src/forms/RequestTrialForm/index.ts
export { default } from './RequestTrialForm';
typescript
MIT
28b7a4a51c6c5bf72182f3b708965b1abfc36b38
2026-01-05T04:58:51.149339Z
false
RocketChat/fuselage
https://github.com/RocketChat/fuselage/blob/28b7a4a51c6c5bf72182f3b708965b1abfc36b38/packages/onboarding-ui/src/forms/CreateNewPassword/CreateNewPassword.spec.tsx
packages/onboarding-ui/src/forms/CreateNewPassword/CreateNewPassword.spec.tsx
import { render } from '@testing-library/react'; import CreateNewPassword from './CreateNewPassword'; it('renders without crashing', () => { render( <CreateNewPassword validatePasswordConfirmation={() => undefined} onSubmit={() => undefined} validatePassword={() => undefined} />, ); });
typescript
MIT
28b7a4a51c6c5bf72182f3b708965b1abfc36b38
2026-01-05T04:58:51.149339Z
false
RocketChat/fuselage
https://github.com/RocketChat/fuselage/blob/28b7a4a51c6c5bf72182f3b708965b1abfc36b38/packages/onboarding-ui/src/forms/CreateNewPassword/CreateNewPassword.tsx
packages/onboarding-ui/src/forms/CreateNewPassword/CreateNewPassword.tsx
import { FieldGroup, Field, PasswordInput, ButtonGroup, Button, FieldLabel, FieldRow, FieldError, } from '@rocket.chat/fuselage'; import { Form } from '@rocket.chat/layout'; import type { ReactElement } from 'react'; import type { FieldPathValue, SubmitHandler, Validate } from 'react-hook-form'; import ...
typescript
MIT
28b7a4a51c6c5bf72182f3b708965b1abfc36b38
2026-01-05T04:58:51.149339Z
false
RocketChat/fuselage
https://github.com/RocketChat/fuselage/blob/28b7a4a51c6c5bf72182f3b708965b1abfc36b38/packages/onboarding-ui/src/forms/CreateNewPassword/CreateNewPassword.stories.tsx
packages/onboarding-ui/src/forms/CreateNewPassword/CreateNewPassword.stories.tsx
import type { Meta, StoryFn } from '@storybook/react-webpack5'; import CreateNewPassword from './CreateNewPassword'; export default { title: 'forms/CreateNewPassword', component: CreateNewPassword, parameters: { layout: 'centered', actions: { argTypesRegex: '^on.*' }, }, } satisfies Meta<typeof Create...
typescript
MIT
28b7a4a51c6c5bf72182f3b708965b1abfc36b38
2026-01-05T04:58:51.149339Z
false
RocketChat/fuselage
https://github.com/RocketChat/fuselage/blob/28b7a4a51c6c5bf72182f3b708965b1abfc36b38/packages/onboarding-ui/src/forms/CreateNewPassword/index.ts
packages/onboarding-ui/src/forms/CreateNewPassword/index.ts
export { default } from './CreateNewPassword';
typescript
MIT
28b7a4a51c6c5bf72182f3b708965b1abfc36b38
2026-01-05T04:58:51.149339Z
false
RocketChat/fuselage
https://github.com/RocketChat/fuselage/blob/28b7a4a51c6c5bf72182f3b708965b1abfc36b38/packages/onboarding-ui/src/forms/CreateFirstMemberForm/CreateFirstMemberForm.stories.tsx
packages/onboarding-ui/src/forms/CreateFirstMemberForm/CreateFirstMemberForm.stories.tsx
import type { Meta, StoryFn } from '@storybook/react-webpack5'; import { action } from 'storybook/actions'; import CreateFirstMemberForm from './CreateFirstMemberForm'; export default { title: 'forms/CreateFirstMemberForm', component: CreateFirstMemberForm, parameters: { layout: 'centered', actions: { a...
typescript
MIT
28b7a4a51c6c5bf72182f3b708965b1abfc36b38
2026-01-05T04:58:51.149339Z
false
RocketChat/fuselage
https://github.com/RocketChat/fuselage/blob/28b7a4a51c6c5bf72182f3b708965b1abfc36b38/packages/onboarding-ui/src/forms/CreateFirstMemberForm/index.ts
packages/onboarding-ui/src/forms/CreateFirstMemberForm/index.ts
export { default } from './CreateFirstMemberForm';
typescript
MIT
28b7a4a51c6c5bf72182f3b708965b1abfc36b38
2026-01-05T04:58:51.149339Z
false
RocketChat/fuselage
https://github.com/RocketChat/fuselage/blob/28b7a4a51c6c5bf72182f3b708965b1abfc36b38/packages/onboarding-ui/src/forms/CreateFirstMemberForm/CreateFirstMemberForm.spec.tsx
packages/onboarding-ui/src/forms/CreateFirstMemberForm/CreateFirstMemberForm.spec.tsx
import { render } from '@testing-library/react'; import CreateFirstMemberForm from './CreateFirstMemberForm'; const onSubmit = jest.fn(); const onBackButtonClick = jest.fn(); const validateUsername = jest.fn(); const validatePassword = jest.fn(); const props = { currentStep: 1, stepCount: 1, organizationName: ...
typescript
MIT
28b7a4a51c6c5bf72182f3b708965b1abfc36b38
2026-01-05T04:58:51.149339Z
false
RocketChat/fuselage
https://github.com/RocketChat/fuselage/blob/28b7a4a51c6c5bf72182f3b708965b1abfc36b38/packages/onboarding-ui/src/forms/CreateFirstMemberForm/CreateFirstMemberForm.tsx
packages/onboarding-ui/src/forms/CreateFirstMemberForm/CreateFirstMemberForm.tsx
import { FieldGroup, Field, ButtonGroup, Button, Box, PasswordInput, TextInput, Throbber, FieldLabel, FieldRow, FieldError, } from '@rocket.chat/fuselage'; import { Form } from '@rocket.chat/layout'; import type { ReactElement } from 'react'; import type { FieldPathValue, SubmitHandler, Validate }...
typescript
MIT
28b7a4a51c6c5bf72182f3b708965b1abfc36b38
2026-01-05T04:58:51.149339Z
false
RocketChat/fuselage
https://github.com/RocketChat/fuselage/blob/28b7a4a51c6c5bf72182f3b708965b1abfc36b38/packages/onboarding-ui/src/forms/TotpForm/TotpForm.spec.tsx
packages/onboarding-ui/src/forms/TotpForm/TotpForm.spec.tsx
import { render } from '@testing-library/react'; import TotpForm from './TotpForm'; it('renders without crashing', () => { render( <TotpForm onChangeTotpForm={() => undefined} isBackupCode={false} onSubmit={() => undefined} />, ); });
typescript
MIT
28b7a4a51c6c5bf72182f3b708965b1abfc36b38
2026-01-05T04:58:51.149339Z
false
RocketChat/fuselage
https://github.com/RocketChat/fuselage/blob/28b7a4a51c6c5bf72182f3b708965b1abfc36b38/packages/onboarding-ui/src/forms/TotpForm/TotpForm.styles.tsx
packages/onboarding-ui/src/forms/TotpForm/TotpForm.styles.tsx
import styled from '@rocket.chat/styled'; export const TotpActionsWrapper = styled('div')` width: 100%; box-sizing: border-box; display: flex; flex-flow: column nowrap; align-items: flex-start; justify-content: stretch; a { margin-block-start: 16px; } @media (min-width: 1440px) { flex-flow:...
typescript
MIT
28b7a4a51c6c5bf72182f3b708965b1abfc36b38
2026-01-05T04:58:51.149339Z
false
RocketChat/fuselage
https://github.com/RocketChat/fuselage/blob/28b7a4a51c6c5bf72182f3b708965b1abfc36b38/packages/onboarding-ui/src/forms/TotpForm/TotpForm.tsx
packages/onboarding-ui/src/forms/TotpForm/TotpForm.tsx
import { FieldGroup, Field, NumberInput, TextInput, Button, FieldLabel, FieldRow, FieldError, } from '@rocket.chat/fuselage'; import { ActionLink, Form } from '@rocket.chat/layout'; import type { ReactElement } from 'react'; import type { SubmitHandler } from 'react-hook-form'; import { useForm } from '...
typescript
MIT
28b7a4a51c6c5bf72182f3b708965b1abfc36b38
2026-01-05T04:58:51.149339Z
false
RocketChat/fuselage
https://github.com/RocketChat/fuselage/blob/28b7a4a51c6c5bf72182f3b708965b1abfc36b38/packages/onboarding-ui/src/forms/TotpForm/index.ts
packages/onboarding-ui/src/forms/TotpForm/index.ts
export { default } from './TotpForm';
typescript
MIT
28b7a4a51c6c5bf72182f3b708965b1abfc36b38
2026-01-05T04:58:51.149339Z
false
RocketChat/fuselage
https://github.com/RocketChat/fuselage/blob/28b7a4a51c6c5bf72182f3b708965b1abfc36b38/packages/onboarding-ui/src/forms/TotpForm/Totp.stories.tsx
packages/onboarding-ui/src/forms/TotpForm/Totp.stories.tsx
import type { Meta, StoryFn } from '@storybook/react-webpack5'; import TotpForm from './TotpForm'; export default { title: 'forms/TotpForm', component: TotpForm, parameters: { layout: 'centered', actions: { argTypesRegex: '^on.*' }, }, } satisfies Meta<typeof TotpForm>; export const _TotpForm: StoryF...
typescript
MIT
28b7a4a51c6c5bf72182f3b708965b1abfc36b38
2026-01-05T04:58:51.149339Z
false
RocketChat/fuselage
https://github.com/RocketChat/fuselage/blob/28b7a4a51c6c5bf72182f3b708965b1abfc36b38/packages/onboarding-ui/src/forms/RegisterOfflineForm/RegisterOfflineForm.tsx
packages/onboarding-ui/src/forms/RegisterOfflineForm/RegisterOfflineForm.tsx
import { Form } from '@rocket.chat/layout'; import { useState, type ReactElement } from 'react'; import type { SubmitHandler } from 'react-hook-form'; import { useForm, FormProvider } from 'react-hook-form'; import { useTranslation } from 'react-i18next'; import CopyStep from './steps/CopyStep'; import PasteStep from ...
typescript
MIT
28b7a4a51c6c5bf72182f3b708965b1abfc36b38
2026-01-05T04:58:51.149339Z
false
RocketChat/fuselage
https://github.com/RocketChat/fuselage/blob/28b7a4a51c6c5bf72182f3b708965b1abfc36b38/packages/onboarding-ui/src/forms/RegisterOfflineForm/index.ts
packages/onboarding-ui/src/forms/RegisterOfflineForm/index.ts
export { default } from './RegisterOfflineForm';
typescript
MIT
28b7a4a51c6c5bf72182f3b708965b1abfc36b38
2026-01-05T04:58:51.149339Z
false
RocketChat/fuselage
https://github.com/RocketChat/fuselage/blob/28b7a4a51c6c5bf72182f3b708965b1abfc36b38/packages/onboarding-ui/src/forms/RegisterOfflineForm/RegisterOfflineForm.spec.tsx
packages/onboarding-ui/src/forms/RegisterOfflineForm/RegisterOfflineForm.spec.tsx
import { render } from '@testing-library/react'; import RegisterOfflineForm from './RegisterOfflineForm'; it('renders without crashing', () => { render( <RegisterOfflineForm termsHref='' policyHref='' clientKey='' onCopySecurityCode={() => undefined} onBackButtonClick={() => undefi...
typescript
MIT
28b7a4a51c6c5bf72182f3b708965b1abfc36b38
2026-01-05T04:58:51.149339Z
false
RocketChat/fuselage
https://github.com/RocketChat/fuselage/blob/28b7a4a51c6c5bf72182f3b708965b1abfc36b38/packages/onboarding-ui/src/forms/RegisterOfflineForm/RegisterOfflineForm.stories.tsx
packages/onboarding-ui/src/forms/RegisterOfflineForm/RegisterOfflineForm.stories.tsx
import type { Meta, StoryFn } from '@storybook/react-webpack5'; import RegisterOfflineForm from './RegisterOfflineForm'; export default { title: 'forms/RegisterOfflineForm', component: RegisterOfflineForm, parameters: { layout: 'centered', actions: { argTypesRegex: '^on.*' }, }, args: { clientKe...
typescript
MIT
28b7a4a51c6c5bf72182f3b708965b1abfc36b38
2026-01-05T04:58:51.149339Z
false
RocketChat/fuselage
https://github.com/RocketChat/fuselage/blob/28b7a4a51c6c5bf72182f3b708965b1abfc36b38/packages/onboarding-ui/src/forms/RegisterOfflineForm/steps/CopyStep.tsx
packages/onboarding-ui/src/forms/RegisterOfflineForm/steps/CopyStep.tsx
import { Box, Button, ButtonGroup, Scrollable } from '@rocket.chat/fuselage'; import { useBreakpoints, useClipboard } from '@rocket.chat/fuselage-hooks'; import { Form } from '@rocket.chat/layout'; import { useId, type ReactElement } from 'react'; import { useFormContext } from 'react-hook-form'; import { Trans, useTra...
typescript
MIT
28b7a4a51c6c5bf72182f3b708965b1abfc36b38
2026-01-05T04:58:51.149339Z
false
RocketChat/fuselage
https://github.com/RocketChat/fuselage/blob/28b7a4a51c6c5bf72182f3b708965b1abfc36b38/packages/onboarding-ui/src/forms/RegisterOfflineForm/steps/PasteStep.tsx
packages/onboarding-ui/src/forms/RegisterOfflineForm/steps/PasteStep.tsx
import { Box, Button, ButtonGroup, Scrollable } from '@rocket.chat/fuselage'; import { useBreakpoints } from '@rocket.chat/fuselage-hooks'; import { Form } from '@rocket.chat/layout'; import type { ReactElement } from 'react'; import { useFormContext } from 'react-hook-form'; import { Trans, useTranslation } from 'reac...
typescript
MIT
28b7a4a51c6c5bf72182f3b708965b1abfc36b38
2026-01-05T04:58:51.149339Z
false
RocketChat/fuselage
https://github.com/RocketChat/fuselage/blob/28b7a4a51c6c5bf72182f3b708965b1abfc36b38/packages/onboarding-ui/src/forms/AwaitConfirmationForm/AwaitConfirmationForm.spec.tsx
packages/onboarding-ui/src/forms/AwaitConfirmationForm/AwaitConfirmationForm.spec.tsx
import { render } from '@testing-library/react'; import AwaitConfirmationForm from './AwaitConfirmationForm'; it('renders without crashing', () => { render( <AwaitConfirmationForm currentStep={4} stepCount={4} securityCode='Funny Tortoise In The Hat' emailAddress='emailname@email.com' ...
typescript
MIT
28b7a4a51c6c5bf72182f3b708965b1abfc36b38
2026-01-05T04:58:51.149339Z
false
RocketChat/fuselage
https://github.com/RocketChat/fuselage/blob/28b7a4a51c6c5bf72182f3b708965b1abfc36b38/packages/onboarding-ui/src/forms/AwaitConfirmationForm/index.ts
packages/onboarding-ui/src/forms/AwaitConfirmationForm/index.ts
export { default } from './AwaitConfirmationForm';
typescript
MIT
28b7a4a51c6c5bf72182f3b708965b1abfc36b38
2026-01-05T04:58:51.149339Z
false
RocketChat/fuselage
https://github.com/RocketChat/fuselage/blob/28b7a4a51c6c5bf72182f3b708965b1abfc36b38/packages/onboarding-ui/src/forms/AwaitConfirmationForm/AwaitConfirmationForm.tsx
packages/onboarding-ui/src/forms/AwaitConfirmationForm/AwaitConfirmationForm.tsx
import { Box, Label } from '@rocket.chat/fuselage'; import { Form } from '@rocket.chat/layout'; import type { ReactElement } from 'react'; import { Trans, useTranslation } from 'react-i18next'; import EmailCodeFallback from '../../common/EmailCodeFallback'; type AwaitingConfirmationFormProps = { currentStep: number...
typescript
MIT
28b7a4a51c6c5bf72182f3b708965b1abfc36b38
2026-01-05T04:58:51.149339Z
false
RocketChat/fuselage
https://github.com/RocketChat/fuselage/blob/28b7a4a51c6c5bf72182f3b708965b1abfc36b38/packages/onboarding-ui/src/forms/AwaitConfirmationForm/AwaitConfirmationForm.stories.tsx
packages/onboarding-ui/src/forms/AwaitConfirmationForm/AwaitConfirmationForm.stories.tsx
import type { StoryFn, Meta } from '@storybook/react-webpack5'; import AwaitConfirmationForm from './AwaitConfirmationForm'; export default { title: 'forms/AwaitConfirmationForm', component: AwaitConfirmationForm, parameters: { actions: { argTypesRegex: '^on.*' }, layout: 'centered', }, argTypes: { ...
typescript
MIT
28b7a4a51c6c5bf72182f3b708965b1abfc36b38
2026-01-05T04:58:51.149339Z
false
RocketChat/fuselage
https://github.com/RocketChat/fuselage/blob/28b7a4a51c6c5bf72182f3b708965b1abfc36b38/packages/onboarding-ui/src/forms/NewAccountForm/NewAccountForm.tsx
packages/onboarding-ui/src/forms/NewAccountForm/NewAccountForm.tsx
import { EmailInput, FieldGroup, Field, ButtonGroup, Button, PasswordInput, TextInput, Box, CheckBox, FieldLabel, FieldRow, FieldError, } from '@rocket.chat/fuselage'; import { Form } from '@rocket.chat/layout'; import type { ReactElement } from 'react'; import { useEffect } from 'react'; import...
typescript
MIT
28b7a4a51c6c5bf72182f3b708965b1abfc36b38
2026-01-05T04:58:51.149339Z
false
RocketChat/fuselage
https://github.com/RocketChat/fuselage/blob/28b7a4a51c6c5bf72182f3b708965b1abfc36b38/packages/onboarding-ui/src/forms/NewAccountForm/NewAccountForm.spec.tsx
packages/onboarding-ui/src/forms/NewAccountForm/NewAccountForm.spec.tsx
import { render } from '@testing-library/react'; import NewAccountForm from './NewAccountForm'; it('renders without crashing', () => { render( <NewAccountForm validateEmail={() => undefined} validatePassword={() => undefined} validateConfirmationPassword={() => undefined} onSubmit={() =>...
typescript
MIT
28b7a4a51c6c5bf72182f3b708965b1abfc36b38
2026-01-05T04:58:51.149339Z
false
RocketChat/fuselage
https://github.com/RocketChat/fuselage/blob/28b7a4a51c6c5bf72182f3b708965b1abfc36b38/packages/onboarding-ui/src/forms/NewAccountForm/NewAccountForm.stories.tsx
packages/onboarding-ui/src/forms/NewAccountForm/NewAccountForm.stories.tsx
import type { StoryFn, Meta } from '@storybook/react-webpack5'; import NewAccountForm from './NewAccountForm'; export default { title: 'forms/NewAccountForm', component: NewAccountForm, parameters: { actions: { argTypesRegex: '^on.*' }, layout: 'centered', }, argTypes: { validateEmail: { action:...
typescript
MIT
28b7a4a51c6c5bf72182f3b708965b1abfc36b38
2026-01-05T04:58:51.149339Z
false
RocketChat/fuselage
https://github.com/RocketChat/fuselage/blob/28b7a4a51c6c5bf72182f3b708965b1abfc36b38/packages/onboarding-ui/src/forms/NewAccountForm/index.ts
packages/onboarding-ui/src/forms/NewAccountForm/index.ts
export { default } from './NewAccountForm';
typescript
MIT
28b7a4a51c6c5bf72182f3b708965b1abfc36b38
2026-01-05T04:58:51.149339Z
false
RocketChat/fuselage
https://github.com/RocketChat/fuselage/blob/28b7a4a51c6c5bf72182f3b708965b1abfc36b38/packages/onboarding-ui/src/forms/AdminInfoForm/AdminInfoForm.spec.tsx
packages/onboarding-ui/src/forms/AdminInfoForm/AdminInfoForm.spec.tsx
import { render } from '@testing-library/react'; import AdminInfoForm from './AdminInfoForm'; it('renders without crashing', () => { render( <AdminInfoForm currentStep={1} stepCount={1} passwordRulesHint='' validateEmail={() => true} validatePassword={() => true} validateUser...
typescript
MIT
28b7a4a51c6c5bf72182f3b708965b1abfc36b38
2026-01-05T04:58:51.149339Z
false
RocketChat/fuselage
https://github.com/RocketChat/fuselage/blob/28b7a4a51c6c5bf72182f3b708965b1abfc36b38/packages/onboarding-ui/src/forms/AdminInfoForm/AdminInfoForm.tsx
packages/onboarding-ui/src/forms/AdminInfoForm/AdminInfoForm.tsx
import { EmailInput, FieldGroup, Field, ButtonGroup, Button, PasswordInput, TextInput, Box, CheckBox, FieldLabel, FieldRow, FieldError, FieldHint, } from '@rocket.chat/fuselage'; import { Form } from '@rocket.chat/layout'; import type { ReactElement } from 'react'; import { useRef, useEffect, ...
typescript
MIT
28b7a4a51c6c5bf72182f3b708965b1abfc36b38
2026-01-05T04:58:51.149339Z
false
RocketChat/fuselage
https://github.com/RocketChat/fuselage/blob/28b7a4a51c6c5bf72182f3b708965b1abfc36b38/packages/onboarding-ui/src/forms/AdminInfoForm/AdminInfoForm.stories.tsx
packages/onboarding-ui/src/forms/AdminInfoForm/AdminInfoForm.stories.tsx
import type { StoryFn, Meta } from '@storybook/react-webpack5'; import AdminInfoForm from './AdminInfoForm'; export default { title: 'forms/AdminInfoForm', component: AdminInfoForm, parameters: { actions: { argTypesRegex: '^on.*' }, layout: 'centered', }, argTypes: { validateUsername: { action: ...
typescript
MIT
28b7a4a51c6c5bf72182f3b708965b1abfc36b38
2026-01-05T04:58:51.149339Z
false
RocketChat/fuselage
https://github.com/RocketChat/fuselage/blob/28b7a4a51c6c5bf72182f3b708965b1abfc36b38/packages/onboarding-ui/src/forms/AdminInfoForm/index.ts
packages/onboarding-ui/src/forms/AdminInfoForm/index.ts
export { default } from './AdminInfoForm';
typescript
MIT
28b7a4a51c6c5bf72182f3b708965b1abfc36b38
2026-01-05T04:58:51.149339Z
false
RocketChat/fuselage
https://github.com/RocketChat/fuselage/blob/28b7a4a51c6c5bf72182f3b708965b1abfc36b38/packages/onboarding-ui/src/forms/ResetPasswordForm/ResetPasswordForm.spec.tsx
packages/onboarding-ui/src/forms/ResetPasswordForm/ResetPasswordForm.spec.tsx
import { render } from '@testing-library/react'; import ResetPasswordForm from './ResetPasswordForm'; it('renders without crashing', () => { render( <ResetPasswordForm onSubmit={() => undefined} validateEmail={() => undefined} />, ); });
typescript
MIT
28b7a4a51c6c5bf72182f3b708965b1abfc36b38
2026-01-05T04:58:51.149339Z
false
RocketChat/fuselage
https://github.com/RocketChat/fuselage/blob/28b7a4a51c6c5bf72182f3b708965b1abfc36b38/packages/onboarding-ui/src/forms/ResetPasswordForm/ResetPasswordForm.stories.tsx
packages/onboarding-ui/src/forms/ResetPasswordForm/ResetPasswordForm.stories.tsx
import type { Meta, StoryFn } from '@storybook/react-webpack5'; import ResetPasswordForm from './ResetPasswordForm'; export default { title: 'forms/ResetPasswordForm', component: ResetPasswordForm, parameters: { layout: 'centered', actions: { argTypesRegex: '^on.*' }, }, } satisfies Meta<typeof ResetP...
typescript
MIT
28b7a4a51c6c5bf72182f3b708965b1abfc36b38
2026-01-05T04:58:51.149339Z
false
RocketChat/fuselage
https://github.com/RocketChat/fuselage/blob/28b7a4a51c6c5bf72182f3b708965b1abfc36b38/packages/onboarding-ui/src/forms/ResetPasswordForm/index.ts
packages/onboarding-ui/src/forms/ResetPasswordForm/index.ts
export { default } from './ResetPasswordForm';
typescript
MIT
28b7a4a51c6c5bf72182f3b708965b1abfc36b38
2026-01-05T04:58:51.149339Z
false
RocketChat/fuselage
https://github.com/RocketChat/fuselage/blob/28b7a4a51c6c5bf72182f3b708965b1abfc36b38/packages/onboarding-ui/src/forms/ResetPasswordForm/ResetPasswordForm.tsx
packages/onboarding-ui/src/forms/ResetPasswordForm/ResetPasswordForm.tsx
import { FieldGroup, Field, EmailInput, ButtonGroup, Button, FieldLabel, FieldDescription, FieldRow, FieldError, } from '@rocket.chat/fuselage'; import { Form } from '@rocket.chat/layout'; import type { ReactElement } from 'react'; import type { FieldPathValue, SubmitHandler, Validate } from 'react-ho...
typescript
MIT
28b7a4a51c6c5bf72182f3b708965b1abfc36b38
2026-01-05T04:58:51.149339Z
false
RocketChat/fuselage
https://github.com/RocketChat/fuselage/blob/28b7a4a51c6c5bf72182f3b708965b1abfc36b38/packages/onboarding-ui/src/forms/CreateCloudWorkspaceForm/CreateCloudWorkspaceForm.tsx
packages/onboarding-ui/src/forms/CreateCloudWorkspaceForm/CreateCloudWorkspaceForm.tsx
import type { SelectOption } from '@rocket.chat/fuselage'; import { FieldLabel, FieldRow, FieldGroup, Field, FieldError, ButtonGroup, Button, Box, Divider, EmailInput, TextInput, Select, CheckBox, Grid, } from '@rocket.chat/fuselage'; import { Form } from '@rocket.chat/layout'; import type {...
typescript
MIT
28b7a4a51c6c5bf72182f3b708965b1abfc36b38
2026-01-05T04:58:51.149339Z
false
RocketChat/fuselage
https://github.com/RocketChat/fuselage/blob/28b7a4a51c6c5bf72182f3b708965b1abfc36b38/packages/onboarding-ui/src/forms/CreateCloudWorkspaceForm/CreateCloudWorkspaceForm.stories.tsx
packages/onboarding-ui/src/forms/CreateCloudWorkspaceForm/CreateCloudWorkspaceForm.stories.tsx
import type { Meta, StoryFn } from '@storybook/react-webpack5'; import CreateCloudWorkspaceForm from './CreateCloudWorkspaceForm'; import WorkspaceUrlInput from './WorkspaceUrlInput'; const isValidLength = (domainName: string) => { if (domainName.length < 3) { return 'Workspace URL should have at least 3 charac...
typescript
MIT
28b7a4a51c6c5bf72182f3b708965b1abfc36b38
2026-01-05T04:58:51.149339Z
false
RocketChat/fuselage
https://github.com/RocketChat/fuselage/blob/28b7a4a51c6c5bf72182f3b708965b1abfc36b38/packages/onboarding-ui/src/forms/CreateCloudWorkspaceForm/WorkspaceUrlInput.tsx
packages/onboarding-ui/src/forms/CreateCloudWorkspaceForm/WorkspaceUrlInput.tsx
import type { InputBoxProps } from '@rocket.chat/fuselage'; import { Box, InputBox } from '@rocket.chat/fuselage'; import type { ReactNode, Ref } from 'react'; import { forwardRef } from 'react'; type WorkspaceUrlInputProps = Omit<InputBoxProps, 'type'> & { addon?: ReactNode; error?: string | undefined; domain: ...
typescript
MIT
28b7a4a51c6c5bf72182f3b708965b1abfc36b38
2026-01-05T04:58:51.149339Z
false
RocketChat/fuselage
https://github.com/RocketChat/fuselage/blob/28b7a4a51c6c5bf72182f3b708965b1abfc36b38/packages/onboarding-ui/src/forms/CreateCloudWorkspaceForm/index.ts
packages/onboarding-ui/src/forms/CreateCloudWorkspaceForm/index.ts
export { default } from './CreateCloudWorkspaceForm';
typescript
MIT
28b7a4a51c6c5bf72182f3b708965b1abfc36b38
2026-01-05T04:58:51.149339Z
false
RocketChat/fuselage
https://github.com/RocketChat/fuselage/blob/28b7a4a51c6c5bf72182f3b708965b1abfc36b38/packages/onboarding-ui/src/forms/OrganizationInfoForm/OrganizationInfoForm.tsx
packages/onboarding-ui/src/forms/OrganizationInfoForm/OrganizationInfoForm.tsx
import type { SelectOption } from '@rocket.chat/fuselage'; import { FieldError, FieldLabel, FieldRow, FieldGroup, Field, ButtonGroup, Button, TextInput, Select, Box, } from '@rocket.chat/fuselage'; import { useBreakpoints } from '@rocket.chat/fuselage-hooks'; import { ActionLink, Form } from '@rocke...
typescript
MIT
28b7a4a51c6c5bf72182f3b708965b1abfc36b38
2026-01-05T04:58:51.149339Z
false
RocketChat/fuselage
https://github.com/RocketChat/fuselage/blob/28b7a4a51c6c5bf72182f3b708965b1abfc36b38/packages/onboarding-ui/src/forms/OrganizationInfoForm/OrganizationInfoForm.stories.tsx
packages/onboarding-ui/src/forms/OrganizationInfoForm/OrganizationInfoForm.stories.tsx
import type { StoryFn, Meta } from '@storybook/react-webpack5'; import { countries } from 'countries-list'; import OrganizationInfoForm from './OrganizationInfoForm'; export default { title: 'forms/OrganizationInfoForm', component: OrganizationInfoForm, parameters: { actions: { argTypesRegex: '^on.*' }, ...
typescript
MIT
28b7a4a51c6c5bf72182f3b708965b1abfc36b38
2026-01-05T04:58:51.149339Z
false
RocketChat/fuselage
https://github.com/RocketChat/fuselage/blob/28b7a4a51c6c5bf72182f3b708965b1abfc36b38/packages/onboarding-ui/src/forms/OrganizationInfoForm/OrganizationInfoForm.spec.tsx
packages/onboarding-ui/src/forms/OrganizationInfoForm/OrganizationInfoForm.spec.tsx
import { render } from '@testing-library/react'; import OrganizationInfoForm from './OrganizationInfoForm'; it('renders without crashing', () => { render( <OrganizationInfoForm currentStep={1} stepCount={1} organizationIndustryOptions={[]} organizationSizeOptions={[]} countryOption...
typescript
MIT
28b7a4a51c6c5bf72182f3b708965b1abfc36b38
2026-01-05T04:58:51.149339Z
false
RocketChat/fuselage
https://github.com/RocketChat/fuselage/blob/28b7a4a51c6c5bf72182f3b708965b1abfc36b38/packages/onboarding-ui/src/forms/OrganizationInfoForm/index.ts
packages/onboarding-ui/src/forms/OrganizationInfoForm/index.ts
export { default } from './OrganizationInfoForm';
typescript
MIT
28b7a4a51c6c5bf72182f3b708965b1abfc36b38
2026-01-05T04:58:51.149339Z
false
RocketChat/fuselage
https://github.com/RocketChat/fuselage/blob/28b7a4a51c6c5bf72182f3b708965b1abfc36b38/packages/onboarding-ui/src/common/PlanFeatureIcon.tsx
packages/onboarding-ui/src/common/PlanFeatureIcon.tsx
import type { ReactElement } from 'react'; const PlanFeatureIcon = ({ color }: { color: string }): ReactElement => ( <svg width='13' height='auto' viewBox='0 0 16 13' fill='none' xmlns='http://www.w3.org/2000/svg' > <path d='M1 7L5 11L15 1' stroke={color} strokeWidth='2' /> </svg> ); exp...
typescript
MIT
28b7a4a51c6c5bf72182f3b708965b1abfc36b38
2026-01-05T04:58:51.149339Z
false
RocketChat/fuselage
https://github.com/RocketChat/fuselage/blob/28b7a4a51c6c5bf72182f3b708965b1abfc36b38/packages/onboarding-ui/src/common/InformationTooltipTrigger.spec.tsx
packages/onboarding-ui/src/common/InformationTooltipTrigger.spec.tsx
import { render } from '@testing-library/react'; import InformationTooltipTrigger from './InformationTooltipTrigger'; it('renders without crashing', () => { render(<InformationTooltipTrigger text='' />); });
typescript
MIT
28b7a4a51c6c5bf72182f3b708965b1abfc36b38
2026-01-05T04:58:51.149339Z
false
RocketChat/fuselage
https://github.com/RocketChat/fuselage/blob/28b7a4a51c6c5bf72182f3b708965b1abfc36b38/packages/onboarding-ui/src/common/FormPageLayout.tsx
packages/onboarding-ui/src/common/FormPageLayout.tsx
import { HorizontalWizardLayout, HorizontalWizardLayoutAside, HorizontalWizardLayoutTitle, HorizontalWizardLayoutSubtitle, HorizontalWizardLayoutDescription, HorizontalWizardLayoutContent, } from '@rocket.chat/layout'; import type { ReactElement, ReactNode } from 'react'; import { useTranslation } from 'rea...
typescript
MIT
28b7a4a51c6c5bf72182f3b708965b1abfc36b38
2026-01-05T04:58:51.149339Z
false
RocketChat/fuselage
https://github.com/RocketChat/fuselage/blob/28b7a4a51c6c5bf72182f3b708965b1abfc36b38/packages/onboarding-ui/src/common/FormPageLayout.stories.tsx
packages/onboarding-ui/src/common/FormPageLayout.stories.tsx
import { Tile } from '@rocket.chat/fuselage'; import type { Meta, StoryFn } from '@storybook/react-webpack5'; import FormPageLayout from './FormPageLayout'; export default { title: 'common/FormPageLayout', component: FormPageLayout, parameters: { layout: 'fullscreen', actions: { argTypesRegex: '^on.*' }...
typescript
MIT
28b7a4a51c6c5bf72182f3b708965b1abfc36b38
2026-01-05T04:58:51.149339Z
false
RocketChat/fuselage
https://github.com/RocketChat/fuselage/blob/28b7a4a51c6c5bf72182f3b708965b1abfc36b38/packages/onboarding-ui/src/common/InformationTooltipTrigger.stories.tsx
packages/onboarding-ui/src/common/InformationTooltipTrigger.stories.tsx
import type { Meta, StoryFn } from '@storybook/react-webpack5'; import InformationTooltipTrigger from './InformationTooltipTrigger'; export default { title: 'common/InformationTooltipTrigger', component: InformationTooltipTrigger, argTypes: { text: { control: { type: 'text' }, defaultValue: 'Som...
typescript
MIT
28b7a4a51c6c5bf72182f3b708965b1abfc36b38
2026-01-05T04:58:51.149339Z
false
RocketChat/fuselage
https://github.com/RocketChat/fuselage/blob/28b7a4a51c6c5bf72182f3b708965b1abfc36b38/packages/onboarding-ui/src/common/InformationTooltipTrigger.tsx
packages/onboarding-ui/src/common/InformationTooltipTrigger.tsx
import { Icon } from '@rocket.chat/fuselage'; import { TooltipWrapper } from '@rocket.chat/layout'; import type { ReactElement } from 'react'; type InformationTooltipTriggerProps = { text: string; }; const InformationTooltipTrigger = ({ text, }: InformationTooltipTriggerProps): ReactElement => ( <TooltipWrapper...
typescript
MIT
28b7a4a51c6c5bf72182f3b708965b1abfc36b38
2026-01-05T04:58:51.149339Z
false
RocketChat/fuselage
https://github.com/RocketChat/fuselage/blob/28b7a4a51c6c5bf72182f3b708965b1abfc36b38/packages/onboarding-ui/src/common/AgreeTermsField.tsx
packages/onboarding-ui/src/common/AgreeTermsField.tsx
import { Box, CheckBox, Field, FieldError, FieldLabel, FieldRow, } from '@rocket.chat/fuselage'; import { Controller } from 'react-hook-form'; import { Trans, useTranslation } from 'react-i18next'; type AgreeTermsFieldProp = { agreementField: string; termsHref: string; policyHref: string; control: ...
typescript
MIT
28b7a4a51c6c5bf72182f3b708965b1abfc36b38
2026-01-05T04:58:51.149339Z
false
RocketChat/fuselage
https://github.com/RocketChat/fuselage/blob/28b7a4a51c6c5bf72182f3b708965b1abfc36b38/packages/onboarding-ui/src/common/EmailCodeFallback.tsx
packages/onboarding-ui/src/common/EmailCodeFallback.tsx
import { Box } from '@rocket.chat/fuselage'; import { ActionLink } from '@rocket.chat/layout'; import type { ReactElement } from 'react'; import { Trans } from 'react-i18next'; type EmailCodeFallbackProps = { onResendEmailRequest: () => void; onChangeEmailRequest: () => void; }; const EmailCodeFallback = ({ onR...
typescript
MIT
28b7a4a51c6c5bf72182f3b708965b1abfc36b38
2026-01-05T04:58:51.149339Z
false
RocketChat/fuselage
https://github.com/RocketChat/fuselage/blob/28b7a4a51c6c5bf72182f3b708965b1abfc36b38/packages/onboarding-ui/.jest/setup.ts
packages/onboarding-ui/.jest/setup.ts
import { TextEncoder } from 'node:util'; import i18next from 'i18next'; import { toHaveNoViolations } from 'jest-axe'; import { initReactI18next } from 'react-i18next'; import en from '../.i18n/en.i18n.json'; import ResizeObserverMock from './ResizeObserverMock'; beforeAll(async () => { return i18next.use(initRea...
typescript
MIT
28b7a4a51c6c5bf72182f3b708965b1abfc36b38
2026-01-05T04:58:51.149339Z
false
RocketChat/fuselage
https://github.com/RocketChat/fuselage/blob/28b7a4a51c6c5bf72182f3b708965b1abfc36b38/packages/onboarding-ui/.jest/ResizeObserverMock.ts
packages/onboarding-ui/.jest/ResizeObserverMock.ts
import type { CSSProperties } from 'react'; export const createBoxSizes = ( style: CSSProperties, ): { borderBoxSize: ResizeObserverSize; contentBoxSize: ResizeObserverSize; } => { const getSizeInPixels = (value: string | number | undefined): number => (typeof value === 'string' && parseInt(value, 10)) || ...
typescript
MIT
28b7a4a51c6c5bf72182f3b708965b1abfc36b38
2026-01-05T04:58:51.149339Z
false
RocketChat/fuselage
https://github.com/RocketChat/fuselage/blob/28b7a4a51c6c5bf72182f3b708965b1abfc36b38/packages/emitter/src/emitter.spec.ts
packages/emitter/src/emitter.spec.ts
import { Emitter } from './index'; const times = (n: number, fn: () => void): number => { Array.from({ length: n }, () => fn()); return n; }; let handler: () => void; let emitter: Emitter; beforeEach(() => { handler = jest.fn(); emitter = new Emitter(); }); describe('`on` method', () => { it('should call ...
typescript
MIT
28b7a4a51c6c5bf72182f3b708965b1abfc36b38
2026-01-05T04:58:51.149339Z
false
RocketChat/fuselage
https://github.com/RocketChat/fuselage/blob/28b7a4a51c6c5bf72182f3b708965b1abfc36b38/packages/emitter/src/index.ts
packages/emitter/src/index.ts
/** @public */ export type DefaultEventMap = Record<string | symbol, any>; /** @public */ export type AnyEventTypeOf<EventMap extends DefaultEventMap> = keyof EventMap; /** @public */ export type AnyEventOf<EventMap extends DefaultEventMap> = EventMap[keyof EventMap]; /** @public */ export type AnyEventHandlerOf<E...
typescript
MIT
28b7a4a51c6c5bf72182f3b708965b1abfc36b38
2026-01-05T04:58:51.149339Z
false
RocketChat/fuselage
https://github.com/RocketChat/fuselage/blob/28b7a4a51c6c5bf72182f3b708965b1abfc36b38/packages/mp3-encoder/src/index.spec.ts
packages/mp3-encoder/src/index.spec.ts
import './index'; declare const self: any; describe('web worker messages', () => { beforeEach(() => { self.onmessage = jest.fn(self.onmessage); self.postMessage = jest.fn(); }); it('handles init message', () => { const event = new MessageEvent('message', { data: { command: 'init', ...
typescript
MIT
28b7a4a51c6c5bf72182f3b708965b1abfc36b38
2026-01-05T04:58:51.149339Z
false
RocketChat/fuselage
https://github.com/RocketChat/fuselage/blob/28b7a4a51c6c5bf72182f3b708965b1abfc36b38/packages/mp3-encoder/src/index.ts
packages/mp3-encoder/src/index.ts
import { Mp3Encoder } from './lame'; type Config = { numChannels?: number; sampleRate?: number; bitRate?: number; }; let encoder: Mp3Encoder; const maxSamples = 1152; let samplesMono: Int16Array; let dataBuffer: Int8Array[]; function convertBuffer(arrayBuffer: Float32Array): Int16Array { const input = new Fl...
typescript
MIT
28b7a4a51c6c5bf72182f3b708965b1abfc36b38
2026-01-05T04:58:51.149339Z
false
RocketChat/fuselage
https://github.com/RocketChat/fuselage/blob/28b7a4a51c6c5bf72182f3b708965b1abfc36b38/packages/mp3-encoder/src/lame/NumUsed.ts
packages/mp3-encoder/src/lame/NumUsed.ts
export class NumUsed { num_used = 0; }
typescript
MIT
28b7a4a51c6c5bf72182f3b708965b1abfc36b38
2026-01-05T04:58:51.149339Z
false
RocketChat/fuselage
https://github.com/RocketChat/fuselage/blob/28b7a4a51c6c5bf72182f3b708965b1abfc36b38/packages/mp3-encoder/src/lame/Bits.ts
packages/mp3-encoder/src/lame/Bits.ts
export class Bits { public bits: number; constructor(bits: number) { this.bits = Math.trunc(bits); } }
typescript
MIT
28b7a4a51c6c5bf72182f3b708965b1abfc36b38
2026-01-05T04:58:51.149339Z
false
RocketChat/fuselage
https://github.com/RocketChat/fuselage/blob/28b7a4a51c6c5bf72182f3b708965b1abfc36b38/packages/mp3-encoder/src/lame/Quantize.ts
packages/mp3-encoder/src/lame/Quantize.ts
import type { BitStream } from './BitStream'; import { CalcNoiseData } from './CalcNoiseData'; import { CalcNoiseResult } from './CalcNoiseResult'; import { GrInfo } from './GrInfo'; import type { IIISideInfo } from './IIISideInfo'; import type { LameGlobalFlags } from './LameGlobalFlags'; import type { LameInternalFla...
typescript
MIT
28b7a4a51c6c5bf72182f3b708965b1abfc36b38
2026-01-05T04:58:51.149339Z
false
RocketChat/fuselage
https://github.com/RocketChat/fuselage/blob/28b7a4a51c6c5bf72182f3b708965b1abfc36b38/packages/mp3-encoder/src/lame/sampleRates.ts
packages/mp3-encoder/src/lame/sampleRates.ts
export type SampleRate = | 44100 | 48000 | 32000 | 24000 | 22050 | 16000 | 12000 | 11025 | 8000; export function findNearestSampleRate(freq: number): SampleRate { if (freq <= 8000) return 8000; if (freq <= 11025) return 11025; if (freq <= 12000) return 12000; if (freq <= 16000) return 16000; ...
typescript
MIT
28b7a4a51c6c5bf72182f3b708965b1abfc36b38
2026-01-05T04:58:51.149339Z
false
RocketChat/fuselage
https://github.com/RocketChat/fuselage/blob/28b7a4a51c6c5bf72182f3b708965b1abfc36b38/packages/mp3-encoder/src/lame/III_psy_ratio.ts
packages/mp3-encoder/src/lame/III_psy_ratio.ts
import { III_psy_xmin } from './III_psy_xmin'; export class III_psy_ratio { thm = new III_psy_xmin(); en = new III_psy_xmin(); }
typescript
MIT
28b7a4a51c6c5bf72182f3b708965b1abfc36b38
2026-01-05T04:58:51.149339Z
false
RocketChat/fuselage
https://github.com/RocketChat/fuselage/blob/28b7a4a51c6c5bf72182f3b708965b1abfc36b38/packages/mp3-encoder/src/lame/FFT.ts
packages/mp3-encoder/src/lame/FFT.ts
import type { LameInternalFlags } from './LameInternalFlags'; import { BLKSIZE, BLKSIZE_s } from './constants'; export class FFT { private window: Float32Array = new Float32Array(BLKSIZE); private window_s: Float32Array = new Float32Array(BLKSIZE_s / 2); private readonly costab = [ 9.238795325112867e-1, 3....
typescript
MIT
28b7a4a51c6c5bf72182f3b708965b1abfc36b38
2026-01-05T04:58:51.149339Z
false
RocketChat/fuselage
https://github.com/RocketChat/fuselage/blob/28b7a4a51c6c5bf72182f3b708965b1abfc36b38/packages/mp3-encoder/src/lame/Encoder.ts
packages/mp3-encoder/src/lame/Encoder.ts
import type { BitStream } from './BitStream'; import { III_psy_ratio } from './III_psy_ratio'; import type { LameGlobalFlags } from './LameGlobalFlags'; import type { LameInternalFlags } from './LameInternalFlags'; import { MPEGMode } from './MPEGMode'; import { NewMDCT } from './NewMDCT'; import type { PsyModel } from...
typescript
MIT
28b7a4a51c6c5bf72182f3b708965b1abfc36b38
2026-01-05T04:58:51.149339Z
false
RocketChat/fuselage
https://github.com/RocketChat/fuselage/blob/28b7a4a51c6c5bf72182f3b708965b1abfc36b38/packages/mp3-encoder/src/lame/Quality.ts
packages/mp3-encoder/src/lame/Quality.ts
export type Quality = 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0;
typescript
MIT
28b7a4a51c6c5bf72182f3b708965b1abfc36b38
2026-01-05T04:58:51.149339Z
false
RocketChat/fuselage
https://github.com/RocketChat/fuselage/blob/28b7a4a51c6c5bf72182f3b708965b1abfc36b38/packages/mp3-encoder/src/lame/Mp3Encoder.spec.ts
packages/mp3-encoder/src/lame/Mp3Encoder.spec.ts
import { createHash } from 'crypto'; import { readFile } from 'fs/promises'; import { join } from 'path'; import { Mp3Encoder } from './Mp3Encoder'; import { WavHeader } from './WavHeader'; let leftSampleBuffer: ArrayBufferLike; let rightSampleBuffer: ArrayBufferLike; beforeAll(async () => { const leftPath = join(...
typescript
MIT
28b7a4a51c6c5bf72182f3b708965b1abfc36b38
2026-01-05T04:58:51.149339Z
false
RocketChat/fuselage
https://github.com/RocketChat/fuselage/blob/28b7a4a51c6c5bf72182f3b708965b1abfc36b38/packages/mp3-encoder/src/lame/math.ts
packages/mp3-encoder/src/lame/math.ts
export function blackmanWindow(x: number, fcn: number, l: number) { const wcn = Math.PI * fcn; x /= l; if (x < 0) x = 0; if (x > 1) x = 1; const x2 = x - 0.5; const bkwn = 0.42 - 0.5 * Math.cos(2 * x * Math.PI) + 0.08 * Math.cos(4 * x * Math.PI); if (Math.abs(x2) < 1e-9) return wcn / Math.PI; retu...
typescript
MIT
28b7a4a51c6c5bf72182f3b708965b1abfc36b38
2026-01-05T04:58:51.149339Z
false