@abgov/react-components 4.0.0-alpha.43 → 4.0.0-alpha.44
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/lib/button/button.d.ts +1 -1
- package/package.json +6 -5
package/lib/button/button.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React, { FC, ReactNode } from 'react';
|
|
2
2
|
import './button.css';
|
|
3
3
|
import { GoAIconType } from '../icons';
|
|
4
|
-
export declare type ButtonType = 'primary' | 'secondary' | 'tertiary' | 'start';
|
|
4
|
+
export declare type ButtonType = 'primary' | 'submit' | 'secondary' | 'tertiary' | 'start';
|
|
5
5
|
export declare type ButtonSize = 'compact' | 'normal';
|
|
6
6
|
export declare type ButtonVariant = 'normal' | 'destructive';
|
|
7
7
|
interface WCProps {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abgov/react-components",
|
|
3
|
-
"version": "4.0.0-alpha.
|
|
3
|
+
"version": "4.0.0-alpha.44",
|
|
4
4
|
"description": "Government of Alberta - UI components for React",
|
|
5
5
|
"bugs": {
|
|
6
6
|
"url": "https://github.com/GovAlta/ui-components/issues"
|
|
@@ -17,12 +17,13 @@
|
|
|
17
17
|
"directory": "libs/react-components"
|
|
18
18
|
},
|
|
19
19
|
"peerDependencies": {
|
|
20
|
-
"react": "^
|
|
21
|
-
"react-dom": "^
|
|
20
|
+
"react": "^18.0.0",
|
|
21
|
+
"react-dom": "^18.0.0"
|
|
22
|
+
},
|
|
23
|
+
"dependencies": {
|
|
22
24
|
"date-fns": "^2.29.2"
|
|
23
25
|
},
|
|
24
26
|
"main": "./react-components.umd.js",
|
|
25
27
|
"module": "./react-components.esm.js",
|
|
26
|
-
"typings": "./index.d.ts"
|
|
27
|
-
"dependencies": {}
|
|
28
|
+
"typings": "./index.d.ts"
|
|
28
29
|
}
|