@xh/hoist 76.0.0-SNAPSHOT.1756835394167 → 76.0.0-SNAPSHOT.1756924112722

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.
@@ -705,11 +705,13 @@ export class ViewManagerModel<T = PlainObject> extends HoistModel {
705
705
  const latestInfo = latest.info,
706
706
  {typeDisplayName, globalDisplayName} = this,
707
707
  msgs: ReactNode[] = [`Save ${view.typedName}?`];
708
+
708
709
  if (isGlobal) {
709
710
  msgs.push(
710
711
  span(
711
- `This is a ${globalDisplayName} ${typeDisplayName}. `,
712
- strong('Changes will be visible to all users.')
712
+ strong(
713
+ `This is a ${globalDisplayName} ${typeDisplayName}. Changes will be visible to all users.`
714
+ )
713
715
  )
714
716
  );
715
717
  }
@@ -725,7 +727,9 @@ export class ViewManagerModel<T = PlainObject> extends HoistModel {
725
727
  return XH.confirm({
726
728
  message: fragment(msgs.map(m => p(m))),
727
729
  confirmProps: {
728
- text: 'Yes, save changes',
730
+ text: isGlobal
731
+ ? `Yes, update ${globalDisplayName} ${typeDisplayName}`
732
+ : 'Yes, save changes',
729
733
  intent: 'primary',
730
734
  outlined: true,
731
735
  autoFocus: false
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xh/hoist",
3
- "version": "76.0.0-SNAPSHOT.1756835394167",
3
+ "version": "76.0.0-SNAPSHOT.1756924112722",
4
4
  "description": "Hoist add-on for building and deploying React Applications.",
5
5
  "repository": "github:xh/hoist-react",
6
6
  "homepage": "https://xh.io",