@star-insure/sdk 5.0.6 → 5.0.8
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/components/filter/Action.d.ts +1 -1
- package/dist/sdk.cjs.development.js +7 -2
- package/dist/sdk.cjs.development.js.map +1 -1
- package/dist/sdk.cjs.production.min.js +1 -1
- package/dist/sdk.cjs.production.min.js.map +1 -1
- package/dist/sdk.esm.js +7 -2
- package/dist/sdk.esm.js.map +1 -1
- package/dist/types/misc/index.d.ts +2 -0
- package/dist/types/models/quotes/QuoteRequest.d.ts +2 -0
- package/package.json +1 -1
- package/src/components/filter/Action.tsx +5 -2
- package/src/components/filter/SearchBar.tsx +1 -1
- package/src/theme.css +5 -0
- package/src/types/misc/index.ts +2 -0
- package/src/types/models/quotes/QuoteRequest.ts +2 -0
package/dist/sdk.esm.js
CHANGED
|
@@ -2586,7 +2586,7 @@ function SearchBar(_ref) {
|
|
|
2586
2586
|
onChange: function onChange(e) {
|
|
2587
2587
|
return setQuery(e.currentTarget.value || '');
|
|
2588
2588
|
},
|
|
2589
|
-
className: "!focus:border-0 !border-0 !bg-transparent !shadow-none !ring-opacity-0 !transition-none placeholder:text-gray-400 !py-1.5 text-sm",
|
|
2589
|
+
className: "no-focus-shadow !focus:border-0 !border-0 !bg-transparent !shadow-none !ring-opacity-0 !transition-none placeholder:text-gray-400 !py-1.5 text-sm",
|
|
2590
2590
|
autoFocus: true,
|
|
2591
2591
|
placeholder: placeholder
|
|
2592
2592
|
}), query && React__default.createElement("button", {
|
|
@@ -2616,9 +2616,14 @@ function Action(_ref) {
|
|
|
2616
2616
|
_ref$onClick = _ref.onClick,
|
|
2617
2617
|
_onClick = _ref$onClick === void 0 ? function () {} : _ref$onClick,
|
|
2618
2618
|
shortcutKey = _ref.shortcutKey,
|
|
2619
|
+
backgroundColor = _ref.backgroundColor,
|
|
2620
|
+
textColor = _ref.textColor,
|
|
2619
2621
|
actions = _ref.actions;
|
|
2620
2622
|
|
|
2621
|
-
var
|
|
2623
|
+
var backgroundColorClass = backgroundColor ? "bg-" + backgroundColor : 'bg-white';
|
|
2624
|
+
var textColorClass = textColor ? "text-" + textColor : '';
|
|
2625
|
+
var colorClass = (backgroundColorClass + " " + textColorClass).trim();
|
|
2626
|
+
var className = colorClass + ' rounded-full font-bold px-4 py-1.5 text-sm whitespace-nowrap hover:bg-gray-100 hover:border-gray-400 transition-colors border border-gray-300';
|
|
2622
2627
|
var tooltipId = "action-" + title;
|
|
2623
2628
|
var tooltipContent = shortcutKey ? "Ctrl + " + shortcutKey : undefined;
|
|
2624
2629
|
var actionButtonRef = React__default.useRef(null);
|