@umbraco-ui/uui 1.2.1 → 1.3.0-rc.1

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.
@@ -766,8 +766,8 @@
766
766
  "description": "fires when the media card is selected"
767
767
  },
768
768
  {
769
- "name": "unselected",
770
- "description": "fires when the media card is unselected"
769
+ "name": "deselected",
770
+ "description": "fires when the media card is deselected"
771
771
  }
772
772
  ],
773
773
  "slots": [
@@ -898,8 +898,8 @@
898
898
  "description": "fires when the media card is selected"
899
899
  },
900
900
  {
901
- "name": "unselected",
902
- "description": "fires when the media card is unselected"
901
+ "name": "deselected",
902
+ "description": "fires when the media card is deselected"
903
903
  }
904
904
  ],
905
905
  "slots": [
@@ -1013,8 +1013,8 @@
1013
1013
  "description": "fires when the media card is selected"
1014
1014
  },
1015
1015
  {
1016
- "name": "unselected",
1017
- "description": "fires when the media card is unselected"
1016
+ "name": "deselected",
1017
+ "description": "fires when the media card is deselected"
1018
1018
  }
1019
1019
  ],
1020
1020
  "slots": [
@@ -1115,8 +1115,8 @@
1115
1115
  "description": "fires when the media card is selected"
1116
1116
  },
1117
1117
  {
1118
- "name": "unselected",
1119
- "description": "fires when the media card is unselected"
1118
+ "name": "deselected",
1119
+ "description": "fires when the media card is deselected"
1120
1120
  }
1121
1121
  ]
1122
1122
  },
@@ -1764,14 +1764,13 @@
1764
1764
  {
1765
1765
  "name": "value",
1766
1766
  "description": "Value of the swatch. Should be a valid hex, hexa, rgb, rgba, hsl or hsla string. Should fulfill this [css spec](https://www.w3.org/TR/css-color-4/#color-type). If not provided element will look at its text content.",
1767
- "type": " string ",
1768
- "default": "\"\\\"\\\"\""
1767
+ "type": "string"
1769
1768
  },
1770
1769
  {
1771
1770
  "name": "disabled",
1772
1771
  "description": "Determines if the options is disabled. If true the option can't be selected",
1773
- "type": " boolean ",
1774
- "default": "\"false\""
1772
+ "type": "boolean",
1773
+ "default": "false"
1775
1774
  },
1776
1775
  {
1777
1776
  "name": "show-label",
@@ -1812,15 +1811,14 @@
1812
1811
  "name": "value",
1813
1812
  "attribute": "value",
1814
1813
  "description": "Value of the swatch. Should be a valid hex, hexa, rgb, rgba, hsl or hsla string. Should fulfill this [css spec](https://www.w3.org/TR/css-color-4/#color-type). If not provided element will look at its text content.",
1815
- "type": " string ",
1816
- "default": "\"\\\"\\\"\""
1814
+ "type": "string"
1817
1815
  },
1818
1816
  {
1819
1817
  "name": "disabled",
1820
1818
  "attribute": "disabled",
1821
1819
  "description": "Determines if the options is disabled. If true the option can't be selected",
1822
- "type": " boolean ",
1823
- "default": "\"false\""
1820
+ "type": "boolean",
1821
+ "default": "false"
1824
1822
  },
1825
1823
  {
1826
1824
  "name": "showLabel",
@@ -1832,7 +1830,7 @@
1832
1830
  {
1833
1831
  "name": "color",
1834
1832
  "description": "Colord object instance based on the value provided to the element. If the value is not a valid color, it falls back to black (like Amy Winehouse). For more information about Colord, see [Colord](https://omgovich.github.io/colord/)",
1835
- "type": "(Colord | null)"
1833
+ "type": "Colord | null"
1836
1834
  },
1837
1835
  {
1838
1836
  "name": "isLight",
@@ -1872,8 +1870,8 @@
1872
1870
  "description": "fires when the media card is selected"
1873
1871
  },
1874
1872
  {
1875
- "name": "unselected",
1876
- "description": "fires when the media card is unselected"
1873
+ "name": "deselected",
1874
+ "description": "fires when the media card is deselected"
1877
1875
  }
1878
1876
  ],
1879
1877
  "slots": [
@@ -1901,8 +1899,8 @@
1901
1899
  {
1902
1900
  "name": "value",
1903
1901
  "description": "Value of selected option.",
1904
- "type": " string ",
1905
- "default": "\"\\\"\\\"\""
1902
+ "type": "string",
1903
+ "default": "\"\""
1906
1904
  },
1907
1905
  {
1908
1906
  "name": "label",
@@ -1920,8 +1918,8 @@
1920
1918
  "name": "value",
1921
1919
  "attribute": "value",
1922
1920
  "description": "Value of selected option.",
1923
- "type": " string ",
1924
- "default": "\"\\\"\\\"\""
1921
+ "type": "string",
1922
+ "default": "\"\""
1925
1923
  },
1926
1924
  {
1927
1925
  "name": "swatches",
@@ -2043,8 +2041,8 @@
2043
2041
  "description": "fires when the media card is selected"
2044
2042
  },
2045
2043
  {
2046
- "name": "unselected",
2047
- "description": "fires when the media card is unselected"
2044
+ "name": "deselected",
2045
+ "description": "fires when the media card is deselected"
2048
2046
  }
2049
2047
  ],
2050
2048
  "slots": [
@@ -2374,9 +2372,8 @@
2374
2372
  "attributes": [
2375
2373
  {
2376
2374
  "name": "accept",
2377
- "description": "Accepted filetypes. Will allow all types if empty.",
2378
- "type": "string",
2379
- "default": "\"false\""
2375
+ "description": "Comma-separated list of accepted mime types or file extensions (denoted with a `.`).\nIf this is left empty, it will allow all types.",
2376
+ "type": "string"
2380
2377
  },
2381
2378
  {
2382
2379
  "name": "multiple",
@@ -2399,9 +2396,8 @@
2399
2396
  {
2400
2397
  "name": "accept",
2401
2398
  "attribute": "accept",
2402
- "description": "Accepted filetypes. Will allow all types if empty.",
2403
- "type": "string",
2404
- "default": "\"false\""
2399
+ "description": "Comma-separated list of accepted mime types or file extensions (denoted with a `.`).\nIf this is left empty, it will allow all types.",
2400
+ "type": "string"
2405
2401
  },
2406
2402
  {
2407
2403
  "name": "multiple",
@@ -2419,7 +2415,7 @@
2419
2415
  ],
2420
2416
  "events": [
2421
2417
  {
2422
- "name": "file-change",
2418
+ "name": "change",
2423
2419
  "description": "fires when the a file has been selected."
2424
2420
  }
2425
2421
  ],
@@ -2845,6 +2841,18 @@
2845
2841
  "type": "'text' | 'tel'| 'url'| 'email'| 'password'| 'date'| 'month'| 'week'| 'time'| 'datetime-local'| 'number'| 'color'",
2846
2842
  "default": "\"text\""
2847
2843
  },
2844
+ {
2845
+ "name": "pattern",
2846
+ "description": "Validates the input based on the Regex pattern",
2847
+ "type": "string",
2848
+ "default": "\"undefined\""
2849
+ },
2850
+ {
2851
+ "name": "inputmode",
2852
+ "description": "The inputmode global attribute is an enumerated attribute that hints at the type of data that might be entered by the user while editing the element or its contents. This allows a browser to display an appropriate virtual keyboard.",
2853
+ "type": "string",
2854
+ "default": "\"undefined\""
2855
+ },
2848
2856
  {
2849
2857
  "name": "name",
2850
2858
  "description": "This is a name property of the component.",
@@ -2988,6 +2996,20 @@
2988
2996
  "type": "'text' | 'tel'| 'url'| 'email'| 'password'| 'date'| 'month'| 'week'| 'time'| 'datetime-local'| 'number'| 'color'",
2989
2997
  "default": "\"text\""
2990
2998
  },
2999
+ {
3000
+ "name": "pattern",
3001
+ "attribute": "pattern",
3002
+ "description": "Validates the input based on the Regex pattern",
3003
+ "type": "string",
3004
+ "default": "\"undefined\""
3005
+ },
3006
+ {
3007
+ "name": "inputmode",
3008
+ "attribute": "inputmode",
3009
+ "description": "The inputmode global attribute is an enumerated attribute that hints at the type of data that might be entered by the user while editing the element or its contents. This allows a browser to display an appropriate virtual keyboard.",
3010
+ "type": "string",
3011
+ "default": "\"undefined\""
3012
+ },
2991
3013
  {
2992
3014
  "name": "formAssociated",
2993
3015
  "description": "This is a static class field indicating that the element is can be used inside a native form and participate in its events. It may require a polyfill, check support here https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/attachInternals. Read more about form controls here https://web.dev/more-capable-form-controls/",
@@ -3156,6 +3178,18 @@
3156
3178
  "type": "'text' | 'tel'| 'url'| 'email'| 'password'| 'date'| 'month'| 'week'| 'time'| 'datetime-local'| 'number'| 'color'",
3157
3179
  "default": "\"text\""
3158
3180
  },
3181
+ {
3182
+ "name": "pattern",
3183
+ "description": "Validates the input based on the Regex pattern",
3184
+ "type": "string",
3185
+ "default": "\"undefined\""
3186
+ },
3187
+ {
3188
+ "name": "inputmode",
3189
+ "description": "The inputmode global attribute is an enumerated attribute that hints at the type of data that might be entered by the user while editing the element or its contents. This allows a browser to display an appropriate virtual keyboard.",
3190
+ "type": "string",
3191
+ "default": "\"undefined\""
3192
+ },
3159
3193
  {
3160
3194
  "name": "name",
3161
3195
  "description": "This is a name property of the component.",
@@ -3292,6 +3326,20 @@
3292
3326
  "type": "'text' | 'tel'| 'url'| 'email'| 'password'| 'date'| 'month'| 'week'| 'time'| 'datetime-local'| 'number'| 'color'",
3293
3327
  "default": "\"text\""
3294
3328
  },
3329
+ {
3330
+ "name": "pattern",
3331
+ "attribute": "pattern",
3332
+ "description": "Validates the input based on the Regex pattern",
3333
+ "type": "string",
3334
+ "default": "\"undefined\""
3335
+ },
3336
+ {
3337
+ "name": "inputmode",
3338
+ "attribute": "inputmode",
3339
+ "description": "The inputmode global attribute is an enumerated attribute that hints at the type of data that might be entered by the user while editing the element or its contents. This allows a browser to display an appropriate virtual keyboard.",
3340
+ "type": "string",
3341
+ "default": "\"undefined\""
3342
+ },
3295
3343
  {
3296
3344
  "name": "formAssociated",
3297
3345
  "description": "This is a static class field indicating that the element is can be used inside a native form and participate in its events. It may require a polyfill, check support here https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/attachInternals. Read more about form controls here https://web.dev/more-capable-form-controls/",
@@ -3461,6 +3509,18 @@
3461
3509
  "type": "'text' | 'tel'| 'url'| 'email'| 'password'| 'date'| 'month'| 'week'| 'time'| 'datetime-local'| 'number'| 'color'",
3462
3510
  "default": "\"text\""
3463
3511
  },
3512
+ {
3513
+ "name": "pattern",
3514
+ "description": "Validates the input based on the Regex pattern",
3515
+ "type": "string",
3516
+ "default": "\"undefined\""
3517
+ },
3518
+ {
3519
+ "name": "inputmode",
3520
+ "description": "The inputmode global attribute is an enumerated attribute that hints at the type of data that might be entered by the user while editing the element or its contents. This allows a browser to display an appropriate virtual keyboard.",
3521
+ "type": "string",
3522
+ "default": "\"undefined\""
3523
+ },
3464
3524
  {
3465
3525
  "name": "name",
3466
3526
  "description": "This is a name property of the component.",
@@ -3597,6 +3657,20 @@
3597
3657
  "type": "'text' | 'tel'| 'url'| 'email'| 'password'| 'date'| 'month'| 'week'| 'time'| 'datetime-local'| 'number'| 'color'",
3598
3658
  "default": "\"text\""
3599
3659
  },
3660
+ {
3661
+ "name": "pattern",
3662
+ "attribute": "pattern",
3663
+ "description": "Validates the input based on the Regex pattern",
3664
+ "type": "string",
3665
+ "default": "\"undefined\""
3666
+ },
3667
+ {
3668
+ "name": "inputmode",
3669
+ "attribute": "inputmode",
3670
+ "description": "The inputmode global attribute is an enumerated attribute that hints at the type of data that might be entered by the user while editing the element or its contents. This allows a browser to display an appropriate virtual keyboard.",
3671
+ "type": "string",
3672
+ "default": "\"undefined\""
3673
+ },
3600
3674
  {
3601
3675
  "name": "formAssociated",
3602
3676
  "description": "This is a static class field indicating that the element is can be used inside a native form and participate in its events. It may require a polyfill, check support here https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/attachInternals. Read more about form controls here https://web.dev/more-capable-form-controls/",
@@ -4043,8 +4117,8 @@
4043
4117
  "description": "fires when the media card is selected"
4044
4118
  },
4045
4119
  {
4046
- "name": "unselected",
4047
- "description": "fires when the media card is unselected"
4120
+ "name": "deselected",
4121
+ "description": "fires when the media card is deselected"
4048
4122
  }
4049
4123
  ],
4050
4124
  "slots": [
@@ -5045,8 +5119,8 @@
5045
5119
  "description": "fires when the ref is selected"
5046
5120
  },
5047
5121
  {
5048
- "name": "unselected",
5049
- "description": "fires when the ref is unselected"
5122
+ "name": "deselected",
5123
+ "description": "fires when the ref is deselected"
5050
5124
  }
5051
5125
  ],
5052
5126
  "slots": [
@@ -5190,8 +5264,8 @@
5190
5264
  "description": "fires when the ref is selected"
5191
5265
  },
5192
5266
  {
5193
- "name": "unselected",
5194
- "description": "fires when the ref is unselected"
5267
+ "name": "deselected",
5268
+ "description": "fires when the ref is deselected"
5195
5269
  }
5196
5270
  ],
5197
5271
  "slots": [
@@ -5322,8 +5396,8 @@
5322
5396
  "description": "fires when the ref is selected"
5323
5397
  },
5324
5398
  {
5325
- "name": "unselected",
5326
- "description": "fires when the ref is unselected"
5399
+ "name": "deselected",
5400
+ "description": "fires when the ref is deselected"
5327
5401
  }
5328
5402
  ],
5329
5403
  "slots": [
@@ -5467,8 +5541,8 @@
5467
5541
  "description": "fires when the ref is selected"
5468
5542
  },
5469
5543
  {
5470
- "name": "unselected",
5471
- "description": "fires when the ref is unselected"
5544
+ "name": "deselected",
5545
+ "description": "fires when the ref is deselected"
5472
5546
  }
5473
5547
  ],
5474
5548
  "slots": [
@@ -5625,8 +5699,8 @@
5625
5699
  "description": "fires when the ref is selected"
5626
5700
  },
5627
5701
  {
5628
- "name": "unselected",
5629
- "description": "fires when the ref is unselected"
5702
+ "name": "deselected",
5703
+ "description": "fires when the ref is deselected"
5630
5704
  }
5631
5705
  ],
5632
5706
  "slots": [
@@ -5770,8 +5844,8 @@
5770
5844
  "description": "fires when the ref is selected"
5771
5845
  },
5772
5846
  {
5773
- "name": "unselected",
5774
- "description": "fires when the ref is unselected"
5847
+ "name": "deselected",
5848
+ "description": "fires when the ref is deselected"
5775
5849
  }
5776
5850
  ],
5777
5851
  "slots": [
@@ -5902,8 +5976,8 @@
5902
5976
  "description": "fires when the ref is selected"
5903
5977
  },
5904
5978
  {
5905
- "name": "unselected",
5906
- "description": "fires when the ref is unselected"
5979
+ "name": "deselected",
5980
+ "description": "fires when the ref is deselected"
5907
5981
  }
5908
5982
  ],
5909
5983
  "slots": [
@@ -6008,8 +6082,8 @@
6008
6082
  "description": "fires when the ref is selected"
6009
6083
  },
6010
6084
  {
6011
- "name": "unselected",
6012
- "description": "fires when the ref is unselected"
6085
+ "name": "deselected",
6086
+ "description": "fires when the ref is deselected"
6013
6087
  }
6014
6088
  ]
6015
6089
  },
@@ -6886,8 +6960,8 @@
6886
6960
  "description": "fires when the media card is selected"
6887
6961
  },
6888
6962
  {
6889
- "name": "unselected",
6890
- "description": "fires when the media card is unselected"
6963
+ "name": "deselected",
6964
+ "description": "fires when the media card is deselected"
6891
6965
  }
6892
6966
  ],
6893
6967
  "slots": [
@@ -7270,6 +7344,22 @@
7270
7344
  "description": "Label to be used for aria-label and eventually as visual label",
7271
7345
  "type": "string"
7272
7346
  },
7347
+ {
7348
+ "name": "rows",
7349
+ "description": "Sets the number of rows of the textarea",
7350
+ "type": "number"
7351
+ },
7352
+ {
7353
+ "name": "cols",
7354
+ "description": "Sets the number of cols of the textarea",
7355
+ "type": "number"
7356
+ },
7357
+ {
7358
+ "name": "wrap",
7359
+ "description": "Indicates how the control should wrap the value for form submission. If this attribute is not specified, soft is its default value.",
7360
+ "type": "'soft' | 'hard' | 'off'",
7361
+ "default": "\"undefined\""
7362
+ },
7273
7363
  {
7274
7364
  "name": "name",
7275
7365
  "description": "This is a name property of the `<uui-textarea>` component. It reflects the behaviour of the native `<textarea>` element and its name attribute.",
@@ -7379,6 +7469,25 @@
7379
7469
  "description": "Label to be used for aria-label and eventually as visual label",
7380
7470
  "type": "string"
7381
7471
  },
7472
+ {
7473
+ "name": "rows",
7474
+ "attribute": "rows",
7475
+ "description": "Sets the number of rows of the textarea",
7476
+ "type": "number"
7477
+ },
7478
+ {
7479
+ "name": "cols",
7480
+ "attribute": "cols",
7481
+ "description": "Sets the number of cols of the textarea",
7482
+ "type": "number"
7483
+ },
7484
+ {
7485
+ "name": "wrap",
7486
+ "attribute": "wrap",
7487
+ "description": "Indicates how the control should wrap the value for form submission. If this attribute is not specified, soft is its default value.",
7488
+ "type": "'soft' | 'hard' | 'off'",
7489
+ "default": "\"undefined\""
7490
+ },
7382
7491
  {
7383
7492
  "name": "formAssociated",
7384
7493
  "description": "This is a static class field indicating that the element is can be used inside a native form and participate in its events. It may require a polyfill, check support here https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/attachInternals. Read more about form controls here https://web.dev/more-capable-form-controls/",