@nori-ui/core 1.4.0 → 1.5.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.
@@ -0,0 +1,11 @@
1
+ import { Select } from './chunk-UJ5KFRDE.js';
2
+ import { __name } from './chunk-WCQVDF3K.js';
3
+ import { jsx } from 'nativewind/jsx-runtime';
4
+
5
+ var Combobox = /* @__PURE__ */ __name((props) => {
6
+ return /* @__PURE__ */ jsx(Select, { searchable: true, ...props });
7
+ }, "Combobox");
8
+
9
+ export { Combobox };
10
+ //# sourceMappingURL=chunk-O4NMS3KB.js.map
11
+ //# sourceMappingURL=chunk-O4NMS3KB.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/components/Combobox/Combobox.tsx"],"names":[],"mappings":";;;;AAcO,IAAM,QAAA,2BAAyB,KAAA,KAA0B;AAC5D,EAAA,uBAAO,GAAA,CAAC,MAAA,EAAA,EAAO,UAAA,EAAU,IAAA,EAAE,GAAG,KAAA,EAAO,CAAA;AACzC,CAAA,EAFwB,UAAA","file":"chunk-O4NMS3KB.js","sourcesContent":["'use client';\n\nimport { Select, type SelectProps } from '../Select';\n\n/**\n * Combobox — a Select with search defaulted on.\n *\n * Use Combobox for long lists or async options where users benefit from\n * typeahead filtering. Use Select directly for short static lists where\n * clicking is enough.\n *\n * Every prop, behavior, and type is identical to Select; this is purely a\n * default + naming convenience.\n */\nexport const Combobox = <T = unknown>(props: SelectProps<T>) => {\n return <Select searchable {...props} />;\n};\n"]}
package/dist/client.cjs CHANGED
@@ -6611,6 +6611,9 @@ var Checkbox = /* @__PURE__ */ __name(({
6611
6611
  }
6612
6612
  );
6613
6613
  }, "Checkbox");
6614
+ var Combobox = /* @__PURE__ */ __name((props) => {
6615
+ return /* @__PURE__ */ jsxRuntime.jsx(Select, { searchable: true, ...props });
6616
+ }, "Combobox");
6614
6617
  var MenuContext = React.createContext(null);
6615
6618
  var MenuContextProvider = /* @__PURE__ */ __name(({
6616
6619
  open,
@@ -13460,6 +13463,7 @@ exports.Button = Button;
13460
13463
  exports.Calendar = Calendar;
13461
13464
  exports.Card = Card;
13462
13465
  exports.Checkbox = Checkbox;
13466
+ exports.Combobox = Combobox;
13463
13467
  exports.ContextMenu = ContextMenu;
13464
13468
  exports.DatePicker = DatePicker;
13465
13469
  exports.Dialog = Dialog;