@umbraco-ui/uui 1.0.2 → 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 +247 -2
- 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
|
@@ -1445,7 +1445,7 @@
|
|
|
1445
1445
|
{
|
|
1446
1446
|
"name": "value",
|
|
1447
1447
|
"description": "Value of selected option.",
|
|
1448
|
-
"type": "
|
|
1448
|
+
"type": " FormDataEntryValue | FormData ",
|
|
1449
1449
|
"default": "\"\\\"\\\"\""
|
|
1450
1450
|
},
|
|
1451
1451
|
{
|
|
@@ -1471,7 +1471,7 @@
|
|
|
1471
1471
|
"name": "value",
|
|
1472
1472
|
"attribute": "value",
|
|
1473
1473
|
"description": "Value of selected option.",
|
|
1474
|
-
"type": "
|
|
1474
|
+
"type": " FormDataEntryValue | FormData ",
|
|
1475
1475
|
"default": "\"\\\"\\\"\""
|
|
1476
1476
|
},
|
|
1477
1477
|
{
|
|
@@ -3723,6 +3723,251 @@
|
|
|
3723
3723
|
}
|
|
3724
3724
|
]
|
|
3725
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
|
+
},
|
|
3726
3971
|
{
|
|
3727
3972
|
"name": "uui-ref-list",
|
|
3728
3973
|
"path": "./../uui-ref-list/lib/uui-ref-list.element.ts",
|