@kala-ui/react 0.0.1-beta.6 → 0.0.1-beta.7

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.
Files changed (47) hide show
  1. package/CHANGELOG.md +110 -110
  2. package/LICENSE +21 -21
  3. package/README.md +366 -366
  4. package/dist/components/container/container.d.ts +11 -0
  5. package/dist/components/container/container.js +29 -0
  6. package/dist/components/container/container.stories.d.ts +8 -0
  7. package/dist/components/container/container.stories.js +34 -0
  8. package/dist/components/container/index.d.ts +1 -0
  9. package/dist/components/container/index.js +1 -0
  10. package/dist/components/dnd/dnd.stories.js +35 -35
  11. package/dist/components/flex/flex.d.ts +16 -0
  12. package/dist/components/flex/flex.js +78 -0
  13. package/dist/components/flex/flex.stories.d.ts +8 -0
  14. package/dist/components/flex/flex.stories.js +51 -0
  15. package/dist/components/flex/index.d.ts +1 -0
  16. package/dist/components/flex/index.js +1 -0
  17. package/dist/components/group/group.d.ts +7 -0
  18. package/dist/components/group/group.js +9 -0
  19. package/dist/components/group/group.stories.d.ts +7 -0
  20. package/dist/components/group/group.stories.js +34 -0
  21. package/dist/components/group/index.d.ts +1 -0
  22. package/dist/components/group/index.js +1 -0
  23. package/dist/components/heading/heading.d.ts +12 -0
  24. package/dist/components/heading/heading.js +44 -0
  25. package/dist/components/heading/heading.stories.d.ts +9 -0
  26. package/dist/components/heading/heading.stories.js +45 -0
  27. package/dist/components/heading/index.d.ts +1 -0
  28. package/dist/components/heading/index.js +1 -0
  29. package/dist/components/resizable/resizable.stories.js +8 -8
  30. package/dist/components/scroll-area/scroll-area.stories.js +25 -25
  31. package/dist/components/stack/index.d.ts +1 -0
  32. package/dist/components/stack/index.js +1 -0
  33. package/dist/components/stack/stack.d.ts +7 -0
  34. package/dist/components/stack/stack.js +9 -0
  35. package/dist/components/stack/stack.stories.d.ts +8 -0
  36. package/dist/components/stack/stack.stories.js +44 -0
  37. package/dist/components/text/index.d.ts +1 -0
  38. package/dist/components/text/index.js +1 -0
  39. package/dist/components/text/text.d.ts +14 -0
  40. package/dist/components/text/text.js +66 -0
  41. package/dist/components/text/text.stories.d.ts +8 -0
  42. package/dist/components/text/text.stories.js +40 -0
  43. package/dist/index.d.ts +6 -0
  44. package/dist/index.js +6 -0
  45. package/dist/lib/animations.js +94 -94
  46. package/dist/styles/globals.css +171 -20
  47. package/package.json +446 -418
package/CHANGELOG.md CHANGED
@@ -1,110 +1,110 @@
1
- # Changelog
2
-
3
- All notable changes to this project will be documented in this file.
4
-
5
- The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
6
-
7
- ## [Unreleased]
8
-
9
- ### Added
10
- - **DataTable**: Server-side data fetching support with callbacks
11
- - `onSortChange` callback for server-side sorting
12
- - `onFilterChange` callback for server-side filtering
13
- - `pagination.onChange` callback for server-side pagination
14
- - `searchable.onChange` callback for server-side search
15
- - Pagination now respects `pagination.total` prop for accurate page counts
16
- - New Storybook example: "Server-Side Data Fetching"
17
- - Updated documentation with server-side examples
18
-
19
- ### 0.1.0 - 2025-01-06
20
-
21
- #### Added
22
- - Initial release of Kala UI React component library
23
- - 65+ accessible components built with Radix UI primitives
24
- - Tailwind CSS integration with design tokens
25
- - Full TypeScript support
26
- - Storybook documentation
27
- - Comprehensive test coverage
28
-
29
- #### Components
30
- - Accordion
31
- - Alert
32
- - Alert Dialog
33
- - Avatar
34
- - Badge
35
- - Banner
36
- - Button
37
- - Calendar
38
- - Command
39
- - Combobox
40
- - Charts
41
- - Checkbox
42
- - Date Picker
43
- - Dialog
44
- - Drawer
45
- - Dropdown Menu
46
- - Empty State
47
- - Field
48
- - File Upload
49
- - Footer
50
- - Header
51
- - Input
52
- - Input Group
53
- - Input OTP
54
- - Label
55
- - List
56
- - Navigation
57
- - DND
58
- - Menubar
59
- - Navigation Menu
60
- - Page Transition
61
- - Pagination
62
- - Steps
63
- - Slider
64
- - Toast
65
- - Popover
66
- - Progress
67
- - Radio Group
68
- - Resizable
69
- - Select
70
- - Separator
71
- - Scroll Area
72
- - Skeleton
73
- - Skeleton Fade
74
- - Skip to Content
75
- - Social Login Button
76
- - Social Login Buttons
77
- - Sparkline Chart
78
- - Spinner
79
- - Switch
80
- - Table
81
- - Table Skeleton
82
- - Data Table
83
- - Tabs
84
- - Tag Input
85
- - Textarea
86
- - Tooltip
87
- - Toggle
88
- - Password Strength Indicator
89
- - Card
90
- - Metric Card
91
- - Multi Select
92
- - Sidebar
93
- - Breadcrumbs
94
- - User Menu Dropdown
95
- - Session Card
96
- - Loading
97
- - Error Boundary
98
-
99
- #### Features
100
- - Accessibility-first design with Radix UI primitives
101
- - Dark mode support via CSS variables
102
- - Modular component architecture
103
- - Customizable via Tailwind CSS
104
- - Type-safe with TypeScript
105
- - Comprehensive testing with Vitest
106
-
107
- #### Documentation
108
- - Interactive Storybook stories
109
- - Component usage examples
110
- - Props documentation
1
+ # Changelog
2
+
3
+ All notable changes to this project will be documented in this file.
4
+
5
+ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
6
+
7
+ ## [Unreleased]
8
+
9
+ ### Added
10
+ - **DataTable**: Server-side data fetching support with callbacks
11
+ - `onSortChange` callback for server-side sorting
12
+ - `onFilterChange` callback for server-side filtering
13
+ - `pagination.onChange` callback for server-side pagination
14
+ - `searchable.onChange` callback for server-side search
15
+ - Pagination now respects `pagination.total` prop for accurate page counts
16
+ - New Storybook example: "Server-Side Data Fetching"
17
+ - Updated documentation with server-side examples
18
+
19
+ ### 0.1.0 - 2025-01-06
20
+
21
+ #### Added
22
+ - Initial release of Kala UI React component library
23
+ - 65+ accessible components built with Radix UI primitives
24
+ - Tailwind CSS integration with design tokens
25
+ - Full TypeScript support
26
+ - Storybook documentation
27
+ - Comprehensive test coverage
28
+
29
+ #### Components
30
+ - Accordion
31
+ - Alert
32
+ - Alert Dialog
33
+ - Avatar
34
+ - Badge
35
+ - Banner
36
+ - Button
37
+ - Calendar
38
+ - Command
39
+ - Combobox
40
+ - Charts
41
+ - Checkbox
42
+ - Date Picker
43
+ - Dialog
44
+ - Drawer
45
+ - Dropdown Menu
46
+ - Empty State
47
+ - Field
48
+ - File Upload
49
+ - Footer
50
+ - Header
51
+ - Input
52
+ - Input Group
53
+ - Input OTP
54
+ - Label
55
+ - List
56
+ - Navigation
57
+ - DND
58
+ - Menubar
59
+ - Navigation Menu
60
+ - Page Transition
61
+ - Pagination
62
+ - Steps
63
+ - Slider
64
+ - Toast
65
+ - Popover
66
+ - Progress
67
+ - Radio Group
68
+ - Resizable
69
+ - Select
70
+ - Separator
71
+ - Scroll Area
72
+ - Skeleton
73
+ - Skeleton Fade
74
+ - Skip to Content
75
+ - Social Login Button
76
+ - Social Login Buttons
77
+ - Sparkline Chart
78
+ - Spinner
79
+ - Switch
80
+ - Table
81
+ - Table Skeleton
82
+ - Data Table
83
+ - Tabs
84
+ - Tag Input
85
+ - Textarea
86
+ - Tooltip
87
+ - Toggle
88
+ - Password Strength Indicator
89
+ - Card
90
+ - Metric Card
91
+ - Multi Select
92
+ - Sidebar
93
+ - Breadcrumbs
94
+ - User Menu Dropdown
95
+ - Session Card
96
+ - Loading
97
+ - Error Boundary
98
+
99
+ #### Features
100
+ - Accessibility-first design with Radix UI primitives
101
+ - Dark mode support via CSS variables
102
+ - Modular component architecture
103
+ - Customizable via Tailwind CSS
104
+ - Type-safe with TypeScript
105
+ - Comprehensive testing with Vitest
106
+
107
+ #### Documentation
108
+ - Interactive Storybook stories
109
+ - Component usage examples
110
+ - Props documentation
package/LICENSE CHANGED
@@ -1,21 +1,21 @@
1
- MIT License
2
-
3
- Copyright (c) 2026 Kala UI
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Kala UI
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.