@eightshift/ui-components 5.3.2 → 5.3.3
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/assets/style-admin.css +83 -50
- package/dist/assets/style-editor.css +83 -50
- package/dist/assets/style.css +83 -50
- package/dist/components/button/button.js +8 -4
- package/dist/components/menu/menu.js +3 -1
- package/dist/components/toggle-button/toggle-button.js +24 -19
- package/dist/icons/icons.js +27 -0
- package/package.json +1 -1
|
@@ -2182,6 +2182,16 @@
|
|
|
2182
2182
|
border-color: var(--es-color-accent-500) !important;
|
|
2183
2183
|
}
|
|
2184
2184
|
|
|
2185
|
+
:is(body, body #wpwrap) .es\:border-accent-500\/0 {
|
|
2186
|
+
border-color: var(--es-color-accent-500);
|
|
2187
|
+
}
|
|
2188
|
+
|
|
2189
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
2190
|
+
:is(body, body #wpwrap) .es\:border-accent-500\/0 {
|
|
2191
|
+
border-color: color-mix(in oklab, var(--es-color-accent-500) 0%, transparent);
|
|
2192
|
+
}
|
|
2193
|
+
}
|
|
2194
|
+
|
|
2185
2195
|
:is(body, body #wpwrap) .es\:border-accent-500\/10 {
|
|
2186
2196
|
border-color: var(--es-color-accent-500);
|
|
2187
2197
|
}
|
|
@@ -2394,7 +2404,7 @@
|
|
|
2394
2404
|
}
|
|
2395
2405
|
}
|
|
2396
2406
|
|
|
2397
|
-
:is(body, body #wpwrap) .es\:bg-accent-600
|
|
2407
|
+
:is(body, body #wpwrap) .es\:bg-accent-600\/15 {
|
|
2398
2408
|
background-color: var(--es-color-accent-600);
|
|
2399
2409
|
}
|
|
2400
2410
|
|
|
@@ -3616,16 +3626,6 @@
|
|
|
3616
3626
|
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
3617
3627
|
}
|
|
3618
3628
|
|
|
3619
|
-
:is(body, body #wpwrap) .es\:shadow-accent-500\/25 {
|
|
3620
|
-
--tw-shadow-color: var(--es-color-accent-500);
|
|
3621
|
-
}
|
|
3622
|
-
|
|
3623
|
-
@supports (color: color-mix(in lab, red, red)) {
|
|
3624
|
-
:is(body, body #wpwrap) .es\:shadow-accent-500\/25 {
|
|
3625
|
-
--tw-shadow-color: color-mix(in oklab, color-mix(in oklab, var(--es-color-accent-500) 25%, transparent) var(--tw-shadow-alpha), transparent);
|
|
3626
|
-
}
|
|
3627
|
-
}
|
|
3628
|
-
|
|
3629
3629
|
:is(body, body #wpwrap) .es\:shadow-accent-500\/30 {
|
|
3630
3630
|
--tw-shadow-color: var(--es-color-accent-500);
|
|
3631
3631
|
}
|
|
@@ -3770,6 +3770,16 @@
|
|
|
3770
3770
|
--tw-ring-color: var(--es-color-black);
|
|
3771
3771
|
}
|
|
3772
3772
|
|
|
3773
|
+
:is(body, body #wpwrap) .es\:inset-shadow-accent-400\/0 {
|
|
3774
|
+
--tw-inset-shadow-color: var(--es-color-accent-400);
|
|
3775
|
+
}
|
|
3776
|
+
|
|
3777
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
3778
|
+
:is(body, body #wpwrap) .es\:inset-shadow-accent-400\/0 {
|
|
3779
|
+
--tw-inset-shadow-color: color-mix(in oklab, color-mix(in oklab, var(--es-color-accent-400) 0%, transparent) var(--tw-inset-shadow-alpha), transparent);
|
|
3780
|
+
}
|
|
3781
|
+
}
|
|
3782
|
+
|
|
3773
3783
|
:is(body, body #wpwrap) .es\:inset-shadow-accent-400\/75 {
|
|
3774
3784
|
--tw-inset-shadow-color: var(--es-color-accent-400);
|
|
3775
3785
|
}
|
|
@@ -3814,10 +3824,16 @@
|
|
|
3814
3824
|
--tw-inset-ring-color: var(--es-color-accent-500);
|
|
3815
3825
|
}
|
|
3816
3826
|
|
|
3817
|
-
:is(body, body #wpwrap) .es\:inset-ring-accent-600 {
|
|
3827
|
+
:is(body, body #wpwrap) .es\:inset-ring-accent-600, :is(body, body #wpwrap) .es\:inset-ring-accent-600\/0 {
|
|
3818
3828
|
--tw-inset-ring-color: var(--es-color-accent-600);
|
|
3819
3829
|
}
|
|
3820
3830
|
|
|
3831
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
3832
|
+
:is(body, body #wpwrap) .es\:inset-ring-accent-600\/0 {
|
|
3833
|
+
--tw-inset-ring-color: color-mix(in oklab, var(--es-color-accent-600) 0%, transparent);
|
|
3834
|
+
}
|
|
3835
|
+
}
|
|
3836
|
+
|
|
3821
3837
|
:is(body, body #wpwrap) .es\:inset-ring-blue-100 {
|
|
3822
3838
|
--tw-inset-ring-color: var(--es-color-blue-100);
|
|
3823
3839
|
}
|
|
@@ -4092,16 +4108,6 @@
|
|
|
4092
4108
|
user-select: none;
|
|
4093
4109
|
}
|
|
4094
4110
|
|
|
4095
|
-
:is(body, body #wpwrap) .es\:accent-text-shadow {
|
|
4096
|
-
text-shadow: 0 1px 0 var(--es-color-accent-900);
|
|
4097
|
-
}
|
|
4098
|
-
|
|
4099
|
-
@supports (color: color-mix(in lab, red, red)) {
|
|
4100
|
-
:is(body, body #wpwrap) .es\:accent-text-shadow {
|
|
4101
|
-
text-shadow: 0 1px 0 color-mix(in oklab, var(--es-color-accent-900) 25%, transparent);
|
|
4102
|
-
}
|
|
4103
|
-
}
|
|
4104
|
-
|
|
4105
4111
|
:is(body, body #wpwrap) .es\:motion-delay-300\/blur {
|
|
4106
4112
|
--motion-filter-delay: .3s;
|
|
4107
4113
|
}
|
|
@@ -4130,8 +4136,8 @@
|
|
|
4130
4136
|
--motion-duration: 1.5s;
|
|
4131
4137
|
}
|
|
4132
4138
|
|
|
4133
|
-
:is(body, body #wpwrap) .es\:motion-duration-
|
|
4134
|
-
--motion-duration:
|
|
4139
|
+
:is(body, body #wpwrap) .es\:motion-duration-2000 {
|
|
4140
|
+
--motion-duration: 2s;
|
|
4135
4141
|
}
|
|
4136
4142
|
|
|
4137
4143
|
:is(body, body #wpwrap) .es\:no-webkit-highlight {
|
|
@@ -4769,6 +4775,28 @@
|
|
|
4769
4775
|
}
|
|
4770
4776
|
}
|
|
4771
4777
|
|
|
4778
|
+
:is(body, body #wpwrap) .es\:hover\:bg-accent-500\/10:where([data-rac])[data-hovered] {
|
|
4779
|
+
background-color: var(--es-color-accent-500);
|
|
4780
|
+
}
|
|
4781
|
+
|
|
4782
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
4783
|
+
:is(body, body #wpwrap) .es\:hover\:bg-accent-500\/10:where([data-rac])[data-hovered] {
|
|
4784
|
+
background-color: color-mix(in oklab, var(--es-color-accent-500) 10%, transparent);
|
|
4785
|
+
}
|
|
4786
|
+
}
|
|
4787
|
+
|
|
4788
|
+
@media (hover: hover) {
|
|
4789
|
+
:is(body, body #wpwrap) .es\:hover\:bg-accent-500\/10:where(:not([data-rac])):hover {
|
|
4790
|
+
background-color: var(--es-color-accent-500);
|
|
4791
|
+
}
|
|
4792
|
+
|
|
4793
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
4794
|
+
:is(body, body #wpwrap) .es\:hover\:bg-accent-500\/10:where(:not([data-rac])):hover {
|
|
4795
|
+
background-color: color-mix(in oklab, var(--es-color-accent-500) 10%, transparent);
|
|
4796
|
+
}
|
|
4797
|
+
}
|
|
4798
|
+
}
|
|
4799
|
+
|
|
4772
4800
|
:is(body, body #wpwrap) .es\:hover\:bg-red-50:where([data-rac])[data-hovered] {
|
|
4773
4801
|
background-color: var(--es-color-red-50);
|
|
4774
4802
|
}
|
|
@@ -4921,6 +4949,16 @@
|
|
|
4921
4949
|
}
|
|
4922
4950
|
}
|
|
4923
4951
|
|
|
4952
|
+
:is(body, body #wpwrap) .es\:hover\:text-accent-700:where([data-rac])[data-hovered] {
|
|
4953
|
+
color: var(--es-color-accent-700);
|
|
4954
|
+
}
|
|
4955
|
+
|
|
4956
|
+
@media (hover: hover) {
|
|
4957
|
+
:is(body, body #wpwrap) .es\:hover\:text-accent-700:where(:not([data-rac])):hover {
|
|
4958
|
+
color: var(--es-color-accent-700);
|
|
4959
|
+
}
|
|
4960
|
+
}
|
|
4961
|
+
|
|
4924
4962
|
:is(body, body #wpwrap) .es\:hover\:text-accent-900:where([data-rac])[data-hovered] {
|
|
4925
4963
|
color: var(--es-color-accent-900);
|
|
4926
4964
|
}
|
|
@@ -4971,28 +5009,6 @@
|
|
|
4971
5009
|
}
|
|
4972
5010
|
}
|
|
4973
5011
|
|
|
4974
|
-
:is(body, body #wpwrap) .es\:hover\:shadow-accent-600\/50:where([data-rac])[data-hovered] {
|
|
4975
|
-
--tw-shadow-color: var(--es-color-accent-600);
|
|
4976
|
-
}
|
|
4977
|
-
|
|
4978
|
-
@supports (color: color-mix(in lab, red, red)) {
|
|
4979
|
-
:is(body, body #wpwrap) .es\:hover\:shadow-accent-600\/50:where([data-rac])[data-hovered] {
|
|
4980
|
-
--tw-shadow-color: color-mix(in oklab, color-mix(in oklab, var(--es-color-accent-600) 50%, transparent) var(--tw-shadow-alpha), transparent);
|
|
4981
|
-
}
|
|
4982
|
-
}
|
|
4983
|
-
|
|
4984
|
-
@media (hover: hover) {
|
|
4985
|
-
:is(body, body #wpwrap) .es\:hover\:shadow-accent-600\/50:where(:not([data-rac])):hover {
|
|
4986
|
-
--tw-shadow-color: var(--es-color-accent-600);
|
|
4987
|
-
}
|
|
4988
|
-
|
|
4989
|
-
@supports (color: color-mix(in lab, red, red)) {
|
|
4990
|
-
:is(body, body #wpwrap) .es\:hover\:shadow-accent-600\/50:where(:not([data-rac])):hover {
|
|
4991
|
-
--tw-shadow-color: color-mix(in oklab, color-mix(in oklab, var(--es-color-accent-600) 50%, transparent) var(--tw-shadow-alpha), transparent);
|
|
4992
|
-
}
|
|
4993
|
-
}
|
|
4994
|
-
}
|
|
4995
|
-
|
|
4996
5012
|
:is(body, body #wpwrap) .es\:hover\:inset-shadow-red-100:where([data-rac])[data-hovered] {
|
|
4997
5013
|
--tw-inset-shadow-color: var(--es-color-red-100);
|
|
4998
5014
|
}
|
|
@@ -5499,6 +5515,10 @@
|
|
|
5499
5515
|
color: var(--es-color-accent-500);
|
|
5500
5516
|
}
|
|
5501
5517
|
|
|
5518
|
+
:is(body, body #wpwrap) .es\:active\:text-accent-950:where([data-rac])[data-active], :is(body, body #wpwrap) .es\:active\:text-accent-950:where(:not([data-rac])):active {
|
|
5519
|
+
color: var(--es-color-accent-950);
|
|
5520
|
+
}
|
|
5521
|
+
|
|
5502
5522
|
:is(body, body #wpwrap) .es\:enabled\:not-pending\:cursor-pointer:enabled:not([data-pending]) {
|
|
5503
5523
|
cursor: pointer;
|
|
5504
5524
|
}
|
|
@@ -5634,10 +5654,6 @@
|
|
|
5634
5654
|
border-color: var(--es-color-secondary-200);
|
|
5635
5655
|
}
|
|
5636
5656
|
|
|
5637
|
-
:is(body, body #wpwrap) .es\:disabled\:border-secondary-300:is(:disabled, [data-rac][data-disabled]) {
|
|
5638
|
-
border-color: var(--es-color-secondary-300);
|
|
5639
|
-
}
|
|
5640
|
-
|
|
5641
5657
|
:is(body, body #wpwrap) .es\:disabled\:border-transparent\!:is(:disabled, [data-rac][data-disabled]) {
|
|
5642
5658
|
border-color: #0000 !important;
|
|
5643
5659
|
}
|
|
@@ -6074,6 +6090,14 @@
|
|
|
6074
6090
|
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow) !important;
|
|
6075
6091
|
}
|
|
6076
6092
|
|
|
6093
|
+
:is(body, body #wpwrap) .es\:pressed\:bg-accent-50[data-pressed] {
|
|
6094
|
+
background-color: var(--es-color-accent-50);
|
|
6095
|
+
}
|
|
6096
|
+
|
|
6097
|
+
:is(body, body #wpwrap) .es\:pressed\:text-accent-950[data-pressed] {
|
|
6098
|
+
color: var(--es-color-accent-950);
|
|
6099
|
+
}
|
|
6100
|
+
|
|
6077
6101
|
:is(body, body #wpwrap) .es\:enabled\:pressed\:bg-accent-50:enabled[data-pressed] {
|
|
6078
6102
|
background-color: var(--es-color-accent-50);
|
|
6079
6103
|
}
|
|
@@ -6340,6 +6364,11 @@
|
|
|
6340
6364
|
height: calc(var(--es-spacing) * 3);
|
|
6341
6365
|
}
|
|
6342
6366
|
|
|
6367
|
+
:is(body, body #wpwrap) .es\:icon\:size-3\! > svg {
|
|
6368
|
+
width: calc(var(--es-spacing) * 3) !important;
|
|
6369
|
+
height: calc(var(--es-spacing) * 3) !important;
|
|
6370
|
+
}
|
|
6371
|
+
|
|
6343
6372
|
:is(body, body #wpwrap) .es\:icon\:size-3\.5 > svg {
|
|
6344
6373
|
width: calc(var(--es-spacing) * 3.5);
|
|
6345
6374
|
height: calc(var(--es-spacing) * 3.5);
|
|
@@ -6408,6 +6437,10 @@
|
|
|
6408
6437
|
stroke-width: 2px;
|
|
6409
6438
|
}
|
|
6410
6439
|
|
|
6440
|
+
:is(body, body #wpwrap) .es\:icon\:stroke-2\! > svg {
|
|
6441
|
+
stroke-width: 2px !important;
|
|
6442
|
+
}
|
|
6443
|
+
|
|
6411
6444
|
:is(body, body #wpwrap) .es\:icon\:stroke-3 > svg {
|
|
6412
6445
|
stroke-width: 3px;
|
|
6413
6446
|
}
|
|
@@ -2182,6 +2182,16 @@ button, input:where([type="button"], [type="reset"], [type="submit"]) {
|
|
|
2182
2182
|
border-color: var(--es-color-accent-500) !important;
|
|
2183
2183
|
}
|
|
2184
2184
|
|
|
2185
|
+
:is(body, #wpwrap #editor) .es\:border-accent-500\/0 {
|
|
2186
|
+
border-color: var(--es-color-accent-500);
|
|
2187
|
+
}
|
|
2188
|
+
|
|
2189
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
2190
|
+
:is(body, #wpwrap #editor) .es\:border-accent-500\/0 {
|
|
2191
|
+
border-color: color-mix(in oklab, var(--es-color-accent-500) 0%, transparent);
|
|
2192
|
+
}
|
|
2193
|
+
}
|
|
2194
|
+
|
|
2185
2195
|
:is(body, #wpwrap #editor) .es\:border-accent-500\/10 {
|
|
2186
2196
|
border-color: var(--es-color-accent-500);
|
|
2187
2197
|
}
|
|
@@ -2394,7 +2404,7 @@ button, input:where([type="button"], [type="reset"], [type="submit"]) {
|
|
|
2394
2404
|
}
|
|
2395
2405
|
}
|
|
2396
2406
|
|
|
2397
|
-
:is(body, #wpwrap #editor) .es\:bg-accent-600
|
|
2407
|
+
:is(body, #wpwrap #editor) .es\:bg-accent-600\/15 {
|
|
2398
2408
|
background-color: var(--es-color-accent-600);
|
|
2399
2409
|
}
|
|
2400
2410
|
|
|
@@ -3616,16 +3626,6 @@ button, input:where([type="button"], [type="reset"], [type="submit"]) {
|
|
|
3616
3626
|
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
3617
3627
|
}
|
|
3618
3628
|
|
|
3619
|
-
:is(body, #wpwrap #editor) .es\:shadow-accent-500\/25 {
|
|
3620
|
-
--tw-shadow-color: var(--es-color-accent-500);
|
|
3621
|
-
}
|
|
3622
|
-
|
|
3623
|
-
@supports (color: color-mix(in lab, red, red)) {
|
|
3624
|
-
:is(body, #wpwrap #editor) .es\:shadow-accent-500\/25 {
|
|
3625
|
-
--tw-shadow-color: color-mix(in oklab, color-mix(in oklab, var(--es-color-accent-500) 25%, transparent) var(--tw-shadow-alpha), transparent);
|
|
3626
|
-
}
|
|
3627
|
-
}
|
|
3628
|
-
|
|
3629
3629
|
:is(body, #wpwrap #editor) .es\:shadow-accent-500\/30 {
|
|
3630
3630
|
--tw-shadow-color: var(--es-color-accent-500);
|
|
3631
3631
|
}
|
|
@@ -3770,6 +3770,16 @@ button, input:where([type="button"], [type="reset"], [type="submit"]) {
|
|
|
3770
3770
|
--tw-ring-color: var(--es-color-black);
|
|
3771
3771
|
}
|
|
3772
3772
|
|
|
3773
|
+
:is(body, #wpwrap #editor) .es\:inset-shadow-accent-400\/0 {
|
|
3774
|
+
--tw-inset-shadow-color: var(--es-color-accent-400);
|
|
3775
|
+
}
|
|
3776
|
+
|
|
3777
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
3778
|
+
:is(body, #wpwrap #editor) .es\:inset-shadow-accent-400\/0 {
|
|
3779
|
+
--tw-inset-shadow-color: color-mix(in oklab, color-mix(in oklab, var(--es-color-accent-400) 0%, transparent) var(--tw-inset-shadow-alpha), transparent);
|
|
3780
|
+
}
|
|
3781
|
+
}
|
|
3782
|
+
|
|
3773
3783
|
:is(body, #wpwrap #editor) .es\:inset-shadow-accent-400\/75 {
|
|
3774
3784
|
--tw-inset-shadow-color: var(--es-color-accent-400);
|
|
3775
3785
|
}
|
|
@@ -3814,10 +3824,16 @@ button, input:where([type="button"], [type="reset"], [type="submit"]) {
|
|
|
3814
3824
|
--tw-inset-ring-color: var(--es-color-accent-500);
|
|
3815
3825
|
}
|
|
3816
3826
|
|
|
3817
|
-
:is(body, #wpwrap #editor) .es\:inset-ring-accent-600 {
|
|
3827
|
+
:is(body, #wpwrap #editor) .es\:inset-ring-accent-600, :is(body, #wpwrap #editor) .es\:inset-ring-accent-600\/0 {
|
|
3818
3828
|
--tw-inset-ring-color: var(--es-color-accent-600);
|
|
3819
3829
|
}
|
|
3820
3830
|
|
|
3831
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
3832
|
+
:is(body, #wpwrap #editor) .es\:inset-ring-accent-600\/0 {
|
|
3833
|
+
--tw-inset-ring-color: color-mix(in oklab, var(--es-color-accent-600) 0%, transparent);
|
|
3834
|
+
}
|
|
3835
|
+
}
|
|
3836
|
+
|
|
3821
3837
|
:is(body, #wpwrap #editor) .es\:inset-ring-blue-100 {
|
|
3822
3838
|
--tw-inset-ring-color: var(--es-color-blue-100);
|
|
3823
3839
|
}
|
|
@@ -4092,16 +4108,6 @@ button, input:where([type="button"], [type="reset"], [type="submit"]) {
|
|
|
4092
4108
|
user-select: none;
|
|
4093
4109
|
}
|
|
4094
4110
|
|
|
4095
|
-
:is(body, #wpwrap #editor) .es\:accent-text-shadow {
|
|
4096
|
-
text-shadow: 0 1px 0 var(--es-color-accent-900);
|
|
4097
|
-
}
|
|
4098
|
-
|
|
4099
|
-
@supports (color: color-mix(in lab, red, red)) {
|
|
4100
|
-
:is(body, #wpwrap #editor) .es\:accent-text-shadow {
|
|
4101
|
-
text-shadow: 0 1px 0 color-mix(in oklab, var(--es-color-accent-900) 25%, transparent);
|
|
4102
|
-
}
|
|
4103
|
-
}
|
|
4104
|
-
|
|
4105
4111
|
:is(body, #wpwrap #editor) .es\:motion-delay-300\/blur {
|
|
4106
4112
|
--motion-filter-delay: .3s;
|
|
4107
4113
|
}
|
|
@@ -4130,8 +4136,8 @@ button, input:where([type="button"], [type="reset"], [type="submit"]) {
|
|
|
4130
4136
|
--motion-duration: 1.5s;
|
|
4131
4137
|
}
|
|
4132
4138
|
|
|
4133
|
-
:is(body, #wpwrap #editor) .es\:motion-duration-
|
|
4134
|
-
--motion-duration:
|
|
4139
|
+
:is(body, #wpwrap #editor) .es\:motion-duration-2000 {
|
|
4140
|
+
--motion-duration: 2s;
|
|
4135
4141
|
}
|
|
4136
4142
|
|
|
4137
4143
|
:is(body, #wpwrap #editor) .es\:no-webkit-highlight {
|
|
@@ -4769,6 +4775,28 @@ button, input:where([type="button"], [type="reset"], [type="submit"]) {
|
|
|
4769
4775
|
}
|
|
4770
4776
|
}
|
|
4771
4777
|
|
|
4778
|
+
:is(body, #wpwrap #editor) .es\:hover\:bg-accent-500\/10:where([data-rac])[data-hovered] {
|
|
4779
|
+
background-color: var(--es-color-accent-500);
|
|
4780
|
+
}
|
|
4781
|
+
|
|
4782
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
4783
|
+
:is(body, #wpwrap #editor) .es\:hover\:bg-accent-500\/10:where([data-rac])[data-hovered] {
|
|
4784
|
+
background-color: color-mix(in oklab, var(--es-color-accent-500) 10%, transparent);
|
|
4785
|
+
}
|
|
4786
|
+
}
|
|
4787
|
+
|
|
4788
|
+
@media (hover: hover) {
|
|
4789
|
+
:is(body, #wpwrap #editor) .es\:hover\:bg-accent-500\/10:where(:not([data-rac])):hover {
|
|
4790
|
+
background-color: var(--es-color-accent-500);
|
|
4791
|
+
}
|
|
4792
|
+
|
|
4793
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
4794
|
+
:is(body, #wpwrap #editor) .es\:hover\:bg-accent-500\/10:where(:not([data-rac])):hover {
|
|
4795
|
+
background-color: color-mix(in oklab, var(--es-color-accent-500) 10%, transparent);
|
|
4796
|
+
}
|
|
4797
|
+
}
|
|
4798
|
+
}
|
|
4799
|
+
|
|
4772
4800
|
:is(body, #wpwrap #editor) .es\:hover\:bg-red-50:where([data-rac])[data-hovered] {
|
|
4773
4801
|
background-color: var(--es-color-red-50);
|
|
4774
4802
|
}
|
|
@@ -4921,6 +4949,16 @@ button, input:where([type="button"], [type="reset"], [type="submit"]) {
|
|
|
4921
4949
|
}
|
|
4922
4950
|
}
|
|
4923
4951
|
|
|
4952
|
+
:is(body, #wpwrap #editor) .es\:hover\:text-accent-700:where([data-rac])[data-hovered] {
|
|
4953
|
+
color: var(--es-color-accent-700);
|
|
4954
|
+
}
|
|
4955
|
+
|
|
4956
|
+
@media (hover: hover) {
|
|
4957
|
+
:is(body, #wpwrap #editor) .es\:hover\:text-accent-700:where(:not([data-rac])):hover {
|
|
4958
|
+
color: var(--es-color-accent-700);
|
|
4959
|
+
}
|
|
4960
|
+
}
|
|
4961
|
+
|
|
4924
4962
|
:is(body, #wpwrap #editor) .es\:hover\:text-accent-900:where([data-rac])[data-hovered] {
|
|
4925
4963
|
color: var(--es-color-accent-900);
|
|
4926
4964
|
}
|
|
@@ -4971,28 +5009,6 @@ button, input:where([type="button"], [type="reset"], [type="submit"]) {
|
|
|
4971
5009
|
}
|
|
4972
5010
|
}
|
|
4973
5011
|
|
|
4974
|
-
:is(body, #wpwrap #editor) .es\:hover\:shadow-accent-600\/50:where([data-rac])[data-hovered] {
|
|
4975
|
-
--tw-shadow-color: var(--es-color-accent-600);
|
|
4976
|
-
}
|
|
4977
|
-
|
|
4978
|
-
@supports (color: color-mix(in lab, red, red)) {
|
|
4979
|
-
:is(body, #wpwrap #editor) .es\:hover\:shadow-accent-600\/50:where([data-rac])[data-hovered] {
|
|
4980
|
-
--tw-shadow-color: color-mix(in oklab, color-mix(in oklab, var(--es-color-accent-600) 50%, transparent) var(--tw-shadow-alpha), transparent);
|
|
4981
|
-
}
|
|
4982
|
-
}
|
|
4983
|
-
|
|
4984
|
-
@media (hover: hover) {
|
|
4985
|
-
:is(body, #wpwrap #editor) .es\:hover\:shadow-accent-600\/50:where(:not([data-rac])):hover {
|
|
4986
|
-
--tw-shadow-color: var(--es-color-accent-600);
|
|
4987
|
-
}
|
|
4988
|
-
|
|
4989
|
-
@supports (color: color-mix(in lab, red, red)) {
|
|
4990
|
-
:is(body, #wpwrap #editor) .es\:hover\:shadow-accent-600\/50:where(:not([data-rac])):hover {
|
|
4991
|
-
--tw-shadow-color: color-mix(in oklab, color-mix(in oklab, var(--es-color-accent-600) 50%, transparent) var(--tw-shadow-alpha), transparent);
|
|
4992
|
-
}
|
|
4993
|
-
}
|
|
4994
|
-
}
|
|
4995
|
-
|
|
4996
5012
|
:is(body, #wpwrap #editor) .es\:hover\:inset-shadow-red-100:where([data-rac])[data-hovered] {
|
|
4997
5013
|
--tw-inset-shadow-color: var(--es-color-red-100);
|
|
4998
5014
|
}
|
|
@@ -5499,6 +5515,10 @@ button, input:where([type="button"], [type="reset"], [type="submit"]) {
|
|
|
5499
5515
|
color: var(--es-color-accent-500);
|
|
5500
5516
|
}
|
|
5501
5517
|
|
|
5518
|
+
:is(body, #wpwrap #editor) .es\:active\:text-accent-950:where([data-rac])[data-active], :is(body, #wpwrap #editor) .es\:active\:text-accent-950:where(:not([data-rac])):active {
|
|
5519
|
+
color: var(--es-color-accent-950);
|
|
5520
|
+
}
|
|
5521
|
+
|
|
5502
5522
|
:is(body, #wpwrap #editor) .es\:enabled\:not-pending\:cursor-pointer:enabled:not([data-pending]) {
|
|
5503
5523
|
cursor: pointer;
|
|
5504
5524
|
}
|
|
@@ -5634,10 +5654,6 @@ button, input:where([type="button"], [type="reset"], [type="submit"]) {
|
|
|
5634
5654
|
border-color: var(--es-color-secondary-200);
|
|
5635
5655
|
}
|
|
5636
5656
|
|
|
5637
|
-
:is(body, #wpwrap #editor) .es\:disabled\:border-secondary-300:is(:disabled, [data-rac][data-disabled]) {
|
|
5638
|
-
border-color: var(--es-color-secondary-300);
|
|
5639
|
-
}
|
|
5640
|
-
|
|
5641
5657
|
:is(body, #wpwrap #editor) .es\:disabled\:border-transparent\!:is(:disabled, [data-rac][data-disabled]) {
|
|
5642
5658
|
border-color: #0000 !important;
|
|
5643
5659
|
}
|
|
@@ -6074,6 +6090,14 @@ button, input:where([type="button"], [type="reset"], [type="submit"]) {
|
|
|
6074
6090
|
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow) !important;
|
|
6075
6091
|
}
|
|
6076
6092
|
|
|
6093
|
+
:is(body, #wpwrap #editor) .es\:pressed\:bg-accent-50[data-pressed] {
|
|
6094
|
+
background-color: var(--es-color-accent-50);
|
|
6095
|
+
}
|
|
6096
|
+
|
|
6097
|
+
:is(body, #wpwrap #editor) .es\:pressed\:text-accent-950[data-pressed] {
|
|
6098
|
+
color: var(--es-color-accent-950);
|
|
6099
|
+
}
|
|
6100
|
+
|
|
6077
6101
|
:is(body, #wpwrap #editor) .es\:enabled\:pressed\:bg-accent-50:enabled[data-pressed] {
|
|
6078
6102
|
background-color: var(--es-color-accent-50);
|
|
6079
6103
|
}
|
|
@@ -6340,6 +6364,11 @@ button, input:where([type="button"], [type="reset"], [type="submit"]) {
|
|
|
6340
6364
|
height: calc(var(--es-spacing) * 3);
|
|
6341
6365
|
}
|
|
6342
6366
|
|
|
6367
|
+
:is(body, #wpwrap #editor) .es\:icon\:size-3\! > svg {
|
|
6368
|
+
width: calc(var(--es-spacing) * 3) !important;
|
|
6369
|
+
height: calc(var(--es-spacing) * 3) !important;
|
|
6370
|
+
}
|
|
6371
|
+
|
|
6343
6372
|
:is(body, #wpwrap #editor) .es\:icon\:size-3\.5 > svg {
|
|
6344
6373
|
width: calc(var(--es-spacing) * 3.5);
|
|
6345
6374
|
height: calc(var(--es-spacing) * 3.5);
|
|
@@ -6408,6 +6437,10 @@ button, input:where([type="button"], [type="reset"], [type="submit"]) {
|
|
|
6408
6437
|
stroke-width: 2px;
|
|
6409
6438
|
}
|
|
6410
6439
|
|
|
6440
|
+
:is(body, #wpwrap #editor) .es\:icon\:stroke-2\! > svg {
|
|
6441
|
+
stroke-width: 2px !important;
|
|
6442
|
+
}
|
|
6443
|
+
|
|
6411
6444
|
:is(body, #wpwrap #editor) .es\:icon\:stroke-3 > svg {
|
|
6412
6445
|
stroke-width: 3px;
|
|
6413
6446
|
}
|
package/dist/assets/style.css
CHANGED
|
@@ -2667,6 +2667,16 @@
|
|
|
2667
2667
|
border-color: var(--es-color-accent-500) !important;
|
|
2668
2668
|
}
|
|
2669
2669
|
|
|
2670
|
+
.es\:border-accent-500\/0 {
|
|
2671
|
+
border-color: var(--es-color-accent-500);
|
|
2672
|
+
}
|
|
2673
|
+
|
|
2674
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
2675
|
+
.es\:border-accent-500\/0 {
|
|
2676
|
+
border-color: color-mix(in oklab, var(--es-color-accent-500) 0%, transparent);
|
|
2677
|
+
}
|
|
2678
|
+
}
|
|
2679
|
+
|
|
2670
2680
|
.es\:border-accent-500\/10 {
|
|
2671
2681
|
border-color: var(--es-color-accent-500);
|
|
2672
2682
|
}
|
|
@@ -2879,7 +2889,7 @@
|
|
|
2879
2889
|
}
|
|
2880
2890
|
}
|
|
2881
2891
|
|
|
2882
|
-
.es\:bg-accent-600
|
|
2892
|
+
.es\:bg-accent-600\/15 {
|
|
2883
2893
|
background-color: var(--es-color-accent-600);
|
|
2884
2894
|
}
|
|
2885
2895
|
|
|
@@ -4101,16 +4111,6 @@
|
|
|
4101
4111
|
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
4102
4112
|
}
|
|
4103
4113
|
|
|
4104
|
-
.es\:shadow-accent-500\/25 {
|
|
4105
|
-
--tw-shadow-color: var(--es-color-accent-500);
|
|
4106
|
-
}
|
|
4107
|
-
|
|
4108
|
-
@supports (color: color-mix(in lab, red, red)) {
|
|
4109
|
-
.es\:shadow-accent-500\/25 {
|
|
4110
|
-
--tw-shadow-color: color-mix(in oklab, color-mix(in oklab, var(--es-color-accent-500) 25%, transparent) var(--tw-shadow-alpha), transparent);
|
|
4111
|
-
}
|
|
4112
|
-
}
|
|
4113
|
-
|
|
4114
4114
|
.es\:shadow-accent-500\/30 {
|
|
4115
4115
|
--tw-shadow-color: var(--es-color-accent-500);
|
|
4116
4116
|
}
|
|
@@ -4255,6 +4255,16 @@
|
|
|
4255
4255
|
--tw-ring-color: var(--es-color-black);
|
|
4256
4256
|
}
|
|
4257
4257
|
|
|
4258
|
+
.es\:inset-shadow-accent-400\/0 {
|
|
4259
|
+
--tw-inset-shadow-color: var(--es-color-accent-400);
|
|
4260
|
+
}
|
|
4261
|
+
|
|
4262
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
4263
|
+
.es\:inset-shadow-accent-400\/0 {
|
|
4264
|
+
--tw-inset-shadow-color: color-mix(in oklab, color-mix(in oklab, var(--es-color-accent-400) 0%, transparent) var(--tw-inset-shadow-alpha), transparent);
|
|
4265
|
+
}
|
|
4266
|
+
}
|
|
4267
|
+
|
|
4258
4268
|
.es\:inset-shadow-accent-400\/75 {
|
|
4259
4269
|
--tw-inset-shadow-color: var(--es-color-accent-400);
|
|
4260
4270
|
}
|
|
@@ -4299,10 +4309,16 @@
|
|
|
4299
4309
|
--tw-inset-ring-color: var(--es-color-accent-500);
|
|
4300
4310
|
}
|
|
4301
4311
|
|
|
4302
|
-
.es\:inset-ring-accent-600 {
|
|
4312
|
+
.es\:inset-ring-accent-600, .es\:inset-ring-accent-600\/0 {
|
|
4303
4313
|
--tw-inset-ring-color: var(--es-color-accent-600);
|
|
4304
4314
|
}
|
|
4305
4315
|
|
|
4316
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
4317
|
+
.es\:inset-ring-accent-600\/0 {
|
|
4318
|
+
--tw-inset-ring-color: color-mix(in oklab, var(--es-color-accent-600) 0%, transparent);
|
|
4319
|
+
}
|
|
4320
|
+
}
|
|
4321
|
+
|
|
4306
4322
|
.es\:inset-ring-blue-100 {
|
|
4307
4323
|
--tw-inset-ring-color: var(--es-color-blue-100);
|
|
4308
4324
|
}
|
|
@@ -4577,16 +4593,6 @@
|
|
|
4577
4593
|
user-select: none;
|
|
4578
4594
|
}
|
|
4579
4595
|
|
|
4580
|
-
.es\:accent-text-shadow {
|
|
4581
|
-
text-shadow: 0 1px 0 var(--es-color-accent-900);
|
|
4582
|
-
}
|
|
4583
|
-
|
|
4584
|
-
@supports (color: color-mix(in lab, red, red)) {
|
|
4585
|
-
.es\:accent-text-shadow {
|
|
4586
|
-
text-shadow: 0 1px 0 color-mix(in oklab, var(--es-color-accent-900) 25%, transparent);
|
|
4587
|
-
}
|
|
4588
|
-
}
|
|
4589
|
-
|
|
4590
4596
|
.es\:motion-delay-300\/blur {
|
|
4591
4597
|
--motion-filter-delay: .3s;
|
|
4592
4598
|
}
|
|
@@ -4615,8 +4621,8 @@
|
|
|
4615
4621
|
--motion-duration: 1.5s;
|
|
4616
4622
|
}
|
|
4617
4623
|
|
|
4618
|
-
.es\:motion-duration-
|
|
4619
|
-
--motion-duration:
|
|
4624
|
+
.es\:motion-duration-2000 {
|
|
4625
|
+
--motion-duration: 2s;
|
|
4620
4626
|
}
|
|
4621
4627
|
|
|
4622
4628
|
.es\:no-webkit-highlight {
|
|
@@ -5254,6 +5260,28 @@
|
|
|
5254
5260
|
}
|
|
5255
5261
|
}
|
|
5256
5262
|
|
|
5263
|
+
.es\:hover\:bg-accent-500\/10:where([data-rac])[data-hovered] {
|
|
5264
|
+
background-color: var(--es-color-accent-500);
|
|
5265
|
+
}
|
|
5266
|
+
|
|
5267
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
5268
|
+
.es\:hover\:bg-accent-500\/10:where([data-rac])[data-hovered] {
|
|
5269
|
+
background-color: color-mix(in oklab, var(--es-color-accent-500) 10%, transparent);
|
|
5270
|
+
}
|
|
5271
|
+
}
|
|
5272
|
+
|
|
5273
|
+
@media (hover: hover) {
|
|
5274
|
+
.es\:hover\:bg-accent-500\/10:where(:not([data-rac])):hover {
|
|
5275
|
+
background-color: var(--es-color-accent-500);
|
|
5276
|
+
}
|
|
5277
|
+
|
|
5278
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
5279
|
+
.es\:hover\:bg-accent-500\/10:where(:not([data-rac])):hover {
|
|
5280
|
+
background-color: color-mix(in oklab, var(--es-color-accent-500) 10%, transparent);
|
|
5281
|
+
}
|
|
5282
|
+
}
|
|
5283
|
+
}
|
|
5284
|
+
|
|
5257
5285
|
.es\:hover\:bg-red-50:where([data-rac])[data-hovered] {
|
|
5258
5286
|
background-color: var(--es-color-red-50);
|
|
5259
5287
|
}
|
|
@@ -5406,6 +5434,16 @@
|
|
|
5406
5434
|
}
|
|
5407
5435
|
}
|
|
5408
5436
|
|
|
5437
|
+
.es\:hover\:text-accent-700:where([data-rac])[data-hovered] {
|
|
5438
|
+
color: var(--es-color-accent-700);
|
|
5439
|
+
}
|
|
5440
|
+
|
|
5441
|
+
@media (hover: hover) {
|
|
5442
|
+
.es\:hover\:text-accent-700:where(:not([data-rac])):hover {
|
|
5443
|
+
color: var(--es-color-accent-700);
|
|
5444
|
+
}
|
|
5445
|
+
}
|
|
5446
|
+
|
|
5409
5447
|
.es\:hover\:text-accent-900:where([data-rac])[data-hovered] {
|
|
5410
5448
|
color: var(--es-color-accent-900);
|
|
5411
5449
|
}
|
|
@@ -5456,28 +5494,6 @@
|
|
|
5456
5494
|
}
|
|
5457
5495
|
}
|
|
5458
5496
|
|
|
5459
|
-
.es\:hover\:shadow-accent-600\/50:where([data-rac])[data-hovered] {
|
|
5460
|
-
--tw-shadow-color: var(--es-color-accent-600);
|
|
5461
|
-
}
|
|
5462
|
-
|
|
5463
|
-
@supports (color: color-mix(in lab, red, red)) {
|
|
5464
|
-
.es\:hover\:shadow-accent-600\/50:where([data-rac])[data-hovered] {
|
|
5465
|
-
--tw-shadow-color: color-mix(in oklab, color-mix(in oklab, var(--es-color-accent-600) 50%, transparent) var(--tw-shadow-alpha), transparent);
|
|
5466
|
-
}
|
|
5467
|
-
}
|
|
5468
|
-
|
|
5469
|
-
@media (hover: hover) {
|
|
5470
|
-
.es\:hover\:shadow-accent-600\/50:where(:not([data-rac])):hover {
|
|
5471
|
-
--tw-shadow-color: var(--es-color-accent-600);
|
|
5472
|
-
}
|
|
5473
|
-
|
|
5474
|
-
@supports (color: color-mix(in lab, red, red)) {
|
|
5475
|
-
.es\:hover\:shadow-accent-600\/50:where(:not([data-rac])):hover {
|
|
5476
|
-
--tw-shadow-color: color-mix(in oklab, color-mix(in oklab, var(--es-color-accent-600) 50%, transparent) var(--tw-shadow-alpha), transparent);
|
|
5477
|
-
}
|
|
5478
|
-
}
|
|
5479
|
-
}
|
|
5480
|
-
|
|
5481
5497
|
.es\:hover\:inset-shadow-red-100:where([data-rac])[data-hovered] {
|
|
5482
5498
|
--tw-inset-shadow-color: var(--es-color-red-100);
|
|
5483
5499
|
}
|
|
@@ -5984,6 +6000,10 @@
|
|
|
5984
6000
|
color: var(--es-color-accent-500);
|
|
5985
6001
|
}
|
|
5986
6002
|
|
|
6003
|
+
.es\:active\:text-accent-950:where([data-rac])[data-active], .es\:active\:text-accent-950:where(:not([data-rac])):active {
|
|
6004
|
+
color: var(--es-color-accent-950);
|
|
6005
|
+
}
|
|
6006
|
+
|
|
5987
6007
|
.es\:enabled\:not-pending\:cursor-pointer:enabled:not([data-pending]) {
|
|
5988
6008
|
cursor: pointer;
|
|
5989
6009
|
}
|
|
@@ -6119,10 +6139,6 @@
|
|
|
6119
6139
|
border-color: var(--es-color-secondary-200);
|
|
6120
6140
|
}
|
|
6121
6141
|
|
|
6122
|
-
.es\:disabled\:border-secondary-300:is(:disabled, [data-rac][data-disabled]) {
|
|
6123
|
-
border-color: var(--es-color-secondary-300);
|
|
6124
|
-
}
|
|
6125
|
-
|
|
6126
6142
|
.es\:disabled\:border-transparent\!:is(:disabled, [data-rac][data-disabled]) {
|
|
6127
6143
|
border-color: #0000 !important;
|
|
6128
6144
|
}
|
|
@@ -6559,6 +6575,14 @@
|
|
|
6559
6575
|
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow) !important;
|
|
6560
6576
|
}
|
|
6561
6577
|
|
|
6578
|
+
.es\:pressed\:bg-accent-50[data-pressed] {
|
|
6579
|
+
background-color: var(--es-color-accent-50);
|
|
6580
|
+
}
|
|
6581
|
+
|
|
6582
|
+
.es\:pressed\:text-accent-950[data-pressed] {
|
|
6583
|
+
color: var(--es-color-accent-950);
|
|
6584
|
+
}
|
|
6585
|
+
|
|
6562
6586
|
.es\:enabled\:pressed\:bg-accent-50:enabled[data-pressed] {
|
|
6563
6587
|
background-color: var(--es-color-accent-50);
|
|
6564
6588
|
}
|
|
@@ -6825,6 +6849,11 @@
|
|
|
6825
6849
|
height: calc(var(--es-spacing) * 3);
|
|
6826
6850
|
}
|
|
6827
6851
|
|
|
6852
|
+
.es\:icon\:size-3\! > svg {
|
|
6853
|
+
width: calc(var(--es-spacing) * 3) !important;
|
|
6854
|
+
height: calc(var(--es-spacing) * 3) !important;
|
|
6855
|
+
}
|
|
6856
|
+
|
|
6828
6857
|
.es\:icon\:size-3\.5 > svg {
|
|
6829
6858
|
width: calc(var(--es-spacing) * 3.5);
|
|
6830
6859
|
height: calc(var(--es-spacing) * 3.5);
|
|
@@ -6893,6 +6922,10 @@
|
|
|
6893
6922
|
stroke-width: 2px;
|
|
6894
6923
|
}
|
|
6895
6924
|
|
|
6925
|
+
.es\:icon\:stroke-2\! > svg {
|
|
6926
|
+
stroke-width: 2px !important;
|
|
6927
|
+
}
|
|
6928
|
+
|
|
6896
6929
|
.es\:icon\:stroke-3 > svg {
|
|
6897
6930
|
stroke-width: 3px;
|
|
6898
6931
|
}
|
|
@@ -333,8 +333,8 @@ const Button = (props) => {
|
|
|
333
333
|
isPending: pending,
|
|
334
334
|
className: componentClasses({
|
|
335
335
|
disabled: !pending && disabled,
|
|
336
|
-
hasIcon:
|
|
337
|
-
iconOnly:
|
|
336
|
+
hasIcon: Boolean(icon),
|
|
337
|
+
iconOnly: Boolean(icon && !children),
|
|
338
338
|
size,
|
|
339
339
|
type
|
|
340
340
|
}),
|
|
@@ -346,7 +346,11 @@ const Button = (props) => {
|
|
|
346
346
|
icon,
|
|
347
347
|
children
|
|
348
348
|
] }),
|
|
349
|
-
isPending && /* @__PURE__ */ jsxs(
|
|
349
|
+
isPending && /* @__PURE__ */ jsxs("div", { className: "es:relative", children: [
|
|
350
|
+
/* @__PURE__ */ jsxs("div", { className: "es:invisible", children: [
|
|
351
|
+
icon,
|
|
352
|
+
children
|
|
353
|
+
] }),
|
|
350
354
|
/* @__PURE__ */ jsx(
|
|
351
355
|
$0393f8ab869a0f1a$export$c17561cb55d4db30,
|
|
352
356
|
{
|
|
@@ -355,7 +359,7 @@ const Button = (props) => {
|
|
|
355
359
|
isIndeterminate: true
|
|
356
360
|
}
|
|
357
361
|
),
|
|
358
|
-
cloneElement(icons.loader, { className: "es:motion-preset-spin es:motion-duration-
|
|
362
|
+
cloneElement(icons.loader, { className: "es:motion-preset-spin es:motion-duration-2000 es:absolute es:inset-0 es:m-auto" })
|
|
359
363
|
] })
|
|
360
364
|
] })
|
|
361
365
|
}
|
|
@@ -216,6 +216,7 @@ const MenuItem = (props) => {
|
|
|
216
216
|
disabled,
|
|
217
217
|
endIcon,
|
|
218
218
|
onClick,
|
|
219
|
+
onClickNative = (event) => event?.stopPropagation(),
|
|
219
220
|
shortcut,
|
|
220
221
|
danger,
|
|
221
222
|
primary,
|
|
@@ -252,6 +253,7 @@ const MenuItem = (props) => {
|
|
|
252
253
|
className
|
|
253
254
|
),
|
|
254
255
|
onAction: onClick,
|
|
256
|
+
onClick: onClickNative,
|
|
255
257
|
children: [
|
|
256
258
|
/* @__PURE__ */ jsx(
|
|
257
259
|
RichLabel,
|
|
@@ -300,7 +302,7 @@ const SubMenuItem = (props) => {
|
|
|
300
302
|
}
|
|
301
303
|
return /* @__PURE__ */ jsxs($3674c52c6b3c5bce$export$ecabc99eeffab7ca, { children: [
|
|
302
304
|
cloneElement(trigger, {
|
|
303
|
-
endIcon: /* @__PURE__ */ jsx("span", { className: "es:text-secondary-
|
|
305
|
+
endIcon: /* @__PURE__ */ jsx("span", { className: "es:text-secondary-500 es:contrast-more:text-current es:icon:size-3! es:icon:stroke-2!", children: icons.chevronRight })
|
|
304
306
|
}),
|
|
305
307
|
/* @__PURE__ */ jsx(
|
|
306
308
|
Popover,
|
|
@@ -178,8 +178,10 @@ const ToggleButton2 = (props) => {
|
|
|
178
178
|
"es:btn-group-mid:rounded-none",
|
|
179
179
|
"es:btn-group-h-start:rounded-r-none es:btn-group-v-start:rounded-b-none",
|
|
180
180
|
"es:btn-group-h-end:rounded-l-none es:btn-group-v-end:rounded-t-none",
|
|
181
|
-
"es:enabled:
|
|
182
|
-
"es:
|
|
181
|
+
"es:enabled:not-pending:cursor-pointer",
|
|
182
|
+
"es:shrink-0",
|
|
183
|
+
"es:pending:shadow-none! es:pending:cursor-wait",
|
|
184
|
+
"es:bg-radial-[at_50%_125%]",
|
|
183
185
|
icon && children ? "es:justify-start" : "es:justify-center",
|
|
184
186
|
className
|
|
185
187
|
],
|
|
@@ -189,10 +191,6 @@ const ToggleButton2 = (props) => {
|
|
|
189
191
|
small: "es:icon:size-5 es:rounded-7",
|
|
190
192
|
default: "es:icon:size-5 es:rounded-10",
|
|
191
193
|
large: "es:icon:size-6 es:rounded-xl"
|
|
192
|
-
},
|
|
193
|
-
type: {
|
|
194
|
-
default: ["es:bg-radial-[at_50%_125%]", "es:inset-ring es:inset-shadow-xs"],
|
|
195
|
-
ghost: ["es:border-transparent es:text-secondary-700", "es:hover:bg-secondary-100", "es:disabled:border-transparent!"]
|
|
196
194
|
}
|
|
197
195
|
},
|
|
198
196
|
compoundVariants: [
|
|
@@ -202,22 +200,22 @@ const ToggleButton2 = (props) => {
|
|
|
202
200
|
selected: false,
|
|
203
201
|
class: [
|
|
204
202
|
"es:text-black",
|
|
205
|
-
"es:from-
|
|
203
|
+
"es:from-white es:to-secondary-50",
|
|
206
204
|
"es:border-secondary-300",
|
|
207
|
-
"es:inset-ring-secondary-100",
|
|
208
|
-
"es:inset-shadow-secondary-100/50",
|
|
205
|
+
"es:inset-ring es:inset-ring-secondary-100",
|
|
206
|
+
"es:inset-shadow-xs es:inset-shadow-secondary-100/50",
|
|
209
207
|
"es:shadow-sm",
|
|
210
|
-
"es:hover:inset-shadow-secondary-100 es:hover:to-secondary-100 es:hover:inset-ring-secondary-100",
|
|
208
|
+
"es:enabled:hover:shadow-md es:enabled:active:shadow-sm es:enabled:pressed:shadow-sm es:hover:inset-shadow-secondary-100 es:hover:to-secondary-100 es:hover:inset-ring-secondary-100",
|
|
211
209
|
"es:hover:text-accent-950",
|
|
212
210
|
"es:focus-visible:text-accent-950"
|
|
213
211
|
]
|
|
214
212
|
},
|
|
215
213
|
{
|
|
216
|
-
type: "default",
|
|
214
|
+
type: ["default", "ghost"],
|
|
217
215
|
disabled: false,
|
|
218
216
|
selected: true,
|
|
219
217
|
class: [
|
|
220
|
-
"es:text-white
|
|
218
|
+
"es:text-white",
|
|
221
219
|
"es:from-accent-500 es:to-accent-600",
|
|
222
220
|
"es:border-accent-700",
|
|
223
221
|
"es:inset-ring es:inset-ring-accent-600",
|
|
@@ -225,18 +223,25 @@ const ToggleButton2 = (props) => {
|
|
|
225
223
|
"es:focus-visible:border-accent-700",
|
|
226
224
|
"es:focus-visible:inset-ring es:focus-visible:inset-ring-accent-600",
|
|
227
225
|
"es:focus-visible:inset-shadow-xs es:focus-visible:inset-shadow-accent-400",
|
|
228
|
-
"es:shadow
|
|
226
|
+
"es:shadow es:shadow-accent-600/30 es:enabled:hover:shadow-md es:enabled:active:shadow-sm es:enabled:pressed:shadow-sm"
|
|
229
227
|
]
|
|
230
228
|
},
|
|
231
|
-
{
|
|
232
|
-
disabled: true,
|
|
233
|
-
class: "es:disabled:border-secondary-300 es:disabled:text-secondary-400 es:border es:shadow-none es:disabled:inset-shadow-transparent es:disabled:inset-ring-0"
|
|
234
|
-
},
|
|
235
229
|
{
|
|
236
230
|
type: "ghost",
|
|
237
231
|
disabled: false,
|
|
238
|
-
selected:
|
|
239
|
-
class: [
|
|
232
|
+
selected: false,
|
|
233
|
+
class: [
|
|
234
|
+
"es:border-accent-500/0 es:text-secondary-700",
|
|
235
|
+
"es:hover:bg-accent-500/10 es:hover:text-accent-700",
|
|
236
|
+
"es:active:bg-accent-50 es:pressed:bg-accent-50 es:active:text-accent-950 es:pressed:text-accent-950",
|
|
237
|
+
"es:focus-visible:text-accent-700",
|
|
238
|
+
"es:inset-ring es:inset-ring-accent-600/0",
|
|
239
|
+
"es:inset-shadow-xs es:inset-shadow-accent-400/0"
|
|
240
|
+
]
|
|
241
|
+
},
|
|
242
|
+
{
|
|
243
|
+
disabled: true,
|
|
244
|
+
class: "es:disabled:border-zinc-300 es:disabled:text-zinc-400 es:border es:shadow-none es:disabled:inset-shadow-transparent es:disabled:inset-ring-0"
|
|
240
245
|
},
|
|
241
246
|
// Sizes.
|
|
242
247
|
{
|
package/dist/icons/icons.js
CHANGED
|
@@ -3349,6 +3349,33 @@ const icons = {
|
|
|
3349
3349
|
/* @__PURE__ */ jsx("path", { opacity: "0.6", d: "M3.439 17.562a.562.562 0 0 0 .793-.794.561.561 0 0 0-.794.793v.001Z", fill: "currentColor" }),
|
|
3350
3350
|
/* @__PURE__ */ jsx("path", { d: "M5.077 18.657a.561.561 0 1 0-.002 0h.002Z", fill: "currentColor" }),
|
|
3351
3351
|
/* @__PURE__ */ jsx("path", { d: "M6.5 12v2.25c0 .138.112.25.25.25H8.5", stroke: "currentColor", strokeLinecap: "round", fill: "none" })
|
|
3352
|
+
] }),
|
|
3353
|
+
folderSolid: /* @__PURE__ */ jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 21 20", width: "21", height: "20", fill: "none", children: /* @__PURE__ */ jsx("path", { d: "M17.5 5a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2h-14a2 2 0 0 1-1.99-1.796L1.5 15V8h5.8a.501.501 0 0 0 .298-.099l2.7-2-.008-.01L11.484 5H17.5ZM6.805 3a2 2 0 0 1 1.19.393l1.993 1.476L7.135 7H1.5V5a2 2 0 0 1 2-2h3.305Z", fill: "currentColor" }) }),
|
|
3354
|
+
folderOpenSolid: /* @__PURE__ */ jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 21 20", width: "21", height: "20", fill: "none", children: /* @__PURE__ */ jsx("path", { d: "M19.27 8c.256.44.348.979.2 1.522l-1.623 6A2 2 0 0 1 15.916 17H3.5c-.207 0-.407-.033-.595-.092l.076-.277 2.196-7.899A1 1 0 0 1 6.14 8h13.13ZM6.4 3c.513 0 1.008.197 1.38.55l1.234 1.175c.186.176.433.275.69.275H15.5a2 2 0 0 1 2 2H6.14a2 2 0 0 0-1.927 1.465l-2.194 7.901.004-.021A1.99 1.99 0 0 1 1.5 15V5a2 2 0 0 1 2-2h2.9Z", fill: "currentColor" }) }),
|
|
3355
|
+
plusSquare: /* @__PURE__ */ jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", children: [
|
|
3356
|
+
/* @__PURE__ */ jsx("rect", { x: "1.5", y: "1.5", width: "17", height: "17", rx: "2", stroke: "currentColor", fill: "none" }),
|
|
3357
|
+
/* @__PURE__ */ jsx("path", { d: "M5.5 10H10m0 0h4.5M10 10V5.5m0 4.5v4.5", stroke: "currentColor", strokeLinecap: "round", fill: "none" })
|
|
3358
|
+
] }),
|
|
3359
|
+
plusSquareFill: /* @__PURE__ */ jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 20 20", width: "20", height: "20", fill: "none", children: /* @__PURE__ */ jsx("path", { d: "M16.5 19a2.5 2.5 0 0 0 2.5-2.5v-13A2.5 2.5 0 0 0 16.5 1h-13A2.5 2.5 0 0 0 1 3.5v13A2.5 2.5 0 0 0 3.5 19h13ZM10 15a.5.5 0 0 1-.5-.5v-4h-4a.5.5 0 0 1 0-1h4v-4a.5.5 0 0 1 1 0v4h4a.5.5 0 0 1 0 1h-4v4a.5.5 0 0 1-.5.5Z", fill: "currentColor" }) }),
|
|
3360
|
+
plusSquareFillTransparent: /* @__PURE__ */ jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 20 20", width: "20", height: "20", fill: "none", children: [
|
|
3361
|
+
/* @__PURE__ */ jsx("rect", { x: "1", y: "1", width: "18", height: "18", rx: "2.5", fill: "currentColor", fillOpacity: "0.12" }),
|
|
3362
|
+
/* @__PURE__ */ jsx("path", { d: "M5.5 10H10m0 0h4.5M10 10V5.5m0 4.5v4.5", stroke: "currentColor", strokeLinecap: "round", fill: "none" })
|
|
3363
|
+
] }),
|
|
3364
|
+
sortGeneric: /* @__PURE__ */ jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 20 20", width: "20", height: "20", fill: "none", children: [
|
|
3365
|
+
/* @__PURE__ */ jsx("path", { d: "m1 14 4.5 4.52m0 0L10 14m-4.5 4.52V3", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", fill: "none" }),
|
|
3366
|
+
/* @__PURE__ */ jsx("path", { d: "M9 3.5h10m-10 3h8m-8 3h6", stroke: "currentColor", strokeLinecap: "round", fill: "none" })
|
|
3367
|
+
] }),
|
|
3368
|
+
musicNote: /* @__PURE__ */ jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 20 20", width: "20", height: "20", fill: "none", children: [
|
|
3369
|
+
/* @__PURE__ */ jsx("ellipse", { cx: "5", cy: "17", rx: "2.5", ry: "2", fill: "currentColor", stroke: "currentColor" }),
|
|
3370
|
+
/* @__PURE__ */ jsx("ellipse", { cx: "16", cy: "14", rx: "2.5", ry: "2", fill: "currentColor", stroke: "currentColor" }),
|
|
3371
|
+
/* @__PURE__ */ jsx("path", { d: "M18.5 2.698V4l-11 2V4.335a1 1 0 0 1 .821-.984l9-1.637a1 1 0 0 1 1.179.984Z", fill: "currentColor" }),
|
|
3372
|
+
/* @__PURE__ */ jsx("path", { d: "M18.5 14V2.698a1 1 0 0 0-1.179-.984l-9 1.637a1 1 0 0 0-.821.984V17.25M18.5 4l-11 2", stroke: "currentColor", fill: "none" })
|
|
3373
|
+
] }),
|
|
3374
|
+
wordpress: /* @__PURE__ */ jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 20 20", width: "20", height: "20", fill: "none", children: /* @__PURE__ */ jsx("path", { d: "M17.1 6.118A8.052 8.052 0 0 1 18.091 10a8.087 8.087 0 0 1-4.023 6.994l2.472-7.146c.461-1.154.615-2.077.615-2.898 0-.298-.02-.575-.055-.832Zm-5.985.088c.487-.026.926-.077.926-.077.436-.052.385-.692-.051-.667 0 0-1.311.103-2.157.103-.795 0-2.131-.103-2.131-.103-.437-.025-.488.641-.052.667 0 0 .413.051.85.077L9.76 9.66l-1.771 5.31-2.947-8.764c.488-.026.926-.077.926-.077.436-.052.385-.692-.051-.667 0 0-1.31.103-2.157.103-.152 0-.33-.004-.52-.01A8.082 8.082 0 0 1 10 1.908c2.106 0 4.024.806 5.464 2.125-.035-.003-.069-.007-.105-.007-.794 0-1.358.692-1.358 1.436 0 .667.384 1.231.794 1.898.308.539.668 1.231.668 2.232 0 .692-.267 1.496-.616 2.615l-.808 2.697-2.924-8.698ZM10 18.092a8.09 8.09 0 0 1-2.286-.33l2.428-7.055 2.487 6.815a.76.76 0 0 0 .058.111 8.074 8.074 0 0 1-2.687.459ZM1.908 10a8.06 8.06 0 0 1 .701-3.293l3.86 10.575A8.092 8.092 0 0 1 1.909 10ZM10 1c-4.963 0-9 4.037-9 9 0 4.962 4.037 9 9 9s9-4.038 9-9c0-4.963-4.037-9-9-9Z", fill: "currentColor" }) }),
|
|
3375
|
+
filePdf: /* @__PURE__ */ jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 20 20", width: "20", height: "20", fill: "none", children: [
|
|
3376
|
+
/* @__PURE__ */ jsx("path", { d: "m9.5.5 5 5H10a.5.5 0 0 1-.5-.5V.5Z", fill: "currentColor", fillOpacity: "0.3" }),
|
|
3377
|
+
/* @__PURE__ */ jsx("path", { d: "m14.5 5.5-5-5m5 5H10a.5.5 0 0 1-.5-.5V.5m5 5v2m-5-7H2A1.5 1.5 0 0 0 .5 2v16A1.5 1.5 0 0 0 2 19.5h11a1.5 1.5 0 0 0 1.5-1.5v-.5", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", fill: "none" }),
|
|
3378
|
+
/* @__PURE__ */ jsx("path", { d: "M11.236 15.5H9.499v-6h1.737s2.316 0 2.316 2.842v.316c0 2.842-2.316 2.842-2.316 2.842Zm4.263 0v-3m3.184-3H15.5v3m0 0h3.04m-15.04 3v-3m0 0v-3h1.882c.434 0 2.119 0 2.118 1.5-.001 1.5-1.566 1.5-2 1.5h-2Z", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", fill: "none" })
|
|
3352
3379
|
] })
|
|
3353
3380
|
};
|
|
3354
3381
|
const blockIcons = {
|