@star-insure/sdk 4.1.1 → 4.1.2

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/sdk.esm.js CHANGED
@@ -2826,10 +2826,10 @@ function FilterItem(_ref) {
2826
2826
  className: "whitespace-nowrap"
2827
2827
  }, filter.label), React__default.createElement(HiChevronDown, null))
2828
2828
  }, React__default.createElement("form", {
2829
- className: "mt-2 flex max-h-[350px] min-w-[200px] max-w-[260px] flex-col gap-2 rounded-md border border-gray-300 bg-white p-4 shadow-lg " + (filter.type && filter.type === 'select' ? '' : 'overflow-y-scroll'),
2829
+ className: "mt-2 flex max-h-[350px] min-w-[200px] max-w-[260px] flex-col gap-2 rounded-md border border-gray-300 bg-white shadow-lg " + (filter.type && filter.type === 'select' ? '' : 'overflow-y-scroll'),
2830
2830
  onSubmit: handleApply
2831
2831
  }, React__default.createElement("div", {
2832
- className: "flex flex-col items-start gap-1"
2832
+ className: "flex flex-col items-start gap-1 p-4"
2833
2833
  }, (!filter.type || filter.type === 'options') && ((_filter$options = filter.options) == null ? void 0 : _filter$options.map(function (option, i) {
2834
2834
  return React__default.createElement("div", {
2835
2835
  className: "checkbox text-sm ",
@@ -2854,7 +2854,7 @@ function FilterItem(_ref) {
2854
2854
  id: filter.label,
2855
2855
  value: selected[0],
2856
2856
  onChange: handleSelect,
2857
- className: "w-full"
2857
+ className: "!p-2 text-sm w-full"
2858
2858
  }, React__default.createElement("option", {
2859
2859
  value: ""
2860
2860
  }, "Select option"), (_filter$options2 = filter.options) == null ? void 0 : _filter$options2.map(function (option) {
@@ -2869,7 +2869,7 @@ function FilterItem(_ref) {
2869
2869
  id: filter.label,
2870
2870
  value: selected[0],
2871
2871
  onChange: handleSelect,
2872
- className: "w-full"
2872
+ className: "!p-2 text-sm w-full"
2873
2873
  }, React__default.createElement("option", {
2874
2874
  value: ""
2875
2875
  }, "Select option"), (_filter$options3 = filter.options) == null ? void 0 : _filter$options3.map(function (option) {
@@ -2878,23 +2878,25 @@ function FilterItem(_ref) {
2878
2878
  value: option.value
2879
2879
  }, option.label);
2880
2880
  }))), filter.type === 'date' && React__default.createElement("div", {
2881
- className: "mb-2 flex flex-col gap-4"
2881
+ className: "mb-2 flex flex-col gap-4 w-full"
2882
2882
  }, React__default.createElement("label", {
2883
- className: "text-xs"
2883
+ className: "text-xs w-full"
2884
2884
  }, "From", React__default.createElement("input", {
2885
2885
  type: "date",
2886
2886
  name: filter.name + "[from]",
2887
2887
  id: filter.name + "[from]",
2888
2888
  onChange: handleDateSelect,
2889
- value: (_selected$ = selected[0]) != null ? _selected$ : ''
2889
+ value: (_selected$ = selected[0]) != null ? _selected$ : '',
2890
+ className: "!p-2 text-sm w-full"
2890
2891
  })), React__default.createElement("label", {
2891
- className: "text-xs"
2892
+ className: "text-xs w-full"
2892
2893
  }, "To", React__default.createElement("input", {
2893
2894
  type: "date",
2894
2895
  name: filter.name + "[to]",
2895
2896
  id: filter.name + "[to]",
2896
2897
  onChange: handleDateSelect,
2897
- value: (_selected$2 = selected[1]) != null ? _selected$2 : ''
2898
+ value: (_selected$2 = selected[1]) != null ? _selected$2 : '',
2899
+ className: "!p-2 text-sm w-full"
2898
2900
  }))), filter.type === 'select' && filter.options && React__default.createElement("div", {
2899
2901
  className: "w-full"
2900
2902
  }, React__default.createElement(Select, {
@@ -2916,7 +2918,7 @@ function FilterItem(_ref) {
2916
2918
  });
2917
2919
  }
2918
2920
  }))), React__default.createElement("div", {
2919
- className: "flex items-center gap-2 py-4 mt-4 -bottom-4 sticky bg-white"
2921
+ className: "bg-gray-100 border-t border-gray-200 flex items-center gap-2 p-4 bottom-0 sticky"
2920
2922
  }, React__default.createElement(Button, {
2921
2923
  type: "button",
2922
2924
  className: "!min-w-[0px] flex-grow !px-2 text-sm !transition-none",