@telus-uds/components-community.sticky 1.0.1 → 1.1.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.json +28 -1
- package/CHANGELOG.md +12 -2
- package/lib/Sticky.js +1 -3
- package/package.json +4 -4
- package/src/Sticky.jsx +1 -2
package/CHANGELOG.json
CHANGED
|
@@ -2,7 +2,34 @@
|
|
|
2
2
|
"name": "@telus-uds/components-community.sticky",
|
|
3
3
|
"entries": [
|
|
4
4
|
{
|
|
5
|
-
"date": "
|
|
5
|
+
"date": "Sat, 27 May 2023 00:37:34 GMT",
|
|
6
|
+
"tag": "@telus-uds/components-community.sticky_v1.1.1",
|
|
7
|
+
"version": "1.1.1",
|
|
8
|
+
"comments": {
|
|
9
|
+
"patch": [
|
|
10
|
+
{
|
|
11
|
+
"author": "beachball",
|
|
12
|
+
"package": "@telus-uds/components-community.sticky",
|
|
13
|
+
"comment": "Bump @telus-uds/components-base to v1.45.0",
|
|
14
|
+
"commit": "d9aff932b3e977ea1a046794b7e101e33ea7ed91"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"author": "beachball",
|
|
18
|
+
"package": "@telus-uds/components-community.sticky",
|
|
19
|
+
"comment": "Bump @telus-uds/system-theme-tokens to v2.28.0",
|
|
20
|
+
"commit": "d9aff932b3e977ea1a046794b7e101e33ea7ed91"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"author": "beachball",
|
|
24
|
+
"package": "@telus-uds/components-community.sticky",
|
|
25
|
+
"comment": "Bump @telus-uds/components-web to v2.3.0",
|
|
26
|
+
"commit": "d9aff932b3e977ea1a046794b7e101e33ea7ed91"
|
|
27
|
+
}
|
|
28
|
+
]
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"date": "Wed, 24 May 2023 23:46:34 GMT",
|
|
6
33
|
"tag": "@telus-uds/components-community.sticky_v1.0.1",
|
|
7
34
|
"version": "1.0.1",
|
|
8
35
|
"comments": {
|
package/CHANGELOG.md
CHANGED
|
@@ -1,12 +1,22 @@
|
|
|
1
1
|
# Change Log - @telus-uds/components-community.sticky
|
|
2
2
|
|
|
3
|
-
This log was last generated on
|
|
3
|
+
This log was last generated on Sat, 27 May 2023 00:37:34 GMT and should not be manually modified.
|
|
4
4
|
|
|
5
5
|
<!-- Start content -->
|
|
6
6
|
|
|
7
|
+
## 1.1.1
|
|
8
|
+
|
|
9
|
+
Sat, 27 May 2023 00:37:34 GMT
|
|
10
|
+
|
|
11
|
+
### Patches
|
|
12
|
+
|
|
13
|
+
- Bump @telus-uds/components-base to v1.45.0
|
|
14
|
+
- Bump @telus-uds/system-theme-tokens to v2.28.0
|
|
15
|
+
- Bump @telus-uds/components-web to v2.3.0
|
|
16
|
+
|
|
7
17
|
## 1.0.1
|
|
8
18
|
|
|
9
|
-
Wed, 24 May 2023 23:
|
|
19
|
+
Wed, 24 May 2023 23:46:34 GMT
|
|
10
20
|
|
|
11
21
|
### Patches
|
|
12
22
|
|
package/lib/Sticky.js
CHANGED
|
@@ -9,8 +9,6 @@ var _react = _interopRequireWildcard(require("react"));
|
|
|
9
9
|
|
|
10
10
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
11
11
|
|
|
12
|
-
var _componentsWeb = require("@telus-uds/components-web");
|
|
13
|
-
|
|
14
12
|
var _componentsBase = require("@telus-uds/components-base");
|
|
15
13
|
|
|
16
14
|
var _styles = _interopRequireDefault(require("./styles"));
|
|
@@ -90,7 +88,7 @@ const Sticky = _ref2 => {
|
|
|
90
88
|
ref: stickyWrapperRef,
|
|
91
89
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
92
90
|
className: "sticky-element",
|
|
93
|
-
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(
|
|
91
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_componentsBase.Box, {
|
|
94
92
|
vertical: vertical,
|
|
95
93
|
horizontal: horizontal,
|
|
96
94
|
children: children
|
package/package.json
CHANGED
|
@@ -4,14 +4,14 @@
|
|
|
4
4
|
"extends @telus-uds/browserslist-config"
|
|
5
5
|
],
|
|
6
6
|
"dependencies": {
|
|
7
|
-
"@telus-uds/components-base": "
|
|
8
|
-
"@telus-uds/components-web": "^2.2.0",
|
|
7
|
+
"@telus-uds/components-base": "1.45.0",
|
|
9
8
|
"@telus-uds/system-constants": "^1.2.1",
|
|
10
|
-
"@telus-uds/system-theme-tokens": "^2.
|
|
9
|
+
"@telus-uds/system-theme-tokens": "^2.28.0",
|
|
11
10
|
"prop-types": "^15.7.2",
|
|
12
11
|
"styled-components": "^5.3.10"
|
|
13
12
|
},
|
|
14
13
|
"devDependencies": {
|
|
14
|
+
"@telus-uds/components-web": "^2.3.0",
|
|
15
15
|
"@telus-uds/browserslist-config": "^1.0.5",
|
|
16
16
|
"@testing-library/jest-dom": "^5.16.1",
|
|
17
17
|
"@testing-library/react": "^13.3.0",
|
|
@@ -45,5 +45,5 @@
|
|
|
45
45
|
"standard-engine": {
|
|
46
46
|
"skip": true
|
|
47
47
|
},
|
|
48
|
-
"version": "1.
|
|
48
|
+
"version": "1.1.1"
|
|
49
49
|
}
|
package/src/Sticky.jsx
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import React, { useEffect, useRef, useState } from 'react'
|
|
2
2
|
import PropTypes from 'prop-types'
|
|
3
|
-
import { Box } from '@telus-uds/components-
|
|
4
|
-
import { spacingProps } from '@telus-uds/components-base'
|
|
3
|
+
import { spacingProps, Box } from '@telus-uds/components-base'
|
|
5
4
|
import StickyWrapper from './styles'
|
|
6
5
|
|
|
7
6
|
function createObserver(ref, callback) {
|