@ostack.tech/ui-kform-scaffolder 0.6.5 → 0.7.0

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.
@@ -16,19 +16,52 @@
16
16
 
17
17
  .builder-header {
18
18
  display: flex;
19
- justify-content: space-between;
20
- column-gap: 1rem;
19
+ gap: 0.5rem 1rem;
21
20
  flex-wrap: wrap;
21
+ align-items: baseline;
22
+ position: sticky;
23
+ top: 1rem;
24
+ z-index: 1;
25
+ margin-bottom: 1rem;
26
+
27
+ > * {
28
+ position: relative;
29
+ display: inline-block;
30
+ isolation: isolate;
31
+
32
+ &::after {
33
+ content: "";
34
+ position: absolute;
35
+ inset: -0.35rem -0.35rem;
36
+ border-radius: 0.5rem;
37
+ pointer-events: none;
38
+
39
+ background: color-mix(in srgb, Canvas 70%, transparent);
40
+ backdrop-filter: blur(12px);
41
+ -webkit-backdrop-filter: blur(12px);
42
+
43
+ z-index: -1;
44
+ }
45
+ }
22
46
  }
23
47
 
24
48
  .builder-title {
25
- margin: 0 0 0.5rem;
49
+ margin: 0;
50
+ }
51
+
52
+ .builder-version {
53
+ opacity: 0.65;
54
+
55
+ &::before {
56
+ content: "v";
57
+ }
26
58
  }
27
59
 
28
60
  .builder-actions {
29
61
  display: inline-flex;
62
+ align-self: center;
30
63
  gap: 0.5rem;
31
- margin-bottom: 1.5rem;
64
+ margin-left: auto;
32
65
  }
33
66
 
34
67
  .builder {
@@ -977,7 +977,7 @@ function scaffoldGradleProject(schematic, data) {
977
977
  filePackage: data.currentPackage,
978
978
  formId: kebabCase(schematic.name),
979
979
  formTitle: capitalCase(schematic.name),
980
- kFormVersion: "0.31.6",
980
+ kFormVersion: "0.32.1",
981
981
  serializationFormat: data.serializationFormat ?? "json",
982
982
  includeKotlinxDatetime: data.includeKotlinxDatetime ?? usesKotlinxDatetime(schematic, data),
983
983
  includeKtMath: data.includeKtMath ?? usesKtMath(schematic),
@@ -1477,9 +1477,9 @@ function scaffoldViteProject(schematic, data) {
1477
1477
  formId: kebabCase(schematic.name),
1478
1478
  formClass: schematic.name,
1479
1479
  formTitle: capitalCase(schematic.name),
1480
- ostackUiVersion: "0.6.5",
1481
- kFormVersion: "0.31.6",
1482
- dependencyVersions: JSON.parse('{"@eslint/js":"^9.39.1","@fortawesome/fontawesome-svg-core":"^7.1.0","@fortawesome/free-brands-svg-icons":"^7.1.0","@fortawesome/free-regular-svg-icons":"^7.1.0","@fortawesome/free-solid-svg-icons":"^7.1.0","@ostack.tech/kform":"~0.31.6","@ostack.tech/kform-react":"~0.31.6","@ostack.tech/kform-scaffolder":"~0.31.6","@storybook/addon-docs":"^10.1.5","@storybook/addon-links":"^10.1.5","@storybook/react-vite":"^10.1.5","@types/node":"^22.19.2","@types/react":"^19.2.7","@types/react-dom":"^19.2.3","@vitejs/plugin-react":"^5.1.2","change-case":"^5.4.4","cpy-cli":"^6.0.0","date-fns":"^4.1.0","eslint":"^9.39.1","eslint-config-prettier":"^10.1.8","eslint-plugin-prettier":"^5.5.4","eslint-plugin-react-hooks":"^7.0.1","eslint-plugin-react-refresh":"^0.4.24","eslint-plugin-simple-import-sort":"^12.1.1","eslint-plugin-storybook":"^10.1.5","globals":"^16.5.0","happy-dom":"^20.0.11","lint-staged":"^16.2.7","prettier":"^3.7.4","prettier-plugin-jsdoc":"^1.8.0","react":"^19.2.1","react-dom":"^19.2.1","rimraf":"^6.1.2","sass-embedded":"^1.93.3","simple-git-hooks":"^2.13.1","storybook":"^10.1.5","terser":"^5.44.1","tslib":"^2.8.1","typescript":"~5.9.3","typescript-eslint":"^8.49.0","vite":"^7.2.7","vite-plugin-dts":"^4.5.4","vitest":"^4.0.15","zustand":"^5.0.9"}'),
1480
+ ostackUiVersion: "0.7.0",
1481
+ kFormVersion: "0.32.1",
1482
+ dependencyVersions: JSON.parse('{"@eslint/js":"^9.39.2","@fortawesome/fontawesome-svg-core":"^7.1.0","@fortawesome/free-brands-svg-icons":"^7.1.0","@fortawesome/free-regular-svg-icons":"^7.1.0","@fortawesome/free-solid-svg-icons":"^7.1.0","@ostack.tech/kform":"~0.32.1","@ostack.tech/kform-react":"~0.32.1","@ostack.tech/kform-scaffolder":"~0.32.1","@storybook/addon-docs":"^10.1.10","@storybook/addon-links":"^10.1.10","@storybook/react-vite":"^10.1.10","@types/node":"^22.19.3","@types/react":"^19.2.7","@types/react-dom":"^19.2.3","@vitejs/plugin-react":"^5.1.2","change-case":"^5.4.4","cpy-cli":"^6.0.0","date-fns":"^4.1.0","eslint":"^9.39.2","eslint-config-prettier":"^10.1.8","eslint-plugin-prettier":"^5.5.4","eslint-plugin-react-hooks":"^7.0.1","eslint-plugin-react-refresh":"^0.4.26","eslint-plugin-simple-import-sort":"^12.1.1","eslint-plugin-storybook":"^10.1.10","globals":"^16.5.0","happy-dom":"^20.0.11","lint-staged":"^16.2.7","prettier":"^3.7.4","prettier-plugin-jsdoc":"^1.8.0","react":"^19.2.3","react-dom":"^19.2.3","rimraf":"^6.1.2","sass-embedded":"^1.93.3","simple-git-hooks":"^2.13.1","storybook":"^10.1.10","terser":"^5.44.1","tslib":"^2.8.1","typescript":"~5.9.3","typescript-eslint":"^8.50.0","vite":"^7.3.0","vite-plugin-dts":"^4.5.4","vitest":"^4.0.16","zustand":"^5.0.9"}'),
1483
1483
  externalContextsData: data.serializationFormat === "json" ? "{}" : `<${schematic.name}ExternalContexts />`,
1484
1484
  apiBasePath: data.apiBasePath ?? DEFAULT_API_BASE_PATH,
1485
1485
  viteConfigOutDir: data.viteConfigOutDir ?? DEFAULT_VITE_CONFIG_OUT_DIR,
@@ -1539,6 +1539,7 @@ function SchematicBuilder({
1539
1539
  /* @__PURE__ */ jsx(SerializationFormatConfig, {}),
1540
1540
  /* @__PURE__ */ jsx(UseTableValuesSerializerConfig, {})
1541
1541
  ] }),
1542
+ version = "0.7.0",
1542
1543
  ...otherProps
1543
1544
  }) {
1544
1545
  return /* @__PURE__ */ jsx(
@@ -1549,6 +1550,7 @@ function SchematicBuilder({
1549
1550
  scaffolders,
1550
1551
  scaffoldingData,
1551
1552
  configs,
1553
+ version,
1552
1554
  ...otherProps
1553
1555
  }
1554
1556
  );