@cscfi/csc-ui 4.0.0-alpha.29 → 4.0.0-alpha.30

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 (43) hide show
  1. package/dist/csc-ui.js +7630 -7170
  2. package/dist/custom-elements.json +245 -0
  3. package/dist/docs/c-breadcrumb/usage.md +104 -0
  4. package/dist/docs/c-breadcrumb-item/usage.md +1 -0
  5. package/dist/styles/css/tokens.css +2 -0
  6. package/dist/vscode.css-custom-data.json +37 -0
  7. package/dist/vscode.html-custom-data.json +23 -0
  8. package/dist/web-types.json +109 -1
  9. package/dist-types/components/c-autocomplete/CAutocomplete.vue.d.ts +7 -7
  10. package/dist-types/components/c-breadcrumb/CBreadcrumb.vue.d.ts +35 -0
  11. package/dist-types/components/c-breadcrumb/fit.d.ts +29 -0
  12. package/dist-types/components/c-breadcrumb-item/CBreadcrumbItem.vue.d.ts +31 -0
  13. package/dist-types/components/c-button/CButton.vue.d.ts +4 -4
  14. package/dist-types/components/c-button-group/CButtonGroup.vue.d.ts +2 -2
  15. package/dist-types/components/c-checkbox/CCheckbox.vue.d.ts +2 -2
  16. package/dist-types/components/c-data-table/CDataTable.vue.d.ts +1 -1
  17. package/dist-types/components/c-date-picker/CDatePicker.vue.d.ts +10 -10
  18. package/dist-types/components/c-dropdown/CDropdown.vue.d.ts +2 -2
  19. package/dist-types/components/c-icon-button/CIconButton.vue.d.ts +1 -1
  20. package/dist-types/components/c-input/CInput.vue.d.ts +4 -4
  21. package/dist-types/components/c-list-item/CListItem.vue.d.ts +1 -1
  22. package/dist-types/components/c-menu/CMenu.vue.d.ts +1 -1
  23. package/dist-types/components/c-number-field/CNumberField.vue.d.ts +11 -11
  24. package/dist-types/components/c-otp-input/COtpInput.vue.d.ts +2 -2
  25. package/dist-types/components/c-popover/CPopover.vue.d.ts +1 -1
  26. package/dist-types/components/c-radio-group/CRadioGroup.vue.d.ts +3 -3
  27. package/dist-types/components/c-select/CSelect.vue.d.ts +7 -7
  28. package/dist-types/components/c-side-navigation-item/CSideNavigationItem.vue.d.ts +1 -1
  29. package/dist-types/components/c-slider/CSlider.vue.d.ts +2 -2
  30. package/dist-types/components/c-sub-navigation-item/CSubNavigationItem.vue.d.ts +1 -1
  31. package/dist-types/components/c-switch/CSwitch.vue.d.ts +1 -1
  32. package/dist-types/components/c-tab-buttons/CTabButtons.vue.d.ts +1 -1
  33. package/dist-types/components/c-tags/CTags.vue.d.ts +1 -1
  34. package/dist-types/components/c-text-field/CTextField.vue.d.ts +8 -8
  35. package/dist-types/components/c-time-picker/CTimePicker.vue.d.ts +8 -8
  36. package/dist-types/components/c-toasts/CToasts.vue.d.ts +1 -1
  37. package/dist-types/components/c-tooltip/CTooltip.vue.d.ts +1 -1
  38. package/dist-types/components/c-tree-select/CTreeSelect.vue.d.ts +7 -7
  39. package/dist-types/index.d.ts +2 -0
  40. package/dist-types/shared/FieldMessage.vue.d.ts +1 -1
  41. package/dist-types/shared/popoverChain.d.ts +4 -4
  42. package/dist-types/tag-name-map.d.ts +24 -0
  43. package/package.json +3 -2
@@ -0,0 +1,29 @@
1
+ /**
2
+ * The breadcrumb's fold arithmetic (ADR-0067), kept free of the DOM so the
3
+ * node project can pin it down. The component measures each crumb once, in
4
+ * the row and untruncated, and asks `fitCrumbs` how to lay out the current
5
+ * width.
6
+ */
7
+ /** One crumb's widths in px, measured in the row: its whole item, separator included. */
8
+ export interface CBreadcrumbCrumbWidth {
9
+ /** The narrowest the crumb may get when its label truncates. */
10
+ floor: number;
11
+ /** The untruncated width. */
12
+ natural: number;
13
+ }
14
+ export interface CBreadcrumbFit {
15
+ /** Width cap for the current (last) crumb, or `null` when it keeps its natural width. */
16
+ currentMax: null | number;
17
+ /** Width cap for the first crumb, or `null` when it keeps its natural width. */
18
+ firstMax: null | number;
19
+ /** How many crumbs fold, counted from the second one. */
20
+ folded: number;
21
+ }
22
+ /**
23
+ * Lay the crumbs out in `available` px: fold middle crumbs, the one nearest
24
+ * the first crumb first, until the row fits — the fold button joining it at
25
+ * `foldWidth` — never the first or the current (last) crumb. When nothing
26
+ * more can fold, truncate the current crumb down to its floor, then the
27
+ * first one.
28
+ */
29
+ export declare const fitCrumbs: (crumbs: readonly CBreadcrumbCrumbWidth[], foldWidth: number, available: number) => CBreadcrumbFit;
@@ -0,0 +1,31 @@
1
+ export interface CBreadcrumbItemProps {
2
+ /**
3
+ * URL of the page the crumb leads to. Ignored on the current crumb (the
4
+ * last one); a crumb without it names a level that has no page and renders
5
+ * as plain text
6
+ *
7
+ * @freeform any URL
8
+ */
9
+ href?: string;
10
+ /**
11
+ * Browsing context the link opens in; the same tab when unset
12
+ *
13
+ * @freeform any browsing-context name (e.g. _blank, _self)
14
+ */
15
+ target?: string;
16
+ }
17
+ declare const _default: typeof __VLS_export;
18
+ export default _default;
19
+ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<CBreadcrumbItemProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<CBreadcrumbItemProps> & Readonly<{}>, {
20
+ href: string;
21
+ target: string;
22
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
23
+ icon?: (props: {}) => any;
24
+ } & {
25
+ default?: (props: {}) => any;
26
+ }>;
27
+ type __VLS_WithSlots<T, S> = T & {
28
+ new (): {
29
+ $slots: S;
30
+ };
31
+ };
@@ -119,19 +119,19 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<CButto
119
119
  outlined: boolean;
120
120
  value: number | string;
121
121
  type: CButtonType;
122
- disabled: boolean;
123
122
  size: CButtonSize;
123
+ fit: boolean;
124
+ disabled: boolean;
124
125
  hostId: string;
125
126
  loading: boolean;
127
+ href: string;
128
+ target: string;
126
129
  active: boolean;
127
130
  danger: boolean;
128
- fit: boolean;
129
131
  ghost: boolean;
130
- href: string;
131
132
  inverted: boolean;
132
133
  noRadius: boolean;
133
134
  noRipple: boolean;
134
- target: string;
135
135
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
136
136
  icon?: (props: {}) => any;
137
137
  } & {
@@ -53,9 +53,9 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<CButto
53
53
  value: CButtonGroupValue;
54
54
  mandatory: boolean;
55
55
  multiple: boolean;
56
- required: boolean;
57
- disabled: boolean;
58
56
  size: CButtonGroupSize;
57
+ disabled: boolean;
58
+ required: boolean;
59
59
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
60
60
  default?: (props: {}) => any;
61
61
  }>;
@@ -97,12 +97,12 @@ type __VLS_Slots = {} & {
97
97
  declare const __VLS_base: import("vue").DefineComponent<CCheckboxProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<CCheckboxProps> & Readonly<{}>, {
98
98
  label: string;
99
99
  value: boolean | number | string;
100
- required: boolean;
100
+ hideDetails: boolean;
101
101
  disabled: boolean;
102
102
  errorMessage: string;
103
- hideDetails: boolean;
104
103
  hint: string;
105
104
  hostId: string;
105
+ required: boolean;
106
106
  valid: boolean;
107
107
  checked: boolean;
108
108
  falseValue: boolean | number | string;
@@ -198,9 +198,9 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<CDataT
198
198
  filter: string;
199
199
  expanded: string[];
200
200
  sort: CDataTableSort | null;
201
+ texts: CDataTableTexts;
201
202
  external: boolean;
202
203
  loading: boolean;
203
- texts: CDataTableTexts;
204
204
  autohide: boolean;
205
205
  columns: CDataTableColumn[];
206
206
  expandedContent: (context: CDataTableExpandedContext) => CDataTableCellContent;
@@ -257,26 +257,26 @@ declare const __VLS_export: import("vue").DefineComponent<CDatePickerProps, {
257
257
  value: CDatePickerValue;
258
258
  type: CDatePickerType;
259
259
  name: string;
260
- required: boolean;
261
- disabled: boolean;
262
260
  size: CFieldSize;
261
+ texts: CDatePickerTexts;
262
+ hideDetails: boolean;
263
+ labelOnTop: boolean;
264
+ shadow: boolean;
265
+ firstDayOfWeek: CDatePickerWeekday;
266
+ format: string;
267
+ showToday: boolean;
268
+ showWeekNumbers: boolean;
263
269
  clearable: boolean;
270
+ disabled: boolean;
264
271
  errorMessage: string;
265
- hideDetails: boolean;
266
272
  hint: string;
267
273
  hostId: string;
268
- labelOnTop: boolean;
269
274
  placeholder: string;
270
- shadow: boolean;
271
- texts: CDatePickerTexts;
275
+ required: boolean;
272
276
  valid: boolean;
273
277
  disabledDates: CDatePickerDisabledDate[];
274
- firstDayOfWeek: CDatePickerWeekday;
275
- format: string;
276
278
  isDateDisabled: (iso: string) => boolean;
277
279
  max: string;
278
280
  min: string;
279
281
  range: boolean;
280
- showToday: boolean;
281
- showWeekNumbers: boolean;
282
282
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -84,13 +84,13 @@ declare const __VLS_base: import("vue").DefineComponent<CDropdownProps, {
84
84
  label: string;
85
85
  type: CDropdownParentType;
86
86
  multiple: boolean;
87
+ itemsPerPage: number;
88
+ index: null | number;
87
89
  hostId: string;
88
90
  items: ArrayLike<DropdownItem>;
89
- itemsPerPage: number;
90
91
  selected: (number | string)[];
91
92
  closeLabel: string;
92
93
  dropdownItemType: CDropdownItemType;
93
- index: null | number;
94
94
  parent: HTMLElement | null;
95
95
  selectAllRow: CDropdownSelectAllRow | null;
96
96
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -72,8 +72,8 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<CIconB
72
72
  path: string;
73
73
  text: boolean;
74
74
  outlined: boolean;
75
- disabled: boolean;
76
75
  size: CIconButtonSize;
76
+ disabled: boolean;
77
77
  loading: boolean;
78
78
  danger: boolean;
79
79
  ghost: boolean;
@@ -81,14 +81,14 @@ type __VLS_Slots = {} & {
81
81
  };
82
82
  declare const __VLS_base: import("vue").DefineComponent<CInputProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<CInputProps> & Readonly<{}>, {
83
83
  label: string;
84
- required: boolean;
85
- disabled: boolean;
86
84
  size: CFieldSize;
87
- errorMessage: string;
88
85
  hideDetails: boolean;
89
- hint: string;
90
86
  labelOnTop: boolean;
91
87
  shadow: boolean;
88
+ disabled: boolean;
89
+ errorMessage: string;
90
+ hint: string;
91
+ required: boolean;
92
92
  valid: boolean;
93
93
  active: boolean;
94
94
  filled: boolean;
@@ -54,9 +54,9 @@ type __VLS_Slots = {} & {
54
54
  };
55
55
  declare const __VLS_base: import("vue").DefineComponent<CListItemProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<CListItemProps> & Readonly<{}>, {
56
56
  disabled: boolean;
57
- active: boolean;
58
57
  href: string;
59
58
  target: string;
59
+ active: boolean;
60
60
  disabledByParent: boolean;
61
61
  hoverable: boolean;
62
62
  ripple: boolean;
@@ -23,8 +23,8 @@ type __VLS_Slots = {} & {
23
23
  default?: (props: typeof __VLS_3) => any;
24
24
  };
25
25
  declare const __VLS_base: import("vue").DefineComponent<CMenuProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<CMenuProps> & Readonly<{}>, {
26
- distance: number | string;
27
26
  open: boolean;
27
+ distance: number | string;
28
28
  position: CPlacement;
29
29
  trigger: HTMLElement | string;
30
30
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -142,26 +142,26 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<CNumbe
142
142
  label: string;
143
143
  value: null | number | string;
144
144
  name: string;
145
- required: boolean;
146
- disabled: boolean;
147
145
  size: CFieldSize;
148
- errorMessage: string;
146
+ texts: CNumberFieldTexts;
149
147
  hideDetails: boolean;
148
+ labelOnTop: boolean;
149
+ shadow: boolean;
150
+ decimalSeparator: string;
151
+ decimals: number;
152
+ fixedDecimals: boolean;
153
+ groupSeparator: string;
154
+ step: number;
155
+ disabled: boolean;
156
+ errorMessage: string;
150
157
  hint: string;
151
158
  hostId: string;
152
- labelOnTop: boolean;
153
159
  placeholder: string;
154
- shadow: boolean;
155
- texts: CNumberFieldTexts;
160
+ required: boolean;
156
161
  valid: boolean;
157
162
  max: null | number;
158
163
  min: null | number;
159
- decimals: number;
160
- decimalSeparator: string;
161
- fixedDecimals: boolean;
162
- groupSeparator: string;
163
164
  readonly: boolean;
164
- step: number;
165
165
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
166
166
  pre?: (props: {}) => any;
167
167
  } & {
@@ -69,10 +69,10 @@ declare const __VLS_base: import("vue").DefineComponent<COtpInputProps, {}, {},
69
69
  label: string;
70
70
  length: number;
71
71
  value: string;
72
- required: boolean;
73
- errorMessage: string;
74
72
  hideDetails: boolean;
73
+ errorMessage: string;
75
74
  hint: string;
75
+ required: boolean;
76
76
  valid: boolean;
77
77
  elementId: string;
78
78
  hasAutofocus: boolean;
@@ -27,8 +27,8 @@ declare const _default: typeof __VLS_export;
27
27
  export default _default;
28
28
  declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<CPopoverProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<CPopoverProps> & Readonly<{}>, {
29
29
  heading: string;
30
- distance: number | string;
31
30
  open: boolean;
31
+ distance: number | string;
32
32
  position: CPlacement;
33
33
  trigger: HTMLElement | string;
34
34
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
@@ -52,13 +52,13 @@ type __VLS_Slots = {} & {
52
52
  declare const __VLS_base: import("vue").DefineComponent<CRadioGroupProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<CRadioGroupProps> & Readonly<{}>, {
53
53
  label: string;
54
54
  value: null | string;
55
- required: boolean;
55
+ inline: boolean;
56
+ hideDetails: boolean;
56
57
  disabled: boolean;
57
58
  errorMessage: string;
58
- hideDetails: boolean;
59
59
  hint: string;
60
+ required: boolean;
60
61
  valid: boolean;
61
- inline: boolean;
62
62
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
63
63
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
64
64
  declare const _default: typeof __VLS_export;
@@ -161,24 +161,24 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<CSelec
161
161
  value: CSelectValue;
162
162
  name: string;
163
163
  multiple: boolean;
164
- required: boolean;
165
- disabled: boolean;
164
+ itemsPerPage: number;
166
165
  size: CFieldSize;
166
+ texts: CSelectTexts;
167
+ hideDetails: boolean;
168
+ labelOnTop: boolean;
169
+ shadow: boolean;
167
170
  clearable: boolean;
171
+ disabled: boolean;
168
172
  errorMessage: string;
169
- hideDetails: boolean;
170
173
  hint: string;
171
174
  hostId: string;
172
175
  items: CSelectItem[];
173
- itemsPerPage: number;
174
- labelOnTop: boolean;
175
176
  loading: boolean;
176
177
  maxTags: number;
177
178
  placeholder: string;
179
+ required: boolean;
178
180
  returnObject: boolean;
179
181
  selectAll: boolean;
180
- shadow: boolean;
181
- texts: CSelectTexts;
182
182
  valid: boolean;
183
183
  optionAsSelection: boolean;
184
184
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
@@ -36,9 +36,9 @@ type __VLS_Slots = {} & {
36
36
  };
37
37
  declare const __VLS_base: import("vue").DefineComponent<CSideNavigationItemProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<CSideNavigationItemProps> & Readonly<{}>, {
38
38
  loading: boolean;
39
- active: boolean;
40
39
  href: string;
41
40
  target: string;
41
+ active: boolean;
42
42
  focusable: boolean;
43
43
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
44
44
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
@@ -92,12 +92,12 @@ interface CSliderProps {
92
92
  declare const __VLS_export: import("vue").DefineComponent<CSliderProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<CSliderProps> & Readonly<{}>, {
93
93
  label: string;
94
94
  value: number | string;
95
+ step: number | string;
95
96
  disabled: boolean;
96
97
  hostId: string;
97
- hostName: string;
98
98
  max: number | string;
99
99
  min: number | string;
100
- step: number | string;
100
+ hostName: string;
101
101
  ariaLabelInternal: string;
102
102
  disableTooltip: boolean;
103
103
  labels: boolean;
@@ -38,9 +38,9 @@ type __VLS_Slots = {} & {
38
38
  };
39
39
  declare const __VLS_base: import("vue").DefineComponent<CSubNavigationItemProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<CSubNavigationItemProps> & Readonly<{}>, {
40
40
  loading: boolean;
41
- active: boolean;
42
41
  href: string;
43
42
  target: string;
43
+ active: boolean;
44
44
  focusable: boolean;
45
45
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
46
46
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
@@ -62,10 +62,10 @@ type __VLS_Slots = {} & {
62
62
  declare const __VLS_base: import("vue").DefineComponent<CSwitchProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<CSwitchProps> & Readonly<{}>, {
63
63
  label: string;
64
64
  value: boolean | number | string;
65
- required: boolean;
66
65
  disabled: boolean;
67
66
  hostId: string;
68
67
  loading: boolean;
68
+ required: boolean;
69
69
  checked: boolean;
70
70
  falseValue: boolean | number | string;
71
71
  trueValue: boolean | number | string;
@@ -24,8 +24,8 @@ declare const _default: typeof __VLS_export;
24
24
  export default _default;
25
25
  declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<CTabButtonsProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<CTabButtonsProps> & Readonly<{}>, {
26
26
  value: number | string;
27
- disabled: boolean;
28
27
  size: CTabButtonsSize;
28
+ disabled: boolean;
29
29
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
30
30
  default?: (props: {}) => any;
31
31
  }>;
@@ -25,8 +25,8 @@ declare const _default: typeof __VLS_export;
25
25
  export default _default;
26
26
  declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<CTagsProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<CTagsProps> & Readonly<{}>, {
27
27
  label: string;
28
- required: boolean;
29
28
  size: CTagsSize;
29
+ required: boolean;
30
30
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
31
31
  default?: (props: {}) => any;
32
32
  }>;
@@ -183,25 +183,25 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<CTextF
183
183
  value: string;
184
184
  type: CTextFieldType;
185
185
  name: string;
186
- required: boolean;
187
- disabled: boolean;
186
+ rows: number;
188
187
  size: CFieldSize;
189
- autocorrect: boolean;
190
- errorMessage: string;
191
188
  hideDetails: boolean;
189
+ labelOnTop: boolean;
190
+ shadow: boolean;
191
+ step: null | number;
192
+ disabled: boolean;
193
+ errorMessage: string;
192
194
  hint: string;
193
195
  hostId: string;
194
- labelOnTop: boolean;
195
196
  placeholder: string;
196
- shadow: boolean;
197
+ required: boolean;
197
198
  valid: boolean;
199
+ autocorrect: boolean;
198
200
  max: null | number;
199
201
  min: null | number;
200
202
  readonly: boolean;
201
- step: null | number;
202
203
  autocomplete: string;
203
204
  automaticCapitalize: CTextFieldAutocapitalize;
204
- rows: number;
205
205
  trimWhitespace: boolean;
206
206
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
207
207
  pre?: (props: {}) => any;
@@ -188,23 +188,23 @@ declare const __VLS_export: import("vue").DefineComponent<CTimePickerProps, {
188
188
  label: string;
189
189
  value: CTimePickerValue;
190
190
  name: string;
191
- required: boolean;
192
- disabled: boolean;
193
191
  size: CFieldSize;
192
+ texts: CTimePickerTexts;
193
+ hideDetails: boolean;
194
+ labelOnTop: boolean;
195
+ shadow: boolean;
196
+ format: string;
197
+ showNow: boolean;
194
198
  clearable: boolean;
199
+ disabled: boolean;
195
200
  errorMessage: string;
196
- hideDetails: boolean;
197
201
  hint: string;
198
202
  hostId: string;
199
- labelOnTop: boolean;
200
203
  placeholder: string;
201
- shadow: boolean;
202
- texts: CTimePickerTexts;
204
+ required: boolean;
203
205
  valid: boolean;
204
- format: string;
205
206
  max: string;
206
207
  min: string;
207
208
  range: boolean;
208
209
  minuteStep: number;
209
- showNow: boolean;
210
210
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -33,8 +33,8 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<CToast
33
33
  addToast: (message: CToastMessage) => void;
34
34
  removeToast: (id: string) => void;
35
35
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<CToastsProps> & Readonly<{}>, {
36
- vertical: CToastsVertical;
37
36
  absolute: boolean;
37
+ vertical: CToastsVertical;
38
38
  horizontal: CToastsHorizontal;
39
39
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
40
40
  default?: (props: {}) => any;
@@ -32,8 +32,8 @@ declare const _default: typeof __VLS_export;
32
32
  export default _default;
33
33
  declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<CTooltipProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<CTooltipProps> & Readonly<{}>, {
34
34
  text: string;
35
- distance: number | string;
36
35
  open: boolean;
36
+ distance: number | string;
37
37
  position: CPlacement;
38
38
  trigger: HTMLElement | string;
39
39
  delay: number | string;
@@ -240,21 +240,21 @@ declare const __VLS_export: import("vue").DefineComponent<CTreeSelectProps, {},
240
240
  filter: CTreeSelectFilter;
241
241
  value: CTreeSelectValue;
242
242
  name: string;
243
- required: boolean;
244
- disabled: boolean;
243
+ itemsPerPage: number;
245
244
  size: CFieldSize;
245
+ texts: CTreeSelectTexts;
246
+ hideDetails: boolean;
247
+ labelOnTop: boolean;
248
+ shadow: boolean;
246
249
  clearable: boolean;
250
+ disabled: boolean;
247
251
  errorMessage: string;
248
- hideDetails: boolean;
249
252
  hint: string;
250
253
  hostId: string;
251
254
  items: CTreeSelectItem[];
252
- itemsPerPage: number;
253
- labelOnTop: boolean;
254
255
  placeholder: string;
256
+ required: boolean;
255
257
  returnObject: boolean;
256
- shadow: boolean;
257
- texts: CTreeSelectTexts;
258
258
  valid: boolean;
259
259
  allowBranch: boolean;
260
260
  levelLabels: string[];
@@ -1,5 +1,7 @@
1
1
  export type { CAlertIconType, CAlertProps, CAlertType, } from './components/c-alert/CAlert.vue';
2
2
  export type { CAutocompleteFilter, CAutocompleteItem, CAutocompleteOption, CAutocompleteProps, CAutocompleteTexts, CAutocompleteValue, } from './components/c-autocomplete/CAutocomplete.vue';
3
+ export type { CBreadcrumbItemProps } from './components/c-breadcrumb-item/CBreadcrumbItem.vue';
4
+ export type { CBreadcrumbProps, CBreadcrumbTexts, } from './components/c-breadcrumb/CBreadcrumb.vue';
3
5
  export type { CButtonGroupProps, CButtonGroupSize, CButtonGroupValue, } from './components/c-button-group/CButtonGroup.vue';
4
6
  export type { CButtonProps, CButtonSize, CButtonType, } from './components/c-button/CButton.vue';
5
7
  export type { CCardActionsAlign, CCardActionsJustify, CCardActionsProps, } from './components/c-card-actions/CCardActions.vue';
@@ -12,8 +12,8 @@ interface FieldMessageProps {
12
12
  }
13
13
  declare const __VLS_export: import("vue").DefineComponent<FieldMessageProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<FieldMessageProps> & Readonly<{}>, {
14
14
  part: string;
15
- errorMessage: string;
16
15
  hideDetails: boolean;
16
+ errorMessage: string;
17
17
  hint: string;
18
18
  valid: boolean;
19
19
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -7,10 +7,10 @@
7
7
  * - **Escape** peels the innermost popover only, one per press. The listener
8
8
  * is capture-phase and calls `preventDefault()`, so an enclosing
9
9
  * `c-modal`'s bubble-phase controller sees the claimed key and does not
10
- * close itself (ADR-0014). Known pre-existing limitation: a `c-menu` open
11
- * inside a popover listens on its own host (bubble), i.e. *after* this
12
- * capture listener — that Escape closes both, exactly as it did when each
13
- * popover owned its own capture listener.
10
+ * close itself (ADR-0014). Known pre-existing limitation: a `c-menu`, or a
11
+ * `c-breadcrumb`'s fold panel, open inside a popover listens on its own
12
+ * host (bubble), i.e. *after* this capture listener — that Escape closes
13
+ * both, exactly as it did when each popover owned its own capture listener.
14
14
  * - **Light dismiss** (CONTEXT.md, ADR-0050) closes every popover that does
15
15
  * not *logically* contain the pointer gesture. A press and its release are
16
16
  * paired (`lightDismiss.ts` — a press alone, the start of every touch
@@ -10,6 +10,7 @@
10
10
  * `DEFAULTABLE_PROPS`, both derived from the `@defaultable` prop tags.
11
11
  */
12
12
  import type { CAutocompleteFilter, CAutocompleteItem, CAutocompleteTexts, CAutocompleteValue } from './components/c-autocomplete/CAutocomplete.vue';
13
+ import type { CBreadcrumbTexts } from './components/c-breadcrumb/CBreadcrumb.vue';
13
14
  import type { CButtonGroupValue } from './components/c-button-group/CButtonGroup.vue';
14
15
  import type { CDataTableCellContent, CDataTableColumn, CDataTableExpandedContext, CDataTableRow, CDataTableSort, CDataTableTexts } from './components/c-data-table/CDataTable.vue';
15
16
  import type { CDatePickerDisabledDate, CDatePickerText, CDatePickerTexts, CDatePickerValue } from './components/c-date-picker/CDatePicker.vue';
@@ -248,6 +249,25 @@ export interface CAutocompleteElement extends Omit<HTMLElement, 'clearable' | 'd
248
249
  }
249
250
  export interface CBadgeElement extends HTMLElement {
250
251
  }
252
+ /** A navigation aid naming where the current page sits in a site's hierarchy: one line of crumbs from the top of the hierarchy down to the current page, the middle ones folding behind a "…" button when the line runs out of room. */
253
+ export interface CBreadcrumbElement extends Omit<HTMLElement, 'texts'> {
254
+ /**
255
+ * UI text overrides (i18n), merged over the English defaults. Objects have
256
+ * no attribute form — set it as a property
257
+ */
258
+ texts?: CBreadcrumbTexts;
259
+ }
260
+ /** One crumb in a `c-breadcrumb`: a link to a level of the hierarchy, or, as the last crumb, the current page. */
261
+ export interface CBreadcrumbItemElement extends Omit<HTMLElement, 'href' | 'target'> {
262
+ /**
263
+ * URL of the page the crumb leads to. Ignored on the current crumb (the
264
+ * last one); a crumb without it names a level that has no page and renders
265
+ * as plain text
266
+ */
267
+ href?: string;
268
+ /** Browsing context the link opens in; the same tab when unset */
269
+ target?: string;
270
+ }
251
271
  /** 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. */
252
272
  export interface CButtonElement extends Omit<HTMLElement, 'active' | 'danger' | 'disabled' | 'fit' | 'ghost' | 'hostId' | 'href' | 'inverted' | 'loading' | 'noRadius' | 'noRipple' | 'outlined' | 'size' | 'target' | 'text' | 'type' | 'value'> {
253
273
  /**
@@ -2129,6 +2149,7 @@ export interface CTreeSelectElement extends Omit<HTMLElement, 'allowBranch' | 'c
2129
2149
  */
2130
2150
  export interface AppDefaults {
2131
2151
  'c-autocomplete'?: Partial<Pick<CAutocompleteElement, 'hideDetails' | 'itemsPerPage' | 'labelOnTop' | 'shadow' | 'size' | 'texts'>>;
2152
+ 'c-breadcrumb'?: Partial<Pick<CBreadcrumbElement, 'texts'>>;
2132
2153
  'c-data-table'?: Partial<Pick<CDataTableElement, 'texts'>>;
2133
2154
  'c-date-picker'?: Partial<Pick<CDatePickerElement, 'firstDayOfWeek' | 'format' | 'hideDetails' | 'labelOnTop' | 'shadow' | 'showToday' | 'showWeekNumbers' | 'size' | 'texts'>>;
2134
2155
  'c-number-field'?: Partial<Pick<CNumberFieldElement, 'decimalSeparator' | 'decimals' | 'fixedDecimals' | 'groupSeparator' | 'hideDetails' | 'labelOnTop' | 'shadow' | 'size' | 'step' | 'texts'>>;
@@ -2140,6 +2161,7 @@ export interface AppDefaults {
2140
2161
  /** Runtime allow-list behind `applyDefaults()` validation — the same data as `AppDefaults`. */
2141
2162
  export declare const DEFAULTABLE_PROPS: {
2142
2163
  readonly 'c-autocomplete': readonly ["hideDetails", "itemsPerPage", "labelOnTop", "shadow", "size", "texts"];
2164
+ readonly 'c-breadcrumb': readonly ["texts"];
2143
2165
  readonly 'c-data-table': readonly ["texts"];
2144
2166
  readonly 'c-date-picker': readonly ["firstDayOfWeek", "format", "hideDetails", "labelOnTop", "shadow", "showToday", "showWeekNumbers", "size", "texts"];
2145
2167
  readonly 'c-number-field': readonly ["decimalSeparator", "decimals", "fixedDecimals", "groupSeparator", "hideDetails", "labelOnTop", "shadow", "size", "step", "texts"];
@@ -2157,6 +2179,8 @@ declare global {
2157
2179
  'c-alert': CAlertElement;
2158
2180
  'c-autocomplete': CAutocompleteElement;
2159
2181
  'c-badge': CBadgeElement;
2182
+ 'c-breadcrumb': CBreadcrumbElement;
2183
+ 'c-breadcrumb-item': CBreadcrumbItemElement;
2160
2184
  'c-button': CButtonElement;
2161
2185
  'c-button-group': CButtonGroupElement;
2162
2186
  'c-card': CCardElement;