@nudmcdgnpm/cnd-css 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.
package/package.json CHANGED
@@ -1,29 +1,23 @@
1
1
  {
2
2
  "name": "@nudmcdgnpm/cnd-css",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "license": "MIT",
5
5
  "main": "dist/index.css",
6
6
  "author": "Shivank Shukla",
7
7
  "description": "CSS Only for CND UI",
8
8
  "engines": {
9
- "node": ">=14"
10
- },
11
- "cssConfig": {
12
- "prefix": ""
9
+ "node": ">=18"
13
10
  },
11
+ "cssConfig": { "prefix": "" },
14
12
  "scripts": {
15
13
  "start": "gulp build",
16
14
  "build:prod": "gulp build",
17
15
  "prepublish": "yarn build:prod",
18
16
  "deploy": "gulp && cp -R svg example && cp -R img example && gh-pages -d example"
19
17
  },
20
- "browserslist": [
21
- "> 3%",
22
- "last 2 versions"
23
- ],
18
+ "browserslist": [ "> 3%", "last 2 versions" ],
24
19
  "style": "./dist/index.css",
25
20
  "dependencies": {
26
- "node-sass": "4.14.1",
27
21
  "normalize.css": "8.0.1",
28
22
  "postcss-scss": "3.0.5",
29
23
  "tailwindcss": "1.9.6"
@@ -38,7 +32,7 @@
38
32
  "gulp-livereload": "4.0.2",
39
33
  "gulp-postcss": "9.0.1",
40
34
  "gulp-rename": "2.0.0",
41
- "gulp-sass": "4.1.1",
35
+ "gulp-sass": "5.1.0",
42
36
  "postcss": "8.4.26",
43
37
  "postcss-cli": "8.3.1",
44
38
  "postcss-header": "2.0.0",
@@ -46,7 +40,7 @@
46
40
  "postcss-prefixer": "2.1.3",
47
41
  "postcss-preset-env": "6.7.1",
48
42
  "postcss-scss": "3.0.5",
49
- "sass": "1.26.11"
43
+ "sass": "^1.77.0"
50
44
  },
51
45
  "files": [
52
46
  "dist/index.min.css",
@@ -56,11 +50,5 @@
56
50
  "src/**/*.scss",
57
51
  "src/**/*.css"
58
52
  ],
59
- "keywords": [
60
- "digit",
61
- "egov",
62
- "dpg",
63
- "cnd-ui",
64
- "css"
65
- ]
66
- }
53
+ "keywords": ["digit","egov","dpg","cnd-ui","css"]
54
+ }
package/src/index.scss CHANGED
@@ -2,11 +2,15 @@
2
2
 
3
3
  /*@import url("https://fonts.googleapis.com/css2?family=Roboto+Condensed:wght@400;500;700&family=Roboto:wght@400;500;700&display=swap");*/
4
4
 
5
- @import "tailwindcss/base";
5
+ // @import "tailwindcss/base";
6
6
 
7
- @import "tailwindcss/components";
7
+ // @import "tailwindcss/components";
8
8
 
9
- @import "tailwindcss/utilities";
9
+ // @import "tailwindcss/utilities";
10
+
11
+ @tailwind base;
12
+ @tailwind components;
13
+ @tailwind utilities;
10
14
 
11
15
  @import "react-date-range/dist/styles.css";
12
16
  @import "react-date-range/dist/theme/default.css";
@@ -62,7 +66,6 @@
62
66
  @import "./components/multiSelectDropdown.scss";
63
67
  @import "./components/EllipsisMenu.scss";
64
68
  @import "./components/CitizenHomeCard.scss";
65
- @import "./components/PropertySearchForm.scss";
66
69
  @import "./components/SearchForm.scss";
67
70
  @import "./components/cardHeaderWithOptions.scss";
68
71
  @import "./components/TimeLine.scss";
@@ -103,7 +106,6 @@
103
106
  @import "./pages/citizen/Events.scss";
104
107
  @import "./pages/citizen/DocumentList.scss";
105
108
  @import "./pages/citizen/SurveyList.scss";
106
- @import "./pages/citizen/updatePropertyNumber.scss";
107
109
  @import "./pages/citizen/citizenDocument.scss";
108
110
  @import "./pages/employee/surveys.scss";
109
111
 
@@ -77,7 +77,7 @@
77
77
  @media (min-width: 780px) {
78
78
  display: flex;
79
79
  width: 100% !important;
80
- height: calc(100%-30px);
80
+ height: calc(100% - 30px);
81
81
  }
82
82
  }
83
83
 
@@ -517,7 +517,7 @@
517
517
  flex-direction: column;
518
518
  padding-top: 80px;
519
519
  margin-left: 64px;
520
- width: calc(100%-83px);
520
+ width: calc(100% - 83px);
521
521
  }
522
522
  .citizen-home-container {
523
523
  display: flex;
Binary file
Binary file
Binary file
@@ -1,58 +0,0 @@
1
- .PropertySearchForm {
2
- .pt-search-action {
3
- @apply w-full;
4
- display: flex;
5
- margin-right: 10px;
6
- justify-content: end;
7
- align-items: center;
8
- .pt-search-action-submit button {
9
- width: 100% !important;
10
- }
11
- .pt-search-action-reset {
12
- text-align: right;
13
- cursor: pointer;
14
- }
15
- }
16
-
17
- .PropertySearchFormSwitcher{
18
- border-bottom: 1px solid #d6d5d4;
19
- cursor: pointer;
20
- margin-bottom: 20px;
21
- display: flex;
22
- .non-selected {
23
- color: #505a5f;
24
- font-weight: 400;
25
- }
26
- .selected {
27
- color: #a82227;
28
- font-weight: 700;
29
- padding-bottom: 10px;
30
- border-bottom: 2px solid #a82227;
31
- }
32
- span {
33
- margin-right: 20px;
34
- }
35
- }
36
-
37
-
38
- .form-field {
39
- width: 30% !important;
40
- margin-bottom: 20px;
41
- }
42
- @media (min-width: 780px) {
43
- .pt-form-field{
44
- width: 30% !important;
45
- margin-bottom: 20px;
46
- }
47
- }
48
- @media (max-width: 780px) {
49
- .form-field{
50
- width: 100% !important;
51
- margin-bottom: 15px;
52
- }
53
- .pt-form-field{
54
- width: 100% !important;
55
- margin-bottom: 15px;
56
- }
57
- }
58
- }
@@ -1,46 +0,0 @@
1
- .updatenumber-warper-citizen{
2
- min-height: 95vh;
3
- height: unset;
4
- }
5
- .updatePropertyNumber {
6
- .pt-update-no-popup-wrapper {
7
- @apply m-md;
8
- }
9
- .search-form-wrapper {
10
- display: inherit;
11
- padding: 16px;
12
- .submit-bar {
13
- position: absolute;
14
- bottom: 25px;
15
- width: 90%;
16
- }
17
- .submit-bar-disabled {
18
- position: absolute;
19
- bottom: 25px;
20
- width: 90%;
21
- }
22
- }
23
- }
24
-
25
- @screen dt {
26
- .updatenumber-warper-citizen{
27
- min-height: 100vh;
28
- height: unset;
29
- }
30
- .updatePropertyNumber {
31
- .h1 {
32
- @apply m-md;
33
- }
34
- .search-form-wrapper {
35
- .submit-bar {
36
- width: 100% !important;
37
- position: unset !important;
38
- }
39
- .submit-bar-disabled {
40
- position: absolute;
41
- bottom: 25px;
42
- width: 90%;
43
- }
44
- }
45
- }
46
- }