@paperless/angular 0.1.0-alpha.435 → 0.1.0-alpha.437
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/esm2020/lib/modules/table/components/table-cell/table-cell.component.mjs +31 -1
- package/fesm2015/paperless-angular.mjs +30 -0
- package/fesm2015/paperless-angular.mjs.map +1 -1
- package/fesm2020/paperless-angular.mjs +30 -0
- package/fesm2020/paperless-angular.mjs.map +1 -1
- package/package.json +1 -1
- package/paperless.css +48 -0
|
@@ -2312,6 +2312,13 @@ class TableCell {
|
|
|
2312
2312
|
desktop:w-1/12 desktop:w-2/12 desktop:w-3/12 desktop:w-4/12 desktop:w-5/12 desktop:w-6/12 desktop:w-7/12 desktop:w-8/12 desktop:w-9/12 desktop:w-10/12 desktop:w-11/12 desktop:w-12/12
|
|
2313
2313
|
desktop-lg:w-1/12 desktop-lg:w-2/12 desktop-lg:w-3/12 desktop-lg:w-4/12 desktop-lg:w-5/12 desktop-lg:w-6/12 desktop-lg:w-7/12 desktop-lg:w-8/12 desktop-lg:w-9/12 desktop-lg:w-10/12 desktop-lg:w-11/12 desktop-lg:w-12/12
|
|
2314
2314
|
desktop-xl:w-1/12 desktop-xl:w-2/12 desktop-xl:w-3/12 desktop-xl:w-4/12 desktop-xl:w-5/12 desktop-xl:w-6/12 desktop-xl:w-7/12 desktop-xl:w-8/12 desktop-xl:w-9/12 desktop-xl:w-10/12 desktop-xl:w-11/12 desktop-xl:w-12/12
|
|
2315
|
+
hidden flex
|
|
2316
|
+
tablet:hidden tablet:flex
|
|
2317
|
+
desktop-xs:hidden desktop-xs:flex
|
|
2318
|
+
desktop-sm:hidden desktop-sm:flex
|
|
2319
|
+
desktop:hidden desktop:flex
|
|
2320
|
+
desktop-lg:hidden desktop-lg:flex
|
|
2321
|
+
desktop-xl:hidden desktop-xl:flex
|
|
2315
2322
|
|
|
2316
2323
|
|
|
2317
2324
|
⠀⠀⠀⠀⠀⣠⣴⣶⣿⣿⠿⣷⣶⣤⣄⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣠⣴⣶⣷⠿⣿⣿⣶⣦⣀⠀⠀⠀⠀⠀
|
|
@@ -2348,14 +2355,37 @@ class TableCell {
|
|
|
2348
2355
|
'w-auto': true,
|
|
2349
2356
|
};
|
|
2350
2357
|
}
|
|
2358
|
+
if (sizes === 'hidden') {
|
|
2359
|
+
return {
|
|
2360
|
+
hidden: true,
|
|
2361
|
+
};
|
|
2362
|
+
}
|
|
2351
2363
|
if (typeof sizes === 'object') {
|
|
2352
2364
|
const classes = {};
|
|
2365
|
+
let previousSize = null;
|
|
2353
2366
|
for (const size of Object.keys(sizes)) {
|
|
2354
2367
|
if (size === 'default') {
|
|
2368
|
+
if (sizes.default === 'hidden') {
|
|
2369
|
+
classes['hidden'] = true;
|
|
2370
|
+
previousSize = size;
|
|
2371
|
+
continue;
|
|
2372
|
+
}
|
|
2355
2373
|
classes[`w-${sizes.default}/12`] = true;
|
|
2374
|
+
previousSize = size;
|
|
2375
|
+
continue;
|
|
2376
|
+
}
|
|
2377
|
+
if (sizes[size] !== 'hidden' &&
|
|
2378
|
+
previousSize &&
|
|
2379
|
+
sizes[previousSize] === 'hidden') {
|
|
2380
|
+
classes[`${size}:flex`] = true;
|
|
2381
|
+
}
|
|
2382
|
+
if (sizes[size] === 'hidden') {
|
|
2383
|
+
classes[`${size}:hidden`] = true;
|
|
2384
|
+
previousSize = size;
|
|
2356
2385
|
continue;
|
|
2357
2386
|
}
|
|
2358
2387
|
classes[`${size}:w-${sizes[`${size}`]}/12`] = true;
|
|
2388
|
+
previousSize = size;
|
|
2359
2389
|
}
|
|
2360
2390
|
return classes;
|
|
2361
2391
|
}
|