@cscfi/csc-ui 4.0.0-rc.6 → 4.0.0-rc.7

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.
@@ -5673,7 +5673,11 @@
5673
5673
  },
5674
5674
  {
5675
5675
  "name": "progress",
5676
- "description": "The progress bar along an uploading row's bottom edge"
5676
+ "description": "The progress track along an uploading row's bottom edge"
5677
+ },
5678
+ {
5679
+ "name": "progress-bar",
5680
+ "description": "The bar inside it showing the row's upload progress, or its looping sweep while indeterminate"
5677
5681
  }
5678
5682
  ],
5679
5683
  "cssProperties": [],
@@ -10055,7 +10059,7 @@
10055
10059
  {
10056
10060
  "fieldName": "hideDetails",
10057
10061
  "name": "hide-details",
10058
- "description": "Hides the details line (the percentage and `label`); `label` still\nnames the bar.",
10062
+ "description": "Hides the details line (the percentage and `label`); `label` still\nnames the progress bar.",
10059
10063
  "type": {
10060
10064
  "text": "boolean"
10061
10065
  },
@@ -10064,7 +10068,7 @@
10064
10068
  {
10065
10069
  "fieldName": "indeterminate",
10066
10070
  "name": "indeterminate",
10067
- "description": "Replaces the fill with a looping sweep for work of unknown duration,\nhiding the details line and exposing no value.",
10071
+ "description": "Turns the bar into a looping sweep for work of unknown duration,\nhiding the details line and exposing no value.",
10068
10072
  "type": {
10069
10073
  "text": "boolean"
10070
10074
  },
@@ -10085,7 +10089,7 @@
10085
10089
  {
10086
10090
  "fieldName": "singleLine",
10087
10091
  "name": "single-line",
10088
- "description": "Places the details line beside the bar instead of below it.",
10092
+ "description": "Places the details line beside the progress track instead of below it.",
10089
10093
  "type": {
10090
10094
  "text": "boolean"
10091
10095
  },
@@ -10094,7 +10098,7 @@
10094
10098
  {
10095
10099
  "fieldName": "value",
10096
10100
  "name": "value",
10097
- "description": "Completion percentage, 0 to 100. The fill clamps a value outside that\nrange; the details line shows it as given, a negative one in the error\ncolour.",
10101
+ "description": "Completion percentage, 0 to 100. The bar clamps a value outside that\nrange; the details line shows it as given, a negative one in the error\ncolour.",
10098
10102
  "type": {
10099
10103
  "text": "number"
10100
10104
  },
@@ -10104,11 +10108,15 @@
10104
10108
  "cssParts": [
10105
10109
  {
10106
10110
  "name": "root",
10107
- "description": "The outer flex wrapper around the bar and the details line"
10111
+ "description": "The outer flex wrapper around the progress track and the details line"
10112
+ },
10113
+ {
10114
+ "name": "track",
10115
+ "description": "The progress track: the ground the bar grows along, carrying the progressbar role. Its padding is the frame around the bar"
10108
10116
  },
10109
10117
  {
10110
10118
  "name": "bar",
10111
- "description": "The visible track of the progress bar, wrapping the native `<progress>` element"
10119
+ "description": "The bar showing the value: the fill, or the looping sweep while indeterminate"
10112
10120
  },
10113
10121
  {
10114
10122
  "name": "details",
@@ -10123,7 +10131,7 @@
10123
10131
  "kind": "field",
10124
10132
  "name": "hideDetails",
10125
10133
  "privacy": "public",
10126
- "description": "Hides the details line (the percentage and `label`); `label` still\nnames the bar.",
10134
+ "description": "Hides the details line (the percentage and `label`); `label` still\nnames the progress bar.",
10127
10135
  "type": {
10128
10136
  "text": "boolean"
10129
10137
  },
@@ -10133,7 +10141,7 @@
10133
10141
  "kind": "field",
10134
10142
  "name": "indeterminate",
10135
10143
  "privacy": "public",
10136
- "description": "Replaces the fill with a looping sweep for work of unknown duration,\nhiding the details line and exposing no value.",
10144
+ "description": "Turns the bar into a looping sweep for work of unknown duration,\nhiding the details line and exposing no value.",
10137
10145
  "type": {
10138
10146
  "text": "boolean"
10139
10147
  },
@@ -10156,7 +10164,7 @@
10156
10164
  "kind": "field",
10157
10165
  "name": "singleLine",
10158
10166
  "privacy": "public",
10159
- "description": "Places the details line beside the bar instead of below it.",
10167
+ "description": "Places the details line beside the progress track instead of below it.",
10160
10168
  "type": {
10161
10169
  "text": "boolean"
10162
10170
  },
@@ -10166,7 +10174,7 @@
10166
10174
  "kind": "field",
10167
10175
  "name": "value",
10168
10176
  "privacy": "public",
10169
- "description": "Completion percentage, 0 to 100. The fill clamps a value outside that\nrange; the details line shows it as given, a negative one in the error\ncolour.",
10177
+ "description": "Completion percentage, 0 to 100. The bar clamps a value outside that\nrange; the details line shows it as given, a negative one in the error\ncolour.",
10170
10178
  "type": {
10171
10179
  "text": "number"
10172
10180
  },
@@ -1,8 +1,8 @@
1
1
  A horizontal progress bar that fills a track to a known completion percentage, with an optional details line showing the value and a label.
2
2
 
3
- Bind the completion percentage to `value` (0–100; out-of-range values are clamped for the fill). By default a details line renders below the bar — the percentage plus whatever the `label` prop supplies (e.g. "57 % Uploading files"). Hide it with `hide-details`, or place it beside the bar with `single-line`.
3
+ Bind the completion percentage to `value` (0–100; out-of-range values are clamped for the bar). By default a details line renders below the progress track — the percentage plus whatever the `label` prop supplies (e.g. "57 % Uploading files"). Hide it with `hide-details`, or place it beside the track with `single-line`.
4
4
 
5
- For work of unknown duration the `indeterminate` prop replaces the fill with a looping sweep and hides the details line.
5
+ For work of unknown duration the `indeterminate` prop turns the bar into a looping sweep and hides the details line.
6
6
 
7
7
  ## When to use
8
8
 
@@ -12,12 +12,31 @@ For work of unknown duration the `indeterminate` prop replaces the fill with a l
12
12
 
13
13
  ## Details line
14
14
 
15
- The details line shows the raw `value` even when the fill clamps it, and a negative value renders the line in the error role — a hook for signalling a failed transfer while keeping the bar itself empty.
15
+ The details line shows the raw `value` even when the bar clamps it, and a negative value renders the line in the error role — a hook for signalling a failed transfer while keeping the bar itself empty.
16
16
 
17
17
  ## Accessibility
18
18
 
19
- The bar is a native `<progress>` element exposing `role="progressbar"` with `aria-valuenow` while determinate; in indeterminate mode no value is exposed. The host mirrors `aria-busy` (true while indeterminate) and a `title` tooltip with the current percentage. The bar is named by `label`, or, where a visible label would be redundant (a table cell), by an `aria-label` on the element. Name every bar.
19
+ The progress track is the element with `role="progressbar"`, exposing `aria-valuenow` (0 to 100) while determinate; in indeterminate mode no value is exposed. The host mirrors `aria-busy` (true while indeterminate) and a `title` tooltip with the current percentage. The progress bar is named by `label`, or, where a visible label would be redundant (a table cell), by an `aria-label` on the element. Name every progress bar.
20
20
 
21
21
  ## Customization
22
22
 
23
- Restyle via the parts: `::part(root)` (the outer wrapper), `::part(bar)` (the visible track around the native `<progress>`), and `::part(details)` (the percentage/label line). Colours default to the primary fill on a muted surface track.
23
+ Restyle via the parts:
24
+
25
+ - `::part(track)`: the progress track the bar grows along. Its `background-color` is the track's colour, its `height` the bar's thickness plus the frame, and its `padding` the frame around the bar.
26
+ - `::part(bar)`: the bar showing the value, also the indeterminate sweep. Its `background-color` is the bar's colour.
27
+ - `::part(root)`: the wrapper around the track and the details line.
28
+ - `::part(details)`: the percentage and label line.
29
+
30
+ By default the bar paints the primary role on a muted track. In a forced-colors mode (Windows High Contrast) the bar paints the system highlight colour whatever its `::part()` colour.
31
+
32
+ ```css
33
+ c-progress-bar.quota::part(track) {
34
+ background-color: var(--c-surface-sunken);
35
+ height: 12px;
36
+ padding: 2px;
37
+ }
38
+
39
+ c-progress-bar.quota::part(bar) {
40
+ background-color: var(--c-warning);
41
+ }
42
+ ```
@@ -479,7 +479,11 @@
479
479
  { "name": "::part(rejected)", "description": "One rejected file's row" },
480
480
  {
481
481
  "name": "::part(progress)",
482
- "description": "The progress bar along an uploading row's bottom edge"
482
+ "description": "The progress track along an uploading row's bottom edge"
483
+ },
484
+ {
485
+ "name": "::part(progress-bar)",
486
+ "description": "The bar inside it showing the row's upload progress, or its looping sweep while indeterminate"
483
487
  },
484
488
  {
485
489
  "name": "::part(root)",
@@ -693,11 +697,15 @@
693
697
  },
694
698
  {
695
699
  "name": "::part(root)",
696
- "description": "The outer flex wrapper around the bar and the details line"
700
+ "description": "The outer flex wrapper around the progress track and the details line"
701
+ },
702
+ {
703
+ "name": "::part(track)",
704
+ "description": "The progress track: the ground the bar grows along, carrying the progressbar role. Its padding is the frame around the bar"
697
705
  },
698
706
  {
699
707
  "name": "::part(bar)",
700
- "description": "The visible track of the progress bar, wrapping the native `<progress>` element"
708
+ "description": "The bar showing the value: the fill, or the looping sweep while indeterminate"
701
709
  },
702
710
  {
703
711
  "name": "::part(details)",
@@ -816,7 +816,7 @@
816
816
  },
817
817
  {
818
818
  "name": "c-file-upload",
819
- "description": "A field the user adds files to by dropping them on it or choosing them from a file dialog — and, given an upload function, the place each file's upload shows its progress.\n---\n\n\n### **Events:**\n - **change** - Fired with the new list of file entries.\n- **input** - Native bubbling input event fired with every value change so a plain Vue\n`v-model` works. No detail.\n- **reject** - Fired after an add that refused files, listing each with its reason —\na type outside `accept`, a file over `max-size`, a file already held,\none beyond `max-files`, or a folder. The refused files never join the\nvalue.\n- **update:value** - v-model contract event, fired with `change`.\n\n### **Methods:**\n - **focus()** - Focus its drop zone's button, as `focus()` does on a native control: the element renders\nno box of its own to take it.\n- **startUploads()** - Queue every `local` file entry for the upload function — how a `manual`\nfield starts; files added after the call wait for the next one. Fires the\nvalue events once when it starts any. Does nothing without an upload function\n\n### **CSS Parts:**\n - **root** - The field: label, drop zone, message line and file list. The whole of it takes a drop\n- **label** - The label above the drop zone\n- **drop-zone** - The dashed drop zone — the large button, or the `compact` row\n- **message** - The hint/error message area under the drop zone (always reserved unless `hide-message`)\n- **list** - The list of file entries and rejected files\n- **entry** - One file entry's row\n- **rejected** - One rejected file's row\n- **progress** - The progress bar along an uploading row's bottom edge",
819
+ "description": "A field the user adds files to by dropping them on it or choosing them from a file dialog — and, given an upload function, the place each file's upload shows its progress.\n---\n\n\n### **Events:**\n - **change** - Fired with the new list of file entries.\n- **input** - Native bubbling input event fired with every value change so a plain Vue\n`v-model` works. No detail.\n- **reject** - Fired after an add that refused files, listing each with its reason —\na type outside `accept`, a file over `max-size`, a file already held,\none beyond `max-files`, or a folder. The refused files never join the\nvalue.\n- **update:value** - v-model contract event, fired with `change`.\n\n### **Methods:**\n - **focus()** - Focus its drop zone's button, as `focus()` does on a native control: the element renders\nno box of its own to take it.\n- **startUploads()** - Queue every `local` file entry for the upload function — how a `manual`\nfield starts; files added after the call wait for the next one. Fires the\nvalue events once when it starts any. Does nothing without an upload function\n\n### **CSS Parts:**\n - **root** - The field: label, drop zone, message line and file list. The whole of it takes a drop\n- **label** - The label above the drop zone\n- **drop-zone** - The dashed drop zone — the large button, or the `compact` row\n- **message** - The hint/error message area under the drop zone (always reserved unless `hide-message`)\n- **list** - The list of file entries and rejected files\n- **entry** - One file entry's row\n- **rejected** - One rejected file's row\n- **progress** - The progress track along an uploading row's bottom edge\n- **progress-bar** - The bar inside it showing the row's upload progress, or its looping sweep while indeterminate",
820
820
  "attributes": [
821
821
  {
822
822
  "name": "accept",
@@ -1664,16 +1664,16 @@
1664
1664
  },
1665
1665
  {
1666
1666
  "name": "c-progress-bar",
1667
- "description": "A horizontal progress bar that fills a track to a known completion percentage, with an optional details line showing the value and a label.\n---\n\n\n### **CSS Parts:**\n - **root** - The outer flex wrapper around the bar and the details line\n- **bar** - The visible track of the progress bar, wrapping the native `<progress>` element\n- **details** - The percentage and label text line",
1667
+ "description": "A horizontal progress bar that fills a track to a known completion percentage, with an optional details line showing the value and a label.\n---\n\n\n### **CSS Parts:**\n - **root** - The outer flex wrapper around the progress track and the details line\n- **track** - The progress track: the ground the bar grows along, carrying the progressbar role. Its padding is the frame around the bar\n- **bar** - The bar showing the value: the fill, or the looping sweep while indeterminate\n- **details** - The percentage and label text line",
1668
1668
  "attributes": [
1669
1669
  {
1670
1670
  "name": "hide-details",
1671
- "description": "Hides the details line (the percentage and `label`); `label` still\nnames the bar.",
1671
+ "description": "Hides the details line (the percentage and `label`); `label` still\nnames the progress bar.",
1672
1672
  "values": []
1673
1673
  },
1674
1674
  {
1675
1675
  "name": "indeterminate",
1676
- "description": "Replaces the fill with a looping sweep for work of unknown duration,\nhiding the details line and exposing no value.",
1676
+ "description": "Turns the bar into a looping sweep for work of unknown duration,\nhiding the details line and exposing no value.",
1677
1677
  "values": []
1678
1678
  },
1679
1679
  {
@@ -1683,12 +1683,12 @@
1683
1683
  },
1684
1684
  {
1685
1685
  "name": "single-line",
1686
- "description": "Places the details line beside the bar instead of below it.",
1686
+ "description": "Places the details line beside the progress track instead of below it.",
1687
1687
  "values": []
1688
1688
  },
1689
1689
  {
1690
1690
  "name": "value",
1691
- "description": "Completion percentage, 0 to 100. The fill clamps a value outside that\nrange; the details line shows it as given, a negative one in the error\ncolour.",
1691
+ "description": "Completion percentage, 0 to 100. The bar clamps a value outside that\nrange; the details line shows it as given, a negative one in the error\ncolour.",
1692
1692
  "values": []
1693
1693
  }
1694
1694
  ],
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
3
3
  "name": "@cscfi/csc-ui",
4
- "version": "4.0.0-rc.6",
4
+ "version": "4.0.0-rc.7",
5
5
  "description-markup": "markdown",
6
6
  "contributions": {
7
7
  "html": {
@@ -2483,7 +2483,7 @@
2483
2483
  },
2484
2484
  {
2485
2485
  "name": "c-file-upload",
2486
- "description": "A field the user adds files to by dropping them on it or choosing them from a file dialog — and, given an upload function, the place each file's upload shows its progress.\n---\n\n\n### **Events:**\n - **change** - Fired with the new list of file entries.\n- **input** - Native bubbling input event fired with every value change so a plain Vue\n`v-model` works. No detail.\n- **reject** - Fired after an add that refused files, listing each with its reason —\na type outside `accept`, a file over `max-size`, a file already held,\none beyond `max-files`, or a folder. The refused files never join the\nvalue.\n- **update:value** - v-model contract event, fired with `change`.\n\n### **Methods:**\n - **focus()** - Focus its drop zone's button, as `focus()` does on a native control: the element renders\nno box of its own to take it.\n- **startUploads()** - Queue every `local` file entry for the upload function — how a `manual`\nfield starts; files added after the call wait for the next one. Fires the\nvalue events once when it starts any. Does nothing without an upload function\n\n### **CSS Parts:**\n - **root** - The field: label, drop zone, message line and file list. The whole of it takes a drop\n- **label** - The label above the drop zone\n- **drop-zone** - The dashed drop zone — the large button, or the `compact` row\n- **message** - The hint/error message area under the drop zone (always reserved unless `hide-message`)\n- **list** - The list of file entries and rejected files\n- **entry** - One file entry's row\n- **rejected** - One rejected file's row\n- **progress** - The progress bar along an uploading row's bottom edge",
2486
+ "description": "A field the user adds files to by dropping them on it or choosing them from a file dialog — and, given an upload function, the place each file's upload shows its progress.\n---\n\n\n### **Events:**\n - **change** - Fired with the new list of file entries.\n- **input** - Native bubbling input event fired with every value change so a plain Vue\n`v-model` works. No detail.\n- **reject** - Fired after an add that refused files, listing each with its reason —\na type outside `accept`, a file over `max-size`, a file already held,\none beyond `max-files`, or a folder. The refused files never join the\nvalue.\n- **update:value** - v-model contract event, fired with `change`.\n\n### **Methods:**\n - **focus()** - Focus its drop zone's button, as `focus()` does on a native control: the element renders\nno box of its own to take it.\n- **startUploads()** - Queue every `local` file entry for the upload function — how a `manual`\nfield starts; files added after the call wait for the next one. Fires the\nvalue events once when it starts any. Does nothing without an upload function\n\n### **CSS Parts:**\n - **root** - The field: label, drop zone, message line and file list. The whole of it takes a drop\n- **label** - The label above the drop zone\n- **drop-zone** - The dashed drop zone — the large button, or the `compact` row\n- **message** - The hint/error message area under the drop zone (always reserved unless `hide-message`)\n- **list** - The list of file entries and rejected files\n- **entry** - One file entry's row\n- **rejected** - One rejected file's row\n- **progress** - The progress track along an uploading row's bottom edge\n- **progress-bar** - The bar inside it showing the row's upload progress, or its looping sweep while indeterminate",
2487
2487
  "doc-url": "",
2488
2488
  "attributes": [
2489
2489
  {
@@ -4845,12 +4845,12 @@
4845
4845
  },
4846
4846
  {
4847
4847
  "name": "c-progress-bar",
4848
- "description": "A horizontal progress bar that fills a track to a known completion percentage, with an optional details line showing the value and a label.\n---\n\n\n### **CSS Parts:**\n - **root** - The outer flex wrapper around the bar and the details line\n- **bar** - The visible track of the progress bar, wrapping the native `<progress>` element\n- **details** - The percentage and label text line",
4848
+ "description": "A horizontal progress bar that fills a track to a known completion percentage, with an optional details line showing the value and a label.\n---\n\n\n### **CSS Parts:**\n - **root** - The outer flex wrapper around the progress track and the details line\n- **track** - The progress track: the ground the bar grows along, carrying the progressbar role. Its padding is the frame around the bar\n- **bar** - The bar showing the value: the fill, or the looping sweep while indeterminate\n- **details** - The percentage and label text line",
4849
4849
  "doc-url": "",
4850
4850
  "attributes": [
4851
4851
  {
4852
4852
  "name": "hide-details",
4853
- "description": "Hides the details line (the percentage and `label`); `label` still\nnames the bar.",
4853
+ "description": "Hides the details line (the percentage and `label`); `label` still\nnames the progress bar.",
4854
4854
  "value": {
4855
4855
  "type": "boolean",
4856
4856
  "default": "false"
@@ -4858,7 +4858,7 @@
4858
4858
  },
4859
4859
  {
4860
4860
  "name": "indeterminate",
4861
- "description": "Replaces the fill with a looping sweep for work of unknown duration,\nhiding the details line and exposing no value.",
4861
+ "description": "Turns the bar into a looping sweep for work of unknown duration,\nhiding the details line and exposing no value.",
4862
4862
  "value": {
4863
4863
  "type": "boolean",
4864
4864
  "default": "false"
@@ -4874,7 +4874,7 @@
4874
4874
  },
4875
4875
  {
4876
4876
  "name": "single-line",
4877
- "description": "Places the details line beside the bar instead of below it.",
4877
+ "description": "Places the details line beside the progress track instead of below it.",
4878
4878
  "value": {
4879
4879
  "type": "boolean",
4880
4880
  "default": "false"
@@ -4882,7 +4882,7 @@
4882
4882
  },
4883
4883
  {
4884
4884
  "name": "value",
4885
- "description": "Completion percentage, 0 to 100. The fill clamps a value outside that\nrange; the details line shows it as given, a negative one in the error\ncolour.",
4885
+ "description": "Completion percentage, 0 to 100. The bar clamps a value outside that\nrange; the details line shows it as given, a negative one in the error\ncolour.",
4886
4886
  "value": {
4887
4887
  "type": "number",
4888
4888
  "default": "0"
@@ -4895,12 +4895,12 @@
4895
4895
  "properties": [
4896
4896
  {
4897
4897
  "name": "hideDetails",
4898
- "description": "Hides the details line (the percentage and `label`); `label` still\nnames the bar.",
4898
+ "description": "Hides the details line (the percentage and `label`); `label` still\nnames the progress bar.",
4899
4899
  "type": "boolean"
4900
4900
  },
4901
4901
  {
4902
4902
  "name": "indeterminate",
4903
- "description": "Replaces the fill with a looping sweep for work of unknown duration,\nhiding the details line and exposing no value.",
4903
+ "description": "Turns the bar into a looping sweep for work of unknown duration,\nhiding the details line and exposing no value.",
4904
4904
  "type": "boolean"
4905
4905
  },
4906
4906
  {
@@ -4910,12 +4910,12 @@
4910
4910
  },
4911
4911
  {
4912
4912
  "name": "singleLine",
4913
- "description": "Places the details line beside the bar instead of below it.",
4913
+ "description": "Places the details line beside the progress track instead of below it.",
4914
4914
  "type": "boolean"
4915
4915
  },
4916
4916
  {
4917
4917
  "name": "value",
4918
- "description": "Completion percentage, 0 to 100. The fill clamps a value outside that\nrange; the details line shows it as given, a negative one in the error\ncolour.",
4918
+ "description": "Completion percentage, 0 to 100. The bar clamps a value outside that\nrange; the details line shows it as given, a negative one in the error\ncolour.",
4919
4919
  "type": "number"
4920
4920
  }
4921
4921
  ],
@@ -8733,7 +8733,11 @@
8733
8733
  },
8734
8734
  {
8735
8735
  "name": "part(progress)",
8736
- "description": "The progress bar along an uploading row's bottom edge"
8736
+ "description": "The progress track along an uploading row's bottom edge"
8737
+ },
8738
+ {
8739
+ "name": "part(progress-bar)",
8740
+ "description": "The bar inside it showing the row's upload progress, or its looping sweep while indeterminate"
8737
8741
  },
8738
8742
  {
8739
8743
  "name": "part(root)",
@@ -8953,11 +8957,15 @@
8953
8957
  },
8954
8958
  {
8955
8959
  "name": "part(root)",
8956
- "description": "The outer flex wrapper around the bar and the details line"
8960
+ "description": "The outer flex wrapper around the progress track and the details line"
8961
+ },
8962
+ {
8963
+ "name": "part(track)",
8964
+ "description": "The progress track: the ground the bar grows along, carrying the progressbar role. Its padding is the frame around the bar"
8957
8965
  },
8958
8966
  {
8959
8967
  "name": "part(bar)",
8960
- "description": "The visible track of the progress bar, wrapping the native `<progress>` element"
8968
+ "description": "The bar showing the value: the fill, or the looping sweep while indeterminate"
8961
8969
  },
8962
8970
  {
8963
8971
  "name": "part(details)",
@@ -1,11 +1,11 @@
1
1
  interface CProgressBarProps {
2
2
  /**
3
3
  * Hides the details line (the percentage and `label`); `label` still
4
- * names the bar.
4
+ * names the progress bar.
5
5
  */
6
6
  hideDetails?: boolean;
7
7
  /**
8
- * Replaces the fill with a looping sweep for work of unknown duration,
8
+ * Turns the bar into a looping sweep for work of unknown duration,
9
9
  * hiding the details line and exposing no value.
10
10
  */
11
11
  indeterminate?: boolean;
@@ -17,11 +17,11 @@ interface CProgressBarProps {
17
17
  */
18
18
  label?: string;
19
19
  /**
20
- * Places the details line beside the bar instead of below it.
20
+ * Places the details line beside the progress track instead of below it.
21
21
  */
22
22
  singleLine?: boolean;
23
23
  /**
24
- * Completion percentage, 0 to 100. The fill clamps a value outside that
24
+ * Completion percentage, 0 to 100. The bar clamps a value outside that
25
25
  * range; the details line shows it as given, a negative one in the error
26
26
  * colour.
27
27
  */
@@ -1624,11 +1624,11 @@ export interface CPopoverElement extends Omit<HTMLElement, 'distance' | 'heading
1624
1624
  export interface CProgressBarElement extends Omit<HTMLElement, 'hideDetails' | 'indeterminate' | 'label' | 'singleLine' | 'value'> {
1625
1625
  /**
1626
1626
  * Hides the details line (the percentage and `label`); `label` still
1627
- * names the bar.
1627
+ * names the progress bar.
1628
1628
  */
1629
1629
  hideDetails?: boolean;
1630
1630
  /**
1631
- * Replaces the fill with a looping sweep for work of unknown duration,
1631
+ * Turns the bar into a looping sweep for work of unknown duration,
1632
1632
  * hiding the details line and exposing no value.
1633
1633
  */
1634
1634
  indeterminate?: boolean;
@@ -1637,10 +1637,10 @@ export interface CProgressBarElement extends Omit<HTMLElement, 'hideDetails' | '
1637
1637
  * accessible name.
1638
1638
  */
1639
1639
  label?: string;
1640
- /** Places the details line beside the bar instead of below it. */
1640
+ /** Places the details line beside the progress track instead of below it. */
1641
1641
  singleLine?: boolean;
1642
1642
  /**
1643
- * Completion percentage, 0 to 100. The fill clamps a value outside that
1643
+ * Completion percentage, 0 to 100. The bar clamps a value outside that
1644
1644
  * range; the details line shows it as given, a negative one in the error
1645
1645
  * colour.
1646
1646
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cscfi/csc-ui",
3
- "version": "4.0.0-rc.6",
3
+ "version": "4.0.0-rc.7",
4
4
  "description": "The CSC Design System's components as native custom elements: one set of c-* tags for plain HTML, Vue, React and Angular.",
5
5
  "type": "module",
6
6
  "main": "./dist/csc-ui.js",