electron v41.0.0-alpha.5
Note: This is an alpha release. Please file new issues for any bugs you find in it.
This release is published to npm under the alpha tag and can be installed via npm install electron@alpha, or npm install electron@41.0.0-alpha.5.
shadcn@3.8.2
- #9507
b7b839ebc254120eb9bf1a138ce979c38fc348d6Thanks @shadcn! - update migrate radix command
Heat.js v5.0.0 - 2 new views! Massive UI changes! Yearly Statistics! Our largest release ever!
- Added a new "Yearly Statistics" view (shown under the title bar), which shows some basic stats for the current year (off by default).
- Added a brand-new view called "Months", which shows a bar graph with the total items (per trend) per month (with color range toggle support).
- Added a brand-new view called "Line", which shows a single heat line for the entire year (with color range toggle support).
- Added a brand-new Export dialog, which is shown (when pressing the Export button) instead of using the default export binding option value.
- Added a brand-new Import dialog, which is shown (when pressing the Import button) instead of the select files dialog.
- Added a brand-new Add Type dialog, which allows new trend types to be added manually (off by default).
- More Export and Import options.
- Added 9 new languages.
- Added 19 new light themes.
- Added zooming support to the Map and Line views (off by default).
- All title bar buttons are now rendered using pure CSS! No more settings, with complete universal device support.
- Tooltips for the "Map" and "Chart" views now show the counts and percentage differences (can be turned off).
- The "Days" (and "Months") view now takes the Color Range toggles into account when displaying the values, and now shows stacked values by default.
- Added animation effects for all Bar Graph views.
- Invert color range toggles support via the guide (off by default).
- The "Map" view now behaves like all other views (it can be disabled, and shows no data messages by default).
- Added dynamic colors support from a single hex color!
- The "Days" (and the new views "Line" and "Months") now have their own custom Color Range CSS class support.
- The "Statistics" view has been renamed to "Color Ranges" (include internal names and parameter names).
- Added a brand-new side menu, which is now used by default as the view opener (you can disable it, and re-enable the drop-down title bar menu).
- Added support to export all data to YAML (.yaml).
- Added support to export all data to TOML (.toml).
- Added support to import data from a Markdown file (.md).
- Added support to import data from a YAML file (.yaml).
- Added support to import data from a TOML file (.toml).
- Added a new theme called "light/heat.js.light.theme.css".
- Added a new theme called "light-blue/heat.js.light-blue.bright-orange.theme.css".
- Added a new theme called "light-blue/heat.js.light-blue.bright-purple.theme.css".
- Added a new theme called "light-blue/heat.js.light-blue.gamboge.theme.css".
- Added a new theme called "light-blue/heat.js.light-blue.red.theme.css".
- Added a new theme called "light-blue/heat.js.light-blue.shamrock-green.theme.css".
- Added a new theme called "light-blue/heat.js.light-blue.theme.css".
- Added a new theme called "light-green/heat.js.light-green.bright-orange.theme.css".
- Added a new theme called "light-green/heat.js.light-green.bright-purple.theme.css".
- Added a new theme called "light-green/heat.js.light-green.gamboge.theme.css".
- Added a new theme called "light-green/heat.js.light-green.neon-blue.theme.css".
- Added a new theme called "light-green/heat.js.light-green.red.theme.css".
- Added a new theme called "light-green/heat.js.light-green.theme.css".
- Added a new theme called "light-red/heat.js.light-red.bright-orange.theme.css".
- Added a new theme called "light-red/heat.js.light-red.bright-purple.theme.css".
- Added a new theme called "light-red/heat.js.light-red.gamboge.theme.css".
- Added a new theme called "light-red/heat.js.light-red.neon-blue.theme.css".
- Added a new theme called "light-red/heat.js.light-red.shamrock-green.theme.css".
- Added a new theme called "light-red/heat.js.light-red.theme.css".
- BREAKING: The binding option "tooltip.dayText" has been removed.
- BREAKING: The binding option "views.map.showNoDataMessageWhenDataIsNotAvailable" has been removed.
- BREAKING: The binding option "allowFileImports" has been removed.
- BREAKING: Renamed "views.days.useDifferentBackgroundOpacities" to "views.days.useDifferentOpacities".
- BREAKING: Renamed "views.map.showDayNumbers" to "views.map.showDayCounts".
- BREAKING: Renamed "views.chart.showLineNumbers" to "views.chart.showLineCounts".
- BREAKING: Renamed "views.days.showDayNumbers" to "views.days.showDayCounts".
- BREAKING: Renamed "views.colorRanges.showRangeNumbers" to "views.colorRanges.showRangeCounts".
- BREAKING: Renamed "colorRanges.statisticsCssClassName" to "colorRanges.colorRangeCssClassName".
- Added a new binding option called "allowMultipleFileImports", which states if multiple file imports are enabled (defaults to true).
- Added a new binding option called "percentageDecimalPoints", which states the number of decimal points to show for percentages (defaults to 2).
- Added a new binding option called "chartsAnimationDelay", which states the milliseconds to wait before applying a growth animation to each chart line (for all views, defaults to 50. Set to zero to turn it off).
- Added a new binding option called "exportDateTimeFormat", which states the format of the export date/time that is included in some of the formats (defaults to "{dddd}, {d}{o} {mmmm} {yyyy}").
- Added a new binding option called "title.showClearButton", which states if the "Clear" button should be shown (defaults to false).
- Added a new binding option called "guide.showInvertLabel", which states if the "Invert" label should be shown (inverts the toggle selections, defaults to false).
- Added a new binding option called "guide.useIncrementToggles", which states if clicking "Less" and "More" in the guide toggles the colors one by one (defaults to false).
- Added a new binding option called "guide.allowTypeAdding", which states if trend types can be added manually (defaults to false).
- Added a new binding option called "guide.allowTypeRemoving", which states if trend types can be removed manually (defaults to false).
- Added a new binding option called "guide.showColorRangeTogglesInReverseOrder", which states if the color range toggles should be shown in reverse order (defaults to false).
- Added a new binding option called "colorRanges.lineCssClassName", which states a CSS class name to use for items in the "Lines" view (overrides the "cssClassName" property).
- Added a new binding option called "colorRanges.daysCssClassName", which states a CSS class name to use for items in the "Days" view (overrides the "cssClassName" property).
- Added a new binding option called "colorRanges.monthsCssClassName", which states a CSS class name to use for items in the "Months" view (overrides the "cssClassName" property).
- Added a new binding option called "views.map.dayToolTipText", which states the tooltip format to use for a day (defaults to "{dddd}, {d}{o} {mmmm} {yyyy}").
- Added a new binding option called "views.chart.dayToolTipText", which states the tooltip format to use for a chart day (defaults to "{dddd}, {d}{o} {mmmm} {yyyy}").
- Added a new binding option called "views.map.highlightCurrentDay", which states if the current day should be highlighted (defaults to false).
- Added a new binding option called "views.chart.highlightCurrentDay", which states if the current day should be highlighted (defaults to false).
- Added a new binding option called "views.map.showYearsInMonthNames", which states if the year should be shown in the month name (when "startMonth" is set, defaults to true).
- Added a new binding option called "views.chart.showYearsInMonthNames", which states if the year should be shown in the month name (when "startMonth" is set, defaults to true).
- Added a new binding option called "views.map.showCountsInToolTips", which states if the day counts should be included in the tooltips (defaults to true).
- Added a new binding option called "views.chart.showCountsInToolTips", which states if the day counts should be included in the tooltips (defaults to true).
- Added a new binding option called "views.map.showDifferencesInToolTips", which states if the difference percentage with the previous year's count should be shown in the tooltips (defaults to true).
- Added a new binding option called "views.chart.showDifferencesInToolTips", which states if the difference percentage with the previous year's count should be shown in the tooltips (defaults to true).
- Added a new binding option called "views.map.showDifferences", which states if the difference percentage with the previous year's count should be shown (defaults to false).
- Added a new binding option called "views.chart.showDifferences", which states if the difference percentage with the previous year's count should be shown (defaults to false).
- Added a new binding option called "views.days.showDayCountPercentages", which states if the count percentages should be shown (when count displays are enabled, defaults to true).
- Added a new binding option called "views.days.showStackedColorRanges", which states if the bar should show the stacked color range levels (defaults to true).
- Added a new binding option called "views.colorRanges.showRangeCountPercentages", which states if the count percentages should be shown (when count displays are enabled, defaults to true).
- Added a new binding option called "views.map.enabled", which states if the map view is enabled (defaults to true).
- Added a new binding option called "views.map.showSpacing", which states if the spacing between the days should be shown (defaults to true).
- Added a new binding option called "views.colorRanges.showRangeNamesInToolTips", which states if the range names should be shown in the tooltips (if available, defaults to true).
- Added a new binding option called "views.chart.addMonthSpacing", which states if spacing and a divider line should be added between each month (defaults to false).
- Added a new binding option called "views.days.dayToolTipText", which states the tooltip format to use for a Days day (defaults to "{dddd} {yyyy}").
- Added a new binding option called "tooltip.overrideTitle", which states if the built-in custom tooltip layout should be used instead of the "title" attribute (defaults to true).
- Added a new binding option called "tooltip.customAttributeName", which states the name of a custom attribute to apply against all elements that used a "title" tooltip attribute (defaults to empty string).
- Added a new binding option called "tooltip.customAttributeValue", which states the value to use for the custom attribute applied against all elements that used a "title" tooltip attribute (defaults to empty string).
- The "view.map" binding options "showDayDateNumbers" and "showDayCounts" can now be used at the same time.
- The "view.chart" binding options "showLineDateNumbers" and "showLineCounts" can now be used at the same time.
- Added a new binding area called "views.month" (this contains the same properties as "views.days", with some minor name differences).
- Added a new binding area called "views.line" (this contains similar properties as "views.chart", with some minor name differences, and some that are not needed).
- Added a new binding area called "yearlyStatistics".
- Added a new binding option called "yearlyStatistics.enabled", which states if the yearly statistics should be shown (defaults to false).
- Added a new binding option called "yearlyStatistics.showToday", which states if the "Today" box should be shown in the yearly statistics (defaults to true).
- Added a new binding option called "yearlyStatistics.showThisWeek", which states if the "This Week" box should be shown in the yearly statistics (defaults to true).
- Added a new binding option called "yearlyStatistics.showThisMonth", which states if the "This Month" box should be shown in the yearly statistics (defaults to true).
- Added a new binding option called "yearlyStatistics.showThisYear", which states if the "This Year" box should be shown in the yearly statistics (defaults to true).
- Added a new binding option called "yearlyStatistics.showOnlyForCurrentYear", which states if the yearly statistics should only be shown for the current year (defaults to false).
- Added a new binding option called "yearlyStatistics.showPercentages", which states if the yearly statistics should show the value percentages (defaults to true).
- Added a new binding area called "zooming".
- Added a new binding option called "zooming.enabled", which states if zooming is enabled (defaults to false).
- Added a new binding option called "zooming.defaultLevel", which states the default zoom level (defaults to 0).
- Added a new binding option called "zooming.maximumLevel", which states the maximum zoom level (defaults to 0, which disables it).
- Added a new binding option called "zooming.showCloseButton", which states if the close button should be shown (defaults to true).
- Added a new binding option called "zooming.showResetButton", which states if the reset button should be shown (defaults to false).
- Added a new binding option called "zooming.showToolTips", which states if tooltips should be shown for the buttons (defaults to true).
- Added a new binding area called "dynamicColorRange".
- Added a new binding option called "dynamicColorRange.enabled", which states if dynamic colors are enabled (defaults to false).
- Added a new binding option called "dynamicColorRange.maximumMinimum", which states the maximum minimum level to use (defaults to 25).
- Added a new binding option called "dynamicColorRange.color", which states the hex color to start with (defaults to an empty string).
- Added a new binding option called "dynamicColorRange.totalColors", which states the total number of color ranges to create (defaults to 5).
- Added a new binding option called "dynamicColorRange.startMinimum", which states where the first color range minimum should start (defaults to 10).
- Added a new binding area called "sideMenu".
- Added a new binding option called "sideMenu.enabled", which states if the side menu is enabled (defaults to true).
- Added a new binding option called "sideMenu.showToolTips", which states if tooltips should be shown for the buttons (defaults to true).
- BREAKING: Renamed "events.onDayClick" to "events.onMapDayClick".
- BREAKING: Renamed "events.onDayDblClick" to "events.onMapDayDblClick".
- BREAKING: Renamed "events.onDayToolTipRender" to "events.onMapDayToolTipRender".
- BREAKING: Renamed "events.onStatisticClick" to "events.onColorRangeClick".
- BREAKING: Renamed "events.onStatisticDblClick" to "events.onColorRangeDblClick".
- BREAKING: Renamed "events.onAdd" to "events.onAddDate".
- BREAKING: Renamed "events.onRemove" to "events.onRemoveDate".
- BREAKING: Renamed "events.onUpdate" to "events.onUpdateDate".
- BREAKING: Renamed "events.onClear" to "events.onClearDate".
- BREAKING: Renamed "events.onOptionsUpdate" to "events.onBindingOptionsUpdate".
- BREAKING: Every custom trigger now except the DOM element used for the Heat.js instance as the first parameter.
- Added a new binding custom trigger called "events.onChange", which triggers whenever the overall container element is changed.
- Added a new binding custom trigger called "events.onLineDayToolTipRender", which states an event that should be called for custom rendering the tooltip for a specific line day (defaults to "events.onMapDayToolTipRender").
- Added a new binding custom trigger called "events.onChartDayToolTipRender", which states an event that should be called for custom rendering the tooltip for a specific chart day (defaults to "events.onMapDayToolTipRender").
- Added a new binding custom trigger called "events.onMonthClick", which triggers when a month is clicked.
- Added a new binding custom trigger called "events.onMonthDblClick", which triggers when a month is double-clicked.
- Added a new binding custom trigger called "events.onLineDayClick", which triggers when a day in the "Line" view is clicked (defaults to "events.onMapDayClick").
- Added a new binding custom trigger called "events.onLineDayDblClick", which triggers when a day in the "Line" view is double-clicked (defaults to "events.onMapDayDblClick").
- Added a new binding custom trigger called "events.onChartDayClick", which triggers when a day in the "Chart" view is clicked (defaults to "events.onMapDayClick").
- Added a new binding custom trigger called "events.onChartDayDblClick", which triggers when a day in the "Chart" view is double-clicked (defaults to "events.onMapDayDblClick").
- Added a new binding custom trigger called "events.onZoomLevelChange", which triggers when the zoom level in the "Map" view is changed.
- Added a new binding custom trigger called "events.onClearViewableData", which triggers when the viewable data is cleared.
- Added a new binding custom trigger called "events.onAddType", which triggers when a new trend type is added.
- Added a new binding custom trigger called "events.onRemoveType", which triggers when a trend type is cleared.
- Added a new "isHoliday" parameter for the events "events.onMapDayToolTipRender", "events.onChartDayToolTipRender", and "events.onLineDayToolTipRender", which is now passed after the "count" parameter.
- Added a new "year" parameter for the event "onMapDayClick" and "onMapDayDblClick", which is now passed after the "count" parameter.
- Added a new "year" parameter for the event "onLineDayClick" and "onLineDayDblClick", which is now passed after the "count" parameter.
- Added a new "year" parameter for the event "onChartDayClick" and "onChartDayDblClick", which is now passed after the "count" parameter.
- Updated "onAddDate", "onRemoveDate", "onClearDate", and "onUpdateDate" to accept the date affected as the second parameter.
- Added a new configuration option called "allowEmptyBindings" (defaults to true), which will allow empty binding attributes to create new instances.
- BREAKING: Remove all symbol-based text configuration options.
- BREAKING: Renamed "text.closeToolTipText" to "text.closeButtonText".
- BREAKING: Renamed "text.configurationToolTipText" to "text.configurationButtonText".
- BREAKING: Renamed "text.noStatisticsDataMessage" to "text.noColorRangesDataMessage".
- Added a new configuration text option called "text.todayText" (defaults to "Today").
- Added a new configuration text option called "text.thisWeekText" (defaults to "This Week").
- Added a new configuration text option called "text.thisMonthText" (defaults to "This Month").
- Added a new configuration text option called "text.thisYearText" (defaults to "This Year").
- Added a new configuration text option called "text.unavailableText" (defaults to "Unavailable").
- Added a new configuration text option called "text.monthsText" (defaults to "Months").
- Added a new configuration text option called "text.noMonthsDataMessage" (defaults to "There are currently no months to view.").
- Added a new configuration text option called "text.selectTypeText" (defaults to "Select Type").
- Added a new configuration text option called "text.filenamePlaceholderText" (defaults to "Filename (optional)").
- Added a new configuration text option called "text.onlyDataBeingViewedText" (defaults to "Only data being viewed").
- Added a new configuration text option called "text.zoomInText" (defaults to "Zoom In").
- Added a new configuration text option called "text.zoomOutText" (defaults to "Zoom Out").
- Added a new configuration text option called "text.clearButtonText" (defaults to "Clear").
- Added a new configuration text option called "text.selectFilesText" (defaults to "Select File(s)").
- Added a new configuration text option called "text.dragAndDropFilesText" (defaults to "Drag and drop your file(s) here ...").
- Added a new configuration text option called "text.addTypeText" (defaults to "Add Type").
- Added a new configuration text option called "text.typePlaceholderText" (defaults to "Type").
- Added a new configuration text option called "text.addButtonText" (defaults to "Add").
- Added a new configuration text option called "text.removeButtonText" (defaults to "Remove").
- Added a new configuration text option called "text.invertText" (defaults to "Invert").
- Added a new configuration text option called "text.lineText" (defaults to "Line").
- Added a new configuration text option called "text.noLineDataMessage" (defaults to "There are currently no data to view.").
- Added a new configuration text option called "text.removeTypeText" (defaults to "Remove Type").
- Added a new configuration text option called "text.openNewTypeText" (defaults to "Open new type").
- Added a new configuration text option called "text.clearExistingDataText" (defaults to "Clear existing data").
- Added a new configuration text option called "text.browseButtonText" (defaults to "Browse").
- Added a new configuration text option called "text.saveButtonText" (defaults to "Save").
- Added a new configuration text option called "text.resetButtonText" (defaults to "Reset").
- Added a new configuration text option called "text.copyButtonText" (defaults to "Copy").
- Added a new configuration text option called "text.yesButtonText" (defaults to "Yes").
- Added a new configuration text option called "text.noButtonText" (defaults to "No").
- Added a new configuration text option called "text.confirmText" (defaults to "Confirm").
- Added a new configuration text option called "text.clearDataConfirmText" (defaults to "Are you sure you want to clear the data?").
- Added a new configuration text option called "text.removeTypeConfirmText" (defaults to "Are you sure you want to remove this type?").
- BREAKING: Renamed "updateOptions()" to "updateBindingOptions()".
- Added a new public function called "getActiveView()", which returns the active view name for a specific element ID instance.
- Added a new public function called "addType()", which adds a new trend type.
- Added a new public function called "removeType()", which removed an existing trend type.
- Added a new public function called "setLocale()", which allows you to set the current language options without affecting any other configuration options.
- All eval() references have been removed from the code base. When using a binding, if you are using custom events, you will need to pass the bindings via a function.
- All numbers shown in the display (and tooltips) are now formatted into a user-friendly display (1000 becomes 1,000).
- Slightly increased the right padding of the titles drop-down menu.
- The height of the main "heat-js" layout now more or less stays the same when switching views.
- Added ":active" CSS styles for all view click areas.
- Double-clicking the Month/Day names in the Map and Chart views will now jump you to the Months/Days view (if enabled).
- The title bar drop-down menu now uses an arrow for the active view (instead of the default circle).
- Added a small top and bottom margin to the Type buttons in the footer, which will ensure that types on multiple lines are displayed nicely.
- The binding options "useDifferentOpacities" now have hex color support, and will now use the same opacity on the borders.
- Improved the drop-down menus in the light themes to make them stand out.
- The guides' day toggles now use separate CSS variables for their spacing and size.
- The view-specific binding option "useDifferentOpacities" now uses the lowest to highest opacities for the lowest to highest values.
- The disabled background is now darker, as it was causing some color issues.
- Improved the public API so that all expected types are used.
- When the title bar headers are shown, the category sections are now slightly indented to make them a bit easier to see.
- Each month shown in the Map view now has a new attribute called "data-heat-js-map-month-number", which stores the month number.
- Views/Dialogs are now only rendered when they are active (helps performance when many views/dialogs are enabled).
- The display is no longer re-rendered when the configuration dialog is closed, and nothing has changed.
- Export TXT and XML files now contain an entry that states when the content was last modified.
- Only one instance of the "heat-js-tooltip" tooltip element is now created.
- Only a maximum of 5 files can be imported at the same time.
- The current month names are now bolder to make them stand out (even when the highlight settings are disabled).
- Changing the Color Range toggles will now maintain the scroll position of the current view (if available).
- Upgraded ECMAScript from ES2020 to ES2022.
- Exported JSON files are now indented and formatted so they are more readable.
- Exported XML and HTML files are now indented correctly, so they are more readable.
- Added a "Save" and "Reset" button to the "Configuration" dialog (pressing "Close" will not just close the dialog).
- Pressing "Escape" when any dialog is open will now close it.
- All dates shown in tooltips will now format the ordinal of a date correctly (they will be shown in sup elements).
- The guide color range toggle buttons no longer force a re-render when the Map, Line, or Chart views are visible.
- The default Ids used for the Color Ranges (when not configured) are now padded numbers, so they always remain the same.
- Added week number support to all date formatter binding options.
- Translations have been renamed to locales, and the "dist/translations" folder has been renamed to "locale" (with JS file renames).
- The years drop-down menu has been restyled to use a less sharp design.
- Added holiday name support to all date formatter binding options.
- Updated all the NPM packages to the latest versions.
- All "data-" attributes assigned to elements in the views are now defined in the "constant.ts" file.
- Improved the organization and comments of the SCSS / CSS files.
- Split up ExportType, and added a new ImportType type (which is now used to set up the import types automatically).
- Removed the "const" keyword from all enums in the "enum.ts" file.
- The "Configuration" type has been renamed to "ConfigurationOptions".
- All sort() usages are now correctly defined, and now use lambdas.
- Added ESLint support (view the build instructions to learn how to run it).
- Fixed a fault that caused some of the export dates to have missing parts of the dates.
- Fixed a fault that caused no data to show for some views when the binding option "startMonth" is set.
- Fixed the events "onMapDayDblClick" (renamed from "onDayDblClick"), "onWeekDayDblClick", and "onColorRangeDblClick" not being set against the right event handler.
- Fixed a fault that caused the public API function "export()" to use the wrong file extension when using a type other than the default.
- Fixed a fault that caused the public API function "export()" to use the wrong mime type when exporting to a format other than the default.
- Fixed a fault that would cause the tooltips to remain visible when switching to another window / tab.
- Fixed a fault that would cause the chart view to show a very small area when using larger numbers.
- Fixed a fault that caused some of the color ranges not to appear in the "Color Ranges" view when only larger numbers are used.
- Fixed various spelling mistakes throughout the code.
- Fixed a fault that allowed invalid numbers to be used for the binding option "startMonth", which caused some weird display issues.
- Fixed a fault that caused the disabled background to appear over the rounded border corners.
- Fixed a description alignment fault when it's shown in the guide footer (instead of above it).
- Fixed a fault that caused buttons that are disabled to use a text color that cannot be seen (mostly in light themes).
- Fixed all the buttons that did not have the "type" attribute.
- Fixed the days shown in light themes (that have no color assigned) using a darker color, making counts hard to see.
- Fixed a fault that would cause the "Color Ranges" view to show the wrong largest value when no day ranges have been matched.
- Fixed a fault that would cause the content of the title bar buttons to be misaligned when switching between device sizes.
- Fixed a fault that caused the years-dropdown menu to use an inconsistent height across different devices.
- Fixed a fault that caused the imported data not to be saved into local storage (when enabled).
- Fixed a fault that caused the tend types (shown in the guide) to be shown in the wrong order (they are now alphabetically sorted).
- Fixed a fault that caused the days in the "Map" view to align incorrectly (for the last day column in a month) when the binding option "views.maps.showDaysInReverseOrder" is enabled.
- Fixed a fault that prevented some of the click events and active/hover CSS classes from being used for the days in the "Map" view when the binding option "views.maps.showMonthDayGaps" is disabled.
- Fixed a fault that caused the gaps to not be removed in the "Map" view when the binding option "views.map.showMonthsInReverseOrder" is enabled and the binding option "views.maps.showMonthDayGaps" is disabled.
- Fixed a fault that caused the "Days" and "Color Ranges" views to sometimes show the wrong values.
- Fixed a fault that would cause the bar graph lines (in all views) to sometimes be misaligned.
- Fixed a fault that would cause the bar graph lines to overlap their top containers by 0.5px.
- Fixed a fault that caused the guide toggle buttons to appear with different widths when numbers are enabled.
- Fixed a fault that would cause the main browser's vertical scroll position to jump to the top when switching views or years.
- Fixed a fault that caused the tooltips to remain visible when the Map / Chart views are scrolled.
- Fixed a fault that caused the month names in the "Chart" view to be misaligned when the binding option "views!.chart!.showInReverseOrder" is enabled.
- Fixed the title bar buttons jumping around slightly when switching between years.
- Fixed a fault that caused the wrong mouse cursor to be disabled when hovering over the Configuration button in the title bar (mainly in Safari).
- Fixed a fault that caused the current view to refresh when calling the public API function "switchView()" with the view that is active.
- Fixed a fault that caused the "Export" button to appear in the title bar when no data is available (even when the binding option "title.showExportButton" is enabled).
- Fixed a fault that would cause the data stored in local storage to be loaded for any Heat.js instance (no matter the element ID).
- Fixed a fault that would cause the month name spacer to float under the month names in the "Chart" view (when specific settings are disabled).
- Fixed a fault that prevented the type buttons (in the guide) from using the correct font size.
- Fixed a fault that prevented "updateDate()", "removeDate()", and "clearDate()" from working when passing null to the "type" parameter.
- Fixed some missing CSS variables from the light themes.
- Fixed the color range toggles not being responsive in the guide when a lot are used.
- Fixed the order of the Y Label names in all Bar Chart views (label-0 is at the bottom, label-100 is at the top).
- Fixed a fault rendering failures to occur when the DOM has already loaded (and bindings have been used).
- Fixed a fault that would cause the main browser's horizontal scroll position to jump to the left when switching views or years.
6.2.3
- Button
- 🐞 Fix Input.TextArea ref missing
nativeElementproperty. #56803 @smith3816 - 🐞 Fix Flex default
alignnot taking effect when usingorientation. #55950 @YingtaoMo - 🐞 Fix Typography link selector specificity being too low causing styles to be overridden. #56759 @QDyanbing
- 🐞 Fix ColorPicker HEX input allowing invalid characters. #56752 @treephesians
- Button
- 🐞 修复 Input.TextArea ref 缺少
nativeElement属性的问题。#56803 @smith3816 - 🐞 修复 Flex 使用
orientation时默认align不生效的问题。#55950 @YingtaoMo - 🐞 修复 Typography 链接选择器特异性过低导致样式被覆盖的问题。#56759 @QDyanbing
- 🐞 修复 ColorPicker HEX 输入框可以输入无效字符的问题。#56752 @treephesians
v0.40.0
v0.40.0 is a monthly release primarily focusing on bug fixes and infrastructure such as the move from npm to pnpm.
Some very notable changes include:
- Some major fixes and refactoring to markdown parsing #8093 #8085
- Several of the most common utilities were moved from @lexical/utils to lexical (
mergeRegister,addClassNames,removeClassNames) #8106 - A cache coherency bug in
RootNode.getTextContent()was fixed #8099
Monorepo:
- 🧹 #8035 Chore: Transition from npm to pnpm (also #8045 #8048 #8050 #8051 #8054 #8106)
Link:
- ✅ #8070 Fix: Fix infinite transform loop in AutoLinkPlugin
- ✅ #8078 Fix: Toggle links with nested children
List:
- ✅ #8049 Fix: fix selection issue from list transform on linebreak
- ✅ #8068 Fix: Treat whitespace-only list items as empty when pressing Enter
Markdown:
- ✅ #8085 Fix: Fix incorrect format tag placement at link boundaries
- ✅ #8093 Fix: Replace regex-based format matching
Core:
- ✅ #8069 Fix: format removed on multi selection after replace
- ✅ #8099 Fix: Refactor RootNode.__cachedText computation for coherency
Table:
- ✅ #8076 Fix: Fix Ctrl+A to select all cells in table with merged cells
- ✅ #8081 Fix: Fix inconsistent multi-cell selection in 2x2 tables
- 🧹 #8088 Chore: Fix test for nested table pasting
Utils:
- 🧹 #8106 Chore: Move functions
mergeRegister,addClassNames,removeClassNamesto lexical package
React:
- ✅ #8062 Fix: Clear remote cursor immediately on collaborator refresh
- ✅ #8065 Fix: Fix cursor disappearing in Firefox when dragging blocks
- ✅ #8071 Chore: Expose onReposition prop on SelectionAlwaysOnDisplay
Playground:
- 🆕 #8043 Feature: Color table resize handle
- 🆕 #8042 Feature: Draggable block handle gliding effect
- ✅ #8052 Fix: Draggable handle and dropdown CSS zoom fix
- 🆕 #8057 Feature: New Table Hover Actions Plugin
- 🆕 #8060 Feature: Column Sort for Basic Table
- 🆕 #8066 Feature: Add button shows the component picker
- ✅ #8087 Fix: Prevent code block line wrapping to keep line number
- v0.39.0 by @etrepum in https://github.com/facebook/lexical/pull/8021
- Chore: Add an ignore-previously-published arg to the publish action by @etrepum in https://github.com/facebook/lexical/pull/8023
- Chore: Update examples for v0.39.0 by @etrepum in https://github.com/facebook/lexical/pull/8024
- Agent documentation by @zurfyx in https://github.com/facebook/lexical/pull/8031
- README tweaks by @zurfyx in https://github.com/facebook/lexical/pull/8033
- npm -> pnpm by @zurfyx in https://github.com/facebook/lexical/pull/8035
- Nightlies publish param by @zurfyx in https://github.com/facebook/lexical/pull/8045
- Nightlies fix frozen lockfile by @zurfyx in https://github.com/facebook/lexical/pull/8048
- [lexical-playground]: Color table resize handle by @ivailop7 in https://github.com/facebook/lexical/pull/8043
- Use PNPM workspace feature for publish by @zurfyx in https://github.com/facebook/lexical/pull/8050
- Override workspace with actual version on npm/ bundle by @zurfyx in https://github.com/facebook/lexical/pull/8051
- [lexical-playground]: Draggable block handle gliding effect by @ivailop7 in https://github.com/facebook/lexical/pull/8042
- Allow publish to run on detached head by @zurfyx in https://github.com/facebook/lexical/pull/8054
- [lexical-list] Bug Fix: fix selection issue from list transform on linebreak by @dizsmek in https://github.com/facebook/lexical/pull/8049
- [docs] Documentation Update: Fix incorrect and broken links in README by @h8f1z in https://github.com/facebook/lexical/pull/8055
- [lexical-playground]: Draggable handle and dropdown CSS zoom fix by @ivailop7 in https://github.com/facebook/lexical/pull/8052
- [lexical-playground]: New Table Hover Actions Plugin by @ivailop7 in https://github.com/facebook/lexical/pull/8057
- [lexical-playground]: Column Sort for Basic Table by @ivailop7 in https://github.com/facebook/lexical/pull/8060
- [lexical-react] Bug Fix: Clear remote cursor immediately on collaborator refresh by @aldoprogrammer in https://github.com/facebook/lexical/pull/8062
- [lexical-playground] Add button shows the Component Picker by @ivailop7 in https://github.com/facebook/lexical/pull/8066
- [lexical][@lexical/react] Bug Fix: Fix cursor disappearing in Firefox when dragging blocks by @aldoprogrammer in https://github.com/facebook/lexical/pull/8065
- [lexical] Bug Fix: format removed on multi selection after replace by @kimseongyu in https://github.com/facebook/lexical/pull/8069
- [lexical-list] Bug Fix: Treat whitespace-only list items as empty when pressing Enter by @mike-atticus in https://github.com/facebook/lexical/pull/8068
- [lexical][@lexical/link] Bug Fix: Fix infinite transform loop in AutoLinkPlugin by @aldoprogrammer in https://github.com/facebook/lexical/pull/8070
- [lexical][@lexical/table] Fix Ctrl+A to select all cells in table with merged cells #8074 by @aldoprogrammer in https://github.com/facebook/lexical/pull/8076
- [lexical-react] Chore: Expose onReposition prop on SelectionAlwaysOnDisplay by @takuyakanbr in https://github.com/facebook/lexical/pull/8071
- [lexical-link] Bug Fix: Toggle links with nested children by @patrick-atticus in https://github.com/facebook/lexical/pull/8078
- [lexical-markdown] Bug Fix: Fix incorrect format tag placement at link boundaries by @kimseongyu in https://github.com/facebook/lexical/pull/8085
- [lexical][@lexical/table] Bug Fix: Fix inconsistent multi-cell selection in 2x2 tables by @aldoprogrammer in https://github.com/facebook/lexical/pull/8081
- [lexical-table] Chore: Fix test for nested table pasting by @randal-atticus in https://github.com/facebook/lexical/pull/8088
- Fix(Playground): Prevent code block line wrapping to keep line number… by @Sa-Te in https://github.com/facebook/lexical/pull/8087
- [lexical-markdown] Bug Fix: Replace regex-based format matching with … by @kimseongyu in https://github.com/facebook/lexical/pull/8093
- [lexical] Bug Fix: Refactor RootNode.__cachedText computation for coherency by @etrepum in https://github.com/facebook/lexical/pull/8099
- [lexical][lexical-utils] Chore: Use workspace:* for monorepo versions and fix some cyclic dependencies by @etrepum in https://github.com/facebook/lexical/pull/8106
- @dizsmek made their first contribution in https://github.com/facebook/lexical/pull/8049
- @h8f1z made their first contribution in https://github.com/facebook/lexical/pull/8055
- @aldoprogrammer made their first contribution in https://github.com/facebook/lexical/pull/8062
- @kimseongyu made their first contribution in https://github.com/facebook/lexical/pull/8069
- @Sa-Te made their first contribution in https://github.com/facebook/lexical/pull/8087
Full Changelog: https://github.com/facebook/lexical/compare/v0.39.0...v0.40.0
v5.7.1
- Correct input copy behavior
Full Changelog: https://github.com/SSShooter/mind-elixir-core/compare/v5.7.0...v5.7.1
v5.4.624
This release contains improvements for accessibility, the annotation editor, image decoding, performance and the viewer.
- Bump the stable version in
pdfjs.configby @timvandermeij in https://github.com/mozilla/pdf.js/pull/20540 - Get glyph contours when stroking using a pattern by @calixteman in https://github.com/mozilla/pdf.js/pull/20515
- Use the PDFium JBig2 decoder compiled into wasm by @calixteman in https://github.com/mozilla/pdf.js/pull/20546
- Update dependencies and translations to the most recent versions by @timvandermeij in https://github.com/mozilla/pdf.js/pull/20547
- Fix wasm url issue for the jbig2 decoder by @calixteman in https://github.com/mozilla/pdf.js/pull/20548
- Revert "Remove some files from talos tests because they aren't available on webarchive" by @timvandermeij in https://github.com/mozilla/pdf.js/pull/20549
- Aria-hide artifacts in the text layer (bug 2004951) by @calixteman in https://github.com/mozilla/pdf.js/pull/20550
- Don't add an aria-label on MathML elements in the struct tree (bug 2004951) by @calixteman in https://github.com/mozilla/pdf.js/pull/20551
- Add some tests for the JBIG2 js decoder by @calixteman in https://github.com/mozilla/pdf.js/pull/20552
- Update jbig2 decoder (pdfium@3c679253a9e17c10be696d345c63636b18b7f925) by @calixteman in https://github.com/mozilla/pdf.js/pull/20566
- Don't use contents stream which have an image format by @calixteman in https://github.com/mozilla/pdf.js/pull/20570
- Hide the text in the text layer associated with MathML elements (bug 2009627) by @calixteman in https://github.com/mozilla/pdf.js/pull/20567
- Make sure the caret is black in dark mode when in caret browsing mode by @calixteman in https://github.com/mozilla/pdf.js/pull/20569
- Add the possibility to drag & drop some thumbnails in the pages view (bug 2009573) by @calixteman in https://github.com/mozilla/pdf.js/pull/20559
- Select the dropped thumbnail (bug 2010820) by @calixteman in https://github.com/mozilla/pdf.js/pull/20578
- The 'find in page' feature must correctly work after the pages have been reorganized (bug 2010814) by @calixteman in https://github.com/mozilla/pdf.js/pull/20577
- Avoid exception after having moved an annotation by @calixteman in https://github.com/mozilla/pdf.js/pull/20572
- Add the possibility to order the pages in an extracted pdf (bug 1997379) by @calixteman in https://github.com/mozilla/pdf.js/pull/20475
- Bump lodash from 4.17.21 to 4.17.23 by @dependabot[bot] in https://github.com/mozilla/pdf.js/pull/20588
- Update image pattern in gulpfile to accommodate missing images by @dgiessing in https://github.com/mozilla/pdf.js/pull/20554
- Hide the menu container in changing it's visibility by @calixteman in https://github.com/mozilla/pdf.js/pull/20583
- Fix links and outline after reorganizing a pdf by @calixteman in https://github.com/mozilla/pdf.js/pull/20580
- Use DecompressionStream in async code by @calixteman in https://github.com/mozilla/pdf.js/pull/20593
- Fix the drag marker dimensions in the thumbnails view by @calixteman in https://github.com/mozilla/pdf.js/pull/20591
- Bug 1999154 - Add the ability to undo comment deletion by @marco-c in https://github.com/mozilla/pdf.js/pull/20586
- Refactor a bit page mapping stuff in order to be able to support delete/copy pages by @calixteman in https://github.com/mozilla/pdf.js/pull/20587
- Add a manage button in the thumbnail view in order to save an edited pdf (bug 2010830) by @calixteman in https://github.com/mozilla/pdf.js/pull/20582
- Fix the sidebar resizer accessibility by @calixteman in https://github.com/mozilla/pdf.js/pull/20598
- [Node.js] Don't abort the full request for local PDF files smaller than two range requests, and use standard
ReadableStreams by @Snuffleupagus in https://github.com/mozilla/pdf.js/pull/20594 - Simplify the
NetworkManagerclass, and inline it in thePDFNetworkStreamclass by @Snuffleupagus in https://github.com/mozilla/pdf.js/pull/20595 - Simplify the
FileSpecclass, and remove no longer needed polyfills by @Snuffleupagus in https://github.com/mozilla/pdf.js/pull/20596 - Remove unit-tests for global
ReadableStreamandURLby @Snuffleupagus in https://github.com/mozilla/pdf.js/pull/20605 - Improve preferences building, and generate the
preferences_schema.jsonfile for the Chromium addon by @Snuffleupagus in https://github.com/mozilla/pdf.js/pull/20603 - Replace the
IPDFStream,IPDFStreamReader, andIPDFStreamRangeReaderinterfaces with proper base classes by @Snuffleupagus in https://github.com/mozilla/pdf.js/pull/20602 - fix: Fix mailto links truncated at dash by @kairosci in https://github.com/mozilla/pdf.js/pull/20565