@lumx/vue 3.20.1-alpha.9 → 4.0.1-alpha.6

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,169 @@
1
+ # Contributing to LumX
2
+
3
+ We'd love for you to contribute to our source code and to make it even better than it is today!
4
+
5
+ ## Getting the source code
6
+
7
+ To be able to contribute, you will have to use the global LumX package from our [GitHub repository](https://github.com/lumapps/design-system). You won't be able to contribute from the distributed packages, so be sure to clone the repository before starting contributing:
8
+
9
+ ```bash
10
+ git clone git@github.com:lumapps/design-system.git
11
+ # Or with HTTPS
12
+ git clone https://github.com/lumapps/design-system.git
13
+ ```
14
+
15
+ # Table of contents
16
+
17
+ Here are the guidelines we'd like you to follow.
18
+
19
+ - [Code of Conduct](#code-of-conduct)
20
+ - [Got a question or a problem?](#got-a-question-or-a-problem-)
21
+ - [Found an issue?](#found-an-issue-)
22
+ - [Want a feature?](#want-a-feature-)
23
+ - [Want to create a new React Component?](#create-a-new-react-component-)
24
+ - [Submission guidelines](#submission-guidelines)
25
+ - [Coding rules](#coding-rules)
26
+ - [Git commit guidelines](#git-commit-guidelines)
27
+
28
+ ## <a name="got-a-question-or-a-problem-"></a> Got a question or a problem?
29
+
30
+ If you have questions about how to use LumX, please direct these to [StackOverflow](http://stackoverflow.com/questions/tagged/LumX).
31
+
32
+ ## <a name="found-an-issue-"></a> Found an issue?
33
+
34
+ If you find a bug in the source code or a mistake in the documentation, you can help us by submitting an issue to our [GitHub Repository](https://github.com/lumapps/design-system/issues). Even better you can submit a Pull Request with a fix.
35
+
36
+ If you are feeling it, you can even fix the issue yourself and submit a Pull Request.
37
+ Before opening a Pull Request, please see the Submission Guidelines below.
38
+
39
+ ## <a name="want-a-feature-"></a> Want a feature?
40
+
41
+ You can request a new feature by submitting an issue to our [GitHub Repository](https://github.com/lumapps/design-system/issues).
42
+ If you would like to implement a new feature then consider what kind of change it is, discuss it with us before hand in your issue, so that we can better coordinate our efforts, prevent duplication of work, and help you to craft the change so that it is successfully accepted into the project.
43
+
44
+ ## <a name="create-a-new-react-component-"></a> Want to create a new React Component?
45
+
46
+ The first step to create a new React component is to run:
47
+
48
+ ```
49
+ yarn scaffold
50
+ ```
51
+
52
+ This script will generate a TSX file for the component code, a TSX file for the component tests and an MDX file to demo this component.
53
+
54
+ To export your component into the `@lumx/react` NPM package, you also have to make sure to update the `src/index.tsx` file.
55
+
56
+ ## <a name="submission-guidelines"></a> Submission guidelines
57
+
58
+ ### Submitting an issue
59
+
60
+ Before you submit your issue search the archive, maybe your question was already answered.
61
+
62
+ If your issue appears to be a bug, and hasn't been reported, open a new issue. Help us to maximize the effort by not reporting duplicate issues. Providing the following information will increase the chances of your issue being dealt with quickly:
63
+
64
+ - **Motivation for or Use Case** - explain why this is a bug for you
65
+ - **LumX Version(s)** - is it a regression?
66
+ - **Browsers and Operating System** - is this a problem with all browsers ?
67
+ - **Reproduce the Error** - provide a live example (using [Plunker](http://plnkr.co/edit) or [JSFiddle](http://jsfiddle.net/)) or a unambiguous set of steps.
68
+
69
+ ### Submitting a pull request
70
+
71
+ Before you submit your pull request consider the following guidelines:
72
+
73
+ - Search [GitHub](https://github.com/lumapps/design-system/pulls) for an open or closed Pull Request that relates to your submission. You don't want to duplicate effort.
74
+ - Make your changes in a new git branch
75
+
76
+ ```bash
77
+ git fetch && git checkout -b <feat|fix|...>/<descriptive branch name> origin/master
78
+ ```
79
+
80
+ - Create your patch.
81
+ - Follow the [Coding Rules](#rules).
82
+ - Commit your changes using a descriptive commit message that follows the [commit message conventions](#commit-message-format).
83
+ - Check and test your changes locally.
84
+
85
+ * Push your branch to GitHub:
86
+
87
+ ```bash
88
+ git push origin <full branch name>
89
+ ```
90
+
91
+ - In GitHub, send a pull request to `design-system:master`.
92
+
93
+ If we suggest changes to your Pull Request, then:
94
+
95
+ - Make the required updates.
96
+ - Rebase your branch and force push to your GitHub repository (this will update your Pull Request):
97
+
98
+ ```bash
99
+ git fetch && git rebase origin/master && git push --force-with-lease
100
+ ```
101
+
102
+ That's it! Thank you for your contribution!
103
+
104
+ #### React developpment check list
105
+
106
+ If you are developping in React please make sure to follow this check list:
107
+
108
+ - [ ] Update the `CHANGELOG.md` file
109
+ - [ ] Create or update component tests
110
+ - [ ] Keep props JSDoc comment up to date and check they appear on the demo site
111
+ - [ ] Keep the `lumx-react/src/index.tsx` file up to date
112
+ - [ ] (if necessary) Create or update the MDX demo file for your component
113
+
114
+ #### After your pull request is merged
115
+
116
+ After your pull request is merged, you can safely delete your branch and pull the changes from the main (upstream) repository:
117
+
118
+ - Delete the remote branch on GitHub either through the GitHub web UI or your local shell as follows:
119
+
120
+ ```bash
121
+ git push origin --delete <full branch name>
122
+ ```
123
+
124
+ - Check out the `master` branch:
125
+
126
+ ```bash
127
+ git checkout master -f
128
+ ```
129
+
130
+ - Delete the local branch:
131
+
132
+ ```bash
133
+ git branch -D <full branch name>
134
+ ```
135
+
136
+ - Update your `master` branch with the latest upstream version:
137
+
138
+ ```bash
139
+ git pull --ff-only upstream master
140
+ ```
141
+
142
+ ## <a name="coding-rules"></a> Coding rules
143
+
144
+ We're using ES6 JavaScript, TypeScript and [SCSS](http://sass-lang.com/) to build the framework.
145
+ [Webpack](https://webpack.js.org/) is used in the project to launch local development server and build LumX.
146
+ NPM scripts are used to ease the setup, start and build of LumX.
147
+
148
+ The coding convention is the following:
149
+
150
+ - 4 spaces for indentation, for JavaScript, TypeScript and SCSS.
151
+ - Wrap all codes at 120 characters.
152
+
153
+ For JavaScript and TypeScript:
154
+
155
+ - Use camel-case.
156
+ - Use the [Allman style](http://en.wikipedia.org/wiki/Indent_style#Allman_style).
157
+
158
+ All submitted JavaScript code must be properly documented. You _must_ at least document all your functions, methods and members using the JSDoc format.
159
+
160
+ For SCSS:
161
+
162
+ - Except for the line wrap, please refer to [the Harry Roberts css guidelines](http://cssguidelin.es/).
163
+ - For the CSS properties, we follow the [concentric order](http://rhodesmill.org/brandon/2011/concentric-css/)
164
+
165
+ For the ease of use and contributing, most of the coding styles are enforced with ESLint, TSLint, Prettier and StyleLint. So as long as the pre-commit script let you commit, you should be good.
166
+
167
+ ## <a name="git-commit-guidelines"></a> Git commit guidelines
168
+
169
+ See https://github.com/lumapps/commit-message-validator
package/LICENSE.md ADDED
@@ -0,0 +1,9 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2019 LumApps
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copyof this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
6
+
7
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
8
+
9
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,232 @@
1
+ import { IconProps, IconSizes } from '../..';
2
+ declare const _default: {
3
+ argTypes: {
4
+ icon: {
5
+ control: {
6
+ type: string;
7
+ };
8
+ options: {
9
+ undefined: undefined;
10
+ mdiAbTesting: string;
11
+ mdiAbjadArabic: string;
12
+ mdiAccount: string;
13
+ mdiAccountBox: string;
14
+ mdiAlert: string;
15
+ mdiAlertCircle: string;
16
+ mdiArrowDown: string;
17
+ mdiArrowUp: string;
18
+ mdiAtom: string;
19
+ mdiBee: string;
20
+ mdiBell: string;
21
+ mdiBullhornOutline: string;
22
+ mdiCheck: string;
23
+ mdiCheckCircle: string;
24
+ mdiChevronDown: string;
25
+ mdiChevronLeft: string;
26
+ mdiChevronRight: string;
27
+ mdiChevronUp: string;
28
+ mdiClose: string;
29
+ mdiCloseCircle: string;
30
+ mdiDelete: string;
31
+ mdiDotsHorizontal: string;
32
+ mdiDragVertical: string;
33
+ mdiEarth: string;
34
+ mdiEmail: string;
35
+ mdiEye: string;
36
+ mdiFileEdit: string;
37
+ mdiFlag: string;
38
+ mdiFolder: string;
39
+ mdiFolderGoogleDrive: string;
40
+ mdiFoodApple: string;
41
+ mdiGoogleCirclesExtended: string;
42
+ mdiHeart: string;
43
+ mdiHome: string;
44
+ mdiImageBroken: string;
45
+ mdiInformation: string;
46
+ mdiLink: string;
47
+ mdiMagnifyMinusOutline: string;
48
+ mdiMagnifyPlusOutline: string;
49
+ mdiMenuDown: string;
50
+ mdiMessageTextOutline: string;
51
+ mdiMinus: string;
52
+ mdiOpenInNew: string;
53
+ mdiPauseCircleOutline: string;
54
+ mdiPencil: string;
55
+ mdiPlay: string;
56
+ mdiPlayCircleOutline: string;
57
+ mdiPlus: string;
58
+ mdiRadioboxBlank: string;
59
+ mdiRadioboxMarked: string;
60
+ mdiReply: string;
61
+ mdiSend: string;
62
+ mdiStar: string;
63
+ mdiTextBox: string;
64
+ mdiTextBoxPlus: string;
65
+ mdiTram: string;
66
+ mdiTranslate: string;
67
+ mdiViewList: string;
68
+ };
69
+ };
70
+ hasShape: {
71
+ control: string;
72
+ };
73
+ color: {
74
+ control: {
75
+ type: "select" | "inline-radio";
76
+ };
77
+ options: ("light" | "dark" | "primary" | "secondary" | "blue" | "green" | "yellow" | "red" | "grey" | undefined)[];
78
+ mapping: Record<string, "light" | "dark" | "primary" | "secondary" | "blue" | "green" | "yellow" | "red" | "grey" | undefined> | undefined;
79
+ };
80
+ colorVariant: {
81
+ control: {
82
+ type: "select" | "inline-radio";
83
+ };
84
+ options: ("D1" | "D2" | "L1" | "L2" | "L3" | "L4" | "L5" | "L6" | "N")[];
85
+ mapping: Record<string, "D1" | "D2" | "L1" | "L2" | "L3" | "L4" | "L5" | "L6" | "N"> | undefined;
86
+ };
87
+ };
88
+ component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
89
+ args: any;
90
+ title: string;
91
+ };
92
+ export default _default;
93
+ /**
94
+ * All combinations of size and shape
95
+ */
96
+ export declare const SizeAndShape: {
97
+ render: (args: IconProps) => {
98
+ components: {
99
+ Icon: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
100
+ StoryMatrix: {
101
+ new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{}>, {
102
+ rows: unknown[];
103
+ cols: unknown[];
104
+ $props: {
105
+ readonly rows?: unknown[] | undefined;
106
+ readonly cols?: unknown[] | undefined;
107
+ };
108
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLTableElement, import('vue').ComponentProvideOptions, {
109
+ P: {};
110
+ B: {};
111
+ D: {};
112
+ C: {};
113
+ M: {};
114
+ Defaults: {};
115
+ }, Readonly<{}> & Readonly<{}>, {
116
+ rows: unknown[];
117
+ cols: unknown[];
118
+ $props: {
119
+ readonly rows?: unknown[] | undefined;
120
+ readonly cols?: unknown[] | undefined;
121
+ };
122
+ }, {}, {}, {}, {}>;
123
+ __isFragment?: undefined;
124
+ __isTeleport?: undefined;
125
+ __isSuspense?: undefined;
126
+ } & import('vue').ComponentOptionsBase<Readonly<{}> & Readonly<{}>, {
127
+ rows: unknown[];
128
+ cols: unknown[];
129
+ $props: {
130
+ readonly rows?: unknown[] | undefined;
131
+ readonly cols?: unknown[] | undefined;
132
+ };
133
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
134
+ $slots: {
135
+ default?(_: {
136
+ row: unknown;
137
+ col: unknown;
138
+ }): any;
139
+ };
140
+ });
141
+ };
142
+ setup(): {
143
+ sizes: (IconSizes | undefined)[];
144
+ args: IconProps;
145
+ shapes: boolean[];
146
+ };
147
+ template: string;
148
+ };
149
+ args: {
150
+ icon: string;
151
+ };
152
+ argTypes: {
153
+ hasShape: {
154
+ control: boolean;
155
+ };
156
+ size: {
157
+ control: boolean;
158
+ };
159
+ };
160
+ };
161
+ /**
162
+ * All combinations of size and shape
163
+ // */
164
+ export declare const AllColors: {
165
+ render: (args: IconProps) => {
166
+ components: {
167
+ Icon: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
168
+ StoryMatrix: {
169
+ new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{}>, {
170
+ rows: unknown[];
171
+ cols: unknown[];
172
+ $props: {
173
+ readonly rows?: unknown[] | undefined;
174
+ readonly cols?: unknown[] | undefined;
175
+ };
176
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLTableElement, import('vue').ComponentProvideOptions, {
177
+ P: {};
178
+ B: {};
179
+ D: {};
180
+ C: {};
181
+ M: {};
182
+ Defaults: {};
183
+ }, Readonly<{}> & Readonly<{}>, {
184
+ rows: unknown[];
185
+ cols: unknown[];
186
+ $props: {
187
+ readonly rows?: unknown[] | undefined;
188
+ readonly cols?: unknown[] | undefined;
189
+ };
190
+ }, {}, {}, {}, {}>;
191
+ __isFragment?: undefined;
192
+ __isTeleport?: undefined;
193
+ __isSuspense?: undefined;
194
+ } & import('vue').ComponentOptionsBase<Readonly<{}> & Readonly<{}>, {
195
+ rows: unknown[];
196
+ cols: unknown[];
197
+ $props: {
198
+ readonly rows?: unknown[] | undefined;
199
+ readonly cols?: unknown[] | undefined;
200
+ };
201
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
202
+ $slots: {
203
+ default?(_: {
204
+ row: unknown;
205
+ col: unknown;
206
+ }): any;
207
+ };
208
+ });
209
+ };
210
+ setup(): {
211
+ colors: ("light" | "dark" | "primary" | "secondary" | "blue" | "green" | "yellow" | "red" | "grey" | undefined)[];
212
+ args: IconProps;
213
+ variants: ("D1" | "D2" | "L1" | "L2" | "L3" | "L4" | "L5" | "L6" | "N" | undefined)[];
214
+ };
215
+ template: string;
216
+ };
217
+ args: {
218
+ size: "m";
219
+ icon: string;
220
+ };
221
+ argTypes: {
222
+ hasShape: {
223
+ control: boolean;
224
+ };
225
+ color: {
226
+ control: boolean;
227
+ };
228
+ colorVariant: {
229
+ control: boolean;
230
+ };
231
+ };
232
+ };
@@ -0,0 +1,2 @@
1
+ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
2
+ export default _default;
@@ -0,0 +1,4 @@
1
+ import { IconProps, IconSizes } from '../../../../lumx-core/src/js/components/Icon';
2
+ import { default as Icon } from './Icon.vue';
3
+ export { Icon };
4
+ export type { IconProps, IconSizes };
@@ -0,0 +1,112 @@
1
+ import { InputHelperProps, Kind } from '../..';
2
+ declare const _default: {
3
+ args: {
4
+ children: string;
5
+ kind?: Kind | undefined;
6
+ className?: string | undefined;
7
+ theme?: import('../..').Theme | undefined;
8
+ };
9
+ argTypes: {
10
+ kind: {
11
+ control: {
12
+ type: "select" | "inline-radio";
13
+ };
14
+ options: ("info" | "success" | "warning" | "error")[];
15
+ mapping: Record<string, "info" | "success" | "warning" | "error"> | undefined;
16
+ };
17
+ };
18
+ title: string;
19
+ component: {
20
+ new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
21
+ P: {};
22
+ B: {};
23
+ D: {};
24
+ C: {};
25
+ M: {};
26
+ Defaults: {};
27
+ }, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, {}>;
28
+ __isFragment?: undefined;
29
+ __isTeleport?: undefined;
30
+ __isSuspense?: undefined;
31
+ } & import('vue').ComponentOptionsBase<Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
32
+ $slots: {
33
+ default?(_: {}): any;
34
+ };
35
+ });
36
+ };
37
+ export default _default;
38
+ export declare const Default: {};
39
+ export declare const AllKinds: {
40
+ render: (args: InputHelperProps) => {
41
+ components: {
42
+ InputHelper: {
43
+ new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
44
+ P: {};
45
+ B: {};
46
+ D: {};
47
+ C: {};
48
+ M: {};
49
+ Defaults: {};
50
+ }, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, {}>;
51
+ __isFragment?: undefined;
52
+ __isTeleport?: undefined;
53
+ __isSuspense?: undefined;
54
+ } & import('vue').ComponentOptionsBase<Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
55
+ $slots: {
56
+ default?(_: {}): any;
57
+ };
58
+ });
59
+ StoryMatrix: {
60
+ new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{}>, {
61
+ rows: unknown[];
62
+ cols: unknown[];
63
+ $props: {
64
+ readonly rows?: unknown[] | undefined;
65
+ readonly cols?: unknown[] | undefined;
66
+ };
67
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLTableElement, import('vue').ComponentProvideOptions, {
68
+ P: {};
69
+ B: {};
70
+ D: {};
71
+ C: {};
72
+ M: {};
73
+ Defaults: {};
74
+ }, Readonly<{}> & Readonly<{}>, {
75
+ rows: unknown[];
76
+ cols: unknown[];
77
+ $props: {
78
+ readonly rows?: unknown[] | undefined;
79
+ readonly cols?: unknown[] | undefined;
80
+ };
81
+ }, {}, {}, {}, {}>;
82
+ __isFragment?: undefined;
83
+ __isTeleport?: undefined;
84
+ __isSuspense?: undefined;
85
+ } & import('vue').ComponentOptionsBase<Readonly<{}> & Readonly<{}>, {
86
+ rows: unknown[];
87
+ cols: unknown[];
88
+ $props: {
89
+ readonly rows?: unknown[] | undefined;
90
+ readonly cols?: unknown[] | undefined;
91
+ };
92
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
93
+ $slots: {
94
+ default?(_: {
95
+ row: unknown;
96
+ col: unknown;
97
+ }): any;
98
+ };
99
+ });
100
+ };
101
+ setup(): {
102
+ kinds: ("info" | "success" | "warning" | "error" | undefined)[];
103
+ args: InputHelperProps;
104
+ };
105
+ template: string;
106
+ };
107
+ argTypes: {
108
+ kind: {
109
+ control: boolean;
110
+ };
111
+ };
112
+ };
@@ -0,0 +1,9 @@
1
+ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, {
2
+ default?(_: {}): any;
3
+ }>;
4
+ export default _default;
5
+ type __VLS_WithTemplateSlots<T, S> = T & {
6
+ new (): {
7
+ $slots: S;
8
+ };
9
+ };
@@ -0,0 +1,4 @@
1
+ import { InputHelperProps } from '../../../../lumx-core/src/js/components/InputHelper';
2
+ import { default as InputHelper } from './InputHelper.vue';
3
+ export { InputHelper };
4
+ export type { InputHelperProps };
@@ -0,0 +1,29 @@
1
+ import { Default, IsRequired, WithCustomTypography } from '../../../../lumx-core/src/js/components/InputLabel/Stories';
2
+ declare const _default: {
3
+ title: string;
4
+ component: {
5
+ new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
6
+ P: {};
7
+ B: {};
8
+ D: {};
9
+ C: {};
10
+ M: {};
11
+ Defaults: {};
12
+ }, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, {}>;
13
+ __isFragment?: undefined;
14
+ __isTeleport?: undefined;
15
+ __isSuspense?: undefined;
16
+ } & import('vue').ComponentOptionsBase<Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
17
+ $slots: {
18
+ default?(_: {}): any;
19
+ };
20
+ });
21
+ args: any;
22
+ argTypes: {
23
+ isRequired: {
24
+ control: string;
25
+ };
26
+ };
27
+ };
28
+ export default _default;
29
+ export { Default, IsRequired, WithCustomTypography };
@@ -0,0 +1,9 @@
1
+ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, {
2
+ default?(_: {}): any;
3
+ }>;
4
+ export default _default;
5
+ type __VLS_WithTemplateSlots<T, S> = T & {
6
+ new (): {
7
+ $slots: S;
8
+ };
9
+ };
@@ -0,0 +1,4 @@
1
+ import { InputLabelProps } from '../../../../lumx-core/src/js/components/InputLabel';
2
+ import { default as InputLabel } from './InputLabel.vue';
3
+ export { InputLabel };
4
+ export type { InputLabelProps };
package/index.d.ts ADDED
@@ -0,0 +1,5 @@
1
+ export * from '../../lumx-core/src/js/constants';
2
+ export * from '../../lumx-core/src/js/types';
3
+ export * from './components/input-helper';
4
+ export * from './components/input-label';
5
+ export * from './components/icon';