@limetech/lime-elements 37.62.3 → 37.63.1

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.
Files changed (86) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/dist/cjs/limel-breadcrumbs_5.cjs.entry.js +1 -1
  3. package/dist/cjs/limel-breadcrumbs_5.cjs.entry.js.map +1 -1
  4. package/dist/cjs/limel-collapsible-section.cjs.entry.js +1 -1
  5. package/dist/cjs/limel-collapsible-section.cjs.entry.js.map +1 -1
  6. package/dist/cjs/limel-dynamic-label_4.cjs.entry.js +1 -1
  7. package/dist/cjs/limel-dynamic-label_4.cjs.entry.js.map +1 -1
  8. package/dist/cjs/limel-file.cjs.entry.js +1 -1
  9. package/dist/cjs/limel-file.cjs.entry.js.map +1 -1
  10. package/dist/cjs/limel-info-tile.cjs.entry.js +1 -1
  11. package/dist/cjs/limel-info-tile.cjs.entry.js.map +1 -1
  12. package/dist/cjs/limel-popover_2.cjs.entry.js +1 -1
  13. package/dist/cjs/limel-popover_2.cjs.entry.js.map +1 -1
  14. package/dist/collection/components/action-bar/action-bar-item/action-bar-item.css +5 -0
  15. package/dist/collection/components/badge/badge.css +5 -0
  16. package/dist/collection/components/breadcrumbs/breadcrumbs.css +5 -0
  17. package/dist/collection/components/button/button.css +5 -0
  18. package/dist/collection/components/button-group/button-group.css +5 -0
  19. package/dist/collection/components/checkbox/checkbox.css +5 -0
  20. package/dist/collection/components/chip/chip.css +5 -0
  21. package/dist/collection/components/chip-set/chip-set.css +10 -0
  22. package/dist/collection/components/circular-progress/circular-progress.css +5 -0
  23. package/dist/collection/components/code-editor/code-editor.css +5 -0
  24. package/dist/collection/components/collapsible-section/collapsible-section.css +8 -3
  25. package/dist/collection/components/color-picker/color-picker-palette.css +10 -0
  26. package/dist/collection/components/color-picker/color-picker.css +5 -0
  27. package/dist/collection/components/date-picker/flatpickr-adapter/flatpickr-adapter.css +5 -0
  28. package/dist/collection/components/dialog/dialog.css +5 -0
  29. package/dist/collection/components/dock/dock-button/dock-button.css +5 -0
  30. package/dist/collection/components/dock/dock.css +5 -0
  31. package/dist/collection/components/dynamic-label/dynamic-label.css +5 -0
  32. package/dist/collection/components/file/file.css +62 -3
  33. package/dist/collection/components/file-viewer/file-viewer.css +5 -0
  34. package/dist/collection/components/form/form.css +5 -0
  35. package/dist/collection/components/header/header.css +5 -0
  36. package/dist/collection/components/help/help.css +5 -0
  37. package/dist/collection/components/help/limel-help-content.css +5 -0
  38. package/dist/collection/components/icon-button/icon-button.css +5 -0
  39. package/dist/collection/components/info-tile/info-tile.css +5 -0
  40. package/dist/collection/components/input-field/input-field.css +5 -0
  41. package/dist/collection/components/list/list.css +82 -3
  42. package/dist/collection/components/markdown/markdown.css +5 -0
  43. package/dist/collection/components/menu-list/menu-list.css +82 -3
  44. package/dist/collection/components/popover-surface/popover-surface.css +6 -1
  45. package/dist/collection/components/progress-flow/progress-flow-item/progress-flow-item.css +5 -0
  46. package/dist/collection/components/select/select.css +10 -0
  47. package/dist/collection/components/shortcut/shortcut.css +5 -0
  48. package/dist/collection/components/slider/slider.css +5 -0
  49. package/dist/collection/components/split-button/split-button.css +5 -0
  50. package/dist/collection/components/switch/switch.css +5 -0
  51. package/dist/collection/components/table/table.css +20 -0
  52. package/dist/collection/components/text-editor/prosemirror-adapter/prosemirror-adapter.css +5 -0
  53. package/dist/collection/components/text-editor/text-editor.css +5 -0
  54. package/dist/collection/style/mixins.scss +13 -0
  55. package/dist/esm/limel-breadcrumbs_5.entry.js +1 -1
  56. package/dist/esm/limel-breadcrumbs_5.entry.js.map +1 -1
  57. package/dist/esm/limel-collapsible-section.entry.js +1 -1
  58. package/dist/esm/limel-collapsible-section.entry.js.map +1 -1
  59. package/dist/esm/limel-dynamic-label_4.entry.js +1 -1
  60. package/dist/esm/limel-dynamic-label_4.entry.js.map +1 -1
  61. package/dist/esm/limel-file.entry.js +1 -1
  62. package/dist/esm/limel-file.entry.js.map +1 -1
  63. package/dist/esm/limel-info-tile.entry.js +1 -1
  64. package/dist/esm/limel-info-tile.entry.js.map +1 -1
  65. package/dist/esm/limel-popover_2.entry.js +1 -1
  66. package/dist/esm/limel-popover_2.entry.js.map +1 -1
  67. package/dist/lime-elements/lime-elements.esm.js +1 -1
  68. package/dist/lime-elements/{p-768dc020.entry.js → p-00e3e9be.entry.js} +2 -2
  69. package/dist/lime-elements/p-00e3e9be.entry.js.map +1 -0
  70. package/dist/lime-elements/p-03eea223.entry.js +2 -0
  71. package/dist/lime-elements/p-03eea223.entry.js.map +1 -0
  72. package/dist/lime-elements/{p-b334b138.entry.js → p-126ed7d5.entry.js} +2 -2
  73. package/dist/lime-elements/{p-b334b138.entry.js.map → p-126ed7d5.entry.js.map} +1 -1
  74. package/dist/lime-elements/p-7d215789.entry.js +2 -0
  75. package/dist/lime-elements/{p-b852d3f5.entry.js.map → p-7d215789.entry.js.map} +1 -1
  76. package/dist/lime-elements/{p-53fc6f0e.entry.js → p-c9598cfe.entry.js} +2 -2
  77. package/dist/lime-elements/{p-53fc6f0e.entry.js.map → p-c9598cfe.entry.js.map} +1 -1
  78. package/dist/lime-elements/{p-502b4476.entry.js → p-d86f8aea.entry.js} +2 -2
  79. package/dist/lime-elements/{p-502b4476.entry.js.map → p-d86f8aea.entry.js.map} +1 -1
  80. package/dist/lime-elements/style/mixins.scss +13 -0
  81. package/dist/scss/mixins.scss +13 -0
  82. package/package.json +5 -5
  83. package/dist/lime-elements/p-768dc020.entry.js.map +0 -1
  84. package/dist/lime-elements/p-889b4ae4.entry.js +0 -2
  85. package/dist/lime-elements/p-889b4ae4.entry.js.map +0 -1
  86. package/dist/lime-elements/p-b852d3f5.entry.js +0 -2
@@ -56,6 +56,11 @@
56
56
  * 2. the CSS variables of `--kompendium-example-font-family`
57
57
  * in the `<style>` tag of `index.html`.
58
58
  */
59
+ /**
60
+ * This mixin is a hack, using old CSS syntax
61
+ * to enable you to truncate a piece of text,
62
+ * after a certain number of lines.
63
+ */
59
64
  /*
60
65
  * This file is imported into every component!
61
66
  *
@@ -64,6 +64,11 @@
64
64
  * 2. the CSS variables of `--kompendium-example-font-family`
65
65
  * in the `<style>` tag of `index.html`.
66
66
  */
67
+ /**
68
+ * This mixin is a hack, using old CSS syntax
69
+ * to enable you to truncate a piece of text,
70
+ * after a certain number of lines.
71
+ */
67
72
  /*
68
73
  * This file is imported into every component that uses MDC!
69
74
  *
@@ -995,6 +1000,11 @@
995
1000
  * 2. the CSS variables of `--kompendium-example-font-family`
996
1001
  * in the `<style>` tag of `index.html`.
997
1002
  */
1003
+ /**
1004
+ * This mixin is a hack, using old CSS syntax
1005
+ * to enable you to truncate a piece of text,
1006
+ * after a certain number of lines.
1007
+ */
998
1008
  :host(limel-checkbox:focus),
999
1009
  :host(limel-checkbox:focus-visible),
1000
1010
  :host(limel-checkbox:focus-within),
@@ -5444,6 +5454,11 @@ a.mdc-list-item {
5444
5454
  * 2. the CSS variables of `--kompendium-example-font-family`
5445
5455
  * in the `<style>` tag of `index.html`.
5446
5456
  */
5457
+ /**
5458
+ * This mixin is a hack, using old CSS syntax
5459
+ * to enable you to truncate a piece of text,
5460
+ * after a certain number of lines.
5461
+ */
5447
5462
  :host(limel-checkbox:focus),
5448
5463
  :host(limel-checkbox:focus-visible),
5449
5464
  :host(limel-checkbox:focus-within),
@@ -5955,6 +5970,11 @@ a.mdc-list-item {
5955
5970
  * 2. the CSS variables of `--kompendium-example-font-family`
5956
5971
  * in the `<style>` tag of `index.html`.
5957
5972
  */
5973
+ /**
5974
+ * This mixin is a hack, using old CSS syntax
5975
+ * to enable you to truncate a piece of text,
5976
+ * after a certain number of lines.
5977
+ */
5958
5978
  :host(.has-striped-rows) .mdc-deprecated-list {
5959
5979
  border: 1px solid rgb(var(--contrast-400));
5960
5980
  }
@@ -5987,6 +6007,64 @@ a.mdc-list-item {
5987
6007
  z-index: 1;
5988
6008
  }
5989
6009
 
6010
+ /**
6011
+ * Note! This file is exported to `dist/scss/` in the published
6012
+ * node module, for consumer projects to import.
6013
+ * That means this file cannot import from any file that isn't
6014
+ * also exported, keeping the same relative path.
6015
+ *
6016
+ * Or, just don't import anything, that works too.
6017
+ */
6018
+ /**
6019
+ * This can be used on a trigger element that opens a dropdown menu or a popover.
6020
+ */
6021
+ /**
6022
+ * This mixin will mask out the content that is close to
6023
+ * the edges of a scrollable area.
6024
+ * - If the scrollable content has `overflow-y`, use `vertically`
6025
+ * as an argument for `$direction`.
6026
+ - If the scrollable content has `overflow-x`, use `horizontally`
6027
+ * as an argument for `$direction`.
6028
+ *
6029
+ * For the visual effect to work smoothly, we need to make sure that
6030
+ * the size of the fade-out edge effect is the same as the
6031
+ * internal paddings of the scrollable area. Otherwise, content of a
6032
+ * scrollable area that does not have a padding will fade out before
6033
+ * any scrolling has been done.
6034
+ * This is why this mixin already adds paddings, which automatically
6035
+ * default to the size of the fade-out effect.
6036
+ * This size defaults to `1rem`, but to override the size use
6037
+ * `--limel-top-edge-fade-height` & `--limel-bottom-edge-fade-height`
6038
+ * when `vertically` argument is set, and use
6039
+ * `--limel-left-edge-fade-width` & `--limel-right-edge-fade-width`
6040
+ * when `horizontally` argument is set.
6041
+ * Of course you can also programmatically increase and decrease the
6042
+ * size of these variables for each edge, based on the amount of
6043
+ * scrolling that has been done by the user. In this case, make sure
6044
+ * to add a custom padding where the mixin is used, to override
6045
+ * the paddings that are automatically added by the mixin in the
6046
+ * compiled CSS code.
6047
+ */
6048
+ /**
6049
+ * This mixin will add an animated underline to the bottom of an `a` elements.
6050
+ * Note that you may need to add `all: unset;` –depending on your use case–
6051
+ * before using this mixin.
6052
+ */
6053
+ /**
6054
+ * This mixin creates a cross-browser font stack.
6055
+ * - `sans-serif` can be used for the UI of the components.
6056
+ * - `monospace` can be used for code.
6057
+ *
6058
+ * ⚠️ If we change the font stacks, we need to update
6059
+ * 1. the consumer documentation in `README.md`, and
6060
+ * 2. the CSS variables of `--kompendium-example-font-family`
6061
+ * in the `<style>` tag of `index.html`.
6062
+ */
6063
+ /**
6064
+ * This mixin is a hack, using old CSS syntax
6065
+ * to enable you to truncate a piece of text,
6066
+ * after a certain number of lines.
6067
+ */
5990
6068
  :host {
5991
6069
  --line-height-of-secondary-text: 1rem;
5992
6070
  }
@@ -5995,11 +6073,12 @@ a.mdc-list-item {
5995
6073
  height: auto !important;
5996
6074
  }
5997
6075
  .mdc-deprecated-list-item .mdc-deprecated-list-item__secondary-text {
5998
- line-height: var(--line-height-of-secondary-text);
5999
- white-space: normal;
6000
6076
  display: -webkit-box;
6001
- -webkit-line-clamp: var(--maxLinesSecondaryText);
6077
+ overflow: hidden;
6078
+ white-space: normal;
6002
6079
  -webkit-box-orient: vertical;
6080
+ -webkit-line-clamp: var(--maxLinesSecondaryText);
6081
+ line-height: var(--line-height-of-secondary-text);
6003
6082
  }
6004
6083
 
6005
6084
  :host(.has-grid-layout) {
@@ -58,6 +58,11 @@
58
58
  * 2. the CSS variables of `--kompendium-example-font-family`
59
59
  * in the `<style>` tag of `index.html`.
60
60
  */
61
+ /**
62
+ * This mixin is a hack, using old CSS syntax
63
+ * to enable you to truncate a piece of text,
64
+ * after a certain number of lines.
65
+ */
61
66
  :host(limel-popover-surface) {
62
67
  isolation: isolate;
63
68
  position: relative;
@@ -87,7 +92,7 @@
87
92
  bottom: 0;
88
93
  left: 0;
89
94
  z-index: -1;
90
- opacity: 0.75;
95
+ opacity: 0.95;
91
96
  border-radius: var(--popover-border-radius, 0.75rem);
92
97
  background-color: var(--popover-body-background-color, var(--lime-elevated-surface-background-color));
93
98
  }
@@ -52,6 +52,11 @@
52
52
  * 2. the CSS variables of `--kompendium-example-font-family`
53
53
  * in the `<style>` tag of `index.html`.
54
54
  */
55
+ /**
56
+ * This mixin is a hack, using old CSS syntax
57
+ * to enable you to truncate a piece of text,
58
+ * after a certain number of lines.
59
+ */
55
60
  /*
56
61
  * This file is imported into every component!
57
62
  *
@@ -118,6 +118,11 @@
118
118
  * 2. the CSS variables of `--kompendium-example-font-family`
119
119
  * in the `<style>` tag of `index.html`.
120
120
  */
121
+ /**
122
+ * This mixin is a hack, using old CSS syntax
123
+ * to enable you to truncate a piece of text,
124
+ * after a certain number of lines.
125
+ */
121
126
  .mdc-floating-label {
122
127
  -moz-osx-font-smoothing: grayscale;
123
128
  -webkit-font-smoothing: antialiased;
@@ -1846,6 +1851,11 @@ select.limel-select__native-control {
1846
1851
  * 2. the CSS variables of `--kompendium-example-font-family`
1847
1852
  * in the `<style>` tag of `index.html`.
1848
1853
  */
1854
+ /**
1855
+ * This mixin is a hack, using old CSS syntax
1856
+ * to enable you to truncate a piece of text,
1857
+ * after a certain number of lines.
1858
+ */
1849
1859
  :host(limel-select:focus),
1850
1860
  :host(limel-select:focus-visible),
1851
1861
  :host(limel-select:focus-within),
@@ -53,6 +53,11 @@
53
53
  * in the `<style>` tag of `index.html`.
54
54
  */
55
55
  /**
56
+ * This mixin is a hack, using old CSS syntax
57
+ * to enable you to truncate a piece of text,
58
+ * after a certain number of lines.
59
+ */
60
+ /**
56
61
  * @prop --shortcut-border-radius: defines the radius of corners of the shortcut. Defaults to `1rem`
57
62
  * @prop --shortcut-icon-color: defines the fill color of the shortcut icon. Defaults to `--contrast-1000`
58
63
  * @prop --shortcut-label-color: defines the color of the shortcut label. Defaults to `--contrast-1100`
@@ -975,6 +975,11 @@
975
975
  * 2. the CSS variables of `--kompendium-example-font-family`
976
976
  * in the `<style>` tag of `index.html`.
977
977
  */
978
+ /**
979
+ * This mixin is a hack, using old CSS syntax
980
+ * to enable you to truncate a piece of text,
981
+ * after a certain number of lines.
982
+ */
978
983
  :host(limel-slider:focus),
979
984
  :host(limel-slider:focus-visible),
980
985
  :host(limel-slider:focus-within),
@@ -52,6 +52,11 @@
52
52
  * 2. the CSS variables of `--kompendium-example-font-family`
53
53
  * in the `<style>` tag of `index.html`.
54
54
  */
55
+ /**
56
+ * This mixin is a hack, using old CSS syntax
57
+ * to enable you to truncate a piece of text,
58
+ * after a certain number of lines.
59
+ */
55
60
  :host(limel-split-button.has-menu) {
56
61
  --button-padding-right: 2rem;
57
62
  --button-padding-left: 1rem;
@@ -904,6 +904,11 @@ label {
904
904
  * 2. the CSS variables of `--kompendium-example-font-family`
905
905
  * in the `<style>` tag of `index.html`.
906
906
  */
907
+ /**
908
+ * This mixin is a hack, using old CSS syntax
909
+ * to enable you to truncate a piece of text,
910
+ * after a certain number of lines.
911
+ */
907
912
  :host(limel-switch:focus),
908
913
  :host(limel-switch:focus-visible),
909
914
  :host(limel-switch:focus-within),
@@ -52,6 +52,11 @@
52
52
  * 2. the CSS variables of `--kompendium-example-font-family`
53
53
  * in the `<style>` tag of `index.html`.
54
54
  */
55
+ /**
56
+ * This mixin is a hack, using old CSS syntax
57
+ * to enable you to truncate a piece of text,
58
+ * after a certain number of lines.
59
+ */
55
60
  /*
56
61
  * This file is imported into every component!
57
62
  *
@@ -1293,6 +1298,11 @@ body.tabulator-print-fullscreen-hide > *:not(.tabulator-print-fullscreen) {
1293
1298
  * 2. the CSS variables of `--kompendium-example-font-family`
1294
1299
  * in the `<style>` tag of `index.html`.
1295
1300
  */
1301
+ /**
1302
+ * This mixin is a hack, using old CSS syntax
1303
+ * to enable you to truncate a piece of text,
1304
+ * after a certain number of lines.
1305
+ */
1296
1306
  /*
1297
1307
  * This file is imported into every component!
1298
1308
  *
@@ -1482,6 +1492,11 @@ button.tabulator-page[data-page=first]:not([disabled]):hover:after, button.tabul
1482
1492
  * 2. the CSS variables of `--kompendium-example-font-family`
1483
1493
  * in the `<style>` tag of `index.html`.
1484
1494
  */
1495
+ /**
1496
+ * This mixin is a hack, using old CSS syntax
1497
+ * to enable you to truncate a piece of text,
1498
+ * after a certain number of lines.
1499
+ */
1485
1500
  /*
1486
1501
  * This file is imported into every component!
1487
1502
  *
@@ -1645,6 +1660,11 @@ button.tabulator-page[data-page=first]:not([disabled]):hover:after, button.tabul
1645
1660
  * 2. the CSS variables of `--kompendium-example-font-family`
1646
1661
  * in the `<style>` tag of `index.html`.
1647
1662
  */
1663
+ /**
1664
+ * This mixin is a hack, using old CSS syntax
1665
+ * to enable you to truncate a piece of text,
1666
+ * after a certain number of lines.
1667
+ */
1648
1668
  /*
1649
1669
  * This file is imported into every component!
1650
1670
  *
@@ -466,6 +466,11 @@ li {
466
466
  * 2. the CSS variables of `--kompendium-example-font-family`
467
467
  * in the `<style>` tag of `index.html`.
468
468
  */
469
+ /**
470
+ * This mixin is a hack, using old CSS syntax
471
+ * to enable you to truncate a piece of text,
472
+ * after a certain number of lines.
473
+ */
469
474
  /*
470
475
  * This file is imported into every component!
471
476
  *
@@ -118,6 +118,11 @@
118
118
  * 2. the CSS variables of `--kompendium-example-font-family`
119
119
  * in the `<style>` tag of `index.html`.
120
120
  */
121
+ /**
122
+ * This mixin is a hack, using old CSS syntax
123
+ * to enable you to truncate a piece of text,
124
+ * after a certain number of lines.
125
+ */
121
126
  /**
122
127
  * @prop --text-editor-max-height: the tallest height the text editor can become when auto-resizing itself. Defaults to `calc(100vh - (env(safe-area-inset-top) + env(safe-area-inset-bottom)) - 4rem)`.
123
128
  * @prop --text-editor-fade-out-background-color: the color of the fade-out effect at the top and bottom of the text editor, when the text-editor is in readonly state. Defaults to rgb(var(--contrast-100)).
@@ -361,3 +361,16 @@
361
361
  @error "Please specify the font-family #{$letterform}!";
362
362
  }
363
363
  }
364
+
365
+ /**
366
+ * This mixin is a hack, using old CSS syntax
367
+ * to enable you to truncate a piece of text,
368
+ * after a certain number of lines.
369
+ */
370
+ @mixin truncate-text-on-line($max-lines) {
371
+ display: -webkit-box;
372
+ overflow: hidden;
373
+ white-space: normal;
374
+ -webkit-box-orient: vertical;
375
+ -webkit-line-clamp: $max-lines;
376
+ }