From 4750a911cca55f31298bcd785e45b123848a5d64 Mon Sep 17 00:00:00 2001 From: TJ Egan Date: Wed, 7 Feb 2024 13:55:40 -0500 Subject: [PATCH] chore(AiSkeleton): add generated files, update snaps --- .../components/skeleton-styles/_ai-skeleton-styles.scss | 9 +++++++++ .../components/skeleton-styles/_ai-skeleton-styles.scss | 9 +++++++++ .../components/skeleton-styles/_ai-skeleton-styles.scss | 9 +++++++++ packages/react/src/index.js | 6 ++++++ .../styles/__tests__/__snapshots__/styles-test.js.snap | 5 +++++ packages/styles/files.js | 1 + 6 files changed, 39 insertions(+) create mode 100644 packages/carbon-components-react/scss/components/skeleton-styles/_ai-skeleton-styles.scss create mode 100644 packages/carbon-components/scss/components/skeleton-styles/_ai-skeleton-styles.scss create mode 100644 packages/react/scss/components/skeleton-styles/_ai-skeleton-styles.scss diff --git a/packages/carbon-components-react/scss/components/skeleton-styles/_ai-skeleton-styles.scss b/packages/carbon-components-react/scss/components/skeleton-styles/_ai-skeleton-styles.scss new file mode 100644 index 000000000000..c07f6ee77f00 --- /dev/null +++ b/packages/carbon-components-react/scss/components/skeleton-styles/_ai-skeleton-styles.scss @@ -0,0 +1,9 @@ +// Code generated by carbon-components-react. DO NOT EDIT. +// +// Copyright IBM Corp. 2018, 2023 +// +// This source code is licensed under the Apache-2.0 license found in the +// LICENSE file in the root directory of this source tree. +// + +@forward '@carbon/styles/scss/components/skeleton-styles/ai-skeleton-styles'; diff --git a/packages/carbon-components/scss/components/skeleton-styles/_ai-skeleton-styles.scss b/packages/carbon-components/scss/components/skeleton-styles/_ai-skeleton-styles.scss new file mode 100644 index 000000000000..b75ddc45dd0a --- /dev/null +++ b/packages/carbon-components/scss/components/skeleton-styles/_ai-skeleton-styles.scss @@ -0,0 +1,9 @@ +// Code generated by carbon-components. DO NOT EDIT. +// +// Copyright IBM Corp. 2018, 2023 +// +// This source code is licensed under the Apache-2.0 license found in the +// LICENSE file in the root directory of this source tree. +// + +@forward '@carbon/styles/scss/components/skeleton-styles/ai-skeleton-styles'; diff --git a/packages/react/scss/components/skeleton-styles/_ai-skeleton-styles.scss b/packages/react/scss/components/skeleton-styles/_ai-skeleton-styles.scss new file mode 100644 index 000000000000..c29b3da911ef --- /dev/null +++ b/packages/react/scss/components/skeleton-styles/_ai-skeleton-styles.scss @@ -0,0 +1,9 @@ +// Code generated by @carbon/react. DO NOT EDIT. +// +// Copyright IBM Corp. 2018, 2023 +// +// This source code is licensed under the Apache-2.0 license found in the +// LICENSE file in the root directory of this source tree. +// + +@forward '@carbon/styles/scss/components/skeleton-styles/ai-skeleton-styles'; diff --git a/packages/react/src/index.js b/packages/react/src/index.js index da345daba76f..432d03c20393 100644 --- a/packages/react/src/index.js +++ b/packages/react/src/index.js @@ -305,3 +305,9 @@ export { SlugContent as unstable__SlugContent, SlugActions as unstable__SlugActions, } from './components/Slug'; + +export { + AiSkeletonText as unstable__AiSkeletonText, + AiSkeletonIcon as unstable__AiSkeletonIcon, + AiSkeletonPlaceholder as unstable__AiSkeletonPlaceholder, +} from './components/AiSkeleton'; diff --git a/packages/styles/__tests__/__snapshots__/styles-test.js.snap b/packages/styles/__tests__/__snapshots__/styles-test.js.snap index 1218321f1810..068455f07e00 100644 --- a/packages/styles/__tests__/__snapshots__/styles-test.js.snap +++ b/packages/styles/__tests__/__snapshots__/styles-test.js.snap @@ -607,6 +607,11 @@ Array [ "importPath": "@carbon/styles/scss/components/skeleton-styles/skeleton-styles", "relativePath": "scss/components/skeleton-styles/skeleton-styles", }, + Object { + "filepath": "scss/components/skeleton-styles/_ai-skeleton-styles.scss", + "importPath": "@carbon/styles/scss/components/skeleton-styles/ai-skeleton-styles", + "relativePath": "scss/components/skeleton-styles/ai-skeleton-styles", + }, Object { "filepath": "scss/components/slider/_index.scss", "importPath": "@carbon/styles/scss/components/slider", diff --git a/packages/styles/files.js b/packages/styles/files.js index b3e6537c806b..5a09f3916e76 100644 --- a/packages/styles/files.js +++ b/packages/styles/files.js @@ -140,6 +140,7 @@ const files = [ 'scss/components/select/_select.scss', 'scss/components/skeleton-styles/_index.scss', 'scss/components/skeleton-styles/_skeleton-styles.scss', + 'scss/components/skeleton-styles/_ai-skeleton-styles.scss', 'scss/components/slider/_index.scss', 'scss/components/slider/_slider.scss', 'scss/components/slug/_index.scss',