@carbon/ibm-products-web-components 0.3.0-canary.46 → 0.3.0-canary.52

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@carbon/ibm-products-web-components",
3
3
  "description": "Carbon for IBM Products Web Components",
4
- "version": "0.3.0-canary.46+9fdf057a9",
4
+ "version": "0.3.0-canary.52+d8c705180",
5
5
  "license": "Apache-2.0",
6
6
  "main": "es/index.js",
7
7
  "module": "es/index.js",
@@ -49,7 +49,7 @@
49
49
  "wca": "web-component-analyzer analyze src --outFile custom-elements.json"
50
50
  },
51
51
  "dependencies": {
52
- "@carbon/ibm-products-styles": "^2.50.0-canary.46+9fdf057a9",
52
+ "@carbon/ibm-products-styles": "^2.50.0-canary.52+d8c705180",
53
53
  "@carbon/styles": "1.69.0",
54
54
  "@carbon/web-components": "2.17.0",
55
55
  "lit": "^3.1.0"
@@ -93,5 +93,5 @@
93
93
  "vitest": "^2.1.2",
94
94
  "web-component-analyzer": "2.0.0"
95
95
  },
96
- "gitHead": "9fdf057a903cf73ab23cf1ec806897eb70043c6b"
96
+ "gitHead": "d8c70518087e7e41fdf1aa45cbbf692389058d56"
97
97
  }
@@ -6,6 +6,7 @@
6
6
  */
7
7
 
8
8
  $css--plex: true !default;
9
+ @use 'sass:map';
9
10
 
10
11
  /* Other Carbon settings. */
11
12
  @use '@carbon/styles/scss/reset';
@@ -15,7 +16,6 @@ $css--plex: true !default;
15
16
  @use '@carbon/styles/scss/theme' as *;
16
17
  @use '@carbon/styles/scss/utilities/ai-gradient' as *;
17
18
  @use '@carbon/styles/scss/utilities/convert' as *;
18
- @use 'sass:map';
19
19
 
20
20
  $prefix: 'c4p';
21
21
  $carbon-prefix: 'cds';
@@ -5,19 +5,20 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
7
  @use '@carbon/styles/scss/theme' as *;
8
+ @use '@carbon/styles/scss/spacing' as *;
8
9
 
9
10
  $story-prefix: 'side-panel-stories__';
10
11
 
11
12
  .#{$story-prefix}body-content {
12
13
  display: flex;
13
14
  flex-direction: column;
14
- padding: 1rem;
15
- gap: 1rem;
15
+ padding: $spacing-05;
16
+ gap: $spacing-05;
16
17
  }
17
18
 
18
19
  .#{$story-prefix}text-inputs {
19
20
  display: flex;
20
- gap: 1rem;
21
+ gap: $spacing-05;
21
22
 
22
23
  > * {
23
24
  flex-basis: 50%;
@@ -9,8 +9,6 @@
9
9
 
10
10
  $story-prefix: 'tearsheet-stories';
11
11
 
12
- @use '@carbon/styles/scss/spacing' as *;
13
-
14
12
  #page-content-selector {
15
13
  position: absolute;
16
14
  z-index: 9999;
@@ -105,8 +105,9 @@ $motion-duration: $duration-moderate-02;
105
105
  ::slotted(#{$carbon-prefix}-slug) {
106
106
  display: flex;
107
107
  inset-inline-end: 0;
108
+ /* stylelint-disable-next-line carbon/layout-use */
108
109
  margin-block: 6px;
109
- margin-inline-end: 1rem;
110
+ margin-inline-end: $spacing-05;
110
111
  }
111
112
  }
112
113
 
@@ -118,7 +119,7 @@ $motion-duration: $duration-moderate-02;
118
119
  align-items: flex-end;
119
120
  background: initial;
120
121
  opacity: 1;
121
-
122
+ /* stylelint-disable-next-line */
122
123
  transition: visibility 0s linear;
123
124
  visibility: inherit;
124
125
 
@@ -259,6 +260,7 @@ $motion-duration: $duration-moderate-02;
259
260
  }
260
261
 
261
262
  .#{$block-class}__header[has-close-icon][has-slug] {
263
+ /* stylelint-disable-next-line carbon/layout-use */
262
264
  padding-inline-end: calc(#{$spacing-11 + $spacing-09});
263
265
  }
264
266
 
@@ -6,6 +6,7 @@
6
6
  */
7
7
 
8
8
  $css--plex: true !default;
9
+ @use 'sass:map';
9
10
 
10
11
  /* Other Carbon settings. */
11
12
  @use '@carbon/styles/scss/reset';
@@ -15,7 +16,6 @@ $css--plex: true !default;
15
16
  @use '@carbon/styles/scss/theme' as *;
16
17
  @use '@carbon/styles/scss/utilities/ai-gradient' as *;
17
18
  @use '@carbon/styles/scss/utilities/convert' as *;
18
- @use 'sass:map';
19
19
 
20
20
  $prefix: 'c4p';
21
21
  $carbon-prefix: 'cds';
@@ -5,19 +5,20 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
7
  @use '@carbon/styles/scss/theme' as *;
8
+ @use '@carbon/styles/scss/spacing' as *;
8
9
 
9
10
  $story-prefix: 'side-panel-stories__';
10
11
 
11
12
  .#{$story-prefix}body-content {
12
13
  display: flex;
13
14
  flex-direction: column;
14
- padding: 1rem;
15
- gap: 1rem;
15
+ padding: $spacing-05;
16
+ gap: $spacing-05;
16
17
  }
17
18
 
18
19
  .#{$story-prefix}text-inputs {
19
20
  display: flex;
20
- gap: 1rem;
21
+ gap: $spacing-05;
21
22
 
22
23
  > * {
23
24
  flex-basis: 50%;
@@ -9,8 +9,6 @@
9
9
 
10
10
  $story-prefix: 'tearsheet-stories';
11
11
 
12
- @use '@carbon/styles/scss/spacing' as *;
13
-
14
12
  #page-content-selector {
15
13
  position: absolute;
16
14
  z-index: 9999;
@@ -105,8 +105,9 @@ $motion-duration: $duration-moderate-02;
105
105
  ::slotted(#{$carbon-prefix}-slug) {
106
106
  display: flex;
107
107
  inset-inline-end: 0;
108
+ /* stylelint-disable-next-line carbon/layout-use */
108
109
  margin-block: 6px;
109
- margin-inline-end: 1rem;
110
+ margin-inline-end: $spacing-05;
110
111
  }
111
112
  }
112
113
 
@@ -118,7 +119,7 @@ $motion-duration: $duration-moderate-02;
118
119
  align-items: flex-end;
119
120
  background: initial;
120
121
  opacity: 1;
121
-
122
+ /* stylelint-disable-next-line */
122
123
  transition: visibility 0s linear;
123
124
  visibility: inherit;
124
125
 
@@ -259,6 +260,7 @@ $motion-duration: $duration-moderate-02;
259
260
  }
260
261
 
261
262
  .#{$block-class}__header[has-close-icon][has-slug] {
263
+ /* stylelint-disable-next-line carbon/layout-use */
262
264
  padding-inline-end: calc(#{$spacing-11 + $spacing-09});
263
265
  }
264
266