@umbraco-ui/uui 0.2.2 → 1.0.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.
@@ -128,11 +128,17 @@
128
128
  "path": "./../uui-badge/lib/uui-badge.element.ts",
129
129
  "description": "A badge to notify that there is something that requires attention of the user. The badge is positioned with `position: absolute`. It will determine its position against the first ancestor with `position: relative`.",
130
130
  "attributes": [
131
+ {
132
+ "name": "color",
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
+ },
131
137
  {
132
138
  "name": "look",
133
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.",
134
- "type": "\"\"|\"primary\"|\"secondary\"|\"outline\"|\"placeholder\"|\"positive\"|\"warning\"|\"danger\"",
135
- "default": "\"danger\""
140
+ "type": "\"default\" | \"primary\" | \"secondary\" | \"outline\" | \"placeholder\"",
141
+ "default": "\"\\\"default\\\"\""
136
142
  },
137
143
  {
138
144
  "name": "attention",
@@ -147,12 +153,19 @@
147
153
  "type": "CSSResult[]",
148
154
  "default": "[null]"
149
155
  },
156
+ {
157
+ "name": "color",
158
+ "attribute": "color",
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
+ },
150
163
  {
151
164
  "name": "look",
152
165
  "attribute": "look",
153
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.",
154
- "type": "\"\"|\"primary\"|\"secondary\"|\"outline\"|\"placeholder\"|\"positive\"|\"warning\"|\"danger\"",
155
- "default": "\"danger\""
167
+ "type": "\"default\" | \"primary\" | \"secondary\" | \"outline\" | \"placeholder\"",
168
+ "default": "\"\\\"default\\\"\""
156
169
  },
157
170
  {
158
171
  "name": "attention",
@@ -409,8 +422,14 @@
409
422
  {
410
423
  "name": "look",
411
424
  "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.",
412
- "type": "\"\"|\"primary\"|\"secondary\"|\"outline\"|\"placeholder\"|\"positive\"|\"warning\"|\"danger\"",
413
- "default": "\"\\\"\\\"\""
425
+ "type": "\"default\" | \"primary\" | \"secondary\" | \"outline\" | \"placeholder\"",
426
+ "default": "\"\\\"default\\\"\""
427
+ },
428
+ {
429
+ "name": "color",
430
+ "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.",
431
+ "type": "\"default\" | \"positive\" | \"warning\" | \"danger\"",
432
+ "default": "\"\\\"default\\\"\""
414
433
  },
415
434
  {
416
435
  "name": "compact",
@@ -424,6 +443,18 @@
424
443
  "type": "undefined |'waiting' | 'success' | 'failed'",
425
444
  "default": "\"undefined\""
426
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
+ },
427
458
  {
428
459
  "name": "name",
429
460
  "description": "This is a name property of the component.",
@@ -496,8 +527,15 @@
496
527
  "name": "look",
497
528
  "attribute": "look",
498
529
  "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.",
499
- "type": "\"\"|\"primary\"|\"secondary\"|\"outline\"|\"placeholder\"|\"positive\"|\"warning\"|\"danger\"",
500
- "default": "\"\\\"\\\"\""
530
+ "type": "\"default\" | \"primary\" | \"secondary\" | \"outline\" | \"placeholder\"",
531
+ "default": "\"\\\"default\\\"\""
532
+ },
533
+ {
534
+ "name": "color",
535
+ "attribute": "color",
536
+ "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.",
537
+ "type": "\"default\" | \"positive\" | \"warning\" | \"danger\"",
538
+ "default": "\"\\\"default\\\"\""
501
539
  },
502
540
  {
503
541
  "name": "compact",
@@ -513,6 +551,20 @@
513
551
  "type": "undefined |'waiting' | 'success' | 'failed'",
514
552
  "default": "\"undefined\""
515
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
+ },
516
568
  {
517
569
  "name": "formAssociated",
518
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/",
@@ -5201,7 +5253,7 @@
5201
5253
  {
5202
5254
  "name": "uui-symbol-expand",
5203
5255
  "path": "./../uui-symbol-expand/lib/uui-symbol-expand.element.ts",
5204
- "description": "A symbol indicating weather related composition is expanded or collapsed",
5256
+ "description": "A symbol indicating whether related composition is expanded or collapsed",
5205
5257
  "attributes": [
5206
5258
  {
5207
5259
  "name": "open",
@@ -5495,6 +5547,16 @@
5495
5547
  "name": "",
5496
5548
  "description": "slot for table cell content"
5497
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
+ }
5498
5560
  ]
5499
5561
  },
5500
5562
  {
@@ -5566,6 +5628,16 @@
5566
5628
  "name": "",
5567
5629
  "description": "slot for table cell content"
5568
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
+ }
5569
5641
  ]
5570
5642
  },
5571
5643
  {
@@ -5649,6 +5721,12 @@
5649
5721
  "name": "",
5650
5722
  "description": "for <uui-table-cell> elements that should be in the row."
5651
5723
  }
5724
+ ],
5725
+ "cssProperties": [
5726
+ {
5727
+ "name": "--uui-table-row-color-selected",
5728
+ "description": "overwrite the color of the selected row"
5729
+ }
5652
5730
  ]
5653
5731
  },
5654
5732
  {
@@ -5697,6 +5775,18 @@
5697
5775
  "type": "boolean",
5698
5776
  "default": "\"false\""
5699
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
+ },
5700
5790
  {
5701
5791
  "name": "active",
5702
5792
  "description": "Set this boolean to true for then the related composition is sorted.",
@@ -5722,6 +5812,20 @@
5722
5812
  "type": "boolean",
5723
5813
  "default": "\"false\""
5724
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
+ },
5725
5829
  {
5726
5830
  "name": "active",
5727
5831
  "attribute": "active",
@@ -5737,6 +5841,18 @@
5737
5841
  }
5738
5842
  ],
5739
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
+ },
5740
5856
  {
5741
5857
  "name": "",
5742
5858
  "description": "Override the default label"
@@ -5776,6 +5892,18 @@
5776
5892
  "type": "boolean",
5777
5893
  "default": "\"false\""
5778
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
+ },
5779
5907
  {
5780
5908
  "name": "active",
5781
5909
  "description": "Set this boolean to true for then the related composition is sorted.",
@@ -5801,6 +5929,20 @@
5801
5929
  "type": "boolean",
5802
5930
  "default": "\"false\""
5803
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
+ },
5804
5946
  {
5805
5947
  "name": "active",
5806
5948
  "attribute": "active",
@@ -5816,6 +5958,18 @@
5816
5958
  }
5817
5959
  ],
5818
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
+ },
5819
5973
  {
5820
5974
  "name": "",
5821
5975
  "description": "Override the default label"
@@ -5848,11 +6002,17 @@
5848
6002
  "name": "uui-tag",
5849
6003
  "path": "./../uui-tag/lib/uui-tag.element.ts",
5850
6004
  "attributes": [
6005
+ {
6006
+ "name": "color",
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
+ },
5851
6011
  {
5852
6012
  "name": "look",
5853
- "description": "Defines the look of the tag.",
5854
- "type": "InterfaceLookType",
5855
- "default": "\"\""
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\\\"\""
5856
6016
  }
5857
6017
  ],
5858
6018
  "properties": [
@@ -5861,12 +6021,19 @@
5861
6021
  "type": "CSSResult[]",
5862
6022
  "default": "[null]"
5863
6023
  },
6024
+ {
6025
+ "name": "color",
6026
+ "attribute": "color",
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
+ },
5864
6031
  {
5865
6032
  "name": "look",
5866
6033
  "attribute": "look",
5867
- "description": "Defines the look of the tag.",
5868
- "type": "InterfaceLookType",
5869
- "default": "\"\""
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\\\"\""
5870
6037
  }
5871
6038
  ],
5872
6039
  "slots": [
@@ -6210,9 +6377,9 @@
6210
6377
  "path": "./../uui-toast-notification/lib/uui-toast-notification.element.ts",
6211
6378
  "attributes": [
6212
6379
  {
6213
- "name": "look",
6380
+ "name": "color",
6214
6381
  "description": "Changes the look of the notification to one of the predefined, symbolic looks. Example set this to danger for errors.",
6215
- "type": "\"\"|\"primary\"|\"positive\"|\"warning\"|\"danger\"",
6382
+ "type": "\"\"|\"default\"|\"primary\"|\"positive\"|\"warning\"|\"danger\"",
6216
6383
  "default": "\"\\\"\\\"\""
6217
6384
  },
6218
6385
  {
@@ -6235,10 +6402,10 @@
6235
6402
  "default": "[\"UUITextStyles\",null]"
6236
6403
  },
6237
6404
  {
6238
- "name": "look",
6239
- "attribute": "look",
6405
+ "name": "color",
6406
+ "attribute": "color",
6240
6407
  "description": "Changes the look of the notification to one of the predefined, symbolic looks. Example set this to danger for errors.",
6241
- "type": "\"\"|\"primary\"|\"positive\"|\"warning\"|\"danger\"",
6408
+ "type": "\"\"|\"default\"|\"primary\"|\"positive\"|\"warning\"|\"danger\"",
6242
6409
  "default": "\"\\\"\\\"\""
6243
6410
  },
6244
6411
  {