@cscfi/csc-ui-react 4.0.0-alpha.16 → 4.0.0-alpha.17

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.
@@ -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
- /** Wrapper component for the whole page */
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, {
@@ -188,6 +188,7 @@ export declare const CToast: import("@lit/react").ReactWebComponent<CToastElemen
188
188
  }>;
189
189
  /** Toasts are passive, transient notifications — operation results, background progress — stacked and managed by a single `c-toasts` container via its `addToast` / `removeToast` methods. */
190
190
  export declare const CToasts: import("@lit/react").ReactWebComponent<CToastsElement, {}>;
191
+ /** 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
192
  export declare const CToolbar: import("@lit/react").ReactWebComponent<CToolbarElement, {}>;
192
193
  /** 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
194
  export declare const CTooltip: import("@lit/react").ReactWebComponent<CTooltipElement, {
@@ -239,7 +239,7 @@ export const CLoginCardTitle = createComponent({
239
239
  react: React,
240
240
  tagName: 'c-login-card-title',
241
241
  });
242
- /** Wrapper component for the whole page */
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'),
@@ -571,6 +571,7 @@ export const CToasts = createComponent({
571
571
  react: React,
572
572
  tagName: 'c-toasts',
573
573
  });
574
+ /** 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
575
  export const CToolbar = createComponent({
575
576
  displayName: 'CToolbar',
576
577
  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.16",
3
+ "version": "4.0.0-alpha.17",
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.16"
24
+ "@cscfi/csc-ui": "^4.0.0-alpha.17"
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.16"
30
+ "@cscfi/csc-ui": "4.0.0-alpha.17"
31
31
  },
32
32
  "license": "MIT",
33
33
  "repository": "CSCfi/ui",