Releases: elementary/granite
Releases · elementary/granite
granite 7.7.0 Released
New Icons:
- View icons for columns, grids, lists, and reader mode. Plus horizontal and vertical ellipsis icons
- Start and End show/hide sidebar icons
- Emoji category icons used by GTK's emoji picker
- Eye icons required by Gtk.PasswordEntry
New Features:
- Box is an orientable widget that includes standardized spacing and linked styles
- ListItem is a standard list widget that includes styles and spacing
- ToolBox is a vertical layout widget for top and bottom toolbars
- new style class constants for labels: CssClass.NUMERIC and CssClass.MONOSPACE
- StyleManager handles automatically setting dark and light modes as well as system accent colors using Portals
- BackButton is a standardized navigation button that activates "navigation.pop" and includes a shortcut tooltip
Improvements:
- accel_to_string now uses the word "Super" instead of the "⌘" symbol
- HeaderLabel has a new property for H1-H4 sizes and H2 styles are now bolder
- CssClass.CARD is now rounded by default
- Updated translations
Deprecations:
- Utils.set_color_primary. Modern apps have moved to more of a split paned design and this style is no longer very fashionable
- Nearly all of the old `STYLE_CLASS` constants have been deprecated. Some of them have been replaced by `CssClass` constants, others by widgets.
Demo Improvements:
- More demo pages with more widgets
- Color scheme switcher in the sidebar
What's Changed
- Add version annotation to Granite.Bin by @davidmhewitt in #740
- Icons: add alias for adw-entry-apply-symbolic by @danirabbit in #743
- Constants: add numeric css class by @danirabbit in #745
- Add gettext to dependencies by @wpkelso in #748
- Icons: add eye icons required by Gtk.PasswordEntry by @danirabbit in #750
- Constants/CssClass: add colors and deprecate old ones by @danirabbit in #753
- Propose naming scheme for styling files by @wpkelso in #752
- Constants: add button styles by @danirabbit in #755
- Use CSS properties defined in :root for exporting colors by @wpkelso in #756
- Styles: Add compile time option for including Gtk stylesheets by @wpkelso in #758
- Styles: add checkerboard class by @danirabbit in #759
- Styles: Move expander code from stylesheet by @wpkelso in #763
- Styles: make cards rounded, expand demo, new constants by @danirabbit in #765
- Demo/WelcomeView: use Gtk.UriLauncher by @danirabbit in #760
- Introduce a style manager by @leolost2605 in #731
- Styles: Propose Common mixin & variables directory structure by @wpkelso in #769
- Styles/Gtk: add Arrow.scss by @danirabbit in #771
- HeaderLabel: add size property by @danirabbit in #766
- Styles: add CheckButton by @danirabbit in #773
- Add Granite.Box by @danirabbit in #767
- Styles: use button-spacing in popover, headerbar, overlaybar by @danirabbit in #774
- Demo/CssView: add a switch to toggle list separators by @danirabbit in #772
- HeaderLabel: add default for to_string by @danirabbit in #778
- Demo: create DemoPage by @danirabbit in #777
- Utils: mark set_color_primary as deprecated by @danirabbit in #762
- Avoid adding empty style classes by @danirabbit in #781
- Styles/Animate: add spin by @danirabbit in #782
- Add basic mixins for styling controls by @wpkelso in #775
- Styles/Button: support linked buttons by @danirabbit in #784
- Styles/Controls: merge in background styles by @danirabbit in #785
- Icons: add emoji categories by @danirabbit in #788
- Demo: ModeButtonView → ControlsView by @danirabbit in #786
- Styles: create Granite-empty by @danirabbit in #780
- Styles/Classes: reduce card border opacity by @danirabbit in #792
- Styles/Popover: add emoji-picker by @danirabbit in #791
- Box: add half spacing by @danirabbit in #793
- Styles/Popovers: add styles for Gtk.PopoverMenu by @danirabbit in #795
- Styles/Popover: add undershoot styles by @danirabbit in #794
- Styles: add switch by @danirabbit in #708
- Styles: add Entry by @danirabbit in #712
- Add basic Shumate support by @danirabbit in #815
- Styles: Interpolate palette to expand number of named colors for UI by @wpkelso in #820
- StyleManager: set accent color from portal by @danirabbit in #704
- Styles: Detail pass for buttons by @wpkelso in #818
- Add ListBox styles, Granite.ListItem by @danirabbit in #783
- Styles: use accent in checked states by @danirabbit in #824
- Styles: add Scale by @danirabbit in #825
- Constants: deprecate dialog style classes by @danirabbit in #828
- Constants: deprecate menu related style classes by @danirabbit in #827
- Constants: add CssClass.CIRCULAR by @danirabbit in #832
- Constants: deprecate MODE_SWITCH by @danirabbit in #833
- Constants: deprecate scale styles by @danirabbit in #831
- Header: modernize h2 styles by @danirabbit in #834
- Styles/Scale: add dragging style for slider by @danirabbit in #830
- Constants: add CssClass.SMALL by @danirabbit in #837
- Constants: deprecate KEYCAP by @danirabbit in #836
- Styles: Add padding and minimum sizes for buttons by @wpkelso in #835
- Styles/GTK: add selection by @danirabbit in #841
- Styles: add Gtk.Video by @danirabbit in #840
- Styles/Gtk: add ProgressBar by @danirabbit in #842
- Styles/Scale: style values by @danirabbit in #829
- Constants: deprecate STYLE_CLASS_FRAME by @danirabbit in #844
- Styles: fix selected colors for dark mode by @danirabbit in #851
- Style (pane) separators and sidebars by @wpkelso in #850
- Styles/Gtk: add .toolbar by @danirabbit in #853
- Styles/Gtk/Button: checked extends selection by @danirabbit in #852
- Icons: add sidebar icons by @danirabbit in #854
- Styles: make dark theme darker by @danirabbit in #855
- Styles/Controls: make active/checked .text-button flat by @danirabbit in #856
- Styles/Gtk/Video: fix dark mode contrast by @danirabbit in #859
- Styles/Gtk/Button: make all image-buttons bouncy by @danirabbit in #858
- Demo: check toggles by default by @danirabbit in #860
- Add ToolBox by @danirabbit in #776
- Add GridView styles by @danirabbit in #863
- Add
.monospaceclass by @wpkelso in #861 - accel_to_string: ⌘ → Super by @danirabbit in #865
- Add BackButton by @leolost2605 in #692
- Export variables expected by dock by @wpkelso in #869
- StyleManager: Allow the GLib.Application to be null by @tintou in #876
- Constants: add since to each CssClass by @danirabbit in #878
- ListItem: subclass Gtk.Widget directly by @danirabbit in h...
granite 7.6.0 Released
What's Changed
- Dialog: Add since annotation to new method by @davidmhewitt in #721
- SwitchModelButton: set accessible label, description, and state by @danirabbit in #723
- ValidatedEntry: set AccessibleState by @danirabbit in #724
- HeaderLabel: set accessible description by @danirabbit in #725
- AbstractSimpleSettingsPage: Correct replacement class by @ryonakano in #726
- meson: Use gnome module to compile schemas by @ryonakano in #727
- SwitchModelButton: wrap label by @danirabbit in #729
- Introduce Granite.Bin for subclassing by @leolost2605 in #730
- Fix dead link (#734) by @salim-b in #735
New Contributors
Full Changelog: 7.5.0...7.6.0
granite 7.5.0 Released
New Features:
- Toast: add a new dismissed signal that includes the reason for dismissal
- Add STYLE_CLASS_SUCCESS
- HeaderLabel: allow secondary text to use markup
Improvements:
- Make building Demo optional
- Demo now uses a modern split-pane design
- DateTime: handle relative datetime when epoch
- MessageDialog: Set last button as focus widget
- SwitchModelButton: Remove redundant switch keyboard focusing
- Load fallback styles for widgets when using Granite.init
- Updated translations
Deprecations:
- SettingsPage and SettingsSidebar: these widgets have moved to LibSwitchboard
granite 7.4.0 Released
Improvements:
- Add a withdraw method for Granite.Toast
- Updated translations
Granite 7.3.0 Released!
What's Changed
- Fix build with newer Vala by @Exalm in #637
- Switch to GHCR containers by @davidmhewitt in #640
- settings: remove inappropriate ownership annotation by @mcatanzaro in #642
- Add granite styles as a gresource by @danirabbit in #639
- Init: load gresourced styles if present by @danirabbit in #644
- Fix demo desktop file by @meisenzahl in #647
- Settings Urls by @Antolius in #649
- Constants: Add since versions to new URI values by @davidmhewitt in #651
- Styles: add basics by @danirabbit in #646
- Metainfo improvements by @danirabbit in #652
- Update POTFILES by @ryonakano in #654
- README: Point to granite-7 version of valadoc by @ryonakano in #655
New Contributors
- @Exalm made their first contribution in #637
- @mcatanzaro made their first contribution in #642
- @Antolius made their first contribution in #649
Full Changelog: 7.2.0...7.3.0
Granite 7.2.0 Released!
What's Changed
- Add icon and use it by @danirabbit in #629
- Init: add ensure type by @danirabbit in #632
- Add 'since' annotations to things added in 7.1 by @davidmhewitt in #635
- Add since annotation to new public init method by @davidmhewitt in #636
Full Changelog: 7.1.0...7.2.0
granite 7.1.0 Released
New Features:
- Granite.STYLE_CLASS_RICH_LIST for standard Gtk.ListBox row padding
- Granite.STYLE_CLASS_FRAME for adding a border to Gtk.LisBox, Gtk.InfoBar, and others
- Granite.STYLE_CLASS_SIDEBAR for styling application sidebars
- Granite.STYLE_CLASS_BACKGROUND to use the default background color for a widget
- Add optional secondary text to Granite.HeaderLabel
Improvements:
- Allow text in Granite.Toast to wrap
- SimpleSettingsPage: Wrap titles and allow description text to go under switches
- Updated translations
granite 7.0.0 Released
New Features:
- Ported to GTK4! 🎉️
- Granite.Placeholder: replaces AlertView and Welcome
- SimpleSettingsPage: Allow markup in description
Removals:
- Application: use Gtk.Application instead
- Drawing: Use Gtk.CSS
- DynamicNotebook: use Adw.TabBar instead
- Logger: use GLib.log instead
- ModeButton: Use Gtk.ToggleButton with the "group" property and "linked" style class instead
- Paths: use GLib.Environment instead
- Seekbar
- Services.Settings: use GLib.Settings instead
- SimpleCommand: use GLib.AppInfo.create_from_commandline instead
- SourceList: use Gtk.ListBox with the "sidebar" style class instead
- StorageBar
- TextStyle: use style class constants instead
- Several functions in System were replaced by GLib.AppInfo
Improvements:
- Updated translations
granite 6.2.0 Released
New Features:
- min_length property for Granite.ValidatedEntry
- Granite.HyperTextView for navigatable URLs in text views
Improvements:
- Updated translations
Fixes:
- Prevent crashing on environments without dark style preference support
Granite 6.1.2
Fixes:
- Use values from the Settings Portal when possible
- Disable horizontal scrolling by default in SettingsPage
- Updated translations