@carbon/ibmdotcom-web-components 2.28.0 → 2.30.0
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/custom-elements.json +62 -66
- package/dist/dotcom-shell.js +1 -1
- package/dist/dotcom-shell.min.js +2 -2
- package/dist/ibmdotcom-web-components-dotcom-shell.js +1 -1
- package/dist/ibmdotcom-web-components-dotcom-shell.min.js +2 -2
- package/dist/{index-cc7138d9.js → index-70141123.js} +13 -13
- package/dist/{index-01b63aeb.js → index-dbec7dea.js} +28 -10
- package/dist/{left-nav-menu-aac029b1.js → left-nav-menu-4547bc31.js} +1 -1
- package/dist/{left-nav-menu-category-heading-b3ff93f8.js → left-nav-menu-category-heading-40a84206.js} +1 -1
- package/dist/{left-nav-menu-category-heading-986429d0.js → left-nav-menu-category-heading-ea7b8fd0.js} +2 -2
- package/dist/{left-nav-menu-5bb4c667.js → left-nav-menu-e123e07b.js} +2 -2
- package/dist/{left-nav-menu-item-db321bca.js → left-nav-menu-item-b13fa9bd.js} +2 -2
- package/dist/{left-nav-menu-item-28232edc.js → left-nav-menu-item-f0de1048.js} +1 -1
- package/dist/{left-nav-menu-section-3cb98ba9.js → left-nav-menu-section-12c63c9c.js} +2 -2
- package/dist/{left-nav-menu-section-3101ac3a.js → left-nav-menu-section-46049aa9.js} +1 -1
- package/dist/{left-nav-overlay-3438362c.js → left-nav-overlay-d67d0a6a.js} +1 -1
- package/dist/{left-nav-overlay-23bc48bd.js → left-nav-overlay-f71e3d74.js} +2 -2
- package/dist/{megamenu-category-group-350529dd.js → megamenu-category-group-2098af3d.js} +1 -1
- package/dist/{megamenu-category-group-42c2e7c6.js → megamenu-category-group-c85b1d1c.js} +2 -2
- package/dist/{megamenu-category-group-copy-7aeee6b6.js → megamenu-category-group-copy-74dadbb3.js} +2 -2
- package/dist/{megamenu-category-group-copy-ab52b66e.js → megamenu-category-group-copy-fd64eb79.js} +1 -1
- package/dist/{megamenu-category-heading-304c82c0.js → megamenu-category-heading-24704ad6.js} +1 -1
- package/dist/{megamenu-category-heading-de185d0d.js → megamenu-category-heading-88fb4721.js} +2 -2
- package/dist/{megamenu-category-link-74c8f943.js → megamenu-category-link-ae6d2273.js} +2 -2
- package/dist/{megamenu-category-link-84cc5c34.js → megamenu-category-link-af006474.js} +1 -1
- package/dist/{megamenu-category-link-group-677ac299.js → megamenu-category-link-group-06a95043.js} +1 -1
- package/dist/{megamenu-category-link-group-902363db.js → megamenu-category-link-group-8c6969cd.js} +2 -2
- package/dist/{megamenu-left-navigation-5904eb28.js → megamenu-left-navigation-382f79e5.js} +2 -2
- package/dist/{megamenu-left-navigation-68980017.js → megamenu-left-navigation-7796fe5e.js} +1 -1
- package/dist/{megamenu-overlay-4181ba67.js → megamenu-overlay-327917c7.js} +2 -2
- package/dist/{megamenu-overlay-512ee689.js → megamenu-overlay-d33c2656.js} +1 -1
- package/dist/{megamenu-tab-057e644c.js → megamenu-tab-819a92be.js} +2 -2
- package/dist/{megamenu-tab-2fa6c908.js → megamenu-tab-d7354c99.js} +1 -1
- package/es/components/back-to-top/__stories__/back-to-top.stories.css.js +1 -1
- package/es/components/card/card-footer.d.ts +6 -1
- package/es/components/card/card-footer.js +18 -1
- package/es/components/card/card-footer.js.map +1 -1
- package/es/components/card/card.css.js +1 -1
- package/es/components/card-group/card-group.css.js +1 -1
- package/es/components/card-in-card/card-in-card.css.js +1 -1
- package/es/components/card-link/card-link.css.js +1 -1
- package/es/components/card-section-offset/card-section-offset.css.js +1 -1
- package/es/components/card-section-simple/card-section-simple.css.js +1 -1
- package/es/components/content-block/content-block.css.js +1 -1
- package/es/components/content-block-cards/content-block-cards.css.js +1 -1
- package/es/components/content-block-horizontal/content-block-horizontal.css.js +1 -1
- package/es/components/content-block-media/content-block-media.css.js +1 -1
- package/es/components/content-block-mixed/content-block-mixed.css.js +1 -1
- package/es/components/content-group-cards/content-group-cards.css.js +1 -1
- package/es/components/content-item-row/content-item-row-media.css.js +1 -1
- package/es/components/content-item-row/content-item-row.css.js +1 -1
- package/es/components/cta/cta.css.js +1 -1
- package/es/components/cta/defs.d.ts +5 -1
- package/es/components/cta/defs.js +2 -1
- package/es/components/cta/defs.js.map +1 -1
- package/es/components/dotcom-shell/dotcom-shell.css.js +1 -1
- package/es/components/feature-card/feature-card.css.js +1 -1
- package/es/components/footer/footer.css.js +1 -1
- package/es/components/leadspace-block/leadspace-block.css.js +1 -1
- package/es/components/leadspace-with-search/leadspace-with-search.css.js +1 -1
- package/es/components/link-list/link-list.css.js +1 -1
- package/es/components/locale-modal/locale-modal.css.js +1 -1
- package/es/components/masthead/masthead.css.js +1 -1
- package/es/components/notice-choice/notice-choice.d.ts +53 -39
- package/es/components/notice-choice/notice-choice.js +529 -474
- package/es/components/notice-choice/notice-choice.js.map +1 -1
- package/es/components/notice-choice/services.d.ts +1 -0
- package/es/components/notice-choice/services.js +23 -0
- package/es/components/notice-choice/services.js.map +1 -1
- package/es/components/table-of-contents/table-of-contents.js +5 -3
- package/es/components/table-of-contents/table-of-contents.js.map +1 -1
- package/es/components/tabs-extended-media/tabs-extended-media.css.js +1 -1
- package/es/internal/vendor/@carbon/ibmdotcom-utilities/utilities/settings/settings.js +2 -2
- package/lib/components/cta/defs.js +2 -1
- package/lib/components/cta/defs.js.map +1 -1
- package/lib/internal/vendor/@carbon/ibmdotcom-utilities/utilities/settings/settings.js +2 -2
- package/package.json +5 -5
package/custom-elements.json
CHANGED
|
@@ -20983,6 +20983,11 @@
|
|
|
20983
20983
|
"type": "string",
|
|
20984
20984
|
"default": "\"1\""
|
|
20985
20985
|
},
|
|
20986
|
+
{
|
|
20987
|
+
"name": "email",
|
|
20988
|
+
"type": "string",
|
|
20989
|
+
"default": "\"\""
|
|
20990
|
+
},
|
|
20986
20991
|
{
|
|
20987
20992
|
"name": "country",
|
|
20988
20993
|
"type": "string",
|
|
@@ -20998,11 +21003,6 @@
|
|
|
20998
21003
|
"type": "string",
|
|
20999
21004
|
"default": "\"en\""
|
|
21000
21005
|
},
|
|
21001
|
-
{
|
|
21002
|
-
"name": "current-language",
|
|
21003
|
-
"type": "string",
|
|
21004
|
-
"default": "\"en\""
|
|
21005
|
-
},
|
|
21006
21006
|
{
|
|
21007
21007
|
"name": "terms-condition-link",
|
|
21008
21008
|
"type": "TemplateResult<1>",
|
|
@@ -21010,23 +21010,13 @@
|
|
|
21010
21010
|
},
|
|
21011
21011
|
{
|
|
21012
21012
|
"name": "enable-all-opt-in",
|
|
21013
|
-
"type": "
|
|
21014
|
-
"default": "false"
|
|
21015
|
-
},
|
|
21016
|
-
{
|
|
21017
|
-
"name": "default-values",
|
|
21018
|
-
"type": "object",
|
|
21019
|
-
"default": "{}"
|
|
21013
|
+
"type": "string",
|
|
21014
|
+
"default": "\"false\""
|
|
21020
21015
|
},
|
|
21021
21016
|
{
|
|
21022
21017
|
"name": "hide-error-message",
|
|
21023
|
-
"type": "
|
|
21024
|
-
"default": "false"
|
|
21025
|
-
},
|
|
21026
|
-
{
|
|
21027
|
-
"name": "combine-email-phone",
|
|
21028
|
-
"type": "boolean",
|
|
21029
|
-
"default": "false"
|
|
21018
|
+
"type": "string",
|
|
21019
|
+
"default": "\"false\""
|
|
21030
21020
|
},
|
|
21031
21021
|
{
|
|
21032
21022
|
"name": "environment",
|
|
@@ -21034,22 +21024,18 @@
|
|
|
21034
21024
|
"default": "\"prod\""
|
|
21035
21025
|
},
|
|
21036
21026
|
{
|
|
21037
|
-
"name": "
|
|
21038
|
-
"
|
|
21039
|
-
"
|
|
21040
|
-
|
|
21041
|
-
{
|
|
21042
|
-
"name": "hiddenPhone",
|
|
21043
|
-
"type": "string",
|
|
21044
|
-
"default": "\"\""
|
|
21027
|
+
"name": "default-values",
|
|
21028
|
+
"description": "End properties for passed attributes.",
|
|
21029
|
+
"type": "object",
|
|
21030
|
+
"default": "{}"
|
|
21045
21031
|
},
|
|
21046
21032
|
{
|
|
21047
|
-
"name": "
|
|
21033
|
+
"name": "hiddenEmail",
|
|
21048
21034
|
"type": "string",
|
|
21049
21035
|
"default": "\"\""
|
|
21050
21036
|
},
|
|
21051
21037
|
{
|
|
21052
|
-
"name": "
|
|
21038
|
+
"name": "hiddenPhone",
|
|
21053
21039
|
"type": "string",
|
|
21054
21040
|
"default": "\"\""
|
|
21055
21041
|
}
|
|
@@ -21062,6 +21048,12 @@
|
|
|
21062
21048
|
"type": "string",
|
|
21063
21049
|
"default": "\"1\""
|
|
21064
21050
|
},
|
|
21051
|
+
{
|
|
21052
|
+
"name": "email",
|
|
21053
|
+
"attribute": "email",
|
|
21054
|
+
"type": "string",
|
|
21055
|
+
"default": "\"\""
|
|
21056
|
+
},
|
|
21065
21057
|
{
|
|
21066
21058
|
"name": "country",
|
|
21067
21059
|
"attribute": "country",
|
|
@@ -21080,12 +21072,6 @@
|
|
|
21080
21072
|
"type": "string",
|
|
21081
21073
|
"default": "\"en\""
|
|
21082
21074
|
},
|
|
21083
|
-
{
|
|
21084
|
-
"name": "currentLanguage",
|
|
21085
|
-
"attribute": "current-language",
|
|
21086
|
-
"type": "string",
|
|
21087
|
-
"default": "\"en\""
|
|
21088
|
-
},
|
|
21089
21075
|
{
|
|
21090
21076
|
"name": "termsConditionLink",
|
|
21091
21077
|
"attribute": "terms-condition-link",
|
|
@@ -21095,26 +21081,14 @@
|
|
|
21095
21081
|
{
|
|
21096
21082
|
"name": "enableAllOptIn",
|
|
21097
21083
|
"attribute": "enable-all-opt-in",
|
|
21098
|
-
"type": "
|
|
21099
|
-
"default": "false"
|
|
21100
|
-
},
|
|
21101
|
-
{
|
|
21102
|
-
"name": "defaultValues",
|
|
21103
|
-
"attribute": "default-values",
|
|
21104
|
-
"type": "object",
|
|
21105
|
-
"default": "{}"
|
|
21084
|
+
"type": "string",
|
|
21085
|
+
"default": "\"false\""
|
|
21106
21086
|
},
|
|
21107
21087
|
{
|
|
21108
21088
|
"name": "hideErrorMessage",
|
|
21109
21089
|
"attribute": "hide-error-message",
|
|
21110
|
-
"type": "
|
|
21111
|
-
"default": "false"
|
|
21112
|
-
},
|
|
21113
|
-
{
|
|
21114
|
-
"name": "combineEmailPhone",
|
|
21115
|
-
"attribute": "combine-email-phone",
|
|
21116
|
-
"type": "boolean",
|
|
21117
|
-
"default": "false"
|
|
21090
|
+
"type": "string",
|
|
21091
|
+
"default": "\"false\""
|
|
21118
21092
|
},
|
|
21119
21093
|
{
|
|
21120
21094
|
"name": "environment",
|
|
@@ -21122,6 +21096,13 @@
|
|
|
21122
21096
|
"type": "string",
|
|
21123
21097
|
"default": "\"prod\""
|
|
21124
21098
|
},
|
|
21099
|
+
{
|
|
21100
|
+
"name": "defaultValues",
|
|
21101
|
+
"attribute": "default-values",
|
|
21102
|
+
"description": "End properties for passed attributes.",
|
|
21103
|
+
"type": "object",
|
|
21104
|
+
"default": "{}"
|
|
21105
|
+
},
|
|
21125
21106
|
{
|
|
21126
21107
|
"name": "checkboxes",
|
|
21127
21108
|
"type": "object",
|
|
@@ -21162,7 +21143,7 @@
|
|
|
21162
21143
|
"name": "noticeOnly"
|
|
21163
21144
|
},
|
|
21164
21145
|
{
|
|
21165
|
-
"name": "
|
|
21146
|
+
"name": "emailValid",
|
|
21166
21147
|
"type": "boolean",
|
|
21167
21148
|
"default": "false"
|
|
21168
21149
|
},
|
|
@@ -21176,9 +21157,23 @@
|
|
|
21176
21157
|
"type": "boolean",
|
|
21177
21158
|
"default": "false"
|
|
21178
21159
|
},
|
|
21160
|
+
{
|
|
21161
|
+
"name": "isAnnualPeriodExpired",
|
|
21162
|
+
"type": "boolean",
|
|
21163
|
+
"default": "true"
|
|
21164
|
+
},
|
|
21165
|
+
{
|
|
21166
|
+
"name": "showCheckBox",
|
|
21167
|
+
"type": "boolean",
|
|
21168
|
+
"default": "false"
|
|
21169
|
+
},
|
|
21170
|
+
{
|
|
21171
|
+
"name": "isLoading",
|
|
21172
|
+
"type": "boolean",
|
|
21173
|
+
"default": "false"
|
|
21174
|
+
},
|
|
21179
21175
|
{
|
|
21180
21176
|
"name": "preText",
|
|
21181
|
-
"description": "End properties for passed attributes.",
|
|
21182
21177
|
"type": "TemplateResult<1>",
|
|
21183
21178
|
"default": "\"html``\""
|
|
21184
21179
|
},
|
|
@@ -21192,6 +21187,11 @@
|
|
|
21192
21187
|
"type": "{ EMAIL: boolean; PHONE: boolean; NC_HIDDEN_EMAIL: string; NC_HIDDEN_PHONE: string; }",
|
|
21193
21188
|
"default": "{\"EMAIL\":false,\"PHONE\":false,\"NC_HIDDEN_EMAIL\":\"SUPPRESSION\",\"NC_HIDDEN_PHONE\":\"SUPPRESSION\"}"
|
|
21194
21189
|
},
|
|
21190
|
+
{
|
|
21191
|
+
"name": "valuesForEmailPhone",
|
|
21192
|
+
"type": "{ EMAIL: { checkBoxStatus: string; punsStatus: string; }; }",
|
|
21193
|
+
"default": "{\"EMAIL\":{\"checkBoxStatus\":\"PERMISSION\",\"punsStatus\":\"\"}}"
|
|
21194
|
+
},
|
|
21195
21195
|
{
|
|
21196
21196
|
"name": "hiddenEmail",
|
|
21197
21197
|
"attribute": "hiddenEmail",
|
|
@@ -21204,26 +21204,22 @@
|
|
|
21204
21204
|
"type": "string",
|
|
21205
21205
|
"default": "\"\""
|
|
21206
21206
|
},
|
|
21207
|
-
{
|
|
21208
|
-
"name": "ncTeleDetail",
|
|
21209
|
-
"attribute": "nc-tele-detail",
|
|
21210
|
-
"type": "string",
|
|
21211
|
-
"default": "\"\""
|
|
21212
|
-
},
|
|
21213
|
-
{
|
|
21214
|
-
"name": "ncEmailDetail",
|
|
21215
|
-
"attribute": "nc-email-detail",
|
|
21216
|
-
"type": "string",
|
|
21217
|
-
"default": "\"\""
|
|
21218
|
-
},
|
|
21219
21207
|
{
|
|
21220
21208
|
"name": "styles",
|
|
21221
21209
|
"default": "\"styles\""
|
|
21210
|
+
},
|
|
21211
|
+
{
|
|
21212
|
+
"name": "pwsFieldsMap",
|
|
21213
|
+
"type": "Map<string, string>",
|
|
21214
|
+
"default": "\"new Map<string, string>([\\n ['NC_HIDDEN_EMAIL', 'permission_email'],\\n ['NC_HIDDEN_PHONE', 'permission_phone'],\\n ['preventFormSubmission', 'preventFormSubmission'],\\n ['Q_CHINA_PIPL', 'Q_CHINA_PIPL'],\\n ['Q_COUNTRY_TRANSFER', 'Q_COUNTRY_TRANSFER'],\\n ['NC_HIDDEN_EMAIL_VALUE', 'NC_HIDDEN_EMAIL'],\\n ['NC_HIDDEN_PHONE_VALUE', 'NC_HIDDEN_PHONE'],\\n ['EMAIL_CU', 'EMAIL_CU'],\\n ['EMAIL_CC', 'EMAIL_CC'],\\n ['EMAIL_UC', 'EMAIL_UC'],\\n ['EMAIL_UU', 'EMAIL_UU'],\\n ['PHONE_CU', 'PHONE_CU'],\\n ['PHONE_CC', 'PHONE_CC'],\\n ['PHONE_UC', 'PHONE_UC'],\\n ['PHONE_UU', 'PHONE_UU'],\\n ['EMAIL_NOTICE_ONLY', 'EMAIL_NOTICE_ONLY'],\\n ['PHONE_NOTICE_ONLY', 'PHONE_NOTICE_ONLY'],\\n ['NC_HIDDEN_PHONE_NONE', 'NC_HIDDEN_PHONE_NONE'],\\n ])\""
|
|
21222
21215
|
}
|
|
21223
21216
|
],
|
|
21224
21217
|
"events": [
|
|
21225
21218
|
{
|
|
21226
|
-
"name": "c4d-notice-choice-change"
|
|
21219
|
+
"name": "c4d-notice-choice-change"
|
|
21220
|
+
},
|
|
21221
|
+
{
|
|
21222
|
+
"name": "c4d-notice-choice-email-status-changed",
|
|
21227
21223
|
"description": "The custom event fired when default choice loaded or user change some preferences.\nThe field and value should be taken from the detail object and send it to MRS."
|
|
21228
21224
|
}
|
|
21229
21225
|
],
|
package/dist/dotcom-shell.js
CHANGED
package/dist/dotcom-shell.min.js
CHANGED
|
@@ -80,11 +80,11 @@
|
|
|
80
80
|
* https://www.npmjs.com/package/redux
|
|
81
81
|
* https://www.npmjs.com/package/lodash-es
|
|
82
82
|
* https://www.npmjs.com/package/window-or-global
|
|
83
|
-
* https://www.npmjs.com/package/redux-thunk
|
|
84
83
|
* https://www.npmjs.com/package/redux-logger
|
|
84
|
+
* https://www.npmjs.com/package/redux-thunk
|
|
85
85
|
* https://www.npmjs.com/package/axios
|
|
86
86
|
* https://www.npmjs.com/package/isomorphic-dompurify
|
|
87
87
|
* https://www.npmjs.com/package/striptags
|
|
88
88
|
*/
|
|
89
89
|
|
|
90
|
-
import"./index-
|
|
90
|
+
import"./index-70141123.js";
|
|
@@ -80,11 +80,11 @@
|
|
|
80
80
|
* https://www.npmjs.com/package/redux
|
|
81
81
|
* https://www.npmjs.com/package/lodash-es
|
|
82
82
|
* https://www.npmjs.com/package/window-or-global
|
|
83
|
-
* https://www.npmjs.com/package/redux-thunk
|
|
84
83
|
* https://www.npmjs.com/package/redux-logger
|
|
84
|
+
* https://www.npmjs.com/package/redux-thunk
|
|
85
85
|
* https://www.npmjs.com/package/axios
|
|
86
86
|
* https://www.npmjs.com/package/isomorphic-dompurify
|
|
87
87
|
* https://www.npmjs.com/package/striptags
|
|
88
88
|
*/
|
|
89
89
|
|
|
90
|
-
import"./index-
|
|
90
|
+
import"./index-70141123.js";
|