@common-origin/design-system 3.0.0 → 3.1.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/dist/client.js +2175 -687
- package/dist/client.js.map +1 -1
- package/dist/components/atoms/Tooltip/Tooltip.d.mts +41 -0
- package/dist/components/atoms/Tooltip/Tooltip.d.ts +41 -0
- package/dist/components/atoms/Tooltip/Tooltip.mjs +204 -0
- package/dist/components/atoms/Tooltip/Tooltip.mjs.map +1 -0
- package/dist/components/atoms/Tooltip/index.d.mts +2 -0
- package/dist/components/atoms/Tooltip/index.d.ts +2 -0
- package/dist/components/atoms/index.d.mts +1 -0
- package/dist/components/atoms/index.d.ts +1 -0
- package/dist/components/index.d.mts +1 -0
- package/dist/components/index.d.ts +1 -0
- package/dist/components/molecules/ActionSheet/ActionSheet.mjs +1 -0
- package/dist/components/molecules/Alert/Alert.mjs +1 -1
- package/dist/components/molecules/ChipGroup/ChipGroup.mjs +1 -0
- package/dist/components/molecules/List/List.d.mts +2 -0
- package/dist/components/molecules/List/List.d.ts +2 -0
- package/dist/components/molecules/List/ListItem.d.mts +2 -0
- package/dist/components/molecules/List/ListItem.d.ts +2 -0
- package/dist/components/molecules/List/ListItem.mjs +5 -5
- package/dist/components/molecules/Menu/Menu.d.mts +117 -0
- package/dist/components/molecules/Menu/Menu.d.ts +117 -0
- package/dist/components/molecules/Menu/Menu.mjs +473 -0
- package/dist/components/molecules/Menu/Menu.mjs.map +1 -0
- package/dist/components/molecules/Menu/index.d.mts +2 -0
- package/dist/components/molecules/Menu/index.d.ts +2 -0
- package/dist/components/molecules/SearchField/SearchField.mjs +2 -0
- package/dist/components/molecules/SidebarNavItem/SidebarNavContext.d.mts +13 -0
- package/dist/components/molecules/SidebarNavItem/SidebarNavContext.d.ts +13 -0
- package/dist/components/molecules/SidebarNavItem/SidebarNavContext.mjs +13 -0
- package/dist/components/molecules/SidebarNavItem/SidebarNavContext.mjs.map +1 -0
- package/dist/components/molecules/SidebarNavItem/SidebarNavItem.d.mts +43 -0
- package/dist/components/molecules/SidebarNavItem/SidebarNavItem.d.ts +43 -0
- package/dist/components/molecules/SidebarNavItem/SidebarNavItem.mjs +148 -0
- package/dist/components/molecules/SidebarNavItem/SidebarNavItem.mjs.map +1 -0
- package/dist/components/molecules/SidebarNavItem/index.d.mts +2 -0
- package/dist/components/molecules/SidebarNavItem/index.d.ts +2 -0
- package/dist/components/molecules/SidebarNavSection/SidebarNavSection.d.mts +36 -0
- package/dist/components/molecules/SidebarNavSection/SidebarNavSection.d.ts +36 -0
- package/dist/components/molecules/SidebarNavSection/SidebarNavSection.mjs +188 -0
- package/dist/components/molecules/SidebarNavSection/SidebarNavSection.mjs.map +1 -0
- package/dist/components/molecules/SidebarNavSection/index.d.mts +2 -0
- package/dist/components/molecules/SidebarNavSection/index.d.ts +2 -0
- package/dist/components/molecules/TransactionListItem/TransactionListItem.mjs +1 -1
- package/dist/components/molecules/WorkspaceSwitcher/WorkspaceSwitcher.d.mts +39 -0
- package/dist/components/molecules/WorkspaceSwitcher/WorkspaceSwitcher.d.ts +39 -0
- package/dist/components/molecules/WorkspaceSwitcher/WorkspaceSwitcher.mjs +131 -0
- package/dist/components/molecules/WorkspaceSwitcher/WorkspaceSwitcher.mjs.map +1 -0
- package/dist/components/molecules/WorkspaceSwitcher/index.d.mts +2 -0
- package/dist/components/molecules/WorkspaceSwitcher/index.d.ts +2 -0
- package/dist/components/molecules/index.d.mts +4 -0
- package/dist/components/molecules/index.d.ts +4 -0
- package/dist/components/organisms/SidebarNav/SidebarNav.d.mts +52 -0
- package/dist/components/organisms/SidebarNav/SidebarNav.d.ts +52 -0
- package/dist/components/organisms/SidebarNav/SidebarNav.mjs +235 -0
- package/dist/components/organisms/SidebarNav/SidebarNav.mjs.map +1 -0
- package/dist/components/organisms/SidebarNav/index.d.mts +2 -0
- package/dist/components/organisms/SidebarNav/index.d.ts +2 -0
- package/dist/components/organisms/index.d.mts +1 -0
- package/dist/components/organisms/index.d.ts +1 -0
- package/dist/data.js +59 -9
- package/dist/data.js.map +1 -1
- package/dist/index.js +11 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +6 -0
- package/dist/index.mjs.map +1 -1
- package/dist/lib/floatingPosition.d.mts +43 -0
- package/dist/lib/floatingPosition.d.ts +43 -0
- package/dist/lib/floatingPosition.mjs +86 -0
- package/dist/lib/floatingPosition.mjs.map +1 -0
- package/dist/lib/keyboardFocus.d.mts +6 -0
- package/dist/lib/keyboardFocus.d.ts +6 -0
- package/dist/lib/keyboardFocus.mjs +17 -0
- package/dist/lib/keyboardFocus.mjs.map +1 -0
- package/dist/lib/useFloatingLayer.d.mts +25 -0
- package/dist/lib/useFloatingLayer.d.ts +25 -0
- package/dist/lib/useFloatingLayer.mjs +86 -0
- package/dist/lib/useFloatingLayer.mjs.map +1 -0
- package/dist/styles/icons.json +30 -1
- package/dist/styles/icons.json.mjs +34 -3
- package/dist/styles/icons.json.mjs.map +1 -1
- package/dist/styles/tokens.d.mts +46 -8
- package/dist/styles/tokens.d.ts +46 -8
- package/dist/styles/tokens.json +26 -7
- package/dist/styles/tokens.json.mjs +26 -7
- package/dist/styles/tokens.json.mjs.map +1 -1
- package/dist/tokens/index.js +26 -7
- package/dist/tokens/index.js.map +1 -1
- package/dist/tokens/index.mjs +26 -7
- package/dist/tokens/index.mjs.map +1 -1
- package/dist/tokens/styles/tokens.d.mts +46 -8
- package/dist/tokens/styles/tokens.d.ts +46 -8
- package/dist/tokens.css +35 -15
- package/dist/types/icons.d.mts +1 -1
- package/dist/types/icons.d.ts +1 -1
- package/dist/types/icons.mjs.map +1 -1
- package/package.json +2 -2
package/dist/styles/icons.json
CHANGED
|
@@ -374,7 +374,6 @@
|
|
|
374
374
|
"aliases": [
|
|
375
375
|
"hamburger",
|
|
376
376
|
"nav",
|
|
377
|
-
"sidebar",
|
|
378
377
|
"navigation"
|
|
379
378
|
],
|
|
380
379
|
"intent": "Use to open a navigation menu or sidebar",
|
|
@@ -908,5 +907,35 @@
|
|
|
908
907
|
"intent": "Use for the cancelled status: stopped on purpose (decision 0045). Neutral colour, with a label",
|
|
909
908
|
"decorativeDefault": false,
|
|
910
909
|
"ariaLabelDefault": "Cancelled"
|
|
910
|
+
},
|
|
911
|
+
"home": {
|
|
912
|
+
"path": "M12 2.7L21 10.3V21H3V10.3Z M12 5.32L5 11.23V19H19V11.23Z M9 13H15V19H13V15H11V19H9Z",
|
|
913
|
+
"name": "home",
|
|
914
|
+
"description": "House outline with a door",
|
|
915
|
+
"category": "navigation",
|
|
916
|
+
"aliases": [
|
|
917
|
+
"house",
|
|
918
|
+
"dashboard",
|
|
919
|
+
"main",
|
|
920
|
+
"homepage"
|
|
921
|
+
],
|
|
922
|
+
"intent": "Use for a link to the product's home or start page",
|
|
923
|
+
"decorativeDefault": false,
|
|
924
|
+
"ariaLabelDefault": "Home"
|
|
925
|
+
},
|
|
926
|
+
"sidebar": {
|
|
927
|
+
"path": "M14 2C17.7712 2 19.6566 2.0003 20.8281 3.17188C21.9997 4.34345 22 6.22876 22 10V14C22 17.7712 21.9997 19.6566 20.8281 20.8281C19.803 21.8533 18.2315 21.982 15.3281 21.998L14 22H10L8.67188 21.998C5.8719 21.9826 4.31033 21.8625 3.2832 20.9346L3.17188 20.8281C2.14675 19.803 2.01797 18.2315 2.00195 15.3281L2 14V10C2 6.34627 2 4.46248 3.06543 3.2832L3.17188 3.17188C4.34345 2.0003 6.22876 2 10 2H14Z M10 4C8.05784 4 6.80197 4.00454 5.87695 4.12891C5.00986 4.24554 4.73816 4.43372 4.58594 4.58594C4.43372 4.73816 4.24554 5.00986 4.12891 5.87695C4.00454 6.80197 4 8.05784 4 10V14C4 15.9422 4.00454 17.198 4.12891 18.123C4.24554 18.9901 4.43372 19.2618 4.58594 19.4141C4.73816 19.5663 5.00986 19.7545 5.87695 19.8711C6.80197 19.9955 8.05784 20 10 20H14C15.9422 20 17.198 19.9955 18.123 19.8711C18.9901 19.7545 19.2618 19.5663 19.4141 19.4141C19.5663 19.2618 19.7545 18.9901 19.8711 18.123C19.9955 17.198 20 15.9422 20 14V10C20 8.05784 19.9955 6.80197 19.8711 5.87695C19.7545 5.00986 19.5663 4.73816 19.4141 4.58594C19.2618 4.43372 18.9901 4.24554 18.123 4.12891C17.198 4.00454 15.9422 4 14 4Z M8 4H10V20H8Z",
|
|
928
|
+
"name": "sidebar",
|
|
929
|
+
"description": "Rounded square with a narrow column on the left",
|
|
930
|
+
"category": "navigation",
|
|
931
|
+
"aliases": [
|
|
932
|
+
"panel",
|
|
933
|
+
"side-panel",
|
|
934
|
+
"drawer",
|
|
935
|
+
"rail"
|
|
936
|
+
],
|
|
937
|
+
"intent": "Use for a button that collapses or expands a sidebar",
|
|
938
|
+
"decorativeDefault": false,
|
|
939
|
+
"ariaLabelDefault": "Toggle sidebar"
|
|
911
940
|
}
|
|
912
941
|
}
|
|
@@ -359,7 +359,6 @@ var menu = {
|
|
|
359
359
|
aliases: [
|
|
360
360
|
"hamburger",
|
|
361
361
|
"nav",
|
|
362
|
-
"sidebar",
|
|
363
362
|
"navigation"
|
|
364
363
|
],
|
|
365
364
|
intent: "Use to open a navigation menu or sidebar",
|
|
@@ -894,6 +893,36 @@ var statusCancelled = {
|
|
|
894
893
|
decorativeDefault: false,
|
|
895
894
|
ariaLabelDefault: "Cancelled"
|
|
896
895
|
};
|
|
896
|
+
var home = {
|
|
897
|
+
path: "M12 2.7L21 10.3V21H3V10.3Z M12 5.32L5 11.23V19H19V11.23Z M9 13H15V19H13V15H11V19H9Z",
|
|
898
|
+
name: "home",
|
|
899
|
+
description: "House outline with a door",
|
|
900
|
+
category: "navigation",
|
|
901
|
+
aliases: [
|
|
902
|
+
"house",
|
|
903
|
+
"dashboard",
|
|
904
|
+
"main",
|
|
905
|
+
"homepage"
|
|
906
|
+
],
|
|
907
|
+
intent: "Use for a link to the product's home or start page",
|
|
908
|
+
decorativeDefault: false,
|
|
909
|
+
ariaLabelDefault: "Home"
|
|
910
|
+
};
|
|
911
|
+
var sidebar = {
|
|
912
|
+
path: "M14 2C17.7712 2 19.6566 2.0003 20.8281 3.17188C21.9997 4.34345 22 6.22876 22 10V14C22 17.7712 21.9997 19.6566 20.8281 20.8281C19.803 21.8533 18.2315 21.982 15.3281 21.998L14 22H10L8.67188 21.998C5.8719 21.9826 4.31033 21.8625 3.2832 20.9346L3.17188 20.8281C2.14675 19.803 2.01797 18.2315 2.00195 15.3281L2 14V10C2 6.34627 2 4.46248 3.06543 3.2832L3.17188 3.17188C4.34345 2.0003 6.22876 2 10 2H14Z M10 4C8.05784 4 6.80197 4.00454 5.87695 4.12891C5.00986 4.24554 4.73816 4.43372 4.58594 4.58594C4.43372 4.73816 4.24554 5.00986 4.12891 5.87695C4.00454 6.80197 4 8.05784 4 10V14C4 15.9422 4.00454 17.198 4.12891 18.123C4.24554 18.9901 4.43372 19.2618 4.58594 19.4141C4.73816 19.5663 5.00986 19.7545 5.87695 19.8711C6.80197 19.9955 8.05784 20 10 20H14C15.9422 20 17.198 19.9955 18.123 19.8711C18.9901 19.7545 19.2618 19.5663 19.4141 19.4141C19.5663 19.2618 19.7545 18.9901 19.8711 18.123C19.9955 17.198 20 15.9422 20 14V10C20 8.05784 19.9955 6.80197 19.8711 5.87695C19.7545 5.00986 19.5663 4.73816 19.4141 4.58594C19.2618 4.43372 18.9901 4.24554 18.123 4.12891C17.198 4.00454 15.9422 4 14 4Z M8 4H10V20H8Z",
|
|
913
|
+
name: "sidebar",
|
|
914
|
+
description: "Rounded square with a narrow column on the left",
|
|
915
|
+
category: "navigation",
|
|
916
|
+
aliases: [
|
|
917
|
+
"panel",
|
|
918
|
+
"side-panel",
|
|
919
|
+
"drawer",
|
|
920
|
+
"rail"
|
|
921
|
+
],
|
|
922
|
+
intent: "Use for a button that collapses or expands a sidebar",
|
|
923
|
+
decorativeDefault: false,
|
|
924
|
+
ariaLabelDefault: "Toggle sidebar"
|
|
925
|
+
};
|
|
897
926
|
var iconsJson = {
|
|
898
927
|
ai: ai,
|
|
899
928
|
add: add,
|
|
@@ -969,8 +998,10 @@ var iconsJson = {
|
|
|
969
998
|
statusPending: statusPending,
|
|
970
999
|
statusScheduled: statusScheduled,
|
|
971
1000
|
statusNotStarted: statusNotStarted,
|
|
972
|
-
statusCancelled: statusCancelled
|
|
1001
|
+
statusCancelled: statusCancelled,
|
|
1002
|
+
home: home,
|
|
1003
|
+
sidebar: sidebar
|
|
973
1004
|
};
|
|
974
1005
|
|
|
975
|
-
export { add, addRing, ai, arrowDown, arrowLeft, arrowRight, arrowUp, back, bell, cancel, caret, caretDown, caretUp, check, checkRing, close, copy, creditCard, crossCircle, iconsJson as default, directionRight, directionUp, edit, fileDocSearch, filter, info, kebab, lamp, lineOut, link, meatballs, menu, message, mic, move, order, paper, pause, play, playBack, refresh, remove, search, star, starFilled, statusCancelled, statusError, statusInProgress, statusInfo, statusNotStarted, statusPending, statusScheduled, statusSerious, statusSuccess, statusWarning, stop, table, trash, userBox, view, viewHide, wallet };
|
|
1006
|
+
export { add, addRing, ai, arrowDown, arrowLeft, arrowRight, arrowUp, back, bell, cancel, caret, caretDown, caretUp, check, checkRing, close, copy, creditCard, crossCircle, iconsJson as default, directionRight, directionUp, edit, fileDocSearch, filter, home, info, kebab, lamp, lineOut, link, meatballs, menu, message, mic, move, order, paper, pause, play, playBack, refresh, remove, search, sidebar, star, starFilled, statusCancelled, statusError, statusInProgress, statusInfo, statusNotStarted, statusPending, statusScheduled, statusSerious, statusSuccess, statusWarning, stop, table, trash, userBox, view, viewHide, wallet };
|
|
976
1007
|
//# sourceMappingURL=icons.json.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"icons.json.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"icons.json.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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
title: {
|
|
1215
|
-
/** Alert title style (h6), adjusted by title.
|
|
1215
|
+
/** Alert title style (h6), adjusted by title.lineHeight. */
|
|
1216
1216
|
typography: string;
|
|
1217
|
-
/**
|
|
1217
|
+
/**
|
|
1218
|
+
* Alert title weight.
|
|
1219
|
+
*
|
|
1220
|
+
* @deprecated h6 is semibold since decision 0050, so the title takes its weight from title.typography. Use semantic.fontWeight.semibold. Removed in 4.0.
|
|
1221
|
+
*/
|
|
1218
1222
|
fontWeight: string;
|
|
1219
1223
|
/** Alert titles use a tighter line height than h6. */
|
|
1220
1224
|
lineHeight: string;
|
|
@@ -1278,6 +1282,18 @@ export type Tokens = {
|
|
|
1278
1282
|
/** Code line height. */
|
|
1279
1283
|
lineHeight: string;
|
|
1280
1284
|
};
|
|
1285
|
+
sidebarNav: {
|
|
1286
|
+
width: {
|
|
1287
|
+
/** Width of a collapsed SidebarNav, the icon rail: the tallest dense row (size.row.sm, in comfortable) with an inset on each side. */
|
|
1288
|
+
rail: string;
|
|
1289
|
+
/** Width of an expanded SidebarNav with width="narrow": short labels. */
|
|
1290
|
+
narrow: string;
|
|
1291
|
+
/** Width of an expanded SidebarNav with the default width: labels with a trailing count. */
|
|
1292
|
+
default: string;
|
|
1293
|
+
/** Width of an expanded SidebarNav with width="wide": long titles, such as chat history. */
|
|
1294
|
+
wide: string;
|
|
1295
|
+
};
|
|
1296
|
+
};
|
|
1281
1297
|
slider: {
|
|
1282
1298
|
thumb: {
|
|
1283
1299
|
shadow: {
|
|
@@ -1349,7 +1365,11 @@ export type Tokens = {
|
|
|
1349
1365
|
};
|
|
1350
1366
|
};
|
|
1351
1367
|
transactionListItem: {
|
|
1352
|
-
/**
|
|
1368
|
+
/**
|
|
1369
|
+
* Minimum height of a TransactionListItem row, so rows line up in a list.
|
|
1370
|
+
*
|
|
1371
|
+
* @deprecated Two-line rows share semantic.size.row.lg, which follows density (decision 0051). Removed in 4.0.
|
|
1372
|
+
*/
|
|
1353
1373
|
minHeight: string;
|
|
1354
1374
|
};
|
|
1355
1375
|
status: {
|
|
@@ -1479,11 +1499,11 @@ export type Tokens = {
|
|
|
1479
1499
|
fontWeight: {
|
|
1480
1500
|
/** 400. Body text, captions, most UI text. */
|
|
1481
1501
|
regular: string;
|
|
1482
|
-
/** 500.
|
|
1502
|
+
/** 500. Subtitle, buttons, emphasis within UI text. */
|
|
1483
1503
|
medium: string;
|
|
1484
|
-
/** 600.
|
|
1504
|
+
/** 600. Headings (h1 to h6), labels and short titles (label, Alert title). */
|
|
1485
1505
|
semibold: string;
|
|
1486
|
-
/** 700.
|
|
1506
|
+
/** 700. The display heading, overline, strong indicators such as the required-field asterisk. */
|
|
1487
1507
|
bold: string;
|
|
1488
1508
|
};
|
|
1489
1509
|
border: {
|
|
@@ -1517,6 +1537,8 @@ export type Tokens = {
|
|
|
1517
1537
|
'800': string;
|
|
1518
1538
|
/** Size step for headers and indents, such as the AccountCard header. */
|
|
1519
1539
|
'1200': string;
|
|
1540
|
+
/** Size step for the collapsed SidebarNav rail: one icon row with an inset on each side. */
|
|
1541
|
+
'1400': string;
|
|
1520
1542
|
/** Size step for the comfortable ListItem expanded indent. */
|
|
1521
1543
|
'1500': string;
|
|
1522
1544
|
/** Size step for tall rows, such as the TransactionListItem minimum height. */
|
|
@@ -1529,7 +1551,11 @@ export type Tokens = {
|
|
|
1529
1551
|
'4500': string;
|
|
1530
1552
|
/** Size step for large illustrations, such as the large EmptyState image. */
|
|
1531
1553
|
'5000': string;
|
|
1532
|
-
/** Size step for narrow column
|
|
1554
|
+
/** Size step for a narrow navigation column: the narrow SidebarNav. */
|
|
1555
|
+
'5600': string;
|
|
1556
|
+
/** Size step for a standard navigation column: the default SidebarNav. */
|
|
1557
|
+
'6400': string;
|
|
1558
|
+
/** Size step for narrow column widths: AccountCard, EmptyState actions, the wide SidebarNav, the widest a Tooltip grows. */
|
|
1533
1559
|
'7500': string;
|
|
1534
1560
|
/** Size step for readable text widths, such as EmptyState copy. */
|
|
1535
1561
|
'9000': string;
|
|
@@ -1539,7 +1565,7 @@ export type Tokens = {
|
|
|
1539
1565
|
'19200': string;
|
|
1540
1566
|
/** Minimum pointer target for a control that's smaller to look at: its invisible hit area (WCAG 2.5.8, decision 0039). On touch screens, use touchTarget. */
|
|
1541
1567
|
pointerTarget: string;
|
|
1542
|
-
/**
|
|
1568
|
+
/** Invisible hit area of a small control on touch screens, such as the Slider thumb. Not a row or control height: those follow density down to pointerTarget (decision 0051). */
|
|
1543
1569
|
touchTarget: string;
|
|
1544
1570
|
control: {
|
|
1545
1571
|
/** Minimum height of small controls: small Buttons and IconButtons, buttons inside fields (decision 0034). */
|
|
@@ -1549,6 +1575,14 @@ export type Tokens = {
|
|
|
1549
1575
|
/** Minimum height of large controls: text fields, Dropdown, SearchField, the default Button (decision 0034). */
|
|
1550
1576
|
lg: string;
|
|
1551
1577
|
};
|
|
1578
|
+
row: {
|
|
1579
|
+
/** Minimum height of dense single-line rows: navigation items, menu items, dense table rows. Follows density down to the minimum pointer target (decision 0051). */
|
|
1580
|
+
sm: string;
|
|
1581
|
+
/** Minimum height of single-line list rows: ListItem and the rows built on it, such as ActionSheet actions and SearchField suggestions. Follows density (decision 0051). */
|
|
1582
|
+
md: string;
|
|
1583
|
+
/** Minimum height of two-line rows: TransactionListItem. Follows density (decision 0051). */
|
|
1584
|
+
lg: string;
|
|
1585
|
+
};
|
|
1552
1586
|
overlay: {
|
|
1553
1587
|
/** Width of a small Modal, and the default width or height of a Sheet. */
|
|
1554
1588
|
sm: string;
|
|
@@ -1861,6 +1895,10 @@ export type Tokens = {
|
|
|
1861
1895
|
/** The default duration for state changes and short movements, such as a menu opening. */
|
|
1862
1896
|
moderate: string;
|
|
1863
1897
|
};
|
|
1898
|
+
delay: {
|
|
1899
|
+
/** How long the pointer rests on a control before its Tooltip opens, so passing pointers don't open it. A wait before anything moves, not an animation duration. */
|
|
1900
|
+
hint: string;
|
|
1901
|
+
};
|
|
1864
1902
|
easing: {
|
|
1865
1903
|
/** Easing for change on screen: something moving or resizing in place. */
|
|
1866
1904
|
standard: string;
|
package/dist/styles/tokens.d.ts
CHANGED
|
@@ -1212,9 +1212,13 @@ export type Tokens = {
|
|
|
1212
1212
|
};
|
|
1213
1213
|
};
|
|
1214
1214
|
title: {
|
|
1215
|
-
/** Alert title style (h6), adjusted by title.
|
|
1215
|
+
/** Alert title style (h6), adjusted by title.lineHeight. */
|
|
1216
1216
|
typography: string;
|
|
1217
|
-
/**
|
|
1217
|
+
/**
|
|
1218
|
+
* Alert title weight.
|
|
1219
|
+
*
|
|
1220
|
+
* @deprecated h6 is semibold since decision 0050, so the title takes its weight from title.typography. Use semantic.fontWeight.semibold. Removed in 4.0.
|
|
1221
|
+
*/
|
|
1218
1222
|
fontWeight: string;
|
|
1219
1223
|
/** Alert titles use a tighter line height than h6. */
|
|
1220
1224
|
lineHeight: string;
|
|
@@ -1278,6 +1282,18 @@ export type Tokens = {
|
|
|
1278
1282
|
/** Code line height. */
|
|
1279
1283
|
lineHeight: string;
|
|
1280
1284
|
};
|
|
1285
|
+
sidebarNav: {
|
|
1286
|
+
width: {
|
|
1287
|
+
/** Width of a collapsed SidebarNav, the icon rail: the tallest dense row (size.row.sm, in comfortable) with an inset on each side. */
|
|
1288
|
+
rail: string;
|
|
1289
|
+
/** Width of an expanded SidebarNav with width="narrow": short labels. */
|
|
1290
|
+
narrow: string;
|
|
1291
|
+
/** Width of an expanded SidebarNav with the default width: labels with a trailing count. */
|
|
1292
|
+
default: string;
|
|
1293
|
+
/** Width of an expanded SidebarNav with width="wide": long titles, such as chat history. */
|
|
1294
|
+
wide: string;
|
|
1295
|
+
};
|
|
1296
|
+
};
|
|
1281
1297
|
slider: {
|
|
1282
1298
|
thumb: {
|
|
1283
1299
|
shadow: {
|
|
@@ -1349,7 +1365,11 @@ export type Tokens = {
|
|
|
1349
1365
|
};
|
|
1350
1366
|
};
|
|
1351
1367
|
transactionListItem: {
|
|
1352
|
-
/**
|
|
1368
|
+
/**
|
|
1369
|
+
* Minimum height of a TransactionListItem row, so rows line up in a list.
|
|
1370
|
+
*
|
|
1371
|
+
* @deprecated Two-line rows share semantic.size.row.lg, which follows density (decision 0051). Removed in 4.0.
|
|
1372
|
+
*/
|
|
1353
1373
|
minHeight: string;
|
|
1354
1374
|
};
|
|
1355
1375
|
status: {
|
|
@@ -1479,11 +1499,11 @@ export type Tokens = {
|
|
|
1479
1499
|
fontWeight: {
|
|
1480
1500
|
/** 400. Body text, captions, most UI text. */
|
|
1481
1501
|
regular: string;
|
|
1482
|
-
/** 500.
|
|
1502
|
+
/** 500. Subtitle, buttons, emphasis within UI text. */
|
|
1483
1503
|
medium: string;
|
|
1484
|
-
/** 600.
|
|
1504
|
+
/** 600. Headings (h1 to h6), labels and short titles (label, Alert title). */
|
|
1485
1505
|
semibold: string;
|
|
1486
|
-
/** 700.
|
|
1506
|
+
/** 700. The display heading, overline, strong indicators such as the required-field asterisk. */
|
|
1487
1507
|
bold: string;
|
|
1488
1508
|
};
|
|
1489
1509
|
border: {
|
|
@@ -1517,6 +1537,8 @@ export type Tokens = {
|
|
|
1517
1537
|
'800': string;
|
|
1518
1538
|
/** Size step for headers and indents, such as the AccountCard header. */
|
|
1519
1539
|
'1200': string;
|
|
1540
|
+
/** Size step for the collapsed SidebarNav rail: one icon row with an inset on each side. */
|
|
1541
|
+
'1400': string;
|
|
1520
1542
|
/** Size step for the comfortable ListItem expanded indent. */
|
|
1521
1543
|
'1500': string;
|
|
1522
1544
|
/** Size step for tall rows, such as the TransactionListItem minimum height. */
|
|
@@ -1529,7 +1551,11 @@ export type Tokens = {
|
|
|
1529
1551
|
'4500': string;
|
|
1530
1552
|
/** Size step for large illustrations, such as the large EmptyState image. */
|
|
1531
1553
|
'5000': string;
|
|
1532
|
-
/** Size step for narrow column
|
|
1554
|
+
/** Size step for a narrow navigation column: the narrow SidebarNav. */
|
|
1555
|
+
'5600': string;
|
|
1556
|
+
/** Size step for a standard navigation column: the default SidebarNav. */
|
|
1557
|
+
'6400': string;
|
|
1558
|
+
/** Size step for narrow column widths: AccountCard, EmptyState actions, the wide SidebarNav, the widest a Tooltip grows. */
|
|
1533
1559
|
'7500': string;
|
|
1534
1560
|
/** Size step for readable text widths, such as EmptyState copy. */
|
|
1535
1561
|
'9000': string;
|
|
@@ -1539,7 +1565,7 @@ export type Tokens = {
|
|
|
1539
1565
|
'19200': string;
|
|
1540
1566
|
/** Minimum pointer target for a control that's smaller to look at: its invisible hit area (WCAG 2.5.8, decision 0039). On touch screens, use touchTarget. */
|
|
1541
1567
|
pointerTarget: string;
|
|
1542
|
-
/**
|
|
1568
|
+
/** Invisible hit area of a small control on touch screens, such as the Slider thumb. Not a row or control height: those follow density down to pointerTarget (decision 0051). */
|
|
1543
1569
|
touchTarget: string;
|
|
1544
1570
|
control: {
|
|
1545
1571
|
/** Minimum height of small controls: small Buttons and IconButtons, buttons inside fields (decision 0034). */
|
|
@@ -1549,6 +1575,14 @@ export type Tokens = {
|
|
|
1549
1575
|
/** Minimum height of large controls: text fields, Dropdown, SearchField, the default Button (decision 0034). */
|
|
1550
1576
|
lg: string;
|
|
1551
1577
|
};
|
|
1578
|
+
row: {
|
|
1579
|
+
/** Minimum height of dense single-line rows: navigation items, menu items, dense table rows. Follows density down to the minimum pointer target (decision 0051). */
|
|
1580
|
+
sm: string;
|
|
1581
|
+
/** Minimum height of single-line list rows: ListItem and the rows built on it, such as ActionSheet actions and SearchField suggestions. Follows density (decision 0051). */
|
|
1582
|
+
md: string;
|
|
1583
|
+
/** Minimum height of two-line rows: TransactionListItem. Follows density (decision 0051). */
|
|
1584
|
+
lg: string;
|
|
1585
|
+
};
|
|
1552
1586
|
overlay: {
|
|
1553
1587
|
/** Width of a small Modal, and the default width or height of a Sheet. */
|
|
1554
1588
|
sm: string;
|
|
@@ -1861,6 +1895,10 @@ export type Tokens = {
|
|
|
1861
1895
|
/** The default duration for state changes and short movements, such as a menu opening. */
|
|
1862
1896
|
moderate: string;
|
|
1863
1897
|
};
|
|
1898
|
+
delay: {
|
|
1899
|
+
/** How long the pointer rests on a control before its Tooltip opens, so passing pointers don't open it. A wait before anything moves, not an animation duration. */
|
|
1900
|
+
hint: string;
|
|
1901
|
+
};
|
|
1864
1902
|
easing: {
|
|
1865
1903
|
/** Easing for change on screen: something moving or resizing in place. */
|
|
1866
1904
|
standard: string;
|
package/dist/styles/tokens.json
CHANGED
|
@@ -786,7 +786,7 @@
|
|
|
786
786
|
}
|
|
787
787
|
},
|
|
788
788
|
"title": {
|
|
789
|
-
"typography": "
|
|
789
|
+
"typography": "600 1.125rem/1.5rem 'Inter', sans-serif",
|
|
790
790
|
"fontWeight": "600",
|
|
791
791
|
"lineHeight": "1.25rem"
|
|
792
792
|
},
|
|
@@ -830,6 +830,14 @@
|
|
|
830
830
|
"fontSize": "0.75rem",
|
|
831
831
|
"lineHeight": "1.25rem"
|
|
832
832
|
},
|
|
833
|
+
"sidebarNav": {
|
|
834
|
+
"width": {
|
|
835
|
+
"rail": "3.5rem",
|
|
836
|
+
"narrow": "14rem",
|
|
837
|
+
"default": "16rem",
|
|
838
|
+
"wide": "18.75rem"
|
|
839
|
+
}
|
|
840
|
+
},
|
|
833
841
|
"slider": {
|
|
834
842
|
"thumb": {
|
|
835
843
|
"shadow": {
|
|
@@ -988,12 +996,15 @@
|
|
|
988
996
|
"600": "1.5rem",
|
|
989
997
|
"800": "2rem",
|
|
990
998
|
"1200": "3rem",
|
|
999
|
+
"1400": "3.5rem",
|
|
991
1000
|
"1500": "3.75rem",
|
|
992
1001
|
"1800": "4.5rem",
|
|
993
1002
|
"2000": "5rem",
|
|
994
1003
|
"3000": "7.5rem",
|
|
995
1004
|
"4500": "11.25rem",
|
|
996
1005
|
"5000": "12.5rem",
|
|
1006
|
+
"5600": "14rem",
|
|
1007
|
+
"6400": "16rem",
|
|
997
1008
|
"7500": "18.75rem",
|
|
998
1009
|
"9000": "22.5rem",
|
|
999
1010
|
"10000": "25rem",
|
|
@@ -1005,6 +1016,11 @@
|
|
|
1005
1016
|
"md": "2.5rem",
|
|
1006
1017
|
"lg": "3rem"
|
|
1007
1018
|
},
|
|
1019
|
+
"row": {
|
|
1020
|
+
"sm": "2rem",
|
|
1021
|
+
"md": "3rem",
|
|
1022
|
+
"lg": "4.5rem"
|
|
1023
|
+
},
|
|
1008
1024
|
"overlay": {
|
|
1009
1025
|
"sm": "25rem",
|
|
1010
1026
|
"md": "35rem",
|
|
@@ -1161,12 +1177,12 @@
|
|
|
1161
1177
|
},
|
|
1162
1178
|
"typography": {
|
|
1163
1179
|
"display": "700 5rem/4.5rem 'Inter', sans-serif",
|
|
1164
|
-
"h1": "
|
|
1165
|
-
"h2": "
|
|
1166
|
-
"h3": "
|
|
1167
|
-
"h4": "
|
|
1168
|
-
"h5": "
|
|
1169
|
-
"h6": "
|
|
1180
|
+
"h1": "600 3rem/3rem 'Inter', sans-serif",
|
|
1181
|
+
"h2": "600 2rem/2.5rem 'Inter', sans-serif",
|
|
1182
|
+
"h3": "600 1.75rem/2.25rem 'Inter', sans-serif",
|
|
1183
|
+
"h4": "600 1.5rem/2rem 'Inter', sans-serif",
|
|
1184
|
+
"h5": "600 1.25rem/1.75rem 'Inter', sans-serif",
|
|
1185
|
+
"h6": "600 1.125rem/1.5rem 'Inter', sans-serif",
|
|
1170
1186
|
"subtitle": "500 1rem/1.5rem 'Inter', sans-serif",
|
|
1171
1187
|
"body": "400 1rem/1.5rem 'Inter', sans-serif",
|
|
1172
1188
|
"small": "400 0.875rem/1.25rem 'Inter', sans-serif",
|
|
@@ -1181,6 +1197,9 @@
|
|
|
1181
1197
|
"instant": "0ms",
|
|
1182
1198
|
"moderate": "200ms"
|
|
1183
1199
|
},
|
|
1200
|
+
"delay": {
|
|
1201
|
+
"hint": "500ms"
|
|
1202
|
+
},
|
|
1184
1203
|
"easing": {
|
|
1185
1204
|
"standard": "ease-in-out",
|
|
1186
1205
|
"decelerate": "ease-out",
|
|
@@ -785,7 +785,7 @@ var component = {
|
|
|
785
785
|
}
|
|
786
786
|
},
|
|
787
787
|
title: {
|
|
788
|
-
typography: "
|
|
788
|
+
typography: "600 1.125rem/1.5rem 'Inter', sans-serif",
|
|
789
789
|
fontWeight: "600",
|
|
790
790
|
lineHeight: "1.25rem"
|
|
791
791
|
},
|
|
@@ -829,6 +829,14 @@ var component = {
|
|
|
829
829
|
fontSize: "0.75rem",
|
|
830
830
|
lineHeight: "1.25rem"
|
|
831
831
|
},
|
|
832
|
+
sidebarNav: {
|
|
833
|
+
width: {
|
|
834
|
+
rail: "3.5rem",
|
|
835
|
+
narrow: "14rem",
|
|
836
|
+
"default": "16rem",
|
|
837
|
+
wide: "18.75rem"
|
|
838
|
+
}
|
|
839
|
+
},
|
|
832
840
|
slider: {
|
|
833
841
|
thumb: {
|
|
834
842
|
shadow: {
|
|
@@ -987,12 +995,15 @@ var semantic = {
|
|
|
987
995
|
"600": "1.5rem",
|
|
988
996
|
"800": "2rem",
|
|
989
997
|
"1200": "3rem",
|
|
998
|
+
"1400": "3.5rem",
|
|
990
999
|
"1500": "3.75rem",
|
|
991
1000
|
"1800": "4.5rem",
|
|
992
1001
|
"2000": "5rem",
|
|
993
1002
|
"3000": "7.5rem",
|
|
994
1003
|
"4500": "11.25rem",
|
|
995
1004
|
"5000": "12.5rem",
|
|
1005
|
+
"5600": "14rem",
|
|
1006
|
+
"6400": "16rem",
|
|
996
1007
|
"7500": "18.75rem",
|
|
997
1008
|
"9000": "22.5rem",
|
|
998
1009
|
"10000": "25rem",
|
|
@@ -1004,6 +1015,11 @@ var semantic = {
|
|
|
1004
1015
|
md: "2.5rem",
|
|
1005
1016
|
lg: "3rem"
|
|
1006
1017
|
},
|
|
1018
|
+
row: {
|
|
1019
|
+
sm: "2rem",
|
|
1020
|
+
md: "3rem",
|
|
1021
|
+
lg: "4.5rem"
|
|
1022
|
+
},
|
|
1007
1023
|
overlay: {
|
|
1008
1024
|
sm: "25rem",
|
|
1009
1025
|
md: "35rem",
|
|
@@ -1160,12 +1176,12 @@ var semantic = {
|
|
|
1160
1176
|
},
|
|
1161
1177
|
typography: {
|
|
1162
1178
|
display: "700 5rem/4.5rem 'Inter', sans-serif",
|
|
1163
|
-
h1: "
|
|
1164
|
-
h2: "
|
|
1165
|
-
h3: "
|
|
1166
|
-
h4: "
|
|
1167
|
-
h5: "
|
|
1168
|
-
h6: "
|
|
1179
|
+
h1: "600 3rem/3rem 'Inter', sans-serif",
|
|
1180
|
+
h2: "600 2rem/2.5rem 'Inter', sans-serif",
|
|
1181
|
+
h3: "600 1.75rem/2.25rem 'Inter', sans-serif",
|
|
1182
|
+
h4: "600 1.5rem/2rem 'Inter', sans-serif",
|
|
1183
|
+
h5: "600 1.25rem/1.75rem 'Inter', sans-serif",
|
|
1184
|
+
h6: "600 1.125rem/1.5rem 'Inter', sans-serif",
|
|
1169
1185
|
subtitle: "500 1rem/1.5rem 'Inter', sans-serif",
|
|
1170
1186
|
body: "400 1rem/1.5rem 'Inter', sans-serif",
|
|
1171
1187
|
small: "400 0.875rem/1.25rem 'Inter', sans-serif",
|
|
@@ -1180,6 +1196,9 @@ var semantic = {
|
|
|
1180
1196
|
instant: "0ms",
|
|
1181
1197
|
moderate: "200ms"
|
|
1182
1198
|
},
|
|
1199
|
+
delay: {
|
|
1200
|
+
hint: "500ms"
|
|
1201
|
+
},
|
|
1183
1202
|
easing: {
|
|
1184
1203
|
standard: "ease-in-out",
|
|
1185
1204
|
decelerate: "ease-out",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tokens.json.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"tokens.json.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/tokens/index.js
CHANGED
|
@@ -789,7 +789,7 @@ var component = {
|
|
|
789
789
|
}
|
|
790
790
|
},
|
|
791
791
|
title: {
|
|
792
|
-
typography: "
|
|
792
|
+
typography: "600 1.125rem/1.5rem 'Inter', sans-serif",
|
|
793
793
|
fontWeight: "600",
|
|
794
794
|
lineHeight: "1.25rem"
|
|
795
795
|
},
|
|
@@ -833,6 +833,14 @@ var component = {
|
|
|
833
833
|
fontSize: "0.75rem",
|
|
834
834
|
lineHeight: "1.25rem"
|
|
835
835
|
},
|
|
836
|
+
sidebarNav: {
|
|
837
|
+
width: {
|
|
838
|
+
rail: "3.5rem",
|
|
839
|
+
narrow: "14rem",
|
|
840
|
+
"default": "16rem",
|
|
841
|
+
wide: "18.75rem"
|
|
842
|
+
}
|
|
843
|
+
},
|
|
836
844
|
slider: {
|
|
837
845
|
thumb: {
|
|
838
846
|
shadow: {
|
|
@@ -991,12 +999,15 @@ var semantic = {
|
|
|
991
999
|
"600": "1.5rem",
|
|
992
1000
|
"800": "2rem",
|
|
993
1001
|
"1200": "3rem",
|
|
1002
|
+
"1400": "3.5rem",
|
|
994
1003
|
"1500": "3.75rem",
|
|
995
1004
|
"1800": "4.5rem",
|
|
996
1005
|
"2000": "5rem",
|
|
997
1006
|
"3000": "7.5rem",
|
|
998
1007
|
"4500": "11.25rem",
|
|
999
1008
|
"5000": "12.5rem",
|
|
1009
|
+
"5600": "14rem",
|
|
1010
|
+
"6400": "16rem",
|
|
1000
1011
|
"7500": "18.75rem",
|
|
1001
1012
|
"9000": "22.5rem",
|
|
1002
1013
|
"10000": "25rem",
|
|
@@ -1008,6 +1019,11 @@ var semantic = {
|
|
|
1008
1019
|
md: "2.5rem",
|
|
1009
1020
|
lg: "3rem"
|
|
1010
1021
|
},
|
|
1022
|
+
row: {
|
|
1023
|
+
sm: "2rem",
|
|
1024
|
+
md: "3rem",
|
|
1025
|
+
lg: "4.5rem"
|
|
1026
|
+
},
|
|
1011
1027
|
overlay: {
|
|
1012
1028
|
sm: "25rem",
|
|
1013
1029
|
md: "35rem",
|
|
@@ -1164,12 +1180,12 @@ var semantic = {
|
|
|
1164
1180
|
},
|
|
1165
1181
|
typography: {
|
|
1166
1182
|
display: "700 5rem/4.5rem 'Inter', sans-serif",
|
|
1167
|
-
h1: "
|
|
1168
|
-
h2: "
|
|
1169
|
-
h3: "
|
|
1170
|
-
h4: "
|
|
1171
|
-
h5: "
|
|
1172
|
-
h6: "
|
|
1183
|
+
h1: "600 3rem/3rem 'Inter', sans-serif",
|
|
1184
|
+
h2: "600 2rem/2.5rem 'Inter', sans-serif",
|
|
1185
|
+
h3: "600 1.75rem/2.25rem 'Inter', sans-serif",
|
|
1186
|
+
h4: "600 1.5rem/2rem 'Inter', sans-serif",
|
|
1187
|
+
h5: "600 1.25rem/1.75rem 'Inter', sans-serif",
|
|
1188
|
+
h6: "600 1.125rem/1.5rem 'Inter', sans-serif",
|
|
1173
1189
|
subtitle: "500 1rem/1.5rem 'Inter', sans-serif",
|
|
1174
1190
|
body: "400 1rem/1.5rem 'Inter', sans-serif",
|
|
1175
1191
|
small: "400 0.875rem/1.25rem 'Inter', sans-serif",
|
|
@@ -1184,6 +1200,9 @@ var semantic = {
|
|
|
1184
1200
|
instant: "0ms",
|
|
1185
1201
|
moderate: "200ms"
|
|
1186
1202
|
},
|
|
1203
|
+
delay: {
|
|
1204
|
+
hint: "500ms"
|
|
1205
|
+
},
|
|
1187
1206
|
easing: {
|
|
1188
1207
|
standard: "ease-in-out",
|
|
1189
1208
|
decelerate: "ease-out",
|
package/dist/tokens/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../src/types/tokens.ts","../../src/tokens.ts"],"sourcesContent":["import tokensJson from '../styles/tokens.json'\nimport type { Tokens } from '../styles/tokens'\n\n// The published types come from the generated `src/styles/tokens.ts`, which carries each token's\n// description as JSDoc and `@deprecated` on deprecated tokens (decision 0033, #199). Declaring the\n// constant with that type also keeps emitted .d.ts files free of JSON imports, which consumers can\n// only resolve with `resolveJsonModule`.\nexport const tokens: Tokens = tokensJson\n\nexport type { Tokens }\nexport type TokensBase = Tokens['base']\nexport type TokensSemantic = Tokens['semantic']\nexport type TokensComponent = Tokens['component']\n","// Tokens-only export for standalone usage\nimport { tokens } from './types/tokens'\n\nexport { tokens }\nexport default tokens\n\nexport type {\n Tokens,\n TokensBase,\n TokensSemantic,\n TokensComponent\n} from './types/tokens'\n"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../src/types/tokens.ts","../../src/tokens.ts"],"sourcesContent":["import tokensJson from '../styles/tokens.json'\nimport type { Tokens } from '../styles/tokens'\n\n// The published types come from the generated `src/styles/tokens.ts`, which carries each token's\n// description as JSDoc and `@deprecated` on deprecated tokens (decision 0033, #199). Declaring the\n// constant with that type also keeps emitted .d.ts files free of JSON imports, which consumers can\n// only resolve with `resolveJsonModule`.\nexport const tokens: Tokens = tokensJson\n\nexport type { Tokens }\nexport type TokensBase = Tokens['base']\nexport type TokensSemantic = Tokens['semantic']\nexport type TokensComponent = Tokens['component']\n","// Tokens-only export for standalone usage\nimport { tokens } from './types/tokens'\n\nexport { tokens }\nexport default tokens\n\nexport type {\n Tokens,\n TokensBase,\n TokensSemantic,\n TokensComponent\n} from './types/tokens'\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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