@cscfi/csc-ui-react 4.0.0-alpha.16 → 4.0.0-alpha.18
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 +3 -1
- package/dist/components.js +3 -1
- package/package.json +3 -3
package/dist/components.d.ts
CHANGED
|
@@ -70,7 +70,7 @@ export declare const CLoginCard: import("@lit/react").ReactWebComponent<CLoginCa
|
|
|
70
70
|
export declare const CLoginCardActions: import("@lit/react").ReactWebComponent<CLoginCardActionsElement, {}>;
|
|
71
71
|
export declare const CLoginCardContent: import("@lit/react").ReactWebComponent<CLoginCardContentElement, {}>;
|
|
72
72
|
export declare const CLoginCardTitle: import("@lit/react").ReactWebComponent<CLoginCardTitleElement, {}>;
|
|
73
|
-
/**
|
|
73
|
+
/** The page shell of an application: it paints the page canvas and lays out the toolbar, the side navigation and the page in the dashboard layout. It is at least a viewport tall and grows with its content, so the document — not a component — is what scrolls. */
|
|
74
74
|
export declare const CMain: import("@lit/react").ReactWebComponent<CMainElement, {}>;
|
|
75
75
|
/** A command menu: a transient panel of actions or navigation choices opened from a trigger (the WAI-ARIA menu-button pattern), authored declaratively with slotted `c-menu-item`, `c-menu-label` and `c-divider` elements. Activating an item fires a one-off `select` event and closes the menu; the menu holds no selected value — that is `c-select`'s job. */
|
|
76
76
|
export declare const CMenu: import("@lit/react").ReactWebComponent<CMenuElement, {
|
|
@@ -128,6 +128,7 @@ export declare const CSelect: import("@lit/react").ReactWebComponent<CSelectElem
|
|
|
128
128
|
onInput: EventName<CSelectElementEventMap["input"]>;
|
|
129
129
|
onUpdateValue: EventName<CSelectElementEventMap["update:value"]>;
|
|
130
130
|
}>;
|
|
131
|
+
/** The dashboard layout's left-hand menu: section titles, navigation items and their sub-items in a drawer that is pinned beside the page on desktop and slides in over it on mobile. */
|
|
131
132
|
export declare const CSideNavigation: import("@lit/react").ReactWebComponent<CSideNavigationElement, {
|
|
132
133
|
onChangeMenuVisible: EventName<CSideNavigationElementEventMap["change:menu-visible"]>;
|
|
133
134
|
}>;
|
|
@@ -188,6 +189,7 @@ export declare const CToast: import("@lit/react").ReactWebComponent<CToastElemen
|
|
|
188
189
|
}>;
|
|
189
190
|
/** Toasts are passive, transient notifications — operation results, background progress — stacked and managed by a single `c-toasts` container via its `addToast` / `removeToast` methods. */
|
|
190
191
|
export declare const CToasts: import("@lit/react").ReactWebComponent<CToastsElement, {}>;
|
|
192
|
+
/** The app-wide bar at the top of the dashboard layout: the logo, the service name and global actions such as the user menu or log out. It is pinned to the top of the viewport by default and stays there while the page scrolls; `static` keeps it in the page flow so it scrolls away with the content. */
|
|
191
193
|
export declare const CToolbar: import("@lit/react").ReactWebComponent<CToolbarElement, {}>;
|
|
192
194
|
/** A non-interactive text hint shown when its trigger is hovered or keyboard-focused, floating in the top layer on the inverted surface tier. */
|
|
193
195
|
export declare const CTooltip: import("@lit/react").ReactWebComponent<CTooltipElement, {
|
package/dist/components.js
CHANGED
|
@@ -239,7 +239,7 @@ export const CLoginCardTitle = createComponent({
|
|
|
239
239
|
react: React,
|
|
240
240
|
tagName: 'c-login-card-title',
|
|
241
241
|
});
|
|
242
|
-
/**
|
|
242
|
+
/** The page shell of an application: it paints the page canvas and lays out the toolbar, the side navigation and the page in the dashboard layout. It is at least a viewport tall and grows with its content, so the document — not a component — is what scrolls. */
|
|
243
243
|
export const CMain = createComponent({
|
|
244
244
|
displayName: 'CMain',
|
|
245
245
|
elementClass: elementClass('c-main'),
|
|
@@ -395,6 +395,7 @@ export const CSelect = createComponent({
|
|
|
395
395
|
react: React,
|
|
396
396
|
tagName: 'c-select',
|
|
397
397
|
});
|
|
398
|
+
/** The dashboard layout's left-hand menu: section titles, navigation items and their sub-items in a drawer that is pinned beside the page on desktop and slides in over it on mobile. */
|
|
398
399
|
export const CSideNavigation = createComponent({
|
|
399
400
|
displayName: 'CSideNavigation',
|
|
400
401
|
elementClass: elementClass('c-side-navigation'),
|
|
@@ -571,6 +572,7 @@ export const CToasts = createComponent({
|
|
|
571
572
|
react: React,
|
|
572
573
|
tagName: 'c-toasts',
|
|
573
574
|
});
|
|
575
|
+
/** The app-wide bar at the top of the dashboard layout: the logo, the service name and global actions such as the user menu or log out. It is pinned to the top of the viewport by default and stays there while the page scrolls; `static` keeps it in the page flow so it scrolls away with the content. */
|
|
574
576
|
export const CToolbar = createComponent({
|
|
575
577
|
displayName: 'CToolbar',
|
|
576
578
|
elementClass: elementClass('c-toolbar'),
|
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.18",
|
|
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.18"
|
|
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.18"
|
|
31
31
|
},
|
|
32
32
|
"license": "MIT",
|
|
33
33
|
"repository": "CSCfi/ui",
|