forstok-ui-lib 6.6.6 → 6.7.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/index.d.ts +8 -2
- package/dist/index.js +193 -166
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +175 -148
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/assets/stylesheets/shares.styles.ts +30 -0
- package/src/components/loader/index.tsx +16 -0
- package/src/typeds/shares.typed.ts +2 -1
package/package.json
CHANGED
|
@@ -2978,6 +2978,17 @@ const listTableStyles = {
|
|
|
2978
2978
|
}
|
|
2979
2979
|
}
|
|
2980
2980
|
`,
|
|
2981
|
+
'listing-nocheck': css`
|
|
2982
|
+
${ItemTable} {
|
|
2983
|
+
grid-template-columns: var(--item) minmax(auto, max-content) minmax(88px, auto);
|
|
2984
|
+
&[role=rowheader] > div[role=group],
|
|
2985
|
+
&[role=row] > div[role=cellgroup] > div[role=rowgroup],
|
|
2986
|
+
._refCollapse > div:not(._refCollapseContainer),
|
|
2987
|
+
._refCollapseContainer > div {
|
|
2988
|
+
grid-template-columns: var(--variant) var(--sku) var(--sku) minmax(95px, 115px) var(--price) var(--status-small);
|
|
2989
|
+
}
|
|
2990
|
+
}
|
|
2991
|
+
`,
|
|
2981
2992
|
quantity: css`
|
|
2982
2993
|
overflow: hidden;
|
|
2983
2994
|
> div {
|
|
@@ -4692,4 +4703,23 @@ export const TableBundleColumn = styled.article`
|
|
|
4692
4703
|
display: block !important;
|
|
4693
4704
|
}
|
|
4694
4705
|
}
|
|
4706
|
+
`
|
|
4707
|
+
export const FilterStoreContainer = styled.div`
|
|
4708
|
+
margin-top: 16px;
|
|
4709
|
+
max-height: 80px;
|
|
4710
|
+
overflow: auto;
|
|
4711
|
+
> span {
|
|
4712
|
+
font-size: 14px;
|
|
4713
|
+
}
|
|
4714
|
+
`
|
|
4715
|
+
export const FilterStoreList = styled.div`
|
|
4716
|
+
margin: 6px 12px;
|
|
4717
|
+
display: inline-grid;
|
|
4718
|
+
grid-template-columns: 14px max-content;
|
|
4719
|
+
grid-gap: 8px;
|
|
4720
|
+
font-size: 14px;
|
|
4721
|
+
vertical-align: middle;
|
|
4722
|
+
label:nth-child(2) {
|
|
4723
|
+
cursor: pointer;
|
|
4724
|
+
}
|
|
4695
4725
|
`
|
|
@@ -76,6 +76,22 @@ export const ContentLoaderAnalyticsMenu = () => <ContentLoader
|
|
|
76
76
|
foregroundOpacity={0.12}>
|
|
77
77
|
<rect x='0' y='15' rx='0' ry='0' width='100%' height='36' />
|
|
78
78
|
</ContentLoader>
|
|
79
|
+
export const ContentLoaderOneLine = ({ $width, $height }:{ $width?: number | string, $height?: number }) => {
|
|
80
|
+
const _width = $width || 75
|
|
81
|
+
const _height = $height || 30
|
|
82
|
+
return <ContentLoader
|
|
83
|
+
height={_height}
|
|
84
|
+
width={_width}
|
|
85
|
+
speed={1}
|
|
86
|
+
backgroundColor='rgb(0,0,0)'
|
|
87
|
+
foregroundColor='rgb(0,0,0)'
|
|
88
|
+
backgroundOpacity={0.06}
|
|
89
|
+
foregroundOpacity={0.12}
|
|
90
|
+
viewBox={`0 0 ${_width} ${_height}`}
|
|
91
|
+
>
|
|
92
|
+
<rect x='0' y='0' rx='0' ry='0' width={_width} height={_height} />
|
|
93
|
+
</ContentLoader>
|
|
94
|
+
}
|
|
79
95
|
export const ContentLoaderOrderList = () => {
|
|
80
96
|
const xA = 100, wA = boxWidth - 600;
|
|
81
97
|
const xB = boxWidth - 405, wB = 120;
|
|
@@ -268,8 +268,9 @@ export type TStateCallback<TData> = DispatchWithCallback<React.SetStateAction<TD
|
|
|
268
268
|
export type ModeListTableColumn =
|
|
269
269
|
| 'item'
|
|
270
270
|
| 'item-nocheck'
|
|
271
|
-
| 'listing'
|
|
272
271
|
| 'quantity'
|
|
272
|
+
| 'listing'
|
|
273
|
+
| 'listing-nocheck'
|
|
273
274
|
| 'picklist'
|
|
274
275
|
| 'package'
|
|
275
276
|
| 'shipment'
|