@xqmsg/ui-core 0.21.6 → 0.22.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/dist/components/card/Card.stories.d.ts +5 -0
- package/dist/components/card/index.d.ts +11 -0
- package/dist/components/form/section/index.d.ts +0 -1
- package/dist/components/icons/dropdown/index.d.ts +1 -0
- package/dist/components/icons/folder/fill/index.d.ts +1 -0
- package/dist/components/icons/index.d.ts +5 -1
- package/dist/components/icons/task/index.d.ts +6 -0
- package/dist/components/table/index.d.ts +0 -1
- package/dist/index.d.ts +1 -0
- package/dist/theme/foundations/breakpoints.d.ts +1 -1
- package/dist/theme/foundations/colors.d.ts +2 -0
- package/dist/ui-core.cjs.development.js +386 -194
- package/dist/ui-core.cjs.development.js.map +1 -1
- package/dist/ui-core.cjs.production.min.js +1 -1
- package/dist/ui-core.cjs.production.min.js.map +1 -1
- package/dist/ui-core.esm.js +386 -196
- package/dist/ui-core.esm.js.map +1 -1
- package/package.json +28 -27
- package/src/components/card/Card.stories.tsx +56 -0
- package/src/components/card/index.tsx +78 -0
- package/src/components/icons/dropdown/dropdown.svg +1 -1
- package/src/components/icons/dropdown/index.tsx +5 -2
- package/src/components/icons/folder/fill/folder-fill-gradient.svg +34 -0
- package/src/components/icons/folder/fill/index.tsx +9 -1
- package/src/components/icons/index.tsx +5 -0
- package/src/components/icons/task/index.tsx +10 -0
- package/src/components/icons/task/task.svg +11 -0
- package/src/components/input/StackedMultiSelect/index.tsx +2 -2
- package/src/components/input/StackedPilledInput/index.tsx +31 -29
- package/src/components/input/StackedSelect/index.tsx +1 -1
- package/src/index.tsx +3 -0
- package/src/theme/components/input.ts +1 -1
- package/src/theme/foundations/colors.ts +2 -1
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React, { ReactNode } from 'react';
|
|
2
|
+
export interface CardProps {
|
|
3
|
+
title: string | ReactNode;
|
|
4
|
+
leftIcon?: JSX.Element;
|
|
5
|
+
children: ReactNode | null;
|
|
6
|
+
height?: string | number;
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* A functional React component utilized to render the `Card` component
|
|
10
|
+
*/
|
|
11
|
+
export declare const Card: React.FC<CardProps>;
|
|
@@ -34,4 +34,8 @@ import { Question } from './question';
|
|
|
34
34
|
import { Video } from './video';
|
|
35
35
|
import { Page } from './page';
|
|
36
36
|
import { Workspace } from './workspace';
|
|
37
|
-
|
|
37
|
+
import { Task } from './task';
|
|
38
|
+
export interface IconProps {
|
|
39
|
+
boxSize: string;
|
|
40
|
+
}
|
|
41
|
+
export { Checkmark, ChevronDown, ChevronRight, Clock, Close, Dropdown, Error, FileFill, FileOutline, FolderFill, FolderOutline, FolderAddFill, FolderAddOutline, Google, GoogleDrive, Group, Home, Image, Link, Menu, Microsoft, MicrosoftOneDrive, Neutral, Page, Positive, Question, Search, Services, Settings, TableFill, TableOutline, Trash, Vault, Video, Warning, Workspace, Task, };
|
package/dist/index.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ export * from './components/modal/components/action';
|
|
|
2
2
|
export * from './components/banner';
|
|
3
3
|
export * from './components/breadcrumbs';
|
|
4
4
|
export * from './components/button';
|
|
5
|
+
export * from './components/card';
|
|
5
6
|
export * from './components/button/google';
|
|
6
7
|
export * from './components/button/microsoft';
|
|
7
8
|
export * from './components/button/spinner';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { BaseBreakpointConfig } from '@chakra-ui/theme-tools';
|
|
2
|
-
declare const breakpoints: import("@chakra-ui/theme-tools").Breakpoints<BaseBreakpointConfig>;
|
|
2
|
+
declare const breakpoints: import("@chakra-ui/theme-tools/dist/create-breakpoints").Breakpoints<BaseBreakpointConfig>;
|
|
3
3
|
export default breakpoints;
|
|
@@ -38,6 +38,7 @@ export declare const colors: {
|
|
|
38
38
|
border: {
|
|
39
39
|
focus: string;
|
|
40
40
|
default: string;
|
|
41
|
+
light: string;
|
|
41
42
|
};
|
|
42
43
|
fill: {
|
|
43
44
|
light: {
|
|
@@ -135,6 +136,7 @@ declare const _default: {
|
|
|
135
136
|
border: {
|
|
136
137
|
focus: string;
|
|
137
138
|
default: string;
|
|
139
|
+
light: string;
|
|
138
140
|
};
|
|
139
141
|
fill: {
|
|
140
142
|
light: {
|