@clayui/css 3.108.0 → 3.109.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/CHANGELOG.md CHANGED
@@ -3,6 +3,27 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.109.0](https://github.com/liferay/clay/compare/v3.108.0...v3.109.0) (2024-01-22)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * **@clayui/css:** modal-body-iframe should have no padding on screens sm and below ([00dde4e](https://github.com/liferay/clay/commit/00dde4e2a4fc2787962c7518d0d31677e4ca75ab))
12
+ * **@clayui/css:** SVG Icons update bookmarks and bookmarks-full icons to be centered ([d0b8c38](https://github.com/liferay/clay/commit/d0b8c382c49c3cab4904ba9e2ab1061d9c854688))
13
+ * **@clayui/css:** Tables adds variant table-sort ([427430b](https://github.com/liferay/clay/commit/427430b99fc2591a05e25963fa9938bddad3b84f))
14
+ * **@clayui/css:** video-streaming icon should have copyright text and SF ([686475b](https://github.com/liferay/clay/commit/686475b9d272d923bc67d77170f5f65a4a5f22ff))
15
+
16
+
17
+ ### Features
18
+
19
+ * **@clayui/css:** Add new video-streaming icon ([9a088ba](https://github.com/liferay/clay/commit/9a088bad000a62395e58402b908937d75445e412))
20
+ * **@clayui/css:** add table-sort to change icon appearance ([4a92472](https://github.com/liferay/clay/commit/4a92472fdfa58112221810297e5c83c73ebd4557))
21
+ * **@clayui/css:** Toggle Switch adds toggle-switch-sm modifier ([ea5fdc5](https://github.com/liferay/clay/commit/ea5fdc55f7f0728827f86952512fdacba7a90720))
22
+
23
+
24
+
25
+
26
+
6
27
  # [3.108.0](https://github.com/liferay/clay/compare/v3.107.1...v3.108.0) (2023-12-12)
7
28
 
8
29
 
package/lib/css/atlas.css CHANGED
@@ -1,6 +1,6 @@
1
1
  @charset "UTF-8";
2
2
  /**
3
- * Clay 3.108.0
3
+ * Clay 3.109.0
4
4
  *
5
5
  * SPDX-FileCopyrightText: © 2020 Liferay, Inc. <https://liferay.com>
6
6
  * SPDX-FileCopyrightText: © 2020 Contributors to the project Clay <https://github.com/liferay/clay/graphs/contributors>
@@ -12760,6 +12760,9 @@ label.custom-control-label {
12760
12760
  .modal .modal-body {
12761
12761
  padding: 0.5rem 1rem;
12762
12762
  }
12763
+ .modal .modal-body-iframe {
12764
+ padding: 0;
12765
+ }
12763
12766
  .modal .modal-footer {
12764
12767
  padding: 0.5rem;
12765
12768
  }
@@ -12899,7 +12902,7 @@ label.custom-control-label {
12899
12902
  box-shadow: 0 0 3px 1px rgba(0, 0, 0, 0.2);
12900
12903
  display: flex;
12901
12904
  flex-direction: column;
12902
- max-height: calc(100vh - 1.75rem * 2);
12905
+ max-height: calc(100vh - 0.5rem * 2);
12903
12906
  outline: 0;
12904
12907
  overflow: hidden;
12905
12908
  pointer-events: auto;
@@ -20860,9 +20863,11 @@ caption {
20860
20863
  tr.table-focus {
20861
20864
  outline: 0;
20862
20865
  }
20866
+ tr.table-focus th,
20863
20867
  tr.table-focus td {
20864
20868
  outline: 0;
20865
20869
  }
20870
+ tr.table-focus th::before,
20866
20871
  tr.table-focus td::before {
20867
20872
  box-shadow: inset 0 0.125rem 0 0 #528eff, inset 0 0.25rem 0 0 #fff, inset 0 -0.125rem 0 0 #528eff, inset 0 -0.25rem 0 0 #fff;
20868
20873
  content: "";
@@ -20875,6 +20880,7 @@ tr.table-focus td::before {
20875
20880
  pointer-events: none;
20876
20881
  z-index: 1;
20877
20882
  }
20883
+ tr.table-focus th:first-child::after,
20878
20884
  tr.table-focus td:first-child::after {
20879
20885
  box-shadow: inset 0.125rem 0 0 0 #528eff, inset 0.25rem 0 0 0 #fff;
20880
20886
  content: "";
@@ -20887,6 +20893,7 @@ tr.table-focus td:first-child::after {
20887
20893
  z-index: 1;
20888
20894
  width: 0.25rem;
20889
20895
  }
20896
+ tr.table-focus th:last-child::after,
20890
20897
  tr.table-focus td:last-child::after {
20891
20898
  box-shadow: inset -0.125rem 0 0 0 #528eff, inset -0.25rem 0 0 0 #fff;
20892
20899
  content: "";
@@ -21664,6 +21671,33 @@ td.table-focus {
21664
21671
  display: none;
21665
21672
  }
21666
21673
 
21674
+ .table-sort thead th,
21675
+ .table-sort thead td {
21676
+ cursor: pointer;
21677
+ transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
21678
+ }
21679
+ @media (prefers-reduced-motion: reduce) {
21680
+ .table-sort thead th,
21681
+ .table-sort thead td {
21682
+ transition: none;
21683
+ }
21684
+ }
21685
+ .c-prefers-reduced-motion .table-sort thead th,
21686
+ .c-prefers-reduced-motion .table-sort thead td {
21687
+ transition: none;
21688
+ }
21689
+
21690
+ .table-sort thead th:hover,
21691
+ .table-sort thead td:hover {
21692
+ background-color: #f0f5ff;
21693
+ color: #272833;
21694
+ }
21695
+ .table-sort thead th .component-action,
21696
+ .table-sort thead td .component-action {
21697
+ font-size: 0.75rem;
21698
+ height: 1.5rem;
21699
+ width: 1.5rem;
21700
+ }
21667
21701
  .show-quick-actions-on-hover tr:not(.table-active):not(.table-disabled):hover .quick-action-menu {
21668
21702
  display: flex;
21669
21703
  }
@@ -22664,7 +22698,7 @@ td.table-focus {
22664
22698
  left: 0;
22665
22699
  position: absolute;
22666
22700
  top: 0;
22667
- transition: background-color 100ms ease-in, border-color 100ms ease-in, box-shadow 150ms ease-in-out, color 100ms ease-in, left 100ms ease-in, right 100ms ease-in;
22701
+ transition: background-color 100ms ease-in, border-color 100ms ease-in, box-shadow 150ms ease-in-out, color 100ms ease-in, left 100ms ease-in, opacity 100ms ease-in, right 100ms ease-in;
22668
22702
  width: 48px;
22669
22703
  }
22670
22704
  @media (prefers-reduced-motion: reduce) {
@@ -22689,7 +22723,7 @@ td.table-focus {
22689
22723
  left: 4px;
22690
22724
  position: absolute;
22691
22725
  top: 4px;
22692
- transition: background-color 100ms ease-in, border-color 100ms ease-in, box-shadow 150ms ease-in-out, color 100ms ease-in, left 100ms ease-in, right 100ms ease-in;
22726
+ transition: background-color 100ms ease-in, border-color 100ms ease-in, box-shadow 150ms ease-in-out, color 100ms ease-in, left 100ms ease-in, opacity 100ms ease-in, right 100ms ease-in;
22693
22727
  width: 16px;
22694
22728
  }
22695
22729
  @media (prefers-reduced-motion: reduce) {
@@ -22702,7 +22736,7 @@ td.table-focus {
22702
22736
  }
22703
22737
 
22704
22738
  .toggle-switch-check ~ .toggle-switch-bar .toggle-switch-handle::before {
22705
- transition: background-color 100ms ease-in, border-color 100ms ease-in, box-shadow 150ms ease-in-out, color 100ms ease-in, left 100ms ease-in, right 100ms ease-in;
22739
+ transition: background-color 100ms ease-in, border-color 100ms ease-in, box-shadow 150ms ease-in-out, color 100ms ease-in, left 100ms ease-in, opacity 100ms ease-in, right 100ms ease-in;
22706
22740
  }
22707
22741
  @media (prefers-reduced-motion: reduce) {
22708
22742
  .toggle-switch-check ~ .toggle-switch-bar .toggle-switch-handle::before {
@@ -22716,7 +22750,7 @@ td.table-focus {
22716
22750
  .toggle-switch-check ~ .toggle-switch-bar .toggle-switch-handle::after {
22717
22751
  content: '\FEFF' attr(data-label-off);
22718
22752
  margin-left: 56px;
22719
- transition: background-color 100ms ease-in, border-color 100ms ease-in, box-shadow 150ms ease-in-out, color 100ms ease-in, left 100ms ease-in, right 100ms ease-in;
22753
+ transition: background-color 100ms ease-in, border-color 100ms ease-in, box-shadow 150ms ease-in-out, color 100ms ease-in, left 100ms ease-in, opacity 100ms ease-in, right 100ms ease-in;
22720
22754
  white-space: nowrap;
22721
22755
  }
22722
22756
  @media (prefers-reduced-motion: reduce) {
@@ -22736,7 +22770,7 @@ td.table-focus {
22736
22770
  text-align: center;
22737
22771
  text-indent: 0;
22738
22772
  top: 4px;
22739
- transition: background-color 100ms ease-in, border-color 100ms ease-in, box-shadow 150ms ease-in-out, color 100ms ease-in, left 100ms ease-in, right 100ms ease-in;
22773
+ transition: background-color 100ms ease-in, border-color 100ms ease-in, box-shadow 150ms ease-in-out, color 100ms ease-in, left 100ms ease-in, opacity 100ms ease-in, right 100ms ease-in;
22740
22774
  width: 16px;
22741
22775
  z-index: 1;
22742
22776
  }
@@ -22921,6 +22955,55 @@ td.table-focus {
22921
22955
  .simple-toggle-switch-reverse.simple-toggle-switch .toggle-switch-label {
22922
22956
  margin-right: 0.5rem;
22923
22957
  }
22958
+ .toggle-switch-sm .simple-toggle-switch .toggle-switch-label, .simple-toggle-switch.toggle-switch-sm .toggle-switch-label {
22959
+ max-width: calc(100% - 38px);
22960
+ }
22961
+ .toggle-switch-sm .toggle-switch-check {
22962
+ height: 16px;
22963
+ width: 30px;
22964
+ }
22965
+ .toggle-switch-sm .toggle-switch-check ~ .toggle-switch-bar {
22966
+ height: 16px;
22967
+ line-height: 16px;
22968
+ }
22969
+ .toggle-switch-sm .toggle-switch-check ~ .toggle-switch-bar::before {
22970
+ width: 30px;
22971
+ }
22972
+ .toggle-switch-sm .toggle-switch-check ~ .toggle-switch-bar::after {
22973
+ height: 12px;
22974
+ width: 12px;
22975
+ bottom: 0;
22976
+ left: 2px;
22977
+ top: 2px;
22978
+ }
22979
+ .toggle-switch-sm .toggle-switch-check ~ .toggle-switch-bar .toggle-switch-handle {
22980
+ min-width: 30px;
22981
+ max-width: 30px;
22982
+ }
22983
+ .toggle-switch-sm .toggle-switch-check ~ .toggle-switch-bar .toggle-switch-handle::after {
22984
+ margin-left: 38px;
22985
+ }
22986
+ .toggle-switch-sm .toggle-switch-check ~ .toggle-switch-bar .toggle-switch-icon {
22987
+ font-size: 0.5rem;
22988
+ height: 16px;
22989
+ left: 0;
22990
+ line-height: 16px;
22991
+ width: 16px;
22992
+ top: 0px;
22993
+ }
22994
+ .toggle-switch-sm .toggle-switch-check ~ .toggle-switch-bar .toggle-switch-icon-off {
22995
+ left: 13px;
22996
+ }
22997
+ .toggle-switch-sm .toggle-switch-check:checked ~ .toggle-switch-bar::after {
22998
+ left: 16px;
22999
+ }
23000
+ .toggle-switch-sm .toggle-switch-check:checked ~ .toggle-switch-bar .button-icon {
23001
+ left: 14px;
23002
+ }
23003
+ .toggle-switch-sm .toggle-switch-label {
23004
+ font-size: 0.75rem;
23005
+ max-width: calc(100% - 38px);
23006
+ }
22924
23007
  .tooltip {
22925
23008
  display: block;
22926
23009
  font-family: system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen-Sans, Ubuntu, Cantarell, Helvetica Neue, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol;