@nice2dev/ui 1.3.15 → 1.3.17

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.
Files changed (38) hide show
  1. package/CHANGELOG.md +90 -0
  2. package/dist/{NiceDataGrid-BwiBkE3u.cjs → NiceDataGrid-aNPAHsWy.cjs} +1 -1
  3. package/dist/NiceEventOrchestrator.doc-Dwtq2s_L.cjs +6 -0
  4. package/dist/{NiceForm-Cxvh2O6y.cjs → NiceForm-BtRBLffD.cjs} +1 -1
  5. package/dist/{NiceMention-CYTx04JY.cjs → NiceMention-CMqAGvO0.cjs} +1 -1
  6. package/dist/NiceModuleLifecyclePanel-ugNtHimh.cjs +1 -0
  7. package/dist/{NicePagination-CKsAP38Q.cjs → NicePagination-D7XxeNFz.cjs} +1 -1
  8. package/dist/{NiceSavedQueryPanel-CN1rCPFs.cjs → NiceSavedQueryPanel-JHrSlHAV.cjs} +1 -1
  9. package/dist/{NiceScheduler-K8ZAqFCQ.cjs → NiceScheduler-2TwOZq-y.cjs} +1 -1
  10. package/dist/{core-lazy-DfNWyf__.cjs → core-lazy-Cda-D35m.cjs} +1 -1
  11. package/dist/data.cjs +1 -1
  12. package/dist/docs/NiceEventOrchestrator.doc.json.mjs +19 -19
  13. package/dist/editors/inputs/NiceNumberInput.mjs +27 -27
  14. package/dist/editors.cjs +1 -1
  15. package/dist/index.cjs +220 -220
  16. package/dist/index.d.ts +129 -62
  17. package/dist/index.mjs +912 -910
  18. package/dist/lazy.cjs +1 -1
  19. package/dist/navigation/NiceFirstRunPreferences.mjs +55 -54
  20. package/dist/navigation/NiceNavShell.mjs +429 -429
  21. package/dist/navigation/NiceSetupWizard.mjs +333 -317
  22. package/dist/navigation/NiceSidebarNav.mjs +1111 -1039
  23. package/dist/navigation/menuBuilderModel.mjs +1 -1
  24. package/dist/navigation/sidebarColors.mjs +67 -39
  25. package/dist/navigation/sidebarNavTypes.mjs +16 -14
  26. package/dist/navigation/sidebarPrefs/NiceSidebarPrefsDisplay.mjs +120 -42
  27. package/dist/navigation.cjs +1 -1
  28. package/dist/navigation.d.ts +32 -6
  29. package/dist/{no-code-BQqK8mvU.cjs → no-code-B3BHeyG-.cjs} +1 -1
  30. package/dist/no-code.cjs +1 -1
  31. package/dist/style.css +2 -2
  32. package/dist/tools/NiceThemeDesigner.mjs +1359 -900
  33. package/dist/tools/NiceThemePreview.mjs +18 -18
  34. package/dist/tools/themeCatalog.mjs +50 -0
  35. package/dist/workflow/NiceWorkflowDesigner.mjs +452 -898
  36. package/package.json +5 -5
  37. package/dist/NiceEventOrchestrator.doc-CxjsLxBG.cjs +0 -6
  38. package/dist/NiceModuleLifecyclePanel-DHHAjwQx.cjs +0 -1
package/dist/lazy.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react"),n=a.lazy(()=>Promise.resolve().then(()=>require("./devops-cgRBnZVX.cjs")).then(e=>e.NiceGitGraph$1).then(e=>({default:e.NiceGitGraph}))),o=a.lazy(()=>Promise.resolve().then(()=>require("./devops-cgRBnZVX.cjs")).then(e=>e.NiceBranchManager$1).then(e=>({default:e.NiceBranchManager}))),l=a.lazy(()=>Promise.resolve().then(()=>require("./devops-cgRBnZVX.cjs")).then(e=>e.NiceGitDiffViewer$1).then(e=>({default:e.NiceGitDiffViewer}))),s=a.lazy(()=>Promise.resolve().then(()=>require("./devops-cgRBnZVX.cjs")).then(e=>e.NiceGitBlame$1).then(e=>({default:e.NiceGitBlame}))),h=a.lazy(()=>Promise.resolve().then(()=>require("./devops-cgRBnZVX.cjs")).then(e=>e.NiceGitConflictResolver$1).then(e=>({default:e.NiceGitConflictResolver}))),c=a.lazy(()=>Promise.resolve().then(()=>require("./devops-cgRBnZVX.cjs")).then(e=>e.NicePipelineEditor$1).then(e=>({default:e.NicePipelineEditor}))),y=a.lazy(()=>Promise.resolve().then(()=>require("./devops-cgRBnZVX.cjs")).then(e=>e.NicePipelineMonitor$1).then(e=>({default:e.NicePipelineMonitor}))),u=a.lazy(()=>Promise.resolve().then(()=>require("./devops-cgRBnZVX.cjs")).then(e=>e.NiceGitHooks$1).then(e=>({default:e.NiceGitHooks}))),z=a.lazy(()=>Promise.resolve().then(()=>require("./devops-cgRBnZVX.cjs")).then(e=>e.NiceMergeRequestBuilder$1).then(e=>({default:e.NiceMergeRequestBuilder}))),d=a.lazy(()=>Promise.resolve().then(()=>require("./no-code-BQqK8mvU.cjs")).then(e=>e.NiceAPIFlow$1).then(e=>({default:e.NiceAPIFlow}))),f=a.lazy(()=>Promise.resolve().then(()=>require("./no-code-BQqK8mvU.cjs")).then(e=>e.NiceCodeTemplate$1).then(e=>({default:e.NiceCodeTemplate}))),N=a.lazy(()=>Promise.resolve().then(()=>require("./no-code-BQqK8mvU.cjs")).then(e=>e.NiceDataMapper$1).then(e=>({default:e.NiceDataMapper}))),L=a.lazy(()=>Promise.resolve().then(()=>require("./no-code-BQqK8mvU.cjs")).then(e=>e.NiceEventOrchestrator$1).then(e=>({default:e.NiceEventOrchestrator}))),p=a.lazy(()=>Promise.resolve().then(()=>require("./no-code-BQqK8mvU.cjs")).then(e=>e.NiceStateDesigner$1).then(e=>({default:e.NiceStateDesigner}))),v=a.lazy(()=>Promise.resolve().then(()=>require("./no-code-BQqK8mvU.cjs")).then(e=>e.NiceTestBuilder$1).then(e=>({default:e.NiceTestBuilder}))),D=a.lazy(()=>Promise.resolve().then(()=>require("./data-branching-7rpktFJ-.cjs")).then(e=>e.NiceDataBranchManager$1).then(e=>({default:e.NiceDataBranchManager}))),P=a.lazy(()=>Promise.resolve().then(()=>require("./data-branching-7rpktFJ-.cjs")).then(e=>e.NiceDataDiffViewer$1).then(e=>({default:e.NiceDataDiffViewer}))),m=a.lazy(()=>Promise.resolve().then(()=>require("./data-branching-7rpktFJ-.cjs")).then(e=>e.NiceDataBranchGraph$1).then(e=>({default:e.NiceDataBranchGraph}))),q=a.lazy(()=>Promise.resolve().then(()=>require("./data-branching-7rpktFJ-.cjs")).then(e=>e.NiceDataMergeBuilder$1).then(e=>({default:e.NiceDataMergeBuilder}))),B=a.lazy(()=>Promise.resolve().then(()=>require("./data-branching-7rpktFJ-.cjs")).then(e=>e.NiceDataConflictResolver$1).then(e=>({default:e.NiceDataConflictResolver}))),M=a.lazy(()=>Promise.resolve().then(()=>require("./data-branching-7rpktFJ-.cjs")).then(e=>e.NiceDataSnapshot$1).then(e=>({default:e.NiceDataSnapshot}))),G=a.lazy(()=>Promise.resolve().then(()=>require("./charts-B0tHOpJ7.cjs")).then(e=>e.NiceChart$1).then(e=>({default:e.NiceChart}))),g=a.lazy(()=>Promise.resolve().then(()=>require("./charts-B0tHOpJ7.cjs")).then(e=>e.NiceTreeMap$1).then(e=>({default:e.NiceTreeMap}))),$=a.lazy(()=>Promise.resolve().then(()=>require("./charts-B0tHOpJ7.cjs")).then(e=>e.NiceSankey$1).then(e=>({default:e.NiceSankey}))),t=()=>{Promise.resolve().then(()=>require("./devops.cjs"))},r=()=>{Promise.resolve().then(()=>require("./no-code.cjs"))},i=()=>{Promise.resolve().then(()=>require("./data-branching.cjs"))},C=()=>{"requestIdleCallback"in window?requestIdleCallback(()=>{t(),r(),i()}):setTimeout(()=>{t(),r(),i()},2e3)};exports.LazyAPIFlow=d;exports.LazyBranchManager=o;exports.LazyChart=G;exports.LazyCodeTemplate=f;exports.LazyDataBranchGraph=m;exports.LazyDataBranchManager=D;exports.LazyDataConflictResolver=B;exports.LazyDataDiffViewer=P;exports.LazyDataMapper=N;exports.LazyDataMergeBuilder=q;exports.LazyDataSnapshot=M;exports.LazyEventOrchestrator=L;exports.LazyGitBlame=s;exports.LazyGitConflictResolver=h;exports.LazyGitDiffViewer=l;exports.LazyGitGraph=n;exports.LazyGitHooks=u;exports.LazyMergeRequestBuilder=z;exports.LazyPipelineEditor=c;exports.LazyPipelineMonitor=y;exports.LazySankey=$;exports.LazyStateDesigner=p;exports.LazyTestBuilder=v;exports.LazyTreemap=g;exports.preloadDataBranching=i;exports.preloadDevOps=t;exports.preloadHeavyModules=C;exports.preloadNoCode=r;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react"),n=a.lazy(()=>Promise.resolve().then(()=>require("./devops-cgRBnZVX.cjs")).then(e=>e.NiceGitGraph$1).then(e=>({default:e.NiceGitGraph}))),o=a.lazy(()=>Promise.resolve().then(()=>require("./devops-cgRBnZVX.cjs")).then(e=>e.NiceBranchManager$1).then(e=>({default:e.NiceBranchManager}))),l=a.lazy(()=>Promise.resolve().then(()=>require("./devops-cgRBnZVX.cjs")).then(e=>e.NiceGitDiffViewer$1).then(e=>({default:e.NiceGitDiffViewer}))),s=a.lazy(()=>Promise.resolve().then(()=>require("./devops-cgRBnZVX.cjs")).then(e=>e.NiceGitBlame$1).then(e=>({default:e.NiceGitBlame}))),h=a.lazy(()=>Promise.resolve().then(()=>require("./devops-cgRBnZVX.cjs")).then(e=>e.NiceGitConflictResolver$1).then(e=>({default:e.NiceGitConflictResolver}))),c=a.lazy(()=>Promise.resolve().then(()=>require("./devops-cgRBnZVX.cjs")).then(e=>e.NicePipelineEditor$1).then(e=>({default:e.NicePipelineEditor}))),y=a.lazy(()=>Promise.resolve().then(()=>require("./devops-cgRBnZVX.cjs")).then(e=>e.NicePipelineMonitor$1).then(e=>({default:e.NicePipelineMonitor}))),u=a.lazy(()=>Promise.resolve().then(()=>require("./devops-cgRBnZVX.cjs")).then(e=>e.NiceGitHooks$1).then(e=>({default:e.NiceGitHooks}))),z=a.lazy(()=>Promise.resolve().then(()=>require("./devops-cgRBnZVX.cjs")).then(e=>e.NiceMergeRequestBuilder$1).then(e=>({default:e.NiceMergeRequestBuilder}))),d=a.lazy(()=>Promise.resolve().then(()=>require("./no-code-B3BHeyG-.cjs")).then(e=>e.NiceAPIFlow$1).then(e=>({default:e.NiceAPIFlow}))),f=a.lazy(()=>Promise.resolve().then(()=>require("./no-code-B3BHeyG-.cjs")).then(e=>e.NiceCodeTemplate$1).then(e=>({default:e.NiceCodeTemplate}))),N=a.lazy(()=>Promise.resolve().then(()=>require("./no-code-B3BHeyG-.cjs")).then(e=>e.NiceDataMapper$1).then(e=>({default:e.NiceDataMapper}))),L=a.lazy(()=>Promise.resolve().then(()=>require("./no-code-B3BHeyG-.cjs")).then(e=>e.NiceEventOrchestrator$1).then(e=>({default:e.NiceEventOrchestrator}))),p=a.lazy(()=>Promise.resolve().then(()=>require("./no-code-B3BHeyG-.cjs")).then(e=>e.NiceStateDesigner$1).then(e=>({default:e.NiceStateDesigner}))),v=a.lazy(()=>Promise.resolve().then(()=>require("./no-code-B3BHeyG-.cjs")).then(e=>e.NiceTestBuilder$1).then(e=>({default:e.NiceTestBuilder}))),D=a.lazy(()=>Promise.resolve().then(()=>require("./data-branching-7rpktFJ-.cjs")).then(e=>e.NiceDataBranchManager$1).then(e=>({default:e.NiceDataBranchManager}))),P=a.lazy(()=>Promise.resolve().then(()=>require("./data-branching-7rpktFJ-.cjs")).then(e=>e.NiceDataDiffViewer$1).then(e=>({default:e.NiceDataDiffViewer}))),m=a.lazy(()=>Promise.resolve().then(()=>require("./data-branching-7rpktFJ-.cjs")).then(e=>e.NiceDataBranchGraph$1).then(e=>({default:e.NiceDataBranchGraph}))),q=a.lazy(()=>Promise.resolve().then(()=>require("./data-branching-7rpktFJ-.cjs")).then(e=>e.NiceDataMergeBuilder$1).then(e=>({default:e.NiceDataMergeBuilder}))),B=a.lazy(()=>Promise.resolve().then(()=>require("./data-branching-7rpktFJ-.cjs")).then(e=>e.NiceDataConflictResolver$1).then(e=>({default:e.NiceDataConflictResolver}))),M=a.lazy(()=>Promise.resolve().then(()=>require("./data-branching-7rpktFJ-.cjs")).then(e=>e.NiceDataSnapshot$1).then(e=>({default:e.NiceDataSnapshot}))),G=a.lazy(()=>Promise.resolve().then(()=>require("./charts-B0tHOpJ7.cjs")).then(e=>e.NiceChart$1).then(e=>({default:e.NiceChart}))),g=a.lazy(()=>Promise.resolve().then(()=>require("./charts-B0tHOpJ7.cjs")).then(e=>e.NiceTreeMap$1).then(e=>({default:e.NiceTreeMap}))),$=a.lazy(()=>Promise.resolve().then(()=>require("./charts-B0tHOpJ7.cjs")).then(e=>e.NiceSankey$1).then(e=>({default:e.NiceSankey}))),t=()=>{Promise.resolve().then(()=>require("./devops.cjs"))},r=()=>{Promise.resolve().then(()=>require("./no-code.cjs"))},i=()=>{Promise.resolve().then(()=>require("./data-branching.cjs"))},C=()=>{"requestIdleCallback"in window?requestIdleCallback(()=>{t(),r(),i()}):setTimeout(()=>{t(),r(),i()},2e3)};exports.LazyAPIFlow=d;exports.LazyBranchManager=o;exports.LazyChart=G;exports.LazyCodeTemplate=f;exports.LazyDataBranchGraph=m;exports.LazyDataBranchManager=D;exports.LazyDataConflictResolver=B;exports.LazyDataDiffViewer=P;exports.LazyDataMapper=N;exports.LazyDataMergeBuilder=q;exports.LazyDataSnapshot=M;exports.LazyEventOrchestrator=L;exports.LazyGitBlame=s;exports.LazyGitConflictResolver=h;exports.LazyGitDiffViewer=l;exports.LazyGitGraph=n;exports.LazyGitHooks=u;exports.LazyMergeRequestBuilder=z;exports.LazyPipelineEditor=c;exports.LazyPipelineMonitor=y;exports.LazySankey=$;exports.LazyStateDesigner=p;exports.LazyTestBuilder=v;exports.LazyTreemap=g;exports.preloadDataBranching=i;exports.preloadDevOps=t;exports.preloadHeavyModules=C;exports.preloadNoCode=r;
@@ -1,10 +1,10 @@
1
- import { jsx as t, jsxs as o } from "react/jsx-runtime";
1
+ import { jsx as a, jsxs as o } from "react/jsx-runtime";
2
2
  import { useNiceTranslation as O } from "@nice2dev/ui-core";
3
- import { useState as N, useMemo as E } from "react";
3
+ import { useState as N, useMemo as T } from "react";
4
4
  import { NiceButton as R } from "../buttons/NiceButton.mjs";
5
5
  import { NiceSegmentedControl as d } from "../display/NiceSegmentedControl.mjs";
6
- import { NiceLanguagePicker as P } from "../editors/pickers/NiceLanguagePicker.mjs";
7
- import { NiceThemePicker as T } from "../editors/pickers/NiceThemePicker.mjs";
6
+ import { NiceLanguagePicker as E } from "../editors/pickers/NiceLanguagePicker.mjs";
7
+ import { NiceThemePicker as P } from "../editors/pickers/NiceThemePicker.mjs";
8
8
  import { NiceModal as A } from "../feedback/NiceModal.mjs";
9
9
  /* empty css */
10
10
  const D = ["single", "tabs"];
@@ -19,76 +19,76 @@ function F({
19
19
  languages: f,
20
20
  priorityLanguages: _,
21
21
  title: w,
22
- description: k,
23
- "data-testid": p = "nice-first-run-preferences"
22
+ description: S,
23
+ "data-testid": m = "nice-first-run-preferences"
24
24
  }) {
25
- const { t: n } = O(), [r, b] = N(h ?? {}), [C, S] = N(i);
26
- i !== C && (S(i), i && b(h ?? {}));
27
- const s = (a, e) => b((m) => ({ ...m, [a]: e })), x = E(
25
+ const { t: e } = O(), [r, b] = N(h ?? {}), [k, C] = N(i);
26
+ i !== k && (C(i), i && b(h ?? {}));
27
+ const s = (t, n) => b((p) => ({ ...p, [t]: n })), x = T(
28
28
  () => v ?? ["pages", "theme", "language", "menu"].filter(
29
- (a) => (a !== "theme" || (u?.length ?? 0) > 0) && (a !== "language" || (f?.length ?? 0) > 0)
29
+ (t) => (t !== "theme" || (u?.length ?? 0) > 0) && (t !== "language" || (f?.length ?? 0) > 0)
30
30
  ),
31
31
  [v, u, f]
32
32
  ), M = {
33
- auto: n("firstRun.pagesAuto", "Automatically"),
34
- single: n("firstRun.pagesSingle", "One at a time"),
35
- tabs: n("firstRun.pagesTabs", "In tabs")
36
- }, l = (a, e, m) => /* @__PURE__ */ o("section", { className: "nice-first-run__section", "aria-label": e, children: [
37
- /* @__PURE__ */ t("h3", { className: "nice-first-run__heading", children: e }),
38
- m
39
- ] }, a);
40
- return /* @__PURE__ */ t(
33
+ auto: e("firstRun.pagesAuto", "Automatically"),
34
+ single: e("firstRun.pagesSingle", "One at a time"),
35
+ tabs: e("firstRun.pagesTabs", "In tabs")
36
+ }, l = (t, n, p) => /* @__PURE__ */ o("section", { className: "nice-first-run__section", "aria-label": n, children: [
37
+ /* @__PURE__ */ a("h3", { className: "nice-first-run__heading", children: n }),
38
+ p
39
+ ] }, t);
40
+ return /* @__PURE__ */ a(
41
41
  A,
42
42
  {
43
43
  open: i,
44
44
  onClose: g,
45
45
  size: "md",
46
46
  closeOnOverlay: !1,
47
- title: w ?? n("firstRun.title", "Set up your workspace"),
48
- "data-testid": p,
47
+ title: w ?? e("firstRun.title", "Set up your workspace"),
48
+ "data-testid": m,
49
49
  footer: /* @__PURE__ */ o("div", { className: "nice-first-run__footer", children: [
50
- /* @__PURE__ */ t(R, { variant: "ghost", onClick: g, "data-testid": `${p}-skip`, children: n("firstRun.skip", "Skip") }),
51
- /* @__PURE__ */ t(
50
+ /* @__PURE__ */ a(R, { variant: "ghost", onClick: g, "data-testid": `${m}-skip`, children: e("firstRun.skip", "Skip") }),
51
+ /* @__PURE__ */ a(
52
52
  R,
53
53
  {
54
54
  variant: "primary",
55
55
  onClick: () => y(r),
56
- "data-testid": `${p}-save`,
57
- children: n("firstRun.save", "Save")
56
+ "data-testid": `${m}-save`,
57
+ children: e("firstRun.save", "Save")
58
58
  }
59
59
  )
60
60
  ] }),
61
61
  children: /* @__PURE__ */ o("div", { className: "nice-first-run", children: [
62
- /* @__PURE__ */ t("p", { className: "nice-first-run__intro", children: k ?? n(
62
+ /* @__PURE__ */ a("p", { className: "nice-first-run__intro", children: S ?? e(
63
63
  "firstRun.intro",
64
64
  "Choose how you want to work. You can change all of it later in the preferences."
65
65
  ) }),
66
- x.map((a) => {
67
- switch (a) {
66
+ x.map((t) => {
67
+ switch (t) {
68
68
  case "pages":
69
69
  return l(
70
- a,
71
- n("firstRun.pages", "Opening pages"),
72
- /* @__PURE__ */ t(
70
+ t,
71
+ e("firstRun.pages", "Opening pages"),
72
+ /* @__PURE__ */ a(
73
73
  d,
74
74
  {
75
75
  block: !0,
76
- options: c.map((e) => ({ value: e, label: M[e] })),
76
+ options: c.map((n) => ({ value: n, label: M[n] })),
77
77
  value: r.pageMode && c.includes(r.pageMode) ? r.pageMode : c[0],
78
- onChange: (e) => s("pageMode", e)
78
+ onChange: (n) => s("pageMode", n)
79
79
  }
80
80
  )
81
81
  );
82
82
  case "theme":
83
83
  return l(
84
- a,
85
- n("firstRun.theme", "Theme"),
86
- /* @__PURE__ */ t(
87
- T,
84
+ t,
85
+ e("firstRun.theme", "Theme"),
86
+ /* @__PURE__ */ a(
87
+ P,
88
88
  {
89
89
  themes: u,
90
90
  value: r.theme,
91
- onChange: (e) => s("theme", e?.id),
91
+ onChange: (n) => s("theme", n?.id),
92
92
  showPreviewInValue: !0,
93
93
  showPreviewInMenu: !0,
94
94
  showTextInValue: !0,
@@ -98,13 +98,13 @@ function F({
98
98
  );
99
99
  case "language":
100
100
  return l(
101
- a,
102
- n("firstRun.language", "Language"),
103
- /* @__PURE__ */ t(
104
- P,
101
+ t,
102
+ e("firstRun.language", "Language"),
103
+ /* @__PURE__ */ a(
104
+ E,
105
105
  {
106
106
  value: r.language,
107
- onChange: (e) => s("language", e?.code),
107
+ onChange: (n) => s("language", n?.code),
108
108
  allowedCodes: f,
109
109
  priorityCodes: _,
110
110
  displayName: "native"
@@ -113,32 +113,33 @@ function F({
113
113
  );
114
114
  case "menu":
115
115
  return l(
116
- a,
117
- n("firstRun.menu", "Menu"),
116
+ t,
117
+ e("firstRun.menu", "Menu"),
118
118
  /* @__PURE__ */ o("div", { className: "nice-first-run__stack", children: [
119
- /* @__PURE__ */ t(
119
+ /* @__PURE__ */ a(
120
120
  d,
121
121
  {
122
122
  block: !0,
123
123
  options: [
124
- { value: "expanded", label: n("firstRun.menuExpanded", "Expanded") },
125
- { value: "icons", label: n("firstRun.menuIcons", "Icons only") }
124
+ { value: "expanded", label: e("firstRun.menuExpanded", "Expanded") },
125
+ { value: "icons", label: e("firstRun.menuIcons", "Icons only") }
126
126
  ],
127
127
  value: r.collapsed ? "icons" : "expanded",
128
- onChange: (e) => s("collapsed", e === "icons")
128
+ onChange: (n) => s("collapsed", n === "icons")
129
129
  }
130
130
  ),
131
- /* @__PURE__ */ t("span", { className: "nice-first-run__label", children: n("firstRun.colorStyle", "Branch colours") }),
132
- /* @__PURE__ */ t(
131
+ /* @__PURE__ */ a("span", { className: "nice-first-run__label", children: e("firstRun.colorStyle", "Branch colours") }),
132
+ /* @__PURE__ */ a(
133
133
  d,
134
134
  {
135
135
  block: !0,
136
136
  options: [
137
- { value: "bar", label: n("firstRun.colorStyleBar", "A bar by each item") },
138
- { value: "fill", label: n("firstRun.colorStyleFill", "Whole items filled") }
137
+ { value: "theme", label: e("firstRun.colorStyleTheme", "Theme colours") },
138
+ { value: "bar", label: e("firstRun.colorStyleBar", "A bar by each item") },
139
+ { value: "fill", label: e("firstRun.colorStyleFill", "Whole items filled") }
139
140
  ],
140
- value: r.colorStyle === "fill" ? "fill" : "bar",
141
- onChange: (e) => s("colorStyle", e)
141
+ value: r.colorStyle ?? "theme",
142
+ onChange: (n) => s("colorStyle", n)
142
143
  }
143
144
  )
144
145
  ] })