@oddle.me/react-calendar-timeline 0.29.12 → 0.29.14

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.
Files changed (2) hide show
  1. package/lib/Timeline.css +117 -95
  2. package/package.json +11 -5
package/lib/Timeline.css CHANGED
@@ -1,98 +1,120 @@
1
1
  .react-calendar-timeline {
2
2
  overflow: hidden;
3
3
  display: flex;
4
- flex-direction: column; }
5
- .react-calendar-timeline * {
6
- box-sizing: border-box; }
7
- .react-calendar-timeline .rct-outer {
8
- display: block;
9
- overflow-y: auto;
10
- overflow-x: hidden;
11
- white-space: nowrap;
12
- flex: 1;
13
- height: 0; }
14
- .react-calendar-timeline .rct-scroll {
15
- display: inline-block;
16
- white-space: normal;
17
- vertical-align: top;
18
- -ms-touch-action: none;
19
- touch-action: none;
20
- overflow-x: hidden; }
21
- .react-calendar-timeline .rct-item:hover {
22
- z-index: 88; }
23
- .react-calendar-timeline .rct-item .rct-item-content {
24
- position: sticky;
25
- position: -webkit-sticky;
26
- left: 0px;
27
- overflow: hidden;
28
- display: inline-block;
29
- border-radius: 2px;
30
- padding: 0 6px;
31
- height: 100%; }
32
- .react-calendar-timeline .rct-sidebar {
33
- white-space: normal;
34
- display: inline-block;
35
- vertical-align: top;
36
- position: relative;
37
- box-sizing: border-box;
38
- border-right: 1px solid #bbb; }
39
- .react-calendar-timeline .rct-sidebar.rct-sidebar-right {
40
- border-right: 0;
41
- border-left: 1px solid #bbb; }
42
- .react-calendar-timeline .rct-sidebar .rct-sidebar-row {
43
- padding: 0 4px;
44
- overflow: hidden;
45
- white-space: nowrap;
46
- text-overflow: ellipsis;
47
- box-sizing: border-box;
48
- margin: 0;
49
- border-bottom: 1px solid #bbb; }
50
- .react-calendar-timeline .rct-sidebar .rct-sidebar-row.rct-sidebar-row-odd {
51
- background: rgba(0, 0, 0, 0.05); }
52
- .react-calendar-timeline .rct-sidebar .rct-sidebar-row.rct-sidebar-row-even {
53
- background: transparent; }
54
- .react-calendar-timeline .rct-vertical-lines .rct-vl {
55
- position: absolute;
56
- border-left: 1px solid #bbb;
57
- z-index: 30; }
58
- .react-calendar-timeline .rct-vertical-lines .rct-vl.rct-vl-first {
59
- border-left-width: 2px; }
60
- .react-calendar-timeline .rct-horizontal-lines {
61
- -webkit-user-select: none;
62
- -moz-user-select: -moz-none;
63
- -ms-user-select: none;
64
- user-select: none; }
65
- .react-calendar-timeline .rct-horizontal-lines .rct-hl-even,
66
- .react-calendar-timeline .rct-horizontal-lines .rct-hl-odd {
67
- border-bottom: 1px solid #bbb;
68
- box-sizing: border-box;
69
- z-index: 40; }
70
- .react-calendar-timeline .rct-horizontal-lines .rct-hl-odd {
71
- background: rgba(0, 0, 0, 0.05); }
72
- .react-calendar-timeline .rct-horizontal-lines .rct-hl-even {
73
- background: transparent; }
74
- .react-calendar-timeline .rct-cursor-line {
75
- position: absolute;
76
- width: 2px;
77
- background: #2196f3;
78
- z-index: 51; }
79
- .react-calendar-timeline .rct-dateHeader {
80
- display: flex;
81
- align-items: center;
82
- justify-content: center;
83
- height: 100%;
84
- border-bottom: 1px solid #bbb;
85
- cursor: pointer;
86
- font-size: 14px;
87
- background-color: #f0f0f0;
88
- border-left: 2px solid #bbb; }
89
- .react-calendar-timeline .rct-dateHeader-primary {
90
- background-color: initial;
91
- border-left: 1px solid #bbb;
92
- border-right: 1px solid #bbb;
93
- color: #fff; }
94
- .react-calendar-timeline .rct-header-root {
95
- background: #c52020;
96
- border-bottom: 1px solid #bbb; }
97
- .react-calendar-timeline .rct-calendar-header {
98
- border: 1px solid #bbb; }
4
+ flex-direction: column;
5
+ }
6
+ .react-calendar-timeline * {
7
+ box-sizing: border-box;
8
+ }
9
+ .react-calendar-timeline .rct-outer {
10
+ display: block;
11
+ overflow-y: auto;
12
+ overflow-x: hidden;
13
+ white-space: nowrap;
14
+ flex: 1;
15
+ height: 0;
16
+ }
17
+ .react-calendar-timeline .rct-scroll {
18
+ display: inline-block;
19
+ white-space: normal;
20
+ vertical-align: top;
21
+ -ms-touch-action: none;
22
+ touch-action: none;
23
+ overflow-x: hidden;
24
+ }
25
+ .react-calendar-timeline .rct-item:hover {
26
+ z-index: 88;
27
+ }
28
+ .react-calendar-timeline .rct-item .rct-item-content {
29
+ position: sticky;
30
+ position: -webkit-sticky;
31
+ left: 0px;
32
+ overflow: hidden;
33
+ display: inline-block;
34
+ border-radius: 2px;
35
+ padding: 0 6px;
36
+ height: 100%;
37
+ }
38
+ .react-calendar-timeline .rct-sidebar {
39
+ white-space: normal;
40
+ display: inline-block;
41
+ vertical-align: top;
42
+ position: relative;
43
+ box-sizing: border-box;
44
+ border-right: 1px solid #bbb;
45
+ }
46
+ .react-calendar-timeline .rct-sidebar.rct-sidebar-right {
47
+ border-right: 0;
48
+ border-left: 1px solid #bbb;
49
+ }
50
+ .react-calendar-timeline .rct-sidebar .rct-sidebar-row {
51
+ padding: 0 4px;
52
+ overflow: hidden;
53
+ white-space: nowrap;
54
+ text-overflow: ellipsis;
55
+ box-sizing: border-box;
56
+ margin: 0;
57
+ border-bottom: 1px solid #bbb;
58
+ }
59
+ .react-calendar-timeline .rct-sidebar .rct-sidebar-row.rct-sidebar-row-odd {
60
+ background: rgba(0, 0, 0, 0.05);
61
+ }
62
+ .react-calendar-timeline .rct-sidebar .rct-sidebar-row.rct-sidebar-row-even {
63
+ background: transparent;
64
+ }
65
+ .react-calendar-timeline .rct-vertical-lines .rct-vl {
66
+ position: absolute;
67
+ border-left: 1px solid #bbb;
68
+ z-index: 30;
69
+ }
70
+ .react-calendar-timeline .rct-vertical-lines .rct-vl.rct-vl-first {
71
+ border-left-width: 2px;
72
+ }
73
+ .react-calendar-timeline .rct-horizontal-lines {
74
+ -webkit-user-select: none;
75
+ -moz-user-select: -moz-none;
76
+ -ms-user-select: none;
77
+ user-select: none;
78
+ }
79
+ .react-calendar-timeline .rct-horizontal-lines .rct-hl-even,
80
+ .react-calendar-timeline .rct-horizontal-lines .rct-hl-odd {
81
+ border-bottom: 1px solid #bbb;
82
+ box-sizing: border-box;
83
+ z-index: 40;
84
+ }
85
+ .react-calendar-timeline .rct-horizontal-lines .rct-hl-odd {
86
+ background: rgba(0, 0, 0, 0.05);
87
+ }
88
+ .react-calendar-timeline .rct-horizontal-lines .rct-hl-even {
89
+ background: transparent;
90
+ }
91
+ .react-calendar-timeline .rct-cursor-line {
92
+ position: absolute;
93
+ width: 2px;
94
+ background: #2196f3;
95
+ z-index: 51;
96
+ }
97
+ .react-calendar-timeline .rct-dateHeader {
98
+ display: flex;
99
+ align-items: center;
100
+ justify-content: center;
101
+ height: 100%;
102
+ border-bottom: 1px solid #bbb;
103
+ cursor: pointer;
104
+ font-size: 14px;
105
+ background-color: rgb(240, 240, 240);
106
+ border-left: 2px solid #bbb;
107
+ }
108
+ .react-calendar-timeline .rct-dateHeader-primary {
109
+ background-color: initial;
110
+ border-left: 1px solid #bbb;
111
+ border-right: 1px solid #bbb;
112
+ color: #fff;
113
+ }
114
+ .react-calendar-timeline .rct-header-root {
115
+ background: #c52020;
116
+ border-bottom: 1px solid #bbb;
117
+ }
118
+ .react-calendar-timeline .rct-calendar-header {
119
+ border: 1px solid #bbb;
120
+ }
package/package.json CHANGED
@@ -1,13 +1,16 @@
1
1
  {
2
2
  "name": "@oddle.me/react-calendar-timeline",
3
- "version": "0.29.12",
3
+ "version": "0.29.14",
4
4
  "description": "react calendar timeline",
5
5
  "main": "lib/index.js",
6
6
  "types": "src/global.d.ts",
7
+ "engines": {
8
+ "node": ">=16 <25"
9
+ },
7
10
  "scripts": {
8
11
  "build": "npm run build:lib",
9
12
  "build:demo": "echo '!!! Building Demo' && cross-env NODE_ENV=production webpack --progress",
10
- "build:lib": "echo '!!! Building Library' && rimraf lib && cross-env NODE_ENV=production babel src --out-dir lib && node-sass src/lib/Timeline.scss lib/Timeline.css && sed -i'.bak' 's/Timeline\\.scss/Timeline\\.css/g' lib/lib/Timeline.js && rm lib/lib/Timeline.js.bak",
13
+ "build:lib": "echo '!!! Building Library' && rimraf lib && cross-env NODE_ENV=production babel src --out-dir lib && sass --no-source-map src/lib/Timeline.scss lib/Timeline.css && sed -i'.bak' 's/Timeline\\.scss/Timeline\\.css/g' lib/lib/Timeline.js && rm lib/lib/Timeline.js.bak",
11
14
  "lint": "eslint --ext .js --ext .jsx ./src",
12
15
  "lint:fix": "prettier-eslint --parser babylon --write \"src/**/*.js\"",
13
16
  "prepublish": "npm run build:lib",
@@ -22,10 +25,13 @@
22
25
  "publishConfig": {
23
26
  "access": "public"
24
27
  },
25
- "homepage": "https://bitbucket.org/oddle/react-calendar-timeline",
28
+ "homepage": "https://github.com/oddle-engineering/react-calendar-timeline",
26
29
  "repository": {
27
30
  "type": "git",
28
- "url": "git+ssh://git@bitbucket.org/oddle/react-calendar-timeline.git"
31
+ "url": "git+https://github.com/oddle-engineering/react-calendar-timeline.git"
32
+ },
33
+ "bugs": {
34
+ "url": "https://github.com/oddle-engineering/react-calendar-timeline/issues"
29
35
  },
30
36
  "author": "Marius Andra <marius.andra@gmail.com>",
31
37
  "contributors": [
@@ -140,7 +146,7 @@
140
146
  "jest-watch-typeahead": "^0.3.1",
141
147
  "jsdom": "^11.5.1",
142
148
  "moment": "^2.11.1",
143
- "node-sass": "^7.0.1",
149
+ "sass": "^1.97.3",
144
150
  "prettier": "^1.19.1",
145
151
  "prettier-eslint-cli": "^4.7.1",
146
152
  "prop-types": "^15.6.2",