@cscfi/csc-ui 4.0.0-rc.2 → 4.0.0-rc.3

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.
Files changed (46) hide show
  1. package/dist/csc-ui.js +6496 -6443
  2. package/dist/custom-elements.json +579 -23
  3. package/dist/docs/c-button/usage.md +15 -2
  4. package/dist/docs/c-card/usage.md +2 -2
  5. package/dist/docs/c-checkbox/usage.md +1 -1
  6. package/dist/docs/c-icon-button/usage.md +3 -2
  7. package/dist/docs/c-link/usage.md +1 -1
  8. package/dist/docs/c-loader/usage.md +3 -2
  9. package/dist/docs/c-otp-input/usage.md +1 -1
  10. package/dist/docs/c-radio-group/usage.md +1 -1
  11. package/dist/docs/c-side-navigation/usage.md +6 -6
  12. package/dist/docs/c-side-navigation-item/usage.md +1 -1
  13. package/dist/docs/c-slider/usage.md +10 -3
  14. package/dist/docs/c-spinner/usage.md +2 -2
  15. package/dist/docs/c-sub-navigation-item/usage.md +1 -1
  16. package/dist/docs/c-toasts/usage.md +7 -3
  17. package/dist/vscode.css-custom-data.json +12 -12
  18. package/dist/vscode.html-custom-data.json +178 -46
  19. package/dist/web-types.json +2090 -496
  20. package/dist-types/components/c-autocomplete/CAutocomplete.vue.d.ts +9 -0
  21. package/dist-types/components/c-button/CButton.vue.d.ts +22 -4
  22. package/dist-types/components/c-card/CCard.vue.d.ts +8 -0
  23. package/dist-types/components/c-checkbox/CCheckbox.vue.d.ts +8 -0
  24. package/dist-types/components/c-color-picker/CColorPicker.vue.d.ts +9 -0
  25. package/dist-types/components/c-date-picker/CDatePicker.vue.d.ts +9 -0
  26. package/dist-types/components/c-file-upload/CFileUpload.vue.d.ts +9 -0
  27. package/dist-types/components/c-icon-button/CIconButton.vue.d.ts +23 -4
  28. package/dist-types/components/c-loader/CLoader.vue.d.ts +7 -0
  29. package/dist-types/components/c-number-field/CNumberField.vue.d.ts +9 -0
  30. package/dist-types/components/c-otp-input/COtpInput.vue.d.ts +8 -0
  31. package/dist-types/components/c-radio-group/CRadioGroup.vue.d.ts +8 -0
  32. package/dist-types/components/c-select/CSelect.vue.d.ts +9 -0
  33. package/dist-types/components/c-side-navigation-item/CSideNavigationItem.vue.d.ts +16 -0
  34. package/dist-types/components/c-slider/CSlider.vue.d.ts +8 -0
  35. package/dist-types/components/c-spinner/CSpinner.vue.d.ts +7 -0
  36. package/dist-types/components/c-step/CStep.vue.d.ts +1 -1
  37. package/dist-types/components/c-sub-navigation-item/CSubNavigationItem.vue.d.ts +9 -0
  38. package/dist-types/components/c-text-field/CTextField.vue.d.ts +9 -0
  39. package/dist-types/components/c-time-picker/CTimePicker.vue.d.ts +9 -0
  40. package/dist-types/components/c-toasts/CToasts.vue.d.ts +26 -0
  41. package/dist-types/components/c-tree-select/CTreeSelect.vue.d.ts +9 -0
  42. package/dist-types/index.d.ts +3 -3
  43. package/dist-types/shared/appDefaults.d.ts +8 -1
  44. package/dist-types/shared/buttonAppearance.d.ts +20 -0
  45. package/dist-types/tag-name-map.d.ts +281 -70
  46. package/package.json +1 -1
@@ -82,6 +82,13 @@
82
82
  "name": "CBreadcrumbTexts",
83
83
  "owner": "c-breadcrumb"
84
84
  },
85
+ {
86
+ "declaration": "export type CButtonAppearance = 'filled' | 'ghost' | 'outlined' | 'text';",
87
+ "description": "How strongly a button reads: `filled` for the main action, then\n`outlined`, `ghost` and `text`, each lighter than the last.",
88
+ "kind": "type-alias",
89
+ "name": "CButtonAppearance",
90
+ "owner": "c-button"
91
+ },
85
92
  {
86
93
  "declaration": "export type CButtonSize = 'default' | 'large' | 'small';",
87
94
  "description": "Size of the button.",
@@ -341,6 +348,13 @@
341
348
  "name": "CFileUploadTexts",
342
349
  "owner": "c-file-upload"
343
350
  },
351
+ {
352
+ "declaration": "export type CIconButtonAppearance = 'filled' | 'ghost' | 'outlined' | 'text';",
353
+ "description": "How strongly an icon button reads: `filled` for the main action, then\n`outlined`, `ghost` and `text`, each lighter than the last — `c-button`'s\nappearances.",
354
+ "kind": "type-alias",
355
+ "name": "CIconButtonAppearance",
356
+ "owner": "c-icon-button"
357
+ },
344
358
  {
345
359
  "declaration": "export type CIconButtonSize = 'default' | 'small' | 'x-small';",
346
360
  "description": "Size of the icon button. `small` and `x-small` render progressively more\ncompact buttons; omitting the attribute renders the default size.",
@@ -523,6 +537,13 @@
523
537
  "name": "CToastsHorizontal",
524
538
  "owner": "c-toasts"
525
539
  },
540
+ {
541
+ "declaration": "export type CToastsPosition =\n | 'bottom-end'\n | 'bottom-start'\n | 'bottom'\n | 'top-end'\n | 'top-start'\n | 'top';",
542
+ "description": "Where the toast stack sits: the edge it is anchored to, then its\nalignment along it — `start` is the left, `end` the right — or centred.",
543
+ "kind": "type-alias",
544
+ "name": "CToastsPosition",
545
+ "owner": "c-toasts"
546
+ },
526
547
  {
527
548
  "declaration": "export type CToastsVertical = 'bottom' | 'top';",
528
549
  "description": "Vertical placement of the toast stack.",
@@ -1059,6 +1080,19 @@
1059
1080
  "fieldName": "hideDetails",
1060
1081
  "name": "hide-details",
1061
1082
  "description": "Hide the hint and error messages",
1083
+ "deprecated": "Use `hide-message`.",
1084
+ "type": {
1085
+ "text": "boolean"
1086
+ },
1087
+ "default": "false",
1088
+ "csc": {
1089
+ "defaultable": true
1090
+ }
1091
+ },
1092
+ {
1093
+ "fieldName": "hideMessage",
1094
+ "name": "hide-message",
1095
+ "description": "Hide the message line — the hint and error messages under the field —\nand the room it keeps.",
1062
1096
  "type": {
1063
1097
  "text": "boolean"
1064
1098
  },
@@ -1303,7 +1337,7 @@
1303
1337
  },
1304
1338
  {
1305
1339
  "name": "message",
1306
- "description": "The hint / error message area below the field (always reserved unless `hide-details`)"
1340
+ "description": "The hint / error message area below the field (always reserved unless `hide-message`)"
1307
1341
  }
1308
1342
  ],
1309
1343
  "cssProperties": [],
@@ -1396,6 +1430,20 @@
1396
1430
  "name": "hideDetails",
1397
1431
  "privacy": "public",
1398
1432
  "description": "Hide the hint and error messages",
1433
+ "deprecated": "Use `hide-message`.",
1434
+ "type": {
1435
+ "text": "boolean"
1436
+ },
1437
+ "default": "false",
1438
+ "csc": {
1439
+ "defaultable": true
1440
+ }
1441
+ },
1442
+ {
1443
+ "kind": "field",
1444
+ "name": "hideMessage",
1445
+ "privacy": "public",
1446
+ "description": "Hide the message line — the hint and error messages under the field —\nand the room it keeps.",
1399
1447
  "type": {
1400
1448
  "text": "boolean"
1401
1449
  },
@@ -1932,7 +1980,7 @@
1932
1980
  "kind": "class",
1933
1981
  "name": "CButton",
1934
1982
  "tagName": "c-button",
1935
- "description": "Buttons trigger actions — submitting a form, opening a modal, confirming a choice. Use one primary (default appearance) button per view; secondary actions use the `outlined`, `ghost` or `text` appearances.",
1983
+ "description": "Buttons trigger actions — submitting a form, opening a modal, confirming a choice. Use one primary (filled, the default `appearance`) button per view; secondary actions use `appearance=\"outlined\"`, `\"ghost\"` or `\"text\"`.",
1936
1984
  "csc": {
1937
1985
  "usage": "docs/c-button/usage.md"
1938
1986
  },
@@ -1945,10 +1993,21 @@
1945
1993
  "text": "boolean"
1946
1994
  }
1947
1995
  },
1996
+ {
1997
+ "fieldName": "appearance",
1998
+ "name": "appearance",
1999
+ "description": "The button's look: `filled` (unless set) for the main action of a view;\n`outlined` (a primary outline, no fill), `ghost` (a light primary tint)\nor `text` (no fill or outline) for lower emphasis.",
2000
+ "type": {
2001
+ "text": "'filled' | 'ghost' | 'outlined' | 'text'"
2002
+ },
2003
+ "csc": {
2004
+ "typeAlias": "CButtonAppearance"
2005
+ }
2006
+ },
1948
2007
  {
1949
2008
  "fieldName": "danger",
1950
2009
  "name": "danger",
1951
- "description": "Danger appearance for a destructive action: the filled button in the error\ncolour; no effect on `outlined`, `ghost` or `text`.",
2010
+ "description": "Danger look for a destructive action: the filled button in the error\ncolour; no effect on the `outlined`, `ghost` or `text` appearance.",
1952
2011
  "type": {
1953
2012
  "text": "boolean"
1954
2013
  },
@@ -1976,6 +2035,7 @@
1976
2035
  "fieldName": "ghost",
1977
2036
  "name": "ghost",
1978
2037
  "description": "Ghost appearance: primary text on a light primary tint, for lower emphasis.",
2038
+ "deprecated": "Use `appearance=\"ghost\"`.",
1979
2039
  "type": {
1980
2040
  "text": "boolean"
1981
2041
  },
@@ -1996,7 +2056,7 @@
1996
2056
  {
1997
2057
  "fieldName": "inverted",
1998
2058
  "name": "inverted",
1999
- "description": "Inverted colours for a fixed dark or brand-coloured backdrop: the\n`inverse-*` family, the same in both theme modes. Combines with the other\nappearances.",
2059
+ "description": "Inverted colours for a fixed dark or brand-coloured backdrop: the\n`inverse-*` family, the same in both theme modes. Combines with every\nappearance.",
2000
2060
  "type": {
2001
2061
  "text": "boolean"
2002
2062
  },
@@ -2024,6 +2084,7 @@
2024
2084
  "fieldName": "outlined",
2025
2085
  "name": "outlined",
2026
2086
  "description": "Outlined appearance: a primary outline and text with no fill, for lower\nemphasis.",
2087
+ "deprecated": "Use `appearance=\"outlined\"`.",
2027
2088
  "type": {
2028
2089
  "text": "boolean"
2029
2090
  },
@@ -2057,6 +2118,7 @@
2057
2118
  "fieldName": "text",
2058
2119
  "name": "text",
2059
2120
  "description": "Text appearance: primary text with no fill or outline, the lightest look.",
2121
+ "deprecated": "Use `appearance=\"text\"`.",
2060
2122
  "type": {
2061
2123
  "text": "boolean"
2062
2124
  },
@@ -2110,11 +2172,23 @@
2110
2172
  "text": "boolean"
2111
2173
  }
2112
2174
  },
2175
+ {
2176
+ "kind": "field",
2177
+ "name": "appearance",
2178
+ "privacy": "public",
2179
+ "description": "The button's look: `filled` (unless set) for the main action of a view;\n`outlined` (a primary outline, no fill), `ghost` (a light primary tint)\nor `text` (no fill or outline) for lower emphasis.",
2180
+ "type": {
2181
+ "text": "'filled' | 'ghost' | 'outlined' | 'text'"
2182
+ },
2183
+ "csc": {
2184
+ "typeAlias": "CButtonAppearance"
2185
+ }
2186
+ },
2113
2187
  {
2114
2188
  "kind": "field",
2115
2189
  "name": "danger",
2116
2190
  "privacy": "public",
2117
- "description": "Danger appearance for a destructive action: the filled button in the error\ncolour; no effect on `outlined`, `ghost` or `text`.",
2191
+ "description": "Danger look for a destructive action: the filled button in the error\ncolour; no effect on the `outlined`, `ghost` or `text` appearance.",
2118
2192
  "type": {
2119
2193
  "text": "boolean"
2120
2194
  },
@@ -2145,6 +2219,7 @@
2145
2219
  "name": "ghost",
2146
2220
  "privacy": "public",
2147
2221
  "description": "Ghost appearance: primary text on a light primary tint, for lower emphasis.",
2222
+ "deprecated": "Use `appearance=\"ghost\"`.",
2148
2223
  "type": {
2149
2224
  "text": "boolean"
2150
2225
  },
@@ -2167,7 +2242,7 @@
2167
2242
  "kind": "field",
2168
2243
  "name": "inverted",
2169
2244
  "privacy": "public",
2170
- "description": "Inverted colours for a fixed dark or brand-coloured backdrop: the\n`inverse-*` family, the same in both theme modes. Combines with the other\nappearances.",
2245
+ "description": "Inverted colours for a fixed dark or brand-coloured backdrop: the\n`inverse-*` family, the same in both theme modes. Combines with every\nappearance.",
2171
2246
  "type": {
2172
2247
  "text": "boolean"
2173
2248
  },
@@ -2198,6 +2273,7 @@
2198
2273
  "name": "outlined",
2199
2274
  "privacy": "public",
2200
2275
  "description": "Outlined appearance: a primary outline and text with no fill, for lower\nemphasis.",
2276
+ "deprecated": "Use `appearance=\"outlined\"`.",
2201
2277
  "type": {
2202
2278
  "text": "boolean"
2203
2279
  },
@@ -2234,6 +2310,7 @@
2234
2310
  "name": "text",
2235
2311
  "privacy": "public",
2236
2312
  "description": "Text appearance: primary text with no fill or outline, the lightest look.",
2313
+ "deprecated": "Use `appearance=\"text\"`.",
2237
2314
  "type": {
2238
2315
  "text": "boolean"
2239
2316
  },
@@ -2553,10 +2630,19 @@
2553
2630
  "fieldName": "fullscreen",
2554
2631
  "name": "fullscreen",
2555
2632
  "description": "Shows a toggle button in the card's top-right corner that puts the card\nin the browser's fullscreen mode and back.",
2633
+ "deprecated": "Use `show-fullscreen`.",
2556
2634
  "type": {
2557
2635
  "text": "boolean"
2558
2636
  },
2559
2637
  "default": "false"
2638
+ },
2639
+ {
2640
+ "fieldName": "showFullscreen",
2641
+ "name": "show-fullscreen",
2642
+ "description": "Show a toggle button in the card's top-right corner that puts the card\nin the browser's fullscreen mode and back.",
2643
+ "type": {
2644
+ "text": "boolean"
2645
+ }
2560
2646
  }
2561
2647
  ],
2562
2648
  "cssParts": [
@@ -2566,7 +2652,7 @@
2566
2652
  },
2567
2653
  {
2568
2654
  "name": "fullscreen-toggle",
2569
- "description": "The round fullscreen toggle button, shown when `fullscreen` is set"
2655
+ "description": "The round fullscreen toggle button, shown when `show-fullscreen` is set"
2570
2656
  }
2571
2657
  ],
2572
2658
  "cssProperties": [],
@@ -2578,11 +2664,21 @@
2578
2664
  "name": "fullscreen",
2579
2665
  "privacy": "public",
2580
2666
  "description": "Shows a toggle button in the card's top-right corner that puts the card\nin the browser's fullscreen mode and back.",
2667
+ "deprecated": "Use `show-fullscreen`.",
2581
2668
  "type": {
2582
2669
  "text": "boolean"
2583
2670
  },
2584
2671
  "default": "false"
2585
2672
  },
2673
+ {
2674
+ "kind": "field",
2675
+ "name": "showFullscreen",
2676
+ "privacy": "public",
2677
+ "description": "Show a toggle button in the card's top-right corner that puts the card\nin the browser's fullscreen mode and back.",
2678
+ "type": {
2679
+ "text": "boolean"
2680
+ }
2681
+ },
2586
2682
  {
2587
2683
  "kind": "method",
2588
2684
  "name": "enterFullscreen",
@@ -2936,11 +3032,20 @@
2936
3032
  "fieldName": "hideDetails",
2937
3033
  "name": "hide-details",
2938
3034
  "description": "Hide the hint and error messages",
3035
+ "deprecated": "Use `hide-message`.",
2939
3036
  "type": {
2940
3037
  "text": "boolean"
2941
3038
  },
2942
3039
  "default": "false"
2943
3040
  },
3041
+ {
3042
+ "fieldName": "hideMessage",
3043
+ "name": "hide-message",
3044
+ "description": "Hide the message line — the hint and error messages under the field —\nand the room it keeps.",
3045
+ "type": {
3046
+ "text": "boolean"
3047
+ }
3048
+ },
2944
3049
  {
2945
3050
  "fieldName": "hint",
2946
3051
  "name": "hint",
@@ -3041,7 +3146,7 @@
3041
3146
  },
3042
3147
  {
3043
3148
  "name": "message",
3044
- "description": "The hint / error message area below the checkbox (always reserved unless `hide-details`)"
3149
+ "description": "The hint / error message area below the checkbox (always reserved unless `hide-message`)"
3045
3150
  }
3046
3151
  ],
3047
3152
  "cssProperties": [],
@@ -3127,11 +3232,21 @@
3127
3232
  "name": "hideDetails",
3128
3233
  "privacy": "public",
3129
3234
  "description": "Hide the hint and error messages",
3235
+ "deprecated": "Use `hide-message`.",
3130
3236
  "type": {
3131
3237
  "text": "boolean"
3132
3238
  },
3133
3239
  "default": "false"
3134
3240
  },
3241
+ {
3242
+ "kind": "field",
3243
+ "name": "hideMessage",
3244
+ "privacy": "public",
3245
+ "description": "Hide the message line — the hint and error messages under the field —\nand the room it keeps.",
3246
+ "type": {
3247
+ "text": "boolean"
3248
+ }
3249
+ },
3135
3250
  {
3136
3251
  "kind": "field",
3137
3252
  "name": "hint",
@@ -3330,6 +3445,19 @@
3330
3445
  "fieldName": "hideDetails",
3331
3446
  "name": "hide-details",
3332
3447
  "description": "Hide the hint and error messages",
3448
+ "deprecated": "Use `hide-message`.",
3449
+ "type": {
3450
+ "text": "boolean"
3451
+ },
3452
+ "default": "false",
3453
+ "csc": {
3454
+ "defaultable": true
3455
+ }
3456
+ },
3457
+ {
3458
+ "fieldName": "hideMessage",
3459
+ "name": "hide-message",
3460
+ "description": "Hide the message line — the hint and error messages under the field —\nand the room it keeps.",
3333
3461
  "type": {
3334
3462
  "text": "boolean"
3335
3463
  },
@@ -3551,7 +3679,7 @@
3551
3679
  },
3552
3680
  {
3553
3681
  "name": "message",
3554
- "description": "The hint / error message area below the field (always reserved unless `hide-details`)"
3682
+ "description": "The hint / error message area below the field (always reserved unless `hide-message`)"
3555
3683
  }
3556
3684
  ],
3557
3685
  "cssProperties": [],
@@ -3657,6 +3785,20 @@
3657
3785
  "name": "hideDetails",
3658
3786
  "privacy": "public",
3659
3787
  "description": "Hide the hint and error messages",
3788
+ "deprecated": "Use `hide-message`.",
3789
+ "type": {
3790
+ "text": "boolean"
3791
+ },
3792
+ "default": "false",
3793
+ "csc": {
3794
+ "defaultable": true
3795
+ }
3796
+ },
3797
+ {
3798
+ "kind": "field",
3799
+ "name": "hideMessage",
3800
+ "privacy": "public",
3801
+ "description": "Hide the message line — the hint and error messages under the field —\nand the room it keeps.",
3660
3802
  "type": {
3661
3803
  "text": "boolean"
3662
3804
  },
@@ -4459,6 +4601,19 @@
4459
4601
  "fieldName": "hideDetails",
4460
4602
  "name": "hide-details",
4461
4603
  "description": "Hide the hint and error messages",
4604
+ "deprecated": "Use `hide-message`.",
4605
+ "type": {
4606
+ "text": "boolean"
4607
+ },
4608
+ "default": "false",
4609
+ "csc": {
4610
+ "defaultable": true
4611
+ }
4612
+ },
4613
+ {
4614
+ "fieldName": "hideMessage",
4615
+ "name": "hide-message",
4616
+ "description": "Hide the message line — the hint and error messages under the field —\nand the room it keeps.",
4462
4617
  "type": {
4463
4618
  "text": "boolean"
4464
4619
  },
@@ -4760,7 +4915,7 @@
4760
4915
  },
4761
4916
  {
4762
4917
  "name": "message",
4763
- "description": "The hint / error message area below the field (always reserved unless `hide-details`)"
4918
+ "description": "The hint / error message area below the field (always reserved unless `hide-message`)"
4764
4919
  }
4765
4920
  ],
4766
4921
  "cssProperties": [],
@@ -4884,6 +5039,20 @@
4884
5039
  "name": "hideDetails",
4885
5040
  "privacy": "public",
4886
5041
  "description": "Hide the hint and error messages",
5042
+ "deprecated": "Use `hide-message`.",
5043
+ "type": {
5044
+ "text": "boolean"
5045
+ },
5046
+ "default": "false",
5047
+ "csc": {
5048
+ "defaultable": true
5049
+ }
5050
+ },
5051
+ {
5052
+ "kind": "field",
5053
+ "name": "hideMessage",
5054
+ "privacy": "public",
5055
+ "description": "Hide the message line — the hint and error messages under the field —\nand the room it keeps.",
4887
5056
  "type": {
4888
5057
  "text": "boolean"
4889
5058
  },
@@ -5283,6 +5452,19 @@
5283
5452
  "fieldName": "hideDetails",
5284
5453
  "name": "hide-details",
5285
5454
  "description": "Hide the hint and error messages",
5455
+ "deprecated": "Use `hide-message`.",
5456
+ "type": {
5457
+ "text": "boolean"
5458
+ },
5459
+ "default": "false",
5460
+ "csc": {
5461
+ "defaultable": true
5462
+ }
5463
+ },
5464
+ {
5465
+ "fieldName": "hideMessage",
5466
+ "name": "hide-message",
5467
+ "description": "Hide the message line — the hint and error messages under the field —\nand the room it keeps.",
5286
5468
  "type": {
5287
5469
  "text": "boolean"
5288
5470
  },
@@ -5398,7 +5580,7 @@
5398
5580
  },
5399
5581
  {
5400
5582
  "name": "message",
5401
- "description": "The hint/error message area under the drop zone (always reserved unless `hide-details`)"
5583
+ "description": "The hint/error message area under the drop zone (always reserved unless `hide-message`)"
5402
5584
  },
5403
5585
  {
5404
5586
  "name": "list",
@@ -5509,6 +5691,20 @@
5509
5691
  "name": "hideDetails",
5510
5692
  "privacy": "public",
5511
5693
  "description": "Hide the hint and error messages",
5694
+ "deprecated": "Use `hide-message`.",
5695
+ "type": {
5696
+ "text": "boolean"
5697
+ },
5698
+ "default": "false",
5699
+ "csc": {
5700
+ "defaultable": true
5701
+ }
5702
+ },
5703
+ {
5704
+ "kind": "field",
5705
+ "name": "hideMessage",
5706
+ "privacy": "public",
5707
+ "description": "Hide the message line — the hint and error messages under the field —\nand the room it keeps.",
5512
5708
  "type": {
5513
5709
  "text": "boolean"
5514
5710
  },
@@ -5819,6 +6015,17 @@
5819
6015
  "usage": "docs/c-icon-button/usage.md"
5820
6016
  },
5821
6017
  "attributes": [
6018
+ {
6019
+ "fieldName": "appearance",
6020
+ "name": "appearance",
6021
+ "description": "The button's look: `filled` (unless set) for the main action; `outlined`\n(a primary outline, no fill), `ghost` (a light primary tint) or `text`\n(no fill or outline) for lower emphasis.",
6022
+ "type": {
6023
+ "text": "'filled' | 'ghost' | 'outlined' | 'text'"
6024
+ },
6025
+ "csc": {
6026
+ "typeAlias": "CIconButtonAppearance"
6027
+ }
6028
+ },
5822
6029
  {
5823
6030
  "fieldName": "badge",
5824
6031
  "name": "badge",
@@ -5831,7 +6038,7 @@
5831
6038
  {
5832
6039
  "fieldName": "danger",
5833
6040
  "name": "danger",
5834
- "description": "Danger appearance for a destructive action: the filled button in the error\ncolour; no effect on `outlined`, `ghost` or `text`.",
6041
+ "description": "Danger look for a destructive action: the filled button in the error\ncolour; no effect on the `outlined`, `ghost` or `text` appearance.",
5835
6042
  "type": {
5836
6043
  "text": "boolean"
5837
6044
  },
@@ -5850,6 +6057,7 @@
5850
6057
  "fieldName": "ghost",
5851
6058
  "name": "ghost",
5852
6059
  "description": "Ghost appearance: a light primary tint, for lower emphasis.",
6060
+ "deprecated": "Use `appearance=\"ghost\"`.",
5853
6061
  "type": {
5854
6062
  "text": "boolean"
5855
6063
  },
@@ -5858,7 +6066,7 @@
5858
6066
  {
5859
6067
  "fieldName": "inverted",
5860
6068
  "name": "inverted",
5861
- "description": "Inverted colours for a fixed dark or brand-coloured backdrop: the\n`inverse-*` family, the same in both theme modes. Combines with the other\nappearances.",
6069
+ "description": "Inverted colours for a fixed dark or brand-coloured backdrop: the\n`inverse-*` family, the same in both theme modes. Combines with every\nappearance.",
5862
6070
  "type": {
5863
6071
  "text": "boolean"
5864
6072
  },
@@ -5877,6 +6085,7 @@
5877
6085
  "fieldName": "outlined",
5878
6086
  "name": "outlined",
5879
6087
  "description": "Outlined appearance: a primary outline with no fill, for lower emphasis.",
6088
+ "deprecated": "Use `appearance=\"outlined\"`.",
5880
6089
  "type": {
5881
6090
  "text": "boolean"
5882
6091
  },
@@ -5910,6 +6119,7 @@
5910
6119
  "fieldName": "text",
5911
6120
  "name": "text",
5912
6121
  "description": "Text appearance: no fill or outline, the lightest look.",
6122
+ "deprecated": "Use `appearance=\"text\"`.",
5913
6123
  "type": {
5914
6124
  "text": "boolean"
5915
6125
  },
@@ -5934,6 +6144,18 @@
5934
6144
  "cssStates": [],
5935
6145
  "events": [],
5936
6146
  "members": [
6147
+ {
6148
+ "kind": "field",
6149
+ "name": "appearance",
6150
+ "privacy": "public",
6151
+ "description": "The button's look: `filled` (unless set) for the main action; `outlined`\n(a primary outline, no fill), `ghost` (a light primary tint) or `text`\n(no fill or outline) for lower emphasis.",
6152
+ "type": {
6153
+ "text": "'filled' | 'ghost' | 'outlined' | 'text'"
6154
+ },
6155
+ "csc": {
6156
+ "typeAlias": "CIconButtonAppearance"
6157
+ }
6158
+ },
5937
6159
  {
5938
6160
  "kind": "field",
5939
6161
  "name": "badge",
@@ -5948,7 +6170,7 @@
5948
6170
  "kind": "field",
5949
6171
  "name": "danger",
5950
6172
  "privacy": "public",
5951
- "description": "Danger appearance for a destructive action: the filled button in the error\ncolour; no effect on `outlined`, `ghost` or `text`.",
6173
+ "description": "Danger look for a destructive action: the filled button in the error\ncolour; no effect on the `outlined`, `ghost` or `text` appearance.",
5952
6174
  "type": {
5953
6175
  "text": "boolean"
5954
6176
  },
@@ -5969,6 +6191,7 @@
5969
6191
  "name": "ghost",
5970
6192
  "privacy": "public",
5971
6193
  "description": "Ghost appearance: a light primary tint, for lower emphasis.",
6194
+ "deprecated": "Use `appearance=\"ghost\"`.",
5972
6195
  "type": {
5973
6196
  "text": "boolean"
5974
6197
  },
@@ -5978,7 +6201,7 @@
5978
6201
  "kind": "field",
5979
6202
  "name": "inverted",
5980
6203
  "privacy": "public",
5981
- "description": "Inverted colours for a fixed dark or brand-coloured backdrop: the\n`inverse-*` family, the same in both theme modes. Combines with the other\nappearances.",
6204
+ "description": "Inverted colours for a fixed dark or brand-coloured backdrop: the\n`inverse-*` family, the same in both theme modes. Combines with every\nappearance.",
5982
6205
  "type": {
5983
6206
  "text": "boolean"
5984
6207
  },
@@ -5999,6 +6222,7 @@
5999
6222
  "name": "outlined",
6000
6223
  "privacy": "public",
6001
6224
  "description": "Outlined appearance: a primary outline with no fill, for lower emphasis.",
6225
+ "deprecated": "Use `appearance=\"outlined\"`.",
6002
6226
  "type": {
6003
6227
  "text": "boolean"
6004
6228
  },
@@ -6035,6 +6259,7 @@
6035
6259
  "name": "text",
6036
6260
  "privacy": "public",
6037
6261
  "description": "Text appearance: no fill or outline, the lightest look.",
6262
+ "deprecated": "Use `appearance=\"text\"`.",
6038
6263
  "type": {
6039
6264
  "text": "boolean"
6040
6265
  },
@@ -6564,10 +6789,19 @@
6564
6789
  },
6565
6790
  "default": "48"
6566
6791
  },
6792
+ {
6793
+ "fieldName": "thickness",
6794
+ "name": "thickness",
6795
+ "description": "The spinner's stroke thickness in pixels: 4 unless set.",
6796
+ "type": {
6797
+ "text": "number"
6798
+ }
6799
+ },
6567
6800
  {
6568
6801
  "fieldName": "width",
6569
6802
  "name": "width",
6570
6803
  "description": "The spinner's stroke width in pixels.",
6804
+ "deprecated": "Use `thickness`.",
6571
6805
  "type": {
6572
6806
  "text": "number"
6573
6807
  },
@@ -6618,11 +6852,21 @@
6618
6852
  },
6619
6853
  "default": "48"
6620
6854
  },
6855
+ {
6856
+ "kind": "field",
6857
+ "name": "thickness",
6858
+ "privacy": "public",
6859
+ "description": "The spinner's stroke thickness in pixels: 4 unless set.",
6860
+ "type": {
6861
+ "text": "number"
6862
+ }
6863
+ },
6621
6864
  {
6622
6865
  "kind": "field",
6623
6866
  "name": "width",
6624
6867
  "privacy": "public",
6625
6868
  "description": "The spinner's stroke width in pixels.",
6869
+ "deprecated": "Use `thickness`.",
6626
6870
  "type": {
6627
6871
  "text": "number"
6628
6872
  },
@@ -8161,6 +8405,19 @@
8161
8405
  "fieldName": "hideDetails",
8162
8406
  "name": "hide-details",
8163
8407
  "description": "Hide the hint and error messages",
8408
+ "deprecated": "Use `hide-message`.",
8409
+ "type": {
8410
+ "text": "boolean"
8411
+ },
8412
+ "default": "false",
8413
+ "csc": {
8414
+ "defaultable": true
8415
+ }
8416
+ },
8417
+ {
8418
+ "fieldName": "hideMessage",
8419
+ "name": "hide-message",
8420
+ "description": "Hide the message line — the hint and error messages under the field —\nand the room it keeps.",
8164
8421
  "type": {
8165
8422
  "text": "boolean"
8166
8423
  },
@@ -8336,7 +8593,7 @@
8336
8593
  },
8337
8594
  {
8338
8595
  "name": "message",
8339
- "description": "The hint / error message area below the field (always reserved unless `hide-details`)"
8596
+ "description": "The hint / error message area below the field (always reserved unless `hide-message`)"
8340
8597
  }
8341
8598
  ],
8342
8599
  "cssProperties": [],
@@ -8452,6 +8709,20 @@
8452
8709
  "name": "hideDetails",
8453
8710
  "privacy": "public",
8454
8711
  "description": "Hide the hint and error messages",
8712
+ "deprecated": "Use `hide-message`.",
8713
+ "type": {
8714
+ "text": "boolean"
8715
+ },
8716
+ "default": "false",
8717
+ "csc": {
8718
+ "defaultable": true
8719
+ }
8720
+ },
8721
+ {
8722
+ "kind": "field",
8723
+ "name": "hideMessage",
8724
+ "privacy": "public",
8725
+ "description": "Hide the message line — the hint and error messages under the field —\nand the room it keeps.",
8455
8726
  "type": {
8456
8727
  "text": "boolean"
8457
8728
  },
@@ -8900,11 +9171,20 @@
8900
9171
  "fieldName": "hideDetails",
8901
9172
  "name": "hide-details",
8902
9173
  "description": "Hide the hint and error messages",
9174
+ "deprecated": "Use `hide-message`.",
8903
9175
  "type": {
8904
9176
  "text": "boolean"
8905
9177
  },
8906
9178
  "default": "false"
8907
9179
  },
9180
+ {
9181
+ "fieldName": "hideMessage",
9182
+ "name": "hide-message",
9183
+ "description": "Hide the message line — the hint and error messages under the field —\nand the room it keeps.",
9184
+ "type": {
9185
+ "text": "boolean"
9186
+ }
9187
+ },
8908
9188
  {
8909
9189
  "fieldName": "hint",
8910
9190
  "name": "hint",
@@ -9052,11 +9332,21 @@
9052
9332
  "name": "hideDetails",
9053
9333
  "privacy": "public",
9054
9334
  "description": "Hide the hint and error messages",
9335
+ "deprecated": "Use `hide-message`.",
9055
9336
  "type": {
9056
9337
  "text": "boolean"
9057
9338
  },
9058
9339
  "default": "false"
9059
9340
  },
9341
+ {
9342
+ "kind": "field",
9343
+ "name": "hideMessage",
9344
+ "privacy": "public",
9345
+ "description": "Hide the message line — the hint and error messages under the field —\nand the room it keeps.",
9346
+ "type": {
9347
+ "text": "boolean"
9348
+ }
9349
+ },
9060
9350
  {
9061
9351
  "kind": "field",
9062
9352
  "name": "hint",
@@ -10043,11 +10333,20 @@
10043
10333
  "fieldName": "hideDetails",
10044
10334
  "name": "hide-details",
10045
10335
  "description": "Hide the hint and error messages",
10336
+ "deprecated": "Use `hide-message`.",
10046
10337
  "type": {
10047
10338
  "text": "boolean"
10048
10339
  },
10049
10340
  "default": "false"
10050
10341
  },
10342
+ {
10343
+ "fieldName": "hideMessage",
10344
+ "name": "hide-message",
10345
+ "description": "Hide the message line — the hint and error messages under the field —\nand the room it keeps.",
10346
+ "type": {
10347
+ "text": "boolean"
10348
+ }
10349
+ },
10051
10350
  {
10052
10351
  "fieldName": "hint",
10053
10352
  "name": "hint",
@@ -10124,7 +10423,7 @@
10124
10423
  },
10125
10424
  {
10126
10425
  "name": "message",
10127
- "description": "The hint/error message area below the radios (always reserved unless `hide-details`)"
10426
+ "description": "The hint/error message area below the radios (always reserved unless `hide-message`)"
10128
10427
  }
10129
10428
  ],
10130
10429
  "cssProperties": [],
@@ -10181,11 +10480,21 @@
10181
10480
  "name": "hideDetails",
10182
10481
  "privacy": "public",
10183
10482
  "description": "Hide the hint and error messages",
10483
+ "deprecated": "Use `hide-message`.",
10184
10484
  "type": {
10185
10485
  "text": "boolean"
10186
10486
  },
10187
10487
  "default": "false"
10188
10488
  },
10489
+ {
10490
+ "kind": "field",
10491
+ "name": "hideMessage",
10492
+ "privacy": "public",
10493
+ "description": "Hide the message line — the hint and error messages under the field —\nand the room it keeps.",
10494
+ "type": {
10495
+ "text": "boolean"
10496
+ }
10497
+ },
10189
10498
  {
10190
10499
  "kind": "field",
10191
10500
  "name": "hint",
@@ -10345,6 +10654,19 @@
10345
10654
  "fieldName": "hideDetails",
10346
10655
  "name": "hide-details",
10347
10656
  "description": "Hide the hint and error messages",
10657
+ "deprecated": "Use `hide-message`.",
10658
+ "type": {
10659
+ "text": "boolean"
10660
+ },
10661
+ "default": "false",
10662
+ "csc": {
10663
+ "defaultable": true
10664
+ }
10665
+ },
10666
+ {
10667
+ "fieldName": "hideMessage",
10668
+ "name": "hide-message",
10669
+ "description": "Hide the message line — the hint and error messages under the field —\nand the room it keeps.",
10348
10670
  "type": {
10349
10671
  "text": "boolean"
10350
10672
  },
@@ -10586,7 +10908,7 @@
10586
10908
  },
10587
10909
  {
10588
10910
  "name": "message",
10589
- "description": "The hint / error message area below the field (always reserved unless `hide-details`)"
10911
+ "description": "The hint / error message area below the field (always reserved unless `hide-message`)"
10590
10912
  }
10591
10913
  ],
10592
10914
  "cssProperties": [],
@@ -10653,6 +10975,20 @@
10653
10975
  "name": "hideDetails",
10654
10976
  "privacy": "public",
10655
10977
  "description": "Hide the hint and error messages",
10978
+ "deprecated": "Use `hide-message`.",
10979
+ "type": {
10980
+ "text": "boolean"
10981
+ },
10982
+ "default": "false",
10983
+ "csc": {
10984
+ "defaultable": true
10985
+ }
10986
+ },
10987
+ {
10988
+ "kind": "field",
10989
+ "name": "hideMessage",
10990
+ "privacy": "public",
10991
+ "description": "Hide the message line — the hint and error messages under the field —\nand the room it keeps.",
10656
10992
  "type": {
10657
10993
  "text": "boolean"
10658
10994
  },
@@ -11044,7 +11380,7 @@
11044
11380
  "kind": "class",
11045
11381
  "name": "CSideNavigationItem",
11046
11382
  "tagName": "c-side-navigation-item",
11047
- "description": "One entry of a `c-side-navigation`: its label text, after an optional leading `c-icon`, goes in the default slot, and activating it fires `select` with its `value`; with `href` it is a real link, opened in `target`, and without one a button. Write `c-sub-navigation-item` children inside it to make it an expandable parent, whose `active` then means expanded rather than the current page.",
11383
+ "description": "One entry of a `c-side-navigation`: its label text, after an optional leading `c-icon`, goes in the default slot, and activating it fires `select` with its `value`; with `href` it is a real link, opened in `target`, and without one a button. Write `c-sub-navigation-item` children inside it to make it an expandable parent, shown open while `expanded`; an item without sub-items marks the page shown with `current`.",
11048
11384
  "csc": {
11049
11385
  "usage": "docs/c-side-navigation-item/usage.md"
11050
11386
  },
@@ -11053,11 +11389,28 @@
11053
11389
  "fieldName": "active",
11054
11390
  "name": "active",
11055
11391
  "description": "On an item without sub-items, mark the current page\n(`aria-current=\"page\"`); on a parent, expand its sub-items.",
11392
+ "deprecated": "Use `current` on an item without sub-items and `expanded` on a parent.",
11056
11393
  "type": {
11057
11394
  "text": "boolean"
11058
11395
  },
11059
11396
  "default": "false"
11060
11397
  },
11398
+ {
11399
+ "fieldName": "current",
11400
+ "name": "current",
11401
+ "description": "Mark the item as the page shown (`aria-current=\"page\"`), on an item\nwithout sub-items. Bind it from the page your router or the URL shows:\nthe navigation never sets it.",
11402
+ "type": {
11403
+ "text": "boolean"
11404
+ }
11405
+ },
11406
+ {
11407
+ "fieldName": "expanded",
11408
+ "name": "expanded",
11409
+ "description": "Show a parent item's sub-items. The navigation sets it as parents open\nand close, collapsing the other top-level parents; set it to open one\ninitially.",
11410
+ "type": {
11411
+ "text": "boolean"
11412
+ }
11413
+ },
11061
11414
  {
11062
11415
  "fieldName": "href",
11063
11416
  "name": "href",
@@ -11134,11 +11487,30 @@
11134
11487
  "name": "active",
11135
11488
  "privacy": "public",
11136
11489
  "description": "On an item without sub-items, mark the current page\n(`aria-current=\"page\"`); on a parent, expand its sub-items.",
11490
+ "deprecated": "Use `current` on an item without sub-items and `expanded` on a parent.",
11137
11491
  "type": {
11138
11492
  "text": "boolean"
11139
11493
  },
11140
11494
  "default": "false"
11141
11495
  },
11496
+ {
11497
+ "kind": "field",
11498
+ "name": "current",
11499
+ "privacy": "public",
11500
+ "description": "Mark the item as the page shown (`aria-current=\"page\"`), on an item\nwithout sub-items. Bind it from the page your router or the URL shows:\nthe navigation never sets it.",
11501
+ "type": {
11502
+ "text": "boolean"
11503
+ }
11504
+ },
11505
+ {
11506
+ "kind": "field",
11507
+ "name": "expanded",
11508
+ "privacy": "public",
11509
+ "description": "Show a parent item's sub-items. The navigation sets it as parents open\nand close, collapsing the other top-level parents; set it to open one\ninitially.",
11510
+ "type": {
11511
+ "text": "boolean"
11512
+ }
11513
+ },
11142
11514
  {
11143
11515
  "kind": "field",
11144
11516
  "name": "href",
@@ -11322,6 +11694,7 @@
11322
11694
  "fieldName": "labels",
11323
11695
  "name": "labels",
11324
11696
  "description": "Write a number under the track at each tick mark position, `segments`\napart, formatted like the value bubble's; shown with or without `ticks`",
11697
+ "deprecated": "Use `tick-labels`.",
11325
11698
  "type": {
11326
11699
  "text": "boolean"
11327
11700
  },
@@ -11375,6 +11748,14 @@
11375
11748
  },
11376
11749
  "default": "1"
11377
11750
  },
11751
+ {
11752
+ "fieldName": "tickLabels",
11753
+ "name": "tick-labels",
11754
+ "description": "Write a number under the track at each tick mark position, `segments`\napart, formatted like the value bubble's; shown with or without `ticks`",
11755
+ "type": {
11756
+ "text": "boolean"
11757
+ }
11758
+ },
11378
11759
  {
11379
11760
  "fieldName": "ticks",
11380
11761
  "name": "ticks",
@@ -11484,6 +11865,7 @@
11484
11865
  "name": "labels",
11485
11866
  "privacy": "public",
11486
11867
  "description": "Write a number under the track at each tick mark position, `segments`\napart, formatted like the value bubble's; shown with or without `ticks`",
11868
+ "deprecated": "Use `tick-labels`.",
11487
11869
  "type": {
11488
11870
  "text": "boolean"
11489
11871
  },
@@ -11542,6 +11924,15 @@
11542
11924
  },
11543
11925
  "default": "1"
11544
11926
  },
11927
+ {
11928
+ "kind": "field",
11929
+ "name": "tickLabels",
11930
+ "privacy": "public",
11931
+ "description": "Write a number under the track at each tick mark position, `segments`\napart, formatted like the value bubble's; shown with or without `ticks`",
11932
+ "type": {
11933
+ "text": "boolean"
11934
+ }
11935
+ },
11545
11936
  {
11546
11937
  "kind": "field",
11547
11938
  "name": "ticks",
@@ -11642,10 +12033,19 @@
11642
12033
  },
11643
12034
  "default": "24"
11644
12035
  },
12036
+ {
12037
+ "fieldName": "thickness",
12038
+ "name": "thickness",
12039
+ "description": "Stroke thickness in pixels: 2 unless set.",
12040
+ "type": {
12041
+ "text": "number"
12042
+ }
12043
+ },
11645
12044
  {
11646
12045
  "fieldName": "width",
11647
12046
  "name": "width",
11648
12047
  "description": "Stroke width in pixels.",
12048
+ "deprecated": "Use `thickness`.",
11649
12049
  "type": {
11650
12050
  "text": "number"
11651
12051
  },
@@ -11685,11 +12085,21 @@
11685
12085
  },
11686
12086
  "default": "24"
11687
12087
  },
12088
+ {
12089
+ "kind": "field",
12090
+ "name": "thickness",
12091
+ "privacy": "public",
12092
+ "description": "Stroke thickness in pixels: 2 unless set.",
12093
+ "type": {
12094
+ "text": "number"
12095
+ }
12096
+ },
11688
12097
  {
11689
12098
  "kind": "field",
11690
12099
  "name": "width",
11691
12100
  "privacy": "public",
11692
12101
  "description": "Stroke width in pixels.",
12102
+ "deprecated": "Use `thickness`.",
11693
12103
  "type": {
11694
12104
  "text": "number"
11695
12105
  },
@@ -11949,7 +12359,7 @@
11949
12359
  "kind": "class",
11950
12360
  "name": "CSubNavigationItem",
11951
12361
  "tagName": "c-sub-navigation-item",
11952
- "description": "A second-level entry of a `c-side-navigation`, written inside the `c-side-navigation-item` it belongs to (no `slot` attribute needed) and shown while that parent is `active`. Activating it fires `select` with its `value` and closes the mobile drawer. It does not mark itself as the current page: set `active` on the sub-item of the page shown, and on its parent so the parent is expanded.",
12362
+ "description": "A second-level entry of a `c-side-navigation`, written inside the `c-side-navigation-item` it belongs to (no `slot` attribute needed) and shown while that parent is `expanded`. Activating it fires `select` with its `value` and closes the mobile drawer. It does not mark itself as the current page: set `current` on the sub-item of the page shown, and `expanded` on its parent.",
11953
12363
  "csc": {
11954
12364
  "usage": "docs/c-sub-navigation-item/usage.md"
11955
12365
  },
@@ -11958,11 +12368,20 @@
11958
12368
  "fieldName": "active",
11959
12369
  "name": "active",
11960
12370
  "description": "Mark the sub-item as the current page (`aria-current=\"page\"`); set `active`\non its parent item too, so the parent is expanded.",
12371
+ "deprecated": "Use `current`.",
11961
12372
  "type": {
11962
12373
  "text": "boolean"
11963
12374
  },
11964
12375
  "default": "false"
11965
12376
  },
12377
+ {
12378
+ "fieldName": "current",
12379
+ "name": "current",
12380
+ "description": "Mark the sub-item as the page shown (`aria-current=\"page\"`), and set\n`expanded` on its parent item so the parent is open. Bind it from the\npage your router or the URL shows: the navigation never sets it.",
12381
+ "type": {
12382
+ "text": "boolean"
12383
+ }
12384
+ },
11966
12385
  {
11967
12386
  "fieldName": "href",
11968
12387
  "name": "href",
@@ -12035,11 +12454,21 @@
12035
12454
  "name": "active",
12036
12455
  "privacy": "public",
12037
12456
  "description": "Mark the sub-item as the current page (`aria-current=\"page\"`); set `active`\non its parent item too, so the parent is expanded.",
12457
+ "deprecated": "Use `current`.",
12038
12458
  "type": {
12039
12459
  "text": "boolean"
12040
12460
  },
12041
12461
  "default": "false"
12042
12462
  },
12463
+ {
12464
+ "kind": "field",
12465
+ "name": "current",
12466
+ "privacy": "public",
12467
+ "description": "Mark the sub-item as the page shown (`aria-current=\"page\"`), and set\n`expanded` on its parent item so the parent is open. Bind it from the\npage your router or the URL shows: the navigation never sets it.",
12468
+ "type": {
12469
+ "text": "boolean"
12470
+ }
12471
+ },
12043
12472
  {
12044
12473
  "kind": "field",
12045
12474
  "name": "href",
@@ -13397,6 +13826,19 @@
13397
13826
  "fieldName": "hideDetails",
13398
13827
  "name": "hide-details",
13399
13828
  "description": "Hide the hint and error messages",
13829
+ "deprecated": "Use `hide-message`.",
13830
+ "type": {
13831
+ "text": "boolean"
13832
+ },
13833
+ "default": "false",
13834
+ "csc": {
13835
+ "defaultable": true
13836
+ }
13837
+ },
13838
+ {
13839
+ "fieldName": "hideMessage",
13840
+ "name": "hide-message",
13841
+ "description": "Hide the message line — the hint and error messages under the field —\nand the room it keeps.",
13400
13842
  "type": {
13401
13843
  "text": "boolean"
13402
13844
  },
@@ -13606,7 +14048,7 @@
13606
14048
  },
13607
14049
  {
13608
14050
  "name": "message",
13609
- "description": "The hint / error message area below the field (always reserved unless `hide-details`)"
14051
+ "description": "The hint / error message area below the field (always reserved unless `hide-message`)"
13610
14052
  }
13611
14053
  ],
13612
14054
  "cssProperties": [],
@@ -13712,6 +14154,20 @@
13712
14154
  "name": "hideDetails",
13713
14155
  "privacy": "public",
13714
14156
  "description": "Hide the hint and error messages",
14157
+ "deprecated": "Use `hide-message`.",
14158
+ "type": {
14159
+ "text": "boolean"
14160
+ },
14161
+ "default": "false",
14162
+ "csc": {
14163
+ "defaultable": true
14164
+ }
14165
+ },
14166
+ {
14167
+ "kind": "field",
14168
+ "name": "hideMessage",
14169
+ "privacy": "public",
14170
+ "description": "Hide the message line — the hint and error messages under the field —\nand the room it keeps.",
13715
14171
  "type": {
13716
14172
  "text": "boolean"
13717
14173
  },
@@ -14053,6 +14509,19 @@
14053
14509
  "fieldName": "hideDetails",
14054
14510
  "name": "hide-details",
14055
14511
  "description": "Hide the hint and error messages",
14512
+ "deprecated": "Use `hide-message`.",
14513
+ "type": {
14514
+ "text": "boolean"
14515
+ },
14516
+ "default": "false",
14517
+ "csc": {
14518
+ "defaultable": true
14519
+ }
14520
+ },
14521
+ {
14522
+ "fieldName": "hideMessage",
14523
+ "name": "hide-message",
14524
+ "description": "Hide the message line — the hint and error messages under the field —\nand the room it keeps.",
14056
14525
  "type": {
14057
14526
  "text": "boolean"
14058
14527
  },
@@ -14291,7 +14760,7 @@
14291
14760
  },
14292
14761
  {
14293
14762
  "name": "message",
14294
- "description": "The hint / error message area below the field (always reserved unless `hide-details`)"
14763
+ "description": "The hint / error message area below the field (always reserved unless `hide-message`)"
14295
14764
  }
14296
14765
  ],
14297
14766
  "cssProperties": [],
@@ -14384,6 +14853,20 @@
14384
14853
  "name": "hideDetails",
14385
14854
  "privacy": "public",
14386
14855
  "description": "Hide the hint and error messages",
14856
+ "deprecated": "Use `hide-message`.",
14857
+ "type": {
14858
+ "text": "boolean"
14859
+ },
14860
+ "default": "false",
14861
+ "csc": {
14862
+ "defaultable": true
14863
+ }
14864
+ },
14865
+ {
14866
+ "kind": "field",
14867
+ "name": "hideMessage",
14868
+ "privacy": "public",
14869
+ "description": "Hide the message line — the hint and error messages under the field —\nand the room it keeps.",
14387
14870
  "type": {
14388
14871
  "text": "boolean"
14389
14872
  },
@@ -14646,15 +15129,25 @@
14646
15129
  "fieldName": "absolute",
14647
15130
  "name": "absolute",
14648
15131
  "description": "Places the stack in its nearest positioned ancestor instead of the\nviewport, for in-container notifications. Such a stack is not\nguaranteed to paint above an open modal.",
15132
+ "deprecated": "Use `contained`.",
14649
15133
  "type": {
14650
15134
  "text": "boolean"
14651
15135
  },
14652
15136
  "default": "false"
14653
15137
  },
15138
+ {
15139
+ "fieldName": "contained",
15140
+ "name": "contained",
15141
+ "description": "Keep the stack inside its nearest positioned ancestor instead of the\nviewport, for in-container notifications. Such a stack is not\nguaranteed to paint above an open modal.",
15142
+ "type": {
15143
+ "text": "boolean"
15144
+ }
15145
+ },
14654
15146
  {
14655
15147
  "fieldName": "horizontal",
14656
15148
  "name": "horizontal",
14657
15149
  "description": "Where the stack sits across the viewport, or across its container\nunder `absolute`.",
15150
+ "deprecated": "Use `position`.",
14658
15151
  "type": {
14659
15152
  "text": "'center' | 'left' | 'right'"
14660
15153
  },
@@ -14663,10 +15156,22 @@
14663
15156
  "typeAlias": "CToastsHorizontal"
14664
15157
  }
14665
15158
  },
15159
+ {
15160
+ "fieldName": "position",
15161
+ "name": "position",
15162
+ "description": "Where the stack sits in the viewport, or in its container when\n`contained`: `bottom` (unless set), `bottom-start`, `bottom-end`,\n`top`, `top-start` or `top-end`. Toasts slide in from the top or bottom\nedge.",
15163
+ "type": {
15164
+ "text": "'bottom-end' | 'bottom-start' | 'bottom' | 'top-end' | 'top-start' | 'top'"
15165
+ },
15166
+ "csc": {
15167
+ "typeAlias": "CToastsPosition"
15168
+ }
15169
+ },
14666
15170
  {
14667
15171
  "fieldName": "vertical",
14668
15172
  "name": "vertical",
14669
15173
  "description": "The edge the stack is anchored to; toasts slide in from it.",
15174
+ "deprecated": "Use `position`.",
14670
15175
  "type": {
14671
15176
  "text": "'bottom' | 'top'"
14672
15177
  },
@@ -14727,16 +15232,27 @@
14727
15232
  "name": "absolute",
14728
15233
  "privacy": "public",
14729
15234
  "description": "Places the stack in its nearest positioned ancestor instead of the\nviewport, for in-container notifications. Such a stack is not\nguaranteed to paint above an open modal.",
15235
+ "deprecated": "Use `contained`.",
14730
15236
  "type": {
14731
15237
  "text": "boolean"
14732
15238
  },
14733
15239
  "default": "false"
14734
15240
  },
15241
+ {
15242
+ "kind": "field",
15243
+ "name": "contained",
15244
+ "privacy": "public",
15245
+ "description": "Keep the stack inside its nearest positioned ancestor instead of the\nviewport, for in-container notifications. Such a stack is not\nguaranteed to paint above an open modal.",
15246
+ "type": {
15247
+ "text": "boolean"
15248
+ }
15249
+ },
14735
15250
  {
14736
15251
  "kind": "field",
14737
15252
  "name": "horizontal",
14738
15253
  "privacy": "public",
14739
15254
  "description": "Where the stack sits across the viewport, or across its container\nunder `absolute`.",
15255
+ "deprecated": "Use `position`.",
14740
15256
  "type": {
14741
15257
  "text": "'center' | 'left' | 'right'"
14742
15258
  },
@@ -14745,11 +15261,24 @@
14745
15261
  "typeAlias": "CToastsHorizontal"
14746
15262
  }
14747
15263
  },
15264
+ {
15265
+ "kind": "field",
15266
+ "name": "position",
15267
+ "privacy": "public",
15268
+ "description": "Where the stack sits in the viewport, or in its container when\n`contained`: `bottom` (unless set), `bottom-start`, `bottom-end`,\n`top`, `top-start` or `top-end`. Toasts slide in from the top or bottom\nedge.",
15269
+ "type": {
15270
+ "text": "'bottom-end' | 'bottom-start' | 'bottom' | 'top-end' | 'top-start' | 'top'"
15271
+ },
15272
+ "csc": {
15273
+ "typeAlias": "CToastsPosition"
15274
+ }
15275
+ },
14748
15276
  {
14749
15277
  "kind": "field",
14750
15278
  "name": "vertical",
14751
15279
  "privacy": "public",
14752
15280
  "description": "The edge the stack is anchored to; toasts slide in from it.",
15281
+ "deprecated": "Use `position`.",
14753
15282
  "type": {
14754
15283
  "text": "'bottom' | 'top'"
14755
15284
  },
@@ -15126,6 +15655,19 @@
15126
15655
  "fieldName": "hideDetails",
15127
15656
  "name": "hide-details",
15128
15657
  "description": "Hide the hint and error messages",
15658
+ "deprecated": "Use `hide-message`.",
15659
+ "type": {
15660
+ "text": "boolean"
15661
+ },
15662
+ "default": "false",
15663
+ "csc": {
15664
+ "defaultable": true
15665
+ }
15666
+ },
15667
+ {
15668
+ "fieldName": "hideMessage",
15669
+ "name": "hide-message",
15670
+ "description": "Hide the message line — the hint and error messages under the field —\nand the room it keeps.",
15129
15671
  "type": {
15130
15672
  "text": "boolean"
15131
15673
  },
@@ -15335,7 +15877,7 @@
15335
15877
  },
15336
15878
  {
15337
15879
  "name": "message",
15338
- "description": "The hint / error message area below the field (always reserved unless `hide-details`)"
15880
+ "description": "The hint / error message area below the field (always reserved unless `hide-message`)"
15339
15881
  }
15340
15882
  ],
15341
15883
  "cssProperties": [],
@@ -15428,6 +15970,20 @@
15428
15970
  "name": "hideDetails",
15429
15971
  "privacy": "public",
15430
15972
  "description": "Hide the hint and error messages",
15973
+ "deprecated": "Use `hide-message`.",
15974
+ "type": {
15975
+ "text": "boolean"
15976
+ },
15977
+ "default": "false",
15978
+ "csc": {
15979
+ "defaultable": true
15980
+ }
15981
+ },
15982
+ {
15983
+ "kind": "field",
15984
+ "name": "hideMessage",
15985
+ "privacy": "public",
15986
+ "description": "Hide the message line — the hint and error messages under the field —\nand the room it keeps.",
15431
15987
  "type": {
15432
15988
  "text": "boolean"
15433
15989
  },