@carbon/ibmdotcom-utilities 1.32.0-rc.0 → 1.32.1

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/CHANGELOG.md CHANGED
@@ -3,6 +3,33 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [1.32.1](https://github.com/carbon-design-system/carbon-for-ibm-dotcom/compare/@carbon/ibmdotcom-utilities@1.32.0...@carbon/ibmdotcom-utilities@1.32.1) (2022-04-01)
7
+
8
+ **Note:** Version bump only for package @carbon/ibmdotcom-utilities
9
+
10
+
11
+
12
+
13
+
14
+ # [1.32.0](https://github.com/carbon-design-system/carbon-for-ibm-dotcom/compare/@carbon/ibmdotcom-utilities@1.32.0-rc.1...@carbon/ibmdotcom-utilities@1.32.0) (2022-03-28)
15
+
16
+ **Note:** Version bump only for package @carbon/ibmdotcom-utilities
17
+
18
+
19
+
20
+
21
+
22
+ # [1.32.0-rc.1](https://github.com/carbon-design-system/carbon-for-ibm-dotcom/compare/@carbon/ibmdotcom-utilities@1.32.0-rc.0...@carbon/ibmdotcom-utilities@1.32.0-rc.1) (2022-03-17)
23
+
24
+
25
+ ### Features
26
+
27
+ * **scrolling-utility:** Add new utility to mimic dotcom-shell functionality ([#8434](https://github.com/carbon-design-system/carbon-for-ibm-dotcom/issues/8434)) ([d06b45a](https://github.com/carbon-design-system/carbon-for-ibm-dotcom/commit/d06b45a))
28
+
29
+
30
+
31
+
32
+
6
33
  # [1.32.0-rc.0](https://github.com/carbon-design-system/carbon-for-ibm-dotcom/compare/@carbon/ibmdotcom-utilities@1.31.0...@carbon/ibmdotcom-utilities@1.32.0-rc.0) (2022-03-16)
7
34
 
8
35
 
@@ -0,0 +1,253 @@
1
+ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
2
+
3
+ function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
4
+
5
+ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
6
+
7
+ /**
8
+ * Copyright IBM Corp. 2016, 2018
9
+ *
10
+ * This source code is licensed under the Apache-2.0 license found in the
11
+ * LICENSE file in the root directory of this source tree.
12
+ */
13
+ import { baseFontSize, breakpoints } from '@carbon/layout';
14
+ import ddsSettings from '../settings/settings.js';
15
+ import root from 'window-or-global';
16
+ import settings from 'carbon-components/es/globals/js/settings';
17
+ var prefix = settings.prefix;
18
+ var ddsPrefix = ddsSettings.stablePrefix;
19
+ var gridBreakpoint = parseFloat(breakpoints.lg.width) * baseFontSize;
20
+
21
+ var StickyHeader = /*#__PURE__*/function () {
22
+ function StickyHeader() {
23
+ _classCallCheck(this, StickyHeader);
24
+
25
+ this.ownerDocument = root.document;
26
+ this._banner = undefined;
27
+ this._hasBanner = false;
28
+ this._lastScrollPosition = 0;
29
+ this._leadspaceWithSearch = undefined;
30
+ this._leadspaceSearchBar = undefined;
31
+ this._localeModal = undefined;
32
+ this._masthead = undefined;
33
+ this._mastheadL0 = undefined;
34
+ this._mastheadL1 = undefined;
35
+ this._tableOfContents = undefined;
36
+ this._tableOfContentsInnerBar = undefined;
37
+ this._tableOfContentsLayout = undefined;
38
+ this._throttled = false;
39
+ this._resizeObserver = new ResizeObserver(this._handleResize.bind(this));
40
+ root.addEventListener('scroll', this._throttledHandler.bind(this));
41
+ }
42
+ /**
43
+ * Create (if needed) and return the globally-scoped instance of `this`.
44
+ */
45
+
46
+
47
+ _createClass(StickyHeader, [{
48
+ key: "_validateComponent",
49
+
50
+ /**
51
+ * Compares the tag name of the component provided to what we expect it to be
52
+ *
53
+ * @param {HTMLElement} component The component provided
54
+ * @param {string} expected The lowercase tag name expected
55
+ * @throws {TypeError} Throws error if component tag name doesn't match expected string
56
+ * @returns {boolean} Returns true if component tag name matches expected string
57
+ */
58
+ value: function _validateComponent(component, expected) {
59
+ var received = component.tagName.toLowerCase();
60
+
61
+ if (received !== expected) {
62
+ throw new TypeError("".concat(expected, " expected, ").concat(received, " provided"));
63
+ } else {
64
+ return true;
65
+ }
66
+ }
67
+ }, {
68
+ key: "_tableOfContentsStickyUpdate",
69
+ value: function _tableOfContentsStickyUpdate() {
70
+ var toc = this._tableOfContents;
71
+ var tocRoot = toc.shadowRoot;
72
+ var desktopSelector = ".".concat(ddsPrefix, "-ce--table-of-contents__items-container");
73
+
74
+ if (window.outerWidth > gridBreakpoint) {
75
+ if (toc.layout === 'horizontal') {
76
+ this._tableOfContentsInnerBar = tocRoot.querySelector(".".concat(prefix, "--tableofcontents__navbar"));
77
+ this._tableOfContentsLayout = 'horizontal';
78
+ } else {
79
+ this._tableOfContentsInnerBar = tocRoot.querySelector(desktopSelector);
80
+ }
81
+ } else {
82
+ this._tableOfContentsInnerBar = tocRoot.querySelector(".".concat(prefix, "--tableofcontents__sidebar"));
83
+ }
84
+ }
85
+ }, {
86
+ key: "_throttledHandler",
87
+
88
+ /**
89
+ * Rate-limits the scroll event handler
90
+ */
91
+ value: function _throttledHandler() {
92
+ var _this = this;
93
+
94
+ if (!this._throttled) {
95
+ this._throttled = true;
96
+
97
+ this._handleScroll();
98
+
99
+ setTimeout(function () {
100
+ _this._throttled = false;
101
+ }, 20);
102
+ }
103
+ }
104
+ }, {
105
+ key: "_handleResize",
106
+ value: function _handleResize() {
107
+ var hasBanner = this._hasBanner,
108
+ masthead = this._masthead,
109
+ toc = this._tableOfContents,
110
+ tocLayout = this._tableOfContentsLayout;
111
+
112
+ if (toc && masthead) {
113
+ this._tableOfContentsStickyUpdate();
114
+
115
+ if (window.innerWidth >= gridBreakpoint && tocLayout !== 'horizontal' && !hasBanner) {
116
+ masthead.style.top = '0';
117
+ } else {
118
+ // This has to happen after the tocStickyUpdate method.
119
+ var tocInner = this._tableOfContentsInnerBar;
120
+
121
+ if (masthead.offsetTop === 0) {
122
+ tocInner.style.top = "".concat(masthead.offsetHeight, "px");
123
+ }
124
+ }
125
+
126
+ this._handleScroll();
127
+ }
128
+ }
129
+ }, {
130
+ key: "_handleScroll",
131
+ value: function _handleScroll() {
132
+ var _StickyHeader$global = StickyHeader.global,
133
+ oldY = _StickyHeader$global._lastScrollPosition,
134
+ banner = _StickyHeader$global._banner,
135
+ masthead = _StickyHeader$global._masthead,
136
+ mastheadL0 = _StickyHeader$global._mastheadL0,
137
+ mastheadL1 = _StickyHeader$global._mastheadL1,
138
+ localeModal = _StickyHeader$global._localeModal,
139
+ toc = _StickyHeader$global._tableOfContents,
140
+ tocInner = _StickyHeader$global._tableOfContentsInnerBar;
141
+ if (localeModal && localeModal.hasAttribute('open')) return;
142
+ var newY = window.scrollY;
143
+ this._lastScrollPosition = newY;
144
+ var maxScrollaway = 0;
145
+ var topmostElement = masthead || tocInner;
146
+
147
+ if (masthead && tocInner) {
148
+ var tocIsAtTop = tocInner.getBoundingClientRect().top <= masthead.offsetTop + masthead.offsetHeight + 1;
149
+ var tocShouldStick = toc.layout === 'horizontal' || window.innerWidth < gridBreakpoint;
150
+
151
+ if (tocIsAtTop && (tocShouldStick || mastheadL1)) {
152
+ maxScrollaway += masthead.offsetHeight;
153
+
154
+ if (mastheadL1 && !tocShouldStick) {
155
+ maxScrollaway -= mastheadL1.offsetHeight;
156
+ }
157
+ } else if (mastheadL0 && mastheadL1) {
158
+ maxScrollaway += mastheadL0.offsetHeight;
159
+ }
160
+
161
+ var cumulativeOffset = Math.max(Math.min(topmostElement.offsetTop + oldY - newY, 0), maxScrollaway * -1);
162
+
163
+ if (banner) {
164
+ cumulativeOffset += Math.max(banner.offsetHeight - newY, 0);
165
+ }
166
+
167
+ if (masthead) {
168
+ masthead.style.transition = 'none';
169
+ masthead.style.top = "".concat(cumulativeOffset, "px");
170
+ cumulativeOffset += masthead.offsetHeight;
171
+ }
172
+
173
+ if (tocInner) {
174
+ tocInner.style.transition = 'none';
175
+ tocInner.style.top = "".concat(cumulativeOffset, "px");
176
+ cumulativeOffset += tocInner.offsetHeight;
177
+ }
178
+ }
179
+ }
180
+ }, {
181
+ key: "banner",
182
+ set: function set(component) {
183
+ if (this._validateComponent(component, "".concat(ddsPrefix, "-universal-banner"))) {
184
+ this._banner = component;
185
+ this.hasBanner = true;
186
+
187
+ if (this._masthead) {
188
+ this._masthead.setAttribute('with-banner', '');
189
+ }
190
+ }
191
+ }
192
+ }, {
193
+ key: "leadspaceWithSearch",
194
+ set: function set(component) {
195
+ if (this._validateComponent(component, "".concat(ddsPrefix, "-leadspace-with-search"))) {
196
+ this._leadspaceWithSearch = component;
197
+ this._leadspaceWithSearchBar = component.querySelector('dds-search-with-typeahead');
198
+ }
199
+ }
200
+ }, {
201
+ key: "localeModal",
202
+ set: function set(component) {
203
+ if (this._validateComponent(component, "".concat(ddsPrefix, "-locale-modal"))) {
204
+ this._localeModal = component;
205
+ }
206
+ }
207
+ }, {
208
+ key: "masthead",
209
+ set: function set(component) {
210
+ if (this._validateComponent(component, "".concat(ddsPrefix, "-masthead"))) {
211
+ this._masthead = component;
212
+ if (this._banner) this._masthead.setAttribute('with-banner', '');
213
+ this._mastheadL0 = component.shadowRoot.querySelector(".".concat(prefix, "--masthead__l0"));
214
+ this._mastheadL1 = component.querySelector("".concat(ddsPrefix, "-masthead-l1"));
215
+ }
216
+ }
217
+ }, {
218
+ key: "tableOfContents",
219
+ set: function set(component) {
220
+ if (this._validateComponent(component, "".concat(ddsPrefix, "-table-of-contents"))) {
221
+ this._tableOfContents = component;
222
+
223
+ this._tableOfContentsStickyUpdate();
224
+
225
+ this._resizeObserver.observe(this._tableOfContents);
226
+ }
227
+ }
228
+ }], [{
229
+ key: "isNecessary",
230
+
231
+ /**
232
+ * True if dotcom shell is not present on page.
233
+ *
234
+ * @returns {boolean} true/false
235
+ */
236
+ value: function isNecessary() {
237
+ return Boolean(!root.document.querySelector("".concat(ddsPrefix, "-dotcom-shell-container")));
238
+ }
239
+ }, {
240
+ key: "global",
241
+ get: function get() {
242
+ if (!Object.prototype.hasOwnProperty.call(root, 'stickyHeader')) {
243
+ root.stickyHeader = new StickyHeader();
244
+ }
245
+
246
+ return root.stickyHeader;
247
+ }
248
+ }]);
249
+
250
+ return StickyHeader;
251
+ }();
252
+
253
+ export default StickyHeader;
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Copyright IBM Corp. 2016, 2018
3
+ *
4
+ * This source code is licensed under the Apache-2.0 license found in the
5
+ * LICENSE file in the root directory of this source tree.
6
+ */
7
+ export { default as StickyHeader } from './StickyHeader';
@@ -11,11 +11,11 @@
11
11
  * @exports ibmdotcom.settings
12
12
  * @type {object} Settings object
13
13
  * @property {string} [prefix=dds]
14
- * Carbon for IBM.com v1.32.0',
14
+ * Carbon for IBM.com v1.32.1',
15
15
  *
16
16
  */
17
17
  var settings = {
18
- version: 'Carbon for IBM.com v1.32.0',
18
+ version: 'Carbon for IBM.com v1.32.1',
19
19
  stablePrefix: 'dds'
20
20
  };
21
21
  export default settings;
@@ -0,0 +1,263 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.default = void 0;
7
+
8
+ var _layout = require("@carbon/layout");
9
+
10
+ var _settings = _interopRequireDefault(require("../settings/settings.js"));
11
+
12
+ var _windowOrGlobal = _interopRequireDefault(require("window-or-global"));
13
+
14
+ var _settings2 = _interopRequireDefault(require("carbon-components/umd/globals/js/settings"));
15
+
16
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
17
+
18
+ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
19
+
20
+ function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
21
+
22
+ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
23
+
24
+ var prefix = _settings2.default.prefix;
25
+ var ddsPrefix = _settings.default.stablePrefix;
26
+
27
+ var gridBreakpoint = parseFloat(_layout.breakpoints.lg.width) * _layout.baseFontSize;
28
+
29
+ var StickyHeader = /*#__PURE__*/function () {
30
+ function StickyHeader() {
31
+ _classCallCheck(this, StickyHeader);
32
+
33
+ this.ownerDocument = _windowOrGlobal.default.document;
34
+ this._banner = undefined;
35
+ this._hasBanner = false;
36
+ this._lastScrollPosition = 0;
37
+ this._leadspaceWithSearch = undefined;
38
+ this._leadspaceSearchBar = undefined;
39
+ this._localeModal = undefined;
40
+ this._masthead = undefined;
41
+ this._mastheadL0 = undefined;
42
+ this._mastheadL1 = undefined;
43
+ this._tableOfContents = undefined;
44
+ this._tableOfContentsInnerBar = undefined;
45
+ this._tableOfContentsLayout = undefined;
46
+ this._throttled = false;
47
+ this._resizeObserver = new ResizeObserver(this._handleResize.bind(this));
48
+
49
+ _windowOrGlobal.default.addEventListener('scroll', this._throttledHandler.bind(this));
50
+ }
51
+ /**
52
+ * Create (if needed) and return the globally-scoped instance of `this`.
53
+ */
54
+
55
+
56
+ _createClass(StickyHeader, [{
57
+ key: "_validateComponent",
58
+
59
+ /**
60
+ * Compares the tag name of the component provided to what we expect it to be
61
+ *
62
+ * @param {HTMLElement} component The component provided
63
+ * @param {string} expected The lowercase tag name expected
64
+ * @throws {TypeError} Throws error if component tag name doesn't match expected string
65
+ * @returns {boolean} Returns true if component tag name matches expected string
66
+ */
67
+ value: function _validateComponent(component, expected) {
68
+ var received = component.tagName.toLowerCase();
69
+
70
+ if (received !== expected) {
71
+ throw new TypeError("".concat(expected, " expected, ").concat(received, " provided"));
72
+ } else {
73
+ return true;
74
+ }
75
+ }
76
+ }, {
77
+ key: "_tableOfContentsStickyUpdate",
78
+ value: function _tableOfContentsStickyUpdate() {
79
+ var toc = this._tableOfContents;
80
+ var tocRoot = toc.shadowRoot;
81
+ var desktopSelector = ".".concat(ddsPrefix, "-ce--table-of-contents__items-container");
82
+
83
+ if (window.outerWidth > gridBreakpoint) {
84
+ if (toc.layout === 'horizontal') {
85
+ this._tableOfContentsInnerBar = tocRoot.querySelector(".".concat(prefix, "--tableofcontents__navbar"));
86
+ this._tableOfContentsLayout = 'horizontal';
87
+ } else {
88
+ this._tableOfContentsInnerBar = tocRoot.querySelector(desktopSelector);
89
+ }
90
+ } else {
91
+ this._tableOfContentsInnerBar = tocRoot.querySelector(".".concat(prefix, "--tableofcontents__sidebar"));
92
+ }
93
+ }
94
+ }, {
95
+ key: "_throttledHandler",
96
+
97
+ /**
98
+ * Rate-limits the scroll event handler
99
+ */
100
+ value: function _throttledHandler() {
101
+ var _this = this;
102
+
103
+ if (!this._throttled) {
104
+ this._throttled = true;
105
+
106
+ this._handleScroll();
107
+
108
+ setTimeout(function () {
109
+ _this._throttled = false;
110
+ }, 20);
111
+ }
112
+ }
113
+ }, {
114
+ key: "_handleResize",
115
+ value: function _handleResize() {
116
+ var hasBanner = this._hasBanner,
117
+ masthead = this._masthead,
118
+ toc = this._tableOfContents,
119
+ tocLayout = this._tableOfContentsLayout;
120
+
121
+ if (toc && masthead) {
122
+ this._tableOfContentsStickyUpdate();
123
+
124
+ if (window.innerWidth >= gridBreakpoint && tocLayout !== 'horizontal' && !hasBanner) {
125
+ masthead.style.top = '0';
126
+ } else {
127
+ // This has to happen after the tocStickyUpdate method.
128
+ var tocInner = this._tableOfContentsInnerBar;
129
+
130
+ if (masthead.offsetTop === 0) {
131
+ tocInner.style.top = "".concat(masthead.offsetHeight, "px");
132
+ }
133
+ }
134
+
135
+ this._handleScroll();
136
+ }
137
+ }
138
+ }, {
139
+ key: "_handleScroll",
140
+ value: function _handleScroll() {
141
+ var _StickyHeader$global = StickyHeader.global,
142
+ oldY = _StickyHeader$global._lastScrollPosition,
143
+ banner = _StickyHeader$global._banner,
144
+ masthead = _StickyHeader$global._masthead,
145
+ mastheadL0 = _StickyHeader$global._mastheadL0,
146
+ mastheadL1 = _StickyHeader$global._mastheadL1,
147
+ localeModal = _StickyHeader$global._localeModal,
148
+ toc = _StickyHeader$global._tableOfContents,
149
+ tocInner = _StickyHeader$global._tableOfContentsInnerBar;
150
+ if (localeModal && localeModal.hasAttribute('open')) return;
151
+ var newY = window.scrollY;
152
+ this._lastScrollPosition = newY;
153
+ var maxScrollaway = 0;
154
+ var topmostElement = masthead || tocInner;
155
+
156
+ if (masthead && tocInner) {
157
+ var tocIsAtTop = tocInner.getBoundingClientRect().top <= masthead.offsetTop + masthead.offsetHeight + 1;
158
+ var tocShouldStick = toc.layout === 'horizontal' || window.innerWidth < gridBreakpoint;
159
+
160
+ if (tocIsAtTop && (tocShouldStick || mastheadL1)) {
161
+ maxScrollaway += masthead.offsetHeight;
162
+
163
+ if (mastheadL1 && !tocShouldStick) {
164
+ maxScrollaway -= mastheadL1.offsetHeight;
165
+ }
166
+ } else if (mastheadL0 && mastheadL1) {
167
+ maxScrollaway += mastheadL0.offsetHeight;
168
+ }
169
+
170
+ var cumulativeOffset = Math.max(Math.min(topmostElement.offsetTop + oldY - newY, 0), maxScrollaway * -1);
171
+
172
+ if (banner) {
173
+ cumulativeOffset += Math.max(banner.offsetHeight - newY, 0);
174
+ }
175
+
176
+ if (masthead) {
177
+ masthead.style.transition = 'none';
178
+ masthead.style.top = "".concat(cumulativeOffset, "px");
179
+ cumulativeOffset += masthead.offsetHeight;
180
+ }
181
+
182
+ if (tocInner) {
183
+ tocInner.style.transition = 'none';
184
+ tocInner.style.top = "".concat(cumulativeOffset, "px");
185
+ cumulativeOffset += tocInner.offsetHeight;
186
+ }
187
+ }
188
+ }
189
+ }, {
190
+ key: "banner",
191
+ set: function set(component) {
192
+ if (this._validateComponent(component, "".concat(ddsPrefix, "-universal-banner"))) {
193
+ this._banner = component;
194
+ this.hasBanner = true;
195
+
196
+ if (this._masthead) {
197
+ this._masthead.setAttribute('with-banner', '');
198
+ }
199
+ }
200
+ }
201
+ }, {
202
+ key: "leadspaceWithSearch",
203
+ set: function set(component) {
204
+ if (this._validateComponent(component, "".concat(ddsPrefix, "-leadspace-with-search"))) {
205
+ this._leadspaceWithSearch = component;
206
+ this._leadspaceWithSearchBar = component.querySelector('dds-search-with-typeahead');
207
+ }
208
+ }
209
+ }, {
210
+ key: "localeModal",
211
+ set: function set(component) {
212
+ if (this._validateComponent(component, "".concat(ddsPrefix, "-locale-modal"))) {
213
+ this._localeModal = component;
214
+ }
215
+ }
216
+ }, {
217
+ key: "masthead",
218
+ set: function set(component) {
219
+ if (this._validateComponent(component, "".concat(ddsPrefix, "-masthead"))) {
220
+ this._masthead = component;
221
+ if (this._banner) this._masthead.setAttribute('with-banner', '');
222
+ this._mastheadL0 = component.shadowRoot.querySelector(".".concat(prefix, "--masthead__l0"));
223
+ this._mastheadL1 = component.querySelector("".concat(ddsPrefix, "-masthead-l1"));
224
+ }
225
+ }
226
+ }, {
227
+ key: "tableOfContents",
228
+ set: function set(component) {
229
+ if (this._validateComponent(component, "".concat(ddsPrefix, "-table-of-contents"))) {
230
+ this._tableOfContents = component;
231
+
232
+ this._tableOfContentsStickyUpdate();
233
+
234
+ this._resizeObserver.observe(this._tableOfContents);
235
+ }
236
+ }
237
+ }], [{
238
+ key: "isNecessary",
239
+
240
+ /**
241
+ * True if dotcom shell is not present on page.
242
+ *
243
+ * @returns {boolean} true/false
244
+ */
245
+ value: function isNecessary() {
246
+ return Boolean(!_windowOrGlobal.default.document.querySelector("".concat(ddsPrefix, "-dotcom-shell-container")));
247
+ }
248
+ }, {
249
+ key: "global",
250
+ get: function get() {
251
+ if (!Object.prototype.hasOwnProperty.call(_windowOrGlobal.default, 'stickyHeader')) {
252
+ _windowOrGlobal.default.stickyHeader = new StickyHeader();
253
+ }
254
+
255
+ return _windowOrGlobal.default.stickyHeader;
256
+ }
257
+ }]);
258
+
259
+ return StickyHeader;
260
+ }();
261
+
262
+ var _default = StickyHeader;
263
+ exports.default = _default;
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ Object.defineProperty(exports, "StickyHeader", {
7
+ enumerable: true,
8
+ get: function get() {
9
+ return _StickyHeader.default;
10
+ }
11
+ });
12
+
13
+ var _StickyHeader = _interopRequireDefault(require("./StickyHeader"));
14
+
15
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
@@ -18,11 +18,11 @@ exports.default = void 0;
18
18
  * @exports ibmdotcom.settings
19
19
  * @type {object} Settings object
20
20
  * @property {string} [prefix=dds]
21
- * Carbon for IBM.com v1.32.0',
21
+ * Carbon for IBM.com v1.32.1',
22
22
  *
23
23
  */
24
24
  var settings = {
25
- version: 'Carbon for IBM.com v1.32.0',
25
+ version: 'Carbon for IBM.com v1.32.1',
26
26
  stablePrefix: 'dds'
27
27
  };
28
28
  var _default = settings;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@carbon/ibmdotcom-utilities",
3
3
  "description": "Carbon for IBM.com Utilities",
4
- "version": "1.32.0-rc.0",
4
+ "version": "1.32.1",
5
5
  "license": "Apache-2.0",
6
6
  "main": "lib/index.js",
7
7
  "module": "es/index.js",
@@ -48,9 +48,9 @@
48
48
  "upgrade-carbon": "yarn upgrade-interactive carbon-components --latest --exact"
49
49
  },
50
50
  "dependencies": {
51
- "@carbon/telemetry": "0.0.0-alpha.6",
51
+ "@carbon/telemetry": "0.1.0",
52
52
  "axios": "~0.21.4",
53
- "carbon-components": "10.54.0",
53
+ "carbon-components": "10.55.1",
54
54
  "isomorphic-dompurify": "0.4.0",
55
55
  "js-cookie": "^2.2.1",
56
56
  "marked": "^4.0.10",
@@ -102,5 +102,5 @@
102
102
  "release": {
103
103
  "branch": "main"
104
104
  },
105
- "gitHead": "2523b2ca28d7f9353cd354ad5770755da9c5bfeb"
105
+ "gitHead": "f63d94aaed3d69183a0c0313a5bdb53fd5065d48"
106
106
  }