@loja-integrada/admin-components 0.21.0 → 0.21.2
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/Forms/commonStyles.d.ts +5 -3
- package/dist/admin-components.cjs.development.js +567 -384
- package/dist/admin-components.cjs.development.js.map +1 -1
- package/dist/admin-components.cjs.production.min.js +1 -1
- package/dist/admin-components.cjs.production.min.js.map +1 -1
- package/dist/admin-components.esm.js +567 -384
- package/dist/admin-components.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/Components/Button/Button.tsx +15 -3
- package/src/Components/Table/Table.tsx +1 -1
- package/src/Components/TableList/TableList.tsx +1 -1
- package/src/Forms/Checkbox/Checkbox.tsx +1 -1
- package/src/Forms/Input/Input.tsx +6 -4
- package/src/Forms/InputLabel/InputLabel.tsx +1 -1
- package/src/Forms/commonStyles.ts +26 -5
- package/src/Indicators/Toast/Toast.tsx +1 -1
- package/src/Layout/Box/Components/Header/BoxHeader.tsx +1 -1
|
@@ -9916,7 +9916,7 @@ cov_291gn7p4uo();
|
|
|
9916
9916
|
|
|
9917
9917
|
function cov_2anqb7tsc9() {
|
|
9918
9918
|
var path = "/home/runner/_work/admin-components/admin-components/styleguide/src/Components/Button/Button.tsx";
|
|
9919
|
-
var hash = "
|
|
9919
|
+
var hash = "310211796e7cac517fdaed464926d8392a590612";
|
|
9920
9920
|
var global = new Function("return this")();
|
|
9921
9921
|
var gcv = "__coverage__";
|
|
9922
9922
|
var coverageData = {
|
|
@@ -9985,7 +9985,7 @@ function cov_2anqb7tsc9() {
|
|
|
9985
9985
|
"6": {
|
|
9986
9986
|
start: {
|
|
9987
9987
|
line: 45,
|
|
9988
|
-
column:
|
|
9988
|
+
column: 27
|
|
9989
9989
|
},
|
|
9990
9990
|
end: {
|
|
9991
9991
|
line: 49,
|
|
@@ -9995,240 +9995,260 @@ function cov_2anqb7tsc9() {
|
|
|
9995
9995
|
"7": {
|
|
9996
9996
|
start: {
|
|
9997
9997
|
line: 50,
|
|
9998
|
+
column: 20
|
|
9999
|
+
},
|
|
10000
|
+
end: {
|
|
10001
|
+
line: 54,
|
|
10002
|
+
column: 1
|
|
10003
|
+
}
|
|
10004
|
+
},
|
|
10005
|
+
"8": {
|
|
10006
|
+
start: {
|
|
10007
|
+
line: 55,
|
|
9998
10008
|
column: 19
|
|
9999
10009
|
},
|
|
10000
10010
|
end: {
|
|
10001
|
-
line:
|
|
10011
|
+
line: 63,
|
|
10002
10012
|
column: 2
|
|
10003
10013
|
}
|
|
10004
10014
|
},
|
|
10005
|
-
"
|
|
10015
|
+
"9": {
|
|
10006
10016
|
start: {
|
|
10007
|
-
line:
|
|
10017
|
+
line: 56,
|
|
10008
10018
|
column: 4
|
|
10009
10019
|
},
|
|
10010
10020
|
end: {
|
|
10011
|
-
line:
|
|
10021
|
+
line: 57,
|
|
10012
10022
|
column: 92
|
|
10013
10023
|
}
|
|
10014
10024
|
},
|
|
10015
|
-
"
|
|
10025
|
+
"10": {
|
|
10016
10026
|
start: {
|
|
10017
|
-
line:
|
|
10027
|
+
line: 57,
|
|
10018
10028
|
column: 8
|
|
10019
10029
|
},
|
|
10020
10030
|
end: {
|
|
10021
|
-
line:
|
|
10031
|
+
line: 57,
|
|
10022
10032
|
column: 92
|
|
10023
10033
|
}
|
|
10024
10034
|
},
|
|
10025
|
-
"
|
|
10035
|
+
"11": {
|
|
10026
10036
|
start: {
|
|
10027
|
-
line:
|
|
10037
|
+
line: 58,
|
|
10028
10038
|
column: 4
|
|
10029
10039
|
},
|
|
10030
10040
|
end: {
|
|
10031
|
-
line:
|
|
10041
|
+
line: 61,
|
|
10032
10042
|
column: 5
|
|
10033
10043
|
}
|
|
10034
10044
|
},
|
|
10035
|
-
"
|
|
10045
|
+
"12": {
|
|
10036
10046
|
start: {
|
|
10037
|
-
line:
|
|
10047
|
+
line: 60,
|
|
10038
10048
|
column: 8
|
|
10039
10049
|
},
|
|
10040
10050
|
end: {
|
|
10041
|
-
line:
|
|
10051
|
+
line: 60,
|
|
10042
10052
|
column: 30
|
|
10043
10053
|
}
|
|
10044
10054
|
},
|
|
10045
|
-
"
|
|
10055
|
+
"13": {
|
|
10046
10056
|
start: {
|
|
10047
|
-
line:
|
|
10057
|
+
line: 62,
|
|
10048
10058
|
column: 4
|
|
10049
10059
|
},
|
|
10050
10060
|
end: {
|
|
10051
|
-
line:
|
|
10061
|
+
line: 62,
|
|
10052
10062
|
column: 93
|
|
10053
10063
|
}
|
|
10054
10064
|
},
|
|
10055
|
-
"
|
|
10065
|
+
"14": {
|
|
10056
10066
|
start: {
|
|
10057
|
-
line:
|
|
10067
|
+
line: 64,
|
|
10058
10068
|
column: 24
|
|
10059
10069
|
},
|
|
10060
10070
|
end: {
|
|
10061
|
-
line:
|
|
10071
|
+
line: 94,
|
|
10062
10072
|
column: 1
|
|
10063
10073
|
}
|
|
10064
10074
|
},
|
|
10065
|
-
"
|
|
10075
|
+
"15": {
|
|
10066
10076
|
start: {
|
|
10067
|
-
line:
|
|
10077
|
+
line: 65,
|
|
10068
10078
|
column: 24
|
|
10069
10079
|
},
|
|
10070
10080
|
end: {
|
|
10071
|
-
line:
|
|
10081
|
+
line: 68,
|
|
10072
10082
|
column: 5
|
|
10073
10083
|
}
|
|
10074
10084
|
},
|
|
10075
|
-
"
|
|
10085
|
+
"16": {
|
|
10076
10086
|
start: {
|
|
10077
|
-
line:
|
|
10087
|
+
line: 67,
|
|
10078
10088
|
column: 8
|
|
10079
10089
|
},
|
|
10080
10090
|
end: {
|
|
10081
|
-
line:
|
|
10091
|
+
line: 67,
|
|
10082
10092
|
column: 61
|
|
10083
10093
|
}
|
|
10084
10094
|
},
|
|
10085
|
-
"
|
|
10095
|
+
"17": {
|
|
10086
10096
|
start: {
|
|
10087
|
-
line:
|
|
10097
|
+
line: 72,
|
|
10098
|
+
column: 30
|
|
10099
|
+
},
|
|
10100
|
+
end: {
|
|
10101
|
+
line: 72,
|
|
10102
|
+
column: 105
|
|
10103
|
+
}
|
|
10104
|
+
},
|
|
10105
|
+
"18": {
|
|
10106
|
+
start: {
|
|
10107
|
+
line: 73,
|
|
10088
10108
|
column: 18
|
|
10089
10109
|
},
|
|
10090
10110
|
end: {
|
|
10091
|
-
line:
|
|
10092
|
-
column:
|
|
10111
|
+
line: 73,
|
|
10112
|
+
column: 213
|
|
10093
10113
|
}
|
|
10094
10114
|
},
|
|
10095
|
-
"
|
|
10115
|
+
"19": {
|
|
10096
10116
|
start: {
|
|
10097
|
-
line:
|
|
10117
|
+
line: 74,
|
|
10098
10118
|
column: 4
|
|
10099
10119
|
},
|
|
10100
10120
|
end: {
|
|
10101
|
-
line:
|
|
10121
|
+
line: 83,
|
|
10102
10122
|
column: 5
|
|
10103
10123
|
}
|
|
10104
10124
|
},
|
|
10105
|
-
"
|
|
10125
|
+
"20": {
|
|
10106
10126
|
start: {
|
|
10107
|
-
line:
|
|
10127
|
+
line: 75,
|
|
10108
10128
|
column: 8
|
|
10109
10129
|
},
|
|
10110
10130
|
end: {
|
|
10111
|
-
line:
|
|
10131
|
+
line: 76,
|
|
10112
10132
|
column: 153
|
|
10113
10133
|
}
|
|
10114
10134
|
},
|
|
10115
|
-
"
|
|
10135
|
+
"21": {
|
|
10116
10136
|
start: {
|
|
10117
|
-
line:
|
|
10137
|
+
line: 78,
|
|
10118
10138
|
column: 9
|
|
10119
10139
|
},
|
|
10120
10140
|
end: {
|
|
10121
|
-
line:
|
|
10141
|
+
line: 83,
|
|
10122
10142
|
column: 5
|
|
10123
10143
|
}
|
|
10124
10144
|
},
|
|
10125
|
-
"
|
|
10145
|
+
"22": {
|
|
10126
10146
|
start: {
|
|
10127
|
-
line:
|
|
10147
|
+
line: 79,
|
|
10128
10148
|
column: 8
|
|
10129
10149
|
},
|
|
10130
10150
|
end: {
|
|
10131
|
-
line:
|
|
10151
|
+
line: 79,
|
|
10132
10152
|
column: 49
|
|
10133
10153
|
}
|
|
10134
10154
|
},
|
|
10135
|
-
"
|
|
10155
|
+
"23": {
|
|
10136
10156
|
start: {
|
|
10137
|
-
line:
|
|
10157
|
+
line: 82,
|
|
10138
10158
|
column: 8
|
|
10139
10159
|
},
|
|
10140
10160
|
end: {
|
|
10141
|
-
line:
|
|
10161
|
+
line: 82,
|
|
10142
10162
|
column: 47
|
|
10143
10163
|
}
|
|
10144
10164
|
},
|
|
10145
|
-
"
|
|
10165
|
+
"24": {
|
|
10146
10166
|
start: {
|
|
10147
|
-
line:
|
|
10167
|
+
line: 84,
|
|
10148
10168
|
column: 4
|
|
10149
10169
|
},
|
|
10150
10170
|
end: {
|
|
10151
|
-
line:
|
|
10171
|
+
line: 84,
|
|
10152
10172
|
column: 39
|
|
10153
10173
|
}
|
|
10154
10174
|
},
|
|
10155
|
-
"
|
|
10175
|
+
"25": {
|
|
10156
10176
|
start: {
|
|
10157
|
-
line:
|
|
10177
|
+
line: 85,
|
|
10158
10178
|
column: 4
|
|
10159
10179
|
},
|
|
10160
10180
|
end: {
|
|
10161
|
-
line:
|
|
10181
|
+
line: 86,
|
|
10162
10182
|
column: 29
|
|
10163
10183
|
}
|
|
10164
10184
|
},
|
|
10165
|
-
"
|
|
10185
|
+
"26": {
|
|
10166
10186
|
start: {
|
|
10167
|
-
line:
|
|
10187
|
+
line: 86,
|
|
10168
10188
|
column: 8
|
|
10169
10189
|
},
|
|
10170
10190
|
end: {
|
|
10171
|
-
line:
|
|
10191
|
+
line: 86,
|
|
10172
10192
|
column: 29
|
|
10173
10193
|
}
|
|
10174
10194
|
},
|
|
10175
|
-
"
|
|
10195
|
+
"27": {
|
|
10176
10196
|
start: {
|
|
10177
|
-
line:
|
|
10197
|
+
line: 87,
|
|
10178
10198
|
column: 4
|
|
10179
10199
|
},
|
|
10180
10200
|
end: {
|
|
10181
|
-
line:
|
|
10201
|
+
line: 88,
|
|
10182
10202
|
column: 29
|
|
10183
10203
|
}
|
|
10184
10204
|
},
|
|
10185
|
-
"
|
|
10205
|
+
"28": {
|
|
10186
10206
|
start: {
|
|
10187
|
-
line:
|
|
10207
|
+
line: 88,
|
|
10188
10208
|
column: 8
|
|
10189
10209
|
},
|
|
10190
10210
|
end: {
|
|
10191
|
-
line:
|
|
10211
|
+
line: 88,
|
|
10192
10212
|
column: 29
|
|
10193
10213
|
}
|
|
10194
10214
|
},
|
|
10195
|
-
"
|
|
10215
|
+
"29": {
|
|
10196
10216
|
start: {
|
|
10197
|
-
line:
|
|
10217
|
+
line: 89,
|
|
10198
10218
|
column: 24
|
|
10199
10219
|
},
|
|
10200
10220
|
end: {
|
|
10201
|
-
line:
|
|
10221
|
+
line: 89,
|
|
10202
10222
|
column: 54
|
|
10203
10223
|
}
|
|
10204
10224
|
},
|
|
10205
|
-
"
|
|
10225
|
+
"30": {
|
|
10206
10226
|
start: {
|
|
10207
|
-
line:
|
|
10227
|
+
line: 90,
|
|
10208
10228
|
column: 4
|
|
10209
10229
|
},
|
|
10210
10230
|
end: {
|
|
10211
|
-
line:
|
|
10231
|
+
line: 93,
|
|
10212
10232
|
column: 168
|
|
10213
10233
|
}
|
|
10214
10234
|
},
|
|
10215
|
-
"
|
|
10235
|
+
"31": {
|
|
10216
10236
|
start: {
|
|
10217
|
-
line:
|
|
10237
|
+
line: 95,
|
|
10218
10238
|
column: 28
|
|
10219
10239
|
},
|
|
10220
10240
|
end: {
|
|
10221
|
-
line:
|
|
10241
|
+
line: 95,
|
|
10222
10242
|
column: 61
|
|
10223
10243
|
}
|
|
10224
10244
|
},
|
|
10225
|
-
"
|
|
10245
|
+
"32": {
|
|
10226
10246
|
start: {
|
|
10227
|
-
line:
|
|
10247
|
+
line: 96,
|
|
10228
10248
|
column: 22
|
|
10229
10249
|
},
|
|
10230
10250
|
end: {
|
|
10231
|
-
line:
|
|
10251
|
+
line: 96,
|
|
10232
10252
|
column: 53
|
|
10233
10253
|
}
|
|
10234
10254
|
}
|
|
@@ -10238,95 +10258,95 @@ function cov_2anqb7tsc9() {
|
|
|
10238
10258
|
name: "(anonymous_0)",
|
|
10239
10259
|
decl: {
|
|
10240
10260
|
start: {
|
|
10241
|
-
line:
|
|
10261
|
+
line: 55,
|
|
10242
10262
|
column: 36
|
|
10243
10263
|
},
|
|
10244
10264
|
end: {
|
|
10245
|
-
line:
|
|
10265
|
+
line: 55,
|
|
10246
10266
|
column: 37
|
|
10247
10267
|
}
|
|
10248
10268
|
},
|
|
10249
10269
|
loc: {
|
|
10250
10270
|
start: {
|
|
10251
|
-
line:
|
|
10271
|
+
line: 55,
|
|
10252
10272
|
column: 73
|
|
10253
10273
|
},
|
|
10254
10274
|
end: {
|
|
10255
|
-
line:
|
|
10275
|
+
line: 63,
|
|
10256
10276
|
column: 1
|
|
10257
10277
|
}
|
|
10258
10278
|
},
|
|
10259
|
-
line:
|
|
10279
|
+
line: 55
|
|
10260
10280
|
},
|
|
10261
10281
|
"1": {
|
|
10262
10282
|
name: "(anonymous_1)",
|
|
10263
10283
|
decl: {
|
|
10264
10284
|
start: {
|
|
10265
|
-
line:
|
|
10285
|
+
line: 64,
|
|
10266
10286
|
column: 24
|
|
10267
10287
|
},
|
|
10268
10288
|
end: {
|
|
10269
|
-
line:
|
|
10289
|
+
line: 64,
|
|
10270
10290
|
column: 25
|
|
10271
10291
|
}
|
|
10272
10292
|
},
|
|
10273
10293
|
loc: {
|
|
10274
10294
|
start: {
|
|
10275
|
-
line:
|
|
10295
|
+
line: 64,
|
|
10276
10296
|
column: 176
|
|
10277
10297
|
},
|
|
10278
10298
|
end: {
|
|
10279
|
-
line:
|
|
10299
|
+
line: 94,
|
|
10280
10300
|
column: 1
|
|
10281
10301
|
}
|
|
10282
10302
|
},
|
|
10283
|
-
line:
|
|
10303
|
+
line: 64
|
|
10284
10304
|
},
|
|
10285
10305
|
"2": {
|
|
10286
10306
|
name: "(anonymous_2)",
|
|
10287
10307
|
decl: {
|
|
10288
10308
|
start: {
|
|
10289
|
-
line:
|
|
10309
|
+
line: 65,
|
|
10290
10310
|
column: 24
|
|
10291
10311
|
},
|
|
10292
10312
|
end: {
|
|
10293
|
-
line:
|
|
10313
|
+
line: 65,
|
|
10294
10314
|
column: 25
|
|
10295
10315
|
}
|
|
10296
10316
|
},
|
|
10297
10317
|
loc: {
|
|
10298
10318
|
start: {
|
|
10299
|
-
line:
|
|
10319
|
+
line: 65,
|
|
10300
10320
|
column: 35
|
|
10301
10321
|
},
|
|
10302
10322
|
end: {
|
|
10303
|
-
line:
|
|
10323
|
+
line: 68,
|
|
10304
10324
|
column: 5
|
|
10305
10325
|
}
|
|
10306
10326
|
},
|
|
10307
|
-
line:
|
|
10327
|
+
line: 65
|
|
10308
10328
|
}
|
|
10309
10329
|
},
|
|
10310
10330
|
branchMap: {
|
|
10311
10331
|
"0": {
|
|
10312
10332
|
loc: {
|
|
10313
10333
|
start: {
|
|
10314
|
-
line:
|
|
10334
|
+
line: 56,
|
|
10315
10335
|
column: 4
|
|
10316
10336
|
},
|
|
10317
10337
|
end: {
|
|
10318
|
-
line:
|
|
10338
|
+
line: 57,
|
|
10319
10339
|
column: 92
|
|
10320
10340
|
}
|
|
10321
10341
|
},
|
|
10322
10342
|
type: "if",
|
|
10323
10343
|
locations: [{
|
|
10324
10344
|
start: {
|
|
10325
|
-
line:
|
|
10345
|
+
line: 56,
|
|
10326
10346
|
column: 4
|
|
10327
10347
|
},
|
|
10328
10348
|
end: {
|
|
10329
|
-
line:
|
|
10349
|
+
line: 57,
|
|
10330
10350
|
column: 92
|
|
10331
10351
|
}
|
|
10332
10352
|
}, {
|
|
@@ -10339,60 +10359,60 @@ function cov_2anqb7tsc9() {
|
|
|
10339
10359
|
column: undefined
|
|
10340
10360
|
}
|
|
10341
10361
|
}],
|
|
10342
|
-
line:
|
|
10362
|
+
line: 56
|
|
10343
10363
|
},
|
|
10344
10364
|
"1": {
|
|
10345
10365
|
loc: {
|
|
10346
10366
|
start: {
|
|
10347
|
-
line:
|
|
10367
|
+
line: 56,
|
|
10348
10368
|
column: 8
|
|
10349
10369
|
},
|
|
10350
10370
|
end: {
|
|
10351
|
-
line:
|
|
10371
|
+
line: 56,
|
|
10352
10372
|
column: 32
|
|
10353
10373
|
}
|
|
10354
10374
|
},
|
|
10355
10375
|
type: "binary-expr",
|
|
10356
10376
|
locations: [{
|
|
10357
10377
|
start: {
|
|
10358
|
-
line:
|
|
10378
|
+
line: 56,
|
|
10359
10379
|
column: 8
|
|
10360
10380
|
},
|
|
10361
10381
|
end: {
|
|
10362
|
-
line:
|
|
10382
|
+
line: 56,
|
|
10363
10383
|
column: 18
|
|
10364
10384
|
}
|
|
10365
10385
|
}, {
|
|
10366
10386
|
start: {
|
|
10367
|
-
line:
|
|
10387
|
+
line: 56,
|
|
10368
10388
|
column: 22
|
|
10369
10389
|
},
|
|
10370
10390
|
end: {
|
|
10371
|
-
line:
|
|
10391
|
+
line: 56,
|
|
10372
10392
|
column: 32
|
|
10373
10393
|
}
|
|
10374
10394
|
}],
|
|
10375
|
-
line:
|
|
10395
|
+
line: 56
|
|
10376
10396
|
},
|
|
10377
10397
|
"2": {
|
|
10378
10398
|
loc: {
|
|
10379
10399
|
start: {
|
|
10380
|
-
line:
|
|
10400
|
+
line: 58,
|
|
10381
10401
|
column: 4
|
|
10382
10402
|
},
|
|
10383
10403
|
end: {
|
|
10384
|
-
line:
|
|
10404
|
+
line: 61,
|
|
10385
10405
|
column: 5
|
|
10386
10406
|
}
|
|
10387
10407
|
},
|
|
10388
10408
|
type: "if",
|
|
10389
10409
|
locations: [{
|
|
10390
10410
|
start: {
|
|
10391
|
-
line:
|
|
10411
|
+
line: 58,
|
|
10392
10412
|
column: 4
|
|
10393
10413
|
},
|
|
10394
10414
|
end: {
|
|
10395
|
-
line:
|
|
10415
|
+
line: 61,
|
|
10396
10416
|
column: 5
|
|
10397
10417
|
}
|
|
10398
10418
|
}, {
|
|
@@ -10405,216 +10425,249 @@ function cov_2anqb7tsc9() {
|
|
|
10405
10425
|
column: undefined
|
|
10406
10426
|
}
|
|
10407
10427
|
}],
|
|
10408
|
-
line:
|
|
10428
|
+
line: 58
|
|
10409
10429
|
},
|
|
10410
10430
|
"3": {
|
|
10411
10431
|
loc: {
|
|
10412
10432
|
start: {
|
|
10413
|
-
line:
|
|
10433
|
+
line: 64,
|
|
10414
10434
|
column: 46
|
|
10415
10435
|
},
|
|
10416
10436
|
end: {
|
|
10417
|
-
line:
|
|
10437
|
+
line: 64,
|
|
10418
10438
|
column: 65
|
|
10419
10439
|
}
|
|
10420
10440
|
},
|
|
10421
10441
|
type: "default-arg",
|
|
10422
10442
|
locations: [{
|
|
10423
10443
|
start: {
|
|
10424
|
-
line:
|
|
10444
|
+
line: 64,
|
|
10425
10445
|
column: 56
|
|
10426
10446
|
},
|
|
10427
10447
|
end: {
|
|
10428
|
-
line:
|
|
10448
|
+
line: 64,
|
|
10429
10449
|
column: 65
|
|
10430
10450
|
}
|
|
10431
10451
|
}],
|
|
10432
|
-
line:
|
|
10452
|
+
line: 64
|
|
10433
10453
|
},
|
|
10434
10454
|
"4": {
|
|
10435
10455
|
loc: {
|
|
10436
10456
|
start: {
|
|
10437
|
-
line:
|
|
10457
|
+
line: 64,
|
|
10438
10458
|
column: 114
|
|
10439
10459
|
},
|
|
10440
10460
|
end: {
|
|
10441
|
-
line:
|
|
10461
|
+
line: 64,
|
|
10442
10462
|
column: 130
|
|
10443
10463
|
}
|
|
10444
10464
|
},
|
|
10445
10465
|
type: "default-arg",
|
|
10446
10466
|
locations: [{
|
|
10447
10467
|
start: {
|
|
10448
|
-
line:
|
|
10468
|
+
line: 64,
|
|
10449
10469
|
column: 121
|
|
10450
10470
|
},
|
|
10451
10471
|
end: {
|
|
10452
|
-
line:
|
|
10472
|
+
line: 64,
|
|
10453
10473
|
column: 130
|
|
10454
10474
|
}
|
|
10455
10475
|
}],
|
|
10456
|
-
line:
|
|
10476
|
+
line: 64
|
|
10457
10477
|
},
|
|
10458
10478
|
"5": {
|
|
10459
10479
|
loc: {
|
|
10460
10480
|
start: {
|
|
10461
|
-
line:
|
|
10481
|
+
line: 64,
|
|
10462
10482
|
column: 132
|
|
10463
10483
|
},
|
|
10464
10484
|
end: {
|
|
10465
|
-
line:
|
|
10485
|
+
line: 64,
|
|
10466
10486
|
column: 154
|
|
10467
10487
|
}
|
|
10468
10488
|
},
|
|
10469
10489
|
type: "default-arg",
|
|
10470
10490
|
locations: [{
|
|
10471
10491
|
start: {
|
|
10472
|
-
line:
|
|
10492
|
+
line: 64,
|
|
10473
10493
|
column: 147
|
|
10474
10494
|
},
|
|
10475
10495
|
end: {
|
|
10476
|
-
line:
|
|
10496
|
+
line: 64,
|
|
10477
10497
|
column: 154
|
|
10478
10498
|
}
|
|
10479
10499
|
}],
|
|
10480
|
-
line:
|
|
10500
|
+
line: 64
|
|
10481
10501
|
},
|
|
10482
10502
|
"6": {
|
|
10483
10503
|
loc: {
|
|
10484
10504
|
start: {
|
|
10485
|
-
line:
|
|
10505
|
+
line: 67,
|
|
10486
10506
|
column: 8
|
|
10487
10507
|
},
|
|
10488
10508
|
end: {
|
|
10489
|
-
line:
|
|
10509
|
+
line: 67,
|
|
10490
10510
|
column: 60
|
|
10491
10511
|
}
|
|
10492
10512
|
},
|
|
10493
10513
|
type: "binary-expr",
|
|
10494
10514
|
locations: [{
|
|
10495
10515
|
start: {
|
|
10496
|
-
line:
|
|
10516
|
+
line: 67,
|
|
10497
10517
|
column: 9
|
|
10498
10518
|
},
|
|
10499
10519
|
end: {
|
|
10500
|
-
line:
|
|
10520
|
+
line: 67,
|
|
10501
10521
|
column: 18
|
|
10502
10522
|
}
|
|
10503
10523
|
}, {
|
|
10504
10524
|
start: {
|
|
10505
|
-
line:
|
|
10525
|
+
line: 67,
|
|
10506
10526
|
column: 22
|
|
10507
10527
|
},
|
|
10508
10528
|
end: {
|
|
10509
|
-
line:
|
|
10529
|
+
line: 67,
|
|
10510
10530
|
column: 30
|
|
10511
10531
|
}
|
|
10512
10532
|
}, {
|
|
10513
10533
|
start: {
|
|
10514
|
-
line:
|
|
10534
|
+
line: 67,
|
|
10515
10535
|
column: 35
|
|
10516
10536
|
},
|
|
10517
10537
|
end: {
|
|
10518
|
-
line:
|
|
10538
|
+
line: 67,
|
|
10519
10539
|
column: 42
|
|
10520
10540
|
}
|
|
10521
10541
|
}, {
|
|
10522
10542
|
start: {
|
|
10523
|
-
line:
|
|
10543
|
+
line: 67,
|
|
10524
10544
|
column: 46
|
|
10525
10545
|
},
|
|
10526
10546
|
end: {
|
|
10527
|
-
line:
|
|
10547
|
+
line: 67,
|
|
10528
10548
|
column: 60
|
|
10529
10549
|
}
|
|
10530
10550
|
}],
|
|
10531
|
-
line:
|
|
10551
|
+
line: 67
|
|
10532
10552
|
},
|
|
10533
10553
|
"7": {
|
|
10534
10554
|
loc: {
|
|
10535
10555
|
start: {
|
|
10536
|
-
line:
|
|
10537
|
-
column:
|
|
10556
|
+
line: 72,
|
|
10557
|
+
column: 30
|
|
10558
|
+
},
|
|
10559
|
+
end: {
|
|
10560
|
+
line: 72,
|
|
10561
|
+
column: 105
|
|
10562
|
+
}
|
|
10563
|
+
},
|
|
10564
|
+
type: "cond-expr",
|
|
10565
|
+
locations: [{
|
|
10566
|
+
start: {
|
|
10567
|
+
line: 72,
|
|
10568
|
+
column: 55
|
|
10538
10569
|
},
|
|
10539
10570
|
end: {
|
|
10571
|
+
line: 72,
|
|
10572
|
+
column: 57
|
|
10573
|
+
}
|
|
10574
|
+
}, {
|
|
10575
|
+
start: {
|
|
10576
|
+
line: 72,
|
|
10577
|
+
column: 60
|
|
10578
|
+
},
|
|
10579
|
+
end: {
|
|
10580
|
+
line: 72,
|
|
10581
|
+
column: 105
|
|
10582
|
+
}
|
|
10583
|
+
}],
|
|
10584
|
+
line: 72
|
|
10585
|
+
},
|
|
10586
|
+
"8": {
|
|
10587
|
+
loc: {
|
|
10588
|
+
start: {
|
|
10540
10589
|
line: 74,
|
|
10590
|
+
column: 4
|
|
10591
|
+
},
|
|
10592
|
+
end: {
|
|
10593
|
+
line: 83,
|
|
10541
10594
|
column: 5
|
|
10542
10595
|
}
|
|
10543
10596
|
},
|
|
10544
10597
|
type: "if",
|
|
10545
10598
|
locations: [{
|
|
10546
10599
|
start: {
|
|
10547
|
-
line:
|
|
10600
|
+
line: 74,
|
|
10548
10601
|
column: 4
|
|
10549
10602
|
},
|
|
10550
10603
|
end: {
|
|
10551
|
-
line:
|
|
10604
|
+
line: 83,
|
|
10552
10605
|
column: 5
|
|
10553
10606
|
}
|
|
10554
10607
|
}, {
|
|
10555
10608
|
start: {
|
|
10556
|
-
line:
|
|
10609
|
+
line: 78,
|
|
10557
10610
|
column: 9
|
|
10558
10611
|
},
|
|
10559
10612
|
end: {
|
|
10560
|
-
line:
|
|
10613
|
+
line: 83,
|
|
10561
10614
|
column: 5
|
|
10562
10615
|
}
|
|
10563
10616
|
}],
|
|
10564
|
-
line:
|
|
10617
|
+
line: 74
|
|
10565
10618
|
},
|
|
10566
|
-
"
|
|
10619
|
+
"9": {
|
|
10567
10620
|
loc: {
|
|
10568
10621
|
start: {
|
|
10569
|
-
line:
|
|
10622
|
+
line: 78,
|
|
10570
10623
|
column: 9
|
|
10571
10624
|
},
|
|
10572
10625
|
end: {
|
|
10573
|
-
line:
|
|
10626
|
+
line: 83,
|
|
10574
10627
|
column: 5
|
|
10575
10628
|
}
|
|
10576
10629
|
},
|
|
10577
10630
|
type: "if",
|
|
10578
10631
|
locations: [{
|
|
10579
10632
|
start: {
|
|
10580
|
-
line:
|
|
10633
|
+
line: 78,
|
|
10581
10634
|
column: 9
|
|
10582
10635
|
},
|
|
10583
10636
|
end: {
|
|
10584
|
-
line:
|
|
10637
|
+
line: 83,
|
|
10585
10638
|
column: 5
|
|
10586
10639
|
}
|
|
10587
10640
|
}, {
|
|
10588
10641
|
start: {
|
|
10589
|
-
line:
|
|
10642
|
+
line: 81,
|
|
10590
10643
|
column: 9
|
|
10591
10644
|
},
|
|
10592
10645
|
end: {
|
|
10593
|
-
line:
|
|
10646
|
+
line: 83,
|
|
10594
10647
|
column: 5
|
|
10595
10648
|
}
|
|
10596
10649
|
}],
|
|
10597
|
-
line:
|
|
10650
|
+
line: 78
|
|
10598
10651
|
},
|
|
10599
|
-
"
|
|
10652
|
+
"10": {
|
|
10600
10653
|
loc: {
|
|
10601
10654
|
start: {
|
|
10602
|
-
line:
|
|
10655
|
+
line: 85,
|
|
10603
10656
|
column: 4
|
|
10604
10657
|
},
|
|
10605
10658
|
end: {
|
|
10606
|
-
line:
|
|
10659
|
+
line: 86,
|
|
10607
10660
|
column: 29
|
|
10608
10661
|
}
|
|
10609
10662
|
},
|
|
10610
10663
|
type: "if",
|
|
10611
10664
|
locations: [{
|
|
10612
10665
|
start: {
|
|
10613
|
-
line:
|
|
10666
|
+
line: 85,
|
|
10614
10667
|
column: 4
|
|
10615
10668
|
},
|
|
10616
10669
|
end: {
|
|
10617
|
-
line:
|
|
10670
|
+
line: 86,
|
|
10618
10671
|
column: 29
|
|
10619
10672
|
}
|
|
10620
10673
|
}, {
|
|
@@ -10627,27 +10680,27 @@ function cov_2anqb7tsc9() {
|
|
|
10627
10680
|
column: undefined
|
|
10628
10681
|
}
|
|
10629
10682
|
}],
|
|
10630
|
-
line:
|
|
10683
|
+
line: 85
|
|
10631
10684
|
},
|
|
10632
|
-
"
|
|
10685
|
+
"11": {
|
|
10633
10686
|
loc: {
|
|
10634
10687
|
start: {
|
|
10635
|
-
line:
|
|
10688
|
+
line: 87,
|
|
10636
10689
|
column: 4
|
|
10637
10690
|
},
|
|
10638
10691
|
end: {
|
|
10639
|
-
line:
|
|
10692
|
+
line: 88,
|
|
10640
10693
|
column: 29
|
|
10641
10694
|
}
|
|
10642
10695
|
},
|
|
10643
10696
|
type: "if",
|
|
10644
10697
|
locations: [{
|
|
10645
10698
|
start: {
|
|
10646
|
-
line:
|
|
10699
|
+
line: 87,
|
|
10647
10700
|
column: 4
|
|
10648
10701
|
},
|
|
10649
10702
|
end: {
|
|
10650
|
-
line:
|
|
10703
|
+
line: 88,
|
|
10651
10704
|
column: 29
|
|
10652
10705
|
}
|
|
10653
10706
|
}, {
|
|
@@ -10660,199 +10713,199 @@ function cov_2anqb7tsc9() {
|
|
|
10660
10713
|
column: undefined
|
|
10661
10714
|
}
|
|
10662
10715
|
}],
|
|
10663
|
-
line:
|
|
10716
|
+
line: 87
|
|
10664
10717
|
},
|
|
10665
|
-
"
|
|
10718
|
+
"12": {
|
|
10666
10719
|
loc: {
|
|
10667
10720
|
start: {
|
|
10668
|
-
line:
|
|
10721
|
+
line: 89,
|
|
10669
10722
|
column: 24
|
|
10670
10723
|
},
|
|
10671
10724
|
end: {
|
|
10672
|
-
line:
|
|
10725
|
+
line: 89,
|
|
10673
10726
|
column: 54
|
|
10674
10727
|
}
|
|
10675
10728
|
},
|
|
10676
10729
|
type: "binary-expr",
|
|
10677
10730
|
locations: [{
|
|
10678
10731
|
start: {
|
|
10679
|
-
line:
|
|
10732
|
+
line: 89,
|
|
10680
10733
|
column: 25
|
|
10681
10734
|
},
|
|
10682
10735
|
end: {
|
|
10683
|
-
line:
|
|
10736
|
+
line: 89,
|
|
10684
10737
|
column: 32
|
|
10685
10738
|
}
|
|
10686
10739
|
}, {
|
|
10687
10740
|
start: {
|
|
10688
|
-
line:
|
|
10741
|
+
line: 89,
|
|
10689
10742
|
column: 36
|
|
10690
10743
|
},
|
|
10691
10744
|
end: {
|
|
10692
|
-
line:
|
|
10745
|
+
line: 89,
|
|
10693
10746
|
column: 45
|
|
10694
10747
|
}
|
|
10695
10748
|
}, {
|
|
10696
10749
|
start: {
|
|
10697
|
-
line:
|
|
10750
|
+
line: 89,
|
|
10698
10751
|
column: 50
|
|
10699
10752
|
},
|
|
10700
10753
|
end: {
|
|
10701
|
-
line:
|
|
10754
|
+
line: 89,
|
|
10702
10755
|
column: 54
|
|
10703
10756
|
}
|
|
10704
10757
|
}],
|
|
10705
|
-
line:
|
|
10758
|
+
line: 89
|
|
10706
10759
|
},
|
|
10707
|
-
"
|
|
10760
|
+
"13": {
|
|
10708
10761
|
loc: {
|
|
10709
10762
|
start: {
|
|
10710
|
-
line:
|
|
10763
|
+
line: 91,
|
|
10711
10764
|
column: 8
|
|
10712
10765
|
},
|
|
10713
10766
|
end: {
|
|
10714
|
-
line:
|
|
10767
|
+
line: 91,
|
|
10715
10768
|
column: 164
|
|
10716
10769
|
}
|
|
10717
10770
|
},
|
|
10718
10771
|
type: "binary-expr",
|
|
10719
10772
|
locations: [{
|
|
10720
10773
|
start: {
|
|
10721
|
-
line:
|
|
10774
|
+
line: 91,
|
|
10722
10775
|
column: 8
|
|
10723
10776
|
},
|
|
10724
10777
|
end: {
|
|
10725
|
-
line:
|
|
10778
|
+
line: 91,
|
|
10726
10779
|
column: 19
|
|
10727
10780
|
}
|
|
10728
10781
|
}, {
|
|
10729
10782
|
start: {
|
|
10730
|
-
line:
|
|
10783
|
+
line: 91,
|
|
10731
10784
|
column: 23
|
|
10732
10785
|
},
|
|
10733
10786
|
end: {
|
|
10734
|
-
line:
|
|
10787
|
+
line: 91,
|
|
10735
10788
|
column: 46
|
|
10736
10789
|
}
|
|
10737
10790
|
}, {
|
|
10738
10791
|
start: {
|
|
10739
|
-
line:
|
|
10792
|
+
line: 91,
|
|
10740
10793
|
column: 51
|
|
10741
10794
|
},
|
|
10742
10795
|
end: {
|
|
10743
|
-
line:
|
|
10796
|
+
line: 91,
|
|
10744
10797
|
column: 163
|
|
10745
10798
|
}
|
|
10746
10799
|
}],
|
|
10747
|
-
line:
|
|
10800
|
+
line: 91
|
|
10748
10801
|
},
|
|
10749
|
-
"
|
|
10802
|
+
"14": {
|
|
10750
10803
|
loc: {
|
|
10751
10804
|
start: {
|
|
10752
|
-
line:
|
|
10805
|
+
line: 91,
|
|
10753
10806
|
column: 104
|
|
10754
10807
|
},
|
|
10755
10808
|
end: {
|
|
10756
|
-
line:
|
|
10809
|
+
line: 91,
|
|
10757
10810
|
column: 128
|
|
10758
10811
|
}
|
|
10759
10812
|
},
|
|
10760
10813
|
type: "cond-expr",
|
|
10761
10814
|
locations: [{
|
|
10762
10815
|
start: {
|
|
10763
|
-
line:
|
|
10816
|
+
line: 91,
|
|
10764
10817
|
column: 123
|
|
10765
10818
|
},
|
|
10766
10819
|
end: {
|
|
10767
|
-
line:
|
|
10820
|
+
line: 91,
|
|
10768
10821
|
column: 124
|
|
10769
10822
|
}
|
|
10770
10823
|
}, {
|
|
10771
10824
|
start: {
|
|
10772
|
-
line:
|
|
10825
|
+
line: 91,
|
|
10773
10826
|
column: 127
|
|
10774
10827
|
},
|
|
10775
10828
|
end: {
|
|
10776
|
-
line:
|
|
10829
|
+
line: 91,
|
|
10777
10830
|
column: 128
|
|
10778
10831
|
}
|
|
10779
10832
|
}],
|
|
10780
|
-
line:
|
|
10833
|
+
line: 91
|
|
10781
10834
|
},
|
|
10782
|
-
"
|
|
10835
|
+
"15": {
|
|
10783
10836
|
loc: {
|
|
10784
10837
|
start: {
|
|
10785
|
-
line:
|
|
10838
|
+
line: 93,
|
|
10786
10839
|
column: 8
|
|
10787
10840
|
},
|
|
10788
10841
|
end: {
|
|
10789
|
-
line:
|
|
10842
|
+
line: 93,
|
|
10790
10843
|
column: 165
|
|
10791
10844
|
}
|
|
10792
10845
|
},
|
|
10793
10846
|
type: "binary-expr",
|
|
10794
10847
|
locations: [{
|
|
10795
10848
|
start: {
|
|
10796
|
-
line:
|
|
10849
|
+
line: 93,
|
|
10797
10850
|
column: 8
|
|
10798
10851
|
},
|
|
10799
10852
|
end: {
|
|
10800
|
-
line:
|
|
10853
|
+
line: 93,
|
|
10801
10854
|
column: 19
|
|
10802
10855
|
}
|
|
10803
10856
|
}, {
|
|
10804
10857
|
start: {
|
|
10805
|
-
line:
|
|
10858
|
+
line: 93,
|
|
10806
10859
|
column: 23
|
|
10807
10860
|
},
|
|
10808
10861
|
end: {
|
|
10809
|
-
line:
|
|
10862
|
+
line: 93,
|
|
10810
10863
|
column: 47
|
|
10811
10864
|
}
|
|
10812
10865
|
}, {
|
|
10813
10866
|
start: {
|
|
10814
|
-
line:
|
|
10867
|
+
line: 93,
|
|
10815
10868
|
column: 52
|
|
10816
10869
|
},
|
|
10817
10870
|
end: {
|
|
10818
|
-
line:
|
|
10871
|
+
line: 93,
|
|
10819
10872
|
column: 164
|
|
10820
10873
|
}
|
|
10821
10874
|
}],
|
|
10822
|
-
line:
|
|
10875
|
+
line: 93
|
|
10823
10876
|
},
|
|
10824
|
-
"
|
|
10877
|
+
"16": {
|
|
10825
10878
|
loc: {
|
|
10826
10879
|
start: {
|
|
10827
|
-
line:
|
|
10880
|
+
line: 93,
|
|
10828
10881
|
column: 105
|
|
10829
10882
|
},
|
|
10830
10883
|
end: {
|
|
10831
|
-
line:
|
|
10884
|
+
line: 93,
|
|
10832
10885
|
column: 129
|
|
10833
10886
|
}
|
|
10834
10887
|
},
|
|
10835
10888
|
type: "cond-expr",
|
|
10836
10889
|
locations: [{
|
|
10837
10890
|
start: {
|
|
10838
|
-
line:
|
|
10891
|
+
line: 93,
|
|
10839
10892
|
column: 124
|
|
10840
10893
|
},
|
|
10841
10894
|
end: {
|
|
10842
|
-
line:
|
|
10895
|
+
line: 93,
|
|
10843
10896
|
column: 125
|
|
10844
10897
|
}
|
|
10845
10898
|
}, {
|
|
10846
10899
|
start: {
|
|
10847
|
-
line:
|
|
10900
|
+
line: 93,
|
|
10848
10901
|
column: 128
|
|
10849
10902
|
},
|
|
10850
10903
|
end: {
|
|
10851
|
-
line:
|
|
10904
|
+
line: 93,
|
|
10852
10905
|
column: 129
|
|
10853
10906
|
}
|
|
10854
10907
|
}],
|
|
10855
|
-
line:
|
|
10908
|
+
line: 93
|
|
10856
10909
|
}
|
|
10857
10910
|
},
|
|
10858
10911
|
s: {
|
|
@@ -10886,7 +10939,9 @@ function cov_2anqb7tsc9() {
|
|
|
10886
10939
|
"27": 0,
|
|
10887
10940
|
"28": 0,
|
|
10888
10941
|
"29": 0,
|
|
10889
|
-
"30": 0
|
|
10942
|
+
"30": 0,
|
|
10943
|
+
"31": 0,
|
|
10944
|
+
"32": 0
|
|
10890
10945
|
},
|
|
10891
10946
|
f: {
|
|
10892
10947
|
"0": 0,
|
|
@@ -10905,14 +10960,15 @@ function cov_2anqb7tsc9() {
|
|
|
10905
10960
|
"8": [0, 0],
|
|
10906
10961
|
"9": [0, 0],
|
|
10907
10962
|
"10": [0, 0],
|
|
10908
|
-
"11": [0, 0
|
|
10963
|
+
"11": [0, 0],
|
|
10909
10964
|
"12": [0, 0, 0],
|
|
10910
|
-
"13": [0, 0],
|
|
10911
|
-
"14": [0, 0
|
|
10912
|
-
"15": [0, 0]
|
|
10965
|
+
"13": [0, 0, 0],
|
|
10966
|
+
"14": [0, 0],
|
|
10967
|
+
"15": [0, 0, 0],
|
|
10968
|
+
"16": [0, 0]
|
|
10913
10969
|
},
|
|
10914
10970
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
10915
|
-
hash: "
|
|
10971
|
+
hash: "310211796e7cac517fdaed464926d8392a590612"
|
|
10916
10972
|
};
|
|
10917
10973
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
10918
10974
|
|
|
@@ -10973,22 +11029,27 @@ var listOfStylesDisabled = ( /*#__PURE__*/cov_2anqb7tsc9().s[5]++, {
|
|
|
10973
11029
|
outline: defaultDisabledStyle,
|
|
10974
11030
|
onlyText: "bg-transparent text-on-base-3 shadow-none ring-0 border-0 "
|
|
10975
11031
|
});
|
|
10976
|
-
var
|
|
10977
|
-
small: "
|
|
11032
|
+
var listOfSizePaddings = ( /*#__PURE__*/cov_2anqb7tsc9().s[6]++, {
|
|
11033
|
+
small: "komea:px-3",
|
|
11034
|
+
"default": "",
|
|
11035
|
+
large: "komea:px-6"
|
|
11036
|
+
});
|
|
11037
|
+
var listOfSizes = ( /*#__PURE__*/cov_2anqb7tsc9().s[7]++, {
|
|
11038
|
+
small: "text-f6 komea:h-8 h-10",
|
|
10978
11039
|
"default": "text-f6 komea:h-9 h-12",
|
|
10979
|
-
large: "text-f5 komea:h-10
|
|
11040
|
+
large: "text-f5 komea:h-10 h-14"
|
|
10980
11041
|
});
|
|
10981
|
-
var ButtonType = ( /*#__PURE__*/cov_2anqb7tsc9().s[
|
|
11042
|
+
var ButtonType = ( /*#__PURE__*/cov_2anqb7tsc9().s[8]++, /*#__PURE__*/React__default.forwardRef(function (_ref, ref) {
|
|
10982
11043
|
var as = _ref.as,
|
|
10983
11044
|
children = _ref.children,
|
|
10984
11045
|
props = _objectWithoutPropertiesLoose(_ref, ["as", "children"]);
|
|
10985
11046
|
|
|
10986
11047
|
cov_2anqb7tsc9().f[0]++;
|
|
10987
|
-
cov_2anqb7tsc9().s[
|
|
11048
|
+
cov_2anqb7tsc9().s[9]++;
|
|
10988
11049
|
|
|
10989
11050
|
if ((cov_2anqb7tsc9().b[1][0]++, as === 'a') || (cov_2anqb7tsc9().b[1][1]++, props.href)) {
|
|
10990
11051
|
cov_2anqb7tsc9().b[0][0]++;
|
|
10991
|
-
cov_2anqb7tsc9().s[
|
|
11052
|
+
cov_2anqb7tsc9().s[10]++;
|
|
10992
11053
|
return /*#__PURE__*/React__default.createElement("a", Object.assign({}, props, {
|
|
10993
11054
|
ref: ref
|
|
10994
11055
|
}), children);
|
|
@@ -10996,23 +11057,23 @@ var ButtonType = ( /*#__PURE__*/cov_2anqb7tsc9().s[7]++, /*#__PURE__*/React__def
|
|
|
10996
11057
|
cov_2anqb7tsc9().b[0][1]++;
|
|
10997
11058
|
}
|
|
10998
11059
|
|
|
10999
|
-
cov_2anqb7tsc9().s[
|
|
11060
|
+
cov_2anqb7tsc9().s[11]++;
|
|
11000
11061
|
|
|
11001
11062
|
if (!props.type) {
|
|
11002
11063
|
cov_2anqb7tsc9().b[2][0]++;
|
|
11003
|
-
cov_2anqb7tsc9().s[
|
|
11064
|
+
cov_2anqb7tsc9().s[12]++;
|
|
11004
11065
|
// Default to button when missing type
|
|
11005
11066
|
props.type = 'button';
|
|
11006
11067
|
} else {
|
|
11007
11068
|
cov_2anqb7tsc9().b[2][1]++;
|
|
11008
11069
|
}
|
|
11009
11070
|
|
|
11010
|
-
cov_2anqb7tsc9().s[
|
|
11071
|
+
cov_2anqb7tsc9().s[13]++;
|
|
11011
11072
|
return /*#__PURE__*/React__default.createElement("button", Object.assign({}, props, {
|
|
11012
11073
|
ref: ref
|
|
11013
11074
|
}), children);
|
|
11014
11075
|
}));
|
|
11015
|
-
cov_2anqb7tsc9().s[
|
|
11076
|
+
cov_2anqb7tsc9().s[14]++;
|
|
11016
11077
|
|
|
11017
11078
|
var ButtonComponent = function ButtonComponent(_ref2, ref) {
|
|
11018
11079
|
var children = _ref2.children,
|
|
@@ -11031,78 +11092,82 @@ var ButtonComponent = function ButtonComponent(_ref2, ref) {
|
|
|
11031
11092
|
props = _objectWithoutPropertiesLoose(_ref2, ["children", "loading", "variant", "fullWidth", "icon", "disabled", "className", "onClick", "size", "iconPosition"]);
|
|
11032
11093
|
|
|
11033
11094
|
cov_2anqb7tsc9().f[1]++;
|
|
11034
|
-
cov_2anqb7tsc9().s[
|
|
11095
|
+
cov_2anqb7tsc9().s[15]++;
|
|
11035
11096
|
|
|
11036
11097
|
var handleClick = function handleClick(event) {
|
|
11037
11098
|
cov_2anqb7tsc9().f[2]++;
|
|
11038
|
-
cov_2anqb7tsc9().s[
|
|
11099
|
+
cov_2anqb7tsc9().s[16]++;
|
|
11039
11100
|
((cov_2anqb7tsc9().b[6][0]++, !disabled) || (cov_2anqb7tsc9().b[6][1]++, !loading)) && (cov_2anqb7tsc9().b[6][2]++, onClick) && (cov_2anqb7tsc9().b[6][3]++, onClick(event));
|
|
11040
|
-
};
|
|
11101
|
+
}; // `onlyText` é o único que não tem caixa, e o padding horizontal fica fora dele. Não dá para
|
|
11102
|
+
// apenas parear com `komea:px-0`: as duas classes empatam em especificidade e o Tailwind emite
|
|
11103
|
+
// `px-0` antes de `px-3`/`px-4`/`px-6`, então o zero perderia pela ordem.
|
|
11104
|
+
|
|
11041
11105
|
|
|
11042
|
-
var
|
|
11043
|
-
cov_2anqb7tsc9().s[
|
|
11106
|
+
var horizontalPadding = (cov_2anqb7tsc9().s[17]++, variant === 'onlyText' ? (cov_2anqb7tsc9().b[7][0]++, '') : (cov_2anqb7tsc9().b[7][1]++, "px-5 komea:px-4 " + listOfSizePaddings[size]));
|
|
11107
|
+
var classes = (cov_2anqb7tsc9().s[18]++, "inline-flex font-semibold komea:font-medium items-center justify-center " + horizontalPadding + " text-center no-underline cursor-pointer transition rounded-md after:align-middle focus:outline-none ");
|
|
11108
|
+
cov_2anqb7tsc9().s[19]++;
|
|
11044
11109
|
|
|
11045
11110
|
if (loading) {
|
|
11046
|
-
cov_2anqb7tsc9().b[
|
|
11047
|
-
cov_2anqb7tsc9().s[
|
|
11111
|
+
cov_2anqb7tsc9().b[8][0]++;
|
|
11112
|
+
cov_2anqb7tsc9().s[20]++;
|
|
11048
11113
|
classes += 'bg-base-3 cursor-default text-on-base-2 pointer-events-none shadow-none ring-0 border-0 hover:bg-base-3 hover:text-on-base-2 focus:ring-0 ';
|
|
11049
11114
|
} else {
|
|
11050
|
-
cov_2anqb7tsc9().b[
|
|
11051
|
-
cov_2anqb7tsc9().s[
|
|
11115
|
+
cov_2anqb7tsc9().b[8][1]++;
|
|
11116
|
+
cov_2anqb7tsc9().s[21]++;
|
|
11052
11117
|
|
|
11053
11118
|
if (disabled) {
|
|
11054
|
-
cov_2anqb7tsc9().b[
|
|
11055
|
-
cov_2anqb7tsc9().s[
|
|
11119
|
+
cov_2anqb7tsc9().b[9][0]++;
|
|
11120
|
+
cov_2anqb7tsc9().s[22]++;
|
|
11056
11121
|
classes += listOfStylesDisabled[variant];
|
|
11057
11122
|
} else {
|
|
11058
|
-
cov_2anqb7tsc9().b[
|
|
11059
|
-
cov_2anqb7tsc9().s[
|
|
11123
|
+
cov_2anqb7tsc9().b[9][1]++;
|
|
11124
|
+
cov_2anqb7tsc9().s[23]++;
|
|
11060
11125
|
classes += listOfStyles[variant] + " ";
|
|
11061
11126
|
}
|
|
11062
11127
|
}
|
|
11063
11128
|
|
|
11064
|
-
cov_2anqb7tsc9().s[
|
|
11129
|
+
cov_2anqb7tsc9().s[24]++;
|
|
11065
11130
|
classes += listOfSizes[size] + " ";
|
|
11066
|
-
cov_2anqb7tsc9().s[
|
|
11131
|
+
cov_2anqb7tsc9().s[25]++;
|
|
11067
11132
|
|
|
11068
11133
|
if (fullWidth) {
|
|
11069
|
-
cov_2anqb7tsc9().b[
|
|
11070
|
-
cov_2anqb7tsc9().s[
|
|
11134
|
+
cov_2anqb7tsc9().b[10][0]++;
|
|
11135
|
+
cov_2anqb7tsc9().s[26]++;
|
|
11071
11136
|
classes += 'w-full ';
|
|
11072
11137
|
} else {
|
|
11073
|
-
cov_2anqb7tsc9().b[
|
|
11138
|
+
cov_2anqb7tsc9().b[10][1]++;
|
|
11074
11139
|
}
|
|
11075
11140
|
|
|
11076
|
-
cov_2anqb7tsc9().s[
|
|
11141
|
+
cov_2anqb7tsc9().s[27]++;
|
|
11077
11142
|
|
|
11078
11143
|
if (className) {
|
|
11079
|
-
cov_2anqb7tsc9().b[
|
|
11080
|
-
cov_2anqb7tsc9().s[
|
|
11144
|
+
cov_2anqb7tsc9().b[11][0]++;
|
|
11145
|
+
cov_2anqb7tsc9().s[28]++;
|
|
11081
11146
|
classes += className;
|
|
11082
11147
|
} else {
|
|
11083
|
-
cov_2anqb7tsc9().b[
|
|
11148
|
+
cov_2anqb7tsc9().b[11][1]++;
|
|
11084
11149
|
}
|
|
11085
11150
|
|
|
11086
|
-
var currentIcon = (cov_2anqb7tsc9().s[
|
|
11087
|
-
cov_2anqb7tsc9().s[
|
|
11151
|
+
var currentIcon = (cov_2anqb7tsc9().s[29]++, (cov_2anqb7tsc9().b[12][0]++, loading) && (cov_2anqb7tsc9().b[12][1]++, 'loading') || (cov_2anqb7tsc9().b[12][2]++, icon));
|
|
11152
|
+
cov_2anqb7tsc9().s[30]++;
|
|
11088
11153
|
return /*#__PURE__*/React__default.createElement(ButtonType, Object.assign({
|
|
11089
11154
|
ref: ref,
|
|
11090
11155
|
className: classes,
|
|
11091
11156
|
disabled: disabled,
|
|
11092
11157
|
onClick: handleClick
|
|
11093
|
-
}, props), (cov_2anqb7tsc9().b[
|
|
11158
|
+
}, props), (cov_2anqb7tsc9().b[13][0]++, currentIcon) && (cov_2anqb7tsc9().b[13][1]++, iconPosition === 'left') && (cov_2anqb7tsc9().b[13][2]++, /*#__PURE__*/React__default.createElement(Icon, {
|
|
11094
11159
|
icon: currentIcon,
|
|
11095
|
-
size: size === 'small' ? (cov_2anqb7tsc9().b[
|
|
11160
|
+
size: size === 'small' ? (cov_2anqb7tsc9().b[14][0]++, 3) : (cov_2anqb7tsc9().b[14][1]++, 4),
|
|
11096
11161
|
className: "mr-2 inline-block"
|
|
11097
|
-
})), children, (cov_2anqb7tsc9().b[
|
|
11162
|
+
})), children, (cov_2anqb7tsc9().b[15][0]++, currentIcon) && (cov_2anqb7tsc9().b[15][1]++, iconPosition === 'right') && (cov_2anqb7tsc9().b[15][2]++, /*#__PURE__*/React__default.createElement(Icon, {
|
|
11098
11163
|
icon: currentIcon,
|
|
11099
|
-
size: size === 'small' ? (cov_2anqb7tsc9().b[
|
|
11164
|
+
size: size === 'small' ? (cov_2anqb7tsc9().b[16][0]++, 3) : (cov_2anqb7tsc9().b[16][1]++, 4),
|
|
11100
11165
|
className: "ml-3 inline-block"
|
|
11101
11166
|
})));
|
|
11102
11167
|
};
|
|
11103
11168
|
|
|
11104
|
-
var ButtonWithFowardRef = ( /*#__PURE__*/cov_2anqb7tsc9().s[
|
|
11105
|
-
var Button = ( /*#__PURE__*/cov_2anqb7tsc9().s[
|
|
11169
|
+
var ButtonWithFowardRef = ( /*#__PURE__*/cov_2anqb7tsc9().s[31]++, /*#__PURE__*/React__default.forwardRef(ButtonComponent));
|
|
11170
|
+
var Button = ( /*#__PURE__*/cov_2anqb7tsc9().s[32]++, /*#__PURE__*/React__default.memo(ButtonWithFowardRef));
|
|
11106
11171
|
|
|
11107
11172
|
function cov_7nvmxoy3u() {
|
|
11108
11173
|
var path = "/home/runner/_work/admin-components/admin-components/styleguide/src/Components/Button/index.tsx";
|
|
@@ -11312,7 +11377,7 @@ cov_cu6b8o2y0();
|
|
|
11312
11377
|
|
|
11313
11378
|
function cov_1repz67rdq() {
|
|
11314
11379
|
var path = "/home/runner/_work/admin-components/admin-components/styleguide/src/Forms/InputLabel/InputLabel.tsx";
|
|
11315
|
-
var hash = "
|
|
11380
|
+
var hash = "c0f5ed9d8fbcc3c7624903e8d6c6695c6f7a1fb2";
|
|
11316
11381
|
var global = new Function("return this")();
|
|
11317
11382
|
var gcv = "__coverage__";
|
|
11318
11383
|
var coverageData = {
|
|
@@ -11495,31 +11560,31 @@ function cov_1repz67rdq() {
|
|
|
11495
11560
|
loc: {
|
|
11496
11561
|
start: {
|
|
11497
11562
|
line: 5,
|
|
11498
|
-
column:
|
|
11563
|
+
column: 141
|
|
11499
11564
|
},
|
|
11500
11565
|
end: {
|
|
11501
11566
|
line: 5,
|
|
11502
|
-
column:
|
|
11567
|
+
column: 182
|
|
11503
11568
|
}
|
|
11504
11569
|
},
|
|
11505
11570
|
type: "cond-expr",
|
|
11506
11571
|
locations: [{
|
|
11507
11572
|
start: {
|
|
11508
11573
|
line: 5,
|
|
11509
|
-
column:
|
|
11574
|
+
column: 152
|
|
11510
11575
|
},
|
|
11511
11576
|
end: {
|
|
11512
11577
|
line: 5,
|
|
11513
|
-
column:
|
|
11578
|
+
column: 165
|
|
11514
11579
|
}
|
|
11515
11580
|
}, {
|
|
11516
11581
|
start: {
|
|
11517
11582
|
line: 5,
|
|
11518
|
-
column:
|
|
11583
|
+
column: 168
|
|
11519
11584
|
},
|
|
11520
11585
|
end: {
|
|
11521
11586
|
line: 5,
|
|
11522
|
-
column:
|
|
11587
|
+
column: 182
|
|
11523
11588
|
}
|
|
11524
11589
|
}],
|
|
11525
11590
|
line: 5
|
|
@@ -11610,7 +11675,7 @@ function cov_1repz67rdq() {
|
|
|
11610
11675
|
"6": [0, 0]
|
|
11611
11676
|
},
|
|
11612
11677
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
11613
|
-
hash: "
|
|
11678
|
+
hash: "c0f5ed9d8fbcc3c7624903e8d6c6695c6f7a1fb2"
|
|
11614
11679
|
};
|
|
11615
11680
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
11616
11681
|
|
|
@@ -11652,7 +11717,7 @@ var InputLabel = ( /*#__PURE__*/cov_1repz67rdq().s[0]++, /*#__PURE__*/React__def
|
|
|
11652
11717
|
|
|
11653
11718
|
cov_1repz67rdq().s[3]++;
|
|
11654
11719
|
return /*#__PURE__*/React__default.createElement("label", {
|
|
11655
|
-
className: "input-label text-f6 font-medium inline-flex items-center mb-0.5 " + (hasError ? (cov_1repz67rdq().b[4][0]++, 'text-danger') : (cov_1repz67rdq().b[4][1]++, 'text-on-base')) + " " + className,
|
|
11720
|
+
className: "input-label text-f6 font-semibold komea:font-medium inline-flex items-center mb-0.5 " + (hasError ? (cov_1repz67rdq().b[4][0]++, 'text-danger') : (cov_1repz67rdq().b[4][1]++, 'text-on-base')) + " " + className,
|
|
11656
11721
|
htmlFor: htmlFor
|
|
11657
11722
|
}, "" + label + (required ? (cov_1repz67rdq().b[5][0]++, '*') : (cov_1repz67rdq().b[5][1]++, '')), (cov_1repz67rdq().b[6][0]++, labelComplement) && (cov_1repz67rdq().b[6][1]++, /*#__PURE__*/React__default.createElement("span", {
|
|
11658
11723
|
className: "ml-2"
|
|
@@ -11978,7 +12043,7 @@ cov_1kzhtm5i1u();
|
|
|
11978
12043
|
|
|
11979
12044
|
function cov_psbeb0r8e() {
|
|
11980
12045
|
var path = "/home/runner/_work/admin-components/admin-components/styleguide/src/Forms/commonStyles.ts";
|
|
11981
|
-
var hash = "
|
|
12046
|
+
var hash = "5f9282f0918978247399fbaf63c4522ef682625b";
|
|
11982
12047
|
var global = new Function("return this")();
|
|
11983
12048
|
var gcv = "__coverage__";
|
|
11984
12049
|
var coverageData = {
|
|
@@ -12001,7 +12066,7 @@ function cov_psbeb0r8e() {
|
|
|
12001
12066
|
},
|
|
12002
12067
|
end: {
|
|
12003
12068
|
line: 2,
|
|
12004
|
-
column:
|
|
12069
|
+
column: 148
|
|
12005
12070
|
}
|
|
12006
12071
|
},
|
|
12007
12072
|
"2": {
|
|
@@ -12021,7 +12086,7 @@ function cov_psbeb0r8e() {
|
|
|
12021
12086
|
},
|
|
12022
12087
|
end: {
|
|
12023
12088
|
line: 4,
|
|
12024
|
-
column:
|
|
12089
|
+
column: 136
|
|
12025
12090
|
}
|
|
12026
12091
|
},
|
|
12027
12092
|
"4": {
|
|
@@ -12031,7 +12096,7 @@ function cov_psbeb0r8e() {
|
|
|
12031
12096
|
},
|
|
12032
12097
|
end: {
|
|
12033
12098
|
line: 5,
|
|
12034
|
-
column:
|
|
12099
|
+
column: 147
|
|
12035
12100
|
}
|
|
12036
12101
|
},
|
|
12037
12102
|
"5": {
|
|
@@ -12051,7 +12116,7 @@ function cov_psbeb0r8e() {
|
|
|
12051
12116
|
},
|
|
12052
12117
|
end: {
|
|
12053
12118
|
line: 7,
|
|
12054
|
-
column:
|
|
12119
|
+
column: 305
|
|
12055
12120
|
}
|
|
12056
12121
|
},
|
|
12057
12122
|
"7": {
|
|
@@ -12061,7 +12126,7 @@ function cov_psbeb0r8e() {
|
|
|
12061
12126
|
},
|
|
12062
12127
|
end: {
|
|
12063
12128
|
line: 8,
|
|
12064
|
-
column:
|
|
12129
|
+
column: 295
|
|
12065
12130
|
}
|
|
12066
12131
|
},
|
|
12067
12132
|
"8": {
|
|
@@ -12076,31 +12141,61 @@ function cov_psbeb0r8e() {
|
|
|
12076
12141
|
},
|
|
12077
12142
|
"9": {
|
|
12078
12143
|
start: {
|
|
12079
|
-
line:
|
|
12144
|
+
line: 24,
|
|
12145
|
+
column: 28
|
|
12146
|
+
},
|
|
12147
|
+
end: {
|
|
12148
|
+
line: 24,
|
|
12149
|
+
column: 65
|
|
12150
|
+
}
|
|
12151
|
+
},
|
|
12152
|
+
"10": {
|
|
12153
|
+
start: {
|
|
12154
|
+
line: 25,
|
|
12155
|
+
column: 44
|
|
12156
|
+
},
|
|
12157
|
+
end: {
|
|
12158
|
+
line: 25,
|
|
12159
|
+
column: 124
|
|
12160
|
+
}
|
|
12161
|
+
},
|
|
12162
|
+
"11": {
|
|
12163
|
+
start: {
|
|
12164
|
+
line: 26,
|
|
12165
|
+
column: 43
|
|
12166
|
+
},
|
|
12167
|
+
end: {
|
|
12168
|
+
line: 26,
|
|
12169
|
+
column: 121
|
|
12170
|
+
}
|
|
12171
|
+
},
|
|
12172
|
+
"12": {
|
|
12173
|
+
start: {
|
|
12174
|
+
line: 27,
|
|
12080
12175
|
column: 29
|
|
12081
12176
|
},
|
|
12082
12177
|
end: {
|
|
12083
|
-
line:
|
|
12178
|
+
line: 27,
|
|
12084
12179
|
column: 67
|
|
12085
12180
|
}
|
|
12086
12181
|
},
|
|
12087
|
-
"
|
|
12182
|
+
"13": {
|
|
12088
12183
|
start: {
|
|
12089
|
-
line:
|
|
12184
|
+
line: 28,
|
|
12090
12185
|
column: 28
|
|
12091
12186
|
},
|
|
12092
12187
|
end: {
|
|
12093
|
-
line:
|
|
12188
|
+
line: 28,
|
|
12094
12189
|
column: 67
|
|
12095
12190
|
}
|
|
12096
12191
|
},
|
|
12097
|
-
"
|
|
12192
|
+
"14": {
|
|
12098
12193
|
start: {
|
|
12099
|
-
line:
|
|
12194
|
+
line: 29,
|
|
12100
12195
|
column: 30
|
|
12101
12196
|
},
|
|
12102
12197
|
end: {
|
|
12103
|
-
line:
|
|
12198
|
+
line: 34,
|
|
12104
12199
|
column: 1
|
|
12105
12200
|
}
|
|
12106
12201
|
}
|
|
@@ -12119,12 +12214,15 @@ function cov_psbeb0r8e() {
|
|
|
12119
12214
|
"8": 0,
|
|
12120
12215
|
"9": 0,
|
|
12121
12216
|
"10": 0,
|
|
12122
|
-
"11": 0
|
|
12217
|
+
"11": 0,
|
|
12218
|
+
"12": 0,
|
|
12219
|
+
"13": 0,
|
|
12220
|
+
"14": 0
|
|
12123
12221
|
},
|
|
12124
12222
|
f: {},
|
|
12125
12223
|
b: {},
|
|
12126
12224
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
12127
|
-
hash: "
|
|
12225
|
+
hash: "5f9282f0918978247399fbaf63c4522ef682625b"
|
|
12128
12226
|
};
|
|
12129
12227
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
12130
12228
|
|
|
@@ -12144,17 +12242,34 @@ function cov_psbeb0r8e() {
|
|
|
12144
12242
|
|
|
12145
12243
|
cov_psbeb0r8e();
|
|
12146
12244
|
var inputPlaceholderClasses = ( /*#__PURE__*/cov_psbeb0r8e().s[0]++, 'placeholder-on-base-2');
|
|
12147
|
-
var inputContainerDisabledClasses = ( /*#__PURE__*/cov_psbeb0r8e().s[1]++, '!bg-base-3 !pointer-events-none !text-on-base-2');
|
|
12245
|
+
var inputContainerDisabledClasses = ( /*#__PURE__*/cov_psbeb0r8e().s[1]++, '!bg-base-3 !pointer-events-none !text-on-base-2 komea:!bg-base-1 komea:!text-on-base komea:opacity-50');
|
|
12148
12246
|
var inputContainerReadonlyClasses = ( /*#__PURE__*/cov_psbeb0r8e().s[2]++, '!bg-base-2');
|
|
12149
|
-
var errorBorderClasses = ( /*#__PURE__*/cov_psbeb0r8e().s[3]++, 'border-danger focus:border-danger komea:focus:ring-danger/20');
|
|
12150
|
-
var defaultBorderClasses = ( /*#__PURE__*/cov_psbeb0r8e().s[4]++, 'border-card-stroke komea:border-input-stroke');
|
|
12247
|
+
var errorBorderClasses = ( /*#__PURE__*/cov_psbeb0r8e().s[3]++, 'border-danger focus:border-danger komea:focus-within:border-danger komea:focus-within:ring-danger/20');
|
|
12248
|
+
var defaultBorderClasses = ( /*#__PURE__*/cov_psbeb0r8e().s[4]++, 'border-card-stroke komea:border-input-stroke komea:focus-within:border-focus komea:focus-within:ring-focus/50');
|
|
12151
12249
|
var focusClass = ( /*#__PURE__*/cov_psbeb0r8e().s[5]++, 'focus:border-inverted-1');
|
|
12152
|
-
var inputClasses = ( /*#__PURE__*/cov_psbeb0r8e().s[6]++, "appearance-none shadow-none outline-none bg-base-1 border px-4 rounded text-on-base text-sm min-w-0 w-full transition-border duration-75 komea:
|
|
12153
|
-
var inputContainerClasses = ( /*#__PURE__*/cov_psbeb0r8e().s[7]++, "flex focus-within:border-inverted-1 bg-base-1 border rounded text-on-base text-sm min-w-0 w-full transition-border duration-75 overflow-hidden komea:
|
|
12154
|
-
var adornmentClasses = ( /*#__PURE__*/cov_psbeb0r8e().s[8]++, "adornment flex justify-center items-center relative w-16 text-f6 text-inverted-2 -mt-px");
|
|
12155
|
-
|
|
12156
|
-
|
|
12157
|
-
|
|
12250
|
+
var inputClasses = ( /*#__PURE__*/cov_psbeb0r8e().s[6]++, "appearance-none shadow-none outline-none bg-base-1 border px-4 rounded text-on-base text-sm min-w-0 w-full transition-border duration-75 komea:px-3 komea:shadow-sm komea:text-body-large md:komea:text-body komea:focus-within:ring-[3px] " + focusClass + " " + inputPlaceholderClasses);
|
|
12251
|
+
var inputContainerClasses = ( /*#__PURE__*/cov_psbeb0r8e().s[7]++, "flex focus-within:border-inverted-1 bg-base-1 border rounded text-on-base text-sm min-w-0 w-full transition-border duration-75 overflow-hidden komea:shadow-sm komea:text-body-large md:komea:text-body komea:focus-within:ring-[3px] " + inputPlaceholderClasses);
|
|
12252
|
+
var adornmentClasses = ( /*#__PURE__*/cov_psbeb0r8e().s[8]++, "adornment flex justify-center items-center relative w-16 text-f6 text-inverted-2 -mt-px"); // Sem borda o adorno não é uma caixa, é o addon do komea-ds: 12px de recuo, ícone de 16px e 8px até
|
|
12253
|
+
// o valor.
|
|
12254
|
+
//
|
|
12255
|
+
// O ícone é normalizado porque o default do nosso `Icon` é 5 (20px) e o DS usa 16 nos campos — é o
|
|
12256
|
+
// que torna a geometria determinística em vez de depender do `size` que a app passou. Descendente e
|
|
12257
|
+
// não filho direto (`[&_svg]`, não `[&>svg]`) porque a app pode embrulhar o ícone: o campo de busca
|
|
12258
|
+
// põe um `<button>` no meio. E `h-4 w-4` em vez de `size-4`, porque `size-*` só existe do Tailwind
|
|
12259
|
+
// 3.4 em diante e há app desta linha pinada em 3.3.0, onde a classe não seria gerada.
|
|
12260
|
+
//
|
|
12261
|
+
// Os 8px até o valor saem do padding do **campo**, não do adorno: um filho `w-full` — o botão do
|
|
12262
|
+
// campo de busca — ocuparia a caixa de conteúdo inteira e comeria um padding posto aqui.
|
|
12263
|
+
//
|
|
12264
|
+
// `shrink-0` porque o adorno é item flex: sem ele o `w-7` é só uma base e o navegador comprime a
|
|
12265
|
+
// caixa quando o campo é estreito, levando a geometria junto.
|
|
12266
|
+
|
|
12267
|
+
var borderlessKomeaIcon = ( /*#__PURE__*/cov_psbeb0r8e().s[9]++, 'komea:[&_svg]:h-4 komea:[&_svg]:w-4');
|
|
12268
|
+
var prefixBorderlessKomeaClasses = ( /*#__PURE__*/cov_psbeb0r8e().s[10]++, "komea:w-7 komea:shrink-0 komea:justify-start komea:pl-3 " + borderlessKomeaIcon);
|
|
12269
|
+
var sufixBorderlessKomeaClasses = ( /*#__PURE__*/cov_psbeb0r8e().s[11]++, "komea:w-7 komea:shrink-0 komea:justify-end komea:pr-3 " + borderlessKomeaIcon);
|
|
12270
|
+
var prefixClasses = ( /*#__PURE__*/cov_psbeb0r8e().s[12]++, adornmentClasses + " rounded-l left-0");
|
|
12271
|
+
var sufixClasses = ( /*#__PURE__*/cov_psbeb0r8e().s[13]++, adornmentClasses + " rounded-r right-0");
|
|
12272
|
+
var variantClasses = ( /*#__PURE__*/cov_psbeb0r8e().s[14]++, {
|
|
12158
12273
|
"default": 'komea:h-9 h-12',
|
|
12159
12274
|
small: 'komea:h-8 h-10',
|
|
12160
12275
|
large: 'komea:h-10 h-14',
|
|
@@ -12163,7 +12278,7 @@ var variantClasses = ( /*#__PURE__*/cov_psbeb0r8e().s[11]++, {
|
|
|
12163
12278
|
|
|
12164
12279
|
function cov_19tsj3a3jt() {
|
|
12165
12280
|
var path = "/home/runner/_work/admin-components/admin-components/styleguide/src/Forms/Input/Input.tsx";
|
|
12166
|
-
var hash = "
|
|
12281
|
+
var hash = "243dfe5f9ad41aca2ee474c5f6d0f802661638b4";
|
|
12167
12282
|
var global = new Function("return this")();
|
|
12168
12283
|
var gcv = "__coverage__";
|
|
12169
12284
|
var coverageData = {
|
|
@@ -12206,7 +12321,7 @@ function cov_19tsj3a3jt() {
|
|
|
12206
12321
|
},
|
|
12207
12322
|
end: {
|
|
12208
12323
|
line: 8,
|
|
12209
|
-
column:
|
|
12324
|
+
column: 164
|
|
12210
12325
|
}
|
|
12211
12326
|
},
|
|
12212
12327
|
"4": {
|
|
@@ -12216,7 +12331,7 @@ function cov_19tsj3a3jt() {
|
|
|
12216
12331
|
},
|
|
12217
12332
|
end: {
|
|
12218
12333
|
line: 9,
|
|
12219
|
-
column:
|
|
12334
|
+
column: 160
|
|
12220
12335
|
}
|
|
12221
12336
|
},
|
|
12222
12337
|
"5": {
|
|
@@ -12306,7 +12421,7 @@ function cov_19tsj3a3jt() {
|
|
|
12306
12421
|
},
|
|
12307
12422
|
end: {
|
|
12308
12423
|
line: 23,
|
|
12309
|
-
column:
|
|
12424
|
+
column: 378
|
|
12310
12425
|
}
|
|
12311
12426
|
},
|
|
12312
12427
|
"14": {
|
|
@@ -12655,6 +12770,39 @@ function cov_19tsj3a3jt() {
|
|
|
12655
12770
|
line: 8
|
|
12656
12771
|
},
|
|
12657
12772
|
"10": {
|
|
12773
|
+
loc: {
|
|
12774
|
+
start: {
|
|
12775
|
+
line: 8,
|
|
12776
|
+
column: 114
|
|
12777
|
+
},
|
|
12778
|
+
end: {
|
|
12779
|
+
line: 8,
|
|
12780
|
+
column: 162
|
|
12781
|
+
}
|
|
12782
|
+
},
|
|
12783
|
+
type: "cond-expr",
|
|
12784
|
+
locations: [{
|
|
12785
|
+
start: {
|
|
12786
|
+
line: 8,
|
|
12787
|
+
column: 129
|
|
12788
|
+
},
|
|
12789
|
+
end: {
|
|
12790
|
+
line: 8,
|
|
12791
|
+
column: 131
|
|
12792
|
+
}
|
|
12793
|
+
}, {
|
|
12794
|
+
start: {
|
|
12795
|
+
line: 8,
|
|
12796
|
+
column: 134
|
|
12797
|
+
},
|
|
12798
|
+
end: {
|
|
12799
|
+
line: 8,
|
|
12800
|
+
column: 162
|
|
12801
|
+
}
|
|
12802
|
+
}],
|
|
12803
|
+
line: 8
|
|
12804
|
+
},
|
|
12805
|
+
"11": {
|
|
12658
12806
|
loc: {
|
|
12659
12807
|
start: {
|
|
12660
12808
|
line: 9,
|
|
@@ -12687,7 +12835,40 @@ function cov_19tsj3a3jt() {
|
|
|
12687
12835
|
}],
|
|
12688
12836
|
line: 9
|
|
12689
12837
|
},
|
|
12690
|
-
"
|
|
12838
|
+
"12": {
|
|
12839
|
+
loc: {
|
|
12840
|
+
start: {
|
|
12841
|
+
line: 9,
|
|
12842
|
+
column: 112
|
|
12843
|
+
},
|
|
12844
|
+
end: {
|
|
12845
|
+
line: 9,
|
|
12846
|
+
column: 158
|
|
12847
|
+
}
|
|
12848
|
+
},
|
|
12849
|
+
type: "cond-expr",
|
|
12850
|
+
locations: [{
|
|
12851
|
+
start: {
|
|
12852
|
+
line: 9,
|
|
12853
|
+
column: 126
|
|
12854
|
+
},
|
|
12855
|
+
end: {
|
|
12856
|
+
line: 9,
|
|
12857
|
+
column: 128
|
|
12858
|
+
}
|
|
12859
|
+
}, {
|
|
12860
|
+
start: {
|
|
12861
|
+
line: 9,
|
|
12862
|
+
column: 131
|
|
12863
|
+
},
|
|
12864
|
+
end: {
|
|
12865
|
+
line: 9,
|
|
12866
|
+
column: 158
|
|
12867
|
+
}
|
|
12868
|
+
}],
|
|
12869
|
+
line: 9
|
|
12870
|
+
},
|
|
12871
|
+
"13": {
|
|
12691
12872
|
loc: {
|
|
12692
12873
|
start: {
|
|
12693
12874
|
line: 11,
|
|
@@ -12720,7 +12901,7 @@ function cov_19tsj3a3jt() {
|
|
|
12720
12901
|
}],
|
|
12721
12902
|
line: 11
|
|
12722
12903
|
},
|
|
12723
|
-
"
|
|
12904
|
+
"14": {
|
|
12724
12905
|
loc: {
|
|
12725
12906
|
start: {
|
|
12726
12907
|
line: 14,
|
|
@@ -12753,7 +12934,7 @@ function cov_19tsj3a3jt() {
|
|
|
12753
12934
|
}],
|
|
12754
12935
|
line: 14
|
|
12755
12936
|
},
|
|
12756
|
-
"
|
|
12937
|
+
"15": {
|
|
12757
12938
|
loc: {
|
|
12758
12939
|
start: {
|
|
12759
12940
|
line: 17,
|
|
@@ -12786,7 +12967,7 @@ function cov_19tsj3a3jt() {
|
|
|
12786
12967
|
}],
|
|
12787
12968
|
line: 17
|
|
12788
12969
|
},
|
|
12789
|
-
"
|
|
12970
|
+
"16": {
|
|
12790
12971
|
loc: {
|
|
12791
12972
|
start: {
|
|
12792
12973
|
line: 23,
|
|
@@ -12819,7 +13000,7 @@ function cov_19tsj3a3jt() {
|
|
|
12819
13000
|
}],
|
|
12820
13001
|
line: 23
|
|
12821
13002
|
},
|
|
12822
|
-
"
|
|
13003
|
+
"17": {
|
|
12823
13004
|
loc: {
|
|
12824
13005
|
start: {
|
|
12825
13006
|
line: 23,
|
|
@@ -12852,7 +13033,7 @@ function cov_19tsj3a3jt() {
|
|
|
12852
13033
|
}],
|
|
12853
13034
|
line: 23
|
|
12854
13035
|
},
|
|
12855
|
-
"
|
|
13036
|
+
"18": {
|
|
12856
13037
|
loc: {
|
|
12857
13038
|
start: {
|
|
12858
13039
|
line: 23,
|
|
@@ -12885,7 +13066,7 @@ function cov_19tsj3a3jt() {
|
|
|
12885
13066
|
}],
|
|
12886
13067
|
line: 23
|
|
12887
13068
|
},
|
|
12888
|
-
"
|
|
13069
|
+
"19": {
|
|
12889
13070
|
loc: {
|
|
12890
13071
|
start: {
|
|
12891
13072
|
line: 23,
|
|
@@ -12918,7 +13099,7 @@ function cov_19tsj3a3jt() {
|
|
|
12918
13099
|
}],
|
|
12919
13100
|
line: 23
|
|
12920
13101
|
},
|
|
12921
|
-
"
|
|
13102
|
+
"20": {
|
|
12922
13103
|
loc: {
|
|
12923
13104
|
start: {
|
|
12924
13105
|
line: 23,
|
|
@@ -12951,7 +13132,7 @@ function cov_19tsj3a3jt() {
|
|
|
12951
13132
|
}],
|
|
12952
13133
|
line: 23
|
|
12953
13134
|
},
|
|
12954
|
-
"
|
|
13135
|
+
"21": {
|
|
12955
13136
|
loc: {
|
|
12956
13137
|
start: {
|
|
12957
13138
|
line: 23,
|
|
@@ -12959,7 +13140,7 @@ function cov_19tsj3a3jt() {
|
|
|
12959
13140
|
},
|
|
12960
13141
|
end: {
|
|
12961
13142
|
line: 23,
|
|
12962
|
-
column:
|
|
13143
|
+
column: 326
|
|
12963
13144
|
}
|
|
12964
13145
|
},
|
|
12965
13146
|
type: "cond-expr",
|
|
@@ -12970,21 +13151,21 @@ function cov_19tsj3a3jt() {
|
|
|
12970
13151
|
},
|
|
12971
13152
|
end: {
|
|
12972
13153
|
line: 23,
|
|
12973
|
-
column:
|
|
13154
|
+
column: 321
|
|
12974
13155
|
}
|
|
12975
13156
|
}, {
|
|
12976
13157
|
start: {
|
|
12977
13158
|
line: 23,
|
|
12978
|
-
column:
|
|
13159
|
+
column: 324
|
|
12979
13160
|
},
|
|
12980
13161
|
end: {
|
|
12981
13162
|
line: 23,
|
|
12982
|
-
column:
|
|
13163
|
+
column: 326
|
|
12983
13164
|
}
|
|
12984
13165
|
}],
|
|
12985
13166
|
line: 23
|
|
12986
13167
|
},
|
|
12987
|
-
"
|
|
13168
|
+
"22": {
|
|
12988
13169
|
loc: {
|
|
12989
13170
|
start: {
|
|
12990
13171
|
line: 23,
|
|
@@ -13017,73 +13198,73 @@ function cov_19tsj3a3jt() {
|
|
|
13017
13198
|
}],
|
|
13018
13199
|
line: 23
|
|
13019
13200
|
},
|
|
13020
|
-
"
|
|
13201
|
+
"23": {
|
|
13021
13202
|
loc: {
|
|
13022
13203
|
start: {
|
|
13023
13204
|
line: 23,
|
|
13024
|
-
column:
|
|
13205
|
+
column: 330
|
|
13025
13206
|
},
|
|
13026
13207
|
end: {
|
|
13027
13208
|
line: 23,
|
|
13028
|
-
column:
|
|
13209
|
+
column: 376
|
|
13029
13210
|
}
|
|
13030
13211
|
},
|
|
13031
13212
|
type: "cond-expr",
|
|
13032
13213
|
locations: [{
|
|
13033
13214
|
start: {
|
|
13034
13215
|
line: 23,
|
|
13035
|
-
column:
|
|
13216
|
+
column: 354
|
|
13036
13217
|
},
|
|
13037
13218
|
end: {
|
|
13038
13219
|
line: 23,
|
|
13039
|
-
column:
|
|
13220
|
+
column: 371
|
|
13040
13221
|
}
|
|
13041
13222
|
}, {
|
|
13042
13223
|
start: {
|
|
13043
13224
|
line: 23,
|
|
13044
|
-
column:
|
|
13225
|
+
column: 374
|
|
13045
13226
|
},
|
|
13046
13227
|
end: {
|
|
13047
13228
|
line: 23,
|
|
13048
|
-
column:
|
|
13229
|
+
column: 376
|
|
13049
13230
|
}
|
|
13050
13231
|
}],
|
|
13051
13232
|
line: 23
|
|
13052
13233
|
},
|
|
13053
|
-
"
|
|
13234
|
+
"24": {
|
|
13054
13235
|
loc: {
|
|
13055
13236
|
start: {
|
|
13056
13237
|
line: 23,
|
|
13057
|
-
column:
|
|
13238
|
+
column: 330
|
|
13058
13239
|
},
|
|
13059
13240
|
end: {
|
|
13060
13241
|
line: 23,
|
|
13061
|
-
column:
|
|
13242
|
+
column: 351
|
|
13062
13243
|
}
|
|
13063
13244
|
},
|
|
13064
13245
|
type: "binary-expr",
|
|
13065
13246
|
locations: [{
|
|
13066
13247
|
start: {
|
|
13067
13248
|
line: 23,
|
|
13068
|
-
column:
|
|
13249
|
+
column: 330
|
|
13069
13250
|
},
|
|
13070
13251
|
end: {
|
|
13071
13252
|
line: 23,
|
|
13072
|
-
column:
|
|
13253
|
+
column: 335
|
|
13073
13254
|
}
|
|
13074
13255
|
}, {
|
|
13075
13256
|
start: {
|
|
13076
13257
|
line: 23,
|
|
13077
|
-
column:
|
|
13258
|
+
column: 339
|
|
13078
13259
|
},
|
|
13079
13260
|
end: {
|
|
13080
13261
|
line: 23,
|
|
13081
|
-
column:
|
|
13262
|
+
column: 351
|
|
13082
13263
|
}
|
|
13083
13264
|
}],
|
|
13084
13265
|
line: 23
|
|
13085
13266
|
},
|
|
13086
|
-
"
|
|
13267
|
+
"25": {
|
|
13087
13268
|
loc: {
|
|
13088
13269
|
start: {
|
|
13089
13270
|
line: 25,
|
|
@@ -13116,7 +13297,7 @@ function cov_19tsj3a3jt() {
|
|
|
13116
13297
|
}],
|
|
13117
13298
|
line: 25
|
|
13118
13299
|
},
|
|
13119
|
-
"
|
|
13300
|
+
"26": {
|
|
13120
13301
|
loc: {
|
|
13121
13302
|
start: {
|
|
13122
13303
|
line: 29,
|
|
@@ -13149,7 +13330,7 @@ function cov_19tsj3a3jt() {
|
|
|
13149
13330
|
}],
|
|
13150
13331
|
line: 29
|
|
13151
13332
|
},
|
|
13152
|
-
"
|
|
13333
|
+
"27": {
|
|
13153
13334
|
loc: {
|
|
13154
13335
|
start: {
|
|
13155
13336
|
line: 31,
|
|
@@ -13233,10 +13414,12 @@ function cov_19tsj3a3jt() {
|
|
|
13233
13414
|
"22": [0, 0],
|
|
13234
13415
|
"23": [0, 0],
|
|
13235
13416
|
"24": [0, 0],
|
|
13236
|
-
"25": [0, 0]
|
|
13417
|
+
"25": [0, 0],
|
|
13418
|
+
"26": [0, 0],
|
|
13419
|
+
"27": [0, 0]
|
|
13237
13420
|
},
|
|
13238
13421
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
13239
|
-
hash: "
|
|
13422
|
+
hash: "243dfe5f9ad41aca2ee474c5f6d0f802661638b4"
|
|
13240
13423
|
};
|
|
13241
13424
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
13242
13425
|
|
|
@@ -13287,40 +13470,40 @@ var InputComponent = function InputComponent(_ref, ref) {
|
|
|
13287
13470
|
cov_19tsj3a3jt().f[0]++;
|
|
13288
13471
|
var inputId = (cov_19tsj3a3jt().s[1]++, (cov_19tsj3a3jt().b[7][0]++, id) || (cov_19tsj3a3jt().b[7][1]++, name));
|
|
13289
13472
|
var hasErrorState = (cov_19tsj3a3jt().s[2]++, (cov_19tsj3a3jt().b[8][0]++, hasError) || (cov_19tsj3a3jt().b[8][1]++, !!errorMessage));
|
|
13290
|
-
var prefixClass = (cov_19tsj3a3jt().s[3]++, prefixClasses + " " + variantClasses[variant] + " " + (hasErrorState ? (cov_19tsj3a3jt().b[9][0]++, errorBorderClasses) : (cov_19tsj3a3jt().b[9][1]++, '')));
|
|
13291
|
-
var sufixClass = (cov_19tsj3a3jt().s[4]++, sufixClasses + " " + variantClasses[variant] + " " + (hasErrorState ? (cov_19tsj3a3jt().b[
|
|
13473
|
+
var prefixClass = (cov_19tsj3a3jt().s[3]++, prefixClasses + " " + variantClasses[variant] + " " + (hasErrorState ? (cov_19tsj3a3jt().b[9][0]++, errorBorderClasses) : (cov_19tsj3a3jt().b[9][1]++, '')) + " " + (prefixBorder ? (cov_19tsj3a3jt().b[10][0]++, '') : (cov_19tsj3a3jt().b[10][1]++, prefixBorderlessKomeaClasses)));
|
|
13474
|
+
var sufixClass = (cov_19tsj3a3jt().s[4]++, sufixClasses + " " + variantClasses[variant] + " " + (hasErrorState ? (cov_19tsj3a3jt().b[11][0]++, errorBorderClasses) : (cov_19tsj3a3jt().b[11][1]++, '')) + " " + (sufixBorder ? (cov_19tsj3a3jt().b[12][0]++, '') : (cov_19tsj3a3jt().b[12][1]++, sufixBorderlessKomeaClasses)));
|
|
13292
13475
|
var inputContainerClass = (cov_19tsj3a3jt().s[5]++, inputContainerClasses + " " + variantClasses[variant]);
|
|
13293
13476
|
cov_19tsj3a3jt().s[6]++;
|
|
13294
13477
|
|
|
13295
13478
|
if (disabled) {
|
|
13296
|
-
cov_19tsj3a3jt().b[
|
|
13479
|
+
cov_19tsj3a3jt().b[13][0]++;
|
|
13297
13480
|
cov_19tsj3a3jt().s[7]++;
|
|
13298
13481
|
inputContainerClass += " " + defaultBorderClasses + " " + inputContainerDisabledClasses;
|
|
13299
13482
|
} else {
|
|
13300
|
-
cov_19tsj3a3jt().b[
|
|
13483
|
+
cov_19tsj3a3jt().b[13][1]++;
|
|
13301
13484
|
cov_19tsj3a3jt().s[8]++;
|
|
13302
13485
|
|
|
13303
13486
|
if (readOnly) {
|
|
13304
|
-
cov_19tsj3a3jt().b[
|
|
13487
|
+
cov_19tsj3a3jt().b[14][0]++;
|
|
13305
13488
|
cov_19tsj3a3jt().s[9]++;
|
|
13306
13489
|
inputContainerClass += " " + defaultBorderClasses + " " + inputContainerReadonlyClasses;
|
|
13307
13490
|
} else {
|
|
13308
|
-
cov_19tsj3a3jt().b[
|
|
13491
|
+
cov_19tsj3a3jt().b[14][1]++;
|
|
13309
13492
|
cov_19tsj3a3jt().s[10]++;
|
|
13310
13493
|
|
|
13311
13494
|
if (hasErrorState) {
|
|
13312
|
-
cov_19tsj3a3jt().b[
|
|
13495
|
+
cov_19tsj3a3jt().b[15][0]++;
|
|
13313
13496
|
cov_19tsj3a3jt().s[11]++;
|
|
13314
13497
|
inputContainerClass += " " + errorBorderClasses;
|
|
13315
13498
|
} else {
|
|
13316
|
-
cov_19tsj3a3jt().b[
|
|
13499
|
+
cov_19tsj3a3jt().b[15][1]++;
|
|
13317
13500
|
cov_19tsj3a3jt().s[12]++;
|
|
13318
13501
|
inputContainerClass += " " + defaultBorderClasses;
|
|
13319
13502
|
}
|
|
13320
13503
|
}
|
|
13321
13504
|
}
|
|
13322
13505
|
|
|
13323
|
-
var inputClass = (cov_19tsj3a3jt().s[13]++, "w-full px-4 komea:px-3 appearance-none shadow-none outline-none bg-transparent box-border " + focusClass + " " + (hasErrorState ? (cov_19tsj3a3jt().b[
|
|
13506
|
+
var inputClass = (cov_19tsj3a3jt().s[13]++, "w-full px-4 komea:px-3 appearance-none shadow-none outline-none bg-transparent box-border " + focusClass + " " + (hasErrorState ? (cov_19tsj3a3jt().b[16][0]++, errorBorderClasses) : (cov_19tsj3a3jt().b[16][1]++, defaultBorderClasses)) + " " + ((cov_19tsj3a3jt().b[18][0]++, prefix) && (cov_19tsj3a3jt().b[18][1]++, prefixBorder) ? (cov_19tsj3a3jt().b[17][0]++, 'border-l') : (cov_19tsj3a3jt().b[17][1]++, '')) + " " + ((cov_19tsj3a3jt().b[20][0]++, sufix) && (cov_19tsj3a3jt().b[20][1]++, sufixBorder) ? (cov_19tsj3a3jt().b[19][0]++, 'border-r') : (cov_19tsj3a3jt().b[19][1]++, '')) + " " + ((cov_19tsj3a3jt().b[22][0]++, prefix) && (cov_19tsj3a3jt().b[22][1]++, !prefixBorder) ? (cov_19tsj3a3jt().b[21][0]++, 'pl-0 komea:pl-2') : (cov_19tsj3a3jt().b[21][1]++, '')) + " " + ((cov_19tsj3a3jt().b[24][0]++, sufix) && (cov_19tsj3a3jt().b[24][1]++, !sufixBorder) ? (cov_19tsj3a3jt().b[23][0]++, 'pr-0 komea:pr-2') : (cov_19tsj3a3jt().b[23][1]++, '')));
|
|
13324
13507
|
var LabelComponent = (cov_19tsj3a3jt().s[14]++, /*#__PURE__*/React__default.createElement(InputLabel, {
|
|
13325
13508
|
label: label,
|
|
13326
13509
|
labelComplement: labelComplement,
|
|
@@ -13330,7 +13513,7 @@ var InputComponent = function InputComponent(_ref, ref) {
|
|
|
13330
13513
|
className: "mb-1"
|
|
13331
13514
|
}));
|
|
13332
13515
|
var HelpTextComponent = (cov_19tsj3a3jt().s[15]++, /*#__PURE__*/React__default.createElement(InputHelpText, {
|
|
13333
|
-
helpText: (cov_19tsj3a3jt().b[
|
|
13516
|
+
helpText: (cov_19tsj3a3jt().b[25][0]++, errorMessage) || (cov_19tsj3a3jt().b[25][1]++, helpText),
|
|
13334
13517
|
hasError: hasErrorState,
|
|
13335
13518
|
className: "mt-2"
|
|
13336
13519
|
}));
|
|
@@ -13339,7 +13522,7 @@ var InputComponent = function InputComponent(_ref, ref) {
|
|
|
13339
13522
|
className: "form-group flex flex-col " + className
|
|
13340
13523
|
}, LabelComponent, /*#__PURE__*/React__default.createElement("div", {
|
|
13341
13524
|
className: inputContainerClass
|
|
13342
|
-
}, (cov_19tsj3a3jt().b[
|
|
13525
|
+
}, (cov_19tsj3a3jt().b[26][0]++, prefix) && (cov_19tsj3a3jt().b[26][1]++, /*#__PURE__*/React__default.createElement("label", {
|
|
13343
13526
|
htmlFor: inputId,
|
|
13344
13527
|
className: prefixClass
|
|
13345
13528
|
}, prefix)), /*#__PURE__*/React__default.createElement("input", Object.assign({
|
|
@@ -13351,7 +13534,7 @@ var InputComponent = function InputComponent(_ref, ref) {
|
|
|
13351
13534
|
disabled: disabled,
|
|
13352
13535
|
readOnly: readOnly,
|
|
13353
13536
|
className: inputClass
|
|
13354
|
-
}, props)), (cov_19tsj3a3jt().b[
|
|
13537
|
+
}, props)), (cov_19tsj3a3jt().b[27][0]++, sufix) && (cov_19tsj3a3jt().b[27][1]++, /*#__PURE__*/React__default.createElement("label", {
|
|
13355
13538
|
htmlFor: inputId,
|
|
13356
13539
|
className: sufixClass
|
|
13357
13540
|
}, sufix))), HelpTextComponent);
|
|
@@ -23818,7 +24001,7 @@ cov_2msfl1k6vq();
|
|
|
23818
24001
|
|
|
23819
24002
|
function cov_1r6wbwfdtn() {
|
|
23820
24003
|
var path = "/home/runner/_work/admin-components/admin-components/styleguide/src/Forms/Checkbox/Checkbox.tsx";
|
|
23821
|
-
var hash = "
|
|
24004
|
+
var hash = "dad1952543e995090c47839799c9152034d7d782";
|
|
23822
24005
|
var global = new Function("return this")();
|
|
23823
24006
|
var gcv = "__coverage__";
|
|
23824
24007
|
var coverageData = {
|
|
@@ -24745,7 +24928,7 @@ function cov_1r6wbwfdtn() {
|
|
|
24745
24928
|
},
|
|
24746
24929
|
end: {
|
|
24747
24930
|
line: 34,
|
|
24748
|
-
column:
|
|
24931
|
+
column: 62
|
|
24749
24932
|
}
|
|
24750
24933
|
}, {
|
|
24751
24934
|
start: {
|
|
@@ -25168,7 +25351,7 @@ function cov_1r6wbwfdtn() {
|
|
|
25168
25351
|
"26": [0, 0]
|
|
25169
25352
|
},
|
|
25170
25353
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
25171
|
-
hash: "
|
|
25354
|
+
hash: "dad1952543e995090c47839799c9152034d7d782"
|
|
25172
25355
|
};
|
|
25173
25356
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
25174
25357
|
|
|
@@ -25285,7 +25468,7 @@ var CheckboxComponent = function CheckboxComponent(_ref, ref) {
|
|
|
25285
25468
|
};
|
|
25286
25469
|
|
|
25287
25470
|
var checkboxIconClasses = (cov_1r6wbwfdtn().s[23]++, "transition duration-200 ease-in-out " + ((cov_1r6wbwfdtn().b[14][0]++, isChecked) || (cov_1r6wbwfdtn().b[14][1]++, isIndeterminate) ? (cov_1r6wbwfdtn().b[13][0]++, 'scale-100') : (cov_1r6wbwfdtn().b[13][1]++, 'scale-0')));
|
|
25288
|
-
var checkboxIconContainerClasses = (cov_1r6wbwfdtn().s[24]++, "border border-card-stroke komea:border-input-stroke komea:shadow-sm transition duration-200 ease-in-out\n " + (disabled ? (cov_1r6wbwfdtn().b[15][0]++, 'bg-base-4') : (cov_1r6wbwfdtn().b[15][1]++, (cov_1r6wbwfdtn().b[17][0]++, isChecked) || (cov_1r6wbwfdtn().b[17][1]++, isIndeterminate) ? (cov_1r6wbwfdtn().b[16][0]++, 'bg-primary border-primary') : (cov_1r6wbwfdtn().b[16][1]++, 'bg-base-1'))) + "\n " + (isCenterBoxAlign ? (cov_1r6wbwfdtn().b[18][0]++, 'items-center') : (cov_1r6wbwfdtn().b[18][1]++, '')) + "\n rounded-xs w-4 h-4 flex justify-center m-px\n ");
|
|
25471
|
+
var checkboxIconContainerClasses = (cov_1r6wbwfdtn().s[24]++, "border border-card-stroke komea:border-input-stroke komea:shadow-sm transition duration-200 ease-in-out\n " + (disabled ? (cov_1r6wbwfdtn().b[15][0]++, 'bg-base-4') : (cov_1r6wbwfdtn().b[15][1]++, (cov_1r6wbwfdtn().b[17][0]++, isChecked) || (cov_1r6wbwfdtn().b[17][1]++, isIndeterminate) ? (cov_1r6wbwfdtn().b[16][0]++, 'bg-primary border-primary komea:border-primary') : (cov_1r6wbwfdtn().b[16][1]++, 'bg-base-1'))) + "\n " + (isCenterBoxAlign ? (cov_1r6wbwfdtn().b[18][0]++, 'items-center') : (cov_1r6wbwfdtn().b[18][1]++, '')) + "\n rounded-xs w-4 h-4 flex justify-center m-px\n ");
|
|
25289
25472
|
var checkboxLabelClasses = (cov_1r6wbwfdtn().s[25]++, "ml-1 input-label text-f6 " + (hasErrorState ? (cov_1r6wbwfdtn().b[19][0]++, 'text-danger') : (cov_1r6wbwfdtn().b[19][1]++, disabled ? (cov_1r6wbwfdtn().b[20][0]++, 'text-inverted-2') : (cov_1r6wbwfdtn().b[20][1]++, ''))));
|
|
25290
25473
|
var alignOptions = (cov_1r6wbwfdtn().s[26]++, {
|
|
25291
25474
|
start: 'items-start',
|
|
@@ -28876,7 +29059,7 @@ cov_2r04xg5myw();
|
|
|
28876
29059
|
|
|
28877
29060
|
function cov_230axym0f2() {
|
|
28878
29061
|
var path = "/home/runner/_work/admin-components/admin-components/styleguide/src/Components/Table/Table.tsx";
|
|
28879
|
-
var hash = "
|
|
29062
|
+
var hash = "abf4106f2fb5bb138dcceb55581668fa7fc8d5d9";
|
|
28880
29063
|
var global = new Function("return this")();
|
|
28881
29064
|
var gcv = "__coverage__";
|
|
28882
29065
|
var coverageData = {
|
|
@@ -30221,17 +30404,17 @@ function cov_230axym0f2() {
|
|
|
30221
30404
|
decl: {
|
|
30222
30405
|
start: {
|
|
30223
30406
|
line: 107,
|
|
30224
|
-
column:
|
|
30407
|
+
column: 169
|
|
30225
30408
|
},
|
|
30226
30409
|
end: {
|
|
30227
30410
|
line: 107,
|
|
30228
|
-
column:
|
|
30411
|
+
column: 170
|
|
30229
30412
|
}
|
|
30230
30413
|
},
|
|
30231
30414
|
loc: {
|
|
30232
30415
|
start: {
|
|
30233
30416
|
line: 107,
|
|
30234
|
-
column:
|
|
30417
|
+
column: 185
|
|
30235
30418
|
},
|
|
30236
30419
|
end: {
|
|
30237
30420
|
line: 123,
|
|
@@ -31047,12 +31230,12 @@ function cov_230axym0f2() {
|
|
|
31047
31230
|
},
|
|
31048
31231
|
end: {
|
|
31049
31232
|
line: 107,
|
|
31050
|
-
column:
|
|
31233
|
+
column: 155
|
|
31051
31234
|
}
|
|
31052
31235
|
}, {
|
|
31053
31236
|
start: {
|
|
31054
31237
|
line: 107,
|
|
31055
|
-
column:
|
|
31238
|
+
column: 160
|
|
31056
31239
|
},
|
|
31057
31240
|
end: {
|
|
31058
31241
|
line: 123,
|
|
@@ -31368,7 +31551,7 @@ function cov_230axym0f2() {
|
|
|
31368
31551
|
"29": [0, 0]
|
|
31369
31552
|
},
|
|
31370
31553
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
31371
|
-
hash: "
|
|
31554
|
+
hash: "abf4106f2fb5bb138dcceb55581668fa7fc8d5d9"
|
|
31372
31555
|
};
|
|
31373
31556
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
31374
31557
|
|
|
@@ -31675,7 +31858,7 @@ var TableComponent = function TableComponent(_ref2) {
|
|
|
31675
31858
|
colSpan: (cov_230axym0f2().b[26][0]++, columnsLength) || (cov_230axym0f2().b[26][1]++, 1),
|
|
31676
31859
|
className: "" + TdClasses
|
|
31677
31860
|
}, /*#__PURE__*/React__default.createElement(TdWrapper, null, /*#__PURE__*/React__default.createElement("div", {
|
|
31678
|
-
className: "text-center py-16 text-xl font-medium text-on-base-2"
|
|
31861
|
+
className: "text-center py-16 text-xl font-semibold komea:font-medium text-on-base-2"
|
|
31679
31862
|
}, emptyText))))) : (cov_230axym0f2().b[24][1]++, rows.map(function (row, index) {
|
|
31680
31863
|
cov_230axym0f2().f[23]++;
|
|
31681
31864
|
cov_230axym0f2().s[67]++;
|
|
@@ -33290,7 +33473,7 @@ cov_env9w4joo();
|
|
|
33290
33473
|
|
|
33291
33474
|
function cov_1mrr9rcomk() {
|
|
33292
33475
|
var path = "/home/runner/_work/admin-components/admin-components/styleguide/src/Indicators/Toast/Toast.tsx";
|
|
33293
|
-
var hash = "
|
|
33476
|
+
var hash = "e1afa03b0444d6c67d80c8e48de8fbcfc2dcafaa";
|
|
33294
33477
|
var global = new Function("return this")();
|
|
33295
33478
|
var gcv = "__coverage__";
|
|
33296
33479
|
var coverageData = {
|
|
@@ -33363,33 +33546,33 @@ function cov_1mrr9rcomk() {
|
|
|
33363
33546
|
},
|
|
33364
33547
|
end: {
|
|
33365
33548
|
line: 25,
|
|
33366
|
-
column:
|
|
33549
|
+
column: 217
|
|
33367
33550
|
}
|
|
33368
33551
|
},
|
|
33369
33552
|
"7": {
|
|
33370
33553
|
start: {
|
|
33371
33554
|
line: 25,
|
|
33372
|
-
column:
|
|
33555
|
+
column: 240
|
|
33373
33556
|
},
|
|
33374
33557
|
end: {
|
|
33375
33558
|
line: 25,
|
|
33376
|
-
column:
|
|
33559
|
+
column: 286
|
|
33377
33560
|
}
|
|
33378
33561
|
},
|
|
33379
33562
|
"8": {
|
|
33380
33563
|
start: {
|
|
33381
33564
|
line: 25,
|
|
33382
|
-
column:
|
|
33565
|
+
column: 318
|
|
33383
33566
|
},
|
|
33384
33567
|
end: {
|
|
33385
33568
|
line: 25,
|
|
33386
|
-
column:
|
|
33569
|
+
column: 395
|
|
33387
33570
|
}
|
|
33388
33571
|
},
|
|
33389
33572
|
"9": {
|
|
33390
33573
|
start: {
|
|
33391
33574
|
line: 25,
|
|
33392
|
-
column:
|
|
33575
|
+
column: 431
|
|
33393
33576
|
},
|
|
33394
33577
|
end: {
|
|
33395
33578
|
line: 26,
|
|
@@ -33515,7 +33698,7 @@ function cov_1mrr9rcomk() {
|
|
|
33515
33698
|
},
|
|
33516
33699
|
end: {
|
|
33517
33700
|
line: 25,
|
|
33518
|
-
column:
|
|
33701
|
+
column: 217
|
|
33519
33702
|
}
|
|
33520
33703
|
},
|
|
33521
33704
|
line: 25
|
|
@@ -33525,21 +33708,21 @@ function cov_1mrr9rcomk() {
|
|
|
33525
33708
|
decl: {
|
|
33526
33709
|
start: {
|
|
33527
33710
|
line: 25,
|
|
33528
|
-
column:
|
|
33711
|
+
column: 234
|
|
33529
33712
|
},
|
|
33530
33713
|
end: {
|
|
33531
33714
|
line: 25,
|
|
33532
|
-
column:
|
|
33715
|
+
column: 235
|
|
33533
33716
|
}
|
|
33534
33717
|
},
|
|
33535
33718
|
loc: {
|
|
33536
33719
|
start: {
|
|
33537
33720
|
line: 25,
|
|
33538
|
-
column:
|
|
33721
|
+
column: 240
|
|
33539
33722
|
},
|
|
33540
33723
|
end: {
|
|
33541
33724
|
line: 25,
|
|
33542
|
-
column:
|
|
33725
|
+
column: 286
|
|
33543
33726
|
}
|
|
33544
33727
|
},
|
|
33545
33728
|
line: 25
|
|
@@ -33549,21 +33732,21 @@ function cov_1mrr9rcomk() {
|
|
|
33549
33732
|
decl: {
|
|
33550
33733
|
start: {
|
|
33551
33734
|
line: 25,
|
|
33552
|
-
column:
|
|
33735
|
+
column: 307
|
|
33553
33736
|
},
|
|
33554
33737
|
end: {
|
|
33555
33738
|
line: 25,
|
|
33556
|
-
column:
|
|
33739
|
+
column: 308
|
|
33557
33740
|
}
|
|
33558
33741
|
},
|
|
33559
33742
|
loc: {
|
|
33560
33743
|
start: {
|
|
33561
33744
|
line: 25,
|
|
33562
|
-
column:
|
|
33745
|
+
column: 318
|
|
33563
33746
|
},
|
|
33564
33747
|
end: {
|
|
33565
33748
|
line: 25,
|
|
33566
|
-
column:
|
|
33749
|
+
column: 395
|
|
33567
33750
|
}
|
|
33568
33751
|
},
|
|
33569
33752
|
line: 25
|
|
@@ -33573,17 +33756,17 @@ function cov_1mrr9rcomk() {
|
|
|
33573
33756
|
decl: {
|
|
33574
33757
|
start: {
|
|
33575
33758
|
line: 25,
|
|
33576
|
-
column:
|
|
33759
|
+
column: 410
|
|
33577
33760
|
},
|
|
33578
33761
|
end: {
|
|
33579
33762
|
line: 25,
|
|
33580
|
-
column:
|
|
33763
|
+
column: 411
|
|
33581
33764
|
}
|
|
33582
33765
|
},
|
|
33583
33766
|
loc: {
|
|
33584
33767
|
start: {
|
|
33585
33768
|
line: 25,
|
|
33586
|
-
column:
|
|
33769
|
+
column: 431
|
|
33587
33770
|
},
|
|
33588
33771
|
end: {
|
|
33589
33772
|
line: 26,
|
|
@@ -33622,31 +33805,31 @@ function cov_1mrr9rcomk() {
|
|
|
33622
33805
|
loc: {
|
|
33623
33806
|
start: {
|
|
33624
33807
|
line: 25,
|
|
33625
|
-
column:
|
|
33808
|
+
column: 193
|
|
33626
33809
|
},
|
|
33627
33810
|
end: {
|
|
33628
33811
|
line: 25,
|
|
33629
|
-
column:
|
|
33812
|
+
column: 214
|
|
33630
33813
|
}
|
|
33631
33814
|
},
|
|
33632
33815
|
type: "binary-expr",
|
|
33633
33816
|
locations: [{
|
|
33634
33817
|
start: {
|
|
33635
33818
|
line: 25,
|
|
33636
|
-
column:
|
|
33819
|
+
column: 193
|
|
33637
33820
|
},
|
|
33638
33821
|
end: {
|
|
33639
33822
|
line: 25,
|
|
33640
|
-
column:
|
|
33823
|
+
column: 204
|
|
33641
33824
|
}
|
|
33642
33825
|
}, {
|
|
33643
33826
|
start: {
|
|
33644
33827
|
line: 25,
|
|
33645
|
-
column:
|
|
33828
|
+
column: 208
|
|
33646
33829
|
},
|
|
33647
33830
|
end: {
|
|
33648
33831
|
line: 25,
|
|
33649
|
-
column:
|
|
33832
|
+
column: 214
|
|
33650
33833
|
}
|
|
33651
33834
|
}],
|
|
33652
33835
|
line: 25
|
|
@@ -33655,31 +33838,31 @@ function cov_1mrr9rcomk() {
|
|
|
33655
33838
|
loc: {
|
|
33656
33839
|
start: {
|
|
33657
33840
|
line: 25,
|
|
33658
|
-
column:
|
|
33841
|
+
column: 371
|
|
33659
33842
|
},
|
|
33660
33843
|
end: {
|
|
33661
33844
|
line: 25,
|
|
33662
|
-
column:
|
|
33845
|
+
column: 392
|
|
33663
33846
|
}
|
|
33664
33847
|
},
|
|
33665
33848
|
type: "binary-expr",
|
|
33666
33849
|
locations: [{
|
|
33667
33850
|
start: {
|
|
33668
33851
|
line: 25,
|
|
33669
|
-
column:
|
|
33852
|
+
column: 371
|
|
33670
33853
|
},
|
|
33671
33854
|
end: {
|
|
33672
33855
|
line: 25,
|
|
33673
|
-
column:
|
|
33856
|
+
column: 382
|
|
33674
33857
|
}
|
|
33675
33858
|
}, {
|
|
33676
33859
|
start: {
|
|
33677
33860
|
line: 25,
|
|
33678
|
-
column:
|
|
33861
|
+
column: 386
|
|
33679
33862
|
},
|
|
33680
33863
|
end: {
|
|
33681
33864
|
line: 25,
|
|
33682
|
-
column:
|
|
33865
|
+
column: 392
|
|
33683
33866
|
}
|
|
33684
33867
|
}],
|
|
33685
33868
|
line: 25
|
|
@@ -33818,7 +34001,7 @@ function cov_1mrr9rcomk() {
|
|
|
33818
34001
|
"4": [0, 0]
|
|
33819
34002
|
},
|
|
33820
34003
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
33821
|
-
hash: "
|
|
34004
|
+
hash: "e1afa03b0444d6c67d80c8e48de8fbcfc2dcafaa"
|
|
33822
34005
|
};
|
|
33823
34006
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
33824
34007
|
|
|
@@ -33870,7 +34053,7 @@ var Container = function Container() {
|
|
|
33870
34053
|
toastClassName: function toastClassName(props) {
|
|
33871
34054
|
cov_1mrr9rcomk().f[2]++;
|
|
33872
34055
|
cov_1mrr9rcomk().s[6]++;
|
|
33873
|
-
return "mb-3 border flex items-top justify-between p-3 pb-4 pr-4 relative rounded shadow-md " + contextClass[(cov_1mrr9rcomk().b[0][0]++, props == null ? void 0 : props.type) || (cov_1mrr9rcomk().b[0][1]++, 'info')];
|
|
34056
|
+
return "mb-3 border flex items-top justify-between p-3 pb-4 pr-4 relative rounded shadow-md overflow-hidden " + contextClass[(cov_1mrr9rcomk().b[0][0]++, props == null ? void 0 : props.type) || (cov_1mrr9rcomk().b[0][1]++, 'info')];
|
|
33874
34057
|
},
|
|
33875
34058
|
bodyClassName: function bodyClassName() {
|
|
33876
34059
|
cov_1mrr9rcomk().f[3]++;
|
|
@@ -37939,7 +38122,7 @@ var TableListComponent = function TableListComponent(_ref) {
|
|
|
37939
38122
|
}, (cov_9szfv8g7n().b[11][0]++, empty.illustration) && (cov_9szfv8g7n().b[11][1]++, /*#__PURE__*/React__default.createElement("div", {
|
|
37940
38123
|
className: "table-list-empty-illustration text-center"
|
|
37941
38124
|
}, empty.illustration)), /*#__PURE__*/React__default.createElement("div", {
|
|
37942
|
-
className: "table-list-empty-title text-center text-f4 font-medium text-primary-bold"
|
|
38125
|
+
className: "table-list-empty-title text-center text-f4 font-semibold komea:font-medium text-primary-bold"
|
|
37943
38126
|
}, empty.title), (cov_9szfv8g7n().b[12][0]++, empty.subTitle) && (cov_9szfv8g7n().b[12][1]++, /*#__PURE__*/React__default.createElement("div", {
|
|
37944
38127
|
className: "table-list-empty-subtitle text-center text-f6 text-on-base-2 -mt-1"
|
|
37945
38128
|
}, empty.subTitle)), (cov_9szfv8g7n().b[13][0]++, empty.action) && (cov_9szfv8g7n().b[13][1]++, /*#__PURE__*/React__default.createElement("div", {
|
|
@@ -41964,7 +42147,7 @@ var Observer = function Observer(_ref) {
|
|
|
41964
42147
|
|
|
41965
42148
|
function cov_2ly1akim9i() {
|
|
41966
42149
|
var path = "/home/runner/_work/admin-components/admin-components/styleguide/src/Layout/Box/Components/Header/BoxHeader.tsx";
|
|
41967
|
-
var hash = "
|
|
42150
|
+
var hash = "07900909c73f684b5a790768e18ab6758502fa92";
|
|
41968
42151
|
var global = new Function("return this")();
|
|
41969
42152
|
var gcv = "__coverage__";
|
|
41970
42153
|
var coverageData = {
|
|
@@ -42439,7 +42622,7 @@ function cov_2ly1akim9i() {
|
|
|
42439
42622
|
},
|
|
42440
42623
|
end: {
|
|
42441
42624
|
line: 12,
|
|
42442
|
-
column:
|
|
42625
|
+
column: 140
|
|
42443
42626
|
}
|
|
42444
42627
|
},
|
|
42445
42628
|
type: "binary-expr",
|
|
@@ -42459,7 +42642,7 @@ function cov_2ly1akim9i() {
|
|
|
42459
42642
|
},
|
|
42460
42643
|
end: {
|
|
42461
42644
|
line: 12,
|
|
42462
|
-
column:
|
|
42645
|
+
column: 139
|
|
42463
42646
|
}
|
|
42464
42647
|
}],
|
|
42465
42648
|
line: 12
|
|
@@ -42696,7 +42879,7 @@ function cov_2ly1akim9i() {
|
|
|
42696
42879
|
"16": [0, 0]
|
|
42697
42880
|
},
|
|
42698
42881
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
42699
|
-
hash: "
|
|
42882
|
+
hash: "07900909c73f684b5a790768e18ab6758502fa92"
|
|
42700
42883
|
};
|
|
42701
42884
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
42702
42885
|
|
|
@@ -42744,7 +42927,7 @@ var BoxHeader = ( /*#__PURE__*/cov_2ly1akim9i().s[0]++, /*#__PURE__*/React__defa
|
|
|
42744
42927
|
}, /*#__PURE__*/React__default.createElement("div", {
|
|
42745
42928
|
className: "flex-1 min-w-0 mr-2"
|
|
42746
42929
|
}, (cov_2ly1akim9i().b[10][0]++, title) && (cov_2ly1akim9i().b[10][1]++, /*#__PURE__*/React__default.createElement("h3", {
|
|
42747
|
-
className: "text-f5 font-medium break-words lg:text-f4"
|
|
42930
|
+
className: "text-f5 font-semibold komea:font-medium break-words lg:text-f4"
|
|
42748
42931
|
}, title)), (cov_2ly1akim9i().b[11][0]++, subtitle) && (cov_2ly1akim9i().b[11][1]++, /*#__PURE__*/React__default.createElement("h4", {
|
|
42749
42932
|
className: "text-f7 text-on-base-2 break-words lg:text-f6"
|
|
42750
42933
|
}, subtitle))), /*#__PURE__*/React__default.createElement("div", {
|