@servicetitan/design-system 12.7.3 → 12.8.1
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/components/DatePicker/DatePicker.d.ts +4 -10
- package/dist/components/DatePicker/DatePicker.js +36 -57
- package/dist/components/DatePicker/DatePicker.js.map +1 -1
- package/dist/components/DatePicker/InputDateMask.d.ts +1 -1
- package/dist/components/DateRangePicker/DateRangePicker.d.ts +2 -0
- package/dist/components/DateRangePicker/DateRangePicker.js +3 -3
- package/dist/components/DateRangePicker/DateRangePicker.js.map +1 -1
- package/dist/global/index.css +1 -1
- package/dist/global/version.css +1 -1
- package/dist/system-light.css +1 -1
- package/dist/system-light.min.css +1 -1
- package/dist/system.css +1 -1
- package/dist/system.min.css +1 -1
- package/package.json +130 -130
package/package.json
CHANGED
|
@@ -1,132 +1,132 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
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
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
2
|
+
"name": "@servicetitan/design-system",
|
|
3
|
+
"version": "12.8.1",
|
|
4
|
+
"description": "",
|
|
5
|
+
"homepage": "https://anvil.servicetitan.com",
|
|
6
|
+
"repository": {
|
|
7
|
+
"type": "git",
|
|
8
|
+
"url": "github:servicetitan/anvil",
|
|
9
|
+
"directory": "packages/design-system"
|
|
10
|
+
},
|
|
11
|
+
"storybook": {
|
|
12
|
+
"url": "https://anvil.st.dev"
|
|
13
|
+
},
|
|
14
|
+
"main": "./dist/system.js",
|
|
15
|
+
"sideEffects": [
|
|
16
|
+
"**/*.css"
|
|
17
|
+
],
|
|
18
|
+
"scripts": {
|
|
19
|
+
"start": "npm run watch --silent",
|
|
20
|
+
"build": "npm run build:init && run-p build:css build:js --silent",
|
|
21
|
+
"build:init": "run-s build:init:clean build:init:make-dir --silent",
|
|
22
|
+
"build:init:clean": "rimraf dist",
|
|
23
|
+
"build:init:make-dir": "mkdir dist",
|
|
24
|
+
"build:css": "run-s build:css:version build:css:lint build:css:compile build:css:autoprefixer build:css:minify build:css:message --silent",
|
|
25
|
+
"build:css:version": "node ./scripts/generate-version.js",
|
|
26
|
+
"build:css:lint": "stylelint \"**/!(dist)/*.scss\" --syntax scss || echo \"❌ Stylelint Failed\"",
|
|
27
|
+
"build:css:compile": "sass --quiet-deps --load-path=node_modules/@servicetitan/tokens/core/ --load-path=node_modules src:dist",
|
|
28
|
+
"build:css:autoprefixer": "postcss -r dist/system.css",
|
|
29
|
+
"build:css:minify": "run-p build:css:minify:system build:css:minify:system-light",
|
|
30
|
+
"build:css:minify:system": "cleancss dist/system.css --output dist/system.min.css",
|
|
31
|
+
"build:css:minify:system-light": "cleancss dist/system-light.css --output dist/system-light.min.css",
|
|
32
|
+
"prebuild:css:message": "echo \" \"",
|
|
33
|
+
"build:css:message": "echo \"🎉 Anvil CSS built\"",
|
|
34
|
+
"postbuild:css:message": "echo \" \"",
|
|
35
|
+
"build:js": "run-s build:js:lint build:js:compile build:js:message --silent",
|
|
36
|
+
"build:js:lint": "eslint . || echo \"❌ ESLint Failed\"",
|
|
37
|
+
"build:js:compile": "tsc",
|
|
38
|
+
"prebuild:js:message": "echo \" \"",
|
|
39
|
+
"build:js:message": "echo \"🎉 Anvil React Components built\"",
|
|
40
|
+
"postbuild:js:message": "echo \" \"",
|
|
41
|
+
"watch": "run-p watch:deps watch:css watch:js --silent",
|
|
42
|
+
"watch:deps": "run-p watch:deps:tokens watch:deps:semantic --silent",
|
|
43
|
+
"watch:deps:tokens": "chokidar \"node_modules/@servicetitan/tokens/core/*.scss\" --follow-symlinks --command \"npm run build:css --silent\"",
|
|
44
|
+
"watch:deps:semantic": "chokidar \"node_modules/@servicetitan/semantic/dist/semantic.css\" --follow-symlinks --command \"npm run build:css --silent\"",
|
|
45
|
+
"watch:css": "chokidar \"src/**/*.scss\" --ignore \"src/**/version.scss\" --command \"npm run build:css --silent\"",
|
|
46
|
+
"watch:js": "chokidar \"src/**/*.{tsx,ts,js}\" -i \"src/**/*.stories.tsx\" -c \"npm run build:js\"",
|
|
47
|
+
"version": "npm run build:css",
|
|
48
|
+
"lint": "run-p build:css:lint build:js:lint --silent",
|
|
49
|
+
"test": "jest"
|
|
50
|
+
},
|
|
51
|
+
"files": [
|
|
52
|
+
"dist",
|
|
53
|
+
"readme.md"
|
|
54
|
+
],
|
|
55
|
+
"publishConfig": {
|
|
56
|
+
"access": "public"
|
|
57
|
+
},
|
|
58
|
+
"dependencies": {
|
|
59
|
+
"@popperjs/core": "2.11.0",
|
|
60
|
+
"@progress/kendo-data-query": "~1.6.0",
|
|
61
|
+
"@progress/kendo-drawing": "~1.11.0",
|
|
62
|
+
"@progress/kendo-licensing": "~1.2.0",
|
|
63
|
+
"@progress/kendo-react-animation": "~5.5.0",
|
|
64
|
+
"@progress/kendo-react-buttons": "~5.5.0",
|
|
65
|
+
"@progress/kendo-react-data-tools": "~5.5.0",
|
|
66
|
+
"@progress/kendo-react-dateinputs": "~5.5.0",
|
|
67
|
+
"@progress/kendo-react-dropdowns": "~5.5.0",
|
|
68
|
+
"@progress/kendo-react-grid": "~5.5.0",
|
|
69
|
+
"@progress/kendo-react-inputs": "~5.5.0",
|
|
70
|
+
"@progress/kendo-react-intl": "~5.5.0",
|
|
71
|
+
"@progress/kendo-react-pdf": "~5.5.0",
|
|
72
|
+
"@progress/kendo-react-popup": "~5.5.0",
|
|
73
|
+
"@progress/kendo-react-treeview": "~5.5.0",
|
|
74
|
+
"@react-aria/focus": "^3.2.3",
|
|
75
|
+
"@react-hook/window-size": "^3.0.7",
|
|
76
|
+
"@servicetitan/anvil-fonts": "^12.8.1",
|
|
77
|
+
"@servicetitan/anvil-icons": "^12.8.1",
|
|
78
|
+
"@servicetitan/anvil-themes": "^12.8.1",
|
|
79
|
+
"@servicetitan/tokens": "^12.2.0",
|
|
80
|
+
"classnames": "2.3.1",
|
|
81
|
+
"framer-motion": "4.1.17",
|
|
82
|
+
"luxon": "^2.4.0",
|
|
83
|
+
"memoize-one": "5.2.1",
|
|
84
|
+
"moment": "2.29.4",
|
|
85
|
+
"nanoid": "3.1.31",
|
|
86
|
+
"react-animate-height": "^2.0.22",
|
|
87
|
+
"react-focus-lock": "^2.5.2",
|
|
88
|
+
"react-input-mask": "2.0.4",
|
|
89
|
+
"react-is": "17.0.2",
|
|
90
|
+
"react-popper": "2.2.5",
|
|
91
|
+
"react-textarea-autosize": "8.3.3",
|
|
92
|
+
"react-transition-group": "4.4.2",
|
|
93
|
+
"semantic-ui-react": "2.0.3",
|
|
94
|
+
"tinycolor2": "1.4.2"
|
|
95
|
+
},
|
|
96
|
+
"peerDependencies": {
|
|
97
|
+
"react": "^16 || ^17",
|
|
98
|
+
"react-dom": "^16 || ^17"
|
|
99
|
+
},
|
|
100
|
+
"devDependencies": {
|
|
101
|
+
"@lib/semantic": "^12.8.1",
|
|
102
|
+
"@progress/kendo-theme-default": "~5.5.0",
|
|
103
|
+
"@servicetitan/anvil-css-utilities": "^12.8.1",
|
|
104
|
+
"@testing-library/jest-dom": "5.14.1",
|
|
105
|
+
"@testing-library/react": "12.1.0",
|
|
106
|
+
"@testing-library/user-event": "13.2.1",
|
|
107
|
+
"@types/jest": "27.0.1",
|
|
108
|
+
"@types/luxon": "^2.3.2",
|
|
109
|
+
"@types/node": "16.9.1",
|
|
110
|
+
"@types/react": "17.0.21",
|
|
111
|
+
"@types/react-dom": "17.0.9",
|
|
112
|
+
"@types/react-input-mask": "2.0.5",
|
|
113
|
+
"@types/react-is": "17.0.2",
|
|
114
|
+
"@types/react-transition-group": "4.4.2",
|
|
115
|
+
"autoprefixer": "10.3.4",
|
|
116
|
+
"clean-css-cli": "5.3.3",
|
|
117
|
+
"core-js": "3.17.3",
|
|
118
|
+
"eslint": "7.32.0",
|
|
119
|
+
"jest": "27.2.0",
|
|
120
|
+
"npm-run-all": "4.1.5",
|
|
121
|
+
"postcss": "8.3.6",
|
|
122
|
+
"postcss-cli": "8.3.1",
|
|
123
|
+
"react": "17.0.2",
|
|
124
|
+
"react-dom": "17.0.2",
|
|
125
|
+
"rimraf": "3.0.2",
|
|
126
|
+
"sass": "1.41.0",
|
|
127
|
+
"stylelint": "13.13.1",
|
|
128
|
+
"ts-jest": "27.0.5",
|
|
129
|
+
"typescript": "4.4.3"
|
|
130
|
+
},
|
|
131
|
+
"gitHead": "0509e4169db65259f901e5b7b16cf69e29c2269f"
|
|
132
132
|
}
|