@umbraco-ui/uui 1.0.0-alpha.0 → 1.0.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.
@@ -130,9 +130,15 @@
130
130
  "attributes": [
131
131
  {
132
132
  "name": "color",
133
- "description": "Changes the look of the badge to one of the predefined, symbolic looks. For example - set this to positive if you want nice, green \"confirm\" badge.",
134
- "type": "\"\" | \"default\"|\"positive\"|\"warning\"|\"danger\"",
135
- "default": "\"default\""
133
+ "description": "Changes the look of the button to one of the predefined, symbolic looks. For example - set this to positive if you want nice, green \"confirm\" button.",
134
+ "type": "\"default\" | \"positive\" | \"warning\" | \"danger\"",
135
+ "default": "\"\\\"default\\\"\""
136
+ },
137
+ {
138
+ "name": "look",
139
+ "description": "Changes the look of the button to one of the predefined, symbolic looks. For example - set this to positive if you want nice, green \"confirm\" button.",
140
+ "type": "\"default\" | \"primary\" | \"secondary\" | \"outline\" | \"placeholder\"",
141
+ "default": "\"\\\"default\\\"\""
136
142
  },
137
143
  {
138
144
  "name": "attention",
@@ -150,9 +156,16 @@
150
156
  {
151
157
  "name": "color",
152
158
  "attribute": "color",
153
- "description": "Changes the look of the badge to one of the predefined, symbolic looks. For example - set this to positive if you want nice, green \"confirm\" badge.",
154
- "type": "\"\" | \"default\"|\"positive\"|\"warning\"|\"danger\"",
155
- "default": "\"default\""
159
+ "description": "Changes the look of the button to one of the predefined, symbolic looks. For example - set this to positive if you want nice, green \"confirm\" button.",
160
+ "type": "\"default\" | \"positive\" | \"warning\" | \"danger\"",
161
+ "default": "\"\\\"default\\\"\""
162
+ },
163
+ {
164
+ "name": "look",
165
+ "attribute": "look",
166
+ "description": "Changes the look of the button to one of the predefined, symbolic looks. For example - set this to positive if you want nice, green \"confirm\" button.",
167
+ "type": "\"default\" | \"primary\" | \"secondary\" | \"outline\" | \"placeholder\"",
168
+ "default": "\"\\\"default\\\"\""
156
169
  },
157
170
  {
158
171
  "name": "attention",
@@ -430,6 +443,18 @@
430
443
  "type": "undefined |'waiting' | 'success' | 'failed'",
431
444
  "default": "\"undefined\""
432
445
  },
446
+ {
447
+ "name": "href",
448
+ "description": "Set an href, this will turns the button into a anchor tag.",
449
+ "type": "string",
450
+ "default": "\"undefined\""
451
+ },
452
+ {
453
+ "name": "target",
454
+ "description": "Set an anchor tag target, only used when using href.",
455
+ "type": "string",
456
+ "default": "\"undefined\""
457
+ },
433
458
  {
434
459
  "name": "name",
435
460
  "description": "This is a name property of the component.",
@@ -474,7 +499,7 @@
474
499
  },
475
500
  {
476
501
  "name": "label",
477
- "description": "Label to be used for aria-label and eventually as visual label",
502
+ "description": "Label to be used for aria-label and potentially as visual label for some components",
478
503
  "type": "string"
479
504
  }
480
505
  ],
@@ -526,6 +551,20 @@
526
551
  "type": "undefined |'waiting' | 'success' | 'failed'",
527
552
  "default": "\"undefined\""
528
553
  },
554
+ {
555
+ "name": "href",
556
+ "attribute": "href",
557
+ "description": "Set an href, this will turns the button into a anchor tag.",
558
+ "type": "string",
559
+ "default": "\"undefined\""
560
+ },
561
+ {
562
+ "name": "target",
563
+ "attribute": "target",
564
+ "description": "Set an anchor tag target, only used when using href.",
565
+ "type": "string",
566
+ "default": "\"undefined\""
567
+ },
529
568
  {
530
569
  "name": "formAssociated",
531
570
  "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/",
@@ -591,7 +630,7 @@
591
630
  {
592
631
  "name": "label",
593
632
  "attribute": "label",
594
- "description": "Label to be used for aria-label and eventually as visual label",
633
+ "description": "Label to be used for aria-label and potentially as visual label for some components",
595
634
  "type": "string"
596
635
  }
597
636
  ],
@@ -1216,7 +1255,7 @@
1216
1255
  },
1217
1256
  {
1218
1257
  "name": "label",
1219
- "description": "Label to be used for aria-label and eventually as visual label",
1258
+ "description": "Label to be used for aria-label and potentially as visual label for some components",
1220
1259
  "type": "string"
1221
1260
  }
1222
1261
  ],
@@ -1312,7 +1351,7 @@
1312
1351
  {
1313
1352
  "name": "label",
1314
1353
  "attribute": "label",
1315
- "description": "Label to be used for aria-label and eventually as visual label",
1354
+ "description": "Label to be used for aria-label and potentially as visual label for some components",
1316
1355
  "type": "string"
1317
1356
  }
1318
1357
  ],
@@ -1748,7 +1787,7 @@
1748
1787
  },
1749
1788
  {
1750
1789
  "name": "label",
1751
- "description": "Label to be used for aria-label and eventually as visual label",
1790
+ "description": "Label to be used for aria-label and potentially as visual label for some components",
1752
1791
  "type": "string"
1753
1792
  }
1754
1793
  ],
@@ -1775,7 +1814,7 @@
1775
1814
  {
1776
1815
  "name": "label",
1777
1816
  "attribute": "label",
1778
- "description": "Label to be used for aria-label and eventually as visual label",
1817
+ "description": "Label to be used for aria-label and potentially as visual label for some components",
1779
1818
  "type": "string"
1780
1819
  }
1781
1820
  ],
@@ -2171,11 +2210,6 @@
2171
2210
  "type": "boolean",
2172
2211
  "default": "true"
2173
2212
  },
2174
- {
2175
- "name": "label",
2176
- "description": "Label for input element.",
2177
- "type": "string"
2178
- },
2179
2213
  {
2180
2214
  "name": "placeholder",
2181
2215
  "description": "Defines the input placeholder.",
@@ -2235,6 +2269,11 @@
2235
2269
  "description": "Custom error message.",
2236
2270
  "type": "string",
2237
2271
  "default": "\"This field is invalid\""
2272
+ },
2273
+ {
2274
+ "name": "label",
2275
+ "description": "Label to be used for aria-label and potentially as visual label for some components",
2276
+ "type": "string"
2238
2277
  }
2239
2278
  ],
2240
2279
  "properties": [
@@ -2290,12 +2329,6 @@
2290
2329
  "type": "boolean",
2291
2330
  "default": "true"
2292
2331
  },
2293
- {
2294
- "name": "label",
2295
- "attribute": "label",
2296
- "description": "Label for input element.",
2297
- "type": "string"
2298
- },
2299
2332
  {
2300
2333
  "name": "placeholder",
2301
2334
  "attribute": "placeholder",
@@ -2378,6 +2411,12 @@
2378
2411
  },
2379
2412
  {
2380
2413
  "name": "validationMessage"
2414
+ },
2415
+ {
2416
+ "name": "label",
2417
+ "attribute": "label",
2418
+ "description": "Label to be used for aria-label and potentially as visual label for some components",
2419
+ "type": "string"
2381
2420
  }
2382
2421
  ],
2383
2422
  "events": [
@@ -2395,10 +2434,6 @@
2395
2434
  }
2396
2435
  ],
2397
2436
  "slots": [
2398
- {
2399
- "name": "",
2400
- "description": "input label - for the input label text."
2401
- },
2402
2437
  {
2403
2438
  "name": "prepend",
2404
2439
  "description": "for components to render to the left of the input."
@@ -2406,6 +2441,10 @@
2406
2441
  {
2407
2442
  "name": "append",
2408
2443
  "description": "for components to render to the right of the input."
2444
+ },
2445
+ {
2446
+ "name": "",
2447
+ "description": "Override the default label"
2409
2448
  }
2410
2449
  ]
2411
2450
  },
@@ -2447,11 +2486,6 @@
2447
2486
  "type": "boolean",
2448
2487
  "default": "\"false\""
2449
2488
  },
2450
- {
2451
- "name": "label",
2452
- "description": "Label for input element.",
2453
- "type": "string"
2454
- },
2455
2489
  {
2456
2490
  "name": "placeholder",
2457
2491
  "description": "Defines the input placeholder.",
@@ -2511,6 +2545,11 @@
2511
2545
  "description": "Custom error message.",
2512
2546
  "type": "string",
2513
2547
  "default": "\"This field is invalid\""
2548
+ },
2549
+ {
2550
+ "name": "label",
2551
+ "description": "Label to be used for aria-label and potentially as visual label for some components",
2552
+ "type": "string"
2514
2553
  }
2515
2554
  ],
2516
2555
  "properties": [
@@ -2559,12 +2598,6 @@
2559
2598
  "type": "boolean",
2560
2599
  "default": "\"false\""
2561
2600
  },
2562
- {
2563
- "name": "label",
2564
- "attribute": "label",
2565
- "description": "Label for input element.",
2566
- "type": "string"
2567
- },
2568
2601
  {
2569
2602
  "name": "placeholder",
2570
2603
  "attribute": "placeholder",
@@ -2647,6 +2680,12 @@
2647
2680
  },
2648
2681
  {
2649
2682
  "name": "validationMessage"
2683
+ },
2684
+ {
2685
+ "name": "label",
2686
+ "attribute": "label",
2687
+ "description": "Label to be used for aria-label and potentially as visual label for some components",
2688
+ "type": "string"
2650
2689
  }
2651
2690
  ],
2652
2691
  "events": [
@@ -2664,10 +2703,6 @@
2664
2703
  }
2665
2704
  ],
2666
2705
  "slots": [
2667
- {
2668
- "name": "",
2669
- "description": "input label - for the input label text."
2670
- },
2671
2706
  {
2672
2707
  "name": "prepend",
2673
2708
  "description": "for components to render to the left of the input."
@@ -2675,6 +2710,10 @@
2675
2710
  {
2676
2711
  "name": "append",
2677
2712
  "description": "for components to render to the right of the input."
2713
+ },
2714
+ {
2715
+ "name": "",
2716
+ "description": "Override the default label"
2678
2717
  }
2679
2718
  ]
2680
2719
  },
@@ -2717,11 +2756,6 @@
2717
2756
  "type": "boolean",
2718
2757
  "default": "\"false\""
2719
2758
  },
2720
- {
2721
- "name": "label",
2722
- "description": "Label for input element.",
2723
- "type": "string"
2724
- },
2725
2759
  {
2726
2760
  "name": "placeholder",
2727
2761
  "description": "Defines the input placeholder.",
@@ -2781,6 +2815,11 @@
2781
2815
  "description": "Custom error message.",
2782
2816
  "type": "string",
2783
2817
  "default": "\"This field is invalid\""
2818
+ },
2819
+ {
2820
+ "name": "label",
2821
+ "description": "Label to be used for aria-label and potentially as visual label for some components",
2822
+ "type": "string"
2784
2823
  }
2785
2824
  ],
2786
2825
  "properties": [
@@ -2829,12 +2868,6 @@
2829
2868
  "type": "boolean",
2830
2869
  "default": "\"false\""
2831
2870
  },
2832
- {
2833
- "name": "label",
2834
- "attribute": "label",
2835
- "description": "Label for input element.",
2836
- "type": "string"
2837
- },
2838
2871
  {
2839
2872
  "name": "placeholder",
2840
2873
  "attribute": "placeholder",
@@ -2917,6 +2950,12 @@
2917
2950
  },
2918
2951
  {
2919
2952
  "name": "validationMessage"
2953
+ },
2954
+ {
2955
+ "name": "label",
2956
+ "attribute": "label",
2957
+ "description": "Label to be used for aria-label and potentially as visual label for some components",
2958
+ "type": "string"
2920
2959
  }
2921
2960
  ],
2922
2961
  "events": [
@@ -2934,10 +2973,6 @@
2934
2973
  }
2935
2974
  ],
2936
2975
  "slots": [
2937
- {
2938
- "name": "",
2939
- "description": "input label - for the input label text."
2940
- },
2941
2976
  {
2942
2977
  "name": "prepend",
2943
2978
  "description": "for components to render to the left of the input."
@@ -2945,6 +2980,10 @@
2945
2980
  {
2946
2981
  "name": "append",
2947
2982
  "description": "for components to render to the right of the input."
2983
+ },
2984
+ {
2985
+ "name": "",
2986
+ "description": "Override the default label"
2948
2987
  }
2949
2988
  ]
2950
2989
  },
@@ -3197,7 +3236,7 @@
3197
3236
  },
3198
3237
  {
3199
3238
  "name": "label",
3200
- "description": "Label to be used for aria-label and eventually as visual label",
3239
+ "description": "Label to be used for aria-label and potentially as visual label for some components",
3201
3240
  "type": "string"
3202
3241
  }
3203
3242
  ],
@@ -3278,7 +3317,7 @@
3278
3317
  {
3279
3318
  "name": "label",
3280
3319
  "attribute": "label",
3281
- "description": "Label to be used for aria-label and eventually as visual label",
3320
+ "description": "Label to be used for aria-label and potentially as visual label for some components",
3282
3321
  "type": "string"
3283
3322
  }
3284
3323
  ],
@@ -5214,7 +5253,7 @@
5214
5253
  {
5215
5254
  "name": "uui-symbol-expand",
5216
5255
  "path": "./../uui-symbol-expand/lib/uui-symbol-expand.element.ts",
5217
- "description": "A symbol indicating weather related composition is expanded or collapsed",
5256
+ "description": "A symbol indicating whether related composition is expanded or collapsed",
5218
5257
  "attributes": [
5219
5258
  {
5220
5259
  "name": "open",
@@ -5508,6 +5547,16 @@
5508
5547
  "name": "",
5509
5548
  "description": "slot for table cell content"
5510
5549
  }
5550
+ ],
5551
+ "cssProperties": [
5552
+ {
5553
+ "name": "--uui-table-cell-padding",
5554
+ "description": "overwrite the table cell padding"
5555
+ },
5556
+ {
5557
+ "name": "--uui-table-cell-height",
5558
+ "description": "overwrite the table cell height"
5559
+ }
5511
5560
  ]
5512
5561
  },
5513
5562
  {
@@ -5579,6 +5628,16 @@
5579
5628
  "name": "",
5580
5629
  "description": "slot for table cell content"
5581
5630
  }
5631
+ ],
5632
+ "cssProperties": [
5633
+ {
5634
+ "name": "--uui-table-cell-padding",
5635
+ "description": "overwrite the table cell padding"
5636
+ },
5637
+ {
5638
+ "name": "--uui-table-cell-height",
5639
+ "description": "overwrite the table cell height"
5640
+ }
5582
5641
  ]
5583
5642
  },
5584
5643
  {
@@ -5662,6 +5721,12 @@
5662
5721
  "name": "",
5663
5722
  "description": "for <uui-table-cell> elements that should be in the row."
5664
5723
  }
5724
+ ],
5725
+ "cssProperties": [
5726
+ {
5727
+ "name": "--uui-table-row-color-selected",
5728
+ "description": "overwrite the color of the selected row"
5729
+ }
5665
5730
  ]
5666
5731
  },
5667
5732
  {
@@ -5710,6 +5775,18 @@
5710
5775
  "type": "boolean",
5711
5776
  "default": "\"false\""
5712
5777
  },
5778
+ {
5779
+ "name": "href",
5780
+ "description": "Set an href, this will turns the inner button into a anchor tag.",
5781
+ "type": "string",
5782
+ "default": "\"undefined\""
5783
+ },
5784
+ {
5785
+ "name": "target",
5786
+ "description": "Set an anchor tag target, only used when using href.",
5787
+ "type": "string",
5788
+ "default": "\"undefined\""
5789
+ },
5713
5790
  {
5714
5791
  "name": "active",
5715
5792
  "description": "Set this boolean to true for then the related composition is sorted.",
@@ -5718,7 +5795,7 @@
5718
5795
  },
5719
5796
  {
5720
5797
  "name": "label",
5721
- "description": "Label to be used for aria-label and eventually as visual label",
5798
+ "description": "Label to be used for aria-label and potentially as visual label for some components",
5722
5799
  "type": "string"
5723
5800
  }
5724
5801
  ],
@@ -5735,6 +5812,20 @@
5735
5812
  "type": "boolean",
5736
5813
  "default": "\"false\""
5737
5814
  },
5815
+ {
5816
+ "name": "href",
5817
+ "attribute": "href",
5818
+ "description": "Set an href, this will turns the inner button into a anchor tag.",
5819
+ "type": "string",
5820
+ "default": "\"undefined\""
5821
+ },
5822
+ {
5823
+ "name": "target",
5824
+ "attribute": "target",
5825
+ "description": "Set an anchor tag target, only used when using href.",
5826
+ "type": "string",
5827
+ "default": "\"undefined\""
5828
+ },
5738
5829
  {
5739
5830
  "name": "active",
5740
5831
  "attribute": "active",
@@ -5745,11 +5836,23 @@
5745
5836
  {
5746
5837
  "name": "label",
5747
5838
  "attribute": "label",
5748
- "description": "Label to be used for aria-label and eventually as visual label",
5839
+ "description": "Label to be used for aria-label and potentially as visual label for some components",
5749
5840
  "type": "string"
5750
5841
  }
5751
5842
  ],
5752
5843
  "slots": [
5844
+ {
5845
+ "name": "default",
5846
+ "description": "for label"
5847
+ },
5848
+ {
5849
+ "name": "icon",
5850
+ "description": "for icon"
5851
+ },
5852
+ {
5853
+ "name": "extra",
5854
+ "description": "for extra"
5855
+ },
5753
5856
  {
5754
5857
  "name": "",
5755
5858
  "description": "Override the default label"
@@ -5789,6 +5892,18 @@
5789
5892
  "type": "boolean",
5790
5893
  "default": "\"false\""
5791
5894
  },
5895
+ {
5896
+ "name": "href",
5897
+ "description": "Set an href, this will turns the inner button into a anchor tag.",
5898
+ "type": "string",
5899
+ "default": "\"undefined\""
5900
+ },
5901
+ {
5902
+ "name": "target",
5903
+ "description": "Set an anchor tag target, only used when using href.",
5904
+ "type": "string",
5905
+ "default": "\"undefined\""
5906
+ },
5792
5907
  {
5793
5908
  "name": "active",
5794
5909
  "description": "Set this boolean to true for then the related composition is sorted.",
@@ -5797,7 +5912,7 @@
5797
5912
  },
5798
5913
  {
5799
5914
  "name": "label",
5800
- "description": "Label to be used for aria-label and eventually as visual label",
5915
+ "description": "Label to be used for aria-label and potentially as visual label for some components",
5801
5916
  "type": "string"
5802
5917
  }
5803
5918
  ],
@@ -5814,6 +5929,20 @@
5814
5929
  "type": "boolean",
5815
5930
  "default": "\"false\""
5816
5931
  },
5932
+ {
5933
+ "name": "href",
5934
+ "attribute": "href",
5935
+ "description": "Set an href, this will turns the inner button into a anchor tag.",
5936
+ "type": "string",
5937
+ "default": "\"undefined\""
5938
+ },
5939
+ {
5940
+ "name": "target",
5941
+ "attribute": "target",
5942
+ "description": "Set an anchor tag target, only used when using href.",
5943
+ "type": "string",
5944
+ "default": "\"undefined\""
5945
+ },
5817
5946
  {
5818
5947
  "name": "active",
5819
5948
  "attribute": "active",
@@ -5824,11 +5953,23 @@
5824
5953
  {
5825
5954
  "name": "label",
5826
5955
  "attribute": "label",
5827
- "description": "Label to be used for aria-label and eventually as visual label",
5956
+ "description": "Label to be used for aria-label and potentially as visual label for some components",
5828
5957
  "type": "string"
5829
5958
  }
5830
5959
  ],
5831
5960
  "slots": [
5961
+ {
5962
+ "name": "default",
5963
+ "description": "for label"
5964
+ },
5965
+ {
5966
+ "name": "icon",
5967
+ "description": "for icon"
5968
+ },
5969
+ {
5970
+ "name": "extra",
5971
+ "description": "for extra"
5972
+ },
5832
5973
  {
5833
5974
  "name": "",
5834
5975
  "description": "Override the default label"
@@ -5863,9 +6004,15 @@
5863
6004
  "attributes": [
5864
6005
  {
5865
6006
  "name": "color",
5866
- "description": "Defines the color of the tag.",
5867
- "type": "string",
5868
- "default": "\"primary\""
6007
+ "description": "Changes the look of the button to one of the predefined, symbolic looks. For example - set this to positive if you want nice, green \"confirm\" button.",
6008
+ "type": "\"default\" | \"positive\" | \"warning\" | \"danger\"",
6009
+ "default": "\"\\\"default\\\"\""
6010
+ },
6011
+ {
6012
+ "name": "look",
6013
+ "description": "Changes the look of the button to one of the predefined, symbolic looks. For example - set this to positive if you want nice, green \"confirm\" button.",
6014
+ "type": "\"default\" | \"primary\" | \"secondary\" | \"outline\" | \"placeholder\"",
6015
+ "default": "\"\\\"default\\\"\""
5869
6016
  }
5870
6017
  ],
5871
6018
  "properties": [
@@ -5877,9 +6024,16 @@
5877
6024
  {
5878
6025
  "name": "color",
5879
6026
  "attribute": "color",
5880
- "description": "Defines the color of the tag.",
5881
- "type": "string",
5882
- "default": "\"primary\""
6027
+ "description": "Changes the look of the button to one of the predefined, symbolic looks. For example - set this to positive if you want nice, green \"confirm\" button.",
6028
+ "type": "\"default\" | \"positive\" | \"warning\" | \"danger\"",
6029
+ "default": "\"\\\"default\\\"\""
6030
+ },
6031
+ {
6032
+ "name": "look",
6033
+ "attribute": "look",
6034
+ "description": "Changes the look of the button to one of the predefined, symbolic looks. For example - set this to positive if you want nice, green \"confirm\" button.",
6035
+ "type": "\"default\" | \"primary\" | \"secondary\" | \"outline\" | \"placeholder\"",
6036
+ "default": "\"\\\"default\\\"\""
5883
6037
  }
5884
6038
  ],
5885
6039
  "slots": [
@@ -6224,8 +6378,8 @@
6224
6378
  "attributes": [
6225
6379
  {
6226
6380
  "name": "color",
6227
- "description": "Changes the look of the notification to one of the predefined, symbolic looks. Example set this to danger for errors.",
6228
- "type": "\"\"|\"primary\"|\"positive\"|\"warning\"|\"danger\"",
6381
+ "description": "Changes the color of the notification to one of the predefined, symbolic colors. Example: set this to danger to indicate errors.",
6382
+ "type": "'' | 'default' | 'positive' | 'warning' | 'danger'",
6229
6383
  "default": "\"\\\"\\\"\""
6230
6384
  },
6231
6385
  {
@@ -6250,8 +6404,8 @@
6250
6404
  {
6251
6405
  "name": "color",
6252
6406
  "attribute": "color",
6253
- "description": "Changes the look of the notification to one of the predefined, symbolic looks. Example set this to danger for errors.",
6254
- "type": "\"\"|\"primary\"|\"positive\"|\"warning\"|\"danger\"",
6407
+ "description": "Changes the color of the notification to one of the predefined, symbolic colors. Example: set this to danger to indicate errors.",
6408
+ "type": "'' | 'default' | 'positive' | 'warning' | 'danger'",
6255
6409
  "default": "\"\\\"\\\"\""
6256
6410
  },
6257
6411
  {
@@ -6361,7 +6515,7 @@
6361
6515
  },
6362
6516
  {
6363
6517
  "name": "label",
6364
- "description": "Label to be used for aria-label and eventually as visual label",
6518
+ "description": "Label to be used for aria-label and potentially as visual label for some components",
6365
6519
  "type": "string"
6366
6520
  }
6367
6521
  ],
@@ -6457,7 +6611,7 @@
6457
6611
  {
6458
6612
  "name": "label",
6459
6613
  "attribute": "label",
6460
- "description": "Label to be used for aria-label and eventually as visual label",
6614
+ "description": "Label to be used for aria-label and potentially as visual label for some components",
6461
6615
  "type": "string"
6462
6616
  }
6463
6617
  ],