Skip to content

Commit

Permalink
Merge branch 'feat/carbon-for-ibm-dotcom-v2' into feat/callout-with-m…
Browse files Browse the repository at this point in the history
…edia-v2
  • Loading branch information
ariellalgilmore authored Sep 20, 2023
2 parents e783791 + f78f1c2 commit 647ddc2
Show file tree
Hide file tree
Showing 54 changed files with 406 additions and 402 deletions.
2 changes: 1 addition & 1 deletion docs/release-schedule.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ major versions of the Carbon for IBM.com library.

> Dates are subject to change
![schedule](https://www.ibm.com/standards/carbon/static/bcfed95efe679166dbec1cbae7ea33bb/4ea69/dotcom-lts.png)
![schedule](https://www.ibm.com/standards/carbon/static/0ef80acd5f41a795ca27d8add6516414/4ea69/dotcom-lts.png)

## Release phases

Expand Down
12 changes: 12 additions & 0 deletions packages/carbon-web-components/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,18 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [1.32.0-rc.0](https://github.com/carbon-design-system/carbon-for-ibm-dotcom/compare/@carbon/[email protected]...@carbon/[email protected]) (2023-09-06)


### Bug Fixes

* **lerna:** build packages & codesandbox updates ([#10876](https://github.com/carbon-design-system/carbon-for-ibm-dotcom/issues/10876)) ([fa5bee0](https://github.com/carbon-design-system/carbon-for-ibm-dotcom/commit/fa5bee07eb65a0f730c7cb1094a5eb8d122ab593))
* **pagination:** mark selected option in page-sizes-select component ([#10884](https://github.com/carbon-design-system/carbon-for-ibm-dotcom/issues/10884)) ([ec3e4cf](https://github.com/carbon-design-system/carbon-for-ibm-dotcom/commit/ec3e4cfaa4f50282c037c789898b7d6a61d6d54c))





# [1.31.0](https://github.com/carbon-design-system/carbon-for-ibm-dotcom/compare/@carbon/[email protected]...@carbon/[email protected]) (2023-08-22)

**Note:** Version bump only for package @carbon/web-components
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@
const HtmlWebpackPlugin = require('html-webpack-plugin');

module.exports = {
// disable the host check on sandbox
devServer: {
disableHostCheck: true
},
plugins: [
new HtmlWebpackPlugin({
template: 'index.html',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@
const HtmlWebpackPlugin = require('html-webpack-plugin');

module.exports = {
// disable the host check on sandbox
devServer: {
disableHostCheck: true
},
module: {
rules: [
{
Expand Down
22 changes: 0 additions & 22 deletions packages/carbon-web-components/examples/codesandbox/ie/.gitignore

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@
"description": "Sample project for getting started with the Web Components from the Carbon Design System with Next.js.",
"license": "Apache-2",
"scripts": {
"start": "echo 'Running Next in Node 12.16.3+. If you have such Node version in your system just `next` here will work.' && ./node_modules/node/node_modules/.bin/node ./node_modules/.bin/next"
"start": "echo 'Running Next in Node 18.15.0+. If you have such Node version in your system just `next` here will work.' && NODE_OPTIONS=--openssl-legacy-provider ./node_modules/node/node_modules/.bin/node ./node_modules/.bin/next"
},
"dependencies": {
"@carbon/web-components": "latest",
"next": "^10.0.0",
"node": "^12.16.3",
"node": "^18.15.0",
"react": "^17.0.0",
"react-dom": "^17.0.0"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@
*/

module.exports = {
// disable the host check on sandbox
devServer: {
disableHostCheck: true
},
module: {
rules: [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@
const HtmlWebpackPlugin = require('html-webpack-plugin');

module.exports = {
// disable the host check on sandbox
devServer: {
disableHostCheck: true
},
module: {
rules: [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ const devServer = {
open: true,
contentBase: path.resolve(__dirname, 'src'),
publicPath: '/dist',
disableHostCheck: true,
setup(app, server) {
app.get('/', (req, res) => {
const { fileSystem, waitUntilValid } = server.middleware;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@
const HtmlWebpackPlugin = require('html-webpack-plugin');

module.exports = {
// disable the host check on sandbox
devServer: {
disableHostCheck: true
},
plugins: [
new HtmlWebpackPlugin({
template: 'index.html',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@
},
"browserslist": [
"> 1%",
"last 2 versions",
"not ie <= 8"
"last 2 versions"
],
"eslintConfig": {
"parserOptions": {
Expand Down
7 changes: 4 additions & 3 deletions packages/carbon-web-components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,12 @@
"main": "es/index.js",
"module": "es/index.js",
"exports": {
"./es/components-react/": {
"node": "./lib/components-react-node/",
"default": "./es/components-react/"
"./es/components-react/*": {
"node": "./lib/components-react-node/*",
"default": "./es/components-react/*"
},
"./es/components/*": {
"node": "./lib/components/*",
"default": "./es/components/*"
},
"./es/globals/": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ export const Default = () => {
export const WithLayer = () => {
return html`
<sb-template-layers>
<div style="width:400px">
<div style="width:300px">
<cds-combo-box
title-text="ComboBox label"
helper-text="Combobox helper text"
Expand Down Expand Up @@ -178,7 +178,7 @@ export default {
},
decorators: [
(story, { name }) => {
const width = !name.toLowerCase().includes('layer') ? `width:400px` : ``;
const width = !name.toLowerCase().includes('layer') ? `width:300px` : ``;
return html` <div style="${width}">${story()}</div> `;
},
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,15 @@ $css--plex: true !default;
@use '@carbon/styles/scss/spacing' as *;
@use '@carbon/styles/scss/theme' as *;
@use '@carbon/styles/scss/utilities' as *;
@use '@carbon/styles/scss/components/combo-box/combo-box';
@use '@carbon/styles/scss/layout' as *;
@use '@carbon/styles/scss/components/combo-box' as *;
@use '@carbon/styles/scss/components/form';
@use '@carbon/styles/scss/components/text-input/text-input';
@use '../dropdown/dropdown.scss';

:host(#{$prefix}-combo-box) {
@extend :host(#{$prefix}-dropdown);
@include emit-layout-tokens();

outline: none;

Expand All @@ -27,6 +29,10 @@ $css--plex: true !default;
top: -100%;
}

.#{$prefix}--list-box__field {
padding: 0;
}

.#{$prefix}--list-box__menu {
outline: none;
top: 100%;
Expand All @@ -47,6 +53,12 @@ $css--plex: true !default;
}
}

:host(#{$prefix}-combo-box[invalid]) {
.#{$prefix}--form__helper-text {
color: $text-error;
}
}

:host(#{$prefix}-combo-box[read-only]) {
.#{$prefix}--list-box__selection svg {
fill: $icon-disabled;
Expand All @@ -61,6 +73,10 @@ $css--plex: true !default;
.#{$prefix}--list-box__menu-item__option {
height: auto;
}

&:hover {
background-color: $layer-hover;
}
}

:host(#{$prefix}-combo-box-item[disabled]) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ $inset-transition: inset 110ms motion(standard, productive);
height: $spacing-09;
padding: $spacing-03 $spacing-05;
// height - vertical padding
/* stylelint-disable declaration-property-unit-whitelist */
/* stylelint-disable declaration-property-unit-allowed-list */
line-height: calc(#{$spacing-09} - (#{$spacing-03} * 2));
}
}
Expand Down
8 changes: 8 additions & 0 deletions packages/eslint-config-ibmdotcom/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [1.42.0-rc.0](https://github.com/carbon-design-system/carbon-for-ibm-dotcom/compare/@carbon/[email protected]...@carbon/[email protected]) (2023-09-06)

**Note:** Version bump only for package @carbon/eslint-config-ibmdotcom





# [1.41.0](https://github.com/carbon-design-system/carbon-for-ibm-dotcom/compare/@carbon/[email protected]...@carbon/[email protected]) (2023-08-22)

**Note:** Version bump only for package @carbon/eslint-config-ibmdotcom
Expand Down
Loading

0 comments on commit 647ddc2

Please sign in to comment.