@deriv-com/dds-marketing 1.0.0 → 1.0.1

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.
Files changed (75) hide show
  1. package/.llm/components/accordion.md +1 -1
  2. package/.llm/components/accordionitem.md +1 -1
  3. package/.llm/components/aspectratio.md +1 -1
  4. package/.llm/components/badge.md +1 -1
  5. package/.llm/components/bottomsheet.md +1 -1
  6. package/.llm/components/breadcrumb.md +1 -1
  7. package/.llm/components/breadcrumbitem.md +1 -1
  8. package/.llm/components/button.md +10 -6
  9. package/.llm/components/buttonicon.md +3 -3
  10. package/.llm/components/card.md +1 -1
  11. package/.llm/components/cardbody.md +1 -1
  12. package/.llm/components/cardbutton.md +1 -1
  13. package/.llm/components/checkbox.md +1 -1
  14. package/.llm/components/ctabanner.md +1 -1
  15. package/.llm/components/ctabannerslider.md +1 -1
  16. package/.llm/components/divider.md +1 -1
  17. package/.llm/components/dropdownmenu.md +2 -2
  18. package/.llm/components/faqaccordion.md +1 -1
  19. package/.llm/components/featurebullets.md +1 -1
  20. package/.llm/components/featurecards.md +1 -1
  21. package/.llm/components/featurescroll.md +1 -1
  22. package/.llm/components/featuresplit.md +1 -1
  23. package/.llm/components/filterchip.md +1 -1
  24. package/.llm/components/footer.md +1 -1
  25. package/.llm/components/footergroup.md +1 -1
  26. package/.llm/components/grid.md +1 -1
  27. package/.llm/components/icon.md +13 -3
  28. package/.llm/components/landinghero.md +1 -1
  29. package/.llm/components/link.md +4 -4
  30. package/.llm/components/logocolumns.md +1 -1
  31. package/.llm/components/logorows.md +1 -1
  32. package/.llm/components/menuitem.md +1 -1
  33. package/.llm/components/navbar.md +1 -1
  34. package/.llm/components/navbaritem.md +1 -1
  35. package/.llm/components/navbarmenu.md +1 -1
  36. package/.llm/components/navbarmenugroup.md +1 -1
  37. package/.llm/components/navbarpanel.md +1 -1
  38. package/.llm/components/navbarswitcher.md +1 -1
  39. package/.llm/components/navbarswitcheroption.md +1 -1
  40. package/.llm/components/option.md +1 -1
  41. package/.llm/components/pageheader.md +1 -1
  42. package/.llm/components/pagination.md +1 -1
  43. package/.llm/components/paginationdots.md +1 -1
  44. package/.llm/components/producthero.md +1 -1
  45. package/.llm/components/removablechip.md +1 -1
  46. package/.llm/components/row.md +1 -1
  47. package/.llm/components/scroller.md +1 -1
  48. package/.llm/components/searchinput.md +1 -1
  49. package/.llm/components/segmentedcontrol.md +1 -1
  50. package/.llm/components/segmentedcontrolitem.md +1 -1
  51. package/.llm/components/select.md +1 -1
  52. package/.llm/components/selectchip.md +1 -1
  53. package/.llm/components/spinner.md +1 -1
  54. package/.llm/components/stack.md +1 -1
  55. package/.llm/components/statusdot.md +1 -1
  56. package/.llm/components/subdomainnavbar.md +1 -1
  57. package/.llm/components/tab.md +3 -3
  58. package/.llm/components/table.md +1 -1
  59. package/.llm/components/tablebody.md +1 -1
  60. package/.llm/components/tablecell.md +1 -1
  61. package/.llm/components/tablehead.md +1 -1
  62. package/.llm/components/tableheadercell.md +1 -1
  63. package/.llm/components/tablerow.md +1 -1
  64. package/.llm/components/tablist.md +1 -1
  65. package/.llm/components/testimonialrow.md +1 -1
  66. package/.llm/components/testimonialslider.md +1 -1
  67. package/.llm/components/textarea.md +1 -1
  68. package/.llm/components/textinput.md +1 -1
  69. package/.llm/components/tooltip.md +1 -1
  70. package/.llm/components/typography.md +1 -1
  71. package/.llm/rules.md +20 -10
  72. package/AGENTS.md +4 -5
  73. package/dist/components/core/link/Link.js +5 -5
  74. package/dist/components/core/tab/Tab.types.d.ts +1 -1
  75. package/package.json +1 -1
@@ -55,14 +55,14 @@ export function Link({ variant = linkDefaults.variant, tone = linkDefaults.tone,
55
55
 
56
56
  A standalone link sets its label at font.label.md — semibold — and beside
57
57
  that the regular cut's strokes read as a smudge rather than a direction, so
58
- the arrow is solid. That is a deliberate exception to
59
- `icon-solid-marks-selection`, which reserves the weight for a selected item:
60
- this is not selection, and what earns it is legibility at sixteen pixels
61
- against a heavier neighbour.
58
+ the arrow is solid. That is no exception to `icon-weight-within-a-set`,
59
+ which reserves the weight for the current one of a set: the arrow sits in
60
+ no set, and what earns it is legibility at sixteen pixels against a heavier
61
+ neighbour.
62
62
 
63
63
  An inline link has no label of its own — it takes the paragraph's type, which
64
64
  is body copy at the regular weight. A solid arrow there is heavier than every
65
- word around it, so the exception does not apply and the regular cut is right.
65
+ word around it, so legibility does not ask for solid and the regular cut is right.
66
66
  The mark matches its neighbours either way; only the neighbours change.
67
67
  */
68
68
  const inline = variant === 'inline';
@@ -10,7 +10,7 @@ export interface TabOwnProps {
10
10
  label: string;
11
11
  /** The tabs are things a mark tells apart faster than a word does — a platform, a market class. Pass the glyph; the tab draws it at its own step.
12
12
 
13
- Solid when the tab is current and regular otherwise, which is the package's `icon-solid-marks-selection` rule. Nothing here can enforce it: a Quill glyph's weight is chosen at the import, so a page that wants the swap passes a different glyph per state */
13
+ Solid when the tab is current and regular otherwise, which is the package's `icon-weight-within-a-set` rule. Nothing here can enforce it: a Quill glyph's weight is chosen at the import, so a page that wants the swap passes a different glyph per state */
14
14
  icon?: ReactNode;
15
15
  }
16
16
  export type TabProps = TabOwnProps & Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'className' | 'selected' | 'onSelect' | 'value' | 'label' | 'icon' | 'badge' | 'content' | 'trailingIcon'> & ({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deriv-com/dds-marketing",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "Deriv Design System — components and tokens for marketing sites (landing pages, pricing, sign-up).",
5
5
  "license": "MIT",
6
6
  "author": {