forstok-ui-lib 6.5.1 → 6.5.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/dist/index.d.ts +5 -2
- package/dist/index.js +298 -187
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +262 -151
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/assets/stylesheets/shares.styles.ts +115 -1
- package/src/typeds/shares.typed.ts +1 -0
package/package.json
CHANGED
|
@@ -2878,6 +2878,72 @@ const listTableStyles = {
|
|
|
2878
2878
|
}
|
|
2879
2879
|
}
|
|
2880
2880
|
`,
|
|
2881
|
+
'order-nocheck': css`
|
|
2882
|
+
${ItemTable} {
|
|
2883
|
+
grid-template-columns: 118px 90px minmax(auto, max-content);
|
|
2884
|
+
&[role=rowheader] > div[role=group] {
|
|
2885
|
+
grid-template-columns: var(--order) 40px 80px 80px 88px minmax(145px, auto);
|
|
2886
|
+
}
|
|
2887
|
+
._refCollapse > div:not(._refCollapseContainer),
|
|
2888
|
+
._refCollapseContainer > div {
|
|
2889
|
+
grid-template-columns: var(--order) 40px 80px 80px;
|
|
2890
|
+
}
|
|
2891
|
+
&[role=row] > div[role=cellgroup] > div[role=rowgroup],
|
|
2892
|
+
._refCollapse > div,
|
|
2893
|
+
._refCollapseContainer > div {
|
|
2894
|
+
&:nth-child(n+2) {
|
|
2895
|
+
border-top: none;
|
|
2896
|
+
}
|
|
2897
|
+
}
|
|
2898
|
+
}
|
|
2899
|
+
@media only screen and (min-width: 1280px) {
|
|
2900
|
+
${ItemTable} {
|
|
2901
|
+
grid-template-columns: 118px 118px minmax(auto, max-content);
|
|
2902
|
+
&[role=rowheader] > div[role=group] {
|
|
2903
|
+
grid-template-columns: var(--order) 40px 80px 80px 107px minmax(145px, auto);
|
|
2904
|
+
}
|
|
2905
|
+
._refCollapse > div:not(._refCollapseContainer),
|
|
2906
|
+
._refCollapseContainer > div {
|
|
2907
|
+
grid-template-columns: var(--order) 40px 80px 80px;
|
|
2908
|
+
}
|
|
2909
|
+
}
|
|
2910
|
+
}
|
|
2911
|
+
@media only screen and (min-width: 1366px) {
|
|
2912
|
+
${ItemTable} {
|
|
2913
|
+
grid-template-columns: 120px 118px minmax(auto, max-content);
|
|
2914
|
+
&[role=rowheader] > div[role=group] {
|
|
2915
|
+
grid-template-columns: var(--order) 40px 90px 80px 130px minmax(150px, auto);
|
|
2916
|
+
}
|
|
2917
|
+
._refCollapse > div:not(._refCollapseContainer),
|
|
2918
|
+
._refCollapseContainer > div {
|
|
2919
|
+
grid-template-columns: var(--order) 40px 90px 80px;
|
|
2920
|
+
}
|
|
2921
|
+
}
|
|
2922
|
+
}
|
|
2923
|
+
@media only screen and (min-width: 1800px) {
|
|
2924
|
+
${ItemTable} {
|
|
2925
|
+
grid-template-columns: minmax(125px, 170px) minmax(85px, 145px) minmax(auto, max-content);
|
|
2926
|
+
&[role=rowheader] > div[role=group] {
|
|
2927
|
+
grid-template-columns: var(--order) 50px 110px 130px 130px minmax(50px, 2000px);
|
|
2928
|
+
}
|
|
2929
|
+
._refCollapse > div:not(._refCollapseContainer),
|
|
2930
|
+
._refCollapseContainer > div {
|
|
2931
|
+
grid-template-columns: var(--order) 50px 110px 130px;
|
|
2932
|
+
}
|
|
2933
|
+
}
|
|
2934
|
+
}
|
|
2935
|
+
@media only screen and (min-width: 1920px) {
|
|
2936
|
+
${ItemTable} {
|
|
2937
|
+
&[role=rowheader] > div[role=group] {
|
|
2938
|
+
grid-template-columns: var(--order) 50px 110px 145px 130px minmax(50px, 2000px);
|
|
2939
|
+
}
|
|
2940
|
+
._refCollapse > div:not(._refCollapseContainer),
|
|
2941
|
+
._refCollapseContainer > div {
|
|
2942
|
+
grid-template-columns: var(--order) 50px 110px 145px;
|
|
2943
|
+
}
|
|
2944
|
+
}
|
|
2945
|
+
}
|
|
2946
|
+
`,
|
|
2881
2947
|
'table-customheader': css`
|
|
2882
2948
|
overflow: hidden;
|
|
2883
2949
|
> div {
|
|
@@ -4038,4 +4104,52 @@ export const APILabel = styled.label`
|
|
|
4038
4104
|
top: 12px;
|
|
4039
4105
|
z-index: 1;
|
|
4040
4106
|
border-radius: var(--ter-rd);
|
|
4041
|
-
`
|
|
4107
|
+
`
|
|
4108
|
+
|
|
4109
|
+
export const TableContentWrapper = styled.div<{ $mode?: 'package' }>`
|
|
4110
|
+
position: relative;
|
|
4111
|
+
width: 100%;
|
|
4112
|
+
height: 48px;
|
|
4113
|
+
display: inline-grid;
|
|
4114
|
+
grid-auto-flow: column;
|
|
4115
|
+
justify-content: flex-start;
|
|
4116
|
+
align-items: center;
|
|
4117
|
+
grid-gap: 40px;
|
|
4118
|
+
border-bottom: 1px solid var(--ter-clr-ln);
|
|
4119
|
+
padding: 0 30px;
|
|
4120
|
+
&:not(:first-child) {
|
|
4121
|
+
border-bottom: 1px solid var(--ter-clr-ln);
|
|
4122
|
+
}
|
|
4123
|
+
@media only screen and (min-width: 375px) {
|
|
4124
|
+
padding: 0 34px;
|
|
4125
|
+
}
|
|
4126
|
+
@media only screen and (min-width: 768px) {
|
|
4127
|
+
padding: 0 33px;
|
|
4128
|
+
}
|
|
4129
|
+
@media only screen and (min-width: 1024px) {
|
|
4130
|
+
padding: 0 39px;
|
|
4131
|
+
}
|
|
4132
|
+
@media only screen and (min-width: 1366px) {
|
|
4133
|
+
padding: 0 47px;
|
|
4134
|
+
}
|
|
4135
|
+
|
|
4136
|
+
${({ $mode }) => $mode === 'package' && css`
|
|
4137
|
+
grid-template-columns: 16px 220px auto;
|
|
4138
|
+
grid-gap: 11px;
|
|
4139
|
+
justify-content: normal;
|
|
4140
|
+
padding: 0 7px 0 3px;
|
|
4141
|
+
@media only screen and (min-width: 375px) {
|
|
4142
|
+
padding: 0 7px;
|
|
4143
|
+
}
|
|
4144
|
+
@media only screen and (min-width: 768px) {
|
|
4145
|
+
grid-gap: 12px;
|
|
4146
|
+
padding: 0 7px 0 5px;
|
|
4147
|
+
}
|
|
4148
|
+
@media only screen and (min-width: 1024px) {
|
|
4149
|
+
padding: 0 7px 0 11px;
|
|
4150
|
+
}
|
|
4151
|
+
@media only screen and (min-width: 1366px) {
|
|
4152
|
+
padding: 0 11px 0 19px;
|
|
4153
|
+
}
|
|
4154
|
+
`}
|
|
4155
|
+
`
|