@cscfi/csc-ui-react 4.0.0-rc.3 → 4.0.0-rc.4
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 +1 -1
- package/dist/components.js +3 -3
- package/package.json +3 -3
package/dist/components.d.ts
CHANGED
|
@@ -29,7 +29,7 @@ export declare const CBadge: import("@lit/react").ReactWebComponent<CBadgeElemen
|
|
|
29
29
|
export declare const CBreadcrumb: import("@lit/react").ReactWebComponent<CBreadcrumbElement, {}>;
|
|
30
30
|
/** One crumb in a `c-breadcrumb`: a link to a level of the hierarchy, or, as the last crumb, the current page. */
|
|
31
31
|
export declare const CBreadcrumbItem: import("@lit/react").ReactWebComponent<CBreadcrumbItemElement, {}>;
|
|
32
|
-
/** Buttons trigger actions — submitting a form, opening a modal, confirming a choice. Use one
|
|
32
|
+
/** Buttons trigger actions — submitting a form, opening a modal, confirming a choice. Use one filled button (the default `appearance`) per view for its main action; other actions use `appearance="outlined"`, `"ghost"` or `"text"`. */
|
|
33
33
|
export declare const CButton: import("@lit/react").ReactWebComponent<CButtonElement, {}>;
|
|
34
34
|
/** 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. */
|
|
35
35
|
export declare const CButtonGroup: import("@lit/react").ReactWebComponent<CButtonGroupElement, {
|
package/dist/components.js
CHANGED
|
@@ -95,10 +95,10 @@ export const CBreadcrumbItem = createComponent({
|
|
|
95
95
|
react: React,
|
|
96
96
|
tagName: 'c-breadcrumb-item',
|
|
97
97
|
});
|
|
98
|
-
/** Buttons trigger actions — submitting a form, opening a modal, confirming a choice. Use one
|
|
98
|
+
/** Buttons trigger actions — submitting a form, opening a modal, confirming a choice. Use one filled button (the default `appearance`) per view for its main action; other actions use `appearance="outlined"`, `"ghost"` or `"text"`. */
|
|
99
99
|
export const CButton = createComponent({
|
|
100
100
|
displayName: 'CButton',
|
|
101
|
-
elementClass: elementClass(['active', 'appearance', 'danger', 'disabled', 'fit', 'ghost', 'href', 'inverted', 'loading', 'noRadius', 'outlined', 'size', 'target', 'text', 'type', 'value']),
|
|
101
|
+
elementClass: elementClass(['active', 'appearance', 'danger', 'disabled', 'fit', 'ghost', 'href', 'inverted', 'loading', 'noRadius', 'outlined', 'size', 'target', 'text', 'type', 'value', 'variant']),
|
|
102
102
|
react: React,
|
|
103
103
|
tagName: 'c-button',
|
|
104
104
|
});
|
|
@@ -232,7 +232,7 @@ export const CIcon = createComponent({
|
|
|
232
232
|
/** An icon-only button: a round native button that shows a single icon and takes its accessible name from an `aria-label` on the element. */
|
|
233
233
|
export const CIconButton = createComponent({
|
|
234
234
|
displayName: 'CIconButton',
|
|
235
|
-
elementClass: elementClass(['appearance', 'badge', 'danger', 'disabled', 'ghost', 'inverted', 'loading', 'outlined', 'path', 'size', 'text']),
|
|
235
|
+
elementClass: elementClass(['appearance', 'badge', 'danger', 'disabled', 'ghost', 'inverted', 'loading', 'outlined', 'path', 'size', 'text', 'variant']),
|
|
236
236
|
react: React,
|
|
237
237
|
tagName: 'c-icon-button',
|
|
238
238
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cscfi/csc-ui-react",
|
|
3
|
-
"version": "4.0.0-rc.
|
|
3
|
+
"version": "4.0.0-rc.4",
|
|
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",
|
|
@@ -29,13 +29,13 @@
|
|
|
29
29
|
},
|
|
30
30
|
"peerDependencies": {
|
|
31
31
|
"react": ">=18",
|
|
32
|
-
"@cscfi/csc-ui": "^4.0.0-rc.
|
|
32
|
+
"@cscfi/csc-ui": "^4.0.0-rc.4"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
35
|
"@types/react": "^19.1.8",
|
|
36
36
|
"react": "19.3.1",
|
|
37
37
|
"typescript": "^6.0.3",
|
|
38
|
-
"@cscfi/csc-ui": "4.0.0-rc.
|
|
38
|
+
"@cscfi/csc-ui": "4.0.0-rc.4"
|
|
39
39
|
},
|
|
40
40
|
"license": "MIT",
|
|
41
41
|
"repository": "CSCfi/ui",
|