@linzjs/lui 13.0.0 → 13.1.0-beta.0
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/CHANGELOG.md +22 -0
- package/README.md +1 -1
- package/dist/assets/icons/publish.svg +3 -0
- package/dist/assets/svg-content.d.ts +5 -40
- package/dist/assets/svg-content.tsx +74 -45
- package/dist/components/LuiFormElements/LuiFileInputBox/LuiFileInputBox.d.ts +1 -0
- package/dist/components/LuiIcon/LuiIcon.d.ts +1 -42
- package/dist/components/LuiMenu/LuiMenu.d.ts +1 -1
- package/dist/components/lol/LOLActiveFirmMessage.d.ts +1 -0
- package/dist/components/lol/LOLAppLauncherMenu.d.ts +1 -0
- package/dist/components/lol/LOLAuthorisedLink.d.ts +1 -0
- package/dist/components/lol/LOLLogoutLink.d.ts +1 -0
- package/dist/components/lol/MockBackendUtils.d.ts +3 -3
- package/dist/index.js +69190 -3
- package/dist/index.js.map +1 -0
- package/dist/lui.css +44 -34
- package/dist/lui.css.map +1 -1
- package/dist/lui.esm.js +52894 -4236
- package/dist/lui.esm.js.map +1 -1
- package/dist/scss/Components/Messaging/messaging.scss +13 -12
- package/dist/scss/Components/Modal/modal.scss +9 -8
- package/dist/scss/Foundation/Utilities/Borders.scss +3 -1
- package/package.json +21 -18
- package/dist/components/LuiBadge/LuiBadge.stories.d.ts +0 -9
- package/dist/components/LuiBadge/LuiBadge.test.d.ts +0 -1
- package/dist/components/LuiBanner/LuiBanner.stories.d.ts +0 -11
- package/dist/components/LuiBanner/LuiBanner.test.d.ts +0 -1
- package/dist/components/LuiButton/LuiButton.stories.d.ts +0 -28
- package/dist/components/LuiButton/LuiButton.test.d.ts +0 -1
- package/dist/components/LuiButton/LuiButtonGroup.stories.d.ts +0 -6
- package/dist/components/LuiErrorPage/LuiErrorPage.stories.d.ts +0 -7
- package/dist/components/LuiExpandableBanner/LuiExpandableBanner.stories.d.ts +0 -7
- package/dist/components/LuiExpandableBanner/LuiExpandableBanner.test.d.ts +0 -1
- package/dist/components/LuiFilterContainer/LuiFilterContainer.stories.d.ts +0 -18
- package/dist/components/LuiFilterContainer/LuiFilterContainer.test.d.ts +0 -1
- package/dist/components/LuiFilterMenu/LuiFilterMenu.test.d.ts +0 -1
- package/dist/components/LuiFooter/LuiFooter.stories.d.ts +0 -7
- package/dist/components/LuiFooter/LuiFooter.test.d.ts +0 -1
- package/dist/components/LuiFormElements/LuiCheckboxInput/LuiCheckboxInput.stories.d.ts +0 -21
- package/dist/components/LuiFormElements/LuiCheckboxInput/LuiCheckboxInputWithFormik.stories.d.ts +0 -18
- package/dist/components/LuiFormElements/LuiFileInputBox/LuiFileInputBox.stories.d.ts +0 -8
- package/dist/components/LuiFormElements/LuiFileInputBox/LuiFileInputBox.test.d.ts +0 -1
- package/dist/components/LuiFormElements/LuiRadioInput/LuiRadioInput.stories.d.ts +0 -24
- package/dist/components/LuiFormElements/LuiRadioInput/LuiRadioInputWithFormik.stories.d.ts +0 -18
- package/dist/components/LuiFormElements/LuiSelectInput/LuiSelectInput.stories.d.ts +0 -35
- package/dist/components/LuiFormElements/LuiTextAreaInput/LuiTextAreaInput.stories.d.ts +0 -34
- package/dist/components/LuiFormElements/LuiTextAreaInput/LuiTextAreaInput.test.d.ts +0 -2
- package/dist/components/LuiFormElements/LuiTextAreaInput/LuiTextAreaInputWithFormik.stories.d.ts +0 -22
- package/dist/components/LuiFormElements/LuiTextInput/LuiTextInput.stories.d.ts +0 -39
- package/dist/components/LuiFormElements/LuiTextInput/LuiTextInput.test.d.ts +0 -2
- package/dist/components/LuiFormElements/LuiTextInput/LuiTextInputWithFormik.stories.d.ts +0 -22
- package/dist/components/LuiFormikForms/LuiFormikCheckbox/LuiFormikCheckbox.test.d.ts +0 -5
- package/dist/components/LuiFormikForms/LuiFormikForms.integration.test.d.ts +0 -1
- package/dist/components/LuiFormikForms/LuiFormikForms.stories.d.ts +0 -20
- package/dist/components/LuiFormikForms/LuiFormikRadioButton/LuiFormikRadioButton.test.d.ts +0 -1
- package/dist/components/LuiFormikForms/LuiFormikSelect/LuiFormikSelect.test.d.ts +0 -1
- package/dist/components/LuiFormikForms/LuiFormikTextInput/LuiFormikTextInput.test.d.ts +0 -1
- package/dist/components/LuiForms/LuiComboSelect/LuiComboSelect.stories.d.ts +0 -112
- package/dist/components/LuiForms/LuiFormSection/LuiFormSectionHeader.stories.d.ts +0 -5
- package/dist/components/LuiForms/LuiFormSection/LuiFormSectionHeader.test.d.ts +0 -1
- package/dist/components/LuiHeader/LuiHeader.stories.d.ts +0 -49
- package/dist/components/LuiHeader/LuiHeader.test.d.ts +0 -1
- package/dist/components/LuiHeaderMenu/LuiHeaderMenus.test.d.ts +0 -1
- package/dist/components/LuiIcon/LuiIcon.stories.d.ts +0 -11
- package/dist/components/LuiIcon/LuiIcon.test.d.ts +0 -1
- package/dist/components/LuiLoadingSpinner/LuiLoadingSpinner.stories.d.ts +0 -13
- package/dist/components/LuiLoadingSpinner/LuiLoadingSpinner.test.d.ts +0 -1
- package/dist/components/LuiMenu/LuiMenu.stories.d.ts +0 -20
- package/dist/components/LuiMenu/LuiMenu.test.d.ts +0 -1
- package/dist/components/LuiModal/LuiModal.stories.d.ts +0 -13
- package/dist/components/LuiModal/LuiModal.test.d.ts +0 -1
- package/dist/components/LuiModal/LuiModalContext.test.d.ts +0 -1
- package/dist/components/LuiShadow/LuiShadow.stories.d.ts +0 -7
- package/dist/components/LuiStaticMessage/LuiStaticMessage.stories.d.ts +0 -12
- package/dist/components/LuiStaticMessage/LuiStaticMessage.test.d.ts +0 -1
- package/dist/components/LuiTabs/LuiTabs.stories.d.ts +0 -7
- package/dist/components/LuiTabs/LuiTabs.test.d.ts +0 -1
- package/dist/components/LuiToastMessage/LuiToastMessage.auto.stories.d.ts +0 -19
- package/dist/components/LuiToastMessage/LuiToastMessage.test.d.ts +0 -1
- package/dist/components/LuiTooltip/LuiTooltip.stories.d.ts +0 -10
- package/dist/components/LuiUpdateSplashModal/LuiUpdateSplashModal.stories.d.ts +0 -7
- package/dist/components/LuiUpdateSplashModal/LuiUpdatesSplashModal.test.d.ts +0 -1
- package/dist/components/common/ResponsiveUtils.test.d.ts +0 -1
- package/dist/components/lol/LOLActiveFirmMessage.test.d.ts +0 -1
- package/dist/components/lol/LOLAppLauncherMenu.test.d.ts +0 -56
- package/dist/components/lol/LOLAuthorisedLink.test.d.ts +0 -43
- package/dist/components/lol/LOLCommonDrawerMenu.test.d.ts +0 -43
- package/dist/components/lol/LOLComponents.stories.d.ts +0 -55
- package/dist/components/lol/LOLDrawerMenuFirmSwitcher.test.d.ts +0 -1
- package/dist/components/lol/LOLFirmSwitcher.test.d.ts +0 -43
- package/dist/components/lol/LOLLogoutLink.test.d.ts +0 -1
- package/dist/components/lol/LOLUserLastLogin.test.d.ts +0 -1
- package/dist/components/lol/contexts/LOLGlobalClientRefContext.test.d.ts +0 -1
- package/dist/components/lol/contexts/LOLUserContext.test.d.ts +0 -1
- package/dist/contexts/UIMessagingContextProvider.tests.d.ts +0 -1
- package/dist/hooks/__tests__/useClickedOutsideElement.test.d.ts +0 -1
- package/dist/lui.cjs.development.js +0 -20518
- package/dist/lui.cjs.development.js.map +0 -1
- package/dist/lui.cjs.production.min.js +0 -2
- package/dist/lui.cjs.production.min.js.map +0 -1
- package/dist/needs-revision/LuiHtml.stories.d.ts +0 -32
|
@@ -5,8 +5,9 @@
|
|
|
5
5
|
@use "../../Foundation/Utilities" as *;
|
|
6
6
|
|
|
7
7
|
@mixin message-base-styling {
|
|
8
|
-
border-left:
|
|
9
|
-
|
|
8
|
+
border-left: spacing.$unit-xl solid colors.$silver;
|
|
9
|
+
@include border-radius();
|
|
10
|
+
padding: spacing.$unit-sm spacing.$unit-xl spacing.$unit-sm spacing.$unit-sm;
|
|
10
11
|
margin: spacing.$unit-lg 0;
|
|
11
12
|
color: colors.$fuscous;
|
|
12
13
|
background: colors.$lily;
|
|
@@ -32,12 +33,12 @@
|
|
|
32
33
|
@mixin message-close-btn {
|
|
33
34
|
button {
|
|
34
35
|
position: absolute;
|
|
35
|
-
top:
|
|
36
|
-
right:
|
|
36
|
+
top: spacing.$unit-sm;
|
|
37
|
+
right: spacing.$unit-sm;
|
|
37
38
|
background: none;
|
|
38
39
|
padding: 0;
|
|
39
40
|
border: none;
|
|
40
|
-
color: colors.$
|
|
41
|
+
color: colors.$sea;
|
|
41
42
|
&:hover {
|
|
42
43
|
cursor: pointer;
|
|
43
44
|
}
|
|
@@ -78,7 +79,7 @@
|
|
|
78
79
|
|
|
79
80
|
.lui-msg-toast {
|
|
80
81
|
@include box-shadow;
|
|
81
|
-
background:
|
|
82
|
+
background: colors.$white;
|
|
82
83
|
display: block;
|
|
83
84
|
box-sizing: border-box;
|
|
84
85
|
position: fixed;
|
|
@@ -98,17 +99,17 @@
|
|
|
98
99
|
|
|
99
100
|
.lui-msg-dynamic-banner {
|
|
100
101
|
@include box-shadow;
|
|
101
|
-
background:
|
|
102
|
-
min-height:
|
|
102
|
+
background: colors.$white;
|
|
103
|
+
min-height: rem(48px);
|
|
103
104
|
}
|
|
104
105
|
|
|
105
106
|
.lui-msg-status-icon {
|
|
106
107
|
content: '';
|
|
107
108
|
position: absolute;
|
|
108
|
-
top:
|
|
109
|
-
left: -
|
|
110
|
-
font-size: 2rem
|
|
111
|
-
color: white;
|
|
109
|
+
top: spacing.$unit-xs;
|
|
110
|
+
left: -40px;
|
|
111
|
+
font-size: 2rem;
|
|
112
|
+
color: colors.$white;
|
|
112
113
|
}
|
|
113
114
|
|
|
114
115
|
.lui-msg-banner-container {
|
|
@@ -6,14 +6,15 @@
|
|
|
6
6
|
.lui-modal {
|
|
7
7
|
padding: spacing.$unit-lg;
|
|
8
8
|
border-left: 0px solid transparent;
|
|
9
|
+
@include border-radius();
|
|
9
10
|
margin: spacing.$unit-lg 0;
|
|
10
11
|
color: colors.$fuscous;
|
|
11
|
-
background:
|
|
12
|
+
background: colors.$white;
|
|
12
13
|
position: relative;
|
|
13
14
|
max-width: 600px;
|
|
14
15
|
|
|
15
16
|
h2 {
|
|
16
|
-
font-size:
|
|
17
|
+
font-size: rem(20px);
|
|
17
18
|
@include fonts.font-semibold;
|
|
18
19
|
color: colors.$fuscous;
|
|
19
20
|
margin: 0;
|
|
@@ -23,19 +24,19 @@
|
|
|
23
24
|
}
|
|
24
25
|
&-success {
|
|
25
26
|
border-color: colors.$success;
|
|
26
|
-
border-width:
|
|
27
|
+
border-width: spacing.$unit-xl;
|
|
27
28
|
}
|
|
28
29
|
&-info {
|
|
29
30
|
border-color: colors.$info;
|
|
30
|
-
border-width:
|
|
31
|
+
border-width: spacing.$unit-xl;
|
|
31
32
|
}
|
|
32
33
|
&-warning {
|
|
33
34
|
border-color: colors.$warning;
|
|
34
|
-
border-width:
|
|
35
|
+
border-width: spacing.$unit-xl;
|
|
35
36
|
}
|
|
36
37
|
&-error {
|
|
37
38
|
border-color: colors.$error;
|
|
38
|
-
border-width:
|
|
39
|
+
border-width: spacing.$unit-xl;
|
|
39
40
|
}
|
|
40
41
|
.modal-btn-row {
|
|
41
42
|
margin-top: spacing.$unit-lg;
|
|
@@ -46,7 +47,7 @@
|
|
|
46
47
|
}
|
|
47
48
|
&-header {
|
|
48
49
|
@include lui-standard-header-background(5px);
|
|
49
|
-
color:
|
|
50
|
+
color: colors.$white;
|
|
50
51
|
&-title {
|
|
51
52
|
display: flex;
|
|
52
53
|
justify-content: space-between;
|
|
@@ -85,7 +86,7 @@
|
|
|
85
86
|
float: right;
|
|
86
87
|
}
|
|
87
88
|
&-btn-size {
|
|
88
|
-
font-size: 32px;
|
|
89
|
+
font-size: rem(32px);
|
|
89
90
|
}
|
|
90
91
|
}
|
|
91
92
|
&-container {
|
|
@@ -1,9 +1,11 @@
|
|
|
1
|
+
@use '../Variables/MiscVars.scss' as misc;
|
|
1
2
|
// ============
|
|
2
3
|
// $BORDER
|
|
3
4
|
// ============
|
|
4
5
|
|
|
5
6
|
// Border radius ============
|
|
6
|
-
@mixin border-radius($borderRadius) {
|
|
7
|
+
@mixin border-radius($borderRadius: misc.$borderRadius) {
|
|
8
|
+
//If no value passed, it will use the default LUI variable - which should be your 'go-to'
|
|
7
9
|
border-radius: $borderRadius;
|
|
8
10
|
background-clip: padding-box; // stops bg color from leaking outside the border
|
|
9
11
|
}
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "13.0.0",
|
|
2
|
+
"version": "13.1.0-beta.0",
|
|
3
3
|
"license": "MIT",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
@@ -14,16 +14,14 @@
|
|
|
14
14
|
],
|
|
15
15
|
"scripts": {
|
|
16
16
|
"build:sass": "sass src/scss/base.scss dist/lui.css",
|
|
17
|
-
"
|
|
18
|
-
"build": "tsdx build && npm run build:sass",
|
|
19
|
-
"tsdx-test": "tsdx test --passWithNoTests --runInBand --detectOpenHandles",
|
|
17
|
+
"build": "rollup -c && npm run build:sass",
|
|
20
18
|
"test": "jest --runInBand --detectOpenHandles",
|
|
21
|
-
"test:watch": "
|
|
22
|
-
"test:clear": "
|
|
23
|
-
"lint": "
|
|
24
|
-
"lint:fix": "
|
|
25
|
-
"prepare": "tsdx build && npm run build:sass",
|
|
19
|
+
"test:watch": "jest --passWithNoTests --watch",
|
|
20
|
+
"test:clear": "jest --clearCache",
|
|
21
|
+
"lint": "eslint ./src/**/*.{ts,tsx} --max-warnings 0",
|
|
22
|
+
"lint:fix": "eslint ./src/**/*.{ts,tsx} --fix",
|
|
26
23
|
"size": "size-limit",
|
|
24
|
+
"prepare": "npm run build",
|
|
27
25
|
"analyze": "size-limit --why",
|
|
28
26
|
"storybook": "npm-run-all watch-storybook",
|
|
29
27
|
"build-storybook": "build-storybook --static-dir ./src/assets",
|
|
@@ -42,7 +40,7 @@
|
|
|
42
40
|
},
|
|
43
41
|
"husky": {
|
|
44
42
|
"hooks": {
|
|
45
|
-
"pre-commit": "
|
|
43
|
+
"pre-commit": "npm run lint"
|
|
46
44
|
}
|
|
47
45
|
},
|
|
48
46
|
"name": "@linzjs/lui",
|
|
@@ -73,9 +71,11 @@
|
|
|
73
71
|
}
|
|
74
72
|
],
|
|
75
73
|
"devDependencies": {
|
|
76
|
-
"@babel/core": "^7.12.3",
|
|
77
74
|
"@geometricpanda/storybook-addon-badges": "^0.2.1",
|
|
78
|
-
"@
|
|
75
|
+
"@linzjs/style": "^3.6.0",
|
|
76
|
+
"@rollup/plugin-commonjs": "^17.1.0",
|
|
77
|
+
"@rollup/plugin-json": "^4.1.0",
|
|
78
|
+
"@rollup/plugin-node-resolve": "^11.2.1",
|
|
79
79
|
"@semantic-release/changelog": "^5.0.1",
|
|
80
80
|
"@semantic-release/git": "^9.0.0",
|
|
81
81
|
"@size-limit/preset-small-lib": "^4.7.0",
|
|
@@ -102,12 +102,14 @@
|
|
|
102
102
|
"@types/sass": "^1.16.0",
|
|
103
103
|
"@types/uuid": "^8.3.1",
|
|
104
104
|
"@types/yup": "0.29.0",
|
|
105
|
-
"babel-loader": "^8.1.0",
|
|
106
105
|
"chromatic": "^4.0.3",
|
|
107
106
|
"conventional-changelog-conventionalcommits": "^4.6.1",
|
|
108
107
|
"css-loader": "^3.6.0",
|
|
109
108
|
"esbuild": "^0.13.8",
|
|
110
109
|
"esbuild-jest": "^0.5.0",
|
|
110
|
+
"eslint-config-prettier": "8.3.0",
|
|
111
|
+
"eslint-config-react-app": "^7.0.0",
|
|
112
|
+
"eslint-plugin-prettier": "4.0.0",
|
|
111
113
|
"fetch-mock": "^9.11.0",
|
|
112
114
|
"html-loader": "^1.1.0",
|
|
113
115
|
"husky": "^4.3.0",
|
|
@@ -115,15 +117,17 @@
|
|
|
115
117
|
"jest-canvas-mock": "2.2.0",
|
|
116
118
|
"msw": "^0.22.2",
|
|
117
119
|
"npm-run-all": "^4.1.5",
|
|
118
|
-
"prettier": "^2.0.5",
|
|
119
120
|
"pretty-quick": "^3.1.1",
|
|
120
121
|
"react": "^16.8.3",
|
|
121
122
|
"react-dom": "^16.8.3",
|
|
122
123
|
"react-helmet": "^6.1.0",
|
|
123
124
|
"react-is": "^17.0.1",
|
|
124
|
-
"rollup
|
|
125
|
-
"rollup-plugin-
|
|
125
|
+
"rollup": "^2.56.3",
|
|
126
|
+
"rollup-plugin-copy": "^3.4.0",
|
|
127
|
+
"rollup-plugin-peer-deps-external": "^2.2.4",
|
|
128
|
+
"rollup-plugin-postcss": "^3.1.8",
|
|
126
129
|
"rollup-plugin-svg": "^2.0.0",
|
|
130
|
+
"rollup-plugin-typescript2": "^0.29.0",
|
|
127
131
|
"sass": "^1.43.4",
|
|
128
132
|
"sass-loader": "^8.0.2",
|
|
129
133
|
"semantic-release": "^17.4.2",
|
|
@@ -132,7 +136,6 @@
|
|
|
132
136
|
"stylelint-config-standard": "^22.0.0",
|
|
133
137
|
"stylelint-scss": "^3.20.1",
|
|
134
138
|
"stylelint-suitcss": "^4.0.0",
|
|
135
|
-
"tsdx": "^0.14.1",
|
|
136
139
|
"typescript": "^3.9.7",
|
|
137
140
|
"whatwg-fetch": "^3.4.1",
|
|
138
141
|
"yup": "^0.29.0"
|
|
@@ -145,7 +148,7 @@
|
|
|
145
148
|
"formik": "^2.1.4",
|
|
146
149
|
"lottie-web": "^5.8.1",
|
|
147
150
|
"react-modal": "^3.11.2",
|
|
148
|
-
"react-query": "
|
|
151
|
+
"react-query": "2.26.3",
|
|
149
152
|
"react-select": "^5.1.0",
|
|
150
153
|
"resolve-url-loader": "^3.1.2",
|
|
151
154
|
"svgstore": "^3.0.0-2",
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import '../../scss/base.scss';
|
|
3
|
-
import './LuiBadgeStory.scss';
|
|
4
|
-
declare const _default: {
|
|
5
|
-
title: string;
|
|
6
|
-
component: (props: import("./LuiBadge").ILuiBadge) => JSX.Element;
|
|
7
|
-
};
|
|
8
|
-
export default _default;
|
|
9
|
-
export declare const LuiBadgeStory: (args: any) => JSX.Element;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import '../../scss/base.scss';
|
|
3
|
-
declare const _default: {
|
|
4
|
-
title: string;
|
|
5
|
-
};
|
|
6
|
-
export default _default;
|
|
7
|
-
export declare const success: () => JSX.Element;
|
|
8
|
-
export declare const info: () => JSX.Element;
|
|
9
|
-
export declare const error: () => JSX.Element;
|
|
10
|
-
export declare const warning: () => JSX.Element;
|
|
11
|
-
export declare const withoutContainer: () => JSX.Element;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { BADGE } from '@geometricpanda/storybook-addon-badges';
|
|
3
|
-
import '../../scss/base.scss';
|
|
4
|
-
import './buttonStory.scss';
|
|
5
|
-
declare const _default: {
|
|
6
|
-
title: string;
|
|
7
|
-
};
|
|
8
|
-
export default _default;
|
|
9
|
-
export declare const allButtons: () => JSX.Element;
|
|
10
|
-
export declare const linkButtons: () => JSX.Element;
|
|
11
|
-
export declare const disabled: () => JSX.Element;
|
|
12
|
-
export declare const plainText: () => JSX.Element;
|
|
13
|
-
export declare const widths: () => JSX.Element;
|
|
14
|
-
export declare const withMaterialIcons: {
|
|
15
|
-
(): JSX.Element;
|
|
16
|
-
storyName: string;
|
|
17
|
-
};
|
|
18
|
-
export declare const withLuiIcon: {
|
|
19
|
-
(): JSX.Element;
|
|
20
|
-
storyName: string;
|
|
21
|
-
parameters: {
|
|
22
|
-
badges: BADGE[];
|
|
23
|
-
};
|
|
24
|
-
};
|
|
25
|
-
export declare const iconOnlyWithMaterialIcons: {
|
|
26
|
-
(): JSX.Element;
|
|
27
|
-
storyName: string;
|
|
28
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { Story } from '@storybook/react';
|
|
3
|
-
declare const _default: {
|
|
4
|
-
title: string;
|
|
5
|
-
subcomponents: {
|
|
6
|
-
LuiFilterContainer: (props: import("./LuiFilterContainer").IFilterProperties<any>) => JSX.Element;
|
|
7
|
-
};
|
|
8
|
-
};
|
|
9
|
-
export default _default;
|
|
10
|
-
interface FilterContainerTemplateProps {
|
|
11
|
-
showFilter: boolean;
|
|
12
|
-
}
|
|
13
|
-
export declare const FilterContainer: Story<FilterContainerTemplateProps>;
|
|
14
|
-
interface SimpleFilterContainerTemplateProps {
|
|
15
|
-
showFilter: boolean;
|
|
16
|
-
options: string[];
|
|
17
|
-
}
|
|
18
|
-
export declare const FilterContainerSimple: Story<SimpleFilterContainerTemplateProps>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { LuiCheckboxInput } from './LuiCheckboxInput';
|
|
3
|
-
import { ComponentStory } from '@storybook/react';
|
|
4
|
-
import { BADGE } from '@geometricpanda/storybook-addon-badges';
|
|
5
|
-
declare const _default: {
|
|
6
|
-
title: string;
|
|
7
|
-
component: (props: import("./LuiCheckboxInput").LuiCheckboxProps) => JSX.Element;
|
|
8
|
-
argTypes: {
|
|
9
|
-
onChange: {
|
|
10
|
-
action: string;
|
|
11
|
-
};
|
|
12
|
-
isChecked: string;
|
|
13
|
-
};
|
|
14
|
-
parameters: {
|
|
15
|
-
badges: BADGE[];
|
|
16
|
-
};
|
|
17
|
-
};
|
|
18
|
-
export default _default;
|
|
19
|
-
export declare const Default: ComponentStory<typeof LuiCheckboxInput>;
|
|
20
|
-
export declare const allStates: ComponentStory<any>;
|
|
21
|
-
export declare const CustomLabel: ComponentStory<typeof LuiCheckboxInput>;
|
package/dist/components/LuiFormElements/LuiCheckboxInput/LuiCheckboxInputWithFormik.stories.d.ts
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { BADGE } from '@geometricpanda/storybook-addon-badges';
|
|
3
|
-
declare const _default: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: (props: import("./LuiCheckboxInput").LuiCheckboxProps) => JSX.Element;
|
|
6
|
-
parameters: {
|
|
7
|
-
badges: BADGE[];
|
|
8
|
-
};
|
|
9
|
-
};
|
|
10
|
-
export default _default;
|
|
11
|
-
export declare const LuiCheckBoxInputWithFormikHooks: {
|
|
12
|
-
(): JSX.Element;
|
|
13
|
-
storyName: string;
|
|
14
|
-
};
|
|
15
|
-
export declare const LuiCheckBoxInputWithFormikComponents: {
|
|
16
|
-
(): JSX.Element;
|
|
17
|
-
storyName: string;
|
|
18
|
-
};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { ComponentStory } from '@storybook/react';
|
|
2
|
-
import { FileUploadInfo, LuiFileInputBox } from './LuiFileInputBox';
|
|
3
|
-
declare const _default: import("@storybook/react").Meta<import("./LuiFileInputBox").LuiFileInputBoxProps>;
|
|
4
|
-
export default _default;
|
|
5
|
-
export declare const LuiFileInputWithExtensionFilterDefaultSize: ComponentStory<typeof LuiFileInputBox>;
|
|
6
|
-
export declare const LuiFileInputWithExtensionFilterLargeWithExistingError: ComponentStory<typeof LuiFileInputBox>;
|
|
7
|
-
export declare const LuiFileInputWithExtensionFilterLargeWithExistingErrorCustomMessage: ComponentStory<typeof LuiFileInputBox>;
|
|
8
|
-
export declare const LuiFileInputUploadSuccessForChromatic: ComponentStory<typeof FileUploadInfo>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const fakeFile: (fileName: string) => File;
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { BADGE } from '@geometricpanda/storybook-addon-badges';
|
|
3
|
-
declare const _default: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: (props: import("./LuiRadioInput").LuiRadioProps) => JSX.Element;
|
|
6
|
-
parameters: {
|
|
7
|
-
badges: BADGE[];
|
|
8
|
-
};
|
|
9
|
-
};
|
|
10
|
-
export default _default;
|
|
11
|
-
export declare const Default: {
|
|
12
|
-
(): JSX.Element;
|
|
13
|
-
storeName: string;
|
|
14
|
-
};
|
|
15
|
-
export declare const RadioInputWithLegendText: {
|
|
16
|
-
(): JSX.Element;
|
|
17
|
-
storeName: string;
|
|
18
|
-
};
|
|
19
|
-
export declare const IsOptionDisabled: {
|
|
20
|
-
(): JSX.Element;
|
|
21
|
-
storeName: string;
|
|
22
|
-
};
|
|
23
|
-
export declare const IsInputDisabled: () => JSX.Element;
|
|
24
|
-
export declare const Error: () => JSX.Element;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
declare const _default: {
|
|
3
|
-
title: string;
|
|
4
|
-
component: (props: import("./LuiRadioInput").LuiRadioProps) => JSX.Element;
|
|
5
|
-
};
|
|
6
|
-
export default _default;
|
|
7
|
-
export declare const LuiRadioButtonInputWithFormikHooks: {
|
|
8
|
-
(): JSX.Element;
|
|
9
|
-
storeName: string;
|
|
10
|
-
};
|
|
11
|
-
export declare const LuiRadioButtonWithFormikComponents: {
|
|
12
|
-
(): JSX.Element;
|
|
13
|
-
storeName: string;
|
|
14
|
-
};
|
|
15
|
-
export declare const LuiRadioButtonWithFormikComponentsAndHooks: {
|
|
16
|
-
(): JSX.Element;
|
|
17
|
-
storyName: string;
|
|
18
|
-
};
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { BADGE } from '@geometricpanda/storybook-addon-badges';
|
|
3
|
-
declare const _default: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: (props: import("./LuiSelectInput").SelectProps) => JSX.Element;
|
|
6
|
-
parameters: {
|
|
7
|
-
badges: BADGE[];
|
|
8
|
-
};
|
|
9
|
-
};
|
|
10
|
-
export default _default;
|
|
11
|
-
export declare const Default: {
|
|
12
|
-
(): JSX.Element;
|
|
13
|
-
storyName: string;
|
|
14
|
-
};
|
|
15
|
-
export declare const NoLabel: {
|
|
16
|
-
(): JSX.Element;
|
|
17
|
-
storyName: string;
|
|
18
|
-
};
|
|
19
|
-
export declare const HiddenLabel: () => JSX.Element;
|
|
20
|
-
export declare const Placeholder: {
|
|
21
|
-
(): JSX.Element;
|
|
22
|
-
storyName: string;
|
|
23
|
-
};
|
|
24
|
-
export declare const Disabled: {
|
|
25
|
-
(): JSX.Element;
|
|
26
|
-
storyName: string;
|
|
27
|
-
};
|
|
28
|
-
export declare const Error: {
|
|
29
|
-
(): JSX.Element;
|
|
30
|
-
storyName: string;
|
|
31
|
-
};
|
|
32
|
-
export declare const MandatoryStar: {
|
|
33
|
-
(): JSX.Element;
|
|
34
|
-
storyName: string;
|
|
35
|
-
};
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { BADGE } from '@geometricpanda/storybook-addon-badges';
|
|
3
|
-
declare const _default: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: (props: import("./LuiTextAreaInput").LuiTextAreaInputProps) => JSX.Element;
|
|
6
|
-
parameters: {
|
|
7
|
-
badges: BADGE[];
|
|
8
|
-
};
|
|
9
|
-
};
|
|
10
|
-
export default _default;
|
|
11
|
-
export declare const Default: {
|
|
12
|
-
(): JSX.Element;
|
|
13
|
-
storyName: string;
|
|
14
|
-
};
|
|
15
|
-
export declare const Placeholder: {
|
|
16
|
-
(): JSX.Element;
|
|
17
|
-
storyName: string;
|
|
18
|
-
};
|
|
19
|
-
export declare const Disabled: {
|
|
20
|
-
(): JSX.Element;
|
|
21
|
-
storyName: string;
|
|
22
|
-
};
|
|
23
|
-
export declare const Error: {
|
|
24
|
-
(): JSX.Element;
|
|
25
|
-
storyName: string;
|
|
26
|
-
};
|
|
27
|
-
export declare const Mandatory: {
|
|
28
|
-
(): JSX.Element;
|
|
29
|
-
storyName: string;
|
|
30
|
-
};
|
|
31
|
-
export declare const ErrorWithNonTransparentBackground: {
|
|
32
|
-
(): JSX.Element;
|
|
33
|
-
storyName: string;
|
|
34
|
-
};
|
package/dist/components/LuiFormElements/LuiTextAreaInput/LuiTextAreaInputWithFormik.stories.d.ts
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { BADGE } from '@geometricpanda/storybook-addon-badges';
|
|
3
|
-
declare const _default: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: (props: import("./LuiTextAreaInput").LuiTextAreaInputProps) => JSX.Element;
|
|
6
|
-
parameters: {
|
|
7
|
-
badges: BADGE[];
|
|
8
|
-
};
|
|
9
|
-
};
|
|
10
|
-
export default _default;
|
|
11
|
-
export declare const LuiTextAreaInputWithFormikHooks: {
|
|
12
|
-
(): JSX.Element;
|
|
13
|
-
storyName: string;
|
|
14
|
-
};
|
|
15
|
-
export declare const LuiTextAreaInputWithFormikComponents: {
|
|
16
|
-
(): JSX.Element;
|
|
17
|
-
storyName: string;
|
|
18
|
-
};
|
|
19
|
-
export declare const LuiTextAreaInputWithFormikComponentsAndHooks: {
|
|
20
|
-
(): JSX.Element;
|
|
21
|
-
storyName: string;
|
|
22
|
-
};
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { BADGE } from '@geometricpanda/storybook-addon-badges';
|
|
3
|
-
declare const _default: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: (props: import("./LuiTextInput").LuiTextInputProps) => JSX.Element;
|
|
6
|
-
parameters: {
|
|
7
|
-
badges: BADGE[];
|
|
8
|
-
};
|
|
9
|
-
};
|
|
10
|
-
export default _default;
|
|
11
|
-
export declare const Default: {
|
|
12
|
-
(): JSX.Element;
|
|
13
|
-
storyName: string;
|
|
14
|
-
};
|
|
15
|
-
export declare const NoLabel: {
|
|
16
|
-
(): JSX.Element;
|
|
17
|
-
storyName: string;
|
|
18
|
-
};
|
|
19
|
-
export declare const CustomLabel: () => JSX.Element;
|
|
20
|
-
export declare const Placeholder: {
|
|
21
|
-
(): JSX.Element;
|
|
22
|
-
storyName: string;
|
|
23
|
-
};
|
|
24
|
-
export declare const Disabled: {
|
|
25
|
-
(): JSX.Element;
|
|
26
|
-
storyName: string;
|
|
27
|
-
};
|
|
28
|
-
export declare const Error: {
|
|
29
|
-
(): JSX.Element;
|
|
30
|
-
storyName: string;
|
|
31
|
-
};
|
|
32
|
-
export declare const Mandatory: {
|
|
33
|
-
(): JSX.Element;
|
|
34
|
-
storyName: string;
|
|
35
|
-
};
|
|
36
|
-
export declare const PadlockIcon: {
|
|
37
|
-
(): JSX.Element;
|
|
38
|
-
storyName: string;
|
|
39
|
-
};
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { BADGE } from '@geometricpanda/storybook-addon-badges';
|
|
3
|
-
declare const _default: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: (props: import("./LuiTextInput").LuiTextInputProps) => JSX.Element;
|
|
6
|
-
parameters: {
|
|
7
|
-
badges: BADGE[];
|
|
8
|
-
};
|
|
9
|
-
};
|
|
10
|
-
export default _default;
|
|
11
|
-
export declare const LuiTextInputWithFormikHooks: {
|
|
12
|
-
(): JSX.Element;
|
|
13
|
-
storyName: string;
|
|
14
|
-
};
|
|
15
|
-
export declare const LuiTextInputWithFormikComponents: {
|
|
16
|
-
(): JSX.Element;
|
|
17
|
-
storyName: string;
|
|
18
|
-
};
|
|
19
|
-
export declare const LuiTextInputWithFormikComponentsAndHooks: {
|
|
20
|
-
(): JSX.Element;
|
|
21
|
-
storyName: string;
|
|
22
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|