Skip to content

Commit

Permalink
Add license headers.
Browse files Browse the repository at this point in the history
  • Loading branch information
mkrause committed Nov 26, 2024
1 parent 47af732 commit 04c6f29
Show file tree
Hide file tree
Showing 25 changed files with 77 additions and 1 deletion.
3 changes: 3 additions & 0 deletions src/components/tables/DataTable/DataTableContext.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/* Copyright (c) Fortanix, Inc.
|* This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of
|* the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. */

import * as React from 'react';
import * as ReactTable from 'react-table';
Expand Down
3 changes: 3 additions & 0 deletions src/components/tables/DataTable/DataTableEager.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/* Copyright (c) Fortanix, Inc.
|* This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of
|* the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. */

@use '../../../style/variables.scss' as bkl;
@use './DataTableLazy.scss' as dataTableLazy;
Expand Down
3 changes: 3 additions & 0 deletions src/components/tables/DataTable/DataTableEager.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/* Copyright (c) Fortanix, Inc.
|* This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of
|* the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. */

import * as React from 'react';
import { classNames as cx, ClassNameArgument } from '../../../util/componentUtil.ts';
Expand Down
3 changes: 3 additions & 0 deletions src/components/tables/DataTable/DataTableLazy.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/* Copyright (c) Fortanix, Inc.
|* This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of
|* the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. */

@use '../../../style/variables.scss' as bkl;
@use '../../../style/mixins.scss' as mixins;
Expand Down
3 changes: 3 additions & 0 deletions src/components/tables/DataTable/DataTableLazy.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/* Copyright (c) Fortanix, Inc.
|* This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of
|* the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. */

import * as React from 'react';
import { classNames as cx, ClassNameArgument } from '../../../util/component_util';

Check failure on line 6 in src/components/tables/DataTable/DataTableLazy.tsx

View workflow job for this annotation

GitHub Actions / build (22.x)

Cannot find module '../../../util/component_util' or its corresponding type declarations.
Expand Down
3 changes: 3 additions & 0 deletions src/components/tables/DataTable/DataTableStream.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/* Copyright (c) Fortanix, Inc.
|* This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of
|* the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. */

@use '../../../style/variables.scss' as bkl;
@use './DataTableLazy.scss' as dataTableLazy;
Expand Down
3 changes: 3 additions & 0 deletions src/components/tables/DataTable/DataTableStream.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/* Copyright (c) Fortanix, Inc.
|* This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of
|* the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. */

import * as React from 'react';
import { classNames as cx } from '../../../util/component_util';
Expand Down
4 changes: 4 additions & 0 deletions src/components/tables/DataTable/filtering/Filtering.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/* Copyright (c) Fortanix, Inc.
|* This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of
|* the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. */

import { getUnixTime } from 'date-fns';
import type {
ArrayFieldSpec,
Expand Down
3 changes: 3 additions & 0 deletions src/components/tables/DataTable/pagination/Pagination.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/* Copyright (c) Fortanix, Inc.
|* This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of
|* the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. */

@use '../../../../style/variables.scss' as bkl;
@use '../../../../style/mixins.scss' as mixins;
Expand Down
3 changes: 3 additions & 0 deletions src/components/tables/DataTable/pagination/Pagination.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/* Copyright (c) Fortanix, Inc.
|* This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of
|* the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. */

import cx from 'classnames';
import * as React from 'react';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/* Copyright (c) Fortanix, Inc.
|* This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of
|* the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. */

@use '../../../../style/variables.scss' as bkl;
@use '../../../../style/mixins.scss' as mixins;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/* Copyright (c) Fortanix, Inc.
|* This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of
|* the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. */

import cx from 'classnames';
import * as React from 'react';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/* Copyright (c) Fortanix, Inc.
|* This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of
|* the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. */

@use '../../../../style/variables.scss' as bkl;
@use '../../../../style/mixins.scss' as mixins;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/* Copyright (c) Fortanix, Inc.
|* This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of
|* the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. */

import cx from 'classnames';
import * as React from 'react';
Expand Down
3 changes: 3 additions & 0 deletions src/components/tables/DataTable/plugins/useCustomFilters.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/* Copyright (c) Fortanix, Inc.
|* This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of
|* the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. */

import * as React from 'react';
import * as ReactTable from 'react-table';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/* Copyright (c) Fortanix, Inc.
|* This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of
|* the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. */

@use '../../../../style/variables.scss' as bkl;

Expand All @@ -12,4 +15,4 @@
&__cell {
margin-bottom: bkl.$sizing-m;
}
}
}
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/* Copyright (c) Fortanix, Inc.
|* This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of
|* the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. */

import * as React from 'react';
import * as ReactTable from 'react-table';
Expand Down
3 changes: 3 additions & 0 deletions src/components/tables/DataTable/table/DataTable.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/* Copyright (c) Fortanix, Inc.
|* This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of
|* the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. */

@use '../../../../style/variables.scss' as bkl;
@use '../../../../style/mixins.scss' as mixins;
Expand Down
3 changes: 3 additions & 0 deletions src/components/tables/DataTable/table/DataTable.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/* Copyright (c) Fortanix, Inc.
|* This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of
|* the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. */

import * as React from 'react';
import { classNames as cx, type ClassNameArgument, type ComponentProps } from '../../../../util/componentUtil.ts';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/* Copyright (c) Fortanix, Inc.
|* This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of
|* the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. */

@use '../../../../style/variables.scss' as bkl;
@use '../../../../style/mixins.scss' as mixins;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/* Copyright (c) Fortanix, Inc.
|* This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of
|* the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. */

import * as React from 'react';
import { classNames as cx, type ClassNameArgument, type ComponentProps } from '../../../../util/componentUtil.ts';
Expand Down
3 changes: 3 additions & 0 deletions src/components/tables/MultiSearch/MultiSearch.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/* Copyright (c) Fortanix, Inc.
|* This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of
|* the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. */

@use '../../../style/variables.scss' as *;
@use '../../../components/overlays/dropdown/Dropdown.scss';
Expand Down
3 changes: 3 additions & 0 deletions src/components/tables/MultiSearch/MultiSearch.stories.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/* Copyright (c) Fortanix, Inc.
|* This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of
|* the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. */

import { getDay as dateGetDay, startOfDay as dateStartOfDay, endOfDay as dateEndOfDay, sub as dateSub } from 'date-fns';

Expand Down
3 changes: 3 additions & 0 deletions src/components/tables/MultiSearch/MultiSearch.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/* Copyright (c) Fortanix, Inc.
|* This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of
|* the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. */

import * as Random from '../../../util/random';
import * as ObjectUtil from '../../../util/object_util';
Expand Down
3 changes: 3 additions & 0 deletions src/components/tables/util/generateData.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/* Copyright (c) Fortanix, Inc.
|* This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of
|* the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. */

import { seed, randFirstName, randLastName, randEmail, randCompanyName, randBetweenDate } from '@ngneat/falso';

Expand Down

0 comments on commit 04c6f29

Please sign in to comment.