@egovernments/digit-ui-components 0.2.2 → 2.0.0-rc19-01

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,73 +1,92 @@
1
1
  {
2
2
  "name": "@egovernments/digit-ui-components",
3
- "version": "0.2.2",
3
+ "version": "2.0.0-rc19-01",
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
+ "start": "webpack serve --mode=development --open --hot",
15
+ "start:prod": "webpack serve --mode=production --open",
14
16
  "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",
17
+ "build": "NODE_OPTIONS='--openssl-legacy-provider' webpack --mode=production --config webpack.config.js",
18
+ "build:dev": "NODE_OPTIONS='--openssl-legacy-provider' webpack --mode=development --config webpack.config.js",
19
+ "build:analyze": "NODE_OPTIONS='--openssl-legacy-provider' webpack --mode=production --analyze --config webpack.config.js",
17
20
  "prepare": "yarn build",
18
- "publish:components": "npm publish --tag core-v0.1",
21
+ "publish:components": "npm publish --tag core-webpack-v0.1",
19
22
  "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"
23
+ "storybook": "storybook dev -p 6006",
24
+ "build-storybook": "storybook build"
29
25
  },
30
26
  "devDependencies": {
31
- "@storybook/addon-actions": "6.4.20",
32
- "@storybook/addon-essentials": "6.4.20",
33
- "@storybook/addon-links": "6.4.20",
27
+ "@storybook/react": "8.6.14",
28
+ "@storybook/react-webpack5": "8.6.14",
29
+ "@storybook/addon-docs": "8.6.14",
30
+ "@storybook/addon-essentials": "8.6.14",
31
+ "@storybook/addon-interactions": "8.6.14",
32
+ "@storybook/addon-a11y": "8.6.14",
33
+ "@storybook/addon-actions": "8.6.14",
34
+ "@storybook/addon-links": "8.6.14",
35
+ "@storybook/addon-onboarding": "8.6.14",
36
+ "@storybook/addon-webpack5-compiler-swc": "3.0.0",
37
+ "@babel/core": "^7.23.3",
38
+ "@babel/preset-env": "^7.23.3",
39
+ "@babel/preset-react": "^7.23.3",
40
+ "@storybook/blocks": "8.6.14",
34
41
  "@storybook/node-logger": "6.4.20",
35
42
  "@storybook/preset-create-react-app": "3.2.0",
36
- "@storybook/react": "6.4.20",
37
- "@storybook/blocks":"8.3.5",
43
+ "@storybook/test": "8.6.14",
38
44
  "babel-eslint": "10.1.0",
45
+ "@babel/plugin-transform-optional-chaining": "^7.23.4",
46
+ "@babel/plugin-transform-nullish-coalescing-operator": "^7.23.4",
47
+ "babel-plugin-transform-remove-console": "^6.9.4",
48
+ "babel-loader": "8.0.0",
49
+ "core-js": "^3.38.1",
39
50
  "cross-env": "7.0.3",
40
- "gh-pages": "2.2.0",
41
- "husky": "7.0.4",
51
+ "css-loader": "^7.1.2",
42
52
  "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"
53
+ "prop-types": "15.8.1",
54
+ "storybook": "8.6.14",
55
+ "react": "19.0.0",
56
+ "react-dom": "19.0.0",
57
+ "style-loader": "^4.0.0",
58
+ "webpack": "^5.97.1",
59
+ "webpack-cli": "^4.10.0",
60
+ "react-router-dom": "6.25.1",
61
+ "@tanstack/react-query": "^5.62.16"
50
62
  },
51
63
  "files": [
52
64
  "dist"
53
65
  ],
54
- "dependencies": {
55
- "react-data-table-component": "7.6.2",
56
- "@egovernments/digit-ui-components-css": "0.2.1",
57
- "@egovernments/digit-ui-libraries": "1.8.10",
58
- "@egovernments/digit-ui-svg-components": "1.0.14",
59
- "@googlemaps/js-api-loader": "1.13.10",
66
+ "dependencies": {
67
+ "@egovernments/digit-ui-svg-components": "2.0.0-rc19-01",
68
+ "@egovernments/digit-ui-libraries": "2.0.0-rc19-01",
69
+ "@egovernments/digit-ui-components-css":"0.2.0-beta.14",
60
70
  "autoprefixer": "^10.4.15",
71
+ "date-fns": "3.6.0",
72
+ "lodash": "^4.17.21",
61
73
  "postcss-flexbugs-fixes": "^5.0.2",
62
- "react-date-range": "1.3.0",
63
- "react-hook-form": "6.15.8",
64
- "react-i18next": "11.16.2",
74
+ "react-data-table-component": "7.6.2",
75
+ "react-date-range": "2.0.1",
76
+ "react-datepicker": "^8.4.0",
77
+ "react-hook-form": "7.52.2",
78
+ "react-i18next": "15.0.0",
79
+ "react-lottie": "1.2.4",
80
+ "react-responsive": "10.0.0",
81
+ "react-webcam": "7.2.0",
65
82
  "react-table": "7.7.0",
66
- "react-drag-drop-files": "2.3.10",
67
- "@cyntler/react-doc-viewer": "1.10.3",
68
- "react-webcam":"7.2.0",
69
- "react-lottie":"1.2.4",
70
- "styled-components":"5.0.0"
83
+ "react-drag-drop-files": "2.3.10"
84
+ },
85
+ "peerDependencies": {
86
+ "react": "19.0.0",
87
+ "react-dom": "19.0.0",
88
+ "react-router-dom": "6.25.1",
89
+ "@tanstack/react-query": "^5.62.16"
71
90
  },
72
91
  "browserslist": {
73
92
  "production": [
@@ -85,7 +104,7 @@
85
104
  "digit",
86
105
  "core",
87
106
  "components",
88
- "dpg"
107
+ "dpg",
108
+ "webpack"
89
109
  ]
90
110
  }
91
-
package/CHANGELOG.md DELETED
@@ -1,433 +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.2.0] - 2025-02-19
8
- ### New Components Added
9
-
10
- ## Atoms
11
- - Accordion
12
- - ActionButton
13
- - AlertCard
14
- - BackLink
15
- - BreadCrumb
16
- - Button
17
- - CheckBox
18
- - Chip
19
- - Divider
20
- - Dropdown
21
- - Panels
22
- - FileUpload
23
- - Loader
24
- - MultiselectDropdown
25
- - OTPInput
26
- - RadioButton
27
- - SelectionTag
28
- - Stepper
29
- - Switch
30
- - Tab
31
- - Tag
32
- - TextBlock
33
- - TextInput
34
- - Timeline
35
- - Toast
36
- - Toggle
37
- - Tooltip
38
-
39
- ## Molecules
40
- - AccordionList
41
- - PopUp
42
- - Card (Basic,FormCard,SummaryCard)
43
- - BottomSheet
44
- - ButtonGroup
45
- - Header
46
- - SidePanel
47
- - PanelCard
48
- - FilterCard
49
- - Footer
50
- - Hamburger
51
- - LandingPageCard
52
- - MenuCard
53
- - MetricCard
54
- - SideNav
55
- - TableMolecule
56
- - TimelineMolecule
57
- - TooltipWrapper
58
-
59
- ## MoleculeGroup
60
- - LandingPageWrapper
61
- - MenuCardWrapper
62
-
63
- ### New Changes Added
64
- - Added external link support in LandingPageCards
65
- - Added external link support in BreadCrumbs
66
- - Added Spacers, Colors, Typography library
67
- - Added Icons
68
- - Added Animations
69
- - Added Error Message Component.
70
- - Added Info Button Component.
71
- - Added RemoveableTag Component.
72
- - Added Uploader Component With Three Varinats UploadFile,UploadPopup and UploadImage.
73
- - Supporting multiple variants in Dropdown and MultiSelectDropdown components
74
-
75
-
76
- ## [0.0.2-beta.66] - 2025-02-13
77
- ### New Changes
78
- - Added id prop for checkox input
79
-
80
- ## [0.0.2-beta.65] - 2025-01-27
81
- ### New Changes
82
- - ViewCard is renamed as SummaryCard
83
- - ViewCardFieldPair is renamed as SummaryCardFieldPair
84
- - Header is renamed as HeaderComponent
85
- - TopBar is renamed as Header
86
- - Hamburger is renamed as HamburgerButton
87
- - MobileSideNav is renamed as Hamburger
88
- - LoaderScreen Component is removed
89
- - LoaderComponent is renamed as Loader
90
-
91
- ## [0.0.2-beta.60] - 2024-12-26
92
- ### New Changes
93
- - SelectionCard Component is renamed as SelectionTag Component
94
- - AccordionWrapper Molecule is renamed as AccordionList
95
- - Sidebar Molecule is renamed as SideNav
96
- - MobileSideBar Molecule is renamed as MobileSideNav
97
- - SlideOverMenu Molecule is renamed as SidePanel
98
- - InfoCard Component is renamed as AlertCard
99
- - Uploader Component is renamed as FileUpload
100
- - ActionBar Component is renamed as Footer
101
-
102
- ## [0.0.2-beta.56] - 2024-11-16
103
- ### New Changes
104
- - Added id for every field use with digit-ui-libraries with v1.8.5 for proper integartion
105
-
106
- ## [0.0.2-beta.54] - 2024-11-16
107
- ### New Changes
108
- - Fixed Navigation redirection for landing page card if it is an external url.
109
-
110
-
111
- ## [0.0.2-beta.51] - 2024-11-06
112
- ### New Changes
113
- - ButtonsGroup has been renamed as ButtonGroup
114
-
115
- ## [0.0.2-beta.50] - 2024-10-29
116
- ### New Changes
117
- - Updated Breadcrumb crumb.path property to crumb.internalLink or crumb.externalLink
118
-
119
- ## [0.0.2-beta.46] - 2024-10-11
120
- ### New Changes
121
- - Added MaterialUI Icons,Updated Colors and Spacers Stories
122
-
123
- ## [0.0.2-beta.44] - 2024-10-07
124
- ### New Changes
125
- - Added NestedTable, FilterCard and FormCards
126
-
127
- ## [0.0.2-beta.42] - 2024-09-23
128
- ### New Changes
129
- - Added Table Molecule
130
-
131
- ## [0.0.2-beta.41] - 2024-09-19
132
- ### New Changes
133
- - Added OTPInput
134
-
135
- ## [0.0.2-beta.40] - 2024-09-18
136
- ### New Changes
137
- - Added ChipsKey for Multiselectdropdown and configuration for close icon in chips
138
-
139
- ## [0.0.2-beta.39] - 2024-09-12
140
- ### New Changes
141
- - Added Tab Component and other changes
142
-
143
- ## [0.0.2-beta.38] - 2024-09-12
144
- ### fixes
145
- - Css version fix
146
-
147
- ## [0.0.2-beta.37] - 2024-09-06
148
- ### New Changes
149
- - Css version fix
150
-
151
- ## [0.0.2-beta.36] - 2024-09-06
152
- ### New Changes
153
- - Updated SelectionCard Component
154
-
155
- ## [0.0.2-beta.35] - 2024-09-06
156
- ### New Changes
157
- - Added LandingPageCard,MenuCard Molecules
158
-
159
- ## [0.0.2-beta.34] - 2024-09-05
160
- ### New Changes
161
- - Updated Accordion with animation
162
-
163
- ## [0.0.2-beta.33] - 2024-09-04
164
- ### New Changes
165
- - Added BottomSheet Draggable Functionality
166
-
167
- ## [0.0.2-beta.32] - 2024-09-04
168
- ### New Changes
169
- - Updated Tooltip with header and description
170
-
171
- ## [0.0.2-beta.28] - 2024-08-29
172
- ### New Changes
173
- - Updated Sidebar and added AccordionWrapper
174
-
175
- ## [0.0.2-beta.27] - 2024-08-27
176
- ### New Changes
177
- - Fixed MobileSidebar issue
178
-
179
- ## [0.0.2-beta.26] - 2024-08-27
180
- ### New Changes
181
- - Changed Classname for Submitbar disabled
182
-
183
- ## [0.0.2-beta.25] - 2024-08-22
184
- ### New Changes
185
- - Updated Sidebar,SVGs,Added Spacers and Accordion
186
-
187
- ## [0.0.2-beta.24] - 2024-08-16
188
- ### New Changes
189
- - Added Switch Component
190
-
191
- ## [0.0.2-beta.22] - 2024-08-07
192
- ### New Changes
193
- - Fixes on usgae of utils
194
-
195
- ## [0.0.2-beta.22] - 2024-08-07
196
- ### New Changes
197
- - Updated Tooltip Component
198
-
199
- ## [0.0.2-beta.21] - 2024-08-02
200
- ### New Changes
201
- - Added Tag Component
202
-
203
- ## [0.0.2-beta.20] - 2024-07-30
204
- ### New Changes
205
- - Added Error State for Timeline, SelectionCard Component
206
-
207
- ## [0.0.2-beta.18] - 2024-07-24
208
- ### New Changes
209
- - Fixed header dropdown selection
210
-
211
- ## [0.0.2-beta.17] - 2024-07-23
212
- ### New Changes
213
- - Updated multiselectdropdown
214
-
215
- ## [0.0.2-beta.16] - 2024-07-22
216
- ### New Changes
217
- - Updated prop for Menu
218
-
219
- ## [0.0.2-beta.15] - 2024-07-18
220
- ### New Changes
221
- - Added translation for option label
222
-
223
- ## [0.0.2-beta.14] - 2024-07-16
224
- ### New Changes
225
- - Added Sidebar and Hamburger
226
- - Updated Colors as constants
227
-
228
-
229
- ## [0.0.2-beta.13] - 2024-07-08
230
- ### New Changes
231
- - Updated Button OnClick and added digit footer images
232
-
233
- ## [0.0.2-beta.12] - 2024-07-05
234
- ### New Changes
235
- - Updated Button
236
-
237
-
238
- ## [0.0.2-beta.11] - 2024-07-04
239
- ### New Changes
240
- - Added ActionBar, Header, ActionButton variant for Button
241
- - Updated Timeline Molecule
242
-
243
- ## [0.0.2-beta.10] - 2024-06-28
244
- ### New Changes
245
- - Added Card Variants
246
-
247
- ## [0.0.2-beta.9] - 2024-06-25
248
- ### New Changes
249
- - Updated Uploader preview
250
-
251
- ## [0.0.2-beta.8] - 2024-06-24
252
- ### New Changes
253
- - Added Title prop for Button
254
-
255
- ## [0.0.2-beta.7] - 2024-06-24
256
- ### New Changes
257
- - Added ViewMore button for Timeline Molecule.
258
-
259
- ## [0.0.2-beta.6] - 2024-06-19
260
- ### New Changes
261
- - Added BreadCrumb Component.
262
-
263
- ## [0.0.2-beta.5] - 2024-06-17
264
- ### New Changes
265
- - Added Timeline Molecule.
266
-
267
- ## [0.0.2-beta.4] - 2024-06-15
268
- ### Changed
269
- - fix: Fixed prop for the document upload.
270
-
271
- ## [0.0.2-beta.3] - 2024-06-14
272
- ### Changed
273
- - Updated Storybook
274
- - Modified BackButton as BackLink
275
-
276
- ## [0.0.2-beta.1] - 2024-06-04
277
- ### Changed
278
- - Updated Popup Classname
279
- - Added InfoCard Header Classname
280
-
281
- ## [0.0.2] - 2024-06-03
282
- - New components and enhancements for old components
283
-
284
- ### New Changes
285
-
286
- - Added Error Message Component.
287
- - Added Info Button Component.
288
- - Added Panels Component.
289
- - Added Popup Component With Two Variants defualt and alert.
290
- - Added RemoveableTag Component.
291
- - Added Stepper Component.
292
- - Added TextBlock Component.
293
- - Added Timeline Component.
294
- - Added Uploader Component With Three Varinats UploadFile,UploadPopup and UploadImage.
295
- - Added PanelCard Molecule.
296
-
297
- ### Enhancements
298
-
299
- - Updated Button Component Styles.
300
- - Updated Dropdown Component Styles and Added SelectAll Option.
301
- - Updated InfoCard Component Styles.
302
- - Added Animation for Toast.
303
- - Added new prop named type for Toast replacing the separate props for `info`, `warning`, and `error`.
304
- - Updated Typography with lineHeight
305
- - Updated Color Typography
306
-
307
- ## [0.0.1-beta.32] - YYYY-MM-DD
308
- ### Changed
309
- - Updated Panel Success Animation
310
-
311
- ## [0.0.1-beta.31] - YYYY-MM-DD
312
- ### Added
313
- - New prop named `activeSteps` in Stepper
314
-
315
- ## [0.0.1-beta.30] - YYYY-MM-DD
316
- ### Changed
317
- - Updated Panel Animation Styles
318
-
319
- ## [0.0.1-beta.29] - YYYY-MM-DD
320
- ### Added
321
- - PopUp, Panels, and Panel Cards
322
-
323
- ## [0.0.1-beta.28] - YYYY-MM-DD
324
- ### Added
325
- - `restrictSelection` prop in MultiSelectDropdown
326
-
327
- ## [0.0.1-beta.27] - YYYY-MM-DD
328
- ### Added
329
- - Uploader variants and its CSS
330
-
331
- ## [0.0.1-beta.26] - YYYY-MM-DD
332
- ### Changed
333
- - Updated Toast Usage
334
-
335
- ## [0.0.1-beta.25] - YYYY-MM-DD
336
- ### Changed
337
- - Updated RemoveableTag component to have error
338
-
339
- ## [0.0.1-beta.24] - YYYY-MM-DD
340
- ### Changed
341
- - Updated numeric type to disable input and use only buttons
342
- - Made date and time fields clickable
343
-
344
- ## [0.0.1-beta.23] - YYYY-MM-DD
345
- ### Added
346
- - New props `showIcon`, `truncateMessage`, and `maxLength` to ErrorMessage component
347
-
348
- ## [0.0.1-beta.22] - YYYY-MM-DD
349
- ### Changed
350
- - `Toast` component now has a new prop `type`, replacing the separate props for `info`, `warning`, and `error`
351
-
352
- ## [0.0.1-beta.21] - YYYY-MM-DD
353
- ### Added
354
- - `categorySelectAllState` in the nestedmultiselect variant of MultiSelectDropdown
355
-
356
- ## [0.0.1-beta.20] - YYYY-MM-DD
357
- ### Changed
358
- - Updated MultiSelectDropdown `categoryselectall` functionality
359
- - Added key navigation for dropdown options
360
-
361
- ## [0.0.1-beta.19] - YYYY-MM-DD
362
- ### Changed
363
- - Made CheckBox more customizable
364
- - Added custom color for Button
365
-
366
- ## [0.0.1-beta.18] - YYYY-MM-DD
367
- ### Changed
368
- - Updated dropdown option labels
369
-
370
- ## [0.0.1-beta.17] - YYYY-MM-DD
371
- ### Changed
372
- - Updated Toast info variant CSS
373
- - Updated category option CSS
374
-
375
- ## [0.0.1-beta.16] - YYYY-MM-DD
376
- ### Added
377
- - Error boundary atom
378
-
379
- ## [0.0.1-beta.15] - YYYY-MM-DD
380
- ### Added
381
- - Info variant for Toast
382
-
383
- ## [0.0.1-beta.14] - YYYY-MM-DD
384
- ### Changed
385
- - Updated dropdown options label to use `optionsKey`
386
-
387
- ## [0.0.1-beta.13] - YYYY-MM-DD
388
- ### Changed
389
- - Updated nested and tree dropdown variant
390
-
391
- ## [0.0.1-beta.12] - YYYY-MM-DD
392
- ### Changed
393
- - Enhancements of components
394
-
395
- ## [0.0.1-beta.11] - YYYY-MM-DD
396
- ### Changed
397
- - Updated `mobilenumber` classname
398
-
399
- ## [0.0.1-beta.10] - YYYY-MM-DD
400
- ### Changed
401
- - Updated header and textinput classnames
402
-
403
- ## [0.0.1-beta.9] - YYYY-MM-DD
404
- ### Changed
405
- - Updated key to `IS_STRING_MANIPULATED`
406
-
407
- ## [0.0.1-beta.8] - YYYY-MM-DD
408
- ### Changed
409
- - Updated the string manipulation based on `globalConfig` flag `isStringManipulated`
410
-
411
- ## [0.0.1-beta.7] - YYYY-MM-DD
412
- ### Changed
413
- - Updated classnames
414
-
415
- ## [0.0.1-beta.6] - YYYY-MM-DD
416
- ### Changed
417
- - Updated version
418
-
419
- ## [0.0.1-beta.5] - YYYY-MM-DD
420
- ### Changed
421
- - Modified classnames
422
-
423
- ## [0.0.1-beta.4] - YYYY-MM-DD
424
- ### Fixed
425
- - Fixed some date issues
426
-
427
- ## [0.0.1] - 2024-03-22
428
- ### Added Base version
429
- - Button Component.
430
- - Dropdown Component.
431
- - InfoCard Component.
432
- - Toast.
433
- - Input fields.