@cscfi/csc-ui-react 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.
- package/dist/components.d.ts +5 -1
- package/dist/components.js +14 -0
- package/package.json +3 -3
package/dist/components.d.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Manifest — do not edit. Regenerate with `pnpm run generate`.
|
|
4
4
|
*/
|
|
5
5
|
import { type EventName } from '@lit/react';
|
|
6
|
-
import { type CAccordionElement, type CAccordionElementEventMap, type CAccordionItemElement, type CAccordionItemElementEventMap, type CAlertElement, type CAlertElementEventMap, type CAutocompleteElement, type CAutocompleteElementEventMap, type CBadgeElement, type CButtonElement, type CButtonGroupElement, type CButtonGroupElementEventMap, type CCardElement, type CCardActionsElement, type CCardContentElement, type CCardTitleElement, type CCheckboxElement, type CCheckboxElementEventMap, type CCscLogoElement, type CDataTableElement, type CDataTableElementEventMap, type CDatePickerElement, type CDatePickerElementEventMap, type CDividerElement, type CIconElement, type CIconButtonElement, type CInputElement, type CLinkElement, type CListElement, type CListItemElement, type CListItemTitleElement, type CLoaderElement, type CLoginButtonElement, type CLoginButtonsElement, type CLoginCardElement, type CLoginCardActionsElement, type CLoginCardContentElement, type CLoginCardTitleElement, type CMainElement, type CMenuElement, type CMenuElementEventMap, type CMenuItemElement, type CMenuLabelElement, type CMessageElement, type CModalElement, type CModalElementEventMap, type CNavigationButtonElement, type CNumberFieldElement, type CNumberFieldElementEventMap, type COptionElement, type COptionValueElement, type COtpInputElement, type COtpInputElementEventMap, type CPageElement, type CPaginationElement, type CPaginationElementEventMap, type CPopoverElement, type CPopoverElementEventMap, type CProgressBarElement, type CProgressCircleElement, type CRadioElement, type CRadioElementEventMap, type CRadioGroupElement, type CRadioGroupElementEventMap, type CSelectElement, type CSelectElementEventMap, type CSideNavigationElement, type CSideNavigationElementEventMap, type CSideNavigationItemElement, type CSideNavigationItemElementEventMap, type CSideNavigationTitleElement, type CSliderElement, type CSliderElementEventMap, type CSpinnerElement, type CStatusElement, type CStepElement, type CStepsElement, type CSubNavigationItemElement, type CSwitchElement, type CSwitchElementEventMap, type CTabElement, type CTabElementEventMap, type CTabButtonsElement, type CTabButtonsElementEventMap, type CTabItemElement, type CTabItemElementEventMap, type CTabItemsElement, type CTableElement, type CTabsElement, type CTabsElementEventMap, type CTagElement, type CTagElementEventMap, type CTagsElement, type CTextFieldElement, type CTextFieldElementEventMap, type CTimePickerElement, type CTimePickerElementEventMap, type CToastElement, type CToastElementEventMap, type CToastsElement, type CToolbarElement, type CTooltipElement, type CTooltipElementEventMap, type CTreeSelectElement, type CTreeSelectElementEventMap } from '@cscfi/csc-ui';
|
|
6
|
+
import { type CAccordionElement, type CAccordionElementEventMap, type CAccordionItemElement, type CAccordionItemElementEventMap, type CAlertElement, type CAlertElementEventMap, type CAutocompleteElement, type CAutocompleteElementEventMap, type CBadgeElement, type CBreadcrumbElement, type CBreadcrumbItemElement, type CButtonElement, type CButtonGroupElement, type CButtonGroupElementEventMap, type CCardElement, type CCardActionsElement, type CCardContentElement, type CCardTitleElement, type CCheckboxElement, type CCheckboxElementEventMap, type CCscLogoElement, type CDataTableElement, type CDataTableElementEventMap, type CDatePickerElement, type CDatePickerElementEventMap, type CDividerElement, type CIconElement, type CIconButtonElement, type CInputElement, type CLinkElement, type CListElement, type CListItemElement, type CListItemTitleElement, type CLoaderElement, type CLoginButtonElement, type CLoginButtonsElement, type CLoginCardElement, type CLoginCardActionsElement, type CLoginCardContentElement, type CLoginCardTitleElement, type CMainElement, type CMenuElement, type CMenuElementEventMap, type CMenuItemElement, type CMenuLabelElement, type CMessageElement, type CModalElement, type CModalElementEventMap, type CNavigationButtonElement, type CNumberFieldElement, type CNumberFieldElementEventMap, type COptionElement, type COptionValueElement, type COtpInputElement, type COtpInputElementEventMap, type CPageElement, type CPaginationElement, type CPaginationElementEventMap, type CPopoverElement, type CPopoverElementEventMap, type CProgressBarElement, type CProgressCircleElement, type CRadioElement, type CRadioElementEventMap, type CRadioGroupElement, type CRadioGroupElementEventMap, type CSelectElement, type CSelectElementEventMap, type CSideNavigationElement, type CSideNavigationElementEventMap, type CSideNavigationItemElement, type CSideNavigationItemElementEventMap, type CSideNavigationTitleElement, type CSliderElement, type CSliderElementEventMap, type CSpinnerElement, type CStatusElement, type CStepElement, type CStepsElement, type CSubNavigationItemElement, type CSwitchElement, type CSwitchElementEventMap, type CTabElement, type CTabElementEventMap, type CTabButtonsElement, type CTabButtonsElementEventMap, type CTabItemElement, type CTabItemElementEventMap, type CTabItemsElement, type CTableElement, type CTabsElement, type CTabsElementEventMap, type CTagElement, type CTagElementEventMap, type CTagsElement, type CTextFieldElement, type CTextFieldElementEventMap, type CTimePickerElement, type CTimePickerElementEventMap, type CToastElement, type CToastElementEventMap, type CToastsElement, type CToolbarElement, type CTooltipElement, type CTooltipElementEventMap, type CTreeSelectElement, type CTreeSelectElementEventMap } from '@cscfi/csc-ui';
|
|
7
7
|
export declare const CAccordion: import("@lit/react").ReactWebComponent<CAccordionElement, {
|
|
8
8
|
onChange: EventName<CAccordionElementEventMap["change"]>;
|
|
9
9
|
onChangeValue: EventName<CAccordionElementEventMap["changeValue"]>;
|
|
@@ -26,6 +26,10 @@ export declare const CAutocomplete: import("@lit/react").ReactWebComponent<CAuto
|
|
|
26
26
|
onUpdateValue: EventName<CAutocompleteElementEventMap["update:value"]>;
|
|
27
27
|
}>;
|
|
28
28
|
export declare const CBadge: import("@lit/react").ReactWebComponent<CBadgeElement, {}>;
|
|
29
|
+
/** 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. */
|
|
30
|
+
export declare const CBreadcrumb: import("@lit/react").ReactWebComponent<CBreadcrumbElement, {}>;
|
|
31
|
+
/** One crumb in a `c-breadcrumb`: a link to a level of the hierarchy, or, as the last crumb, the current page. */
|
|
32
|
+
export declare const CBreadcrumbItem: import("@lit/react").ReactWebComponent<CBreadcrumbItemElement, {}>;
|
|
29
33
|
/** 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. */
|
|
30
34
|
export declare const CButton: import("@lit/react").ReactWebComponent<CButtonElement, {}>;
|
|
31
35
|
/** A button group is a segmented control: a compact group of choices rendered as plain `c-button` children, where activating a button takes effect immediately (switching a view, picking a billing period). Selection is exclusive by default; set `multiple` to let several buttons be active at once. Give the group a `label` when it acts as a form field so the choice it represents is named for every user. */
|
package/dist/components.js
CHANGED
|
@@ -72,6 +72,20 @@ export const CBadge = createComponent({
|
|
|
72
72
|
react: React,
|
|
73
73
|
tagName: 'c-badge',
|
|
74
74
|
});
|
|
75
|
+
/** 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. */
|
|
76
|
+
export const CBreadcrumb = createComponent({
|
|
77
|
+
displayName: 'CBreadcrumb',
|
|
78
|
+
elementClass: elementClass('c-breadcrumb'),
|
|
79
|
+
react: React,
|
|
80
|
+
tagName: 'c-breadcrumb',
|
|
81
|
+
});
|
|
82
|
+
/** One crumb in a `c-breadcrumb`: a link to a level of the hierarchy, or, as the last crumb, the current page. */
|
|
83
|
+
export const CBreadcrumbItem = createComponent({
|
|
84
|
+
displayName: 'CBreadcrumbItem',
|
|
85
|
+
elementClass: elementClass('c-breadcrumb-item'),
|
|
86
|
+
react: React,
|
|
87
|
+
tagName: 'c-breadcrumb-item',
|
|
88
|
+
});
|
|
75
89
|
/** 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. */
|
|
76
90
|
export const CButton = createComponent({
|
|
77
91
|
displayName: 'CButton',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cscfi/csc-ui-react",
|
|
3
|
-
"version": "4.0.0-alpha.
|
|
3
|
+
"version": "4.0.0-alpha.30",
|
|
4
4
|
"description": "React components for the @cscfi/csc-ui custom elements, generated from the Custom Elements Manifest.",
|
|
5
5
|
"author": "My CSC Team <suiteamsui@gmail.com>",
|
|
6
6
|
"type": "module",
|
|
@@ -21,13 +21,13 @@
|
|
|
21
21
|
},
|
|
22
22
|
"peerDependencies": {
|
|
23
23
|
"react": ">=18",
|
|
24
|
-
"@cscfi/csc-ui": "^4.0.0-alpha.
|
|
24
|
+
"@cscfi/csc-ui": "^4.0.0-alpha.30"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
27
|
"@types/react": "^19.1.8",
|
|
28
28
|
"react": "^19.1.0",
|
|
29
29
|
"typescript": "^6.0.3",
|
|
30
|
-
"@cscfi/csc-ui": "4.0.0-alpha.
|
|
30
|
+
"@cscfi/csc-ui": "4.0.0-alpha.30"
|
|
31
31
|
},
|
|
32
32
|
"license": "MIT",
|
|
33
33
|
"repository": "CSCfi/ui",
|