@codbex/harmonia 1.8.0 → 1.9.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/dist/harmonia.css +1 -1
- package/dist/harmonia.esm.js +124 -29
- package/dist/harmonia.esm.min.js +2 -2
- package/dist/harmonia.esm.min.js.map +2 -2
- package/dist/harmonia.js +124 -29
- package/dist/harmonia.min.js +2 -2
- package/dist/harmonia.min.js.map +2 -2
- package/package.json +1 -1
package/dist/harmonia.js
CHANGED
|
@@ -932,7 +932,8 @@
|
|
|
932
932
|
"focus-visible:border-ring",
|
|
933
933
|
"focus-visible:ring-ring/50",
|
|
934
934
|
"focus-visible:ring-[calc(var(--spacing)*0.75)]",
|
|
935
|
-
"transition-
|
|
935
|
+
"transition-colors",
|
|
936
|
+
"transition-shadow",
|
|
936
937
|
"motion-reduce:transition-none",
|
|
937
938
|
"overflow-hidden"
|
|
938
939
|
);
|
|
@@ -1021,6 +1022,7 @@
|
|
|
1021
1022
|
default: [
|
|
1022
1023
|
"bg-secondary",
|
|
1023
1024
|
"text-secondary-foreground",
|
|
1025
|
+
"fill-secondary-foreground",
|
|
1024
1026
|
"shadow-button",
|
|
1025
1027
|
"hover:bg-secondary-hover",
|
|
1026
1028
|
"active:bg-secondary-active",
|
|
@@ -1032,6 +1034,7 @@
|
|
|
1032
1034
|
primary: [
|
|
1033
1035
|
"bg-primary",
|
|
1034
1036
|
"text-primary-foreground",
|
|
1037
|
+
"fill-primary-foreground",
|
|
1035
1038
|
"shadow-button",
|
|
1036
1039
|
"focus-visible:outline-primary/50",
|
|
1037
1040
|
"hover:bg-primary-hover",
|
|
@@ -1044,6 +1047,7 @@
|
|
|
1044
1047
|
positive: [
|
|
1045
1048
|
"bg-positive",
|
|
1046
1049
|
"text-positive-foreground",
|
|
1050
|
+
"fill-positive-foreground",
|
|
1047
1051
|
"shadow-button",
|
|
1048
1052
|
"focus-visible:outline-positive/50",
|
|
1049
1053
|
"hover:bg-positive-hover",
|
|
@@ -1056,6 +1060,7 @@
|
|
|
1056
1060
|
negative: [
|
|
1057
1061
|
"bg-negative",
|
|
1058
1062
|
"text-negative-foreground",
|
|
1063
|
+
"fill-negative-foreground",
|
|
1059
1064
|
"shadow-button",
|
|
1060
1065
|
"focus-visible:outline-negative/50",
|
|
1061
1066
|
"hover:bg-negative-hover",
|
|
@@ -1068,6 +1073,7 @@
|
|
|
1068
1073
|
warning: [
|
|
1069
1074
|
"bg-warning",
|
|
1070
1075
|
"text-warning-foreground",
|
|
1076
|
+
"fill-warning-foreground",
|
|
1071
1077
|
"shadow-button",
|
|
1072
1078
|
"focus-visible:outline-warning/50",
|
|
1073
1079
|
"hover:bg-warning-hover",
|
|
@@ -1080,6 +1086,7 @@
|
|
|
1080
1086
|
information: [
|
|
1081
1087
|
"bg-information",
|
|
1082
1088
|
"text-information-foreground",
|
|
1089
|
+
"fill-information-foreground",
|
|
1083
1090
|
"shadow-button",
|
|
1084
1091
|
"focus-visible:outline-information/50",
|
|
1085
1092
|
"hover:bg-information-hover",
|
|
@@ -1093,25 +1100,49 @@
|
|
|
1093
1100
|
"border",
|
|
1094
1101
|
"bg-background",
|
|
1095
1102
|
"text-foreground",
|
|
1103
|
+
"fill-foreground",
|
|
1096
1104
|
"hover:bg-secondary",
|
|
1097
1105
|
"hover:text-secondary-foreground",
|
|
1106
|
+
"hover:fill-secondary-foreground",
|
|
1098
1107
|
"active:bg-secondary-active",
|
|
1108
|
+
"active:text-secondary-foreground",
|
|
1109
|
+
"active:fill-secondary-foreground",
|
|
1099
1110
|
"aria-pressed:bg-secondary-active",
|
|
1111
|
+
"aria-pressed:text-secondary-foreground",
|
|
1112
|
+
"aria-pressed:fill-secondary-foreground",
|
|
1100
1113
|
"active:data-[toggled=true]:bg-secondary-active",
|
|
1114
|
+
"active:data-[toggled=true]:text-secondary-foreground",
|
|
1115
|
+
"active:data-[toggled=true]:fill-secondary-foreground",
|
|
1101
1116
|
"hover:data-[toggled=true]:bg-secondary-hover",
|
|
1102
|
-
"data-[toggled=true]:
|
|
1117
|
+
"hover:data-[toggled=true]:text-secondary-foreground",
|
|
1118
|
+
"hover:data-[toggled=true]:fill-secondary-foreground",
|
|
1119
|
+
"data-[toggled=true]:bg-secondary-active",
|
|
1120
|
+
"data-[toggled=true]:text-secondary-foreground",
|
|
1121
|
+
"data-[toggled=true]:fill-secondary-foreground"
|
|
1103
1122
|
],
|
|
1104
1123
|
transparent: [
|
|
1105
1124
|
"bg-transparent",
|
|
1106
1125
|
"text-foreground",
|
|
1126
|
+
"fill-foreground",
|
|
1107
1127
|
"shadow-none",
|
|
1108
1128
|
"hover:bg-secondary",
|
|
1109
1129
|
"hover:text-secondary-foreground",
|
|
1130
|
+
"hover:fill-secondary-foreground",
|
|
1110
1131
|
"active:bg-secondary-active",
|
|
1132
|
+
"active:text-secondary-foreground",
|
|
1133
|
+
"active:fill-secondary-foreground",
|
|
1111
1134
|
"aria-pressed:bg-secondary-active",
|
|
1135
|
+
"aria-pressed:text-secondary-foreground",
|
|
1136
|
+
"aria-pressed:fill-secondary-foreground",
|
|
1112
1137
|
"active:data-[toggled=true]:bg-secondary-active",
|
|
1138
|
+
"active:data-[toggled=true]:text-secondary-foreground",
|
|
1139
|
+
"active:data-[toggled=true]:fill-secondary-foreground",
|
|
1113
1140
|
"hover:data-[toggled=true]:bg-secondary-hover",
|
|
1114
|
-
"data-[toggled=true]:
|
|
1141
|
+
"hover:data-[toggled=true]:text-secondary-foreground",
|
|
1142
|
+
"hover:data-[toggled=true]:fill-secondary-foreground",
|
|
1143
|
+
"data-[toggled=true]:bg-secondary-active",
|
|
1144
|
+
"data-[toggled=true]:text-secondary-foreground",
|
|
1145
|
+
"data-[toggled=true]:fill-secondary-foreground"
|
|
1115
1146
|
],
|
|
1116
1147
|
link: ["text-primary", "underline-offset-4", "hover:underline"]
|
|
1117
1148
|
};
|
|
@@ -1127,6 +1158,7 @@
|
|
|
1127
1158
|
"text-sm",
|
|
1128
1159
|
"font-medium",
|
|
1129
1160
|
"transition-all",
|
|
1161
|
+
"duration-100",
|
|
1130
1162
|
"motion-reduce:transition-none",
|
|
1131
1163
|
"disabled:pointer-events-none",
|
|
1132
1164
|
"disabled:opacity-50",
|
|
@@ -3391,7 +3423,8 @@
|
|
|
3391
3423
|
"border-input",
|
|
3392
3424
|
"flex",
|
|
3393
3425
|
"items-center",
|
|
3394
|
-
"transition-
|
|
3426
|
+
"transition-colors",
|
|
3427
|
+
"transition-shadow",
|
|
3395
3428
|
"motion-reduce:transition-none",
|
|
3396
3429
|
"duration-200",
|
|
3397
3430
|
"outline-none",
|
|
@@ -3467,7 +3500,20 @@
|
|
|
3467
3500
|
if (!datepicker) {
|
|
3468
3501
|
throw new Error(`${original2} must be inside an date-picker element`);
|
|
3469
3502
|
}
|
|
3470
|
-
el.classList.add(
|
|
3503
|
+
el.classList.add(
|
|
3504
|
+
"cursor-pointer",
|
|
3505
|
+
"inline-flex",
|
|
3506
|
+
"items-center",
|
|
3507
|
+
"justify-center",
|
|
3508
|
+
"h-full",
|
|
3509
|
+
"aspect-square",
|
|
3510
|
+
"bg-transparent",
|
|
3511
|
+
"hover:bg-secondary",
|
|
3512
|
+
"hover:text-secondary-foreground",
|
|
3513
|
+
"active:bg-secondary-active",
|
|
3514
|
+
"active:text-secondary-foreground",
|
|
3515
|
+
"outline-none"
|
|
3516
|
+
);
|
|
3471
3517
|
if (datepicker._h_datepicker.inTable) {
|
|
3472
3518
|
el.classList.add(
|
|
3473
3519
|
"focus-visible:inset-ring-ring/50",
|
|
@@ -3498,7 +3544,7 @@
|
|
|
3498
3544
|
el.appendChild(
|
|
3499
3545
|
createSvg({
|
|
3500
3546
|
icon: Calendar,
|
|
3501
|
-
classes: "opacity-70 text-
|
|
3547
|
+
classes: "opacity-70 text-inherit size-4",
|
|
3502
3548
|
attrs: {
|
|
3503
3549
|
"aria-hidden": true,
|
|
3504
3550
|
role: "presentation"
|
|
@@ -4005,7 +4051,8 @@
|
|
|
4005
4051
|
"[&::-webkit-color-swatch-wrapper]:rounded-0",
|
|
4006
4052
|
"[&::-webkit-color-swatch-wrapper]:p-0",
|
|
4007
4053
|
"text-base",
|
|
4008
|
-
"transition-
|
|
4054
|
+
"transition-colors",
|
|
4055
|
+
"transition-shadow",
|
|
4009
4056
|
"motion-reduce:transition-none",
|
|
4010
4057
|
"outline-none",
|
|
4011
4058
|
"file:inline-flex",
|
|
@@ -4063,7 +4110,8 @@
|
|
|
4063
4110
|
"rounded-control",
|
|
4064
4111
|
"border",
|
|
4065
4112
|
"shadow-input",
|
|
4066
|
-
"transition-
|
|
4113
|
+
"transition-colors",
|
|
4114
|
+
"transition-shadow",
|
|
4067
4115
|
"motion-reduce:transition-none",
|
|
4068
4116
|
"outline-none",
|
|
4069
4117
|
"min-w-0",
|
|
@@ -4165,8 +4213,10 @@
|
|
|
4165
4213
|
"rounded-control",
|
|
4166
4214
|
"border",
|
|
4167
4215
|
"shadow-input",
|
|
4168
|
-
"transition-
|
|
4216
|
+
"transition-colors",
|
|
4217
|
+
"transition-shadow",
|
|
4169
4218
|
"motion-reduce:transition-none",
|
|
4219
|
+
"duration-200",
|
|
4170
4220
|
"outline-none",
|
|
4171
4221
|
"min-w-0",
|
|
4172
4222
|
"has-[input:focus-visible]:border-ring",
|
|
@@ -4211,7 +4261,7 @@
|
|
|
4211
4261
|
stepDown.appendChild(
|
|
4212
4262
|
createSvg({
|
|
4213
4263
|
icon: Minus,
|
|
4214
|
-
classes: "opacity-70
|
|
4264
|
+
classes: "opacity-70 text-inherit size-4 shrink-0 pointer-events-none",
|
|
4215
4265
|
attrs: {
|
|
4216
4266
|
"aria-hidden": true,
|
|
4217
4267
|
role: "presentation"
|
|
@@ -4229,16 +4279,23 @@
|
|
|
4229
4279
|
"[input:invalid~&]:border-negative",
|
|
4230
4280
|
"h-full",
|
|
4231
4281
|
"aspect-square",
|
|
4282
|
+
"transition-colors",
|
|
4283
|
+
"motion-reduce:transition-none",
|
|
4284
|
+
"duration-100",
|
|
4232
4285
|
"bg-transparent",
|
|
4233
4286
|
"hover:bg-secondary",
|
|
4287
|
+
"hover:text-secondary-foreground",
|
|
4234
4288
|
"active:bg-secondary-active",
|
|
4289
|
+
"active:text-secondary-foreground",
|
|
4235
4290
|
"outline-none",
|
|
4236
4291
|
"relative",
|
|
4237
4292
|
"[&:hover>svg]:text-secondary-foreground"
|
|
4238
4293
|
);
|
|
4239
4294
|
el.appendChild(stepDown);
|
|
4240
4295
|
const onStepDown = () => {
|
|
4241
|
-
input.
|
|
4296
|
+
if (input.step === "any") {
|
|
4297
|
+
input.value = (parseFloat(input.value) || 0) - 1;
|
|
4298
|
+
} else input.stepDown();
|
|
4242
4299
|
input.dispatchEvent(new Event("input", { bubbles: true }));
|
|
4243
4300
|
input.dispatchEvent(new Event("change", { bubbles: true }));
|
|
4244
4301
|
};
|
|
@@ -4252,7 +4309,7 @@
|
|
|
4252
4309
|
stepUp.appendChild(
|
|
4253
4310
|
createSvg({
|
|
4254
4311
|
icon: Plus,
|
|
4255
|
-
classes: "opacity-70
|
|
4312
|
+
classes: "opacity-70 text-inherit size-4 shrink-0 pointer-events-none",
|
|
4256
4313
|
attrs: {
|
|
4257
4314
|
"aria-hidden": true,
|
|
4258
4315
|
role: "presentation"
|
|
@@ -4270,16 +4327,23 @@
|
|
|
4270
4327
|
"[input:invalid~&]:border-negative",
|
|
4271
4328
|
"h-full",
|
|
4272
4329
|
"aspect-square",
|
|
4330
|
+
"transition-all",
|
|
4331
|
+
"motion-reduce:transition-none",
|
|
4332
|
+
"duration-100",
|
|
4273
4333
|
"bg-transparent",
|
|
4274
4334
|
"hover:bg-secondary",
|
|
4335
|
+
"hover:text-secondary-foreground",
|
|
4275
4336
|
"active:bg-secondary-active",
|
|
4337
|
+
"active:text-secondary-foreground",
|
|
4276
4338
|
"outline-none",
|
|
4277
4339
|
"relative",
|
|
4278
4340
|
"[&:hover>svg]:text-secondary-foreground"
|
|
4279
4341
|
);
|
|
4280
4342
|
el.appendChild(stepUp);
|
|
4281
4343
|
const onStepUp = () => {
|
|
4282
|
-
input.
|
|
4344
|
+
if (input.step === "any") {
|
|
4345
|
+
input.value = (parseFloat(input.value) || 0) + 1;
|
|
4346
|
+
} else input.stepUp();
|
|
4283
4347
|
input.dispatchEvent(new Event("input", { bubbles: true }));
|
|
4284
4348
|
input.dispatchEvent(new Event("change", { bubbles: true }));
|
|
4285
4349
|
};
|
|
@@ -4614,7 +4678,9 @@
|
|
|
4614
4678
|
}
|
|
4615
4679
|
function onClick(event) {
|
|
4616
4680
|
if (event.type === "contextmenu") event.preventDefault();
|
|
4617
|
-
|
|
4681
|
+
if (el.getAttribute("data-innerclicks") === "true" && el.contains(event.composedPath()[0])) {
|
|
4682
|
+
return;
|
|
4683
|
+
} else close(isSubmenu);
|
|
4618
4684
|
}
|
|
4619
4685
|
el.pauseKeyEvents = false;
|
|
4620
4686
|
function onKeyDown(event) {
|
|
@@ -7652,9 +7718,18 @@
|
|
|
7652
7718
|
set: void 0,
|
|
7653
7719
|
get: void 0
|
|
7654
7720
|
};
|
|
7655
|
-
el.classList.add("cursor-pointer", "outline-none", "transition-
|
|
7721
|
+
el.classList.add("cursor-pointer", "outline-none", "transition-colors", "transition-shadow", "motion-reduce:transition-none", "duration-200", "w-full", "has-[input:disabled]:pointer-events-none", "has-[input:disabled]:opacity-50");
|
|
7656
7722
|
if (modifiers.includes("table")) {
|
|
7657
|
-
el.classList.add(
|
|
7723
|
+
el.classList.add(
|
|
7724
|
+
"h-10",
|
|
7725
|
+
"flex",
|
|
7726
|
+
"focus-visible:inset-ring-ring/50",
|
|
7727
|
+
"focus-visible:inset-ring-2",
|
|
7728
|
+
'[&>[data-slot="select-input"]]:hover:bg-table-hover',
|
|
7729
|
+
'[&>[data-slot="select-input"]]:hover:text-table-hover-foreground',
|
|
7730
|
+
'[&>[data-slot="select-input"]]:active:!bg-table-active',
|
|
7731
|
+
'[&>[data-slot="select-input"]]:active:!text-table-active-foreground'
|
|
7732
|
+
);
|
|
7658
7733
|
el.setAttribute("data-slot", "cell-input-select");
|
|
7659
7734
|
} else {
|
|
7660
7735
|
el.classList.add(
|
|
@@ -7668,8 +7743,11 @@
|
|
|
7668
7743
|
"has-[input[aria-invalid=true]]:ring-negative/20",
|
|
7669
7744
|
"has-[input:invalid]:border-negative",
|
|
7670
7745
|
"has-[input:invalid]:ring-negative/20",
|
|
7671
|
-
"hover:bg-secondary-hover
|
|
7672
|
-
"
|
|
7746
|
+
'[&>[data-slot="select-input"]]:hover:bg-secondary-hover',
|
|
7747
|
+
'[&>[data-slot="select-input"]]:hover:text-secondary-foreground',
|
|
7748
|
+
'[&>[data-slot="select-input"]]:active:bg-secondary-active',
|
|
7749
|
+
'[&>[data-slot="select-input"]]:active:text-secondary-foreground',
|
|
7750
|
+
'[&>[data-slot="select-input"]]:rounded-control',
|
|
7673
7751
|
"rounded-control",
|
|
7674
7752
|
"border",
|
|
7675
7753
|
"bg-input-inner",
|
|
@@ -7926,7 +8004,7 @@
|
|
|
7926
8004
|
fakeTrigger.addEventListener("click", onClick);
|
|
7927
8005
|
const chevronDown = createSvg({
|
|
7928
8006
|
icon: ChevronDown,
|
|
7929
|
-
classes: "opacity-70 text-
|
|
8007
|
+
classes: "opacity-70 text-inherit size-4 shrink-0 pointer-events-none transition-transform motion-reduce:transition-none duration-200",
|
|
7930
8008
|
attrs: {
|
|
7931
8009
|
"aria-hidden": true,
|
|
7932
8010
|
role: "presentation"
|
|
@@ -8221,6 +8299,7 @@
|
|
|
8221
8299
|
const onActivate = (event) => {
|
|
8222
8300
|
if (event.type === "keydown" && (event.key === "Enter" || event.key === " ") || event.type === "click") {
|
|
8223
8301
|
if (select._h_select.multiple) {
|
|
8302
|
+
event.stopPropagation();
|
|
8224
8303
|
const vIndex = select._h_model.get().indexOf(getValue());
|
|
8225
8304
|
if (vIndex > -1) {
|
|
8226
8305
|
const val = select._h_model.get().splice(vIndex, 1);
|
|
@@ -8475,7 +8554,7 @@
|
|
|
8475
8554
|
);
|
|
8476
8555
|
el.setAttribute("data-slot", "sidebar-group-label");
|
|
8477
8556
|
if (group._h_sidebar_group.collapsable) {
|
|
8478
|
-
el.classList.add("text-sidebar-foreground", "text-sm", "hover:bg-secondary-
|
|
8557
|
+
el.classList.add("text-sidebar-foreground", "text-sm", "hover:bg-sidebar-secondary", "hover:text-sidebar-secondary-foreground", "active:bg-sidebar-secondary", "active:text-sidebar-secondary-foreground");
|
|
8479
8558
|
if (el.hasAttribute("id")) {
|
|
8480
8559
|
group._h_sidebar_group.controlId = el.getAttribute("id");
|
|
8481
8560
|
} else {
|
|
@@ -9495,7 +9574,8 @@
|
|
|
9495
9574
|
"justify-between",
|
|
9496
9575
|
"outline-none",
|
|
9497
9576
|
"gap-2",
|
|
9498
|
-
"transition-
|
|
9577
|
+
"transition-colors",
|
|
9578
|
+
"transition-shadow",
|
|
9499
9579
|
"motion-reduce:transition-none",
|
|
9500
9580
|
"[&_svg]:pointer-events-none",
|
|
9501
9581
|
"[&_svg]:opacity-70",
|
|
@@ -9621,7 +9701,8 @@
|
|
|
9621
9701
|
"text-sm",
|
|
9622
9702
|
"font-medium",
|
|
9623
9703
|
"whitespace-nowrap",
|
|
9624
|
-
"transition-
|
|
9704
|
+
"transition-colors",
|
|
9705
|
+
"transition-shadow",
|
|
9625
9706
|
"motion-reduce:transition-none",
|
|
9626
9707
|
"group-data-[floating=true]/tab-bar:rounded-md",
|
|
9627
9708
|
"group-data-[floating=true]/tab-bar:border",
|
|
@@ -9803,7 +9884,8 @@
|
|
|
9803
9884
|
"py-2",
|
|
9804
9885
|
"text-base",
|
|
9805
9886
|
"shadow-input",
|
|
9806
|
-
"transition-
|
|
9887
|
+
"transition-colors",
|
|
9888
|
+
"transition-shadow",
|
|
9807
9889
|
"motion-reduce:transition-none",
|
|
9808
9890
|
"outline-none",
|
|
9809
9891
|
"focus-visible:ring-[calc(var(--spacing)*0.75)]",
|
|
@@ -9985,8 +10067,6 @@
|
|
|
9985
10067
|
el.classList.add(
|
|
9986
10068
|
"cursor-pointer",
|
|
9987
10069
|
"border-input",
|
|
9988
|
-
"hover:bg-secondary-hover",
|
|
9989
|
-
"active:bg-secondary-active",
|
|
9990
10070
|
"flex",
|
|
9991
10071
|
"items-center",
|
|
9992
10072
|
"justify-between",
|
|
@@ -9996,7 +10076,8 @@
|
|
|
9996
10076
|
"data-[size=sm]:pr-1",
|
|
9997
10077
|
"text-sm",
|
|
9998
10078
|
"whitespace-nowrap",
|
|
9999
|
-
"transition-
|
|
10079
|
+
"transition-colors",
|
|
10080
|
+
"transition-shadow",
|
|
10000
10081
|
"motion-reduce:transition-none",
|
|
10001
10082
|
"duration-200",
|
|
10002
10083
|
"outline-none",
|
|
@@ -10013,16 +10094,30 @@
|
|
|
10013
10094
|
"has-[input[aria-invalid=true]]:inset-ring-negative/20",
|
|
10014
10095
|
"dark:has-[input[aria-invalid=true]]:inset-ring-negative/40",
|
|
10015
10096
|
"has-[input:invalid]:!inset-ring-negative/20",
|
|
10016
|
-
"dark:has-[input:invalid]:!inset-ring-negative/40"
|
|
10097
|
+
"dark:has-[input:invalid]:!inset-ring-negative/40",
|
|
10098
|
+
"hover:bg-table-hover",
|
|
10099
|
+
"hover:text-table-hover-foreground",
|
|
10100
|
+
"active:!bg-table-active",
|
|
10101
|
+
"active:!text-table-active-foreground",
|
|
10102
|
+
"has-[[aria-expanded=true]]:bg-transparent",
|
|
10103
|
+
"has-[[aria-expanded=true]]:text-foreground"
|
|
10017
10104
|
);
|
|
10018
10105
|
el.setAttribute("data-slot", "cell-input-time");
|
|
10019
10106
|
} else {
|
|
10020
10107
|
el.classList.add(
|
|
10021
10108
|
"w-full",
|
|
10109
|
+
"hover:bg-secondary-hover",
|
|
10110
|
+
"hover:text-secondary-foreground",
|
|
10111
|
+
'[&>[data-slot="time-picker-input"]]:hover:text-secondary-foreground',
|
|
10112
|
+
"active:bg-secondary-active",
|
|
10113
|
+
"active:text-secondary-foreground",
|
|
10114
|
+
'[&>[data-slot="time-picker-input"]]:active:text-secondary-foreground',
|
|
10022
10115
|
"rounded-control",
|
|
10023
10116
|
"border",
|
|
10024
10117
|
"bg-input-inner",
|
|
10025
10118
|
"shadow-input",
|
|
10119
|
+
"has-[[aria-expanded=true]]:bg-input-inner",
|
|
10120
|
+
"has-[[aria-expanded=true]]:text-foreground",
|
|
10026
10121
|
"has-[input:focus-visible]:border-ring",
|
|
10027
10122
|
"has-[input:focus-visible]:ring-[calc(var(--spacing)*0.75)]",
|
|
10028
10123
|
"has-[input:focus-visible]:ring-ring/50",
|
|
@@ -10039,7 +10134,7 @@
|
|
|
10039
10134
|
el.appendChild(
|
|
10040
10135
|
createSvg({
|
|
10041
10136
|
icon: Clock,
|
|
10042
|
-
classes: "opacity-70 text-
|
|
10137
|
+
classes: "opacity-70 text-inherit size-4 shrink-0 pointer-events-none",
|
|
10043
10138
|
attrs: {
|
|
10044
10139
|
"aria-hidden": true,
|
|
10045
10140
|
role: "presentation"
|
|
@@ -11274,7 +11369,7 @@
|
|
|
11274
11369
|
}
|
|
11275
11370
|
|
|
11276
11371
|
// package.json
|
|
11277
|
-
var version = "1.
|
|
11372
|
+
var version = "1.9.0";
|
|
11278
11373
|
|
|
11279
11374
|
// src/index.js
|
|
11280
11375
|
window.Harmonia = { getBreakpointListener, addColorSchemeListener, getColorScheme, removeColorSchemeListener, setColorScheme, getSystemColorScheme, version };
|