@egovernments/digit-ui-components 0.0.2-test.3 → 0.0.2-webpack-20

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,71 +1,55 @@
1
1
  {
2
2
  "name": "@egovernments/digit-ui-components",
3
- "version": "0.0.2-test.3",
3
+ "version": "0.0.2-webpack-20",
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
- "@storybook/blocks":"8.3.5",
38
- "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",
39
26
  "cross-env": "7.0.3",
40
- "gh-pages": "2.2.0",
41
- "husky": "7.0.4",
42
27
  "lint-staged": "12.3.7",
43
- "microbundle-crl": "0.13.11",
44
- "react": "17.0.2",
45
- "react-dom": "17.0.2",
46
- "react-query": "3.6.1",
47
- "react-responsive": "9.0.2",
48
- "react-router-dom": "5.3.0",
49
- "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"
50
32
  },
51
33
  "files": [
52
34
  "dist"
53
35
  ],
54
- "dependencies": {
55
- "@egovernments/digit-ui-components-css": "0.0.2-beta.42",
56
- "@egovernments/digit-ui-libraries": "1.8.1-beta.1",
57
- "@egovernments/digit-ui-svg-components": "1.0.12",
58
- "@googlemaps/js-api-loader": "1.13.10",
36
+ "dependencies": {
37
+ "@egovernments/digit-ui-svg-components": "1.0.0-webpack-20",
59
38
  "autoprefixer": "^10.4.15",
39
+ "date-fns": "3.6.0",
40
+ "lodash": "^4.17.21",
60
41
  "postcss-flexbugs-fixes": "^5.0.2",
61
- "react-date-range": "1.3.0",
62
- "react-hook-form": "6.15.8",
63
- "react-i18next": "11.16.2",
64
- "react-table": "7.7.0",
65
- "react-drag-drop-files": "2.3.10",
66
- "@cyntler/react-doc-viewer": "1.10.3",
67
- "react-webcam":"7.2.0",
68
- "react-lottie":"1.2.4"
42
+ "react-date-range": "2.0.1",
43
+ "react-hook-form": "7.52.2",
44
+ "react-i18next": "15.0.0",
45
+ "react-lottie": "1.2.4",
46
+ "react-responsive": "10.0.0",
47
+ "react-router-dom": "6.25.1"
48
+ },
49
+ "peerDependencies": {
50
+ "react": "19.0.0",
51
+ "react-dom": "19.0.0",
52
+ "@tanstack/react-query": "^5.62.16"
69
53
  },
70
54
  "browserslist": {
71
55
  "production": [
@@ -83,7 +67,7 @@
83
67
  "digit",
84
68
  "core",
85
69
  "components",
86
- "dpg"
70
+ "dpg",
71
+ "webpack"
87
72
  ]
88
73
  }
89
-
package/CHANGELOG.md DELETED
@@ -1,339 +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
-
8
- ## [0.0.2-beta.56] - 2024-11-16
9
- ### New Changes
10
- - Added id for every field use with digit-ui-libraries with v1.8.5 for proper integartion
11
-
12
- ## [0.0.2-beta.54] - 2024-11-16
13
- ### New Changes
14
- - Fixed Navigation redirection for landing page card if it is an external url.
15
-
16
-
17
- ## [0.0.2-beta.51] - 2024-11-06
18
- ### New Changes
19
- - ButtonsGroup has been renamed as ButtonGroup
20
-
21
- ## [0.0.2-beta.50] - 2024-10-29
22
- ### New Changes
23
- - Updated Breadcrumb crumb.path property to crumb.internalLink or crumb.externalLink
24
-
25
- ## [0.0.2-beta.46] - 2024-10-11
26
- ### New Changes
27
- - Added MaterialUI Icons,Updated Colors and Spacers Stories
28
-
29
- ## [0.0.2-beta.44] - 2024-10-07
30
- ### New Changes
31
- - Added NestedTable, FilterCard and FormCards
32
-
33
- ## [0.0.2-beta.42] - 2024-09-23
34
- ### New Changes
35
- - Added Table Molecule
36
-
37
- ## [0.0.2-beta.41] - 2024-09-19
38
- ### New Changes
39
- - Added OTPInput
40
-
41
- ## [0.0.2-beta.40] - 2024-09-18
42
- ### New Changes
43
- - Added ChipsKey for Multiselectdropdown and configuration for close icon in chips
44
-
45
- ## [0.0.2-beta.39] - 2024-09-12
46
- ### New Changes
47
- - Added Tab Component and other changes
48
-
49
- ## [0.0.2-beta.38] - 2024-09-12
50
- ### fixes
51
- - Css version fix
52
-
53
- ## [0.0.2-beta.37] - 2024-09-06
54
- ### New Changes
55
- - Css version fix
56
-
57
- ## [0.0.2-beta.36] - 2024-09-06
58
- ### New Changes
59
- - Updated SelectionCard Component
60
-
61
- ## [0.0.2-beta.35] - 2024-09-06
62
- ### New Changes
63
- - Added LandingPageCard,MenuCard Molecules
64
-
65
- ## [0.0.2-beta.34] - 2024-09-05
66
- ### New Changes
67
- - Updated Accordion with animation
68
-
69
- ## [0.0.2-beta.33] - 2024-09-04
70
- ### New Changes
71
- - Added BottomSheet Draggable Functionality
72
-
73
- ## [0.0.2-beta.32] - 2024-09-04
74
- ### New Changes
75
- - Updated Tooltip with header and description
76
-
77
- ## [0.0.2-beta.28] - 2024-08-29
78
- ### New Changes
79
- - Updated Sidebar and added AccordionWrapper
80
-
81
- ## [0.0.2-beta.27] - 2024-08-27
82
- ### New Changes
83
- - Fixed MobileSidebar issue
84
-
85
- ## [0.0.2-beta.26] - 2024-08-27
86
- ### New Changes
87
- - Changed Classname for Submitbar disabled
88
-
89
- ## [0.0.2-beta.25] - 2024-08-22
90
- ### New Changes
91
- - Updated Sidebar,SVGs,Added Spacers and Accordion
92
-
93
- ## [0.0.2-beta.24] - 2024-08-16
94
- ### New Changes
95
- - Added Switch Component
96
-
97
- ## [0.0.2-beta.22] - 2024-08-07
98
- ### New Changes
99
- - Fixes on usgae of utils
100
-
101
- ## [0.0.2-beta.22] - 2024-08-07
102
- ### New Changes
103
- - Updated Tooltip Component
104
-
105
- ## [0.0.2-beta.21] - 2024-08-02
106
- ### New Changes
107
- - Added Tag Component
108
-
109
- ## [0.0.2-beta.20] - 2024-07-30
110
- ### New Changes
111
- - Added Error State for Timeline, SelectionCard Component
112
-
113
- ## [0.0.2-beta.18] - 2024-07-24
114
- ### New Changes
115
- - Fixed header dropdown selection
116
-
117
- ## [0.0.2-beta.17] - 2024-07-23
118
- ### New Changes
119
- - Updated multiselectdropdown
120
-
121
- ## [0.0.2-beta.16] - 2024-07-22
122
- ### New Changes
123
- - Updated prop for Menu
124
-
125
- ## [0.0.2-beta.15] - 2024-07-18
126
- ### New Changes
127
- - Added translation for option label
128
-
129
- ## [0.0.2-beta.14] - 2024-07-16
130
- ### New Changes
131
- - Added Sidebar and Hamburger
132
- - Updated Colors as constants
133
-
134
-
135
- ## [0.0.2-beta.13] - 2024-07-08
136
- ### New Changes
137
- - Updated Button OnClick and added digit footer images
138
-
139
- ## [0.0.2-beta.12] - 2024-07-05
140
- ### New Changes
141
- - Updated Button
142
-
143
-
144
- ## [0.0.2-beta.11] - 2024-07-04
145
- ### New Changes
146
- - Added ActionBar, Header, ActionButton variant for Button
147
- - Updated Timeline Molecule
148
-
149
- ## [0.0.2-beta.10] - 2024-06-28
150
- ### New Changes
151
- - Added Card Variants
152
-
153
- ## [0.0.2-beta.9] - 2024-06-25
154
- ### New Changes
155
- - Updated Uploader preview
156
-
157
- ## [0.0.2-beta.8] - 2024-06-24
158
- ### New Changes
159
- - Added Title prop for Button
160
-
161
- ## [0.0.2-beta.7] - 2024-06-24
162
- ### New Changes
163
- - Added ViewMore button for Timeline Molecule.
164
-
165
- ## [0.0.2-beta.6] - 2024-06-19
166
- ### New Changes
167
- - Added BreadCrumb Component.
168
-
169
- ## [0.0.2-beta.5] - 2024-06-17
170
- ### New Changes
171
- - Added Timeline Molecule.
172
-
173
- ## [0.0.2-beta.4] - 2024-06-15
174
- ### Changed
175
- - fix: Fixed prop for the document upload.
176
-
177
- ## [0.0.2-beta.3] - 2024-06-14
178
- ### Changed
179
- - Updated Storybook
180
- - Modified BackButton as BackLink
181
-
182
- ## [0.0.2-beta.1] - 2024-06-04
183
- ### Changed
184
- - Updated Popup Classname
185
- - Added InfoCard Header Classname
186
-
187
- ## [0.0.2] - 2024-06-03
188
- - New components and enhancements for old components
189
-
190
- ### New Changes
191
-
192
- - Added Error Message Component.
193
- - Added Info Button Component.
194
- - Added Panels Component.
195
- - Added Popup Component With Two Variants defualt and alert.
196
- - Added RemoveableTag Component.
197
- - Added Stepper Component.
198
- - Added TextBlock Component.
199
- - Added Timeline Component.
200
- - Added Uploader Component With Three Varinats UploadFile,UploadPopup and UploadImage.
201
- - Added PanelCard Molecule.
202
-
203
- ### Enhancements
204
-
205
- - Updated Button Component Styles.
206
- - Updated Dropdown Component Styles and Added SelectAll Option.
207
- - Updated InfoCard Component Styles.
208
- - Added Animation for Toast.
209
- - Added new prop named type for Toast replacing the separate props for `info`, `warning`, and `error`.
210
- - Updated Typography with lineHeight
211
- - Updated Color Typography
212
-
213
- ## [0.0.1-beta.32] - YYYY-MM-DD
214
- ### Changed
215
- - Updated Panel Success Animation
216
-
217
- ## [0.0.1-beta.31] - YYYY-MM-DD
218
- ### Added
219
- - New prop named `activeSteps` in Stepper
220
-
221
- ## [0.0.1-beta.30] - YYYY-MM-DD
222
- ### Changed
223
- - Updated Panel Animation Styles
224
-
225
- ## [0.0.1-beta.29] - YYYY-MM-DD
226
- ### Added
227
- - PopUp, Panels, and Panel Cards
228
-
229
- ## [0.0.1-beta.28] - YYYY-MM-DD
230
- ### Added
231
- - `restrictSelection` prop in MultiSelectDropdown
232
-
233
- ## [0.0.1-beta.27] - YYYY-MM-DD
234
- ### Added
235
- - Uploader variants and its CSS
236
-
237
- ## [0.0.1-beta.26] - YYYY-MM-DD
238
- ### Changed
239
- - Updated Toast Usage
240
-
241
- ## [0.0.1-beta.25] - YYYY-MM-DD
242
- ### Changed
243
- - Updated RemoveableTag component to have error
244
-
245
- ## [0.0.1-beta.24] - YYYY-MM-DD
246
- ### Changed
247
- - Updated numeric type to disable input and use only buttons
248
- - Made date and time fields clickable
249
-
250
- ## [0.0.1-beta.23] - YYYY-MM-DD
251
- ### Added
252
- - New props `showIcon`, `truncateMessage`, and `maxLength` to ErrorMessage component
253
-
254
- ## [0.0.1-beta.22] - YYYY-MM-DD
255
- ### Changed
256
- - `Toast` component now has a new prop `type`, replacing the separate props for `info`, `warning`, and `error`
257
-
258
- ## [0.0.1-beta.21] - YYYY-MM-DD
259
- ### Added
260
- - `categorySelectAllState` in the nestedmultiselect variant of MultiSelectDropdown
261
-
262
- ## [0.0.1-beta.20] - YYYY-MM-DD
263
- ### Changed
264
- - Updated MultiSelectDropdown `categoryselectall` functionality
265
- - Added key navigation for dropdown options
266
-
267
- ## [0.0.1-beta.19] - YYYY-MM-DD
268
- ### Changed
269
- - Made CheckBox more customizable
270
- - Added custom color for Button
271
-
272
- ## [0.0.1-beta.18] - YYYY-MM-DD
273
- ### Changed
274
- - Updated dropdown option labels
275
-
276
- ## [0.0.1-beta.17] - YYYY-MM-DD
277
- ### Changed
278
- - Updated Toast info variant CSS
279
- - Updated category option CSS
280
-
281
- ## [0.0.1-beta.16] - YYYY-MM-DD
282
- ### Added
283
- - Error boundary atom
284
-
285
- ## [0.0.1-beta.15] - YYYY-MM-DD
286
- ### Added
287
- - Info variant for Toast
288
-
289
- ## [0.0.1-beta.14] - YYYY-MM-DD
290
- ### Changed
291
- - Updated dropdown options label to use `optionsKey`
292
-
293
- ## [0.0.1-beta.13] - YYYY-MM-DD
294
- ### Changed
295
- - Updated nested and tree dropdown variant
296
-
297
- ## [0.0.1-beta.12] - YYYY-MM-DD
298
- ### Changed
299
- - Enhancements of components
300
-
301
- ## [0.0.1-beta.11] - YYYY-MM-DD
302
- ### Changed
303
- - Updated `mobilenumber` classname
304
-
305
- ## [0.0.1-beta.10] - YYYY-MM-DD
306
- ### Changed
307
- - Updated header and textinput classnames
308
-
309
- ## [0.0.1-beta.9] - YYYY-MM-DD
310
- ### Changed
311
- - Updated key to `IS_STRING_MANIPULATED`
312
-
313
- ## [0.0.1-beta.8] - YYYY-MM-DD
314
- ### Changed
315
- - Updated the string manipulation based on `globalConfig` flag `isStringManipulated`
316
-
317
- ## [0.0.1-beta.7] - YYYY-MM-DD
318
- ### Changed
319
- - Updated classnames
320
-
321
- ## [0.0.1-beta.6] - YYYY-MM-DD
322
- ### Changed
323
- - Updated version
324
-
325
- ## [0.0.1-beta.5] - YYYY-MM-DD
326
- ### Changed
327
- - Modified classnames
328
-
329
- ## [0.0.1-beta.4] - YYYY-MM-DD
330
- ### Fixed
331
- - Fixed some date issues
332
-
333
- ## [0.0.1] - 2024-03-22
334
- ### Added Base version
335
- - Button Component.
336
- - Dropdown Component.
337
- - InfoCard Component.
338
- - Toast.
339
- - Input fields.