@utahdts/utah-design-system-header 1.2.1 → 1.4.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/dist/index.d.ts +593 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/style.css +1 -1
- package/dist/utah-design-system-header.es.js +546 -504
- package/dist/utah-design-system-header.umd.js +43 -29
- package/package.json +15 -6
- package/src/css/media-queries.css +9 -0
package/package.json
CHANGED
|
@@ -1,13 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@utahdts/utah-design-system-header",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.4.0",
|
|
4
4
|
"description": "Utah Header for the Utah Design System",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": {
|
|
7
7
|
"development-local": "./src/index.js",
|
|
8
8
|
"development": "./dist/utah-design-system-header.es.js",
|
|
9
9
|
"production": "./dist/utah-design-system-header.es.js",
|
|
10
|
-
"import":
|
|
10
|
+
"import": {
|
|
11
|
+
"default": "./dist/utah-design-system-header.es.js",
|
|
12
|
+
"types": "./dist/index.d.ts"
|
|
13
|
+
},
|
|
11
14
|
"require": "./dist/utah-design-system-header.umd.js",
|
|
12
15
|
"types": "./dist/src/index.d.ts",
|
|
13
16
|
"default": [
|
|
@@ -20,14 +23,18 @@
|
|
|
20
23
|
"./src/css/index.scss": "./src/css/index.scss"
|
|
21
24
|
},
|
|
22
25
|
"main": "./src/index.js",
|
|
23
|
-
"types": "./dist/
|
|
26
|
+
"types": "./dist/index.d.ts",
|
|
24
27
|
"files": [
|
|
25
28
|
"src/css",
|
|
26
29
|
"dist"
|
|
27
30
|
],
|
|
28
31
|
"scripts": {
|
|
29
32
|
"build": "vite build",
|
|
30
|
-
"
|
|
33
|
+
"buildTypesTsc": "npx tsc",
|
|
34
|
+
"buildTypesCleanUpDeclare": "replace '^declare module.*$' '' dist/index.d.ts",
|
|
35
|
+
"buildTypesCleanUpClose": "replace '^}$' '' dist/index.d.ts",
|
|
36
|
+
"buildTypesCleanUp": "run-s buildTypesCleanUpDeclare buildTypesCleanUpClose",
|
|
37
|
+
"buildTypes": "run-s buildTypesTsc buildTypesCleanUp",
|
|
31
38
|
"clean": "run-s cleanPackageLock cleanDist cleanNodeModules",
|
|
32
39
|
"cleani": "run-s clean npmi",
|
|
33
40
|
"cleanDist": "rimraf ./dist",
|
|
@@ -41,6 +48,7 @@
|
|
|
41
48
|
"testc": "vitest run --coverage",
|
|
42
49
|
"testOnce": "vitest run",
|
|
43
50
|
"testui": "vitest --ui",
|
|
51
|
+
"tsc": "tsc --watch",
|
|
44
52
|
"watch": "vite build --watch"
|
|
45
53
|
},
|
|
46
54
|
"repository": {
|
|
@@ -65,10 +73,11 @@
|
|
|
65
73
|
"devDependencies": {
|
|
66
74
|
"@vitest/ui": "0.34.1",
|
|
67
75
|
"jsdom": "22.1.0",
|
|
68
|
-
"
|
|
76
|
+
"replace": "1.2.2",
|
|
77
|
+
"sass": "1.65.1",
|
|
69
78
|
"tslib": "2.6.1",
|
|
70
79
|
"typescript": "5.1.6",
|
|
71
|
-
"vite": "4.4.
|
|
80
|
+
"vite": "4.4.9",
|
|
72
81
|
"vitest": "0.34.1"
|
|
73
82
|
},
|
|
74
83
|
"type": "module"
|
|
@@ -75,6 +75,15 @@
|
|
|
75
75
|
.color-example > div:not(:last-child) {
|
|
76
76
|
margin-bottom: var(--spacing-l);
|
|
77
77
|
}
|
|
78
|
+
|
|
79
|
+
.search-page {
|
|
80
|
+
.search-modal__form {
|
|
81
|
+
margin-bottom: var(--spacing-4xl);
|
|
82
|
+
}
|
|
83
|
+
.search-modal__input[type=text] {
|
|
84
|
+
padding: var(--spacing) var(--spacing) var(--spacing) var(--spacing-3xl);
|
|
85
|
+
}
|
|
86
|
+
}
|
|
78
87
|
}
|
|
79
88
|
|
|
80
89
|
@media screen and (max-width: media-size__mobile__PLACEHOLDER) {
|