@gjsify/adwaita-nativescript 0.15.1 → 0.16.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/lib/esm/index.js CHANGED
@@ -1 +1 @@
1
- import"./_virtual/_rolldown/runtime.js";import{ADWAITA_SANS_FONT_FAMILY as ee,ADWAITA_SANS_TTF_FILES as te,adwaitaFontInstallInstructions as ne,hasAdwaitaSans as e}from"./fonts.js";import{AdwPreferencesPage as t}from"./widgets/adw-preferences-page.js";import{AdwPreferencesGroup as n}from"./widgets/adw-preferences-group.js";import{AdwActionRow as r}from"./widgets/adw-action-row.js";import{AdwSwitchRow as i,NOTIFY_ACTIVE as a}from"./widgets/adw-switch-row.js";import{AdwEntryRow as o,NOTIFY_TEXT as s}from"./widgets/adw-entry-row.js";import{adwaitaColorScheme as c,isThemeIconColor as l,onAdwaitaColorSchemeChanged as u,setAdwaitaColorScheme as d,themeIconColor as f,toggleAdwaitaColorScheme as p}from"./widgets/color-scheme.js";import{ADWAITA_ICON_GRID as m,DEFAULT_ICON_COLOR as h,DEFAULT_ICON_COLOR_DARK as g,extractIconPaths as _,extractPathData as v}from"./widgets/icon-path.js";import{renderSymbolicIcon as y}from"./widgets/icons.js";import{attachRowPressFeedback as b}from"./widgets/row-press.js";import{AdwImageButton as x,DEFAULT_ICON_BUTTON_ICON_SIZE as S}from"./widgets/adw-image-button.js";import{AdwPasswordEntryRow as C}from"./widgets/adw-password-entry-row.js";import{AdwIcon as w,DEFAULT_ADW_ICON_SIZE as T}from"./widgets/adw-icon.js";import{AdwComboRow as E,NOTIFY_SELECTED as D}from"./widgets/adw-combo-row.js";import{AdwSpinRow as O,NOTIFY_VALUE as k}from"./widgets/adw-spin-row.js";import{AdwSliderRow as A,NOTIFY_SLIDER_VALUE as j}from"./widgets/adw-slider-row.js";import{AdwExpanderRow as M,NOTIFY_EXPANDED as N}from"./widgets/adw-expander-row.js";import{AdwButton as P}from"./widgets/adw-button.js";import{AdwMenuButton as F,MENU_ITEM_ACTIVATED as I}from"./widgets/adw-menu-button.js";import{AdwBanner as L,BUTTON_CLICKED as R}from"./widgets/adw-banner.js";import{AdwAvatar as z,DEFAULT_AVATAR_SIZE as B,avatarInitials as V}from"./widgets/adw-avatar.js";import{AdwWindowTitle as H}from"./widgets/adw-window-title.js";import{AdwClamp as U,DEFAULT_CLAMP_MAX_SIZE as W}from"./widgets/adw-clamp.js";import{AdwHeaderBar as G}from"./widgets/adw-header-bar.js";import{AdwToolbarView as K}from"./widgets/adw-toolbar-view.js";import{AdwWrapBox as q}from"./widgets/adw-wrap-box.js";import{AdwSpinner as J,DEFAULT_SPINNER_SIZE as Y}from"./widgets/adw-spinner.js";import{AdwStatusPage as X}from"./widgets/adw-status-page.js";import{ACTIVATED as Z,AdwButtonRow as re}from"./widgets/adw-button-row.js";import{AdwButtonContent as Q}from"./widgets/adw-button-content.js";import{AdwSplitButton as ie,CLICKED as ae,MENU_TAPPED as oe}from"./widgets/adw-split-button.js";import{AdwToggleGroup as se,NOTIFY_SELECTED as ce}from"./widgets/adw-toggle-group.js";import{AdwViewStack as le,NOTIFY_VISIBLE_CHILD as ue}from"./widgets/adw-view-stack.js";import{AdwViewSwitcherBase as de,NOTIFY_SELECTED as fe}from"./widgets/view-switcher-base.js";import{AdwViewSwitcher as pe}from"./widgets/adw-view-switcher.js";import{AdwViewSwitcherBar as me}from"./widgets/adw-view-switcher-bar.js";import{AdwInlineViewSwitcher as he}from"./widgets/adw-inline-view-switcher.js";import{AdwTabView as ge}from"./widgets/adw-tab-view.js";import{AdwCarousel as _e,DEFAULT_CAROUSEL_PAGE_WIDTH as ve,NOTIFY_POSITION as ye}from"./widgets/adw-carousel.js";import{AdwNavigationView as be,NOTIFY_VISIBLE_PAGE as xe}from"./widgets/adw-navigation-view.js";import{AdwSplitViewBase as Se,DEFAULT_SIDEBAR_WIDTH as Ce,NOTIFY_SHOW_SIDEBAR as we}from"./widgets/split-view-base.js";import{AdwNavigationSplitView as Te}from"./widgets/adw-navigation-split-view.js";import{AdwOverlaySplitView as Ee}from"./widgets/adw-overlay-split-view.js";import{AdwSidebar as De,NOTIFY_SELECTED as Oe}from"./widgets/adw-sidebar.js";import{AdwBottomSheet as ke,NOTIFY_OPEN as Ae}from"./widgets/adw-bottom-sheet.js";import{AdwToast as je,AdwToastOverlay as Me,AdwToastQueue as Ne,DEFAULT_TOAST_TIMEOUT as Pe,TOAST_BUTTON_CLICKED as Fe}from"./widgets/adw-toast-overlay.js";import{AdwAlertDialog as Ie,AdwAlertResponses as Le,NOTIFY_RESPONSE as Re}from"./widgets/adw-alert-dialog.js";import{AdwAboutDialog as ze,CLOSED as Be}from"./widgets/adw-about-dialog.js";import{AdwPreferencesDialog as Ve,CLOSED as He}from"./widgets/adw-preferences-dialog.js";import{AdwBreakpoint as Ue,addBreakpoints as We,evaluateBreakpointCondition as Ge,parseBreakpointCondition as Ke}from"./widgets/breakpoint.js";import{registerAdwaitaElements as $}from"./widgets/index.js";import{assertNativeScript as qe,assertNativeScript as Je,isAndroid as Ye,isIOS as Xe,isNativeScript as Ze}from"@gjsify/native-platform";function registerAdwaita(){Je(),$()}export{Be as ABOUT_CLOSED,Z as ACTIVATED,m as ADWAITA_ICON_GRID,ee as ADWAITA_SANS_FONT_FAMILY,te as ADWAITA_SANS_TTF_FILES,ze as AdwAboutDialog,r as AdwActionRow,Ie as AdwAlertDialog,Le as AdwAlertResponses,z as AdwAvatar,L as AdwBanner,ke as AdwBottomSheet,Ue as AdwBreakpoint,P as AdwButton,Q as AdwButtonContent,re as AdwButtonRow,_e as AdwCarousel,U as AdwClamp,E as AdwComboRow,o as AdwEntryRow,M as AdwExpanderRow,G as AdwHeaderBar,w as AdwIcon,x as AdwImageButton,he as AdwInlineViewSwitcher,F as AdwMenuButton,Te as AdwNavigationSplitView,be as AdwNavigationView,Ee as AdwOverlaySplitView,C as AdwPasswordEntryRow,Ve as AdwPreferencesDialog,n as AdwPreferencesGroup,t as AdwPreferencesPage,De as AdwSidebar,A as AdwSliderRow,O as AdwSpinRow,J as AdwSpinner,ie as AdwSplitButton,Se as AdwSplitViewBase,X as AdwStatusPage,i as AdwSwitchRow,ge as AdwTabView,je as AdwToast,Me as AdwToastOverlay,Ne as AdwToastQueue,se as AdwToggleGroup,K as AdwToolbarView,le as AdwViewStack,pe as AdwViewSwitcher,me as AdwViewSwitcherBar,de as AdwViewSwitcherBase,H as AdwWindowTitle,q as AdwWrapBox,R as BUTTON_CLICKED,ae as CLICKED,T as DEFAULT_ADW_ICON_SIZE,B as DEFAULT_AVATAR_SIZE,ve as DEFAULT_CAROUSEL_PAGE_WIDTH,W as DEFAULT_CLAMP_MAX_SIZE,S as DEFAULT_ICON_BUTTON_ICON_SIZE,h as DEFAULT_ICON_COLOR,g as DEFAULT_ICON_COLOR_DARK,Ce as DEFAULT_SIDEBAR_WIDTH,Y as DEFAULT_SPINNER_SIZE,Pe as DEFAULT_TOAST_TIMEOUT,I as MENU_ITEM_ACTIVATED,oe as MENU_TAPPED,a as NOTIFY_ACTIVE,N as NOTIFY_EXPANDED,Ae as NOTIFY_OPEN,ye as NOTIFY_POSITION,Re as NOTIFY_RESPONSE,D as NOTIFY_SELECTED,we as NOTIFY_SHOW_SIDEBAR,Oe as NOTIFY_SIDEBAR_SELECTED,j as NOTIFY_SLIDER_VALUE,s as NOTIFY_TEXT,ce as NOTIFY_TOGGLE_SELECTED,k as NOTIFY_VALUE,fe as NOTIFY_VIEW_SELECTED,ue as NOTIFY_VISIBLE_CHILD,xe as NOTIFY_VISIBLE_PAGE,He as PREFERENCES_CLOSED,Fe as TOAST_BUTTON_CLICKED,We as addBreakpoints,c as adwaitaColorScheme,ne as adwaitaFontInstallInstructions,qe as assertNativeScript,b as attachRowPressFeedback,V as avatarInitials,Ge as evaluateBreakpointCondition,_ as extractIconPaths,v as extractPathData,e as hasAdwaitaSans,Ye as isAndroid,Xe as isIOS,Ze as isNativeScript,l as isThemeIconColor,u as onAdwaitaColorSchemeChanged,Ke as parseBreakpointCondition,registerAdwaita,$ as registerAdwaitaElements,y as renderSymbolicIcon,d as setAdwaitaColorScheme,f as themeIconColor,p as toggleAdwaitaColorScheme};
1
+ import"./_virtual/_rolldown/runtime.js";import{ADWAITA_SANS_FONT_FAMILY as ee,ADWAITA_SANS_TTF_FILES as te,adwaitaFontInstallInstructions as ne,hasAdwaitaSans as e}from"./fonts.js";import{AdwPreferencesPage as t}from"./widgets/adw-preferences-page.js";import{AdwPreferencesGroup as n}from"./widgets/adw-preferences-group.js";import{AdwActionRow as r}from"./widgets/adw-action-row.js";import{AdwSwitchRow as i,NOTIFY_ACTIVE as a}from"./widgets/adw-switch-row.js";import{AdwEntryRow as o,NOTIFY_TEXT as s}from"./widgets/adw-entry-row.js";import{adwaitaColorScheme as c,isThemeIconColor as l,onAdwaitaColorSchemeChanged as u,setAdwaitaColorScheme as d,themeIconColor as f,toggleAdwaitaColorScheme as p}from"./widgets/color-scheme.js";import{ADWAITA_ICON_GRID as m,DEFAULT_ICON_COLOR as h,DEFAULT_ICON_COLOR_DARK as g,extractIconPaths as _,extractPathData as v}from"./widgets/icon-path.js";import{renderSymbolicIcon as y}from"./widgets/icons.js";import{attachRowPressFeedback as b}from"./widgets/row-press.js";import{AdwImageButton as x,DEFAULT_ICON_BUTTON_ICON_SIZE as S}from"./widgets/adw-image-button.js";import{AdwPasswordEntryRow as C}from"./widgets/adw-password-entry-row.js";import{AdwIcon as w,DEFAULT_ADW_ICON_SIZE as T}from"./widgets/adw-icon.js";import{AdwComboRow as E,ComboState as D,NOTIFY_SELECTED as O}from"./widgets/adw-combo-row.js";import{AdwSpinRow as k,NOTIFY_VALUE as A,SpinState as j}from"./widgets/adw-spin-row.js";import{AdwSliderRow as M,NOTIFY_SLIDER_VALUE as N}from"./widgets/adw-slider-row.js";import{AdwExpanderRow as P,ExpanderState as F,NOTIFY_EXPANDED as I}from"./widgets/adw-expander-row.js";import{AdwButton as L}from"./widgets/adw-button.js";import{AdwMenuButton as R,MENU_ITEM_ACTIVATED as z}from"./widgets/adw-menu-button.js";import{AdwBanner as B,BUTTON_CLICKED as V}from"./widgets/adw-banner.js";import{AdwAvatar as H,DEFAULT_AVATAR_SIZE as U,avatarInitials as W}from"./widgets/adw-avatar.js";import{AdwWindowTitle as G}from"./widgets/adw-window-title.js";import{AdwClamp as K,DEFAULT_CLAMP_MAX_SIZE as q}from"./widgets/adw-clamp.js";import{AdwHeaderBar as J}from"./widgets/adw-header-bar.js";import{AdwToolbarView as Y}from"./widgets/adw-toolbar-view.js";import{AdwWrapBox as X}from"./widgets/adw-wrap-box.js";import{AdwSpinner as Z,DEFAULT_SPINNER_SIZE as re}from"./widgets/adw-spinner.js";import{AdwStatusPage as Q}from"./widgets/adw-status-page.js";import{ACTIVATED as ie,AdwButtonRow as ae}from"./widgets/adw-button-row.js";import{AdwButtonContent as oe}from"./widgets/adw-button-content.js";import{AdwSplitButton as se,CLICKED as ce,MENU_TAPPED as le}from"./widgets/adw-split-button.js";import{AdwToggleGroup as ue,NOTIFY_SELECTED as de,ToggleGroupState as fe}from"./widgets/adw-toggle-group.js";import{AdwViewStack as pe,NOTIFY_VISIBLE_CHILD as me}from"./widgets/adw-view-stack.js";import{AdwViewSwitcherBase as he,NOTIFY_SELECTED as ge}from"./widgets/view-switcher-base.js";import{AdwViewSwitcher as _e}from"./widgets/adw-view-switcher.js";import{AdwViewSwitcherBar as ve}from"./widgets/adw-view-switcher-bar.js";import{AdwInlineViewSwitcher as ye}from"./widgets/adw-inline-view-switcher.js";import{AdwTabView as be}from"./widgets/adw-tab-view.js";import{AdwCarousel as xe,DEFAULT_CAROUSEL_PAGE_WIDTH as Se,NOTIFY_POSITION as Ce}from"./widgets/adw-carousel.js";import{AdwNavigationView as we,NOTIFY_VISIBLE_PAGE as Te}from"./widgets/adw-navigation-view.js";import{AdwSplitViewBase as Ee,DEFAULT_SIDEBAR_WIDTH as De,NOTIFY_SHOW_SIDEBAR as Oe}from"./widgets/split-view-base.js";import{AdwNavigationSplitView as ke}from"./widgets/adw-navigation-split-view.js";import{AdwOverlaySplitView as Ae}from"./widgets/adw-overlay-split-view.js";import{AdwSidebar as je,NOTIFY_SELECTED as Me}from"./widgets/adw-sidebar.js";import{AdwBottomSheet as Ne,NOTIFY_OPEN as Pe}from"./widgets/adw-bottom-sheet.js";import{AdwToast as Fe,AdwToastOverlay as Ie,AdwToastQueue as Le,DEFAULT_TOAST_TIMEOUT as Re,TOAST_BUTTON_CLICKED as ze}from"./widgets/adw-toast-overlay.js";import{AdwAlertDialog as Be,AdwAlertResponses as Ve,NOTIFY_RESPONSE as He}from"./widgets/adw-alert-dialog.js";import{AdwAboutDialog as Ue,CLOSED as We}from"./widgets/adw-about-dialog.js";import{AdwPreferencesDialog as Ge,CLOSED as Ke}from"./widgets/adw-preferences-dialog.js";import{AdwBreakpoint as qe,addBreakpoints as Je,evaluateBreakpointCondition as Ye,parseBreakpointCondition as Xe}from"./widgets/breakpoint.js";import{registerAdwaitaElements as $}from"./widgets/index.js";import{assertNativeScript as Ze,assertNativeScript as Qe,isAndroid as $e,isIOS as et,isNativeScript as tt}from"@gjsify/native-platform";function registerAdwaita(){Qe(),$()}export{We as ABOUT_CLOSED,ie as ACTIVATED,m as ADWAITA_ICON_GRID,ee as ADWAITA_SANS_FONT_FAMILY,te as ADWAITA_SANS_TTF_FILES,Ue as AdwAboutDialog,r as AdwActionRow,Be as AdwAlertDialog,Ve as AdwAlertResponses,H as AdwAvatar,B as AdwBanner,Ne as AdwBottomSheet,qe as AdwBreakpoint,L as AdwButton,oe as AdwButtonContent,ae as AdwButtonRow,xe as AdwCarousel,K as AdwClamp,E as AdwComboRow,o as AdwEntryRow,P as AdwExpanderRow,J as AdwHeaderBar,w as AdwIcon,x as AdwImageButton,ye as AdwInlineViewSwitcher,R as AdwMenuButton,ke as AdwNavigationSplitView,we as AdwNavigationView,Ae as AdwOverlaySplitView,C as AdwPasswordEntryRow,Ge as AdwPreferencesDialog,n as AdwPreferencesGroup,t as AdwPreferencesPage,je as AdwSidebar,M as AdwSliderRow,k as AdwSpinRow,Z as AdwSpinner,se as AdwSplitButton,Ee as AdwSplitViewBase,Q as AdwStatusPage,i as AdwSwitchRow,be as AdwTabView,Fe as AdwToast,Ie as AdwToastOverlay,Le as AdwToastQueue,ue as AdwToggleGroup,Y as AdwToolbarView,pe as AdwViewStack,_e as AdwViewSwitcher,ve as AdwViewSwitcherBar,he as AdwViewSwitcherBase,G as AdwWindowTitle,X as AdwWrapBox,V as BUTTON_CLICKED,ce as CLICKED,D as ComboState,T as DEFAULT_ADW_ICON_SIZE,U as DEFAULT_AVATAR_SIZE,Se as DEFAULT_CAROUSEL_PAGE_WIDTH,q as DEFAULT_CLAMP_MAX_SIZE,S as DEFAULT_ICON_BUTTON_ICON_SIZE,h as DEFAULT_ICON_COLOR,g as DEFAULT_ICON_COLOR_DARK,De as DEFAULT_SIDEBAR_WIDTH,re as DEFAULT_SPINNER_SIZE,Re as DEFAULT_TOAST_TIMEOUT,F as ExpanderState,z as MENU_ITEM_ACTIVATED,le as MENU_TAPPED,a as NOTIFY_ACTIVE,I as NOTIFY_EXPANDED,Pe as NOTIFY_OPEN,Ce as NOTIFY_POSITION,He as NOTIFY_RESPONSE,O as NOTIFY_SELECTED,Oe as NOTIFY_SHOW_SIDEBAR,Me as NOTIFY_SIDEBAR_SELECTED,N as NOTIFY_SLIDER_VALUE,s as NOTIFY_TEXT,de as NOTIFY_TOGGLE_SELECTED,A as NOTIFY_VALUE,ge as NOTIFY_VIEW_SELECTED,me as NOTIFY_VISIBLE_CHILD,Te as NOTIFY_VISIBLE_PAGE,Ke as PREFERENCES_CLOSED,j as SpinState,ze as TOAST_BUTTON_CLICKED,fe as ToggleGroupState,Je as addBreakpoints,c as adwaitaColorScheme,ne as adwaitaFontInstallInstructions,Ze as assertNativeScript,b as attachRowPressFeedback,W as avatarInitials,Ye as evaluateBreakpointCondition,_ as extractIconPaths,v as extractPathData,e as hasAdwaitaSans,$e as isAndroid,et as isIOS,tt as isNativeScript,l as isThemeIconColor,u as onAdwaitaColorSchemeChanged,Xe as parseBreakpointCondition,registerAdwaita,$ as registerAdwaitaElements,y as renderSymbolicIcon,d as setAdwaitaColorScheme,f as themeIconColor,p as toggleAdwaitaColorScheme};
@@ -1 +1 @@
1
- import"../_virtual/_rolldown/runtime.js";import{AdwActionRow as e}from"./adw-action-row.js";import{attachRowPressFeedback as t}from"./row-press.js";import{AdwIcon as n}from"./adw-icon.js";import{Label as r,StackLayout as i,action as a}from"@nativescript/core";import{panDownSymbolic as o}from"@gjsify/adwaita-icons/ui";const s=`notify::selected`;var AdwComboRow=class extends e{_valueLabel;_chevron;_options=[];_selectedIndex=0;constructor(){super(),this.className=`adw-row adw-action-row adw-combo-row`;let e=new i;e.orientation=`horizontal`,e.className=`adw-combo-suffix`;let a=new r;a.className=`adw-combo-value`,a.text=``;let s=new n;s.className=`adw-combo-chevron`,s.iconColor=`#9a9a9a`,s.iconSize=16,s.icon=o,e.addChild(a),e.addChild(s),this.setSuffix(e),this._valueLabel=a,this._chevron=s,this.addEventListener(`tap`,()=>{this._openChooser()}),t(this)}async _openChooser(){if(this._options.length===0)return;let e=this._options.map(e=>e.label),t=await a({title:this.title||void 0,cancelButtonText:`Cancel`,actions:e}),n=e.indexOf(t);n>=0&&n!==this._selectedIndex&&(this.selectedIndex=n,this._emitSelected())}_syncValueLabel(){this._valueLabel.text=this._options[this._selectedIndex]?.label??``}_emitSelected(){let e={eventName:s,object:this,selected:this._selectedIndex,value:this.selectedValue};this.notify(e)}get options(){return this._options}set options(e){this._options=Array.isArray(e)?e:[],this._selectedIndex>=this._options.length&&(this._selectedIndex=0),this._syncValueLabel()}get selectedIndex(){return this._selectedIndex}set selectedIndex(e){let t=Number.isFinite(e)?e:0;t!==this._selectedIndex&&(this._selectedIndex=t,this._syncValueLabel())}get selectedValue(){return this._options[this._selectedIndex]?.value??``}set selectedValue(e){let t=this._options.findIndex(t=>t.value===e);t>=0&&(this.selectedIndex=t)}};export{AdwComboRow,s as NOTIFY_SELECTED};
1
+ import"../_virtual/_rolldown/runtime.js";import{AdwActionRow as e}from"./adw-action-row.js";import{attachRowPressFeedback as t}from"./row-press.js";import{AdwIcon as n}from"./adw-icon.js";import{Label as r,StackLayout as i,action as a}from"@nativescript/core";import{ComboState as o,ComboState as s}from"@gjsify/adwaita-core";import{panDownSymbolic as c}from"@gjsify/adwaita-icons/ui";const l=`notify::selected`;var AdwComboRow=class extends e{_valueLabel;_chevron;_state=new s;constructor(){super(),this.className=`adw-row adw-action-row adw-combo-row`;let e=new i;e.orientation=`horizontal`,e.className=`adw-combo-suffix`;let a=new r;a.className=`adw-combo-value`,a.text=``;let o=new n;o.className=`adw-combo-chevron`,o.iconColor=`#9a9a9a`,o.iconSize=16,o.icon=c,e.addChild(a),e.addChild(o),this.setSuffix(e),this._valueLabel=a,this._chevron=o,this._state.subscribe(e=>{if(this._valueLabel.text=e.label,e.interactive){let t={eventName:l,object:this,selected:e.selected,value:e.value};this.notify(t)}}),this.addEventListener(`tap`,()=>{this._openChooser()}),t(this)}async _openChooser(){if(this._state.count===0)return;let e=this._state.options.map(e=>e.label),t=await a({title:this.title||void 0,cancelButtonText:`Cancel`,actions:e});this._state.select(e.indexOf(t))}get options(){return this._state.options}set options(e){this._state.setOptions(e)}get selectedIndex(){return this._state.selectedIndex}set selectedIndex(e){this._state.setSelectedIndex(e)}get selectedValue(){return this._state.selectedValue}set selectedValue(e){this._state.setSelectedValue(e)}};export{AdwComboRow,o as ComboState,l as NOTIFY_SELECTED};
@@ -1 +1 @@
1
- import"../_virtual/_rolldown/runtime.js";import{AdwActionRow as e}from"./adw-action-row.js";import{AdwIcon as t}from"./adw-icon.js";import{GridLayout as n,ItemSpec as r,StackLayout as i}from"@nativescript/core";import{panDownSymbolic as a,panUpSymbolic as o}from"@gjsify/adwaita-icons/ui";const s=`notify::expanded`;var AdwExpanderRow=class extends e{_toggle;_disclosure;_expanded=!1;constructor(){super(),this.className=`adw-row adw-action-row adw-expander-row`,this.addRow(new r(1,`auto`));let e=new i;e.orientation=`vertical`,e.className=`adw-expander-disclosure`,e.visibility=`collapse`,n.setRow(e,1),n.setColumn(e,0),n.setColumnSpan(e,3),this.addChild(e),this._disclosure=e;let o=new t;o.icon=a,o.className=`${o.className} adw-expander-toggle`.trim(),this.setSuffix(o),this._toggle=o,o.addEventListener(`tap`,()=>{this.expanded=!this._expanded})}addRow(e){if(e instanceof r){super.addRow(e);return}this._disclosure.addChild(e)}removeRow(e){this._disclosure.removeChild(e)}get expanded(){return this._expanded}set expanded(e){let t=!!e;if(t===this._expanded)return;this._expanded=t,this._disclosure.visibility=t?`visible`:`collapse`,this._toggle.icon=t?o:a;let n={eventName:s,object:this,expanded:t};this.notify(n)}};export{AdwExpanderRow,s as NOTIFY_EXPANDED};
1
+ import"../_virtual/_rolldown/runtime.js";import{AdwActionRow as e}from"./adw-action-row.js";import{AdwIcon as t}from"./adw-icon.js";import{GridLayout as n,ItemSpec as r,StackLayout as i}from"@nativescript/core";import{ExpanderState as a,ExpanderState as o}from"@gjsify/adwaita-core";import{panDownSymbolic as s,panUpSymbolic as c}from"@gjsify/adwaita-icons/ui";const l=`notify::expanded`;var AdwExpanderRow=class extends e{_toggle;_disclosure;_state=new o;constructor(){super(),this.className=`adw-row adw-action-row adw-expander-row`,this.addRow(new r(1,`auto`));let e=new i;e.orientation=`vertical`,e.className=`adw-expander-disclosure`,e.visibility=`collapse`,n.setRow(e,1),n.setColumn(e,0),n.setColumnSpan(e,3),this.addChild(e),this._disclosure=e;let a=new t;a.icon=s,a.className=`${a.className} adw-expander-toggle`.trim(),this.setSuffix(a),this._toggle=a,this._state.subscribe(e=>{this._disclosure.visibility=e?`visible`:`collapse`,this._toggle.icon=e?c:s;let t={eventName:l,object:this,expanded:e};this.notify(t)}),a.addEventListener(`tap`,()=>{this._state.toggle()})}addRow(e){if(e instanceof r){super.addRow(e);return}this._disclosure.addChild(e)}removeRow(e){this._disclosure.removeChild(e)}get expanded(){return this._state.expanded}set expanded(e){this._state.setExpanded(e)}};export{AdwExpanderRow,a as ExpanderState,l as NOTIFY_EXPANDED};
@@ -1 +1 @@
1
- import"../_virtual/_rolldown/runtime.js";import{AdwActionRow as e}from"./adw-action-row.js";import{AdwImageButton as t}from"./adw-image-button.js";import{Label as n,StackLayout as r}from"@nativescript/core";import{valueDecreaseSymbolic as i,valueIncreaseSymbolic as a}from"@gjsify/adwaita-icons/actions";const o=`notify::value`;var AdwSpinRow=class extends e{_minusButton;_plusButton;_valueLabel;_value=0;_min=0;_max=100;_step=1;constructor(){super(),this.className=`adw-row adw-action-row adw-spin-row`;let e=new r;e.orientation=`horizontal`,e.className=`adw-spin-control`;let o=new n;o.className=`adw-spin-value`,o.text=String(this._value);let s=new t;s.icon=i,s.className=`${s.className} adw-spin-button adw-spin-minus`.trim();let c=new t;c.icon=a,c.className=`${c.className} adw-spin-button adw-spin-plus`.trim(),e.addChild(o),e.addChild(s),e.addChild(c),this.setSuffix(e),this._minusButton=s,this._plusButton=c,this._valueLabel=o,s.addEventListener(`tap`,()=>this._bump(-this._step)),c.addEventListener(`tap`,()=>this._bump(this._step))}_bump(e){let t=this._clamp(this._value+e);if(t!==this._value){this._value=t,this._valueLabel.text=String(t);let e={eventName:o,object:this,value:t};this.notify(e)}}_clamp(e){return Math.min(this._max,Math.max(this._min,e))}get value(){return this._value}set value(e){let t=this._clamp(Number.isFinite(e)?e:0);t!==this._value&&(this._value=t,this._valueLabel.text=String(t))}get min(){return this._min}set min(e){this._min=Number.isFinite(e)?e:0,this.value=this._value}get max(){return this._max}set max(e){this._max=Number.isFinite(e)?e:0,this.value=this._value}get step(){return this._step}set step(e){this._step=Number.isFinite(e)&&e>0?e:1}};export{AdwSpinRow,o as NOTIFY_VALUE};
1
+ import"../_virtual/_rolldown/runtime.js";import{AdwActionRow as e}from"./adw-action-row.js";import{AdwImageButton as t}from"./adw-image-button.js";import{Label as n,StackLayout as r}from"@nativescript/core";import{valueDecreaseSymbolic as i,valueIncreaseSymbolic as a}from"@gjsify/adwaita-icons/actions";import{SpinState as o,SpinState as s}from"@gjsify/adwaita-core";const c=`notify::value`;var AdwSpinRow=class extends e{_minusButton;_plusButton;_valueLabel;_state=new s;constructor(){super(),this.className=`adw-row adw-action-row adw-spin-row`;let e=new r;e.orientation=`horizontal`,e.className=`adw-spin-control`;let o=new n;o.className=`adw-spin-value`,o.text=String(this._state.value);let s=new t;s.icon=i,s.className=`${s.className} adw-spin-button adw-spin-minus`.trim();let l=new t;l.icon=a,l.className=`${l.className} adw-spin-button adw-spin-plus`.trim(),e.addChild(o),e.addChild(s),e.addChild(l),this.setSuffix(e),this._minusButton=s,this._plusButton=l,this._valueLabel=o,this._state.subscribe(e=>{if(this._valueLabel.text=String(e.value),e.interactive){let t={eventName:c,object:this,value:e.value};this.notify(t)}}),s.addEventListener(`tap`,()=>this._state.decrement()),l.addEventListener(`tap`,()=>this._state.increment())}get value(){return this._state.value}set value(e){this._state.setValue(e)}get min(){return this._state.min}set min(e){this._state.setMin(e)}get max(){return this._state.max}set max(e){this._state.setMax(e)}get step(){return this._state.step}set step(e){this._state.setStep(e)}};export{AdwSpinRow,c as NOTIFY_VALUE,o as SpinState};
@@ -1 +1 @@
1
- import"../_virtual/_rolldown/runtime.js";import{AdwIcon as e}from"./adw-icon.js";import{Label as t,StackLayout as n}from"@nativescript/core";const r=`notify::selected`;var AdwToggleGroup=class extends n{_toggles=[];_segments=[];_selected=0;constructor(){super(),this.orientation=`horizontal`,this.className=`adw-toggle-group`,this.horizontalAlignment=`center`}get options(){return this._toggles.map(e=>e.label)}set options(e){this.setToggles((Array.isArray(e)?e:[]).map(e=>({label:e})))}setToggles(r){for(let e of this._segments)this.removeChild(e);this._segments.length=0,this._toggles=Array.isArray(r)?r:[],this._toggles.forEach((r,i)=>{let a=new n;if(a.orientation=`horizontal`,a.className=`adw-toggle-button`,a.horizontalAlignment=`center`,r.icon){let t=new e;t.className=`${t.className} adw-toggle-icon`.trim(),t.verticalAlignment=`middle`,t.icon=r.icon,a.addChild(t)}let o=new t;o.text=r.label,o.className=`adw-toggle-label`,o.verticalAlignment=`middle`,a.addChild(o),a.addEventListener(`tap`,()=>{this.selected=i}),this.addChild(a),this._segments.push(a)}),this._selected>=this._toggles.length&&(this._selected=0),this._applySelection()}_applySelection(){this._segments.forEach((e,t)=>{e.className=t===this._selected?`adw-toggle-button active`:`adw-toggle-button`})}get selected(){return this._selected}set selected(e){let t=Number.isFinite(e)?e:0;if(t===this._selected||t<0||t>=this._toggles.length)return;this._selected=t,this._applySelection();let n={eventName:r,object:this,selected:t,value:this._toggles[t]?.label??``};this.notify(n)}get selectedValue(){return this._toggles[this._selected]?.label??``}};export{AdwToggleGroup,r as NOTIFY_SELECTED};
1
+ import"../_virtual/_rolldown/runtime.js";import{AdwIcon as e}from"./adw-icon.js";import{Label as t,StackLayout as n}from"@nativescript/core";import{ToggleGroupState as r,ToggleGroupState as i}from"@gjsify/adwaita-core";const a=`notify::selected`;var AdwToggleGroup=class extends n{_toggles=[];_segments=[];_state=new i;constructor(){super(),this.orientation=`horizontal`,this.className=`adw-toggle-group`,this.horizontalAlignment=`center`,this._state.subscribe(e=>{this._applySelection();let t={eventName:a,object:this,selected:e.selected,value:e.value};this.notify(t)})}get options(){return this._toggles.map(e=>e.label)}set options(e){this.setToggles((Array.isArray(e)?e:[]).map(e=>({label:e})))}setToggles(r){for(let e of this._segments)this.removeChild(e);this._segments.length=0,this._toggles=Array.isArray(r)?r:[],this._toggles.forEach((r,i)=>{let a=new n;if(a.orientation=`horizontal`,a.className=`adw-toggle-button`,a.horizontalAlignment=`center`,r.icon){let t=new e;t.className=`${t.className} adw-toggle-icon`.trim(),t.verticalAlignment=`middle`,t.icon=r.icon,a.addChild(t)}let o=new t;o.text=r.label,o.className=`adw-toggle-label`,o.verticalAlignment=`middle`,a.addChild(o),a.addEventListener(`tap`,()=>{this._state.setSelected(i)}),this.addChild(a),this._segments.push(a)}),this._state.setLabels(this._toggles.map(e=>e.label)),this._applySelection()}_applySelection(){let e=this._state.selected;this._segments.forEach((t,n)=>{t.className=n===e?`adw-toggle-button active`:`adw-toggle-button`})}get selected(){return this._state.selected}set selected(e){this._state.setSelected(e)}get selectedValue(){return this._state.selectedValue}};export{AdwToggleGroup,a as NOTIFY_SELECTED,r as ToggleGroupState};
@@ -1 +1 @@
1
- import"../_virtual/_rolldown/runtime.js";import{AdwPreferencesPage as e}from"./adw-preferences-page.js";import{AdwPreferencesGroup as t}from"./adw-preferences-group.js";import{AdwActionRow as n}from"./adw-action-row.js";import{AdwSwitchRow as r,NOTIFY_ACTIVE as i}from"./adw-switch-row.js";import{AdwEntryRow as a,NOTIFY_TEXT as o}from"./adw-entry-row.js";import{adwaitaColorScheme as s,isThemeIconColor as c,onAdwaitaColorSchemeChanged as ee,setAdwaitaColorScheme as te,themeIconColor as ne,toggleAdwaitaColorScheme as re}from"./color-scheme.js";import{ADWAITA_ICON_GRID as ie,DEFAULT_ICON_COLOR as ae,DEFAULT_ICON_COLOR_DARK as oe,extractIconPaths as se,extractPathData as ce}from"./icon-path.js";import{renderSymbolicIcon as l}from"./icons.js";import{attachRowPressFeedback as u}from"./row-press.js";import{AdwImageButton as d,DEFAULT_ICON_BUTTON_ICON_SIZE as f}from"./adw-image-button.js";import{AdwPasswordEntryRow as p}from"./adw-password-entry-row.js";import{AdwIcon as m,DEFAULT_ADW_ICON_SIZE as h}from"./adw-icon.js";import{AdwComboRow as g,NOTIFY_SELECTED as le}from"./adw-combo-row.js";import{AdwSpinRow as _,NOTIFY_VALUE as ue}from"./adw-spin-row.js";import{AdwSliderRow as v,NOTIFY_SLIDER_VALUE as de}from"./adw-slider-row.js";import{AdwExpanderRow as y,NOTIFY_EXPANDED as fe}from"./adw-expander-row.js";import{AdwButton as b}from"./adw-button.js";import{AdwMenuButton as x,MENU_ITEM_ACTIVATED as pe}from"./adw-menu-button.js";import{AdwBanner as S,BUTTON_CLICKED as me}from"./adw-banner.js";import{AdwAvatar as C,DEFAULT_AVATAR_SIZE as he,avatarInitials as ge}from"./adw-avatar.js";import{AdwWindowTitle as w}from"./adw-window-title.js";import{AdwClamp as T,DEFAULT_CLAMP_MAX_SIZE as _e}from"./adw-clamp.js";import{AdwHeaderBar as E}from"./adw-header-bar.js";import{AdwToolbarView as D}from"./adw-toolbar-view.js";import{AdwWrapBox as O}from"./adw-wrap-box.js";import{AdwSpinner as k,DEFAULT_SPINNER_SIZE as A}from"./adw-spinner.js";import{AdwStatusPage as j}from"./adw-status-page.js";import{ACTIVATED as M,AdwButtonRow as N}from"./adw-button-row.js";import{AdwButtonContent as P}from"./adw-button-content.js";import{AdwSplitButton as F,CLICKED as I,MENU_TAPPED as L}from"./adw-split-button.js";import{AdwToggleGroup as R,NOTIFY_SELECTED as ve}from"./adw-toggle-group.js";import{AdwViewStack as z,NOTIFY_VISIBLE_CHILD as ye}from"./adw-view-stack.js";import{AdwViewSwitcherBase as be,NOTIFY_SELECTED as xe}from"./view-switcher-base.js";import{AdwViewSwitcher as B}from"./adw-view-switcher.js";import{AdwViewSwitcherBar as V}from"./adw-view-switcher-bar.js";import{AdwInlineViewSwitcher as H}from"./adw-inline-view-switcher.js";import{AdwTabView as U}from"./adw-tab-view.js";import{AdwCarousel as W,DEFAULT_CAROUSEL_PAGE_WIDTH as Se,NOTIFY_POSITION as Ce}from"./adw-carousel.js";import{AdwNavigationView as G,NOTIFY_VISIBLE_PAGE as we}from"./adw-navigation-view.js";import{AdwSplitViewBase as Te,DEFAULT_SIDEBAR_WIDTH as Ee,NOTIFY_SHOW_SIDEBAR as De}from"./split-view-base.js";import{AdwNavigationSplitView as K}from"./adw-navigation-split-view.js";import{AdwOverlaySplitView as q}from"./adw-overlay-split-view.js";import{AdwSidebar as J,NOTIFY_SELECTED as Oe}from"./adw-sidebar.js";import{AdwBottomSheet as Y,NOTIFY_OPEN as ke}from"./adw-bottom-sheet.js";import{AdwToast as Ae,AdwToastOverlay as X,AdwToastQueue as je,DEFAULT_TOAST_TIMEOUT as Me,TOAST_BUTTON_CLICKED as Ne}from"./adw-toast-overlay.js";import{AdwAlertDialog as Pe,AdwAlertResponses as Fe,NOTIFY_RESPONSE as Ie}from"./adw-alert-dialog.js";import{AdwAboutDialog as Z,CLOSED as Le}from"./adw-about-dialog.js";import{AdwPreferencesDialog as Q,CLOSED as Re}from"./adw-preferences-dialog.js";import{AdwBreakpoint as ze,addBreakpoints as Be,evaluateBreakpointCondition as Ve,parseBreakpointCondition as He}from"./breakpoint.js";const Ue={AdwPreferencesPage:e,AdwPreferencesGroup:t,AdwActionRow:n,AdwSwitchRow:r,AdwEntryRow:a,AdwPasswordEntryRow:p,AdwComboRow:g,AdwSpinRow:_,AdwSliderRow:v,AdwExpanderRow:y,AdwButton:b,AdwImageButton:d,AdwMenuButton:x,AdwIcon:m,AdwBanner:S,AdwAvatar:C,AdwWindowTitle:w,AdwClamp:T,AdwHeaderBar:E,AdwToolbarView:D,AdwWrapBox:O,AdwSpinner:k,AdwStatusPage:j,AdwButtonRow:N,AdwButtonContent:P,AdwSplitButton:F,AdwToggleGroup:R,AdwViewStack:z,AdwViewSwitcher:B,AdwViewSwitcherBar:V,AdwInlineViewSwitcher:H,AdwTabView:U,AdwCarousel:W,AdwNavigationView:G,AdwNavigationSplitView:K,AdwOverlaySplitView:q,AdwSidebar:J,AdwBottomSheet:Y,AdwToastOverlay:X,AdwAboutDialog:Z,AdwPreferencesDialog:Q};let $=!1;function registerAdwaitaElements(){if(!$&&typeof registerElement==`function`){for(let[e,t]of Object.entries(Ue))registerElement(e,()=>t);$=!0}}export{Le as ABOUT_CLOSED,M as ACTIVATED,ie as ADWAITA_ICON_GRID,Z as AdwAboutDialog,n as AdwActionRow,Pe as AdwAlertDialog,Fe as AdwAlertResponses,C as AdwAvatar,S as AdwBanner,Y as AdwBottomSheet,ze as AdwBreakpoint,b as AdwButton,P as AdwButtonContent,N as AdwButtonRow,W as AdwCarousel,T as AdwClamp,g as AdwComboRow,a as AdwEntryRow,y as AdwExpanderRow,E as AdwHeaderBar,m as AdwIcon,d as AdwImageButton,H as AdwInlineViewSwitcher,x as AdwMenuButton,K as AdwNavigationSplitView,G as AdwNavigationView,q as AdwOverlaySplitView,p as AdwPasswordEntryRow,Q as AdwPreferencesDialog,t as AdwPreferencesGroup,e as AdwPreferencesPage,J as AdwSidebar,v as AdwSliderRow,_ as AdwSpinRow,k as AdwSpinner,F as AdwSplitButton,Te as AdwSplitViewBase,j as AdwStatusPage,r as AdwSwitchRow,U as AdwTabView,Ae as AdwToast,X as AdwToastOverlay,je as AdwToastQueue,R as AdwToggleGroup,D as AdwToolbarView,z as AdwViewStack,B as AdwViewSwitcher,V as AdwViewSwitcherBar,be as AdwViewSwitcherBase,w as AdwWindowTitle,O as AdwWrapBox,me as BUTTON_CLICKED,I as CLICKED,h as DEFAULT_ADW_ICON_SIZE,he as DEFAULT_AVATAR_SIZE,Se as DEFAULT_CAROUSEL_PAGE_WIDTH,_e as DEFAULT_CLAMP_MAX_SIZE,f as DEFAULT_ICON_BUTTON_ICON_SIZE,ae as DEFAULT_ICON_COLOR,oe as DEFAULT_ICON_COLOR_DARK,Ee as DEFAULT_SIDEBAR_WIDTH,A as DEFAULT_SPINNER_SIZE,Me as DEFAULT_TOAST_TIMEOUT,pe as MENU_ITEM_ACTIVATED,L as MENU_TAPPED,i as NOTIFY_ACTIVE,fe as NOTIFY_EXPANDED,ke as NOTIFY_OPEN,Ce as NOTIFY_POSITION,Ie as NOTIFY_RESPONSE,le as NOTIFY_SELECTED,De as NOTIFY_SHOW_SIDEBAR,Oe as NOTIFY_SIDEBAR_SELECTED,de as NOTIFY_SLIDER_VALUE,o as NOTIFY_TEXT,ve as NOTIFY_TOGGLE_SELECTED,ue as NOTIFY_VALUE,xe as NOTIFY_VIEW_SELECTED,ye as NOTIFY_VISIBLE_CHILD,we as NOTIFY_VISIBLE_PAGE,Re as PREFERENCES_CLOSED,Ne as TOAST_BUTTON_CLICKED,Be as addBreakpoints,s as adwaitaColorScheme,u as attachRowPressFeedback,ge as avatarInitials,Ve as evaluateBreakpointCondition,se as extractIconPaths,ce as extractPathData,c as isThemeIconColor,ee as onAdwaitaColorSchemeChanged,He as parseBreakpointCondition,registerAdwaitaElements,l as renderSymbolicIcon,te as setAdwaitaColorScheme,ne as themeIconColor,re as toggleAdwaitaColorScheme};
1
+ import"../_virtual/_rolldown/runtime.js";import{AdwPreferencesPage as e}from"./adw-preferences-page.js";import{AdwPreferencesGroup as t}from"./adw-preferences-group.js";import{AdwActionRow as n}from"./adw-action-row.js";import{AdwSwitchRow as r,NOTIFY_ACTIVE as i}from"./adw-switch-row.js";import{AdwEntryRow as a,NOTIFY_TEXT as o}from"./adw-entry-row.js";import{adwaitaColorScheme as s,isThemeIconColor as ee,onAdwaitaColorSchemeChanged as te,setAdwaitaColorScheme as ne,themeIconColor as re,toggleAdwaitaColorScheme as ie}from"./color-scheme.js";import{ADWAITA_ICON_GRID as ae,DEFAULT_ICON_COLOR as oe,DEFAULT_ICON_COLOR_DARK as se,extractIconPaths as c,extractPathData as l}from"./icon-path.js";import{renderSymbolicIcon as u}from"./icons.js";import{attachRowPressFeedback as d}from"./row-press.js";import{AdwImageButton as f,DEFAULT_ICON_BUTTON_ICON_SIZE as p}from"./adw-image-button.js";import{AdwPasswordEntryRow as m}from"./adw-password-entry-row.js";import{AdwIcon as h,DEFAULT_ADW_ICON_SIZE as ce}from"./adw-icon.js";import{AdwComboRow as g,ComboState as le,NOTIFY_SELECTED as ue}from"./adw-combo-row.js";import{AdwSpinRow as _,NOTIFY_VALUE as de,SpinState as fe}from"./adw-spin-row.js";import{AdwSliderRow as v,NOTIFY_SLIDER_VALUE as pe}from"./adw-slider-row.js";import{AdwExpanderRow as y,ExpanderState as me,NOTIFY_EXPANDED as he}from"./adw-expander-row.js";import{AdwButton as b}from"./adw-button.js";import{AdwMenuButton as x,MENU_ITEM_ACTIVATED as ge}from"./adw-menu-button.js";import{AdwBanner as S,BUTTON_CLICKED as _e}from"./adw-banner.js";import{AdwAvatar as C,DEFAULT_AVATAR_SIZE as ve,avatarInitials as ye}from"./adw-avatar.js";import{AdwWindowTitle as w}from"./adw-window-title.js";import{AdwClamp as T,DEFAULT_CLAMP_MAX_SIZE as E}from"./adw-clamp.js";import{AdwHeaderBar as D}from"./adw-header-bar.js";import{AdwToolbarView as O}from"./adw-toolbar-view.js";import{AdwWrapBox as k}from"./adw-wrap-box.js";import{AdwSpinner as A,DEFAULT_SPINNER_SIZE as j}from"./adw-spinner.js";import{AdwStatusPage as M}from"./adw-status-page.js";import{ACTIVATED as N,AdwButtonRow as P}from"./adw-button-row.js";import{AdwButtonContent as F}from"./adw-button-content.js";import{AdwSplitButton as I,CLICKED as be,MENU_TAPPED as xe}from"./adw-split-button.js";import{AdwToggleGroup as L,NOTIFY_SELECTED as Se,ToggleGroupState as Ce}from"./adw-toggle-group.js";import{AdwViewStack as R,NOTIFY_VISIBLE_CHILD as we}from"./adw-view-stack.js";import{AdwViewSwitcherBase as Te,NOTIFY_SELECTED as Ee}from"./view-switcher-base.js";import{AdwViewSwitcher as z}from"./adw-view-switcher.js";import{AdwViewSwitcherBar as B}from"./adw-view-switcher-bar.js";import{AdwInlineViewSwitcher as V}from"./adw-inline-view-switcher.js";import{AdwTabView as H}from"./adw-tab-view.js";import{AdwCarousel as U,DEFAULT_CAROUSEL_PAGE_WIDTH as De,NOTIFY_POSITION as Oe}from"./adw-carousel.js";import{AdwNavigationView as W,NOTIFY_VISIBLE_PAGE as ke}from"./adw-navigation-view.js";import{AdwSplitViewBase as Ae,DEFAULT_SIDEBAR_WIDTH as je,NOTIFY_SHOW_SIDEBAR as Me}from"./split-view-base.js";import{AdwNavigationSplitView as G}from"./adw-navigation-split-view.js";import{AdwOverlaySplitView as K}from"./adw-overlay-split-view.js";import{AdwSidebar as q,NOTIFY_SELECTED as Ne}from"./adw-sidebar.js";import{AdwBottomSheet as J,NOTIFY_OPEN as Pe}from"./adw-bottom-sheet.js";import{AdwToast as Fe,AdwToastOverlay as Y,AdwToastQueue as Ie,DEFAULT_TOAST_TIMEOUT as Le,TOAST_BUTTON_CLICKED as X}from"./adw-toast-overlay.js";import{AdwAlertDialog as Re,AdwAlertResponses as ze,NOTIFY_RESPONSE as Be}from"./adw-alert-dialog.js";import{AdwAboutDialog as Z,CLOSED as Ve}from"./adw-about-dialog.js";import{AdwPreferencesDialog as Q,CLOSED as He}from"./adw-preferences-dialog.js";import{AdwBreakpoint as Ue,addBreakpoints as We,evaluateBreakpointCondition as Ge,parseBreakpointCondition as Ke}from"./breakpoint.js";const qe={AdwPreferencesPage:e,AdwPreferencesGroup:t,AdwActionRow:n,AdwSwitchRow:r,AdwEntryRow:a,AdwPasswordEntryRow:m,AdwComboRow:g,AdwSpinRow:_,AdwSliderRow:v,AdwExpanderRow:y,AdwButton:b,AdwImageButton:f,AdwMenuButton:x,AdwIcon:h,AdwBanner:S,AdwAvatar:C,AdwWindowTitle:w,AdwClamp:T,AdwHeaderBar:D,AdwToolbarView:O,AdwWrapBox:k,AdwSpinner:A,AdwStatusPage:M,AdwButtonRow:P,AdwButtonContent:F,AdwSplitButton:I,AdwToggleGroup:L,AdwViewStack:R,AdwViewSwitcher:z,AdwViewSwitcherBar:B,AdwInlineViewSwitcher:V,AdwTabView:H,AdwCarousel:U,AdwNavigationView:W,AdwNavigationSplitView:G,AdwOverlaySplitView:K,AdwSidebar:q,AdwBottomSheet:J,AdwToastOverlay:Y,AdwAboutDialog:Z,AdwPreferencesDialog:Q};let $=!1;function registerAdwaitaElements(){if(!$&&typeof registerElement==`function`){for(let[e,t]of Object.entries(qe))registerElement(e,()=>t);$=!0}}export{Ve as ABOUT_CLOSED,N as ACTIVATED,ae as ADWAITA_ICON_GRID,Z as AdwAboutDialog,n as AdwActionRow,Re as AdwAlertDialog,ze as AdwAlertResponses,C as AdwAvatar,S as AdwBanner,J as AdwBottomSheet,Ue as AdwBreakpoint,b as AdwButton,F as AdwButtonContent,P as AdwButtonRow,U as AdwCarousel,T as AdwClamp,g as AdwComboRow,a as AdwEntryRow,y as AdwExpanderRow,D as AdwHeaderBar,h as AdwIcon,f as AdwImageButton,V as AdwInlineViewSwitcher,x as AdwMenuButton,G as AdwNavigationSplitView,W as AdwNavigationView,K as AdwOverlaySplitView,m as AdwPasswordEntryRow,Q as AdwPreferencesDialog,t as AdwPreferencesGroup,e as AdwPreferencesPage,q as AdwSidebar,v as AdwSliderRow,_ as AdwSpinRow,A as AdwSpinner,I as AdwSplitButton,Ae as AdwSplitViewBase,M as AdwStatusPage,r as AdwSwitchRow,H as AdwTabView,Fe as AdwToast,Y as AdwToastOverlay,Ie as AdwToastQueue,L as AdwToggleGroup,O as AdwToolbarView,R as AdwViewStack,z as AdwViewSwitcher,B as AdwViewSwitcherBar,Te as AdwViewSwitcherBase,w as AdwWindowTitle,k as AdwWrapBox,_e as BUTTON_CLICKED,be as CLICKED,le as ComboState,ce as DEFAULT_ADW_ICON_SIZE,ve as DEFAULT_AVATAR_SIZE,De as DEFAULT_CAROUSEL_PAGE_WIDTH,E as DEFAULT_CLAMP_MAX_SIZE,p as DEFAULT_ICON_BUTTON_ICON_SIZE,oe as DEFAULT_ICON_COLOR,se as DEFAULT_ICON_COLOR_DARK,je as DEFAULT_SIDEBAR_WIDTH,j as DEFAULT_SPINNER_SIZE,Le as DEFAULT_TOAST_TIMEOUT,me as ExpanderState,ge as MENU_ITEM_ACTIVATED,xe as MENU_TAPPED,i as NOTIFY_ACTIVE,he as NOTIFY_EXPANDED,Pe as NOTIFY_OPEN,Oe as NOTIFY_POSITION,Be as NOTIFY_RESPONSE,ue as NOTIFY_SELECTED,Me as NOTIFY_SHOW_SIDEBAR,Ne as NOTIFY_SIDEBAR_SELECTED,pe as NOTIFY_SLIDER_VALUE,o as NOTIFY_TEXT,Se as NOTIFY_TOGGLE_SELECTED,de as NOTIFY_VALUE,Ee as NOTIFY_VIEW_SELECTED,we as NOTIFY_VISIBLE_CHILD,ke as NOTIFY_VISIBLE_PAGE,He as PREFERENCES_CLOSED,fe as SpinState,X as TOAST_BUTTON_CLICKED,Ce as ToggleGroupState,We as addBreakpoints,s as adwaitaColorScheme,d as attachRowPressFeedback,ye as avatarInitials,Ge as evaluateBreakpointCondition,c as extractIconPaths,l as extractPathData,ee as isThemeIconColor,te as onAdwaitaColorSchemeChanged,Ke as parseBreakpointCondition,registerAdwaitaElements,u as renderSymbolicIcon,ne as setAdwaitaColorScheme,re as themeIconColor,ie as toggleAdwaitaColorScheme};
@@ -1,6 +1,6 @@
1
1
  export { assertNativeScript, isNativeScript, isAndroid, isIOS } from '@gjsify/native-platform';
2
- export { AdwPreferencesPage, AdwPreferencesGroup, AdwActionRow, AdwSwitchRow, NOTIFY_ACTIVE, AdwEntryRow, NOTIFY_TEXT, AdwPasswordEntryRow, AdwComboRow, NOTIFY_SELECTED, AdwSpinRow, NOTIFY_VALUE, AdwSliderRow, NOTIFY_SLIDER_VALUE, AdwExpanderRow, NOTIFY_EXPANDED, AdwButton, AdwImageButton, DEFAULT_ICON_BUTTON_ICON_SIZE, AdwMenuButton, MENU_ITEM_ACTIVATED, AdwIcon, DEFAULT_ADW_ICON_SIZE, AdwBanner, BUTTON_CLICKED, AdwAvatar, DEFAULT_AVATAR_SIZE, avatarInitials, AdwWindowTitle, AdwClamp, DEFAULT_CLAMP_MAX_SIZE, AdwHeaderBar, AdwToolbarView, AdwWrapBox, AdwSpinner, DEFAULT_SPINNER_SIZE, AdwStatusPage, AdwButtonRow, ACTIVATED, AdwButtonContent, AdwSplitButton, CLICKED, MENU_TAPPED, AdwToggleGroup, NOTIFY_TOGGLE_SELECTED, AdwViewStack, NOTIFY_VISIBLE_CHILD, AdwViewSwitcherBase, NOTIFY_VIEW_SELECTED, AdwViewSwitcher, AdwViewSwitcherBar, AdwInlineViewSwitcher, AdwTabView, AdwCarousel, DEFAULT_CAROUSEL_PAGE_WIDTH, NOTIFY_POSITION, AdwNavigationView, NOTIFY_VISIBLE_PAGE, AdwSplitViewBase, DEFAULT_SIDEBAR_WIDTH, NOTIFY_SHOW_SIDEBAR, AdwNavigationSplitView, AdwOverlaySplitView, AdwSidebar, NOTIFY_SIDEBAR_SELECTED, AdwBottomSheet, NOTIFY_OPEN, AdwToast, AdwToastOverlay, AdwToastQueue, DEFAULT_TOAST_TIMEOUT, TOAST_BUTTON_CLICKED, AdwAlertDialog, AdwAlertResponses, NOTIFY_RESPONSE, AdwAboutDialog, ABOUT_CLOSED, AdwPreferencesDialog, PREFERENCES_CLOSED, attachRowPressFeedback, renderSymbolicIcon, extractIconPaths, extractPathData, ADWAITA_ICON_GRID, DEFAULT_ICON_COLOR, DEFAULT_ICON_COLOR_DARK, adwaitaColorScheme, isThemeIconColor, onAdwaitaColorSchemeChanged, setAdwaitaColorScheme, themeIconColor, toggleAdwaitaColorScheme, AdwBreakpoint, addBreakpoints, evaluateBreakpointCondition, parseBreakpointCondition, registerAdwaitaElements, } from './widgets/index.js';
3
- export type { NotifyActiveEventData, NotifyTextEventData, AdwComboOption, NotifySelectedEventData, NotifyValueEventData, NotifySliderValueEventData, NotifyExpandedEventData, AdwButtonVariant, AdwMenuItem, MenuItemActivatedEventData, MenuTappedEventData, NotifyToggleSelectedEventData, AdwViewStackPage, NotifyVisibleChildEventData, AdwViewPage, NotifyViewSelectedEventData, NotifyPositionEventData, NotifyVisiblePageEventData, NotifyShowSidebarEventData, NotifySidebarSelectedEventData, NotifyOpenEventData, AdwToastOptions, AdwToastQueueHandlers, AdwToastQueueOptions, ToastScheduler, ToastTimerHandle, NotifyResponseEventData, AdwAlertResponse, AdwResponseAppearance, AdwResponseOptions, OrderedConfirmResponses, SymbolicIconOptions, IconPath, AdwColorScheme, AdwBreakpointHandlers, BreakpointBound, BreakpointConditionGroup, BreakpointConditionLeaf, BreakpointConditionNode, BreakpointDimension, BreakpointSize, } from './widgets/index.js';
2
+ export { AdwPreferencesPage, AdwPreferencesGroup, AdwActionRow, AdwSwitchRow, NOTIFY_ACTIVE, AdwEntryRow, NOTIFY_TEXT, AdwPasswordEntryRow, AdwComboRow, ComboState, NOTIFY_SELECTED, AdwSpinRow, SpinState, NOTIFY_VALUE, AdwSliderRow, NOTIFY_SLIDER_VALUE, AdwExpanderRow, ExpanderState, NOTIFY_EXPANDED, AdwButton, AdwImageButton, DEFAULT_ICON_BUTTON_ICON_SIZE, AdwMenuButton, MENU_ITEM_ACTIVATED, AdwIcon, DEFAULT_ADW_ICON_SIZE, AdwBanner, BUTTON_CLICKED, AdwAvatar, DEFAULT_AVATAR_SIZE, avatarInitials, AdwWindowTitle, AdwClamp, DEFAULT_CLAMP_MAX_SIZE, AdwHeaderBar, AdwToolbarView, AdwWrapBox, AdwSpinner, DEFAULT_SPINNER_SIZE, AdwStatusPage, AdwButtonRow, ACTIVATED, AdwButtonContent, AdwSplitButton, CLICKED, MENU_TAPPED, AdwToggleGroup, ToggleGroupState, NOTIFY_TOGGLE_SELECTED, AdwViewStack, NOTIFY_VISIBLE_CHILD, AdwViewSwitcherBase, NOTIFY_VIEW_SELECTED, AdwViewSwitcher, AdwViewSwitcherBar, AdwInlineViewSwitcher, AdwTabView, AdwCarousel, DEFAULT_CAROUSEL_PAGE_WIDTH, NOTIFY_POSITION, AdwNavigationView, NOTIFY_VISIBLE_PAGE, AdwSplitViewBase, DEFAULT_SIDEBAR_WIDTH, NOTIFY_SHOW_SIDEBAR, AdwNavigationSplitView, AdwOverlaySplitView, AdwSidebar, NOTIFY_SIDEBAR_SELECTED, AdwBottomSheet, NOTIFY_OPEN, AdwToast, AdwToastOverlay, AdwToastQueue, DEFAULT_TOAST_TIMEOUT, TOAST_BUTTON_CLICKED, AdwAlertDialog, AdwAlertResponses, NOTIFY_RESPONSE, AdwAboutDialog, ABOUT_CLOSED, AdwPreferencesDialog, PREFERENCES_CLOSED, attachRowPressFeedback, renderSymbolicIcon, extractIconPaths, extractPathData, ADWAITA_ICON_GRID, DEFAULT_ICON_COLOR, DEFAULT_ICON_COLOR_DARK, adwaitaColorScheme, isThemeIconColor, onAdwaitaColorSchemeChanged, setAdwaitaColorScheme, themeIconColor, toggleAdwaitaColorScheme, AdwBreakpoint, addBreakpoints, evaluateBreakpointCondition, parseBreakpointCondition, registerAdwaitaElements, } from './widgets/index.js';
3
+ export type { NotifyActiveEventData, NotifyTextEventData, AdwComboOption, ComboStateChange, ComboStateListener, NotifySelectedEventData, NotifyValueEventData, SpinStateChange, SpinStateListener, NotifySliderValueEventData, NotifyExpandedEventData, ExpanderStateListener, AdwButtonVariant, AdwMenuItem, MenuItemActivatedEventData, MenuTappedEventData, NotifyToggleSelectedEventData, ToggleGroupStateChange, ToggleGroupStateListener, AdwViewStackPage, NotifyVisibleChildEventData, AdwViewPage, NotifyViewSelectedEventData, NotifyPositionEventData, NotifyVisiblePageEventData, NotifyShowSidebarEventData, NotifySidebarSelectedEventData, NotifyOpenEventData, AdwToastOptions, AdwToastQueueHandlers, AdwToastQueueOptions, ToastScheduler, ToastTimerHandle, NotifyResponseEventData, AdwAlertResponse, AdwResponseAppearance, AdwResponseOptions, OrderedConfirmResponses, SymbolicIconOptions, IconPath, AdwColorScheme, AdwBreakpointHandlers, BreakpointBound, BreakpointConditionGroup, BreakpointConditionLeaf, BreakpointConditionNode, BreakpointDimension, BreakpointSize, } from './widgets/index.js';
4
4
  export { ADWAITA_SANS_FONT_FAMILY, ADWAITA_SANS_TTF_FILES, adwaitaFontInstallInstructions, hasAdwaitaSans, } from './fonts.js';
5
5
  /**
6
6
  * One-call convenience setup for the Adwaita NativeScript layer.
@@ -1,13 +1,9 @@
1
1
  import { Label, type EventData } from '@nativescript/core';
2
+ import type { AdwComboOption } from '@gjsify/adwaita-core';
2
3
  import { AdwActionRow } from './adw-action-row.js';
3
4
  import { AdwIcon } from './adw-icon.js';
4
- /** One selectable option in an {@link AdwComboRow}. */
5
- export interface AdwComboOption {
6
- /** Display label shown in the row + chooser. */
7
- label: string;
8
- /** Underlying value returned by {@link AdwComboRow.selectedValue}. */
9
- value: string;
10
- }
5
+ export { ComboState } from '@gjsify/adwaita-core';
6
+ export type { AdwComboOption, ComboStateChange, ComboStateListener } from '@gjsify/adwaita-core';
11
7
  /** Event name emitted when {@link AdwComboRow.selectedIndex} changes. Mirrors GObject `notify::selected`. */
12
8
  export declare const NOTIFY_SELECTED = "notify::selected";
13
9
  /** Payload of the `notify::selected` event. */
@@ -22,14 +18,11 @@ export declare class AdwComboRow extends AdwActionRow {
22
18
  protected readonly _valueLabel: Label;
23
19
  /** The down-chevron — a real Adwaita `pan-down-symbolic` icon. */
24
20
  protected readonly _chevron: AdwIcon;
25
- private _options;
26
- private _selectedIndex;
21
+ /** The headless options list + selectedIndex↔selectedValue state machine (ADR 0004). */
22
+ private readonly _state;
27
23
  constructor();
28
24
  /** Open the native action chooser and apply the picked option. */
29
25
  private _openChooser;
30
- /** Refresh the inline value label from the current selection. */
31
- private _syncValueLabel;
32
- private _emitSelected;
33
26
  /** The selectable options. Updates the inline value label. */
34
27
  get options(): AdwComboOption[];
35
28
  set options(value: AdwComboOption[]);
@@ -1,6 +1,8 @@
1
1
  import { ItemSpec, StackLayout, View, type EventData } from '@nativescript/core';
2
2
  import { AdwActionRow } from './adw-action-row.js';
3
3
  import { AdwIcon } from './adw-icon.js';
4
+ export { ExpanderState } from '@gjsify/adwaita-core';
5
+ export type { ExpanderStateListener } from '@gjsify/adwaita-core';
4
6
  /** Event name emitted when {@link AdwExpanderRow.expanded} changes. Mirrors GObject `notify::expanded`. */
5
7
  export declare const NOTIFY_EXPANDED = "notify::expanded";
6
8
  /** Payload of the `notify::expanded` event. */
@@ -13,7 +15,8 @@ export declare class AdwExpanderRow extends AdwActionRow {
13
15
  protected readonly _toggle: AdwIcon;
14
16
  /** The container of revealed child rows (second grid row). */
15
17
  protected readonly _disclosure: StackLayout;
16
- private _expanded;
18
+ /** The headless expanded/collapsed disclosure state machine (ADR 0004). */
19
+ private readonly _state;
17
20
  constructor();
18
21
  /** Append a child row (or any view) to the disclosure container. */
19
22
  addRow(viewOrSpec: View | ItemSpec): void;
@@ -1,6 +1,9 @@
1
- import { Label, type EventData } from '@nativescript/core';
1
+ import { Label } from '@nativescript/core';
2
+ import type { EventData } from '@nativescript/core';
2
3
  import { AdwActionRow } from './adw-action-row.js';
3
4
  import { AdwImageButton } from './adw-image-button.js';
5
+ export { SpinState } from '@gjsify/adwaita-core';
6
+ export type { SpinStateChange, SpinStateListener } from '@gjsify/adwaita-core';
4
7
  /** Event name emitted when {@link AdwSpinRow.value} changes. Mirrors GObject `notify::value`. */
5
8
  export declare const NOTIFY_VALUE = "notify::value";
6
9
  /** Payload of the `notify::value` event. */
@@ -15,14 +18,9 @@ export declare class AdwSpinRow extends AdwActionRow {
15
18
  protected readonly _plusButton: AdwImageButton;
16
19
  /** The value display before the stepper buttons. */
17
20
  protected readonly _valueLabel: Label;
18
- private _value;
19
- private _min;
20
- private _max;
21
- private _step;
21
+ /** The headless value/min/max/step clamp-and-step state machine (ADR 0004). */
22
+ private readonly _state;
22
23
  constructor();
23
- /** Apply a delta, clamp to `[min, max]`, update the label and emit `notify::value`. */
24
- private _bump;
25
- private _clamp;
26
24
  /** The current numeric value (always within `[min, max]`). */
27
25
  get value(): number;
28
26
  set value(v: number);
@@ -1,4 +1,6 @@
1
1
  import { StackLayout, type EventData } from '@nativescript/core';
2
+ export { ToggleGroupState } from '@gjsify/adwaita-core';
3
+ export type { ToggleGroupStateChange, ToggleGroupStateListener } from '@gjsify/adwaita-core';
2
4
  /** Event name emitted when {@link AdwToggleGroup.selected} changes. Mirrors GObject `notify::selected`. */
3
5
  export declare const NOTIFY_SELECTED = "notify::selected";
4
6
  /** Payload of the `notify::selected` event. */
@@ -16,7 +18,8 @@ export interface AdwToggle {
16
18
  export declare class AdwToggleGroup extends StackLayout {
17
19
  private _toggles;
18
20
  private readonly _segments;
19
- private _selected;
21
+ /** The headless labels + selected-index state machine (ADR 0004). */
22
+ private readonly _state;
20
23
  constructor();
21
24
  /** The segment labels (icon-less). Setting them rebuilds the toggle group. */
22
25
  get options(): string[];
@@ -6,14 +6,14 @@ export type { NotifyActiveEventData } from './adw-switch-row.js';
6
6
  export { AdwEntryRow, NOTIFY_TEXT } from './adw-entry-row.js';
7
7
  export type { NotifyTextEventData } from './adw-entry-row.js';
8
8
  export { AdwPasswordEntryRow } from './adw-password-entry-row.js';
9
- export { AdwComboRow, NOTIFY_SELECTED } from './adw-combo-row.js';
10
- export type { AdwComboOption, NotifySelectedEventData } from './adw-combo-row.js';
11
- export { AdwSpinRow, NOTIFY_VALUE } from './adw-spin-row.js';
12
- export type { NotifyValueEventData } from './adw-spin-row.js';
9
+ export { AdwComboRow, ComboState, NOTIFY_SELECTED } from './adw-combo-row.js';
10
+ export type { AdwComboOption, ComboStateChange, ComboStateListener, NotifySelectedEventData } from './adw-combo-row.js';
11
+ export { AdwSpinRow, NOTIFY_VALUE, SpinState } from './adw-spin-row.js';
12
+ export type { NotifyValueEventData, SpinStateChange, SpinStateListener } from './adw-spin-row.js';
13
13
  export { AdwSliderRow, NOTIFY_SLIDER_VALUE } from './adw-slider-row.js';
14
14
  export type { NotifySliderValueEventData } from './adw-slider-row.js';
15
- export { AdwExpanderRow, NOTIFY_EXPANDED } from './adw-expander-row.js';
16
- export type { NotifyExpandedEventData } from './adw-expander-row.js';
15
+ export { AdwExpanderRow, ExpanderState, NOTIFY_EXPANDED } from './adw-expander-row.js';
16
+ export type { ExpanderStateListener, NotifyExpandedEventData } from './adw-expander-row.js';
17
17
  export { AdwButton } from './adw-button.js';
18
18
  export type { AdwButtonVariant } from './adw-button.js';
19
19
  export { AdwImageButton, DEFAULT_ICON_BUTTON_ICON_SIZE } from './adw-image-button.js';
@@ -33,8 +33,8 @@ export { AdwButtonRow, ACTIVATED } from './adw-button-row.js';
33
33
  export { AdwButtonContent } from './adw-button-content.js';
34
34
  export { AdwSplitButton, CLICKED, MENU_TAPPED } from './adw-split-button.js';
35
35
  export type { MenuTappedEventData } from './adw-split-button.js';
36
- export { AdwToggleGroup, NOTIFY_SELECTED as NOTIFY_TOGGLE_SELECTED } from './adw-toggle-group.js';
37
- export type { NotifyToggleSelectedEventData } from './adw-toggle-group.js';
36
+ export { AdwToggleGroup, NOTIFY_SELECTED as NOTIFY_TOGGLE_SELECTED, ToggleGroupState } from './adw-toggle-group.js';
37
+ export type { NotifyToggleSelectedEventData, ToggleGroupStateChange, ToggleGroupStateListener, } from './adw-toggle-group.js';
38
38
  export { AdwViewStack, NOTIFY_VISIBLE_CHILD } from './adw-view-stack.js';
39
39
  export type { AdwViewStackPage, NotifyVisibleChildEventData } from './adw-view-stack.js';
40
40
  export { AdwViewSwitcherBase, NOTIFY_SELECTED as NOTIFY_VIEW_SELECTED } from './view-switcher-base.js';
@@ -66,7 +66,7 @@ export { ADWAITA_ICON_GRID, DEFAULT_ICON_COLOR, DEFAULT_ICON_COLOR_DARK, extract
66
66
  export type { IconPath, SymbolicIconOptions } from './icons.js';
67
67
  export { adwaitaColorScheme, isThemeIconColor, onAdwaitaColorSchemeChanged, setAdwaitaColorScheme, themeIconColor, toggleAdwaitaColorScheme, } from './color-scheme.js';
68
68
  export type { AdwColorScheme } from './color-scheme.js';
69
- export { AdwBreakpoint, addBreakpoints, evaluateBreakpointCondition, parseBreakpointCondition, } from './breakpoint.js';
69
+ export { AdwBreakpoint, addBreakpoints, evaluateBreakpointCondition, parseBreakpointCondition } from './breakpoint.js';
70
70
  export type { AdwBreakpointHandlers, BreakpointBound, BreakpointConditionGroup, BreakpointConditionLeaf, BreakpointConditionNode, BreakpointDimension, BreakpointSize, } from './breakpoint.js';
71
71
  /**
72
72
  * Register all Adwaita widgets as NativeScript XML elements (idempotent).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gjsify/adwaita-nativescript",
3
- "version": "0.15.1",
3
+ "version": "0.16.1",
4
4
  "description": "Native Adwaita widgets for the NativeScript runtime — real NativeScript components (StackLayout/GridLayout/Switch/Label) styled like Libadwaita, not a webview",
5
5
  "type": "module",
6
6
  "module": "lib/esm/index.js",
@@ -47,10 +47,10 @@
47
47
  "design-system"
48
48
  ],
49
49
  "dependencies": {
50
- "@gjsify/adwaita-core": "^0.15.1",
51
- "@gjsify/adwaita-fonts": "^0.15.1",
52
- "@gjsify/adwaita-icons": "^0.15.1",
53
- "@gjsify/native-platform": "^0.15.1"
50
+ "@gjsify/adwaita-core": "^0.16.1",
51
+ "@gjsify/adwaita-fonts": "^0.16.1",
52
+ "@gjsify/adwaita-icons": "^0.16.1",
53
+ "@gjsify/native-platform": "^0.16.1"
54
54
  },
55
55
  "peerDependencies": {
56
56
  "@nativescript/core": "*"
@@ -61,8 +61,8 @@
61
61
  }
62
62
  },
63
63
  "devDependencies": {
64
- "@gjsify/cli": "^0.15.1",
65
- "@gjsify/unit": "^0.15.1",
64
+ "@gjsify/cli": "^0.16.1",
65
+ "@gjsify/unit": "^0.16.1",
66
66
  "@types/node": "^25.9.2",
67
67
  "typescript": "^6.0.3"
68
68
  },