Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions LOCAL.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<p align="center">
<a href="https://developer.dxc.com/halstack/">
<a href="https://developer.assure.dxc.com/halstack/">
<img src="apps/website/screens/common/images/halstack_logo.svg" alt="Halstack Design System logo" />
</a>
</p>
Expand All @@ -12,7 +12,7 @@ These instructions will get you a copy of the project up and running on your loc

## Before start working

Remember to read [the documentation site](https://developer.dxc.com/halstack/) carefully before trying to modify any Halstack implementation, documentation or examples.
Remember to read [the documentation site](https://developer.assure.dxc.com/halstack/) carefully before trying to modify any Halstack implementation, documentation or examples.

## Monorepo structure

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<p align="center">
<a href="https://developer.dxc.com/halstack/">
<a href="https://developer.assure.dxc.com/halstack/">
<img src="apps/website/screens/common/images/halstack_logo.svg" alt="Halstack Design System logo" />
</a>
</p>
Expand Down Expand Up @@ -31,7 +31,7 @@ const App = () => (

## Where to start

Learn everything you need to know about Halstack principles and components on the [official documentation site](https://developer.dxc.com/halstack/).
Learn everything you need to know about Halstack principles and components on the [official documentation site](https://developer.assure.dxc.com/halstack/).

## Contributing

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -203,12 +203,12 @@ const sections = [
</DxcParagraph>
<DxcBulletedList>
<DxcBulletedList.Item>
<DxcLink href="https://developer.dxc.com/tools/react" newWindow>
<DxcLink href="https://developer.assure.dxc.com/tools/react" newWindow>
Previous React documentation
</DxcLink>
</DxcBulletedList.Item>
<DxcBulletedList.Item>
<DxcLink href="https://developer.dxc.com/tools/angular" newWindow>
<DxcLink href="https://developer.assure.dxc.com/tools/angular" newWindow>
Previous Angular documentation
</DxcLink>
</DxcBulletedList.Item>
Expand Down
22 changes: 11 additions & 11 deletions apps/website/screens/overview/releases/ReleasesPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,34 +28,34 @@ const sections = [
<DxcParagraph>Every major release of Halstack is collected below:</DxcParagraph>
<DxcBulletedList>
<DxcBulletedList.Item>
<DxcLink href="https://developer.dxc.com/halstack/15/overview/introduction/">Halstack 15</DxcLink>
<DxcLink href="https://developer.assure.dxc.com/halstack/15/overview/introduction/">Halstack 15</DxcLink>
</DxcBulletedList.Item>
<DxcBulletedList.Item>
<DxcLink href="https://developer.dxc.com/halstack/14/overview/introduction/">Halstack 14</DxcLink>
<DxcLink href="https://developer.assure.dxc.com/halstack/14/overview/introduction/">Halstack 14</DxcLink>
</DxcBulletedList.Item>
<DxcBulletedList.Item>
<DxcLink href="https://developer.dxc.com/halstack/13/overview/introduction/">Halstack 13</DxcLink>
<DxcLink href="https://developer.assure.dxc.com/halstack/13/overview/introduction/">Halstack 13</DxcLink>
</DxcBulletedList.Item>
<DxcBulletedList.Item>
<DxcLink href="https://developer.dxc.com/halstack/12/overview/introduction/">Halstack 12</DxcLink>
<DxcLink href="https://developer.assure.dxc.com/halstack/12/overview/introduction/">Halstack 12</DxcLink>
</DxcBulletedList.Item>
<DxcBulletedList.Item>
<DxcLink href="https://developer.dxc.com/halstack/11/overview/introduction/">Halstack 11</DxcLink>
<DxcLink href="https://developer.assure.dxc.com/halstack/11/overview/introduction/">Halstack 11</DxcLink>
</DxcBulletedList.Item>
<DxcBulletedList.Item>
<DxcLink href="https://developer.dxc.com/halstack/10/overview/introduction/">Halstack 10</DxcLink>
<DxcLink href="https://developer.assure.dxc.com/halstack/10/overview/introduction/">Halstack 10</DxcLink>
</DxcBulletedList.Item>
<DxcBulletedList.Item>
<DxcLink href="https://developer.dxc.com/halstack/9/overview/introduction/">Halstack 9</DxcLink>
<DxcLink href="https://developer.assure.dxc.com/halstack/9/overview/introduction/">Halstack 9</DxcLink>
</DxcBulletedList.Item>
<DxcBulletedList.Item>
<DxcLink href="https://developer.dxc.com/halstack/8/overview/introduction/">Halstack 8</DxcLink>
<DxcLink href="https://developer.assure.dxc.com/halstack/8/overview/introduction/">Halstack 8</DxcLink>
</DxcBulletedList.Item>
<DxcBulletedList.Item>
<DxcLink href="https://developer.dxc.com/halstack/7/overview/introduction/">Halstack 7</DxcLink>
<DxcLink href="https://developer.assure.dxc.com/halstack/7/overview/introduction/">Halstack 7</DxcLink>
</DxcBulletedList.Item>
<DxcBulletedList.Item>
<DxcLink href="https://developer.dxc.com/halstack/6/overview/introduction/">Halstack 6</DxcLink>
<DxcLink href="https://developer.assure.dxc.com/halstack/6/overview/introduction/">Halstack 6</DxcLink>
</DxcBulletedList.Item>
</DxcBulletedList>
<DxcParagraph>
Expand All @@ -75,7 +75,7 @@ const sections = [
<DxcParagraph>
To check the latest features under development by the Halstack team, you can access the <Code>next</Code>{" "}
version of the documentation through this{" "}
<DxcLink href="https://developer.dxc.com/halstack/next/">link</DxcLink>. Please note that this version is
<DxcLink href="https://developer.assure.dxc.com/halstack/next/">link</DxcLink>. Please note that this version is
unstable and may contain minor bugs. For a better experience with Halstack, we recommend, if possible,
always using the latest release available.
</DxcParagraph>
Expand Down
8 changes: 4 additions & 4 deletions packages/lib/src/avatar/Avatar.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@ describe("Avatar component tests", () => {
});
test("Avatar renders with image when src is passed", () => {
const { getByRole } = render(
<DxcAvatar imageSrc="https://developer.dxc.com/halstack/next/_next/static/media/neutral_colors.e92a8be2.png" />
<DxcAvatar imageSrc="https://developer.assure.dxc.com/halstack/next/_next/static/media/neutral_colors.e92a8be2.png" />
);
const img = getByRole("img");
expect(img).toHaveAttribute(
"src",
"https://developer.dxc.com/halstack/next/_next/static/media/neutral_colors.e92a8be2.png"
"https://developer.assure.dxc.com/halstack/next/_next/static/media/neutral_colors.e92a8be2.png"
);
});
test("Avatar renders with initials when label is passed", () => {
Expand All @@ -42,7 +42,7 @@ describe("Avatar component tests", () => {
test("Avatar renders with image when src and label are passed", () => {
const { getByRole, queryByText } = render(
<DxcAvatar
imageSrc="https://developer.dxc.com/halstack/next/_next/static/media/neutral_colors.e92a8be2.png"
imageSrc="https://developer.assure.dxc.com/halstack/next/_next/static/media/neutral_colors.e92a8be2.png"
label="John Doe"
/>
);
Expand All @@ -55,7 +55,7 @@ describe("Avatar component tests", () => {
const CustomIcon = () => <svg data-testid="custom-icon" />;
const { rerender, getByRole, getByText, getByTestId, queryByRole, queryByText, queryByTestId } = render(
<DxcAvatar
imageSrc="https://developer.dxc.com/halstack/next/_next/static/media/neutral_colors.e92a8be2.png"
imageSrc="https://developer.assure.dxc.com/halstack/next/_next/static/media/neutral_colors.e92a8be2.png"
label="John Doe"
icon={<CustomIcon />}
/>
Expand Down
2 changes: 1 addition & 1 deletion packages/lib/src/dialog/Dialog.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ describe("Dialog component: Focus lock tests", () => {
test("Autofocus with Card component", () => {
const { getByRole } = render(
<DxcDialog>
<DxcCard linkHref="https://developer.dxc.com/halstack/next/components/card/">example-card</DxcCard>
<DxcCard linkHref="https://developer.assure.dxc.com/halstack/next/components/card/">example-card</DxcCard>
</DxcDialog>
);
const card = getByRole("link");
Expand Down
4 changes: 2 additions & 2 deletions scripts/release-website.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ const moveToBucket = (version) => {
};

const updateRedirectionToLatest = (version) => {
const redirection = `window.location.replace("https://developer.dxc.com/halstack/${version}/");`;
const redirection = `window.location.replace("https://developer.assure.dxc.com/halstack/${version}/");`;
return new Promise((resolve, reject) => {
exec(`echo '${redirection}' | aws s3 cp - s3://${BUCKET_NAME}/${DIRECTORY}redirect.js`, (error, stdout, stderr) => {
if (error) {
Expand Down Expand Up @@ -126,7 +126,7 @@ const updateAvailableVersions = async (versions, currentVersion) => {
const currentItem = isNaN(version) ? "next" : version;
return {
versionNumber: currentItem,
versionURL: `https://developer.dxc.com/${
versionURL: `https://developer.assure.dxc.com/${
isNaN(currentItem) && currentItem <= 5 ? "tools/react" : "halstack"
}/${currentItem}/`,
current: currentItem === currentVersion,
Expand Down