forstok-ui-lib 5.11.0 → 5.11.2
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 +3 -1
- package/dist/index.js +31 -17
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +31 -17
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/assets/stylesheets/shares.styles.ts +35 -17
package/package.json
CHANGED
|
@@ -2195,12 +2195,12 @@ export const RightPanelContainer = styled.section`
|
|
|
2195
2195
|
display: inline-grid !important;
|
|
2196
2196
|
}
|
|
2197
2197
|
`
|
|
2198
|
-
export const SearchFormWrapper = styled.div
|
|
2198
|
+
export const SearchFormWrapper = styled.div<{ $mode?: string }>`
|
|
2199
2199
|
position: relative;
|
|
2200
2200
|
i {
|
|
2201
2201
|
position: absolute;
|
|
2202
2202
|
left: 12px;
|
|
2203
|
-
top:
|
|
2203
|
+
top: 6px;
|
|
2204
2204
|
pointer-events: none;
|
|
2205
2205
|
z-index: 1;
|
|
2206
2206
|
&:last-child {
|
|
@@ -2213,19 +2213,30 @@ export const SearchFormWrapper = styled.div`
|
|
|
2213
2213
|
right: 12px;
|
|
2214
2214
|
top: 6px;
|
|
2215
2215
|
}
|
|
2216
|
-
|
|
2217
|
-
|
|
2218
|
-
|
|
2219
|
-
|
|
2220
|
-
|
|
2221
|
-
|
|
2222
|
-
|
|
2223
|
-
|
|
2224
|
-
|
|
2225
|
-
|
|
2226
|
-
|
|
2216
|
+
${({ $mode }:{ $mode?: string }) => {
|
|
2217
|
+
if ($mode === 'pos') {
|
|
2218
|
+
return css`
|
|
2219
|
+
i {
|
|
2220
|
+
top: 7px;
|
|
2221
|
+
}
|
|
2222
|
+
> input {
|
|
2223
|
+
width: calc(100vw - 100px);
|
|
2224
|
+
height: 32px;
|
|
2225
|
+
}
|
|
2226
|
+
@media only screen and (min-width: 768px) {
|
|
2227
|
+
i {
|
|
2228
|
+
top: 11px;
|
|
2229
|
+
}
|
|
2230
|
+
> input {
|
|
2231
|
+
width: 300px;
|
|
2232
|
+
height: 40px;
|
|
2233
|
+
}
|
|
2234
|
+
}
|
|
2235
|
+
`
|
|
2227
2236
|
}
|
|
2228
|
-
}
|
|
2237
|
+
}}
|
|
2238
|
+
|
|
2239
|
+
|
|
2229
2240
|
`
|
|
2230
2241
|
export const TableHeadLabel = styled.span`
|
|
2231
2242
|
color: var(--mt-clr);
|
|
@@ -2458,13 +2469,15 @@ export const TableItemWrapper = styled.section<{ $mode: string, $isBorder?: bool
|
|
|
2458
2469
|
${TableItemColumn} {
|
|
2459
2470
|
width: 960px;
|
|
2460
2471
|
border-bottom: 1px solid var(--pri-clr-ln);
|
|
2461
|
-
|
|
2472
|
+
> * {
|
|
2462
2473
|
padding: 15px 10px;
|
|
2463
2474
|
}
|
|
2464
2475
|
&:first-child {
|
|
2465
2476
|
border-bottom: 1px solid var(--sec-clr-ln);
|
|
2466
2477
|
display: grid;
|
|
2467
|
-
> * {
|
|
2478
|
+
> * {
|
|
2479
|
+
padding: 0 10px 12px;
|
|
2480
|
+
}
|
|
2468
2481
|
}
|
|
2469
2482
|
&:last-child { border-bottom: none; }
|
|
2470
2483
|
&[role='rowheader'] {
|
|
@@ -2472,9 +2485,14 @@ export const TableItemWrapper = styled.section<{ $mode: string, $isBorder?: bool
|
|
|
2472
2485
|
color: var(--mt-clr);
|
|
2473
2486
|
}
|
|
2474
2487
|
}
|
|
2488
|
+
@media only screen and (min-width: 768px) {
|
|
2489
|
+
width: auto !important;
|
|
2490
|
+
}
|
|
2475
2491
|
@media only screen and (min-width: 1024px) {
|
|
2476
2492
|
overflow-x: unset;
|
|
2477
|
-
${TableItemColumn} {
|
|
2493
|
+
${TableItemColumn} {
|
|
2494
|
+
width: unset;
|
|
2495
|
+
}
|
|
2478
2496
|
}
|
|
2479
2497
|
${getTableItemWrapperModFunc}
|
|
2480
2498
|
`
|