@mieweb/ui 0.3.0-dev.89 → 0.3.0-dev.90
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.cjs +7 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.js +7 -6
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -32072,7 +32072,7 @@ function SubCategoryAccordion({
|
|
|
32072
32072
|
"overflow-hidden transition-all duration-200 ease-in-out",
|
|
32073
32073
|
isExpanded ? "max-h-[1000px] opacity-100" : "max-h-0 opacity-0"
|
|
32074
32074
|
),
|
|
32075
|
-
|
|
32075
|
+
inert: !isExpanded || void 0,
|
|
32076
32076
|
children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "space-y-1 pb-2 pl-4", children: subCategory.services.map((service, serviceIdx) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
32077
32077
|
ServiceLink,
|
|
32078
32078
|
{
|
|
@@ -32157,7 +32157,7 @@ function CategoryAccordionItem({
|
|
|
32157
32157
|
isExpanded ? "max-h-[2000px] opacity-100" : "max-h-0 opacity-0",
|
|
32158
32158
|
variant === "cards" && "rounded-b-lg border border-t-0 border-neutral-200 bg-white dark:border-neutral-700 dark:bg-neutral-800"
|
|
32159
32159
|
),
|
|
32160
|
-
|
|
32160
|
+
inert: !isExpanded || void 0,
|
|
32161
32161
|
children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-2 p-4", children: [
|
|
32162
32162
|
category.services && category.services.length > 0 && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "space-y-1", children: category.services.map((service, serviceIdx) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
32163
32163
|
ServiceLink,
|
|
@@ -32193,7 +32193,8 @@ function ServiceAccordion({
|
|
|
32193
32193
|
allowMultiple = true,
|
|
32194
32194
|
expandedCategories: controlledExpanded,
|
|
32195
32195
|
onExpandedChange,
|
|
32196
|
-
className
|
|
32196
|
+
className,
|
|
32197
|
+
"aria-label": ariaLabel = "Service categories"
|
|
32197
32198
|
}) {
|
|
32198
32199
|
const [internalExpanded, setInternalExpanded] = React48__namespace.useState([]);
|
|
32199
32200
|
const isControlled = controlledExpanded !== void 0;
|
|
@@ -32221,7 +32222,7 @@ function ServiceAccordion({
|
|
|
32221
32222
|
"data-slot": "service-accordion",
|
|
32222
32223
|
className: chunkOR5DRJCW_cjs.cn(accordionVariants({ variant }), className),
|
|
32223
32224
|
role: "region",
|
|
32224
|
-
"aria-label":
|
|
32225
|
+
"aria-label": ariaLabel,
|
|
32225
32226
|
children: categories.map((category, index) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
32226
32227
|
CategoryAccordionItem,
|
|
32227
32228
|
{
|
|
@@ -32268,7 +32269,7 @@ function ServiceTagCloud({
|
|
|
32268
32269
|
className: chunkOR5DRJCW_cjs.cn(
|
|
32269
32270
|
"inline-flex items-center gap-1.5 rounded-full px-3 py-1.5",
|
|
32270
32271
|
"text-sm font-medium",
|
|
32271
|
-
"bg-primary-100 text-primary-
|
|
32272
|
+
"bg-primary-100 text-primary-900 hover:bg-primary-200",
|
|
32272
32273
|
"dark:bg-primary-900/30 dark:text-primary-300 dark:hover:bg-primary-900/50",
|
|
32273
32274
|
"transition-colors",
|
|
32274
32275
|
"focus-visible:ring-primary-500 focus:outline-none focus-visible:ring-2"
|
|
@@ -32276,7 +32277,7 @@ function ServiceTagCloud({
|
|
|
32276
32277
|
"data-cy": `service-tag-${service.slug}`,
|
|
32277
32278
|
children: [
|
|
32278
32279
|
service.name,
|
|
32279
|
-
showCounts && service.providerCount !== void 0 && /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "text-
|
|
32280
|
+
showCounts && service.providerCount !== void 0 && /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "text-primary-900 dark:text-primary-300 text-xs", children: [
|
|
32280
32281
|
"(",
|
|
32281
32282
|
service.providerCount,
|
|
32282
32283
|
")"
|