@alfadocs/ui-kit 1.75.1 → 1.76.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.
- package/dist/_chunks/{practice-results-B4Z5q46r.js → practice-results-C5SJTgcd.js} +471 -457
- package/dist/agent-catalog.json +2 -2
- package/dist/components/practice-results/index.d.ts +1 -1
- package/dist/components/practice-results/index.js +1 -1
- package/dist/components/practice-results/practice-results.d.ts +4 -0
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/agent-catalog.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": 1,
|
|
3
|
-
"packageVersion": "1.
|
|
3
|
+
"packageVersion": "1.76.0",
|
|
4
4
|
"components": [
|
|
5
5
|
{
|
|
6
6
|
"kind": "component",
|
|
@@ -11207,7 +11207,7 @@
|
|
|
11207
11207
|
"root": {
|
|
11208
11208
|
"attr": "data-component",
|
|
11209
11209
|
"value": "practice-results",
|
|
11210
|
-
"description": "Marks the PracticeResults root region."
|
|
11210
|
+
"description": "Marks the PracticeResults root region. The headingLevel prop accepts 1 to 6 (default 2) for the optional results heading; use 1 when it is the page title. Default error and empty-state titles use the next level, capped at 6."
|
|
11211
11211
|
},
|
|
11212
11212
|
"instanceId": {
|
|
11213
11213
|
"attr": "data-component-id",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export { PracticeResults } from './practice-results';
|
|
2
|
-
export type { PracticeResultsProps, PracticeResultsHandle, PracticeResultsVariant, PracticeResult, PracticeResultsValue, PracticeResultsBounds, PracticeResultsSort, PracticeResultsSelectSource, } from './practice-results';
|
|
2
|
+
export type { PracticeResultsProps, PracticeResultsHandle, PracticeResultsVariant, PracticeResultsHeadingLevel, PracticeResult, PracticeResultsValue, PracticeResultsBounds, PracticeResultsSort, PracticeResultsSelectSource, } from './practice-results';
|
|
3
3
|
export { practiceResultsAgent } from './practice-results.agent';
|
|
4
4
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { type ComponentPropsWithoutRef, type ReactNode } from 'react';
|
|
2
2
|
import { type VariantProps } from 'class-variance-authority';
|
|
3
3
|
export type PracticeResultsVariant = 'split-list-map' | 'map-first' | 'rich-cards';
|
|
4
|
+
/** Heading levels the results title accepts. */
|
|
5
|
+
export type PracticeResultsHeadingLevel = 1 | 2 | 3 | 4 | 5 | 6;
|
|
4
6
|
export type PracticeResultsSort = 'distance' | 'rating' | 'next-available' | 'relevance';
|
|
5
7
|
/**
|
|
6
8
|
* Where the result-selection event originated.
|
|
@@ -238,6 +240,8 @@ export interface PracticeResultsProps extends Omit<ComponentPropsWithoutRef<'div
|
|
|
238
240
|
onRetry?: () => void;
|
|
239
241
|
/** Heading rendered above the results (e.g. "I migliori Dentisti a Milano"). */
|
|
240
242
|
heading?: string;
|
|
243
|
+
/** Heading level of the results title. Default 2. */
|
|
244
|
+
headingLevel?: PracticeResultsHeadingLevel;
|
|
241
245
|
/** Intro text below the heading. */
|
|
242
246
|
intro?: string;
|
|
243
247
|
/**
|
package/dist/index.js
CHANGED
|
@@ -236,7 +236,7 @@ import { P as IS, a as RS, p as _S } from "./_chunks/periodontal-chart-card-Bx6P
|
|
|
236
236
|
import { D as bS, P as DS, a as OS, b as FS, c as LS, S as hS, e as MS, i as yS, p as kS } from "./_chunks/periodontal-diagnosis-B9YmmVmM.js";
|
|
237
237
|
import { P as GS, a as vS, c as HS, p as WS, r as wS } from "./_chunks/periodontal-risk-chart-B7S9OmPC.js";
|
|
238
238
|
import { C as VS, a as KS, b as YS, c as XS } from "./_chunks/contact-profile-card-DKk94l-d.js";
|
|
239
|
-
import { P as zS, p as jS } from "./_chunks/practice-results-
|
|
239
|
+
import { P as zS, p as jS } from "./_chunks/practice-results-C5SJTgcd.js";
|
|
240
240
|
import { P as ZS, a as JS, p as $S, b as ag } from "./_chunks/payment-request-card-MndSlVoK.js";
|
|
241
241
|
import { P as sg, f as rg, p as og, a as tg, s as ng, b as ig, c as pg } from "./_chunks/payment-form-PBuh8PIa.js";
|
|
242
242
|
import { P as lg, p as dg } from "./_chunks/pdf-viewer-gAsNUsA8.js";
|
package/package.json
CHANGED