@ziyarago/ui 0.8.0 → 0.9.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/types/vue.d.ts CHANGED
@@ -3239,6 +3239,46 @@ export interface UiPageAnalyticsSlots {
3239
3239
  }
3240
3240
  export const UiPageAnalytics: UiVueComponent<UiPageAnalyticsProps, UiPageAnalyticsSlots>;
3241
3241
 
3242
+ /**
3243
+ * Article template: cover, post body, sticky table of contents, share row and related posts.
3244
+ * Note: Place inside AppShell; fill only the slots you need.
3245
+ * Note: Body, share and related share the main column; the table of contents stays visible on the right while the body scrolls and drops under the body below 860 px.
3246
+ */
3247
+ export interface UiPageArticleProps {
3248
+ /**
3249
+ * Page heading. The built-in header renders only when title is set and the header slot is empty.
3250
+ * @remarks Forwarded to the inner element.
3251
+ */
3252
+ title?: string;
3253
+ /**
3254
+ * Caption under the heading.
3255
+ * @remarks Forwarded to the inner element.
3256
+ */
3257
+ subtitle?: string;
3258
+ /**
3259
+ * Breadcrumb trail above the title.
3260
+ * @remarks Forwarded to the inner element.
3261
+ */
3262
+ crumbs?: { label: string; href?: string }[];
3263
+ }
3264
+ export interface UiPageArticleSlots {
3265
+ /** Custom page header; replaces the built-in title/subtitle/crumbs header. */
3266
+ header?: () => any;
3267
+ /** Buttons on the right of the built-in header. With a title they sit beside it; without a title they render alone, right-aligned (unless the header slot is filled). */
3268
+ actions?: () => any;
3269
+ /** Cover image area with title and author line; a gradient Card or LazyImage. */
3270
+ cover?: () => any;
3271
+ /** Article text; Heading, Text, Code, Alert. */
3272
+ body?: () => any;
3273
+ /** Sticky table of contents; Card with a list of anchor links. */
3274
+ toc?: () => any;
3275
+ /** Share and reaction row; Button, IconButton, CopyButton. */
3276
+ share?: () => any;
3277
+ /** Related posts; Card grid. */
3278
+ related?: () => any;
3279
+ }
3280
+ export const UiPageArticle: UiVueComponent<UiPageArticleProps, UiPageArticleSlots>;
3281
+
3242
3282
  /**
3243
3283
  * Sign-in page template without the app shell, as a centered card or a split layout.
3244
3284
  * Note: Designed for the dark theme and used without AppShell.
@@ -3355,6 +3395,44 @@ export interface UiPageBillingSlots {
3355
3395
  }
3356
3396
  export const UiPageBilling: UiVueComponent<UiPageBillingProps, UiPageBillingSlots>;
3357
3397
 
3398
+ /**
3399
+ * Booking flow template: stepper, the active step content, back and continue buttons and a sticky summary card.
3400
+ * Note: Place inside AppShell; fill only the slots you need.
3401
+ * Note: Render only the active step in content. The summary stays visible on the right and goes below the step under 860 px.
3402
+ */
3403
+ export interface UiPageBookingFlowProps {
3404
+ /**
3405
+ * Page heading. The built-in header renders only when title is set and the header slot is empty.
3406
+ * @remarks Forwarded to the inner element.
3407
+ */
3408
+ title?: string;
3409
+ /**
3410
+ * Caption under the heading.
3411
+ * @remarks Forwarded to the inner element.
3412
+ */
3413
+ subtitle?: string;
3414
+ /**
3415
+ * Breadcrumb trail above the title.
3416
+ * @remarks Forwarded to the inner element.
3417
+ */
3418
+ crumbs?: { label: string; href?: string }[];
3419
+ }
3420
+ export interface UiPageBookingFlowSlots {
3421
+ /** Custom page header; replaces the built-in title/subtitle/crumbs header. */
3422
+ header?: () => any;
3423
+ /** Buttons on the right of the built-in header. With a title they sit beside it; without a title they render alone, right-aligned (unless the header slot is filled). */
3424
+ actions?: () => any;
3425
+ /** Progress; Stepper. */
3426
+ steps?: () => any;
3427
+ /** Content of the active step (search, pick, guests, confirm); Card, DatePicker, OptionCards, NumberInput. */
3428
+ content?: () => any;
3429
+ /** Back and Continue buttons. */
3430
+ nav?: () => any;
3431
+ /** Booking summary; Card, Descriptions. */
3432
+ summary?: () => any;
3433
+ }
3434
+ export const UiPageBookingFlow: UiVueComponent<UiPageBookingFlowProps, UiPageBookingFlowSlots>;
3435
+
3358
3436
  /**
3359
3437
  * Bookings list template: stats, toolbar, bulk-action bar, table and pagination.
3360
3438
  * Note: Place inside AppShell; fill only the slots you need.
@@ -3470,6 +3548,42 @@ export interface UiPageCatalogSlots {
3470
3548
  }
3471
3549
  export const UiPageCatalog: UiVueComponent<UiPageCatalogProps, UiPageCatalogSlots>;
3472
3550
 
3551
+ /**
3552
+ * Changelog template: release timeline grouped by version with new, fix and improved tags, a filter and a subscribe card.
3553
+ * Note: Place inside AppShell; fill only the slots you need.
3554
+ * Note: Filters and timeline share the main column; the subscribe card is a sticky side column.
3555
+ */
3556
+ export interface UiPageChangelogProps {
3557
+ /**
3558
+ * Page heading. The built-in header renders only when title is set and the header slot is empty.
3559
+ * @remarks Forwarded to the inner element.
3560
+ */
3561
+ title?: string;
3562
+ /**
3563
+ * Caption under the heading.
3564
+ * @remarks Forwarded to the inner element.
3565
+ */
3566
+ subtitle?: string;
3567
+ /**
3568
+ * Breadcrumb trail above the title.
3569
+ * @remarks Forwarded to the inner element.
3570
+ */
3571
+ crumbs?: { label: string; href?: string }[];
3572
+ }
3573
+ export interface UiPageChangelogSlots {
3574
+ /** Custom page header; replaces the built-in title/subtitle/crumbs header. */
3575
+ header?: () => any;
3576
+ /** Buttons on the right of the built-in header. With a title they sit beside it; without a title they render alone, right-aligned (unless the header slot is filled). */
3577
+ actions?: () => any;
3578
+ /** Tag filter; FilterChips, SearchInput. */
3579
+ filters?: () => any;
3580
+ /** Releases grouped by version; Card, Chip, Divider. */
3581
+ timeline?: () => any;
3582
+ /** Sticky subscribe card; Card, TextField, Button. */
3583
+ subscribe?: () => any;
3584
+ }
3585
+ export const UiPageChangelog: UiVueComponent<UiPageChangelogProps, UiPageChangelogSlots>;
3586
+
3473
3587
  /**
3474
3588
  * Checkout template: step indicator, cart items, delivery address, payment and an order summary column.
3475
3589
  * Note: Place inside AppShell; fill only the slots you need.
@@ -3721,6 +3835,44 @@ export interface UiPageHeaderSlots {
3721
3835
  }
3722
3836
  export const UiPageHeader: UiVueComponent<UiPageHeaderProps, UiPageHeaderSlots>;
3723
3837
 
3838
+ /**
3839
+ * Help center home: search, category grid, popular articles and a contact card.
3840
+ * Note: Place inside AppShell; fill only the slots you need.
3841
+ * Note: Popular articles and contact share a row and wrap on narrow screens. For a single question list use PageFaq.
3842
+ */
3843
+ export interface UiPageHelpProps {
3844
+ /**
3845
+ * Page heading. The built-in header renders only when title is set and the header slot is empty.
3846
+ * @remarks Forwarded to the inner element.
3847
+ */
3848
+ title?: string;
3849
+ /**
3850
+ * Caption under the heading.
3851
+ * @remarks Forwarded to the inner element.
3852
+ */
3853
+ subtitle?: string;
3854
+ /**
3855
+ * Breadcrumb trail above the title.
3856
+ * @remarks Forwarded to the inner element.
3857
+ */
3858
+ crumbs?: { label: string; href?: string }[];
3859
+ }
3860
+ export interface UiPageHelpSlots {
3861
+ /** Custom page header; replaces the built-in title/subtitle/crumbs header. */
3862
+ header?: () => any;
3863
+ /** Buttons on the right of the built-in header. With a title they sit beside it; without a title they render alone, right-aligned (unless the header slot is filled). */
3864
+ actions?: () => any;
3865
+ /** Large search field; SearchInput. */
3866
+ search?: () => any;
3867
+ /** Category tiles; Card with IconTile. */
3868
+ categories?: () => any;
3869
+ /** Popular articles list; Card. */
3870
+ popular?: () => any;
3871
+ /** Contact options; Card, Button. */
3872
+ contact?: () => any;
3873
+ }
3874
+ export const UiPageHelp: UiVueComponent<UiPageHelpProps, UiPageHelpSlots>;
3875
+
3724
3876
  /**
3725
3877
  * Inbox template: filters and conversation list, the open thread with a composer, and a customer panel.
3726
3878
  * Note: Place inside AppShell; fill only the slots you need.
@@ -3860,6 +4012,80 @@ export interface UiPageLandingSlots {
3860
4012
  }
3861
4013
  export const UiPageLanding: UiVueComponent<UiPageLandingProps, UiPageLandingSlots>;
3862
4014
 
4015
+ /**
4016
+ * Legal document template: last-updated line, sticky table of contents, numbered sections and a contact card.
4017
+ * Note: Place inside AppShell; fill only the slots you need.
4018
+ * Note: The table of contents sits left of the document and stacks above it under 860 px.
4019
+ */
4020
+ export interface UiPageLegalProps {
4021
+ /**
4022
+ * Page heading. The built-in header renders only when title is set and the header slot is empty.
4023
+ * @remarks Forwarded to the inner element.
4024
+ */
4025
+ title?: string;
4026
+ /**
4027
+ * Caption under the heading.
4028
+ * @remarks Forwarded to the inner element.
4029
+ */
4030
+ subtitle?: string;
4031
+ /**
4032
+ * Breadcrumb trail above the title.
4033
+ * @remarks Forwarded to the inner element.
4034
+ */
4035
+ crumbs?: { label: string; href?: string }[];
4036
+ }
4037
+ export interface UiPageLegalSlots {
4038
+ /** Custom page header; replaces the built-in title/subtitle/crumbs header. */
4039
+ header?: () => any;
4040
+ /** Buttons on the right of the built-in header. With a title they sit beside it; without a title they render alone, right-aligned (unless the header slot is filled). */
4041
+ actions?: () => any;
4042
+ /** Version, last-updated date and print or download buttons; Chip, Button. */
4043
+ meta?: () => any;
4044
+ /** Sticky table of contents; Card with anchor links. */
4045
+ toc?: () => any;
4046
+ /** Document sections; Card, Heading, Text. */
4047
+ document?: () => any;
4048
+ /** Questions card; Card, Button. */
4049
+ contact?: () => any;
4050
+ }
4051
+ export const UiPageLegal: UiVueComponent<UiPageLegalProps, UiPageLegalSlots>;
4052
+
4053
+ /**
4054
+ * Locations template: filters, a scrollable list of places and a sticky map panel.
4055
+ * Note: Place inside AppShell; fill only the slots you need.
4056
+ * Note: The list is a fixed-width column left of the map; under 860 px the map goes below the list.
4057
+ */
4058
+ export interface UiPageLocationsProps {
4059
+ /**
4060
+ * Page heading. The built-in header renders only when title is set and the header slot is empty.
4061
+ * @remarks Forwarded to the inner element.
4062
+ */
4063
+ title?: string;
4064
+ /**
4065
+ * Caption under the heading.
4066
+ * @remarks Forwarded to the inner element.
4067
+ */
4068
+ subtitle?: string;
4069
+ /**
4070
+ * Breadcrumb trail above the title.
4071
+ * @remarks Forwarded to the inner element.
4072
+ */
4073
+ crumbs?: { label: string; href?: string }[];
4074
+ }
4075
+ export interface UiPageLocationsSlots {
4076
+ /** Custom page header; replaces the built-in title/subtitle/crumbs header. */
4077
+ header?: () => any;
4078
+ /** Buttons on the right of the built-in header. With a title they sit beside it; without a title they render alone, right-aligned (unless the header slot is filled). */
4079
+ actions?: () => any;
4080
+ /** Search and category filters; SearchInput, FilterChips. */
4081
+ filters?: () => any;
4082
+ /** Places list; Card rows. */
4083
+ list?: () => any;
4084
+ /** Map panel; Map, or a gradient placeholder. */
4085
+ map?: () => any;
4086
+ }
4087
+ export const UiPageLocations: UiVueComponent<UiPageLocationsProps, UiPageLocationsSlots>;
4088
+
3863
4089
  /**
3864
4090
  * Notifications template: filters, a feed grouped by day and an empty state. Put Mark all read in actions.
3865
4091
  * Note: Place inside AppShell; fill only the slots you need.
@@ -4173,6 +4399,50 @@ export interface UiPageSettingsSlots {
4173
4399
  }
4174
4400
  export const UiPageSettings: UiVueComponent<UiPageSettingsProps, UiPageSettingsSlots>;
4175
4401
 
4402
+ /**
4403
+ * State gallery: empty list, no results, no permission, offline, error with retry, loading and success on one page.
4404
+ * Note: Place inside AppShell; fill only the slots you need.
4405
+ * Note: The first six slots sit in two rows of auto-fit cards; success spans the full width.
4406
+ */
4407
+ export interface UiPageStatesProps {
4408
+ /**
4409
+ * Page heading. The built-in header renders only when title is set and the header slot is empty.
4410
+ * @remarks Forwarded to the inner element.
4411
+ */
4412
+ title?: string;
4413
+ /**
4414
+ * Caption under the heading.
4415
+ * @remarks Forwarded to the inner element.
4416
+ */
4417
+ subtitle?: string;
4418
+ /**
4419
+ * Breadcrumb trail above the title.
4420
+ * @remarks Forwarded to the inner element.
4421
+ */
4422
+ crumbs?: { label: string; href?: string }[];
4423
+ }
4424
+ export interface UiPageStatesSlots {
4425
+ /** Custom page header; replaces the built-in title/subtitle/crumbs header. */
4426
+ header?: () => any;
4427
+ /** Buttons on the right of the built-in header. With a title they sit beside it; without a title they render alone, right-aligned (unless the header slot is filled). */
4428
+ actions?: () => any;
4429
+ /** Empty list; EmptyState with a primary action. */
4430
+ empty?: () => any;
4431
+ /** No search results; EmptyState with a reset action. */
4432
+ noresults?: () => any;
4433
+ /** No permission; EmptyState with a request-access action. */
4434
+ forbidden?: () => any;
4435
+ /** Offline; DataState state="offline". */
4436
+ offline?: () => any;
4437
+ /** Error with retry; DataState state="error". */
4438
+ error?: () => any;
4439
+ /** Loading; Skeleton or DataState state="loading". */
4440
+ loading?: () => any;
4441
+ /** Success confirmation; Alert tone="success" or EmptyState. */
4442
+ success?: () => any;
4443
+ }
4444
+ export const UiPageStates: UiVueComponent<UiPageStatesProps, UiPageStatesSlots>;
4445
+
4176
4446
  /**
4177
4447
  * Full-page status screen (404, 401, maintenance, coming soon) with one action.
4178
4448
  * Note: Slots replace only their own part: fill message and the preset code and button remain; kind, title, description, onAction and actionLabel apply to the parts whose slot is empty.