@lumx/vue 3.20.1-alpha.1 → 3.20.1-alpha.10
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/index.js +2 -1117
- package/index.mjs +1085 -0
- package/package.json +25 -107
- package/src/Icon.stories.js +27 -0
- package/src/Icon.vue +16 -0
- package/src/InputHelper.stories.js +27 -0
- package/src/InputHelper.vue +16 -0
- package/src/components/icon/Icon.stories.js +27 -0
- package/src/components/icon/Icon.vue +16 -0
- package/src/components/icon/index.ts +1 -5
- package/src/components/input-helper/InputHelper.stories.js +27 -0
- package/src/components/input-helper/InputHelper.vue +16 -0
- package/src/components/input-helper/index.ts +2 -0
- package/src/icon/Icon.stories.js +27 -0
- package/src/icon/Icon.vue +16 -0
- package/src/icon/index.ts +1 -5
- package/src/index.ts +2 -6
- package/src/input-helper/InputHelper.stories.js +27 -0
- package/src/input-helper/InputHelper.vue +16 -0
- package/src/input-helper/index.ts +2 -0
- package/src/Icon.stories.tsx +0 -17
- package/src/Icon.test.tsx +0 -9
- package/src/Icon.tsx +0 -48
- package/src/components/icon/Icon.stories.tsx +0 -17
- package/src/components/icon/Icon.test.tsx +0 -9
- package/src/components/icon/Icon.tsx +0 -48
- package/src/icon/Icon.stories.tsx +0 -17
- package/src/icon/Icon.test.tsx +0 -9
- package/src/icon/Icon.tsx +0 -48
- package/src/utils/index.ts +0 -0
package/src/icon/Icon.tsx
DELETED
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import { defineComponent } from 'vue-demi';
|
|
2
|
-
import { IconProps, Icon as UI } from '@lumx/core/js/components/Icon';
|
|
3
|
-
|
|
4
|
-
export default defineComponent({
|
|
5
|
-
name: 'Icon',
|
|
6
|
-
components: {
|
|
7
|
-
UI,
|
|
8
|
-
},
|
|
9
|
-
props: {
|
|
10
|
-
color: {
|
|
11
|
-
type: String,
|
|
12
|
-
required: false,
|
|
13
|
-
},
|
|
14
|
-
colorVariant: {
|
|
15
|
-
type: String,
|
|
16
|
-
required: false,
|
|
17
|
-
},
|
|
18
|
-
hasShape: {
|
|
19
|
-
type: Boolean,
|
|
20
|
-
required: false,
|
|
21
|
-
},
|
|
22
|
-
icon: {
|
|
23
|
-
type: String,
|
|
24
|
-
required: true,
|
|
25
|
-
},
|
|
26
|
-
size: {
|
|
27
|
-
type: String,
|
|
28
|
-
required: false,
|
|
29
|
-
},
|
|
30
|
-
alt: {
|
|
31
|
-
type: String,
|
|
32
|
-
required: false,
|
|
33
|
-
},
|
|
34
|
-
theme: {
|
|
35
|
-
type: String,
|
|
36
|
-
required: false,
|
|
37
|
-
},
|
|
38
|
-
className: {
|
|
39
|
-
type: String,
|
|
40
|
-
required: false,
|
|
41
|
-
},
|
|
42
|
-
// GenericProps may include other props, but these are the main ones from IconProps
|
|
43
|
-
},
|
|
44
|
-
// setup function removed; props are accessible via this.props in render
|
|
45
|
-
render() {
|
|
46
|
-
return <UI {...this.props} />;
|
|
47
|
-
},
|
|
48
|
-
});
|
package/src/utils/index.ts
DELETED
|
File without changes
|