@tabworthy/components 0.2.0
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/LICENSE +21 -0
- package/README.md +69 -0
- package/dist/cjs/app-globals-V2Kpy_OQ.js +5 -0
- package/dist/cjs/index-C15oswCE.js +2148 -0
- package/dist/cjs/index.cjs.js +2 -0
- package/dist/cjs/loader.cjs.js +13 -0
- package/dist/cjs/moment-CdViwxPQ.js +5681 -0
- package/dist/cjs/tabworthy-components.cjs.js +25 -0
- package/dist/cjs/tabworthy-dates-calendar_2.cjs.entry.js +884 -0
- package/dist/cjs/tabworthy-dates.cjs.entry.js +10906 -0
- package/dist/cjs/tabworthy-times-picker.cjs.entry.js +181 -0
- package/dist/cjs/tabworthy-times.cjs.entry.js +242 -0
- package/dist/cjs/utils-y5Vtky2t.js +214 -0
- package/dist/collection/collection-manifest.json +16 -0
- package/dist/collection/components/tabworthy-dates/tabworthy-dates.css +10 -0
- package/dist/collection/components/tabworthy-dates/tabworthy-dates.js +1197 -0
- package/dist/collection/components/tabworthy-dates-calendar/tabworthy-dates-calendar.css +10 -0
- package/dist/collection/components/tabworthy-dates-calendar/tabworthy-dates-calendar.js +986 -0
- package/dist/collection/components/tabworthy-modal/tabworthy-dates-modal.css +14 -0
- package/dist/collection/components/tabworthy-modal/tabworthy-dates-modal.js +237 -0
- package/dist/collection/components/tabworthy-times/tabworthy-times.js +832 -0
- package/dist/collection/components/tabworthy-times-picker/tabworthy-times-picker.js +356 -0
- package/dist/collection/index.js +1 -0
- package/dist/components/index.d.ts +35 -0
- package/dist/components/index.js +1 -0
- package/dist/components/moment.js +8 -0
- package/dist/components/tabworthy-dates-calendar.d.ts +11 -0
- package/dist/components/tabworthy-dates-calendar.js +1 -0
- package/dist/components/tabworthy-dates-calendar2.js +1 -0
- package/dist/components/tabworthy-dates-modal.d.ts +11 -0
- package/dist/components/tabworthy-dates-modal.js +1 -0
- package/dist/components/tabworthy-dates-modal2.js +1 -0
- package/dist/components/tabworthy-dates.d.ts +11 -0
- package/dist/components/tabworthy-dates.js +1 -0
- package/dist/components/tabworthy-times-picker.d.ts +11 -0
- package/dist/components/tabworthy-times-picker.js +1 -0
- package/dist/components/tabworthy-times-picker2.js +1 -0
- package/dist/components/tabworthy-times.d.ts +11 -0
- package/dist/components/tabworthy-times.js +1 -0
- package/dist/esm/app-globals-DQuL1Twl.js +3 -0
- package/dist/esm/index-BusoZVTR.js +2139 -0
- package/dist/esm/index.js +1 -0
- package/dist/esm/loader.js +11 -0
- package/dist/esm/moment-Mki5YqAR.js +5679 -0
- package/dist/esm/tabworthy-components.js +21 -0
- package/dist/esm/tabworthy-dates-calendar_2.entry.js +881 -0
- package/dist/esm/tabworthy-dates.entry.js +10904 -0
- package/dist/esm/tabworthy-times-picker.entry.js +179 -0
- package/dist/esm/tabworthy-times.entry.js +240 -0
- package/dist/esm/utils-BVHu5CWV.js +188 -0
- package/dist/index.cjs.js +1 -0
- package/dist/index.js +1 -0
- package/dist/loader/cdn.js +1 -0
- package/dist/loader/index.cjs.js +1 -0
- package/dist/loader/index.d.ts +24 -0
- package/dist/loader/index.es2017.js +1 -0
- package/dist/loader/index.js +2 -0
- package/dist/shared/utils/chrono-parser/chrono-parser.js +146 -0
- package/dist/shared/utils/chrono-parser/chrono-parser.type.js +1 -0
- package/dist/shared/utils/utils.js +186 -0
- package/dist/tabworthy-components/index.esm.js +0 -0
- package/dist/tabworthy-components/p-170bc6ca.entry.js +1 -0
- package/dist/tabworthy-components/p-3ce9a767.entry.js +1 -0
- package/dist/tabworthy-components/p-77bd1bd4.entry.js +1 -0
- package/dist/tabworthy-components/p-BVHu5CWV.js +1 -0
- package/dist/tabworthy-components/p-BusoZVTR.js +2 -0
- package/dist/tabworthy-components/p-DQuL1Twl.js +1 -0
- package/dist/tabworthy-components/p-Mki5YqAR.js +8 -0
- package/dist/tabworthy-components/p-ebbb4c46.entry.js +1 -0
- package/dist/tabworthy-components/tabworthy-components.esm.js +1 -0
- package/dist/themes/dark.css +1 -0
- package/dist/themes/light.css +1 -0
- package/dist/types/Users/damirbogdanov_1/work/tabworthy-components/.stencil/shared/utils/chrono-parser/chrono-parser.d.ts +3 -0
- package/dist/types/Users/damirbogdanov_1/work/tabworthy-components/.stencil/shared/utils/chrono-parser/chrono-parser.type.d.ts +40 -0
- package/dist/types/Users/damirbogdanov_1/work/tabworthy-components/.stencil/shared/utils/utils.d.ts +28 -0
- package/dist/types/components/tabworthy-dates/tabworthy-dates.d.ts +80 -0
- package/dist/types/components/tabworthy-dates-calendar/tabworthy-dates-calendar.d.ts +89 -0
- package/dist/types/components/tabworthy-modal/tabworthy-dates-modal.d.ts +29 -0
- package/dist/types/components/tabworthy-times/tabworthy-times.d.ts +65 -0
- package/dist/types/components/tabworthy-times-picker/tabworthy-times-picker.d.ts +46 -0
- package/dist/types/components.d.ts +879 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/stencil-public-runtime.d.ts +1858 -0
- package/package.json +132 -0
package/package.json
ADDED
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@tabworthy/components",
|
|
3
|
+
"version": "0.2.0",
|
|
4
|
+
"private": false,
|
|
5
|
+
"description": "Small, accessible datepicker and datetimepicker Web Components with natural language date input.",
|
|
6
|
+
"repository": {
|
|
7
|
+
"type": "git",
|
|
8
|
+
"url": "https://github.com/tabworthy/tabworthy-components"
|
|
9
|
+
},
|
|
10
|
+
"keywords": [
|
|
11
|
+
"datepicker",
|
|
12
|
+
"datetimepicker",
|
|
13
|
+
"calendar",
|
|
14
|
+
"accessibility",
|
|
15
|
+
"ay11y",
|
|
16
|
+
"wai-aria",
|
|
17
|
+
"web component",
|
|
18
|
+
"inclusive design",
|
|
19
|
+
"vanilla-js",
|
|
20
|
+
"natural language",
|
|
21
|
+
"chrono.js"
|
|
22
|
+
],
|
|
23
|
+
"main": "dist/index.cjs.js",
|
|
24
|
+
"module": "dist/index.js",
|
|
25
|
+
"es2015": "dist/esm/index.mjs",
|
|
26
|
+
"es2017": "dist/esm/index.mjs",
|
|
27
|
+
"types": "dist/types/index.d.ts",
|
|
28
|
+
"collection": "dist/collection/collection-manifest.json",
|
|
29
|
+
"collection:main": "dist/collection/index.js",
|
|
30
|
+
"unpkg": "dist/tabworthy-components/tabworthy-components.esm.js",
|
|
31
|
+
"files": [
|
|
32
|
+
"dist/"
|
|
33
|
+
],
|
|
34
|
+
"scripts": {
|
|
35
|
+
"build": "yarn build:stencil && yarn build:docs",
|
|
36
|
+
"build:stencil": "yarn sass && stencil build",
|
|
37
|
+
"build:docs": "rimraf docs-www && copyfiles -u 1 docs/* docs/**/* dist/themes/* docs-www && copyfiles dist/esm/* docs-www && node terser.js",
|
|
38
|
+
"prettier": "prettier --write .",
|
|
39
|
+
"start": "yarn storybook",
|
|
40
|
+
"start2": "concurrently --kill-others \"yarn sass:watch\" \"stencil build --dev --watch --serve\"",
|
|
41
|
+
"start:stencil": "stencil build --dev --watch --serve",
|
|
42
|
+
"start:docs": "concurrently --kill-others \"npm-watch build:docs\" \"serve docs-www\"",
|
|
43
|
+
"storybook": "yarn build:stencil && storybook dev -p 6006",
|
|
44
|
+
"build:storybook": "yarn build:stencil && storybook build",
|
|
45
|
+
"test": "stencil test --spec",
|
|
46
|
+
"test:watch": "stencil test --spec --watchAll",
|
|
47
|
+
"test:coverage": "stencil test --spec --coverage",
|
|
48
|
+
"test:e2e": "stencil test --e2e",
|
|
49
|
+
"test:e2e:watch": "stencil test --e2e --watchAll",
|
|
50
|
+
"test:storybook": "TZ=UTC vitest --project=storybook",
|
|
51
|
+
"generate": "stencil generate",
|
|
52
|
+
"changeset": "changeset",
|
|
53
|
+
"version-packages": "changeset version",
|
|
54
|
+
"release": "yarn build:stencil && changeset publish",
|
|
55
|
+
"prepare": "husky install",
|
|
56
|
+
"sass:watch": "sass src/themes/base.scss:src/themes/base.css src/themes/dark.scss:src/themes/dark.css src/themes/light.scss:src/themes/light.css --watch --style compressed",
|
|
57
|
+
"sass": "sass src/themes/dark.scss:src/themes/dark.css src/themes/light.scss:src/themes/light.css --style compressed --no-source-map"
|
|
58
|
+
},
|
|
59
|
+
"lint-staged": {
|
|
60
|
+
"src/**/*.{js,jsx,ts,tsx,json,css,scss,md,html}": [
|
|
61
|
+
"prettier --write"
|
|
62
|
+
]
|
|
63
|
+
},
|
|
64
|
+
"watch": {
|
|
65
|
+
"build:docs": {
|
|
66
|
+
"extensions": "*",
|
|
67
|
+
"patterns": [
|
|
68
|
+
"docs"
|
|
69
|
+
]
|
|
70
|
+
}
|
|
71
|
+
},
|
|
72
|
+
"dependencies": {
|
|
73
|
+
"@a11y/focus-trap": "^1.0.5",
|
|
74
|
+
"@react-aria/live-announcer": "^3.1.2",
|
|
75
|
+
"@stencil/core": "^4",
|
|
76
|
+
"@stencil/sass": "^3.0.0",
|
|
77
|
+
"aria-hidden": "^1.2.2",
|
|
78
|
+
"chrono-node": "^2.5.0",
|
|
79
|
+
"moment": "^2.30.1"
|
|
80
|
+
},
|
|
81
|
+
"devDependencies": {
|
|
82
|
+
"@changesets/changelog-github": "^0.5.2",
|
|
83
|
+
"@changesets/cli": "^2.29.8",
|
|
84
|
+
"@stencil/postcss": "^2.1.0",
|
|
85
|
+
"@storybook/addon-a11y": "10.2.8",
|
|
86
|
+
"@storybook/addon-docs": "10.2.8",
|
|
87
|
+
"@storybook/addon-links": "10.2.8",
|
|
88
|
+
"@storybook/addon-vitest": "^10.2.8",
|
|
89
|
+
"@storybook/test": "^8.6.15",
|
|
90
|
+
"@storybook/web-components-vite": "10.2.8",
|
|
91
|
+
"@types/jest": "29",
|
|
92
|
+
"@types/moment": "^2.13.0",
|
|
93
|
+
"@types/react": "^19",
|
|
94
|
+
"@types/react-dom": "^19",
|
|
95
|
+
"@vitest/browser": "^4.0.18",
|
|
96
|
+
"@vitest/browser-playwright": "4.0.18",
|
|
97
|
+
"@vitest/coverage-v8": "4.0.18",
|
|
98
|
+
"autoprefixer": "^10.4.12",
|
|
99
|
+
"concurrently": "^7.5.0",
|
|
100
|
+
"copyfiles": "^2.4.1",
|
|
101
|
+
"glob": "^8.0.3",
|
|
102
|
+
"happy-dom": "^20.6.1",
|
|
103
|
+
"husky": "^8.0.3",
|
|
104
|
+
"jest": "29",
|
|
105
|
+
"jest-cli": "29",
|
|
106
|
+
"jest-environment-node": "29",
|
|
107
|
+
"jest-runner": "^30.2.0",
|
|
108
|
+
"lint-staged": "^13.1.0",
|
|
109
|
+
"lit": "^3.3.2",
|
|
110
|
+
"lit-html": "^3.3.2",
|
|
111
|
+
"npm-watch": "^0.11.0",
|
|
112
|
+
"playwright": "^1.58.2",
|
|
113
|
+
"postcss": "^8.5.6",
|
|
114
|
+
"postcss-nested": "^6.0.0",
|
|
115
|
+
"prettier": "2.8.4",
|
|
116
|
+
"puppeteer": "20",
|
|
117
|
+
"react": "^19.2.4",
|
|
118
|
+
"react-dom": "^19.2.4",
|
|
119
|
+
"rimraf": "^4.1.2",
|
|
120
|
+
"sass": "^1.97.3",
|
|
121
|
+
"serve": "^14.0.1",
|
|
122
|
+
"storybook": "10.2.8",
|
|
123
|
+
"terser": "^5.15.1",
|
|
124
|
+
"vite": "^7.3.1",
|
|
125
|
+
"vitest": "^4.0.18"
|
|
126
|
+
},
|
|
127
|
+
"license": "MIT",
|
|
128
|
+
"packageManager": "yarn@4.12.0",
|
|
129
|
+
"publishConfig": {
|
|
130
|
+
"access": "public"
|
|
131
|
+
}
|
|
132
|
+
}
|