@common-origin/design-system 2.14.0 → 2.16.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/README.md +50 -184
- package/dist/client.esm.js +975 -610
- package/dist/client.esm.js.map +1 -1
- package/dist/client.js +978 -609
- package/dist/client.js.map +1 -1
- package/dist/components/atoms/Badge/Badge.d.ts +2 -0
- package/dist/components/atoms/Button/Button.d.ts +13 -1
- package/dist/components/atoms/CategoryBadge/CategoryBadge.d.ts +12 -52
- package/dist/components/atoms/CategoryBadge/index.d.ts +1 -1
- package/dist/components/atoms/CategoryLabel/CategoryLabel.d.ts +69 -0
- package/dist/components/atoms/CategoryLabel/index.d.ts +2 -0
- package/dist/components/atoms/Chip/BooleanChip.d.ts +6 -1
- package/dist/components/atoms/Chip/Chip.d.ts +17 -12
- package/dist/components/atoms/Chip/FilterChip.d.ts +10 -24
- package/dist/components/atoms/Chip/InputChip.d.ts +27 -0
- package/dist/components/atoms/Chip/index.d.ts +1 -0
- package/dist/components/atoms/Chip/shared/types.d.ts +15 -1
- package/dist/components/atoms/Chip/shared/utils.d.ts +1 -82
- package/dist/components/atoms/ProgressBar/ProgressBar.d.ts +4 -0
- package/dist/components/atoms/StatusBadge/StatusBadge.d.ts +9 -55
- package/dist/components/atoms/StatusBadge/index.d.ts +1 -1
- package/dist/components/atoms/StatusLabel/StatusLabel.d.ts +17 -0
- package/dist/components/atoms/StatusLabel/StatusLabelBase.d.ts +49 -0
- package/dist/components/atoms/StatusLabel/index.d.ts +2 -0
- package/dist/components/atoms/Tag/Tag.d.ts +5 -0
- package/dist/components/atoms/index.d.ts +2 -0
- package/dist/components/layout/GridSystem/GridSystem.d.ts +6 -0
- package/dist/components/molecules/Alert/Alert.d.ts +15 -2
- package/dist/components/molecules/CardLarge/CardLarge.d.ts +3 -1
- package/dist/components/molecules/CardSmall/CardSmall.d.ts +2 -0
- package/dist/components/molecules/Dropdown/Dropdown.d.ts +2 -0
- package/dist/components/molecules/FeatureBlock/FeatureBlock.d.ts +2 -0
- package/dist/components/molecules/InlineAlert/InlineAlert.d.ts +54 -0
- package/dist/components/molecules/InlineAlert/index.d.ts +2 -0
- package/dist/components/molecules/Modal/Modal.d.ts +6 -2
- package/dist/components/molecules/PageTitle/PageTitle.d.ts +13 -0
- package/dist/components/molecules/TabBar/TabBar.d.ts +8 -5
- package/dist/components/molecules/index.d.ts +1 -0
- package/dist/data.esm.js +94 -12
- package/dist/data.esm.js.map +1 -1
- package/dist/data.js +94 -12
- package/dist/data.js.map +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/index.js +4 -0
- package/dist/index.js.map +1 -1
- package/dist/styles/tokens.json +94 -12
- package/dist/tokens/index.esm.js +94 -12
- package/dist/tokens/index.esm.js.map +1 -1
- package/dist/tokens/index.js +94 -12
- package/dist/tokens/index.js.map +1 -1
- package/dist/tokens/types/tokens.d.ts +85 -3
- package/dist/tokens.css +769 -0
- package/dist/tokens.css.d.ts +4 -0
- package/dist/types/tokens.d.ts +85 -3
- package/package.json +20 -10
package/dist/data.js
CHANGED
|
@@ -108,6 +108,7 @@ var base = {
|
|
|
108
108
|
fit: "fit-content"
|
|
109
109
|
},
|
|
110
110
|
color: {
|
|
111
|
+
transparent: "transparent",
|
|
111
112
|
neutral: {
|
|
112
113
|
"100": "#f8f9fa",
|
|
113
114
|
"200": "#e9ecef",
|
|
@@ -328,8 +329,7 @@ var base = {
|
|
|
328
329
|
easeInBack: "cubic-bezier(0.36, 0, 0.66, -0.56)",
|
|
329
330
|
easeOutBack: "cubic-bezier(0.34, 1.56, 0.64, 1)",
|
|
330
331
|
easeInOutBack: "cubic-bezier(0.68, -0.6, 0.32, 1.6)"
|
|
331
|
-
}
|
|
332
|
-
$ref: "./base/index.json"
|
|
332
|
+
}
|
|
333
333
|
};
|
|
334
334
|
var component = {
|
|
335
335
|
button: {
|
|
@@ -383,6 +383,20 @@ var component = {
|
|
|
383
383
|
textColor: "#adb5bd"
|
|
384
384
|
}
|
|
385
385
|
},
|
|
386
|
+
accent: {
|
|
387
|
+
backgroundColor: "#0265DC",
|
|
388
|
+
textColor: "#ffffff",
|
|
389
|
+
hover: {
|
|
390
|
+
backgroundColor: "#0054B6"
|
|
391
|
+
},
|
|
392
|
+
active: {
|
|
393
|
+
backgroundColor: "#004491"
|
|
394
|
+
},
|
|
395
|
+
disabled: {
|
|
396
|
+
backgroundColor: "#dee2e6",
|
|
397
|
+
textColor: "#adb5bd"
|
|
398
|
+
}
|
|
399
|
+
},
|
|
386
400
|
emphasis: {
|
|
387
401
|
backgroundColor: "#0265DC",
|
|
388
402
|
textColor: "#ffffff",
|
|
@@ -428,6 +442,9 @@ var component = {
|
|
|
428
442
|
}
|
|
429
443
|
},
|
|
430
444
|
chip: {
|
|
445
|
+
closeButton: {
|
|
446
|
+
size: "1.25rem"
|
|
447
|
+
},
|
|
431
448
|
"default": {
|
|
432
449
|
backgroundColor: "#e9ecef",
|
|
433
450
|
textColor: "#212529",
|
|
@@ -629,7 +646,7 @@ var component = {
|
|
|
629
646
|
"default": {
|
|
630
647
|
backgroundColor: "#ffffff",
|
|
631
648
|
textColor: "#212529",
|
|
632
|
-
borderColor: "#
|
|
649
|
+
borderColor: "#6c757d",
|
|
633
650
|
borderRadius: "0.25rem",
|
|
634
651
|
borderWidth: "0.0625rem",
|
|
635
652
|
paddingY: "11px",
|
|
@@ -637,7 +654,7 @@ var component = {
|
|
|
637
654
|
font: "400 1rem/1.5rem 'Inter', sans-serif"
|
|
638
655
|
},
|
|
639
656
|
placeholder: {
|
|
640
|
-
textColor: "#
|
|
657
|
+
textColor: "#495057"
|
|
641
658
|
},
|
|
642
659
|
hover: {
|
|
643
660
|
borderColor: "#343a40"
|
|
@@ -709,6 +726,42 @@ var component = {
|
|
|
709
726
|
}
|
|
710
727
|
},
|
|
711
728
|
alert: {
|
|
729
|
+
severity: {
|
|
730
|
+
error: {
|
|
731
|
+
background: "#FFEBE7",
|
|
732
|
+
text: "#D31510"
|
|
733
|
+
},
|
|
734
|
+
warning: {
|
|
735
|
+
background: "#FFECCC",
|
|
736
|
+
text: "#B14C00"
|
|
737
|
+
},
|
|
738
|
+
info: {
|
|
739
|
+
background: "#E0F2FF",
|
|
740
|
+
text: "#0265DC"
|
|
741
|
+
},
|
|
742
|
+
success: {
|
|
743
|
+
background: "#CEF8E0",
|
|
744
|
+
text: "#007A4D"
|
|
745
|
+
}
|
|
746
|
+
},
|
|
747
|
+
appearance: {
|
|
748
|
+
outlined: {
|
|
749
|
+
borderColor: {
|
|
750
|
+
error: "#D31510",
|
|
751
|
+
warning: "#B14C00",
|
|
752
|
+
info: "#0265DC",
|
|
753
|
+
success: "#007A4D"
|
|
754
|
+
}
|
|
755
|
+
},
|
|
756
|
+
borderless: {
|
|
757
|
+
borderColor: {
|
|
758
|
+
error: "transparent",
|
|
759
|
+
warning: "transparent",
|
|
760
|
+
info: "transparent",
|
|
761
|
+
success: "transparent"
|
|
762
|
+
}
|
|
763
|
+
}
|
|
764
|
+
},
|
|
712
765
|
title: {
|
|
713
766
|
typography: "500 1.125rem/1.5rem 'Inter', sans-serif",
|
|
714
767
|
fontWeight: "600",
|
|
@@ -807,8 +860,7 @@ var component = {
|
|
|
807
860
|
},
|
|
808
861
|
transactionListItem: {
|
|
809
862
|
minHeight: "4.5rem"
|
|
810
|
-
}
|
|
811
|
-
$ref: "./component/index.json"
|
|
863
|
+
}
|
|
812
864
|
};
|
|
813
865
|
var semantic = {
|
|
814
866
|
elevation: {
|
|
@@ -895,12 +947,20 @@ var semantic = {
|
|
|
895
947
|
md: "35rem",
|
|
896
948
|
lg: "45rem"
|
|
897
949
|
},
|
|
950
|
+
label: {
|
|
951
|
+
small: "1.25rem",
|
|
952
|
+
medium: "1.5rem",
|
|
953
|
+
large: "2rem"
|
|
954
|
+
},
|
|
898
955
|
menu: {
|
|
899
956
|
maxHeight: "18.75rem"
|
|
900
957
|
},
|
|
901
958
|
dimension: {
|
|
902
959
|
"1": "0.25rem",
|
|
960
|
+
"2": "0.5rem",
|
|
961
|
+
"4": "1rem",
|
|
903
962
|
"5": "1.25rem",
|
|
963
|
+
"6": "1.5rem",
|
|
904
964
|
"8": "2rem",
|
|
905
965
|
"12": "3rem",
|
|
906
966
|
"15": "3.75rem",
|
|
@@ -973,6 +1033,8 @@ var semantic = {
|
|
|
973
1033
|
inverse: "#ffffff",
|
|
974
1034
|
disabled: "#adb5bd",
|
|
975
1035
|
interactive: "#0265DC",
|
|
1036
|
+
"interactive-hover": "#0054B6",
|
|
1037
|
+
"interactive-active": "#004491",
|
|
976
1038
|
error: "#D31510",
|
|
977
1039
|
success: "#007A4D",
|
|
978
1040
|
warning: "#B14C00"
|
|
@@ -981,33 +1043,46 @@ var semantic = {
|
|
|
981
1043
|
"default": "#f8f9fa",
|
|
982
1044
|
subtle: "#ffffff",
|
|
983
1045
|
emphasis: "#212529",
|
|
1046
|
+
"emphasis-hover": "#343a40",
|
|
1047
|
+
"emphasis-active": "#16191C",
|
|
984
1048
|
surface: "#e9ecef",
|
|
985
1049
|
inverse: "#343a40",
|
|
986
1050
|
interactive: "#0265DC",
|
|
987
1051
|
"interactive-subtle": "#E0F2FF",
|
|
1052
|
+
"interactive-subtle-hover": "#CAE8FF",
|
|
1053
|
+
"interactive-subtle-active": "#B5DEFF",
|
|
988
1054
|
"interactive-hover": "#0054B6",
|
|
989
1055
|
"interactive-active": "#004491",
|
|
990
1056
|
error: "#D31510",
|
|
1057
|
+
"error-hover": "#B40000",
|
|
1058
|
+
"error-active": "#930000",
|
|
991
1059
|
"error-subtle": "#FFEBE7",
|
|
992
1060
|
success: "#007A4D",
|
|
993
1061
|
"success-subtle": "#CEF8E0",
|
|
994
1062
|
warning: "#B14C00",
|
|
995
1063
|
"warning-subtle": "#FFECCC",
|
|
996
1064
|
disabled: "#dee2e6",
|
|
1065
|
+
neutral: "#dee2e6",
|
|
1066
|
+
"neutral-hover": "#ced4da",
|
|
1067
|
+
"neutral-active": "#adb5bd",
|
|
1068
|
+
transparent: "transparent",
|
|
997
1069
|
progressTrack: "#dee2e6",
|
|
998
1070
|
page: "#f8f9fa",
|
|
999
1071
|
overlay: "rgba(33, 37, 41, 0.5)",
|
|
1000
1072
|
"hover-overlay": "rgba(33, 37, 41, 0.1)",
|
|
1001
|
-
"active-overlay": "rgba(33, 37, 41, 0.15)"
|
|
1073
|
+
"active-overlay": "rgba(33, 37, 41, 0.15)",
|
|
1074
|
+
"inverse-overlay": "rgba(255, 255, 255, 0.2)"
|
|
1002
1075
|
},
|
|
1003
1076
|
border: {
|
|
1004
1077
|
"default": "#e9ecef",
|
|
1005
1078
|
subtle: "#dee2e6",
|
|
1079
|
+
control: "#6c757d",
|
|
1006
1080
|
strong: "#343a40",
|
|
1007
1081
|
interactive: "#0265DC",
|
|
1008
1082
|
error: "#D31510",
|
|
1009
1083
|
success: "#007A4D",
|
|
1010
|
-
warning: "#B14C00"
|
|
1084
|
+
warning: "#B14C00",
|
|
1085
|
+
none: "transparent"
|
|
1011
1086
|
},
|
|
1012
1087
|
icon: {
|
|
1013
1088
|
"default": "#212529",
|
|
@@ -1054,10 +1129,18 @@ var semantic = {
|
|
|
1054
1129
|
"orange-subtle": "#FFECCC",
|
|
1055
1130
|
gray: "#495057",
|
|
1056
1131
|
"gray-emphasis": "#212529",
|
|
1057
|
-
"gray-subtle": "#e9ecef"
|
|
1132
|
+
"gray-subtle": "#e9ecef",
|
|
1133
|
+
"blue-text": "#0265DC",
|
|
1134
|
+
"purple-text": "#7E2EBD",
|
|
1135
|
+
"pink-text": "#B90064",
|
|
1136
|
+
"yellow-text": "#825800",
|
|
1137
|
+
"green-text": "#007A4D",
|
|
1138
|
+
"red-text": "#D31510",
|
|
1139
|
+
"orange-text": "#B14C00",
|
|
1140
|
+
"gray-text": "#212529"
|
|
1058
1141
|
},
|
|
1059
1142
|
status: {
|
|
1060
|
-
pending: "#
|
|
1143
|
+
pending: "#825800",
|
|
1061
1144
|
"pending-bg": "#FFF3D6",
|
|
1062
1145
|
completed: "#007A4D",
|
|
1063
1146
|
"completed-bg": "#CEF8E0",
|
|
@@ -1108,8 +1191,7 @@ var semantic = {
|
|
|
1108
1191
|
hover: "background-color 150ms ease-out, color 150ms ease-out",
|
|
1109
1192
|
focus: "outline 150ms ease-out, outline-offset 150ms ease-out",
|
|
1110
1193
|
interactive: "transform 150ms ease-out, opacity 150ms ease-out"
|
|
1111
|
-
}
|
|
1112
|
-
$ref: "./semantic/index.json"
|
|
1194
|
+
}
|
|
1113
1195
|
};
|
|
1114
1196
|
var tokensJson = {
|
|
1115
1197
|
base: base,
|
package/dist/data.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"data.js","sources":["../src/types/tokens.ts","../src/types/icons.ts"],"sourcesContent":["import tokensJson from '../styles/tokens.json'\n\n// Re-declared as a const so emitted .d.ts files inline the token shape instead of importing JSON,\n// which consumers can only resolve with `resolveJsonModule`.\nexport const tokens = tokensJson\n\nexport type Tokens = typeof tokens\nexport type TokensBase = Tokens['base']\nexport type TokensSemantic = Tokens['semantic']\nexport type TokensComponent = Tokens['component']\n","// Icon type definitions for external consumption\n// This is a self-contained type that doesn't depend on JSON imports\n// to ensure it works correctly in consuming projects\n\nimport iconsJson from '../styles/icons.json'\n\nexport type IconName =\n | 'add'\n | 'addRing'\n | 'arrowDown'\n | 'arrowLeft'\n | 'arrowRight'\n | 'arrowUp'\n | 'back'\n | 'bell'\n | 'cancel'\n | 'caret'\n | 'caretDown'\n | 'caretUp'\n | 'check'\n | 'checkRing'\n | 'close'\n | 'copy'\n | 'creditCard'\n | 'crossCircle'\n | 'directionRight'\n | 'directionUp'\n | 'edit'\n | 'export'\n | 'fileDocSearch'\n | 'filter'\n | 'info'\n | 'kebab'\n | 'lamp'\n | 'lineOut'\n | 'link'\n | 'meatballs'\n | 'menu'\n | 'message'\n | 'move'\n | 'mic'\n | 'order'\n | 'paper'\n | 'pause'\n | 'play'\n | 'playBack'\n | 'refresh'\n | 'remove'\n | 'search'\n | 'star'\n | 'starFilled'\n | 'table'\n | 'trash'\n | 'userBox'\n | 'view'\n | 'viewHide'\n | 'wallet'\n\n/** Semantic category for grouping icons by purpose */\nexport type IconCategory =\n | 'action'\n | 'communication'\n | 'content'\n | 'feedback'\n | 'media'\n | 'navigation'\n | 'object'\n | 'status'\n | 'user'\n\n/** Enriched metadata for each icon entry in icons.json */\nexport interface IconMetadata {\n /** SVG path data */\n path: string\n /** Display name of the icon */\n name: string\n /** What the icon visually depicts */\n description: string\n /** Semantic category for grouping */\n category: IconCategory\n /** Alternative names and search terms */\n aliases: string[]\n /** When and why to use this icon */\n intent: string\n /** Whether the icon is typically decorative (true) or informative (false) */\n decorativeDefault: boolean\n /** Suggested accessible label when the icon conveys meaning */\n ariaLabelDefault: string\n}\n\n/** The full icon registry keyed by IconName */\nexport type IconRegistry = Record<IconName, IconMetadata>\n\n// Typed as IconRegistry so emitted .d.ts files don't import JSON (needs `resolveJsonModule` in consumers).\nexport const iconsData = iconsJson as IconRegistry\n"],"names":["tokens","tokensJson","iconsData","iconsJson"],"mappings":"
|
|
1
|
+
{"version":3,"file":"data.js","sources":["../src/types/tokens.ts","../src/types/icons.ts"],"sourcesContent":["import tokensJson from '../styles/tokens.json'\n\n// Re-declared as a const so emitted .d.ts files inline the token shape instead of importing JSON,\n// which consumers can only resolve with `resolveJsonModule`.\nexport const tokens = tokensJson\n\nexport type Tokens = typeof tokens\nexport type TokensBase = Tokens['base']\nexport type TokensSemantic = Tokens['semantic']\nexport type TokensComponent = Tokens['component']\n","// Icon type definitions for external consumption\n// This is a self-contained type that doesn't depend on JSON imports\n// to ensure it works correctly in consuming projects\n\nimport iconsJson from '../styles/icons.json'\n\nexport type IconName =\n | 'add'\n | 'addRing'\n | 'arrowDown'\n | 'arrowLeft'\n | 'arrowRight'\n | 'arrowUp'\n | 'back'\n | 'bell'\n | 'cancel'\n | 'caret'\n | 'caretDown'\n | 'caretUp'\n | 'check'\n | 'checkRing'\n | 'close'\n | 'copy'\n | 'creditCard'\n | 'crossCircle'\n | 'directionRight'\n | 'directionUp'\n | 'edit'\n | 'export'\n | 'fileDocSearch'\n | 'filter'\n | 'info'\n | 'kebab'\n | 'lamp'\n | 'lineOut'\n | 'link'\n | 'meatballs'\n | 'menu'\n | 'message'\n | 'move'\n | 'mic'\n | 'order'\n | 'paper'\n | 'pause'\n | 'play'\n | 'playBack'\n | 'refresh'\n | 'remove'\n | 'search'\n | 'star'\n | 'starFilled'\n | 'table'\n | 'trash'\n | 'userBox'\n | 'view'\n | 'viewHide'\n | 'wallet'\n\n/** Semantic category for grouping icons by purpose */\nexport type IconCategory =\n | 'action'\n | 'communication'\n | 'content'\n | 'feedback'\n | 'media'\n | 'navigation'\n | 'object'\n | 'status'\n | 'user'\n\n/** Enriched metadata for each icon entry in icons.json */\nexport interface IconMetadata {\n /** SVG path data */\n path: string\n /** Display name of the icon */\n name: string\n /** What the icon visually depicts */\n description: string\n /** Semantic category for grouping */\n category: IconCategory\n /** Alternative names and search terms */\n aliases: string[]\n /** When and why to use this icon */\n intent: string\n /** Whether the icon is typically decorative (true) or informative (false) */\n decorativeDefault: boolean\n /** Suggested accessible label when the icon conveys meaning */\n ariaLabelDefault: string\n}\n\n/** The full icon registry keyed by IconName */\nexport type IconRegistry = Record<IconName, IconMetadata>\n\n// Typed as IconRegistry so emitted .d.ts files don't import JSON (needs `resolveJsonModule` in consumers).\nexport const iconsData = iconsJson as IconRegistry\n"],"names":["tokens","tokensJson","iconsData","iconsJson"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA;AACA;AACO,IAAMA,MAAM,GAAGC;;ACJtB;AACA;AACA;AA2FA;AACO,IAAMC,SAAS,GAAGC;;;;;;;"}
|
package/dist/index.esm.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { o as AccountCard, p as ActionSheet, q as AgentInput, r as Alert, A as Avatar, B as Badge, f as BooleanChip, b as Box, t as Breadcrumbs, c as Button, v as CardLarge, u as CardSmall, C as CategoryBadge, d as CategoryLabel, w as Checkbox, e as Chip, x as ChipGroup, y as CodeBlock, g as Container, D as DateFormatter, z as DateGroup, k as Divider, J as Dropdown, E as EmptyState, H as FeatureBlock, F as FilterChip, a as Grid, G as GridCol, h as Icon, i as IconButton, s as InlineAlert, I as InputChip, L as LegacyChip, K as List, N as ListItem, O as Modal, M as MoneyDisplay, Q as NumberInput, U as PageTitle, V as PasswordField, P as Picture, j as ProgressBar, R as ResponsiveGrid, W as SearchField, X as Sheet, Y as Slider, S as Stack, l as StatusBadge, m as StatusLabel, $ as StyledInputBase, a0 as StyledTextAreaBase, Z as TabBar, T as Tag, _ as TextField, a1 as TransactionListItem, n as Typography } from './client.esm.js';
|
|
2
2
|
export { b as iconsData, a as tokens } from './data.esm.js';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'react';
|
package/dist/index.js
CHANGED
|
@@ -23,6 +23,7 @@ exports.Button = client.Button;
|
|
|
23
23
|
exports.CardLarge = client.CardLarge;
|
|
24
24
|
exports.CardSmall = client.CardSmall;
|
|
25
25
|
exports.CategoryBadge = client.CategoryBadge;
|
|
26
|
+
exports.CategoryLabel = client.CategoryLabel;
|
|
26
27
|
exports.Checkbox = client.Checkbox;
|
|
27
28
|
exports.Chip = client.Chip;
|
|
28
29
|
exports.ChipGroup = client.ChipGroup;
|
|
@@ -39,6 +40,8 @@ exports.Grid = client.Grid;
|
|
|
39
40
|
exports.GridCol = client.GridCol;
|
|
40
41
|
exports.Icon = client.Icon;
|
|
41
42
|
exports.IconButton = client.IconButton;
|
|
43
|
+
exports.InlineAlert = client.InlineAlert;
|
|
44
|
+
exports.InputChip = client.InputChip;
|
|
42
45
|
exports.LegacyChip = client.LegacyChip;
|
|
43
46
|
exports.List = client.List;
|
|
44
47
|
exports.ListItem = client.ListItem;
|
|
@@ -55,6 +58,7 @@ exports.Sheet = client.Sheet;
|
|
|
55
58
|
exports.Slider = client.Slider;
|
|
56
59
|
exports.Stack = client.Stack;
|
|
57
60
|
exports.StatusBadge = client.StatusBadge;
|
|
61
|
+
exports.StatusLabel = client.StatusLabel;
|
|
58
62
|
exports.StyledInputBase = client.StyledInputBase;
|
|
59
63
|
exports.StyledTextAreaBase = client.StyledTextAreaBase;
|
|
60
64
|
exports.TabBar = client.TabBar;
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/styles/tokens.json
CHANGED
|
@@ -107,6 +107,7 @@
|
|
|
107
107
|
"fit": "fit-content"
|
|
108
108
|
},
|
|
109
109
|
"color": {
|
|
110
|
+
"transparent": "transparent",
|
|
110
111
|
"neutral": {
|
|
111
112
|
"100": "#f8f9fa",
|
|
112
113
|
"200": "#e9ecef",
|
|
@@ -327,8 +328,7 @@
|
|
|
327
328
|
"easeInBack": "cubic-bezier(0.36, 0, 0.66, -0.56)",
|
|
328
329
|
"easeOutBack": "cubic-bezier(0.34, 1.56, 0.64, 1)",
|
|
329
330
|
"easeInOutBack": "cubic-bezier(0.68, -0.6, 0.32, 1.6)"
|
|
330
|
-
}
|
|
331
|
-
"$ref": "./base/index.json"
|
|
331
|
+
}
|
|
332
332
|
},
|
|
333
333
|
"component": {
|
|
334
334
|
"button": {
|
|
@@ -382,6 +382,20 @@
|
|
|
382
382
|
"textColor": "#adb5bd"
|
|
383
383
|
}
|
|
384
384
|
},
|
|
385
|
+
"accent": {
|
|
386
|
+
"backgroundColor": "#0265DC",
|
|
387
|
+
"textColor": "#ffffff",
|
|
388
|
+
"hover": {
|
|
389
|
+
"backgroundColor": "#0054B6"
|
|
390
|
+
},
|
|
391
|
+
"active": {
|
|
392
|
+
"backgroundColor": "#004491"
|
|
393
|
+
},
|
|
394
|
+
"disabled": {
|
|
395
|
+
"backgroundColor": "#dee2e6",
|
|
396
|
+
"textColor": "#adb5bd"
|
|
397
|
+
}
|
|
398
|
+
},
|
|
385
399
|
"emphasis": {
|
|
386
400
|
"backgroundColor": "#0265DC",
|
|
387
401
|
"textColor": "#ffffff",
|
|
@@ -427,6 +441,9 @@
|
|
|
427
441
|
}
|
|
428
442
|
},
|
|
429
443
|
"chip": {
|
|
444
|
+
"closeButton": {
|
|
445
|
+
"size": "1.25rem"
|
|
446
|
+
},
|
|
430
447
|
"default": {
|
|
431
448
|
"backgroundColor": "#e9ecef",
|
|
432
449
|
"textColor": "#212529",
|
|
@@ -628,7 +645,7 @@
|
|
|
628
645
|
"default": {
|
|
629
646
|
"backgroundColor": "#ffffff",
|
|
630
647
|
"textColor": "#212529",
|
|
631
|
-
"borderColor": "#
|
|
648
|
+
"borderColor": "#6c757d",
|
|
632
649
|
"borderRadius": "0.25rem",
|
|
633
650
|
"borderWidth": "0.0625rem",
|
|
634
651
|
"paddingY": "11px",
|
|
@@ -636,7 +653,7 @@
|
|
|
636
653
|
"font": "400 1rem/1.5rem 'Inter', sans-serif"
|
|
637
654
|
},
|
|
638
655
|
"placeholder": {
|
|
639
|
-
"textColor": "#
|
|
656
|
+
"textColor": "#495057"
|
|
640
657
|
},
|
|
641
658
|
"hover": {
|
|
642
659
|
"borderColor": "#343a40"
|
|
@@ -708,6 +725,42 @@
|
|
|
708
725
|
}
|
|
709
726
|
},
|
|
710
727
|
"alert": {
|
|
728
|
+
"severity": {
|
|
729
|
+
"error": {
|
|
730
|
+
"background": "#FFEBE7",
|
|
731
|
+
"text": "#D31510"
|
|
732
|
+
},
|
|
733
|
+
"warning": {
|
|
734
|
+
"background": "#FFECCC",
|
|
735
|
+
"text": "#B14C00"
|
|
736
|
+
},
|
|
737
|
+
"info": {
|
|
738
|
+
"background": "#E0F2FF",
|
|
739
|
+
"text": "#0265DC"
|
|
740
|
+
},
|
|
741
|
+
"success": {
|
|
742
|
+
"background": "#CEF8E0",
|
|
743
|
+
"text": "#007A4D"
|
|
744
|
+
}
|
|
745
|
+
},
|
|
746
|
+
"appearance": {
|
|
747
|
+
"outlined": {
|
|
748
|
+
"borderColor": {
|
|
749
|
+
"error": "#D31510",
|
|
750
|
+
"warning": "#B14C00",
|
|
751
|
+
"info": "#0265DC",
|
|
752
|
+
"success": "#007A4D"
|
|
753
|
+
}
|
|
754
|
+
},
|
|
755
|
+
"borderless": {
|
|
756
|
+
"borderColor": {
|
|
757
|
+
"error": "transparent",
|
|
758
|
+
"warning": "transparent",
|
|
759
|
+
"info": "transparent",
|
|
760
|
+
"success": "transparent"
|
|
761
|
+
}
|
|
762
|
+
}
|
|
763
|
+
},
|
|
711
764
|
"title": {
|
|
712
765
|
"typography": "500 1.125rem/1.5rem 'Inter', sans-serif",
|
|
713
766
|
"fontWeight": "600",
|
|
@@ -806,8 +859,7 @@
|
|
|
806
859
|
},
|
|
807
860
|
"transactionListItem": {
|
|
808
861
|
"minHeight": "4.5rem"
|
|
809
|
-
}
|
|
810
|
-
"$ref": "./component/index.json"
|
|
862
|
+
}
|
|
811
863
|
},
|
|
812
864
|
"semantic": {
|
|
813
865
|
"elevation": {
|
|
@@ -894,12 +946,20 @@
|
|
|
894
946
|
"md": "35rem",
|
|
895
947
|
"lg": "45rem"
|
|
896
948
|
},
|
|
949
|
+
"label": {
|
|
950
|
+
"small": "1.25rem",
|
|
951
|
+
"medium": "1.5rem",
|
|
952
|
+
"large": "2rem"
|
|
953
|
+
},
|
|
897
954
|
"menu": {
|
|
898
955
|
"maxHeight": "18.75rem"
|
|
899
956
|
},
|
|
900
957
|
"dimension": {
|
|
901
958
|
"1": "0.25rem",
|
|
959
|
+
"2": "0.5rem",
|
|
960
|
+
"4": "1rem",
|
|
902
961
|
"5": "1.25rem",
|
|
962
|
+
"6": "1.5rem",
|
|
903
963
|
"8": "2rem",
|
|
904
964
|
"12": "3rem",
|
|
905
965
|
"15": "3.75rem",
|
|
@@ -972,6 +1032,8 @@
|
|
|
972
1032
|
"inverse": "#ffffff",
|
|
973
1033
|
"disabled": "#adb5bd",
|
|
974
1034
|
"interactive": "#0265DC",
|
|
1035
|
+
"interactive-hover": "#0054B6",
|
|
1036
|
+
"interactive-active": "#004491",
|
|
975
1037
|
"error": "#D31510",
|
|
976
1038
|
"success": "#007A4D",
|
|
977
1039
|
"warning": "#B14C00"
|
|
@@ -980,33 +1042,46 @@
|
|
|
980
1042
|
"default": "#f8f9fa",
|
|
981
1043
|
"subtle": "#ffffff",
|
|
982
1044
|
"emphasis": "#212529",
|
|
1045
|
+
"emphasis-hover": "#343a40",
|
|
1046
|
+
"emphasis-active": "#16191C",
|
|
983
1047
|
"surface": "#e9ecef",
|
|
984
1048
|
"inverse": "#343a40",
|
|
985
1049
|
"interactive": "#0265DC",
|
|
986
1050
|
"interactive-subtle": "#E0F2FF",
|
|
1051
|
+
"interactive-subtle-hover": "#CAE8FF",
|
|
1052
|
+
"interactive-subtle-active": "#B5DEFF",
|
|
987
1053
|
"interactive-hover": "#0054B6",
|
|
988
1054
|
"interactive-active": "#004491",
|
|
989
1055
|
"error": "#D31510",
|
|
1056
|
+
"error-hover": "#B40000",
|
|
1057
|
+
"error-active": "#930000",
|
|
990
1058
|
"error-subtle": "#FFEBE7",
|
|
991
1059
|
"success": "#007A4D",
|
|
992
1060
|
"success-subtle": "#CEF8E0",
|
|
993
1061
|
"warning": "#B14C00",
|
|
994
1062
|
"warning-subtle": "#FFECCC",
|
|
995
1063
|
"disabled": "#dee2e6",
|
|
1064
|
+
"neutral": "#dee2e6",
|
|
1065
|
+
"neutral-hover": "#ced4da",
|
|
1066
|
+
"neutral-active": "#adb5bd",
|
|
1067
|
+
"transparent": "transparent",
|
|
996
1068
|
"progressTrack": "#dee2e6",
|
|
997
1069
|
"page": "#f8f9fa",
|
|
998
1070
|
"overlay": "rgba(33, 37, 41, 0.5)",
|
|
999
1071
|
"hover-overlay": "rgba(33, 37, 41, 0.1)",
|
|
1000
|
-
"active-overlay": "rgba(33, 37, 41, 0.15)"
|
|
1072
|
+
"active-overlay": "rgba(33, 37, 41, 0.15)",
|
|
1073
|
+
"inverse-overlay": "rgba(255, 255, 255, 0.2)"
|
|
1001
1074
|
},
|
|
1002
1075
|
"border": {
|
|
1003
1076
|
"default": "#e9ecef",
|
|
1004
1077
|
"subtle": "#dee2e6",
|
|
1078
|
+
"control": "#6c757d",
|
|
1005
1079
|
"strong": "#343a40",
|
|
1006
1080
|
"interactive": "#0265DC",
|
|
1007
1081
|
"error": "#D31510",
|
|
1008
1082
|
"success": "#007A4D",
|
|
1009
|
-
"warning": "#B14C00"
|
|
1083
|
+
"warning": "#B14C00",
|
|
1084
|
+
"none": "transparent"
|
|
1010
1085
|
},
|
|
1011
1086
|
"icon": {
|
|
1012
1087
|
"default": "#212529",
|
|
@@ -1053,10 +1128,18 @@
|
|
|
1053
1128
|
"orange-subtle": "#FFECCC",
|
|
1054
1129
|
"gray": "#495057",
|
|
1055
1130
|
"gray-emphasis": "#212529",
|
|
1056
|
-
"gray-subtle": "#e9ecef"
|
|
1131
|
+
"gray-subtle": "#e9ecef",
|
|
1132
|
+
"blue-text": "#0265DC",
|
|
1133
|
+
"purple-text": "#7E2EBD",
|
|
1134
|
+
"pink-text": "#B90064",
|
|
1135
|
+
"yellow-text": "#825800",
|
|
1136
|
+
"green-text": "#007A4D",
|
|
1137
|
+
"red-text": "#D31510",
|
|
1138
|
+
"orange-text": "#B14C00",
|
|
1139
|
+
"gray-text": "#212529"
|
|
1057
1140
|
},
|
|
1058
1141
|
"status": {
|
|
1059
|
-
"pending": "#
|
|
1142
|
+
"pending": "#825800",
|
|
1060
1143
|
"pending-bg": "#FFF3D6",
|
|
1061
1144
|
"completed": "#007A4D",
|
|
1062
1145
|
"completed-bg": "#CEF8E0",
|
|
@@ -1107,7 +1190,6 @@
|
|
|
1107
1190
|
"hover": "background-color 150ms ease-out, color 150ms ease-out",
|
|
1108
1191
|
"focus": "outline 150ms ease-out, outline-offset 150ms ease-out",
|
|
1109
1192
|
"interactive": "transform 150ms ease-out, opacity 150ms ease-out"
|
|
1110
|
-
}
|
|
1111
|
-
"$ref": "./semantic/index.json"
|
|
1193
|
+
}
|
|
1112
1194
|
}
|
|
1113
1195
|
}
|