@kubex/zinc 1.1.181 → 1.1.183

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.
@@ -6945,6 +6945,22 @@
6945
6945
  "readonly": true,
6946
6946
  "default": "new MutationObserver(() => this.requestUpdate())"
6947
6947
  },
6948
+ {
6949
+ "kind": "field",
6950
+ "name": "resizeObserver",
6951
+ "type": {
6952
+ "text": "ResizeObserver"
6953
+ },
6954
+ "privacy": "private",
6955
+ "readonly": true,
6956
+ "default": "new ResizeObserver(() => this.markRowEnds())"
6957
+ },
6958
+ {
6959
+ "kind": "method",
6960
+ "name": "markRowEnds",
6961
+ "privacy": "private",
6962
+ "description": "Flags each child that ends its row as laid out, so `divide` only draws between neighbours on the same row\nhowever the columns have wrapped."
6963
+ },
6948
6964
  {
6949
6965
  "kind": "method",
6950
6966
  "name": "stackOrder",
@@ -13054,6 +13070,355 @@
13054
13070
  }
13055
13071
  ]
13056
13072
  },
13073
+ {
13074
+ "kind": "javascript-module",
13075
+ "path": "components/dialog/dialog.js",
13076
+ "declarations": [
13077
+ {
13078
+ "kind": "class",
13079
+ "description": "",
13080
+ "name": "ZnDialog",
13081
+ "cssProperties": [
13082
+ {
13083
+ "description": "The preferred width of the dialog. Note the dialog will shrink to accommodate smaller screens.",
13084
+ "name": "--width"
13085
+ },
13086
+ {
13087
+ "description": "The amount of padding to use for the header.",
13088
+ "name": "--header-spacing"
13089
+ },
13090
+ {
13091
+ "description": "The amount of padding to use for the body.",
13092
+ "name": "--body-spacing"
13093
+ },
13094
+ {
13095
+ "description": "The amount of padding to use for the footer.",
13096
+ "name": "--footer-spacing"
13097
+ }
13098
+ ],
13099
+ "cssParts": [
13100
+ {
13101
+ "description": "The component's base wrapper.",
13102
+ "name": "base"
13103
+ },
13104
+ {
13105
+ "description": "The dialog's header. This element wraps the title and header actions.",
13106
+ "name": "header"
13107
+ },
13108
+ {
13109
+ "description": "Optional actions to add to the header. Works best with `<zn-button>` elements.",
13110
+ "name": "header-actions"
13111
+ },
13112
+ {
13113
+ "description": "The dialog's title.",
13114
+ "name": "title"
13115
+ },
13116
+ {
13117
+ "description": "The dialog's close button.",
13118
+ "name": "close-button"
13119
+ },
13120
+ {
13121
+ "description": "The close buttons exported `base` part.",
13122
+ "name": "close-button__base"
13123
+ },
13124
+ {
13125
+ "description": "The dialog's body.",
13126
+ "name": "body"
13127
+ },
13128
+ {
13129
+ "description": "The dialog's footer.",
13130
+ "name": "footer"
13131
+ }
13132
+ ],
13133
+ "slots": [
13134
+ {
13135
+ "description": "The default slot.",
13136
+ "name": ""
13137
+ },
13138
+ {
13139
+ "description": "The dialog's label. Alternatively you can use the `label` attribute.",
13140
+ "name": "label"
13141
+ },
13142
+ {
13143
+ "description": "Optional icon to add to the left of the dialog's label (title). A color will be applied to the icon depending on the dialog variant.",
13144
+ "name": "header-icon"
13145
+ },
13146
+ {
13147
+ "description": "Optional Intro text to display below the icon, when using the variant `announcement`.",
13148
+ "name": "announcement-intro"
13149
+ },
13150
+ {
13151
+ "description": "Optional actions to add to the header. Works best with `<zn-button>` elements.",
13152
+ "name": "header-actions"
13153
+ },
13154
+ {
13155
+ "description": "The dialog's footer. This is typically used for buttons representing various options.",
13156
+ "name": "footer"
13157
+ },
13158
+ {
13159
+ "description": "Optional text to include below the footer buttons, when using the variant `announcement`.",
13160
+ "name": "footer-text"
13161
+ }
13162
+ ],
13163
+ "members": [
13164
+ {
13165
+ "kind": "field",
13166
+ "name": "dependencies",
13167
+ "type": {
13168
+ "text": "object"
13169
+ },
13170
+ "static": true,
13171
+ "default": "{ 'zn-button': ZnButton }"
13172
+ },
13173
+ {
13174
+ "kind": "field",
13175
+ "name": "hasSlotController",
13176
+ "privacy": "private",
13177
+ "readonly": true,
13178
+ "default": "new HasSlotController(this, '[default]', 'footer')"
13179
+ },
13180
+ {
13181
+ "kind": "field",
13182
+ "name": "closeWatcher",
13183
+ "type": {
13184
+ "text": "CloseWatcher | null"
13185
+ },
13186
+ "privacy": "private"
13187
+ },
13188
+ {
13189
+ "kind": "field",
13190
+ "name": "dialog",
13191
+ "type": {
13192
+ "text": "HTMLDialogElement"
13193
+ }
13194
+ },
13195
+ {
13196
+ "kind": "field",
13197
+ "name": "closer",
13198
+ "type": {
13199
+ "text": "HTMLButtonElement"
13200
+ }
13201
+ },
13202
+ {
13203
+ "kind": "field",
13204
+ "name": "variant",
13205
+ "type": {
13206
+ "text": "'default' | 'warning' | 'announcement'"
13207
+ },
13208
+ "default": "'default'",
13209
+ "description": "The dialog's theme variant.",
13210
+ "attribute": "variant",
13211
+ "reflects": true
13212
+ },
13213
+ {
13214
+ "kind": "field",
13215
+ "name": "size",
13216
+ "type": {
13217
+ "text": "'small' | 'medium' | 'large' | 'custom'"
13218
+ },
13219
+ "default": "'medium'",
13220
+ "description": "The dialog's size.",
13221
+ "attribute": "size",
13222
+ "reflects": true
13223
+ },
13224
+ {
13225
+ "kind": "field",
13226
+ "name": "open",
13227
+ "type": {
13228
+ "text": "boolean"
13229
+ },
13230
+ "default": "false",
13231
+ "description": "Indicated whether of not the dialog is open. You can toggle this attribute to show and hide the dialog, or you can\nuse the `show()` and `hide()` methods and this attribute will reflect the dialog's state.",
13232
+ "attribute": "open",
13233
+ "reflects": true
13234
+ },
13235
+ {
13236
+ "kind": "field",
13237
+ "name": "label",
13238
+ "type": {
13239
+ "text": "string"
13240
+ },
13241
+ "description": "The dialog's label as displayed in the header. You should always include a relevant label even when using\n`no-header`, as it is required for proper accessibility. If you need to display HTML, use the `label` slot instead.",
13242
+ "attribute": "label",
13243
+ "reflects": true
13244
+ },
13245
+ {
13246
+ "kind": "field",
13247
+ "name": "cosmic",
13248
+ "type": {
13249
+ "text": "boolean"
13250
+ },
13251
+ "default": "false",
13252
+ "attribute": "cosmic",
13253
+ "reflects": true
13254
+ },
13255
+ {
13256
+ "kind": "field",
13257
+ "name": "noHeader",
13258
+ "type": {
13259
+ "text": "boolean"
13260
+ },
13261
+ "default": "false",
13262
+ "description": "Disables the header. This will also remove the default close button, so please ensure you provide an easy,\naccessible way to close the dialog.",
13263
+ "attribute": "no-header",
13264
+ "reflects": true
13265
+ },
13266
+ {
13267
+ "kind": "field",
13268
+ "name": "trigger",
13269
+ "type": {
13270
+ "text": "string"
13271
+ },
13272
+ "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.",
13273
+ "attribute": "trigger",
13274
+ "reflects": true
13275
+ },
13276
+ {
13277
+ "kind": "method",
13278
+ "name": "requestClose",
13279
+ "privacy": "private",
13280
+ "parameters": [
13281
+ {
13282
+ "name": "source",
13283
+ "type": {
13284
+ "text": "'close-button' | 'keyboard' | 'overlay'"
13285
+ }
13286
+ }
13287
+ ]
13288
+ },
13289
+ {
13290
+ "kind": "method",
13291
+ "name": "addOpenListeners",
13292
+ "privacy": "private"
13293
+ },
13294
+ {
13295
+ "kind": "method",
13296
+ "name": "removeOpenListeners",
13297
+ "privacy": "private"
13298
+ },
13299
+ {
13300
+ "kind": "method",
13301
+ "name": "show",
13302
+ "description": "Shows the dialog."
13303
+ },
13304
+ {
13305
+ "kind": "method",
13306
+ "name": "hide",
13307
+ "description": "Hides the dialog."
13308
+ },
13309
+ {
13310
+ "kind": "field",
13311
+ "name": "closeClickHandler",
13312
+ "privacy": "private"
13313
+ }
13314
+ ],
13315
+ "events": [
13316
+ {
13317
+ "description": "Emitted when the dialog is opens.",
13318
+ "name": "zn-show"
13319
+ },
13320
+ {
13321
+ "description": "Emitted when the dialog is closed.",
13322
+ "name": "zn-close"
13323
+ },
13324
+ {
13325
+ "type": {
13326
+ "text": "{ source: 'close-button' | 'keyboard' | 'overlay' }"
13327
+ },
13328
+ "description": "Emitted when the user attempts to close the dialog by clicking the close button, clicking the overlay, or pressing escape. Calling `event.preventDefault()` will keep the dialog open. Avoid using this unless closing the dialog will result in destructive behavior such as data loss.",
13329
+ "name": "zn-request-close"
13330
+ }
13331
+ ],
13332
+ "attributes": [
13333
+ {
13334
+ "name": "variant",
13335
+ "type": {
13336
+ "text": "'default' | 'warning' | 'announcement'"
13337
+ },
13338
+ "default": "'default'",
13339
+ "description": "The dialog's theme variant.",
13340
+ "fieldName": "variant"
13341
+ },
13342
+ {
13343
+ "name": "size",
13344
+ "type": {
13345
+ "text": "'small' | 'medium' | 'large' | 'custom'"
13346
+ },
13347
+ "default": "'medium'",
13348
+ "description": "The dialog's size.",
13349
+ "fieldName": "size"
13350
+ },
13351
+ {
13352
+ "name": "open",
13353
+ "type": {
13354
+ "text": "boolean"
13355
+ },
13356
+ "default": "false",
13357
+ "description": "Indicated whether of not the dialog is open. You can toggle this attribute to show and hide the dialog, or you can\nuse the `show()` and `hide()` methods and this attribute will reflect the dialog's state.",
13358
+ "fieldName": "open"
13359
+ },
13360
+ {
13361
+ "name": "label",
13362
+ "type": {
13363
+ "text": "string"
13364
+ },
13365
+ "description": "The dialog's label as displayed in the header. You should always include a relevant label even when using\n`no-header`, as it is required for proper accessibility. If you need to display HTML, use the `label` slot instead.",
13366
+ "fieldName": "label"
13367
+ },
13368
+ {
13369
+ "name": "cosmic",
13370
+ "type": {
13371
+ "text": "boolean"
13372
+ },
13373
+ "default": "false",
13374
+ "fieldName": "cosmic"
13375
+ },
13376
+ {
13377
+ "name": "no-header",
13378
+ "type": {
13379
+ "text": "boolean"
13380
+ },
13381
+ "default": "false",
13382
+ "description": "Disables the header. This will also remove the default close button, so please ensure you provide an easy,\naccessible way to close the dialog.",
13383
+ "fieldName": "noHeader"
13384
+ },
13385
+ {
13386
+ "name": "trigger",
13387
+ "type": {
13388
+ "text": "string"
13389
+ },
13390
+ "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.",
13391
+ "fieldName": "trigger"
13392
+ }
13393
+ ],
13394
+ "superclass": {
13395
+ "name": "ZincElement",
13396
+ "module": "/src/internal/zinc-element"
13397
+ },
13398
+ "summary": "Short summary of the component's intended use.",
13399
+ "tagNameWithoutPrefix": "dialog",
13400
+ "tagName": "zn-dialog",
13401
+ "customElement": true,
13402
+ "jsDoc": "/**\n * @summary Short summary of the component's intended use.\n * @documentation https://zinc.style/components/dialog\n * @status experimental\n * @since 1.0\n *\n * @dependency zn-button\n *\n * @event zn-show - Emitted when the dialog is opens.\n * @event zn-close - Emitted when the dialog is closed.\n * @event {{ source: 'close-button' | 'keyboard' | 'overlay' }} zn-request-close - Emitted when the user attempts to\n * close the dialog by clicking the close button, clicking the overlay, or pressing escape. Calling\n * `event.preventDefault()` will keep the dialog open. Avoid using this unless closing the dialog will result in\n * destructive behavior such as data loss.\n *\n * @slot - The default slot.\n * @slot label - The dialog's label. Alternatively you can use the `label` attribute.\n * @slot header-icon - Optional icon to add to the left of the dialog's label (title). A color will be applied\n * to the icon depending on the dialog variant.\n * @slot announcement-intro - Optional Intro text to display below the icon, when using the variant `announcement`.\n * @slot header-actions - Optional actions to add to the header. Works best with `<zn-button>` elements.\n * @slot footer - The dialog's footer. This is typically used for buttons representing various options.\n * @slot footer-text - Optional text to include below the footer buttons, when using the variant `announcement`.\n *\n * @csspart base - The component's base wrapper.\n * @csspart header - The dialog's header. This element wraps the title and header actions.\n * @csspart header-actions - Optional actions to add to the header. Works best with `<zn-button>` elements.\n * @csspart title - The dialog's title.\n * @csspart close-button - The dialog's close button.\n * @csspart close-button__base - The close buttons exported `base` part.\n * @csspart body - The dialog's body.\n * @csspart footer - The dialog's footer.\n *\n * @cssproperty --width - The preferred width of the dialog. Note the dialog will shrink to accommodate smaller screens.\n * @cssproperty --header-spacing - The amount of padding to use for the header.\n * @cssproperty --body-spacing - The amount of padding to use for the body.\n * @cssproperty --footer-spacing - The amount of padding to use for the footer.\n */",
13403
+ "documentation": "https://zinc.style/components/dialog",
13404
+ "status": "experimental",
13405
+ "since": "1.0",
13406
+ "dependencies": [
13407
+ "zn-button"
13408
+ ]
13409
+ }
13410
+ ],
13411
+ "exports": [
13412
+ {
13413
+ "kind": "js",
13414
+ "name": "default",
13415
+ "declaration": {
13416
+ "name": "ZnDialog",
13417
+ "module": "components/dialog/dialog.js"
13418
+ }
13419
+ }
13420
+ ]
13421
+ },
13057
13422
  {
13058
13423
  "kind": "javascript-module",
13059
13424
  "path": "components/dropdown/dropdown.js",
@@ -13480,355 +13845,6 @@
13480
13845
  }
13481
13846
  ]
13482
13847
  },
13483
- {
13484
- "kind": "javascript-module",
13485
- "path": "components/dialog/dialog.js",
13486
- "declarations": [
13487
- {
13488
- "kind": "class",
13489
- "description": "",
13490
- "name": "ZnDialog",
13491
- "cssProperties": [
13492
- {
13493
- "description": "The preferred width of the dialog. Note the dialog will shrink to accommodate smaller screens.",
13494
- "name": "--width"
13495
- },
13496
- {
13497
- "description": "The amount of padding to use for the header.",
13498
- "name": "--header-spacing"
13499
- },
13500
- {
13501
- "description": "The amount of padding to use for the body.",
13502
- "name": "--body-spacing"
13503
- },
13504
- {
13505
- "description": "The amount of padding to use for the footer.",
13506
- "name": "--footer-spacing"
13507
- }
13508
- ],
13509
- "cssParts": [
13510
- {
13511
- "description": "The component's base wrapper.",
13512
- "name": "base"
13513
- },
13514
- {
13515
- "description": "The dialog's header. This element wraps the title and header actions.",
13516
- "name": "header"
13517
- },
13518
- {
13519
- "description": "Optional actions to add to the header. Works best with `<zn-button>` elements.",
13520
- "name": "header-actions"
13521
- },
13522
- {
13523
- "description": "The dialog's title.",
13524
- "name": "title"
13525
- },
13526
- {
13527
- "description": "The dialog's close button.",
13528
- "name": "close-button"
13529
- },
13530
- {
13531
- "description": "The close buttons exported `base` part.",
13532
- "name": "close-button__base"
13533
- },
13534
- {
13535
- "description": "The dialog's body.",
13536
- "name": "body"
13537
- },
13538
- {
13539
- "description": "The dialog's footer.",
13540
- "name": "footer"
13541
- }
13542
- ],
13543
- "slots": [
13544
- {
13545
- "description": "The default slot.",
13546
- "name": ""
13547
- },
13548
- {
13549
- "description": "The dialog's label. Alternatively you can use the `label` attribute.",
13550
- "name": "label"
13551
- },
13552
- {
13553
- "description": "Optional icon to add to the left of the dialog's label (title). A color will be applied to the icon depending on the dialog variant.",
13554
- "name": "header-icon"
13555
- },
13556
- {
13557
- "description": "Optional Intro text to display below the icon, when using the variant `announcement`.",
13558
- "name": "announcement-intro"
13559
- },
13560
- {
13561
- "description": "Optional actions to add to the header. Works best with `<zn-button>` elements.",
13562
- "name": "header-actions"
13563
- },
13564
- {
13565
- "description": "The dialog's footer. This is typically used for buttons representing various options.",
13566
- "name": "footer"
13567
- },
13568
- {
13569
- "description": "Optional text to include below the footer buttons, when using the variant `announcement`.",
13570
- "name": "footer-text"
13571
- }
13572
- ],
13573
- "members": [
13574
- {
13575
- "kind": "field",
13576
- "name": "dependencies",
13577
- "type": {
13578
- "text": "object"
13579
- },
13580
- "static": true,
13581
- "default": "{ 'zn-button': ZnButton }"
13582
- },
13583
- {
13584
- "kind": "field",
13585
- "name": "hasSlotController",
13586
- "privacy": "private",
13587
- "readonly": true,
13588
- "default": "new HasSlotController(this, '[default]', 'footer')"
13589
- },
13590
- {
13591
- "kind": "field",
13592
- "name": "closeWatcher",
13593
- "type": {
13594
- "text": "CloseWatcher | null"
13595
- },
13596
- "privacy": "private"
13597
- },
13598
- {
13599
- "kind": "field",
13600
- "name": "dialog",
13601
- "type": {
13602
- "text": "HTMLDialogElement"
13603
- }
13604
- },
13605
- {
13606
- "kind": "field",
13607
- "name": "closer",
13608
- "type": {
13609
- "text": "HTMLButtonElement"
13610
- }
13611
- },
13612
- {
13613
- "kind": "field",
13614
- "name": "variant",
13615
- "type": {
13616
- "text": "'default' | 'warning' | 'announcement'"
13617
- },
13618
- "default": "'default'",
13619
- "description": "The dialog's theme variant.",
13620
- "attribute": "variant",
13621
- "reflects": true
13622
- },
13623
- {
13624
- "kind": "field",
13625
- "name": "size",
13626
- "type": {
13627
- "text": "'small' | 'medium' | 'large' | 'custom'"
13628
- },
13629
- "default": "'medium'",
13630
- "description": "The dialog's size.",
13631
- "attribute": "size",
13632
- "reflects": true
13633
- },
13634
- {
13635
- "kind": "field",
13636
- "name": "open",
13637
- "type": {
13638
- "text": "boolean"
13639
- },
13640
- "default": "false",
13641
- "description": "Indicated whether of not the dialog is open. You can toggle this attribute to show and hide the dialog, or you can\nuse the `show()` and `hide()` methods and this attribute will reflect the dialog's state.",
13642
- "attribute": "open",
13643
- "reflects": true
13644
- },
13645
- {
13646
- "kind": "field",
13647
- "name": "label",
13648
- "type": {
13649
- "text": "string"
13650
- },
13651
- "description": "The dialog's label as displayed in the header. You should always include a relevant label even when using\n`no-header`, as it is required for proper accessibility. If you need to display HTML, use the `label` slot instead.",
13652
- "attribute": "label",
13653
- "reflects": true
13654
- },
13655
- {
13656
- "kind": "field",
13657
- "name": "cosmic",
13658
- "type": {
13659
- "text": "boolean"
13660
- },
13661
- "default": "false",
13662
- "attribute": "cosmic",
13663
- "reflects": true
13664
- },
13665
- {
13666
- "kind": "field",
13667
- "name": "noHeader",
13668
- "type": {
13669
- "text": "boolean"
13670
- },
13671
- "default": "false",
13672
- "description": "Disables the header. This will also remove the default close button, so please ensure you provide an easy,\naccessible way to close the dialog.",
13673
- "attribute": "no-header",
13674
- "reflects": true
13675
- },
13676
- {
13677
- "kind": "field",
13678
- "name": "trigger",
13679
- "type": {
13680
- "text": "string"
13681
- },
13682
- "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.",
13683
- "attribute": "trigger",
13684
- "reflects": true
13685
- },
13686
- {
13687
- "kind": "method",
13688
- "name": "requestClose",
13689
- "privacy": "private",
13690
- "parameters": [
13691
- {
13692
- "name": "source",
13693
- "type": {
13694
- "text": "'close-button' | 'keyboard' | 'overlay'"
13695
- }
13696
- }
13697
- ]
13698
- },
13699
- {
13700
- "kind": "method",
13701
- "name": "addOpenListeners",
13702
- "privacy": "private"
13703
- },
13704
- {
13705
- "kind": "method",
13706
- "name": "removeOpenListeners",
13707
- "privacy": "private"
13708
- },
13709
- {
13710
- "kind": "method",
13711
- "name": "show",
13712
- "description": "Shows the dialog."
13713
- },
13714
- {
13715
- "kind": "method",
13716
- "name": "hide",
13717
- "description": "Hides the dialog."
13718
- },
13719
- {
13720
- "kind": "field",
13721
- "name": "closeClickHandler",
13722
- "privacy": "private"
13723
- }
13724
- ],
13725
- "events": [
13726
- {
13727
- "description": "Emitted when the dialog is opens.",
13728
- "name": "zn-show"
13729
- },
13730
- {
13731
- "description": "Emitted when the dialog is closed.",
13732
- "name": "zn-close"
13733
- },
13734
- {
13735
- "type": {
13736
- "text": "{ source: 'close-button' | 'keyboard' | 'overlay' }"
13737
- },
13738
- "description": "Emitted when the user attempts to close the dialog by clicking the close button, clicking the overlay, or pressing escape. Calling `event.preventDefault()` will keep the dialog open. Avoid using this unless closing the dialog will result in destructive behavior such as data loss.",
13739
- "name": "zn-request-close"
13740
- }
13741
- ],
13742
- "attributes": [
13743
- {
13744
- "name": "variant",
13745
- "type": {
13746
- "text": "'default' | 'warning' | 'announcement'"
13747
- },
13748
- "default": "'default'",
13749
- "description": "The dialog's theme variant.",
13750
- "fieldName": "variant"
13751
- },
13752
- {
13753
- "name": "size",
13754
- "type": {
13755
- "text": "'small' | 'medium' | 'large' | 'custom'"
13756
- },
13757
- "default": "'medium'",
13758
- "description": "The dialog's size.",
13759
- "fieldName": "size"
13760
- },
13761
- {
13762
- "name": "open",
13763
- "type": {
13764
- "text": "boolean"
13765
- },
13766
- "default": "false",
13767
- "description": "Indicated whether of not the dialog is open. You can toggle this attribute to show and hide the dialog, or you can\nuse the `show()` and `hide()` methods and this attribute will reflect the dialog's state.",
13768
- "fieldName": "open"
13769
- },
13770
- {
13771
- "name": "label",
13772
- "type": {
13773
- "text": "string"
13774
- },
13775
- "description": "The dialog's label as displayed in the header. You should always include a relevant label even when using\n`no-header`, as it is required for proper accessibility. If you need to display HTML, use the `label` slot instead.",
13776
- "fieldName": "label"
13777
- },
13778
- {
13779
- "name": "cosmic",
13780
- "type": {
13781
- "text": "boolean"
13782
- },
13783
- "default": "false",
13784
- "fieldName": "cosmic"
13785
- },
13786
- {
13787
- "name": "no-header",
13788
- "type": {
13789
- "text": "boolean"
13790
- },
13791
- "default": "false",
13792
- "description": "Disables the header. This will also remove the default close button, so please ensure you provide an easy,\naccessible way to close the dialog.",
13793
- "fieldName": "noHeader"
13794
- },
13795
- {
13796
- "name": "trigger",
13797
- "type": {
13798
- "text": "string"
13799
- },
13800
- "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.",
13801
- "fieldName": "trigger"
13802
- }
13803
- ],
13804
- "superclass": {
13805
- "name": "ZincElement",
13806
- "module": "/src/internal/zinc-element"
13807
- },
13808
- "summary": "Short summary of the component's intended use.",
13809
- "tagNameWithoutPrefix": "dialog",
13810
- "tagName": "zn-dialog",
13811
- "customElement": true,
13812
- "jsDoc": "/**\n * @summary Short summary of the component's intended use.\n * @documentation https://zinc.style/components/dialog\n * @status experimental\n * @since 1.0\n *\n * @dependency zn-button\n *\n * @event zn-show - Emitted when the dialog is opens.\n * @event zn-close - Emitted when the dialog is closed.\n * @event {{ source: 'close-button' | 'keyboard' | 'overlay' }} zn-request-close - Emitted when the user attempts to\n * close the dialog by clicking the close button, clicking the overlay, or pressing escape. Calling\n * `event.preventDefault()` will keep the dialog open. Avoid using this unless closing the dialog will result in\n * destructive behavior such as data loss.\n *\n * @slot - The default slot.\n * @slot label - The dialog's label. Alternatively you can use the `label` attribute.\n * @slot header-icon - Optional icon to add to the left of the dialog's label (title). A color will be applied\n * to the icon depending on the dialog variant.\n * @slot announcement-intro - Optional Intro text to display below the icon, when using the variant `announcement`.\n * @slot header-actions - Optional actions to add to the header. Works best with `<zn-button>` elements.\n * @slot footer - The dialog's footer. This is typically used for buttons representing various options.\n * @slot footer-text - Optional text to include below the footer buttons, when using the variant `announcement`.\n *\n * @csspart base - The component's base wrapper.\n * @csspart header - The dialog's header. This element wraps the title and header actions.\n * @csspart header-actions - Optional actions to add to the header. Works best with `<zn-button>` elements.\n * @csspart title - The dialog's title.\n * @csspart close-button - The dialog's close button.\n * @csspart close-button__base - The close buttons exported `base` part.\n * @csspart body - The dialog's body.\n * @csspart footer - The dialog's footer.\n *\n * @cssproperty --width - The preferred width of the dialog. Note the dialog will shrink to accommodate smaller screens.\n * @cssproperty --header-spacing - The amount of padding to use for the header.\n * @cssproperty --body-spacing - The amount of padding to use for the body.\n * @cssproperty --footer-spacing - The amount of padding to use for the footer.\n */",
13813
- "documentation": "https://zinc.style/components/dialog",
13814
- "status": "experimental",
13815
- "since": "1.0",
13816
- "dependencies": [
13817
- "zn-button"
13818
- ]
13819
- }
13820
- ],
13821
- "exports": [
13822
- {
13823
- "kind": "js",
13824
- "name": "default",
13825
- "declaration": {
13826
- "name": "ZnDialog",
13827
- "module": "components/dialog/dialog.js"
13828
- }
13829
- }
13830
- ]
13831
- },
13832
13848
  {
13833
13849
  "kind": "javascript-module",
13834
13850
  "path": "components/editor/editor.js",
@@ -54179,7 +54195,7 @@
54179
54195
  "package": {
54180
54196
  "name": "@kubex/zinc",
54181
54197
  "description": "A collection of web components for building web applications based off of @shoelace-style/Shoelace",
54182
- "version": "1.1.181",
54198
+ "version": "1.1.183",
54183
54199
  "author": "",
54184
54200
  "license": "MIT"
54185
54201
  }