@vanelsas/baredom 4.15.0 → 4.17.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (125) hide show
  1. package/CHANGELOG.md +54 -0
  2. package/README.md +2 -2
  3. package/custom-elements.json +522 -14
  4. package/dist/all.js +4 -0
  5. package/dist/baredom.d.ts +2 -0
  6. package/dist/baremirror-alpha.js +42 -42
  7. package/dist/base.js +584 -504
  8. package/dist/foreign-writes.js +4 -0
  9. package/dist/integrity.json +118 -116
  10. package/dist/requests.js +4 -0
  11. package/dist/x-alert.js +17 -17
  12. package/dist/x-avatar-group.js +10 -10
  13. package/dist/x-avatar.js +1 -13
  14. package/dist/x-badge.js +9 -9
  15. package/dist/x-bento-grid.js +6 -6
  16. package/dist/x-bento-item.js +4 -4
  17. package/dist/x-breadcrumbs.js +17 -17
  18. package/dist/x-button.js +1 -1
  19. package/dist/x-calendar.js +41 -41
  20. package/dist/x-cancel-dialogue.js +16 -16
  21. package/dist/x-card.js +7 -7
  22. package/dist/x-carousel.js +34 -34
  23. package/dist/x-chart.js +47 -47
  24. package/dist/x-checkbox.js +1 -1
  25. package/dist/x-chip.js +1 -1
  26. package/dist/x-code.js +30 -30
  27. package/dist/x-collapse.js +11 -11
  28. package/dist/x-color-picker.js +43 -43
  29. package/dist/x-combobox.js +34 -34
  30. package/dist/x-command-palette.js +30 -30
  31. package/dist/x-comment.d.ts +52 -0
  32. package/dist/x-comment.js +2 -0
  33. package/dist/x-comments.d.ts +52 -0
  34. package/dist/x-comments.js +25 -0
  35. package/dist/x-confetti.js +24 -24
  36. package/dist/x-container.js +6 -6
  37. package/dist/x-context-menu.js +19 -19
  38. package/dist/x-copy.js +1 -1
  39. package/dist/x-currency-field.js +24 -24
  40. package/dist/x-date-picker.js +46 -46
  41. package/dist/x-divider.js +8 -8
  42. package/dist/x-drag-panel.js +33 -33
  43. package/dist/x-drawer.js +12 -12
  44. package/dist/x-drop-zone.js +11 -11
  45. package/dist/x-dropdown.js +12 -12
  46. package/dist/x-fieldset.js +6 -6
  47. package/dist/x-file-download.js +14 -14
  48. package/dist/x-file-upload.js +27 -27
  49. package/dist/x-floating-panel.js +22 -22
  50. package/dist/x-form-field.d.ts +1 -0
  51. package/dist/x-form-field.js +1 -17
  52. package/dist/x-form.js +10 -10
  53. package/dist/x-gaussian-blur.js +13 -13
  54. package/dist/x-grid.js +8 -8
  55. package/dist/x-i18n-provider.js +7 -7
  56. package/dist/x-i18n.js +4 -4
  57. package/dist/x-icon.js +7 -7
  58. package/dist/x-image.js +18 -18
  59. package/dist/x-kbd.js +13 -13
  60. package/dist/x-kinetic-canvas.js +25 -25
  61. package/dist/x-kinetic-font.js +26 -26
  62. package/dist/x-kinetic-typography.js +34 -34
  63. package/dist/x-liquid-dock.js +31 -31
  64. package/dist/x-liquid-fill.js +40 -40
  65. package/dist/x-liquid-glass.js +36 -36
  66. package/dist/x-menu-item.js +9 -9
  67. package/dist/x-menu.js +10 -10
  68. package/dist/x-metaball-cursor.js +26 -26
  69. package/dist/x-modal.js +12 -12
  70. package/dist/x-morph-stack.js +37 -37
  71. package/dist/x-multi-combobox.js +41 -41
  72. package/dist/x-navbar.js +15 -15
  73. package/dist/x-neural-glow.js +25 -25
  74. package/dist/x-notification-center.js +9 -9
  75. package/dist/x-organic-divider.js +17 -17
  76. package/dist/x-organic-progress.js +33 -33
  77. package/dist/x-organic-shape.js +12 -12
  78. package/dist/x-otp-input.js +22 -22
  79. package/dist/x-pagination.js +18 -18
  80. package/dist/x-particle-button.js +53 -53
  81. package/dist/x-popover.js +27 -27
  82. package/dist/x-progress-circle.js +8 -8
  83. package/dist/x-progress.js +8 -8
  84. package/dist/x-proximity-list.js +20 -20
  85. package/dist/x-radio.js +13 -13
  86. package/dist/x-range-slider.js +29 -29
  87. package/dist/x-rating.js +24 -24
  88. package/dist/x-ripple-effect.js +9 -9
  89. package/dist/x-scroll-parallax.js +17 -17
  90. package/dist/x-scroll-stack.js +17 -17
  91. package/dist/x-scroll-story.js +33 -33
  92. package/dist/x-scroll-timeline.js +49 -49
  93. package/dist/x-scroll.js +35 -35
  94. package/dist/x-search-field.js +1 -1
  95. package/dist/x-select.js +1 -1
  96. package/dist/x-sidebar.js +17 -16
  97. package/dist/x-skeleton-group.js +14 -14
  98. package/dist/x-skeleton.js +1 -1
  99. package/dist/x-slider.js +17 -17
  100. package/dist/x-soft-body.js +17 -17
  101. package/dist/x-spacer.js +3 -3
  102. package/dist/x-spinner.js +4 -4
  103. package/dist/x-splash.js +13 -13
  104. package/dist/x-split-pane.js +15 -15
  105. package/dist/x-spotlight-card.js +12 -12
  106. package/dist/x-stat.js +10 -10
  107. package/dist/x-stepper.js +14 -14
  108. package/dist/x-switch.js +12 -12
  109. package/dist/x-tab.js +7 -7
  110. package/dist/x-table-cell.js +20 -20
  111. package/dist/x-table-row.js +8 -8
  112. package/dist/x-table.js +20 -20
  113. package/dist/x-tabs.js +12 -12
  114. package/dist/x-text-area.js +1 -20
  115. package/dist/x-theme.js +28 -26
  116. package/dist/x-timeline-item.js +21 -21
  117. package/dist/x-timeline.js +9 -9
  118. package/dist/x-toast.js +22 -22
  119. package/dist/x-toaster.js +6 -6
  120. package/dist/x-toc.js +34 -34
  121. package/dist/x-tooltip.js +14 -14
  122. package/dist/x-trace-history.js +117 -117
  123. package/dist/x-typography.js +6 -6
  124. package/dist/x-welcome-tour.js +63 -63
  125. package/package.json +11 -1
@@ -1245,10 +1245,10 @@
1245
1245
  "default" : "var(--x-color-danger-hover,#b91c1c)"
1246
1246
  }, {
1247
1247
  "name" : "--x-button-danger-fg",
1248
- "default" : "#ffffff"
1248
+ "default" : "var(--x-color-on-danger,#ffffff)"
1249
1249
  }, {
1250
1250
  "name" : "--x-button-fg",
1251
- "default" : "#ffffff"
1251
+ "default" : "var(--x-color-on-primary,#ffffff)"
1252
1252
  }, {
1253
1253
  "name" : "--x-button-fg-disabled",
1254
1254
  "default" : "var(--x-color-text-muted,#ffffff)"
@@ -1652,7 +1652,7 @@
1652
1652
  "default" : "var(--x-color-primary,#2563eb)"
1653
1653
  }, {
1654
1654
  "name" : "--x-calendar-selected-text",
1655
- "default" : "#fff"
1655
+ "default" : "var(--x-color-on-primary,#fff)"
1656
1656
  }, {
1657
1657
  "name" : "--x-calendar-surface",
1658
1658
  "default" : "var(--x-color-surface,#fff)"
@@ -1907,7 +1907,7 @@
1907
1907
  "default" : "var(--x-color-primary-hover,#1d4ed8)"
1908
1908
  }, {
1909
1909
  "name" : "--x-cancel-dialogue-confirm-fg",
1910
- "default" : "#ffffff"
1910
+ "default" : "var(--x-color-on-primary,#ffffff)"
1911
1911
  }, {
1912
1912
  "name" : "--x-cancel-dialogue-danger-bg",
1913
1913
  "default" : "var(--x-color-danger,#dc2626)"
@@ -1916,7 +1916,7 @@
1916
1916
  "default" : "var(--x-color-danger-hover,#b91c1c)"
1917
1917
  }, {
1918
1918
  "name" : "--x-cancel-dialogue-danger-fg",
1919
- "default" : "#ffffff"
1919
+ "default" : "var(--x-color-on-danger,#ffffff)"
1920
1920
  }, {
1921
1921
  "name" : "--x-cancel-dialogue-enter-duration",
1922
1922
  "default" : "0ms"
@@ -4087,7 +4087,7 @@
4087
4087
  "default" : "var(--x-color-primary,#3b82f6)"
4088
4088
  }, {
4089
4089
  "name" : "--x-combobox-option-active-fg",
4090
- "default" : "#ffffff"
4090
+ "default" : "var(--x-color-on-primary,#ffffff)"
4091
4091
  }, {
4092
4092
  "name" : "--x-combobox-option-hover-bg",
4093
4093
  "default" : "var(--x-color-surface-hover,#f1f5f9)"
@@ -4476,6 +4476,498 @@
4476
4476
  "name" : "XCommandPalette"
4477
4477
  }
4478
4478
  } ]
4479
+ }, {
4480
+ "kind" : "javascript-module",
4481
+ "path" : "dist/x-comment.js",
4482
+ "declarations" : [ {
4483
+ "kind" : "class",
4484
+ "name" : "XComment",
4485
+ "tagName" : "x-comment",
4486
+ "superclass" : {
4487
+ "name" : "HTMLElement"
4488
+ },
4489
+ "members" : [ {
4490
+ "kind" : "field",
4491
+ "name" : "expiredLabel",
4492
+ "type" : {
4493
+ "text" : "string"
4494
+ }
4495
+ }, {
4496
+ "kind" : "field",
4497
+ "name" : "locale",
4498
+ "type" : {
4499
+ "text" : "string"
4500
+ }
4501
+ }, {
4502
+ "kind" : "field",
4503
+ "name" : "name",
4504
+ "type" : {
4505
+ "text" : "string"
4506
+ }
4507
+ }, {
4508
+ "kind" : "field",
4509
+ "name" : "replyLabel",
4510
+ "type" : {
4511
+ "text" : "string"
4512
+ }
4513
+ }, {
4514
+ "kind" : "field",
4515
+ "name" : "commentId",
4516
+ "type" : {
4517
+ "text" : "string"
4518
+ }
4519
+ }, {
4520
+ "kind" : "field",
4521
+ "name" : "author",
4522
+ "type" : {
4523
+ "text" : "boolean"
4524
+ }
4525
+ }, {
4526
+ "kind" : "field",
4527
+ "name" : "replyToName",
4528
+ "type" : {
4529
+ "text" : "string"
4530
+ }
4531
+ }, {
4532
+ "kind" : "field",
4533
+ "name" : "status",
4534
+ "type" : {
4535
+ "text" : "string"
4536
+ }
4537
+ }, {
4538
+ "kind" : "field",
4539
+ "name" : "authorLabel",
4540
+ "type" : {
4541
+ "text" : "string"
4542
+ }
4543
+ }, {
4544
+ "kind" : "field",
4545
+ "name" : "datetime",
4546
+ "type" : {
4547
+ "text" : "string"
4548
+ }
4549
+ }, {
4550
+ "kind" : "field",
4551
+ "name" : "depth",
4552
+ "type" : {
4553
+ "text" : "number"
4554
+ }
4555
+ }, {
4556
+ "kind" : "field",
4557
+ "name" : "replyContextLabel",
4558
+ "type" : {
4559
+ "text" : "string"
4560
+ }
4561
+ }, {
4562
+ "kind" : "field",
4563
+ "name" : "maxDepth",
4564
+ "type" : {
4565
+ "text" : "number"
4566
+ }
4567
+ }, {
4568
+ "kind" : "field",
4569
+ "name" : "pendingLabel",
4570
+ "type" : {
4571
+ "text" : "string"
4572
+ }
4573
+ }, {
4574
+ "kind" : "field",
4575
+ "name" : "removedLabel",
4576
+ "type" : {
4577
+ "text" : "string"
4578
+ }
4579
+ } ],
4580
+ "attributes" : [ {
4581
+ "name" : "comment-id",
4582
+ "fieldName" : "commentId",
4583
+ "type" : {
4584
+ "text" : "string"
4585
+ }
4586
+ }, {
4587
+ "name" : "name",
4588
+ "fieldName" : "name",
4589
+ "type" : {
4590
+ "text" : "string"
4591
+ }
4592
+ }, {
4593
+ "name" : "datetime",
4594
+ "fieldName" : "datetime",
4595
+ "type" : {
4596
+ "text" : "string"
4597
+ }
4598
+ }, {
4599
+ "name" : "locale",
4600
+ "fieldName" : "locale",
4601
+ "type" : {
4602
+ "text" : "string"
4603
+ }
4604
+ }, {
4605
+ "name" : "depth",
4606
+ "fieldName" : "depth",
4607
+ "type" : {
4608
+ "text" : "number"
4609
+ }
4610
+ }, {
4611
+ "name" : "max-depth",
4612
+ "fieldName" : "maxDepth",
4613
+ "type" : {
4614
+ "text" : "number"
4615
+ }
4616
+ }, {
4617
+ "name" : "reply-to-name",
4618
+ "fieldName" : "replyToName",
4619
+ "type" : {
4620
+ "text" : "string"
4621
+ }
4622
+ }, {
4623
+ "name" : "author",
4624
+ "fieldName" : "author",
4625
+ "type" : {
4626
+ "text" : "boolean"
4627
+ }
4628
+ }, {
4629
+ "name" : "status",
4630
+ "fieldName" : "status",
4631
+ "type" : {
4632
+ "text" : "string"
4633
+ }
4634
+ }, {
4635
+ "name" : "reply-label",
4636
+ "fieldName" : "replyLabel",
4637
+ "type" : {
4638
+ "text" : "string"
4639
+ }
4640
+ }, {
4641
+ "name" : "reply-context-label",
4642
+ "fieldName" : "replyContextLabel",
4643
+ "type" : {
4644
+ "text" : "string"
4645
+ }
4646
+ }, {
4647
+ "name" : "author-label",
4648
+ "fieldName" : "authorLabel",
4649
+ "type" : {
4650
+ "text" : "string"
4651
+ }
4652
+ }, {
4653
+ "name" : "pending-label",
4654
+ "fieldName" : "pendingLabel",
4655
+ "type" : {
4656
+ "text" : "string"
4657
+ }
4658
+ }, {
4659
+ "name" : "removed-label",
4660
+ "fieldName" : "removedLabel",
4661
+ "type" : {
4662
+ "text" : "string"
4663
+ }
4664
+ }, {
4665
+ "name" : "expired-label",
4666
+ "fieldName" : "expiredLabel",
4667
+ "type" : {
4668
+ "text" : "string"
4669
+ }
4670
+ } ],
4671
+ "events" : [ {
4672
+ "name" : "x-comment-reply",
4673
+ "type" : {
4674
+ "text" : "CustomEvent<{ commentId: string }>"
4675
+ },
4676
+ "cancelable" : false,
4677
+ "detail" : {
4678
+ "commentId" : "string"
4679
+ }
4680
+ } ],
4681
+ "slots" : [ {
4682
+ "name" : "meta"
4683
+ } ],
4684
+ "cssProperties" : [ {
4685
+ "name" : "--x-comment-author-bg",
4686
+ "default" : "color-mix(in srgb,var(--x-color-primary,#2563eb) 8%,var(--x-comment-bg))"
4687
+ }, {
4688
+ "name" : "--x-comment-bg",
4689
+ "default" : "var(--x-color-surface,#ffffff)"
4690
+ }, {
4691
+ "name" : "--x-comment-border",
4692
+ "default" : "var(--x-color-border,#e5e7eb)"
4693
+ }, {
4694
+ "name" : "--x-comment-indent",
4695
+ "default" : "var(--x-space-xl,2rem)"
4696
+ }, {
4697
+ "name" : "--x-comment-level"
4698
+ }, {
4699
+ "name" : "--x-comment-meta-color",
4700
+ "default" : "var(--x-color-text-muted,#6b7280)"
4701
+ }, {
4702
+ "name" : "--x-comment-pending-opacity",
4703
+ "default" : "var(--x-opacity-placeholder,0.6)"
4704
+ }, {
4705
+ "name" : "--x-comment-radius",
4706
+ "default" : "var(--x-radius-md,8px)"
4707
+ } ],
4708
+ "cssParts" : [ {
4709
+ "name" : "part"
4710
+ } ]
4711
+ } ],
4712
+ "exports" : [ {
4713
+ "kind" : "js",
4714
+ "name" : "init",
4715
+ "declaration" : {
4716
+ "name" : "init"
4717
+ }
4718
+ }, {
4719
+ "kind" : "custom-element-definition",
4720
+ "name" : "x-comment",
4721
+ "declaration" : {
4722
+ "name" : "XComment"
4723
+ }
4724
+ } ]
4725
+ }, {
4726
+ "kind" : "javascript-module",
4727
+ "path" : "dist/x-comments.js",
4728
+ "declarations" : [ {
4729
+ "kind" : "class",
4730
+ "name" : "XComments",
4731
+ "tagName" : "x-comments",
4732
+ "superclass" : {
4733
+ "name" : "HTMLElement"
4734
+ },
4735
+ "members" : [ {
4736
+ "kind" : "field",
4737
+ "name" : "closed",
4738
+ "type" : {
4739
+ "text" : "boolean"
4740
+ }
4741
+ }, {
4742
+ "kind" : "field",
4743
+ "name" : "replyFormLabel",
4744
+ "type" : {
4745
+ "text" : "string"
4746
+ }
4747
+ }, {
4748
+ "kind" : "field",
4749
+ "name" : "headingLabel",
4750
+ "type" : {
4751
+ "text" : "string"
4752
+ }
4753
+ }, {
4754
+ "kind" : "field",
4755
+ "name" : "sendLabel",
4756
+ "type" : {
4757
+ "text" : "string"
4758
+ }
4759
+ }, {
4760
+ "kind" : "field",
4761
+ "name" : "formLabel",
4762
+ "type" : {
4763
+ "text" : "string"
4764
+ }
4765
+ }, {
4766
+ "kind" : "field",
4767
+ "name" : "nameMax",
4768
+ "type" : {
4769
+ "text" : "number"
4770
+ }
4771
+ }, {
4772
+ "kind" : "field",
4773
+ "name" : "replyTo",
4774
+ "type" : {
4775
+ "text" : "string"
4776
+ }
4777
+ }, {
4778
+ "kind" : "field",
4779
+ "name" : "cancelLabel",
4780
+ "type" : {
4781
+ "text" : "string"
4782
+ }
4783
+ }, {
4784
+ "kind" : "field",
4785
+ "name" : "textLabel",
4786
+ "type" : {
4787
+ "text" : "string"
4788
+ }
4789
+ }, {
4790
+ "kind" : "field",
4791
+ "name" : "nameLabel",
4792
+ "type" : {
4793
+ "text" : "string"
4794
+ }
4795
+ }, {
4796
+ "kind" : "field",
4797
+ "name" : "textMax",
4798
+ "type" : {
4799
+ "text" : "number"
4800
+ }
4801
+ }, {
4802
+ "kind" : "field",
4803
+ "name" : "commenterName",
4804
+ "type" : {
4805
+ "text" : "string"
4806
+ }
4807
+ }, {
4808
+ "kind" : "field",
4809
+ "name" : "sentLabel",
4810
+ "type" : {
4811
+ "text" : "string"
4812
+ }
4813
+ }, {
4814
+ "kind" : "method",
4815
+ "name" : "focus",
4816
+ "return" : {
4817
+ "type" : {
4818
+ "text" : "void"
4819
+ }
4820
+ }
4821
+ } ],
4822
+ "attributes" : [ {
4823
+ "name" : "closed",
4824
+ "fieldName" : "closed",
4825
+ "type" : {
4826
+ "text" : "boolean"
4827
+ }
4828
+ }, {
4829
+ "name" : "reply-to",
4830
+ "fieldName" : "replyTo",
4831
+ "type" : {
4832
+ "text" : "string"
4833
+ }
4834
+ }, {
4835
+ "name" : "commenter-name",
4836
+ "fieldName" : "commenterName",
4837
+ "type" : {
4838
+ "text" : "string"
4839
+ }
4840
+ }, {
4841
+ "name" : "name-max",
4842
+ "fieldName" : "nameMax",
4843
+ "type" : {
4844
+ "text" : "number"
4845
+ }
4846
+ }, {
4847
+ "name" : "text-max",
4848
+ "fieldName" : "textMax",
4849
+ "type" : {
4850
+ "text" : "number"
4851
+ }
4852
+ }, {
4853
+ "name" : "heading-label",
4854
+ "fieldName" : "headingLabel",
4855
+ "type" : {
4856
+ "text" : "string"
4857
+ }
4858
+ }, {
4859
+ "name" : "form-label",
4860
+ "fieldName" : "formLabel",
4861
+ "type" : {
4862
+ "text" : "string"
4863
+ }
4864
+ }, {
4865
+ "name" : "reply-form-label",
4866
+ "fieldName" : "replyFormLabel",
4867
+ "type" : {
4868
+ "text" : "string"
4869
+ }
4870
+ }, {
4871
+ "name" : "name-label",
4872
+ "fieldName" : "nameLabel",
4873
+ "type" : {
4874
+ "text" : "string"
4875
+ }
4876
+ }, {
4877
+ "name" : "text-label",
4878
+ "fieldName" : "textLabel",
4879
+ "type" : {
4880
+ "text" : "string"
4881
+ }
4882
+ }, {
4883
+ "name" : "send-label",
4884
+ "fieldName" : "sendLabel",
4885
+ "type" : {
4886
+ "text" : "string"
4887
+ }
4888
+ }, {
4889
+ "name" : "cancel-label",
4890
+ "fieldName" : "cancelLabel",
4891
+ "type" : {
4892
+ "text" : "string"
4893
+ }
4894
+ }, {
4895
+ "name" : "sent-label",
4896
+ "fieldName" : "sentLabel",
4897
+ "type" : {
4898
+ "text" : "string"
4899
+ }
4900
+ } ],
4901
+ "events" : [ {
4902
+ "name" : "x-comments-reply-request",
4903
+ "type" : {
4904
+ "text" : "CustomEvent<{ replyTo: string; previousReplyTo: string }>"
4905
+ },
4906
+ "cancelable" : true,
4907
+ "requests" : {
4908
+ "reply-to" : "replyTo"
4909
+ },
4910
+ "detail" : {
4911
+ "replyTo" : "string",
4912
+ "previousReplyTo" : "string"
4913
+ }
4914
+ }, {
4915
+ "name" : "x-comments-submit",
4916
+ "type" : {
4917
+ "text" : "CustomEvent<{ name: string; text: string; replyTo: string; trap: string }>"
4918
+ },
4919
+ "cancelable" : true,
4920
+ "detail" : {
4921
+ "name" : "string",
4922
+ "text" : "string",
4923
+ "replyTo" : "string",
4924
+ "trap" : "string"
4925
+ }
4926
+ } ],
4927
+ "slots" : [ {
4928
+ "name" : "before"
4929
+ }, {
4930
+ "name" : "after"
4931
+ }, {
4932
+ "name" : "notice"
4933
+ } ],
4934
+ "cssProperties" : [ {
4935
+ "name" : "--x-comments-form-bg",
4936
+ "default" : "var(--x-color-surface,#ffffff)"
4937
+ }, {
4938
+ "name" : "--x-comments-form-border",
4939
+ "default" : "var(--x-color-border,#e5e7eb)"
4940
+ }, {
4941
+ "name" : "--x-comments-form-radius",
4942
+ "default" : "var(--x-radius-md,8px)"
4943
+ }, {
4944
+ "name" : "--x-comments-gap",
4945
+ "default" : "var(--x-space-md,0.75rem)"
4946
+ }, {
4947
+ "name" : "--x-comments-heading-font-size",
4948
+ "default" : "var(--x-font-size-lg,1.125rem)"
4949
+ } ],
4950
+ "cssParts" : [ {
4951
+ "name" : "part"
4952
+ } ],
4953
+ "foreignWrites" : [ {
4954
+ "target" : "x-comment",
4955
+ "attributes" : [ "data-comments-closed", "slot" ]
4956
+ } ]
4957
+ } ],
4958
+ "exports" : [ {
4959
+ "kind" : "js",
4960
+ "name" : "init",
4961
+ "declaration" : {
4962
+ "name" : "init"
4963
+ }
4964
+ }, {
4965
+ "kind" : "custom-element-definition",
4966
+ "name" : "x-comments",
4967
+ "declaration" : {
4968
+ "name" : "XComments"
4969
+ }
4970
+ } ]
4479
4971
  }, {
4480
4972
  "kind" : "javascript-module",
4481
4973
  "path" : "dist/x-confetti.js",
@@ -5256,7 +5748,7 @@
5256
5748
  "default" : "var(--x-color-danger,#b91c1c)"
5257
5749
  }, {
5258
5750
  "name" : "--x-copy-tooltip-error-fg",
5259
- "default" : "#fef2f2"
5751
+ "default" : "var(--x-color-on-danger,#fef2f2)"
5260
5752
  }, {
5261
5753
  "name" : "--x-copy-tooltip-fg",
5262
5754
  "default" : "var(--x-color-text,#f8fafc)"
@@ -5274,7 +5766,7 @@
5274
5766
  "default" : "var(--x-color-primary,#15803d)"
5275
5767
  }, {
5276
5768
  "name" : "--x-copy-tooltip-success-fg",
5277
- "default" : "#ffffff"
5769
+ "default" : "var(--x-color-on-primary,#ffffff)"
5278
5770
  }, {
5279
5771
  "name" : "--x-copy-tooltip-z",
5280
5772
  "default" : "var(--x-z-dropdown,100)"
@@ -6058,7 +6550,7 @@
6058
6550
  "default" : "var(--x-color-primary,#2563eb)"
6059
6551
  }, {
6060
6552
  "name" : "--x-date-picker-selected-text",
6061
- "default" : "#fff"
6553
+ "default" : "var(--x-color-on-primary,#fff)"
6062
6554
  }, {
6063
6555
  "name" : "--x-date-picker-text",
6064
6556
  "default" : "inherit"
@@ -8030,6 +8522,12 @@
8030
8522
  "type" : {
8031
8523
  "text" : "string"
8032
8524
  }
8525
+ }, {
8526
+ "kind" : "field",
8527
+ "name" : "maxLength",
8528
+ "type" : {
8529
+ "text" : "number"
8530
+ }
8033
8531
  }, {
8034
8532
  "kind" : "field",
8035
8533
  "name" : "error",
@@ -8145,6 +8643,12 @@
8145
8643
  "type" : {
8146
8644
  "text" : "string"
8147
8645
  }
8646
+ }, {
8647
+ "name" : "maxlength",
8648
+ "fieldName" : "maxLength",
8649
+ "type" : {
8650
+ "text" : "number"
8651
+ }
8148
8652
  } ],
8149
8653
  "events" : [ {
8150
8654
  "name" : "x-form-field-change-request",
@@ -11440,7 +11944,7 @@
11440
11944
  "default" : "var(--x-color-primary,#3b82f6)"
11441
11945
  }, {
11442
11946
  "name" : "--x-multi-combobox-option-active-fg",
11443
- "default" : "#ffffff"
11947
+ "default" : "var(--x-color-on-primary,#ffffff)"
11444
11948
  }, {
11445
11949
  "name" : "--x-multi-combobox-option-hover-bg",
11446
11950
  "default" : "var(--x-color-surface-hover,#f1f5f9)"
@@ -13210,10 +13714,10 @@
13210
13714
  "default" : "var(--x-color-danger-hover,#b91c1c)"
13211
13715
  }, {
13212
13716
  "name" : "--x-particle-button-danger-fg",
13213
- "default" : "#ffffff"
13717
+ "default" : "var(--x-color-on-danger,#ffffff)"
13214
13718
  }, {
13215
13719
  "name" : "--x-particle-button-fg",
13216
- "default" : "#ffffff"
13720
+ "default" : "var(--x-color-on-primary,#ffffff)"
13217
13721
  }, {
13218
13722
  "name" : "--x-particle-button-fg-disabled",
13219
13723
  "default" : "var(--x-color-text-muted,#ffffff)"
@@ -18491,7 +18995,7 @@
18491
18995
  "default" : "var(--x-color-primary,rgba(0,102,204,1))"
18492
18996
  }, {
18493
18997
  "name" : "--x-stepper-current-color",
18494
- "default" : "#fff"
18998
+ "default" : "var(--x-color-on-primary,#fff)"
18495
18999
  }, {
18496
19000
  "name" : "--x-stepper-desc-color",
18497
19001
  "default" : "var(--x-color-text-muted,rgba(0,0,0,0.4))"
@@ -20691,6 +21195,10 @@
20691
21195
  "name" : "--x-color-danger-hover"
20692
21196
  }, {
20693
21197
  "name" : "--x-color-focus-ring"
21198
+ }, {
21199
+ "name" : "--x-color-on-danger"
21200
+ }, {
21201
+ "name" : "--x-color-on-primary"
20694
21202
  }, {
20695
21203
  "name" : "--x-color-primary"
20696
21204
  }, {
@@ -22465,7 +22973,7 @@
22465
22973
  "default" : "var(--x-color-primary,#3b82f6)"
22466
22974
  }, {
22467
22975
  "name" : "--x-welcome-tour-button-fg",
22468
- "default" : "#ffffff"
22976
+ "default" : "var(--x-color-on-primary,#ffffff)"
22469
22977
  }, {
22470
22978
  "name" : "--x-welcome-tour-connector-color",
22471
22979
  "default" : "var(--x-color-primary,#3b82f6)"
package/dist/all.js CHANGED
@@ -21,6 +21,8 @@ import { init as xCollapse } from './x-collapse.js';
21
21
  import { init as xColorPicker } from './x-color-picker.js';
22
22
  import { init as xCombobox } from './x-combobox.js';
23
23
  import { init as xCommandPalette } from './x-command-palette.js';
24
+ import { init as xComment } from './x-comment.js';
25
+ import { init as xComments } from './x-comments.js';
24
26
  import { init as xConfetti } from './x-confetti.js';
25
27
  import { init as xContainer } from './x-container.js';
26
28
  import { init as xContextMenu } from './x-context-menu.js';
@@ -132,6 +134,8 @@ export function init() {
132
134
  xColorPicker();
133
135
  xCombobox();
134
136
  xCommandPalette();
137
+ xComment();
138
+ xComments();
135
139
  xConfetti();
136
140
  xContainer();
137
141
  xContextMenu();
package/dist/baredom.d.ts CHANGED
@@ -20,6 +20,8 @@ export { XCollapse } from "./x-collapse";
20
20
  export { XColorPicker } from "./x-color-picker";
21
21
  export { XCombobox } from "./x-combobox";
22
22
  export { XCommandPalette } from "./x-command-palette";
23
+ export { XComment } from "./x-comment";
24
+ export { XComments } from "./x-comments";
23
25
  export { XConfetti } from "./x-confetti";
24
26
  export { XContainer } from "./x-container";
25
27
  export { XContextMenu } from "./x-context-menu";