@sellgar/kit 0.0.29 → 0.0.30
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/dist/index.css +1 -1
- package/dist/index.js +1822 -1760
- package/package.json +2 -6
- package/types/components/misc/index.d.ts +1 -0
- package/types/components/misc/menu-item/index.d.ts +1 -0
- package/types/components/misc/menu-item/menu-item.d.ts +10 -0
- package/types/components/symbols/badge/badge.d.ts +1 -1
- package/types/index.d.ts +1 -0
- package/types/subcomponents/index.d.ts +2 -0
- package/types/subcomponents/sidebar/index.d.ts +1 -0
- package/types/subcomponents/sidebar/sidebar.d.ts +18 -0
- package/types/subcomponents/user/index.d.ts +1 -0
- package/types/subcomponents/user/name/index.d.ts +1 -0
- package/types/subcomponents/user/name/name.d.ts +6 -0
- package/types/subcomponents/user/user.d.ts +8 -0
- package/dist/index.cjs +0 -29
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"type": "module",
|
|
3
3
|
"name": "@sellgar/kit",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.30",
|
|
5
5
|
"description": "Sellgar storybook",
|
|
6
6
|
"main": "./dist/index.cjs",
|
|
7
7
|
"module": "./dist/index.js",
|
|
@@ -20,10 +20,6 @@
|
|
|
20
20
|
"import": {
|
|
21
21
|
"types": "./types/index.d.ts",
|
|
22
22
|
"default": "./dist/index.js"
|
|
23
|
-
},
|
|
24
|
-
"require": {
|
|
25
|
-
"types": "./types/index.d.ts",
|
|
26
|
-
"default": "./dist/index.cjs"
|
|
27
23
|
}
|
|
28
24
|
},
|
|
29
25
|
"./font.css": "./dist/webfonts.css",
|
|
@@ -31,7 +27,7 @@
|
|
|
31
27
|
"./theme-viewport.css": "./dist/index3.css"
|
|
32
28
|
},
|
|
33
29
|
"scripts": {
|
|
34
|
-
"dev": "vite",
|
|
30
|
+
"dev": "vite build --watch",
|
|
35
31
|
"build": "vite build",
|
|
36
32
|
"login": "npm login",
|
|
37
33
|
"publish": "npm publish"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { MenuItem } from './menu-item.tsx';
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { TIconName } from '../../symbols';
|
|
3
|
+
interface IProps {
|
|
4
|
+
leadicon?: TIconName;
|
|
5
|
+
caption: string;
|
|
6
|
+
active?: boolean;
|
|
7
|
+
badge?: React.ReactElement;
|
|
8
|
+
}
|
|
9
|
+
export declare const MenuItem: React.FC<IProps>;
|
|
10
|
+
export {};
|
|
@@ -3,7 +3,7 @@ import { TIconName } from '../icon';
|
|
|
3
3
|
export interface IProps {
|
|
4
4
|
color?: 'gray' | 'blue' | 'green' | 'red' | 'orange' | 'purple' | 'white' | 'surface' | 'white-destructive' | 'surface-destructive';
|
|
5
5
|
state?: 'disabled';
|
|
6
|
-
size
|
|
6
|
+
size?: 'lg' | 'md' | 'sm' | 'xs';
|
|
7
7
|
shape?: 'rounded' | 'pill';
|
|
8
8
|
stroke?: boolean;
|
|
9
9
|
disabled?: boolean;
|
package/types/index.d.ts
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Sidebar } from './sidebar.tsx';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
declare const SidebarComponent: React.FC<React.PropsWithChildren>;
|
|
3
|
+
declare const Top: React.FC<React.PropsWithChildren>;
|
|
4
|
+
declare const Middle: React.FC<React.PropsWithChildren>;
|
|
5
|
+
declare const Bottom: React.FC<React.PropsWithChildren>;
|
|
6
|
+
declare const Cell: React.FC<React.PropsWithChildren>;
|
|
7
|
+
declare const Additional: React.FC<React.PropsWithChildren>;
|
|
8
|
+
declare const Divider: React.FC;
|
|
9
|
+
type TSidebar = typeof SidebarComponent & {
|
|
10
|
+
Top: typeof Top;
|
|
11
|
+
Middle: typeof Middle;
|
|
12
|
+
Bottom: typeof Bottom;
|
|
13
|
+
Divider: typeof Divider;
|
|
14
|
+
Cell: typeof Cell;
|
|
15
|
+
Additional: typeof Additional;
|
|
16
|
+
};
|
|
17
|
+
export declare const Sidebar: TSidebar;
|
|
18
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { User } from './user.tsx';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Name } from './name.tsx';
|