@umbraco-ui/uui 1.6.0-rc.0 → 1.6.0-rc.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/custom-elements.json +361 -14
- package/dist/uui.min.js +81 -70
- package/dist/uui.min.js.map +1 -1
- package/lib/index.d.ts +1 -0
- package/lib/index.js +1 -0
- package/package.json +83 -83
- package/vscode-html-custom-data.json +88 -8
package/custom-elements.json
CHANGED
|
@@ -185,17 +185,17 @@
|
|
|
185
185
|
{
|
|
186
186
|
"name": "uui-box",
|
|
187
187
|
"path": "./../uui-box/lib/uui-box.element.ts",
|
|
188
|
-
"description": "A box for grouping elements",
|
|
188
|
+
"description": "A layout box for grouping elements, as well its possible to append a header, with a headline or other elements to the box.",
|
|
189
189
|
"attributes": [
|
|
190
190
|
{
|
|
191
191
|
"name": "headline",
|
|
192
|
-
"description": "Headline for this box, can also be set via the
|
|
192
|
+
"description": "Headline for this box, can also be set via the `headline` slot.",
|
|
193
193
|
"type": "string | null",
|
|
194
194
|
"default": "\"null\""
|
|
195
195
|
},
|
|
196
196
|
{
|
|
197
197
|
"name": "headline-variant",
|
|
198
|
-
"description": "Changes the headline variant for accessibility for this box.\nNotice this does not change the visual representation of the headline. (Umbraco
|
|
198
|
+
"description": "Changes the headline variant for accessibility for this box.\nNotice this does not change the visual representation of the headline. (Umbraco recommends displaying a h5 size headline in the UUI-BOX)",
|
|
199
199
|
"type": "\"h1\" | \"h2\" | \"h3\" | \"h4\" | \"h5\" | \"h6\"",
|
|
200
200
|
"default": "\"\\\"h5\\\"\""
|
|
201
201
|
}
|
|
@@ -204,14 +204,14 @@
|
|
|
204
204
|
{
|
|
205
205
|
"name": "headline",
|
|
206
206
|
"attribute": "headline",
|
|
207
|
-
"description": "Headline for this box, can also be set via the
|
|
207
|
+
"description": "Headline for this box, can also be set via the `headline` slot.",
|
|
208
208
|
"type": "string | null",
|
|
209
209
|
"default": "\"null\""
|
|
210
210
|
},
|
|
211
211
|
{
|
|
212
212
|
"name": "headlineVariant",
|
|
213
213
|
"attribute": "headline-variant",
|
|
214
|
-
"description": "Changes the headline variant for accessibility for this box.\nNotice this does not change the visual representation of the headline. (Umbraco
|
|
214
|
+
"description": "Changes the headline variant for accessibility for this box.\nNotice this does not change the visual representation of the headline. (Umbraco recommends displaying a h5 size headline in the UUI-BOX)",
|
|
215
215
|
"type": "\"h1\" | \"h2\" | \"h3\" | \"h4\" | \"h5\" | \"h6\"",
|
|
216
216
|
"default": "\"\\\"h5\\\"\""
|
|
217
217
|
},
|
|
@@ -228,7 +228,11 @@
|
|
|
228
228
|
},
|
|
229
229
|
{
|
|
230
230
|
"name": "header",
|
|
231
|
-
"description": "header area, use this for things that
|
|
231
|
+
"description": "header area, use this for things that are not the headline but are located in the header."
|
|
232
|
+
},
|
|
233
|
+
{
|
|
234
|
+
"name": "header-actions",
|
|
235
|
+
"description": "right-side of the box header, use this to append some actions that are general for the topic of this box."
|
|
232
236
|
},
|
|
233
237
|
{
|
|
234
238
|
"name": "",
|
|
@@ -700,6 +704,161 @@
|
|
|
700
704
|
}
|
|
701
705
|
]
|
|
702
706
|
},
|
|
707
|
+
{
|
|
708
|
+
"name": "uui-card-block-type",
|
|
709
|
+
"path": "./../uui-card-block-type/lib/uui-card-block-type.element.ts",
|
|
710
|
+
"attributes": [
|
|
711
|
+
{
|
|
712
|
+
"name": "name",
|
|
713
|
+
"description": "Block type name",
|
|
714
|
+
"type": "string",
|
|
715
|
+
"default": "\"''\""
|
|
716
|
+
},
|
|
717
|
+
{
|
|
718
|
+
"name": "description",
|
|
719
|
+
"description": "Block type description",
|
|
720
|
+
"type": "string",
|
|
721
|
+
"default": "\"undefined\""
|
|
722
|
+
},
|
|
723
|
+
{
|
|
724
|
+
"name": "background",
|
|
725
|
+
"type": "string | undefined"
|
|
726
|
+
},
|
|
727
|
+
{
|
|
728
|
+
"name": "disabled",
|
|
729
|
+
"description": "Set to true to prevent opening of this item.\nThis does not prevent selection, selection is controlled by property 'selectable'",
|
|
730
|
+
"type": "boolean",
|
|
731
|
+
"default": "\"false\""
|
|
732
|
+
},
|
|
733
|
+
{
|
|
734
|
+
"name": "error",
|
|
735
|
+
"description": "Set to true to highlight there is an error with this item.",
|
|
736
|
+
"type": "boolean",
|
|
737
|
+
"default": "\"false\""
|
|
738
|
+
},
|
|
739
|
+
{
|
|
740
|
+
"name": "href",
|
|
741
|
+
"description": "Set an href, this will turns the name of the card into an anchor tag.",
|
|
742
|
+
"type": "string",
|
|
743
|
+
"default": "\"undefined\""
|
|
744
|
+
},
|
|
745
|
+
{
|
|
746
|
+
"name": "target",
|
|
747
|
+
"description": "Set an anchor tag target, only used when using href.",
|
|
748
|
+
"type": "string",
|
|
749
|
+
"default": "\"undefined\""
|
|
750
|
+
},
|
|
751
|
+
{
|
|
752
|
+
"name": "select-only",
|
|
753
|
+
"description": "Enforce selection interaction and prevent all other interactions, set this when the UI is turned into Selection-Mode.",
|
|
754
|
+
"type": "boolean"
|
|
755
|
+
},
|
|
756
|
+
{
|
|
757
|
+
"name": "selectable",
|
|
758
|
+
"description": "Enable the ability to select this element.",
|
|
759
|
+
"type": "boolean"
|
|
760
|
+
},
|
|
761
|
+
{
|
|
762
|
+
"name": "selected",
|
|
763
|
+
"description": "Attribute applied when the element is selected.",
|
|
764
|
+
"type": "boolean",
|
|
765
|
+
"default": "false"
|
|
766
|
+
}
|
|
767
|
+
],
|
|
768
|
+
"properties": [
|
|
769
|
+
{
|
|
770
|
+
"name": "name",
|
|
771
|
+
"attribute": "name",
|
|
772
|
+
"description": "Block type name",
|
|
773
|
+
"type": "string",
|
|
774
|
+
"default": "\"''\""
|
|
775
|
+
},
|
|
776
|
+
{
|
|
777
|
+
"name": "description",
|
|
778
|
+
"attribute": "description",
|
|
779
|
+
"description": "Block type description",
|
|
780
|
+
"type": "string",
|
|
781
|
+
"default": "\"undefined\""
|
|
782
|
+
},
|
|
783
|
+
{
|
|
784
|
+
"name": "background",
|
|
785
|
+
"attribute": "background",
|
|
786
|
+
"type": "string | undefined"
|
|
787
|
+
},
|
|
788
|
+
{
|
|
789
|
+
"name": "disabled",
|
|
790
|
+
"attribute": "disabled",
|
|
791
|
+
"description": "Set to true to prevent opening of this item.\nThis does not prevent selection, selection is controlled by property 'selectable'",
|
|
792
|
+
"type": "boolean",
|
|
793
|
+
"default": "\"false\""
|
|
794
|
+
},
|
|
795
|
+
{
|
|
796
|
+
"name": "error",
|
|
797
|
+
"attribute": "error",
|
|
798
|
+
"description": "Set to true to highlight there is an error with this item.",
|
|
799
|
+
"type": "boolean",
|
|
800
|
+
"default": "\"false\""
|
|
801
|
+
},
|
|
802
|
+
{
|
|
803
|
+
"name": "href",
|
|
804
|
+
"attribute": "href",
|
|
805
|
+
"description": "Set an href, this will turns the name of the card into an anchor tag.",
|
|
806
|
+
"type": "string",
|
|
807
|
+
"default": "\"undefined\""
|
|
808
|
+
},
|
|
809
|
+
{
|
|
810
|
+
"name": "target",
|
|
811
|
+
"attribute": "target",
|
|
812
|
+
"description": "Set an anchor tag target, only used when using href.",
|
|
813
|
+
"type": "string",
|
|
814
|
+
"default": "\"undefined\""
|
|
815
|
+
},
|
|
816
|
+
{
|
|
817
|
+
"name": "styles",
|
|
818
|
+
"type": "CSSResult[]",
|
|
819
|
+
"default": "[null,null]"
|
|
820
|
+
},
|
|
821
|
+
{
|
|
822
|
+
"name": "selectOnly",
|
|
823
|
+
"attribute": "select-only",
|
|
824
|
+
"description": "Enforce selection interaction and prevent all other interactions, set this when the UI is turned into Selection-Mode.",
|
|
825
|
+
"type": "boolean"
|
|
826
|
+
},
|
|
827
|
+
{
|
|
828
|
+
"name": "selectable",
|
|
829
|
+
"attribute": "selectable",
|
|
830
|
+
"description": "Enable the ability to select this element.",
|
|
831
|
+
"type": "boolean"
|
|
832
|
+
},
|
|
833
|
+
{
|
|
834
|
+
"name": "selected",
|
|
835
|
+
"attribute": "selected",
|
|
836
|
+
"description": "Attribute applied when the element is selected.",
|
|
837
|
+
"type": "boolean",
|
|
838
|
+
"default": "false"
|
|
839
|
+
}
|
|
840
|
+
],
|
|
841
|
+
"events": [
|
|
842
|
+
{
|
|
843
|
+
"name": "open",
|
|
844
|
+
"description": "fires when the card title is clicked."
|
|
845
|
+
},
|
|
846
|
+
{
|
|
847
|
+
"name": "selected",
|
|
848
|
+
"description": "fires when the media card is selected"
|
|
849
|
+
},
|
|
850
|
+
{
|
|
851
|
+
"name": "deselected",
|
|
852
|
+
"description": "fires when the media card is deselected"
|
|
853
|
+
}
|
|
854
|
+
],
|
|
855
|
+
"slots": [
|
|
856
|
+
{
|
|
857
|
+
"name": "",
|
|
858
|
+
"description": "Default content."
|
|
859
|
+
}
|
|
860
|
+
]
|
|
861
|
+
},
|
|
703
862
|
{
|
|
704
863
|
"name": "uui-card-content-node",
|
|
705
864
|
"path": "./../uui-card-content-node/lib/uui-card-content-node.element.ts",
|
|
@@ -2465,6 +2624,12 @@
|
|
|
2465
2624
|
"name": "input-append",
|
|
2466
2625
|
"description": "append for the uui-input"
|
|
2467
2626
|
}
|
|
2627
|
+
],
|
|
2628
|
+
"cssProperties": [
|
|
2629
|
+
{
|
|
2630
|
+
"name": "--uui-dropdown-width",
|
|
2631
|
+
"description": "overwrite the dropdown width"
|
|
2632
|
+
}
|
|
2468
2633
|
]
|
|
2469
2634
|
},
|
|
2470
2635
|
{
|
|
@@ -3293,6 +3458,48 @@
|
|
|
3293
3458
|
"name": "append",
|
|
3294
3459
|
"description": "for components to render to the right of the input."
|
|
3295
3460
|
}
|
|
3461
|
+
],
|
|
3462
|
+
"cssProperties": [
|
|
3463
|
+
{
|
|
3464
|
+
"name": "--uui-input-height",
|
|
3465
|
+
"description": "Height of the element"
|
|
3466
|
+
},
|
|
3467
|
+
{
|
|
3468
|
+
"name": "--uui-input-background-color",
|
|
3469
|
+
"description": "Background color of the element"
|
|
3470
|
+
},
|
|
3471
|
+
{
|
|
3472
|
+
"name": "--uui-input-background-color-disabled",
|
|
3473
|
+
"description": "Background color when disabled"
|
|
3474
|
+
},
|
|
3475
|
+
{
|
|
3476
|
+
"name": "--uui-input-background-color-readonly",
|
|
3477
|
+
"description": "Background color when readonly"
|
|
3478
|
+
},
|
|
3479
|
+
{
|
|
3480
|
+
"name": "--uui-input-border-width",
|
|
3481
|
+
"description": "Border width"
|
|
3482
|
+
},
|
|
3483
|
+
{
|
|
3484
|
+
"name": "--uui-input-border-color",
|
|
3485
|
+
"description": "Border color"
|
|
3486
|
+
},
|
|
3487
|
+
{
|
|
3488
|
+
"name": "--uui-input-border-color-hover",
|
|
3489
|
+
"description": "Border color on hover"
|
|
3490
|
+
},
|
|
3491
|
+
{
|
|
3492
|
+
"name": "--uui-input-border-color-focus",
|
|
3493
|
+
"description": "Border color on focus"
|
|
3494
|
+
},
|
|
3495
|
+
{
|
|
3496
|
+
"name": "--uui-input-border-color-disabled",
|
|
3497
|
+
"description": "Border color when disabled"
|
|
3498
|
+
},
|
|
3499
|
+
{
|
|
3500
|
+
"name": "--uui-input-border-color-readonly",
|
|
3501
|
+
"description": "Border color when readonly"
|
|
3502
|
+
}
|
|
3296
3503
|
]
|
|
3297
3504
|
},
|
|
3298
3505
|
{
|
|
@@ -3645,6 +3852,48 @@
|
|
|
3645
3852
|
"name": "append",
|
|
3646
3853
|
"description": "for components to render to the right of the input."
|
|
3647
3854
|
}
|
|
3855
|
+
],
|
|
3856
|
+
"cssProperties": [
|
|
3857
|
+
{
|
|
3858
|
+
"name": "--uui-input-height",
|
|
3859
|
+
"description": "Height of the element"
|
|
3860
|
+
},
|
|
3861
|
+
{
|
|
3862
|
+
"name": "--uui-input-background-color",
|
|
3863
|
+
"description": "Background color of the element"
|
|
3864
|
+
},
|
|
3865
|
+
{
|
|
3866
|
+
"name": "--uui-input-background-color-disabled",
|
|
3867
|
+
"description": "Background color when disabled"
|
|
3868
|
+
},
|
|
3869
|
+
{
|
|
3870
|
+
"name": "--uui-input-background-color-readonly",
|
|
3871
|
+
"description": "Background color when readonly"
|
|
3872
|
+
},
|
|
3873
|
+
{
|
|
3874
|
+
"name": "--uui-input-border-width",
|
|
3875
|
+
"description": "Border width"
|
|
3876
|
+
},
|
|
3877
|
+
{
|
|
3878
|
+
"name": "--uui-input-border-color",
|
|
3879
|
+
"description": "Border color"
|
|
3880
|
+
},
|
|
3881
|
+
{
|
|
3882
|
+
"name": "--uui-input-border-color-hover",
|
|
3883
|
+
"description": "Border color on hover"
|
|
3884
|
+
},
|
|
3885
|
+
{
|
|
3886
|
+
"name": "--uui-input-border-color-focus",
|
|
3887
|
+
"description": "Border color on focus"
|
|
3888
|
+
},
|
|
3889
|
+
{
|
|
3890
|
+
"name": "--uui-input-border-color-disabled",
|
|
3891
|
+
"description": "Border color when disabled"
|
|
3892
|
+
},
|
|
3893
|
+
{
|
|
3894
|
+
"name": "--uui-input-border-color-readonly",
|
|
3895
|
+
"description": "Border color when readonly"
|
|
3896
|
+
}
|
|
3648
3897
|
]
|
|
3649
3898
|
},
|
|
3650
3899
|
{
|
|
@@ -3998,6 +4247,48 @@
|
|
|
3998
4247
|
"name": "append",
|
|
3999
4248
|
"description": "for components to render to the right of the input."
|
|
4000
4249
|
}
|
|
4250
|
+
],
|
|
4251
|
+
"cssProperties": [
|
|
4252
|
+
{
|
|
4253
|
+
"name": "--uui-input-height",
|
|
4254
|
+
"description": "Height of the element"
|
|
4255
|
+
},
|
|
4256
|
+
{
|
|
4257
|
+
"name": "--uui-input-background-color",
|
|
4258
|
+
"description": "Background color of the element"
|
|
4259
|
+
},
|
|
4260
|
+
{
|
|
4261
|
+
"name": "--uui-input-background-color-disabled",
|
|
4262
|
+
"description": "Background color when disabled"
|
|
4263
|
+
},
|
|
4264
|
+
{
|
|
4265
|
+
"name": "--uui-input-background-color-readonly",
|
|
4266
|
+
"description": "Background color when readonly"
|
|
4267
|
+
},
|
|
4268
|
+
{
|
|
4269
|
+
"name": "--uui-input-border-width",
|
|
4270
|
+
"description": "Border width"
|
|
4271
|
+
},
|
|
4272
|
+
{
|
|
4273
|
+
"name": "--uui-input-border-color",
|
|
4274
|
+
"description": "Border color"
|
|
4275
|
+
},
|
|
4276
|
+
{
|
|
4277
|
+
"name": "--uui-input-border-color-hover",
|
|
4278
|
+
"description": "Border color on hover"
|
|
4279
|
+
},
|
|
4280
|
+
{
|
|
4281
|
+
"name": "--uui-input-border-color-focus",
|
|
4282
|
+
"description": "Border color on focus"
|
|
4283
|
+
},
|
|
4284
|
+
{
|
|
4285
|
+
"name": "--uui-input-border-color-disabled",
|
|
4286
|
+
"description": "Border color when disabled"
|
|
4287
|
+
},
|
|
4288
|
+
{
|
|
4289
|
+
"name": "--uui-input-border-color-readonly",
|
|
4290
|
+
"description": "Border color when readonly"
|
|
4291
|
+
}
|
|
4001
4292
|
]
|
|
4002
4293
|
},
|
|
4003
4294
|
{
|
|
@@ -4391,6 +4682,10 @@
|
|
|
4391
4682
|
{
|
|
4392
4683
|
"name": "--uui-menu-item-indent",
|
|
4393
4684
|
"description": "set indentation of the menu items"
|
|
4685
|
+
},
|
|
4686
|
+
{
|
|
4687
|
+
"name": "--uui-menu-item-flat-structure",
|
|
4688
|
+
"description": "set to 1 to remove the indentation of the chevron. Use this when you have a flat menu structure"
|
|
4394
4689
|
}
|
|
4395
4690
|
]
|
|
4396
4691
|
},
|
|
@@ -6585,6 +6880,48 @@
|
|
|
6585
6880
|
"name": "change",
|
|
6586
6881
|
"description": "when the user changes value"
|
|
6587
6882
|
}
|
|
6883
|
+
],
|
|
6884
|
+
"cssProperties": [
|
|
6885
|
+
{
|
|
6886
|
+
"name": "--uui-select-height",
|
|
6887
|
+
"description": "Height of the element"
|
|
6888
|
+
},
|
|
6889
|
+
{
|
|
6890
|
+
"name": "--uui-select-font-size",
|
|
6891
|
+
"description": "Font size of the element"
|
|
6892
|
+
},
|
|
6893
|
+
{
|
|
6894
|
+
"name": "--uui-select-padding-y",
|
|
6895
|
+
"description": "Padding on the y axis"
|
|
6896
|
+
},
|
|
6897
|
+
{
|
|
6898
|
+
"name": "--uui-select-padding-x",
|
|
6899
|
+
"description": "Padding on the x axis"
|
|
6900
|
+
},
|
|
6901
|
+
{
|
|
6902
|
+
"name": "--uui-select-border-color",
|
|
6903
|
+
"description": "Border color"
|
|
6904
|
+
},
|
|
6905
|
+
{
|
|
6906
|
+
"name": "--uui-select-border-color-hover",
|
|
6907
|
+
"description": "Border color on hover"
|
|
6908
|
+
},
|
|
6909
|
+
{
|
|
6910
|
+
"name": "--uui-select-selected-option-background-color",
|
|
6911
|
+
"description": "Background color of the selected option"
|
|
6912
|
+
},
|
|
6913
|
+
{
|
|
6914
|
+
"name": "--uui-select-selected-option-color",
|
|
6915
|
+
"description": "Color of the selected option"
|
|
6916
|
+
},
|
|
6917
|
+
{
|
|
6918
|
+
"name": "--uui-select-outline-color",
|
|
6919
|
+
"description": "Outline color"
|
|
6920
|
+
},
|
|
6921
|
+
{
|
|
6922
|
+
"name": "--uui-select-disabled-background-color",
|
|
6923
|
+
"description": "Background color when disabled"
|
|
6924
|
+
}
|
|
6588
6925
|
]
|
|
6589
6926
|
},
|
|
6590
6927
|
{
|
|
@@ -7313,6 +7650,24 @@
|
|
|
7313
7650
|
"name": "",
|
|
7314
7651
|
"description": "Default slot for the tab group"
|
|
7315
7652
|
}
|
|
7653
|
+
],
|
|
7654
|
+
"cssProperties": [
|
|
7655
|
+
{
|
|
7656
|
+
"name": "--uui-tab-group-dropdown-tab-text",
|
|
7657
|
+
"description": "Define the tab text color in the dropdown"
|
|
7658
|
+
},
|
|
7659
|
+
{
|
|
7660
|
+
"name": "--uui-tab-group-dropdown-tab-text-hover",
|
|
7661
|
+
"description": "Define the tab text hover color in the dropdown"
|
|
7662
|
+
},
|
|
7663
|
+
{
|
|
7664
|
+
"name": "--uui-tab-group-dropdown-tab-text-active",
|
|
7665
|
+
"description": "Define the tab text active color in the dropdown"
|
|
7666
|
+
},
|
|
7667
|
+
{
|
|
7668
|
+
"name": "--uui-tab-group-dropdown-background",
|
|
7669
|
+
"description": "Define the background color of the dropdown"
|
|
7670
|
+
}
|
|
7316
7671
|
]
|
|
7317
7672
|
},
|
|
7318
7673
|
{
|
|
@@ -7431,10 +7786,6 @@
|
|
|
7431
7786
|
"name": "--uui-tab-text-active",
|
|
7432
7787
|
"description": "Define the tab text active color"
|
|
7433
7788
|
},
|
|
7434
|
-
{
|
|
7435
|
-
"name": "--uui-tab-background",
|
|
7436
|
-
"description": "Define the tab group background color"
|
|
7437
|
-
},
|
|
7438
7789
|
{
|
|
7439
7790
|
"name": "--uui-tab-divider",
|
|
7440
7791
|
"description": "Define the tab dividers color"
|
|
@@ -7561,10 +7912,6 @@
|
|
|
7561
7912
|
"name": "--uui-tab-text-active",
|
|
7562
7913
|
"description": "Define the tab text active color"
|
|
7563
7914
|
},
|
|
7564
|
-
{
|
|
7565
|
-
"name": "--uui-tab-background",
|
|
7566
|
-
"description": "Define the tab group background color"
|
|
7567
|
-
},
|
|
7568
7915
|
{
|
|
7569
7916
|
"name": "--uui-tab-divider",
|
|
7570
7917
|
"description": "Define the tab dividers color"
|