@lumx/vue 4.3.2-alpha.4 → 4.3.2-alpha.41
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/components/badge/Badge.d.ts +1 -1
- package/components/badge/BadgeWrapper.d.ts +1 -1
- package/components/button/Button.d.ts +1 -1
- package/components/button/ButtonGroup.d.ts +1 -1
- package/components/button/IconButton.d.ts +1 -1
- package/components/checkbox/Checkbox.d.ts +1 -1
- package/components/divider/Divider.d.ts +1 -1
- package/components/flag/Flag.d.ts +1 -1
- package/components/flex-box/FlexBox.d.ts +1 -1
- package/components/grid-column/GridColumn.d.ts +9 -0
- package/components/grid-column/GridColumn.stories.d.ts +42 -0
- package/components/grid-column/index.d.ts +3 -0
- package/components/heading/Heading.d.ts +1 -1
- package/components/icon/Icon.d.ts +1 -1
- package/components/input-helper/InputHelper.d.ts +1 -1
- package/components/input-label/InputLabel.d.ts +1 -1
- package/components/link/Link.d.ts +1 -1
- package/components/message/Message.d.ts +1 -1
- package/components/progress/ProgressCircular.d.ts +9 -0
- package/components/progress/ProgressCircular.stories.d.ts +22 -0
- package/components/progress/ProgressLinear.d.ts +8 -0
- package/components/progress/index.d.ts +6 -0
- package/components/radio-button/RadioButton.d.ts +1 -1
- package/components/skeleton/SkeletonCircle.d.ts +1 -1
- package/components/skeleton/SkeletonRectangle.d.ts +1 -1
- package/components/skeleton/SkeletonTypography.d.ts +1 -1
- package/components/switch/Switch.d.ts +1 -1
- package/components/table/Table.d.ts +1 -1
- package/components/table/TableBody.d.ts +1 -1
- package/components/table/TableCell.d.ts +2 -2
- package/components/table/TableHeader.d.ts +1 -1
- package/components/table/TableRow.d.ts +1 -1
- package/components/text/Text.d.ts +1 -1
- package/components/thumbnail/Thumbnail.d.ts +2 -2
- package/components/thumbnail/Thumbnail.stories.d.ts +17 -9
- package/components/toolbar/Toolbar.d.ts +8 -0
- package/components/toolbar/index.d.ts +3 -0
- package/composables/useHasEventListener.d.ts +7 -0
- package/index.d.ts +3 -0
- package/index.js +1893 -1610
- package/index.js.map +1 -1
- package/package.json +9 -3
- package/stories/decorators/withResizableBox.d.ts +2 -2
- package/utils/VueToJSX.d.ts +2 -1
package/package.json
CHANGED
|
@@ -20,11 +20,17 @@
|
|
|
20
20
|
"module": "index.js",
|
|
21
21
|
"main": "index.js",
|
|
22
22
|
"types": "index.d.ts",
|
|
23
|
+
"exports": {
|
|
24
|
+
".": {
|
|
25
|
+
"types": "./index.d.ts",
|
|
26
|
+
"default": "./index.js"
|
|
27
|
+
}
|
|
28
|
+
},
|
|
23
29
|
"sideEffects": false,
|
|
24
|
-
"version": "4.3.2-alpha.
|
|
30
|
+
"version": "4.3.2-alpha.41",
|
|
25
31
|
"dependencies": {
|
|
26
|
-
"@lumx/core": "^4.3.2-alpha.
|
|
27
|
-
"@lumx/icons": "^4.3.2-alpha.
|
|
32
|
+
"@lumx/core": "^4.3.2-alpha.41",
|
|
33
|
+
"@lumx/icons": "^4.3.2-alpha.41",
|
|
28
34
|
"@vueuse/core": "^14.1.0"
|
|
29
35
|
},
|
|
30
36
|
"peerDependencies": {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/** Storybook decorator wrapping story in a resizable box */
|
|
2
2
|
export declare const withResizableBox: ({ width, height, ...style }?: {
|
|
3
|
-
width?:
|
|
4
|
-
height?:
|
|
3
|
+
width?: string;
|
|
4
|
+
height?: string;
|
|
5
5
|
[key: string]: any;
|
|
6
6
|
}) => (story: any, context: any) => {
|
|
7
7
|
setup(): {
|
package/utils/VueToJSX.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { PropsToOverride } from '@lumx/core/js/types';
|
|
1
2
|
/**
|
|
2
3
|
* Props interface for components wrapped with VueToJSX.
|
|
3
4
|
* It omits JSX-specific props like `children` and `className` and adds Vue's `class`.
|
|
@@ -5,7 +6,7 @@
|
|
|
5
6
|
* @template Props - The base props type
|
|
6
7
|
* @template OmitProps - Additional props to omit beyond the defaults (children, className, ref)
|
|
7
8
|
*/
|
|
8
|
-
export type VueToJSXProps<Props, OmitProps extends keyof Props = never> = Omit<Props,
|
|
9
|
+
export type VueToJSXProps<Props, OmitProps extends keyof Props = never> = Omit<Props, PropsToOverride | 'children' | 'className' | OmitProps> & {
|
|
9
10
|
/** Class name forwarded to the root element of the component. */
|
|
10
11
|
class?: string;
|
|
11
12
|
};
|