@kubex/zinc 1.1.98 → 1.1.100

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 (66) hide show
  1. package/AGENTS.md +5 -0
  2. package/CLAUDE.md +5 -0
  3. package/dist/custom-elements.json +876 -18
  4. package/dist/vscode.html-custom-data.json +148 -9
  5. package/dist/web-types.json +306 -12
  6. package/dist/zn.d.ts +203 -9
  7. package/dist/zn.min.css +1 -1
  8. package/dist/zn.min.js +343 -297
  9. package/docs/pages/components/background.md +143 -0
  10. package/docs/pages/components/checkbox-group.md +13 -1
  11. package/docs/pages/components/checkbox.md +59 -1
  12. package/docs/pages/components/radio-group.md +12 -0
  13. package/docs/pages/components/radio.md +188 -0
  14. package/docs/pages/components/remarkd-editor.md +22 -0
  15. package/docs/pages/components/scroll-container.md +14 -15
  16. package/package.json +1 -1
  17. package/scss/_root.scss +16 -0
  18. package/scss/mixins/_typography-mixins.scss +1 -0
  19. package/scss/shared/_button.scss +4 -2
  20. package/scss/themes/_typography.scss +2 -0
  21. package/src/components/background/background.component.ts +111 -0
  22. package/src/components/background/background.scss +236 -0
  23. package/src/components/background/background.test.ts +120 -0
  24. package/src/components/background/index.ts +12 -0
  25. package/src/components/button/button.scss +14 -4
  26. package/src/components/checkbox/checkbox.component.ts +62 -6
  27. package/src/components/checkbox/checkbox.scss +1 -0
  28. package/src/components/checkbox/checkbox.test.ts +56 -0
  29. package/src/components/checkbox-group/checkbox-group.component.ts +15 -0
  30. package/src/components/checkbox-group/checkbox-group.scss +23 -5
  31. package/src/components/checkbox-group/checkbox-group.test.ts +15 -0
  32. package/src/components/confirm/confirm.component.ts +3 -3
  33. package/src/components/confirm/confirm.test.ts +15 -0
  34. package/src/components/dialog/dialog.component.ts +3 -2
  35. package/src/components/editor/editor.component.ts +7 -6
  36. package/src/components/header/header.scss +3 -1
  37. package/src/components/menu-item/menu-item.scss +8 -5
  38. package/src/components/navbar/navbar.scss +11 -0
  39. package/src/components/page/page.scss +16 -2
  40. package/src/components/radio/radio.component.ts +63 -7
  41. package/src/components/radio/radio.scss +1 -0
  42. package/src/components/radio/radio.test.ts +56 -0
  43. package/src/components/radio-group/radio-group.component.ts +16 -3
  44. package/src/components/radio-group/radio-group.scss +23 -4
  45. package/src/components/radio-group/radio-group.test.ts +15 -0
  46. package/src/components/remarkd-editor/remarkd-editor.component.ts +118 -5
  47. package/src/components/remarkd-editor/remarkd-editor.scss +8 -1
  48. package/src/components/remarkd-editor/remarkd-editor.test.ts +96 -0
  49. package/src/components/scroll-container/scroll-container.component.ts +15 -1
  50. package/src/components/scroll-container/scroll-container.scss +4 -2
  51. package/src/components/scroll-container/scroll-container.test.ts +13 -0
  52. package/src/components/slideout/slideout.component.ts +3 -2
  53. package/src/components/thumbnail-group/thumbnail-group.scss +0 -1
  54. package/src/components/tile/tile.scss +2 -2
  55. package/src/components/toggle/toggle.scss +8 -1
  56. package/src/components/tooltip/tooltip.scss +4 -1
  57. package/src/components/translation-group/translation-group.test.ts +22 -0
  58. package/src/components/translations/translations.component.ts +18 -3
  59. package/src/form-control.scss +3 -1
  60. package/src/internal/conditional.ts +2 -2
  61. package/src/internal/form.ts +2 -1
  62. package/src/internal/selection-card.ts +19 -0
  63. package/src/selection-card.scss +187 -0
  64. package/src/utilities/query.test.ts +18 -1
  65. package/src/utilities/query.ts +8 -0
  66. package/src/zinc.ts +1 -0
@@ -842,6 +842,269 @@
842
842
  }
843
843
  ]
844
844
  },
845
+ {
846
+ "kind": "javascript-module",
847
+ "path": "components/background/background.js",
848
+ "declarations": [
849
+ {
850
+ "kind": "class",
851
+ "description": "",
852
+ "name": "ZnBackground",
853
+ "cssProperties": [
854
+ {
855
+ "description": "Fallback colour when the `color` attribute is not set.",
856
+ "name": "--zn-background-color"
857
+ },
858
+ {
859
+ "description": "Position of the background image. Defaults to `center`.",
860
+ "name": "--zn-background-image-position"
861
+ },
862
+ {
863
+ "description": "Direction of the overlay gradient. Defaults to `110deg`.",
864
+ "name": "--zn-background-overlay-angle"
865
+ },
866
+ {
867
+ "description": "Colour of the floating icons. Defaults to `currentColor`.",
868
+ "name": "--zn-background-floating-icon-color"
869
+ }
870
+ ],
871
+ "cssParts": [
872
+ {
873
+ "description": "The component's full-size background canvas.",
874
+ "name": "base"
875
+ },
876
+ {
877
+ "description": "The decorative background image.",
878
+ "name": "image"
879
+ },
880
+ {
881
+ "description": "The contrast overlay between the image and content.",
882
+ "name": "overlay"
883
+ },
884
+ {
885
+ "description": "The non-interactive layer containing the floating icons.",
886
+ "name": "floating-icons"
887
+ },
888
+ {
889
+ "description": "Each floating `zn-icon`.",
890
+ "name": "floating-icon"
891
+ },
892
+ {
893
+ "description": "The wrapper around the default slot.",
894
+ "name": "content"
895
+ }
896
+ ],
897
+ "slots": [
898
+ {
899
+ "description": "Content displayed above the background layers.",
900
+ "name": ""
901
+ }
902
+ ],
903
+ "members": [
904
+ {
905
+ "kind": "field",
906
+ "name": "dependencies",
907
+ "type": {
908
+ "text": "object"
909
+ },
910
+ "static": true,
911
+ "default": "{'zn-icon': ZnIcon}"
912
+ },
913
+ {
914
+ "kind": "field",
915
+ "name": "resizeObserver",
916
+ "privacy": "private",
917
+ "readonly": true,
918
+ "default": "new ResizeController<number>(this, { callback: entries => { const width = entries[0]?.contentRect.width ?? this.offsetWidth; return Math.max(1, Math.min(width * 0.05, 150)); }, })"
919
+ },
920
+ {
921
+ "kind": "field",
922
+ "name": "image",
923
+ "type": {
924
+ "text": "string"
925
+ },
926
+ "default": "''",
927
+ "description": "URL of the decorative background image.",
928
+ "attribute": "image"
929
+ },
930
+ {
931
+ "kind": "field",
932
+ "name": "color",
933
+ "type": {
934
+ "text": "string"
935
+ },
936
+ "default": "''",
937
+ "description": "CSS colour painted beneath the image.",
938
+ "attribute": "color"
939
+ },
940
+ {
941
+ "kind": "field",
942
+ "name": "imageStrength",
943
+ "type": {
944
+ "text": "BackgroundImageStrength"
945
+ },
946
+ "default": "'full'",
947
+ "description": "Visibility of the image: `soft` (30%), `medium` (62%) or `full` (100%).",
948
+ "attribute": "image-strength",
949
+ "reflects": true
950
+ },
951
+ {
952
+ "kind": "field",
953
+ "name": "motion",
954
+ "type": {
955
+ "text": "BackgroundMotion"
956
+ },
957
+ "default": "'none'",
958
+ "description": "Subtle animation applied to the image. Motion stops when reduced motion is requested.",
959
+ "attribute": "motion",
960
+ "reflects": true
961
+ },
962
+ {
963
+ "kind": "field",
964
+ "name": "overlay",
965
+ "type": {
966
+ "text": "BackgroundOverlay"
967
+ },
968
+ "default": "'soft'",
969
+ "description": "Strength of the contrast gradient above the image.",
970
+ "attribute": "overlay",
971
+ "reflects": true
972
+ },
973
+ {
974
+ "kind": "field",
975
+ "name": "overlayTone",
976
+ "type": {
977
+ "text": "BackgroundOverlayTone"
978
+ },
979
+ "default": "'light'",
980
+ "description": "Whether the overlay uses a light or dark contrast treatment.",
981
+ "attribute": "overlay-tone",
982
+ "reflects": true
983
+ },
984
+ {
985
+ "kind": "field",
986
+ "name": "floatingIcons",
987
+ "type": {
988
+ "text": "string"
989
+ },
990
+ "default": "''",
991
+ "description": "Comma-separated Zinc icon names placed as ambient decoration. At most eight are rendered.",
992
+ "attribute": "floating-icons"
993
+ },
994
+ {
995
+ "kind": "field",
996
+ "name": "paused",
997
+ "type": {
998
+ "text": "boolean"
999
+ },
1000
+ "default": "false",
1001
+ "description": "Pauses background motion without changing the selected motion treatment.",
1002
+ "attribute": "paused",
1003
+ "reflects": true
1004
+ }
1005
+ ],
1006
+ "attributes": [
1007
+ {
1008
+ "name": "image",
1009
+ "type": {
1010
+ "text": "string"
1011
+ },
1012
+ "default": "''",
1013
+ "description": "URL of the decorative background image.",
1014
+ "fieldName": "image"
1015
+ },
1016
+ {
1017
+ "name": "color",
1018
+ "type": {
1019
+ "text": "string"
1020
+ },
1021
+ "default": "''",
1022
+ "description": "CSS colour painted beneath the image.",
1023
+ "fieldName": "color"
1024
+ },
1025
+ {
1026
+ "name": "image-strength",
1027
+ "type": {
1028
+ "text": "BackgroundImageStrength"
1029
+ },
1030
+ "default": "'full'",
1031
+ "description": "Visibility of the image: `soft` (30%), `medium` (62%) or `full` (100%).",
1032
+ "fieldName": "imageStrength"
1033
+ },
1034
+ {
1035
+ "name": "motion",
1036
+ "type": {
1037
+ "text": "BackgroundMotion"
1038
+ },
1039
+ "default": "'none'",
1040
+ "description": "Subtle animation applied to the image. Motion stops when reduced motion is requested.",
1041
+ "fieldName": "motion"
1042
+ },
1043
+ {
1044
+ "name": "overlay",
1045
+ "type": {
1046
+ "text": "BackgroundOverlay"
1047
+ },
1048
+ "default": "'soft'",
1049
+ "description": "Strength of the contrast gradient above the image.",
1050
+ "fieldName": "overlay"
1051
+ },
1052
+ {
1053
+ "name": "overlay-tone",
1054
+ "type": {
1055
+ "text": "BackgroundOverlayTone"
1056
+ },
1057
+ "default": "'light'",
1058
+ "description": "Whether the overlay uses a light or dark contrast treatment.",
1059
+ "fieldName": "overlayTone"
1060
+ },
1061
+ {
1062
+ "name": "floating-icons",
1063
+ "type": {
1064
+ "text": "string"
1065
+ },
1066
+ "default": "''",
1067
+ "description": "Comma-separated Zinc icon names placed as ambient decoration. At most eight are rendered.",
1068
+ "fieldName": "floatingIcons"
1069
+ },
1070
+ {
1071
+ "name": "paused",
1072
+ "type": {
1073
+ "text": "boolean"
1074
+ },
1075
+ "default": "false",
1076
+ "description": "Pauses background motion without changing the selected motion treatment.",
1077
+ "fieldName": "paused"
1078
+ }
1079
+ ],
1080
+ "superclass": {
1081
+ "name": "ZincElement",
1082
+ "module": "/src/internal/zinc-element"
1083
+ },
1084
+ "summary": "Composes a colour, decorative image, image strength, optional motion and contrast overlay behind slotted content.",
1085
+ "tagNameWithoutPrefix": "background",
1086
+ "tagName": "zn-background",
1087
+ "customElement": true,
1088
+ "jsDoc": "/**\n * @summary Composes a colour, decorative image, image strength, optional motion and contrast overlay behind slotted content.\n *\n * @documentation https://zinc.style/components/background\n * @status experimental\n * @since 1.0\n *\n * @dependency zn-icon\n *\n * @slot - Content displayed above the background layers.\n *\n * @csspart base - The component's full-size background canvas.\n * @csspart image - The decorative background image.\n * @csspart overlay - The contrast overlay between the image and content.\n * @csspart floating-icons - The non-interactive layer containing the floating icons.\n * @csspart floating-icon - Each floating `zn-icon`.\n * @csspart content - The wrapper around the default slot.\n *\n * @cssproperty --zn-background-color - Fallback colour when the `color` attribute is not set.\n * @cssproperty --zn-background-image-position - Position of the background image. Defaults to `center`.\n * @cssproperty --zn-background-overlay-angle - Direction of the overlay gradient. Defaults to `110deg`.\n * @cssproperty --zn-background-floating-icon-color - Colour of the floating icons. Defaults to `currentColor`.\n */",
1089
+ "documentation": "https://zinc.style/components/background",
1090
+ "status": "experimental",
1091
+ "since": "1.0",
1092
+ "dependencies": [
1093
+ "zn-icon"
1094
+ ]
1095
+ }
1096
+ ],
1097
+ "exports": [
1098
+ {
1099
+ "kind": "js",
1100
+ "name": "default",
1101
+ "declaration": {
1102
+ "name": "ZnBackground",
1103
+ "module": "components/background/background.js"
1104
+ }
1105
+ }
1106
+ ]
1107
+ },
845
1108
  {
846
1109
  "kind": "javascript-module",
847
1110
  "path": "components/bulk-actions/bulk-actions.js",
@@ -4194,6 +4457,44 @@
4194
4457
  "kind": "class",
4195
4458
  "description": "",
4196
4459
  "name": "ZnCheckbox",
4460
+ "cssProperties": [
4461
+ {
4462
+ "description": "Width of the built-in card image.",
4463
+ "name": "--zn-selection-card-image-width"
4464
+ },
4465
+ {
4466
+ "description": "Height of the built-in card image.",
4467
+ "name": "--zn-selection-card-image-height"
4468
+ },
4469
+ {
4470
+ "description": "Minimum height of a contained checkbox with an image.",
4471
+ "name": "--zn-selection-card-min-height"
4472
+ },
4473
+ {
4474
+ "description": "Width the card text keeps before it wraps below the image.",
4475
+ "name": "--zn-selection-card-content-min-width"
4476
+ },
4477
+ {
4478
+ "description": "Font size of a selection card title.",
4479
+ "name": "--zn-selection-card-title-font-size"
4480
+ },
4481
+ {
4482
+ "description": "Equal inset around the contents of a selection card.",
4483
+ "name": "--zn-selection-card-padding"
4484
+ },
4485
+ {
4486
+ "description": "Space between the image, title, and indicator gutter.",
4487
+ "name": "--zn-selection-card-gap"
4488
+ },
4489
+ {
4490
+ "description": "Distance between a positioned control and the card edge.",
4491
+ "name": "--zn-selection-card-control-offset"
4492
+ },
4493
+ {
4494
+ "description": "Corner radius of a contained container.",
4495
+ "name": "--zn-selection-card-border-radius"
4496
+ }
4497
+ ],
4197
4498
  "cssParts": [
4198
4499
  {
4199
4500
  "description": "The component's base wrapper.",
@@ -4223,6 +4524,18 @@
4223
4524
  "description": "The indeterminate icon, an `<zn-icon>` element.",
4224
4525
  "name": "indeterminate-icon"
4225
4526
  },
4527
+ {
4528
+ "description": "The wrapper around the built-in image or image slot.",
4529
+ "name": "image-container"
4530
+ },
4531
+ {
4532
+ "description": "The built-in image.",
4533
+ "name": "image"
4534
+ },
4535
+ {
4536
+ "description": "The title inside a selection card.",
4537
+ "name": "card-title"
4538
+ },
4226
4539
  {
4227
4540
  "description": "The container that wraps the checkbox's label.",
4228
4541
  "name": "label"
@@ -4241,6 +4554,10 @@
4241
4554
  "description": "The checkbox's label.",
4242
4555
  "name": ""
4243
4556
  },
4557
+ {
4558
+ "description": "Replaces the built-in image used by contained checkboxes.",
4559
+ "name": "image"
4560
+ },
4244
4561
  {
4245
4562
  "description": "A description of the checkbox's label. Serves as help text for a checkbox item. Alternatively, you can use the `description` attribute.",
4246
4563
  "name": "description"
@@ -4272,7 +4589,7 @@
4272
4589
  "name": "hasSlotController",
4273
4590
  "privacy": "private",
4274
4591
  "readonly": true,
4275
- "default": "new HasSlotController(this, 'description')"
4592
+ "default": "new HasSlotController(this, '[default]', 'description', 'image')"
4276
4593
  },
4277
4594
  {
4278
4595
  "kind": "field",
@@ -4318,6 +4635,16 @@
4318
4635
  "description": "The current value of the checkbox, submitted as a name/value pair with form data.",
4319
4636
  "attribute": "value"
4320
4637
  },
4638
+ {
4639
+ "kind": "field",
4640
+ "name": "cardTitle",
4641
+ "type": {
4642
+ "text": "string"
4643
+ },
4644
+ "default": "''",
4645
+ "description": "Title rendered inside the card. The default slot takes precedence when provided.",
4646
+ "attribute": "card-title"
4647
+ },
4321
4648
  {
4322
4649
  "kind": "field",
4323
4650
  "name": "uncheckedValue",
@@ -4383,6 +4710,59 @@
4383
4710
  "attribute": "contained",
4384
4711
  "reflects": true
4385
4712
  },
4713
+ {
4714
+ "kind": "field",
4715
+ "name": "square",
4716
+ "type": {
4717
+ "text": "boolean"
4718
+ },
4719
+ "default": "false",
4720
+ "description": "Squares off the corners of the container drawn by `contained`, which is rounded by default.",
4721
+ "attribute": "square",
4722
+ "reflects": true
4723
+ },
4724
+ {
4725
+ "kind": "field",
4726
+ "name": "src",
4727
+ "type": {
4728
+ "text": "string"
4729
+ },
4730
+ "default": "''",
4731
+ "description": "URL for the image shown in a contained checkbox.",
4732
+ "attribute": "src"
4733
+ },
4734
+ {
4735
+ "kind": "field",
4736
+ "name": "imageAlt",
4737
+ "type": {
4738
+ "text": "string"
4739
+ },
4740
+ "default": "''",
4741
+ "description": "Accessible text for the built-in image. Leave empty when the image is decorative.",
4742
+ "attribute": "image-alt"
4743
+ },
4744
+ {
4745
+ "kind": "field",
4746
+ "name": "imagePosition",
4747
+ "type": {
4748
+ "text": "SelectionCardImagePosition"
4749
+ },
4750
+ "default": "'left'",
4751
+ "description": "Places the image above, beside, or below the checkbox's text. Requires `contained`.",
4752
+ "attribute": "image-position",
4753
+ "reflects": true
4754
+ },
4755
+ {
4756
+ "kind": "field",
4757
+ "name": "controlPosition",
4758
+ "type": {
4759
+ "text": "SelectionCardControlPosition"
4760
+ },
4761
+ "default": "'start'",
4762
+ "description": "Places the checkbox indicator within a contained card. Use `none` to hide the indicator so the card itself\nshows the selected state. Requires `contained`.",
4763
+ "attribute": "control-position",
4764
+ "reflects": true
4765
+ },
4386
4766
  {
4387
4767
  "kind": "field",
4388
4768
  "name": "borderless",
@@ -4699,6 +5079,15 @@
4699
5079
  "description": "The current value of the checkbox, submitted as a name/value pair with form data.",
4700
5080
  "fieldName": "value"
4701
5081
  },
5082
+ {
5083
+ "name": "card-title",
5084
+ "type": {
5085
+ "text": "string"
5086
+ },
5087
+ "default": "''",
5088
+ "description": "Title rendered inside the card. The default slot takes precedence when provided.",
5089
+ "fieldName": "cardTitle"
5090
+ },
4702
5091
  {
4703
5092
  "name": "unchecked-value",
4704
5093
  "type": {
@@ -4752,6 +5141,51 @@
4752
5141
  "description": "Draws a container around the checkbox.",
4753
5142
  "fieldName": "contained"
4754
5143
  },
5144
+ {
5145
+ "name": "square",
5146
+ "type": {
5147
+ "text": "boolean"
5148
+ },
5149
+ "default": "false",
5150
+ "description": "Squares off the corners of the container drawn by `contained`, which is rounded by default.",
5151
+ "fieldName": "square"
5152
+ },
5153
+ {
5154
+ "name": "src",
5155
+ "type": {
5156
+ "text": "string"
5157
+ },
5158
+ "default": "''",
5159
+ "description": "URL for the image shown in a contained checkbox.",
5160
+ "fieldName": "src"
5161
+ },
5162
+ {
5163
+ "name": "image-alt",
5164
+ "type": {
5165
+ "text": "string"
5166
+ },
5167
+ "default": "''",
5168
+ "description": "Accessible text for the built-in image. Leave empty when the image is decorative.",
5169
+ "fieldName": "imageAlt"
5170
+ },
5171
+ {
5172
+ "name": "image-position",
5173
+ "type": {
5174
+ "text": "SelectionCardImagePosition"
5175
+ },
5176
+ "default": "'left'",
5177
+ "description": "Places the image above, beside, or below the checkbox's text. Requires `contained`.",
5178
+ "fieldName": "imagePosition"
5179
+ },
5180
+ {
5181
+ "name": "control-position",
5182
+ "type": {
5183
+ "text": "SelectionCardControlPosition"
5184
+ },
5185
+ "default": "'start'",
5186
+ "description": "Places the checkbox indicator within a contained card. Use `none` to hide the indicator so the card itself\nshows the selected state. Requires `contained`.",
5187
+ "fieldName": "controlPosition"
5188
+ },
4755
5189
  {
4756
5190
  "name": "borderless",
4757
5191
  "type": {
@@ -4872,7 +5306,7 @@
4872
5306
  "tagNameWithoutPrefix": "checkbox",
4873
5307
  "tagName": "zn-checkbox",
4874
5308
  "customElement": true,
4875
- "jsDoc": "/**\n * @summary Short summary of the component's intended use.\n * @documentation https://zinc.style/components/checkbox\n * @status experimental\n * @since 1.0\n *\n * @dependency zn-icon\n *\n * @slot - The checkbox's label.\n * @slot description - A description of the checkbox's label. Serves as help text for a checkbox item. Alternatively, you can use the `description` attribute.\n * @slot selected-content - Use to nest rich content (like an input) inside a selected checkbox item. Use only with the contained style.\n *\n * @event zn-blur - Emitted when the checkbox loses focus.\n * @event zn-change - Emitted when the checked state changes.\n * @event zn-focus - Emitted when the checkbox gains focus.\n * @event zn-input - Emitted when the checkbox receives input.\n * @event zn-invalid - Emitted when the form control has been checked for validity and its constraints aren't satisfied.\n *\n * @csspart base - The component's base wrapper.\n * @csspart control - The square container that wraps the checkbox's checked state.\n * @csspart control--checked - Matches the control part when the checkbox is checked.\n * @csspart control--indeterminate - Matches the control part when the checkbox is indeterminate.\n * @csspart checked-icon - The checked icon, an `<zn-icon>` element.\n * @csspart unchecked-icon - The unchecked icon, an `<zn-icon>` element.\n * @csspart indeterminate-icon - The indeterminate icon, an `<zn-icon>` element.\n * @csspart label - The container that wraps the checkbox's label.\n * @csspart description - The container that wraps the checkbox's description.\n * @csspart selected-content - The container that wraps optional content that appears when a checkbox is checked.\n */",
5309
+ "jsDoc": "/**\n * @summary Short summary of the component's intended use.\n * @documentation https://zinc.style/components/checkbox\n * @status experimental\n * @since 1.0\n *\n * @dependency zn-icon\n *\n * @slot - The checkbox's label.\n * @slot image - Replaces the built-in image used by contained checkboxes.\n * @slot description - A description of the checkbox's label. Serves as help text for a checkbox item. Alternatively, you can use the `description` attribute.\n * @slot selected-content - Use to nest rich content (like an input) inside a selected checkbox item. Use only with the contained style.\n *\n * @event zn-blur - Emitted when the checkbox loses focus.\n * @event zn-change - Emitted when the checked state changes.\n * @event zn-focus - Emitted when the checkbox gains focus.\n * @event zn-input - Emitted when the checkbox receives input.\n * @event zn-invalid - Emitted when the form control has been checked for validity and its constraints aren't satisfied.\n *\n * @csspart base - The component's base wrapper.\n * @csspart control - The square container that wraps the checkbox's checked state.\n * @csspart control--checked - Matches the control part when the checkbox is checked.\n * @csspart control--indeterminate - Matches the control part when the checkbox is indeterminate.\n * @csspart checked-icon - The checked icon, an `<zn-icon>` element.\n * @csspart unchecked-icon - The unchecked icon, an `<zn-icon>` element.\n * @csspart indeterminate-icon - The indeterminate icon, an `<zn-icon>` element.\n * @csspart image-container - The wrapper around the built-in image or image slot.\n * @csspart image - The built-in image.\n * @csspart card-title - The title inside a selection card.\n * @csspart label - The container that wraps the checkbox's label.\n * @csspart description - The container that wraps the checkbox's description.\n * @csspart selected-content - The container that wraps optional content that appears when a checkbox is checked.\n *\n * @cssproperty --zn-selection-card-image-width - Width of the built-in card image.\n * @cssproperty --zn-selection-card-image-height - Height of the built-in card image.\n * @cssproperty --zn-selection-card-min-height - Minimum height of a contained checkbox with an image.\n * @cssproperty --zn-selection-card-content-min-width - Width the card text keeps before it wraps below the image.\n * @cssproperty --zn-selection-card-title-font-size - Font size of a selection card title.\n * @cssproperty --zn-selection-card-padding - Equal inset around the contents of a selection card.\n * @cssproperty --zn-selection-card-gap - Space between the image, title, and indicator gutter.\n * @cssproperty --zn-selection-card-control-offset - Distance between a positioned control and the card edge.\n * @cssproperty --zn-selection-card-border-radius - Corner radius of a contained container.\n */",
4876
5310
  "documentation": "https://zinc.style/components/checkbox",
4877
5311
  "status": "experimental",
4878
5312
  "since": "1.0",
@@ -4900,6 +5334,12 @@
4900
5334
  "kind": "class",
4901
5335
  "description": "",
4902
5336
  "name": "ZnCheckboxGroup",
5337
+ "cssProperties": [
5338
+ {
5339
+ "description": "Minimum column width used by the horizontal contained grid, or the card basis when `wrap` is set.",
5340
+ "name": "--zn-checkbox-group-column-width"
5341
+ }
5342
+ ],
4903
5343
  "cssParts": [
4904
5344
  {
4905
5345
  "description": "The form control that wraps the label, input, and help text.",
@@ -5075,6 +5515,28 @@
5075
5515
  "attribute": "contained",
5076
5516
  "reflects": true
5077
5517
  },
5518
+ {
5519
+ "kind": "field",
5520
+ "name": "square",
5521
+ "type": {
5522
+ "text": "boolean"
5523
+ },
5524
+ "default": "false",
5525
+ "description": "Squares off the corners of every contained checkbox in the group, which are rounded by default.",
5526
+ "attribute": "square",
5527
+ "reflects": true
5528
+ },
5529
+ {
5530
+ "kind": "field",
5531
+ "name": "wrap",
5532
+ "type": {
5533
+ "text": "boolean"
5534
+ },
5535
+ "default": "false",
5536
+ "description": "Lays horizontal contained checkboxes out as a wrapping row instead of an equal-width grid, so each one sizes from\n`--zn-checkbox-group-column-width` (set it to `auto` to size from content) and wraps onto a new line when needed.",
5537
+ "attribute": "wrap",
5538
+ "reflects": true
5539
+ },
5078
5540
  {
5079
5541
  "kind": "field",
5080
5542
  "name": "form",
@@ -5297,6 +5759,24 @@
5297
5759
  "description": "The checkbox group's style. Changes the group's style from the default (plain) style to the 'contained' style. This style will be applied to all child checkboxes.",
5298
5760
  "fieldName": "contained"
5299
5761
  },
5762
+ {
5763
+ "name": "square",
5764
+ "type": {
5765
+ "text": "boolean"
5766
+ },
5767
+ "default": "false",
5768
+ "description": "Squares off the corners of every contained checkbox in the group, which are rounded by default.",
5769
+ "fieldName": "square"
5770
+ },
5771
+ {
5772
+ "name": "wrap",
5773
+ "type": {
5774
+ "text": "boolean"
5775
+ },
5776
+ "default": "false",
5777
+ "description": "Lays horizontal contained checkboxes out as a wrapping row instead of an equal-width grid, so each one sizes from\n`--zn-checkbox-group-column-width` (set it to `auto` to size from content) and wraps onto a new line when needed.",
5778
+ "fieldName": "wrap"
5779
+ },
5300
5780
  {
5301
5781
  "name": "form",
5302
5782
  "type": {
@@ -5324,7 +5804,7 @@
5324
5804
  "tagNameWithoutPrefix": "checkbox-group",
5325
5805
  "tagName": "zn-checkbox-group",
5326
5806
  "customElement": true,
5327
- "jsDoc": "/**\n * @summary Shotrt summary of the component's intended use.\n * @documentation https://zinc.style/components/checkbox-group\n * @status experimental\n * @since 1.0\n *\n * @slot - The default slot where `<zn-checkbox>` elements are placed.\n * @slot label - The checkbox group's label. Required for proper accessibility. Alternatively, you can use the `label` attribute.\n * @slot label-tooltip - Used to add text that is displayed in a tooltip next to the label. Alternatively, you can use the `label-tooltip` attribute.\n * @slot help-text - Text that describes how to use the checkbox group. Alternatively, you can use the `help-text` attribute.\n *\n * @event zn-change - Emitted when the checkbox group's selected value changes.\n * @event zn-input - Emitted when the checkbox group receives user input.\n * @event zn-invalid - Emitted when the form control has been checked for validity and its constraints aren't satisfied.\n *\n * @csspart form-control - The form control that wraps the label, input, and help text.\n * @csspart form-control-label - The label's wrapper.\n * @csspart form-control-input - The input's wrapper.\n * @csspart form-control-help-text - The help text's wrapper.\n */",
5807
+ "jsDoc": "/**\n * @summary Shotrt summary of the component's intended use.\n * @documentation https://zinc.style/components/checkbox-group\n * @status experimental\n * @since 1.0\n *\n * @slot - The default slot where `<zn-checkbox>` elements are placed.\n * @slot label - The checkbox group's label. Required for proper accessibility. Alternatively, you can use the `label` attribute.\n * @slot label-tooltip - Used to add text that is displayed in a tooltip next to the label. Alternatively, you can use the `label-tooltip` attribute.\n * @slot help-text - Text that describes how to use the checkbox group. Alternatively, you can use the `help-text` attribute.\n *\n * @event zn-change - Emitted when the checkbox group's selected value changes.\n * @event zn-input - Emitted when the checkbox group receives user input.\n * @event zn-invalid - Emitted when the form control has been checked for validity and its constraints aren't satisfied.\n *\n * @csspart form-control - The form control that wraps the label, input, and help text.\n * @csspart form-control-label - The label's wrapper.\n * @csspart form-control-input - The input's wrapper.\n * @csspart form-control-help-text - The help text's wrapper.\n *\n * @cssproperty --zn-checkbox-group-column-width - Minimum column width used by the horizontal contained grid, or the card basis when `wrap` is set.\n */",
5328
5808
  "documentation": "https://zinc.style/components/checkbox-group",
5329
5809
  "status": "experimental",
5330
5810
  "since": "1.0"
@@ -31825,6 +32305,44 @@
31825
32305
  "kind": "class",
31826
32306
  "description": "",
31827
32307
  "name": "ZnRadio",
32308
+ "cssProperties": [
32309
+ {
32310
+ "description": "Width of the built-in card image.",
32311
+ "name": "--zn-selection-card-image-width"
32312
+ },
32313
+ {
32314
+ "description": "Height of the built-in card image.",
32315
+ "name": "--zn-selection-card-image-height"
32316
+ },
32317
+ {
32318
+ "description": "Minimum height of a contained radio with an image.",
32319
+ "name": "--zn-selection-card-min-height"
32320
+ },
32321
+ {
32322
+ "description": "Width the card text keeps before it wraps below the image.",
32323
+ "name": "--zn-selection-card-content-min-width"
32324
+ },
32325
+ {
32326
+ "description": "Font size of a selection card title.",
32327
+ "name": "--zn-selection-card-title-font-size"
32328
+ },
32329
+ {
32330
+ "description": "Equal inset around the contents of a selection card.",
32331
+ "name": "--zn-selection-card-padding"
32332
+ },
32333
+ {
32334
+ "description": "Space between the image, title, and indicator gutter.",
32335
+ "name": "--zn-selection-card-gap"
32336
+ },
32337
+ {
32338
+ "description": "Distance between a positioned control and the card edge.",
32339
+ "name": "--zn-selection-card-control-offset"
32340
+ },
32341
+ {
32342
+ "description": "Corner radius of a contained container.",
32343
+ "name": "--zn-selection-card-border-radius"
32344
+ }
32345
+ ],
31828
32346
  "cssParts": [
31829
32347
  {
31830
32348
  "description": "The component's base wrapper.",
@@ -31842,6 +32360,18 @@
31842
32360
  "description": "The checked icon, an `<zn-icon>` element.",
31843
32361
  "name": "checked-icon"
31844
32362
  },
32363
+ {
32364
+ "description": "The wrapper around the built-in image or image slot.",
32365
+ "name": "image-container"
32366
+ },
32367
+ {
32368
+ "description": "The built-in image.",
32369
+ "name": "image"
32370
+ },
32371
+ {
32372
+ "description": "The title inside a selection card.",
32373
+ "name": "card-title"
32374
+ },
31845
32375
  {
31846
32376
  "description": "The container that wraps the radio's label.",
31847
32377
  "name": "label"
@@ -31860,6 +32390,10 @@
31860
32390
  "description": "The radio's label.",
31861
32391
  "name": ""
31862
32392
  },
32393
+ {
32394
+ "description": "Replaces the built-in image used by contained radios.",
32395
+ "name": "image"
32396
+ },
31863
32397
  {
31864
32398
  "description": "A description of the radio's label. Serves as help text for a radio item. Alternatively, you can use the `description` attribute.",
31865
32399
  "name": "description"
@@ -31891,7 +32425,7 @@
31891
32425
  "name": "hasSlotController",
31892
32426
  "privacy": "private",
31893
32427
  "readonly": true,
31894
- "default": "new HasSlotController(this, 'description')"
32428
+ "default": "new HasSlotController(this, '[default]', 'description', 'image')"
31895
32429
  },
31896
32430
  {
31897
32431
  "kind": "field",
@@ -31937,6 +32471,16 @@
31937
32471
  "description": "The current value of the radio, submitted as a name/value pair with form data.",
31938
32472
  "attribute": "value"
31939
32473
  },
32474
+ {
32475
+ "kind": "field",
32476
+ "name": "cardTitle",
32477
+ "type": {
32478
+ "text": "string"
32479
+ },
32480
+ "default": "''",
32481
+ "description": "Title rendered inside the card. The default slot takes precedence when provided.",
32482
+ "attribute": "card-title"
32483
+ },
31940
32484
  {
31941
32485
  "kind": "field",
31942
32486
  "name": "size",
@@ -31981,6 +32525,59 @@
31981
32525
  "attribute": "contained",
31982
32526
  "reflects": true
31983
32527
  },
32528
+ {
32529
+ "kind": "field",
32530
+ "name": "square",
32531
+ "type": {
32532
+ "text": "boolean"
32533
+ },
32534
+ "default": "false",
32535
+ "description": "Squares off the corners of the container drawn by `contained`, which is rounded by default.",
32536
+ "attribute": "square",
32537
+ "reflects": true
32538
+ },
32539
+ {
32540
+ "kind": "field",
32541
+ "name": "src",
32542
+ "type": {
32543
+ "text": "string"
32544
+ },
32545
+ "default": "''",
32546
+ "description": "URL for the image shown in a contained radio.",
32547
+ "attribute": "src"
32548
+ },
32549
+ {
32550
+ "kind": "field",
32551
+ "name": "imageAlt",
32552
+ "type": {
32553
+ "text": "string"
32554
+ },
32555
+ "default": "''",
32556
+ "description": "Accessible text for the built-in image. Leave empty when the image is decorative.",
32557
+ "attribute": "image-alt"
32558
+ },
32559
+ {
32560
+ "kind": "field",
32561
+ "name": "imagePosition",
32562
+ "type": {
32563
+ "text": "SelectionCardImagePosition"
32564
+ },
32565
+ "default": "'left'",
32566
+ "description": "Places the image above, beside, or below the radio's text. Requires `contained`.",
32567
+ "attribute": "image-position",
32568
+ "reflects": true
32569
+ },
32570
+ {
32571
+ "kind": "field",
32572
+ "name": "controlPosition",
32573
+ "type": {
32574
+ "text": "SelectionCardControlPosition"
32575
+ },
32576
+ "default": "'start'",
32577
+ "description": "Places the radio indicator within a contained card. Use `none` to hide the indicator so the card itself\nshows the selected state. Requires `contained`.",
32578
+ "attribute": "control-position",
32579
+ "reflects": true
32580
+ },
31984
32581
  {
31985
32582
  "kind": "field",
31986
32583
  "name": "horizontal",
@@ -32221,6 +32818,15 @@
32221
32818
  "description": "The current value of the radio, submitted as a name/value pair with form data.",
32222
32819
  "fieldName": "value"
32223
32820
  },
32821
+ {
32822
+ "name": "card-title",
32823
+ "type": {
32824
+ "text": "string"
32825
+ },
32826
+ "default": "''",
32827
+ "description": "Title rendered inside the card. The default slot takes precedence when provided.",
32828
+ "fieldName": "cardTitle"
32829
+ },
32224
32830
  {
32225
32831
  "name": "size",
32226
32832
  "type": {
@@ -32257,6 +32863,51 @@
32257
32863
  "description": "Draws a container around the radio.",
32258
32864
  "fieldName": "contained"
32259
32865
  },
32866
+ {
32867
+ "name": "square",
32868
+ "type": {
32869
+ "text": "boolean"
32870
+ },
32871
+ "default": "false",
32872
+ "description": "Squares off the corners of the container drawn by `contained`, which is rounded by default.",
32873
+ "fieldName": "square"
32874
+ },
32875
+ {
32876
+ "name": "src",
32877
+ "type": {
32878
+ "text": "string"
32879
+ },
32880
+ "default": "''",
32881
+ "description": "URL for the image shown in a contained radio.",
32882
+ "fieldName": "src"
32883
+ },
32884
+ {
32885
+ "name": "image-alt",
32886
+ "type": {
32887
+ "text": "string"
32888
+ },
32889
+ "default": "''",
32890
+ "description": "Accessible text for the built-in image. Leave empty when the image is decorative.",
32891
+ "fieldName": "imageAlt"
32892
+ },
32893
+ {
32894
+ "name": "image-position",
32895
+ "type": {
32896
+ "text": "SelectionCardImagePosition"
32897
+ },
32898
+ "default": "'left'",
32899
+ "description": "Places the image above, beside, or below the radio's text. Requires `contained`.",
32900
+ "fieldName": "imagePosition"
32901
+ },
32902
+ {
32903
+ "name": "control-position",
32904
+ "type": {
32905
+ "text": "SelectionCardControlPosition"
32906
+ },
32907
+ "default": "'start'",
32908
+ "description": "Places the radio indicator within a contained card. Use `none` to hide the indicator so the card itself\nshows the selected state. Requires `contained`.",
32909
+ "fieldName": "controlPosition"
32910
+ },
32260
32911
  {
32261
32912
  "name": "horizontal",
32262
32913
  "type": {
@@ -32316,7 +32967,7 @@
32316
32967
  "tagNameWithoutPrefix": "radio",
32317
32968
  "tagName": "zn-radio",
32318
32969
  "customElement": true,
32319
- "jsDoc": "/**\n * @summary Short summary of the component's intended use.\n * @documentation https://zinc.style/components/radio\n * @status experimental\n * @since 1.0\n *\n * @dependency zn-icon\n *\n * @slot - The radio's label.\n * @slot description - A description of the radio's label. Serves as help text for a radio item. Alternatively, you can use the `description` attribute.\n * @slot selected-content - Use to nest rich content (like an input) inside a selected radio item. Use only with the contained style.\n *\n * @event zn-blur - Emitted when the radio loses focus.\n * @event zn-change - Emitted when the checked state changes.\n * @event zn-focus - Emitted when the radio gains focus.\n * @event zn-input - Emitted when the radio receives input.\n * @event zn-invalid - Emitted when the form control has been checked for validity and its constraints aren't satisfied.\n *\n * @csspart base - The component's base wrapper.\n * @csspart control - The square container that wraps the radio's checked state.\n * @csspart control--checked - Matches the control part when the radio is checked.\n * @csspart checked-icon - The checked icon, an `<zn-icon>` element.\n * @csspart label - The container that wraps the radio's label.\n * @csspart description - The container that wraps the radio's description.\n * @csspart selected-content - The container that wraps optional content that appears when a radio is checked.\n */",
32970
+ "jsDoc": "/**\n * @summary Short summary of the component's intended use.\n * @documentation https://zinc.style/components/radio\n * @status experimental\n * @since 1.0\n *\n * @dependency zn-icon\n *\n * @slot - The radio's label.\n * @slot image - Replaces the built-in image used by contained radios.\n * @slot description - A description of the radio's label. Serves as help text for a radio item. Alternatively, you can use the `description` attribute.\n * @slot selected-content - Use to nest rich content (like an input) inside a selected radio item. Use only with the contained style.\n *\n * @event zn-blur - Emitted when the radio loses focus.\n * @event zn-change - Emitted when the checked state changes.\n * @event zn-focus - Emitted when the radio gains focus.\n * @event zn-input - Emitted when the radio receives input.\n * @event zn-invalid - Emitted when the form control has been checked for validity and its constraints aren't satisfied.\n *\n * @csspart base - The component's base wrapper.\n * @csspart control - The square container that wraps the radio's checked state.\n * @csspart control--checked - Matches the control part when the radio is checked.\n * @csspart checked-icon - The checked icon, an `<zn-icon>` element.\n * @csspart image-container - The wrapper around the built-in image or image slot.\n * @csspart image - The built-in image.\n * @csspart card-title - The title inside a selection card.\n * @csspart label - The container that wraps the radio's label.\n * @csspart description - The container that wraps the radio's description.\n * @csspart selected-content - The container that wraps optional content that appears when a radio is checked.\n *\n * @cssproperty --zn-selection-card-image-width - Width of the built-in card image.\n * @cssproperty --zn-selection-card-image-height - Height of the built-in card image.\n * @cssproperty --zn-selection-card-min-height - Minimum height of a contained radio with an image.\n * @cssproperty --zn-selection-card-content-min-width - Width the card text keeps before it wraps below the image.\n * @cssproperty --zn-selection-card-title-font-size - Font size of a selection card title.\n * @cssproperty --zn-selection-card-padding - Equal inset around the contents of a selection card.\n * @cssproperty --zn-selection-card-gap - Space between the image, title, and indicator gutter.\n * @cssproperty --zn-selection-card-control-offset - Distance between a positioned control and the card edge.\n * @cssproperty --zn-selection-card-border-radius - Corner radius of a contained container.\n */",
32320
32971
  "documentation": "https://zinc.style/components/radio",
32321
32972
  "status": "experimental",
32322
32973
  "since": "1.0",
@@ -32346,8 +32997,8 @@
32346
32997
  "name": "ZnRadioGroup",
32347
32998
  "cssProperties": [
32348
32999
  {
32349
- "description": "An example CSS custom property.",
32350
- "name": "--example"
33000
+ "description": "Minimum column width used by the horizontal contained grid, or the card basis when `wrap` is set.",
33001
+ "name": "--zn-radio-group-column-width"
32351
33002
  }
32352
33003
  ],
32353
33004
  "cssParts": [
@@ -32498,7 +33149,7 @@
32498
33149
  "text": "boolean"
32499
33150
  },
32500
33151
  "default": "false",
32501
- "description": "The checkbox group's orientation. Changes the group's layout from the default (vertical) to horizontal.",
33152
+ "description": "The radio group's orientation. Changes the group's layout from the default (vertical) to horizontal.",
32502
33153
  "attribute": "horizontal",
32503
33154
  "reflects": true
32504
33155
  },
@@ -32509,10 +33160,32 @@
32509
33160
  "text": "boolean"
32510
33161
  },
32511
33162
  "default": "false",
32512
- "description": "The checkbox group's style. Changes the group's style from the default (plain) style to the 'contained' style. This style will be applied to all child checkboxes.",
33163
+ "description": "The radio group's style. Changes the group's style from the default (plain) style to the 'contained' style. This style will be applied to all child radios.",
32513
33164
  "attribute": "contained",
32514
33165
  "reflects": true
32515
33166
  },
33167
+ {
33168
+ "kind": "field",
33169
+ "name": "square",
33170
+ "type": {
33171
+ "text": "boolean"
33172
+ },
33173
+ "default": "false",
33174
+ "description": "Squares off the corners of every contained radio in the group, which are rounded by default.",
33175
+ "attribute": "square",
33176
+ "reflects": true
33177
+ },
33178
+ {
33179
+ "kind": "field",
33180
+ "name": "wrap",
33181
+ "type": {
33182
+ "text": "boolean"
33183
+ },
33184
+ "default": "false",
33185
+ "description": "Lays horizontal contained radios out as a wrapping row instead of an equal-width grid, so each one sizes from\n`--zn-radio-group-column-width` (set it to `auto` to size from content) and wraps onto a new line when needed.",
33186
+ "attribute": "wrap",
33187
+ "reflects": true
33188
+ },
32516
33189
  {
32517
33190
  "kind": "field",
32518
33191
  "name": "form",
@@ -32736,7 +33409,7 @@
32736
33409
  "text": "boolean"
32737
33410
  },
32738
33411
  "default": "false",
32739
- "description": "The checkbox group's orientation. Changes the group's layout from the default (vertical) to horizontal.",
33412
+ "description": "The radio group's orientation. Changes the group's layout from the default (vertical) to horizontal.",
32740
33413
  "fieldName": "horizontal"
32741
33414
  },
32742
33415
  {
@@ -32745,9 +33418,27 @@
32745
33418
  "text": "boolean"
32746
33419
  },
32747
33420
  "default": "false",
32748
- "description": "The checkbox group's style. Changes the group's style from the default (plain) style to the 'contained' style. This style will be applied to all child checkboxes.",
33421
+ "description": "The radio group's style. Changes the group's style from the default (plain) style to the 'contained' style. This style will be applied to all child radios.",
32749
33422
  "fieldName": "contained"
32750
33423
  },
33424
+ {
33425
+ "name": "square",
33426
+ "type": {
33427
+ "text": "boolean"
33428
+ },
33429
+ "default": "false",
33430
+ "description": "Squares off the corners of every contained radio in the group, which are rounded by default.",
33431
+ "fieldName": "square"
33432
+ },
33433
+ {
33434
+ "name": "wrap",
33435
+ "type": {
33436
+ "text": "boolean"
33437
+ },
33438
+ "default": "false",
33439
+ "description": "Lays horizontal contained radios out as a wrapping row instead of an equal-width grid, so each one sizes from\n`--zn-radio-group-column-width` (set it to `auto` to size from content) and wraps onto a new line when needed.",
33440
+ "fieldName": "wrap"
33441
+ },
32751
33442
  {
32752
33443
  "name": "form",
32753
33444
  "type": {
@@ -32775,7 +33466,7 @@
32775
33466
  "tagNameWithoutPrefix": "radio-group",
32776
33467
  "tagName": "zn-radio-group",
32777
33468
  "customElement": true,
32778
- "jsDoc": "/**\n * @summary Short summary of the component's intended use.\n * @documentation https://zinc.style/components/radio-group\n * @status experimental\n * @since 1.0\n *\n * @dependency zn-example\n *\n * @event zn-event-name - Emitted as an example.\n *\n * @slot - The default slot.\n * @slot example - An example slot.\n *\n * @csspart base - The component's base wrapper.\n *\n * @cssproperty --example - An example CSS custom property.\n */",
33469
+ "jsDoc": "/**\n * @summary Short summary of the component's intended use.\n * @documentation https://zinc.style/components/radio-group\n * @status experimental\n * @since 1.0\n *\n * @dependency zn-example\n *\n * @event zn-event-name - Emitted as an example.\n *\n * @slot - The default slot.\n * @slot example - An example slot.\n *\n * @csspart base - The component's base wrapper.\n *\n * @cssproperty --zn-radio-group-column-width - Minimum column width used by the horizontal contained grid, or the card basis when `wrap` is set.\n */",
32779
33470
  "documentation": "https://zinc.style/components/radio-group",
32780
33471
  "status": "experimental",
32781
33472
  "since": "1.0",
@@ -33360,6 +34051,12 @@
33360
34051
  "kind": "class",
33361
34052
  "description": "",
33362
34053
  "name": "ZnRemarkdEditor",
34054
+ "cssProperties": [
34055
+ {
34056
+ "description": "The tallest the editor grows before its body scrolls. Defaults to `100dvh`.",
34057
+ "name": "--remarkd-editor-max-height"
34058
+ }
34059
+ ],
33363
34060
  "cssParts": [
33364
34061
  {
33365
34062
  "description": "The component's base wrapper.",
@@ -33655,6 +34352,24 @@
33655
34352
  "privacy": "private",
33656
34353
  "default": "null"
33657
34354
  },
34355
+ {
34356
+ "kind": "field",
34357
+ "name": "dragPointerY",
34358
+ "type": {
34359
+ "text": "number"
34360
+ },
34361
+ "privacy": "private",
34362
+ "default": "0"
34363
+ },
34364
+ {
34365
+ "kind": "field",
34366
+ "name": "autoScrollFrame",
34367
+ "type": {
34368
+ "text": "number | null"
34369
+ },
34370
+ "privacy": "private",
34371
+ "default": "null"
34372
+ },
33658
34373
  {
33659
34374
  "kind": "field",
33660
34375
  "name": "name",
@@ -34021,6 +34736,13 @@
34021
34736
  "type": {
34022
34737
  "text": "string"
34023
34738
  }
34739
+ },
34740
+ {
34741
+ "name": "align",
34742
+ "default": "'nearest'",
34743
+ "type": {
34744
+ "text": "'nearest' | 'center'"
34745
+ }
34024
34746
  }
34025
34747
  ]
34026
34748
  },
@@ -34084,7 +34806,71 @@
34084
34806
  {
34085
34807
  "kind": "method",
34086
34808
  "name": "focusInput",
34087
- "privacy": "private"
34809
+ "privacy": "private",
34810
+ "parameters": [
34811
+ {
34812
+ "name": "align",
34813
+ "default": "'nearest'",
34814
+ "type": {
34815
+ "text": "'nearest' | 'center'"
34816
+ }
34817
+ }
34818
+ ]
34819
+ },
34820
+ {
34821
+ "kind": "method",
34822
+ "name": "reveal",
34823
+ "privacy": "private",
34824
+ "parameters": [
34825
+ {
34826
+ "name": "el",
34827
+ "type": {
34828
+ "text": "Element | null | undefined"
34829
+ }
34830
+ },
34831
+ {
34832
+ "name": "align",
34833
+ "default": "'nearest'",
34834
+ "type": {
34835
+ "text": "'nearest' | 'center'"
34836
+ }
34837
+ }
34838
+ ],
34839
+ "description": "Scrolls the editor's own body to bring `el` into view. Never `scrollIntoView()` and\nnever `focus()` without preventScroll: both walk every scrollable ancestor, and an\n`overflow: hidden`/`auto` panel around the editor is scrollable too — that shifts a\ncontainer the user never asked to move."
34840
+ },
34841
+ {
34842
+ "kind": "method",
34843
+ "name": "revealAfterUpdate",
34844
+ "privacy": "private",
34845
+ "parameters": [
34846
+ {
34847
+ "name": "selector",
34848
+ "type": {
34849
+ "text": "string"
34850
+ }
34851
+ },
34852
+ {
34853
+ "name": "align",
34854
+ "default": "'nearest'",
34855
+ "type": {
34856
+ "text": "'nearest' | 'center'"
34857
+ }
34858
+ }
34859
+ ]
34860
+ },
34861
+ {
34862
+ "kind": "method",
34863
+ "name": "revealBlock",
34864
+ "privacy": "private",
34865
+ "parameters": [
34866
+ {
34867
+ "name": "index",
34868
+ "type": {
34869
+ "text": "number"
34870
+ }
34871
+ }
34872
+ ],
34873
+ "description": "Centres a block added without opening an editor. An image has no height until it\nloads, so the first pass scrolls against a layout that is still short — the second\npass corrects it once the real dimensions are in."
34088
34874
  },
34089
34875
  {
34090
34876
  "kind": "method",
@@ -34242,6 +35028,48 @@
34242
35028
  "name": "handleDragPointerMove",
34243
35029
  "privacy": "private"
34244
35030
  },
35031
+ {
35032
+ "kind": "field",
35033
+ "name": "stepAutoScroll",
35034
+ "privacy": "private",
35035
+ "description": "Holding the pointer near a scroll edge keeps the content moving, so a block can\nbe dragged past the visible slice of a long document. Runs per frame rather than\nper pointermove — a pointer parked at the edge stops emitting moves."
35036
+ },
35037
+ {
35038
+ "kind": "method",
35039
+ "name": "autoScroll",
35040
+ "privacy": "private",
35041
+ "return": {
35042
+ "type": {
35043
+ "text": "boolean"
35044
+ }
35045
+ },
35046
+ "description": "Scrolls the editor body, falling through to the page once the body is at its limit."
35047
+ },
35048
+ {
35049
+ "kind": "method",
35050
+ "name": "edgeScrollDelta",
35051
+ "privacy": "private",
35052
+ "return": {
35053
+ "type": {
35054
+ "text": "number"
35055
+ }
35056
+ },
35057
+ "parameters": [
35058
+ {
35059
+ "name": "top",
35060
+ "type": {
35061
+ "text": "number"
35062
+ }
35063
+ },
35064
+ {
35065
+ "name": "bottom",
35066
+ "type": {
35067
+ "text": "number"
35068
+ }
35069
+ }
35070
+ ],
35071
+ "description": "Scroll step for this frame: nothing until the pointer is within `edge` of a boundary."
35072
+ },
34245
35073
  {
34246
35074
  "kind": "field",
34247
35075
  "name": "handleDragPointerUp",
@@ -34632,7 +35460,7 @@
34632
35460
  "tagNameWithoutPrefix": "remarkd-editor",
34633
35461
  "tagName": "zn-remarkd-editor",
34634
35462
  "customElement": true,
34635
- "jsDoc": "/**\n * @summary A Notion-style block editor for remarkd content. Blocks render inline; click one to edit its source.\n * @documentation https://zinc.style/components/remarkd-editor\n * @status experimental\n * @since 1.0\n *\n * @dependency zn-button\n * @dependency zn-button-group\n * @dependency zn-icon\n * @dependency zn-file\n * @dependency zn-slash-menu\n *\n * @event zn-input - Emitted on each keystroke while editing a block.\n * @event zn-change - Emitted when a block edit is committed and the value changes.\n *\n * @csspart base - The component's base wrapper.\n * @csspart toolbar - The always-visible block-insert toolbar.\n * @csspart raw-toggle - The button that switches between the block view and the raw source view.\n * @csspart block - A rendered block wrapper.\n * @csspart rendered - The rendered remarkd output of a block.\n * @csspart input - The textarea shown while editing a block.\n * @csspart raw - The full-document textarea shown in raw source mode.\n * @csspart slash-menu - The `zn-slash-menu` opened by typing \"/\" in an empty block.\n * @csspart image-controls - The caption / alignment / size panel shown when an image block is clicked.\n * @csspart include - The chip rendered in place of an `include::` directive.\n * @csspart include-picker - The inline Include picker opened from the toolbar or \"/include\".\n */",
35463
+ "jsDoc": "/**\n * @summary A Notion-style block editor for remarkd content. Blocks render inline; click one to edit its source.\n * @documentation https://zinc.style/components/remarkd-editor\n * @status experimental\n * @since 1.0\n *\n * @dependency zn-button\n * @dependency zn-button-group\n * @dependency zn-icon\n * @dependency zn-file\n * @dependency zn-slash-menu\n *\n * @event zn-input - Emitted on each keystroke while editing a block.\n * @event zn-change - Emitted when a block edit is committed and the value changes.\n *\n * @csspart base - The component's base wrapper.\n * @csspart toolbar - The always-visible block-insert toolbar.\n * @csspart raw-toggle - The button that switches between the block view and the raw source view.\n * @csspart block - A rendered block wrapper.\n * @csspart rendered - The rendered remarkd output of a block.\n * @csspart input - The textarea shown while editing a block.\n * @csspart raw - The full-document textarea shown in raw source mode.\n * @csspart slash-menu - The `zn-slash-menu` opened by typing \"/\" in an empty block.\n * @csspart image-controls - The caption / alignment / size panel shown when an image block is clicked.\n * @csspart include - The chip rendered in place of an `include::` directive.\n * @csspart include-picker - The inline Include picker opened from the toolbar or \"/include\".\n *\n * @cssproperty --remarkd-editor-max-height - The tallest the editor grows before its body scrolls. Defaults to `100dvh`.\n */",
34636
35464
  "documentation": "https://zinc.style/components/remarkd-editor",
34637
35465
  "status": "experimental",
34638
35466
  "since": "1.0",
@@ -36449,8 +37277,8 @@
36449
37277
  "name": "ZnScrollContainer",
36450
37278
  "cssProperties": [
36451
37279
  {
36452
- "description": "An example CSS custom property.",
36453
- "name": "--example"
37280
+ "description": "The height and maximum height of the scroll container.",
37281
+ "name": "--zn-scroll-container-height"
36454
37282
  }
36455
37283
  ],
36456
37284
  "cssParts": [
@@ -36470,6 +37298,16 @@
36470
37298
  }
36471
37299
  ],
36472
37300
  "members": [
37301
+ {
37302
+ "kind": "field",
37303
+ "name": "height",
37304
+ "type": {
37305
+ "text": "string"
37306
+ },
37307
+ "default": "''",
37308
+ "description": "The height and maximum height of the scroll container.",
37309
+ "attribute": "height"
37310
+ },
36473
37311
  {
36474
37312
  "kind": "field",
36475
37313
  "name": "startScrolled",
@@ -36545,6 +37383,15 @@
36545
37383
  }
36546
37384
  ],
36547
37385
  "attributes": [
37386
+ {
37387
+ "name": "height",
37388
+ "type": {
37389
+ "text": "string"
37390
+ },
37391
+ "default": "''",
37392
+ "description": "The height and maximum height of the scroll container.",
37393
+ "fieldName": "height"
37394
+ },
36548
37395
  {
36549
37396
  "name": "start-scrolled",
36550
37397
  "type": {
@@ -36562,7 +37409,7 @@
36562
37409
  "tagNameWithoutPrefix": "scroll-container",
36563
37410
  "tagName": "zn-scroll-container",
36564
37411
  "customElement": true,
36565
- "jsDoc": "/**\n * @summary Short summary of the component's intended use.\n * @documentation https://zinc.style/components/scroll-container\n * @status experimental\n * @since 1.0\n *\n * @dependency zn-example\n *\n * @event zn-event-name - Emitted as an example.\n *\n * @slot - The default slot.\n * @slot example - An example slot.\n *\n * @csspart base - The component's base wrapper.\n *\n * @cssproperty --example - An example CSS custom property.\n */",
37412
+ "jsDoc": "/**\n * @summary Short summary of the component's intended use.\n * @documentation https://zinc.style/components/scroll-container\n * @status experimental\n * @since 1.0\n *\n * @dependency zn-example\n *\n * @event zn-event-name - Emitted as an example.\n *\n * @slot - The default slot.\n * @slot example - An example slot.\n *\n * @csspart base - The component's base wrapper.\n *\n * @cssproperty --zn-scroll-container-height - The height and maximum height of the scroll container.\n */",
36566
37413
  "documentation": "https://zinc.style/components/scroll-container",
36567
37414
  "status": "experimental",
36568
37415
  "since": "1.0",
@@ -49018,6 +49865,17 @@
49018
49865
  },
49019
49866
  "description": "Returns all language codes that have values."
49020
49867
  },
49868
+ {
49869
+ "kind": "method",
49870
+ "name": "pendingValues",
49871
+ "privacy": "private",
49872
+ "return": {
49873
+ "type": {
49874
+ "text": "Record<string, string>"
49875
+ }
49876
+ },
49877
+ "description": "`values`, falling back to the `value` attribute it is built from while that is still pending. A parent\nzn-translation-group syncs its children from its own first update, which runs before theirs, so reading\n`values` alone would see it empty and overwrite the value the server rendered."
49878
+ },
49021
49879
  {
49022
49880
  "kind": "method",
49023
49881
  "name": "_scheduleLangOverflow",
@@ -49551,7 +50409,7 @@
49551
50409
  "package": {
49552
50410
  "name": "@kubex/zinc",
49553
50411
  "description": "A collection of web components for building web applications based off of @shoelace-style/Shoelace",
49554
- "version": "1.1.98",
50412
+ "version": "1.1.100",
49555
50413
  "author": "",
49556
50414
  "license": "MIT"
49557
50415
  }