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

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 (49) hide show
  1. package/dist/csc-ui.js +6848 -6757
  2. package/dist/custom-elements.json +651 -23
  3. package/dist/docs/c-button/usage.md +40 -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 +19 -7
  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/styles/css/tokens.css +13 -9
  18. package/dist/vscode.css-custom-data.json +12 -12
  19. package/dist/vscode.html-custom-data.json +202 -46
  20. package/dist/web-types.json +2118 -496
  21. package/dist-types/components/c-autocomplete/CAutocomplete.vue.d.ts +9 -0
  22. package/dist-types/components/c-button/CButton.vue.d.ts +40 -6
  23. package/dist-types/components/c-card/CCard.vue.d.ts +8 -0
  24. package/dist-types/components/c-checkbox/CCheckbox.vue.d.ts +8 -0
  25. package/dist-types/components/c-color-picker/CColorPicker.vue.d.ts +9 -0
  26. package/dist-types/components/c-date-picker/CDatePicker.vue.d.ts +9 -0
  27. package/dist-types/components/c-file-upload/CFileUpload.vue.d.ts +9 -0
  28. package/dist-types/components/c-icon-button/CIconButton.vue.d.ts +39 -4
  29. package/dist-types/components/c-list-item/CListItem.vue.d.ts +1 -1
  30. package/dist-types/components/c-loader/CLoader.vue.d.ts +7 -0
  31. package/dist-types/components/c-number-field/CNumberField.vue.d.ts +9 -0
  32. package/dist-types/components/c-otp-input/COtpInput.vue.d.ts +8 -0
  33. package/dist-types/components/c-radio-group/CRadioGroup.vue.d.ts +8 -0
  34. package/dist-types/components/c-select/CSelect.vue.d.ts +9 -0
  35. package/dist-types/components/c-side-navigation-item/CSideNavigationItem.vue.d.ts +17 -1
  36. package/dist-types/components/c-slider/CSlider.vue.d.ts +8 -0
  37. package/dist-types/components/c-spinner/CSpinner.vue.d.ts +7 -0
  38. package/dist-types/components/c-step/CStep.vue.d.ts +1 -1
  39. package/dist-types/components/c-sub-navigation-item/CSubNavigationItem.vue.d.ts +10 -1
  40. package/dist-types/components/c-text-field/CTextField.vue.d.ts +9 -0
  41. package/dist-types/components/c-time-picker/CTimePicker.vue.d.ts +9 -0
  42. package/dist-types/components/c-toasts/CToasts.vue.d.ts +26 -0
  43. package/dist-types/components/c-tree-select/CTreeSelect.vue.d.ts +9 -0
  44. package/dist-types/index.d.ts +3 -3
  45. package/dist-types/shared/appDefaults.d.ts +15 -1
  46. package/dist-types/shared/buttonAppearance.d.ts +20 -0
  47. package/dist-types/shared/buttonVariant.d.ts +5 -0
  48. package/dist-types/tag-name-map.d.ts +299 -70
  49. 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.",
@@ -96,6 +103,13 @@
96
103
  "name": "CButtonType",
97
104
  "owner": "c-button"
98
105
  },
106
+ {
107
+ "declaration": "export type CButtonVariant =\n | 'danger'\n | 'info'\n | 'primary'\n | 'secondary'\n | 'success'\n | 'warning';",
108
+ "description": "The colour a button takes: `primary` (unless set) and `secondary`, the\nbrand families, or a status colour — `success`, `info`, `warning` and\n`danger`, a destructive action in the error colour.",
109
+ "kind": "type-alias",
110
+ "name": "CButtonVariant",
111
+ "owner": "c-button"
112
+ },
99
113
  {
100
114
  "declaration": "export type CButtonGroupSize = 'default' | 'small';",
101
115
  "description": "Size of the button group. `small` renders a more compact control; the size\nis also propagated to every slotted `<c-button>`. Omitting the attribute\nrenders the default size.",
@@ -341,6 +355,13 @@
341
355
  "name": "CFileUploadTexts",
342
356
  "owner": "c-file-upload"
343
357
  },
358
+ {
359
+ "declaration": "export type CIconButtonAppearance = 'filled' | 'ghost' | 'outlined' | 'text';",
360
+ "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.",
361
+ "kind": "type-alias",
362
+ "name": "CIconButtonAppearance",
363
+ "owner": "c-icon-button"
364
+ },
344
365
  {
345
366
  "declaration": "export type CIconButtonSize = 'default' | 'small' | 'x-small';",
346
367
  "description": "Size of the icon button. `small` and `x-small` render progressively more\ncompact buttons; omitting the attribute renders the default size.",
@@ -348,6 +369,13 @@
348
369
  "name": "CIconButtonSize",
349
370
  "owner": "c-icon-button"
350
371
  },
372
+ {
373
+ "declaration": "export type CIconButtonVariant =\n | 'danger'\n | 'info'\n | 'primary'\n | 'secondary'\n | 'success'\n | 'warning';",
374
+ "description": "The colour an icon button takes — `c-button`'s variants: `primary` (unless\nset) and `secondary`, the brand families, or a status colour — `success`,\n`info`, `warning` and `danger`, a destructive action in the error colour.",
375
+ "kind": "type-alias",
376
+ "name": "CIconButtonVariant",
377
+ "owner": "c-icon-button"
378
+ },
351
379
  {
352
380
  "declaration": "export type CLoginCardBlendMode =\n | 'color-burn'\n | 'color-dodge'\n | 'color'\n | 'darken'\n | 'difference'\n | 'exclusion'\n | 'hard-light'\n | 'hue'\n | 'lighten'\n | 'luminosity'\n | 'multiply'\n | 'normal'\n | 'overlay'\n | 'saturation'\n | 'screen'\n | 'soft-light';",
353
381
  "description": "CSS `mix-blend-mode` applied to the primary-coloured overlay drawn over\nthe background image when `overlay` is set.",
@@ -523,6 +551,13 @@
523
551
  "name": "CToastsHorizontal",
524
552
  "owner": "c-toasts"
525
553
  },
554
+ {
555
+ "declaration": "export type CToastsPosition =\n | 'bottom-end'\n | 'bottom-start'\n | 'bottom'\n | 'top-end'\n | 'top-start'\n | 'top';",
556
+ "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.",
557
+ "kind": "type-alias",
558
+ "name": "CToastsPosition",
559
+ "owner": "c-toasts"
560
+ },
526
561
  {
527
562
  "declaration": "export type CToastsVertical = 'bottom' | 'top';",
528
563
  "description": "Vertical placement of the toast stack.",
@@ -1059,6 +1094,19 @@
1059
1094
  "fieldName": "hideDetails",
1060
1095
  "name": "hide-details",
1061
1096
  "description": "Hide the hint and error messages",
1097
+ "deprecated": "Use `hide-message`.",
1098
+ "type": {
1099
+ "text": "boolean"
1100
+ },
1101
+ "default": "false",
1102
+ "csc": {
1103
+ "defaultable": true
1104
+ }
1105
+ },
1106
+ {
1107
+ "fieldName": "hideMessage",
1108
+ "name": "hide-message",
1109
+ "description": "Hide the message line — the hint and error messages under the field —\nand the room it keeps.",
1062
1110
  "type": {
1063
1111
  "text": "boolean"
1064
1112
  },
@@ -1303,7 +1351,7 @@
1303
1351
  },
1304
1352
  {
1305
1353
  "name": "message",
1306
- "description": "The hint / error message area below the field (always reserved unless `hide-details`)"
1354
+ "description": "The hint / error message area below the field (always reserved unless `hide-message`)"
1307
1355
  }
1308
1356
  ],
1309
1357
  "cssProperties": [],
@@ -1396,6 +1444,20 @@
1396
1444
  "name": "hideDetails",
1397
1445
  "privacy": "public",
1398
1446
  "description": "Hide the hint and error messages",
1447
+ "deprecated": "Use `hide-message`.",
1448
+ "type": {
1449
+ "text": "boolean"
1450
+ },
1451
+ "default": "false",
1452
+ "csc": {
1453
+ "defaultable": true
1454
+ }
1455
+ },
1456
+ {
1457
+ "kind": "field",
1458
+ "name": "hideMessage",
1459
+ "privacy": "public",
1460
+ "description": "Hide the message line — the hint and error messages under the field —\nand the room it keeps.",
1399
1461
  "type": {
1400
1462
  "text": "boolean"
1401
1463
  },
@@ -1932,7 +1994,7 @@
1932
1994
  "kind": "class",
1933
1995
  "name": "CButton",
1934
1996
  "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.",
1997
+ "description": "Buttons trigger actions — submitting a form, opening a modal, confirming a choice. Use one filled button (the default `appearance`) per view for its main action; other actions use `appearance=\"outlined\"`, `\"ghost\"` or `\"text\"`.",
1936
1998
  "csc": {
1937
1999
  "usage": "docs/c-button/usage.md"
1938
2000
  },
@@ -1945,10 +2007,22 @@
1945
2007
  "text": "boolean"
1946
2008
  }
1947
2009
  },
2010
+ {
2011
+ "fieldName": "appearance",
2012
+ "name": "appearance",
2013
+ "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.",
2014
+ "type": {
2015
+ "text": "'filled' | 'ghost' | 'outlined' | 'text'"
2016
+ },
2017
+ "csc": {
2018
+ "typeAlias": "CButtonAppearance"
2019
+ }
2020
+ },
1948
2021
  {
1949
2022
  "fieldName": "danger",
1950
2023
  "name": "danger",
1951
- "description": "Danger appearance for a destructive action: the filled button in the error\ncolour; no effect on `outlined`, `ghost` or `text`.",
2024
+ "description": "Danger look for a destructive action: the error colour.",
2025
+ "deprecated": "Use `variant=\"danger\"`.",
1952
2026
  "type": {
1953
2027
  "text": "boolean"
1954
2028
  },
@@ -1976,6 +2050,7 @@
1976
2050
  "fieldName": "ghost",
1977
2051
  "name": "ghost",
1978
2052
  "description": "Ghost appearance: primary text on a light primary tint, for lower emphasis.",
2053
+ "deprecated": "Use `appearance=\"ghost\"`.",
1979
2054
  "type": {
1980
2055
  "text": "boolean"
1981
2056
  },
@@ -1996,7 +2071,7 @@
1996
2071
  {
1997
2072
  "fieldName": "inverted",
1998
2073
  "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.",
2074
+ "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
2075
  "type": {
2001
2076
  "text": "boolean"
2002
2077
  },
@@ -2024,6 +2099,7 @@
2024
2099
  "fieldName": "outlined",
2025
2100
  "name": "outlined",
2026
2101
  "description": "Outlined appearance: a primary outline and text with no fill, for lower\nemphasis.",
2102
+ "deprecated": "Use `appearance=\"outlined\"`.",
2027
2103
  "type": {
2028
2104
  "text": "boolean"
2029
2105
  },
@@ -2057,6 +2133,7 @@
2057
2133
  "fieldName": "text",
2058
2134
  "name": "text",
2059
2135
  "description": "Text appearance: primary text with no fill or outline, the lightest look.",
2136
+ "deprecated": "Use `appearance=\"text\"`.",
2060
2137
  "type": {
2061
2138
  "text": "boolean"
2062
2139
  },
@@ -2081,6 +2158,19 @@
2081
2158
  "type": {
2082
2159
  "text": "number | string"
2083
2160
  }
2161
+ },
2162
+ {
2163
+ "fieldName": "variant",
2164
+ "name": "variant",
2165
+ "description": "The button's colour, in every appearance: `primary` unless set (or\nchanged app-wide), `secondary`, `success`, `info`, `warning`, or `danger`\nfor a destructive action.",
2166
+ "type": {
2167
+ "text": "'danger' | 'info' | 'primary' | 'secondary' | 'success' | 'warning'"
2168
+ },
2169
+ "default": "'primary'",
2170
+ "csc": {
2171
+ "typeAlias": "CButtonVariant",
2172
+ "defaultable": true
2173
+ }
2084
2174
  }
2085
2175
  ],
2086
2176
  "cssParts": [
@@ -2110,11 +2200,24 @@
2110
2200
  "text": "boolean"
2111
2201
  }
2112
2202
  },
2203
+ {
2204
+ "kind": "field",
2205
+ "name": "appearance",
2206
+ "privacy": "public",
2207
+ "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.",
2208
+ "type": {
2209
+ "text": "'filled' | 'ghost' | 'outlined' | 'text'"
2210
+ },
2211
+ "csc": {
2212
+ "typeAlias": "CButtonAppearance"
2213
+ }
2214
+ },
2113
2215
  {
2114
2216
  "kind": "field",
2115
2217
  "name": "danger",
2116
2218
  "privacy": "public",
2117
- "description": "Danger appearance for a destructive action: the filled button in the error\ncolour; no effect on `outlined`, `ghost` or `text`.",
2219
+ "description": "Danger look for a destructive action: the error colour.",
2220
+ "deprecated": "Use `variant=\"danger\"`.",
2118
2221
  "type": {
2119
2222
  "text": "boolean"
2120
2223
  },
@@ -2145,6 +2248,7 @@
2145
2248
  "name": "ghost",
2146
2249
  "privacy": "public",
2147
2250
  "description": "Ghost appearance: primary text on a light primary tint, for lower emphasis.",
2251
+ "deprecated": "Use `appearance=\"ghost\"`.",
2148
2252
  "type": {
2149
2253
  "text": "boolean"
2150
2254
  },
@@ -2167,7 +2271,7 @@
2167
2271
  "kind": "field",
2168
2272
  "name": "inverted",
2169
2273
  "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.",
2274
+ "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
2275
  "type": {
2172
2276
  "text": "boolean"
2173
2277
  },
@@ -2198,6 +2302,7 @@
2198
2302
  "name": "outlined",
2199
2303
  "privacy": "public",
2200
2304
  "description": "Outlined appearance: a primary outline and text with no fill, for lower\nemphasis.",
2305
+ "deprecated": "Use `appearance=\"outlined\"`.",
2201
2306
  "type": {
2202
2307
  "text": "boolean"
2203
2308
  },
@@ -2234,6 +2339,7 @@
2234
2339
  "name": "text",
2235
2340
  "privacy": "public",
2236
2341
  "description": "Text appearance: primary text with no fill or outline, the lightest look.",
2342
+ "deprecated": "Use `appearance=\"text\"`.",
2237
2343
  "type": {
2238
2344
  "text": "boolean"
2239
2345
  },
@@ -2260,6 +2366,20 @@
2260
2366
  "type": {
2261
2367
  "text": "number | string"
2262
2368
  }
2369
+ },
2370
+ {
2371
+ "kind": "field",
2372
+ "name": "variant",
2373
+ "privacy": "public",
2374
+ "description": "The button's colour, in every appearance: `primary` unless set (or\nchanged app-wide), `secondary`, `success`, `info`, `warning`, or `danger`\nfor a destructive action.",
2375
+ "type": {
2376
+ "text": "'danger' | 'info' | 'primary' | 'secondary' | 'success' | 'warning'"
2377
+ },
2378
+ "default": "'primary'",
2379
+ "csc": {
2380
+ "typeAlias": "CButtonVariant",
2381
+ "defaultable": true
2382
+ }
2263
2383
  }
2264
2384
  ],
2265
2385
  "slots": [
@@ -2553,10 +2673,19 @@
2553
2673
  "fieldName": "fullscreen",
2554
2674
  "name": "fullscreen",
2555
2675
  "description": "Shows a toggle button in the card's top-right corner that puts the card\nin the browser's fullscreen mode and back.",
2676
+ "deprecated": "Use `show-fullscreen`.",
2556
2677
  "type": {
2557
2678
  "text": "boolean"
2558
2679
  },
2559
2680
  "default": "false"
2681
+ },
2682
+ {
2683
+ "fieldName": "showFullscreen",
2684
+ "name": "show-fullscreen",
2685
+ "description": "Show a toggle button in the card's top-right corner that puts the card\nin the browser's fullscreen mode and back.",
2686
+ "type": {
2687
+ "text": "boolean"
2688
+ }
2560
2689
  }
2561
2690
  ],
2562
2691
  "cssParts": [
@@ -2566,7 +2695,7 @@
2566
2695
  },
2567
2696
  {
2568
2697
  "name": "fullscreen-toggle",
2569
- "description": "The round fullscreen toggle button, shown when `fullscreen` is set"
2698
+ "description": "The round fullscreen toggle button, shown when `show-fullscreen` is set"
2570
2699
  }
2571
2700
  ],
2572
2701
  "cssProperties": [],
@@ -2578,11 +2707,21 @@
2578
2707
  "name": "fullscreen",
2579
2708
  "privacy": "public",
2580
2709
  "description": "Shows a toggle button in the card's top-right corner that puts the card\nin the browser's fullscreen mode and back.",
2710
+ "deprecated": "Use `show-fullscreen`.",
2581
2711
  "type": {
2582
2712
  "text": "boolean"
2583
2713
  },
2584
2714
  "default": "false"
2585
2715
  },
2716
+ {
2717
+ "kind": "field",
2718
+ "name": "showFullscreen",
2719
+ "privacy": "public",
2720
+ "description": "Show a toggle button in the card's top-right corner that puts the card\nin the browser's fullscreen mode and back.",
2721
+ "type": {
2722
+ "text": "boolean"
2723
+ }
2724
+ },
2586
2725
  {
2587
2726
  "kind": "method",
2588
2727
  "name": "enterFullscreen",
@@ -2936,11 +3075,20 @@
2936
3075
  "fieldName": "hideDetails",
2937
3076
  "name": "hide-details",
2938
3077
  "description": "Hide the hint and error messages",
3078
+ "deprecated": "Use `hide-message`.",
2939
3079
  "type": {
2940
3080
  "text": "boolean"
2941
3081
  },
2942
3082
  "default": "false"
2943
3083
  },
3084
+ {
3085
+ "fieldName": "hideMessage",
3086
+ "name": "hide-message",
3087
+ "description": "Hide the message line — the hint and error messages under the field —\nand the room it keeps.",
3088
+ "type": {
3089
+ "text": "boolean"
3090
+ }
3091
+ },
2944
3092
  {
2945
3093
  "fieldName": "hint",
2946
3094
  "name": "hint",
@@ -3041,7 +3189,7 @@
3041
3189
  },
3042
3190
  {
3043
3191
  "name": "message",
3044
- "description": "The hint / error message area below the checkbox (always reserved unless `hide-details`)"
3192
+ "description": "The hint / error message area below the checkbox (always reserved unless `hide-message`)"
3045
3193
  }
3046
3194
  ],
3047
3195
  "cssProperties": [],
@@ -3127,11 +3275,21 @@
3127
3275
  "name": "hideDetails",
3128
3276
  "privacy": "public",
3129
3277
  "description": "Hide the hint and error messages",
3278
+ "deprecated": "Use `hide-message`.",
3130
3279
  "type": {
3131
3280
  "text": "boolean"
3132
3281
  },
3133
3282
  "default": "false"
3134
3283
  },
3284
+ {
3285
+ "kind": "field",
3286
+ "name": "hideMessage",
3287
+ "privacy": "public",
3288
+ "description": "Hide the message line — the hint and error messages under the field —\nand the room it keeps.",
3289
+ "type": {
3290
+ "text": "boolean"
3291
+ }
3292
+ },
3135
3293
  {
3136
3294
  "kind": "field",
3137
3295
  "name": "hint",
@@ -3330,6 +3488,19 @@
3330
3488
  "fieldName": "hideDetails",
3331
3489
  "name": "hide-details",
3332
3490
  "description": "Hide the hint and error messages",
3491
+ "deprecated": "Use `hide-message`.",
3492
+ "type": {
3493
+ "text": "boolean"
3494
+ },
3495
+ "default": "false",
3496
+ "csc": {
3497
+ "defaultable": true
3498
+ }
3499
+ },
3500
+ {
3501
+ "fieldName": "hideMessage",
3502
+ "name": "hide-message",
3503
+ "description": "Hide the message line — the hint and error messages under the field —\nand the room it keeps.",
3333
3504
  "type": {
3334
3505
  "text": "boolean"
3335
3506
  },
@@ -3551,7 +3722,7 @@
3551
3722
  },
3552
3723
  {
3553
3724
  "name": "message",
3554
- "description": "The hint / error message area below the field (always reserved unless `hide-details`)"
3725
+ "description": "The hint / error message area below the field (always reserved unless `hide-message`)"
3555
3726
  }
3556
3727
  ],
3557
3728
  "cssProperties": [],
@@ -3657,6 +3828,20 @@
3657
3828
  "name": "hideDetails",
3658
3829
  "privacy": "public",
3659
3830
  "description": "Hide the hint and error messages",
3831
+ "deprecated": "Use `hide-message`.",
3832
+ "type": {
3833
+ "text": "boolean"
3834
+ },
3835
+ "default": "false",
3836
+ "csc": {
3837
+ "defaultable": true
3838
+ }
3839
+ },
3840
+ {
3841
+ "kind": "field",
3842
+ "name": "hideMessage",
3843
+ "privacy": "public",
3844
+ "description": "Hide the message line — the hint and error messages under the field —\nand the room it keeps.",
3660
3845
  "type": {
3661
3846
  "text": "boolean"
3662
3847
  },
@@ -4459,6 +4644,19 @@
4459
4644
  "fieldName": "hideDetails",
4460
4645
  "name": "hide-details",
4461
4646
  "description": "Hide the hint and error messages",
4647
+ "deprecated": "Use `hide-message`.",
4648
+ "type": {
4649
+ "text": "boolean"
4650
+ },
4651
+ "default": "false",
4652
+ "csc": {
4653
+ "defaultable": true
4654
+ }
4655
+ },
4656
+ {
4657
+ "fieldName": "hideMessage",
4658
+ "name": "hide-message",
4659
+ "description": "Hide the message line — the hint and error messages under the field —\nand the room it keeps.",
4462
4660
  "type": {
4463
4661
  "text": "boolean"
4464
4662
  },
@@ -4760,7 +4958,7 @@
4760
4958
  },
4761
4959
  {
4762
4960
  "name": "message",
4763
- "description": "The hint / error message area below the field (always reserved unless `hide-details`)"
4961
+ "description": "The hint / error message area below the field (always reserved unless `hide-message`)"
4764
4962
  }
4765
4963
  ],
4766
4964
  "cssProperties": [],
@@ -4884,6 +5082,20 @@
4884
5082
  "name": "hideDetails",
4885
5083
  "privacy": "public",
4886
5084
  "description": "Hide the hint and error messages",
5085
+ "deprecated": "Use `hide-message`.",
5086
+ "type": {
5087
+ "text": "boolean"
5088
+ },
5089
+ "default": "false",
5090
+ "csc": {
5091
+ "defaultable": true
5092
+ }
5093
+ },
5094
+ {
5095
+ "kind": "field",
5096
+ "name": "hideMessage",
5097
+ "privacy": "public",
5098
+ "description": "Hide the message line — the hint and error messages under the field —\nand the room it keeps.",
4887
5099
  "type": {
4888
5100
  "text": "boolean"
4889
5101
  },
@@ -5283,6 +5495,19 @@
5283
5495
  "fieldName": "hideDetails",
5284
5496
  "name": "hide-details",
5285
5497
  "description": "Hide the hint and error messages",
5498
+ "deprecated": "Use `hide-message`.",
5499
+ "type": {
5500
+ "text": "boolean"
5501
+ },
5502
+ "default": "false",
5503
+ "csc": {
5504
+ "defaultable": true
5505
+ }
5506
+ },
5507
+ {
5508
+ "fieldName": "hideMessage",
5509
+ "name": "hide-message",
5510
+ "description": "Hide the message line — the hint and error messages under the field —\nand the room it keeps.",
5286
5511
  "type": {
5287
5512
  "text": "boolean"
5288
5513
  },
@@ -5398,7 +5623,7 @@
5398
5623
  },
5399
5624
  {
5400
5625
  "name": "message",
5401
- "description": "The hint/error message area under the drop zone (always reserved unless `hide-details`)"
5626
+ "description": "The hint/error message area under the drop zone (always reserved unless `hide-message`)"
5402
5627
  },
5403
5628
  {
5404
5629
  "name": "list",
@@ -5509,6 +5734,20 @@
5509
5734
  "name": "hideDetails",
5510
5735
  "privacy": "public",
5511
5736
  "description": "Hide the hint and error messages",
5737
+ "deprecated": "Use `hide-message`.",
5738
+ "type": {
5739
+ "text": "boolean"
5740
+ },
5741
+ "default": "false",
5742
+ "csc": {
5743
+ "defaultable": true
5744
+ }
5745
+ },
5746
+ {
5747
+ "kind": "field",
5748
+ "name": "hideMessage",
5749
+ "privacy": "public",
5750
+ "description": "Hide the message line — the hint and error messages under the field —\nand the room it keeps.",
5512
5751
  "type": {
5513
5752
  "text": "boolean"
5514
5753
  },
@@ -5819,6 +6058,17 @@
5819
6058
  "usage": "docs/c-icon-button/usage.md"
5820
6059
  },
5821
6060
  "attributes": [
6061
+ {
6062
+ "fieldName": "appearance",
6063
+ "name": "appearance",
6064
+ "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.",
6065
+ "type": {
6066
+ "text": "'filled' | 'ghost' | 'outlined' | 'text'"
6067
+ },
6068
+ "csc": {
6069
+ "typeAlias": "CIconButtonAppearance"
6070
+ }
6071
+ },
5822
6072
  {
5823
6073
  "fieldName": "badge",
5824
6074
  "name": "badge",
@@ -5831,7 +6081,8 @@
5831
6081
  {
5832
6082
  "fieldName": "danger",
5833
6083
  "name": "danger",
5834
- "description": "Danger appearance for a destructive action: the filled button in the error\ncolour; no effect on `outlined`, `ghost` or `text`.",
6084
+ "description": "Danger look for a destructive action: the error colour.",
6085
+ "deprecated": "Use `variant=\"danger\"`.",
5835
6086
  "type": {
5836
6087
  "text": "boolean"
5837
6088
  },
@@ -5850,6 +6101,7 @@
5850
6101
  "fieldName": "ghost",
5851
6102
  "name": "ghost",
5852
6103
  "description": "Ghost appearance: a light primary tint, for lower emphasis.",
6104
+ "deprecated": "Use `appearance=\"ghost\"`.",
5853
6105
  "type": {
5854
6106
  "text": "boolean"
5855
6107
  },
@@ -5858,7 +6110,7 @@
5858
6110
  {
5859
6111
  "fieldName": "inverted",
5860
6112
  "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.",
6113
+ "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
6114
  "type": {
5863
6115
  "text": "boolean"
5864
6116
  },
@@ -5877,6 +6129,7 @@
5877
6129
  "fieldName": "outlined",
5878
6130
  "name": "outlined",
5879
6131
  "description": "Outlined appearance: a primary outline with no fill, for lower emphasis.",
6132
+ "deprecated": "Use `appearance=\"outlined\"`.",
5880
6133
  "type": {
5881
6134
  "text": "boolean"
5882
6135
  },
@@ -5910,10 +6163,24 @@
5910
6163
  "fieldName": "text",
5911
6164
  "name": "text",
5912
6165
  "description": "Text appearance: no fill or outline, the lightest look.",
6166
+ "deprecated": "Use `appearance=\"text\"`.",
5913
6167
  "type": {
5914
6168
  "text": "boolean"
5915
6169
  },
5916
6170
  "default": "false"
6171
+ },
6172
+ {
6173
+ "fieldName": "variant",
6174
+ "name": "variant",
6175
+ "description": "The button's colour, in every appearance: `primary` unless set (or\nchanged app-wide), `secondary`, `success`, `info`, `warning`, or `danger`\nfor a destructive action.",
6176
+ "type": {
6177
+ "text": "'danger' | 'info' | 'primary' | 'secondary' | 'success' | 'warning'"
6178
+ },
6179
+ "default": "'primary'",
6180
+ "csc": {
6181
+ "typeAlias": "CIconButtonVariant",
6182
+ "defaultable": true
6183
+ }
5917
6184
  }
5918
6185
  ],
5919
6186
  "cssParts": [
@@ -5934,6 +6201,18 @@
5934
6201
  "cssStates": [],
5935
6202
  "events": [],
5936
6203
  "members": [
6204
+ {
6205
+ "kind": "field",
6206
+ "name": "appearance",
6207
+ "privacy": "public",
6208
+ "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.",
6209
+ "type": {
6210
+ "text": "'filled' | 'ghost' | 'outlined' | 'text'"
6211
+ },
6212
+ "csc": {
6213
+ "typeAlias": "CIconButtonAppearance"
6214
+ }
6215
+ },
5937
6216
  {
5938
6217
  "kind": "field",
5939
6218
  "name": "badge",
@@ -5948,7 +6227,8 @@
5948
6227
  "kind": "field",
5949
6228
  "name": "danger",
5950
6229
  "privacy": "public",
5951
- "description": "Danger appearance for a destructive action: the filled button in the error\ncolour; no effect on `outlined`, `ghost` or `text`.",
6230
+ "description": "Danger look for a destructive action: the error colour.",
6231
+ "deprecated": "Use `variant=\"danger\"`.",
5952
6232
  "type": {
5953
6233
  "text": "boolean"
5954
6234
  },
@@ -5969,6 +6249,7 @@
5969
6249
  "name": "ghost",
5970
6250
  "privacy": "public",
5971
6251
  "description": "Ghost appearance: a light primary tint, for lower emphasis.",
6252
+ "deprecated": "Use `appearance=\"ghost\"`.",
5972
6253
  "type": {
5973
6254
  "text": "boolean"
5974
6255
  },
@@ -5978,7 +6259,7 @@
5978
6259
  "kind": "field",
5979
6260
  "name": "inverted",
5980
6261
  "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.",
6262
+ "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
6263
  "type": {
5983
6264
  "text": "boolean"
5984
6265
  },
@@ -5999,6 +6280,7 @@
5999
6280
  "name": "outlined",
6000
6281
  "privacy": "public",
6001
6282
  "description": "Outlined appearance: a primary outline with no fill, for lower emphasis.",
6283
+ "deprecated": "Use `appearance=\"outlined\"`.",
6002
6284
  "type": {
6003
6285
  "text": "boolean"
6004
6286
  },
@@ -6035,10 +6317,25 @@
6035
6317
  "name": "text",
6036
6318
  "privacy": "public",
6037
6319
  "description": "Text appearance: no fill or outline, the lightest look.",
6320
+ "deprecated": "Use `appearance=\"text\"`.",
6038
6321
  "type": {
6039
6322
  "text": "boolean"
6040
6323
  },
6041
6324
  "default": "false"
6325
+ },
6326
+ {
6327
+ "kind": "field",
6328
+ "name": "variant",
6329
+ "privacy": "public",
6330
+ "description": "The button's colour, in every appearance: `primary` unless set (or\nchanged app-wide), `secondary`, `success`, `info`, `warning`, or `danger`\nfor a destructive action.",
6331
+ "type": {
6332
+ "text": "'danger' | 'info' | 'primary' | 'secondary' | 'success' | 'warning'"
6333
+ },
6334
+ "default": "'primary'",
6335
+ "csc": {
6336
+ "typeAlias": "CIconButtonVariant",
6337
+ "defaultable": true
6338
+ }
6042
6339
  }
6043
6340
  ],
6044
6341
  "slots": [
@@ -6564,10 +6861,19 @@
6564
6861
  },
6565
6862
  "default": "48"
6566
6863
  },
6864
+ {
6865
+ "fieldName": "thickness",
6866
+ "name": "thickness",
6867
+ "description": "The spinner's stroke thickness in pixels: 4 unless set.",
6868
+ "type": {
6869
+ "text": "number"
6870
+ }
6871
+ },
6567
6872
  {
6568
6873
  "fieldName": "width",
6569
6874
  "name": "width",
6570
6875
  "description": "The spinner's stroke width in pixels.",
6876
+ "deprecated": "Use `thickness`.",
6571
6877
  "type": {
6572
6878
  "text": "number"
6573
6879
  },
@@ -6618,11 +6924,21 @@
6618
6924
  },
6619
6925
  "default": "48"
6620
6926
  },
6927
+ {
6928
+ "kind": "field",
6929
+ "name": "thickness",
6930
+ "privacy": "public",
6931
+ "description": "The spinner's stroke thickness in pixels: 4 unless set.",
6932
+ "type": {
6933
+ "text": "number"
6934
+ }
6935
+ },
6621
6936
  {
6622
6937
  "kind": "field",
6623
6938
  "name": "width",
6624
6939
  "privacy": "public",
6625
6940
  "description": "The spinner's stroke width in pixels.",
6941
+ "deprecated": "Use `thickness`.",
6626
6942
  "type": {
6627
6943
  "text": "number"
6628
6944
  },
@@ -8161,6 +8477,19 @@
8161
8477
  "fieldName": "hideDetails",
8162
8478
  "name": "hide-details",
8163
8479
  "description": "Hide the hint and error messages",
8480
+ "deprecated": "Use `hide-message`.",
8481
+ "type": {
8482
+ "text": "boolean"
8483
+ },
8484
+ "default": "false",
8485
+ "csc": {
8486
+ "defaultable": true
8487
+ }
8488
+ },
8489
+ {
8490
+ "fieldName": "hideMessage",
8491
+ "name": "hide-message",
8492
+ "description": "Hide the message line — the hint and error messages under the field —\nand the room it keeps.",
8164
8493
  "type": {
8165
8494
  "text": "boolean"
8166
8495
  },
@@ -8336,7 +8665,7 @@
8336
8665
  },
8337
8666
  {
8338
8667
  "name": "message",
8339
- "description": "The hint / error message area below the field (always reserved unless `hide-details`)"
8668
+ "description": "The hint / error message area below the field (always reserved unless `hide-message`)"
8340
8669
  }
8341
8670
  ],
8342
8671
  "cssProperties": [],
@@ -8452,6 +8781,20 @@
8452
8781
  "name": "hideDetails",
8453
8782
  "privacy": "public",
8454
8783
  "description": "Hide the hint and error messages",
8784
+ "deprecated": "Use `hide-message`.",
8785
+ "type": {
8786
+ "text": "boolean"
8787
+ },
8788
+ "default": "false",
8789
+ "csc": {
8790
+ "defaultable": true
8791
+ }
8792
+ },
8793
+ {
8794
+ "kind": "field",
8795
+ "name": "hideMessage",
8796
+ "privacy": "public",
8797
+ "description": "Hide the message line — the hint and error messages under the field —\nand the room it keeps.",
8455
8798
  "type": {
8456
8799
  "text": "boolean"
8457
8800
  },
@@ -8900,11 +9243,20 @@
8900
9243
  "fieldName": "hideDetails",
8901
9244
  "name": "hide-details",
8902
9245
  "description": "Hide the hint and error messages",
9246
+ "deprecated": "Use `hide-message`.",
8903
9247
  "type": {
8904
9248
  "text": "boolean"
8905
9249
  },
8906
9250
  "default": "false"
8907
9251
  },
9252
+ {
9253
+ "fieldName": "hideMessage",
9254
+ "name": "hide-message",
9255
+ "description": "Hide the message line — the hint and error messages under the field —\nand the room it keeps.",
9256
+ "type": {
9257
+ "text": "boolean"
9258
+ }
9259
+ },
8908
9260
  {
8909
9261
  "fieldName": "hint",
8910
9262
  "name": "hint",
@@ -9052,11 +9404,21 @@
9052
9404
  "name": "hideDetails",
9053
9405
  "privacy": "public",
9054
9406
  "description": "Hide the hint and error messages",
9407
+ "deprecated": "Use `hide-message`.",
9055
9408
  "type": {
9056
9409
  "text": "boolean"
9057
9410
  },
9058
9411
  "default": "false"
9059
9412
  },
9413
+ {
9414
+ "kind": "field",
9415
+ "name": "hideMessage",
9416
+ "privacy": "public",
9417
+ "description": "Hide the message line — the hint and error messages under the field —\nand the room it keeps.",
9418
+ "type": {
9419
+ "text": "boolean"
9420
+ }
9421
+ },
9060
9422
  {
9061
9423
  "kind": "field",
9062
9424
  "name": "hint",
@@ -10043,11 +10405,20 @@
10043
10405
  "fieldName": "hideDetails",
10044
10406
  "name": "hide-details",
10045
10407
  "description": "Hide the hint and error messages",
10408
+ "deprecated": "Use `hide-message`.",
10046
10409
  "type": {
10047
10410
  "text": "boolean"
10048
10411
  },
10049
10412
  "default": "false"
10050
10413
  },
10414
+ {
10415
+ "fieldName": "hideMessage",
10416
+ "name": "hide-message",
10417
+ "description": "Hide the message line — the hint and error messages under the field —\nand the room it keeps.",
10418
+ "type": {
10419
+ "text": "boolean"
10420
+ }
10421
+ },
10051
10422
  {
10052
10423
  "fieldName": "hint",
10053
10424
  "name": "hint",
@@ -10124,7 +10495,7 @@
10124
10495
  },
10125
10496
  {
10126
10497
  "name": "message",
10127
- "description": "The hint/error message area below the radios (always reserved unless `hide-details`)"
10498
+ "description": "The hint/error message area below the radios (always reserved unless `hide-message`)"
10128
10499
  }
10129
10500
  ],
10130
10501
  "cssProperties": [],
@@ -10181,11 +10552,21 @@
10181
10552
  "name": "hideDetails",
10182
10553
  "privacy": "public",
10183
10554
  "description": "Hide the hint and error messages",
10555
+ "deprecated": "Use `hide-message`.",
10184
10556
  "type": {
10185
10557
  "text": "boolean"
10186
10558
  },
10187
10559
  "default": "false"
10188
10560
  },
10561
+ {
10562
+ "kind": "field",
10563
+ "name": "hideMessage",
10564
+ "privacy": "public",
10565
+ "description": "Hide the message line — the hint and error messages under the field —\nand the room it keeps.",
10566
+ "type": {
10567
+ "text": "boolean"
10568
+ }
10569
+ },
10189
10570
  {
10190
10571
  "kind": "field",
10191
10572
  "name": "hint",
@@ -10345,6 +10726,19 @@
10345
10726
  "fieldName": "hideDetails",
10346
10727
  "name": "hide-details",
10347
10728
  "description": "Hide the hint and error messages",
10729
+ "deprecated": "Use `hide-message`.",
10730
+ "type": {
10731
+ "text": "boolean"
10732
+ },
10733
+ "default": "false",
10734
+ "csc": {
10735
+ "defaultable": true
10736
+ }
10737
+ },
10738
+ {
10739
+ "fieldName": "hideMessage",
10740
+ "name": "hide-message",
10741
+ "description": "Hide the message line — the hint and error messages under the field —\nand the room it keeps.",
10348
10742
  "type": {
10349
10743
  "text": "boolean"
10350
10744
  },
@@ -10586,7 +10980,7 @@
10586
10980
  },
10587
10981
  {
10588
10982
  "name": "message",
10589
- "description": "The hint / error message area below the field (always reserved unless `hide-details`)"
10983
+ "description": "The hint / error message area below the field (always reserved unless `hide-message`)"
10590
10984
  }
10591
10985
  ],
10592
10986
  "cssProperties": [],
@@ -10653,6 +11047,20 @@
10653
11047
  "name": "hideDetails",
10654
11048
  "privacy": "public",
10655
11049
  "description": "Hide the hint and error messages",
11050
+ "deprecated": "Use `hide-message`.",
11051
+ "type": {
11052
+ "text": "boolean"
11053
+ },
11054
+ "default": "false",
11055
+ "csc": {
11056
+ "defaultable": true
11057
+ }
11058
+ },
11059
+ {
11060
+ "kind": "field",
11061
+ "name": "hideMessage",
11062
+ "privacy": "public",
11063
+ "description": "Hide the message line — the hint and error messages under the field —\nand the room it keeps.",
10656
11064
  "type": {
10657
11065
  "text": "boolean"
10658
11066
  },
@@ -11044,7 +11452,7 @@
11044
11452
  "kind": "class",
11045
11453
  "name": "CSideNavigationItem",
11046
11454
  "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.",
11455
+ "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
11456
  "csc": {
11049
11457
  "usage": "docs/c-side-navigation-item/usage.md"
11050
11458
  },
@@ -11053,11 +11461,28 @@
11053
11461
  "fieldName": "active",
11054
11462
  "name": "active",
11055
11463
  "description": "On an item without sub-items, mark the current page\n(`aria-current=\"page\"`); on a parent, expand its sub-items.",
11464
+ "deprecated": "Use `current` on an item without sub-items and `expanded` on a parent.",
11056
11465
  "type": {
11057
11466
  "text": "boolean"
11058
11467
  },
11059
11468
  "default": "false"
11060
11469
  },
11470
+ {
11471
+ "fieldName": "current",
11472
+ "name": "current",
11473
+ "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.",
11474
+ "type": {
11475
+ "text": "boolean"
11476
+ }
11477
+ },
11478
+ {
11479
+ "fieldName": "expanded",
11480
+ "name": "expanded",
11481
+ "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.",
11482
+ "type": {
11483
+ "text": "boolean"
11484
+ }
11485
+ },
11061
11486
  {
11062
11487
  "fieldName": "href",
11063
11488
  "name": "href",
@@ -11134,11 +11559,30 @@
11134
11559
  "name": "active",
11135
11560
  "privacy": "public",
11136
11561
  "description": "On an item without sub-items, mark the current page\n(`aria-current=\"page\"`); on a parent, expand its sub-items.",
11562
+ "deprecated": "Use `current` on an item without sub-items and `expanded` on a parent.",
11137
11563
  "type": {
11138
11564
  "text": "boolean"
11139
11565
  },
11140
11566
  "default": "false"
11141
11567
  },
11568
+ {
11569
+ "kind": "field",
11570
+ "name": "current",
11571
+ "privacy": "public",
11572
+ "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.",
11573
+ "type": {
11574
+ "text": "boolean"
11575
+ }
11576
+ },
11577
+ {
11578
+ "kind": "field",
11579
+ "name": "expanded",
11580
+ "privacy": "public",
11581
+ "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.",
11582
+ "type": {
11583
+ "text": "boolean"
11584
+ }
11585
+ },
11142
11586
  {
11143
11587
  "kind": "field",
11144
11588
  "name": "href",
@@ -11322,6 +11766,7 @@
11322
11766
  "fieldName": "labels",
11323
11767
  "name": "labels",
11324
11768
  "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`",
11769
+ "deprecated": "Use `tick-labels`.",
11325
11770
  "type": {
11326
11771
  "text": "boolean"
11327
11772
  },
@@ -11375,6 +11820,14 @@
11375
11820
  },
11376
11821
  "default": "1"
11377
11822
  },
11823
+ {
11824
+ "fieldName": "tickLabels",
11825
+ "name": "tick-labels",
11826
+ "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`",
11827
+ "type": {
11828
+ "text": "boolean"
11829
+ }
11830
+ },
11378
11831
  {
11379
11832
  "fieldName": "ticks",
11380
11833
  "name": "ticks",
@@ -11484,6 +11937,7 @@
11484
11937
  "name": "labels",
11485
11938
  "privacy": "public",
11486
11939
  "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`",
11940
+ "deprecated": "Use `tick-labels`.",
11487
11941
  "type": {
11488
11942
  "text": "boolean"
11489
11943
  },
@@ -11542,6 +11996,15 @@
11542
11996
  },
11543
11997
  "default": "1"
11544
11998
  },
11999
+ {
12000
+ "kind": "field",
12001
+ "name": "tickLabels",
12002
+ "privacy": "public",
12003
+ "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`",
12004
+ "type": {
12005
+ "text": "boolean"
12006
+ }
12007
+ },
11545
12008
  {
11546
12009
  "kind": "field",
11547
12010
  "name": "ticks",
@@ -11642,10 +12105,19 @@
11642
12105
  },
11643
12106
  "default": "24"
11644
12107
  },
12108
+ {
12109
+ "fieldName": "thickness",
12110
+ "name": "thickness",
12111
+ "description": "Stroke thickness in pixels: 2 unless set.",
12112
+ "type": {
12113
+ "text": "number"
12114
+ }
12115
+ },
11645
12116
  {
11646
12117
  "fieldName": "width",
11647
12118
  "name": "width",
11648
12119
  "description": "Stroke width in pixels.",
12120
+ "deprecated": "Use `thickness`.",
11649
12121
  "type": {
11650
12122
  "text": "number"
11651
12123
  },
@@ -11685,11 +12157,21 @@
11685
12157
  },
11686
12158
  "default": "24"
11687
12159
  },
12160
+ {
12161
+ "kind": "field",
12162
+ "name": "thickness",
12163
+ "privacy": "public",
12164
+ "description": "Stroke thickness in pixels: 2 unless set.",
12165
+ "type": {
12166
+ "text": "number"
12167
+ }
12168
+ },
11688
12169
  {
11689
12170
  "kind": "field",
11690
12171
  "name": "width",
11691
12172
  "privacy": "public",
11692
12173
  "description": "Stroke width in pixels.",
12174
+ "deprecated": "Use `thickness`.",
11693
12175
  "type": {
11694
12176
  "text": "number"
11695
12177
  },
@@ -11949,7 +12431,7 @@
11949
12431
  "kind": "class",
11950
12432
  "name": "CSubNavigationItem",
11951
12433
  "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.",
12434
+ "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
12435
  "csc": {
11954
12436
  "usage": "docs/c-sub-navigation-item/usage.md"
11955
12437
  },
@@ -11958,11 +12440,20 @@
11958
12440
  "fieldName": "active",
11959
12441
  "name": "active",
11960
12442
  "description": "Mark the sub-item as the current page (`aria-current=\"page\"`); set `active`\non its parent item too, so the parent is expanded.",
12443
+ "deprecated": "Use `current`.",
11961
12444
  "type": {
11962
12445
  "text": "boolean"
11963
12446
  },
11964
12447
  "default": "false"
11965
12448
  },
12449
+ {
12450
+ "fieldName": "current",
12451
+ "name": "current",
12452
+ "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.",
12453
+ "type": {
12454
+ "text": "boolean"
12455
+ }
12456
+ },
11966
12457
  {
11967
12458
  "fieldName": "href",
11968
12459
  "name": "href",
@@ -12035,11 +12526,21 @@
12035
12526
  "name": "active",
12036
12527
  "privacy": "public",
12037
12528
  "description": "Mark the sub-item as the current page (`aria-current=\"page\"`); set `active`\non its parent item too, so the parent is expanded.",
12529
+ "deprecated": "Use `current`.",
12038
12530
  "type": {
12039
12531
  "text": "boolean"
12040
12532
  },
12041
12533
  "default": "false"
12042
12534
  },
12535
+ {
12536
+ "kind": "field",
12537
+ "name": "current",
12538
+ "privacy": "public",
12539
+ "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.",
12540
+ "type": {
12541
+ "text": "boolean"
12542
+ }
12543
+ },
12043
12544
  {
12044
12545
  "kind": "field",
12045
12546
  "name": "href",
@@ -13397,6 +13898,19 @@
13397
13898
  "fieldName": "hideDetails",
13398
13899
  "name": "hide-details",
13399
13900
  "description": "Hide the hint and error messages",
13901
+ "deprecated": "Use `hide-message`.",
13902
+ "type": {
13903
+ "text": "boolean"
13904
+ },
13905
+ "default": "false",
13906
+ "csc": {
13907
+ "defaultable": true
13908
+ }
13909
+ },
13910
+ {
13911
+ "fieldName": "hideMessage",
13912
+ "name": "hide-message",
13913
+ "description": "Hide the message line — the hint and error messages under the field —\nand the room it keeps.",
13400
13914
  "type": {
13401
13915
  "text": "boolean"
13402
13916
  },
@@ -13606,7 +14120,7 @@
13606
14120
  },
13607
14121
  {
13608
14122
  "name": "message",
13609
- "description": "The hint / error message area below the field (always reserved unless `hide-details`)"
14123
+ "description": "The hint / error message area below the field (always reserved unless `hide-message`)"
13610
14124
  }
13611
14125
  ],
13612
14126
  "cssProperties": [],
@@ -13712,6 +14226,20 @@
13712
14226
  "name": "hideDetails",
13713
14227
  "privacy": "public",
13714
14228
  "description": "Hide the hint and error messages",
14229
+ "deprecated": "Use `hide-message`.",
14230
+ "type": {
14231
+ "text": "boolean"
14232
+ },
14233
+ "default": "false",
14234
+ "csc": {
14235
+ "defaultable": true
14236
+ }
14237
+ },
14238
+ {
14239
+ "kind": "field",
14240
+ "name": "hideMessage",
14241
+ "privacy": "public",
14242
+ "description": "Hide the message line — the hint and error messages under the field —\nand the room it keeps.",
13715
14243
  "type": {
13716
14244
  "text": "boolean"
13717
14245
  },
@@ -14053,6 +14581,19 @@
14053
14581
  "fieldName": "hideDetails",
14054
14582
  "name": "hide-details",
14055
14583
  "description": "Hide the hint and error messages",
14584
+ "deprecated": "Use `hide-message`.",
14585
+ "type": {
14586
+ "text": "boolean"
14587
+ },
14588
+ "default": "false",
14589
+ "csc": {
14590
+ "defaultable": true
14591
+ }
14592
+ },
14593
+ {
14594
+ "fieldName": "hideMessage",
14595
+ "name": "hide-message",
14596
+ "description": "Hide the message line — the hint and error messages under the field —\nand the room it keeps.",
14056
14597
  "type": {
14057
14598
  "text": "boolean"
14058
14599
  },
@@ -14291,7 +14832,7 @@
14291
14832
  },
14292
14833
  {
14293
14834
  "name": "message",
14294
- "description": "The hint / error message area below the field (always reserved unless `hide-details`)"
14835
+ "description": "The hint / error message area below the field (always reserved unless `hide-message`)"
14295
14836
  }
14296
14837
  ],
14297
14838
  "cssProperties": [],
@@ -14384,6 +14925,20 @@
14384
14925
  "name": "hideDetails",
14385
14926
  "privacy": "public",
14386
14927
  "description": "Hide the hint and error messages",
14928
+ "deprecated": "Use `hide-message`.",
14929
+ "type": {
14930
+ "text": "boolean"
14931
+ },
14932
+ "default": "false",
14933
+ "csc": {
14934
+ "defaultable": true
14935
+ }
14936
+ },
14937
+ {
14938
+ "kind": "field",
14939
+ "name": "hideMessage",
14940
+ "privacy": "public",
14941
+ "description": "Hide the message line — the hint and error messages under the field —\nand the room it keeps.",
14387
14942
  "type": {
14388
14943
  "text": "boolean"
14389
14944
  },
@@ -14646,15 +15201,25 @@
14646
15201
  "fieldName": "absolute",
14647
15202
  "name": "absolute",
14648
15203
  "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.",
15204
+ "deprecated": "Use `contained`.",
14649
15205
  "type": {
14650
15206
  "text": "boolean"
14651
15207
  },
14652
15208
  "default": "false"
14653
15209
  },
15210
+ {
15211
+ "fieldName": "contained",
15212
+ "name": "contained",
15213
+ "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.",
15214
+ "type": {
15215
+ "text": "boolean"
15216
+ }
15217
+ },
14654
15218
  {
14655
15219
  "fieldName": "horizontal",
14656
15220
  "name": "horizontal",
14657
15221
  "description": "Where the stack sits across the viewport, or across its container\nunder `absolute`.",
15222
+ "deprecated": "Use `position`.",
14658
15223
  "type": {
14659
15224
  "text": "'center' | 'left' | 'right'"
14660
15225
  },
@@ -14663,10 +15228,22 @@
14663
15228
  "typeAlias": "CToastsHorizontal"
14664
15229
  }
14665
15230
  },
15231
+ {
15232
+ "fieldName": "position",
15233
+ "name": "position",
15234
+ "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.",
15235
+ "type": {
15236
+ "text": "'bottom-end' | 'bottom-start' | 'bottom' | 'top-end' | 'top-start' | 'top'"
15237
+ },
15238
+ "csc": {
15239
+ "typeAlias": "CToastsPosition"
15240
+ }
15241
+ },
14666
15242
  {
14667
15243
  "fieldName": "vertical",
14668
15244
  "name": "vertical",
14669
15245
  "description": "The edge the stack is anchored to; toasts slide in from it.",
15246
+ "deprecated": "Use `position`.",
14670
15247
  "type": {
14671
15248
  "text": "'bottom' | 'top'"
14672
15249
  },
@@ -14727,16 +15304,27 @@
14727
15304
  "name": "absolute",
14728
15305
  "privacy": "public",
14729
15306
  "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.",
15307
+ "deprecated": "Use `contained`.",
14730
15308
  "type": {
14731
15309
  "text": "boolean"
14732
15310
  },
14733
15311
  "default": "false"
14734
15312
  },
15313
+ {
15314
+ "kind": "field",
15315
+ "name": "contained",
15316
+ "privacy": "public",
15317
+ "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.",
15318
+ "type": {
15319
+ "text": "boolean"
15320
+ }
15321
+ },
14735
15322
  {
14736
15323
  "kind": "field",
14737
15324
  "name": "horizontal",
14738
15325
  "privacy": "public",
14739
15326
  "description": "Where the stack sits across the viewport, or across its container\nunder `absolute`.",
15327
+ "deprecated": "Use `position`.",
14740
15328
  "type": {
14741
15329
  "text": "'center' | 'left' | 'right'"
14742
15330
  },
@@ -14745,11 +15333,24 @@
14745
15333
  "typeAlias": "CToastsHorizontal"
14746
15334
  }
14747
15335
  },
15336
+ {
15337
+ "kind": "field",
15338
+ "name": "position",
15339
+ "privacy": "public",
15340
+ "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.",
15341
+ "type": {
15342
+ "text": "'bottom-end' | 'bottom-start' | 'bottom' | 'top-end' | 'top-start' | 'top'"
15343
+ },
15344
+ "csc": {
15345
+ "typeAlias": "CToastsPosition"
15346
+ }
15347
+ },
14748
15348
  {
14749
15349
  "kind": "field",
14750
15350
  "name": "vertical",
14751
15351
  "privacy": "public",
14752
15352
  "description": "The edge the stack is anchored to; toasts slide in from it.",
15353
+ "deprecated": "Use `position`.",
14753
15354
  "type": {
14754
15355
  "text": "'bottom' | 'top'"
14755
15356
  },
@@ -15126,6 +15727,19 @@
15126
15727
  "fieldName": "hideDetails",
15127
15728
  "name": "hide-details",
15128
15729
  "description": "Hide the hint and error messages",
15730
+ "deprecated": "Use `hide-message`.",
15731
+ "type": {
15732
+ "text": "boolean"
15733
+ },
15734
+ "default": "false",
15735
+ "csc": {
15736
+ "defaultable": true
15737
+ }
15738
+ },
15739
+ {
15740
+ "fieldName": "hideMessage",
15741
+ "name": "hide-message",
15742
+ "description": "Hide the message line — the hint and error messages under the field —\nand the room it keeps.",
15129
15743
  "type": {
15130
15744
  "text": "boolean"
15131
15745
  },
@@ -15335,7 +15949,7 @@
15335
15949
  },
15336
15950
  {
15337
15951
  "name": "message",
15338
- "description": "The hint / error message area below the field (always reserved unless `hide-details`)"
15952
+ "description": "The hint / error message area below the field (always reserved unless `hide-message`)"
15339
15953
  }
15340
15954
  ],
15341
15955
  "cssProperties": [],
@@ -15428,6 +16042,20 @@
15428
16042
  "name": "hideDetails",
15429
16043
  "privacy": "public",
15430
16044
  "description": "Hide the hint and error messages",
16045
+ "deprecated": "Use `hide-message`.",
16046
+ "type": {
16047
+ "text": "boolean"
16048
+ },
16049
+ "default": "false",
16050
+ "csc": {
16051
+ "defaultable": true
16052
+ }
16053
+ },
16054
+ {
16055
+ "kind": "field",
16056
+ "name": "hideMessage",
16057
+ "privacy": "public",
16058
+ "description": "Hide the message line — the hint and error messages under the field —\nand the room it keeps.",
15431
16059
  "type": {
15432
16060
  "text": "boolean"
15433
16061
  },