@hirobius/design-system 0.20.0 → 0.22.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/AGENTS.md +125 -0
- package/CHANGELOG.md +969 -0
- package/CONSUMING.md +27 -11
- package/DESIGN.md +28 -17
- package/MIGRATIONS.md +603 -0
- package/NOTICE.md +1 -1
- package/README.md +39 -5
- package/UPGRADING.md +222 -0
- package/codemods/hds-prefix.mjs +28 -13
- package/codemods/jsx-fold.mjs +28 -13
- package/codemods/lib/atomic-write.mjs +28 -0
- package/codemods/lib/installed-version.mjs +354 -0
- package/codemods/lib/project.mjs +395 -0
- package/codemods/lib/record.mjs +110 -0
- package/codemods/lib/scan.mjs +323 -0
- package/codemods/lib/semver.mjs +57 -0
- package/codemods/not-found-pattern.mjs +3 -3
- package/codemods/patterns-subpath.mjs +28 -12
- package/codemods/registry.mjs +67 -0
- package/codemods/tile-grid.mjs +3 -3
- package/codemods/upgrade.mjs +909 -0
- package/dist/chunks/empty-state-DNoThgfV.js +1227 -0
- package/dist/chunks/form-By82qZcC.js +66 -0
- package/dist/fonts/geist-mono-400.woff2 +0 -0
- package/dist/fonts/satoshi-400.woff2 +0 -0
- package/dist/fonts/satoshi-500.woff2 +0 -0
- package/dist/fonts/satoshi-700.woff2 +0 -0
- package/dist/fonts.css +53 -0
- package/dist/form.js +1 -1
- package/dist/hirobius-ui.js +876 -877
- package/dist/manifest.js +3 -3
- package/dist/patterns.js +189 -170
- package/dist/styles.css +2 -2
- package/dist/tokens.css +1 -1
- package/dist/tokens.js +136 -57
- package/dist/types/src/app/components/alert-dialog.d.ts +5 -0
- package/dist/types/src/app/components/alert.d.ts +1 -1
- package/dist/types/src/app/components/asset-img.d.ts +1 -0
- package/dist/types/src/app/components/avatar-group.d.ts +1 -0
- package/dist/types/src/app/components/avatar.d.ts +1 -1
- package/dist/types/src/app/components/badge.d.ts +2 -2
- package/dist/types/src/app/components/blockquote.d.ts +1 -0
- package/dist/types/src/app/components/breadcrumb.d.ts +1 -1
- package/dist/types/src/app/components/button.d.ts +3 -1
- package/dist/types/src/app/components/callout.d.ts +1 -1
- package/dist/types/src/app/components/card.d.ts +4 -3
- package/dist/types/src/app/components/checkbox.d.ts +1 -1
- package/dist/types/src/app/components/code-block.d.ts +1 -1
- package/dist/types/src/app/components/combobox.d.ts +1 -1
- package/dist/types/src/app/components/data-table-section.d.ts +1 -0
- package/dist/types/src/app/components/destructive-section.d.ts +1 -0
- package/dist/types/src/app/components/dialog.d.ts +2 -1
- package/dist/types/src/app/components/disclosure.d.ts +1 -1
- package/dist/types/src/app/components/divider.d.ts +1 -1
- package/dist/types/src/app/components/empty-state.d.ts +1 -1
- package/dist/types/src/app/components/error-pattern.d.ts +6 -1
- package/dist/types/src/app/components/field.d.ts +1 -1
- package/dist/types/src/app/components/form-actions.d.ts +1 -0
- package/dist/types/src/app/components/form-control.d.ts +10 -0
- package/dist/types/src/app/components/form.d.ts +1 -1
- package/dist/types/src/app/components/grid.d.ts +5 -0
- package/dist/types/src/app/components/hds-tooltip.d.ts +1 -1
- package/dist/types/src/app/components/icon.d.ts +1 -0
- package/dist/types/src/app/components/inline-link.d.ts +1 -1
- package/dist/types/src/app/components/input.d.ts +1 -1
- package/dist/types/src/app/components/kbd.d.ts +1 -0
- package/dist/types/src/app/components/menu.d.ts +1 -1
- package/dist/types/src/app/components/metadata-list.d.ts +1 -0
- package/dist/types/src/app/components/metric-tiles.d.ts +1 -0
- package/dist/types/src/app/components/pagination.d.ts +1 -1
- package/dist/types/src/app/components/popover.d.ts +1 -1
- package/dist/types/src/app/components/progress.d.ts +2 -2
- package/dist/types/src/app/components/radio.d.ts +1 -1
- package/dist/types/src/app/components/select.d.ts +1 -1
- package/dist/types/src/app/components/skeleton.d.ts +2 -2
- package/dist/types/src/app/components/slider.d.ts +1 -1
- package/dist/types/src/app/components/spinner.d.ts +1 -1
- package/dist/types/src/app/components/stat.d.ts +5 -4
- package/dist/types/src/app/components/status-list-item.d.ts +1 -1
- package/dist/types/src/app/components/status-tile.d.ts +4 -3
- package/dist/types/src/app/components/table.d.ts +6 -1
- package/dist/types/src/app/components/tabs.d.ts +1 -1
- package/dist/types/src/app/components/tag.d.ts +1 -1
- package/dist/types/src/app/components/text.d.ts +53 -6
- package/dist/types/src/app/components/textarea.d.ts +1 -1
- package/dist/types/src/app/components/timestamp.d.ts +1 -0
- package/dist/types/src/app/components/toast.d.ts +1 -1
- package/dist/types/src/app/components/toggle.d.ts +1 -1
- package/dist/types/src/app/data/manifest-types.d.ts +4 -0
- package/dist/types/src/app/design-system/generated-token-refs.d.ts +37 -28
- package/dist/types/src/app/design-system/generated-token-values.d.ts +3 -0
- package/dist/types/src/app/design-system/tokens.d.ts +117 -15
- package/dist/types/src/index.d.ts +122 -72
- package/dist/variables.css +41 -33
- package/docs/CONSUMING.md +63 -39
- package/hirobius.tokens.json +163 -112
- package/llms.txt +158 -50
- package/mcp/catalog.mjs +369 -0
- package/mcp/core-set.mjs +66 -0
- package/mcp/guide.mjs +272 -0
- package/mcp/hds-mcp.mjs +49 -0
- package/mcp/server.mjs +94 -0
- package/package.json +53 -11
- package/public/hds-manifest.json +430 -336
- package/public/llms/components.txt +4 -3
- package/public/llms/layout.txt +1 -1
- package/public/llms-full.txt +190 -70
- package/public/llms.txt +158 -50
- package/scripts/eslint-plugin-hds/index.d.mts +29 -0
- package/scripts/eslint-plugin-hds/index.mjs +55 -0
- package/scripts/eslint-plugin-hds/package.json +30 -0
- package/scripts/eslint-plugin-hds/rules/no-raw-controls.mjs +47 -0
- package/scripts/eslint-plugin-hds/rules/no-raw-hex.mjs +70 -0
- package/scripts/eslint-plugin-hds/rules/no-raw-px-spacing.mjs +125 -0
- package/scripts/eslint-plugin-hds/rules/prefer-hds-layout-primitive.mjs +54 -0
- package/scripts/eslint-plugin-hds/rules/sx-token-first.mjs +111 -0
- package/scripts/eslint-plugin-hds/rules/utils.mjs +66 -0
- package/src/app/data/component-api.json +154 -93
- package/upgrade/index.json +208 -0
- package/upgrade/releases/0.17.0.json +962 -0
- package/upgrade/releases/0.18.0.json +8 -0
- package/upgrade/releases/0.19.0.json +233 -0
- package/upgrade/releases/0.19.1.json +8 -0
- package/upgrade/releases/0.20.0.json +5108 -0
- package/upgrade/releases/0.21.0.json +538 -0
- package/upgrade/releases/0.22.0.json +94 -0
- package/upgrade/schema.json +989 -0
- package/dist/chunks/empty-state-BBqhCx0S.js +0 -1217
- package/dist/chunks/form-COP3vK9_.js +0 -66
- package/dist/types/src/app/components/status-dot.d.ts +0 -39
package/hirobius.tokens.json
CHANGED
|
@@ -486,7 +486,7 @@
|
|
|
486
486
|
"Segoe UI",
|
|
487
487
|
"sans-serif"
|
|
488
488
|
],
|
|
489
|
-
"$description": "Display face: Satoshi Bold (ITF), bound to display
|
|
489
|
+
"$description": "Display face: Satoshi Bold (ITF), bound to the display and title composites."
|
|
490
490
|
},
|
|
491
491
|
"mono": {
|
|
492
492
|
"$value": ["Geist Mono", "Courier New", "monospace"],
|
|
@@ -564,6 +564,13 @@
|
|
|
564
564
|
"unit": "px"
|
|
565
565
|
},
|
|
566
566
|
"$description": "Swiss-canon display size (hds#283 ramp). Static desktop value; fluid in theme.css. Tailwind 4 default text-6xl."
|
|
567
|
+
},
|
|
568
|
+
"code": {
|
|
569
|
+
"$value": {
|
|
570
|
+
"value": 13,
|
|
571
|
+
"unit": "px"
|
|
572
|
+
},
|
|
573
|
+
"$description": "13px code size. The mono role (hds#485): one px below ui so code sits level with 14px prose."
|
|
567
574
|
}
|
|
568
575
|
},
|
|
569
576
|
"weight": {
|
|
@@ -599,6 +606,14 @@
|
|
|
599
606
|
"relaxed": {
|
|
600
607
|
"$value": 1.625,
|
|
601
608
|
"$description": "Swiss-canon relaxed rhythm (10t-5). Used by body/small/mono composites for long-form prose comfort."
|
|
609
|
+
},
|
|
610
|
+
"display": {
|
|
611
|
+
"$value": 1.05,
|
|
612
|
+
"$description": "Display role leading (hds#485)."
|
|
613
|
+
},
|
|
614
|
+
"body": {
|
|
615
|
+
"$value": 1.6,
|
|
616
|
+
"$description": "Body role leading (hds#485)."
|
|
602
617
|
}
|
|
603
618
|
},
|
|
604
619
|
"letterSpacing": {
|
|
@@ -670,14 +685,20 @@
|
|
|
670
685
|
"$description": "Cubic bezier with restrained initial gain and steep terminal velocity."
|
|
671
686
|
},
|
|
672
687
|
"elastic": {
|
|
673
|
-
"$
|
|
674
|
-
"$
|
|
675
|
-
|
|
676
|
-
"
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
688
|
+
"$value": [0.34, 1.56, 0.64, 1],
|
|
689
|
+
"$description": "Spring response defined by stiffness, damping, and mass parameters.",
|
|
690
|
+
"$extensions": {
|
|
691
|
+
"com.hirobius.hds": {
|
|
692
|
+
"$type": "spring",
|
|
693
|
+
"$value": {
|
|
694
|
+
"type": "spring",
|
|
695
|
+
"stiffness": 300,
|
|
696
|
+
"damping": 20,
|
|
697
|
+
"mass": 1
|
|
698
|
+
},
|
|
699
|
+
"bezierSource": "The cubicBezier is easeOutBack (easings.net), chosen as a stand-in for the spring, not fitted to it: both overshoot once, the curve by about 10% and spring(300, 20, 1) by about 11%."
|
|
700
|
+
}
|
|
701
|
+
}
|
|
681
702
|
}
|
|
682
703
|
},
|
|
683
704
|
"shadow": {
|
|
@@ -957,32 +978,53 @@
|
|
|
957
978
|
},
|
|
958
979
|
"semantic": {
|
|
959
980
|
"motion": {
|
|
960
|
-
"$type": "
|
|
981
|
+
"$type": "transition",
|
|
982
|
+
"$extensions": {
|
|
983
|
+
"com.hirobius.hds": {
|
|
984
|
+
"$type": "motion"
|
|
985
|
+
}
|
|
986
|
+
},
|
|
961
987
|
"productive": {
|
|
962
988
|
"$value": {
|
|
963
989
|
"duration": "{primitive.duration.short}",
|
|
964
|
-
"
|
|
990
|
+
"delay": {
|
|
991
|
+
"value": 0,
|
|
992
|
+
"unit": "ms"
|
|
993
|
+
},
|
|
994
|
+
"timingFunction": "{primitive.easing.decelerate}"
|
|
965
995
|
},
|
|
966
996
|
"$description": "For micro-interactions and status changes. No deformation."
|
|
967
997
|
},
|
|
968
998
|
"expressive": {
|
|
969
999
|
"$value": {
|
|
970
1000
|
"duration": "{primitive.duration.medium}",
|
|
971
|
-
"
|
|
1001
|
+
"delay": {
|
|
1002
|
+
"value": 0,
|
|
1003
|
+
"unit": "ms"
|
|
1004
|
+
},
|
|
1005
|
+
"timingFunction": "{primitive.easing.elastic}"
|
|
972
1006
|
},
|
|
973
1007
|
"$description": "For teaching moments and significant UI entries. Includes physics-based squish."
|
|
974
1008
|
},
|
|
975
1009
|
"spatial": {
|
|
976
1010
|
"$value": {
|
|
977
1011
|
"duration": "{primitive.duration.long}",
|
|
978
|
-
"
|
|
1012
|
+
"delay": {
|
|
1013
|
+
"value": 0,
|
|
1014
|
+
"unit": "ms"
|
|
1015
|
+
},
|
|
1016
|
+
"timingFunction": "{primitive.easing.emphasized}"
|
|
979
1017
|
},
|
|
980
1018
|
"$description": "For elements traveling long distances across the viewport."
|
|
981
1019
|
},
|
|
982
1020
|
"exit": {
|
|
983
1021
|
"$value": {
|
|
984
1022
|
"duration": "{primitive.duration.instant}",
|
|
985
|
-
"
|
|
1023
|
+
"delay": {
|
|
1024
|
+
"value": 0,
|
|
1025
|
+
"unit": "ms"
|
|
1026
|
+
},
|
|
1027
|
+
"timingFunction": "{primitive.easing.accelerate}"
|
|
986
1028
|
},
|
|
987
1029
|
"$description": "For elements being removed from the DOM."
|
|
988
1030
|
},
|
|
@@ -1677,84 +1719,40 @@
|
|
|
1677
1719
|
},
|
|
1678
1720
|
"typography": {
|
|
1679
1721
|
"$type": "typography",
|
|
1680
|
-
"$description": "
|
|
1722
|
+
"$description": "5-role type ramp plus mono (hds#483): display, title, body, ui, caption, mono. h1, h2, h3 and eyebrow are deprecated aliases.",
|
|
1681
1723
|
"display": {
|
|
1682
|
-
"$value": {
|
|
1683
|
-
"fontFamily": "{primitive.typography.family.display}",
|
|
1684
|
-
"fontSize": "{primitive.typography.size.6xl}",
|
|
1685
|
-
"fontWeight": "{primitive.typography.weight.bold}",
|
|
1686
|
-
"letterSpacing": "{primitive.typography.letterSpacing.tight}",
|
|
1687
|
-
"lineHeight": "{primitive.typography.lineHeight.none}"
|
|
1688
|
-
},
|
|
1689
|
-
"$description": "Display headline. 60px / Satoshi bold 700 / leading-none (hds#283: was 72px/5xl).",
|
|
1690
|
-
"$extensions": {
|
|
1691
|
-
"com.figma.variables": {
|
|
1692
|
-
"fontSize": "clamp(40px, 8vw, 60px)",
|
|
1693
|
-
"note": "Figma stores the 60px desktop-max static value. Browser CSS overrides with fluid scaling (40px min → 60px max). See src/styles/theme.css."
|
|
1694
|
-
}
|
|
1695
|
-
}
|
|
1696
|
-
},
|
|
1697
|
-
"h1": {
|
|
1698
1724
|
"$value": {
|
|
1699
1725
|
"fontFamily": "{primitive.typography.family.display}",
|
|
1700
1726
|
"fontSize": "{primitive.typography.size.5xl}",
|
|
1701
1727
|
"fontWeight": "{primitive.typography.weight.bold}",
|
|
1702
1728
|
"letterSpacing": "{primitive.typography.letterSpacing.tight}",
|
|
1703
|
-
"lineHeight": "{primitive.typography.lineHeight.
|
|
1729
|
+
"lineHeight": "{primitive.typography.lineHeight.display}"
|
|
1704
1730
|
},
|
|
1705
|
-
"$description": "
|
|
1706
|
-
"$extensions": {
|
|
1707
|
-
"com.figma.variables": {
|
|
1708
|
-
"fontSize": "clamp(32px, 6vw, 48px)",
|
|
1709
|
-
"note": "Figma stores the 48px desktop-max static value. Browser CSS overrides with fluid scaling (32px min → 48px max). See src/styles/theme.css."
|
|
1710
|
-
}
|
|
1711
|
-
}
|
|
1731
|
+
"$description": "One per page, hero only. 48px / 1.05 / 700. Role 1 of 6."
|
|
1712
1732
|
},
|
|
1713
|
-
"
|
|
1733
|
+
"title": {
|
|
1714
1734
|
"$value": {
|
|
1715
1735
|
"fontFamily": "{primitive.typography.family.display}",
|
|
1716
|
-
"fontSize": "{primitive.typography.size.
|
|
1736
|
+
"fontSize": "{primitive.typography.size.2xl}",
|
|
1717
1737
|
"fontWeight": "{primitive.typography.weight.bold}",
|
|
1718
1738
|
"letterSpacing": "{primitive.typography.letterSpacing.tight}",
|
|
1719
|
-
"lineHeight": "
|
|
1720
|
-
},
|
|
1721
|
-
"$description": "Secondary section headings (h2). Satoshi bold 700, 30px, line-height 40px (hds#283: rung renamed, was 42px).",
|
|
1722
|
-
"$extensions": {
|
|
1723
|
-
"com.figma.variables": {
|
|
1724
|
-
"fontSize": "clamp(24px, 3.5vw, 30px)",
|
|
1725
|
-
"note": "Figma stores the 30px desktop-max static value. Browser CSS overrides with fluid scaling (24px min → 30px max). See src/styles/theme.css."
|
|
1726
|
-
}
|
|
1727
|
-
}
|
|
1728
|
-
},
|
|
1729
|
-
"h3": {
|
|
1730
|
-
"$value": {
|
|
1731
|
-
"fontFamily": "{primitive.typography.family.display}",
|
|
1732
|
-
"fontSize": "{primitive.typography.size.xl}",
|
|
1733
|
-
"fontWeight": "{primitive.typography.weight.bold}",
|
|
1734
|
-
"letterSpacing": "{primitive.typography.letterSpacing.normal}",
|
|
1735
|
-
"lineHeight": "28px"
|
|
1739
|
+
"lineHeight": "{primitive.typography.lineHeight.tight}"
|
|
1736
1740
|
},
|
|
1737
|
-
"$description": "
|
|
1738
|
-
"$extensions": {
|
|
1739
|
-
"com.figma.variables": {
|
|
1740
|
-
"fontSize": "clamp(18px, 2vw, 20px)",
|
|
1741
|
-
"note": "Figma stores the 20px desktop-max static value. Browser CSS overrides with fluid scaling (18px min → 20px max). See src/styles/theme.css."
|
|
1742
|
-
}
|
|
1743
|
-
}
|
|
1741
|
+
"$description": "Section and card headings. 24px / 1.25 / 700. Role 2 of 6."
|
|
1744
1742
|
},
|
|
1745
1743
|
"body": {
|
|
1746
1744
|
"$value": {
|
|
1747
1745
|
"fontFamily": "{primitive.typography.family.primary}",
|
|
1748
1746
|
"fontSize": "{primitive.typography.size.base}",
|
|
1749
|
-
"fontWeight": "{primitive.typography.weight.
|
|
1747
|
+
"fontWeight": "{primitive.typography.weight.regular}",
|
|
1750
1748
|
"letterSpacing": "{primitive.typography.letterSpacing.normal}",
|
|
1751
|
-
"lineHeight": "
|
|
1749
|
+
"lineHeight": "{primitive.typography.lineHeight.body}",
|
|
1752
1750
|
"maxWidth": {
|
|
1753
1751
|
"value": 60,
|
|
1754
1752
|
"unit": "ch"
|
|
1755
1753
|
}
|
|
1756
1754
|
},
|
|
1757
|
-
"$description": "
|
|
1755
|
+
"$description": "Prose. 16px / 1.6 / 400, 60ch measure. Role 3 of 6."
|
|
1758
1756
|
},
|
|
1759
1757
|
"ui": {
|
|
1760
1758
|
"$value": {
|
|
@@ -1762,13 +1760,13 @@
|
|
|
1762
1760
|
"fontSize": "{primitive.typography.size.sm}",
|
|
1763
1761
|
"fontWeight": "{primitive.typography.weight.medium}",
|
|
1764
1762
|
"letterSpacing": "{primitive.typography.letterSpacing.normal}",
|
|
1765
|
-
"lineHeight": "
|
|
1763
|
+
"lineHeight": "{primitive.typography.lineHeight.normal}",
|
|
1766
1764
|
"maxWidth": {
|
|
1767
1765
|
"value": 60,
|
|
1768
1766
|
"unit": "ch"
|
|
1769
1767
|
}
|
|
1770
1768
|
},
|
|
1771
|
-
"$description": "
|
|
1769
|
+
"$description": "Controls, nav, table text, values. 14px / 1.5 / 500. Role 4 of 6."
|
|
1772
1770
|
},
|
|
1773
1771
|
"caption": {
|
|
1774
1772
|
"$value": {
|
|
@@ -1776,34 +1774,67 @@
|
|
|
1776
1774
|
"fontSize": "{primitive.typography.size.xs}",
|
|
1777
1775
|
"fontWeight": "{primitive.typography.weight.medium}",
|
|
1778
1776
|
"letterSpacing": "{primitive.typography.letterSpacing.normal}",
|
|
1779
|
-
"lineHeight": "
|
|
1777
|
+
"lineHeight": "{primitive.typography.lineHeight.normal}"
|
|
1780
1778
|
},
|
|
1781
|
-
"$description": "
|
|
1782
|
-
},
|
|
1783
|
-
"eyebrow": {
|
|
1784
|
-
"$value": {
|
|
1785
|
-
"fontFamily": "{primitive.typography.family.primary}",
|
|
1786
|
-
"fontSize": "{primitive.typography.size.xs}",
|
|
1787
|
-
"fontWeight": "{primitive.typography.weight.medium}",
|
|
1788
|
-
"letterSpacing": "{primitive.typography.letterSpacing.caps}",
|
|
1789
|
-
"lineHeight": "16px",
|
|
1790
|
-
"textTransform": "uppercase"
|
|
1791
|
-
},
|
|
1792
|
-
"$description": "Eyebrow / kicker label. Satoshi medium, 12px, caps tracking, uppercase (hds#283: was 13px/20px)."
|
|
1779
|
+
"$description": "Metadata, help text and labels, in sentence case. 12px / 1.5 / 500. Role 5 of 6."
|
|
1793
1780
|
},
|
|
1794
1781
|
"mono": {
|
|
1795
1782
|
"$value": {
|
|
1796
1783
|
"fontFamily": "{primitive.typography.family.mono}",
|
|
1797
|
-
"fontSize": "{primitive.typography.size.
|
|
1784
|
+
"fontSize": "{primitive.typography.size.code}",
|
|
1798
1785
|
"fontWeight": "{primitive.typography.weight.regular}",
|
|
1799
1786
|
"letterSpacing": "{primitive.typography.letterSpacing.normal}",
|
|
1800
|
-
"lineHeight": "
|
|
1787
|
+
"lineHeight": "{primitive.typography.lineHeight.normal}",
|
|
1801
1788
|
"maxWidth": {
|
|
1802
1789
|
"value": 60,
|
|
1803
1790
|
"unit": "ch"
|
|
1804
1791
|
}
|
|
1805
1792
|
},
|
|
1806
|
-
"$description": "
|
|
1793
|
+
"$description": "Code and ids. 13px / 1.5 / 400. The mono companion, role 6 of 6."
|
|
1794
|
+
},
|
|
1795
|
+
"h1": {
|
|
1796
|
+
"$value": {
|
|
1797
|
+
"fontFamily": "{primitive.typography.family.display}",
|
|
1798
|
+
"fontSize": "{primitive.typography.size.2xl}",
|
|
1799
|
+
"fontWeight": "{primitive.typography.weight.bold}",
|
|
1800
|
+
"letterSpacing": "{primitive.typography.letterSpacing.tight}",
|
|
1801
|
+
"lineHeight": "{primitive.typography.lineHeight.tight}"
|
|
1802
|
+
},
|
|
1803
|
+
"$description": "deprecated: use semantic.typography.title",
|
|
1804
|
+
"$deprecated": "hds#483 — use semantic.typography.title"
|
|
1805
|
+
},
|
|
1806
|
+
"h2": {
|
|
1807
|
+
"$value": {
|
|
1808
|
+
"fontFamily": "{primitive.typography.family.display}",
|
|
1809
|
+
"fontSize": "{primitive.typography.size.2xl}",
|
|
1810
|
+
"fontWeight": "{primitive.typography.weight.bold}",
|
|
1811
|
+
"letterSpacing": "{primitive.typography.letterSpacing.tight}",
|
|
1812
|
+
"lineHeight": "{primitive.typography.lineHeight.tight}"
|
|
1813
|
+
},
|
|
1814
|
+
"$description": "deprecated: use semantic.typography.title",
|
|
1815
|
+
"$deprecated": "hds#483 — use semantic.typography.title"
|
|
1816
|
+
},
|
|
1817
|
+
"h3": {
|
|
1818
|
+
"$value": {
|
|
1819
|
+
"fontFamily": "{primitive.typography.family.display}",
|
|
1820
|
+
"fontSize": "{primitive.typography.size.2xl}",
|
|
1821
|
+
"fontWeight": "{primitive.typography.weight.bold}",
|
|
1822
|
+
"letterSpacing": "{primitive.typography.letterSpacing.tight}",
|
|
1823
|
+
"lineHeight": "{primitive.typography.lineHeight.tight}"
|
|
1824
|
+
},
|
|
1825
|
+
"$description": "deprecated: use semantic.typography.title",
|
|
1826
|
+
"$deprecated": "hds#483 — use semantic.typography.title"
|
|
1827
|
+
},
|
|
1828
|
+
"eyebrow": {
|
|
1829
|
+
"$value": {
|
|
1830
|
+
"fontFamily": "{primitive.typography.family.primary}",
|
|
1831
|
+
"fontSize": "{primitive.typography.size.xs}",
|
|
1832
|
+
"fontWeight": "{primitive.typography.weight.medium}",
|
|
1833
|
+
"letterSpacing": "{primitive.typography.letterSpacing.normal}",
|
|
1834
|
+
"lineHeight": "{primitive.typography.lineHeight.normal}"
|
|
1835
|
+
},
|
|
1836
|
+
"$description": "deprecated: use semantic.typography.caption",
|
|
1837
|
+
"$deprecated": "hds#483 — use semantic.typography.caption"
|
|
1807
1838
|
},
|
|
1808
1839
|
"lineHeight": {
|
|
1809
1840
|
"none": {
|
|
@@ -1970,38 +2001,58 @@
|
|
|
1970
2001
|
}
|
|
1971
2002
|
},
|
|
1972
2003
|
"elevation": {
|
|
1973
|
-
"$
|
|
2004
|
+
"$extensions": {
|
|
2005
|
+
"com.hirobius.hds": {
|
|
2006
|
+
"$type": "elevation"
|
|
2007
|
+
}
|
|
2008
|
+
},
|
|
1974
2009
|
"flat": {
|
|
1975
|
-
"$
|
|
1976
|
-
|
|
1977
|
-
"
|
|
1978
|
-
|
|
1979
|
-
|
|
1980
|
-
|
|
2010
|
+
"$description": "Flat surface (no shadow, hairline border) for embedded panels.",
|
|
2011
|
+
"$extensions": {
|
|
2012
|
+
"com.hirobius.hds": {
|
|
2013
|
+
"$value": {
|
|
2014
|
+
"surface": "{semantic.color.surface.page}",
|
|
2015
|
+
"shadow": null,
|
|
2016
|
+
"border": "{semantic.color.border.subtle}"
|
|
2017
|
+
}
|
|
2018
|
+
}
|
|
2019
|
+
}
|
|
1981
2020
|
},
|
|
1982
2021
|
"raised": {
|
|
1983
|
-
"$
|
|
1984
|
-
|
|
1985
|
-
"
|
|
1986
|
-
|
|
1987
|
-
|
|
1988
|
-
|
|
2022
|
+
"$description": "Resting card / panel elevation.",
|
|
2023
|
+
"$extensions": {
|
|
2024
|
+
"com.hirobius.hds": {
|
|
2025
|
+
"$value": {
|
|
2026
|
+
"surface": "{semantic.color.surface.raised}",
|
|
2027
|
+
"shadow": "{semantic.shadow.subtle}",
|
|
2028
|
+
"border": null
|
|
2029
|
+
}
|
|
2030
|
+
}
|
|
2031
|
+
}
|
|
1989
2032
|
},
|
|
1990
2033
|
"floating": {
|
|
1991
|
-
"$
|
|
1992
|
-
|
|
1993
|
-
"
|
|
1994
|
-
|
|
1995
|
-
|
|
1996
|
-
|
|
2034
|
+
"$description": "Hover, menu, and popover elevation.",
|
|
2035
|
+
"$extensions": {
|
|
2036
|
+
"com.hirobius.hds": {
|
|
2037
|
+
"$value": {
|
|
2038
|
+
"surface": "{semantic.color.surface.raised}",
|
|
2039
|
+
"shadow": "{semantic.shadow.floating}",
|
|
2040
|
+
"border": null
|
|
2041
|
+
}
|
|
2042
|
+
}
|
|
2043
|
+
}
|
|
1997
2044
|
},
|
|
1998
2045
|
"overlay": {
|
|
1999
|
-
"$
|
|
2000
|
-
|
|
2001
|
-
"
|
|
2002
|
-
|
|
2003
|
-
|
|
2004
|
-
|
|
2046
|
+
"$description": "Modal, dialog, and drawer elevation.",
|
|
2047
|
+
"$extensions": {
|
|
2048
|
+
"com.hirobius.hds": {
|
|
2049
|
+
"$value": {
|
|
2050
|
+
"surface": "{semantic.color.surface.overlay}",
|
|
2051
|
+
"shadow": "{semantic.shadow.overlay}",
|
|
2052
|
+
"border": null
|
|
2053
|
+
}
|
|
2054
|
+
}
|
|
2055
|
+
}
|
|
2005
2056
|
}
|
|
2006
2057
|
},
|
|
2007
2058
|
"size": {
|
|
@@ -2145,7 +2196,7 @@
|
|
|
2145
2196
|
"$description": "Tag label weight."
|
|
2146
2197
|
},
|
|
2147
2198
|
"lineHeight": {
|
|
2148
|
-
"$type": "
|
|
2199
|
+
"$type": "number",
|
|
2149
2200
|
"$value": "{primitive.typography.lineHeight.normal}",
|
|
2150
2201
|
"$description": "Readable label rhythm for tags."
|
|
2151
2202
|
},
|