@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.
- package/.llm/components/accordion.md +1 -1
- package/.llm/components/accordionitem.md +1 -1
- package/.llm/components/aspectratio.md +1 -1
- package/.llm/components/badge.md +1 -1
- package/.llm/components/bottomsheet.md +1 -1
- package/.llm/components/breadcrumb.md +1 -1
- package/.llm/components/breadcrumbitem.md +1 -1
- package/.llm/components/button.md +10 -6
- package/.llm/components/buttonicon.md +3 -3
- package/.llm/components/card.md +1 -1
- package/.llm/components/cardbody.md +1 -1
- package/.llm/components/cardbutton.md +1 -1
- package/.llm/components/checkbox.md +1 -1
- package/.llm/components/ctabanner.md +1 -1
- package/.llm/components/ctabannerslider.md +1 -1
- package/.llm/components/divider.md +1 -1
- package/.llm/components/dropdownmenu.md +2 -2
- package/.llm/components/faqaccordion.md +1 -1
- package/.llm/components/featurebullets.md +1 -1
- package/.llm/components/featurecards.md +1 -1
- package/.llm/components/featurescroll.md +1 -1
- package/.llm/components/featuresplit.md +1 -1
- package/.llm/components/filterchip.md +1 -1
- package/.llm/components/footer.md +1 -1
- package/.llm/components/footergroup.md +1 -1
- package/.llm/components/grid.md +1 -1
- package/.llm/components/icon.md +13 -3
- package/.llm/components/landinghero.md +1 -1
- package/.llm/components/link.md +4 -4
- package/.llm/components/logocolumns.md +1 -1
- package/.llm/components/logorows.md +1 -1
- package/.llm/components/menuitem.md +1 -1
- package/.llm/components/navbar.md +1 -1
- package/.llm/components/navbaritem.md +1 -1
- package/.llm/components/navbarmenu.md +1 -1
- package/.llm/components/navbarmenugroup.md +1 -1
- package/.llm/components/navbarpanel.md +1 -1
- package/.llm/components/navbarswitcher.md +1 -1
- package/.llm/components/navbarswitcheroption.md +1 -1
- package/.llm/components/option.md +1 -1
- package/.llm/components/pageheader.md +1 -1
- package/.llm/components/pagination.md +1 -1
- package/.llm/components/paginationdots.md +1 -1
- package/.llm/components/producthero.md +1 -1
- package/.llm/components/removablechip.md +1 -1
- package/.llm/components/row.md +1 -1
- package/.llm/components/scroller.md +1 -1
- package/.llm/components/searchinput.md +1 -1
- package/.llm/components/segmentedcontrol.md +1 -1
- package/.llm/components/segmentedcontrolitem.md +1 -1
- package/.llm/components/select.md +1 -1
- package/.llm/components/selectchip.md +1 -1
- package/.llm/components/spinner.md +1 -1
- package/.llm/components/stack.md +1 -1
- package/.llm/components/statusdot.md +1 -1
- package/.llm/components/subdomainnavbar.md +1 -1
- package/.llm/components/tab.md +3 -3
- package/.llm/components/table.md +1 -1
- package/.llm/components/tablebody.md +1 -1
- package/.llm/components/tablecell.md +1 -1
- package/.llm/components/tablehead.md +1 -1
- package/.llm/components/tableheadercell.md +1 -1
- package/.llm/components/tablerow.md +1 -1
- package/.llm/components/tablist.md +1 -1
- package/.llm/components/testimonialrow.md +1 -1
- package/.llm/components/testimonialslider.md +1 -1
- package/.llm/components/textarea.md +1 -1
- package/.llm/components/textinput.md +1 -1
- package/.llm/components/tooltip.md +1 -1
- package/.llm/components/typography.md +1 -1
- package/.llm/rules.md +20 -10
- package/AGENTS.md +4 -5
- package/dist/components/core/link/Link.js +5 -5
- package/dist/components/core/tab/Tab.types.d.ts +1 -1
- 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
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
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
|
|
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-
|
|
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'> & ({
|