@umbraco-ui/uui 1.0.1 → 1.1.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.
- package/custom-elements.json +260 -45
- package/dist/uui.min.js +36 -36
- package/dist/uui.min.js.map +1 -1
- package/lib/index.d.ts +1 -0
- package/lib/index.js +1 -0
- package/package.json +76 -74
package/custom-elements.json
CHANGED
|
@@ -317,49 +317,6 @@
|
|
|
317
317
|
}
|
|
318
318
|
]
|
|
319
319
|
},
|
|
320
|
-
{
|
|
321
|
-
"name": "uui-inline-create-button",
|
|
322
|
-
"path": "./../uui-button-inline-create/lib/uui-button-inline-create.element.ts",
|
|
323
|
-
"attributes": [
|
|
324
|
-
{
|
|
325
|
-
"name": "label",
|
|
326
|
-
"description": "Label to be used for aria-label and eventually as visual label",
|
|
327
|
-
"type": "string"
|
|
328
|
-
},
|
|
329
|
-
{
|
|
330
|
-
"name": "vertical",
|
|
331
|
-
"description": "Place the button vertically",
|
|
332
|
-
"type": "Boolean",
|
|
333
|
-
"default": "false"
|
|
334
|
-
}
|
|
335
|
-
],
|
|
336
|
-
"properties": [
|
|
337
|
-
{
|
|
338
|
-
"name": "styles",
|
|
339
|
-
"type": "CSSResult[]",
|
|
340
|
-
"default": "[\"UUIBlinkKeyframes\",null]"
|
|
341
|
-
},
|
|
342
|
-
{
|
|
343
|
-
"name": "label",
|
|
344
|
-
"attribute": "label",
|
|
345
|
-
"description": "Label to be used for aria-label and eventually as visual label",
|
|
346
|
-
"type": "string"
|
|
347
|
-
},
|
|
348
|
-
{
|
|
349
|
-
"name": "vertical",
|
|
350
|
-
"attribute": "vertical",
|
|
351
|
-
"description": "Place the button vertically",
|
|
352
|
-
"type": "Boolean",
|
|
353
|
-
"default": "false"
|
|
354
|
-
}
|
|
355
|
-
],
|
|
356
|
-
"events": [
|
|
357
|
-
{
|
|
358
|
-
"name": "click",
|
|
359
|
-
"description": "on user click"
|
|
360
|
-
}
|
|
361
|
-
]
|
|
362
|
-
},
|
|
363
320
|
{
|
|
364
321
|
"name": "uui-button-inline-create",
|
|
365
322
|
"path": "./../uui-button-inline-create/lib/uui-button-inline-create.element.ts",
|
|
@@ -1488,7 +1445,7 @@
|
|
|
1488
1445
|
{
|
|
1489
1446
|
"name": "value",
|
|
1490
1447
|
"description": "Value of selected option.",
|
|
1491
|
-
"type": "
|
|
1448
|
+
"type": " FormDataEntryValue | FormData ",
|
|
1492
1449
|
"default": "\"\\\"\\\"\""
|
|
1493
1450
|
},
|
|
1494
1451
|
{
|
|
@@ -1514,7 +1471,7 @@
|
|
|
1514
1471
|
"name": "value",
|
|
1515
1472
|
"attribute": "value",
|
|
1516
1473
|
"description": "Value of selected option.",
|
|
1517
|
-
"type": "
|
|
1474
|
+
"type": " FormDataEntryValue | FormData ",
|
|
1518
1475
|
"default": "\"\\\"\\\"\""
|
|
1519
1476
|
},
|
|
1520
1477
|
{
|
|
@@ -1561,6 +1518,12 @@
|
|
|
1561
1518
|
"type": " boolean ",
|
|
1562
1519
|
"default": "\"false\""
|
|
1563
1520
|
},
|
|
1521
|
+
{
|
|
1522
|
+
"name": "closeLabel",
|
|
1523
|
+
"description": "Specifies the button label for the close button in mobile mode",
|
|
1524
|
+
"type": " string ",
|
|
1525
|
+
"default": "\"\\\"Close\\\"\""
|
|
1526
|
+
},
|
|
1564
1527
|
{
|
|
1565
1528
|
"name": "name",
|
|
1566
1529
|
"description": "This is a name property of the component.",
|
|
@@ -1624,6 +1587,13 @@
|
|
|
1624
1587
|
"type": " boolean ",
|
|
1625
1588
|
"default": "\"false\""
|
|
1626
1589
|
},
|
|
1590
|
+
{
|
|
1591
|
+
"name": "closeLabel",
|
|
1592
|
+
"attribute": "closeLabel",
|
|
1593
|
+
"description": "Specifies the button label for the close button in mobile mode",
|
|
1594
|
+
"type": " string ",
|
|
1595
|
+
"default": "\"\\\"Close\\\"\""
|
|
1596
|
+
},
|
|
1627
1597
|
{
|
|
1628
1598
|
"name": "formAssociated",
|
|
1629
1599
|
"description": "This is a static class field indicating that the element is can be used inside a native form and participate in its events.\nIt may require a polyfill, check support here https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/attachInternals.\nRead more about form controls here https://web.dev/more-capable-form-controls/",
|
|
@@ -3753,6 +3723,251 @@
|
|
|
3753
3723
|
}
|
|
3754
3724
|
]
|
|
3755
3725
|
},
|
|
3726
|
+
{
|
|
3727
|
+
"name": "uui-range-slider",
|
|
3728
|
+
"path": "./../uui-range-slider/lib/uui-range-slider.element.ts",
|
|
3729
|
+
"attributes": [
|
|
3730
|
+
{
|
|
3731
|
+
"name": "disabled",
|
|
3732
|
+
"description": "Disables the input.",
|
|
3733
|
+
"type": "boolean",
|
|
3734
|
+
"default": "\"false\""
|
|
3735
|
+
},
|
|
3736
|
+
{
|
|
3737
|
+
"name": "label",
|
|
3738
|
+
"description": "Label to be used for aria-label and eventually as visual label. Adds \" low value\" and \" high value\" endings for the two values.",
|
|
3739
|
+
"type": "string"
|
|
3740
|
+
},
|
|
3741
|
+
{
|
|
3742
|
+
"name": "step",
|
|
3743
|
+
"description": "This reflects the behavior of a native input step attribute.",
|
|
3744
|
+
"type": "number",
|
|
3745
|
+
"default": "\"1\""
|
|
3746
|
+
},
|
|
3747
|
+
{
|
|
3748
|
+
"name": "hide-step-values",
|
|
3749
|
+
"description": "Hides the numbers representing the value of each steps. Dots will still be visible",
|
|
3750
|
+
"type": "boolean",
|
|
3751
|
+
"default": "\"false\""
|
|
3752
|
+
},
|
|
3753
|
+
{
|
|
3754
|
+
"name": "min",
|
|
3755
|
+
"description": "Sets the minimum allowed value.",
|
|
3756
|
+
"type": "number",
|
|
3757
|
+
"default": "\"0\""
|
|
3758
|
+
},
|
|
3759
|
+
{
|
|
3760
|
+
"name": "max",
|
|
3761
|
+
"description": "Sets the maximum allowed value.",
|
|
3762
|
+
"type": "number",
|
|
3763
|
+
"default": "\"100\""
|
|
3764
|
+
},
|
|
3765
|
+
{
|
|
3766
|
+
"name": "value-low",
|
|
3767
|
+
"description": "The lower picked value.",
|
|
3768
|
+
"type": "number",
|
|
3769
|
+
"default": "\"0\""
|
|
3770
|
+
},
|
|
3771
|
+
{
|
|
3772
|
+
"name": "value-high",
|
|
3773
|
+
"description": "The higher picked value.",
|
|
3774
|
+
"type": "number",
|
|
3775
|
+
"default": "\"100\""
|
|
3776
|
+
},
|
|
3777
|
+
{
|
|
3778
|
+
"name": "min-gap",
|
|
3779
|
+
"description": "Minimum value gap between the the two picked values. Cannot be lower than the step value and cannot be higher than the maximum gap",
|
|
3780
|
+
"type": "number",
|
|
3781
|
+
"default": "\"1\""
|
|
3782
|
+
},
|
|
3783
|
+
{
|
|
3784
|
+
"name": "max-gap",
|
|
3785
|
+
"description": "Maximum value gap between the the two picked values. Cannot be lower than the minimum gap.",
|
|
3786
|
+
"type": "number",
|
|
3787
|
+
"default": "\"undefined\""
|
|
3788
|
+
},
|
|
3789
|
+
{
|
|
3790
|
+
"name": "name",
|
|
3791
|
+
"description": "This is a name property of the component.",
|
|
3792
|
+
"type": "string",
|
|
3793
|
+
"default": "\"''\""
|
|
3794
|
+
},
|
|
3795
|
+
{
|
|
3796
|
+
"name": "value",
|
|
3797
|
+
"description": "This is a value property of the uui-range-slider. Split the two values with comma, forexample 10,50 sets the values to 10 and 50.",
|
|
3798
|
+
"type": "string",
|
|
3799
|
+
"default": "\"0,100\""
|
|
3800
|
+
},
|
|
3801
|
+
{
|
|
3802
|
+
"name": "pristine",
|
|
3803
|
+
"description": "Determines wether the form control has been touched or interacted with, this determines wether the validation-status of this form control should be made visible.",
|
|
3804
|
+
"type": "boolean",
|
|
3805
|
+
"default": "\"false\""
|
|
3806
|
+
},
|
|
3807
|
+
{
|
|
3808
|
+
"name": "required",
|
|
3809
|
+
"description": "Apply validation rule for requiring a value of this form control.",
|
|
3810
|
+
"type": "boolean",
|
|
3811
|
+
"default": "\"false\""
|
|
3812
|
+
},
|
|
3813
|
+
{
|
|
3814
|
+
"name": "required-message",
|
|
3815
|
+
"description": "Required validation message.",
|
|
3816
|
+
"type": "string",
|
|
3817
|
+
"default": "\"This field is required\""
|
|
3818
|
+
},
|
|
3819
|
+
{
|
|
3820
|
+
"name": "error",
|
|
3821
|
+
"description": "Apply custom error on this input.",
|
|
3822
|
+
"type": "boolean",
|
|
3823
|
+
"default": "false"
|
|
3824
|
+
},
|
|
3825
|
+
{
|
|
3826
|
+
"name": "error-message",
|
|
3827
|
+
"description": "Custom error message.",
|
|
3828
|
+
"type": "string",
|
|
3829
|
+
"default": "\"This field is invalid\""
|
|
3830
|
+
}
|
|
3831
|
+
],
|
|
3832
|
+
"properties": [
|
|
3833
|
+
{
|
|
3834
|
+
"name": "styles",
|
|
3835
|
+
"type": "CSSResult[]",
|
|
3836
|
+
"default": "[\"UUIHorizontalPulseKeyframes\",null]"
|
|
3837
|
+
},
|
|
3838
|
+
{
|
|
3839
|
+
"name": "disabled",
|
|
3840
|
+
"attribute": "disabled",
|
|
3841
|
+
"description": "Disables the input.",
|
|
3842
|
+
"type": "boolean",
|
|
3843
|
+
"default": "\"false\""
|
|
3844
|
+
},
|
|
3845
|
+
{
|
|
3846
|
+
"name": "label",
|
|
3847
|
+
"attribute": "label",
|
|
3848
|
+
"description": "Label to be used for aria-label and eventually as visual label. Adds \" low value\" and \" high value\" endings for the two values.",
|
|
3849
|
+
"type": "string"
|
|
3850
|
+
},
|
|
3851
|
+
{
|
|
3852
|
+
"name": "step",
|
|
3853
|
+
"attribute": "step",
|
|
3854
|
+
"description": "This reflects the behavior of a native input step attribute.",
|
|
3855
|
+
"type": "number",
|
|
3856
|
+
"default": "\"1\""
|
|
3857
|
+
},
|
|
3858
|
+
{
|
|
3859
|
+
"name": "hideStepValues",
|
|
3860
|
+
"attribute": "hide-step-values",
|
|
3861
|
+
"description": "Hides the numbers representing the value of each steps. Dots will still be visible",
|
|
3862
|
+
"type": "boolean",
|
|
3863
|
+
"default": "\"false\""
|
|
3864
|
+
},
|
|
3865
|
+
{
|
|
3866
|
+
"name": "min",
|
|
3867
|
+
"attribute": "min",
|
|
3868
|
+
"description": "Sets the minimum allowed value.",
|
|
3869
|
+
"type": "number",
|
|
3870
|
+
"default": "\"0\""
|
|
3871
|
+
},
|
|
3872
|
+
{
|
|
3873
|
+
"name": "max",
|
|
3874
|
+
"attribute": "max",
|
|
3875
|
+
"description": "Sets the maximum allowed value.",
|
|
3876
|
+
"type": "number",
|
|
3877
|
+
"default": "\"100\""
|
|
3878
|
+
},
|
|
3879
|
+
{
|
|
3880
|
+
"name": "valueLow",
|
|
3881
|
+
"attribute": "value-low",
|
|
3882
|
+
"description": "The lower picked value.",
|
|
3883
|
+
"type": "number",
|
|
3884
|
+
"default": "\"0\""
|
|
3885
|
+
},
|
|
3886
|
+
{
|
|
3887
|
+
"name": "valueHigh",
|
|
3888
|
+
"attribute": "value-high",
|
|
3889
|
+
"description": "The higher picked value.",
|
|
3890
|
+
"type": "number",
|
|
3891
|
+
"default": "\"100\""
|
|
3892
|
+
},
|
|
3893
|
+
{
|
|
3894
|
+
"name": "minGap",
|
|
3895
|
+
"attribute": "min-gap",
|
|
3896
|
+
"description": "Minimum value gap between the the two picked values. Cannot be lower than the step value and cannot be higher than the maximum gap",
|
|
3897
|
+
"type": "number",
|
|
3898
|
+
"default": "\"1\""
|
|
3899
|
+
},
|
|
3900
|
+
{
|
|
3901
|
+
"name": "maxGap",
|
|
3902
|
+
"attribute": "max-gap",
|
|
3903
|
+
"description": "Maximum value gap between the the two picked values. Cannot be lower than the minimum gap.",
|
|
3904
|
+
"type": "number",
|
|
3905
|
+
"default": "\"undefined\""
|
|
3906
|
+
},
|
|
3907
|
+
{
|
|
3908
|
+
"name": "formAssociated",
|
|
3909
|
+
"description": "This is a static class field indicating that the element is can be used inside a native form and participate in its events.\nIt may require a polyfill, check support here https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/attachInternals.\nRead more about form controls here https://web.dev/more-capable-form-controls/",
|
|
3910
|
+
"type": "boolean",
|
|
3911
|
+
"default": "true"
|
|
3912
|
+
},
|
|
3913
|
+
{
|
|
3914
|
+
"name": "name",
|
|
3915
|
+
"attribute": "name",
|
|
3916
|
+
"description": "This is a name property of the component.",
|
|
3917
|
+
"type": "string",
|
|
3918
|
+
"default": "\"''\""
|
|
3919
|
+
},
|
|
3920
|
+
{
|
|
3921
|
+
"name": "value",
|
|
3922
|
+
"attribute": "value",
|
|
3923
|
+
"description": "This is a value property of the uui-range-slider. Split the two values with comma, forexample 10,50 sets the values to 10 and 50.",
|
|
3924
|
+
"type": "string",
|
|
3925
|
+
"default": "\"0,100\""
|
|
3926
|
+
},
|
|
3927
|
+
{
|
|
3928
|
+
"name": "pristine",
|
|
3929
|
+
"attribute": "pristine",
|
|
3930
|
+
"description": "Determines wether the form control has been touched or interacted with, this determines wether the validation-status of this form control should be made visible.",
|
|
3931
|
+
"type": "boolean",
|
|
3932
|
+
"default": "\"false\""
|
|
3933
|
+
},
|
|
3934
|
+
{
|
|
3935
|
+
"name": "required",
|
|
3936
|
+
"attribute": "required",
|
|
3937
|
+
"description": "Apply validation rule for requiring a value of this form control.",
|
|
3938
|
+
"type": "boolean",
|
|
3939
|
+
"default": "\"false\""
|
|
3940
|
+
},
|
|
3941
|
+
{
|
|
3942
|
+
"name": "requiredMessage",
|
|
3943
|
+
"attribute": "required-message",
|
|
3944
|
+
"description": "Required validation message.",
|
|
3945
|
+
"type": "string",
|
|
3946
|
+
"default": "\"This field is required\""
|
|
3947
|
+
},
|
|
3948
|
+
{
|
|
3949
|
+
"name": "error",
|
|
3950
|
+
"attribute": "error",
|
|
3951
|
+
"description": "Apply custom error on this input.",
|
|
3952
|
+
"type": "boolean",
|
|
3953
|
+
"default": "false"
|
|
3954
|
+
},
|
|
3955
|
+
{
|
|
3956
|
+
"name": "errorMessage",
|
|
3957
|
+
"attribute": "error-message",
|
|
3958
|
+
"description": "Custom error message.",
|
|
3959
|
+
"type": "string",
|
|
3960
|
+
"default": "\"This field is invalid\""
|
|
3961
|
+
},
|
|
3962
|
+
{
|
|
3963
|
+
"name": "validity",
|
|
3964
|
+
"type": "ValidityState"
|
|
3965
|
+
},
|
|
3966
|
+
{
|
|
3967
|
+
"name": "validationMessage"
|
|
3968
|
+
}
|
|
3969
|
+
]
|
|
3970
|
+
},
|
|
3756
3971
|
{
|
|
3757
3972
|
"name": "uui-ref-list",
|
|
3758
3973
|
"path": "./../uui-ref-list/lib/uui-ref-list.element.ts",
|