@egovernments/digit-ui-components 0.2.0-beta.9 → 0.2.0-stable

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.0-beta.9",
3
+ "version": "0.2.0-stable",
4
4
  "license": "MIT",
5
- "main": "dist/index.js",
6
- "module": "dist/index.modern.js",
5
+ "main": "build/main.js",
6
+ "module": "build/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
- "dist"
64
+ "build"
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": "1.0.22-stable",
68
+ "@egovernments/digit-ui-libraries": "1.8.18-stable",
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,473 +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-beta.8] - 2025-04-03
8
- ## Updates
9
- - Version Update for stability
10
-
11
- ### [0.2.0-beta.7] - 2025-03-26
12
- ## Enhancements & New features
13
- ## Edit Row data within InboxSearchComposer within rows and with popups based on config
14
- ## Added customizers support i.e., we don't need to mention functions in UICustomizations.js we can directly mention within component level
15
-
16
- ### [0.2.0-beta.5] - 2025-03-26
17
- ## Fixes
18
- - Fixed Tab Functionality in InboxSearchComposer
19
-
20
- ### [0.2.0-beta.3] - 2025-03-20
21
- ## Fixes
22
- - Fixed multiple calls issue in InboxSearchLinks
23
- - Fixed onSubmit function for FilterCard
24
-
25
- ### [0.2.0-beta.2] - 2025-03-13
26
- ## Enhancements
27
- - Multiselect Dropdown now supports adding limit for chips and onClick function
28
-
29
- ## New Changes Added
30
- - InboxSearchComposer now supports footer actions
31
- - Updated the config structure for results table - inbox and search screens
32
-
33
-
34
- ## [0.2.0-beta.1] - 2025-03-06
35
- ## New Components Added
36
- - ResultsDataTableWrapper and ResultsDataTable components were added
37
- - Integrated InboxSearchComposer with ResultsDataTableWrapper
38
-
39
- ## Enhancements in Multiselectdropdown
40
- - Limiting chips to be shown functionality
41
- - Frozen Data functionality
42
- - Searchable functionality for nested multiselect variant
43
-
44
- ## Other Changes
45
- - Added onClose function as a prop in SidePanel
46
-
47
- ## [0.2.0] - 2025-02-19
48
- ### New Components Added
49
-
50
- ## Atoms
51
- - Accordion
52
- - ActionButton
53
- - AlertCard
54
- - BackLink
55
- - BreadCrumb
56
- - Button
57
- - CheckBox
58
- - Chip
59
- - Divider
60
- - Dropdown
61
- - Panels
62
- - FileUpload
63
- - Loader
64
- - MultiselectDropdown
65
- - OTPInput
66
- - RadioButton
67
- - SelectionTag
68
- - Stepper
69
- - Switch
70
- - Tab
71
- - Tag
72
- - TextBlock
73
- - TextInput
74
- - Timeline
75
- - Toast
76
- - Toggle
77
- - Tooltip
78
-
79
- ## Molecules
80
- - AccordionList
81
- - PopUp
82
- - Card (Basic,FormCard,SummaryCard)
83
- - BottomSheet
84
- - ButtonGroup
85
- - Header
86
- - SidePanel
87
- - PanelCard
88
- - FilterCard
89
- - Footer
90
- - Hamburger
91
- - LandingPageCard
92
- - MenuCard
93
- - MetricCard
94
- - SideNav
95
- - TableMolecule
96
- - TimelineMolecule
97
- - TooltipWrapper
98
-
99
- ## MoleculeGroup
100
- - LandingPageWrapper
101
- - MenuCardWrapper
102
-
103
- ### New Changes Added
104
- - Added external link support in LandingPageCards
105
- - Added external link support in BreadCrumbs
106
- - Added Spacers, Colors, Typography library
107
- - Added Icons
108
- - Added Animations
109
- - Added Error Message Component.
110
- - Added Info Button Component.
111
- - Added RemoveableTag Component.
112
- - Added Uploader Component With Three Varinats UploadFile,UploadPopup and UploadImage.
113
- - Supporting multiple variants in Dropdown and MultiSelectDropdown components
114
-
115
-
116
- ## [0.0.2-beta.66] - 2025-02-13
117
- ### New Changes
118
- - Added id prop for checkox input
119
-
120
- ## [0.0.2-beta.65] - 2025-01-27
121
- ### New Changes
122
- - ViewCard is renamed as SummaryCard
123
- - ViewCardFieldPair is renamed as SummaryCardFieldPair
124
- - Header is renamed as HeaderComponent
125
- - TopBar is renamed as Header
126
- - Hamburger is renamed as HamburgerButton
127
- - MobileSideNav is renamed as Hamburger
128
- - LoaderScreen Component is removed
129
- - LoaderComponent is renamed as Loader
130
-
131
- ## [0.0.2-beta.60] - 2024-12-26
132
- ### New Changes
133
- - SelectionCard Component is renamed as SelectionTag Component
134
- - AccordionWrapper Molecule is renamed as AccordionList
135
- - Sidebar Molecule is renamed as SideNav
136
- - MobileSideBar Molecule is renamed as MobileSideNav
137
- - SlideOverMenu Molecule is renamed as SidePanel
138
- - InfoCard Component is renamed as AlertCard
139
- - Uploader Component is renamed as FileUpload
140
- - ActionBar Component is renamed as Footer
141
-
142
- ## [0.0.2-beta.56] - 2024-11-16
143
- ### New Changes
144
- - Added id for every field use with digit-ui-libraries with v1.8.5 for proper integartion
145
-
146
- ## [0.0.2-beta.54] - 2024-11-16
147
- ### New Changes
148
- - Fixed Navigation redirection for landing page card if it is an external url.
149
-
150
-
151
- ## [0.0.2-beta.51] - 2024-11-06
152
- ### New Changes
153
- - ButtonsGroup has been renamed as ButtonGroup
154
-
155
- ## [0.0.2-beta.50] - 2024-10-29
156
- ### New Changes
157
- - Updated Breadcrumb crumb.path property to crumb.internalLink or crumb.externalLink
158
-
159
- ## [0.0.2-beta.46] - 2024-10-11
160
- ### New Changes
161
- - Added MaterialUI Icons,Updated Colors and Spacers Stories
162
-
163
- ## [0.0.2-beta.44] - 2024-10-07
164
- ### New Changes
165
- - Added NestedTable, FilterCard and FormCards
166
-
167
- ## [0.0.2-beta.42] - 2024-09-23
168
- ### New Changes
169
- - Added Table Molecule
170
-
171
- ## [0.0.2-beta.41] - 2024-09-19
172
- ### New Changes
173
- - Added OTPInput
174
-
175
- ## [0.0.2-beta.40] - 2024-09-18
176
- ### New Changes
177
- - Added ChipsKey for Multiselectdropdown and configuration for close icon in chips
178
-
179
- ## [0.0.2-beta.39] - 2024-09-12
180
- ### New Changes
181
- - Added Tab Component and other changes
182
-
183
- ## [0.0.2-beta.38] - 2024-09-12
184
- ### fixes
185
- - Css version fix
186
-
187
- ## [0.0.2-beta.37] - 2024-09-06
188
- ### New Changes
189
- - Css version fix
190
-
191
- ## [0.0.2-beta.36] - 2024-09-06
192
- ### New Changes
193
- - Updated SelectionCard Component
194
-
195
- ## [0.0.2-beta.35] - 2024-09-06
196
- ### New Changes
197
- - Added LandingPageCard,MenuCard Molecules
198
-
199
- ## [0.0.2-beta.34] - 2024-09-05
200
- ### New Changes
201
- - Updated Accordion with animation
202
-
203
- ## [0.0.2-beta.33] - 2024-09-04
204
- ### New Changes
205
- - Added BottomSheet Draggable Functionality
206
-
207
- ## [0.0.2-beta.32] - 2024-09-04
208
- ### New Changes
209
- - Updated Tooltip with header and description
210
-
211
- ## [0.0.2-beta.28] - 2024-08-29
212
- ### New Changes
213
- - Updated Sidebar and added AccordionWrapper
214
-
215
- ## [0.0.2-beta.27] - 2024-08-27
216
- ### New Changes
217
- - Fixed MobileSidebar issue
218
-
219
- ## [0.0.2-beta.26] - 2024-08-27
220
- ### New Changes
221
- - Changed Classname for Submitbar disabled
222
-
223
- ## [0.0.2-beta.25] - 2024-08-22
224
- ### New Changes
225
- - Updated Sidebar,SVGs,Added Spacers and Accordion
226
-
227
- ## [0.0.2-beta.24] - 2024-08-16
228
- ### New Changes
229
- - Added Switch Component
230
-
231
- ## [0.0.2-beta.22] - 2024-08-07
232
- ### New Changes
233
- - Fixes on usgae of utils
234
-
235
- ## [0.0.2-beta.22] - 2024-08-07
236
- ### New Changes
237
- - Updated Tooltip Component
238
-
239
- ## [0.0.2-beta.21] - 2024-08-02
240
- ### New Changes
241
- - Added Tag Component
242
-
243
- ## [0.0.2-beta.20] - 2024-07-30
244
- ### New Changes
245
- - Added Error State for Timeline, SelectionCard Component
246
-
247
- ## [0.0.2-beta.18] - 2024-07-24
248
- ### New Changes
249
- - Fixed header dropdown selection
250
-
251
- ## [0.0.2-beta.17] - 2024-07-23
252
- ### New Changes
253
- - Updated multiselectdropdown
254
-
255
- ## [0.0.2-beta.16] - 2024-07-22
256
- ### New Changes
257
- - Updated prop for Menu
258
-
259
- ## [0.0.2-beta.15] - 2024-07-18
260
- ### New Changes
261
- - Added translation for option label
262
-
263
- ## [0.0.2-beta.14] - 2024-07-16
264
- ### New Changes
265
- - Added Sidebar and Hamburger
266
- - Updated Colors as constants
267
-
268
-
269
- ## [0.0.2-beta.13] - 2024-07-08
270
- ### New Changes
271
- - Updated Button OnClick and added digit footer images
272
-
273
- ## [0.0.2-beta.12] - 2024-07-05
274
- ### New Changes
275
- - Updated Button
276
-
277
-
278
- ## [0.0.2-beta.11] - 2024-07-04
279
- ### New Changes
280
- - Added ActionBar, Header, ActionButton variant for Button
281
- - Updated Timeline Molecule
282
-
283
- ## [0.0.2-beta.10] - 2024-06-28
284
- ### New Changes
285
- - Added Card Variants
286
-
287
- ## [0.0.2-beta.9] - 2024-06-25
288
- ### New Changes
289
- - Updated Uploader preview
290
-
291
- ## [0.0.2-beta.8] - 2024-06-24
292
- ### New Changes
293
- - Added Title prop for Button
294
-
295
- ## [0.0.2-beta.7] - 2024-06-24
296
- ### New Changes
297
- - Added ViewMore button for Timeline Molecule.
298
-
299
- ## [0.0.2-beta.6] - 2024-06-19
300
- ### New Changes
301
- - Added BreadCrumb Component.
302
-
303
- ## [0.0.2-beta.5] - 2024-06-17
304
- ### New Changes
305
- - Added Timeline Molecule.
306
-
307
- ## [0.0.2-beta.4] - 2024-06-15
308
- ### Changed
309
- - fix: Fixed prop for the document upload.
310
-
311
- ## [0.0.2-beta.3] - 2024-06-14
312
- ### Changed
313
- - Updated Storybook
314
- - Modified BackButton as BackLink
315
-
316
- ## [0.0.2-beta.1] - 2024-06-04
317
- ### Changed
318
- - Updated Popup Classname
319
- - Added InfoCard Header Classname
320
-
321
- ## [0.0.2] - 2024-06-03
322
- - New components and enhancements for old components
323
-
324
- ### New Changes
325
-
326
- - Added Error Message Component.
327
- - Added Info Button Component.
328
- - Added Panels Component.
329
- - Added Popup Component With Two Variants defualt and alert.
330
- - Added RemoveableTag Component.
331
- - Added Stepper Component.
332
- - Added TextBlock Component.
333
- - Added Timeline Component.
334
- - Added Uploader Component With Three Varinats UploadFile,UploadPopup and UploadImage.
335
- - Added PanelCard Molecule.
336
-
337
- ### Enhancements
338
-
339
- - Updated Button Component Styles.
340
- - Updated Dropdown Component Styles and Added SelectAll Option.
341
- - Updated InfoCard Component Styles.
342
- - Added Animation for Toast.
343
- - Added new prop named type for Toast replacing the separate props for `info`, `warning`, and `error`.
344
- - Updated Typography with lineHeight
345
- - Updated Color Typography
346
-
347
- ## [0.0.1-beta.32] - YYYY-MM-DD
348
- ### Changed
349
- - Updated Panel Success Animation
350
-
351
- ## [0.0.1-beta.31] - YYYY-MM-DD
352
- ### Added
353
- - New prop named `activeSteps` in Stepper
354
-
355
- ## [0.0.1-beta.30] - YYYY-MM-DD
356
- ### Changed
357
- - Updated Panel Animation Styles
358
-
359
- ## [0.0.1-beta.29] - YYYY-MM-DD
360
- ### Added
361
- - PopUp, Panels, and Panel Cards
362
-
363
- ## [0.0.1-beta.28] - YYYY-MM-DD
364
- ### Added
365
- - `restrictSelection` prop in MultiSelectDropdown
366
-
367
- ## [0.0.1-beta.27] - YYYY-MM-DD
368
- ### Added
369
- - Uploader variants and its CSS
370
-
371
- ## [0.0.1-beta.26] - YYYY-MM-DD
372
- ### Changed
373
- - Updated Toast Usage
374
-
375
- ## [0.0.1-beta.25] - YYYY-MM-DD
376
- ### Changed
377
- - Updated RemoveableTag component to have error
378
-
379
- ## [0.0.1-beta.24] - YYYY-MM-DD
380
- ### Changed
381
- - Updated numeric type to disable input and use only buttons
382
- - Made date and time fields clickable
383
-
384
- ## [0.0.1-beta.23] - YYYY-MM-DD
385
- ### Added
386
- - New props `showIcon`, `truncateMessage`, and `maxLength` to ErrorMessage component
387
-
388
- ## [0.0.1-beta.22] - YYYY-MM-DD
389
- ### Changed
390
- - `Toast` component now has a new prop `type`, replacing the separate props for `info`, `warning`, and `error`
391
-
392
- ## [0.0.1-beta.21] - YYYY-MM-DD
393
- ### Added
394
- - `categorySelectAllState` in the nestedmultiselect variant of MultiSelectDropdown
395
-
396
- ## [0.0.1-beta.20] - YYYY-MM-DD
397
- ### Changed
398
- - Updated MultiSelectDropdown `categoryselectall` functionality
399
- - Added key navigation for dropdown options
400
-
401
- ## [0.0.1-beta.19] - YYYY-MM-DD
402
- ### Changed
403
- - Made CheckBox more customizable
404
- - Added custom color for Button
405
-
406
- ## [0.0.1-beta.18] - YYYY-MM-DD
407
- ### Changed
408
- - Updated dropdown option labels
409
-
410
- ## [0.0.1-beta.17] - YYYY-MM-DD
411
- ### Changed
412
- - Updated Toast info variant CSS
413
- - Updated category option CSS
414
-
415
- ## [0.0.1-beta.16] - YYYY-MM-DD
416
- ### Added
417
- - Error boundary atom
418
-
419
- ## [0.0.1-beta.15] - YYYY-MM-DD
420
- ### Added
421
- - Info variant for Toast
422
-
423
- ## [0.0.1-beta.14] - YYYY-MM-DD
424
- ### Changed
425
- - Updated dropdown options label to use `optionsKey`
426
-
427
- ## [0.0.1-beta.13] - YYYY-MM-DD
428
- ### Changed
429
- - Updated nested and tree dropdown variant
430
-
431
- ## [0.0.1-beta.12] - YYYY-MM-DD
432
- ### Changed
433
- - Enhancements of components
434
-
435
- ## [0.0.1-beta.11] - YYYY-MM-DD
436
- ### Changed
437
- - Updated `mobilenumber` classname
438
-
439
- ## [0.0.1-beta.10] - YYYY-MM-DD
440
- ### Changed
441
- - Updated header and textinput classnames
442
-
443
- ## [0.0.1-beta.9] - YYYY-MM-DD
444
- ### Changed
445
- - Updated key to `IS_STRING_MANIPULATED`
446
-
447
- ## [0.0.1-beta.8] - YYYY-MM-DD
448
- ### Changed
449
- - Updated the string manipulation based on `globalConfig` flag `isStringManipulated`
450
-
451
- ## [0.0.1-beta.7] - YYYY-MM-DD
452
- ### Changed
453
- - Updated classnames
454
-
455
- ## [0.0.1-beta.6] - YYYY-MM-DD
456
- ### Changed
457
- - Updated version
458
-
459
- ## [0.0.1-beta.5] - YYYY-MM-DD
460
- ### Changed
461
- - Modified classnames
462
-
463
- ## [0.0.1-beta.4] - YYYY-MM-DD
464
- ### Fixed
465
- - Fixed some date issues
466
-
467
- ## [0.0.1] - 2024-03-22
468
- ### Added Base version
469
- - Button Component.
470
- - Dropdown Component.
471
- - InfoCard Component.
472
- - Toast.
473
- - Input fields.