karsten-design-system 1.1.68 → 1.1.69
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.d.ts +40 -0
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/dist/{types/stories → stories}/components/multiselect.d.ts +1 -0
- package/dist/{types/stories → stories}/components/select.d.ts +1 -0
- package/dist/types/index.d.ts +4 -40
- package/package.json +5 -2
- package/dist/types/types/index.d.ts +0 -4
- /package/dist/{types/assets → assets}/icons/bell.d.ts +0 -0
- /package/dist/{types/assets → assets}/icons/cart.d.ts +0 -0
- /package/dist/{types/assets → assets}/icons/check.d.ts +0 -0
- /package/dist/{types/assets → assets}/icons/circleCheck.d.ts +0 -0
- /package/dist/{types/assets → assets}/icons/clock.d.ts +0 -0
- /package/dist/{types/assets → assets}/icons/close.d.ts +0 -0
- /package/dist/{types/assets → assets}/icons/dashboard.d.ts +0 -0
- /package/dist/{types/assets → assets}/icons/error.d.ts +0 -0
- /package/dist/{types/assets → assets}/icons/filter.d.ts +0 -0
- /package/dist/{types/assets → assets}/icons/grayInfo.d.ts +0 -0
- /package/dist/{types/assets → assets}/icons/home/account.d.ts +0 -0
- /package/dist/{types/assets → assets}/icons/home/accountsReceivable.d.ts +0 -0
- /package/dist/{types/assets → assets}/icons/home/box.d.ts +0 -0
- /package/dist/{types/assets → assets}/icons/home/circleWithDollarSign.d.ts +0 -0
- /package/dist/{types/assets → assets}/icons/home/computer.d.ts +0 -0
- /package/dist/{types/assets → assets}/icons/home/credit.d.ts +0 -0
- /package/dist/{types/assets → assets}/icons/home/payments.d.ts +0 -0
- /package/dist/{types/assets → assets}/icons/home/pieChart.d.ts +0 -0
- /package/dist/{types/assets → assets}/icons/home/profitability.d.ts +0 -0
- /package/dist/{types/assets → assets}/icons/home.d.ts +0 -0
- /package/dist/{types/assets → assets}/icons/info.d.ts +0 -0
- /package/dist/{types/assets → assets}/icons/menu.d.ts +0 -0
- /package/dist/{types/assets → assets}/icons/success.d.ts +0 -0
- /package/dist/{types/assets → assets}/icons/text.d.ts +0 -0
- /package/dist/{types/assets → assets}/icons/trash.d.ts +0 -0
- /package/dist/{types/assets → assets}/logo.d.ts +0 -0
- /package/dist/{types/assets → assets}/logoSmall.d.ts +0 -0
- /package/dist/{types/components → components}/floating-label/index.d.ts +0 -0
- /package/dist/{types/mock → mock}/internalMenu.d.ts +0 -0
- /package/dist/{types/mock → mock}/mockedComponente/mockedChart.d.ts +0 -0
- /package/dist/{types/mock → mock}/mockedComponente/mockedInternalMenu.d.ts +0 -0
- /package/dist/{types/mock → mock}/mockedComponente/notificationMocked.d.ts +0 -0
- /package/dist/{types/mock → mock}/mockedComponente/screenContainer.d.ts +0 -0
- /package/dist/{types/mock → mock}/notifications.d.ts +0 -0
- /package/dist/{types/mock → mock}/tableItems.d.ts +0 -0
- /package/dist/{types/stories → stories}/components/accordion.d.ts +0 -0
- /package/dist/{types/stories → stories}/components/autoComplete.d.ts +0 -0
- /package/dist/{types/stories → stories}/components/basicHeader.d.ts +0 -0
- /package/dist/{types/stories → stories}/components/breadcrumb.d.ts +0 -0
- /package/dist/{types/stories → stories}/components/button.d.ts +0 -0
- /package/dist/{types/stories → stories}/components/button.stories.d.ts +0 -0
- /package/dist/{types/stories → stories}/components/calendarInput.d.ts +0 -0
- /package/dist/{types/stories → stories}/components/card.d.ts +0 -0
- /package/dist/{types/stories → stories}/components/cardButton.d.ts +0 -0
- /package/dist/{types/stories → stories}/components/cardIconsButton.d.ts +0 -0
- /package/dist/{types/stories → stories}/components/chart.d.ts +0 -0
- /package/dist/{types/stories → stories}/components/dialog.d.ts +0 -0
- /package/dist/{types/stories → stories}/components/divider.d.ts +0 -0
- /package/dist/{types/stories → stories}/components/emptyContent.d.ts +0 -0
- /package/dist/{types/stories → stories}/components/expandablePanel.d.ts +0 -0
- /package/dist/{types/stories → stories}/components/fileUpload.d.ts +0 -0
- /package/dist/{types/stories → stories}/components/filterButton.d.ts +0 -0
- /package/dist/{types/stories → stories}/components/header.d.ts +0 -0
- /package/dist/{types/stories → stories}/components/iconButton.d.ts +0 -0
- /package/dist/{types/stories → stories}/components/iconButton.stories.d.ts +0 -0
- /package/dist/{types/stories → stories}/components/icons.d.ts +0 -0
- /package/dist/{types/stories → stories}/components/infoCard.d.ts +0 -0
- /package/dist/{types/stories → stories}/components/input.d.ts +0 -0
- /package/dist/{types/stories → stories}/components/inputSwitch.d.ts +0 -0
- /package/dist/{types/stories → stories}/components/inputTextArea.d.ts +0 -0
- /package/dist/{types/stories → stories}/components/internalMenu.d.ts +0 -0
- /package/dist/{types/stories → stories}/components/link.d.ts +0 -0
- /package/dist/{types/stories → stories}/components/megaMenu.d.ts +0 -0
- /package/dist/{types/stories → stories}/components/modal.d.ts +0 -0
- /package/dist/{types/stories → stories}/components/notification.d.ts +0 -0
- /package/dist/{types/stories → stories}/components/notificationItem.d.ts +0 -0
- /package/dist/{types/stories → stories}/components/paginator.d.ts +0 -0
- /package/dist/{types/stories → stories}/components/radioButton.d.ts +0 -0
- /package/dist/{types/stories → stories}/components/sidebar.d.ts +0 -0
- /package/dist/{types/stories → stories}/components/skeleton.d.ts +0 -0
- /package/dist/{types/stories → stories}/components/spinner.d.ts +0 -0
- /package/dist/{types/stories → stories}/components/spinner.stories.d.ts +0 -0
- /package/dist/{types/stories → stories}/components/table.d.ts +0 -0
- /package/dist/{types/stories → stories}/components/tabs.d.ts +0 -0
- /package/dist/{types/stories → stories}/components/tagStatus.d.ts +0 -0
- /package/dist/{types/stories → stories}/components/toast.d.ts +0 -0
- /package/dist/{types/stories → stories}/components/tooltip.d.ts +0 -0
- /package/dist/types/{types/breadcrumbItems.d.ts → breadcrumbItems.d.ts} +0 -0
- /package/dist/types/{types/internalMenu.d.ts → internalMenu.d.ts} +0 -0
- /package/dist/types/{types/megaMenuItems.d.ts → megaMenuItems.d.ts} +0 -0
- /package/dist/types/{types/notification.d.ts → notification.d.ts} +0 -0
- /package/dist/types/{types/options.d.ts → options.d.ts} +0 -0
- /package/dist/types/{types/table.d.ts → table.d.ts} +0 -0
- /package/dist/{types/utils → utils}/masks/index.d.ts +0 -0
- /package/dist/{types/utils → utils}/nestedValue.d.ts +0 -0
- /package/dist/{types/utils → utils}/sortData.d.ts +0 -0
|
@@ -10,5 +10,6 @@ export type MultiSelectProps = {
|
|
|
10
10
|
onChange: (option: Option[] | null) => void;
|
|
11
11
|
isReadOnly?: boolean;
|
|
12
12
|
ariaLabel?: string;
|
|
13
|
+
onInputChange?: (input: string) => void;
|
|
13
14
|
};
|
|
14
15
|
export declare function MultiSelect(props: MultiSelectProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -10,5 +10,6 @@ export type SingleSelectProps = {
|
|
|
10
10
|
onChange: (option: Option | null) => void;
|
|
11
11
|
isReadOnly?: boolean;
|
|
12
12
|
ariaLabel?: string;
|
|
13
|
+
onInputChange?: (input: string) => void;
|
|
13
14
|
};
|
|
14
15
|
export declare function Select(props: SingleSelectProps): import("react/jsx-runtime").JSX.Element;
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,40 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
export
|
|
3
|
-
export
|
|
4
|
-
export
|
|
5
|
-
export * from './stories/components/breadcrumb';
|
|
6
|
-
export * from './stories/components/button';
|
|
7
|
-
export * from './stories/components/calendarInput';
|
|
8
|
-
export * from './stories/components/card';
|
|
9
|
-
export * from './stories/components/cardButton';
|
|
10
|
-
export * from './stories/components/cardIconsButton';
|
|
11
|
-
export * from './stories/components/chart';
|
|
12
|
-
export * from './stories/components/dialog';
|
|
13
|
-
export * from './stories/components/divider';
|
|
14
|
-
export * from './stories/components/emptyContent';
|
|
15
|
-
export * from './stories/components/expandablePanel';
|
|
16
|
-
export * from './stories/components/fileUpload';
|
|
17
|
-
export * from './stories/components/filterButton';
|
|
18
|
-
export * from './stories/components/header';
|
|
19
|
-
export * from './stories/components/iconButton';
|
|
20
|
-
export * from './stories/components/infoCard';
|
|
21
|
-
export * from './stories/components/input';
|
|
22
|
-
export * from './stories/components/inputSwitch';
|
|
23
|
-
export * from './stories/components/inputTextArea';
|
|
24
|
-
export * from './stories/components/internalMenu';
|
|
25
|
-
export * from './stories/components/link';
|
|
26
|
-
export * from './stories/components/megaMenu';
|
|
27
|
-
export * from './stories/components/modal';
|
|
28
|
-
export * from './stories/components/multiselect';
|
|
29
|
-
export * from './stories/components/notification';
|
|
30
|
-
export * from './stories/components/paginator';
|
|
31
|
-
export * from './stories/components/radioButton';
|
|
32
|
-
export * from './stories/components/select';
|
|
33
|
-
export * from './stories/components/sidebar';
|
|
34
|
-
export * from './stories/components/skeleton';
|
|
35
|
-
export * from './stories/components/spinner';
|
|
36
|
-
export * from './stories/components/table';
|
|
37
|
-
export * from './stories/components/tabs';
|
|
38
|
-
export * from './stories/components/tagStatus';
|
|
39
|
-
export * from './stories/components/toast';
|
|
40
|
-
export * from './stories/components/tooltip';
|
|
1
|
+
export type { Option } from './options';
|
|
2
|
+
export type { BreadcrumpItems } from './breadcrumbItems';
|
|
3
|
+
export type { MegaMenuItems } from './megaMenuItems';
|
|
4
|
+
export type { TableData, ColumnStyle, anyType, SortDirection } from './table';
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "karsten-design-system",
|
|
3
3
|
"description": "Karsten Design System Components",
|
|
4
|
-
"version": "1.1.
|
|
4
|
+
"version": "1.1.69",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
7
7
|
"module": "./dist/index.js",
|
|
@@ -16,6 +16,9 @@
|
|
|
16
16
|
}
|
|
17
17
|
},
|
|
18
18
|
"scripts": {
|
|
19
|
+
"build:types": "tsc --emitDeclarationOnly --project tsconfig.app.json",
|
|
20
|
+
"build:rollup": "rollup -c",
|
|
21
|
+
"build": "npm run build:types && npm run build:rollup",
|
|
19
22
|
"dev": "vite",
|
|
20
23
|
"build-vite": "tsc -b && vite build",
|
|
21
24
|
"lint": "eslint .",
|
|
@@ -23,7 +26,6 @@
|
|
|
23
26
|
"preview": "vite preview",
|
|
24
27
|
"storybook": "storybook dev -p 6006",
|
|
25
28
|
"build-storybook": "storybook build",
|
|
26
|
-
"build": "rollup -c",
|
|
27
29
|
"prepare": "npm run build"
|
|
28
30
|
},
|
|
29
31
|
"publishConfig": {
|
|
@@ -78,6 +80,7 @@
|
|
|
78
80
|
"rollup": "^4.32.1",
|
|
79
81
|
"rollup-plugin-peer-deps-external": "^2.2.4",
|
|
80
82
|
"rollup-plugin-postcss": "^4.0.2",
|
|
83
|
+
"rollup-plugin-typescript2": "^0.36.0",
|
|
81
84
|
"storybook": "^8.4.7",
|
|
82
85
|
"tailwindcss": "^3.4.17",
|
|
83
86
|
"typescript": "~5.6.2",
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|