@daxence/flexy-date-picker 1.0.0 → 1.0.2

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 (39) hide show
  1. package/dist/features/date-picker/components/calendar/calendar.d.ts +7 -0
  2. package/dist/features/date-picker/components/calendar/index.d.ts +1 -0
  3. package/dist/features/date-picker/components/calendar-day/calendar-day.d.ts +7 -0
  4. package/dist/features/date-picker/components/calendar-day/index.d.ts +1 -0
  5. package/dist/features/date-picker/components/calendar-header/calendar-header.d.ts +7 -0
  6. package/dist/features/date-picker/components/calendar-header/index.d.ts +1 -0
  7. package/dist/features/date-picker/components/calendar-legend/calendar-legend.d.ts +11 -0
  8. package/dist/features/date-picker/components/calendar-legend/calendar-legend.stories.d.ts +17 -0
  9. package/dist/features/date-picker/components/calendar-legend/index.d.ts +2 -0
  10. package/dist/features/date-picker/components/date-input/date-input.d.ts +20 -0
  11. package/dist/features/date-picker/components/date-input/index.d.ts +1 -0
  12. package/dist/features/date-picker/components/date-picker/date-picker.d.ts +2 -0
  13. package/dist/features/date-picker/components/date-picker/date-picker.stories.d.ts +525 -0
  14. package/dist/features/date-picker/components/date-picker/index.d.ts +1 -0
  15. package/dist/features/date-picker/components/tooltip/index.d.ts +1 -0
  16. package/dist/features/date-picker/components/tooltip/tooltip.d.ts +15 -0
  17. package/dist/features/date-picker/context/date-picker-context.d.ts +30 -0
  18. package/dist/features/date-picker/context/index.d.ts +2 -0
  19. package/dist/features/date-picker/index.d.ts +10 -0
  20. package/dist/features/date-picker/styles/theme-vars.d.ts +3 -0
  21. package/dist/features/date-picker/types/date-picker.types.d.ts +355 -0
  22. package/dist/features/date-picker/types/index.d.ts +1 -0
  23. package/dist/features/date-picker/utils/date-utils.d.ts +37 -0
  24. package/dist/features/date-picker/utils/index.d.ts +1 -0
  25. package/dist/features/time-picker/components/time-picker/index.d.ts +2 -0
  26. package/dist/features/time-picker/components/time-picker/time-picker.d.ts +61 -0
  27. package/dist/features/time-picker/components/time-picker/time-picker.stories.d.ts +62 -0
  28. package/dist/features/time-picker/components/time-slot-list/index.d.ts +2 -0
  29. package/dist/features/time-picker/components/time-slot-list/time-slot-list.d.ts +16 -0
  30. package/dist/features/time-picker/index.d.ts +4 -0
  31. package/dist/flexy-date-picker.js +1518 -1541
  32. package/dist/flexy-date-picker.js.map +1 -1
  33. package/dist/flexy-date-picker.umd.cjs +2 -2
  34. package/dist/flexy-date-picker.umd.cjs.map +1 -1
  35. package/dist/index.d.ts +2 -0
  36. package/dist/shared/utils/cx.d.ts +2 -0
  37. package/dist/styles.d.ts +1 -0
  38. package/package.json +11 -10
  39. package/dist/types/index.d.ts +0 -2
@@ -0,0 +1,2 @@
1
+ export * from './features/date-picker';
2
+ export * from './features/time-picker';
@@ -0,0 +1,2 @@
1
+ /** Merge class names, filtering out falsy values */
2
+ export declare function cx(...classes: (string | undefined | null | false)[]): string;
@@ -0,0 +1 @@
1
+ export {};
package/package.json CHANGED
@@ -1,18 +1,21 @@
1
1
  {
2
2
  "name": "@daxence/flexy-date-picker",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "description": "A fully customizable React date picker with single & range selection, injectable CSS theming, tooltips, and full event support.",
5
5
  "type": "module",
6
6
  "main": "./dist/flexy-date-picker.umd.cjs",
7
7
  "module": "./dist/flexy-date-picker.js",
8
- "types": "./dist/types/index.d.ts",
8
+ "types": "./dist/index.d.ts",
9
9
  "exports": {
10
10
  ".": {
11
11
  "import": "./dist/flexy-date-picker.js",
12
12
  "require": "./dist/flexy-date-picker.umd.cjs",
13
- "types": "./dist/types/index.d.ts"
13
+ "types": "./dist/index.d.ts"
14
14
  },
15
- "./styles": "./dist/style.css"
15
+ "./styles": {
16
+ "types": "./dist/styles.d.ts",
17
+ "default": "./dist/style.css"
18
+ }
16
19
  },
17
20
  "files": [
18
21
  "dist"
@@ -46,10 +49,8 @@
46
49
  "devDependencies": {
47
50
  "@commitlint/cli": "^21.0.2",
48
51
  "@commitlint/config-conventional": "^21.0.2",
49
- "@eslint/js": "^9.39.4",
50
- "@semantic-release/changelog": "^6.0.3",
52
+ "@eslint/js": "^9.39.5",
51
53
  "@semantic-release/commit-analyzer": "^13.0.1",
52
- "@semantic-release/git": "^10.0.1",
53
54
  "@semantic-release/github": "^12.0.8",
54
55
  "@semantic-release/npm": "^13.1.5",
55
56
  "@storybook/addon-a11y": "^10.4.2",
@@ -68,13 +69,13 @@
68
69
  "@vitejs/plugin-react": "^4.3.0",
69
70
  "@vitest/coverage-v8": "^3.2.7",
70
71
  "dayjs": "^1.11.11",
71
- "eslint": "^9.39.4",
72
+ "eslint": "^9.39.5",
72
73
  "eslint-config-prettier": "^10.1.8",
73
74
  "eslint-plugin-import-x": "^4.16.2",
74
75
  "eslint-plugin-jsx-a11y": "^6.10.2",
75
76
  "eslint-plugin-react": "^7.37.5",
76
77
  "eslint-plugin-react-hooks": "^7.1.1",
77
- "eslint-plugin-unicorn": "^65.0.1",
78
+ "eslint-plugin-unicorn": "^65.0.0",
78
79
  "globals": "^17.6.0",
79
80
  "husky": "^9.1.7",
80
81
  "jsdom": "^29.1.1",
@@ -89,7 +90,7 @@
89
90
  "vitest": "^3.2.7"
90
91
  },
91
92
  "dependencies": {
92
- "@floating-ui/react": "^0.27.19"
93
+ "@floating-ui/react": "^0.27.20"
93
94
  },
94
95
  "lint-staged": {
95
96
  "*.{js,mjs,cjs,ts,mts,cts,jsx,tsx}": [
@@ -1,2 +0,0 @@
1
- export * from '../index'
2
- export {}