Commit c3ddeb8 1 parent d20ec1f commit c3ddeb8 Copy full SHA for c3ddeb8
File tree 33 files changed +933
-132
lines changed
carbon-web-components/src
storybook-addon-theme/src/components
utilities/src/utilities/calculateTotalWidth
examples/stackblitz/components
33 files changed +933
-132
lines changed Original file line number Diff line number Diff line change 1
1
/**
2
2
* @license
3
3
*
4
- * Copyright IBM Corp. 2019, 2022
4
+ * Copyright IBM Corp. 2019, 2023
5
5
*
6
6
* This source code is licensed under the Apache-2.0 license found in the
7
7
* LICENSE file in the root directory of this source tree.
Original file line number Diff line number Diff line change 1
1
/**
2
2
* @license
3
3
*
4
- * Copyright IBM Corp. 2019, 2022
4
+ * Copyright IBM Corp. 2019, 2023
5
5
*
6
6
* This source code is licensed under the Apache-2.0 license found in the
7
7
* LICENSE file in the root directory of this source tree.
Original file line number Diff line number Diff line change 1
1
/**
2
2
* @license
3
3
*
4
- * Copyright IBM Corp. 2019, 2023
4
+ * Copyright IBM Corp. 2019, 2024
5
5
*
6
6
* This source code is licensed under the Apache-2.0 license found in the
7
7
* LICENSE file in the root directory of this source tree.
Original file line number Diff line number Diff line change 1
1
/**
2
2
* @license
3
3
*
4
- * Copyright IBM Corp. 2019, 2022
4
+ * Copyright IBM Corp. 2019, 2023
5
5
*
6
6
* This source code is licensed under the Apache-2.0 license found in the
7
7
* LICENSE file in the root directory of this source tree.
Original file line number Diff line number Diff line change 1
1
/**
2
2
* @license
3
3
*
4
- * Copyright IBM Corp. 2020, 2023
4
+ * Copyright IBM Corp. 2020, 2024
5
5
*
6
6
* This source code is licensed under the Apache-2.0 license found in the
7
7
* LICENSE file in the root directory of this source tree.
Original file line number Diff line number Diff line change 1
1
/**
2
2
* @license
3
3
*
4
- * Copyright IBM Corp. 2020, 2023
4
+ * Copyright IBM Corp. 2020, 2024
5
5
*
6
6
* This source code is licensed under the Apache-2.0 license found in the
7
7
* LICENSE file in the root directory of this source tree.
Original file line number Diff line number Diff line change 1
1
/**
2
2
* @license
3
3
*
4
- * Copyright IBM Corp. 2020
4
+ * Copyright IBM Corp. 2020, 2023
5
5
*
6
6
* This source code is licensed under the Apache-2.0 license found in the
7
7
* LICENSE file in the root directory of this source tree.
Original file line number Diff line number Diff line change 1
1
/**
2
- * Copyright IBM Corp. 2020, 2022
2
+ * Copyright IBM Corp. 2020, 2023
3
3
*
4
4
* This source code is licensed under the Apache-2.0 license found in the
5
5
* LICENSE file in the root directory of this source tree.
Original file line number Diff line number Diff line change 1
1
/**
2
- * Copyright IBM Corp. 2016, 2022
2
+ * Copyright IBM Corp. 2016, 2023
3
3
*
4
4
* This source code is licensed under the Apache-2.0 license found in the
5
5
* LICENSE file in the root directory of this source tree.
Original file line number Diff line number Diff line change 1
1
/**
2
- * Copyright IBM Corp. 2020, 2022
2
+ * Copyright IBM Corp. 2020, 2023
3
3
*
4
4
* This source code is licensed under the Apache-2.0 license found in the
5
5
* LICENSE file in the root directory of this source tree.
Original file line number Diff line number Diff line change 1
1
/* *
2
- * Copyright IBM Corp. 2016, 2023
2
+ * Copyright IBM Corp. 2016, 2024
3
3
*
4
4
* This source code is licensed under the Apache-2.0 license found in the
5
5
* LICENSE file in the root directory of this source tree.
Original file line number Diff line number Diff line change 1
1
/* *
2
- * Copyright IBM Corp. 2016, 2023
2
+ * Copyright IBM Corp. 2016, 2024
3
3
*
4
4
* This source code is licensed under the Apache-2.0 license found in the
5
5
* LICENSE file in the root directory of this source tree.
Original file line number Diff line number Diff line change 1
1
/* *
2
- * Copyright IBM Corp. 2016, 2023
2
+ * Copyright IBM Corp. 2016, 2024
3
3
*
4
4
* This source code is licensed under the Apache-2.0 license found in the
5
5
* LICENSE file in the root directory of this source tree.
Original file line number Diff line number Diff line change 1
1
/* *
2
- * Copyright IBM Corp. 2016, 2023
2
+ * Copyright IBM Corp. 2016, 2024
3
3
*
4
4
* This source code is licensed under the Apache-2.0 license found in the
5
5
* LICENSE file in the root directory of this source tree.
Original file line number Diff line number Diff line change 1
1
/**
2
- * Copyright IBM Corp. 2016, 2022
2
+ * Copyright IBM Corp. 2016, 2023
3
3
*
4
4
* This source code is licensed under the Apache-2.0 license found in the
5
5
* LICENSE file in the root directory of this source tree.
Original file line number Diff line number Diff line change 16
16
< link rel ="stylesheet " href ="src/index.scss " />
17
17
< style type ="text/css ">
18
18
/* Suppress custom element until styles are loaded */
19
- c4d-masthead-composite : not (: defined ) {
19
+ c4d-masthead-container : not (: defined ) {
20
20
display : none;
21
21
}
22
22
</ style >
23
+ < script src ="src/index-cdn.js " defer > </ script >
24
+ < script src ="src/ddo.js "> </ script >
25
+
26
+ <!-- IBM Tag Management and Site Analytics -->
27
+ < script src ="//1.www.s81c.com/common/stats/ibm-common.js " async ="async " defer > </ script >
28
+ <!-- IBM CMaaS -->
29
+ < script src ="//www.ibm.com/common/digitaladvisor/cm-app/latest/cm-app.min.js " defer > </ script >
30
+
31
+ <!-- CDN bundle -->
23
32
< script type ="module " src ="https://1.www.s81c.com/common/carbon-for-ibm-dotcom/tag/v2/latest/rtl/masthead.rtl.min.js "> </ script >
24
- < script type ="module " src ="src/index-cdn.js "> </ script >
25
33
</ head >
26
34
< body >
27
- < c4d-masthead-composite > </ c4d-masthead-composite >
35
+ < c4d-masthead-container
36
+ data-endpoint ="/common/carbon-for-ibm-dotcom/translations/masthead-footer/v2.1 "
37
+ > </ c4d-masthead-container >
28
38
< main class ="cds--content cds-ce-demo--ui-shell-content ">
29
39
< div class ="cds--grid ">
30
40
< div class ="cds--row ">
Original file line number Diff line number Diff line change 16
16
< link rel ="stylesheet " href ="src/index.scss " />
17
17
< style type ="text/css ">
18
18
/* Suppress custom element until styles are loaded */
19
- c4d-masthead-composite : not (: defined ) {
19
+ c4d-masthead-container : not (: defined ) {
20
20
display : none;
21
21
}
22
22
</ style >
23
+ < script src ="src/index-cdn.js " defer > </ script >
24
+ < script src ="src/ddo.js "> </ script >
25
+
26
+ <!-- IBM Tag Management and Site Analytics -->
27
+ < script src ="//1.www.s81c.com/common/stats/ibm-common.js " async ="async " defer > </ script >
28
+ <!-- IBM CMaaS -->
29
+ < script src ="//www.ibm.com/common/digitaladvisor/cm-app/latest/cm-app.min.js " defer > </ script >
30
+
31
+ <!-- CDN bundle -->
23
32
< script type ="module " src ="https://1.www.s81c.com/common/carbon-for-ibm-dotcom/tag/v2/latest/masthead.min.js "> </ script >
24
- < script type ="module " src ="src/index-cdn.js "> </ script >
25
33
</ head >
26
34
< body >
27
- < c4d-masthead-composite > </ c4d-masthead-composite >
35
+ < c4d-masthead-container
36
+ data-endpoint ="/common/carbon-for-ibm-dotcom/translations/masthead-footer/v2.1 "
37
+ > </ c4d-masthead-container >
28
38
< main class ="cds--content cds-ce-demo--ui-shell-content ">
29
39
< div class ="cds--grid ">
30
40
< div class ="cds--row ">
Original file line number Diff line number Diff line change 14
14
< link rel ="stylesheet " href ="https://1.www.s81c.com/common/carbon-for-ibm-dotcom/tag/v1/latest/plex.css " />
15
15
< style type ="text/css ">
16
16
/* Suppress custom element until styles are loaded */
17
- cds -masthead-composite : not (: defined ) {
17
+ c4d -masthead-container : not (: defined ) {
18
18
display : none;
19
19
}
20
20
</ style >
21
- < script type ="module " src ="src/index.js "> </ script >
21
+ < script src ="src/index.js " defer > </ script >
22
+ < script src ="src/ddo.js "> </ script >
23
+
24
+ <!-- IBM Tag Management and Site Analytics -->
25
+ < script src ="//1.www.s81c.com/common/stats/ibm-common.js " async ="async " defer > </ script >
26
+ <!-- IBM CMaaS -->
27
+ < script src ="//www.ibm.com/common/digitaladvisor/cm-app/latest/cm-app.min.js " defer > </ script >
22
28
</ head >
23
29
< body >
24
- < c4d-masthead-composite > </ c4d-masthead-composite >
30
+ < c4d-masthead-container
31
+ data-endpoint ="/common/carbon-for-ibm-dotcom/translations/masthead-footer/v2.1 "
32
+ > </ c4d-masthead-container >
25
33
< main class ="cds--content cds-ce-demo--ui-shell-content ">
26
34
< div class ="cds--grid ">
27
35
< div class ="cds--row ">
Original file line number Diff line number Diff line change 15
15
},
16
16
"devDependencies" : {
17
17
"@babel/core" : " ^7.0.0-0" ,
18
- "@babel/plugin-transform-runtime" : " ^7.15.0" ,
19
- "@babel/preset-env" : " ~7.23.2" ,
20
18
"carbon-components" : " ^10.36.0" ,
21
19
"parcel-bundler" : " 1.12.3" ,
22
20
"rimraf" : " ^3.0.2" ,
Original file line number Diff line number Diff line change
1
+ /**
2
+ * @license
3
+ *
4
+ * Copyright IBM Corp. 2022, 2023
5
+ *
6
+ * This source code is licensed under the Apache-2.0 license found in the
7
+ * LICENSE file in the root directory of this source tree.
8
+ */
9
+
10
+ import './index.scss' ;
11
+
12
+ window . digitalData = {
13
+ page : {
14
+ category : {
15
+ primaryCategory : '' ,
16
+ } ,
17
+ pageInfo : {
18
+ effectiveDate : '06-14-2022' ,
19
+ expiryDate : '06-14-2026' ,
20
+ language : 'en-au' ,
21
+ publishDate : '06-14-2022' ,
22
+ publisher : 'IBM Corporation' ,
23
+ version : 'Carbon for IBM.com' ,
24
+ ibm : {
25
+ contentDelivery : 'HTML' ,
26
+ contentProducer : 'IBM Experience Engine-Digital' ,
27
+ country : 'au' ,
28
+ industry : 'zz' ,
29
+ owner : 'Corporate Webmaster/New York/IBM' ,
30
+ siteID : 'GLOBAL' ,
31
+ subject : 'IBM Experience Engine-Digital' ,
32
+ type : 'zz' ,
33
+ messaging : {
34
+ routing : {
35
+ focusArea : 'Miscellaneous - Cross IBM - ISV' ,
36
+ languageCode : 'en' ,
37
+ regionCode : 'AU' ,
38
+ } ,
39
+ translation : {
40
+ languageCode : 'en' ,
41
+ regionCode : 'AU' ,
42
+ } ,
43
+ } ,
44
+ } ,
45
+ hotjar : {
46
+ enable : false ,
47
+ } ,
48
+ } ,
49
+ } ,
50
+ } ;
You can’t perform that action at this time.
0 commit comments