@sikka/hawa 0.1.105 → 0.1.106
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.
- package/dist/index.d.mts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +4 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +5 -1
- package/dist/index.mjs.map +1 -1
- package/dist/styles.css +3 -0
- package/package.json +1 -1
- package/src/elements/HawaSelect.tsx +8 -1
- package/src/styles.css +3 -0
package/dist/index.d.mts
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -660,7 +660,9 @@ var HawaSelect = function(props) {
|
|
|
660
660
|
}, props.label && /* @__PURE__ */ React6.default.createElement(Label, null, props.label), !props.isCreatable && /* @__PURE__ */ React6.default.createElement(_reactselect2.default, {
|
|
661
661
|
classNames: {
|
|
662
662
|
// control: () => "bg-blue-500 w-full",
|
|
663
|
-
|
|
663
|
+
container: function() {
|
|
664
|
+
return cn("rounded", props.disabled ? "cursor-not-allowed" : "cursor-pointer");
|
|
665
|
+
},
|
|
664
666
|
placeholder: function() {
|
|
665
667
|
return "px-2 text-muted-foreground";
|
|
666
668
|
},
|
|
@@ -680,6 +682,7 @@ var HawaSelect = function(props) {
|
|
|
680
682
|
unstyled: true,
|
|
681
683
|
isDisabled: props.disabled,
|
|
682
684
|
options: props.options,
|
|
685
|
+
defaultValue: props.defaultValue,
|
|
683
686
|
isClearable: props.isClearable,
|
|
684
687
|
isMulti: props.isMulti,
|
|
685
688
|
isSearchable: props.isSearchable,
|