@dialpad/dialtone-css 8.65.0 → 8.66.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/lib/build/less/utilities/typography.less +36 -0
- package/lib/dist/dialtone-default-theme.css +41 -0
- package/lib/dist/dialtone-default-theme.min.css +1 -1
- package/lib/dist/dialtone-docs.json +1 -1
- package/lib/dist/dialtone.css +41 -0
- package/lib/dist/dialtone.min.css +1 -1
- package/lib/dist/tokens-docs.json +1 -1
- package/package.json +3 -3
|
@@ -376,6 +376,42 @@ ul {
|
|
|
376
376
|
.d-to-clip { text-overflow: clip !important; }
|
|
377
377
|
.d-to-unset { text-overflow: unset !important; }
|
|
378
378
|
|
|
379
|
+
|
|
380
|
+
// ============================================================================
|
|
381
|
+
// $$ LINE CLAMP
|
|
382
|
+
// ----------------------------------------------------------------------------
|
|
383
|
+
// Base styles for all line-clamp classes
|
|
384
|
+
[class*="d-lc-"] {
|
|
385
|
+
--lc-lines: initial;
|
|
386
|
+
|
|
387
|
+
display: -webkit-box !important;
|
|
388
|
+
overflow: hidden !important;
|
|
389
|
+
-webkit-box-orient: vertical !important;
|
|
390
|
+
-webkit-line-clamp: var(--lc-lines) !important;
|
|
391
|
+
}
|
|
392
|
+
|
|
393
|
+
// Individual line-clamp values
|
|
394
|
+
.d-lc {
|
|
395
|
+
&-1 { --lc-lines: 1; }
|
|
396
|
+
&-2 { --lc-lines: 2; }
|
|
397
|
+
&-3 { --lc-lines: 3; }
|
|
398
|
+
&-4 { --lc-lines: 4; }
|
|
399
|
+
&-5 { --lc-lines: 5; }
|
|
400
|
+
&-6 { --lc-lines: 6; }
|
|
401
|
+
&-7 { --lc-lines: 7; }
|
|
402
|
+
&-8 { --lc-lines: 8; }
|
|
403
|
+
&-9 { --lc-lines: 9; }
|
|
404
|
+
|
|
405
|
+
// Reset classes
|
|
406
|
+
&-none,
|
|
407
|
+
&-unset {
|
|
408
|
+
display: initial !important;
|
|
409
|
+
overflow: initial !important;
|
|
410
|
+
-webkit-box-orient: initial !important;
|
|
411
|
+
-webkit-line-clamp: initial !important;
|
|
412
|
+
}
|
|
413
|
+
}
|
|
414
|
+
|
|
379
415
|
// $$ OVERFLOW WRAP
|
|
380
416
|
// ----------------------------------------------------------------------------
|
|
381
417
|
.d-ow-normal { overflow-wrap: normal !important; }
|
|
@@ -8341,6 +8341,47 @@ ul {
|
|
|
8341
8341
|
.d-to-unset {
|
|
8342
8342
|
text-overflow: unset !important;
|
|
8343
8343
|
}
|
|
8344
|
+
[class*="d-lc-"] {
|
|
8345
|
+
--lc-lines: initial;
|
|
8346
|
+
display: -webkit-box !important;
|
|
8347
|
+
overflow: hidden !important;
|
|
8348
|
+
-webkit-box-orient: vertical !important;
|
|
8349
|
+
-webkit-line-clamp: var(--lc-lines) !important;
|
|
8350
|
+
}
|
|
8351
|
+
.d-lc-1 {
|
|
8352
|
+
--lc-lines: 1;
|
|
8353
|
+
}
|
|
8354
|
+
.d-lc-2 {
|
|
8355
|
+
--lc-lines: 2;
|
|
8356
|
+
}
|
|
8357
|
+
.d-lc-3 {
|
|
8358
|
+
--lc-lines: 3;
|
|
8359
|
+
}
|
|
8360
|
+
.d-lc-4 {
|
|
8361
|
+
--lc-lines: 4;
|
|
8362
|
+
}
|
|
8363
|
+
.d-lc-5 {
|
|
8364
|
+
--lc-lines: 5;
|
|
8365
|
+
}
|
|
8366
|
+
.d-lc-6 {
|
|
8367
|
+
--lc-lines: 6;
|
|
8368
|
+
}
|
|
8369
|
+
.d-lc-7 {
|
|
8370
|
+
--lc-lines: 7;
|
|
8371
|
+
}
|
|
8372
|
+
.d-lc-8 {
|
|
8373
|
+
--lc-lines: 8;
|
|
8374
|
+
}
|
|
8375
|
+
.d-lc-9 {
|
|
8376
|
+
--lc-lines: 9;
|
|
8377
|
+
}
|
|
8378
|
+
.d-lc-none,
|
|
8379
|
+
.d-lc-unset {
|
|
8380
|
+
display: initial !important;
|
|
8381
|
+
overflow: initial !important;
|
|
8382
|
+
-webkit-box-orient: initial !important;
|
|
8383
|
+
-webkit-line-clamp: initial !important;
|
|
8384
|
+
}
|
|
8344
8385
|
.d-ow-normal {
|
|
8345
8386
|
overflow-wrap: normal !important;
|
|
8346
8387
|
}
|