@konstructio/ui 0.1.2-alpha.26 → 0.1.2-alpha.28
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/DatePicker.css +1 -1
- package/dist/components/Card/Card.variants.js +5 -9
- package/dist/components/Datepicker/DatePicker.js +1257 -1197
- package/dist/components/RadioCard/RadioCard.variants.js +1 -6
- package/dist/index.d.ts +3 -0
- package/dist/index.js +108 -106
- package/dist/package.json +9 -9
- package/package.json +9 -9
package/dist/index.d.ts
CHANGED
|
@@ -3,6 +3,7 @@ import { ButtonHTMLAttributes } from 'react';
|
|
|
3
3
|
import { CellContext } from '@tanstack/react-table';
|
|
4
4
|
import { CheckboxProps as CheckboxProps_2 } from '@radix-ui/react-checkbox';
|
|
5
5
|
import { ClassProp } from 'class-variance-authority/types';
|
|
6
|
+
import { ClassValue } from 'clsx';
|
|
6
7
|
import { ColumnDef as ColumnDef_2 } from '@tanstack/react-table';
|
|
7
8
|
import { ComponentRef } from 'react';
|
|
8
9
|
import { Context } from 'react';
|
|
@@ -183,6 +184,8 @@ declare const checkboxVariants: (props?: ({
|
|
|
183
184
|
checked?: boolean | null | undefined;
|
|
184
185
|
} & ClassProp) | undefined) => string;
|
|
185
186
|
|
|
187
|
+
export declare const cn: (...inputs: ClassValue[]) => string;
|
|
188
|
+
|
|
186
189
|
export declare type ColumnDef<TData extends RowData> = ColumnDef_2<TData, string>;
|
|
187
190
|
|
|
188
191
|
export declare const Content: FC<TabsContentProps>;
|
package/dist/index.js
CHANGED
|
@@ -1,108 +1,110 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
34
|
-
import {
|
|
35
|
-
import {
|
|
36
|
-
import {
|
|
37
|
-
import {
|
|
38
|
-
import {
|
|
39
|
-
import {
|
|
40
|
-
import {
|
|
41
|
-
import {
|
|
42
|
-
import {
|
|
43
|
-
import {
|
|
44
|
-
import {
|
|
45
|
-
import {
|
|
46
|
-
import {
|
|
47
|
-
import {
|
|
48
|
-
import {
|
|
49
|
-
import {
|
|
50
|
-
import {
|
|
51
|
-
import {
|
|
52
|
-
import {
|
|
53
|
-
import {
|
|
1
|
+
import { cn as e } from "./utils/index.js";
|
|
2
|
+
import { Alert as p } from "./components/Alert/Alert.js";
|
|
3
|
+
import { AlertDialog as x } from "./components/AlertDialog/AlertDialog.js";
|
|
4
|
+
import { Autocomplete as a } from "./components/Autocomplete/Autocomplete.js";
|
|
5
|
+
import { Badge as d } from "./components/Badge/Badge.js";
|
|
6
|
+
import { Breadcrumb as g } from "./components/Breadcrumb/Breadcrumb.js";
|
|
7
|
+
import { Button as l } from "./components/Button/Button.js";
|
|
8
|
+
import { Card as c } from "./components/Card/Card.js";
|
|
9
|
+
import { Checkbox as b } from "./components/Checkbox/Checkbox.js";
|
|
10
|
+
import { DatePicker as C } from "./components/Datepicker/DatePicker.js";
|
|
11
|
+
import { Divider as v } from "./components/Divider/Divider.js";
|
|
12
|
+
import { Dropdown as S } from "./components/Dropdown/Dropdown.js";
|
|
13
|
+
import { DropdownButton as P } from "./components/DropdownButton/DropdownButton.js";
|
|
14
|
+
import { Filter as w } from "./components/Filter/Filter.js";
|
|
15
|
+
import { BadgeMultiSelect as k } from "./components/Filter/components/BadgeDropdown/BadgeMultiSelect.js";
|
|
16
|
+
import { DateFilterDropdown as G } from "./components/Filter/components/DateFilterDropdown/DateFilterDropdown.js";
|
|
17
|
+
import { Input as M } from "./components/Input/Input.js";
|
|
18
|
+
import { Loading as I } from "./components/Loading/Loading.js";
|
|
19
|
+
import { M as O } from "./Modal-Dpk-1N9W.js";
|
|
20
|
+
import { NumberInput as j } from "./components/NumberInput/NumberInput.js";
|
|
21
|
+
import { PieChart as E } from "./components/PieChart/PieChart.js";
|
|
22
|
+
import { ProgressBar as J } from "./components/ProgressBar/ProgressBar.js";
|
|
23
|
+
import { Radio as Q } from "./components/Radio/Radio.js";
|
|
24
|
+
import { RadioCard as W } from "./components/RadioCard/RadioCard.js";
|
|
25
|
+
import { RadioCardGroup as Y } from "./components/RadioCardGroup/RadioCardGroup.js";
|
|
26
|
+
import { RadioGroup as _ } from "./components/RadioGroup/RadioGroup.js";
|
|
27
|
+
import { Range as oo } from "./components/Range/Range.js";
|
|
28
|
+
import { Footer as eo } from "./components/Sidebar/components/Footer/Footer.js";
|
|
29
|
+
import { Logo as po } from "./components/Sidebar/components/Logo/Logo.js";
|
|
30
|
+
import { Navigation as xo } from "./components/Sidebar/components/Navigation/Navigation.js";
|
|
31
|
+
import { NavigationGroup as ao } from "./components/Sidebar/components/NavigationGroup/NavigationGroup.js";
|
|
32
|
+
import { NavigationOption as no } from "./components/Sidebar/components/NavigationOption/NavigationOption.js";
|
|
33
|
+
import { NavigationSeparator as To } from "./components/Sidebar/components/NavigationSeparator/NavigationSeparator.js";
|
|
34
|
+
import { Sidebar as uo } from "./components/Sidebar/Sidebar.js";
|
|
35
|
+
import { Slider as so } from "./components/Slider/Slider.js";
|
|
36
|
+
import { Switch as ho } from "./components/Switch/Switch.js";
|
|
37
|
+
import { Table as Do } from "./components/Table/Table.js";
|
|
38
|
+
import { Content as Bo } from "./components/Tabs/components/Content.js";
|
|
39
|
+
import { List as No } from "./components/Tabs/components/List.js";
|
|
40
|
+
import { Tabs as Ro } from "./components/Tabs/Tabs.js";
|
|
41
|
+
import { Trigger as Ao } from "./components/Tabs/components/Trigger.js";
|
|
42
|
+
import { Tag as Fo } from "./components/Tag/Tag.js";
|
|
43
|
+
import { TagSelect as Lo } from "./components/TagSelect/TagSelect.js";
|
|
44
|
+
import { TextArea as yo } from "./components/TextArea/TextArea.js";
|
|
45
|
+
import { TimePicker as zo } from "./components/TimePicker/TimePicker.js";
|
|
46
|
+
import { Toast as Vo } from "./components/Toast/Toast.js";
|
|
47
|
+
import { Tooltip as qo } from "./components/Tooltip/Tooltip.js";
|
|
48
|
+
import { Typography as Ho } from "./components/Typography/Typography.js";
|
|
49
|
+
import { TruncateText as Ko } from "./components/VirtualizedTable/components/TruncateText/TruncateText.js";
|
|
50
|
+
import { VirtualizedTable as Uo } from "./components/VirtualizedTable/VirtualizedTable.js";
|
|
51
|
+
import { ThemeContext as Xo } from "./contexts/theme.context.js";
|
|
52
|
+
import { useTheme as Zo } from "./contexts/theme.hook.js";
|
|
53
|
+
import { ThemeProvider as $o } from "./contexts/theme.provider.js";
|
|
54
|
+
import { useToggle as rr } from "./hooks/useToggle.js";
|
|
54
55
|
export {
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
56
|
+
p as Alert,
|
|
57
|
+
x as AlertDialog,
|
|
58
|
+
a as Autocomplete,
|
|
59
|
+
d as Badge,
|
|
60
|
+
k as BadgeMultiSelect,
|
|
61
|
+
g as Breadcrumb,
|
|
62
|
+
l as Button,
|
|
63
|
+
c as Card,
|
|
64
|
+
b as Checkbox,
|
|
65
|
+
Bo as Content,
|
|
66
|
+
G as DateFilterDropdown,
|
|
67
|
+
C as DatePicker,
|
|
68
|
+
v as Divider,
|
|
69
|
+
S as Dropdown,
|
|
70
|
+
P as DropdownButton,
|
|
71
|
+
w as Filter,
|
|
72
|
+
eo as Footer,
|
|
73
|
+
M as Input,
|
|
74
|
+
No as List,
|
|
75
|
+
I as Loading,
|
|
76
|
+
po as Logo,
|
|
77
|
+
O as Modal,
|
|
78
|
+
xo as Navigation,
|
|
79
|
+
ao as NavigationGroup,
|
|
80
|
+
no as NavigationOption,
|
|
81
|
+
To as NavigationSeparator,
|
|
82
|
+
j as NumberInput,
|
|
83
|
+
E as PieChart,
|
|
84
|
+
J as ProgressBar,
|
|
85
|
+
Q as Radio,
|
|
86
|
+
W as RadioCard,
|
|
87
|
+
Y as RadioCardGroup,
|
|
88
|
+
_ as RadioGroup,
|
|
89
|
+
oo as Range,
|
|
90
|
+
uo as Sidebar,
|
|
91
|
+
so as Slider,
|
|
92
|
+
ho as Switch,
|
|
93
|
+
Do as Table,
|
|
94
|
+
Ro as Tabs,
|
|
95
|
+
Fo as Tag,
|
|
96
|
+
Lo as TagSelect,
|
|
97
|
+
yo as TextArea,
|
|
98
|
+
Xo as ThemeContext,
|
|
99
|
+
$o as ThemeProvider,
|
|
100
|
+
zo as TimePicker,
|
|
101
|
+
Vo as Toast,
|
|
102
|
+
qo as Tooltip,
|
|
103
|
+
Ao as Trigger,
|
|
104
|
+
Ko as TruncateText,
|
|
105
|
+
Ho as Typography,
|
|
106
|
+
Uo as VirtualizedTable,
|
|
107
|
+
e as cn,
|
|
108
|
+
Zo as useTheme,
|
|
109
|
+
rr as useToggle
|
|
108
110
|
};
|
package/dist/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@konstructio/ui",
|
|
3
3
|
"description": "A set of reusable and customizable React components built for konstruct.io",
|
|
4
4
|
"private": false,
|
|
5
|
-
"version": "0.1.2-alpha.
|
|
5
|
+
"version": "0.1.2-alpha.27",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"license": "MIT",
|
|
8
8
|
"main": "dist/index.js",
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
"js-cookie": "^3.0.5",
|
|
75
75
|
"lucide-react": "^0.554.0",
|
|
76
76
|
"react-chartjs-2": "^5.3.1",
|
|
77
|
-
"react-day-picker": "^9.11.
|
|
77
|
+
"react-day-picker": "^9.11.2",
|
|
78
78
|
"react-feather": "^2.0.10",
|
|
79
79
|
"react-focus-lock": "^2.13.6",
|
|
80
80
|
"react-remove-scroll": "^2.7.1",
|
|
@@ -125,11 +125,11 @@
|
|
|
125
125
|
"@testing-library/user-event": "^14.6.1",
|
|
126
126
|
"@types/jest-axe": "^3.5.9",
|
|
127
127
|
"@types/js-cookie": "^3.0.6",
|
|
128
|
-
"@types/lodash": "^4.17.
|
|
129
|
-
"@types/react": "^19.2.
|
|
128
|
+
"@types/lodash": "^4.17.21",
|
|
129
|
+
"@types/react": "^19.2.7",
|
|
130
130
|
"@types/react-dom": "^19.2.3",
|
|
131
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
132
|
-
"@typescript-eslint/parser": "^8.
|
|
131
|
+
"@typescript-eslint/eslint-plugin": "^8.48.0",
|
|
132
|
+
"@typescript-eslint/parser": "^8.48.0",
|
|
133
133
|
"@vitejs/plugin-react": "^5.1.1",
|
|
134
134
|
"@vitest/coverage-v8": "^3.2.4",
|
|
135
135
|
"autoprefixer": "^10.4.22",
|
|
@@ -139,19 +139,19 @@
|
|
|
139
139
|
"eslint-plugin-react-refresh": "^0.4.23",
|
|
140
140
|
"eslint-plugin-storybook": "^9.1.13",
|
|
141
141
|
"eslint-plugin-vitest": "^0.5.4",
|
|
142
|
-
"glob": "^
|
|
142
|
+
"glob": "^13.0.0",
|
|
143
143
|
"husky": "^9.1.7",
|
|
144
144
|
"jest-axe": "^10.0.0",
|
|
145
145
|
"jsdom": "^27.2.0",
|
|
146
146
|
"lodash": "^4.17.21",
|
|
147
147
|
"postcss": "^8.5.6",
|
|
148
148
|
"prettier": "^3.6.2",
|
|
149
|
-
"rimraf": "^6.1.
|
|
149
|
+
"rimraf": "^6.1.2",
|
|
150
150
|
"storybook": "^10.0.8",
|
|
151
151
|
"tailwindcss": "^4.1.17",
|
|
152
152
|
"ts-node": "^10.9.2",
|
|
153
153
|
"typescript": "^5.9.3",
|
|
154
|
-
"vite": "^7.2.
|
|
154
|
+
"vite": "^7.2.4",
|
|
155
155
|
"vite-plugin-dts": "^4.5.4",
|
|
156
156
|
"vite-plugin-lib-inject-css": "^2.2.2",
|
|
157
157
|
"vite-plugin-svgr": "^4.5.0",
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@konstructio/ui",
|
|
3
3
|
"description": "A set of reusable and customizable React components built for konstruct.io",
|
|
4
4
|
"private": false,
|
|
5
|
-
"version": "0.1.2-alpha.
|
|
5
|
+
"version": "0.1.2-alpha.28",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"license": "MIT",
|
|
8
8
|
"main": "dist/index.js",
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
"js-cookie": "^3.0.5",
|
|
75
75
|
"lucide-react": "^0.554.0",
|
|
76
76
|
"react-chartjs-2": "^5.3.1",
|
|
77
|
-
"react-day-picker": "^9.11.
|
|
77
|
+
"react-day-picker": "^9.11.2",
|
|
78
78
|
"react-feather": "^2.0.10",
|
|
79
79
|
"react-focus-lock": "^2.13.6",
|
|
80
80
|
"react-remove-scroll": "^2.7.1",
|
|
@@ -125,11 +125,11 @@
|
|
|
125
125
|
"@testing-library/user-event": "^14.6.1",
|
|
126
126
|
"@types/jest-axe": "^3.5.9",
|
|
127
127
|
"@types/js-cookie": "^3.0.6",
|
|
128
|
-
"@types/lodash": "^4.17.
|
|
129
|
-
"@types/react": "^19.2.
|
|
128
|
+
"@types/lodash": "^4.17.21",
|
|
129
|
+
"@types/react": "^19.2.7",
|
|
130
130
|
"@types/react-dom": "^19.2.3",
|
|
131
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
132
|
-
"@typescript-eslint/parser": "^8.
|
|
131
|
+
"@typescript-eslint/eslint-plugin": "^8.48.0",
|
|
132
|
+
"@typescript-eslint/parser": "^8.48.0",
|
|
133
133
|
"@vitejs/plugin-react": "^5.1.1",
|
|
134
134
|
"@vitest/coverage-v8": "^3.2.4",
|
|
135
135
|
"autoprefixer": "^10.4.22",
|
|
@@ -139,19 +139,19 @@
|
|
|
139
139
|
"eslint-plugin-react-refresh": "^0.4.23",
|
|
140
140
|
"eslint-plugin-storybook": "^9.1.13",
|
|
141
141
|
"eslint-plugin-vitest": "^0.5.4",
|
|
142
|
-
"glob": "^
|
|
142
|
+
"glob": "^13.0.0",
|
|
143
143
|
"husky": "^9.1.7",
|
|
144
144
|
"jest-axe": "^10.0.0",
|
|
145
145
|
"jsdom": "^27.2.0",
|
|
146
146
|
"lodash": "^4.17.21",
|
|
147
147
|
"postcss": "^8.5.6",
|
|
148
148
|
"prettier": "^3.6.2",
|
|
149
|
-
"rimraf": "^6.1.
|
|
149
|
+
"rimraf": "^6.1.2",
|
|
150
150
|
"storybook": "^10.0.8",
|
|
151
151
|
"tailwindcss": "^4.1.17",
|
|
152
152
|
"ts-node": "^10.9.2",
|
|
153
153
|
"typescript": "^5.9.3",
|
|
154
|
-
"vite": "^7.2.
|
|
154
|
+
"vite": "^7.2.4",
|
|
155
155
|
"vite-plugin-dts": "^4.5.4",
|
|
156
156
|
"vite-plugin-lib-inject-css": "^2.2.2",
|
|
157
157
|
"vite-plugin-svgr": "^4.5.0",
|