@kubex/zinc 1.0.15 → 1.0.16

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.
@@ -3403,7 +3403,6 @@
3403
3403
  "type": {
3404
3404
  "text": "string"
3405
3405
  },
3406
- "default": "''",
3407
3406
  "attribute": "description",
3408
3407
  "reflects": true
3409
3408
  },
@@ -3524,6 +3523,20 @@
3524
3523
  },
3525
3524
  "privacy": "private"
3526
3525
  },
3526
+ {
3527
+ "kind": "field",
3528
+ "name": "showArrow",
3529
+ "type": {
3530
+ "text": "boolean"
3531
+ },
3532
+ "privacy": "private",
3533
+ "default": "true"
3534
+ },
3535
+ {
3536
+ "kind": "field",
3537
+ "name": "handleCaptionToggle",
3538
+ "privacy": "public"
3539
+ },
3527
3540
  {
3528
3541
  "kind": "field",
3529
3542
  "name": "handleCollapse"
@@ -3548,7 +3561,6 @@
3548
3561
  "type": {
3549
3562
  "text": "string"
3550
3563
  },
3551
- "default": "''",
3552
3564
  "fieldName": "description"
3553
3565
  },
3554
3566
  {
@@ -3994,6 +4006,16 @@
3994
4006
  "default": "false",
3995
4007
  "attribute": "hide-icon"
3996
4008
  },
4009
+ {
4010
+ "kind": "field",
4011
+ "name": "showLoading",
4012
+ "type": {
4013
+ "text": "boolean"
4014
+ },
4015
+ "default": "false",
4016
+ "description": "Show a loading state when the dialog is submitted.",
4017
+ "attribute": "show-loading"
4018
+ },
3997
4019
  {
3998
4020
  "kind": "field",
3999
4021
  "name": "trigger",
@@ -4031,6 +4053,16 @@
4031
4053
  "text": "ZnDialog"
4032
4054
  }
4033
4055
  },
4056
+ {
4057
+ "kind": "field",
4058
+ "name": "loading",
4059
+ "type": {
4060
+ "text": "boolean"
4061
+ },
4062
+ "privacy": "private",
4063
+ "default": "false",
4064
+ "description": "Internal loading state used when showLoading is enabled"
4065
+ },
4034
4066
  {
4035
4067
  "kind": "method",
4036
4068
  "name": "updateTriggers"
@@ -4139,6 +4171,15 @@
4139
4171
  "default": "false",
4140
4172
  "fieldName": "hideIcon"
4141
4173
  },
4174
+ {
4175
+ "name": "show-loading",
4176
+ "type": {
4177
+ "text": "boolean"
4178
+ },
4179
+ "default": "false",
4180
+ "description": "Show a loading state when the dialog is submitted.",
4181
+ "fieldName": "showLoading"
4182
+ },
4142
4183
  {
4143
4184
  "name": "trigger",
4144
4185
  "type": {
@@ -7445,16 +7486,9 @@
7445
7486
  },
7446
7487
  {
7447
7488
  "kind": "field",
7448
- "name": "panel",
7489
+ "name": "closer",
7449
7490
  "type": {
7450
- "text": "HTMLElement"
7451
- }
7452
- },
7453
- {
7454
- "kind": "field",
7455
- "name": "overlay",
7456
- "type": {
7457
- "text": "HTMLElement"
7491
+ "text": "HTMLButtonElement"
7458
7492
  }
7459
7493
  },
7460
7494
  {
@@ -14393,7 +14427,7 @@
14393
14427
  "text": "object"
14394
14428
  },
14395
14429
  "static": true,
14396
- "default": "{'zn-icon': ZnIcon}"
14430
+ "default": "{ 'zn-icon': ZnIcon }"
14397
14431
  },
14398
14432
  {
14399
14433
  "kind": "field",
@@ -14434,14 +14468,6 @@
14434
14468
  },
14435
14469
  "default": "false"
14436
14470
  },
14437
- {
14438
- "kind": "field",
14439
- "name": "selected",
14440
- "type": {
14441
- "text": "boolean"
14442
- },
14443
- "default": "false"
14444
- },
14445
14471
  {
14446
14472
  "kind": "field",
14447
14473
  "name": "hasHover",
@@ -14472,6 +14498,16 @@
14472
14498
  "attribute": "disabled",
14473
14499
  "reflects": true
14474
14500
  },
14501
+ {
14502
+ "kind": "field",
14503
+ "name": "selected",
14504
+ "type": {
14505
+ "text": "boolean"
14506
+ },
14507
+ "default": "false",
14508
+ "attribute": "selected",
14509
+ "reflects": true
14510
+ },
14475
14511
  {
14476
14512
  "kind": "method",
14477
14513
  "name": "handleDefaultSlotChange",
@@ -14523,6 +14559,14 @@
14523
14559
  "default": "false",
14524
14560
  "description": "Draws the option in a disabled state, preventing selection.",
14525
14561
  "fieldName": "disabled"
14562
+ },
14563
+ {
14564
+ "name": "selected",
14565
+ "type": {
14566
+ "text": "boolean"
14567
+ },
14568
+ "default": "false",
14569
+ "fieldName": "selected"
14526
14570
  }
14527
14571
  ],
14528
14572
  "superclass": {
@@ -22956,6 +23000,15 @@
22956
23000
  "default": "false",
22957
23001
  "attribute": "center"
22958
23002
  },
23003
+ {
23004
+ "kind": "field",
23005
+ "name": "display",
23006
+ "type": {
23007
+ "text": "string"
23008
+ },
23009
+ "default": "'contents'",
23010
+ "attribute": "display"
23011
+ },
22959
23012
  {
22960
23013
  "kind": "field",
22961
23014
  "name": "font",
@@ -23084,6 +23137,14 @@
23084
23137
  "default": "false",
23085
23138
  "fieldName": "center"
23086
23139
  },
23140
+ {
23141
+ "name": "display",
23142
+ "type": {
23143
+ "text": "string"
23144
+ },
23145
+ "default": "'contents'",
23146
+ "fieldName": "display"
23147
+ },
23087
23148
  {
23088
23149
  "name": "font",
23089
23150
  "type": {
@@ -24226,6 +24287,16 @@
24226
24287
  },
24227
24288
  "privacy": "private"
24228
24289
  },
24290
+ {
24291
+ "kind": "field",
24292
+ "name": "_didInitFromContent",
24293
+ "type": {
24294
+ "text": "boolean"
24295
+ },
24296
+ "privacy": "private",
24297
+ "default": "false",
24298
+ "description": "Ensures we only attempt to derive the initial value from light DOM content once"
24299
+ },
24229
24300
  {
24230
24301
  "kind": "field",
24231
24302
  "name": "formControl",
@@ -24391,6 +24462,16 @@
24391
24462
  "attribute": "form",
24392
24463
  "reflects": true
24393
24464
  },
24465
+ {
24466
+ "kind": "field",
24467
+ "name": "flush",
24468
+ "type": {
24469
+ "text": "boolean"
24470
+ },
24471
+ "default": "false",
24472
+ "attribute": "flush",
24473
+ "reflects": true
24474
+ },
24394
24475
  {
24395
24476
  "kind": "field",
24396
24477
  "name": "required",
@@ -24849,6 +24930,14 @@
24849
24930
  "description": "By default, form controls are associated with the nearest containing `<form>` element. This attribute allows you\nto place the form control outside of a form and associate it with the form that has this `id`. The form must be in\nthe same document or shadow root for this to work.",
24850
24931
  "fieldName": "form"
24851
24932
  },
24933
+ {
24934
+ "name": "flush",
24935
+ "type": {
24936
+ "text": "boolean"
24937
+ },
24938
+ "default": "false",
24939
+ "fieldName": "flush"
24940
+ },
24852
24941
  {
24853
24942
  "name": "required",
24854
24943
  "type": {
@@ -26409,7 +26498,7 @@
26409
26498
  "package": {
26410
26499
  "name": "@kubex/zinc",
26411
26500
  "description": "A collection of web components for building web applications based off of @shoelace-style/Shoelace",
26412
- "version": "1.0.15",
26501
+ "version": "1.0.16",
26413
26502
  "author": "",
26414
26503
  "license": "MIT"
26415
26504
  }
@@ -532,6 +532,11 @@
532
532
  { "name": "confirmText", "values": [] },
533
533
  { "name": "cancelText", "values": [] },
534
534
  { "name": "hide-icon", "values": [] },
535
+ {
536
+ "name": "show-loading",
537
+ "description": "Show a loading state when the dialog is submitted.",
538
+ "values": []
539
+ },
535
540
  {
536
541
  "name": "trigger",
537
542
  "description": "The dialog's trigger element. This is used to open the dialog when clicked. If you do not provide a trigger, you\nwill need to manually open the dialog using the `show()` method.",
@@ -1724,7 +1729,8 @@
1724
1729
  "name": "disabled",
1725
1730
  "description": "Draws the option in a disabled state, preventing selection.",
1726
1731
  "values": []
1727
- }
1732
+ },
1733
+ { "name": "selected", "values": [] }
1728
1734
  ],
1729
1735
  "references": [
1730
1736
  {
@@ -2588,6 +2594,7 @@
2588
2594
  { "name": "primary", "values": [] },
2589
2595
  { "name": "accent", "values": [] },
2590
2596
  { "name": "center", "values": [] },
2597
+ { "name": "display", "values": [] },
2591
2598
  { "name": "font", "values": [] },
2592
2599
  { "name": "width", "values": [] },
2593
2600
  { "name": "height", "values": [] },
@@ -2726,6 +2733,7 @@
2726
2733
  "description": "By default, form controls are associated with the nearest containing `<form>` element. This attribute allows you\nto place the form control outside of a form and associate it with the form that has this `id`. The form must be in\nthe same document or shadow root for this to work.",
2727
2734
  "values": []
2728
2735
  },
2736
+ { "name": "flush", "values": [] },
2729
2737
  {
2730
2738
  "name": "required",
2731
2739
  "description": "Makes the textarea a required field.",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
3
3
  "name": "@kubex/zinc",
4
- "version": "1.0.15",
4
+ "version": "1.0.16",
5
5
  "description-markup": "markdown",
6
6
  "contributions": {
7
7
  "html": {
@@ -967,10 +967,7 @@
967
967
  "name": "caption",
968
968
  "value": { "type": "string", "default": "''" }
969
969
  },
970
- {
971
- "name": "description",
972
- "value": { "type": "string", "default": "''" }
973
- },
970
+ { "name": "description", "value": { "type": "string" } },
974
971
  { "name": "label", "value": { "type": "string", "default": "''" } },
975
972
  {
976
973
  "name": "show-number",
@@ -1020,6 +1017,7 @@
1020
1017
  { "name": "storeTtl", "type": "number" },
1021
1018
  { "name": "flush", "type": "boolean" },
1022
1019
  { "name": "numberOfItems", "type": "number" },
1020
+ { "name": "handleCaptionToggle" },
1023
1021
  { "name": "handleCollapse" },
1024
1022
  { "name": "recalculateNumberOfItems" }
1025
1023
  ],
@@ -1136,6 +1134,11 @@
1136
1134
  "name": "hide-icon",
1137
1135
  "value": { "type": "boolean", "default": "false" }
1138
1136
  },
1137
+ {
1138
+ "name": "show-loading",
1139
+ "description": "Show a loading state when the dialog is submitted.",
1140
+ "value": { "type": "boolean", "default": "false" }
1141
+ },
1139
1142
  {
1140
1143
  "name": "trigger",
1141
1144
  "description": "The dialog's trigger element. This is used to open the dialog when clicked. If you do not provide a trigger, you\nwill need to manually open the dialog using the `show()` method.",
@@ -1187,6 +1190,11 @@
1187
1190
  { "name": "confirmText", "type": "string" },
1188
1191
  { "name": "cancelText", "type": "string" },
1189
1192
  { "name": "hideIcon", "type": "boolean" },
1193
+ {
1194
+ "name": "showLoading",
1195
+ "description": "Show a loading state when the dialog is submitted.",
1196
+ "type": "boolean"
1197
+ },
1190
1198
  {
1191
1199
  "name": "trigger",
1192
1200
  "description": "The dialog's trigger element. This is used to open the dialog when clicked. If you do not provide a trigger, you\nwill need to manually open the dialog using the `show()` method.",
@@ -2001,8 +2009,7 @@
2001
2009
  "js": {
2002
2010
  "properties": [
2003
2011
  { "name": "dialog", "type": "HTMLDialogElement" },
2004
- { "name": "panel", "type": "HTMLElement" },
2005
- { "name": "overlay", "type": "HTMLElement" },
2012
+ { "name": "closer", "type": "HTMLButtonElement" },
2006
2013
  {
2007
2014
  "name": "variant",
2008
2015
  "description": "The dialog's theme variant.",
@@ -3884,6 +3891,10 @@
3884
3891
  "name": "disabled",
3885
3892
  "description": "Draws the option in a disabled state, preventing selection.",
3886
3893
  "value": { "type": "boolean", "default": "false" }
3894
+ },
3895
+ {
3896
+ "name": "selected",
3897
+ "value": { "type": "boolean", "default": "false" }
3887
3898
  }
3888
3899
  ],
3889
3900
  "slots": [
@@ -3903,7 +3914,6 @@
3903
3914
  { "name": "multiple", "type": "boolean" },
3904
3915
  { "name": "defaultSlot", "type": "HTMLSlotElement" },
3905
3916
  { "name": "current", "type": "boolean" },
3906
- { "name": "selected", "type": "boolean" },
3907
3917
  { "name": "hasHover", "type": "boolean" },
3908
3918
  {
3909
3919
  "name": "value",
@@ -3914,7 +3924,8 @@
3914
3924
  "name": "disabled",
3915
3925
  "description": "Draws the option in a disabled state, preventing selection.",
3916
3926
  "type": "boolean"
3917
- }
3927
+ },
3928
+ { "name": "selected", "type": "boolean" }
3918
3929
  ],
3919
3930
  "events": []
3920
3931
  }
@@ -5975,6 +5986,10 @@
5975
5986
  "name": "center",
5976
5987
  "value": { "type": "boolean", "default": "false" }
5977
5988
  },
5989
+ {
5990
+ "name": "display",
5991
+ "value": { "type": "string", "default": "'contents'" }
5992
+ },
5978
5993
  { "name": "font", "value": { "type": "string", "default": "''" } },
5979
5994
  { "name": "width", "value": { "type": "string", "default": "''" } },
5980
5995
  {
@@ -6003,6 +6018,7 @@
6003
6018
  { "name": "primary", "type": "boolean" },
6004
6019
  { "name": "accent", "type": "boolean" },
6005
6020
  { "name": "center", "type": "boolean" },
6021
+ { "name": "display", "type": "string" },
6006
6022
  { "name": "font", "type": "string" },
6007
6023
  { "name": "width", "type": "string" },
6008
6024
  { "name": "height", "type": "string" },
@@ -6238,6 +6254,10 @@
6238
6254
  "description": "By default, form controls are associated with the nearest containing `<form>` element. This attribute allows you\nto place the form control outside of a form and associate it with the form that has this `id`. The form must be in\nthe same document or shadow root for this to work.",
6239
6255
  "value": { "type": "string", "default": "''" }
6240
6256
  },
6257
+ {
6258
+ "name": "flush",
6259
+ "value": { "type": "boolean", "default": "false" }
6260
+ },
6241
6261
  {
6242
6262
  "name": "required",
6243
6263
  "description": "Makes the textarea a required field.",
@@ -6410,6 +6430,7 @@
6410
6430
  "description": "By default, form controls are associated with the nearest containing `<form>` element. This attribute allows you\nto place the form control outside of a form and associate it with the form that has this `id`. The form must be in\nthe same document or shadow root for this to work.",
6411
6431
  "type": "string"
6412
6432
  },
6433
+ { "name": "flush", "type": "boolean" },
6413
6434
  {
6414
6435
  "name": "required",
6415
6436
  "description": "Makes the textarea a required field.",