@carbon/ibmdotcom-web-components 1.32.0-rc.0 → 1.32.0-rc.2
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 +18 -18
- package/dist/{20-2c34f739.js → 20-4d0d088b.js} +1 -1
- package/dist/{20-002a62f9.js → 20-c7872d45.js} +1 -1
- package/dist/{20-e53335d3.js → 20-d0071628.js} +1 -1
- package/dist/{20-4f726b86.js → 20-f07ed7a1.js} +1 -1
- package/dist/cloud-masthead.js +2 -2
- package/dist/cloud-masthead.min.js +1 -1
- package/dist/cloud-masthead.rtl.js +2 -2
- package/dist/cloud-masthead.rtl.min.js +1 -1
- package/dist/dotcom-shell.js +2 -2
- package/dist/dotcom-shell.min.js +1 -1
- package/dist/dotcom-shell.rtl.js +2 -2
- package/dist/dotcom-shell.rtl.min.js +1 -1
- package/dist/ibmdotcom-web-components-dotcom-shell.js +9 -7
- package/dist/ibmdotcom-web-components-dotcom-shell.min.js +2 -2
- package/dist/ibmdotcom-web-components-dotcom-shell.rtl.js +9 -7
- package/dist/ibmdotcom-web-components-dotcom-shell.rtl.min.js +2 -2
- package/dist/{left-nav-menu-72142ae5.js → left-nav-menu-0454e7fe.js} +1 -1
- package/dist/{left-nav-menu-136466dc.js → left-nav-menu-4bb5d738.js} +1 -1
- package/dist/{left-nav-menu-d0e0c8a1.js → left-nav-menu-a9193172.js} +1 -1
- package/dist/{left-nav-menu-3436909a.js → left-nav-menu-aa14d1fd.js} +1 -1
- package/dist/{left-nav-menu-category-heading-71bd687e.js → left-nav-menu-category-heading-308b7583.js} +1 -1
- package/dist/{left-nav-menu-category-heading-b2b5a65f.js → left-nav-menu-category-heading-c9962ac5.js} +1 -1
- package/dist/{left-nav-menu-category-heading-2a3e1e8f.js → left-nav-menu-category-heading-daf5ebfa.js} +1 -1
- package/dist/{left-nav-menu-category-heading-17849a08.js → left-nav-menu-category-heading-fc02a361.js} +1 -1
- package/dist/{left-nav-menu-item-19e02851.js → left-nav-menu-item-0275a3b9.js} +1 -1
- package/dist/{left-nav-menu-item-8caa4256.js → left-nav-menu-item-354f4261.js} +1 -1
- package/dist/{left-nav-menu-item-ee78e342.js → left-nav-menu-item-7814505a.js} +1 -1
- package/dist/{left-nav-menu-item-327fee2b.js → left-nav-menu-item-fa33cbd9.js} +1 -1
- package/dist/{left-nav-menu-section-5f999435.js → left-nav-menu-section-5c2e24f8.js} +2 -2
- package/dist/{left-nav-menu-section-518e5d37.js → left-nav-menu-section-94e4e49c.js} +1 -1
- package/dist/{left-nav-menu-section-e0a8964a.js → left-nav-menu-section-b5303d97.js} +2 -2
- package/dist/{left-nav-menu-section-6150369f.js → left-nav-menu-section-fcd88473.js} +1 -1
- package/dist/{left-nav-overlay-5731f7e5.js → left-nav-overlay-1e1910e9.js} +1 -1
- package/dist/{left-nav-overlay-6882d48d.js → left-nav-overlay-320c1270.js} +1 -1
- package/dist/{left-nav-overlay-a4cc3b3e.js → left-nav-overlay-81eb5e93.js} +1 -1
- package/dist/{left-nav-overlay-de7eb950.js → left-nav-overlay-ce49183f.js} +1 -1
- package/dist/{masthead-composite-c8dbcd61.js → masthead-composite-10b5102f.js} +3 -3
- package/dist/{masthead-composite-306adeb9.js → masthead-composite-1ed7f190.js} +3 -3
- package/dist/{masthead-composite-fb2bb203.js → masthead-composite-4096f117.js} +18 -14
- package/dist/{masthead-composite-73d938e4.js → masthead-composite-e578b925.js} +18 -14
- package/dist/{megamenu-category-group-43899a46.js → megamenu-category-group-0042c754.js} +1 -1
- package/dist/{megamenu-category-group-3bf5d73c.js → megamenu-category-group-b777facf.js} +1 -1
- package/dist/{megamenu-category-group-copy-2b87813d.js → megamenu-category-group-copy-69e90843.js} +1 -1
- package/dist/{megamenu-category-group-copy-283a25a3.js → megamenu-category-group-copy-6cc797f8.js} +1 -1
- package/dist/{megamenu-category-group-copy-93aa0a96.js → megamenu-category-group-copy-83e643e1.js} +1 -1
- package/dist/{megamenu-category-group-copy-775aaa80.js → megamenu-category-group-copy-e60dfb61.js} +1 -1
- package/dist/{megamenu-category-group-79513624.js → megamenu-category-group-d474b15d.js} +1 -1
- package/dist/{megamenu-category-group-999cba46.js → megamenu-category-group-f7dba932.js} +1 -1
- package/dist/{megamenu-category-link-71bd2020.js → megamenu-category-link-0df4440e.js} +1 -1
- package/dist/{megamenu-category-link-dbc8b4a4.js → megamenu-category-link-54e1011f.js} +1 -1
- package/dist/{megamenu-category-link-fb99f944.js → megamenu-category-link-68b5ea65.js} +1 -1
- package/dist/{megamenu-category-link-e3280b1e.js → megamenu-category-link-84732d66.js} +1 -1
- package/dist/{megamenu-left-navigation-3b9086ee.js → megamenu-left-navigation-7c8616c7.js} +1 -1
- package/dist/{megamenu-left-navigation-1f60ff1b.js → megamenu-left-navigation-862becf2.js} +1 -1
- package/dist/{megamenu-left-navigation-dd0372b5.js → megamenu-left-navigation-98f428cf.js} +1 -1
- package/dist/{megamenu-left-navigation-35bcade1.js → megamenu-left-navigation-c5ed7f0e.js} +1 -1
- package/dist/{megamenu-overlay-50af9c22.js → megamenu-overlay-213de889.js} +1 -1
- package/dist/{megamenu-overlay-2b2fe43c.js → megamenu-overlay-3ad6b0b2.js} +1 -1
- package/dist/{megamenu-overlay-5ff8fbf2.js → megamenu-overlay-ab9a9cff.js} +1 -1
- package/dist/{megamenu-overlay-ddd5122f.js → megamenu-overlay-d948063a.js} +1 -1
- package/es/components/image/image.d.ts +0 -3
- package/es/components/image/image.d.ts.map +1 -1
- package/es/components/image/image.js +1 -1
- package/es/components/image/image.js.map +1 -1
- package/es/components/locale-modal/locale-modal.d.ts.map +1 -1
- package/es/components/locale-modal/locale-modal.js +7 -5
- package/es/components/locale-modal/locale-modal.js.map +1 -1
- package/es/components/masthead/masthead-composite.d.ts +1 -1
- package/es/components/masthead/masthead-composite.d.ts.map +1 -1
- package/es/components/masthead/masthead-composite.js +4 -3
- package/es/components/masthead/masthead-composite.js.map +1 -1
- package/es/components/notice-choice/notice-choice.d.ts.map +1 -1
- package/es/components/notice-choice/notice-choice.js +0 -1
- package/es/components/notice-choice/notice-choice.js.map +1 -1
- package/es/components/search-with-typeahead/search-with-typeahead.d.ts.map +1 -1
- package/es/components/search-with-typeahead/search-with-typeahead.js +4 -1
- package/es/components/search-with-typeahead/search-with-typeahead.js.map +1 -1
- package/es/components/table-of-contents/table-of-contents.d.ts +12 -7
- package/es/components/table-of-contents/table-of-contents.d.ts.map +1 -1
- package/es/components/table-of-contents/table-of-contents.js +13 -2
- package/es/components/table-of-contents/table-of-contents.js.map +1 -1
- package/es/components/video-player/video-player.d.ts +1 -9
- package/es/components/video-player/video-player.d.ts.map +1 -1
- package/es/components/video-player/video-player.js +7 -2
- package/es/components/video-player/video-player.js.map +1 -1
- package/es/components-react/footer/dropdown.js +39 -0
- package/es/components-react/masthead/masthead-composite.d.ts +1 -1
- package/es/components-react/masthead/masthead-composite.js +241 -0
- package/es/components-react/masthead/masthead-container.js +25 -0
- package/es/components-react/masthead/masthead.js +23 -0
- package/es/components-react/quote/quote-link-with-icon.js +25 -0
- package/es/components-react/quote/quote-source-bottom-copy.js +30 -0
- package/es/components-react/quote/quote-source-copy.js +30 -0
- package/es/components-react/quote/quote-source-heading.js +30 -0
- package/es/components-react/search-with-typeahead/scoped-search-dropdown-mobile.js +32 -0
- package/es/components-react/search-with-typeahead/scoped-search-dropdown.js +39 -0
- package/es/components-react/search-with-typeahead/search-with-typeahead-item.js +47 -0
- package/es/components-react/search-with-typeahead/search-with-typeahead.js +175 -0
- package/es/components-react/structured-list/structured-list-body.js +23 -0
- package/es/components-react/structured-list/structured-list-cell.js +41 -0
- package/es/components-react/structured-list/structured-list-group.js +29 -0
- package/es/components-react/structured-list/structured-list-head.js +23 -0
- package/es/components-react/structured-list/structured-list-header-cell.js +23 -0
- package/es/components-react/structured-list/structured-list-header-row.js +23 -0
- package/es/components-react/structured-list/structured-list-row.js +23 -0
- package/es/components-react/structured-list/structured-list.js +23 -0
- package/es/components-react/table-of-contents/table-of-contents.js +49 -0
- package/es/components-react/tabs-extended/tab.js +53 -0
- package/es/components-react/tabs-extended/tabs-extended.js +36 -0
- package/es/components-react/tabs-extended-media/tabs-extended-media.js +34 -0
- package/es/components-react/tag-group/tag-group.js +23 -0
- package/es/components-react/tag-link/tag-link.js +57 -0
- package/es/components-react/universal-banner/universal-banner-copy.js +29 -0
- package/es/components-react/universal-banner/universal-banner-heading.js +30 -0
- package/es/components-react/universal-banner/universal-banner-image.js +25 -0
- package/es/components-react/universal-banner/universal-banner.js +57 -0
- package/es/components-react/video-player/video-player.js +134 -0
- package/lib/components-react-node/footer/dropdown.js +80 -0
- package/lib/components-react-node/masthead/masthead-composite.js +295 -0
- package/lib/components-react-node/masthead/masthead-container.js +41 -0
- package/lib/components-react-node/masthead/masthead.js +40 -0
- package/lib/components-react-node/quote/quote-link-with-icon.js +41 -0
- package/lib/components-react-node/quote/quote-source-bottom-copy.js +47 -0
- package/lib/components-react-node/quote/quote-source-copy.js +47 -0
- package/lib/components-react-node/quote/quote-source-heading.js +47 -0
- package/lib/components-react-node/search-with-typeahead/scoped-search-dropdown-mobile.js +49 -0
- package/lib/components-react-node/search-with-typeahead/scoped-search-dropdown.js +68 -0
- package/lib/components-react-node/search-with-typeahead/search-with-typeahead-item.js +102 -0
- package/lib/components-react-node/search-with-typeahead/search-with-typeahead.js +230 -0
- package/lib/components-react-node/structured-list/structured-list-body.js +40 -0
- package/lib/components-react-node/structured-list/structured-list-cell.js +58 -0
- package/lib/components-react-node/structured-list/structured-list-group.js +46 -0
- package/lib/components-react-node/structured-list/structured-list-head.js +40 -0
- package/lib/components-react-node/structured-list/structured-list-header-cell.js +40 -0
- package/lib/components-react-node/structured-list/structured-list-header-row.js +40 -0
- package/lib/components-react-node/structured-list/structured-list-row.js +40 -0
- package/lib/components-react-node/structured-list/structured-list.js +40 -0
- package/lib/components-react-node/table-of-contents/table-of-contents.js +104 -0
- package/lib/components-react-node/tabs-extended/tab.js +108 -0
- package/lib/components-react-node/tabs-extended/tabs-extended.js +53 -0
- package/lib/components-react-node/tabs-extended-media/tabs-extended-media.js +50 -0
- package/lib/components-react-node/tag-group/tag-group.js +40 -0
- package/lib/components-react-node/tag-link/tag-link.js +74 -0
- package/lib/components-react-node/universal-banner/universal-banner-copy.js +45 -0
- package/lib/components-react-node/universal-banner/universal-banner-heading.js +47 -0
- package/lib/components-react-node/universal-banner/universal-banner-image.js +41 -0
- package/lib/components-react-node/universal-banner/universal-banner.js +112 -0
- package/lib/components-react-node/video-player/video-player.js +197 -0
- package/package.json +7 -7
- package/scss/components/image/image.scss +1 -1
- package/es/components-react/notice-choice/notice-choice.d.ts +0 -48
|
@@ -0,0 +1,197 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*
|
|
4
|
+
* Copyright IBM Corp. 2020
|
|
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
|
+
'use strict';
|
|
10
|
+
|
|
11
|
+
Object.defineProperty(exports, '__esModule', {
|
|
12
|
+
value: true,
|
|
13
|
+
});
|
|
14
|
+
Object.defineProperty(exports, 'VIDEO_PLAYER_CONTENT_STATE', {
|
|
15
|
+
enumerable: true,
|
|
16
|
+
get: function() {
|
|
17
|
+
return _defs.VIDEO_PLAYER_CONTENT_STATE;
|
|
18
|
+
},
|
|
19
|
+
});
|
|
20
|
+
Object.defineProperty(exports, 'VIDEO_PLAYER_PLAYING_MODE', {
|
|
21
|
+
enumerable: true,
|
|
22
|
+
get: function() {
|
|
23
|
+
return _defs.VIDEO_PLAYER_PLAYING_MODE;
|
|
24
|
+
},
|
|
25
|
+
});
|
|
26
|
+
exports.propTypes = exports.descriptor = exports.default = void 0;
|
|
27
|
+
var _defs = require('././defs.js');
|
|
28
|
+
var _createReactCustomElementType = _interopRequireWildcard(
|
|
29
|
+
require('@carbon/web-components/es/globals/wrappers/createReactCustomElementType.js')
|
|
30
|
+
);
|
|
31
|
+
var _propTypes = _interopRequireDefault(require('prop-types'));
|
|
32
|
+
var _settings = _interopRequireDefault(
|
|
33
|
+
require('carbon-components/umd/globals/js/settings.js')
|
|
34
|
+
);
|
|
35
|
+
var _settings2 = _interopRequireDefault(
|
|
36
|
+
require('@carbon/ibmdotcom-utilities/lib/utilities/settings/settings.js')
|
|
37
|
+
);
|
|
38
|
+
function _interopRequireDefault(obj) {
|
|
39
|
+
return obj && obj.__esModule ? obj : { default: obj };
|
|
40
|
+
}
|
|
41
|
+
function _getRequireWildcardCache(nodeInterop) {
|
|
42
|
+
if (typeof WeakMap !== 'function') return null;
|
|
43
|
+
var cacheBabelInterop = new WeakMap();
|
|
44
|
+
var cacheNodeInterop = new WeakMap();
|
|
45
|
+
return (_getRequireWildcardCache = function(nodeInterop) {
|
|
46
|
+
return nodeInterop ? cacheNodeInterop : cacheBabelInterop;
|
|
47
|
+
})(nodeInterop);
|
|
48
|
+
}
|
|
49
|
+
function _interopRequireWildcard(obj, nodeInterop) {
|
|
50
|
+
if (!nodeInterop && obj && obj.__esModule) {
|
|
51
|
+
return obj;
|
|
52
|
+
}
|
|
53
|
+
if (obj === null || (typeof obj !== 'object' && typeof obj !== 'function')) {
|
|
54
|
+
return { default: obj };
|
|
55
|
+
}
|
|
56
|
+
var cache = _getRequireWildcardCache(nodeInterop);
|
|
57
|
+
if (cache && cache.has(obj)) {
|
|
58
|
+
return cache.get(obj);
|
|
59
|
+
}
|
|
60
|
+
var newObj = {};
|
|
61
|
+
var hasPropertyDescriptor =
|
|
62
|
+
Object.defineProperty && Object.getOwnPropertyDescriptor;
|
|
63
|
+
for (var key in obj) {
|
|
64
|
+
if (key !== 'default' && Object.prototype.hasOwnProperty.call(obj, key)) {
|
|
65
|
+
var desc = hasPropertyDescriptor
|
|
66
|
+
? Object.getOwnPropertyDescriptor(obj, key)
|
|
67
|
+
: null;
|
|
68
|
+
if (desc && (desc.get || desc.set)) {
|
|
69
|
+
Object.defineProperty(newObj, key, desc);
|
|
70
|
+
} else {
|
|
71
|
+
newObj[key] = obj[key];
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
newObj.default = obj;
|
|
76
|
+
if (cache) {
|
|
77
|
+
cache.set(obj, newObj);
|
|
78
|
+
}
|
|
79
|
+
return newObj;
|
|
80
|
+
}
|
|
81
|
+
var prefix = _settings.default.prefix;
|
|
82
|
+
var ddsPrefix = _settings2.default.stablePrefix;
|
|
83
|
+
var descriptor = {
|
|
84
|
+
playingMode: {
|
|
85
|
+
attribute: 'playing-mode',
|
|
86
|
+
},
|
|
87
|
+
contentState: {
|
|
88
|
+
attribute: 'content-state',
|
|
89
|
+
},
|
|
90
|
+
duration: {
|
|
91
|
+
serialize: _createReactCustomElementType.numberSerializer,
|
|
92
|
+
},
|
|
93
|
+
formatCaption: {
|
|
94
|
+
attribute: false,
|
|
95
|
+
},
|
|
96
|
+
formatDuration: {
|
|
97
|
+
attribute: false,
|
|
98
|
+
},
|
|
99
|
+
hideCaption: {
|
|
100
|
+
serialize: _createReactCustomElementType.booleanSerializer,
|
|
101
|
+
attribute: 'hide-caption',
|
|
102
|
+
},
|
|
103
|
+
name: {},
|
|
104
|
+
backgroundMode: {
|
|
105
|
+
attribute: 'background-mode',
|
|
106
|
+
},
|
|
107
|
+
customVideoDescription: {
|
|
108
|
+
attribute: 'video-description',
|
|
109
|
+
},
|
|
110
|
+
thumbnailUrl: {
|
|
111
|
+
attribute: 'thumbnail-url',
|
|
112
|
+
},
|
|
113
|
+
videoId: {
|
|
114
|
+
attribute: 'video-id',
|
|
115
|
+
},
|
|
116
|
+
aspectRatio: {
|
|
117
|
+
attribute: 'aspect-ratio',
|
|
118
|
+
},
|
|
119
|
+
onContentStateChange: {
|
|
120
|
+
event: ''.concat(ddsPrefix, '-video-player-content-state-changed'),
|
|
121
|
+
},
|
|
122
|
+
onPlaybackStateChange: {
|
|
123
|
+
event: ''.concat(ddsPrefix, '-video-player-playback-state-changed'),
|
|
124
|
+
},
|
|
125
|
+
};
|
|
126
|
+
exports.descriptor = descriptor;
|
|
127
|
+
var propTypes = {
|
|
128
|
+
/**
|
|
129
|
+
* The video player's mode showing Inline or Lightbox.
|
|
130
|
+
*/
|
|
131
|
+
playingMode: _propTypes.default.string,
|
|
132
|
+
/**
|
|
133
|
+
* The video player's content state.
|
|
134
|
+
*/
|
|
135
|
+
contentState: _propTypes.default.string,
|
|
136
|
+
/**
|
|
137
|
+
* The video duration.
|
|
138
|
+
*/
|
|
139
|
+
duration: _propTypes.default.number,
|
|
140
|
+
/**
|
|
141
|
+
* The formatter for the video caption, composed with the video name and the video duration.
|
|
142
|
+
* Should be changed upon the locale the UI is rendered with.
|
|
143
|
+
*/
|
|
144
|
+
formatCaption: _propTypes.default.string,
|
|
145
|
+
/**
|
|
146
|
+
* The formatter for the video duration.
|
|
147
|
+
* Should be changed upon the locale the UI is rendered with.
|
|
148
|
+
*/
|
|
149
|
+
formatDuration: _propTypes.default.string,
|
|
150
|
+
/**
|
|
151
|
+
* `true` to hide the caption.
|
|
152
|
+
*/
|
|
153
|
+
hideCaption: _propTypes.default.bool,
|
|
154
|
+
/**
|
|
155
|
+
* The video name.
|
|
156
|
+
*/
|
|
157
|
+
name: _propTypes.default.string,
|
|
158
|
+
/**
|
|
159
|
+
* `true` to autoplay, mute video, and hide UI
|
|
160
|
+
*/
|
|
161
|
+
backgroundMode: _propTypes.default.string,
|
|
162
|
+
/**
|
|
163
|
+
* Custom video description. This property should only be set when using `playing-mode="lightbox"`
|
|
164
|
+
*/
|
|
165
|
+
customVideoDescription: _propTypes.default.string,
|
|
166
|
+
/**
|
|
167
|
+
* The thumbnail URL.
|
|
168
|
+
*/
|
|
169
|
+
thumbnailUrl: _propTypes.default.string,
|
|
170
|
+
/**
|
|
171
|
+
* The video ID.
|
|
172
|
+
*/
|
|
173
|
+
videoId: _propTypes.default.string,
|
|
174
|
+
/**
|
|
175
|
+
* Override default aspect ratio of `16x9`.
|
|
176
|
+
* Available aspect ratios:
|
|
177
|
+
*
|
|
178
|
+
* `16x9`, `9x16`, `2x1`, `1x2`, `4x3`, `3x4`, `1x1`
|
|
179
|
+
*/
|
|
180
|
+
aspectRatio: _propTypes.default.string,
|
|
181
|
+
/**
|
|
182
|
+
* The name of the custom event fired after video content state is changed upon a user gesture.
|
|
183
|
+
*/
|
|
184
|
+
onContentStateChange: _propTypes.default.func,
|
|
185
|
+
/**
|
|
186
|
+
* The name of the custom event fired requesting playback state change.
|
|
187
|
+
*/
|
|
188
|
+
onPlaybackStateChange: _propTypes.default.func,
|
|
189
|
+
};
|
|
190
|
+
exports.propTypes = propTypes;
|
|
191
|
+
const Component = (0, _createReactCustomElementType.default)(
|
|
192
|
+
''.concat(ddsPrefix, '-video-player'),
|
|
193
|
+
descriptor
|
|
194
|
+
);
|
|
195
|
+
Component.propTypes = propTypes;
|
|
196
|
+
var _default = Component;
|
|
197
|
+
exports.default = _default;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@carbon/ibmdotcom-web-components",
|
|
3
|
-
"version": "1.32.0-rc.
|
|
3
|
+
"version": "1.32.0-rc.2",
|
|
4
4
|
"description": "Carbon for IBM.com Web Components",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"exports": {
|
|
@@ -89,13 +89,13 @@
|
|
|
89
89
|
"wca": "web-component-analyzer analyze src --outFile custom-elements.json"
|
|
90
90
|
},
|
|
91
91
|
"dependencies": {
|
|
92
|
-
"@carbon/ibmdotcom-services": "1.47.0-rc.
|
|
93
|
-
"@carbon/ibmdotcom-styles": "1.47.0-rc.
|
|
94
|
-
"@carbon/ibmdotcom-utilities": "1.47.0-rc.
|
|
92
|
+
"@carbon/ibmdotcom-services": "1.47.0-rc.2",
|
|
93
|
+
"@carbon/ibmdotcom-styles": "1.47.0-rc.2",
|
|
94
|
+
"@carbon/ibmdotcom-utilities": "1.47.0-rc.2",
|
|
95
95
|
"@carbon/layout": "10.37.1",
|
|
96
96
|
"@carbon/motion": "^11.0.0",
|
|
97
97
|
"@carbon/telemetry": "0.1.0",
|
|
98
|
-
"@carbon/web-components": "1.28.0-rc.
|
|
98
|
+
"@carbon/web-components": "1.28.0-rc.2",
|
|
99
99
|
"carbon-components": "10.58.6",
|
|
100
100
|
"lit-element": "2.5.1",
|
|
101
101
|
"lit-html": "1.4.1",
|
|
@@ -130,7 +130,7 @@
|
|
|
130
130
|
"@babel/preset-react": "~7.12.0",
|
|
131
131
|
"@babel/template": "~7.12.0",
|
|
132
132
|
"@babel/traverse": "~7.12.0",
|
|
133
|
-
"@carbon/ibmdotcom-services-store": "1.47.0-rc.
|
|
133
|
+
"@carbon/ibmdotcom-services-store": "1.47.0-rc.2",
|
|
134
134
|
"@carbon/icon-helpers": "10.39.0",
|
|
135
135
|
"@carbon/icons": "10.48.0",
|
|
136
136
|
"@carbon/type": "10.45.1",
|
|
@@ -242,5 +242,5 @@
|
|
|
242
242
|
"peerDependencies": {
|
|
243
243
|
"typescript": "~4.8.0"
|
|
244
244
|
},
|
|
245
|
-
"gitHead": "
|
|
245
|
+
"gitHead": "22d274aa4518c32bb503a7f4b5c841d45c48279e"
|
|
246
246
|
}
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
*
|
|
4
|
-
* Copyright IBM Corp. 2020
|
|
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
|
-
import { Component } from 'react';
|
|
10
|
-
export interface ComponentProps {
|
|
11
|
-
/**
|
|
12
|
-
* properties for passed attributes.
|
|
13
|
-
*/
|
|
14
|
-
questionchoices?: string;
|
|
15
|
-
country?: string;
|
|
16
|
-
state?: string;
|
|
17
|
-
locale?: string;
|
|
18
|
-
termsConditionLink?: string;
|
|
19
|
-
bpidLegalText?: string;
|
|
20
|
-
enableAllOptIn?: boolean;
|
|
21
|
-
defaultValues?: string;
|
|
22
|
-
email?: string;
|
|
23
|
-
checkboxes?: string;
|
|
24
|
-
ncData?: string;
|
|
25
|
-
changed?: boolean;
|
|
26
|
-
fetchedPref?: string;
|
|
27
|
-
optInContent?: string;
|
|
28
|
-
/**
|
|
29
|
-
* End properties for passed attributes.
|
|
30
|
-
*/
|
|
31
|
-
/**
|
|
32
|
-
* properties for local state state management.
|
|
33
|
-
*/
|
|
34
|
-
preText?: string;
|
|
35
|
-
defaultPreText?: string;
|
|
36
|
-
values?: string;
|
|
37
|
-
[prop: string]: unknown;
|
|
38
|
-
}
|
|
39
|
-
/**
|
|
40
|
-
* Notice Choice
|
|
41
|
-
*
|
|
42
|
-
* @element dds-notice-choice
|
|
43
|
-
* @fires dds-notice-choice-change
|
|
44
|
-
* The custom event fired when default choice loaded or user change some preferences.
|
|
45
|
-
* The field and value should be taken from the detail object and send it to MRS.
|
|
46
|
-
*/
|
|
47
|
-
declare class NoticeChoice extends Component<ComponentProps> {}
|
|
48
|
-
export default NoticeChoice;
|