@egovernments/digit-ui-components 0.0.2-beta.39 → 0.0.2-beta.4-webpack.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.
@@ -0,0 +1,24 @@
1
+ /*!
2
+ Copyright (c) 2018 Jed Watson.
3
+ Licensed under the MIT License (MIT), see
4
+ http://jedwatson.github.io/classnames
5
+ */
6
+
7
+ /**
8
+ * @license
9
+ * Lodash <https://lodash.com/>
10
+ * Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
11
+ * Released under MIT license <https://lodash.com/license>
12
+ * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
13
+ * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
14
+ */
15
+
16
+ /**
17
+ * @license React
18
+ * react-jsx-runtime.production.js
19
+ *
20
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
21
+ *
22
+ * This source code is licensed under the MIT license found in the
23
+ * LICENSE file in the root directory of this source tree.
24
+ */
package/package.json CHANGED
@@ -1,70 +1,57 @@
1
1
  {
2
2
  "name": "@egovernments/digit-ui-components",
3
- "version": "0.0.2-beta.39",
3
+ "version": "0.0.2-beta.4-webpack.2",
4
4
  "license": "MIT",
5
- "main": "dist/index.js",
6
- "module": "dist/index.modern.js",
5
+ "main": "dist/main.js",
6
+ "module": "dist/main.js",
7
7
  "source": "src/index.js",
8
8
  "engines": {
9
- "node": ">=14"
9
+ "node": ">=18"
10
10
  },
11
11
  "homepage": "https://unified-dev.digit.org/storybook/",
12
12
  "author": "Jagankumar <jagan.kumar@egov.org.in>",
13
13
  "scripts": {
14
14
  "example": "cd example && npm run start",
15
- "build": "microbundle-crl --compress --no-sourcemap --format cjs",
16
- "start": "microbundle-crl watch --no-compress --format modern,cjs",
15
+ "build": "webpack --mode=production --node-env=production --config webpack.config.js",
17
16
  "prepare": "yarn build",
18
- "publish:components": "npm publish --tag core-v0.1",
17
+ "publish:components": "npm publish --tag core-webpack-v0.1",
19
18
  "predeploy": "cd example && yarn install && yarn run build",
20
- "deploy": "gh-pages -d example/build",
21
- "storybook": "start-storybook -p 6006 -s public",
22
- "build-storybook": "build-storybook -s public -o dist-storybook",
23
- "deploy-storybook": "npm run build-storybook && surge --project dist-storybook --domain svg-components-$npm_package_version.surge.sh"
24
- },
25
- "peerDependencies": {
26
- "react": "17.0.2",
27
- "react-dom": "17.0.2",
28
- "react-router-dom": "5.3.0"
19
+ "deploy": "gh-pages -d example/build"
29
20
  },
30
21
  "devDependencies": {
31
- "@storybook/addon-actions": "6.4.20",
32
- "@storybook/addon-essentials": "6.4.20",
33
- "@storybook/addon-links": "6.4.20",
34
- "@storybook/node-logger": "6.4.20",
35
- "@storybook/preset-create-react-app": "3.2.0",
36
- "@storybook/react": "6.4.20",
37
- "babel-eslint": "10.1.0",
22
+ "@babel/core": "^7.23.3",
23
+ "@babel/preset-env": "^7.23.3",
24
+ "@babel/preset-react": "^7.23.3",
25
+ "babel-loader": "8.0.0",
38
26
  "cross-env": "7.0.3",
39
- "gh-pages": "2.2.0",
40
- "husky": "7.0.4",
41
27
  "lint-staged": "12.3.7",
42
- "microbundle-crl": "0.13.11",
43
- "react": "17.0.2",
44
- "react-dom": "17.0.2",
45
- "react-query": "3.6.1",
46
- "react-responsive": "9.0.2",
47
- "react-router-dom": "5.3.0",
48
- "react-scripts": "^4.0.1"
28
+ "react": "19.0.0",
29
+ "react-dom": "19.0.0",
30
+ "webpack": "^5.97.1",
31
+ "webpack-cli": "^4.10.0"
49
32
  },
50
33
  "files": [
51
34
  "dist"
52
35
  ],
53
36
  "dependencies": {
54
- "@egovernments/digit-ui-components-css": "0.0.2-beta.33",
55
- "@egovernments/digit-ui-libraries": "1.8.1-beta.1",
56
- "@egovernments/digit-ui-svg-components": "1.0.11",
57
- "@googlemaps/js-api-loader": "1.13.10",
37
+ "@egovernments/digit-ui-svg-components": "1.0.0-webpack.6",
58
38
  "autoprefixer": "^10.4.15",
39
+ "date-fns": "3.6.0",
40
+ "lodash": "^4.17.21",
59
41
  "postcss-flexbugs-fixes": "^5.0.2",
60
- "react-date-range": "1.3.0",
61
- "react-hook-form": "6.15.8",
62
- "react-i18next": "11.16.2",
63
- "react-table": "7.7.0",
64
- "react-drag-drop-files": "2.3.10",
65
- "@cyntler/react-doc-viewer": "1.10.3",
66
- "react-webcam":"7.2.0",
67
- "react-lottie":"1.2.4"
42
+ "react": "19.0.0",
43
+ "react-date-range": "2.0.1",
44
+ "react-dom": "19.0.0",
45
+ "react-hook-form": "7.52.2",
46
+ "react-i18next": "15.0.0",
47
+ "@tanstack/react-query": "^5.62.16",
48
+ "react-lottie": "1.2.4",
49
+ "react-responsive": "10.0.0",
50
+ "react-router-dom": "6.25.1"
51
+ },
52
+ "peerDependencies": {
53
+ "react": "19.0.0",
54
+ "react-dom": "19.0.0"
68
55
  },
69
56
  "browserslist": {
70
57
  "production": [
@@ -82,7 +69,7 @@
82
69
  "digit",
83
70
  "core",
84
71
  "components",
85
- "dpg"
72
+ "dpg",
73
+ "webpack"
86
74
  ]
87
75
  }
88
-
package/CHANGELOG.md DELETED
@@ -1,301 +0,0 @@
1
- # Changelog
2
-
3
- All notable changes to this project will be documented in this file.
4
-
5
- The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6
-
7
- ## [0.0.2-beta.39] - 2024-09-12
8
- ### New Changes
9
- - Added Tab Component and other changes
10
-
11
- ## [0.0.2-beta.38] - 2024-09-12
12
- ### fixes
13
- - Css version fix
14
-
15
- ## [0.0.2-beta.37] - 2024-09-06
16
- ### New Changes
17
- - Css version fix
18
-
19
- ## [0.0.2-beta.36] - 2024-09-06
20
- ### New Changes
21
- - Updated SelectionCard Component
22
-
23
- ## [0.0.2-beta.35] - 2024-09-06
24
- ### New Changes
25
- - Added LandingPageCard,MenuCard Molecules
26
-
27
- ## [0.0.2-beta.34] - 2024-09-05
28
- ### New Changes
29
- - Updated Accordion with animation
30
-
31
- ## [0.0.2-beta.33] - 2024-09-04
32
- ### New Changes
33
- - Added BottomSheet Draggable Functionality
34
-
35
- ## [0.0.2-beta.32] - 2024-09-04
36
- ### New Changes
37
- - Updated Tooltip with header and description
38
-
39
- ## [0.0.2-beta.28] - 2024-08-29
40
- ### New Changes
41
- - Updated Sidebar and added AccordionWrapper
42
-
43
- ## [0.0.2-beta.27] - 2024-08-27
44
- ### New Changes
45
- - Fixed MobileSidebar issue
46
-
47
- ## [0.0.2-beta.26] - 2024-08-27
48
- ### New Changes
49
- - Changed Classname for Submitbar disabled
50
-
51
- ## [0.0.2-beta.25] - 2024-08-22
52
- ### New Changes
53
- - Updated Sidebar,SVGs,Added Spacers and Accordion
54
-
55
- ## [0.0.2-beta.24] - 2024-08-16
56
- ### New Changes
57
- - Added Switch Component
58
-
59
- ## [0.0.2-beta.22] - 2024-08-07
60
- ### New Changes
61
- - Fixes on usgae of utils
62
-
63
- ## [0.0.2-beta.22] - 2024-08-07
64
- ### New Changes
65
- - Updated Tooltip Component
66
-
67
- ## [0.0.2-beta.21] - 2024-08-02
68
- ### New Changes
69
- - Added Tag Component
70
-
71
- ## [0.0.2-beta.20] - 2024-07-30
72
- ### New Changes
73
- - Added Error State for Timeline, SelectionCard Component
74
-
75
- ## [0.0.2-beta.18] - 2024-07-24
76
- ### New Changes
77
- - Fixed header dropdown selection
78
-
79
- ## [0.0.2-beta.17] - 2024-07-23
80
- ### New Changes
81
- - Updated multiselectdropdown
82
-
83
- ## [0.0.2-beta.16] - 2024-07-22
84
- ### New Changes
85
- - Updated prop for Menu
86
-
87
- ## [0.0.2-beta.15] - 2024-07-18
88
- ### New Changes
89
- - Added translation for option label
90
-
91
- ## [0.0.2-beta.14] - 2024-07-16
92
- ### New Changes
93
- - Added Sidebar and Hamburger
94
- - Updated Colors as constants
95
-
96
-
97
- ## [0.0.2-beta.13] - 2024-07-08
98
- ### New Changes
99
- - Updated Button OnClick and added digit footer images
100
-
101
- ## [0.0.2-beta.12] - 2024-07-05
102
- ### New Changes
103
- - Updated Button
104
-
105
-
106
- ## [0.0.2-beta.11] - 2024-07-04
107
- ### New Changes
108
- - Added ActionBar, Header, ActionButton variant for Button
109
- - Updated Timeline Molecule
110
-
111
- ## [0.0.2-beta.10] - 2024-06-28
112
- ### New Changes
113
- - Added Card Variants
114
-
115
- ## [0.0.2-beta.9] - 2024-06-25
116
- ### New Changes
117
- - Updated Uploader preview
118
-
119
- ## [0.0.2-beta.8] - 2024-06-24
120
- ### New Changes
121
- - Added Title prop for Button
122
-
123
- ## [0.0.2-beta.7] - 2024-06-24
124
- ### New Changes
125
- - Added ViewMore button for Timeline Molecule.
126
-
127
- ## [0.0.2-beta.6] - 2024-06-19
128
- ### New Changes
129
- - Added BreadCrumb Component.
130
-
131
- ## [0.0.2-beta.5] - 2024-06-17
132
- ### New Changes
133
- - Added Timeline Molecule.
134
-
135
- ## [0.0.2-beta.4] - 2024-06-15
136
- ### Changed
137
- - fix: Fixed prop for the document upload.
138
-
139
- ## [0.0.2-beta.3] - 2024-06-14
140
- ### Changed
141
- - Updated Storybook
142
- - Modified BackButton as BackLink
143
-
144
- ## [0.0.2-beta.1] - 2024-06-04
145
- ### Changed
146
- - Updated Popup Classname
147
- - Added InfoCard Header Classname
148
-
149
- ## [0.0.2] - 2024-06-03
150
- - New components and enhancements for old components
151
-
152
- ### New Changes
153
-
154
- - Added Error Message Component.
155
- - Added Info Button Component.
156
- - Added Panels Component.
157
- - Added Popup Component With Two Variants defualt and alert.
158
- - Added RemoveableTag Component.
159
- - Added Stepper Component.
160
- - Added TextBlock Component.
161
- - Added Timeline Component.
162
- - Added Uploader Component With Three Varinats UploadFile,UploadPopup and UploadImage.
163
- - Added PanelCard Molecule.
164
-
165
- ### Enhancements
166
-
167
- - Updated Button Component Styles.
168
- - Updated Dropdown Component Styles and Added SelectAll Option.
169
- - Updated InfoCard Component Styles.
170
- - Added Animation for Toast.
171
- - Added new prop named type for Toast replacing the separate props for `info`, `warning`, and `error`.
172
- - Updated Typography with lineHeight
173
- - Updated Color Typography
174
-
175
- ## [0.0.1-beta.32] - YYYY-MM-DD
176
- ### Changed
177
- - Updated Panel Success Animation
178
-
179
- ## [0.0.1-beta.31] - YYYY-MM-DD
180
- ### Added
181
- - New prop named `activeSteps` in Stepper
182
-
183
- ## [0.0.1-beta.30] - YYYY-MM-DD
184
- ### Changed
185
- - Updated Panel Animation Styles
186
-
187
- ## [0.0.1-beta.29] - YYYY-MM-DD
188
- ### Added
189
- - PopUp, Panels, and Panel Cards
190
-
191
- ## [0.0.1-beta.28] - YYYY-MM-DD
192
- ### Added
193
- - `restrictSelection` prop in MultiSelectDropdown
194
-
195
- ## [0.0.1-beta.27] - YYYY-MM-DD
196
- ### Added
197
- - Uploader variants and its CSS
198
-
199
- ## [0.0.1-beta.26] - YYYY-MM-DD
200
- ### Changed
201
- - Updated Toast Usage
202
-
203
- ## [0.0.1-beta.25] - YYYY-MM-DD
204
- ### Changed
205
- - Updated RemoveableTag component to have error
206
-
207
- ## [0.0.1-beta.24] - YYYY-MM-DD
208
- ### Changed
209
- - Updated numeric type to disable input and use only buttons
210
- - Made date and time fields clickable
211
-
212
- ## [0.0.1-beta.23] - YYYY-MM-DD
213
- ### Added
214
- - New props `showIcon`, `truncateMessage`, and `maxLength` to ErrorMessage component
215
-
216
- ## [0.0.1-beta.22] - YYYY-MM-DD
217
- ### Changed
218
- - `Toast` component now has a new prop `type`, replacing the separate props for `info`, `warning`, and `error`
219
-
220
- ## [0.0.1-beta.21] - YYYY-MM-DD
221
- ### Added
222
- - `categorySelectAllState` in the nestedmultiselect variant of MultiSelectDropdown
223
-
224
- ## [0.0.1-beta.20] - YYYY-MM-DD
225
- ### Changed
226
- - Updated MultiSelectDropdown `categoryselectall` functionality
227
- - Added key navigation for dropdown options
228
-
229
- ## [0.0.1-beta.19] - YYYY-MM-DD
230
- ### Changed
231
- - Made CheckBox more customizable
232
- - Added custom color for Button
233
-
234
- ## [0.0.1-beta.18] - YYYY-MM-DD
235
- ### Changed
236
- - Updated dropdown option labels
237
-
238
- ## [0.0.1-beta.17] - YYYY-MM-DD
239
- ### Changed
240
- - Updated Toast info variant CSS
241
- - Updated category option CSS
242
-
243
- ## [0.0.1-beta.16] - YYYY-MM-DD
244
- ### Added
245
- - Error boundary atom
246
-
247
- ## [0.0.1-beta.15] - YYYY-MM-DD
248
- ### Added
249
- - Info variant for Toast
250
-
251
- ## [0.0.1-beta.14] - YYYY-MM-DD
252
- ### Changed
253
- - Updated dropdown options label to use `optionsKey`
254
-
255
- ## [0.0.1-beta.13] - YYYY-MM-DD
256
- ### Changed
257
- - Updated nested and tree dropdown variant
258
-
259
- ## [0.0.1-beta.12] - YYYY-MM-DD
260
- ### Changed
261
- - Enhancements of components
262
-
263
- ## [0.0.1-beta.11] - YYYY-MM-DD
264
- ### Changed
265
- - Updated `mobilenumber` classname
266
-
267
- ## [0.0.1-beta.10] - YYYY-MM-DD
268
- ### Changed
269
- - Updated header and textinput classnames
270
-
271
- ## [0.0.1-beta.9] - YYYY-MM-DD
272
- ### Changed
273
- - Updated key to `IS_STRING_MANIPULATED`
274
-
275
- ## [0.0.1-beta.8] - YYYY-MM-DD
276
- ### Changed
277
- - Updated the string manipulation based on `globalConfig` flag `isStringManipulated`
278
-
279
- ## [0.0.1-beta.7] - YYYY-MM-DD
280
- ### Changed
281
- - Updated classnames
282
-
283
- ## [0.0.1-beta.6] - YYYY-MM-DD
284
- ### Changed
285
- - Updated version
286
-
287
- ## [0.0.1-beta.5] - YYYY-MM-DD
288
- ### Changed
289
- - Modified classnames
290
-
291
- ## [0.0.1-beta.4] - YYYY-MM-DD
292
- ### Fixed
293
- - Fixed some date issues
294
-
295
- ## [0.0.1] - 2024-03-22
296
- ### Added Base version
297
- - Button Component.
298
- - Dropdown Component.
299
- - InfoCard Component.
300
- - Toast.
301
- - Input fields.