, {
+ size: 'mini',
+ });
+ }
+
return (
{!inline ? (
@@ -322,6 +337,7 @@ const TextInput = React.forwardRef(function TextInput(
data-invalid={normalizedProps.invalid || null}>
{Icon && }
{input}
+ {normalizedSlug}
{ariaAnnouncement}
@@ -436,6 +452,11 @@ TextInput.propTypes = {
*/
size: PropTypes.oneOf(['sm', 'md', 'lg']),
+ /**
+ * Provide a `Slug` component to be rendered inside the `TextInput` component
+ */
+ slug: PropTypes.node,
+
/**
* Specify the type of the ``
*/
diff --git a/packages/react/src/index.ts b/packages/react/src/index.ts
index c5b7f6a97768..d7d6d1094655 100644
--- a/packages/react/src/index.ts
+++ b/packages/react/src/index.ts
@@ -152,6 +152,11 @@ export {
} from './components/Pagination/experimental';
export * from './components/Popover';
export * from './components/ProgressBar';
+export {
+ Slug as unstable__Slug,
+ SlugContent as unstable__SlugContent,
+ SlugActions as unstable__SlugActions,
+} from './components/Slug';
export * from './components/Stack';
export * from './components/Tooltip';
export {
diff --git a/packages/styles/__tests__/__snapshots__/styles-test.js.snap b/packages/styles/__tests__/__snapshots__/styles-test.js.snap
index 60aebb2849cd..1218321f1810 100644
--- a/packages/styles/__tests__/__snapshots__/styles-test.js.snap
+++ b/packages/styles/__tests__/__snapshots__/styles-test.js.snap
@@ -892,6 +892,11 @@ Array [
"importPath": "@carbon/styles/scss/type/reset",
"relativePath": "scss/type/reset",
},
+ Object {
+ "filepath": "scss/utilities/_ai-gradient.scss",
+ "importPath": "@carbon/styles/scss/utilities/ai-gradient",
+ "relativePath": "scss/utilities/ai-gradient",
+ },
Object {
"filepath": "scss/utilities/_box-shadow.scss",
"importPath": "@carbon/styles/scss/utilities/box-shadow",
diff --git a/packages/styles/files.js b/packages/styles/files.js
index 54d722c22a6a..b3e6537c806b 100644
--- a/packages/styles/files.js
+++ b/packages/styles/files.js
@@ -205,6 +205,7 @@ const files = [
'scss/type/_reset.scss',
// Utilities
+ 'scss/utilities/_ai-gradient.scss',
'scss/utilities/_box-shadow.scss',
'scss/utilities/_button-reset.scss',
'scss/utilities/_component-reset.scss',
diff --git a/packages/styles/package.json b/packages/styles/package.json
index 3079806d5858..1eca653a37cc 100644
--- a/packages/styles/package.json
+++ b/packages/styles/package.json
@@ -1,7 +1,7 @@
{
"name": "@carbon/styles",
"description": "Styles for the Carbon Design System",
- "version": "1.42.0",
+ "version": "1.43.0-rc.0",
"license": "Apache-2.0",
"repository": {
"type": "git",
diff --git a/packages/styles/scss/components/button/_button.scss b/packages/styles/scss/components/button/_button.scss
index c6a0c97f3ccd..35766ff05cd4 100644
--- a/packages/styles/scss/components/button/_button.scss
+++ b/packages/styles/scss/components/button/_button.scss
@@ -390,6 +390,12 @@
}
}
+ .#{$prefix}--btn-set .#{$prefix}--btn.#{$prefix}--btn--loading {
+ border-color: transparent;
+ background-color: transparent;
+ box-shadow: none;
+ }
+
// Windows HCM fix
.#{$prefix}--btn:focus {
@include high-contrast-mode('focus');
diff --git a/packages/styles/scss/components/date-picker/_date-picker.scss b/packages/styles/scss/components/date-picker/_date-picker.scss
index a1fd936451b4..ab29b096bc62 100644
--- a/packages/styles/scss/components/date-picker/_date-picker.scss
+++ b/packages/styles/scss/components/date-picker/_date-picker.scss
@@ -13,6 +13,7 @@
@use '../../theme' as *;
@use '../../spacing' as *;
@use '../../type' as *;
+@use '../../utilities/ai-gradient' as *;
@use '../../utilities/component-reset';
@use '../../utilities/convert';
@use '../../utilities/focus-outline' as *;
@@ -55,7 +56,7 @@
align-items: center;
}
- .#{$prefix}--date-picker-input__wrapper span {
+ .#{$prefix}--date-picker-input__wrapper > span {
position: relative;
}
@@ -176,7 +177,6 @@
.#{$prefix}--date-picker__input:disabled ~ .#{$prefix}--date-picker__icon {
cursor: not-allowed;
- fill: $icon-disabled;
}
.#{$prefix}--date-picker--range
@@ -189,6 +189,32 @@
inline-size: convert.to-rem(143.5px);
}
+ // Styles for `Slug` rendered inside `DatePickerInput`
+ .#{$prefix}--date-picker-input__wrapper--slug .#{$prefix}--slug {
+ position: absolute;
+ inset-block-start: 50%;
+ inset-inline-end: $spacing-08;
+ transform: translateY(-50%);
+ }
+
+ .#{$prefix}--date-picker-input__wrapper--slug
+ .#{$prefix}--date-picker__input {
+ @include ai-gradient;
+
+ padding-inline-end: $spacing-10;
+ }
+
+ // Read-only State
+ .#{$prefix}--date-picker__input[readonly] {
+ background: transparent;
+ border-block-end-color: $border-subtle;
+ cursor: text;
+ }
+
+ .#{$prefix}--date-picker__input[readonly] + .#{$prefix}--date-picker__icon {
+ fill: $icon-disabled;
+ }
+
// Skeleton State
.#{$prefix}--date-picker.#{$prefix}--skeleton input,
.#{$prefix}--date-picker__input.#{$prefix}--skeleton {
@@ -205,7 +231,6 @@
@include skeleton;
block-size: convert.to-rem(14px);
-
inline-size: convert.to-rem(75px);
}
@@ -214,15 +239,4 @@
.#{$prefix}--date-picker__icon {
@include high-contrast-mode('icon-fill');
}
-
- // readonly
- .#{$prefix}--date-picker__input[readonly] {
- background: transparent;
- border-block-end-color: $border-subtle;
- cursor: text;
- }
-
- .#{$prefix}--date-picker__input[readonly] + .#{$prefix}--date-picker__icon {
- fill: $icon-disabled;
- }
}
diff --git a/packages/styles/scss/components/fluid-date-picker/_fluid-date-picker.scss b/packages/styles/scss/components/fluid-date-picker/_fluid-date-picker.scss
index 08982719657a..ccff5fd99f1c 100644
--- a/packages/styles/scss/components/fluid-date-picker/_fluid-date-picker.scss
+++ b/packages/styles/scss/components/fluid-date-picker/_fluid-date-picker.scss
@@ -12,6 +12,7 @@
@use '../../motion' as *;
@use '../../spacing' as *;
@use '../../theme' as *;
+@use '../../utilities/ai-gradient' as *;
@use '../../utilities/convert';
@use '../../utilities/focus-outline' as *;
@use '../date-picker';
@@ -397,4 +398,16 @@
.#{$prefix}--date-picker__input {
border-inline-start-color: $border-subtle;
}
+
+ // Slug styles
+ .#{$prefix}--date-picker--fluid
+ .#{$prefix}--date-picker-input__wrapper--slug
+ .#{$prefix}--slug {
+ inset-block-start: convert.to-rem(43px);
+ }
+
+ .#{$prefix}--date-picker--fluid
+ .#{$prefix}--date-picker-input__wrapper--slug {
+ @include ai-gradient;
+ }
}
diff --git a/packages/styles/scss/components/fluid-number-input/_fluid-number-input.scss b/packages/styles/scss/components/fluid-number-input/_fluid-number-input.scss
index 98ccee547a7c..bb6edb391d5f 100644
--- a/packages/styles/scss/components/fluid-number-input/_fluid-number-input.scss
+++ b/packages/styles/scss/components/fluid-number-input/_fluid-number-input.scss
@@ -12,6 +12,7 @@
@use '../../motion' as *;
@use '../../spacing' as *;
@use '../../theme' as *;
+@use '../../utilities/ai-gradient' as *;
@use '../../utilities/convert';
@use '../../utilities/focus-outline' as *;
@use '../number-input';
@@ -273,4 +274,15 @@
input[type='number']:disabled {
background-color: transparent;
}
+
+ // Slug styles
+ .#{$prefix}--number-input--fluid
+ .#{$prefix}--number__input-wrapper--slug
+ .#{$prefix}--slug {
+ inset-block-start: convert.to-rem(43px);
+ }
+
+ .#{$prefix}--number-input--fluid .#{$prefix}--number__input-wrapper--slug {
+ @include ai-gradient;
+ }
}
diff --git a/packages/styles/scss/components/fluid-text-area/_fluid-text-area.scss b/packages/styles/scss/components/fluid-text-area/_fluid-text-area.scss
index 7976aff7bedb..b064d9c8f586 100644
--- a/packages/styles/scss/components/fluid-text-area/_fluid-text-area.scss
+++ b/packages/styles/scss/components/fluid-text-area/_fluid-text-area.scss
@@ -12,6 +12,7 @@
@use '../../config' as *;
@use '../../spacing' as *;
@use '../../theme' as *;
+@use '../../utilities/ai-gradient' as *;
@use '../../utilities/convert';
@use '../../utilities/focus-outline' as *;
@@ -216,4 +217,9 @@
block-size: 4rem;
inline-size: 80%;
}
+
+ // Slug styles
+ .#{$prefix}--text-area--fluid .#{$prefix}--text-area__wrapper--slug {
+ @include ai-gradient;
+ }
}
diff --git a/packages/styles/scss/components/fluid-text-input/_fluid-text-input.scss b/packages/styles/scss/components/fluid-text-input/_fluid-text-input.scss
index 8632ba627b09..8951cff64317 100644
--- a/packages/styles/scss/components/fluid-text-input/_fluid-text-input.scss
+++ b/packages/styles/scss/components/fluid-text-input/_fluid-text-input.scss
@@ -185,4 +185,11 @@
inset-block-start: convert.to-rem(36px);
inset-inline-start: $spacing-05;
}
+
+ // Slug styles
+ .#{$prefix}--text-input--fluid
+ .#{$prefix}--text-input__field-wrapper--slug
+ .#{$prefix}--slug {
+ inset-block-start: convert.to-rem(43px);
+ }
}
diff --git a/packages/styles/scss/components/inline-loading/_inline-loading.scss b/packages/styles/scss/components/inline-loading/_inline-loading.scss
index cc14cc4b9888..e8b538a9d6bd 100644
--- a/packages/styles/scss/components/inline-loading/_inline-loading.scss
+++ b/packages/styles/scss/components/inline-loading/_inline-loading.scss
@@ -83,6 +83,15 @@ $-loading-gap-small: 110;
.#{$prefix}--loading--small .#{$prefix}--inline-loading__svg {
stroke: $interactive;
}
+
+ .#{$prefix}--btn .#{$prefix}--inline-loading--btn {
+ min-block-size: 0;
+
+ .#{$prefix}--inline-loading__text {
+ @include type-style('body-short-01');
+ }
+ }
+
/* If IE11 Don't show check animation */
@media screen and (-ms-high-contrast: active),
screen and (-ms-high-contrast: none) {
diff --git a/packages/styles/scss/components/list-box/_list-box.scss b/packages/styles/scss/components/list-box/_list-box.scss
index ee6a21ae7a8b..2383fc968ced 100644
--- a/packages/styles/scss/components/list-box/_list-box.scss
+++ b/packages/styles/scss/components/list-box/_list-box.scss
@@ -16,6 +16,7 @@
@use '../../spacing' as *;
@use '../../motion' as *;
@use '../../layer' as *;
+@use '../../utilities/ai-gradient' as *;
@use '../../utilities/box-shadow' as *;
@use '../../utilities/button-reset';
@use '../../utilities/component-reset';
@@ -888,6 +889,58 @@ $list-box-menu-width: convert.to-rem(300px);
text-overflow: ellipsis;
}
+ // Slug styles
+ .#{$prefix}--list-box__wrapper--slug .#{$prefix}--slug {
+ position: absolute;
+ inset-block-start: 50%;
+ inset-inline-end: $spacing-08;
+ transform: translateY(-50%);
+ }
+
+ .#{$prefix}--list-box__wrapper--slug .#{$prefix}--list-box {
+ @include ai-gradient;
+ }
+
+ .#{$prefix}--list-box__wrapper--slug .#{$prefix}--list-box__field,
+ .#{$prefix}--list-box__wrapper--slug .#{$prefix}--text-input {
+ padding-inline-end: $spacing-10;
+ }
+
+ .#{$prefix}--list-box__wrapper--slug
+ .#{$prefix}--list-box--invalid
+ .#{$prefix}--list-box__field,
+ .#{$prefix}--list-box__wrapper--slug
+ .#{$prefix}--list-box--warning
+ .#{$prefix}--list-box__field {
+ padding-inline-end: $spacing-12;
+ }
+
+ .#{$prefix}--list-box__wrapper--slug
+ .#{$prefix}--list-box--invalid
+ .#{$prefix}--slug,
+ .#{$prefix}--list-box__wrapper--slug
+ .#{$prefix}--list-box--warning
+ .#{$prefix}--slug {
+ inset-inline-end: $spacing-10;
+ }
+
+ .#{$prefix}--list-box__wrapper--slug
+ .#{$prefix}--list-box__field:has(.#{$prefix}--list-box__selection)
+ ~ .#{$prefix}--slug {
+ inset-inline-end: $spacing-10;
+ }
+
+ .#{$prefix}--list-box__wrapper--slug
+ .#{$prefix}--list-box--invalid
+ .#{$prefix}--list-box__field:has(.#{$prefix}--list-box__selection)
+ ~ .#{$prefix}--slug,
+ .#{$prefix}--list-box__wrapper--slug
+ .#{$prefix}--list-box--warning
+ .#{$prefix}--list-box__field:has(.#{$prefix}--list-box__selection)
+ ~ .#{$prefix}--slug {
+ inset-inline-end: convert.to-rem(88px);
+ }
+
// Windows HCM fix
.#{$prefix}--list-box__field,
.#{$prefix}--list-box__menu,
diff --git a/packages/styles/scss/components/number-input/_number-input.scss b/packages/styles/scss/components/number-input/_number-input.scss
index 195bfbf4cccd..fdeeff4758b2 100644
--- a/packages/styles/scss/components/number-input/_number-input.scss
+++ b/packages/styles/scss/components/number-input/_number-input.scss
@@ -12,6 +12,7 @@
@use '../../spacing' as *;
@use '../../theme' as *;
@use '../../type' as *;
+@use '../../utilities/ai-gradient' as *;
@use '../../utilities/skeleton' as *;
@use '../../utilities/button-reset';
@use '../../utilities/high-contrast-mode' as *;
@@ -412,6 +413,37 @@
background-color: $border-subtle;
}
+ // Styles for `Slug` rendered inside `NumberInput`
+ .#{$prefix}--number__input-wrapper--slug .#{$prefix}--slug {
+ position: absolute;
+ inset-block-start: 50%;
+ inset-inline-end: convert.to-rem(88px);
+ transform: translateY(-50%);
+ }
+
+ .#{$prefix}--number__input-wrapper--slug
+ input[data-invalid]
+ ~ .#{$prefix}--slug,
+ .#{$prefix}--number__input-wrapper--slug.#{$prefix}--number__input-wrapper--warning
+ .#{$prefix}--slug {
+ inset-inline-end: convert.to-rem(120px);
+ }
+
+ .#{$prefix}--number
+ .#{$prefix}--number__input-wrapper--slug
+ input[data-invalid],
+ .#{$prefix}--number
+ .#{$prefix}--number__input-wrapper--slug.#{$prefix}--number__input-wrapper--warning
+ input {
+ padding-inline-end: convert.to-rem(144px);
+ }
+
+ .#{$prefix}--number__input-wrapper--slug input[type='number'] {
+ @include ai-gradient;
+
+ padding-inline-end: convert.to-rem(112px);
+ }
+
// Skeleton State
.#{$prefix}--number.#{$prefix}--skeleton {
@include skeleton;
diff --git a/packages/styles/scss/components/select/_select.scss b/packages/styles/scss/components/select/_select.scss
index 844e2beac44d..5d1ab7452157 100644
--- a/packages/styles/scss/components/select/_select.scss
+++ b/packages/styles/scss/components/select/_select.scss
@@ -6,12 +6,14 @@
//
@use '../form';
+@use '../../colors' as *;
@use '../../config' as *;
@use '../../spacing' as *;
@use '../../motion' as *;
@use '../../type' as *;
@use '../../breakpoint' as *;
@use '../../theme' as *;
+@use '../../utilities/ai-gradient' as *;
@use '../../utilities/component-reset';
@use '../../utilities/convert';
@use '../../utilities/focus-outline' as *;
@@ -171,7 +173,7 @@
}
.#{$prefix}--select__invalid-icon--warning path[fill] {
- fill: $icon-primary;
+ fill: $black-100;
opacity: 1;
}
@@ -265,7 +267,7 @@
fill: $icon-disabled;
}
- //Skeleton State
+ // Skeleton State
.#{$prefix}--select.#{$prefix}--skeleton {
@include skeleton;
@@ -278,6 +280,32 @@
display: none;
}
+ // Slug styles
+ .#{$prefix}--select--slug .#{$prefix}--slug {
+ position: absolute;
+ inset-block-start: 50%;
+ inset-inline-end: $spacing-08;
+ transform: translateY(-50%);
+ }
+
+ .#{$prefix}--select--slug .#{$prefix}--select-input {
+ @include ai-gradient;
+
+ padding-inline-end: $spacing-10;
+ }
+
+ .#{$prefix}--select--slug.#{$prefix}--select--invalid
+ .#{$prefix}--select-input,
+ .#{$prefix}--select--slug.#{$prefix}--select--warning
+ .#{$prefix}--select-input {
+ padding-inline-end: $spacing-12;
+ }
+
+ .#{$prefix}--select--slug.#{$prefix}--select--invalid .#{$prefix}--slug,
+ .#{$prefix}--select--slug.#{$prefix}--select--warning .#{$prefix}--slug {
+ inset-inline-end: $spacing-10;
+ }
+
// Windows HCM fix
// stylelint-disable-next-line no-duplicate-selectors
.#{$prefix}--select__arrow {
diff --git a/packages/styles/scss/components/slug/_slug.scss b/packages/styles/scss/components/slug/_slug.scss
index 6d7bee673b44..1e65431b014d 100644
--- a/packages/styles/scss/components/slug/_slug.scss
+++ b/packages/styles/scss/components/slug/_slug.scss
@@ -1,6 +1,7 @@
@use '../../config' as *;
@use '../../colors' as *;
@use '../../motion' as *;
+@use '../../spacing' as *;
@use '../../theme' as *;
@use '../../type' as *;
@use '../../utilities/convert';
@@ -65,6 +66,10 @@ $sizes: (
display: flex;
}
+ .#{$prefix}--slug:has(> .#{$prefix}--popover--open) {
+ z-index: 2;
+ }
+
.#{$prefix}--slug .#{$prefix}--slug__button {
position: relative;
display: flex;
@@ -383,4 +388,18 @@ $sizes: (
order: 1;
border-end-end-radius: convert.to-rem(16px);
}
+
+ // Revert styles
+ .#{$prefix}--slug.#{$prefix}--slug--revert {
+ transform: translate($spacing-03, -50%);
+ }
+
+ .#{$prefix}--slug--revert .#{$prefix}--btn--icon-only {
+ align-items: center;
+ padding-block-start: 0;
+ }
+
+ .#{$prefix}--slug--revert .#{$prefix}--btn--icon-only svg {
+ margin: 0;
+ }
}
diff --git a/packages/styles/scss/components/text-area/_text-area.scss b/packages/styles/scss/components/text-area/_text-area.scss
index bf6aa4b4c394..35e9c93684a6 100644
--- a/packages/styles/scss/components/text-area/_text-area.scss
+++ b/packages/styles/scss/components/text-area/_text-area.scss
@@ -12,6 +12,7 @@
@use '../../spacing' as *;
@use '../../theme' as *;
@use '../../type' as *;
+@use '../../utilities/ai-gradient' as *;
@use '../../utilities/component-reset';
@use '../../utilities/convert';
@use '../../utilities/focus-outline' as *;
@@ -121,9 +122,39 @@
border-block-end-color: $border-subtle;
}
- // V11: Possibly deprecate
- .#{$prefix}--text-area.#{$prefix}--text-area--light:disabled {
- background-color: $field-02;
+ // Styles for `Slug` rendered inside `TextArea`
+ .#{$prefix}--text-area__wrapper--slug .#{$prefix}--slug {
+ position: absolute;
+ inset-block-start: $spacing-04;
+ inset-inline-end: $spacing-05;
+ }
+
+ .#{$prefix}--text-area__wrapper--slug
+ .#{$prefix}--slug.#{$prefix}--slug--revert {
+ inset-block-start: $spacing-02;
+ inset-inline-end: $spacing-03;
+ transform: translate(0);
+ }
+
+ .#{$prefix}--text-area__wrapper--slug .#{$prefix}--text-area {
+ @include ai-gradient;
+
+ padding-inline-end: $spacing-08;
+ }
+
+ .#{$prefix}--text-area--invalid:has(~ .#{$prefix}--slug),
+ .#{$prefix}--text-area--warn:has(~ .#{$prefix}--slug) {
+ padding-inline-end: $spacing-10;
+ }
+
+ .#{$prefix}--text-area--invalid ~ .#{$prefix}--slug,
+ .#{$prefix}--text-area--warn ~ .#{$prefix}--slug {
+ inset-inline-end: $spacing-08;
+ }
+
+ .#{$prefix}--text-area--invalid ~ .#{$prefix}--slug.#{$prefix}--slug--revert,
+ .#{$prefix}--text-area--warn ~ .#{$prefix}--slug.#{$prefix}--slug--revert {
+ inset-inline-end: $spacing-07;
}
// Skeleton State
@@ -131,7 +162,6 @@
@include skeleton;
block-size: convert.to-rem(100px);
-
inline-size: 100%;
&::placeholder {
diff --git a/packages/styles/scss/components/text-input/_text-input.scss b/packages/styles/scss/components/text-input/_text-input.scss
index b309f5028c15..18754d74c7c7 100644
--- a/packages/styles/scss/components/text-input/_text-input.scss
+++ b/packages/styles/scss/components/text-input/_text-input.scss
@@ -15,6 +15,7 @@
@use '../../type' as *;
@use '../../spacing' as *;
@use '../../motion' as *;
+@use '../../utilities/ai-gradient' as *;
@use '../../utilities/component-reset';
@use '../../utilities/placeholder-colors' as *;
@use '../../utilities/tooltip' as *;
@@ -414,6 +415,30 @@
border-block-end-color: $border-subtle;
}
+ // Styles for Slug rendered inside TextInput
+ .#{$prefix}--text-input__field-wrapper .#{$prefix}--slug {
+ position: absolute;
+ inset-block-start: 50%;
+ inset-inline-end: $spacing-05;
+ transform: translateY(-50%);
+ }
+
+ .#{$prefix}--text-input__field-wrapper--slug .#{$prefix}--text-input {
+ @include ai-gradient;
+
+ padding-inline-end: $spacing-08;
+ }
+
+ .#{$prefix}--text-input--invalid:has(~ .#{$prefix}--slug),
+ .#{$prefix}--text-input--warning:has(~ .#{$prefix}--slug) {
+ padding-inline-end: $spacing-10;
+ }
+
+ .#{$prefix}--text-input--invalid ~ .#{$prefix}--slug,
+ .#{$prefix}--text-input--warning ~ .#{$prefix}--slug {
+ inset-inline-end: $spacing-08;
+ }
+
// Windows HCM fix
.#{$prefix}--btn.#{$prefix}--btn--icon-only.#{$prefix}--text-input--password__visibility__toggle.#{$prefix}--tooltip__trigger
svg,
diff --git a/packages/styles/scss/utilities/_ai-gradient.scss b/packages/styles/scss/utilities/_ai-gradient.scss
index 209153c88990..ddf1beb042fe 100644
--- a/packages/styles/scss/utilities/_ai-gradient.scss
+++ b/packages/styles/scss/utilities/_ai-gradient.scss
@@ -12,10 +12,10 @@
/// @access public
/// @param {String} $direction - Direction of gradient from: `left`, `right`, `top`, and `bottom`
/// @param {Number} $width - Percentage width of gradient with regards to parent component
-/// @example @include focus-outline('outline');
+/// @example @include ai-gradient('right', '33%');
/// @group utilities
-@mixin ai-gradient($direction: 'right', $width: 50%) {
+@mixin ai-gradient($direction: 'right', $width: 33%) {
$deg: 0;
@if $direction == 'bottom' {
$deg: 0deg;
diff --git a/www/package.json b/www/package.json
index 983c99fb841d..5e4bb5fce2f1 100644
--- a/www/package.json
+++ b/www/package.json
@@ -1,7 +1,7 @@
{
"name": "www",
"private": true,
- "version": "0.51.0",
+ "version": "0.52.0-rc.0",
"license": "Apache-2.0",
"repository": {
"type": "git",
@@ -22,7 +22,7 @@
"start": "next start"
},
"dependencies": {
- "@carbon/react": "^1.42.0",
+ "@carbon/react": "^1.43.0-rc.0",
"@octokit/core": "^4.0.0",
"@octokit/plugin-retry": "^3.0.9",
"@octokit/plugin-throttling": "^4.0.0",
diff --git a/yarn.lock b/yarn.lock
index 2066b443bb9e..468a46eeba9f 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -1828,7 +1828,7 @@ __metadata:
"@carbon/cli": "npm:^11.15.0"
"@carbon/colors": "npm:^11.20.0"
"@carbon/grid": "npm:^11.21.0"
- "@carbon/icons": "npm:^11.30.0"
+ "@carbon/icons": "npm:^11.31.0-rc.0"
"@carbon/layout": "npm:^11.20.0"
"@carbon/motion": "npm:^11.16.0"
"@carbon/themes": "npm:^11.27.0"
@@ -1937,13 +1937,13 @@ __metadata:
languageName: node
linkType: hard
-"@carbon/icons-react@npm:^11.30.0, @carbon/icons-react@workspace:packages/icons-react":
+"@carbon/icons-react@npm:^11.31.0-rc.0, @carbon/icons-react@workspace:packages/icons-react":
version: 0.0.0-use.local
resolution: "@carbon/icons-react@workspace:packages/icons-react"
dependencies:
"@carbon/icon-build-helpers": "npm:^1.20.0"
"@carbon/icon-helpers": "npm:^10.45.0"
- "@carbon/icons": "npm:^11.30.0"
+ "@carbon/icons": "npm:^11.31.0-rc.0"
"@carbon/telemetry": "npm:0.1.0"
prop-types: "npm:^15.7.2"
rimraf: "npm:^5.0.0"
@@ -1958,7 +1958,7 @@ __metadata:
dependencies:
"@carbon/cli-reporter": "npm:^10.7.0"
"@carbon/icon-helpers": "npm:^10.45.0"
- "@carbon/icons": "npm:^11.30.0"
+ "@carbon/icons": "npm:^11.31.0-rc.0"
fs-extra: "npm:^11.0.0"
prettier: "npm:^2.8.8"
rimraf: "npm:^5.0.0"
@@ -1967,7 +1967,7 @@ __metadata:
languageName: unknown
linkType: soft
-"@carbon/icons@npm:^11.30.0, @carbon/icons@workspace:packages/icons":
+"@carbon/icons@npm:^11.31.0-rc.0, @carbon/icons@workspace:packages/icons":
version: 0.0.0-use.local
resolution: "@carbon/icons@workspace:packages/icons"
dependencies:
@@ -2012,7 +2012,7 @@ __metadata:
dependencies:
"@carbon/icon-build-helpers": "npm:^1.20.0"
"@carbon/icon-helpers": "npm:^10.45.0"
- "@carbon/pictograms": "npm:^12.26.0"
+ "@carbon/pictograms": "npm:^12.27.0-rc.0"
"@carbon/telemetry": "npm:0.1.0"
prop-types: "npm:^15.7.2"
rimraf: "npm:^5.0.0"
@@ -2021,7 +2021,7 @@ __metadata:
languageName: unknown
linkType: soft
-"@carbon/pictograms@npm:^12.26.0, @carbon/pictograms@workspace:packages/pictograms":
+"@carbon/pictograms@npm:^12.27.0-rc.0, @carbon/pictograms@workspace:packages/pictograms":
version: 0.0.0-use.local
resolution: "@carbon/pictograms@workspace:packages/pictograms"
dependencies:
@@ -2030,7 +2030,7 @@ __metadata:
languageName: unknown
linkType: soft
-"@carbon/react@npm:^1.42.0, @carbon/react@workspace:packages/react":
+"@carbon/react@npm:^1.43.0-rc.0, @carbon/react@workspace:packages/react":
version: 0.0.0-use.local
resolution: "@carbon/react@workspace:packages/react"
dependencies:
@@ -2044,9 +2044,9 @@ __metadata:
"@babel/preset-typescript": "npm:^7.21.5"
"@babel/runtime": "npm:^7.18.3"
"@carbon/feature-flags": "npm:^0.16.0"
- "@carbon/icons-react": "npm:^11.30.0"
+ "@carbon/icons-react": "npm:^11.31.0-rc.0"
"@carbon/layout": "npm:^11.20.0"
- "@carbon/styles": "npm:^1.42.0"
+ "@carbon/styles": "npm:^1.43.0-rc.0"
"@carbon/telemetry": "npm:0.1.0"
"@carbon/test-utils": "npm:^10.30.0"
"@carbon/themes": "npm:^11.27.0"
@@ -2128,7 +2128,7 @@ __metadata:
languageName: unknown
linkType: soft
-"@carbon/styles@npm:^1.42.0, @carbon/styles@workspace:packages/styles":
+"@carbon/styles@npm:^1.43.0-rc.0, @carbon/styles@workspace:packages/styles":
version: 0.0.0-use.local
resolution: "@carbon/styles@workspace:packages/styles"
dependencies:
@@ -9745,8 +9745,8 @@ __metadata:
"@babel/plugin-transform-react-constant-elements": "npm:^7.17.12"
"@babel/preset-env": "npm:^7.18.2"
"@babel/preset-react": "npm:^7.17.12"
- "@carbon/react": "npm:^1.42.0"
- "@carbon/styles": "npm:^1.42.0"
+ "@carbon/react": "npm:^1.43.0-rc.0"
+ "@carbon/styles": "npm:^1.43.0-rc.0"
"@carbon/telemetry": "npm:0.1.0"
"@carbon/test-utils": "npm:^10.30.0"
"@rollup/plugin-babel": "npm:^6.0.0"
@@ -9785,7 +9785,7 @@ __metadata:
version: 0.0.0-use.local
resolution: "carbon-components@workspace:packages/carbon-components"
dependencies:
- "@carbon/styles": "npm:^1.42.0"
+ "@carbon/styles": "npm:^1.43.0-rc.0"
"@carbon/telemetry": "npm:0.1.0"
"@carbon/test-utils": "npm:^10.30.0"
chalk: "npm:1.1.3"
@@ -10135,7 +10135,7 @@ __metadata:
version: 0.0.0-use.local
resolution: "class-prefix@workspace:examples/class-prefix"
dependencies:
- "@carbon/react": "npm:^1.42.0"
+ "@carbon/react": "npm:^1.43.0-rc.0"
"@vitejs/plugin-react": "npm:4.0.0"
react: "npm:^18.2.0"
react-dom: "npm:^18.2.0"
@@ -10457,7 +10457,7 @@ __metadata:
version: 0.0.0-use.local
resolution: "codesandbox-styles@workspace:examples/codesandbox-styles"
dependencies:
- "@carbon/styles": "npm:^1.42.0"
+ "@carbon/styles": "npm:^1.43.0-rc.0"
sass: "npm:^1.51.0"
vite: "npm:^4.3.8"
languageName: unknown
@@ -11515,7 +11515,7 @@ __metadata:
version: 0.0.0-use.local
resolution: "custom-theme@workspace:examples/custom-theme"
dependencies:
- "@carbon/react": "npm:^1.42.0"
+ "@carbon/react": "npm:^1.43.0-rc.0"
"@vitejs/plugin-react": "npm:4.0.0"
react: "npm:^18.2.0"
react-dom: "npm:^18.2.0"
@@ -13657,7 +13657,7 @@ __metadata:
version: 0.0.0-use.local
resolution: "examples-light-dark@workspace:examples/light-dark-mode"
dependencies:
- "@carbon/react": "npm:^1.42.0"
+ "@carbon/react": "npm:^1.43.0-rc.0"
eslint: "npm:8.40.0"
next: "npm:12.1.4"
react: "npm:18.2.0"
@@ -13670,7 +13670,7 @@ __metadata:
version: 0.0.0-use.local
resolution: "examples-nextjs@workspace:examples/nextjs"
dependencies:
- "@carbon/react": "npm:^1.42.0"
+ "@carbon/react": "npm:^1.43.0-rc.0"
eslint: "npm:8.40.0"
eslint-config-next: "npm:13.4.7"
next: "npm:13.5.6"
@@ -15898,7 +15898,7 @@ __metadata:
version: 0.0.0-use.local
resolution: "id-prefix@workspace:examples/id-prefix"
dependencies:
- "@carbon/react": "npm:^1.42.0"
+ "@carbon/react": "npm:^1.43.0-rc.0"
"@vitejs/plugin-react": "npm:4.0.0"
react: "npm:^18.2.0"
react-dom: "npm:^18.2.0"
@@ -16012,7 +16012,7 @@ __metadata:
resolution: "incremental-migration-vite@workspace:examples/incremental-migration-vite"
dependencies:
"@carbon/icons-react": "npm:^10.49.0"
- "@carbon/react": "npm:^1.42.0"
+ "@carbon/react": "npm:^1.43.0-rc.0"
"@vitejs/plugin-react": "npm:4.0.0"
carbon-components: "npm:^10.57.0"
carbon-components-react: "npm:^7.57.0"
@@ -28087,7 +28087,7 @@ __metadata:
version: 0.0.0-use.local
resolution: "v10-token-compat-in-v11@workspace:examples/v10-token-compat-in-v11"
dependencies:
- "@carbon/react": "npm:^1.42.0"
+ "@carbon/react": "npm:^1.43.0-rc.0"
"@vitejs/plugin-react": "npm:4.0.0"
react: "npm:^18.2.0"
react-dom: "npm:^18.2.0"
@@ -28373,7 +28373,7 @@ __metadata:
version: 0.0.0-use.local
resolution: "vite@workspace:examples/vite"
dependencies:
- "@carbon/react": "npm:^1.42.0"
+ "@carbon/react": "npm:^1.43.0-rc.0"
"@vitejs/plugin-react": "npm:4.0.0"
react: "npm:^18.2.0"
react-dom: "npm:^18.2.0"
@@ -28961,7 +28961,7 @@ __metadata:
version: 0.0.0-use.local
resolution: "www@workspace:www"
dependencies:
- "@carbon/react": "npm:^1.42.0"
+ "@carbon/react": "npm:^1.43.0-rc.0"
"@octokit/core": "npm:^4.0.0"
"@octokit/plugin-retry": "npm:^3.0.9"
"@octokit/plugin-throttling": "npm:^4.0.0"