awesome-timeline-react 0.13.0 → 0.13.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/README.md +4 -0
- package/dist/_tsup-dts-rollup.d.mts +8 -0
- package/dist/_tsup-dts-rollup.d.ts +8 -0
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -130,6 +130,10 @@ CSS classes cannot style canvas pixels, so canvas-drawn elements are themed with
|
|
|
130
130
|
gridColor: "#e4dcdc",
|
|
131
131
|
timeBarBorder: "yellow",
|
|
132
132
|
timeBarTextColor: "white",
|
|
133
|
+
// since 0.13.0, unset by default: fill the time bar's two rows apart
|
|
134
|
+
timeBarTopBackground: "#272424",
|
|
135
|
+
timeBarBottomBackground: "#3b3737",
|
|
136
|
+
timeBarBottomTextColor: "#d6d0d0", // unset, timeBarTextColor
|
|
133
137
|
// selection visuals (see Selection)
|
|
134
138
|
dimmedOpacity: 0.35, // opacity of non-selected events while a selection is active
|
|
135
139
|
selectionShadowColor: "rgba(0,0,0,0.35)", // lift shadow of selected events
|
|
@@ -1091,6 +1091,14 @@ export declare const TimelineLaneStacking: () => React_2.JSX.Element;
|
|
|
1091
1091
|
*/
|
|
1092
1092
|
export declare const TimelineLongRowLabels: () => React_2.JSX.Element;
|
|
1093
1093
|
|
|
1094
|
+
/**
|
|
1095
|
+
* Long bars running across two months of unavailable bands (every night 22:00–06:00 and every
|
|
1096
|
+
* weekend), with `stripeOverlap` on. "Auto-pan" scrolls the window by a fixed step for 120 frames and
|
|
1097
|
+
* reports the mean frame time, so one pan can be compared across: the first long bar selected or not,
|
|
1098
|
+
* a long bar on every track or only the first, and a second timeline kept in step below.
|
|
1099
|
+
*/
|
|
1100
|
+
export declare const TimelineLongStripedBar: () => React_2.JSX.Element;
|
|
1101
|
+
|
|
1094
1102
|
/**
|
|
1095
1103
|
* A small, sub-day window (~6h). With a window narrower than a day the time
|
|
1096
1104
|
* bar must still track the hour labels to the actual time as you pan — pan the
|
|
@@ -1091,6 +1091,14 @@ export declare const TimelineLaneStacking: () => React_2.JSX.Element;
|
|
|
1091
1091
|
*/
|
|
1092
1092
|
export declare const TimelineLongRowLabels: () => React_2.JSX.Element;
|
|
1093
1093
|
|
|
1094
|
+
/**
|
|
1095
|
+
* Long bars running across two months of unavailable bands (every night 22:00–06:00 and every
|
|
1096
|
+
* weekend), with `stripeOverlap` on. "Auto-pan" scrolls the window by a fixed step for 120 frames and
|
|
1097
|
+
* reports the mean frame time, so one pan can be compared across: the first long bar selected or not,
|
|
1098
|
+
* a long bar on every track or only the first, and a second timeline kept in step below.
|
|
1099
|
+
*/
|
|
1100
|
+
export declare const TimelineLongStripedBar: () => React_2.JSX.Element;
|
|
1101
|
+
|
|
1094
1102
|
/**
|
|
1095
1103
|
* A small, sub-day window (~6h). With a window narrower than a day the time
|
|
1096
1104
|
* bar must still track the hour labels to the actual time as you pan — pan the
|
package/dist/index.js
CHANGED
|
@@ -1122,6 +1122,7 @@ var drawEvents = (ctx, view, scene, font, animator) => {
|
|
|
1122
1122
|
defaultDrawEvent(ctx, event, rect, view, font, geometry.barRadius);
|
|
1123
1123
|
}
|
|
1124
1124
|
if (view.stripeOverlap && rowStatics.length > 0) {
|
|
1125
|
+
ctx.shadowColor = "transparent";
|
|
1125
1126
|
paintOverlapStripes(
|
|
1126
1127
|
ctx,
|
|
1127
1128
|
event,
|