@agilekit/ui 0.1.0-alpha.1 → 0.1.0-alpha.11
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.
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
export interface SectionMessageAction {
|
|
3
|
+
key?: string;
|
|
4
|
+
text: string;
|
|
5
|
+
href?: string;
|
|
6
|
+
onClick?: () => void;
|
|
7
|
+
target?: string;
|
|
8
|
+
rel?: string;
|
|
9
|
+
}
|
|
10
|
+
export interface SectionMessageProps {
|
|
11
|
+
title: string;
|
|
12
|
+
appearance?: 'information' | 'success' | 'warning' | 'error' | 'discovery';
|
|
13
|
+
size?: 'small' | 'medium';
|
|
14
|
+
children?: React.ReactNode;
|
|
15
|
+
actions?: SectionMessageAction[];
|
|
16
|
+
className?: string;
|
|
17
|
+
}
|
|
18
|
+
declare const SectionMessage: React.FC<SectionMessageProps>;
|
|
19
|
+
export default SectionMessage;
|
package/lib/src/index.d.ts
CHANGED
|
@@ -5,6 +5,7 @@ export { default as ActionList } from './components/ActionList/ActionList';
|
|
|
5
5
|
export { default as AgileTable } from './components/AgileTable/AgileTable';
|
|
6
6
|
export { default as Alert } from './components/Alert/Alert';
|
|
7
7
|
export { default as AlertInline } from './components/AlertInline/AlertInline';
|
|
8
|
+
export { default as SectionMessage } from './components/SectionMessage/SectionMessage';
|
|
8
9
|
export { default as AppFrame } from './components/AppFrame/AppFrame';
|
|
9
10
|
export { default as AppProvider } from './components/AppProvider/AppProvider';
|
|
10
11
|
export { default as Avatar } from './components/Avatar/Avatar';
|
package/package.json
CHANGED
|
@@ -1,12 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agilekit/ui",
|
|
3
|
-
"version": "0.1.0-alpha.
|
|
3
|
+
"version": "0.1.0-alpha.11",
|
|
4
4
|
"description": "Agile's product component library",
|
|
5
5
|
"author": "Michael de Lima Alves <michaelalves@outlook.com>",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"main": "lib/index",
|
|
8
|
+
"style": "lib/index.css",
|
|
8
9
|
"types": "lib/src/index.d.ts",
|
|
9
|
-
"
|
|
10
|
+
"sideEffects": [
|
|
11
|
+
"*.css",
|
|
12
|
+
"*.scss"
|
|
13
|
+
],
|
|
10
14
|
"files": [
|
|
11
15
|
"/lib",
|
|
12
16
|
"/src/assets",
|
|
@@ -23,8 +27,7 @@
|
|
|
23
27
|
}
|
|
24
28
|
},
|
|
25
29
|
"publishConfig": {
|
|
26
|
-
"access": "public"
|
|
27
|
-
"tag": "alpha"
|
|
30
|
+
"access": "public"
|
|
28
31
|
},
|
|
29
32
|
"repository": {
|
|
30
33
|
"type": "git"
|
|
@@ -63,7 +66,6 @@
|
|
|
63
66
|
"react-color": "^2.19.3",
|
|
64
67
|
"react-dom": "18.2.0",
|
|
65
68
|
"react-multi-select-component": "^4.2.3",
|
|
66
|
-
"react-router-dom": "^5.1.2",
|
|
67
69
|
"react-scripts": "^3.4.3",
|
|
68
70
|
"react-select": "^5.4.0"
|
|
69
71
|
},
|
|
@@ -116,10 +118,12 @@
|
|
|
116
118
|
"jest": "^29.5.0",
|
|
117
119
|
"jest-axe": "^7.0.1",
|
|
118
120
|
"jest-environment-jsdom": "^29.5.0",
|
|
121
|
+
"mini-css-extract-plugin": "^2.10.0",
|
|
119
122
|
"postcss-loader": "^7.1.0",
|
|
120
123
|
"prettier": "^2.8.4",
|
|
121
124
|
"react-docgen-typescript-loader": "^3.7.2",
|
|
122
125
|
"react-hook-form": "^7.57.0",
|
|
126
|
+
"react-router-dom": "^5.1.2",
|
|
123
127
|
"react-input-mask": "^2.0.4",
|
|
124
128
|
"react-number-format": "^4.9.1",
|
|
125
129
|
"sass-loader": "^13.2.0",
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
@use "sass:math";
|
|
2
|
+
@use "../../shared/settings/colors" as *;
|
|
2
3
|
// Variables
|
|
3
4
|
//
|
|
4
5
|
// Variables should follow the `$component-state-property-size` formula for
|
|
@@ -1086,4 +1087,4 @@ sticky !default;
|
|
|
1086
1087
|
// Printing
|
|
1087
1088
|
|
|
1088
1089
|
$print-page-size: a3 !default;
|
|
1089
|
-
$print-body-min-width: map-get($grid-breakpoints, "lg") !default;
|
|
1090
|
+
$print-body-min-width: map-get($grid-breakpoints, "lg") !default;
|