@politiet/sheriff-web-components 1.0.0-beta.4 → 1.0.0-beta.5

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.
@@ -20,6 +20,21 @@ import { SDSTextFieldProps } from '../sds-textfield/sds-textfield';
20
20
  declare module 'react' {
21
21
  namespace JSX {
22
22
  interface IntrinsicElements {
23
+ /**
24
+ * `<sds-button>` - A styled button component.
25
+ *
26
+ * Attributes:
27
+ * - **type**: Button type ('button', 'submit', or 'reset').
28
+ * - **variant**: Visual style variant ('primary', 'secondary', 'tertiary', 'critical').
29
+ * - **size**: Button size ('large', 'medium', 'small').
30
+ * - **disabled**: Disables the button.
31
+ * - **name**: The name attribute for form submission.
32
+ * - **value**: The value attribute for form submission.
33
+ * - **form**: Associates the button with a form.
34
+ * - **onClick**: Callback fired on click events.
35
+ * - **onSubmit**: Callback fired on submit events.
36
+ * - **onReset**: Callback fired on reset events.
37
+ */
23
38
  'sds-button': SDSButtonProps & React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>;
24
39
  'sds-checkbox': SDSCheckboxProps & React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>;
25
40
  'sds-checkbox-group': SDSCheckboxGroupProps & React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@politiet/sheriff-web-components",
3
- "version": "1.0.0-beta.4",
3
+ "version": "1.0.0-beta.5",
4
4
  "description": "Sheriff Design System Web Components Library",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",