@medway-ui/core 1.45.0 → 1.46.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/COMPONENTS.md CHANGED
@@ -1,7 +1,7 @@
1
1
  # @medway-ui/core — Component Reference
2
2
 
3
3
  > **Auto-generated — do not edit manually.**
4
- > Package `@medway-ui/core` · v1.45.0 · Generated 2026-11-12
4
+ > Package `@medway-ui/core` · v1.46.0 · Generated 2026-11-16
5
5
 
6
6
  All components require React 18+ and are client components (`"use client"`).
7
7
 
@@ -43,6 +43,7 @@ import type { ButtonProps } from "@medway-ui/core";
43
43
  - [ConnectorNode](#connectornode)
44
44
  - [Dialog](#dialog)
45
45
  - [Dismiss](#dismiss)
46
+ - [DistributionBar](#distributionbar)
46
47
  - [DropdownMenu](#dropdownmenu)
47
48
  - [DatePicker](#datepicker)
48
49
  - [IndexLevel](#indexlevel)
@@ -54,23 +55,27 @@ import type { ButtonProps } from "@medway-ui/core";
54
55
  - [LoadingOverlay](#loadingoverlay)
55
56
  - [Logo](#logo)
56
57
  - [Offcanvas](#offcanvas)
58
+ - [CardOption](#cardoption)
57
59
  - [Pagination](#pagination)
58
60
  - [Progress](#progress)
59
61
  - [ProgressCircle](#progresscircle)
60
62
  - [RadioGroup](#radiogroup)
61
63
  - [Ranking](#ranking)
62
64
  - [Rating](#rating)
65
+ - [RingCounter](#ringcounter)
63
66
  - [Scroll Area](#scroll-area)
64
67
  - [Select](#select)
65
68
  - [SegmentControl](#segmentcontrol)
66
69
  - [Separator](#separator)
67
70
  - [Sidebar](#sidebar)
68
71
  - [Skeleton](#skeleton)
72
+ - [SortableList](#sortablelist)
69
73
  - [Switch](#switch)
70
74
  - [Switcher](#switcher)
71
75
  - [Tabs](#tabs)
72
76
  - [Tag](#tag)
73
77
  - [TagPicker](#tagpicker)
78
+ - [CardTestimonial](#cardtestimonial)
74
79
  - [TextMarker](#textmarker)
75
80
  - [Textarea](#textarea)
76
81
  - [Tile](#tile)
@@ -1209,6 +1214,54 @@ type ConnectorNodeProps = ConnectorNodeButtonProps | ConnectorNodeStaticProps
1209
1214
 
1210
1215
  ---
1211
1216
 
1217
+ ## DistributionBar
1218
+
1219
+ **Sub-components:** `DistributionBar`
1220
+
1221
+ **Functions / variant helpers:** `distributionBarVariants`, `distributionToneClass`
1222
+
1223
+ **Exported types:** `DistributionBarProps`, `DistributionSegment`, `DistributionTone`
1224
+
1225
+ ### `distributionBarVariants` — CVA Variants
1226
+
1227
+ **`size`** *(default: `"sm"`)*:
1228
+
1229
+ `"sm"` \| `"md"`
1230
+
1231
+ ### `DistributionSegment`
1232
+
1233
+ | Prop | Type | Required |
1234
+ |------|------|:--------:|
1235
+ | `label` | `string` | ✓ |
1236
+ | `value` | `number` | ✓ |
1237
+ | `tone` | `DistributionTone` | |
1238
+
1239
+ ### `DistributionBarProps`
1240
+
1241
+ *Extends: Omit<ComponentProps<"div">, "children">, VariantProps<typeof distributionBarVariants>*
1242
+
1243
+ | Prop | Type | Required |
1244
+ |------|------|:--------:|
1245
+ | `segments` | `readonly DistributionSegment[]` | ✓ |
1246
+ | `label` | `ReactNode` | |
1247
+ | `showLegend` | `boolean` | |
1248
+ | `showPercent` | `boolean` | |
1249
+
1250
+ ### `DistributionTone` *(type)*
1251
+
1252
+ ```typescript
1253
+ type DistributionTone = | "primary"
1254
+ | "secondary"
1255
+ | "cm"
1256
+ | "go"
1257
+ | "cir"
1258
+ | "ped"
1259
+ | "prev"
1260
+ | "gray"
1261
+ ```
1262
+
1263
+ ---
1264
+
1212
1265
  ## DropdownMenu
1213
1266
 
1214
1267
  **Sub-components:** `DropdownMenu`, `DropdownMenuCheckboxItem`, `DropdownMenuContent`, `DropdownMenuGroup`, `DropdownMenuItem`, `DropdownMenuLabel`, `DropdownMenuPortal`, `DropdownMenuRadioGroup`, `DropdownMenuRadioItem`, `DropdownMenuSeparator`, `DropdownMenuShortcut`, `DropdownMenuSub`, `DropdownMenuSubContent`, `DropdownMenuSubTrigger`, `DropdownMenuTrigger`
@@ -1648,6 +1701,76 @@ type OffcanvasSize = number | string
1648
1701
 
1649
1702
  ---
1650
1703
 
1704
+ ## CardOption
1705
+
1706
+ **Sub-components:** `CardOption`, `CardOptionGroup`
1707
+
1708
+ **Functions / variant helpers:** `cardOptionVariants`
1709
+
1710
+ **Exported types:** `CardOptionGroupProps`, `CardOptionIndicator`, `CardOptionProps`, `CardOptionSize`
1711
+
1712
+ > **Radix UI base:** `RadioGroup` — sub-components forward all Radix UI props.
1713
+
1714
+ ### `cardOptionVariants` — CVA Variants
1715
+
1716
+ **`size`** *(default: `"md"`)*:
1717
+
1718
+ `"md"` \| `"lg"`
1719
+
1720
+ **`emphasis`** *(default: `"true"`)*:
1721
+
1722
+ `"true"` \| `"false"`
1723
+
1724
+ **`interactive`** *(default: `"true"`)*:
1725
+
1726
+ `"true"` \| `"false"`
1727
+
1728
+ **`disabled`** *(default: `"false"`)*:
1729
+
1730
+ `"true"` \| `"false"`
1731
+
1732
+ ### `CardOptionProps`
1733
+
1734
+ *Extends: Omit<
1735
+ ComponentPropsWithoutRef<"button">,
1736
+ "value" | "children" | "disabled" | "onClick" | "type"
1737
+ >*
1738
+
1739
+ | Prop | Type | Required |
1740
+ |------|------|:--------:|
1741
+ | `value` | `string` | ✓ |
1742
+ | `label` | `string` | |
1743
+ | `children` | `ReactNode` | |
1744
+ | `description` | `string` | |
1745
+ | `disabled` | `boolean` | |
1746
+ | `readOnly` | `boolean` | |
1747
+ | `emphasis` | `boolean` | |
1748
+ | `className` | `string` | |
1749
+ | `indicator` | `CardOptionIndicator` | |
1750
+ | `checked` | `boolean` | |
1751
+ | `onCheckedChange` | `(checked: boolean) => void` | |
1752
+
1753
+ ### `CardOptionSize` *(type)*
1754
+
1755
+ ```typescript
1756
+ type CardOptionSize = "md" | "lg"
1757
+ ```
1758
+
1759
+ ### `CardOptionIndicator` *(type)*
1760
+
1761
+ ```typescript
1762
+ type CardOptionIndicator = "radio" | "checkbox"
1763
+ ```
1764
+
1765
+ ### `CardOptionGroupProps` *(type)*
1766
+
1767
+ ```typescript
1768
+ type CardOptionGroupProps = | CardOptionGroupSingleProps
1769
+ | CardOptionGroupMultipleProps
1770
+ ```
1771
+
1772
+ ---
1773
+
1651
1774
  ## Pagination
1652
1775
 
1653
1776
  **Sub-components:** `Pagination`, `PaginationContent`, `PaginationEllipsis`, `PaginationInfo`, `PaginationItem`, `PaginationLink`, `PaginationNext`, `PaginationPrevious`, `PaginationRoot`
@@ -1952,6 +2075,40 @@ type RatingStarState = "empty" | "half" | "full"
1952
2075
 
1953
2076
  ---
1954
2077
 
2078
+ ## RingCounter
2079
+
2080
+ **Sub-components:** `RingCounter`
2081
+
2082
+ **Functions / variant helpers:** `alignToStep`
2083
+
2084
+ **Exported types:** `RingCounterProps`
2085
+
2086
+ ### `RingCounterProps`
2087
+
2088
+ *Extends: Omit<
2089
+ ComponentProps<"div">,
2090
+ "children" | "defaultValue" | "onChange"
2091
+ >*
2092
+
2093
+ | Prop | Type | Required |
2094
+ |------|------|:--------:|
2095
+ | `value` | `number \| null` | |
2096
+ | `defaultValue` | `number` | |
2097
+ | `onValueChange` | `(value: number) => void` | |
2098
+ | `min` | `number` | |
2099
+ | `max` | `number` | |
2100
+ | `step` | `number` | |
2101
+ | `formatValue` | `(value: number) => string` | |
2102
+ | `caption` | `ReactNode` | |
2103
+ | `helperText` | `ReactNode` | |
2104
+ | `valueText` | `(value: number) => string` | |
2105
+ | `decrementLabel` | `string` | |
2106
+ | `incrementLabel` | `string` | |
2107
+ | `arc` | `"static" \| "progress"` | |
2108
+ | `disabled` | `boolean` | |
2109
+
2110
+ ---
2111
+
1955
2112
  ## Scroll Area
1956
2113
 
1957
2114
  **Sub-components:** `ScrollArea`, `ScrollBar`
@@ -2069,6 +2226,47 @@ type SelectSize = "md" | "lg"
2069
2226
 
2070
2227
  ---
2071
2228
 
2229
+ ## SortableList
2230
+
2231
+ **Sub-components:** `SortableList`
2232
+
2233
+ **Functions / variant helpers:** `moveItem`
2234
+
2235
+ **Exported types:** `SortableId`, `SortableItem`, `SortableListProps`
2236
+
2237
+ ### `SortableItem`
2238
+
2239
+ | Prop | Type | Required |
2240
+ |------|------|:--------:|
2241
+ | `id` | `SortableId` | ✓ |
2242
+ | `label` | `string` | ✓ |
2243
+
2244
+ ### `SortableListProps`
2245
+
2246
+ *Extends: Omit<ComponentPropsWithoutRef<"ul">, "children" | "onChange">*
2247
+
2248
+ | Prop | Type | Required |
2249
+ |------|------|:--------:|
2250
+ | `items` | `readonly T[]` | ✓ |
2251
+ | `onChange` | `(items: T[]) => void` | ✓ |
2252
+ | `onRemove` | `(item: T) => void` | |
2253
+ | `showRank` | `boolean` | |
2254
+ | `renderLabel` | `(item: T, index: number) => ReactNode` | |
2255
+ | `disabled` | `boolean` | |
2256
+ | `emptyState` | `ReactNode` | |
2257
+ | `dragHandleLabel` | `string` | |
2258
+ | `removeLabel` | `(item: T) => string` | |
2259
+ | `moveUpLabel` | `string` | |
2260
+ | `moveDownLabel` | `string` | |
2261
+
2262
+ ### `SortableId` *(type)*
2263
+
2264
+ ```typescript
2265
+ type SortableId = string | number
2266
+ ```
2267
+
2268
+ ---
2269
+
2072
2270
  ## Switch
2073
2271
 
2074
2272
  **Sub-components:** `Switch`
@@ -2353,6 +2551,31 @@ type TagSize = NonNullable<VariantProps<typeof tagVariants>["size"]>
2353
2551
 
2354
2552
  ---
2355
2553
 
2554
+ ## CardTestimonial
2555
+
2556
+ **Sub-components:** `CardTestimonial`
2557
+
2558
+ **Functions / variant helpers:** `cardTestimonialInitials`
2559
+
2560
+ **Exported types:** `CardTestimonialProps`
2561
+
2562
+ ### `CardTestimonialProps`
2563
+
2564
+ *Extends: Omit<ComponentProps<"figure">, "children">*
2565
+
2566
+ | Prop | Type | Required |
2567
+ |------|------|:--------:|
2568
+ | `name` | `string` | ✓ |
2569
+ | `quote` | `string` | ✓ |
2570
+ | `jobTitle` | `string` | |
2571
+ | `organization` | `string` | |
2572
+ | `separator` | `string` | |
2573
+ | `avatarSrc` | `string` | |
2574
+ | `avatarFallback` | `string` | |
2575
+ | `footer` | `ReactNode` | |
2576
+
2577
+ ---
2578
+
2356
2579
  ## TextMarker
2357
2580
 
2358
2581
  **Sub-components:** `TEXT_MARKER_COLORS`, `TextMarker`
@@ -1,6 +1,6 @@
1
1
  # @medway-ui/core — Component Summary
2
2
 
3
- > v1.45.0 · For the full prop/variant reference see `COMPONENTS.md`.
3
+ > v1.46.0 · For the full prop/variant reference see `COMPONENTS.md`.
4
4
 
5
5
  ## Components
6
6
 
@@ -27,6 +27,7 @@
27
27
  - **ConnectorNode** — status: done, current, upcoming
28
28
  - **Dialog** — Radix: Dialog | sub: DialogClose, DialogContainer, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger
29
29
  - **Dismiss** — sizes: sm, md
30
+ - **DistributionBar** — sizes: sm, md
30
31
  - **DropdownMenu** — Radix: DropdownMenu | sub: DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger
31
32
  - **DatePicker** — sizes: lg, md | Radix: Popover | sub: DateRangePicker, DatePickerWrapper, DatePickerLabel, DatePickerText
32
33
  - **IndexLevel** — variants: regular, soft, basic | sizes: sm, md | sub: INDEX_LEVEL_LABELS, IndexLevelIcon
@@ -38,23 +39,27 @@
38
39
  - **LoadingOverlay** — Radix: Dialog | sub: LoadingOverlayCard, LoadingOverlaySpinner
39
40
  - **Logo** — sub: LogoShort, LogoCircular
40
41
  - **Offcanvas** — Radix: Dialog | sub: OffcanvasBody, OffcanvasClose, OffcanvasContent, OffcanvasDescription, OffcanvasFooter, OffcanvasHeader, OffcanvasOverlay, OffcanvasPortal, OffcanvasTitle, OffcanvasTrigger
42
+ - **CardOption** — sizes: md, lg | emphasis: true, false | interactive: true, false | disabled: true, false | Radix: RadioGroup | sub: CardOptionGroup
41
43
  - **Pagination** — sub: PaginationContent, PaginationEllipsis, PaginationInfo, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, PaginationRoot
42
44
  - **Progress** — Radix: Progress
43
45
  - **ProgressCircle**
44
46
  - **RadioGroup** — variants: regular | sizes: sm, md, lg | Radix: RadioGroup | sub: RadioGroupItem
45
47
  - **Ranking** — sub: RankingHeader, RankingHeaderCell, RankingBody, RankingItem, RankingNumber, RankingTopicColumn, RankingTopicContent, RankingSpecialty, RankingTopic, RankingSuperFocus, RankingAssigneesColumn, RankingAssigneeLabel, RankingAssigneeGroup, RankingAssigneeItem, RankingPriority, RankingQuestions, RankingPerformance, RankingButton
46
48
  - **Rating** — sizes: sm, md, lg | readOnly: true, false | sub: RatingButtonVariants, RatingLabelVariants, RatingStarVariants
49
+ - **RingCounter**
47
50
  - **Scroll Area** — Radix: ScrollArea | sub: ScrollArea, ScrollBar
48
51
  - **Select** — sizes: lg, md | Radix: Select | sub: SelectContent, SelectGroup, SelectHeader, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectText, SelectTrigger, SelectValue, SelectWrapper
49
52
  - **SegmentControl** — sizes: sm, md, lg | Radix: Tabs | sub: SegmentControlContent, SegmentControlList, SegmentControlTrigger
50
53
  - **Separator** — Radix: Separator
51
54
  - **Sidebar** — variants: default, section, outline | sizes: sm, md, lg | sub: SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuItemCollapse, SidebarMenuItemTitle, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger
52
55
  - **Skeleton**
56
+ - **SortableList**
53
57
  - **Switch** — variants: regular | sizes: sm, md, lg | Radix: Switch
54
58
  - **Switcher** — sub: SwitcherContent, SwitcherFooter, SwitcherGroup, SwitcherItem, SwitcherSeparator, SwitcherTrigger
55
59
  - **Tabs** — variants: standalone, header | sizes: md, lg | side: left, right | Radix: Tabs | sub: TabsContent, TabsList, TabsTrigger
56
60
  - **Tag** — sizes: sm, md | variants: regular, regular-soft, regular-basic, emphasis, emphasis-soft, emphasis-basic, gray, gray-soft, gray-basic, success, success-soft, success-basic, error, error-soft, error-basic, warning, warning-soft, warning-basic, cm, cm-soft, cm-basic, go, go-soft, go-basic, cir, cir-soft, cir-basic, ped, ped-soft, ped-basic, prev, prev-soft, prev-basic, ia, ia-soft, ia-basic
57
61
  - **TagPicker** — sub: TAG_PICKER_PALETTE
62
+ - **CardTestimonial**
58
63
  - **TextMarker** — color: none | strikethrough: true, false | underline: true, false | Radix: Popover, Toolbar | sub: TEXT_MARKER_COLORS
59
64
  - **Textarea** — sizes: lg, md | autoResize: true, false
60
65
  - **Tile** — variants: regular, cm, go, cir, ped, prev | sizes: default, compact | sub: TileDescription, TileIcon, TileTitle
@@ -1,7 +1,7 @@
1
1
  # @medway-ui/core — Component Reference
2
2
 
3
3
  > **Auto-generated — do not edit manually.**
4
- > Package `@medway-ui/core` · v1.45.0 · Generated 2026-11-12
4
+ > Package `@medway-ui/core` · v1.46.0 · Generated 2026-11-16
5
5
 
6
6
  All components require React 18+ and are client components (`"use client"`).
7
7
 
@@ -43,6 +43,7 @@ import type { ButtonProps } from "@medway-ui/core";
43
43
  - [ConnectorNode](#connectornode)
44
44
  - [Dialog](#dialog)
45
45
  - [Dismiss](#dismiss)
46
+ - [DistributionBar](#distributionbar)
46
47
  - [DropdownMenu](#dropdownmenu)
47
48
  - [DatePicker](#datepicker)
48
49
  - [IndexLevel](#indexlevel)
@@ -54,23 +55,27 @@ import type { ButtonProps } from "@medway-ui/core";
54
55
  - [LoadingOverlay](#loadingoverlay)
55
56
  - [Logo](#logo)
56
57
  - [Offcanvas](#offcanvas)
58
+ - [CardOption](#cardoption)
57
59
  - [Pagination](#pagination)
58
60
  - [Progress](#progress)
59
61
  - [ProgressCircle](#progresscircle)
60
62
  - [RadioGroup](#radiogroup)
61
63
  - [Ranking](#ranking)
62
64
  - [Rating](#rating)
65
+ - [RingCounter](#ringcounter)
63
66
  - [Scroll Area](#scroll-area)
64
67
  - [Select](#select)
65
68
  - [SegmentControl](#segmentcontrol)
66
69
  - [Separator](#separator)
67
70
  - [Sidebar](#sidebar)
68
71
  - [Skeleton](#skeleton)
72
+ - [SortableList](#sortablelist)
69
73
  - [Switch](#switch)
70
74
  - [Switcher](#switcher)
71
75
  - [Tabs](#tabs)
72
76
  - [Tag](#tag)
73
77
  - [TagPicker](#tagpicker)
78
+ - [CardTestimonial](#cardtestimonial)
74
79
  - [TextMarker](#textmarker)
75
80
  - [Textarea](#textarea)
76
81
  - [Tile](#tile)
@@ -1209,6 +1214,54 @@ type ConnectorNodeProps = ConnectorNodeButtonProps | ConnectorNodeStaticProps
1209
1214
 
1210
1215
  ---
1211
1216
 
1217
+ ## DistributionBar
1218
+
1219
+ **Sub-components:** `DistributionBar`
1220
+
1221
+ **Functions / variant helpers:** `distributionBarVariants`, `distributionToneClass`
1222
+
1223
+ **Exported types:** `DistributionBarProps`, `DistributionSegment`, `DistributionTone`
1224
+
1225
+ ### `distributionBarVariants` — CVA Variants
1226
+
1227
+ **`size`** *(default: `"sm"`)*:
1228
+
1229
+ `"sm"` \| `"md"`
1230
+
1231
+ ### `DistributionSegment`
1232
+
1233
+ | Prop | Type | Required |
1234
+ |------|------|:--------:|
1235
+ | `label` | `string` | ✓ |
1236
+ | `value` | `number` | ✓ |
1237
+ | `tone` | `DistributionTone` | |
1238
+
1239
+ ### `DistributionBarProps`
1240
+
1241
+ *Extends: Omit<ComponentProps<"div">, "children">, VariantProps<typeof distributionBarVariants>*
1242
+
1243
+ | Prop | Type | Required |
1244
+ |------|------|:--------:|
1245
+ | `segments` | `readonly DistributionSegment[]` | ✓ |
1246
+ | `label` | `ReactNode` | |
1247
+ | `showLegend` | `boolean` | |
1248
+ | `showPercent` | `boolean` | |
1249
+
1250
+ ### `DistributionTone` *(type)*
1251
+
1252
+ ```typescript
1253
+ type DistributionTone = | "primary"
1254
+ | "secondary"
1255
+ | "cm"
1256
+ | "go"
1257
+ | "cir"
1258
+ | "ped"
1259
+ | "prev"
1260
+ | "gray"
1261
+ ```
1262
+
1263
+ ---
1264
+
1212
1265
  ## DropdownMenu
1213
1266
 
1214
1267
  **Sub-components:** `DropdownMenu`, `DropdownMenuCheckboxItem`, `DropdownMenuContent`, `DropdownMenuGroup`, `DropdownMenuItem`, `DropdownMenuLabel`, `DropdownMenuPortal`, `DropdownMenuRadioGroup`, `DropdownMenuRadioItem`, `DropdownMenuSeparator`, `DropdownMenuShortcut`, `DropdownMenuSub`, `DropdownMenuSubContent`, `DropdownMenuSubTrigger`, `DropdownMenuTrigger`
@@ -1648,6 +1701,76 @@ type OffcanvasSize = number | string
1648
1701
 
1649
1702
  ---
1650
1703
 
1704
+ ## CardOption
1705
+
1706
+ **Sub-components:** `CardOption`, `CardOptionGroup`
1707
+
1708
+ **Functions / variant helpers:** `cardOptionVariants`
1709
+
1710
+ **Exported types:** `CardOptionGroupProps`, `CardOptionIndicator`, `CardOptionProps`, `CardOptionSize`
1711
+
1712
+ > **Radix UI base:** `RadioGroup` — sub-components forward all Radix UI props.
1713
+
1714
+ ### `cardOptionVariants` — CVA Variants
1715
+
1716
+ **`size`** *(default: `"md"`)*:
1717
+
1718
+ `"md"` \| `"lg"`
1719
+
1720
+ **`emphasis`** *(default: `"true"`)*:
1721
+
1722
+ `"true"` \| `"false"`
1723
+
1724
+ **`interactive`** *(default: `"true"`)*:
1725
+
1726
+ `"true"` \| `"false"`
1727
+
1728
+ **`disabled`** *(default: `"false"`)*:
1729
+
1730
+ `"true"` \| `"false"`
1731
+
1732
+ ### `CardOptionProps`
1733
+
1734
+ *Extends: Omit<
1735
+ ComponentPropsWithoutRef<"button">,
1736
+ "value" | "children" | "disabled" | "onClick" | "type"
1737
+ >*
1738
+
1739
+ | Prop | Type | Required |
1740
+ |------|------|:--------:|
1741
+ | `value` | `string` | ✓ |
1742
+ | `label` | `string` | |
1743
+ | `children` | `ReactNode` | |
1744
+ | `description` | `string` | |
1745
+ | `disabled` | `boolean` | |
1746
+ | `readOnly` | `boolean` | |
1747
+ | `emphasis` | `boolean` | |
1748
+ | `className` | `string` | |
1749
+ | `indicator` | `CardOptionIndicator` | |
1750
+ | `checked` | `boolean` | |
1751
+ | `onCheckedChange` | `(checked: boolean) => void` | |
1752
+
1753
+ ### `CardOptionSize` *(type)*
1754
+
1755
+ ```typescript
1756
+ type CardOptionSize = "md" | "lg"
1757
+ ```
1758
+
1759
+ ### `CardOptionIndicator` *(type)*
1760
+
1761
+ ```typescript
1762
+ type CardOptionIndicator = "radio" | "checkbox"
1763
+ ```
1764
+
1765
+ ### `CardOptionGroupProps` *(type)*
1766
+
1767
+ ```typescript
1768
+ type CardOptionGroupProps = | CardOptionGroupSingleProps
1769
+ | CardOptionGroupMultipleProps
1770
+ ```
1771
+
1772
+ ---
1773
+
1651
1774
  ## Pagination
1652
1775
 
1653
1776
  **Sub-components:** `Pagination`, `PaginationContent`, `PaginationEllipsis`, `PaginationInfo`, `PaginationItem`, `PaginationLink`, `PaginationNext`, `PaginationPrevious`, `PaginationRoot`
@@ -1952,6 +2075,40 @@ type RatingStarState = "empty" | "half" | "full"
1952
2075
 
1953
2076
  ---
1954
2077
 
2078
+ ## RingCounter
2079
+
2080
+ **Sub-components:** `RingCounter`
2081
+
2082
+ **Functions / variant helpers:** `alignToStep`
2083
+
2084
+ **Exported types:** `RingCounterProps`
2085
+
2086
+ ### `RingCounterProps`
2087
+
2088
+ *Extends: Omit<
2089
+ ComponentProps<"div">,
2090
+ "children" | "defaultValue" | "onChange"
2091
+ >*
2092
+
2093
+ | Prop | Type | Required |
2094
+ |------|------|:--------:|
2095
+ | `value` | `number \| null` | |
2096
+ | `defaultValue` | `number` | |
2097
+ | `onValueChange` | `(value: number) => void` | |
2098
+ | `min` | `number` | |
2099
+ | `max` | `number` | |
2100
+ | `step` | `number` | |
2101
+ | `formatValue` | `(value: number) => string` | |
2102
+ | `caption` | `ReactNode` | |
2103
+ | `helperText` | `ReactNode` | |
2104
+ | `valueText` | `(value: number) => string` | |
2105
+ | `decrementLabel` | `string` | |
2106
+ | `incrementLabel` | `string` | |
2107
+ | `arc` | `"static" \| "progress"` | |
2108
+ | `disabled` | `boolean` | |
2109
+
2110
+ ---
2111
+
1955
2112
  ## Scroll Area
1956
2113
 
1957
2114
  **Sub-components:** `ScrollArea`, `ScrollBar`
@@ -2069,6 +2226,47 @@ type SelectSize = "md" | "lg"
2069
2226
 
2070
2227
  ---
2071
2228
 
2229
+ ## SortableList
2230
+
2231
+ **Sub-components:** `SortableList`
2232
+
2233
+ **Functions / variant helpers:** `moveItem`
2234
+
2235
+ **Exported types:** `SortableId`, `SortableItem`, `SortableListProps`
2236
+
2237
+ ### `SortableItem`
2238
+
2239
+ | Prop | Type | Required |
2240
+ |------|------|:--------:|
2241
+ | `id` | `SortableId` | ✓ |
2242
+ | `label` | `string` | ✓ |
2243
+
2244
+ ### `SortableListProps`
2245
+
2246
+ *Extends: Omit<ComponentPropsWithoutRef<"ul">, "children" | "onChange">*
2247
+
2248
+ | Prop | Type | Required |
2249
+ |------|------|:--------:|
2250
+ | `items` | `readonly T[]` | ✓ |
2251
+ | `onChange` | `(items: T[]) => void` | ✓ |
2252
+ | `onRemove` | `(item: T) => void` | |
2253
+ | `showRank` | `boolean` | |
2254
+ | `renderLabel` | `(item: T, index: number) => ReactNode` | |
2255
+ | `disabled` | `boolean` | |
2256
+ | `emptyState` | `ReactNode` | |
2257
+ | `dragHandleLabel` | `string` | |
2258
+ | `removeLabel` | `(item: T) => string` | |
2259
+ | `moveUpLabel` | `string` | |
2260
+ | `moveDownLabel` | `string` | |
2261
+
2262
+ ### `SortableId` *(type)*
2263
+
2264
+ ```typescript
2265
+ type SortableId = string | number
2266
+ ```
2267
+
2268
+ ---
2269
+
2072
2270
  ## Switch
2073
2271
 
2074
2272
  **Sub-components:** `Switch`
@@ -2353,6 +2551,31 @@ type TagSize = NonNullable<VariantProps<typeof tagVariants>["size"]>
2353
2551
 
2354
2552
  ---
2355
2553
 
2554
+ ## CardTestimonial
2555
+
2556
+ **Sub-components:** `CardTestimonial`
2557
+
2558
+ **Functions / variant helpers:** `cardTestimonialInitials`
2559
+
2560
+ **Exported types:** `CardTestimonialProps`
2561
+
2562
+ ### `CardTestimonialProps`
2563
+
2564
+ *Extends: Omit<ComponentProps<"figure">, "children">*
2565
+
2566
+ | Prop | Type | Required |
2567
+ |------|------|:--------:|
2568
+ | `name` | `string` | ✓ |
2569
+ | `quote` | `string` | ✓ |
2570
+ | `jobTitle` | `string` | |
2571
+ | `organization` | `string` | |
2572
+ | `separator` | `string` | |
2573
+ | `avatarSrc` | `string` | |
2574
+ | `avatarFallback` | `string` | |
2575
+ | `footer` | `ReactNode` | |
2576
+
2577
+ ---
2578
+
2356
2579
  ## TextMarker
2357
2580
 
2358
2581
  **Sub-components:** `TEXT_MARKER_COLORS`, `TextMarker`
@@ -1,6 +1,6 @@
1
1
  # @medway-ui/core — Component Summary
2
2
 
3
- > v1.45.0 · For the full prop/variant reference see `COMPONENTS.md`.
3
+ > v1.46.0 · For the full prop/variant reference see `COMPONENTS.md`.
4
4
 
5
5
  ## Components
6
6
 
@@ -27,6 +27,7 @@
27
27
  - **ConnectorNode** — status: done, current, upcoming
28
28
  - **Dialog** — Radix: Dialog | sub: DialogClose, DialogContainer, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger
29
29
  - **Dismiss** — sizes: sm, md
30
+ - **DistributionBar** — sizes: sm, md
30
31
  - **DropdownMenu** — Radix: DropdownMenu | sub: DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger
31
32
  - **DatePicker** — sizes: lg, md | Radix: Popover | sub: DateRangePicker, DatePickerWrapper, DatePickerLabel, DatePickerText
32
33
  - **IndexLevel** — variants: regular, soft, basic | sizes: sm, md | sub: INDEX_LEVEL_LABELS, IndexLevelIcon
@@ -38,23 +39,27 @@
38
39
  - **LoadingOverlay** — Radix: Dialog | sub: LoadingOverlayCard, LoadingOverlaySpinner
39
40
  - **Logo** — sub: LogoShort, LogoCircular
40
41
  - **Offcanvas** — Radix: Dialog | sub: OffcanvasBody, OffcanvasClose, OffcanvasContent, OffcanvasDescription, OffcanvasFooter, OffcanvasHeader, OffcanvasOverlay, OffcanvasPortal, OffcanvasTitle, OffcanvasTrigger
42
+ - **CardOption** — sizes: md, lg | emphasis: true, false | interactive: true, false | disabled: true, false | Radix: RadioGroup | sub: CardOptionGroup
41
43
  - **Pagination** — sub: PaginationContent, PaginationEllipsis, PaginationInfo, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, PaginationRoot
42
44
  - **Progress** — Radix: Progress
43
45
  - **ProgressCircle**
44
46
  - **RadioGroup** — variants: regular | sizes: sm, md, lg | Radix: RadioGroup | sub: RadioGroupItem
45
47
  - **Ranking** — sub: RankingHeader, RankingHeaderCell, RankingBody, RankingItem, RankingNumber, RankingTopicColumn, RankingTopicContent, RankingSpecialty, RankingTopic, RankingSuperFocus, RankingAssigneesColumn, RankingAssigneeLabel, RankingAssigneeGroup, RankingAssigneeItem, RankingPriority, RankingQuestions, RankingPerformance, RankingButton
46
48
  - **Rating** — sizes: sm, md, lg | readOnly: true, false | sub: RatingButtonVariants, RatingLabelVariants, RatingStarVariants
49
+ - **RingCounter**
47
50
  - **Scroll Area** — Radix: ScrollArea | sub: ScrollArea, ScrollBar
48
51
  - **Select** — sizes: lg, md | Radix: Select | sub: SelectContent, SelectGroup, SelectHeader, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectText, SelectTrigger, SelectValue, SelectWrapper
49
52
  - **SegmentControl** — sizes: sm, md, lg | Radix: Tabs | sub: SegmentControlContent, SegmentControlList, SegmentControlTrigger
50
53
  - **Separator** — Radix: Separator
51
54
  - **Sidebar** — variants: default, section, outline | sizes: sm, md, lg | sub: SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuItemCollapse, SidebarMenuItemTitle, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger
52
55
  - **Skeleton**
56
+ - **SortableList**
53
57
  - **Switch** — variants: regular | sizes: sm, md, lg | Radix: Switch
54
58
  - **Switcher** — sub: SwitcherContent, SwitcherFooter, SwitcherGroup, SwitcherItem, SwitcherSeparator, SwitcherTrigger
55
59
  - **Tabs** — variants: standalone, header | sizes: md, lg | side: left, right | Radix: Tabs | sub: TabsContent, TabsList, TabsTrigger
56
60
  - **Tag** — sizes: sm, md | variants: regular, regular-soft, regular-basic, emphasis, emphasis-soft, emphasis-basic, gray, gray-soft, gray-basic, success, success-soft, success-basic, error, error-soft, error-basic, warning, warning-soft, warning-basic, cm, cm-soft, cm-basic, go, go-soft, go-basic, cir, cir-soft, cir-basic, ped, ped-soft, ped-basic, prev, prev-soft, prev-basic, ia, ia-soft, ia-basic
57
61
  - **TagPicker** — sub: TAG_PICKER_PALETTE
62
+ - **CardTestimonial**
58
63
  - **TextMarker** — color: none | strikethrough: true, false | underline: true, false | Radix: Popover, Toolbar | sub: TEXT_MARKER_COLORS
59
64
  - **Textarea** — sizes: lg, md | autoResize: true, false
60
65
  - **Tile** — variants: regular, cm, go, cir, ped, prev | sizes: default, compact | sub: TileDescription, TileIcon, TileTitle