@srcroot/ui 0.0.43 → 0.0.44

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 (2) hide show
  1. package/dist/index.js +15 -2
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -425,7 +425,8 @@ var REGISTRY = {
425
425
  file: "ui/input.tsx",
426
426
  description: "Text input field",
427
427
  category: "Forms",
428
- dependencies: []
428
+ dependencies: [],
429
+ registryDependencies: ["react-icons"]
429
430
  },
430
431
  textarea: {
431
432
  file: "ui/textarea.tsx",
@@ -643,6 +644,18 @@ var REGISTRY = {
643
644
  category: "Forms",
644
645
  dependencies: ["popover", "command", "button", "badge"]
645
646
  },
647
+ "form-field": {
648
+ file: "ui/form-field.tsx",
649
+ description: "Wrapper for form inputs with label and error",
650
+ category: "Forms",
651
+ dependencies: ["label"]
652
+ },
653
+ "input-group": {
654
+ file: "ui/input-group.tsx",
655
+ description: "Input with add-ons",
656
+ category: "Forms",
657
+ dependencies: ["input"]
658
+ },
646
659
  command: {
647
660
  file: "ui/command.tsx",
648
661
  description: "Command palette / search menu",
@@ -913,7 +926,7 @@ Please manually install: ${packages.join(" ")}`);
913
926
  }
914
927
  spinner.start("Adding components...");
915
928
  }
916
- const registryPath = path4.resolve(__dirname4, "..", "..", "registry", comp.file);
929
+ const registryPath = path4.resolve(__dirname4, "..", "src", "registry", comp.file);
917
930
  if (!fs4.existsSync(registryPath)) {
918
931
  spinner.warn(`Registry file not found for ${name}: ${registryPath}`);
919
932
  continue;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@srcroot/ui",
3
- "version": "0.0.43",
3
+ "version": "0.0.44",
4
4
  "description": "A UI library with polymorphic, accessible React components",
5
5
  "type": "module",
6
6
  "bin": {
@@ -63,4 +63,4 @@
63
63
  "optional": true
64
64
  }
65
65
  }
66
- }
66
+ }