@esds-sangam/tokens 1.2.2 → 1.2.3
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/colors.json +3 -3
- package/dist/index.d.ts +104 -5
- package/dist/index.js +56 -5
- package/layout.json +42 -1
- package/motion.json +6 -0
- package/package.json +1 -1
- package/tsconfig.json +1 -0
package/colors.json
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -3,9 +3,9 @@ var orange = {
|
|
|
3
3
|
"200": "#F8D5BA",
|
|
4
4
|
"300": "#F4C099",
|
|
5
5
|
"400": "#F0A46B",
|
|
6
|
-
"500": "#
|
|
7
|
-
"600": "#
|
|
8
|
-
"700": "#
|
|
6
|
+
"500": "#7C3AED",
|
|
7
|
+
"600": "#6D28D9",
|
|
8
|
+
"700": "#5B21B6",
|
|
9
9
|
"800": "#A55418",
|
|
10
10
|
"900": "#804113",
|
|
11
11
|
"1000": "#61320E"
|
|
@@ -532,8 +532,59 @@ var iconSize = {
|
|
|
532
532
|
};
|
|
533
533
|
|
|
534
534
|
var pagination = "17.5rem";
|
|
535
|
+
var button = {
|
|
536
|
+
createRadius: "0.5rem"
|
|
537
|
+
};
|
|
538
|
+
var table = {
|
|
539
|
+
controlHeight: "1.5rem",
|
|
540
|
+
searchBarWidth: "18.3125rem",
|
|
541
|
+
datePickerWidth: "8rem",
|
|
542
|
+
dateTimePickerWidth: "11.875rem",
|
|
543
|
+
dropdownMinWidth: "8.75rem",
|
|
544
|
+
filterCardMinWidth: "16.25rem",
|
|
545
|
+
menuMinWidth: "9.375rem",
|
|
546
|
+
rowsPerPageSelectWidth: "4.375rem",
|
|
547
|
+
toolbarPaddingY: "0.40625rem",
|
|
548
|
+
toolbarPaddingRight: "0.9375rem",
|
|
549
|
+
paginationPaddingY: "1.1875rem",
|
|
550
|
+
paginationGap: "0.625rem",
|
|
551
|
+
chipGap: "0.3125rem",
|
|
552
|
+
chipRadius: "1rem",
|
|
553
|
+
cellFontSize: "0.688rem",
|
|
554
|
+
filterInputHeight: "2.25rem",
|
|
555
|
+
checkboxColumnWidth: "2.625rem",
|
|
556
|
+
popoverMaxHeight: "12.5rem",
|
|
557
|
+
inputAdornmentOffset: "-0.75rem",
|
|
558
|
+
startIconMargin: "0.375rem",
|
|
559
|
+
emptyRowHeightMultiplier: "2.0625rem",
|
|
560
|
+
shrinkContainerMaxWidth: "14.875rem",
|
|
561
|
+
tableHeightOffset: "271px",
|
|
562
|
+
filterDateRowMarginTop: "1.0625rem",
|
|
563
|
+
popoverMarginTop: "0.375rem",
|
|
564
|
+
rowCellHeight: "1.75rem",
|
|
565
|
+
selectPaddingY: "0.375rem",
|
|
566
|
+
selectPaddingX: "0.625rem",
|
|
567
|
+
paginationDisplayedRowsPadding: "0.3125rem 0.9375rem",
|
|
568
|
+
paginationActionButtonPadding: "0.1875rem",
|
|
569
|
+
paginationActionButtonMarginLeft: "0.625rem",
|
|
570
|
+
linkMarginLeft: "11%",
|
|
571
|
+
chipPadding: "0 0.4375rem 0 0.625rem",
|
|
572
|
+
paginationPageMinWidth: "1.75rem",
|
|
573
|
+
paginationButtonMinWidth: "3.75rem",
|
|
574
|
+
dateTimePickerMinWidth: "10.3125rem"
|
|
575
|
+
};
|
|
535
576
|
var layout = {
|
|
536
|
-
pagination: pagination
|
|
577
|
+
pagination: pagination,
|
|
578
|
+
button: button,
|
|
579
|
+
table: table
|
|
580
|
+
};
|
|
581
|
+
|
|
582
|
+
var duration = {
|
|
583
|
+
instant: "0s",
|
|
584
|
+
slow: "0.5s"
|
|
585
|
+
};
|
|
586
|
+
var motion = {
|
|
587
|
+
duration: duration
|
|
537
588
|
};
|
|
538
589
|
|
|
539
590
|
declare const semanticColorsResolved: Record<string, Record<string, Record<string, string>>>;
|
|
@@ -982,6 +1033,53 @@ declare const tokens: {
|
|
|
982
1033
|
};
|
|
983
1034
|
layout: {
|
|
984
1035
|
pagination: string;
|
|
1036
|
+
button: {
|
|
1037
|
+
createRadius: string;
|
|
1038
|
+
};
|
|
1039
|
+
table: {
|
|
1040
|
+
controlHeight: string;
|
|
1041
|
+
searchBarWidth: string;
|
|
1042
|
+
datePickerWidth: string;
|
|
1043
|
+
dateTimePickerWidth: string;
|
|
1044
|
+
dropdownMinWidth: string;
|
|
1045
|
+
filterCardMinWidth: string;
|
|
1046
|
+
menuMinWidth: string;
|
|
1047
|
+
rowsPerPageSelectWidth: string;
|
|
1048
|
+
toolbarPaddingY: string;
|
|
1049
|
+
toolbarPaddingRight: string;
|
|
1050
|
+
paginationPaddingY: string;
|
|
1051
|
+
paginationGap: string;
|
|
1052
|
+
chipGap: string;
|
|
1053
|
+
chipRadius: string;
|
|
1054
|
+
cellFontSize: string;
|
|
1055
|
+
filterInputHeight: string;
|
|
1056
|
+
checkboxColumnWidth: string;
|
|
1057
|
+
popoverMaxHeight: string;
|
|
1058
|
+
inputAdornmentOffset: string;
|
|
1059
|
+
startIconMargin: string;
|
|
1060
|
+
emptyRowHeightMultiplier: string;
|
|
1061
|
+
shrinkContainerMaxWidth: string;
|
|
1062
|
+
tableHeightOffset: string;
|
|
1063
|
+
filterDateRowMarginTop: string;
|
|
1064
|
+
popoverMarginTop: string;
|
|
1065
|
+
rowCellHeight: string;
|
|
1066
|
+
selectPaddingY: string;
|
|
1067
|
+
selectPaddingX: string;
|
|
1068
|
+
paginationDisplayedRowsPadding: string;
|
|
1069
|
+
paginationActionButtonPadding: string;
|
|
1070
|
+
paginationActionButtonMarginLeft: string;
|
|
1071
|
+
linkMarginLeft: string;
|
|
1072
|
+
chipPadding: string;
|
|
1073
|
+
paginationPageMinWidth: string;
|
|
1074
|
+
paginationButtonMinWidth: string;
|
|
1075
|
+
dateTimePickerMinWidth: string;
|
|
1076
|
+
};
|
|
1077
|
+
};
|
|
1078
|
+
motion: {
|
|
1079
|
+
duration: {
|
|
1080
|
+
instant: string;
|
|
1081
|
+
slow: string;
|
|
1082
|
+
};
|
|
985
1083
|
};
|
|
986
1084
|
};
|
|
987
1085
|
|
|
@@ -995,6 +1093,7 @@ type Elevation = typeof elevation$1;
|
|
|
995
1093
|
type StrokeWidth = typeof strokeWidth;
|
|
996
1094
|
type IconSize = typeof iconSize;
|
|
997
1095
|
type Layout = typeof layout;
|
|
1096
|
+
type Motion = typeof motion;
|
|
998
1097
|
type Tokens = typeof tokens;
|
|
999
1098
|
|
|
1000
|
-
export { type Colors, type Elevation, type IconSize, type Layout, type Radius, type SemanticColorsResolved, type Shadows, type Spacing, type StrokeWidth, type Tokens, type Typography, colors, elevation$1 as elevation, iconSize, layout, radius, semanticColors, semanticColorsResolved, shadows, spacing, strokeWidth, tokens, typography };
|
|
1099
|
+
export { type Colors, type Elevation, type IconSize, type Layout, type Motion, type Radius, type SemanticColorsResolved, type Shadows, type Spacing, type StrokeWidth, type Tokens, type Typography, colors, elevation$1 as elevation, iconSize, layout, motion, radius, semanticColors, semanticColorsResolved, shadows, spacing, strokeWidth, tokens, typography };
|
package/dist/index.js
CHANGED
|
@@ -5,9 +5,9 @@ var colors_default = {
|
|
|
5
5
|
"200": "#F8D5BA",
|
|
6
6
|
"300": "#F4C099",
|
|
7
7
|
"400": "#F0A46B",
|
|
8
|
-
"500": "#
|
|
9
|
-
"600": "#
|
|
10
|
-
"700": "#
|
|
8
|
+
"500": "#7C3AED",
|
|
9
|
+
"600": "#6D28D9",
|
|
10
|
+
"700": "#5B21B6",
|
|
11
11
|
"800": "#A55418",
|
|
12
12
|
"900": "#804113",
|
|
13
13
|
"1000": "#61320E"
|
|
@@ -864,7 +864,56 @@ var iconSize_default = {
|
|
|
864
864
|
|
|
865
865
|
// layout.json
|
|
866
866
|
var layout_default = {
|
|
867
|
-
pagination: "17.5rem"
|
|
867
|
+
pagination: "17.5rem",
|
|
868
|
+
button: {
|
|
869
|
+
createRadius: "0.5rem"
|
|
870
|
+
},
|
|
871
|
+
table: {
|
|
872
|
+
controlHeight: "1.5rem",
|
|
873
|
+
searchBarWidth: "18.3125rem",
|
|
874
|
+
datePickerWidth: "8rem",
|
|
875
|
+
dateTimePickerWidth: "11.875rem",
|
|
876
|
+
dropdownMinWidth: "8.75rem",
|
|
877
|
+
filterCardMinWidth: "16.25rem",
|
|
878
|
+
menuMinWidth: "9.375rem",
|
|
879
|
+
rowsPerPageSelectWidth: "4.375rem",
|
|
880
|
+
toolbarPaddingY: "0.40625rem",
|
|
881
|
+
toolbarPaddingRight: "0.9375rem",
|
|
882
|
+
paginationPaddingY: "1.1875rem",
|
|
883
|
+
paginationGap: "0.625rem",
|
|
884
|
+
chipGap: "0.3125rem",
|
|
885
|
+
chipRadius: "1rem",
|
|
886
|
+
cellFontSize: "0.688rem",
|
|
887
|
+
filterInputHeight: "2.25rem",
|
|
888
|
+
checkboxColumnWidth: "2.625rem",
|
|
889
|
+
popoverMaxHeight: "12.5rem",
|
|
890
|
+
inputAdornmentOffset: "-0.75rem",
|
|
891
|
+
startIconMargin: "0.375rem",
|
|
892
|
+
emptyRowHeightMultiplier: "2.0625rem",
|
|
893
|
+
shrinkContainerMaxWidth: "14.875rem",
|
|
894
|
+
tableHeightOffset: "271px",
|
|
895
|
+
filterDateRowMarginTop: "1.0625rem",
|
|
896
|
+
popoverMarginTop: "0.375rem",
|
|
897
|
+
rowCellHeight: "1.75rem",
|
|
898
|
+
selectPaddingY: "0.375rem",
|
|
899
|
+
selectPaddingX: "0.625rem",
|
|
900
|
+
paginationDisplayedRowsPadding: "0.3125rem 0.9375rem",
|
|
901
|
+
paginationActionButtonPadding: "0.1875rem",
|
|
902
|
+
paginationActionButtonMarginLeft: "0.625rem",
|
|
903
|
+
linkMarginLeft: "11%",
|
|
904
|
+
chipPadding: "0 0.4375rem 0 0.625rem",
|
|
905
|
+
paginationPageMinWidth: "1.75rem",
|
|
906
|
+
paginationButtonMinWidth: "3.75rem",
|
|
907
|
+
dateTimePickerMinWidth: "10.3125rem"
|
|
908
|
+
}
|
|
909
|
+
};
|
|
910
|
+
|
|
911
|
+
// motion.json
|
|
912
|
+
var motion_default = {
|
|
913
|
+
duration: {
|
|
914
|
+
instant: "0s",
|
|
915
|
+
slow: "0.5s"
|
|
916
|
+
}
|
|
868
917
|
};
|
|
869
918
|
|
|
870
919
|
// index.ts
|
|
@@ -903,13 +952,15 @@ var tokens = {
|
|
|
903
952
|
elevation: elevation_default,
|
|
904
953
|
strokeWidth: strokeWidth_default,
|
|
905
954
|
iconSize: iconSize_default,
|
|
906
|
-
layout: layout_default
|
|
955
|
+
layout: layout_default,
|
|
956
|
+
motion: motion_default
|
|
907
957
|
};
|
|
908
958
|
export {
|
|
909
959
|
colors_default as colors,
|
|
910
960
|
elevation_default as elevation,
|
|
911
961
|
iconSize_default as iconSize,
|
|
912
962
|
layout_default as layout,
|
|
963
|
+
motion_default as motion,
|
|
913
964
|
radius_default as radius,
|
|
914
965
|
semanticColors,
|
|
915
966
|
semanticColorsResolved,
|
package/layout.json
CHANGED
|
@@ -1,3 +1,44 @@
|
|
|
1
1
|
{
|
|
2
|
-
"pagination": "17.5rem"
|
|
2
|
+
"pagination": "17.5rem",
|
|
3
|
+
"button": {
|
|
4
|
+
"createRadius": "0.5rem"
|
|
5
|
+
},
|
|
6
|
+
"table": {
|
|
7
|
+
"controlHeight": "1.5rem",
|
|
8
|
+
"searchBarWidth": "18.3125rem",
|
|
9
|
+
"datePickerWidth": "8rem",
|
|
10
|
+
"dateTimePickerWidth": "11.875rem",
|
|
11
|
+
"dropdownMinWidth": "8.75rem",
|
|
12
|
+
"filterCardMinWidth": "16.25rem",
|
|
13
|
+
"menuMinWidth": "9.375rem",
|
|
14
|
+
"rowsPerPageSelectWidth": "4.375rem",
|
|
15
|
+
"toolbarPaddingY": "0.40625rem",
|
|
16
|
+
"toolbarPaddingRight": "0.9375rem",
|
|
17
|
+
"paginationPaddingY": "1.1875rem",
|
|
18
|
+
"paginationGap": "0.625rem",
|
|
19
|
+
"chipGap": "0.3125rem",
|
|
20
|
+
"chipRadius": "1rem",
|
|
21
|
+
"cellFontSize": "0.688rem",
|
|
22
|
+
"filterInputHeight": "2.25rem",
|
|
23
|
+
"checkboxColumnWidth": "2.625rem",
|
|
24
|
+
"popoverMaxHeight": "12.5rem",
|
|
25
|
+
"inputAdornmentOffset": "-0.75rem",
|
|
26
|
+
"startIconMargin": "0.375rem",
|
|
27
|
+
"emptyRowHeightMultiplier": "2.0625rem",
|
|
28
|
+
"shrinkContainerMaxWidth": "14.875rem",
|
|
29
|
+
"tableHeightOffset": "271px",
|
|
30
|
+
"filterDateRowMarginTop": "1.0625rem",
|
|
31
|
+
"popoverMarginTop": "0.375rem",
|
|
32
|
+
"rowCellHeight": "1.75rem",
|
|
33
|
+
"selectPaddingY": "0.375rem",
|
|
34
|
+
"selectPaddingX": "0.625rem",
|
|
35
|
+
"paginationDisplayedRowsPadding": "0.3125rem 0.9375rem",
|
|
36
|
+
"paginationActionButtonPadding": "0.1875rem",
|
|
37
|
+
"paginationActionButtonMarginLeft": "0.625rem",
|
|
38
|
+
"linkMarginLeft": "11%",
|
|
39
|
+
"chipPadding": "0 0.4375rem 0 0.625rem",
|
|
40
|
+
"paginationPageMinWidth": "1.75rem",
|
|
41
|
+
"paginationButtonMinWidth": "3.75rem",
|
|
42
|
+
"dateTimePickerMinWidth": "10.3125rem"
|
|
43
|
+
}
|
|
3
44
|
}
|
package/motion.json
ADDED
package/package.json
CHANGED