@oxy.so/bloom 19.5.1 → 19.5.2
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/docs/activity-heatmap.mdx +7 -0
- package/docs/adoption-matrix.mdx +15 -15
- package/docs/announcement.mdx +7 -0
- package/docs/avatar.mdx +2 -0
- package/docs/badge.mdx +2 -0
- package/docs/chip.mdx +6 -2
- package/docs/composition-bar.mdx +4 -0
- package/docs/contact-card.mdx +5 -0
- package/docs/divider.mdx +8 -0
- package/docs/empty-state.mdx +8 -0
- package/docs/icon-circle.mdx +2 -0
- package/docs/public-parts.mdx +38 -27
- package/docs/task-catalog.json +1 -1
- package/docs/task-catalog.mdx +1 -1
- package/docs/typography.mdx +9 -0
- package/lib/commonjs/chip/Chip.js +10 -1
- package/lib/commonjs/chip/Chip.js.map +1 -1
- package/lib/commonjs/chip/shared.js +2 -2
- package/lib/commonjs/stay-filters/CountFilter.js +1 -1
- package/lib/commonjs/stay-filters/FilterChip.js +1 -1
- package/lib/commonjs/stay-filters/ToggleChipGroup.js +1 -1
- package/lib/module/chip/Chip.js +10 -1
- package/lib/module/chip/Chip.js.map +1 -1
- package/lib/module/chip/shared.js +2 -2
- package/lib/module/stay-filters/CountFilter.js +1 -1
- package/lib/module/stay-filters/FilterChip.js +1 -1
- package/lib/module/stay-filters/ToggleChipGroup.js +1 -1
- package/lib/typescript/commonjs/chip/Chip.d.ts.map +1 -1
- package/lib/typescript/commonjs/chip/shared.d.ts +1 -1
- package/lib/typescript/commonjs/chip/types.d.ts +1 -1
- package/lib/typescript/commonjs/stay-filters/CountFilter.d.ts +1 -1
- package/lib/typescript/commonjs/stay-filters/ToggleChipGroup.d.ts +1 -1
- package/lib/typescript/module/chip/Chip.d.ts.map +1 -1
- package/lib/typescript/module/chip/shared.d.ts +1 -1
- package/lib/typescript/module/chip/types.d.ts +1 -1
- package/lib/typescript/module/stay-filters/CountFilter.d.ts +1 -1
- package/lib/typescript/module/stay-filters/ToggleChipGroup.d.ts +1 -1
- package/package.json +1 -1
- package/src/__tests__/support/public-part-classifications.json +169 -26
- package/src/chip/Chip.tsx +3 -1
- package/src/chip/shared.ts +2 -2
- package/src/chip/types.ts +1 -1
- package/src/stay-filters/CountFilter.tsx +1 -1
- package/src/stay-filters/FilterChip.tsx +1 -1
- package/src/stay-filters/ToggleChipGroup.tsx +1 -1
|
@@ -793,7 +793,6 @@
|
|
|
793
793
|
"verification": "pending; not a passing adoption verdict",
|
|
794
794
|
"parts": [
|
|
795
795
|
"src/activity-feed/ActivityFeed.tsx#ActivityFeed",
|
|
796
|
-
"src/activity-heatmap/ActivityHeatmap.tsx#ActivityHeatmap",
|
|
797
796
|
"src/agent-avatar/AgentAvatar.tsx#AgentAvatar",
|
|
798
797
|
"src/agent-avatar/AgentAvatarProvider.tsx#AgentAvatarProvider",
|
|
799
798
|
"src/agent-chat/AgentChat.tsx#AgentChat",
|
|
@@ -843,7 +842,6 @@
|
|
|
843
842
|
"src/alert-dialog/index.ts#AlertDialog",
|
|
844
843
|
"src/ambient-photo/AmbientPhoto.tsx#AmbientPhoto",
|
|
845
844
|
"src/animated-check/AnimatedCheck.tsx#AnimatedCheck",
|
|
846
|
-
"src/announcement/Announcement.tsx#Announcement",
|
|
847
845
|
"src/app-shell/AppShellHeader.tsx#AppShellHeader",
|
|
848
846
|
"src/app-shell/AppShellMenuButton.tsx#AppShellMenuButton",
|
|
849
847
|
"src/app-shell/AppShellPanelVisibility.tsx#AppShellPanelVisibility",
|
|
@@ -859,9 +857,7 @@
|
|
|
859
857
|
"src/avatar-flight/AvatarAnchor.tsx#AvatarAnchor",
|
|
860
858
|
"src/avatar-flight/AvatarFlightLayer.tsx#AvatarFlightLayer",
|
|
861
859
|
"src/avatar-group/AvatarGroup.tsx#AvatarGroup",
|
|
862
|
-
"src/avatar/Avatar.tsx#Avatar",
|
|
863
860
|
"src/avatar/context.ts#AvatarPlaceholderProvider",
|
|
864
|
-
"src/badge/Badge.tsx#Badge",
|
|
865
861
|
"src/booking/BookingBar.tsx#BookingBar",
|
|
866
862
|
"src/booking/BookingCard.tsx#BookingCard",
|
|
867
863
|
"src/booking/PriceBreakdown.tsx#PriceBreakdown",
|
|
@@ -1000,7 +996,6 @@
|
|
|
1000
996
|
"src/checkout-summary/CheckoutSummary.tsx#CheckoutSummary",
|
|
1001
997
|
"src/checkout-summary/CheckoutSummaryRow.tsx#CheckoutSummaryRow",
|
|
1002
998
|
"src/chip/CappedChipRow.tsx#CappedChipRow",
|
|
1003
|
-
"src/chip/Chip.tsx#Chip",
|
|
1004
999
|
"src/chip/ChipRow.tsx#ChipRow",
|
|
1005
1000
|
"src/choice-list/ChoiceList.tsx#ChoiceList",
|
|
1006
1001
|
"src/code/Code.tsx#Code",
|
|
@@ -1016,8 +1011,6 @@
|
|
|
1016
1011
|
"src/composer-panel/ComposerPill.tsx#ComposerPill",
|
|
1017
1012
|
"src/composer-panel/ComposerStatusBar.tsx#ComposerStatusBar",
|
|
1018
1013
|
"src/composer-panel/ModelPicker.tsx#ModelPicker",
|
|
1019
|
-
"src/composition-bar/CompositionBar.tsx#CompositionBar",
|
|
1020
|
-
"src/contact-card/ContactProfileCard.tsx#ContactProfileCard",
|
|
1021
1014
|
"src/content-panel/ContentPanel.tsx#ContentPanel",
|
|
1022
1015
|
"src/context-menu/ContextMenu.tsx#ContextMenu",
|
|
1023
1016
|
"src/context-menu/ContextMenu.tsx#ContextMenuCheckboxItem",
|
|
@@ -1069,7 +1062,6 @@
|
|
|
1069
1062
|
"src/directions/DirectionsSteps.tsx#DirectionsSteps",
|
|
1070
1063
|
"src/directions/DirectionsSummary.tsx#DirectionsSummary",
|
|
1071
1064
|
"src/directions/TransitLineBadge.tsx#TransitLineBadge",
|
|
1072
|
-
"src/divider/Divider.tsx#Divider",
|
|
1073
1065
|
"src/drop-zone/DropZone.tsx#DropZone",
|
|
1074
1066
|
"src/dropdown-menu/DropdownMenu.tsx#DropdownMenu",
|
|
1075
1067
|
"src/dropdown-menu/DropdownMenu.tsx#DropdownMenuCheckboxItem",
|
|
@@ -1089,7 +1081,6 @@
|
|
|
1089
1081
|
"src/earnings/EarningsBreakdown.tsx#EarningsBreakdown",
|
|
1090
1082
|
"src/earnings/EarningsPayoutRow.tsx#EarningsPayoutRow",
|
|
1091
1083
|
"src/earnings/EarningsSummary.tsx#EarningsSummary",
|
|
1092
|
-
"src/empty-state/EmptyState.tsx#EmptyState",
|
|
1093
1084
|
"src/engagement-bar/EngagementAction.tsx#EngagementAction",
|
|
1094
1085
|
"src/engagement-bar/EngagementBar.tsx#EngagementBar",
|
|
1095
1086
|
"src/engagement-bar/EngagementGroup.tsx#EngagementGroup",
|
|
@@ -1127,7 +1118,6 @@
|
|
|
1127
1118
|
"src/hover-card/HoverCard.tsx#HoverCard",
|
|
1128
1119
|
"src/hover-card/HoverCard.tsx#HoverCardContent",
|
|
1129
1120
|
"src/hover-card/HoverCard.tsx#HoverCardTrigger",
|
|
1130
|
-
"src/icon-circle/IconCircle.tsx#IconCircle",
|
|
1131
1121
|
"src/image-resolver/context.ts#ImageResolverProvider",
|
|
1132
1122
|
"src/important-alerts-card/ImportantAlertsCard.tsx#ImportantAlertsCard",
|
|
1133
1123
|
"src/input-group/InputGroup.tsx#InputGroup",
|
|
@@ -1592,22 +1582,6 @@
|
|
|
1592
1582
|
"src/track-list/TrackListHeader.tsx#TrackListHeader",
|
|
1593
1583
|
"src/track-list/TrackRow.tsx#TrackRow",
|
|
1594
1584
|
"src/track-list/TrackRowSkeleton.tsx#TrackRowSkeleton",
|
|
1595
|
-
"src/typography/Typography.tsx#Blockquote",
|
|
1596
|
-
"src/typography/Typography.tsx#H1",
|
|
1597
|
-
"src/typography/Typography.tsx#H2",
|
|
1598
|
-
"src/typography/Typography.tsx#H3",
|
|
1599
|
-
"src/typography/Typography.tsx#H4",
|
|
1600
|
-
"src/typography/Typography.tsx#H5",
|
|
1601
|
-
"src/typography/Typography.tsx#H6",
|
|
1602
|
-
"src/typography/Typography.tsx#Large",
|
|
1603
|
-
"src/typography/Typography.tsx#Lead",
|
|
1604
|
-
"src/typography/Typography.tsx#Muted",
|
|
1605
|
-
"src/typography/Typography.tsx#P",
|
|
1606
|
-
"src/typography/Typography.tsx#Small",
|
|
1607
|
-
"src/typography/Typography.tsx#Subtitle",
|
|
1608
|
-
"src/typography/Typography.tsx#Text",
|
|
1609
|
-
"src/typography/Typography.tsx#Title",
|
|
1610
|
-
"src/typography/TypographyScope.tsx#TypographyScope",
|
|
1611
1585
|
"src/usage-card/UsageCard.tsx#UsageCard",
|
|
1612
1586
|
"src/user-hover-card/UserHoverCard.tsx#UserHoverCard",
|
|
1613
1587
|
"src/vehicle-picker/VehiclePicker.tsx#VehiclePicker",
|
|
@@ -1839,5 +1813,174 @@
|
|
|
1839
1813
|
],
|
|
1840
1814
|
"verification": "Native renderer and DOM web measure the default 36px diameter unchanged under xs, explicit 40px under xs, and explicit 28px under lg. Glyph ratio and explicit glyph size are covered by GlyphButton.test.tsx; device-rendered hit fit and visual balance remain unverified",
|
|
1841
1815
|
"parts": ["src/button/GlyphButton.tsx#GlyphButton"]
|
|
1816
|
+
},
|
|
1817
|
+
"activity-heatmap-hit-target": {
|
|
1818
|
+
"status": "adaptation",
|
|
1819
|
+
"reason": "ActivityHeatmap's cellSize is chart-cell geometry, not Bloom control size. In interactive mode the pressable target equals each cell; the 12px default is a real touch-target gap, and expanding adjacent hit regions would overlap across the dense 3px grid gaps. Preserve the finding until a non-overlapping touch interaction is designed.",
|
|
1820
|
+
"evidence": [
|
|
1821
|
+
"src/activity-heatmap/ActivityHeatmap.tsx",
|
|
1822
|
+
"src/activity-heatmap/types.ts",
|
|
1823
|
+
"docs/activity-heatmap.mdx",
|
|
1824
|
+
"src/__tests__/ActivityHeatmapPublicPartScope.test.tsx",
|
|
1825
|
+
"src/__tests__/ActivityHeatmapPublicPartScope.web.test.tsx"
|
|
1826
|
+
],
|
|
1827
|
+
"verification": "native renderer and DOM web confirm interactive 12px cells and explicit 20px cells stay chart-sized under xs/lg/nested control scopes; activation and date/count payload work. Physical-device hit testing remains unverified; the 12px touch-target gap is unresolved",
|
|
1828
|
+
"parts": ["src/activity-heatmap/ActivityHeatmap.tsx#ActivityHeatmap"]
|
|
1829
|
+
},
|
|
1830
|
+
"composition-chart-target": {
|
|
1831
|
+
"status": "independent-scale",
|
|
1832
|
+
"reason": "CompositionBar has no Bloom control-size prop. Each category is an interactive chart segment with a fixed 44px touch height; shrinking that role-specific target under a compact control scope would reduce touch safety without expressing chart density.",
|
|
1833
|
+
"evidence": [
|
|
1834
|
+
"src/composition-bar/CompositionBar.tsx",
|
|
1835
|
+
"docs/composition-bar.mdx",
|
|
1836
|
+
"src/__tests__/CompositionBarPublicPartScope.test.tsx",
|
|
1837
|
+
"src/__tests__/CompositionBarPublicPartScope.web.test.tsx"
|
|
1838
|
+
],
|
|
1839
|
+
"verification": "native renderer and DOM web verify segment role and 44px hit height at default md, nearest xs/lg, and nested lg over xs. The component owns no explicit size prop, portal or submenu; physical-device hit testing remains unverified",
|
|
1840
|
+
"parts": ["src/composition-bar/CompositionBar.tsx#CompositionBar"]
|
|
1841
|
+
},
|
|
1842
|
+
"contact-card-controls": {
|
|
1843
|
+
"status": "delegated",
|
|
1844
|
+
"reason": "ContactProfileCard has no Bloom control-size prop. Its channel actions are Buttons with explicit sm size, its chips use explicit md, and its separate density prop controls card layout; the caller-owned actions slot is passed through unchanged and keeps the caller's BloomScope.",
|
|
1845
|
+
"evidence": [
|
|
1846
|
+
"src/contact-card/ContactProfileCard.tsx",
|
|
1847
|
+
"src/contact-card/types.ts",
|
|
1848
|
+
"docs/contact-card.mdx",
|
|
1849
|
+
"src/__tests__/ContactProfileCardPublicPartScope.test.tsx",
|
|
1850
|
+
"src/__tests__/ContactProfileCardPublicPartScope.web.test.tsx"
|
|
1851
|
+
],
|
|
1852
|
+
"verification": "native renderer and DOM web verify channel Button size remains sm under xs/lg, the declared 6px hitSlop remains present, and caller action sizes follow default md, nearest xs/lg, nested lg over xs, and explicit md over xs. Physical-device hit testing remains unverified",
|
|
1853
|
+
"parts": ["src/contact-card/ContactProfileCard.tsx#ContactProfileCard"]
|
|
1854
|
+
},
|
|
1855
|
+
"divider-role": {
|
|
1856
|
+
"status": "independent-scale",
|
|
1857
|
+
"reason": "Divider has no Bloom control-size prop. Its thickness and variant determine separator geometry; caller-provided children stay under the caller's BloomScope and controls resolve size normally.",
|
|
1858
|
+
"evidence": [
|
|
1859
|
+
"src/divider/Divider.tsx",
|
|
1860
|
+
"src/divider/types.ts",
|
|
1861
|
+
"docs/divider.mdx",
|
|
1862
|
+
"src/__tests__/DividerPublicPartScope.test.tsx",
|
|
1863
|
+
"src/__tests__/DividerPublicPartScope.web.test.tsx"
|
|
1864
|
+
],
|
|
1865
|
+
"verification": "Native renderer and DOM web verify a 2px explicit separator weight remains stable at default, xs, lg and nested scopes; a child Button resolves default md, inherited xs/lg, nested lg over xs and explicit md over xs. Divider owns no portal or submenu.",
|
|
1866
|
+
"parts": ["src/divider/Divider.tsx#Divider"]
|
|
1867
|
+
},
|
|
1868
|
+
"announcement-controls": {
|
|
1869
|
+
"status": "independent-scale",
|
|
1870
|
+
"reason": "Announcement has no Bloom control-size prop. The CTA uses an explicit sm Button, while the dismiss control uses an explicit xs CloseButton; its own control recipe stays independent of surrounding scope.",
|
|
1871
|
+
"evidence": [
|
|
1872
|
+
"src/announcement/Announcement.tsx",
|
|
1873
|
+
"src/announcement/types.ts",
|
|
1874
|
+
"src/button/CloseButton.tsx",
|
|
1875
|
+
"src/button/shared.ts",
|
|
1876
|
+
"docs/announcement.mdx",
|
|
1877
|
+
"src/__tests__/AnnouncementPublicPartScope.test.tsx",
|
|
1878
|
+
"src/__tests__/AnnouncementPublicPartScope.web.test.tsx"
|
|
1879
|
+
],
|
|
1880
|
+
"verification": "Native renderer and DOM web confirm the CTA remains 32px and the xs close box remains 20px under default, xs, lg and nested scopes. Native additionally verifies the close glyph is 10.8px and its declared 10px hitSlop on each side.",
|
|
1881
|
+
"parts": ["src/announcement/Announcement.tsx#Announcement"]
|
|
1882
|
+
},
|
|
1883
|
+
"empty-state-owned-controls": {
|
|
1884
|
+
"status": "independent-scale",
|
|
1885
|
+
"reason": "EmptyState has no Bloom control-size prop. Its variant selects the fixed sizes of the family-owned action Buttons and suggestion Chips; caller-provided children remain under the caller's BloomScope and resolve their own control size.",
|
|
1886
|
+
"evidence": [
|
|
1887
|
+
"src/empty-state/EmptyState.tsx",
|
|
1888
|
+
"src/empty-state/constants.ts",
|
|
1889
|
+
"src/empty-state/types.ts",
|
|
1890
|
+
"docs/empty-state.mdx",
|
|
1891
|
+
"src/__tests__/EmptyStatePublicPartScope.test.tsx",
|
|
1892
|
+
"src/__tests__/EmptyStatePublicPartScope.web.test.tsx"
|
|
1893
|
+
],
|
|
1894
|
+
"verification": "Native renderer and DOM web verify family-owned action Buttons at comfortable md (36px) and compact sm (32px), and suggestion Chips at 24px, unchanged under default, xs, lg and nested scopes. The caller-owned child Button resolves default md, nearest xs/lg, nested lg over xs, and explicit md over xs.",
|
|
1895
|
+
"parts": ["src/empty-state/EmptyState.tsx#EmptyState"]
|
|
1896
|
+
},
|
|
1897
|
+
"semantic-typography": {
|
|
1898
|
+
"status": "independent-scale",
|
|
1899
|
+
"reason": "Semantic typography owns reading roles and the TypographyScope type ramp, not Bloom control size. Text/Span, headings, prose helpers and Blockquote keep their type recipes under BloomScope; TypographyScope selects its separate default or desktop text scale.",
|
|
1900
|
+
"evidence": [
|
|
1901
|
+
"src/typography/Typography.tsx",
|
|
1902
|
+
"src/typography/TypographyScope.tsx",
|
|
1903
|
+
"src/typography/scale.ts",
|
|
1904
|
+
"src/typography/desktop-scale.ts",
|
|
1905
|
+
"docs/typography.mdx",
|
|
1906
|
+
"src/__tests__/TypographyPublicPartScope.test.tsx",
|
|
1907
|
+
"src/__tests__/TypographyPublicPartScope.web.test.tsx"
|
|
1908
|
+
],
|
|
1909
|
+
"verification": "Native renderer and DOM web verify font size, line height, weight and tracking for Text (including its Span alias), H1–H6, Title, Subtitle, P, Lead, Large, Small and Muted, plus Blockquote spacing, remain stable under default, xs, lg and nested control scopes. An explicit desktop TypographyScope scale remains effective independently of BloomScope.",
|
|
1910
|
+
"parts": [
|
|
1911
|
+
"src/typography/Typography.tsx#Blockquote",
|
|
1912
|
+
"src/typography/Typography.tsx#H1",
|
|
1913
|
+
"src/typography/Typography.tsx#H2",
|
|
1914
|
+
"src/typography/Typography.tsx#H3",
|
|
1915
|
+
"src/typography/Typography.tsx#H4",
|
|
1916
|
+
"src/typography/Typography.tsx#H5",
|
|
1917
|
+
"src/typography/Typography.tsx#H6",
|
|
1918
|
+
"src/typography/Typography.tsx#Large",
|
|
1919
|
+
"src/typography/Typography.tsx#Lead",
|
|
1920
|
+
"src/typography/Typography.tsx#Muted",
|
|
1921
|
+
"src/typography/Typography.tsx#P",
|
|
1922
|
+
"src/typography/Typography.tsx#Small",
|
|
1923
|
+
"src/typography/Typography.tsx#Subtitle",
|
|
1924
|
+
"src/typography/Typography.tsx#Text",
|
|
1925
|
+
"src/typography/Typography.tsx#Title",
|
|
1926
|
+
"src/typography/TypographyScope.tsx#TypographyScope"
|
|
1927
|
+
]
|
|
1928
|
+
},
|
|
1929
|
+
"badge-control-size": {
|
|
1930
|
+
"status": "applicable",
|
|
1931
|
+
"reason": "Badge owns counter-size aliases that follow BloomScope and word-specific label rungs that remain explicit. Explicit size wins; the two families keep their distinct geometry and typography recipes.",
|
|
1932
|
+
"evidence": [
|
|
1933
|
+
"src/badge/Badge.tsx",
|
|
1934
|
+
"src/badge/shared.ts",
|
|
1935
|
+
"src/badge/types.ts",
|
|
1936
|
+
"docs/badge.mdx",
|
|
1937
|
+
"src/__tests__/BadgeChipPublicPartScope.test.tsx",
|
|
1938
|
+
"src/__tests__/BadgeChipPublicPartScope.web.test.tsx"
|
|
1939
|
+
],
|
|
1940
|
+
"verification": "Native renderer and DOM web verify default md, inherited xs/lg, nested lg over xs, explicit md over xs, and the explicit label-medium rung under a surrounding lg scope. Physical-device label fit and hit testing remain unverified.",
|
|
1941
|
+
"parts": ["src/badge/Badge.tsx#Badge"]
|
|
1942
|
+
},
|
|
1943
|
+
"chip-control-size": {
|
|
1944
|
+
"status": "applicable",
|
|
1945
|
+
"reason": "Chip owns control-size aliases xs/sm/md/lg that follow BloomScope, plus explicit xl filter/segment and 2xl touch-target rungs. Explicit size takes precedence; the 2xl rung is 44px tall with 2dp vertical native hit slop reaching 48dp without side overlap.",
|
|
1946
|
+
"evidence": [
|
|
1947
|
+
"src/chip/Chip.tsx",
|
|
1948
|
+
"src/chip/shared.ts",
|
|
1949
|
+
"src/chip/types.ts",
|
|
1950
|
+
"docs/chip.mdx",
|
|
1951
|
+
"src/__tests__/BadgeChipPublicPartScope.test.tsx",
|
|
1952
|
+
"src/__tests__/BadgeChipPublicPartScope.web.test.tsx"
|
|
1953
|
+
],
|
|
1954
|
+
"verification": "Native renderer and DOM web verify default md, inherited xs/lg, nested lg over xs, explicit md over xs, and the explicit 2xl 44px visual target. A native test confirms 2dp vertical hit slop (48dp total) with zero horizontal expansion; the dedicated Pixel 8a fixture probe records live taps just outside both vertical edges. Other sizes and explicit styles remain outside this target claim.",
|
|
1955
|
+
"parts": ["src/chip/Chip.tsx#Chip"]
|
|
1956
|
+
},
|
|
1957
|
+
"avatar-control-size": {
|
|
1958
|
+
"status": "applicable",
|
|
1959
|
+
"reason": "Avatar maps an inherited BloomScope size alias to its visual identity diameter when its own size is omitted; explicit named rungs and numeric diameters override the scope. The default without a size scope remains 40dp.",
|
|
1960
|
+
"evidence": [
|
|
1961
|
+
"src/avatar/Avatar.tsx",
|
|
1962
|
+
"src/avatar/initials.ts",
|
|
1963
|
+
"src/avatar/types.ts",
|
|
1964
|
+
"docs/avatar.mdx",
|
|
1965
|
+
"src/__tests__/AvatarPublicPartScope.test.tsx",
|
|
1966
|
+
"src/__tests__/AvatarPublicPartScope.web.test.tsx"
|
|
1967
|
+
],
|
|
1968
|
+
"verification": "Native renderer and DOM web verify the unscoped 40px default, inherited xs/sm/md/lg rungs, nested lg over xs, explicit md over xs, and explicit 48px diameter over lg. Portal, device proportions, initials legibility and touch fit are outside this direct scope fixture.",
|
|
1969
|
+
"parts": ["src/avatar/Avatar.tsx#Avatar"]
|
|
1970
|
+
},
|
|
1971
|
+
"icon-circle-geometry": {
|
|
1972
|
+
"status": "independent-scale",
|
|
1973
|
+
"reason": "IconCircle uses the icon-token size vocabulary to select a decorative disc and glyph box; it does not consume BloomScope control size. BloomIconComponent is its public glyph contract and receives the resolved width, height and fill.",
|
|
1974
|
+
"evidence": [
|
|
1975
|
+
"src/icon-circle/IconCircle.tsx",
|
|
1976
|
+
"src/icon-circle/types.ts",
|
|
1977
|
+
"src/icons/icon-component.ts",
|
|
1978
|
+
"docs/icon-circle.mdx",
|
|
1979
|
+
"src/__tests__/IconCircleRadioIndicator.test.tsx",
|
|
1980
|
+
"src/__tests__/IconCirclePublicPartScope.test.tsx",
|
|
1981
|
+
"src/__tests__/IconCirclePublicPartScope.web.test.tsx"
|
|
1982
|
+
],
|
|
1983
|
+
"verification": "Native renderer and DOM web verify the default xl disc/glyph (64/28px), explicit lg geometry (52/24px), and stable geometry under xs, lg and nested BloomScope. Native type-level fixtures use BloomIconComponent directly. Physical-device proportions remain unverified.",
|
|
1984
|
+
"parts": ["src/icon-circle/IconCircle.tsx#IconCircle"]
|
|
1842
1985
|
}
|
|
1843
1986
|
}
|
package/src/chip/Chip.tsx
CHANGED
|
@@ -218,6 +218,7 @@ const ChipComponent = forwardRef<ComponentRef<typeof View>, ChipProps>(function
|
|
|
218
218
|
? {}
|
|
219
219
|
: {
|
|
220
220
|
height: geometry.height,
|
|
221
|
+
...(size === '2xl' ? { minHeight: geometry.height } : null),
|
|
221
222
|
borderRadius: borderRadius.full,
|
|
222
223
|
paddingHorizontal: geometry.paddingHorizontal,
|
|
223
224
|
backgroundColor: 'transparent',
|
|
@@ -243,7 +244,7 @@ const ChipComponent = forwardRef<ComponentRef<typeof View>, ChipProps>(function
|
|
|
243
244
|
// cannot know; native has no such style key and ignores it.
|
|
244
245
|
'--bloom-chip-ring': ring,
|
|
245
246
|
}),
|
|
246
|
-
[className, geometry, paint, ring, dimContent],
|
|
247
|
+
[className, geometry, paint, ring, dimContent, size],
|
|
247
248
|
);
|
|
248
249
|
|
|
249
250
|
const labelStyle = useMemo(
|
|
@@ -439,6 +440,7 @@ const ChipComponent = forwardRef<ComponentRef<typeof View>, ChipProps>(function
|
|
|
439
440
|
}
|
|
440
441
|
onPressIn={onPressIn}
|
|
441
442
|
onPressOut={onPressOut}
|
|
443
|
+
hitSlop={size === '2xl' ? { top: 2, bottom: 2, left: 0, right: 0 } : undefined}
|
|
442
444
|
{...hoverHandlers}
|
|
443
445
|
disabled={disabled}
|
|
444
446
|
accessibilityLabel={accessibilityLabel}
|
package/src/chip/shared.ts
CHANGED
|
@@ -15,7 +15,7 @@ import type { ChipHue, ChipSize, ChipVariant } from './types';
|
|
|
15
15
|
* medium 24 6 4 16 body-medium ← default
|
|
16
16
|
* large 28 6 4 16 body-medium
|
|
17
17
|
* xl 32 12 8 16 body-medium
|
|
18
|
-
* 2xl
|
|
18
|
+
* 2xl 44 16 8 18 body-medium
|
|
19
19
|
*
|
|
20
20
|
* The scale used to stop at `large`, which is why FIVE families grew their own
|
|
21
21
|
* pill rather than use this one: 28 tall with 6px sides is a TAG, and a filter
|
|
@@ -52,7 +52,7 @@ export const CHIP_GEOMETRY: Readonly<Record<ChipSize, ChipGeometry>> = {
|
|
|
52
52
|
md: rung(24, 'body-medium', 6, 4),
|
|
53
53
|
lg: rung(28, 'body-medium', 6, 4),
|
|
54
54
|
xl: rung(32, 'body-medium', 12, 8),
|
|
55
|
-
'2xl': rung(
|
|
55
|
+
'2xl': rung(44, 'body-medium', 16, 8, 48, 18),
|
|
56
56
|
};
|
|
57
57
|
|
|
58
58
|
export interface ChipPaint {
|
package/src/chip/types.ts
CHANGED
|
@@ -10,7 +10,7 @@ import type {
|
|
|
10
10
|
import type { AccentFill, AccentTone } from '../theme/accent-colors';
|
|
11
11
|
|
|
12
12
|
/**
|
|
13
|
-
* 24 / 24 / 28 / 32 /
|
|
13
|
+
* 24 / 24 / 28 / 32 / 44 tall. `xl` and `2xl` are the filter rungs: the scale
|
|
14
14
|
* used to stop at 28, which is why five families drew their own pill. The table
|
|
15
15
|
* is in `shared.ts`.
|
|
16
16
|
*/
|
|
@@ -14,7 +14,7 @@ import type { CountFilterProps } from './types';
|
|
|
14
14
|
* `min`..`max`, the last reading `8+`.
|
|
15
15
|
*
|
|
16
16
|
* title body-regular, text-primary, 16 above the pills
|
|
17
|
-
* pills the filter pill (
|
|
17
|
+
* pills the filter pill (44 tall, full pill), 8 apart; the selected one is
|
|
18
18
|
* inverted. One row that scrolls sideways when it does not fit, so the
|
|
19
19
|
* counts stay in reading order on a narrow screen instead of wrapping.
|
|
20
20
|
*
|
|
@@ -16,7 +16,7 @@ import type { FilterIconComponent } from './types';
|
|
|
16
16
|
* selection promoted to the brand tone. Both of those are now `Chip`'s (the
|
|
17
17
|
* rung table and the `inverted` recipe are in `chip/shared.ts`):
|
|
18
18
|
*
|
|
19
|
-
* geometry
|
|
19
|
+
* geometry 44 tall, full pill, 1px border, px 16, 8 between icon (18) and
|
|
20
20
|
* label; minWidth 48 so "1" is not a dot
|
|
21
21
|
* rest transparent fill, border neutral-200 (dark neutral-700), text
|
|
22
22
|
* hover border text (web pointer only)
|
|
@@ -5,7 +5,7 @@ import { FilterChip } from './FilterChip';
|
|
|
5
5
|
import type { ToggleChipGroupProps } from './types';
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
|
-
* Multi-select filter pills, wrapped: each option is the filter pill (
|
|
8
|
+
* Multi-select filter pills, wrapped: each option is the filter pill (44 tall,
|
|
9
9
|
* full pill, an optional 18px icon before the label), 8 apart in both
|
|
10
10
|
* directions, the selected ones inverted.
|
|
11
11
|
*
|