@dxos/react-ui-calendar 0.8.4-main.9be5663bfe → 0.8.4-main.abd8ff62ef
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/lib/browser/index.mjs +1 -12
- package/dist/lib/browser/index.mjs.map +4 -4
- package/dist/lib/browser/meta.json +1 -1
- package/dist/lib/browser/translations.mjs +16 -0
- package/dist/lib/browser/translations.mjs.map +7 -0
- package/dist/lib/node-esm/index.mjs +1 -12
- package/dist/lib/node-esm/index.mjs.map +4 -4
- package/dist/lib/node-esm/meta.json +1 -1
- package/dist/lib/node-esm/translations.mjs +18 -0
- package/dist/lib/node-esm/translations.mjs.map +7 -0
- package/dist/types/src/components/Calendar/Calendar.d.ts.map +1 -1
- package/dist/types/src/components/Calendar/Calendar.stories.d.ts +1 -1
- package/dist/types/src/components/Calendar/Calendar.stories.d.ts.map +1 -1
- package/dist/types/src/components/Calendar/util.d.ts.map +1 -1
- package/dist/types/src/translations.d.ts +1 -1
- package/dist/types/src/translations.d.ts.map +1 -1
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/package.json +22 -16
- package/src/components/Calendar/Calendar.stories.tsx +2 -1
- package/src/components/Calendar/Calendar.tsx +2 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dxos/react-ui-calendar",
|
|
3
|
-
"version": "0.8.4-main.
|
|
3
|
+
"version": "0.8.4-main.abd8ff62ef",
|
|
4
4
|
"description": "A calendar component.",
|
|
5
5
|
"homepage": "https://dxos.org",
|
|
6
6
|
"bugs": "https://github.com/dxos/dxos/issues",
|
|
@@ -11,18 +11,24 @@
|
|
|
11
11
|
"license": "MIT",
|
|
12
12
|
"author": "DXOS.org",
|
|
13
13
|
"type": "module",
|
|
14
|
+
"imports": {
|
|
15
|
+
"#translations": "./src/translations.ts"
|
|
16
|
+
},
|
|
14
17
|
"exports": {
|
|
15
18
|
".": {
|
|
16
19
|
"source": "./src/index.ts",
|
|
17
20
|
"types": "./dist/types/src/index.d.ts",
|
|
18
21
|
"browser": "./dist/lib/browser/index.mjs",
|
|
19
22
|
"node": "./dist/lib/node-esm/index.mjs"
|
|
23
|
+
},
|
|
24
|
+
"./translations": {
|
|
25
|
+
"source": "./src/translations.ts",
|
|
26
|
+
"types": "./dist/types/src/translations.d.ts",
|
|
27
|
+
"browser": "./dist/lib/browser/translations.mjs",
|
|
28
|
+
"node": "./dist/lib/node-esm/translations.mjs"
|
|
20
29
|
}
|
|
21
30
|
},
|
|
22
31
|
"types": "dist/types/src/index.d.ts",
|
|
23
|
-
"typesVersions": {
|
|
24
|
-
"*": {}
|
|
25
|
-
},
|
|
26
32
|
"files": [
|
|
27
33
|
"dist",
|
|
28
34
|
"src"
|
|
@@ -33,11 +39,11 @@
|
|
|
33
39
|
"react-resize-detector": "^11.0.1",
|
|
34
40
|
"react-virtualized": "^9.22.6",
|
|
35
41
|
"react-window": "^2.2.3",
|
|
36
|
-
"@dxos/async": "0.8.4-main.
|
|
37
|
-
"@dxos/debug": "0.8.4-main.
|
|
38
|
-
"@dxos/log": "0.8.4-main.
|
|
39
|
-
"@dxos/invariant": "0.8.4-main.
|
|
40
|
-
"@dxos/util": "0.8.4-main.
|
|
42
|
+
"@dxos/async": "0.8.4-main.abd8ff62ef",
|
|
43
|
+
"@dxos/debug": "0.8.4-main.abd8ff62ef",
|
|
44
|
+
"@dxos/log": "0.8.4-main.abd8ff62ef",
|
|
45
|
+
"@dxos/invariant": "0.8.4-main.abd8ff62ef",
|
|
46
|
+
"@dxos/util": "0.8.4-main.abd8ff62ef"
|
|
41
47
|
},
|
|
42
48
|
"devDependencies": {
|
|
43
49
|
"@types/react": "~19.2.7",
|
|
@@ -46,18 +52,18 @@
|
|
|
46
52
|
"effect": "3.20.0",
|
|
47
53
|
"react": "~19.2.3",
|
|
48
54
|
"react-dom": "~19.2.3",
|
|
49
|
-
"vite": "^
|
|
50
|
-
"@dxos/random": "0.8.4-main.
|
|
51
|
-
"@dxos/react-ui": "0.8.4-main.
|
|
52
|
-
"@dxos/
|
|
53
|
-
"@dxos/
|
|
55
|
+
"vite": "^8.0.10",
|
|
56
|
+
"@dxos/random": "0.8.4-main.abd8ff62ef",
|
|
57
|
+
"@dxos/react-ui": "0.8.4-main.abd8ff62ef",
|
|
58
|
+
"@dxos/ui-theme": "0.8.4-main.abd8ff62ef",
|
|
59
|
+
"@dxos/storybook-utils": "0.8.4-main.abd8ff62ef"
|
|
54
60
|
},
|
|
55
61
|
"peerDependencies": {
|
|
56
62
|
"effect": "3.20.0",
|
|
57
63
|
"react": "~19.2.3",
|
|
58
64
|
"react-dom": "~19.2.3",
|
|
59
|
-
"@dxos/
|
|
60
|
-
"@dxos/ui
|
|
65
|
+
"@dxos/ui-theme": "0.8.4-main.abd8ff62ef",
|
|
66
|
+
"@dxos/react-ui": "0.8.4-main.abd8ff62ef"
|
|
61
67
|
},
|
|
62
68
|
"publishConfig": {
|
|
63
69
|
"access": "public"
|
|
@@ -8,7 +8,8 @@ import React from 'react';
|
|
|
8
8
|
import { Panel } from '@dxos/react-ui';
|
|
9
9
|
import { withLayout, withTheme } from '@dxos/react-ui/testing';
|
|
10
10
|
|
|
11
|
-
import { translations } from '
|
|
11
|
+
import { translations } from '#translations';
|
|
12
|
+
|
|
12
13
|
import { Calendar } from './Calendar';
|
|
13
14
|
|
|
14
15
|
const meta = {
|
|
@@ -23,7 +23,8 @@ import { Event } from '@dxos/async';
|
|
|
23
23
|
import { IconButton, useTranslation } from '@dxos/react-ui';
|
|
24
24
|
import { composable, composableProps, mx } from '@dxos/ui-theme';
|
|
25
25
|
|
|
26
|
-
import { translationKey } from '
|
|
26
|
+
import { translationKey } from '#translations';
|
|
27
|
+
|
|
27
28
|
import { getDate, isSameDay } from './util';
|
|
28
29
|
|
|
29
30
|
const maxRows = 50 * 100;
|