From 20b36457fea534dd970de0784bad4fe1254d447d Mon Sep 17 00:00:00 2001 From: David Crespo Date: Wed, 19 Jul 2023 11:36:04 -0500 Subject: [PATCH] MPL-2.0 license all the files (#1679) * remove some unnecessary stuff from .gitignore * first pass at config * stick that license on there! * Bot commit: format with prettier * check license header in CI * try automatically fixing the license in CI * Revert "try automatically fixing the license in CI" 62cd0053d3c676a7d57219311ca71ebfe7ab71cc * Update app/components/NoLicense.tsx Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * fix stray space, try again with test file * I thought it made suggestion comments * Update app/components/NoLicense2.tsx Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * delete test files * run prettier, fine * add comment to workflow yaml about how to run license check locally * update header on incorporated MIT-licensed work --------- Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com> --- .figmaexportrc.js | 8 + .github/workflows/license-check.yml | 13 + .gitignore | 14 - .licenserc.yaml | 23 ++ .prettierrc.js | 8 + LICENSE | 373 ++++++++++++++++++ app/components/AccessNameCell.tsx | 7 + app/components/AttachAddon.ts | 8 + app/components/CapacityMetric.tsx | 7 + app/components/ConfirmDeleteModal.tsx | 7 + app/components/EquivalentCliCommand.tsx | 7 + app/components/ErrorBoundary.tsx | 7 + app/components/MoreActionsMenu.tsx | 7 + app/components/MswWarning.tsx | 7 + app/components/NoLicense2.tsx | 11 + app/components/OxideLogo.tsx | 8 + app/components/PageActions.tsx | 7 + app/components/QueryParamTabs.tsx | 7 + app/components/RefetchIntervalPicker.tsx | 7 + app/components/RoleBadgeCell.tsx | 7 + app/components/RoundedSector.tsx | 7 + app/components/RouteTabs.tsx | 7 + app/components/Sidebar.tsx | 7 + app/components/StatusBadge.tsx | 7 + app/components/SystemMetric.tsx | 7 + app/components/Terminal.tsx | 7 + app/components/ThemeIcons.tsx | 8 + app/components/TimeSeriesChart.tsx | 7 + app/components/ToastStack.tsx | 7 + app/components/TopBar.tsx | 7 + app/components/TopBarPicker.tsx | 7 + app/components/form/Form.tsx | 7 + app/components/form/FullPageForm.tsx | 7 + app/components/form/SideModalForm.tsx | 7 + app/components/form/fields/CheckboxField.tsx | 7 + .../form/fields/DateTimeRangePicker.spec.tsx | 7 + .../form/fields/DateTimeRangePicker.tsx | 7 + .../form/fields/DescriptionField.tsx | 7 + app/components/form/fields/DiskSizeField.tsx | 7 + .../form/fields/DisksTableField.tsx | 7 + app/components/form/fields/ErrorMessage.tsx | 7 + app/components/form/fields/FileField.tsx | 7 + .../form/fields/ImageSelectField.tsx | 7 + app/components/form/fields/ListboxField.tsx | 7 + app/components/form/fields/NameField.spec.tsx | 7 + app/components/form/fields/NameField.tsx | 7 + .../form/fields/NetworkInterfaceField.tsx | 7 + app/components/form/fields/RadioField.tsx | 7 + app/components/form/fields/SubnetListbox.tsx | 7 + app/components/form/fields/TextField.tsx | 7 + app/components/form/fields/index.ts | 8 + app/components/form/form.css | 8 + app/components/form/index.ts | 8 + app/components/login-page.css | 8 + app/forms/access-util.tsx | 7 + app/forms/all-zeros.spec.ts | 7 + app/forms/disk-attach.tsx | 7 + app/forms/disk-create.tsx | 7 + app/forms/firewall-rules-create.tsx | 7 + app/forms/firewall-rules-edit.tsx | 7 + app/forms/idp/create.tsx | 7 + app/forms/idp/edit.tsx | 7 + app/forms/idp/shared.tsx | 7 + app/forms/image-edit.tsx | 7 + app/forms/image-from-snapshot.tsx | 7 + app/forms/image-upload.tsx | 7 + app/forms/instance-create.tsx | 7 + app/forms/network-interface-create.tsx | 7 + app/forms/network-interface-edit.tsx | 7 + app/forms/project-access.tsx | 7 + app/forms/project-create.tsx | 7 + app/forms/project-edit.tsx | 7 + app/forms/silo-access.tsx | 7 + app/forms/silo-create.tsx | 7 + app/forms/snapshot-create.tsx | 7 + app/forms/ssh-key-create.tsx | 7 + app/forms/subnet-create.tsx | 7 + app/forms/subnet-edit.tsx | 7 + app/forms/vpc-create.tsx | 7 + app/forms/vpc-edit.tsx | 7 + app/forms/vpc-router-create.tsx | 7 + app/forms/vpc-router-edit.tsx | 7 + app/hooks/index.ts | 8 + app/hooks/use-crumbs.tsx | 7 + app/hooks/use-is-active-path.ts | 7 + app/hooks/use-is-overflow.ts | 7 + app/hooks/use-key.ts | 7 + app/hooks/use-params.ts | 7 + app/hooks/use-quick-actions.tsx | 7 + app/hooks/use-reduce-motion.tsx | 7 + app/hooks/use-scroll-restoration.ts | 7 + app/hooks/use-toast.ts | 7 + app/layouts/AuthLayout.tsx | 7 + app/layouts/LoginLayout.tsx | 7 + app/layouts/ProjectLayout.tsx | 7 + app/layouts/RootLayout.tsx | 7 + app/layouts/SettingsLayout.tsx | 7 + app/layouts/SiloLayout.tsx | 7 + app/layouts/SystemLayout.tsx | 7 + app/layouts/helpers.tsx | 7 + app/main.tsx | 7 + app/msw-mock-api.ts | 8 + app/pages/DeviceAuthSuccessPage.tsx | 7 + app/pages/DeviceAuthVerifyPage.tsx | 7 + app/pages/LoginPage.tsx | 7 + app/pages/LoginPageSaml.tsx | 7 + app/pages/NotFound.tsx | 7 + app/pages/ProjectsPage.tsx | 7 + app/pages/SiloAccessPage.tsx | 7 + app/pages/SiloUtilizationPage.tsx | 7 + app/pages/add-dashes.spec.ts | 7 + .../project/access/ProjectAccessPage.tsx | 7 + app/pages/project/access/index.ts | 8 + app/pages/project/disks/DisksPage.tsx | 7 + app/pages/project/disks/index.ts | 8 + app/pages/project/images/ImagesPage.tsx | 7 + app/pages/project/images/index.ts | 8 + app/pages/project/index.tsx | 8 + app/pages/project/instances/InstancesPage.tsx | 7 + app/pages/project/instances/actions.tsx | 7 + app/pages/project/instances/index.tsx | 8 + .../instances/instance/InstancePage.tsx | 7 + .../instances/instance/SerialConsolePage.tsx | 7 + app/pages/project/instances/instance/index.ts | 8 + .../instances/instance/tabs/ConnectTab.tsx | 7 + .../instances/instance/tabs/MetricsTab.tsx | 7 + .../instances/instance/tabs/NetworkingTab.tsx | 7 + .../instances/instance/tabs/StorageTab.tsx | 7 + .../instances/instance/tabs/common.tsx | 7 + .../project/networking/VpcPage/VpcPage.tsx | 7 + .../project/networking/VpcPage/index.tsx | 8 + .../VpcPage/tabs/VpcFirewallRulesTab.tsx | 7 + .../VpcPage/tabs/VpcGatewaysTab.tsx | 7 + .../networking/VpcPage/tabs/VpcRoutersTab.tsx | 7 + .../networking/VpcPage/tabs/VpcSubnetsTab.tsx | 7 + .../VpcPage/tabs/VpcSystemRoutesTab.tsx | 7 + app/pages/project/networking/VpcsPage.tsx | 7 + app/pages/project/networking/index.tsx | 8 + app/pages/project/snapshots/SnapshotsPage.tsx | 7 + app/pages/project/snapshots/index.ts | 8 + app/pages/settings/ProfilePage.tsx | 7 + app/pages/settings/SSHKeysPage.tsx | 7 + app/pages/system/CapacityUtilizationPage.tsx | 7 + app/pages/system/SiloImagesPage.tsx | 7 + app/pages/system/SiloPage.tsx | 7 + app/pages/system/SilosPage.tsx | 7 + app/pages/system/inventory/DisksTab.tsx | 7 + app/pages/system/inventory/InventoryPage.tsx | 7 + app/pages/system/inventory/RacksTab.tsx | 7 + app/pages/system/inventory/SledsTab.tsx | 7 + .../inventory/sled/SledInstancesTab.tsx | 7 + app/pages/system/inventory/sled/SledPage.tsx | 7 + app/routes.tsx | 7 + app/stores/confirm-delete.ts | 7 + app/stores/toast.ts | 7 + app/test/e2e/NotFound.e2e.ts | 7 + app/test/e2e/authz.e2e.ts | 7 + app/test/e2e/click-everything.e2e.ts | 7 + app/test/e2e/disk-create.e2e.ts | 7 + app/test/e2e/firewall-rules.e2e.ts | 7 + app/test/e2e/image-upload.e2e.ts | 7 + app/test/e2e/images.e2e.ts | 7 + app/test/e2e/instance-create.e2e.ts | 7 + app/test/e2e/instance/attach-disk.e2e.ts | 7 + app/test/e2e/instance/list.e2e.ts | 7 + app/test/e2e/instance/networking.e2e.ts | 7 + app/test/e2e/inventory.e2e.ts | 7 + app/test/e2e/login-saml.e2e.ts | 7 + app/test/e2e/login.e2e.ts | 7 + app/test/e2e/networking.e2e.ts | 7 + app/test/e2e/profile.e2e.ts | 7 + app/test/e2e/project-access.e2e.ts | 7 + app/test/e2e/project-create.e2e.ts | 7 + app/test/e2e/row-select.e2e.ts | 7 + app/test/e2e/scroll-restore.e2e.ts | 7 + app/test/e2e/silo-access.e2e.ts | 7 + app/test/e2e/silos.e2e.ts | 7 + app/test/e2e/snapshots.e2e.ts | 7 + app/test/e2e/ssh-keys.e2e.ts | 7 + app/test/e2e/utilization.e2e.ts | 7 + app/test/e2e/utils.ts | 7 + app/test/e2e/vpcs.e2e.ts | 7 + app/test/unit/index.tsx | 7 + app/test/unit/server.ts | 7 + app/test/unit/setup.ts | 8 + app/util/date.spec.ts | 7 + app/util/date.ts | 7 + app/util/file.spec.ts | 7 + app/util/file.ts | 8 + app/util/path-builder.spec.ts | 7 + app/util/path-builder.ts | 7 + app/util/validate.ts | 8 + codemods/add-responsive-viewbox.icons.js | 8 + codemods/fix-title-and-fill.icons.js | 7 + codemods/remove-import-extensions.icons.js | 8 + index.html | 8 + libs/api-mocks/disk.ts | 7 + libs/api-mocks/image.ts | 7 + libs/api-mocks/index.ts | 8 + libs/api-mocks/instance.ts | 7 + libs/api-mocks/json-type.ts | 8 + libs/api-mocks/json-type.type-spec.ts | 7 + libs/api-mocks/metrics.ts | 7 + libs/api-mocks/msw/db.ts | 7 + libs/api-mocks/msw/handlers.ts | 7 + libs/api-mocks/msw/util.spec.ts | 7 + libs/api-mocks/msw/util.ts | 7 + libs/api-mocks/network-interface.ts | 7 + libs/api-mocks/physical-disk.ts | 7 + libs/api-mocks/project.ts | 7 + libs/api-mocks/rack.ts | 7 + libs/api-mocks/role-assignment.ts | 7 + libs/api-mocks/serial.ts | 7 + libs/api-mocks/silo.ts | 7 + libs/api-mocks/sled.ts | 7 + libs/api-mocks/snapshot.ts | 7 + libs/api-mocks/sshKeys.ts | 7 + libs/api-mocks/user-group.ts | 7 + libs/api-mocks/user.ts | 7 + libs/api-mocks/vpc.ts | 7 + libs/api/__tests__/errors.spec.ts | 7 + libs/api/__tests__/hooks.spec.tsx | 7 + libs/api/__tests__/nav-to-login.spec.ts | 7 + libs/api/__tests__/safety.spec.ts | 7 + libs/api/errors.ts | 7 + libs/api/hooks.ts | 7 + libs/api/index.ts | 7 + libs/api/nav-to-login.ts | 8 + libs/api/path-params.ts | 7 + libs/api/roles.spec.ts | 7 + libs/api/roles.ts | 8 + libs/api/util.spec.ts | 7 + libs/api/util.ts | 7 + .../index.js | 8 + .../index.spec.tsx | 7 + libs/pagination/Pagination.tsx | 7 + .../__tests__/use-pagination.spec.ts | 7 + libs/pagination/index.ts | 8 + libs/pagination/use-pagination.tsx | 7 + libs/table/QueryTable.tsx | 8 + libs/table/Table.tsx | 7 + libs/table/cells/BooleanCell.tsx | 8 + libs/table/cells/Cell.tsx | 8 + libs/table/cells/DateCell.tsx | 7 + libs/table/cells/DefaultCell.tsx | 7 + libs/table/cells/EnabledCell.tsx | 7 + libs/table/cells/FirewallFilterCell.tsx | 7 + libs/table/cells/InstanceResourceCell.tsx | 7 + libs/table/cells/InstanceStatusCell.tsx | 7 + libs/table/cells/LabelCell.tsx | 7 + libs/table/cells/LinkCell.tsx | 7 + libs/table/cells/SizeCell.tsx | 7 + libs/table/cells/TruncateCell.tsx | 7 + libs/table/cells/TwoLineCell.tsx | 7 + libs/table/cells/TypeValueCell.tsx | 7 + libs/table/cells/TypeValueListCell.tsx | 7 + libs/table/cells/index.ts | 8 + libs/table/columns/action-col.tsx | 7 + libs/table/columns/index.ts | 8 + libs/table/columns/select-col.tsx | 7 + libs/table/headers/DefaultHeader.tsx | 8 + libs/table/headers/index.ts | 8 + libs/table/index.ts | 8 + libs/table/react-table.ts | 7 + libs/ui/index.ts | 7 + libs/ui/lib/__stories__/Colors.stories.tsx | 8 + .../ui/lib/__stories__/Typography.stories.tsx | 7 + .../ui/lib/action-menu/ActionMenu.stories.tsx | 7 + libs/ui/lib/action-menu/ActionMenu.tsx | 7 + libs/ui/lib/auth-code/AuthCodeInput.tsx | 20 +- .../lib/avatar-stack/AvatarStack.stories.tsx | 7 + libs/ui/lib/avatar-stack/AvatarStack.tsx | 7 + libs/ui/lib/avatar/Avatar.stories.tsx | 7 + libs/ui/lib/avatar/Avatar.tsx | 7 + libs/ui/lib/badge/Badge.stories.tsx | 7 + libs/ui/lib/badge/Badge.tsx | 7 + .../BulkActionMenu.stories.tsx | 7 + .../lib/bulk-action-menu/BulkActionMenu.tsx | 7 + libs/ui/lib/button/Button.stories.tsx | 7 + libs/ui/lib/button/Button.tsx | 7 + libs/ui/lib/button/button.css | 8 + libs/ui/lib/checkbox/Checkbox.stories.tsx | 7 + libs/ui/lib/checkbox/Checkbox.tsx | 7 + libs/ui/lib/date-picker/Calendar.tsx | 7 + libs/ui/lib/date-picker/CalendarCell.tsx | 7 + libs/ui/lib/date-picker/CalendarGrid.tsx | 7 + libs/ui/lib/date-picker/DateField.tsx | 7 + .../ui/lib/date-picker/DatePicker.stories.tsx | 7 + libs/ui/lib/date-picker/DatePicker.tsx | 7 + libs/ui/lib/date-picker/DateRangePicker.tsx | 7 + libs/ui/lib/date-picker/Dialog.tsx | 7 + libs/ui/lib/date-picker/Popover.tsx | 7 + libs/ui/lib/date-picker/RangeCalendar.tsx | 7 + libs/ui/lib/divider/Divider.tsx | 7 + libs/ui/lib/dropdown-menu/DropdownMenu.tsx | 7 + .../empty-message/EmptyMessage.stories.tsx | 7 + libs/ui/lib/empty-message/EmptyMessage.tsx | 7 + .../ui/lib/field-label/FieldLabel.stories.tsx | 7 + libs/ui/lib/field-label/FieldLabel.tsx | 7 + libs/ui/lib/file-input/FileInput.spec.tsx | 7 + libs/ui/lib/file-input/FileInput.stories.tsx | 7 + libs/ui/lib/file-input/FileInput.tsx | 7 + libs/ui/lib/hooks/use-interval.ts | 7 + libs/ui/lib/hooks/use-stepped-scroll.ts | 7 + libs/ui/lib/hooks/use-timeout.ts | 7 + libs/ui/lib/icons/Access16Icon.tsx | 7 + libs/ui/lib/icons/Access24Icon.tsx | 7 + libs/ui/lib/icons/Action16Icon.tsx | 7 + libs/ui/lib/icons/Action24Icon.tsx | 7 + libs/ui/lib/icons/Add12Icon.tsx | 7 + libs/ui/lib/icons/AddRoundel12Icon.tsx | 7 + libs/ui/lib/icons/AddRoundel16Icon.tsx | 7 + libs/ui/lib/icons/AddRoundel24Icon.tsx | 7 + libs/ui/lib/icons/AlpineDistroIcon.tsx | 7 + libs/ui/lib/icons/ArchDistroIcon.tsx | 7 + libs/ui/lib/icons/Calendar16Icon.tsx | 7 + libs/ui/lib/icons/Calendar24Icon.tsx | 7 + libs/ui/lib/icons/CentosDistroIcon.tsx | 7 + libs/ui/lib/icons/Chat16Icon.tsx | 7 + libs/ui/lib/icons/Chat24Icon.tsx | 7 + libs/ui/lib/icons/Checkmark12Icon.tsx | 7 + libs/ui/lib/icons/Clipboard12Icon.tsx | 7 + libs/ui/lib/icons/Clipboard16Icon.tsx | 7 + libs/ui/lib/icons/Clipboard24Icon.tsx | 7 + libs/ui/lib/icons/Close12Icon.tsx | 7 + libs/ui/lib/icons/Close16Icon.tsx | 7 + libs/ui/lib/icons/Close8Icon.tsx | 7 + libs/ui/lib/icons/Cloud16Icon.tsx | 7 + libs/ui/lib/icons/Cloud24Icon.tsx | 7 + libs/ui/lib/icons/Compability16Icon.tsx | 7 + libs/ui/lib/icons/Compatibility24Icon.tsx | 7 + libs/ui/lib/icons/Contrast16Icon.tsx | 7 + libs/ui/lib/icons/Contrast24Icon.tsx | 7 + libs/ui/lib/icons/Cpu16Icon.tsx | 7 + libs/ui/lib/icons/Cpu24Icon.tsx | 7 + libs/ui/lib/icons/CpuLargeMiscIcon.tsx | 7 + libs/ui/lib/icons/CpuSmallMiscIcon.tsx | 7 + libs/ui/lib/icons/DebianDistroIcon.tsx | 7 + libs/ui/lib/icons/Delete16Icon.tsx | 7 + libs/ui/lib/icons/Delete24Icon.tsx | 7 + libs/ui/lib/icons/DirectionDownIcon.tsx | 7 + libs/ui/lib/icons/DirectionLeftIcon.tsx | 7 + libs/ui/lib/icons/DirectionRightIcon.tsx | 7 + libs/ui/lib/icons/DirectionUpIcon.tsx | 7 + libs/ui/lib/icons/Disabled12Icon.tsx | 7 + libs/ui/lib/icons/DiskLargeMiscIcon.tsx | 7 + libs/ui/lib/icons/DiskSmallMiscIcon.tsx | 7 + libs/ui/lib/icons/Dislike16Icon.tsx | 7 + libs/ui/lib/icons/Dislike24Icon.tsx | 7 + libs/ui/lib/icons/Document16Icon.tsx | 7 + libs/ui/lib/icons/Document24Icon.tsx | 7 + libs/ui/lib/icons/Dots16Icon.tsx | 7 + libs/ui/lib/icons/Dots24Icon.tsx | 7 + libs/ui/lib/icons/Download24Icon.tsx | 7 + libs/ui/lib/icons/DownloadRoundel16Icon.tsx | 7 + libs/ui/lib/icons/Edit16Icon.tsx | 7 + libs/ui/lib/icons/Email16Icon.tsx | 7 + libs/ui/lib/icons/Email24Icon.tsx | 7 + libs/ui/lib/icons/Error12Icon.tsx | 7 + libs/ui/lib/icons/Error16Icon.tsx | 7 + libs/ui/lib/icons/Error24Icon.tsx | 7 + libs/ui/lib/icons/FedoraDistroIcon.tsx | 7 + libs/ui/lib/icons/Filter12Icon.tsx | 7 + libs/ui/lib/icons/Firewall16Icon.tsx | 7 + libs/ui/lib/icons/Firewall24Icon.tsx | 7 + libs/ui/lib/icons/Folder16Icon.tsx | 7 + libs/ui/lib/icons/Folder24Icon.tsx | 7 + libs/ui/lib/icons/FreebsdDistroIcon.tsx | 7 + libs/ui/lib/icons/Gateway16Icon.tsx | 7 + libs/ui/lib/icons/Gateway24Icon.tsx | 7 + libs/ui/lib/icons/Health16Icon.tsx | 7 + libs/ui/lib/icons/Heart24Icon.tsx | 7 + libs/ui/lib/icons/Hide12Icon.tsx | 7 + libs/ui/lib/icons/Hide16Icon.tsx | 7 + libs/ui/lib/icons/Hide24Icon.tsx | 7 + libs/ui/lib/icons/Hourglass16Icon.tsx | 7 + libs/ui/lib/icons/Hourglass24Icon.tsx | 7 + libs/ui/lib/icons/Images16Icon.tsx | 7 + libs/ui/lib/icons/Images24Icon.tsx | 7 + libs/ui/lib/icons/Info16Icon.tsx | 7 + libs/ui/lib/icons/Info24Icon.tsx | 7 + libs/ui/lib/icons/Instances16Icon.tsx | 7 + libs/ui/lib/icons/Instances24Icon.tsx | 7 + libs/ui/lib/icons/Integration16Icon.tsx | 7 + libs/ui/lib/icons/IpGlobal16Icon.tsx | 7 + libs/ui/lib/icons/IpGlobal24Icon.tsx | 7 + libs/ui/lib/icons/IpLocal16Icon.tsx | 7 + libs/ui/lib/icons/IpLocal24Icon.tsx | 7 + libs/ui/lib/icons/Issues16Icon.tsx | 7 + libs/ui/lib/icons/Issues24Icon.tsx | 7 + libs/ui/lib/icons/Key12Icon.tsx | 7 + libs/ui/lib/icons/Key16Icon.tsx | 7 + libs/ui/lib/icons/Key24Icon.tsx | 7 + libs/ui/lib/icons/Like16Icon.tsx | 7 + libs/ui/lib/icons/Like24Icon.tsx | 7 + libs/ui/lib/icons/Link16Icon.tsx | 7 + libs/ui/lib/icons/LoadBalancer16Icon.tsx | 7 + libs/ui/lib/icons/LoadBalancer24Icon.tsx | 7 + libs/ui/lib/icons/Loader12Icon.tsx | 7 + libs/ui/lib/icons/Location24Icon.tsx | 7 + libs/ui/lib/icons/Logs16Icon.tsx | 7 + libs/ui/lib/icons/Logs24Icon.tsx | 7 + libs/ui/lib/icons/Metrics16Icon.tsx | 7 + libs/ui/lib/icons/More12Icon.tsx | 7 + libs/ui/lib/icons/Networking16Icon.tsx | 7 + libs/ui/lib/icons/Networking24Icon.tsx | 7 + libs/ui/lib/icons/NewWindow16Icon.tsx | 7 + libs/ui/lib/icons/NextArrow12Icon.tsx | 7 + libs/ui/lib/icons/Notifications16Icon.tsx | 7 + libs/ui/lib/icons/OpenLink12Icon.tsx | 7 + libs/ui/lib/icons/Organization16Icon.tsx | 7 + libs/ui/lib/icons/Organization24Icon.tsx | 7 + libs/ui/lib/icons/Overview16Icon.tsx | 7 + libs/ui/lib/icons/Overview24Icon.tsx | 7 + libs/ui/lib/icons/Person16Icon.tsx | 7 + libs/ui/lib/icons/Person24Icon.tsx | 7 + libs/ui/lib/icons/PersonGroup16Icon.tsx | 7 + libs/ui/lib/icons/PersonGroup24Icon.tsx | 7 + libs/ui/lib/icons/PrevArrow12Icon.tsx | 7 + libs/ui/lib/icons/Profile16Icon.tsx | 7 + libs/ui/lib/icons/Progress24Icon.tsx | 7 + libs/ui/lib/icons/Prohibited24Icon.tsx | 7 + libs/ui/lib/icons/Question12Icon.tsx | 7 + libs/ui/lib/icons/Racks24Icon.tsx | 7 + libs/ui/lib/icons/Ram16Icon.tsx | 7 + libs/ui/lib/icons/RamLargeMiscIcon.tsx | 7 + libs/ui/lib/icons/RamSmallMiscIcon.tsx | 7 + libs/ui/lib/icons/Refresh16Icon.tsx | 7 + libs/ui/lib/icons/Repair12Icon.tsx | 7 + libs/ui/lib/icons/Repair16Icon.tsx | 7 + libs/ui/lib/icons/Resize16Icon.tsx | 7 + libs/ui/lib/icons/Resize24Icon.tsx | 7 + libs/ui/lib/icons/Router16Icon.tsx | 7 + libs/ui/lib/icons/Router24Icon.tsx | 7 + libs/ui/lib/icons/Safety24Icon.tsx | 7 + libs/ui/lib/icons/Search16Icon.tsx | 7 + libs/ui/lib/icons/Security12Icon.tsx | 7 + libs/ui/lib/icons/Security16Icon.tsx | 7 + libs/ui/lib/icons/Security24Icon.tsx | 7 + libs/ui/lib/icons/SelectArrows6Icon.tsx | 7 + libs/ui/lib/icons/Servers16Icon.tsx | 7 + libs/ui/lib/icons/Settings16Icon.tsx | 7 + libs/ui/lib/icons/Settings24Icon.tsx | 7 + libs/ui/lib/icons/Show16Icon.tsx | 7 + libs/ui/lib/icons/Snapshots16Icon.tsx | 7 + libs/ui/lib/icons/Snapshots24Icon.tsx | 7 + libs/ui/lib/icons/SoftwareUpdate16Icon.tsx | 7 + libs/ui/lib/icons/SoftwareUpdate24Icon.tsx | 7 + libs/ui/lib/icons/Speaker24Icon.tsx | 7 + libs/ui/lib/icons/Ssd16Icon.tsx | 7 + libs/ui/lib/icons/Storage16Icon.tsx | 7 + libs/ui/lib/icons/Storage24Icon.tsx | 7 + libs/ui/lib/icons/Subnet16Icon.tsx | 7 + libs/ui/lib/icons/Subnet24Icon.tsx | 7 + libs/ui/lib/icons/Success12Icon.tsx | 7 + libs/ui/lib/icons/Tags16Icon.tsx | 7 + libs/ui/lib/icons/Terminal16Icon.tsx | 7 + libs/ui/lib/icons/Terminal24Icon.tsx | 7 + libs/ui/lib/icons/Time16Icon.tsx | 7 + libs/ui/lib/icons/Transmit24Icon.tsx | 7 + libs/ui/lib/icons/UbuntuDistroIcon.tsx | 7 + libs/ui/lib/icons/Unauthorized12Icon.tsx | 7 + libs/ui/lib/icons/UnreadIndicator6Icon.tsx | 7 + libs/ui/lib/icons/Warning12Icon.tsx | 7 + libs/ui/lib/icons/WindowsDistroIcon.tsx | 7 + libs/ui/lib/icons/Wireless24Icon.tsx | 7 + libs/ui/lib/icons/index.ts | 8 + libs/ui/lib/identicon/Identicon.stories.tsx | 7 + libs/ui/lib/identicon/Identicon.tsx | 7 + libs/ui/lib/listbox/Listbox.stories.tsx | 7 + libs/ui/lib/listbox/Listbox.tsx | 7 + libs/ui/lib/message/Message.stories.tsx | 7 + libs/ui/lib/message/Message.tsx | 7 + libs/ui/lib/mini-table/MiniTable.stories.tsx | 7 + libs/ui/lib/mini-table/MiniTable.tsx | 7 + libs/ui/lib/mini-table/mini-table.css | 8 + libs/ui/lib/modal/Modal.stories.tsx | 7 + libs/ui/lib/modal/Modal.tsx | 7 + .../ui/lib/page-header/PageHeader.stories.tsx | 7 + libs/ui/lib/page-header/PageHeader.tsx | 7 + libs/ui/lib/pagination/Pagination.stories.tsx | 7 + libs/ui/lib/pagination/Pagination.tsx | 7 + libs/ui/lib/progress/Progress.stories.tsx | 7 + libs/ui/lib/progress/Progress.tsx | 7 + .../PropertiesTable.stories.tsx | 7 + .../lib/properties-table/PropertiesTable.tsx | 7 + .../lib/properties-table/properties-table.css | 8 + .../ui/lib/radio-group/RadioGroup.stories.tsx | 7 + libs/ui/lib/radio-group/RadioGroup.tsx | 8 + libs/ui/lib/radio/Radio.stories.tsx | 7 + libs/ui/lib/radio/Radio.tsx | 8 + .../settings-group/SettingsGroup.stories.tsx | 7 + libs/ui/lib/settings-group/SettingsGroup.tsx | 7 + libs/ui/lib/side-modal/SideModal.stories.tsx | 7 + libs/ui/lib/side-modal/SideModal.tsx | 7 + libs/ui/lib/side-modal/side-modal.css | 8 + libs/ui/lib/skip-link/SkipLink.stories.tsx | 7 + libs/ui/lib/skip-link/SkipLink.tsx | 7 + libs/ui/lib/spinner/Spinner.stories.tsx | 7 + libs/ui/lib/spinner/Spinner.tsx | 7 + libs/ui/lib/spinner/spinner.css | 8 + libs/ui/lib/table/Table.stories.tsx | 7 + libs/ui/lib/table/Table.tsx | 7 + libs/ui/lib/table/table.css | 8 + libs/ui/lib/tabs/Tabs.css | 8 + libs/ui/lib/tabs/Tabs.stories.tsx | 7 + libs/ui/lib/tabs/Tabs.tsx | 7 + libs/ui/lib/tag/Tag.stories.tsx | 7 + libs/ui/lib/tag/Tag.tsx | 7 + libs/ui/lib/text-input/TextInput.stories.tsx | 7 + libs/ui/lib/text-input/TextInput.tsx | 7 + .../timeout-indicator/TimeoutIndicator.tsx | 7 + libs/ui/lib/toast/Toast.stories.tsx | 7 + libs/ui/lib/toast/Toast.tsx | 7 + libs/ui/lib/tooltip/Tooltip.stories.tsx | 7 + libs/ui/lib/tooltip/Tooltip.tsx | 7 + libs/ui/lib/tooltip/tooltip.css | 8 + libs/ui/lib/truncate/Truncate.stories.tsx | 7 + libs/ui/lib/truncate/Truncate.tsx | 7 + libs/ui/styles/components/dialog.css | 8 + libs/ui/styles/components/loading-bar.css | 8 + libs/ui/styles/components/menu-button.css | 8 + libs/ui/styles/components/menu-list.css | 8 + libs/ui/styles/fonts.css | 8 + libs/ui/styles/index.css | 8 + libs/ui/styles/themes/selection.css | 8 + libs/ui/util/aria.ts | 8 + libs/ui/util/keys.ts | 8 + libs/ui/util/story-section.tsx | 7 + libs/ui/util/wrap.tsx | 7 + libs/util/array.spec.ts | 7 + libs/util/array.ts | 8 + libs/util/children.spec.tsx | 7 + libs/util/children.tsx | 7 + libs/util/classed.tsx | 8 + libs/util/date.ts | 7 + libs/util/index.ts | 8 + libs/util/math.spec.ts | 7 + libs/util/math.ts | 8 + libs/util/object.spec.ts | 7 + libs/util/object.ts | 8 + libs/util/selector.spec.ts | 7 + libs/util/selector.ts | 7 + libs/util/str.spec.ts | 7 + libs/util/str.ts | 8 + libs/util/units.ts | 7 + libs/vite-plugin-dot-path-fix/index.ts | 7 + playwright.config.ts | 7 + postcss.config.js | 8 + tailwind.config.js | 8 + tools/checkout_pinned_omicron.sh | 6 + tools/debug-ci-e2e-fail.sh | 6 + tools/deno/bump-omicron.ts | 8 + tools/deno/mock-serial-console.ts | 8 + tools/dogfood/find-zone.sh | 6 + tools/dogfood/scp-assets.sh | 6 + tools/export-icons.sh | 6 + tools/generate_api_client.sh | 6 + tools/populate_omicron_data.sh | 6 + tools/start_api.sh | 6 + tools/start_mock_api.ts | 7 + types/react-table.d.ts | 7 + types/util.d.ts | 8 + vite.config.ts | 7 + 564 files changed, 4407 insertions(+), 17 deletions(-) create mode 100644 .github/workflows/license-check.yml create mode 100644 .licenserc.yaml create mode 100644 LICENSE create mode 100644 app/components/NoLicense2.tsx diff --git a/.figmaexportrc.js b/.figmaexportrc.js index c2c423fd9..043fb4c6a 100644 --- a/.figmaexportrc.js +++ b/.figmaexportrc.js @@ -1,3 +1,11 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ + // @ts-check const { pascalCase } = require('@figma-export/utils') diff --git a/.github/workflows/license-check.yml b/.github/workflows/license-check.yml new file mode 100644 index 000000000..4c44ba37b --- /dev/null +++ b/.github/workflows/license-check.yml @@ -0,0 +1,13 @@ +# To run this check locally, install SkyWalking Eyes somehow +# (https://github.com/apache/skywalking-eyes). On macOS you can `brew install +# license-eye` and run `license-eye header check` or `license-eye header fix`. + +name: license-check +on: pull_request +jobs: + license: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: Check License Header + uses: apache/skywalking-eyes/header@5dfa68f93380a5e57259faaf95088b7f133b5778 diff --git a/.gitignore b/.gitignore index 651e64b01..853fc3d12 100644 --- a/.gitignore +++ b/.gitignore @@ -1,12 +1,4 @@ -# See http://help.github.com/ignore-files/ for more about ignoring files. - -# compiled output /dist -/tmp -/out-tsc -/build - -# dependencies /node_modules # IDEs and editors @@ -26,12 +18,6 @@ !.vscode/extensions.json !.vscode/css.json -# misc -/.sass-cache -/connect.lock -/coverage -*.log -/typings .env .eslintcache diff --git a/.licenserc.yaml b/.licenserc.yaml new file mode 100644 index 000000000..9c37f59a4 --- /dev/null +++ b/.licenserc.yaml @@ -0,0 +1,23 @@ +header: + license: + spdx-id: MPL-2.0 + content: | + 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 https://mozilla.org/MPL/2.0/. + + Copyright Oxide Computer Company + + paths: + - '**/*.{ts,tsx,css,html,js,sh}' + + paths-ignore: + - 'dist' + - '**/*.md' + - 'LICENSE' + - 'OMICRON_VERSION' + - '.ladle' + - '.husky' + - 'mockServiceWorker.js' + + comment: on-failure diff --git a/.prettierrc.js b/.prettierrc.js index dffcd22b6..c57f3212b 100644 --- a/.prettierrc.js +++ b/.prettierrc.js @@ -1,3 +1,11 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ + const twPlugin = require('prettier-plugin-tailwindcss') const importsPlugin = require('@trivago/prettier-plugin-sort-imports') diff --git a/LICENSE b/LICENSE new file mode 100644 index 000000000..5f7a7c495 --- /dev/null +++ b/LICENSE @@ -0,0 +1,373 @@ +Mozilla Public License Version 2.0 +================================== + +1. Definitions +-------------- + +1.1. "Contributor" + means each individual or legal entity that creates, contributes to + the creation of, or owns Covered Software. + +1.2. "Contributor Version" + means the combination of the Contributions of others (if any) used + by a Contributor and that particular Contributor's Contribution. + +1.3. "Contribution" + means Covered Software of a particular Contributor. + +1.4. "Covered Software" + means Source Code Form to which the initial Contributor has attached + the notice in Exhibit A, the Executable Form of such Source Code + Form, and Modifications of such Source Code Form, in each case + including portions thereof. + +1.5. "Incompatible With Secondary Licenses" + means + + (a) that the initial Contributor has attached the notice described + in Exhibit B to the Covered Software; or + + (b) that the Covered Software was made available under the terms of + version 1.1 or earlier of the License, but not also under the + terms of a Secondary License. + +1.6. "Executable Form" + means any form of the work other than Source Code Form. + +1.7. "Larger Work" + means a work that combines Covered Software with other material, in + a separate file or files, that is not Covered Software. + +1.8. "License" + means this document. + +1.9. "Licensable" + means having the right to grant, to the maximum extent possible, + whether at the time of the initial grant or subsequently, any and + all of the rights conveyed by this License. + +1.10. "Modifications" + means any of the following: + + (a) any file in Source Code Form that results from an addition to, + deletion from, or modification of the contents of Covered + Software; or + + (b) any new file in Source Code Form that contains any Covered + Software. + +1.11. "Patent Claims" of a Contributor + means any patent claim(s), including without limitation, method, + process, and apparatus claims, in any patent Licensable by such + Contributor that would be infringed, but for the grant of the + License, by the making, using, selling, offering for sale, having + made, import, or transfer of either its Contributions or its + Contributor Version. + +1.12. "Secondary License" + means either the GNU General Public License, Version 2.0, the GNU + Lesser General Public License, Version 2.1, the GNU Affero General + Public License, Version 3.0, or any later versions of those + licenses. + +1.13. "Source Code Form" + means the form of the work preferred for making modifications. + +1.14. "You" (or "Your") + means an individual or a legal entity exercising rights under this + License. For legal entities, "You" includes any entity that + controls, is controlled by, or is under common control with You. For + purposes of this definition, "control" means (a) the power, direct + or indirect, to cause the direction or management of such entity, + whether by contract or otherwise, or (b) ownership of more than + fifty percent (50%) of the outstanding shares or beneficial + ownership of such entity. + +2. License Grants and Conditions +-------------------------------- + +2.1. Grants + +Each Contributor hereby grants You a world-wide, royalty-free, +non-exclusive license: + +(a) under intellectual property rights (other than patent or trademark) + Licensable by such Contributor to use, reproduce, make available, + modify, display, perform, distribute, and otherwise exploit its + Contributions, either on an unmodified basis, with Modifications, or + as part of a Larger Work; and + +(b) under Patent Claims of such Contributor to make, use, sell, offer + for sale, have made, import, and otherwise transfer either its + Contributions or its Contributor Version. + +2.2. Effective Date + +The licenses granted in Section 2.1 with respect to any Contribution +become effective for each Contribution on the date the Contributor first +distributes such Contribution. + +2.3. Limitations on Grant Scope + +The licenses granted in this Section 2 are the only rights granted under +this License. No additional rights or licenses will be implied from the +distribution or licensing of Covered Software under this License. +Notwithstanding Section 2.1(b) above, no patent license is granted by a +Contributor: + +(a) for any code that a Contributor has removed from Covered Software; + or + +(b) for infringements caused by: (i) Your and any other third party's + modifications of Covered Software, or (ii) the combination of its + Contributions with other software (except as part of its Contributor + Version); or + +(c) under Patent Claims infringed by Covered Software in the absence of + its Contributions. + +This License does not grant any rights in the trademarks, service marks, +or logos of any Contributor (except as may be necessary to comply with +the notice requirements in Section 3.4). + +2.4. Subsequent Licenses + +No Contributor makes additional grants as a result of Your choice to +distribute the Covered Software under a subsequent version of this +License (see Section 10.2) or under the terms of a Secondary License (if +permitted under the terms of Section 3.3). + +2.5. Representation + +Each Contributor represents that the Contributor believes its +Contributions are its original creation(s) or it has sufficient rights +to grant the rights to its Contributions conveyed by this License. + +2.6. Fair Use + +This License is not intended to limit any rights You have under +applicable copyright doctrines of fair use, fair dealing, or other +equivalents. + +2.7. Conditions + +Sections 3.1, 3.2, 3.3, and 3.4 are conditions of the licenses granted +in Section 2.1. + +3. Responsibilities +------------------- + +3.1. Distribution of Source Form + +All distribution of Covered Software in Source Code Form, including any +Modifications that You create or to which You contribute, must be under +the terms of this License. You must inform recipients that the Source +Code Form of the Covered Software is governed by the terms of this +License, and how they can obtain a copy of this License. You may not +attempt to alter or restrict the recipients' rights in the Source Code +Form. + +3.2. Distribution of Executable Form + +If You distribute Covered Software in Executable Form then: + +(a) such Covered Software must also be made available in Source Code + Form, as described in Section 3.1, and You must inform recipients of + the Executable Form how they can obtain a copy of such Source Code + Form by reasonable means in a timely manner, at a charge no more + than the cost of distribution to the recipient; and + +(b) You may distribute such Executable Form under the terms of this + License, or sublicense it under different terms, provided that the + license for the Executable Form does not attempt to limit or alter + the recipients' rights in the Source Code Form under this License. + +3.3. Distribution of a Larger Work + +You may create and distribute a Larger Work under terms of Your choice, +provided that You also comply with the requirements of this License for +the Covered Software. If the Larger Work is a combination of Covered +Software with a work governed by one or more Secondary Licenses, and the +Covered Software is not Incompatible With Secondary Licenses, this +License permits You to additionally distribute such Covered Software +under the terms of such Secondary License(s), so that the recipient of +the Larger Work may, at their option, further distribute the Covered +Software under the terms of either this License or such Secondary +License(s). + +3.4. Notices + +You may not remove or alter the substance of any license notices +(including copyright notices, patent notices, disclaimers of warranty, +or limitations of liability) contained within the Source Code Form of +the Covered Software, except that You may alter any license notices to +the extent required to remedy known factual inaccuracies. + +3.5. Application of Additional Terms + +You may choose to offer, and to charge a fee for, warranty, support, +indemnity or liability obligations to one or more recipients of Covered +Software. However, You may do so only on Your own behalf, and not on +behalf of any Contributor. You must make it absolutely clear that any +such warranty, support, indemnity, or liability obligation is offered by +You alone, and You hereby agree to indemnify every Contributor for any +liability incurred by such Contributor as a result of warranty, support, +indemnity or liability terms You offer. You may include additional +disclaimers of warranty and limitations of liability specific to any +jurisdiction. + +4. Inability to Comply Due to Statute or Regulation +--------------------------------------------------- + +If it is impossible for You to comply with any of the terms of this +License with respect to some or all of the Covered Software due to +statute, judicial order, or regulation then You must: (a) comply with +the terms of this License to the maximum extent possible; and (b) +describe the limitations and the code they affect. Such description must +be placed in a text file included with all distributions of the Covered +Software under this License. Except to the extent prohibited by statute +or regulation, such description must be sufficiently detailed for a +recipient of ordinary skill to be able to understand it. + +5. Termination +-------------- + +5.1. The rights granted under this License will terminate automatically +if You fail to comply with any of its terms. However, if You become +compliant, then the rights granted under this License from a particular +Contributor are reinstated (a) provisionally, unless and until such +Contributor explicitly and finally terminates Your grants, and (b) on an +ongoing basis, if such Contributor fails to notify You of the +non-compliance by some reasonable means prior to 60 days after You have +come back into compliance. Moreover, Your grants from a particular +Contributor are reinstated on an ongoing basis if such Contributor +notifies You of the non-compliance by some reasonable means, this is the +first time You have received notice of non-compliance with this License +from such Contributor, and You become compliant prior to 30 days after +Your receipt of the notice. + +5.2. If You initiate litigation against any entity by asserting a patent +infringement claim (excluding declaratory judgment actions, +counter-claims, and cross-claims) alleging that a Contributor Version +directly or indirectly infringes any patent, then the rights granted to +You by any and all Contributors for the Covered Software under Section +2.1 of this License shall terminate. + +5.3. In the event of termination under Sections 5.1 or 5.2 above, all +end user license agreements (excluding distributors and resellers) which +have been validly granted by You or Your distributors under this License +prior to termination shall survive termination. + +************************************************************************ +* * +* 6. Disclaimer of Warranty * +* ------------------------- * +* * +* Covered Software is provided under this License on an "as is" * +* basis, without warranty of any kind, either expressed, implied, or * +* statutory, including, without limitation, warranties that the * +* Covered Software is free of defects, merchantable, fit for a * +* particular purpose or non-infringing. The entire risk as to the * +* quality and performance of the Covered Software is with You. * +* Should any Covered Software prove defective in any respect, You * +* (not any Contributor) assume the cost of any necessary servicing, * +* repair, or correction. This disclaimer of warranty constitutes an * +* essential part of this License. No use of any Covered Software is * +* authorized under this License except under this disclaimer. * +* * +************************************************************************ + +************************************************************************ +* * +* 7. Limitation of Liability * +* -------------------------- * +* * +* Under no circumstances and under no legal theory, whether tort * +* (including negligence), contract, or otherwise, shall any * +* Contributor, or anyone who distributes Covered Software as * +* permitted above, be liable to You for any direct, indirect, * +* special, incidental, or consequential damages of any character * +* including, without limitation, damages for lost profits, loss of * +* goodwill, work stoppage, computer failure or malfunction, or any * +* and all other commercial damages or losses, even if such party * +* shall have been informed of the possibility of such damages. This * +* limitation of liability shall not apply to liability for death or * +* personal injury resulting from such party's negligence to the * +* extent applicable law prohibits such limitation. Some * +* jurisdictions do not allow the exclusion or limitation of * +* incidental or consequential damages, so this exclusion and * +* limitation may not apply to You. * +* * +************************************************************************ + +8. Litigation +------------- + +Any litigation relating to this License may be brought only in the +courts of a jurisdiction where the defendant maintains its principal +place of business and such litigation shall be governed by laws of that +jurisdiction, without reference to its conflict-of-law provisions. +Nothing in this Section shall prevent a party's ability to bring +cross-claims or counter-claims. + +9. Miscellaneous +---------------- + +This License represents the complete agreement concerning the subject +matter hereof. If any provision of this License is held to be +unenforceable, such provision shall be reformed only to the extent +necessary to make it enforceable. Any law or regulation which provides +that the language of a contract shall be construed against the drafter +shall not be used to construe this License against a Contributor. + +10. Versions of the License +--------------------------- + +10.1. New Versions + +Mozilla Foundation is the license steward. Except as provided in Section +10.3, no one other than the license steward has the right to modify or +publish new versions of this License. Each version will be given a +distinguishing version number. + +10.2. Effect of New Versions + +You may distribute the Covered Software under the terms of the version +of the License under which You originally received the Covered Software, +or under the terms of any subsequent version published by the license +steward. + +10.3. Modified Versions + +If you create software not governed by this License, and you want to +create a new license for such software, you may create and use a +modified version of this License if you rename the license and remove +any references to the name of the license steward (except to note that +such modified license differs from this License). + +10.4. Distributing Source Code Form that is Incompatible With Secondary +Licenses + +If You choose to distribute Source Code Form that is Incompatible With +Secondary Licenses under the terms of this version of the License, the +notice described in Exhibit B of this License must be attached. + +Exhibit A - Source Code Form License Notice +------------------------------------------- + + 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 https://mozilla.org/MPL/2.0/. + +If it is not possible or desirable to put the notice in a particular +file, then You may include the notice in a location (such as a LICENSE +file in a relevant directory) where a recipient would be likely to look +for such a notice. + +You may add additional accurate notices of copyright ownership. + +Exhibit B - "Incompatible With Secondary Licenses" Notice +--------------------------------------------------------- + + This Source Code Form is "Incompatible With Secondary Licenses", as + defined by the Mozilla Public License, v. 2.0. \ No newline at end of file diff --git a/app/components/AccessNameCell.tsx b/app/components/AccessNameCell.tsx index 2509f882d..a2bb12b0c 100644 --- a/app/components/AccessNameCell.tsx +++ b/app/components/AccessNameCell.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { CellContext } from '@tanstack/react-table' import type { IdentityType } from '@oxide/api' diff --git a/app/components/AttachAddon.ts b/app/components/AttachAddon.ts index beb58fd52..3b6af0430 100644 --- a/app/components/AttachAddon.ts +++ b/app/components/AttachAddon.ts @@ -1,3 +1,11 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ + /** * Copyright (c) 2014, 2019 The xterm.js authors. All rights reserved. * @license MIT diff --git a/app/components/CapacityMetric.tsx b/app/components/CapacityMetric.tsx index 3a9457d93..223ec3826 100644 --- a/app/components/CapacityMetric.tsx +++ b/app/components/CapacityMetric.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { useMemo } from 'react' import type { SystemMetricName } from '@oxide/api' diff --git a/app/components/ConfirmDeleteModal.tsx b/app/components/ConfirmDeleteModal.tsx index bc981955e..5a5fa5160 100644 --- a/app/components/ConfirmDeleteModal.tsx +++ b/app/components/ConfirmDeleteModal.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { Message, Modal } from '@oxide/ui' import { classed } from '@oxide/util' diff --git a/app/components/EquivalentCliCommand.tsx b/app/components/EquivalentCliCommand.tsx index 451a242fe..9c1157d02 100644 --- a/app/components/EquivalentCliCommand.tsx +++ b/app/components/EquivalentCliCommand.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { useState } from 'react' import { Button, Modal, Success12Icon, useTimeout } from '@oxide/ui' diff --git a/app/components/ErrorBoundary.tsx b/app/components/ErrorBoundary.tsx index 2e9a06df0..8ecab5f1b 100644 --- a/app/components/ErrorBoundary.tsx +++ b/app/components/ErrorBoundary.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { ErrorBoundary as BaseErrorBoundary } from 'react-error-boundary' import { useRouteError } from 'react-router-dom' diff --git a/app/components/MoreActionsMenu.tsx b/app/components/MoreActionsMenu.tsx index d4b2afb51..ead662605 100644 --- a/app/components/MoreActionsMenu.tsx +++ b/app/components/MoreActionsMenu.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { MenuAction } from '@oxide/table' import { DropdownMenu, More12Icon, Tooltip, Wrap } from '@oxide/ui' diff --git a/app/components/MswWarning.tsx b/app/components/MswWarning.tsx index 976dac7e7..a88f9fb8a 100644 --- a/app/components/MswWarning.tsx +++ b/app/components/MswWarning.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { type ReactNode, useState } from 'react' import { Button, Info16Icon, Modal, NextArrow12Icon } from '@oxide/ui' diff --git a/app/components/NoLicense2.tsx b/app/components/NoLicense2.tsx new file mode 100644 index 000000000..8a0a07b77 --- /dev/null +++ b/app/components/NoLicense2.tsx @@ -0,0 +1,11 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ + +export function NoLicenseHere() { + return null +} diff --git a/app/components/OxideLogo.tsx b/app/components/OxideLogo.tsx index f3a2c7b63..1216f3f1a 100644 --- a/app/components/OxideLogo.tsx +++ b/app/components/OxideLogo.tsx @@ -1,3 +1,11 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ + export const OxideLogo = ({ className = '' }) => { return ( ( diff --git a/app/components/TimeSeriesChart.tsx b/app/components/TimeSeriesChart.tsx index 61ea91b98..5843adbf8 100644 --- a/app/components/TimeSeriesChart.tsx +++ b/app/components/TimeSeriesChart.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import cn from 'classnames' import { format } from 'date-fns' import { useMemo } from 'react' diff --git a/app/components/ToastStack.tsx b/app/components/ToastStack.tsx index e46df0ee9..7ce198abd 100644 --- a/app/components/ToastStack.tsx +++ b/app/components/ToastStack.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { animated, useTransition } from '@react-spring/web' import { Toast } from '@oxide/ui' diff --git a/app/components/TopBar.tsx b/app/components/TopBar.tsx index e7913080e..81b6eaf1d 100644 --- a/app/components/TopBar.tsx +++ b/app/components/TopBar.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import React from 'react' import { useNavigate } from 'react-router-dom' diff --git a/app/components/TopBarPicker.tsx b/app/components/TopBarPicker.tsx index af79e1b32..6d9ddbc55 100644 --- a/app/components/TopBarPicker.tsx +++ b/app/components/TopBarPicker.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import cn from 'classnames' import { Link } from 'react-router-dom' import invariant from 'tiny-invariant' diff --git a/app/components/form/Form.tsx b/app/components/form/Form.tsx index 59e2eba1b..9244ebe31 100644 --- a/app/components/form/Form.tsx +++ b/app/components/form/Form.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import cn from 'classnames' import { cloneElement } from 'react' import invariant from 'tiny-invariant' diff --git a/app/components/form/FullPageForm.tsx b/app/components/form/FullPageForm.tsx index 0fdb96b30..2448b9104 100644 --- a/app/components/form/FullPageForm.tsx +++ b/app/components/form/FullPageForm.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { ReactElement, ReactNode } from 'react' import { cloneElement, useEffect } from 'react' import type { FieldValues, UseFormReturn } from 'react-hook-form' diff --git a/app/components/form/SideModalForm.tsx b/app/components/form/SideModalForm.tsx index 22091946d..87d359516 100644 --- a/app/components/form/SideModalForm.tsx +++ b/app/components/form/SideModalForm.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { ReactNode } from 'react' import { useEffect } from 'react' import type { FieldValues, UseFormReturn } from 'react-hook-form' diff --git a/app/components/form/fields/CheckboxField.tsx b/app/components/form/fields/CheckboxField.tsx index ea563cdcc..ccb31b510 100644 --- a/app/components/form/fields/CheckboxField.tsx +++ b/app/components/form/fields/CheckboxField.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { Control, FieldPath, FieldValues } from 'react-hook-form' import { Controller } from 'react-hook-form' diff --git a/app/components/form/fields/DateTimeRangePicker.spec.tsx b/app/components/form/fields/DateTimeRangePicker.spec.tsx index 554ac0428..600db3d63 100644 --- a/app/components/form/fields/DateTimeRangePicker.spec.tsx +++ b/app/components/form/fields/DateTimeRangePicker.spec.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { getLocalTimeZone, now as getNow } from '@internationalized/date' import { fireEvent, render, screen } from '@testing-library/react' import { beforeAll, describe, expect, it, vi } from 'vitest' diff --git a/app/components/form/fields/DateTimeRangePicker.tsx b/app/components/form/fields/DateTimeRangePicker.tsx index 646f2fc90..30154e4a6 100644 --- a/app/components/form/fields/DateTimeRangePicker.tsx +++ b/app/components/form/fields/DateTimeRangePicker.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { DateValue } from '@internationalized/date' import { getLocalTimeZone, now as getNow } from '@internationalized/date' import { useMemo, useState } from 'react' diff --git a/app/components/form/fields/DescriptionField.tsx b/app/components/form/fields/DescriptionField.tsx index a888e0d5a..03f2408ff 100644 --- a/app/components/form/fields/DescriptionField.tsx +++ b/app/components/form/fields/DescriptionField.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { FieldPath, FieldValues } from 'react-hook-form' import type { TextFieldProps } from './TextField' diff --git a/app/components/form/fields/DiskSizeField.tsx b/app/components/form/fields/DiskSizeField.tsx index 4462c9302..998232657 100644 --- a/app/components/form/fields/DiskSizeField.tsx +++ b/app/components/form/fields/DiskSizeField.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { FieldPath, FieldValues } from 'react-hook-form' import { MAX_DISK_SIZE_GiB } from '@oxide/api' diff --git a/app/components/form/fields/DisksTableField.tsx b/app/components/form/fields/DisksTableField.tsx index 6ea748e42..c5acc865c 100644 --- a/app/components/form/fields/DisksTableField.tsx +++ b/app/components/form/fields/DisksTableField.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { useState } from 'react' import type { Control } from 'react-hook-form' import { useController } from 'react-hook-form' diff --git a/app/components/form/fields/ErrorMessage.tsx b/app/components/form/fields/ErrorMessage.tsx index 43152448e..ed07f0d0c 100644 --- a/app/components/form/fields/ErrorMessage.tsx +++ b/app/components/form/fields/ErrorMessage.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { FieldError } from 'react-hook-form' import { TextInputError } from '@oxide/ui' diff --git a/app/components/form/fields/FileField.tsx b/app/components/form/fields/FileField.tsx index 6c21a9ea8..11be1de8f 100644 --- a/app/components/form/fields/FileField.tsx +++ b/app/components/form/fields/FileField.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { Control, FieldPath, FieldValues } from 'react-hook-form' import { Controller } from 'react-hook-form' diff --git a/app/components/form/fields/ImageSelectField.tsx b/app/components/form/fields/ImageSelectField.tsx index d67c8dce1..266515d11 100644 --- a/app/components/form/fields/ImageSelectField.tsx +++ b/app/components/form/fields/ImageSelectField.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { Control } from 'react-hook-form' import { useController } from 'react-hook-form' diff --git a/app/components/form/fields/ListboxField.tsx b/app/components/form/fields/ListboxField.tsx index 56de0b193..f6eb9453d 100644 --- a/app/components/form/fields/ListboxField.tsx +++ b/app/components/form/fields/ListboxField.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import cn from 'classnames' import type { Control, FieldPath, FieldValues } from 'react-hook-form' import { Controller } from 'react-hook-form' diff --git a/app/components/form/fields/NameField.spec.tsx b/app/components/form/fields/NameField.spec.tsx index dc95e5805..a81a65ff2 100644 --- a/app/components/form/fields/NameField.spec.tsx +++ b/app/components/form/fields/NameField.spec.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { describe, expect, it } from 'vitest' import { validateName } from './NameField' diff --git a/app/components/form/fields/NameField.tsx b/app/components/form/fields/NameField.tsx index 3302c792a..19233874c 100644 --- a/app/components/form/fields/NameField.tsx +++ b/app/components/form/fields/NameField.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { FieldPath, FieldValues } from 'react-hook-form' import { capitalize } from '@oxide/util' diff --git a/app/components/form/fields/NetworkInterfaceField.tsx b/app/components/form/fields/NetworkInterfaceField.tsx index dcd8e729d..aa8d90eba 100644 --- a/app/components/form/fields/NetworkInterfaceField.tsx +++ b/app/components/form/fields/NetworkInterfaceField.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { useState } from 'react' import type { Control } from 'react-hook-form' import { useController } from 'react-hook-form' diff --git a/app/components/form/fields/RadioField.tsx b/app/components/form/fields/RadioField.tsx index 955203adf..41ae292e4 100644 --- a/app/components/form/fields/RadioField.tsx +++ b/app/components/form/fields/RadioField.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import cn from 'classnames' import React, { useId } from 'react' import type { Control, FieldPath, FieldValues, PathValue } from 'react-hook-form' diff --git a/app/components/form/fields/SubnetListbox.tsx b/app/components/form/fields/SubnetListbox.tsx index a138ac97f..c19f01336 100644 --- a/app/components/form/fields/SubnetListbox.tsx +++ b/app/components/form/fields/SubnetListbox.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { FieldPath, FieldValues } from 'react-hook-form' import { useWatch } from 'react-hook-form' diff --git a/app/components/form/fields/TextField.tsx b/app/components/form/fields/TextField.tsx index a53336cdb..54c4eba16 100644 --- a/app/components/form/fields/TextField.tsx +++ b/app/components/form/fields/TextField.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import cn from 'classnames' import { useId } from 'react' import type { diff --git a/app/components/form/fields/index.ts b/app/components/form/fields/index.ts index 789677a8e..3550d6b55 100644 --- a/app/components/form/fields/index.ts +++ b/app/components/form/fields/index.ts @@ -1,2 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ + export * from './DateTimeRangePicker' export * from './FileField' diff --git a/app/components/form/form.css b/app/components/form/form.css index bc3028639..e3143fd84 100644 --- a/app/components/form/form.css +++ b/app/components/form/form.css @@ -1,3 +1,11 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ + .ox-form .ox-divider { width: calc(100% + var(--content-gutter) * 2); margin-left: calc(var(--content-gutter) * -1); diff --git a/app/components/form/index.ts b/app/components/form/index.ts index 49ba4834c..1d90ac395 100644 --- a/app/components/form/index.ts +++ b/app/components/form/index.ts @@ -1,3 +1,11 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ + export * from './Form' export * from './FullPageForm' export * from './SideModalForm' diff --git a/app/components/login-page.css b/app/components/login-page.css index 002bfcc73..60b05b324 100644 --- a/app/components/login-page.css +++ b/app/components/login-page.css @@ -1,3 +1,11 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ + .hero-rack { @apply absolute left-[calc(50%+40px)] top-[15%] h-[115%] max-h-[1080px] -translate-x-1/2 object-contain md:-mr-10; } diff --git a/app/forms/access-util.tsx b/app/forms/access-util.tsx index add6f8196..4c2581d13 100644 --- a/app/forms/access-util.tsx +++ b/app/forms/access-util.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { Actor, IdentityType, Policy, RoleKey } from '@oxide/api' import { allRoles } from '@oxide/api' import type { ListboxItem } from '@oxide/ui' diff --git a/app/forms/all-zeros.spec.ts b/app/forms/all-zeros.spec.ts index e46a099a4..0ffb36182 100644 --- a/app/forms/all-zeros.spec.ts +++ b/app/forms/all-zeros.spec.ts @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { expect, test } from 'vitest' import { isAllZeros } from './image-upload' diff --git a/app/forms/disk-attach.tsx b/app/forms/disk-attach.tsx index c48c92146..8ce9e2d39 100644 --- a/app/forms/disk-attach.tsx +++ b/app/forms/disk-attach.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { useForm } from 'react-hook-form' import type { ApiError } from '@oxide/api' diff --git a/app/forms/disk-create.tsx b/app/forms/disk-create.tsx index ce7a161ab..d0c32ea81 100644 --- a/app/forms/disk-create.tsx +++ b/app/forms/disk-create.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { format } from 'date-fns' import type { Control } from 'react-hook-form' import { useForm } from 'react-hook-form' diff --git a/app/forms/firewall-rules-create.tsx b/app/forms/firewall-rules-create.tsx index cb704ff88..74d9278cf 100644 --- a/app/forms/firewall-rules-create.tsx +++ b/app/forms/firewall-rules-create.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { Control } from 'react-hook-form' import { useForm } from 'react-hook-form' import { useController } from 'react-hook-form' diff --git a/app/forms/firewall-rules-edit.tsx b/app/forms/firewall-rules-edit.tsx index 32e0d5bd6..42f03fdff 100644 --- a/app/forms/firewall-rules-edit.tsx +++ b/app/forms/firewall-rules-edit.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { useForm } from 'react-hook-form' import type { VpcFirewallRule } from '@oxide/api' diff --git a/app/forms/idp/create.tsx b/app/forms/idp/create.tsx index 3c8b674fc..20e94acaa 100644 --- a/app/forms/idp/create.tsx +++ b/app/forms/idp/create.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { useForm } from 'react-hook-form' import { useNavigate } from 'react-router-dom' diff --git a/app/forms/idp/edit.tsx b/app/forms/idp/edit.tsx index 39f6e3e16..04f51165a 100644 --- a/app/forms/idp/edit.tsx +++ b/app/forms/idp/edit.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { useForm } from 'react-hook-form' import type { LoaderFunctionArgs } from 'react-router-dom' import { useNavigate } from 'react-router-dom' diff --git a/app/forms/idp/shared.tsx b/app/forms/idp/shared.tsx index a4ccfda1a..ad1e3ea24 100644 --- a/app/forms/idp/shared.tsx +++ b/app/forms/idp/shared.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { type Control, useController } from 'react-hook-form' import type { Merge } from 'type-fest' diff --git a/app/forms/image-edit.tsx b/app/forms/image-edit.tsx index 7ef57c37a..9250e5f02 100644 --- a/app/forms/image-edit.tsx +++ b/app/forms/image-edit.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { useForm } from 'react-hook-form' import type { LoaderFunctionArgs } from 'react-router-dom' import { useNavigate } from 'react-router-dom' diff --git a/app/forms/image-from-snapshot.tsx b/app/forms/image-from-snapshot.tsx index cfba503d1..11d77fa93 100644 --- a/app/forms/image-from-snapshot.tsx +++ b/app/forms/image-from-snapshot.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import fileSize from 'filesize' import { useForm } from 'react-hook-form' import type { LoaderFunctionArgs } from 'react-router-dom' diff --git a/app/forms/image-upload.tsx b/app/forms/image-upload.tsx index 714798e11..232d2a8d8 100644 --- a/app/forms/image-upload.tsx +++ b/app/forms/image-upload.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import cn from 'classnames' import filesize from 'filesize' import pMap from 'p-map' diff --git a/app/forms/instance-create.tsx b/app/forms/instance-create.tsx index ed1c68665..7d211cedd 100644 --- a/app/forms/instance-create.tsx +++ b/app/forms/instance-create.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { useForm, useWatch } from 'react-hook-form' import type { LoaderFunctionArgs } from 'react-router-dom' import { useNavigate } from 'react-router-dom' diff --git a/app/forms/network-interface-create.tsx b/app/forms/network-interface-create.tsx index ead292116..5ad5dbf80 100644 --- a/app/forms/network-interface-create.tsx +++ b/app/forms/network-interface-create.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { useMemo } from 'react' import { useForm } from 'react-hook-form' diff --git a/app/forms/network-interface-edit.tsx b/app/forms/network-interface-edit.tsx index 3ba4adcc9..fc095fc07 100644 --- a/app/forms/network-interface-edit.tsx +++ b/app/forms/network-interface-edit.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { useForm } from 'react-hook-form' import type { InstanceNetworkInterface } from '@oxide/api' diff --git a/app/forms/project-access.tsx b/app/forms/project-access.tsx index 2ede34e3c..63740e71b 100644 --- a/app/forms/project-access.tsx +++ b/app/forms/project-access.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { useForm } from 'react-hook-form' import { diff --git a/app/forms/project-create.tsx b/app/forms/project-create.tsx index 2ea5907be..8cdb84aad 100644 --- a/app/forms/project-create.tsx +++ b/app/forms/project-create.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { useForm } from 'react-hook-form' import { useNavigate } from 'react-router-dom' diff --git a/app/forms/project-edit.tsx b/app/forms/project-edit.tsx index 0c0768f50..260868a25 100644 --- a/app/forms/project-edit.tsx +++ b/app/forms/project-edit.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { useForm } from 'react-hook-form' import type { LoaderFunctionArgs } from 'react-router-dom' import { useNavigate } from 'react-router-dom' diff --git a/app/forms/silo-access.tsx b/app/forms/silo-access.tsx index 05c30fca6..a4cd65880 100644 --- a/app/forms/silo-access.tsx +++ b/app/forms/silo-access.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { useForm } from 'react-hook-form' import { diff --git a/app/forms/silo-create.tsx b/app/forms/silo-create.tsx index 074f6e00e..a22898edc 100644 --- a/app/forms/silo-create.tsx +++ b/app/forms/silo-create.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { useForm } from 'react-hook-form' import { useNavigate } from 'react-router-dom' diff --git a/app/forms/snapshot-create.tsx b/app/forms/snapshot-create.tsx index ea134f973..2a983e8c4 100644 --- a/app/forms/snapshot-create.tsx +++ b/app/forms/snapshot-create.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { useForm } from 'react-hook-form' import { useNavigate } from 'react-router-dom' diff --git a/app/forms/ssh-key-create.tsx b/app/forms/ssh-key-create.tsx index b9d76df7f..2e40f76e4 100644 --- a/app/forms/ssh-key-create.tsx +++ b/app/forms/ssh-key-create.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { useForm } from 'react-hook-form' import { useNavigate } from 'react-router-dom' diff --git a/app/forms/subnet-create.tsx b/app/forms/subnet-create.tsx index 203c11076..32544c370 100644 --- a/app/forms/subnet-create.tsx +++ b/app/forms/subnet-create.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { useForm } from 'react-hook-form' import type { VpcSubnetCreate } from '@oxide/api' diff --git a/app/forms/subnet-edit.tsx b/app/forms/subnet-edit.tsx index 867dcaacb..9f7d45778 100644 --- a/app/forms/subnet-edit.tsx +++ b/app/forms/subnet-edit.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { useForm } from 'react-hook-form' import type { VpcSubnet } from '@oxide/api' diff --git a/app/forms/vpc-create.tsx b/app/forms/vpc-create.tsx index 019a25a61..e89cdba50 100644 --- a/app/forms/vpc-create.tsx +++ b/app/forms/vpc-create.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { useForm } from 'react-hook-form' import { useNavigate } from 'react-router-dom' diff --git a/app/forms/vpc-edit.tsx b/app/forms/vpc-edit.tsx index 51c510da3..9a32d1729 100644 --- a/app/forms/vpc-edit.tsx +++ b/app/forms/vpc-edit.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { useForm } from 'react-hook-form' import type { LoaderFunctionArgs } from 'react-router-dom' import { useNavigate } from 'react-router-dom' diff --git a/app/forms/vpc-router-create.tsx b/app/forms/vpc-router-create.tsx index 775e61705..ac5aa29fe 100644 --- a/app/forms/vpc-router-create.tsx +++ b/app/forms/vpc-router-create.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { useForm } from 'react-hook-form' import type { VpcRouterCreate } from '@oxide/api' diff --git a/app/forms/vpc-router-edit.tsx b/app/forms/vpc-router-edit.tsx index e541d6415..3961f0c4d 100644 --- a/app/forms/vpc-router-edit.tsx +++ b/app/forms/vpc-router-edit.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { useForm } from 'react-hook-form' import type { VpcRouter } from '@oxide/api' diff --git a/app/hooks/index.ts b/app/hooks/index.ts index b9be9d0db..ae0af3e2d 100644 --- a/app/hooks/index.ts +++ b/app/hooks/index.ts @@ -1,3 +1,11 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ + export * from './use-quick-actions' export * from './use-key' export * from './use-params' diff --git a/app/hooks/use-crumbs.tsx b/app/hooks/use-crumbs.tsx index fd6017148..4e0b6c1cc 100644 --- a/app/hooks/use-crumbs.tsx +++ b/app/hooks/use-crumbs.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { useMatches } from 'react-router-dom' import invariant from 'tiny-invariant' import type { Spread } from 'type-fest' diff --git a/app/hooks/use-is-active-path.ts b/app/hooks/use-is-active-path.ts index 34380fb52..6a9401063 100644 --- a/app/hooks/use-is-active-path.ts +++ b/app/hooks/use-is-active-path.ts @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { useLocation, useResolvedPath } from 'react-router-dom' interface ActivePathOptions { diff --git a/app/hooks/use-is-overflow.ts b/app/hooks/use-is-overflow.ts index b497d383c..fd334b34b 100644 --- a/app/hooks/use-is-overflow.ts +++ b/app/hooks/use-is-overflow.ts @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import throttle from 'lodash.throttle' import type { MutableRefObject } from 'react' import { useLayoutEffect, useState } from 'react' diff --git a/app/hooks/use-key.ts b/app/hooks/use-key.ts index 98cbcc1ce..70035a0ed 100644 --- a/app/hooks/use-key.ts +++ b/app/hooks/use-key.ts @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import Mousetrap from 'mousetrap' import { useEffect } from 'react' diff --git a/app/hooks/use-params.ts b/app/hooks/use-params.ts index 5d6244f72..f81024669 100644 --- a/app/hooks/use-params.ts +++ b/app/hooks/use-params.ts @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { hashQueryKey } from '@tanstack/react-query' import { useMemo } from 'react' import type { Params } from 'react-router-dom' diff --git a/app/hooks/use-quick-actions.tsx b/app/hooks/use-quick-actions.tsx index 43bbbda55..f38cd0f24 100644 --- a/app/hooks/use-quick-actions.tsx +++ b/app/hooks/use-quick-actions.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { useEffect } from 'react' import { useCallback, useState } from 'react' import invariant from 'tiny-invariant' diff --git a/app/hooks/use-reduce-motion.tsx b/app/hooks/use-reduce-motion.tsx index b9551a933..e5db38986 100644 --- a/app/hooks/use-reduce-motion.tsx +++ b/app/hooks/use-reduce-motion.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { Globals } from '@react-spring/web' import { useEffect, useState } from 'react' diff --git a/app/hooks/use-scroll-restoration.ts b/app/hooks/use-scroll-restoration.ts index c6dafb1ed..32819302d 100644 --- a/app/hooks/use-scroll-restoration.ts +++ b/app/hooks/use-scroll-restoration.ts @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { useEffect } from 'react' import { useLocation, useNavigation } from 'react-router-dom' diff --git a/app/hooks/use-toast.ts b/app/hooks/use-toast.ts index ddb14a0e9..9c93bfa65 100644 --- a/app/hooks/use-toast.ts +++ b/app/hooks/use-toast.ts @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { useToastStore } from 'app/stores/toast' export const useToast = () => useToastStore(({ add }) => add) diff --git a/app/layouts/AuthLayout.tsx b/app/layouts/AuthLayout.tsx index 7860d6e61..9c8ffd967 100644 --- a/app/layouts/AuthLayout.tsx +++ b/app/layouts/AuthLayout.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { Outlet } from 'react-router-dom' import { OxideLogo } from 'app/components/OxideLogo' diff --git a/app/layouts/LoginLayout.tsx b/app/layouts/LoginLayout.tsx index 85d5c320c..53f7429ef 100644 --- a/app/layouts/LoginLayout.tsx +++ b/app/layouts/LoginLayout.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { Outlet } from 'react-router-dom' import heroRackImg from 'app/assets/oxide-hero-rack.webp' diff --git a/app/layouts/ProjectLayout.tsx b/app/layouts/ProjectLayout.tsx index cbfadadac..ab3fd729a 100644 --- a/app/layouts/ProjectLayout.tsx +++ b/app/layouts/ProjectLayout.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { ReactElement } from 'react' import { useMemo } from 'react' import type { LoaderFunctionArgs } from 'react-router-dom' diff --git a/app/layouts/RootLayout.tsx b/app/layouts/RootLayout.tsx index 79ce6bf02..abb98caa5 100644 --- a/app/layouts/RootLayout.tsx +++ b/app/layouts/RootLayout.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { useEffect, useRef } from 'react' import { Outlet, useNavigation } from 'react-router-dom' diff --git a/app/layouts/SettingsLayout.tsx b/app/layouts/SettingsLayout.tsx index c0533b817..40e6101f9 100644 --- a/app/layouts/SettingsLayout.tsx +++ b/app/layouts/SettingsLayout.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { useMemo } from 'react' import { matchPath, useLocation, useNavigate } from 'react-router-dom' diff --git a/app/layouts/SiloLayout.tsx b/app/layouts/SiloLayout.tsx index d386745e6..1781bbd20 100644 --- a/app/layouts/SiloLayout.tsx +++ b/app/layouts/SiloLayout.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { Access16Icon, Divider, diff --git a/app/layouts/SystemLayout.tsx b/app/layouts/SystemLayout.tsx index 6a84a0bd0..90bc7ca4c 100644 --- a/app/layouts/SystemLayout.tsx +++ b/app/layouts/SystemLayout.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { useParams } from 'react-router-dom' import { apiQueryClient } from '@oxide/api' diff --git a/app/layouts/helpers.tsx b/app/layouts/helpers.tsx index d40a510e6..a7f8e1b13 100644 --- a/app/layouts/helpers.tsx +++ b/app/layouts/helpers.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { useRef } from 'react' import { Outlet } from 'react-router-dom' diff --git a/app/main.tsx b/app/main.tsx index 6daa02e61..a5c5eb11e 100644 --- a/app/main.tsx +++ b/app/main.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { QueryClientProvider } from '@tanstack/react-query' // import { ReactQueryDevtools } from '@tanstack/react-query-devtools' import { StrictMode } from 'react' diff --git a/app/msw-mock-api.ts b/app/msw-mock-api.ts index 8593ea8ba..989a197b8 100644 --- a/app/msw-mock-api.ts +++ b/app/msw-mock-api.ts @@ -1,3 +1,11 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ + function getChaos() { const chaos = parseFloat(process.env.CHAOS || '') return Number.isNaN(chaos) ? null : chaos diff --git a/app/pages/DeviceAuthSuccessPage.tsx b/app/pages/DeviceAuthSuccessPage.tsx index 39d37e723..3c970d753 100644 --- a/app/pages/DeviceAuthSuccessPage.tsx +++ b/app/pages/DeviceAuthSuccessPage.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { Success12Icon } from '@oxide/ui' /** diff --git a/app/pages/DeviceAuthVerifyPage.tsx b/app/pages/DeviceAuthVerifyPage.tsx index 2d063083c..3a6c15605 100644 --- a/app/pages/DeviceAuthVerifyPage.tsx +++ b/app/pages/DeviceAuthVerifyPage.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { useState } from 'react' import { useNavigate } from 'react-router-dom' diff --git a/app/pages/LoginPage.tsx b/app/pages/LoginPage.tsx index 359967b89..57b6b3249 100644 --- a/app/pages/LoginPage.tsx +++ b/app/pages/LoginPage.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { useEffect } from 'react' import { useForm } from 'react-hook-form' import { useNavigate, useSearchParams } from 'react-router-dom' diff --git a/app/pages/LoginPageSaml.tsx b/app/pages/LoginPageSaml.tsx index e73403737..f75be1d18 100644 --- a/app/pages/LoginPageSaml.tsx +++ b/app/pages/LoginPageSaml.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import cn from 'classnames' import { useSearchParams } from 'react-router-dom' diff --git a/app/pages/NotFound.tsx b/app/pages/NotFound.tsx index 679431ddd..01782249b 100644 --- a/app/pages/NotFound.tsx +++ b/app/pages/NotFound.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { Link } from 'react-router-dom' import { Error12Icon, PrevArrow12Icon } from '@oxide/ui' diff --git a/app/pages/ProjectsPage.tsx b/app/pages/ProjectsPage.tsx index 262fb7055..0085c1d52 100644 --- a/app/pages/ProjectsPage.tsx +++ b/app/pages/ProjectsPage.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { useMemo } from 'react' import { Outlet } from 'react-router-dom' import { Link, useNavigate } from 'react-router-dom' diff --git a/app/pages/SiloAccessPage.tsx b/app/pages/SiloAccessPage.tsx index c4f1b1666..7d5ff0544 100644 --- a/app/pages/SiloAccessPage.tsx +++ b/app/pages/SiloAccessPage.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { useMemo, useState } from 'react' import invariant from 'tiny-invariant' diff --git a/app/pages/SiloUtilizationPage.tsx b/app/pages/SiloUtilizationPage.tsx index de7168cc2..46d74e8ee 100644 --- a/app/pages/SiloUtilizationPage.tsx +++ b/app/pages/SiloUtilizationPage.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { getLocalTimeZone, now } from '@internationalized/date' import { useIsFetching } from '@tanstack/react-query' import { useMemo, useState } from 'react' diff --git a/app/pages/add-dashes.spec.ts b/app/pages/add-dashes.spec.ts index 68b29193c..ca261fd87 100644 --- a/app/pages/add-dashes.spec.ts +++ b/app/pages/add-dashes.spec.ts @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { expect, test } from 'vitest' import { addDashes } from './DeviceAuthVerifyPage' diff --git a/app/pages/project/access/ProjectAccessPage.tsx b/app/pages/project/access/ProjectAccessPage.tsx index bfb5fa37d..8dd35985c 100644 --- a/app/pages/project/access/ProjectAccessPage.tsx +++ b/app/pages/project/access/ProjectAccessPage.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import '@tanstack/react-table' import { useMemo, useState } from 'react' import type { LoaderFunctionArgs } from 'react-router-dom' diff --git a/app/pages/project/access/index.ts b/app/pages/project/access/index.ts index ae7b26810..5c9e50d66 100644 --- a/app/pages/project/access/index.ts +++ b/app/pages/project/access/index.ts @@ -1 +1,9 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ + export * from './ProjectAccessPage' diff --git a/app/pages/project/disks/DisksPage.tsx b/app/pages/project/disks/DisksPage.tsx index f2ca4d5ce..3fb04e8e1 100644 --- a/app/pages/project/disks/DisksPage.tsx +++ b/app/pages/project/disks/DisksPage.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { LoaderFunctionArgs } from 'react-router-dom' import { Outlet } from 'react-router-dom' import { Link } from 'react-router-dom' diff --git a/app/pages/project/disks/index.ts b/app/pages/project/disks/index.ts index 14facf2d9..62c431e4e 100644 --- a/app/pages/project/disks/index.ts +++ b/app/pages/project/disks/index.ts @@ -1 +1,9 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ + export * from './DisksPage' diff --git a/app/pages/project/images/ImagesPage.tsx b/app/pages/project/images/ImagesPage.tsx index a051c1b6f..02332f94c 100644 --- a/app/pages/project/images/ImagesPage.tsx +++ b/app/pages/project/images/ImagesPage.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { useState } from 'react' import type { LoaderFunctionArgs } from 'react-router-dom' import { Outlet } from 'react-router-dom' diff --git a/app/pages/project/images/index.ts b/app/pages/project/images/index.ts index 5e8a3202f..ababf8b74 100644 --- a/app/pages/project/images/index.ts +++ b/app/pages/project/images/index.ts @@ -1 +1,9 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ + export * from './ImagesPage' diff --git a/app/pages/project/index.tsx b/app/pages/project/index.tsx index c194741b6..1a77061b6 100644 --- a/app/pages/project/index.tsx +++ b/app/pages/project/index.tsx @@ -1,3 +1,11 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ + export * from './access' export * from './disks' export * from './images' diff --git a/app/pages/project/instances/InstancesPage.tsx b/app/pages/project/instances/InstancesPage.tsx index 017af5363..80e00f1db 100644 --- a/app/pages/project/instances/InstancesPage.tsx +++ b/app/pages/project/instances/InstancesPage.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { useMemo } from 'react' import type { LoaderFunctionArgs } from 'react-router-dom' import { Link, useNavigate } from 'react-router-dom' diff --git a/app/pages/project/instances/actions.tsx b/app/pages/project/instances/actions.tsx index 6a49c717d..20ba65014 100644 --- a/app/pages/project/instances/actions.tsx +++ b/app/pages/project/instances/actions.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { useCallback } from 'react' import { useNavigate } from 'react-router-dom' diff --git a/app/pages/project/instances/index.tsx b/app/pages/project/instances/index.tsx index 96dc1aabc..16167e0e5 100644 --- a/app/pages/project/instances/index.tsx +++ b/app/pages/project/instances/index.tsx @@ -1,2 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ + export * from './instance/InstancePage' export * from './InstancesPage' diff --git a/app/pages/project/instances/instance/InstancePage.tsx b/app/pages/project/instances/instance/InstancePage.tsx index f7ac692f9..fe6efb579 100644 --- a/app/pages/project/instances/instance/InstancePage.tsx +++ b/app/pages/project/instances/instance/InstancePage.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { format } from 'date-fns' import filesize from 'filesize' import { useMemo } from 'react' diff --git a/app/pages/project/instances/instance/SerialConsolePage.tsx b/app/pages/project/instances/instance/SerialConsolePage.tsx index 428eea1a9..6b31bc16a 100644 --- a/app/pages/project/instances/instance/SerialConsolePage.tsx +++ b/app/pages/project/instances/instance/SerialConsolePage.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { Suspense, lazy, useEffect, useRef, useState } from 'react' import { Link } from 'react-router-dom' diff --git a/app/pages/project/instances/instance/index.ts b/app/pages/project/instances/instance/index.ts index 0716d1025..dde21f326 100644 --- a/app/pages/project/instances/instance/index.ts +++ b/app/pages/project/instances/instance/index.ts @@ -1 +1,9 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ + export * from './InstancePage' diff --git a/app/pages/project/instances/instance/tabs/ConnectTab.tsx b/app/pages/project/instances/instance/tabs/ConnectTab.tsx index 5f2d06ecb..725b1470f 100644 --- a/app/pages/project/instances/instance/tabs/ConnectTab.tsx +++ b/app/pages/project/instances/instance/tabs/ConnectTab.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { SettingsGroup } from '@oxide/ui' import { useInstanceSelector } from 'app/hooks' diff --git a/app/pages/project/instances/instance/tabs/MetricsTab.tsx b/app/pages/project/instances/instance/tabs/MetricsTab.tsx index 827b5580b..9f0fe3001 100644 --- a/app/pages/project/instances/instance/tabs/MetricsTab.tsx +++ b/app/pages/project/instances/instance/tabs/MetricsTab.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import React, { Suspense, useMemo, useState } from 'react' import type { LoaderFunctionArgs } from 'react-router-dom' diff --git a/app/pages/project/instances/instance/tabs/NetworkingTab.tsx b/app/pages/project/instances/instance/tabs/NetworkingTab.tsx index db41bfbac..0b6487dd7 100644 --- a/app/pages/project/instances/instance/tabs/NetworkingTab.tsx +++ b/app/pages/project/instances/instance/tabs/NetworkingTab.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { useState } from 'react' import type { LoaderFunctionArgs } from 'react-router-dom' import { Link } from 'react-router-dom' diff --git a/app/pages/project/instances/instance/tabs/StorageTab.tsx b/app/pages/project/instances/instance/tabs/StorageTab.tsx index 8dcc987d8..a5713e88d 100644 --- a/app/pages/project/instances/instance/tabs/StorageTab.tsx +++ b/app/pages/project/instances/instance/tabs/StorageTab.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { useCallback, useState } from 'react' import type { LoaderFunctionArgs } from 'react-router-dom' import invariant from 'tiny-invariant' diff --git a/app/pages/project/instances/instance/tabs/common.tsx b/app/pages/project/instances/instance/tabs/common.tsx index 05f408b68..5ce9c0066 100644 --- a/app/pages/project/instances/instance/tabs/common.tsx +++ b/app/pages/project/instances/instance/tabs/common.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { intersperse } from '@oxide/util' const white = (s: string) => ( diff --git a/app/pages/project/networking/VpcPage/VpcPage.tsx b/app/pages/project/networking/VpcPage/VpcPage.tsx index 794b66b65..56bb51d91 100644 --- a/app/pages/project/networking/VpcPage/VpcPage.tsx +++ b/app/pages/project/networking/VpcPage/VpcPage.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { LoaderFunctionArgs } from 'react-router-dom' import invariant from 'tiny-invariant' diff --git a/app/pages/project/networking/VpcPage/index.tsx b/app/pages/project/networking/VpcPage/index.tsx index 8986aaee6..c49ee5e59 100644 --- a/app/pages/project/networking/VpcPage/index.tsx +++ b/app/pages/project/networking/VpcPage/index.tsx @@ -1 +1,9 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ + export * from './VpcPage' diff --git a/app/pages/project/networking/VpcPage/tabs/VpcFirewallRulesTab.tsx b/app/pages/project/networking/VpcPage/tabs/VpcFirewallRulesTab.tsx index 930c52352..eabcecd52 100644 --- a/app/pages/project/networking/VpcPage/tabs/VpcFirewallRulesTab.tsx +++ b/app/pages/project/networking/VpcPage/tabs/VpcFirewallRulesTab.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { useMemo, useState } from 'react' import type { VpcFirewallRule } from '@oxide/api' diff --git a/app/pages/project/networking/VpcPage/tabs/VpcGatewaysTab.tsx b/app/pages/project/networking/VpcPage/tabs/VpcGatewaysTab.tsx index e69de29bb..262139f28 100644 --- a/app/pages/project/networking/VpcPage/tabs/VpcGatewaysTab.tsx +++ b/app/pages/project/networking/VpcPage/tabs/VpcGatewaysTab.tsx @@ -0,0 +1,7 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ diff --git a/app/pages/project/networking/VpcPage/tabs/VpcRoutersTab.tsx b/app/pages/project/networking/VpcPage/tabs/VpcRoutersTab.tsx index 4ba8b1b55..3c51b44c1 100644 --- a/app/pages/project/networking/VpcPage/tabs/VpcRoutersTab.tsx +++ b/app/pages/project/networking/VpcPage/tabs/VpcRoutersTab.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { useState } from 'react' import type { VpcRouter } from '@oxide/api' diff --git a/app/pages/project/networking/VpcPage/tabs/VpcSubnetsTab.tsx b/app/pages/project/networking/VpcPage/tabs/VpcSubnetsTab.tsx index 24fcf1dc7..a3a91099f 100644 --- a/app/pages/project/networking/VpcPage/tabs/VpcSubnetsTab.tsx +++ b/app/pages/project/networking/VpcPage/tabs/VpcSubnetsTab.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { useState } from 'react' import type { VpcSubnet } from '@oxide/api' diff --git a/app/pages/project/networking/VpcPage/tabs/VpcSystemRoutesTab.tsx b/app/pages/project/networking/VpcPage/tabs/VpcSystemRoutesTab.tsx index 288a403e9..98a94b1dd 100644 --- a/app/pages/project/networking/VpcPage/tabs/VpcSystemRoutesTab.tsx +++ b/app/pages/project/networking/VpcPage/tabs/VpcSystemRoutesTab.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { TypeValueCell, useQueryTable } from '@oxide/table' import { EmptyMessage } from '@oxide/ui' diff --git a/app/pages/project/networking/VpcsPage.tsx b/app/pages/project/networking/VpcsPage.tsx index c69489b2a..d6cb0ab65 100644 --- a/app/pages/project/networking/VpcsPage.tsx +++ b/app/pages/project/networking/VpcsPage.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { useMemo } from 'react' import type { LoaderFunctionArgs } from 'react-router-dom' import { Outlet } from 'react-router-dom' diff --git a/app/pages/project/networking/index.tsx b/app/pages/project/networking/index.tsx index 006ef5c46..63acdb001 100644 --- a/app/pages/project/networking/index.tsx +++ b/app/pages/project/networking/index.tsx @@ -1,2 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ + export * from './VpcPage' export * from './VpcsPage' diff --git a/app/pages/project/snapshots/SnapshotsPage.tsx b/app/pages/project/snapshots/SnapshotsPage.tsx index 497e44261..d96302ff6 100644 --- a/app/pages/project/snapshots/SnapshotsPage.tsx +++ b/app/pages/project/snapshots/SnapshotsPage.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { LoaderFunctionArgs } from 'react-router-dom' import { Link, Outlet, useNavigate } from 'react-router-dom' diff --git a/app/pages/project/snapshots/index.ts b/app/pages/project/snapshots/index.ts index 1218ed480..98a1a3266 100644 --- a/app/pages/project/snapshots/index.ts +++ b/app/pages/project/snapshots/index.ts @@ -1 +1,9 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ + export * from './SnapshotsPage' diff --git a/app/pages/settings/ProfilePage.tsx b/app/pages/settings/ProfilePage.tsx index 022ac83e1..d1e85b124 100644 --- a/app/pages/settings/ProfilePage.tsx +++ b/app/pages/settings/ProfilePage.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { useForm } from 'react-hook-form' import invariant from 'tiny-invariant' diff --git a/app/pages/settings/SSHKeysPage.tsx b/app/pages/settings/SSHKeysPage.tsx index 1ec4e8a1e..307dda0e4 100644 --- a/app/pages/settings/SSHKeysPage.tsx +++ b/app/pages/settings/SSHKeysPage.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { Link, Outlet, useNavigate } from 'react-router-dom' import type { SshKey } from '@oxide/api' diff --git a/app/pages/system/CapacityUtilizationPage.tsx b/app/pages/system/CapacityUtilizationPage.tsx index ecc05b709..64bdf084a 100644 --- a/app/pages/system/CapacityUtilizationPage.tsx +++ b/app/pages/system/CapacityUtilizationPage.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { getLocalTimeZone, now } from '@internationalized/date' import { useIsFetching } from '@tanstack/react-query' import { useMemo, useState } from 'react' diff --git a/app/pages/system/SiloImagesPage.tsx b/app/pages/system/SiloImagesPage.tsx index 9fc8951f0..b6cbad082 100644 --- a/app/pages/system/SiloImagesPage.tsx +++ b/app/pages/system/SiloImagesPage.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { useState } from 'react' import { type FieldValues, useForm } from 'react-hook-form' import { Outlet } from 'react-router-dom' diff --git a/app/pages/system/SiloPage.tsx b/app/pages/system/SiloPage.tsx index b8a6bb3af..20030a8bf 100644 --- a/app/pages/system/SiloPage.tsx +++ b/app/pages/system/SiloPage.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { LoaderFunctionArgs } from 'react-router-dom' import { Link } from 'react-router-dom' import { Outlet } from 'react-router-dom' diff --git a/app/pages/system/SilosPage.tsx b/app/pages/system/SilosPage.tsx index 262b776c4..e474abd2a 100644 --- a/app/pages/system/SilosPage.tsx +++ b/app/pages/system/SilosPage.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { useMemo } from 'react' import { Link, Outlet, useNavigate } from 'react-router-dom' diff --git a/app/pages/system/inventory/DisksTab.tsx b/app/pages/system/inventory/DisksTab.tsx index a1e6c7342..e6c51ddb8 100644 --- a/app/pages/system/inventory/DisksTab.tsx +++ b/app/pages/system/inventory/DisksTab.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { apiQueryClient } from '@oxide/api' import { LabelCell, useQueryTable } from '@oxide/table' import { EmptyMessage, Racks24Icon } from '@oxide/ui' diff --git a/app/pages/system/inventory/InventoryPage.tsx b/app/pages/system/inventory/InventoryPage.tsx index 64beb2582..808a61909 100644 --- a/app/pages/system/inventory/InventoryPage.tsx +++ b/app/pages/system/inventory/InventoryPage.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { apiQueryClient, useApiQuery } from '@oxide/api' import { PageHeader, PageTitle, Racks24Icon } from '@oxide/ui' diff --git a/app/pages/system/inventory/RacksTab.tsx b/app/pages/system/inventory/RacksTab.tsx index ad100f494..716599eb6 100644 --- a/app/pages/system/inventory/RacksTab.tsx +++ b/app/pages/system/inventory/RacksTab.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { apiQueryClient } from '@oxide/api' import { useQueryTable } from '@oxide/table' import { EmptyMessage, Racks24Icon } from '@oxide/ui' diff --git a/app/pages/system/inventory/SledsTab.tsx b/app/pages/system/inventory/SledsTab.tsx index bb36b231a..db421b942 100644 --- a/app/pages/system/inventory/SledsTab.tsx +++ b/app/pages/system/inventory/SledsTab.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { apiQueryClient } from '@oxide/api' import { linkCell, useQueryTable } from '@oxide/table' import { EmptyMessage, Racks24Icon } from '@oxide/ui' diff --git a/app/pages/system/inventory/sled/SledInstancesTab.tsx b/app/pages/system/inventory/sled/SledInstancesTab.tsx index 9b9dca5bc..279650432 100644 --- a/app/pages/system/inventory/sled/SledInstancesTab.tsx +++ b/app/pages/system/inventory/sled/SledInstancesTab.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { LoaderFunctionArgs } from 'react-router-dom' import { apiQueryClient } from '@oxide/api' diff --git a/app/pages/system/inventory/sled/SledPage.tsx b/app/pages/system/inventory/sled/SledPage.tsx index 23ea672a7..d4b5ffb52 100644 --- a/app/pages/system/inventory/sled/SledPage.tsx +++ b/app/pages/system/inventory/sled/SledPage.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import fileSize from 'filesize' import type { LoaderFunctionArgs } from 'react-router-dom' import invariant from 'tiny-invariant' diff --git a/app/routes.tsx b/app/routes.tsx index 1ea79afee..b07bd6a5c 100644 --- a/app/routes.tsx +++ b/app/routes.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { Navigate, Route, createRoutesFromElements } from 'react-router-dom' import { RouterDataErrorBoundary } from './components/ErrorBoundary' diff --git a/app/stores/confirm-delete.ts b/app/stores/confirm-delete.ts index 3163fda34..06d0c3cad 100644 --- a/app/stores/confirm-delete.ts +++ b/app/stores/confirm-delete.ts @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { ReactNode } from 'react' import { create } from 'zustand' diff --git a/app/stores/toast.ts b/app/stores/toast.ts index a27b83e7e..68326d750 100644 --- a/app/stores/toast.ts +++ b/app/stores/toast.ts @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { v4 as uuid } from 'uuid' import { create } from 'zustand' diff --git a/app/test/e2e/NotFound.e2e.ts b/app/test/e2e/NotFound.e2e.ts index f721021af..946a51d4f 100644 --- a/app/test/e2e/NotFound.e2e.ts +++ b/app/test/e2e/NotFound.e2e.ts @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { expect, test } from '@playwright/test' test('Shows 404 page when a resource is not found', async ({ page }) => { diff --git a/app/test/e2e/authz.e2e.ts b/app/test/e2e/authz.e2e.ts index 3b14de903..8f3c5a526 100644 --- a/app/test/e2e/authz.e2e.ts +++ b/app/test/e2e/authz.e2e.ts @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { expect, getDevUserPage, test } from './utils' test.describe('Silo/system picker', () => { diff --git a/app/test/e2e/click-everything.e2e.ts b/app/test/e2e/click-everything.e2e.ts index b7a270fc4..2024f155f 100644 --- a/app/test/e2e/click-everything.e2e.ts +++ b/app/test/e2e/click-everything.e2e.ts @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { expectNotVisible, expectVisible, test } from './utils' test.beforeEach(async ({ page }) => { diff --git a/app/test/e2e/disk-create.e2e.ts b/app/test/e2e/disk-create.e2e.ts index 37cbf672f..113b1dd02 100644 --- a/app/test/e2e/disk-create.e2e.ts +++ b/app/test/e2e/disk-create.e2e.ts @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { expectVisible, test } from './utils' test.describe('Disk create', () => { diff --git a/app/test/e2e/firewall-rules.e2e.ts b/app/test/e2e/firewall-rules.e2e.ts index 5c1fb87ee..60b8f84f1 100644 --- a/app/test/e2e/firewall-rules.e2e.ts +++ b/app/test/e2e/firewall-rules.e2e.ts @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { test } from '@playwright/test' import { expect, expectNotVisible, expectVisible } from './utils' diff --git a/app/test/e2e/image-upload.e2e.ts b/app/test/e2e/image-upload.e2e.ts index 6a6e869a6..d321a2131 100644 --- a/app/test/e2e/image-upload.e2e.ts +++ b/app/test/e2e/image-upload.e2e.ts @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { Page } from '@playwright/test' import { expect, test } from '@playwright/test' diff --git a/app/test/e2e/images.e2e.ts b/app/test/e2e/images.e2e.ts index d3de71a65..79c3076e1 100644 --- a/app/test/e2e/images.e2e.ts +++ b/app/test/e2e/images.e2e.ts @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { test } from '@playwright/test' import { diff --git a/app/test/e2e/instance-create.e2e.ts b/app/test/e2e/instance-create.e2e.ts index c6e95e63a..e96fee1d7 100644 --- a/app/test/e2e/instance-create.e2e.ts +++ b/app/test/e2e/instance-create.e2e.ts @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { images } from '@oxide/api-mocks' import { expect, expectVisible, test } from './utils' diff --git a/app/test/e2e/instance/attach-disk.e2e.ts b/app/test/e2e/instance/attach-disk.e2e.ts index ffd814eac..0e79c4375 100644 --- a/app/test/e2e/instance/attach-disk.e2e.ts +++ b/app/test/e2e/instance/attach-disk.e2e.ts @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { expect, expectNotVisible, expectVisible, stopInstance, test } from '../utils' test('Attach disk', async ({ page }) => { diff --git a/app/test/e2e/instance/list.e2e.ts b/app/test/e2e/instance/list.e2e.ts index 38cdc689f..68ede55db 100644 --- a/app/test/e2e/instance/list.e2e.ts +++ b/app/test/e2e/instance/list.e2e.ts @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { expect, test } from '../utils' test('can delete a failed instance', async ({ page }) => { diff --git a/app/test/e2e/instance/networking.e2e.ts b/app/test/e2e/instance/networking.e2e.ts index 4669c8cf3..264f0eb79 100644 --- a/app/test/e2e/instance/networking.e2e.ts +++ b/app/test/e2e/instance/networking.e2e.ts @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { expect, test } from '@playwright/test' import { expectNotVisible, expectRowVisible, expectVisible, stopInstance } from '../utils' diff --git a/app/test/e2e/inventory.e2e.ts b/app/test/e2e/inventory.e2e.ts index 3e2ee9cbd..6d14fe96b 100644 --- a/app/test/e2e/inventory.e2e.ts +++ b/app/test/e2e/inventory.e2e.ts @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { physicalDisks } from '@oxide/api-mocks' import { expect, expectRowVisible, expectVisible, test } from './utils' diff --git a/app/test/e2e/login-saml.e2e.ts b/app/test/e2e/login-saml.e2e.ts index 298d4855f..637ee0264 100644 --- a/app/test/e2e/login-saml.e2e.ts +++ b/app/test/e2e/login-saml.e2e.ts @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { expect, test } from './utils' test.describe('SAML login', () => { diff --git a/app/test/e2e/login.e2e.ts b/app/test/e2e/login.e2e.ts index f53ae8563..ca8908846 100644 --- a/app/test/e2e/login.e2e.ts +++ b/app/test/e2e/login.e2e.ts @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { expect, test } from './utils' test.describe('login', () => { diff --git a/app/test/e2e/networking.e2e.ts b/app/test/e2e/networking.e2e.ts index e53ba86c9..169b22b9b 100644 --- a/app/test/e2e/networking.e2e.ts +++ b/app/test/e2e/networking.e2e.ts @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { test } from '@playwright/test' import { expectNotVisible, expectVisible } from './utils' diff --git a/app/test/e2e/profile.e2e.ts b/app/test/e2e/profile.e2e.ts index bc8520578..e94ef6ad4 100644 --- a/app/test/e2e/profile.e2e.ts +++ b/app/test/e2e/profile.e2e.ts @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { user1 } from '@oxide/api-mocks' import { expect, test } from './utils' diff --git a/app/test/e2e/project-access.e2e.ts b/app/test/e2e/project-access.e2e.ts index 29d99d95a..a99a0db1a 100644 --- a/app/test/e2e/project-access.e2e.ts +++ b/app/test/e2e/project-access.e2e.ts @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { user3, user4 } from '@oxide/api-mocks' import { expect, expectNotVisible, expectRowVisible, expectVisible, test } from './utils' diff --git a/app/test/e2e/project-create.e2e.ts b/app/test/e2e/project-create.e2e.ts index f7cebedd7..0520156ba 100644 --- a/app/test/e2e/project-create.e2e.ts +++ b/app/test/e2e/project-create.e2e.ts @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { expect, test } from '@playwright/test' import { expectVisible } from './utils' diff --git a/app/test/e2e/row-select.e2e.ts b/app/test/e2e/row-select.e2e.ts index b18506140..b05982609 100644 --- a/app/test/e2e/row-select.e2e.ts +++ b/app/test/e2e/row-select.e2e.ts @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { expect, test } from '@playwright/test' import { forEach } from './utils' diff --git a/app/test/e2e/scroll-restore.e2e.ts b/app/test/e2e/scroll-restore.e2e.ts index 7bda680d2..cb49dfd14 100644 --- a/app/test/e2e/scroll-restore.e2e.ts +++ b/app/test/e2e/scroll-restore.e2e.ts @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { type Page, expect, test } from './utils' async function expectScrollTop(page: Page, expected: number) { diff --git a/app/test/e2e/silo-access.e2e.ts b/app/test/e2e/silo-access.e2e.ts index 55a9ed729..8ce982717 100644 --- a/app/test/e2e/silo-access.e2e.ts +++ b/app/test/e2e/silo-access.e2e.ts @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { user3, user4 } from '@oxide/api-mocks' import { expect, expectNotVisible, expectRowVisible, expectVisible, test } from './utils' diff --git a/app/test/e2e/silos.e2e.ts b/app/test/e2e/silos.e2e.ts index 3cbfe2861..4e1ffa50f 100644 --- a/app/test/e2e/silos.e2e.ts +++ b/app/test/e2e/silos.e2e.ts @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { expect, test } from '@playwright/test' import { expectNotVisible, expectRowVisible, expectVisible } from './utils' diff --git a/app/test/e2e/snapshots.e2e.ts b/app/test/e2e/snapshots.e2e.ts index d2253ca7c..ac0dd82ba 100644 --- a/app/test/e2e/snapshots.e2e.ts +++ b/app/test/e2e/snapshots.e2e.ts @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { expect, expectNotVisible, expectRowVisible, expectVisible, test } from './utils' test('Click through snapshots', async ({ page }) => { diff --git a/app/test/e2e/ssh-keys.e2e.ts b/app/test/e2e/ssh-keys.e2e.ts index 34ce47819..fb70e4c3b 100644 --- a/app/test/e2e/ssh-keys.e2e.ts +++ b/app/test/e2e/ssh-keys.e2e.ts @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { test } from '@playwright/test' import { expectNotVisible, expectRowVisible, expectVisible } from './utils' diff --git a/app/test/e2e/utilization.e2e.ts b/app/test/e2e/utilization.e2e.ts index 020e27eb7..2b960bd95 100644 --- a/app/test/e2e/utilization.e2e.ts +++ b/app/test/e2e/utilization.e2e.ts @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { expect, expectNotVisible, expectVisible, getDevUserPage, test } from './utils' // not trying to get elaborate here. just make sure the pages load, which diff --git a/app/test/e2e/utils.ts b/app/test/e2e/utils.ts index 3131f22f1..0f1affbcc 100644 --- a/app/test/e2e/utils.ts +++ b/app/test/e2e/utils.ts @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { Browser, Locator, Page } from '@playwright/test' import { expect } from '@playwright/test' diff --git a/app/test/e2e/vpcs.e2e.ts b/app/test/e2e/vpcs.e2e.ts index 683138e4a..5f277182c 100644 --- a/app/test/e2e/vpcs.e2e.ts +++ b/app/test/e2e/vpcs.e2e.ts @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { expect, test } from '@playwright/test' test('can nav to VpcPage from /', async ({ page }) => { diff --git a/app/test/unit/index.tsx b/app/test/unit/index.tsx index 4bd2b8c35..40a8fcca9 100644 --- a/app/test/unit/index.tsx +++ b/app/test/unit/index.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { fireEvent, screen } from '@testing-library/react' export { overrideOnce } from './server' diff --git a/app/test/unit/server.ts b/app/test/unit/server.ts index c8157ad25..b62e9e4a0 100644 --- a/app/test/unit/server.ts +++ b/app/test/unit/server.ts @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { rest } from 'msw' import { setupServer } from 'msw/node' diff --git a/app/test/unit/setup.ts b/app/test/unit/setup.ts index 8fe94f7a5..76bb9c89c 100644 --- a/app/test/unit/setup.ts +++ b/app/test/unit/setup.ts @@ -1,3 +1,11 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ + /** * This file is ran by vitest before any tests are ran. Configuration * in this file does _not_ impact end-to-end tests. diff --git a/app/util/date.spec.ts b/app/util/date.spec.ts index efee79c34..d59ea38e1 100644 --- a/app/util/date.spec.ts +++ b/app/util/date.spec.ts @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { subDays, subHours, subMinutes, subSeconds } from 'date-fns' import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest' diff --git a/app/util/date.ts b/app/util/date.ts index 110b05940..acc4a8bec 100644 --- a/app/util/date.ts +++ b/app/util/date.ts @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { formatDistanceToNowStrict } from 'date-fns' // locale setup and formatDistance function copied from here and modified diff --git a/app/util/file.spec.ts b/app/util/file.spec.ts index 45fb68e5a..738c1866b 100644 --- a/app/util/file.spec.ts +++ b/app/util/file.spec.ts @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { describe, expect, test } from 'vitest' import { readBlobAsBase64 } from './file' diff --git a/app/util/file.ts b/app/util/file.ts index 19dc5db3a..3e9ae2666 100644 --- a/app/util/file.ts +++ b/app/util/file.ts @@ -1,3 +1,11 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ + /** async wrapper for reading a slice of a file */ export async function readBlobAsBase64(blob: Blob): Promise { return new Promise((resolve) => { diff --git a/app/util/path-builder.spec.ts b/app/util/path-builder.spec.ts index 293ec9a2f..86563bc90 100644 --- a/app/util/path-builder.spec.ts +++ b/app/util/path-builder.spec.ts @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { expect, test } from 'vitest' import { pb } from './path-builder' diff --git a/app/util/path-builder.ts b/app/util/path-builder.ts index a0e954c6f..87ea4161d 100644 --- a/app/util/path-builder.ts +++ b/app/util/path-builder.ts @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { PathParams as PP } from '@oxide/api' // TODO: required versions of path params probably belong somewhere else, diff --git a/app/util/validate.ts b/app/util/validate.ts index 332aaf9f9..a092ea17d 100644 --- a/app/util/validate.ts +++ b/app/util/validate.ts @@ -1,3 +1,11 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ + // the API gives conflicting guidance on the name format: the json schema // definition allows uppercase letters but the actual implementation of the Name // struct does not. I think the latter is more likely to be correct. diff --git a/codemods/add-responsive-viewbox.icons.js b/codemods/add-responsive-viewbox.icons.js index 0c85ce147..898ea866b 100644 --- a/codemods/add-responsive-viewbox.icons.js +++ b/codemods/add-responsive-viewbox.icons.js @@ -1,3 +1,11 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ + /** * This codemod removes hardcoded widths and heights from * responsive icons and replaces them with a viewBox diff --git a/codemods/fix-title-and-fill.icons.js b/codemods/fix-title-and-fill.icons.js index a9ea70cef..edcae4d71 100644 --- a/codemods/fix-title-and-fill.icons.js +++ b/codemods/fix-title-and-fill.icons.js @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import path from 'path' /** diff --git a/codemods/remove-import-extensions.icons.js b/codemods/remove-import-extensions.icons.js index 2b84be5bf..97914ec0c 100644 --- a/codemods/remove-import-extensions.icons.js +++ b/codemods/remove-import-extensions.icons.js @@ -1,3 +1,11 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ + /** * This codemod removes explictly `.tsx` extensions left by * figma-export index.ts generated files. diff --git a/index.html b/index.html index 18bb0ddeb..8c84d6f99 100644 --- a/index.html +++ b/index.html @@ -1,3 +1,11 @@ + + diff --git a/libs/api-mocks/disk.ts b/libs/api-mocks/disk.ts index 796bbf7c5..c3e4b53f8 100644 --- a/libs/api-mocks/disk.ts +++ b/libs/api-mocks/disk.ts @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { Disk } from '@oxide/api' import { GiB } from '@oxide/util' diff --git a/libs/api-mocks/image.ts b/libs/api-mocks/image.ts index 83bde4968..9800088b5 100644 --- a/libs/api-mocks/image.ts +++ b/libs/api-mocks/image.ts @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { Image } from '@oxide/api' import { GiB } from '@oxide/util' diff --git a/libs/api-mocks/index.ts b/libs/api-mocks/index.ts index 6da2510cc..7a5b5fc16 100644 --- a/libs/api-mocks/index.ts +++ b/libs/api-mocks/index.ts @@ -1,3 +1,11 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ + export * from './disk' export * from './image' export * from './instance' diff --git a/libs/api-mocks/instance.ts b/libs/api-mocks/instance.ts index 69a718517..bfdfe5597 100644 --- a/libs/api-mocks/instance.ts +++ b/libs/api-mocks/instance.ts @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { Instance } from '@oxide/api' import type { Json } from './json-type' diff --git a/libs/api-mocks/json-type.ts b/libs/api-mocks/json-type.ts index ee32ce9fc..1256e4c34 100644 --- a/libs/api-mocks/json-type.ts +++ b/libs/api-mocks/json-type.ts @@ -1 +1,9 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ + export { Json } from '@oxide/gen/msw-handlers' diff --git a/libs/api-mocks/json-type.type-spec.ts b/libs/api-mocks/json-type.type-spec.ts index a012beca5..7b8b34fac 100644 --- a/libs/api-mocks/json-type.type-spec.ts +++ b/libs/api-mocks/json-type.type-spec.ts @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { assertType } from 'vitest' import type { VpcSubnet } from '@oxide/api' diff --git a/libs/api-mocks/metrics.ts b/libs/api-mocks/metrics.ts index ea486042e..8716cecb1 100644 --- a/libs/api-mocks/metrics.ts +++ b/libs/api-mocks/metrics.ts @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { addSeconds, differenceInSeconds } from 'date-fns' import type { Measurement } from '@oxide/api' diff --git a/libs/api-mocks/msw/db.ts b/libs/api-mocks/msw/db.ts index 61086239d..10f797350 100644 --- a/libs/api-mocks/msw/db.ts +++ b/libs/api-mocks/msw/db.ts @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ // note that isUuid checks for any kind of UUID. strictly speaking, we should // only be checking for v4 import { validate as isUuid } from 'uuid' diff --git a/libs/api-mocks/msw/handlers.ts b/libs/api-mocks/msw/handlers.ts index 25f23c192..3f2487b0a 100644 --- a/libs/api-mocks/msw/handlers.ts +++ b/libs/api-mocks/msw/handlers.ts @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { v4 as uuid } from 'uuid' import type { ApiTypes as Api, SamlIdentityProvider } from '@oxide/api' diff --git a/libs/api-mocks/msw/util.spec.ts b/libs/api-mocks/msw/util.spec.ts index 1c05ac406..444ecc641 100644 --- a/libs/api-mocks/msw/util.spec.ts +++ b/libs/api-mocks/msw/util.spec.ts @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { describe, expect, it } from 'vitest' import { users } from '..' diff --git a/libs/api-mocks/msw/util.ts b/libs/api-mocks/msw/util.ts index f249e7179..a1ea39c24 100644 --- a/libs/api-mocks/msw/util.ts +++ b/libs/api-mocks/msw/util.ts @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { differenceInSeconds, subHours } from 'date-fns' import type { RestRequest } from 'msw' diff --git a/libs/api-mocks/network-interface.ts b/libs/api-mocks/network-interface.ts index 00d99eaef..a3233470a 100644 --- a/libs/api-mocks/network-interface.ts +++ b/libs/api-mocks/network-interface.ts @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { InstanceNetworkInterface } from '@oxide/api' import { instance } from './instance' diff --git a/libs/api-mocks/physical-disk.ts b/libs/api-mocks/physical-disk.ts index 62474bc43..5ce936a52 100644 --- a/libs/api-mocks/physical-disk.ts +++ b/libs/api-mocks/physical-disk.ts @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { PhysicalDisk } from '@oxide/api' import type { Json } from './json-type' diff --git a/libs/api-mocks/project.ts b/libs/api-mocks/project.ts index 21e83ba2a..f514d7606 100644 --- a/libs/api-mocks/project.ts +++ b/libs/api-mocks/project.ts @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { Project, ProjectRolePolicy } from '@oxide/api' import type { Json } from './json-type' diff --git a/libs/api-mocks/rack.ts b/libs/api-mocks/rack.ts index 7e6b01628..900e2320c 100644 --- a/libs/api-mocks/rack.ts +++ b/libs/api-mocks/rack.ts @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { Rack } from '@oxide/api' import type { Json } from './json-type' diff --git a/libs/api-mocks/role-assignment.ts b/libs/api-mocks/role-assignment.ts index 16628b2c5..fbdc6c5a0 100644 --- a/libs/api-mocks/role-assignment.ts +++ b/libs/api-mocks/role-assignment.ts @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { FLEET_ID, type IdentityType, type RoleKey } from '@oxide/api' import { project } from './project' diff --git a/libs/api-mocks/serial.ts b/libs/api-mocks/serial.ts index cfb4ac27d..b4445e671 100644 --- a/libs/api-mocks/serial.ts +++ b/libs/api-mocks/serial.ts @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { InstanceSerialConsoleData } from '@oxide/api' import type { Json } from './json-type' diff --git a/libs/api-mocks/silo.ts b/libs/api-mocks/silo.ts index 2eabc1e5b..4bb2b1f88 100644 --- a/libs/api-mocks/silo.ts +++ b/libs/api-mocks/silo.ts @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { IdentityProvider, SamlIdentityProvider, Silo } from '@oxide/api' import { pick } from '@oxide/util' diff --git a/libs/api-mocks/sled.ts b/libs/api-mocks/sled.ts index 85f1d59d8..e26e96c59 100644 --- a/libs/api-mocks/sled.ts +++ b/libs/api-mocks/sled.ts @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { Sled } from '@oxide/api' import type { Json } from './json-type' diff --git a/libs/api-mocks/snapshot.ts b/libs/api-mocks/snapshot.ts index 5ba2f90c9..102fbca63 100644 --- a/libs/api-mocks/snapshot.ts +++ b/libs/api-mocks/snapshot.ts @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { Snapshot } from '@oxide/api' import { disks } from './disk' diff --git a/libs/api-mocks/sshKeys.ts b/libs/api-mocks/sshKeys.ts index 915f03531..56d5a35e1 100644 --- a/libs/api-mocks/sshKeys.ts +++ b/libs/api-mocks/sshKeys.ts @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { SshKey } from '@oxide/api' import type { Json } from './json-type' diff --git a/libs/api-mocks/user-group.ts b/libs/api-mocks/user-group.ts index 01c5d5d81..48db6c5e9 100644 --- a/libs/api-mocks/user-group.ts +++ b/libs/api-mocks/user-group.ts @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { Group } from '@oxide/api' import type { Json } from './json-type' diff --git a/libs/api-mocks/user.ts b/libs/api-mocks/user.ts index d6d98b274..afa1c9129 100644 --- a/libs/api-mocks/user.ts +++ b/libs/api-mocks/user.ts @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { User } from '@oxide/api' import type { Json } from './json-type' diff --git a/libs/api-mocks/vpc.ts b/libs/api-mocks/vpc.ts index 749347c6b..1c610108f 100644 --- a/libs/api-mocks/vpc.ts +++ b/libs/api-mocks/vpc.ts @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { RouterRoute } from 'libs/api/__generated__/Api' import type { Vpc, VpcFirewallRule, VpcRouter, VpcSubnet } from '@oxide/api' diff --git a/libs/api/__tests__/errors.spec.ts b/libs/api/__tests__/errors.spec.ts index d6ff74e09..16c8e1477 100644 --- a/libs/api/__tests__/errors.spec.ts +++ b/libs/api/__tests__/errors.spec.ts @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { describe, expect, it } from 'vitest' import { getParseError, getResourceName, processServerError } from '../errors' diff --git a/libs/api/__tests__/hooks.spec.tsx b/libs/api/__tests__/hooks.spec.tsx index 031f3e540..e91d02c03 100644 --- a/libs/api/__tests__/hooks.spec.tsx +++ b/libs/api/__tests__/hooks.spec.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { QueryClient, QueryClientProvider } from '@tanstack/react-query' import { act, render, renderHook, waitFor } from '@testing-library/react' import { describe, expect, it, vi } from 'vitest' diff --git a/libs/api/__tests__/nav-to-login.spec.ts b/libs/api/__tests__/nav-to-login.spec.ts index 933543a5e..05769d122 100644 --- a/libs/api/__tests__/nav-to-login.spec.ts +++ b/libs/api/__tests__/nav-to-login.spec.ts @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { describe, expect, it } from 'vitest' import { loginUrl } from '../nav-to-login' diff --git a/libs/api/__tests__/safety.spec.ts b/libs/api/__tests__/safety.spec.ts index b2d7e874a..4eb510ee4 100644 --- a/libs/api/__tests__/safety.spec.ts +++ b/libs/api/__tests__/safety.spec.ts @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { execSync } from 'child_process' import fs from 'fs' import path from 'path' diff --git a/libs/api/errors.ts b/libs/api/errors.ts index 26bd64567..573377768 100644 --- a/libs/api/errors.ts +++ b/libs/api/errors.ts @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { camelCaseToWords, capitalize } from '@oxide/util' import type { ErrorResult } from '.' diff --git a/libs/api/hooks.ts b/libs/api/hooks.ts index 93c1a94d3..86caa05d5 100644 --- a/libs/api/hooks.ts +++ b/libs/api/hooks.ts @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { FetchQueryOptions, InvalidateQueryFilters, diff --git a/libs/api/index.ts b/libs/api/index.ts index c8aa0ce03..fdd61f643 100644 --- a/libs/api/index.ts +++ b/libs/api/index.ts @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ // for convenience so we can do `import type { ApiTypes } from '@oxide/api'` import { QueryClient } from '@tanstack/react-query' diff --git a/libs/api/nav-to-login.ts b/libs/api/nav-to-login.ts index 1135cb142..949c62223 100644 --- a/libs/api/nav-to-login.ts +++ b/libs/api/nav-to-login.ts @@ -1,3 +1,11 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ + // this is only a separate module so we can easily mock it in tests. jsdom // doesn't support navigation diff --git a/libs/api/path-params.ts b/libs/api/path-params.ts index 6f91a96ef..833baf312 100644 --- a/libs/api/path-params.ts +++ b/libs/api/path-params.ts @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { Merge } from 'type-fest' export type Project = { project?: string } diff --git a/libs/api/roles.spec.ts b/libs/api/roles.spec.ts index ca15324e0..715328e2a 100644 --- a/libs/api/roles.spec.ts +++ b/libs/api/roles.spec.ts @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { describe, expect, it, test } from 'vitest' import { diff --git a/libs/api/roles.ts b/libs/api/roles.ts index 2a60fea1a..327ee3fff 100644 --- a/libs/api/roles.ts +++ b/libs/api/roles.ts @@ -1,3 +1,11 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ + /* * Utilities around resource roles and policies. This logic belongs in the data * layer and not in app/ because we are experimenting with it to decide whether diff --git a/libs/api/util.spec.ts b/libs/api/util.spec.ts index a995cc089..1459ea45c 100644 --- a/libs/api/util.spec.ts +++ b/libs/api/util.spec.ts @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { describe, expect, it, test } from 'vitest' import { genName, parsePortRange, synthesizeData } from './util' diff --git a/libs/api/util.ts b/libs/api/util.ts index 0202a3d2d..d0fd92b83 100644 --- a/libs/api/util.ts +++ b/libs/api/util.ts @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ /// Helpers for working with API objects import { bytesToGiB, mapValues, pick, sumBy } from '@oxide/util' diff --git a/libs/babel-transform-react-display-name/index.js b/libs/babel-transform-react-display-name/index.js index b9a70dddc..a9f5ce471 100644 --- a/libs/babel-transform-react-display-name/index.js +++ b/libs/babel-transform-react-display-name/index.js @@ -1,3 +1,11 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ + /** @ts-check */ const { relative } = require('path') diff --git a/libs/babel-transform-react-display-name/index.spec.tsx b/libs/babel-transform-react-display-name/index.spec.tsx index 821292ad2..041c7e599 100644 --- a/libs/babel-transform-react-display-name/index.spec.tsx +++ b/libs/babel-transform-react-display-name/index.spec.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import babel from '@babel/core' import { describe, expect, it } from 'vitest' diff --git a/libs/pagination/Pagination.tsx b/libs/pagination/Pagination.tsx index 620a0a4a4..905beeb58 100644 --- a/libs/pagination/Pagination.tsx +++ b/libs/pagination/Pagination.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import tunnel from 'tunnel-rat' import type { PaginationProps as UIPaginationProps } from '@oxide/ui' diff --git a/libs/pagination/__tests__/use-pagination.spec.ts b/libs/pagination/__tests__/use-pagination.spec.ts index 0a5cd1514..81c3523e8 100644 --- a/libs/pagination/__tests__/use-pagination.spec.ts +++ b/libs/pagination/__tests__/use-pagination.spec.ts @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { act, renderHook } from '@testing-library/react' import { describe, expect, it } from 'vitest' diff --git a/libs/pagination/index.ts b/libs/pagination/index.ts index dafdf4c2a..6d3969ed2 100644 --- a/libs/pagination/index.ts +++ b/libs/pagination/index.ts @@ -1,2 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ + export * from './Pagination' export * from './use-pagination' diff --git a/libs/pagination/use-pagination.tsx b/libs/pagination/use-pagination.tsx index e3db4b8c6..6e416153f 100644 --- a/libs/pagination/use-pagination.tsx +++ b/libs/pagination/use-pagination.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { useState } from 'react' type PageToken = string | undefined diff --git a/libs/table/QueryTable.tsx b/libs/table/QueryTable.tsx index 2021c108f..1e6e96099 100644 --- a/libs/table/QueryTable.tsx +++ b/libs/table/QueryTable.tsx @@ -1,3 +1,11 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ + /* eslint-disable @typescript-eslint/no-explicit-any */ import type { UseQueryOptions } from '@tanstack/react-query' import { hashQueryKey } from '@tanstack/react-query' diff --git a/libs/table/Table.tsx b/libs/table/Table.tsx index 912c7456f..70f9ad709 100644 --- a/libs/table/Table.tsx +++ b/libs/table/Table.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { Table as TableInstance } from '@tanstack/react-table' import { flexRender } from '@tanstack/react-table' import cn from 'classnames' diff --git a/libs/table/cells/BooleanCell.tsx b/libs/table/cells/BooleanCell.tsx index 4925d2156..30b66738a 100644 --- a/libs/table/cells/BooleanCell.tsx +++ b/libs/table/cells/BooleanCell.tsx @@ -1,3 +1,11 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ + /* eslint-disable jsx-a11y/aria-proptypes */ // there seems to be a bug in the linter. it doesn't want you to use the string // "true" because it insists it's a boolean diff --git a/libs/table/cells/Cell.tsx b/libs/table/cells/Cell.tsx index e3198b098..553564db3 100644 --- a/libs/table/cells/Cell.tsx +++ b/libs/table/cells/Cell.tsx @@ -1,3 +1,11 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ + export interface Cell { value: C } diff --git a/libs/table/cells/DateCell.tsx b/libs/table/cells/DateCell.tsx index 2bd34b811..d1b0fb03b 100644 --- a/libs/table/cells/DateCell.tsx +++ b/libs/table/cells/DateCell.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { format } from 'date-fns' import type { Cell } from './Cell' diff --git a/libs/table/cells/DefaultCell.tsx b/libs/table/cells/DefaultCell.tsx index 580413e07..8f045bea0 100644 --- a/libs/table/cells/DefaultCell.tsx +++ b/libs/table/cells/DefaultCell.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { Cell } from './Cell' export const DefaultCell = ({ value }: Cell) => ( diff --git a/libs/table/cells/EnabledCell.tsx b/libs/table/cells/EnabledCell.tsx index c5c2098b9..7ca51941c 100644 --- a/libs/table/cells/EnabledCell.tsx +++ b/libs/table/cells/EnabledCell.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { VpcFirewallRuleStatus } from '@oxide/api' import { Badge, Success12Icon } from '@oxide/ui' diff --git a/libs/table/cells/FirewallFilterCell.tsx b/libs/table/cells/FirewallFilterCell.tsx index c741fc791..482246801 100644 --- a/libs/table/cells/FirewallFilterCell.tsx +++ b/libs/table/cells/FirewallFilterCell.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { VpcFirewallRuleFilter } from '@oxide/api' import { Badge } from '@oxide/ui' diff --git a/libs/table/cells/InstanceResourceCell.tsx b/libs/table/cells/InstanceResourceCell.tsx index 3f9acb6e0..f568c1bb4 100644 --- a/libs/table/cells/InstanceResourceCell.tsx +++ b/libs/table/cells/InstanceResourceCell.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import fileSize from 'filesize' import type { Instance } from '@oxide/api' diff --git a/libs/table/cells/InstanceStatusCell.tsx b/libs/table/cells/InstanceStatusCell.tsx index 59e97b6c0..b37140e28 100644 --- a/libs/table/cells/InstanceStatusCell.tsx +++ b/libs/table/cells/InstanceStatusCell.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { Instance } from '@oxide/api' import { InstanceStatusBadge } from 'app/components/StatusBadge' diff --git a/libs/table/cells/LabelCell.tsx b/libs/table/cells/LabelCell.tsx index 876d88cc3..cf95e414a 100644 --- a/libs/table/cells/LabelCell.tsx +++ b/libs/table/cells/LabelCell.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { Badge } from '@oxide/ui' import type { Cell } from './Cell' diff --git a/libs/table/cells/LinkCell.tsx b/libs/table/cells/LinkCell.tsx index 129c544a1..5a79ea249 100644 --- a/libs/table/cells/LinkCell.tsx +++ b/libs/table/cells/LinkCell.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { Link } from 'react-router-dom' import type { Cell } from './Cell' diff --git a/libs/table/cells/SizeCell.tsx b/libs/table/cells/SizeCell.tsx index 74cfdb8b0..223482c25 100644 --- a/libs/table/cells/SizeCell.tsx +++ b/libs/table/cells/SizeCell.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import fileSize from 'filesize' import type { Cell } from './Cell' diff --git a/libs/table/cells/TruncateCell.tsx b/libs/table/cells/TruncateCell.tsx index 223387744..781297ce6 100644 --- a/libs/table/cells/TruncateCell.tsx +++ b/libs/table/cells/TruncateCell.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { Truncate } from '@oxide/ui' import type { Cell } from './Cell' diff --git a/libs/table/cells/TwoLineCell.tsx b/libs/table/cells/TwoLineCell.tsx index ad5a65197..1fcf01be5 100644 --- a/libs/table/cells/TwoLineCell.tsx +++ b/libs/table/cells/TwoLineCell.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import cn from 'classnames' import type { Cell } from './Cell' diff --git a/libs/table/cells/TypeValueCell.tsx b/libs/table/cells/TypeValueCell.tsx index eefb4d15b..0f5859fe4 100644 --- a/libs/table/cells/TypeValueCell.tsx +++ b/libs/table/cells/TypeValueCell.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { Badge } from '@oxide/ui' import type { Cell } from './Cell' diff --git a/libs/table/cells/TypeValueListCell.tsx b/libs/table/cells/TypeValueListCell.tsx index 618055215..d66bc77a2 100644 --- a/libs/table/cells/TypeValueListCell.tsx +++ b/libs/table/cells/TypeValueListCell.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { Cell, TypeValue } from '.' import { TypeValueCell } from '.' diff --git a/libs/table/cells/index.ts b/libs/table/cells/index.ts index 5824c0d19..149a50240 100644 --- a/libs/table/cells/index.ts +++ b/libs/table/cells/index.ts @@ -1,3 +1,11 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ + export * from './BooleanCell' export * from './Cell' export * from './DateCell' diff --git a/libs/table/columns/action-col.tsx b/libs/table/columns/action-col.tsx index f7277d001..6c4c12277 100644 --- a/libs/table/columns/action-col.tsx +++ b/libs/table/columns/action-col.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { ColumnDef } from '@tanstack/react-table' import cn from 'classnames' diff --git a/libs/table/columns/index.ts b/libs/table/columns/index.ts index 9ed505dd1..b704f0ba0 100644 --- a/libs/table/columns/index.ts +++ b/libs/table/columns/index.ts @@ -1,2 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ + export * from './action-col' export * from './select-col' diff --git a/libs/table/columns/select-col.tsx b/libs/table/columns/select-col.tsx index a7c5fd50a..ac288840c 100644 --- a/libs/table/columns/select-col.tsx +++ b/libs/table/columns/select-col.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { Row, Table } from '@tanstack/react-table' import { Checkbox, Radio } from '@oxide/ui' diff --git a/libs/table/headers/DefaultHeader.tsx b/libs/table/headers/DefaultHeader.tsx index 9353708bf..d01341269 100644 --- a/libs/table/headers/DefaultHeader.tsx +++ b/libs/table/headers/DefaultHeader.tsx @@ -1,3 +1,11 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ + interface DefaultHeaderProps { children: React.ReactNode } diff --git a/libs/table/headers/index.ts b/libs/table/headers/index.ts index 3417785a7..01d5a7255 100644 --- a/libs/table/headers/index.ts +++ b/libs/table/headers/index.ts @@ -1 +1,9 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ + export * from './DefaultHeader' diff --git a/libs/table/index.ts b/libs/table/index.ts index 876e46545..c6399dc79 100644 --- a/libs/table/index.ts +++ b/libs/table/index.ts @@ -1,3 +1,11 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ + export * from './cells' export * from './columns' export * from './headers' diff --git a/libs/table/react-table.ts b/libs/table/react-table.ts index 39aa8ff9d..61ff98e73 100644 --- a/libs/table/react-table.ts +++ b/libs/table/react-table.ts @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { CellContext, RowData, TableOptions } from '@tanstack/react-table' import { createColumnHelper, diff --git a/libs/ui/index.ts b/libs/ui/index.ts index c5466ad8a..2fb240487 100644 --- a/libs/ui/index.ts +++ b/libs/ui/index.ts @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import useInterval from './lib/hooks/use-interval' import useTimeout from './lib/hooks/use-timeout' import './styles/index.css' diff --git a/libs/ui/lib/__stories__/Colors.stories.tsx b/libs/ui/lib/__stories__/Colors.stories.tsx index 0b7a3ca17..da88c2c73 100644 --- a/libs/ui/lib/__stories__/Colors.stories.tsx +++ b/libs/ui/lib/__stories__/Colors.stories.tsx @@ -1,3 +1,11 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ + // @ts-ignore // import twConfig from '../../../../tailwind.config' diff --git a/libs/ui/lib/__stories__/Typography.stories.tsx b/libs/ui/lib/__stories__/Typography.stories.tsx index c04060899..92c6164d0 100644 --- a/libs/ui/lib/__stories__/Typography.stories.tsx +++ b/libs/ui/lib/__stories__/Typography.stories.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { Section } from '../../util/story-section' export const Default = () => ( diff --git a/libs/ui/lib/action-menu/ActionMenu.stories.tsx b/libs/ui/lib/action-menu/ActionMenu.stories.tsx index 3a1cc38f5..a3f596a8e 100644 --- a/libs/ui/lib/action-menu/ActionMenu.stories.tsx +++ b/libs/ui/lib/action-menu/ActionMenu.stories.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { useState } from 'react' import { Button } from '../button/Button' diff --git a/libs/ui/lib/action-menu/ActionMenu.tsx b/libs/ui/lib/action-menu/ActionMenu.tsx index 239febe35..4df87a2c4 100644 --- a/libs/ui/lib/action-menu/ActionMenu.tsx +++ b/libs/ui/lib/action-menu/ActionMenu.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import * as Dialog from '@radix-ui/react-dialog' import cn from 'classnames' import { matchSorter } from 'match-sorter' diff --git a/libs/ui/lib/auth-code/AuthCodeInput.tsx b/libs/ui/lib/auth-code/AuthCodeInput.tsx index 0fce14c7e..846ad9ce2 100644 --- a/libs/ui/lib/auth-code/AuthCodeInput.tsx +++ b/libs/ui/lib/auth-code/AuthCodeInput.tsx @@ -1,6 +1,19 @@ -// Borrowed with modification from https://github.com/drac94/react-auth-code-input -// Copyright (c) 2020-present Luis Guerrero -// MIT license +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + * + * This file incorporates work covered by the following copyright and + * permission notice: + * + * Copyright (c) 2020-present Luis Guerrero + * + * Use of this source code is governed by an MIT-style + * license that can be found in the LICENSE file or at + * https://opensource.org/licenses/MIT. + */ import React, { forwardRef, useEffect, useImperativeHandle, useRef } from 'react' import invariant from 'tiny-invariant' @@ -55,6 +68,7 @@ const Dash = () => ( ) +// See https://github.com/drac94/react-auth-code-input export const AuthCodeInput = forwardRef( ( { diff --git a/libs/ui/lib/avatar-stack/AvatarStack.stories.tsx b/libs/ui/lib/avatar-stack/AvatarStack.stories.tsx index d6574d7d4..1e71ad7bb 100644 --- a/libs/ui/lib/avatar-stack/AvatarStack.stories.tsx +++ b/libs/ui/lib/avatar-stack/AvatarStack.stories.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { AvatarStack } from './AvatarStack' const AVATAR_DATA = [ diff --git a/libs/ui/lib/avatar-stack/AvatarStack.tsx b/libs/ui/lib/avatar-stack/AvatarStack.tsx index a1f691bc8..405517de2 100644 --- a/libs/ui/lib/avatar-stack/AvatarStack.tsx +++ b/libs/ui/lib/avatar-stack/AvatarStack.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { AvatarProps, AvatarSize } from '../avatar/Avatar' import { Avatar } from '../avatar/Avatar' diff --git a/libs/ui/lib/avatar/Avatar.stories.tsx b/libs/ui/lib/avatar/Avatar.stories.tsx index e498cdae6..4cc627786 100644 --- a/libs/ui/lib/avatar/Avatar.stories.tsx +++ b/libs/ui/lib/avatar/Avatar.stories.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { Avatar } from './Avatar' export const Default = () => diff --git a/libs/ui/lib/avatar/Avatar.tsx b/libs/ui/lib/avatar/Avatar.tsx index 7e4a898e1..a0181e793 100644 --- a/libs/ui/lib/avatar/Avatar.tsx +++ b/libs/ui/lib/avatar/Avatar.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import cn from 'classnames' import { useMemo } from 'react' diff --git a/libs/ui/lib/badge/Badge.stories.tsx b/libs/ui/lib/badge/Badge.stories.tsx index 0b33903ab..5bf55243f 100644 --- a/libs/ui/lib/badge/Badge.stories.tsx +++ b/libs/ui/lib/badge/Badge.stories.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { Section } from '../../util/story-section' import { Badge, badgeColors } from './Badge' import type { BadgeColor, BadgeVariant } from './Badge' diff --git a/libs/ui/lib/badge/Badge.tsx b/libs/ui/lib/badge/Badge.tsx index 522335494..712ff5509 100644 --- a/libs/ui/lib/badge/Badge.tsx +++ b/libs/ui/lib/badge/Badge.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import cn from 'classnames' export type BadgeColor = diff --git a/libs/ui/lib/bulk-action-menu/BulkActionMenu.stories.tsx b/libs/ui/lib/bulk-action-menu/BulkActionMenu.stories.tsx index 54c55688b..1f2b599d4 100644 --- a/libs/ui/lib/bulk-action-menu/BulkActionMenu.stories.tsx +++ b/libs/ui/lib/bulk-action-menu/BulkActionMenu.stories.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { BulkActionMenu } from './BulkActionMenu' export const Default = () => ( diff --git a/libs/ui/lib/bulk-action-menu/BulkActionMenu.tsx b/libs/ui/lib/bulk-action-menu/BulkActionMenu.tsx index 5f89fe547..21a2f5499 100644 --- a/libs/ui/lib/bulk-action-menu/BulkActionMenu.tsx +++ b/libs/ui/lib/bulk-action-menu/BulkActionMenu.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { flattenChildren } from '@oxide/util' import type { ButtonProps } from '../button/Button' diff --git a/libs/ui/lib/button/Button.stories.tsx b/libs/ui/lib/button/Button.stories.tsx index 07100d1fd..5695877a5 100644 --- a/libs/ui/lib/button/Button.stories.tsx +++ b/libs/ui/lib/button/Button.stories.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { Section } from '../../util/story-section' import { Button, variants } from './Button' diff --git a/libs/ui/lib/button/Button.tsx b/libs/ui/lib/button/Button.tsx index a055321a5..888de69ca 100644 --- a/libs/ui/lib/button/Button.tsx +++ b/libs/ui/lib/button/Button.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import cn from 'classnames' import type { MouseEventHandler, ReactNode } from 'react' import { forwardRef } from 'react' diff --git a/libs/ui/lib/button/button.css b/libs/ui/lib/button/button.css index 2808d6adc..c5c9c52d9 100644 --- a/libs/ui/lib/button/button.css +++ b/libs/ui/lib/button/button.css @@ -1,3 +1,11 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ + .ox-button { @apply relative; } diff --git a/libs/ui/lib/checkbox/Checkbox.stories.tsx b/libs/ui/lib/checkbox/Checkbox.stories.tsx index 9e6134ecb..1c40e5121 100644 --- a/libs/ui/lib/checkbox/Checkbox.stories.tsx +++ b/libs/ui/lib/checkbox/Checkbox.stories.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { Checkbox } from './Checkbox' export const All = () => { diff --git a/libs/ui/lib/checkbox/Checkbox.tsx b/libs/ui/lib/checkbox/Checkbox.tsx index a87a65a49..5fcaea155 100644 --- a/libs/ui/lib/checkbox/Checkbox.tsx +++ b/libs/ui/lib/checkbox/Checkbox.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import cn from 'classnames' import { Checkmark12Icon } from '@oxide/ui' diff --git a/libs/ui/lib/date-picker/Calendar.tsx b/libs/ui/lib/date-picker/Calendar.tsx index fcf8e4937..ddee018d0 100644 --- a/libs/ui/lib/date-picker/Calendar.tsx +++ b/libs/ui/lib/date-picker/Calendar.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { DateValue } from '@internationalized/date' import { createCalendar } from '@internationalized/date' import type { CalendarProps } from 'react-aria' diff --git a/libs/ui/lib/date-picker/CalendarCell.tsx b/libs/ui/lib/date-picker/CalendarCell.tsx index e69857c63..01b5805a4 100644 --- a/libs/ui/lib/date-picker/CalendarCell.tsx +++ b/libs/ui/lib/date-picker/CalendarCell.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { CalendarDate } from '@internationalized/date' import { getDayOfWeek, getLocalTimeZone, isSameDay, isToday } from '@internationalized/date' import cn from 'classnames' diff --git a/libs/ui/lib/date-picker/CalendarGrid.tsx b/libs/ui/lib/date-picker/CalendarGrid.tsx index 0f8e578c3..2e71e8c3a 100644 --- a/libs/ui/lib/date-picker/CalendarGrid.tsx +++ b/libs/ui/lib/date-picker/CalendarGrid.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { getWeeksInMonth } from '@internationalized/date' import { useCalendarGrid, useLocale } from 'react-aria' import type { AriaCalendarGridProps } from 'react-aria' diff --git a/libs/ui/lib/date-picker/DateField.tsx b/libs/ui/lib/date-picker/DateField.tsx index 785e632e2..2322e6fa6 100644 --- a/libs/ui/lib/date-picker/DateField.tsx +++ b/libs/ui/lib/date-picker/DateField.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { DateValue } from '@internationalized/date' import { createCalendar } from '@internationalized/date' import type { TimeValue } from '@react-types/datepicker' diff --git a/libs/ui/lib/date-picker/DatePicker.stories.tsx b/libs/ui/lib/date-picker/DatePicker.stories.tsx index 3186fa12d..3037ced86 100644 --- a/libs/ui/lib/date-picker/DatePicker.stories.tsx +++ b/libs/ui/lib/date-picker/DatePicker.stories.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { getLocalTimeZone, now, today } from '@internationalized/date' import { DatePicker } from './DatePicker' diff --git a/libs/ui/lib/date-picker/DatePicker.tsx b/libs/ui/lib/date-picker/DatePicker.tsx index edb5d466e..78333008c 100644 --- a/libs/ui/lib/date-picker/DatePicker.tsx +++ b/libs/ui/lib/date-picker/DatePicker.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { getLocalTimeZone } from '@internationalized/date' import type { DateValue } from '@internationalized/date' import type { TimeValue } from '@react-types/datepicker' diff --git a/libs/ui/lib/date-picker/DateRangePicker.tsx b/libs/ui/lib/date-picker/DateRangePicker.tsx index e711da8c6..4f29e8e30 100644 --- a/libs/ui/lib/date-picker/DateRangePicker.tsx +++ b/libs/ui/lib/date-picker/DateRangePicker.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { getLocalTimeZone } from '@internationalized/date' import type { TimeValue } from '@react-types/datepicker' import cn from 'classnames' diff --git a/libs/ui/lib/date-picker/Dialog.tsx b/libs/ui/lib/date-picker/Dialog.tsx index e6b59a8e4..42abbbd76 100644 --- a/libs/ui/lib/date-picker/Dialog.tsx +++ b/libs/ui/lib/date-picker/Dialog.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { useRef } from 'react' import type { ReactNode } from 'react' import { useDialog } from 'react-aria' diff --git a/libs/ui/lib/date-picker/Popover.tsx b/libs/ui/lib/date-picker/Popover.tsx index ca7b90629..7373d8e93 100644 --- a/libs/ui/lib/date-picker/Popover.tsx +++ b/libs/ui/lib/date-picker/Popover.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { DismissButton, Overlay, usePopover } from '@react-aria/overlays' import type { AriaPopoverProps } from '@react-aria/overlays' import { useRef } from 'react' diff --git a/libs/ui/lib/date-picker/RangeCalendar.tsx b/libs/ui/lib/date-picker/RangeCalendar.tsx index 6055fcfbc..3667285f4 100644 --- a/libs/ui/lib/date-picker/RangeCalendar.tsx +++ b/libs/ui/lib/date-picker/RangeCalendar.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { DateValue } from '@internationalized/date' import { createCalendar } from '@internationalized/date' import cn from 'classnames' diff --git a/libs/ui/lib/divider/Divider.tsx b/libs/ui/lib/divider/Divider.tsx index 15b6088f1..3764ba918 100644 --- a/libs/ui/lib/divider/Divider.tsx +++ b/libs/ui/lib/divider/Divider.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { classed } from '@oxide/util' /** Gets special styling from being inside `.ox-form` */ diff --git a/libs/ui/lib/dropdown-menu/DropdownMenu.tsx b/libs/ui/lib/dropdown-menu/DropdownMenu.tsx index 6682d260b..04aa49f98 100644 --- a/libs/ui/lib/dropdown-menu/DropdownMenu.tsx +++ b/libs/ui/lib/dropdown-menu/DropdownMenu.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { DropdownMenuContentProps, DropdownMenuItemProps, diff --git a/libs/ui/lib/empty-message/EmptyMessage.stories.tsx b/libs/ui/lib/empty-message/EmptyMessage.stories.tsx index 60d053b6e..86e92292f 100644 --- a/libs/ui/lib/empty-message/EmptyMessage.stories.tsx +++ b/libs/ui/lib/empty-message/EmptyMessage.stories.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { Instances24Icon } from '../icons' import { EmptyMessage } from './EmptyMessage' diff --git a/libs/ui/lib/empty-message/EmptyMessage.tsx b/libs/ui/lib/empty-message/EmptyMessage.tsx index 20f6f6209..047debacb 100644 --- a/libs/ui/lib/empty-message/EmptyMessage.tsx +++ b/libs/ui/lib/empty-message/EmptyMessage.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import cn from 'classnames' import type { ReactElement } from 'react' import { Link } from 'react-router-dom' diff --git a/libs/ui/lib/field-label/FieldLabel.stories.tsx b/libs/ui/lib/field-label/FieldLabel.stories.tsx index 5662a8385..21ed2f907 100644 --- a/libs/ui/lib/field-label/FieldLabel.stories.tsx +++ b/libs/ui/lib/field-label/FieldLabel.stories.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { FieldLabel } from './FieldLabel' export const Default = () => hello world diff --git a/libs/ui/lib/field-label/FieldLabel.tsx b/libs/ui/lib/field-label/FieldLabel.tsx index 157cd5fc1..6c49942f2 100644 --- a/libs/ui/lib/field-label/FieldLabel.tsx +++ b/libs/ui/lib/field-label/FieldLabel.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import cn from 'classnames' import type { ElementType, PropsWithChildren } from 'react' diff --git a/libs/ui/lib/file-input/FileInput.spec.tsx b/libs/ui/lib/file-input/FileInput.spec.tsx index 25a482574..e2a3cf5c5 100644 --- a/libs/ui/lib/file-input/FileInput.spec.tsx +++ b/libs/ui/lib/file-input/FileInput.spec.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { act, fireEvent, render, screen, waitFor } from '@testing-library/react' import { describe, expect, it, vi } from 'vitest' diff --git a/libs/ui/lib/file-input/FileInput.stories.tsx b/libs/ui/lib/file-input/FileInput.stories.tsx index 01ddc4084..70ead237e 100644 --- a/libs/ui/lib/file-input/FileInput.stories.tsx +++ b/libs/ui/lib/file-input/FileInput.stories.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { FileInput } from './FileInput' const props = { onChange: (file: File | null) => console.log('onChange', file) } diff --git a/libs/ui/lib/file-input/FileInput.tsx b/libs/ui/lib/file-input/FileInput.tsx index ad2487d8d..de54768c9 100644 --- a/libs/ui/lib/file-input/FileInput.tsx +++ b/libs/ui/lib/file-input/FileInput.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import cn from 'classnames' import filesize from 'filesize' import type { ChangeEvent, ComponentProps, MouseEvent } from 'react' diff --git a/libs/ui/lib/hooks/use-interval.ts b/libs/ui/lib/hooks/use-interval.ts index 91bbc7ff7..d57dc0233 100644 --- a/libs/ui/lib/hooks/use-interval.ts +++ b/libs/ui/lib/hooks/use-interval.ts @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { useEffect, useRef } from 'react' interface UseIntervalProps { diff --git a/libs/ui/lib/hooks/use-stepped-scroll.ts b/libs/ui/lib/hooks/use-stepped-scroll.ts index b4ae32a67..7bb4f0218 100644 --- a/libs/ui/lib/hooks/use-stepped-scroll.ts +++ b/libs/ui/lib/hooks/use-stepped-scroll.ts @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { RefObject } from 'react' import { useEffect } from 'react' diff --git a/libs/ui/lib/hooks/use-timeout.ts b/libs/ui/lib/hooks/use-timeout.ts index cb6241fc6..f18f505ff 100644 --- a/libs/ui/lib/hooks/use-timeout.ts +++ b/libs/ui/lib/hooks/use-timeout.ts @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { useEffect, useRef } from 'react' // use null delay to prevent the timeout from firing diff --git a/libs/ui/lib/icons/Access16Icon.tsx b/libs/ui/lib/icons/Access16Icon.tsx index fd2eeb816..6c9c6519a 100644 --- a/libs/ui/lib/icons/Access16Icon.tsx +++ b/libs/ui/lib/icons/Access16Icon.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { SVGProps } from 'react' interface SVGRProps { diff --git a/libs/ui/lib/icons/Access24Icon.tsx b/libs/ui/lib/icons/Access24Icon.tsx index 3f7b180a5..a4bb51aed 100644 --- a/libs/ui/lib/icons/Access24Icon.tsx +++ b/libs/ui/lib/icons/Access24Icon.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { SVGProps } from 'react' interface SVGRProps { diff --git a/libs/ui/lib/icons/Action16Icon.tsx b/libs/ui/lib/icons/Action16Icon.tsx index dddf926cc..b24fa66d6 100644 --- a/libs/ui/lib/icons/Action16Icon.tsx +++ b/libs/ui/lib/icons/Action16Icon.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { SVGProps } from 'react' interface SVGRProps { diff --git a/libs/ui/lib/icons/Action24Icon.tsx b/libs/ui/lib/icons/Action24Icon.tsx index 7df960763..e979e03ae 100644 --- a/libs/ui/lib/icons/Action24Icon.tsx +++ b/libs/ui/lib/icons/Action24Icon.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { SVGProps } from 'react' interface SVGRProps { diff --git a/libs/ui/lib/icons/Add12Icon.tsx b/libs/ui/lib/icons/Add12Icon.tsx index d0896faa5..973446c7f 100644 --- a/libs/ui/lib/icons/Add12Icon.tsx +++ b/libs/ui/lib/icons/Add12Icon.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { SVGProps } from 'react' interface SVGRProps { diff --git a/libs/ui/lib/icons/AddRoundel12Icon.tsx b/libs/ui/lib/icons/AddRoundel12Icon.tsx index 2d561ff83..a09e19b68 100644 --- a/libs/ui/lib/icons/AddRoundel12Icon.tsx +++ b/libs/ui/lib/icons/AddRoundel12Icon.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { SVGProps } from 'react' interface SVGRProps { diff --git a/libs/ui/lib/icons/AddRoundel16Icon.tsx b/libs/ui/lib/icons/AddRoundel16Icon.tsx index 63a7a7b41..2bf9a4e8a 100644 --- a/libs/ui/lib/icons/AddRoundel16Icon.tsx +++ b/libs/ui/lib/icons/AddRoundel16Icon.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { SVGProps } from 'react' interface SVGRProps { diff --git a/libs/ui/lib/icons/AddRoundel24Icon.tsx b/libs/ui/lib/icons/AddRoundel24Icon.tsx index b41024fcc..2203eeaa2 100644 --- a/libs/ui/lib/icons/AddRoundel24Icon.tsx +++ b/libs/ui/lib/icons/AddRoundel24Icon.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { SVGProps } from 'react' interface SVGRProps { diff --git a/libs/ui/lib/icons/AlpineDistroIcon.tsx b/libs/ui/lib/icons/AlpineDistroIcon.tsx index c200791e5..e202b0cb0 100644 --- a/libs/ui/lib/icons/AlpineDistroIcon.tsx +++ b/libs/ui/lib/icons/AlpineDistroIcon.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { SVGProps } from 'react' interface SVGRProps { diff --git a/libs/ui/lib/icons/ArchDistroIcon.tsx b/libs/ui/lib/icons/ArchDistroIcon.tsx index 723f587b4..ed1f50444 100644 --- a/libs/ui/lib/icons/ArchDistroIcon.tsx +++ b/libs/ui/lib/icons/ArchDistroIcon.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { SVGProps } from 'react' interface SVGRProps { diff --git a/libs/ui/lib/icons/Calendar16Icon.tsx b/libs/ui/lib/icons/Calendar16Icon.tsx index 11bccdf75..7b5214521 100644 --- a/libs/ui/lib/icons/Calendar16Icon.tsx +++ b/libs/ui/lib/icons/Calendar16Icon.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { SVGProps } from 'react' interface SVGRProps { diff --git a/libs/ui/lib/icons/Calendar24Icon.tsx b/libs/ui/lib/icons/Calendar24Icon.tsx index d46f4ed27..743a670be 100644 --- a/libs/ui/lib/icons/Calendar24Icon.tsx +++ b/libs/ui/lib/icons/Calendar24Icon.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { SVGProps } from 'react' interface SVGRProps { diff --git a/libs/ui/lib/icons/CentosDistroIcon.tsx b/libs/ui/lib/icons/CentosDistroIcon.tsx index 5af34a030..4eacf9a90 100644 --- a/libs/ui/lib/icons/CentosDistroIcon.tsx +++ b/libs/ui/lib/icons/CentosDistroIcon.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { SVGProps } from 'react' interface SVGRProps { diff --git a/libs/ui/lib/icons/Chat16Icon.tsx b/libs/ui/lib/icons/Chat16Icon.tsx index 3b8a4a38a..499e3773a 100644 --- a/libs/ui/lib/icons/Chat16Icon.tsx +++ b/libs/ui/lib/icons/Chat16Icon.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { SVGProps } from 'react' interface SVGRProps { diff --git a/libs/ui/lib/icons/Chat24Icon.tsx b/libs/ui/lib/icons/Chat24Icon.tsx index 75e1994f1..713a81b86 100644 --- a/libs/ui/lib/icons/Chat24Icon.tsx +++ b/libs/ui/lib/icons/Chat24Icon.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { SVGProps } from 'react' interface SVGRProps { diff --git a/libs/ui/lib/icons/Checkmark12Icon.tsx b/libs/ui/lib/icons/Checkmark12Icon.tsx index 23bbcd108..1b84c8b86 100644 --- a/libs/ui/lib/icons/Checkmark12Icon.tsx +++ b/libs/ui/lib/icons/Checkmark12Icon.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { SVGProps } from 'react' interface SVGRProps { diff --git a/libs/ui/lib/icons/Clipboard12Icon.tsx b/libs/ui/lib/icons/Clipboard12Icon.tsx index d404cc88a..8b3bee3c8 100644 --- a/libs/ui/lib/icons/Clipboard12Icon.tsx +++ b/libs/ui/lib/icons/Clipboard12Icon.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { SVGProps } from 'react' interface SVGRProps { diff --git a/libs/ui/lib/icons/Clipboard16Icon.tsx b/libs/ui/lib/icons/Clipboard16Icon.tsx index 364f828e0..a60dcd10f 100644 --- a/libs/ui/lib/icons/Clipboard16Icon.tsx +++ b/libs/ui/lib/icons/Clipboard16Icon.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { SVGProps } from 'react' interface SVGRProps { diff --git a/libs/ui/lib/icons/Clipboard24Icon.tsx b/libs/ui/lib/icons/Clipboard24Icon.tsx index b4fd2e045..4d16ad0af 100644 --- a/libs/ui/lib/icons/Clipboard24Icon.tsx +++ b/libs/ui/lib/icons/Clipboard24Icon.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { SVGProps } from 'react' interface SVGRProps { diff --git a/libs/ui/lib/icons/Close12Icon.tsx b/libs/ui/lib/icons/Close12Icon.tsx index 643f3d585..d928ca05c 100644 --- a/libs/ui/lib/icons/Close12Icon.tsx +++ b/libs/ui/lib/icons/Close12Icon.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { SVGProps } from 'react' interface SVGRProps { diff --git a/libs/ui/lib/icons/Close16Icon.tsx b/libs/ui/lib/icons/Close16Icon.tsx index 95801d579..a88f7cb23 100644 --- a/libs/ui/lib/icons/Close16Icon.tsx +++ b/libs/ui/lib/icons/Close16Icon.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { SVGProps } from 'react' interface SVGRProps { diff --git a/libs/ui/lib/icons/Close8Icon.tsx b/libs/ui/lib/icons/Close8Icon.tsx index d56dc0c1c..b0fa4465e 100644 --- a/libs/ui/lib/icons/Close8Icon.tsx +++ b/libs/ui/lib/icons/Close8Icon.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { SVGProps } from 'react' interface SVGRProps { diff --git a/libs/ui/lib/icons/Cloud16Icon.tsx b/libs/ui/lib/icons/Cloud16Icon.tsx index b5ffbd8a7..d10cc4b47 100644 --- a/libs/ui/lib/icons/Cloud16Icon.tsx +++ b/libs/ui/lib/icons/Cloud16Icon.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { SVGProps } from 'react' interface SVGRProps { diff --git a/libs/ui/lib/icons/Cloud24Icon.tsx b/libs/ui/lib/icons/Cloud24Icon.tsx index cecc1942b..55bc50ed1 100644 --- a/libs/ui/lib/icons/Cloud24Icon.tsx +++ b/libs/ui/lib/icons/Cloud24Icon.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { SVGProps } from 'react' interface SVGRProps { diff --git a/libs/ui/lib/icons/Compability16Icon.tsx b/libs/ui/lib/icons/Compability16Icon.tsx index 29310e2bd..79f80f7d9 100644 --- a/libs/ui/lib/icons/Compability16Icon.tsx +++ b/libs/ui/lib/icons/Compability16Icon.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { SVGProps } from 'react' interface SVGRProps { diff --git a/libs/ui/lib/icons/Compatibility24Icon.tsx b/libs/ui/lib/icons/Compatibility24Icon.tsx index adc185e0d..37580e7ee 100644 --- a/libs/ui/lib/icons/Compatibility24Icon.tsx +++ b/libs/ui/lib/icons/Compatibility24Icon.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { SVGProps } from 'react' interface SVGRProps { diff --git a/libs/ui/lib/icons/Contrast16Icon.tsx b/libs/ui/lib/icons/Contrast16Icon.tsx index 7bd9b8910..ac9114b2d 100644 --- a/libs/ui/lib/icons/Contrast16Icon.tsx +++ b/libs/ui/lib/icons/Contrast16Icon.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { SVGProps } from 'react' interface SVGRProps { diff --git a/libs/ui/lib/icons/Contrast24Icon.tsx b/libs/ui/lib/icons/Contrast24Icon.tsx index 66d5b7c3a..cb3719e7e 100644 --- a/libs/ui/lib/icons/Contrast24Icon.tsx +++ b/libs/ui/lib/icons/Contrast24Icon.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { SVGProps } from 'react' interface SVGRProps { diff --git a/libs/ui/lib/icons/Cpu16Icon.tsx b/libs/ui/lib/icons/Cpu16Icon.tsx index ad7961b50..bca1b0417 100644 --- a/libs/ui/lib/icons/Cpu16Icon.tsx +++ b/libs/ui/lib/icons/Cpu16Icon.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { SVGProps } from 'react' interface SVGRProps { diff --git a/libs/ui/lib/icons/Cpu24Icon.tsx b/libs/ui/lib/icons/Cpu24Icon.tsx index 4bf0e7e46..5b59bbcc8 100644 --- a/libs/ui/lib/icons/Cpu24Icon.tsx +++ b/libs/ui/lib/icons/Cpu24Icon.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { SVGProps } from 'react' interface SVGRProps { diff --git a/libs/ui/lib/icons/CpuLargeMiscIcon.tsx b/libs/ui/lib/icons/CpuLargeMiscIcon.tsx index 01b643f88..1d8e5dfc8 100644 --- a/libs/ui/lib/icons/CpuLargeMiscIcon.tsx +++ b/libs/ui/lib/icons/CpuLargeMiscIcon.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { SVGProps } from 'react' interface SVGRProps { diff --git a/libs/ui/lib/icons/CpuSmallMiscIcon.tsx b/libs/ui/lib/icons/CpuSmallMiscIcon.tsx index af4d6165b..f97ffe967 100644 --- a/libs/ui/lib/icons/CpuSmallMiscIcon.tsx +++ b/libs/ui/lib/icons/CpuSmallMiscIcon.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { SVGProps } from 'react' interface SVGRProps { diff --git a/libs/ui/lib/icons/DebianDistroIcon.tsx b/libs/ui/lib/icons/DebianDistroIcon.tsx index fe7a14ff7..5ef34d44d 100644 --- a/libs/ui/lib/icons/DebianDistroIcon.tsx +++ b/libs/ui/lib/icons/DebianDistroIcon.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { SVGProps } from 'react' interface SVGRProps { diff --git a/libs/ui/lib/icons/Delete16Icon.tsx b/libs/ui/lib/icons/Delete16Icon.tsx index 5d8cc0687..99b71e302 100644 --- a/libs/ui/lib/icons/Delete16Icon.tsx +++ b/libs/ui/lib/icons/Delete16Icon.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { SVGProps } from 'react' interface SVGRProps { diff --git a/libs/ui/lib/icons/Delete24Icon.tsx b/libs/ui/lib/icons/Delete24Icon.tsx index 3987732af..f1c38de1f 100644 --- a/libs/ui/lib/icons/Delete24Icon.tsx +++ b/libs/ui/lib/icons/Delete24Icon.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { SVGProps } from 'react' interface SVGRProps { diff --git a/libs/ui/lib/icons/DirectionDownIcon.tsx b/libs/ui/lib/icons/DirectionDownIcon.tsx index 74fedbbe8..b3eca4687 100644 --- a/libs/ui/lib/icons/DirectionDownIcon.tsx +++ b/libs/ui/lib/icons/DirectionDownIcon.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { SVGProps } from 'react' interface SVGRProps { diff --git a/libs/ui/lib/icons/DirectionLeftIcon.tsx b/libs/ui/lib/icons/DirectionLeftIcon.tsx index 51a22a210..88cc0000a 100644 --- a/libs/ui/lib/icons/DirectionLeftIcon.tsx +++ b/libs/ui/lib/icons/DirectionLeftIcon.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { SVGProps } from 'react' interface SVGRProps { diff --git a/libs/ui/lib/icons/DirectionRightIcon.tsx b/libs/ui/lib/icons/DirectionRightIcon.tsx index b5c2941c2..c56a32944 100644 --- a/libs/ui/lib/icons/DirectionRightIcon.tsx +++ b/libs/ui/lib/icons/DirectionRightIcon.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { SVGProps } from 'react' interface SVGRProps { diff --git a/libs/ui/lib/icons/DirectionUpIcon.tsx b/libs/ui/lib/icons/DirectionUpIcon.tsx index b8ed4e7c6..910f975b9 100644 --- a/libs/ui/lib/icons/DirectionUpIcon.tsx +++ b/libs/ui/lib/icons/DirectionUpIcon.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { SVGProps } from 'react' interface SVGRProps { diff --git a/libs/ui/lib/icons/Disabled12Icon.tsx b/libs/ui/lib/icons/Disabled12Icon.tsx index e5dd93671..4f838a22d 100644 --- a/libs/ui/lib/icons/Disabled12Icon.tsx +++ b/libs/ui/lib/icons/Disabled12Icon.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { SVGProps } from 'react' interface SVGRProps { diff --git a/libs/ui/lib/icons/DiskLargeMiscIcon.tsx b/libs/ui/lib/icons/DiskLargeMiscIcon.tsx index 8ce612627..92f5acb17 100644 --- a/libs/ui/lib/icons/DiskLargeMiscIcon.tsx +++ b/libs/ui/lib/icons/DiskLargeMiscIcon.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { SVGProps } from 'react' interface SVGRProps { diff --git a/libs/ui/lib/icons/DiskSmallMiscIcon.tsx b/libs/ui/lib/icons/DiskSmallMiscIcon.tsx index 2c76282b4..cd65d11c6 100644 --- a/libs/ui/lib/icons/DiskSmallMiscIcon.tsx +++ b/libs/ui/lib/icons/DiskSmallMiscIcon.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { SVGProps } from 'react' interface SVGRProps { diff --git a/libs/ui/lib/icons/Dislike16Icon.tsx b/libs/ui/lib/icons/Dislike16Icon.tsx index b37b12a0c..c484b1aa7 100644 --- a/libs/ui/lib/icons/Dislike16Icon.tsx +++ b/libs/ui/lib/icons/Dislike16Icon.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { SVGProps } from 'react' interface SVGRProps { diff --git a/libs/ui/lib/icons/Dislike24Icon.tsx b/libs/ui/lib/icons/Dislike24Icon.tsx index b11e12d3c..5b44779d9 100644 --- a/libs/ui/lib/icons/Dislike24Icon.tsx +++ b/libs/ui/lib/icons/Dislike24Icon.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { SVGProps } from 'react' interface SVGRProps { diff --git a/libs/ui/lib/icons/Document16Icon.tsx b/libs/ui/lib/icons/Document16Icon.tsx index e27f8a391..8b8ff6369 100644 --- a/libs/ui/lib/icons/Document16Icon.tsx +++ b/libs/ui/lib/icons/Document16Icon.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { SVGProps } from 'react' interface SVGRProps { diff --git a/libs/ui/lib/icons/Document24Icon.tsx b/libs/ui/lib/icons/Document24Icon.tsx index 887b18585..9da83d44d 100644 --- a/libs/ui/lib/icons/Document24Icon.tsx +++ b/libs/ui/lib/icons/Document24Icon.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { SVGProps } from 'react' interface SVGRProps { diff --git a/libs/ui/lib/icons/Dots16Icon.tsx b/libs/ui/lib/icons/Dots16Icon.tsx index e010b0640..f6716ba5c 100644 --- a/libs/ui/lib/icons/Dots16Icon.tsx +++ b/libs/ui/lib/icons/Dots16Icon.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { SVGProps } from 'react' interface SVGRProps { diff --git a/libs/ui/lib/icons/Dots24Icon.tsx b/libs/ui/lib/icons/Dots24Icon.tsx index b37315788..ec73acc79 100644 --- a/libs/ui/lib/icons/Dots24Icon.tsx +++ b/libs/ui/lib/icons/Dots24Icon.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { SVGProps } from 'react' interface SVGRProps { diff --git a/libs/ui/lib/icons/Download24Icon.tsx b/libs/ui/lib/icons/Download24Icon.tsx index 3f9840bf1..8d1085d9b 100644 --- a/libs/ui/lib/icons/Download24Icon.tsx +++ b/libs/ui/lib/icons/Download24Icon.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { SVGProps } from 'react' interface SVGRProps { diff --git a/libs/ui/lib/icons/DownloadRoundel16Icon.tsx b/libs/ui/lib/icons/DownloadRoundel16Icon.tsx index 42d1d480c..4235ee2cb 100644 --- a/libs/ui/lib/icons/DownloadRoundel16Icon.tsx +++ b/libs/ui/lib/icons/DownloadRoundel16Icon.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { SVGProps } from 'react' interface SVGRProps { diff --git a/libs/ui/lib/icons/Edit16Icon.tsx b/libs/ui/lib/icons/Edit16Icon.tsx index d0c5ba1f5..aac14d5fd 100644 --- a/libs/ui/lib/icons/Edit16Icon.tsx +++ b/libs/ui/lib/icons/Edit16Icon.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { SVGProps } from 'react' interface SVGRProps { diff --git a/libs/ui/lib/icons/Email16Icon.tsx b/libs/ui/lib/icons/Email16Icon.tsx index bdcaecfbf..18771c5b2 100644 --- a/libs/ui/lib/icons/Email16Icon.tsx +++ b/libs/ui/lib/icons/Email16Icon.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { SVGProps } from 'react' interface SVGRProps { diff --git a/libs/ui/lib/icons/Email24Icon.tsx b/libs/ui/lib/icons/Email24Icon.tsx index 7b185713b..1aac82d07 100644 --- a/libs/ui/lib/icons/Email24Icon.tsx +++ b/libs/ui/lib/icons/Email24Icon.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { SVGProps } from 'react' interface SVGRProps { diff --git a/libs/ui/lib/icons/Error12Icon.tsx b/libs/ui/lib/icons/Error12Icon.tsx index f5809a242..496b4cc1c 100644 --- a/libs/ui/lib/icons/Error12Icon.tsx +++ b/libs/ui/lib/icons/Error12Icon.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { SVGProps } from 'react' interface SVGRProps { diff --git a/libs/ui/lib/icons/Error16Icon.tsx b/libs/ui/lib/icons/Error16Icon.tsx index ffd794d94..f5439549b 100644 --- a/libs/ui/lib/icons/Error16Icon.tsx +++ b/libs/ui/lib/icons/Error16Icon.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { SVGProps } from 'react' interface SVGRProps { diff --git a/libs/ui/lib/icons/Error24Icon.tsx b/libs/ui/lib/icons/Error24Icon.tsx index 995eab1ec..5c0396d54 100644 --- a/libs/ui/lib/icons/Error24Icon.tsx +++ b/libs/ui/lib/icons/Error24Icon.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { SVGProps } from 'react' interface SVGRProps { diff --git a/libs/ui/lib/icons/FedoraDistroIcon.tsx b/libs/ui/lib/icons/FedoraDistroIcon.tsx index a34997b88..eba56275b 100644 --- a/libs/ui/lib/icons/FedoraDistroIcon.tsx +++ b/libs/ui/lib/icons/FedoraDistroIcon.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { SVGProps } from 'react' interface SVGRProps { diff --git a/libs/ui/lib/icons/Filter12Icon.tsx b/libs/ui/lib/icons/Filter12Icon.tsx index eaf488fd7..8ab01ff17 100644 --- a/libs/ui/lib/icons/Filter12Icon.tsx +++ b/libs/ui/lib/icons/Filter12Icon.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { SVGProps } from 'react' interface SVGRProps { diff --git a/libs/ui/lib/icons/Firewall16Icon.tsx b/libs/ui/lib/icons/Firewall16Icon.tsx index 11bc58af2..64605edfd 100644 --- a/libs/ui/lib/icons/Firewall16Icon.tsx +++ b/libs/ui/lib/icons/Firewall16Icon.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { SVGProps } from 'react' interface SVGRProps { diff --git a/libs/ui/lib/icons/Firewall24Icon.tsx b/libs/ui/lib/icons/Firewall24Icon.tsx index 5c6a19652..fdbc6d181 100644 --- a/libs/ui/lib/icons/Firewall24Icon.tsx +++ b/libs/ui/lib/icons/Firewall24Icon.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { SVGProps } from 'react' interface SVGRProps { diff --git a/libs/ui/lib/icons/Folder16Icon.tsx b/libs/ui/lib/icons/Folder16Icon.tsx index 091ac6b6d..0f87f4405 100644 --- a/libs/ui/lib/icons/Folder16Icon.tsx +++ b/libs/ui/lib/icons/Folder16Icon.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { SVGProps } from 'react' interface SVGRProps { diff --git a/libs/ui/lib/icons/Folder24Icon.tsx b/libs/ui/lib/icons/Folder24Icon.tsx index e0fbf7ab5..bf038565f 100644 --- a/libs/ui/lib/icons/Folder24Icon.tsx +++ b/libs/ui/lib/icons/Folder24Icon.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { SVGProps } from 'react' interface SVGRProps { diff --git a/libs/ui/lib/icons/FreebsdDistroIcon.tsx b/libs/ui/lib/icons/FreebsdDistroIcon.tsx index fefcd6365..911a1b9bc 100644 --- a/libs/ui/lib/icons/FreebsdDistroIcon.tsx +++ b/libs/ui/lib/icons/FreebsdDistroIcon.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { SVGProps } from 'react' interface SVGRProps { diff --git a/libs/ui/lib/icons/Gateway16Icon.tsx b/libs/ui/lib/icons/Gateway16Icon.tsx index c7ba06541..16f1ce424 100644 --- a/libs/ui/lib/icons/Gateway16Icon.tsx +++ b/libs/ui/lib/icons/Gateway16Icon.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { SVGProps } from 'react' interface SVGRProps { diff --git a/libs/ui/lib/icons/Gateway24Icon.tsx b/libs/ui/lib/icons/Gateway24Icon.tsx index 6361f9e29..745bf4419 100644 --- a/libs/ui/lib/icons/Gateway24Icon.tsx +++ b/libs/ui/lib/icons/Gateway24Icon.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { SVGProps } from 'react' interface SVGRProps { diff --git a/libs/ui/lib/icons/Health16Icon.tsx b/libs/ui/lib/icons/Health16Icon.tsx index 4869908b7..821ee29fe 100644 --- a/libs/ui/lib/icons/Health16Icon.tsx +++ b/libs/ui/lib/icons/Health16Icon.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { SVGProps } from 'react' interface SVGRProps { diff --git a/libs/ui/lib/icons/Heart24Icon.tsx b/libs/ui/lib/icons/Heart24Icon.tsx index d5de07fe4..700e48335 100644 --- a/libs/ui/lib/icons/Heart24Icon.tsx +++ b/libs/ui/lib/icons/Heart24Icon.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { SVGProps } from 'react' interface SVGRProps { diff --git a/libs/ui/lib/icons/Hide12Icon.tsx b/libs/ui/lib/icons/Hide12Icon.tsx index be7b60a19..f8299b43d 100644 --- a/libs/ui/lib/icons/Hide12Icon.tsx +++ b/libs/ui/lib/icons/Hide12Icon.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { SVGProps } from 'react' interface SVGRProps { diff --git a/libs/ui/lib/icons/Hide16Icon.tsx b/libs/ui/lib/icons/Hide16Icon.tsx index 31a844ecf..f9b0ca218 100644 --- a/libs/ui/lib/icons/Hide16Icon.tsx +++ b/libs/ui/lib/icons/Hide16Icon.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { SVGProps } from 'react' interface SVGRProps { diff --git a/libs/ui/lib/icons/Hide24Icon.tsx b/libs/ui/lib/icons/Hide24Icon.tsx index 796ac8c37..15a7461f0 100644 --- a/libs/ui/lib/icons/Hide24Icon.tsx +++ b/libs/ui/lib/icons/Hide24Icon.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { SVGProps } from 'react' interface SVGRProps { diff --git a/libs/ui/lib/icons/Hourglass16Icon.tsx b/libs/ui/lib/icons/Hourglass16Icon.tsx index c97cf344a..ee1a60e81 100644 --- a/libs/ui/lib/icons/Hourglass16Icon.tsx +++ b/libs/ui/lib/icons/Hourglass16Icon.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { SVGProps } from 'react' interface SVGRProps { diff --git a/libs/ui/lib/icons/Hourglass24Icon.tsx b/libs/ui/lib/icons/Hourglass24Icon.tsx index 8e21074a8..eeae91b8e 100644 --- a/libs/ui/lib/icons/Hourglass24Icon.tsx +++ b/libs/ui/lib/icons/Hourglass24Icon.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { SVGProps } from 'react' interface SVGRProps { diff --git a/libs/ui/lib/icons/Images16Icon.tsx b/libs/ui/lib/icons/Images16Icon.tsx index 4993ee673..c7ed31576 100644 --- a/libs/ui/lib/icons/Images16Icon.tsx +++ b/libs/ui/lib/icons/Images16Icon.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { SVGProps } from 'react' interface SVGRProps { diff --git a/libs/ui/lib/icons/Images24Icon.tsx b/libs/ui/lib/icons/Images24Icon.tsx index 89b3da8b6..1f2fe6972 100644 --- a/libs/ui/lib/icons/Images24Icon.tsx +++ b/libs/ui/lib/icons/Images24Icon.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { SVGProps } from 'react' interface SVGRProps { diff --git a/libs/ui/lib/icons/Info16Icon.tsx b/libs/ui/lib/icons/Info16Icon.tsx index 77977004c..065d0aa53 100644 --- a/libs/ui/lib/icons/Info16Icon.tsx +++ b/libs/ui/lib/icons/Info16Icon.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { SVGProps } from 'react' interface SVGRProps { diff --git a/libs/ui/lib/icons/Info24Icon.tsx b/libs/ui/lib/icons/Info24Icon.tsx index 27dc70aed..3a8af726f 100644 --- a/libs/ui/lib/icons/Info24Icon.tsx +++ b/libs/ui/lib/icons/Info24Icon.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { SVGProps } from 'react' interface SVGRProps { diff --git a/libs/ui/lib/icons/Instances16Icon.tsx b/libs/ui/lib/icons/Instances16Icon.tsx index 3e462c956..b340ce39e 100644 --- a/libs/ui/lib/icons/Instances16Icon.tsx +++ b/libs/ui/lib/icons/Instances16Icon.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { SVGProps } from 'react' interface SVGRProps { diff --git a/libs/ui/lib/icons/Instances24Icon.tsx b/libs/ui/lib/icons/Instances24Icon.tsx index 9d7ab78e1..110d6447e 100644 --- a/libs/ui/lib/icons/Instances24Icon.tsx +++ b/libs/ui/lib/icons/Instances24Icon.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { SVGProps } from 'react' interface SVGRProps { diff --git a/libs/ui/lib/icons/Integration16Icon.tsx b/libs/ui/lib/icons/Integration16Icon.tsx index 699bde0a5..f6328dfe7 100644 --- a/libs/ui/lib/icons/Integration16Icon.tsx +++ b/libs/ui/lib/icons/Integration16Icon.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { SVGProps } from 'react' interface SVGRProps { diff --git a/libs/ui/lib/icons/IpGlobal16Icon.tsx b/libs/ui/lib/icons/IpGlobal16Icon.tsx index 6c1f5ae9e..e0ba5db80 100644 --- a/libs/ui/lib/icons/IpGlobal16Icon.tsx +++ b/libs/ui/lib/icons/IpGlobal16Icon.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { SVGProps } from 'react' interface SVGRProps { diff --git a/libs/ui/lib/icons/IpGlobal24Icon.tsx b/libs/ui/lib/icons/IpGlobal24Icon.tsx index d0a79acc4..1eb0d5de6 100644 --- a/libs/ui/lib/icons/IpGlobal24Icon.tsx +++ b/libs/ui/lib/icons/IpGlobal24Icon.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { SVGProps } from 'react' interface SVGRProps { diff --git a/libs/ui/lib/icons/IpLocal16Icon.tsx b/libs/ui/lib/icons/IpLocal16Icon.tsx index 8151cfdf7..c6827c2d4 100644 --- a/libs/ui/lib/icons/IpLocal16Icon.tsx +++ b/libs/ui/lib/icons/IpLocal16Icon.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { SVGProps } from 'react' interface SVGRProps { diff --git a/libs/ui/lib/icons/IpLocal24Icon.tsx b/libs/ui/lib/icons/IpLocal24Icon.tsx index ee12fef0f..0b5aa0221 100644 --- a/libs/ui/lib/icons/IpLocal24Icon.tsx +++ b/libs/ui/lib/icons/IpLocal24Icon.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { SVGProps } from 'react' interface SVGRProps { diff --git a/libs/ui/lib/icons/Issues16Icon.tsx b/libs/ui/lib/icons/Issues16Icon.tsx index 0ec86ecd6..be5e31d1e 100644 --- a/libs/ui/lib/icons/Issues16Icon.tsx +++ b/libs/ui/lib/icons/Issues16Icon.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { SVGProps } from 'react' interface SVGRProps { diff --git a/libs/ui/lib/icons/Issues24Icon.tsx b/libs/ui/lib/icons/Issues24Icon.tsx index f38419427..a9b11926c 100644 --- a/libs/ui/lib/icons/Issues24Icon.tsx +++ b/libs/ui/lib/icons/Issues24Icon.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { SVGProps } from 'react' interface SVGRProps { diff --git a/libs/ui/lib/icons/Key12Icon.tsx b/libs/ui/lib/icons/Key12Icon.tsx index dfbd3e1f0..64f1ca54f 100644 --- a/libs/ui/lib/icons/Key12Icon.tsx +++ b/libs/ui/lib/icons/Key12Icon.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { SVGProps } from 'react' interface SVGRProps { diff --git a/libs/ui/lib/icons/Key16Icon.tsx b/libs/ui/lib/icons/Key16Icon.tsx index a26f20109..46aa115ad 100644 --- a/libs/ui/lib/icons/Key16Icon.tsx +++ b/libs/ui/lib/icons/Key16Icon.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { SVGProps } from 'react' interface SVGRProps { diff --git a/libs/ui/lib/icons/Key24Icon.tsx b/libs/ui/lib/icons/Key24Icon.tsx index dc6bb62cf..244f1e8f3 100644 --- a/libs/ui/lib/icons/Key24Icon.tsx +++ b/libs/ui/lib/icons/Key24Icon.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { SVGProps } from 'react' interface SVGRProps { diff --git a/libs/ui/lib/icons/Like16Icon.tsx b/libs/ui/lib/icons/Like16Icon.tsx index 92b1d4ca5..e413f7752 100644 --- a/libs/ui/lib/icons/Like16Icon.tsx +++ b/libs/ui/lib/icons/Like16Icon.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { SVGProps } from 'react' interface SVGRProps { diff --git a/libs/ui/lib/icons/Like24Icon.tsx b/libs/ui/lib/icons/Like24Icon.tsx index 6dd193ba3..6ab9446de 100644 --- a/libs/ui/lib/icons/Like24Icon.tsx +++ b/libs/ui/lib/icons/Like24Icon.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { SVGProps } from 'react' interface SVGRProps { diff --git a/libs/ui/lib/icons/Link16Icon.tsx b/libs/ui/lib/icons/Link16Icon.tsx index 542a31d51..c88a54b14 100644 --- a/libs/ui/lib/icons/Link16Icon.tsx +++ b/libs/ui/lib/icons/Link16Icon.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { SVGProps } from 'react' interface SVGRProps { diff --git a/libs/ui/lib/icons/LoadBalancer16Icon.tsx b/libs/ui/lib/icons/LoadBalancer16Icon.tsx index 76fe17207..898f1d781 100644 --- a/libs/ui/lib/icons/LoadBalancer16Icon.tsx +++ b/libs/ui/lib/icons/LoadBalancer16Icon.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { SVGProps } from 'react' interface SVGRProps { diff --git a/libs/ui/lib/icons/LoadBalancer24Icon.tsx b/libs/ui/lib/icons/LoadBalancer24Icon.tsx index 002ebcdf9..4cbdbd70e 100644 --- a/libs/ui/lib/icons/LoadBalancer24Icon.tsx +++ b/libs/ui/lib/icons/LoadBalancer24Icon.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { SVGProps } from 'react' interface SVGRProps { diff --git a/libs/ui/lib/icons/Loader12Icon.tsx b/libs/ui/lib/icons/Loader12Icon.tsx index ee7cc37b3..d177be0e4 100644 --- a/libs/ui/lib/icons/Loader12Icon.tsx +++ b/libs/ui/lib/icons/Loader12Icon.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { SVGProps } from 'react' interface SVGRProps { diff --git a/libs/ui/lib/icons/Location24Icon.tsx b/libs/ui/lib/icons/Location24Icon.tsx index 1fe79c055..1558d5523 100644 --- a/libs/ui/lib/icons/Location24Icon.tsx +++ b/libs/ui/lib/icons/Location24Icon.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { SVGProps } from 'react' interface SVGRProps { diff --git a/libs/ui/lib/icons/Logs16Icon.tsx b/libs/ui/lib/icons/Logs16Icon.tsx index 3d29b45b7..497bd92aa 100644 --- a/libs/ui/lib/icons/Logs16Icon.tsx +++ b/libs/ui/lib/icons/Logs16Icon.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { SVGProps } from 'react' interface SVGRProps { diff --git a/libs/ui/lib/icons/Logs24Icon.tsx b/libs/ui/lib/icons/Logs24Icon.tsx index c43babac4..fee4c283a 100644 --- a/libs/ui/lib/icons/Logs24Icon.tsx +++ b/libs/ui/lib/icons/Logs24Icon.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { SVGProps } from 'react' interface SVGRProps { diff --git a/libs/ui/lib/icons/Metrics16Icon.tsx b/libs/ui/lib/icons/Metrics16Icon.tsx index e29e63b00..3186367a2 100644 --- a/libs/ui/lib/icons/Metrics16Icon.tsx +++ b/libs/ui/lib/icons/Metrics16Icon.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { SVGProps } from 'react' interface SVGRProps { diff --git a/libs/ui/lib/icons/More12Icon.tsx b/libs/ui/lib/icons/More12Icon.tsx index 5cda5b5e0..b8629ab73 100644 --- a/libs/ui/lib/icons/More12Icon.tsx +++ b/libs/ui/lib/icons/More12Icon.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { SVGProps } from 'react' interface SVGRProps { diff --git a/libs/ui/lib/icons/Networking16Icon.tsx b/libs/ui/lib/icons/Networking16Icon.tsx index a0ade48eb..01b99ea8c 100644 --- a/libs/ui/lib/icons/Networking16Icon.tsx +++ b/libs/ui/lib/icons/Networking16Icon.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { SVGProps } from 'react' interface SVGRProps { diff --git a/libs/ui/lib/icons/Networking24Icon.tsx b/libs/ui/lib/icons/Networking24Icon.tsx index d67aca97a..34fe70cde 100644 --- a/libs/ui/lib/icons/Networking24Icon.tsx +++ b/libs/ui/lib/icons/Networking24Icon.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { SVGProps } from 'react' interface SVGRProps { diff --git a/libs/ui/lib/icons/NewWindow16Icon.tsx b/libs/ui/lib/icons/NewWindow16Icon.tsx index ec9be4fcc..1966b963a 100644 --- a/libs/ui/lib/icons/NewWindow16Icon.tsx +++ b/libs/ui/lib/icons/NewWindow16Icon.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { SVGProps } from 'react' interface SVGRProps { diff --git a/libs/ui/lib/icons/NextArrow12Icon.tsx b/libs/ui/lib/icons/NextArrow12Icon.tsx index f1b570f2c..389d1d272 100644 --- a/libs/ui/lib/icons/NextArrow12Icon.tsx +++ b/libs/ui/lib/icons/NextArrow12Icon.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { SVGProps } from 'react' interface SVGRProps { diff --git a/libs/ui/lib/icons/Notifications16Icon.tsx b/libs/ui/lib/icons/Notifications16Icon.tsx index 1c705b480..5d4e18373 100644 --- a/libs/ui/lib/icons/Notifications16Icon.tsx +++ b/libs/ui/lib/icons/Notifications16Icon.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { SVGProps } from 'react' interface SVGRProps { diff --git a/libs/ui/lib/icons/OpenLink12Icon.tsx b/libs/ui/lib/icons/OpenLink12Icon.tsx index 501cce907..4e1c256f9 100644 --- a/libs/ui/lib/icons/OpenLink12Icon.tsx +++ b/libs/ui/lib/icons/OpenLink12Icon.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { SVGProps } from 'react' interface SVGRProps { diff --git a/libs/ui/lib/icons/Organization16Icon.tsx b/libs/ui/lib/icons/Organization16Icon.tsx index 1ce261628..9811e8483 100644 --- a/libs/ui/lib/icons/Organization16Icon.tsx +++ b/libs/ui/lib/icons/Organization16Icon.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { SVGProps } from 'react' interface SVGRProps { diff --git a/libs/ui/lib/icons/Organization24Icon.tsx b/libs/ui/lib/icons/Organization24Icon.tsx index 69f4dc967..797f0944b 100644 --- a/libs/ui/lib/icons/Organization24Icon.tsx +++ b/libs/ui/lib/icons/Organization24Icon.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { SVGProps } from 'react' interface SVGRProps { diff --git a/libs/ui/lib/icons/Overview16Icon.tsx b/libs/ui/lib/icons/Overview16Icon.tsx index de44dc97c..1cd3abfd4 100644 --- a/libs/ui/lib/icons/Overview16Icon.tsx +++ b/libs/ui/lib/icons/Overview16Icon.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { SVGProps } from 'react' interface SVGRProps { diff --git a/libs/ui/lib/icons/Overview24Icon.tsx b/libs/ui/lib/icons/Overview24Icon.tsx index edf684160..4cdb9e369 100644 --- a/libs/ui/lib/icons/Overview24Icon.tsx +++ b/libs/ui/lib/icons/Overview24Icon.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { SVGProps } from 'react' interface SVGRProps { diff --git a/libs/ui/lib/icons/Person16Icon.tsx b/libs/ui/lib/icons/Person16Icon.tsx index 6ee17d3f9..ffdc9f3a5 100644 --- a/libs/ui/lib/icons/Person16Icon.tsx +++ b/libs/ui/lib/icons/Person16Icon.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { SVGProps } from 'react' interface SVGRProps { diff --git a/libs/ui/lib/icons/Person24Icon.tsx b/libs/ui/lib/icons/Person24Icon.tsx index 57681ef94..670157cf1 100644 --- a/libs/ui/lib/icons/Person24Icon.tsx +++ b/libs/ui/lib/icons/Person24Icon.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { SVGProps } from 'react' interface SVGRProps { diff --git a/libs/ui/lib/icons/PersonGroup16Icon.tsx b/libs/ui/lib/icons/PersonGroup16Icon.tsx index 54a607053..b4c7c0718 100644 --- a/libs/ui/lib/icons/PersonGroup16Icon.tsx +++ b/libs/ui/lib/icons/PersonGroup16Icon.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { SVGProps } from 'react' interface SVGRProps { diff --git a/libs/ui/lib/icons/PersonGroup24Icon.tsx b/libs/ui/lib/icons/PersonGroup24Icon.tsx index 8bf2eddb3..6a74e9592 100644 --- a/libs/ui/lib/icons/PersonGroup24Icon.tsx +++ b/libs/ui/lib/icons/PersonGroup24Icon.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { SVGProps } from 'react' interface SVGRProps { diff --git a/libs/ui/lib/icons/PrevArrow12Icon.tsx b/libs/ui/lib/icons/PrevArrow12Icon.tsx index bfc3d5b0d..5e697f3d8 100644 --- a/libs/ui/lib/icons/PrevArrow12Icon.tsx +++ b/libs/ui/lib/icons/PrevArrow12Icon.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { SVGProps } from 'react' interface SVGRProps { diff --git a/libs/ui/lib/icons/Profile16Icon.tsx b/libs/ui/lib/icons/Profile16Icon.tsx index 1534ccb73..09622ce91 100644 --- a/libs/ui/lib/icons/Profile16Icon.tsx +++ b/libs/ui/lib/icons/Profile16Icon.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { SVGProps } from 'react' interface SVGRProps { diff --git a/libs/ui/lib/icons/Progress24Icon.tsx b/libs/ui/lib/icons/Progress24Icon.tsx index 9aa67dd9a..334dfdf81 100644 --- a/libs/ui/lib/icons/Progress24Icon.tsx +++ b/libs/ui/lib/icons/Progress24Icon.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { SVGProps } from 'react' interface SVGRProps { diff --git a/libs/ui/lib/icons/Prohibited24Icon.tsx b/libs/ui/lib/icons/Prohibited24Icon.tsx index a797873a1..202a458c4 100644 --- a/libs/ui/lib/icons/Prohibited24Icon.tsx +++ b/libs/ui/lib/icons/Prohibited24Icon.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { SVGProps } from 'react' interface SVGRProps { diff --git a/libs/ui/lib/icons/Question12Icon.tsx b/libs/ui/lib/icons/Question12Icon.tsx index 33468ecca..f5b50183b 100644 --- a/libs/ui/lib/icons/Question12Icon.tsx +++ b/libs/ui/lib/icons/Question12Icon.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { SVGProps } from 'react' interface SVGRProps { diff --git a/libs/ui/lib/icons/Racks24Icon.tsx b/libs/ui/lib/icons/Racks24Icon.tsx index 5ddc33e74..852f54b21 100644 --- a/libs/ui/lib/icons/Racks24Icon.tsx +++ b/libs/ui/lib/icons/Racks24Icon.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { SVGProps } from 'react' interface SVGRProps { diff --git a/libs/ui/lib/icons/Ram16Icon.tsx b/libs/ui/lib/icons/Ram16Icon.tsx index ba57008fe..8abc7663e 100644 --- a/libs/ui/lib/icons/Ram16Icon.tsx +++ b/libs/ui/lib/icons/Ram16Icon.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { SVGProps } from 'react' interface SVGRProps { diff --git a/libs/ui/lib/icons/RamLargeMiscIcon.tsx b/libs/ui/lib/icons/RamLargeMiscIcon.tsx index d06530918..27ca1548a 100644 --- a/libs/ui/lib/icons/RamLargeMiscIcon.tsx +++ b/libs/ui/lib/icons/RamLargeMiscIcon.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { SVGProps } from 'react' interface SVGRProps { diff --git a/libs/ui/lib/icons/RamSmallMiscIcon.tsx b/libs/ui/lib/icons/RamSmallMiscIcon.tsx index 2f16e3638..05df2b4ac 100644 --- a/libs/ui/lib/icons/RamSmallMiscIcon.tsx +++ b/libs/ui/lib/icons/RamSmallMiscIcon.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { SVGProps } from 'react' interface SVGRProps { diff --git a/libs/ui/lib/icons/Refresh16Icon.tsx b/libs/ui/lib/icons/Refresh16Icon.tsx index ca02c8d06..b618fabd2 100644 --- a/libs/ui/lib/icons/Refresh16Icon.tsx +++ b/libs/ui/lib/icons/Refresh16Icon.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { SVGProps } from 'react' interface SVGRProps { diff --git a/libs/ui/lib/icons/Repair12Icon.tsx b/libs/ui/lib/icons/Repair12Icon.tsx index 6d1211eae..d9ec34b6b 100644 --- a/libs/ui/lib/icons/Repair12Icon.tsx +++ b/libs/ui/lib/icons/Repair12Icon.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { SVGProps } from 'react' interface SVGRProps { diff --git a/libs/ui/lib/icons/Repair16Icon.tsx b/libs/ui/lib/icons/Repair16Icon.tsx index 4549cf5dc..b0c64b2a9 100644 --- a/libs/ui/lib/icons/Repair16Icon.tsx +++ b/libs/ui/lib/icons/Repair16Icon.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { SVGProps } from 'react' interface SVGRProps { diff --git a/libs/ui/lib/icons/Resize16Icon.tsx b/libs/ui/lib/icons/Resize16Icon.tsx index fd0e71055..02ab5d013 100644 --- a/libs/ui/lib/icons/Resize16Icon.tsx +++ b/libs/ui/lib/icons/Resize16Icon.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { SVGProps } from 'react' interface SVGRProps { diff --git a/libs/ui/lib/icons/Resize24Icon.tsx b/libs/ui/lib/icons/Resize24Icon.tsx index 086301403..2b54d38fa 100644 --- a/libs/ui/lib/icons/Resize24Icon.tsx +++ b/libs/ui/lib/icons/Resize24Icon.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { SVGProps } from 'react' interface SVGRProps { diff --git a/libs/ui/lib/icons/Router16Icon.tsx b/libs/ui/lib/icons/Router16Icon.tsx index bde0930c3..642d52683 100644 --- a/libs/ui/lib/icons/Router16Icon.tsx +++ b/libs/ui/lib/icons/Router16Icon.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { SVGProps } from 'react' interface SVGRProps { diff --git a/libs/ui/lib/icons/Router24Icon.tsx b/libs/ui/lib/icons/Router24Icon.tsx index 07456d3fa..18f8863dc 100644 --- a/libs/ui/lib/icons/Router24Icon.tsx +++ b/libs/ui/lib/icons/Router24Icon.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { SVGProps } from 'react' interface SVGRProps { diff --git a/libs/ui/lib/icons/Safety24Icon.tsx b/libs/ui/lib/icons/Safety24Icon.tsx index ca283828c..19e6f60f2 100644 --- a/libs/ui/lib/icons/Safety24Icon.tsx +++ b/libs/ui/lib/icons/Safety24Icon.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { SVGProps } from 'react' interface SVGRProps { diff --git a/libs/ui/lib/icons/Search16Icon.tsx b/libs/ui/lib/icons/Search16Icon.tsx index de08698ef..664c321ad 100644 --- a/libs/ui/lib/icons/Search16Icon.tsx +++ b/libs/ui/lib/icons/Search16Icon.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { SVGProps } from 'react' interface SVGRProps { diff --git a/libs/ui/lib/icons/Security12Icon.tsx b/libs/ui/lib/icons/Security12Icon.tsx index 4c798fdfe..ddc4a2008 100644 --- a/libs/ui/lib/icons/Security12Icon.tsx +++ b/libs/ui/lib/icons/Security12Icon.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { SVGProps } from 'react' interface SVGRProps { diff --git a/libs/ui/lib/icons/Security16Icon.tsx b/libs/ui/lib/icons/Security16Icon.tsx index 0072754d3..14383463b 100644 --- a/libs/ui/lib/icons/Security16Icon.tsx +++ b/libs/ui/lib/icons/Security16Icon.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { SVGProps } from 'react' interface SVGRProps { diff --git a/libs/ui/lib/icons/Security24Icon.tsx b/libs/ui/lib/icons/Security24Icon.tsx index 7f6a163ad..94960c80e 100644 --- a/libs/ui/lib/icons/Security24Icon.tsx +++ b/libs/ui/lib/icons/Security24Icon.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { SVGProps } from 'react' interface SVGRProps { diff --git a/libs/ui/lib/icons/SelectArrows6Icon.tsx b/libs/ui/lib/icons/SelectArrows6Icon.tsx index 60c8e6b8b..8f808bb9e 100644 --- a/libs/ui/lib/icons/SelectArrows6Icon.tsx +++ b/libs/ui/lib/icons/SelectArrows6Icon.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { SVGProps } from 'react' interface SVGRProps { diff --git a/libs/ui/lib/icons/Servers16Icon.tsx b/libs/ui/lib/icons/Servers16Icon.tsx index 5af69ce0f..4855ef710 100644 --- a/libs/ui/lib/icons/Servers16Icon.tsx +++ b/libs/ui/lib/icons/Servers16Icon.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { SVGProps } from 'react' interface SVGRProps { diff --git a/libs/ui/lib/icons/Settings16Icon.tsx b/libs/ui/lib/icons/Settings16Icon.tsx index 83131621f..557fb07f7 100644 --- a/libs/ui/lib/icons/Settings16Icon.tsx +++ b/libs/ui/lib/icons/Settings16Icon.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { SVGProps } from 'react' interface SVGRProps { diff --git a/libs/ui/lib/icons/Settings24Icon.tsx b/libs/ui/lib/icons/Settings24Icon.tsx index 1be2a6eca..0615a4f18 100644 --- a/libs/ui/lib/icons/Settings24Icon.tsx +++ b/libs/ui/lib/icons/Settings24Icon.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { SVGProps } from 'react' interface SVGRProps { diff --git a/libs/ui/lib/icons/Show16Icon.tsx b/libs/ui/lib/icons/Show16Icon.tsx index d417e1800..b2dab4b6a 100644 --- a/libs/ui/lib/icons/Show16Icon.tsx +++ b/libs/ui/lib/icons/Show16Icon.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { SVGProps } from 'react' interface SVGRProps { diff --git a/libs/ui/lib/icons/Snapshots16Icon.tsx b/libs/ui/lib/icons/Snapshots16Icon.tsx index 5617a04dc..4b69d0c6d 100644 --- a/libs/ui/lib/icons/Snapshots16Icon.tsx +++ b/libs/ui/lib/icons/Snapshots16Icon.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { SVGProps } from 'react' interface SVGRProps { diff --git a/libs/ui/lib/icons/Snapshots24Icon.tsx b/libs/ui/lib/icons/Snapshots24Icon.tsx index 48b94cdac..c215d165c 100644 --- a/libs/ui/lib/icons/Snapshots24Icon.tsx +++ b/libs/ui/lib/icons/Snapshots24Icon.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { SVGProps } from 'react' interface SVGRProps { diff --git a/libs/ui/lib/icons/SoftwareUpdate16Icon.tsx b/libs/ui/lib/icons/SoftwareUpdate16Icon.tsx index ce4f80dc5..1556606b4 100644 --- a/libs/ui/lib/icons/SoftwareUpdate16Icon.tsx +++ b/libs/ui/lib/icons/SoftwareUpdate16Icon.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { SVGProps } from 'react' interface SVGRProps { diff --git a/libs/ui/lib/icons/SoftwareUpdate24Icon.tsx b/libs/ui/lib/icons/SoftwareUpdate24Icon.tsx index 58afd47a6..35f7034ac 100644 --- a/libs/ui/lib/icons/SoftwareUpdate24Icon.tsx +++ b/libs/ui/lib/icons/SoftwareUpdate24Icon.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { SVGProps } from 'react' interface SVGRProps { diff --git a/libs/ui/lib/icons/Speaker24Icon.tsx b/libs/ui/lib/icons/Speaker24Icon.tsx index d546e3c75..f1f96c77e 100644 --- a/libs/ui/lib/icons/Speaker24Icon.tsx +++ b/libs/ui/lib/icons/Speaker24Icon.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { SVGProps } from 'react' interface SVGRProps { diff --git a/libs/ui/lib/icons/Ssd16Icon.tsx b/libs/ui/lib/icons/Ssd16Icon.tsx index 61ba81465..632e56cf6 100644 --- a/libs/ui/lib/icons/Ssd16Icon.tsx +++ b/libs/ui/lib/icons/Ssd16Icon.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { SVGProps } from 'react' interface SVGRProps { diff --git a/libs/ui/lib/icons/Storage16Icon.tsx b/libs/ui/lib/icons/Storage16Icon.tsx index 90f69590a..087bcc7c3 100644 --- a/libs/ui/lib/icons/Storage16Icon.tsx +++ b/libs/ui/lib/icons/Storage16Icon.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { SVGProps } from 'react' interface SVGRProps { diff --git a/libs/ui/lib/icons/Storage24Icon.tsx b/libs/ui/lib/icons/Storage24Icon.tsx index 96dbcca0a..d5bed9d1c 100644 --- a/libs/ui/lib/icons/Storage24Icon.tsx +++ b/libs/ui/lib/icons/Storage24Icon.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { SVGProps } from 'react' interface SVGRProps { diff --git a/libs/ui/lib/icons/Subnet16Icon.tsx b/libs/ui/lib/icons/Subnet16Icon.tsx index 28fdd470a..df27b076e 100644 --- a/libs/ui/lib/icons/Subnet16Icon.tsx +++ b/libs/ui/lib/icons/Subnet16Icon.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { SVGProps } from 'react' interface SVGRProps { diff --git a/libs/ui/lib/icons/Subnet24Icon.tsx b/libs/ui/lib/icons/Subnet24Icon.tsx index 7da38d854..75705a76c 100644 --- a/libs/ui/lib/icons/Subnet24Icon.tsx +++ b/libs/ui/lib/icons/Subnet24Icon.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { SVGProps } from 'react' interface SVGRProps { diff --git a/libs/ui/lib/icons/Success12Icon.tsx b/libs/ui/lib/icons/Success12Icon.tsx index 5d5856ecf..29072039d 100644 --- a/libs/ui/lib/icons/Success12Icon.tsx +++ b/libs/ui/lib/icons/Success12Icon.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { SVGProps } from 'react' interface SVGRProps { diff --git a/libs/ui/lib/icons/Tags16Icon.tsx b/libs/ui/lib/icons/Tags16Icon.tsx index c8a802218..35478d227 100644 --- a/libs/ui/lib/icons/Tags16Icon.tsx +++ b/libs/ui/lib/icons/Tags16Icon.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { SVGProps } from 'react' interface SVGRProps { diff --git a/libs/ui/lib/icons/Terminal16Icon.tsx b/libs/ui/lib/icons/Terminal16Icon.tsx index 3402e752b..4fd8b5c94 100644 --- a/libs/ui/lib/icons/Terminal16Icon.tsx +++ b/libs/ui/lib/icons/Terminal16Icon.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { SVGProps } from 'react' interface SVGRProps { diff --git a/libs/ui/lib/icons/Terminal24Icon.tsx b/libs/ui/lib/icons/Terminal24Icon.tsx index 75e4b539f..9ec751e47 100644 --- a/libs/ui/lib/icons/Terminal24Icon.tsx +++ b/libs/ui/lib/icons/Terminal24Icon.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { SVGProps } from 'react' interface SVGRProps { diff --git a/libs/ui/lib/icons/Time16Icon.tsx b/libs/ui/lib/icons/Time16Icon.tsx index a4fc96a77..dd0f43c80 100644 --- a/libs/ui/lib/icons/Time16Icon.tsx +++ b/libs/ui/lib/icons/Time16Icon.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { SVGProps } from 'react' interface SVGRProps { diff --git a/libs/ui/lib/icons/Transmit24Icon.tsx b/libs/ui/lib/icons/Transmit24Icon.tsx index 4c7a45f0d..5fd7cdd6f 100644 --- a/libs/ui/lib/icons/Transmit24Icon.tsx +++ b/libs/ui/lib/icons/Transmit24Icon.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { SVGProps } from 'react' interface SVGRProps { diff --git a/libs/ui/lib/icons/UbuntuDistroIcon.tsx b/libs/ui/lib/icons/UbuntuDistroIcon.tsx index d4ce48265..565acb3a5 100644 --- a/libs/ui/lib/icons/UbuntuDistroIcon.tsx +++ b/libs/ui/lib/icons/UbuntuDistroIcon.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { SVGProps } from 'react' interface SVGRProps { diff --git a/libs/ui/lib/icons/Unauthorized12Icon.tsx b/libs/ui/lib/icons/Unauthorized12Icon.tsx index 451c55aa5..890397bdc 100644 --- a/libs/ui/lib/icons/Unauthorized12Icon.tsx +++ b/libs/ui/lib/icons/Unauthorized12Icon.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { SVGProps } from 'react' interface SVGRProps { diff --git a/libs/ui/lib/icons/UnreadIndicator6Icon.tsx b/libs/ui/lib/icons/UnreadIndicator6Icon.tsx index 22128111a..e5a5f578b 100644 --- a/libs/ui/lib/icons/UnreadIndicator6Icon.tsx +++ b/libs/ui/lib/icons/UnreadIndicator6Icon.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { SVGProps } from 'react' interface SVGRProps { diff --git a/libs/ui/lib/icons/Warning12Icon.tsx b/libs/ui/lib/icons/Warning12Icon.tsx index 55cb3eb99..c3f4db583 100644 --- a/libs/ui/lib/icons/Warning12Icon.tsx +++ b/libs/ui/lib/icons/Warning12Icon.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { SVGProps } from 'react' interface SVGRProps { diff --git a/libs/ui/lib/icons/WindowsDistroIcon.tsx b/libs/ui/lib/icons/WindowsDistroIcon.tsx index 0c195ff6e..57704f764 100644 --- a/libs/ui/lib/icons/WindowsDistroIcon.tsx +++ b/libs/ui/lib/icons/WindowsDistroIcon.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { SVGProps } from 'react' interface SVGRProps { diff --git a/libs/ui/lib/icons/Wireless24Icon.tsx b/libs/ui/lib/icons/Wireless24Icon.tsx index fd69eb8b1..206a2982e 100644 --- a/libs/ui/lib/icons/Wireless24Icon.tsx +++ b/libs/ui/lib/icons/Wireless24Icon.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { SVGProps } from 'react' interface SVGRProps { diff --git a/libs/ui/lib/icons/index.ts b/libs/ui/lib/icons/index.ts index 67c1d4aac..e4b79a82e 100644 --- a/libs/ui/lib/icons/index.ts +++ b/libs/ui/lib/icons/index.ts @@ -1,3 +1,11 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ + export { default as Access24Icon } from './Access24Icon' export { default as Action24Icon } from './Action24Icon' export { default as AddRoundel24Icon } from './AddRoundel24Icon' diff --git a/libs/ui/lib/identicon/Identicon.stories.tsx b/libs/ui/lib/identicon/Identicon.stories.tsx index 06f7ea528..1a8ce5788 100644 --- a/libs/ui/lib/identicon/Identicon.stories.tsx +++ b/libs/ui/lib/identicon/Identicon.stories.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { Identicon } from './Identicon' export const Default = () => ( diff --git a/libs/ui/lib/identicon/Identicon.tsx b/libs/ui/lib/identicon/Identicon.tsx index 619c8cb63..776762d6a 100644 --- a/libs/ui/lib/identicon/Identicon.tsx +++ b/libs/ui/lib/identicon/Identicon.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { useMemo } from 'react' import { generateIdenticon, md5 } from '@oxide/identicon' diff --git a/libs/ui/lib/listbox/Listbox.stories.tsx b/libs/ui/lib/listbox/Listbox.stories.tsx index 2b2dbb222..b15593023 100644 --- a/libs/ui/lib/listbox/Listbox.stories.tsx +++ b/libs/ui/lib/listbox/Listbox.stories.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { useState } from 'react' import { Listbox } from './Listbox' diff --git a/libs/ui/lib/listbox/Listbox.tsx b/libs/ui/lib/listbox/Listbox.tsx index 58e673fbe..2949752cc 100644 --- a/libs/ui/lib/listbox/Listbox.tsx +++ b/libs/ui/lib/listbox/Listbox.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { FloatingPortal, flip, offset, size, useFloating } from '@floating-ui/react' import { Listbox as Select } from '@headlessui/react' import cn from 'classnames' diff --git a/libs/ui/lib/message/Message.stories.tsx b/libs/ui/lib/message/Message.stories.tsx index a709224b0..cd27db670 100644 --- a/libs/ui/lib/message/Message.stories.tsx +++ b/libs/ui/lib/message/Message.stories.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { Message } from './Message' export const Default = () => ( diff --git a/libs/ui/lib/message/Message.tsx b/libs/ui/lib/message/Message.tsx index 154d33adc..109596742 100644 --- a/libs/ui/lib/message/Message.tsx +++ b/libs/ui/lib/message/Message.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import cn from 'classnames' import type { ReactElement, ReactNode } from 'react' import { Link, type To } from 'react-router-dom' diff --git a/libs/ui/lib/mini-table/MiniTable.stories.tsx b/libs/ui/lib/mini-table/MiniTable.stories.tsx index c704b5f10..e23b2fe04 100644 --- a/libs/ui/lib/mini-table/MiniTable.stories.tsx +++ b/libs/ui/lib/mini-table/MiniTable.stories.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import * as MiniTable from './MiniTable' export const Default = () => ( diff --git a/libs/ui/lib/mini-table/MiniTable.tsx b/libs/ui/lib/mini-table/MiniTable.tsx index f1be1ec50..8286eb7e5 100644 --- a/libs/ui/lib/mini-table/MiniTable.tsx +++ b/libs/ui/lib/mini-table/MiniTable.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { classed } from '@oxide/util' import { Table as BigTable } from '../table/Table' diff --git a/libs/ui/lib/mini-table/mini-table.css b/libs/ui/lib/mini-table/mini-table.css index 2736614b3..0da91522b 100644 --- a/libs/ui/lib/mini-table/mini-table.css +++ b/libs/ui/lib/mini-table/mini-table.css @@ -1,3 +1,11 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ + .ox-mini-table { & { border-spacing: 0px; diff --git a/libs/ui/lib/modal/Modal.stories.tsx b/libs/ui/lib/modal/Modal.stories.tsx index 0f21cb6b4..c92d2fc62 100644 --- a/libs/ui/lib/modal/Modal.stories.tsx +++ b/libs/ui/lib/modal/Modal.stories.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { useState } from 'react' import { Button } from '../button/Button' diff --git a/libs/ui/lib/modal/Modal.tsx b/libs/ui/lib/modal/Modal.tsx index d9a104e25..a13f0267f 100644 --- a/libs/ui/lib/modal/Modal.tsx +++ b/libs/ui/lib/modal/Modal.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import * as Dialog from '@radix-ui/react-dialog' import { animated, useTransition } from '@react-spring/web' import React, { createContext, forwardRef, useContext, useId } from 'react' diff --git a/libs/ui/lib/page-header/PageHeader.stories.tsx b/libs/ui/lib/page-header/PageHeader.stories.tsx index 2390d2948..6234da2f9 100644 --- a/libs/ui/lib/page-header/PageHeader.stories.tsx +++ b/libs/ui/lib/page-header/PageHeader.stories.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { Folder24Icon } from '../icons' import { PageHeader, PageTitle } from './PageHeader' diff --git a/libs/ui/lib/page-header/PageHeader.tsx b/libs/ui/lib/page-header/PageHeader.tsx index b2b1bd614..9dee4d501 100644 --- a/libs/ui/lib/page-header/PageHeader.tsx +++ b/libs/ui/lib/page-header/PageHeader.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { ReactElement } from 'react' import { classed } from '@oxide/util' diff --git a/libs/ui/lib/pagination/Pagination.stories.tsx b/libs/ui/lib/pagination/Pagination.stories.tsx index 73dc66038..7f95b01f3 100644 --- a/libs/ui/lib/pagination/Pagination.stories.tsx +++ b/libs/ui/lib/pagination/Pagination.stories.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { Pagination } from './Pagination' export const Default = () => ( diff --git a/libs/ui/lib/pagination/Pagination.tsx b/libs/ui/lib/pagination/Pagination.tsx index ad18cd395..bf99af9ad 100644 --- a/libs/ui/lib/pagination/Pagination.tsx +++ b/libs/ui/lib/pagination/Pagination.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import cn from 'classnames' import { DirectionLeftIcon, DirectionRightIcon } from '../icons' diff --git a/libs/ui/lib/progress/Progress.stories.tsx b/libs/ui/lib/progress/Progress.stories.tsx index b6d355cf9..a376101fc 100644 --- a/libs/ui/lib/progress/Progress.stories.tsx +++ b/libs/ui/lib/progress/Progress.stories.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { Progress } from './Progress' export const Default = () => diff --git a/libs/ui/lib/progress/Progress.tsx b/libs/ui/lib/progress/Progress.tsx index 9349a1d40..5335a6867 100644 --- a/libs/ui/lib/progress/Progress.tsx +++ b/libs/ui/lib/progress/Progress.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import cn from 'classnames' import type { AriaLabel } from '../../util/aria' diff --git a/libs/ui/lib/properties-table/PropertiesTable.stories.tsx b/libs/ui/lib/properties-table/PropertiesTable.stories.tsx index bdbc03fde..da7b74219 100644 --- a/libs/ui/lib/properties-table/PropertiesTable.stories.tsx +++ b/libs/ui/lib/properties-table/PropertiesTable.stories.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { PropertiesTable } from './PropertiesTable' export const Default = () => ( diff --git a/libs/ui/lib/properties-table/PropertiesTable.tsx b/libs/ui/lib/properties-table/PropertiesTable.tsx index f992208a6..bcac8c7f4 100644 --- a/libs/ui/lib/properties-table/PropertiesTable.tsx +++ b/libs/ui/lib/properties-table/PropertiesTable.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import cn from 'classnames' import type { ReactNode } from 'react' import invariant from 'tiny-invariant' diff --git a/libs/ui/lib/properties-table/properties-table.css b/libs/ui/lib/properties-table/properties-table.css index 16f997c2e..75bd70381 100644 --- a/libs/ui/lib/properties-table/properties-table.css +++ b/libs/ui/lib/properties-table/properties-table.css @@ -1,3 +1,11 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ + .properties-table { grid-template-columns: minmax(min-content, 1fr) 3fr; } diff --git a/libs/ui/lib/radio-group/RadioGroup.stories.tsx b/libs/ui/lib/radio-group/RadioGroup.stories.tsx index 4eb7005ae..61f42c1eb 100644 --- a/libs/ui/lib/radio-group/RadioGroup.stories.tsx +++ b/libs/ui/lib/radio-group/RadioGroup.stories.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { Radio, RadioCard } from '../radio/Radio' import { RadioGroup } from './RadioGroup' diff --git a/libs/ui/lib/radio-group/RadioGroup.tsx b/libs/ui/lib/radio-group/RadioGroup.tsx index 894ef0f5f..1ca7feeff 100644 --- a/libs/ui/lib/radio-group/RadioGroup.tsx +++ b/libs/ui/lib/radio-group/RadioGroup.tsx @@ -1,3 +1,11 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ + /** * Give a list of radios the same `name`, `disabled`, and `required` props. * diff --git a/libs/ui/lib/radio/Radio.stories.tsx b/libs/ui/lib/radio/Radio.stories.tsx index de6e7b5d7..e58b8d33e 100644 --- a/libs/ui/lib/radio/Radio.stories.tsx +++ b/libs/ui/lib/radio/Radio.stories.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { Radio, RadioCard } from './Radio' export const All = () => { diff --git a/libs/ui/lib/radio/Radio.tsx b/libs/ui/lib/radio/Radio.tsx index 236b17f57..f225e44e7 100644 --- a/libs/ui/lib/radio/Radio.tsx +++ b/libs/ui/lib/radio/Radio.tsx @@ -1,3 +1,11 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ + /** * Radio and RadioCard components with identical props APIs. * diff --git a/libs/ui/lib/settings-group/SettingsGroup.stories.tsx b/libs/ui/lib/settings-group/SettingsGroup.stories.tsx index 18d62817d..65bb11c00 100644 --- a/libs/ui/lib/settings-group/SettingsGroup.stories.tsx +++ b/libs/ui/lib/settings-group/SettingsGroup.stories.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { SettingsGroup } from './SettingsGroup' export const Default = () => ( diff --git a/libs/ui/lib/settings-group/SettingsGroup.tsx b/libs/ui/lib/settings-group/SettingsGroup.tsx index e25763ed3..d318ed6a6 100644 --- a/libs/ui/lib/settings-group/SettingsGroup.tsx +++ b/libs/ui/lib/settings-group/SettingsGroup.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { Link } from 'react-router-dom' import { Button, OpenLink12Icon, buttonStyle } from '@oxide/ui' diff --git a/libs/ui/lib/side-modal/SideModal.stories.tsx b/libs/ui/lib/side-modal/SideModal.stories.tsx index 37f625109..213fcf6e2 100644 --- a/libs/ui/lib/side-modal/SideModal.stories.tsx +++ b/libs/ui/lib/side-modal/SideModal.stories.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { useState } from 'react' import { Button } from '../button/Button' diff --git a/libs/ui/lib/side-modal/SideModal.tsx b/libs/ui/lib/side-modal/SideModal.tsx index 8735abd98..f9fb6e16b 100644 --- a/libs/ui/lib/side-modal/SideModal.tsx +++ b/libs/ui/lib/side-modal/SideModal.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import * as Dialog from '@radix-ui/react-dialog' import { animated, useTransition } from '@react-spring/web' import cn from 'classnames' diff --git a/libs/ui/lib/side-modal/side-modal.css b/libs/ui/lib/side-modal/side-modal.css index a22459155..4bb1d6776 100644 --- a/libs/ui/lib/side-modal/side-modal.css +++ b/libs/ui/lib/side-modal/side-modal.css @@ -1,3 +1,11 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ + .ox-side-modal { --content-gutter: 2rem; } diff --git a/libs/ui/lib/skip-link/SkipLink.stories.tsx b/libs/ui/lib/skip-link/SkipLink.stories.tsx index 02bccf4bb..258d89f94 100644 --- a/libs/ui/lib/skip-link/SkipLink.stories.tsx +++ b/libs/ui/lib/skip-link/SkipLink.stories.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { SkipLink } from './SkipLink' export const Default = () => diff --git a/libs/ui/lib/skip-link/SkipLink.tsx b/libs/ui/lib/skip-link/SkipLink.tsx index 05154ef66..66654240b 100644 --- a/libs/ui/lib/skip-link/SkipLink.tsx +++ b/libs/ui/lib/skip-link/SkipLink.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import cn from 'classnames' import type { PropsWithChildren } from 'react' diff --git a/libs/ui/lib/spinner/Spinner.stories.tsx b/libs/ui/lib/spinner/Spinner.stories.tsx index 2bc4bcb02..f0779bca2 100644 --- a/libs/ui/lib/spinner/Spinner.stories.tsx +++ b/libs/ui/lib/spinner/Spinner.stories.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { Spinner, spinnerSizes, spinnerVariants } from './Spinner' export const Default = () => ( diff --git a/libs/ui/lib/spinner/Spinner.tsx b/libs/ui/lib/spinner/Spinner.tsx index e98bda03f..12a845f2c 100644 --- a/libs/ui/lib/spinner/Spinner.tsx +++ b/libs/ui/lib/spinner/Spinner.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import cn from 'classnames' import type { ReactNode } from 'react' import { useEffect, useRef, useState } from 'react' diff --git a/libs/ui/lib/spinner/spinner.css b/libs/ui/lib/spinner/spinner.css index 2629ed10e..507fe6b85 100644 --- a/libs/ui/lib/spinner/spinner.css +++ b/libs/ui/lib/spinner/spinner.css @@ -1,3 +1,11 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ + .spinner { --radius: 4; --PI: 3.14159265358979; diff --git a/libs/ui/lib/table/Table.stories.tsx b/libs/ui/lib/table/Table.stories.tsx index aea073465..c33a3e4e6 100644 --- a/libs/ui/lib/table/Table.stories.tsx +++ b/libs/ui/lib/table/Table.stories.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { Table } from './Table' export const Default = () => { diff --git a/libs/ui/lib/table/Table.tsx b/libs/ui/lib/table/Table.tsx index 132aeef77..2c6f874a7 100644 --- a/libs/ui/lib/table/Table.tsx +++ b/libs/ui/lib/table/Table.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import cn from 'classnames' import type { ReactElement } from 'react' import React, { useRef } from 'react' diff --git a/libs/ui/lib/table/table.css b/libs/ui/lib/table/table.css index 3439169ad..e28dab32f 100644 --- a/libs/ui/lib/table/table.css +++ b/libs/ui/lib/table/table.css @@ -1,3 +1,11 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ + table.ox-table { border-spacing: 0px; diff --git a/libs/ui/lib/tabs/Tabs.css b/libs/ui/lib/tabs/Tabs.css index 4b32701e9..6db6fbc25 100644 --- a/libs/ui/lib/tabs/Tabs.css +++ b/libs/ui/lib/tabs/Tabs.css @@ -1,3 +1,11 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ + .ox-tabs.full-width { @apply !mx-0 !w-full; } diff --git a/libs/ui/lib/tabs/Tabs.stories.tsx b/libs/ui/lib/tabs/Tabs.stories.tsx index 37803196b..84aff1102 100644 --- a/libs/ui/lib/tabs/Tabs.stories.tsx +++ b/libs/ui/lib/tabs/Tabs.stories.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { Badge } from '@oxide/ui' import { Tabs } from './Tabs' diff --git a/libs/ui/lib/tabs/Tabs.tsx b/libs/ui/lib/tabs/Tabs.tsx index 553e26a70..81bc838bb 100644 --- a/libs/ui/lib/tabs/Tabs.tsx +++ b/libs/ui/lib/tabs/Tabs.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { TabsContentProps, TabsListProps, diff --git a/libs/ui/lib/tag/Tag.stories.tsx b/libs/ui/lib/tag/Tag.stories.tsx index 279dd2e98..7b5490deb 100644 --- a/libs/ui/lib/tag/Tag.stories.tsx +++ b/libs/ui/lib/tag/Tag.stories.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { Section } from '../../util/story-section' import type { TagColor, TagVariant } from './Tag' import { Tag, tagColors } from './Tag' diff --git a/libs/ui/lib/tag/Tag.tsx b/libs/ui/lib/tag/Tag.tsx index 1e6ac3870..98976d0b1 100644 --- a/libs/ui/lib/tag/Tag.tsx +++ b/libs/ui/lib/tag/Tag.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import cn from 'classnames' import { Close8Icon } from '../icons' diff --git a/libs/ui/lib/text-input/TextInput.stories.tsx b/libs/ui/lib/text-input/TextInput.stories.tsx index 7b1bd8255..6c28dea68 100644 --- a/libs/ui/lib/text-input/TextInput.stories.tsx +++ b/libs/ui/lib/text-input/TextInput.stories.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { TextInput } from './TextInput' export const Default = () => diff --git a/libs/ui/lib/text-input/TextInput.tsx b/libs/ui/lib/text-input/TextInput.tsx index f19e11cbd..fb56dc5d0 100644 --- a/libs/ui/lib/text-input/TextInput.tsx +++ b/libs/ui/lib/text-input/TextInput.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { announce } from '@react-aria/live-announcer' import cn from 'classnames' import React, { useEffect } from 'react' diff --git a/libs/ui/lib/timeout-indicator/TimeoutIndicator.tsx b/libs/ui/lib/timeout-indicator/TimeoutIndicator.tsx index d18364fd1..c56ad106f 100644 --- a/libs/ui/lib/timeout-indicator/TimeoutIndicator.tsx +++ b/libs/ui/lib/timeout-indicator/TimeoutIndicator.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { animated, useTransition } from '@react-spring/web' import { Globals } from '@react-spring/web' import cn from 'classnames' diff --git a/libs/ui/lib/toast/Toast.stories.tsx b/libs/ui/lib/toast/Toast.stories.tsx index 428d9a950..ee92a5f0e 100644 --- a/libs/ui/lib/toast/Toast.stories.tsx +++ b/libs/ui/lib/toast/Toast.stories.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { Toast } from './Toast' export const Default = () => ( diff --git a/libs/ui/lib/toast/Toast.tsx b/libs/ui/lib/toast/Toast.tsx index b87e82e01..12c1c01a3 100644 --- a/libs/ui/lib/toast/Toast.tsx +++ b/libs/ui/lib/toast/Toast.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { announce } from '@react-aria/live-announcer' import cn from 'classnames' import type { ReactElement } from 'react' diff --git a/libs/ui/lib/tooltip/Tooltip.stories.tsx b/libs/ui/lib/tooltip/Tooltip.stories.tsx index fee603397..479a592a8 100644 --- a/libs/ui/lib/tooltip/Tooltip.stories.tsx +++ b/libs/ui/lib/tooltip/Tooltip.stories.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { Filter12Icon } from '../icons' import { Tooltip } from './Tooltip' diff --git a/libs/ui/lib/tooltip/Tooltip.tsx b/libs/ui/lib/tooltip/Tooltip.tsx index 98cd2c958..b6bae9423 100644 --- a/libs/ui/lib/tooltip/Tooltip.tsx +++ b/libs/ui/lib/tooltip/Tooltip.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { FloatingArrow, FloatingPortal, diff --git a/libs/ui/lib/tooltip/tooltip.css b/libs/ui/lib/tooltip/tooltip.css index 3b3853aaa..816272872 100644 --- a/libs/ui/lib/tooltip/tooltip.css +++ b/libs/ui/lib/tooltip/tooltip.css @@ -1,3 +1,11 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ + .ox-tooltip { @apply z-20 rounded border p-2 text-sans-md text-secondary border-secondary elevation-2; } diff --git a/libs/ui/lib/truncate/Truncate.stories.tsx b/libs/ui/lib/truncate/Truncate.stories.tsx index f1c2f0536..6e00e4859 100644 --- a/libs/ui/lib/truncate/Truncate.stories.tsx +++ b/libs/ui/lib/truncate/Truncate.stories.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { Truncate } from './Truncate' export const Default = () => ( diff --git a/libs/ui/lib/truncate/Truncate.tsx b/libs/ui/lib/truncate/Truncate.tsx index a6b9cd6ca..8142b0ef1 100644 --- a/libs/ui/lib/truncate/Truncate.tsx +++ b/libs/ui/lib/truncate/Truncate.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { useState } from 'react' import useTimeout from '../hooks/use-timeout' diff --git a/libs/ui/styles/components/dialog.css b/libs/ui/styles/components/dialog.css index 4c4c4431f..a78942977 100644 --- a/libs/ui/styles/components/dialog.css +++ b/libs/ui/styles/components/dialog.css @@ -1,3 +1,11 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ + .DialogOverlay { /* background: hsla(0, 0%, 0%, 0.33); */ @apply fixed inset-0 z-10 overflow-auto bg-scrim; diff --git a/libs/ui/styles/components/loading-bar.css b/libs/ui/styles/components/loading-bar.css index a308c91bd..a2393ff47 100644 --- a/libs/ui/styles/components/loading-bar.css +++ b/libs/ui/styles/components/loading-bar.css @@ -1,3 +1,11 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ + .global-loading-bar { opacity: 1; width: 0%; diff --git a/libs/ui/styles/components/menu-button.css b/libs/ui/styles/components/menu-button.css index 5df16dedf..87d3bb2dd 100644 --- a/libs/ui/styles/components/menu-button.css +++ b/libs/ui/styles/components/menu-button.css @@ -1,3 +1,11 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ + .DropdownMenuContent { @apply z-30 min-w-[14rem] rounded border p-0 bg-raise border-secondary; diff --git a/libs/ui/styles/components/menu-list.css b/libs/ui/styles/components/menu-list.css index bcc844de2..4a39e0133 100644 --- a/libs/ui/styles/components/menu-list.css +++ b/libs/ui/styles/components/menu-list.css @@ -1,3 +1,11 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ + .ox-menu { @apply z-50 max-h-[17.5rem] overflow-y-auto rounded border bg-raise border-secondary elevation-2; } diff --git a/libs/ui/styles/fonts.css b/libs/ui/styles/fonts.css index 967a6eb4e..718127ba2 100644 --- a/libs/ui/styles/fonts.css +++ b/libs/ui/styles/fonts.css @@ -1,3 +1,11 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ + /* GT America Mono */ /* Source: https://www.grillitype.com/typeface/gt-america */ @font-face { diff --git a/libs/ui/styles/index.css b/libs/ui/styles/index.css index 266bab0a4..6d90e5edd 100644 --- a/libs/ui/styles/index.css +++ b/libs/ui/styles/index.css @@ -1,3 +1,11 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ + @import './fonts.css'; @import './components/dialog.css'; @import './components/menu-button.css'; diff --git a/libs/ui/styles/themes/selection.css b/libs/ui/styles/themes/selection.css index 52551aa1f..31f7f7be1 100644 --- a/libs/ui/styles/themes/selection.css +++ b/libs/ui/styles/themes/selection.css @@ -1,3 +1,11 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ + /** * The selection theme overrides certain styles such that the selected state of components can be displayed without * requiring each individual component to implement styles for it diff --git a/libs/ui/util/aria.ts b/libs/ui/util/aria.ts index caa6189df..284b2bb8d 100644 --- a/libs/ui/util/aria.ts +++ b/libs/ui/util/aria.ts @@ -1,3 +1,11 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ + // neat trick for requiring aria-labelledby XOR aria-label on a component // // type Props = { ...otherProps } & AriaLabel diff --git a/libs/ui/util/keys.ts b/libs/ui/util/keys.ts index cbbf5ca05..9f67628b7 100644 --- a/libs/ui/util/keys.ts +++ b/libs/ui/util/keys.ts @@ -1,3 +1,11 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ + // For easy reference in components // See list of values here: https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/key/Key_Values export const KEYS = { diff --git a/libs/ui/util/story-section.tsx b/libs/ui/util/story-section.tsx index 887ea8409..3de9914af 100644 --- a/libs/ui/util/story-section.tsx +++ b/libs/ui/util/story-section.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import cn from 'classnames' import type { ReactNode } from 'react' diff --git a/libs/ui/util/wrap.tsx b/libs/ui/util/wrap.tsx index 6f338b417..ab075eb0d 100644 --- a/libs/ui/util/wrap.tsx +++ b/libs/ui/util/wrap.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import React from 'react' import type { ReactElement, ReactNode } from 'react' diff --git a/libs/util/array.spec.ts b/libs/util/array.spec.ts index 21efd7657..10ff1373f 100644 --- a/libs/util/array.spec.ts +++ b/libs/util/array.spec.ts @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { expect, test } from 'vitest' import { groupBy, intersperse, lowestBy, sortBy, sumBy } from './array' diff --git a/libs/util/array.ts b/libs/util/array.ts index c18f8ae33..fe3b99637 100644 --- a/libs/util/array.ts +++ b/libs/util/array.ts @@ -1,3 +1,11 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ + /* eslint-disable @typescript-eslint/no-explicit-any */ const identity = (x: any) => x diff --git a/libs/util/children.spec.tsx b/libs/util/children.spec.tsx index 64f02dbe1..32fa8a7ab 100644 --- a/libs/util/children.spec.tsx +++ b/libs/util/children.spec.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { describe, expect, it } from 'vitest' import { flattenChildren, isOneOf, pluckAllOfType, pluckFirstOfType } from './children' diff --git a/libs/util/children.tsx b/libs/util/children.tsx index f8f335a19..76bcd0ec2 100644 --- a/libs/util/children.tsx +++ b/libs/util/children.tsx @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { ComponentType, ReactElement, ReactNode } from 'react' import React from 'react' diff --git a/libs/util/classed.tsx b/libs/util/classed.tsx index 9fea86ebb..f4e104798 100644 --- a/libs/util/classed.tsx +++ b/libs/util/classed.tsx @@ -1,3 +1,11 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ + /** * Even though this file doesn't contain JSX we've changed it to a TSX file to * avoid build failures with the `vite:react-babel` plugin. diff --git a/libs/util/date.ts b/libs/util/date.ts index 01fcc9175..c5dd78c4a 100644 --- a/libs/util/date.ts +++ b/libs/util/date.ts @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { format } from 'date-fns' export const formatDateTime = (d: Date) => format(d, 'MMM d, yyyy H:mm aa') diff --git a/libs/util/index.ts b/libs/util/index.ts index 896321ba6..2898bfdfc 100644 --- a/libs/util/index.ts +++ b/libs/util/index.ts @@ -1,3 +1,11 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ + export * from './array' export * from './children' export * from './classed' diff --git a/libs/util/math.spec.ts b/libs/util/math.spec.ts index b45d43580..ee2fd8196 100644 --- a/libs/util/math.spec.ts +++ b/libs/util/math.spec.ts @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { expect, it } from 'vitest' import { splitDecimal } from './math' diff --git a/libs/util/math.ts b/libs/util/math.ts index e2dcaef50..dc65df861 100644 --- a/libs/util/math.ts +++ b/libs/util/math.ts @@ -1,3 +1,11 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ + export function splitDecimal(value: number) { const wholeNumber = Math.trunc(value) const decimal = value % 1 !== 0 ? round(value % 1, 2) : null diff --git a/libs/util/object.spec.ts b/libs/util/object.spec.ts index 85e547049..5a2158b1d 100644 --- a/libs/util/object.spec.ts +++ b/libs/util/object.spec.ts @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { expect, test } from 'vitest' import { exclude, pick } from './object' diff --git a/libs/util/object.ts b/libs/util/object.ts index 41b691dab..24655d143 100644 --- a/libs/util/object.ts +++ b/libs/util/object.ts @@ -1,3 +1,11 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ + export const pick = , K extends keyof T>( obj: T, ...keys: K[] diff --git a/libs/util/selector.spec.ts b/libs/util/selector.spec.ts index fe2b8e9ff..05a0133df 100644 --- a/libs/util/selector.spec.ts +++ b/libs/util/selector.spec.ts @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { assertType, describe, expect, it } from 'vitest' import { toPathQuery } from './selector' diff --git a/libs/util/selector.ts b/libs/util/selector.ts index d68e6c42f..6b78e9de1 100644 --- a/libs/util/selector.ts +++ b/libs/util/selector.ts @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { exclude } from '@oxide/util' /** diff --git a/libs/util/str.spec.ts b/libs/util/str.spec.ts index 61152d8cc..4a4dd3d07 100644 --- a/libs/util/str.spec.ts +++ b/libs/util/str.spec.ts @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { describe, expect, it } from 'vitest' import { camelCase, capitalize, commaSeries, kebabCase } from './str' diff --git a/libs/util/str.ts b/libs/util/str.ts index a05ea157a..32739a404 100644 --- a/libs/util/str.ts +++ b/libs/util/str.ts @@ -1,3 +1,11 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ + export const capitalize = (s: string) => s && s.charAt(0).toUpperCase() + s.slice(1) export const pluralize = (s: string, n: number) => `${n} ${s}${n === 1 ? '' : 's'}` diff --git a/libs/util/units.ts b/libs/util/units.ts index 21ff16a23..9ccdc1aab 100644 --- a/libs/util/units.ts +++ b/libs/util/units.ts @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { round } from './math' export const KiB = 1024 diff --git a/libs/vite-plugin-dot-path-fix/index.ts b/libs/vite-plugin-dot-path-fix/index.ts index 44c73b124..ee8217150 100644 --- a/libs/vite-plugin-dot-path-fix/index.ts +++ b/libs/vite-plugin-dot-path-fix/index.ts @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { Plugin } from 'vite' /** diff --git a/playwright.config.ts b/playwright.config.ts index 0af653ab0..1f96a98ea 100644 --- a/playwright.config.ts +++ b/playwright.config.ts @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import type { PlaywrightTestConfig } from '@playwright/test' import { devices } from '@playwright/test' diff --git a/postcss.config.js b/postcss.config.js index 0f7537c32..c3c8efb9b 100644 --- a/postcss.config.js +++ b/postcss.config.js @@ -1,3 +1,11 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ + let ladlePlugins = [] if (process.env.IS_LADLE) { // used by checkbox and radio stories to show states diff --git a/tailwind.config.js b/tailwind.config.js index 0973aa580..daf25a2cd 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -1,3 +1,11 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ + // @ts-check /** @type {import('tailwindcss/lib/util/createPlugin').default} */ diff --git a/tools/checkout_pinned_omicron.sh b/tools/checkout_pinned_omicron.sh index dfc245cc9..b096e8edd 100755 --- a/tools/checkout_pinned_omicron.sh +++ b/tools/checkout_pinned_omicron.sh @@ -1,4 +1,10 @@ #!/bin/bash +# 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 https://mozilla.org/MPL/2.0/. +# +# Copyright Oxide Computer Company + set -e set -o pipefail diff --git a/tools/debug-ci-e2e-fail.sh b/tools/debug-ci-e2e-fail.sh index c3c7765ee..d37d855b0 100755 --- a/tools/debug-ci-e2e-fail.sh +++ b/tools/debug-ci-e2e-fail.sh @@ -1,4 +1,10 @@ #!/bin/bash +# 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 https://mozilla.org/MPL/2.0/. +# +# Copyright Oxide Computer Company + set -e set -o pipefail diff --git a/tools/deno/bump-omicron.ts b/tools/deno/bump-omicron.ts index c8fb37383..f54d2fb0d 100755 --- a/tools/deno/bump-omicron.ts +++ b/tools/deno/bump-omicron.ts @@ -1,4 +1,12 @@ #! /usr/bin/env -S deno run --allow-run --allow-net --allow-read --allow-write + +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import * as flags from 'https://deno.land/std@0.159.0/flags/mod.ts' import * as path from 'https://deno.land/std@0.159.0/path/mod.ts' diff --git a/tools/deno/mock-serial-console.ts b/tools/deno/mock-serial-console.ts index 92a295898..aece68b8b 100755 --- a/tools/deno/mock-serial-console.ts +++ b/tools/deno/mock-serial-console.ts @@ -1,4 +1,12 @@ #! /usr/bin/env -S deno run --allow-run --allow-net + +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { delay } from 'https://deno.land/std@0.181.0/async/delay.ts' import { serve } from 'https://deno.land/std@0.181.0/http/server.ts' diff --git a/tools/dogfood/find-zone.sh b/tools/dogfood/find-zone.sh index cf225c01d..c7fe13cae 100755 --- a/tools/dogfood/find-zone.sh +++ b/tools/dogfood/find-zone.sh @@ -1,4 +1,10 @@ #! /usr/bin/env bash +# 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 https://mozilla.org/MPL/2.0/. +# +# Copyright Oxide Computer Company + # Figure out which gimlets have a zone with the given name diff --git a/tools/dogfood/scp-assets.sh b/tools/dogfood/scp-assets.sh index a25127c19..08dade502 100755 --- a/tools/dogfood/scp-assets.sh +++ b/tools/dogfood/scp-assets.sh @@ -1,4 +1,10 @@ #! /usr/bin/env bash +# 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 https://mozilla.org/MPL/2.0/. +# +# Copyright Oxide Computer Company + set -e set -o pipefail diff --git a/tools/export-icons.sh b/tools/export-icons.sh index 4556dc29b..9ee271cb3 100755 --- a/tools/export-icons.sh +++ b/tools/export-icons.sh @@ -1,4 +1,10 @@ #!/bin/bash +# 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 https://mozilla.org/MPL/2.0/. +# +# Copyright Oxide Computer Company + set -e set -o pipefail diff --git a/tools/generate_api_client.sh b/tools/generate_api_client.sh index ed93dbd1e..329a4d795 100755 --- a/tools/generate_api_client.sh +++ b/tools/generate_api_client.sh @@ -1,4 +1,10 @@ #!/bin/bash +# 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 https://mozilla.org/MPL/2.0/. +# +# Copyright Oxide Computer Company + set -o errexit # exit if anything fails set -o pipefail diff --git a/tools/populate_omicron_data.sh b/tools/populate_omicron_data.sh index ee2d961cf..71abf47df 100755 --- a/tools/populate_omicron_data.sh +++ b/tools/populate_omicron_data.sh @@ -1,4 +1,10 @@ #!/bin/bash +# 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 https://mozilla.org/MPL/2.0/. +# +# Copyright Oxide Computer Company + set -o errexit set -o pipefail diff --git a/tools/start_api.sh b/tools/start_api.sh index 20ef029fc..5b5ff1bf3 100755 --- a/tools/start_api.sh +++ b/tools/start_api.sh @@ -1,4 +1,10 @@ #!/bin/bash +# 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 https://mozilla.org/MPL/2.0/. +# +# Copyright Oxide Computer Company + set -o errexit set -o pipefail diff --git a/tools/start_mock_api.ts b/tools/start_mock_api.ts index fb87e9e5b..4f02ce890 100644 --- a/tools/start_mock_api.ts +++ b/tools/start_mock_api.ts @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import { createServer } from '@mswjs/http-middleware' import { handlers } from '@oxide/api-mocks' diff --git a/types/react-table.d.ts b/types/react-table.d.ts index 81cecd53e..513403b71 100644 --- a/types/react-table.d.ts +++ b/types/react-table.d.ts @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import '@tanstack/react-table' declare module '@tanstack/react-table' { diff --git a/types/util.d.ts b/types/util.d.ts index 74cd764a4..421557658 100644 --- a/types/util.d.ts +++ b/types/util.d.ts @@ -1,3 +1,11 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ + /** Keep only keys whose values extend V */ type PickByValue = { [K in keyof T as T[K] extends V ? K : never]: T[K] diff --git a/vite.config.ts b/vite.config.ts index a09ce34fc..04115fcde 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -1,3 +1,10 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ import basicSsl from '@vitejs/plugin-basic-ssl' import react from '@vitejs/plugin-react' import { resolve } from 'path'