pixel-react 1.17.4 → 1.17.5

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.
Files changed (73) hide show
  1. package/lib/components/Accordion/types.d.ts +1 -1
  2. package/lib/components/AppHeader/AppHeader.js +10 -4
  3. package/lib/components/AppHeader/AppHeader.js.map +1 -1
  4. package/lib/components/Box/types.d.ts +3 -3
  5. package/lib/components/BrowserTabs/BrowserTabs.js +3 -1
  6. package/lib/components/BrowserTabs/BrowserTabs.js.map +1 -1
  7. package/lib/components/BrowserTabs/types.d.ts +1 -1
  8. package/lib/components/Button/types.d.ts +1 -1
  9. package/lib/components/ChipWithCount/ChipWithCount.js.map +1 -1
  10. package/lib/components/Comments/mentionUser/MentionUser.js +3 -1
  11. package/lib/components/Comments/mentionUser/MentionUser.js.map +1 -1
  12. package/lib/components/Comments/type.d.ts +1 -1
  13. package/lib/components/ConnectingBranch/BranchComponents/MachineInstances.js +4 -2
  14. package/lib/components/ConnectingBranch/BranchComponents/MachineInstances.js.map +1 -1
  15. package/lib/components/ConnectingBranch/types.d.ts +3 -3
  16. package/lib/components/DebugToolsPanel/DebugToolsPanel.js +3 -1
  17. package/lib/components/DebugToolsPanel/DebugToolsPanel.js.map +1 -1
  18. package/lib/components/Excel/ExcelFile/ExcelFileComponents/ActiveCell.js.map +1 -1
  19. package/lib/components/Excel/ExcelFile/ExcelFileComponents/Spreadsheet.js.map +1 -1
  20. package/lib/components/Excel/ExcelFile/ExcelFileComponents/Table.js.map +1 -1
  21. package/lib/components/Excel/ExcelFile/ExcelFileComponents/types.d.ts +1 -1
  22. package/lib/components/Form/Forms.d.ts +1 -1
  23. package/lib/components/Form/Forms.js.map +1 -1
  24. package/lib/components/MenuOption/MenuOption.js +3 -1
  25. package/lib/components/MenuOption/MenuOption.js.map +1 -1
  26. package/lib/components/MenuOption/types.d.ts +2 -2
  27. package/lib/components/NLPInput/components/NlpDropDown/NlpDropDownType.d.ts +2 -2
  28. package/lib/components/NLPInput/components/NlpDropDown/NlpDropdown.js.map +1 -1
  29. package/lib/components/NLPInput/types.d.ts +1 -1
  30. package/lib/components/OtpVerification/OtpVerification.js +3 -1
  31. package/lib/components/OtpVerification/OtpVerification.js.map +1 -1
  32. package/lib/components/PrePostTable/PrePostTable.js.map +1 -1
  33. package/lib/components/PrePostTable/Types.d.ts +2 -2
  34. package/lib/components/Select/components/types.d.ts +2 -2
  35. package/lib/components/Select/types.d.ts +1 -1
  36. package/lib/components/SessionDropdown/SessionDropdown.js +4 -4
  37. package/lib/components/SessionDropdown/SessionDropdown.js.map +1 -1
  38. package/lib/components/SessionDropdown/type.d.ts +0 -2
  39. package/lib/components/StepsLandingTable/Components/StepGroupAccordions.js +5 -1
  40. package/lib/components/StepsLandingTable/Components/StepGroupAccordions.js.map +1 -1
  41. package/lib/components/StepsLandingTable/Components/StepInnerTable.js.map +1 -1
  42. package/lib/components/StepsLandingTable/Components/Types.d.ts +1 -1
  43. package/lib/components/StepsLandingTable/StepLandingTable.d.ts +1 -1
  44. package/lib/components/StepsLandingTable/types.d.ts +2 -2
  45. package/lib/components/Table/Types.d.ts +1 -1
  46. package/lib/components/TableTree/Utils/formatDataCell.js +1 -1
  47. package/lib/components/TableTree/Utils/formatDataCell.js.map +1 -1
  48. package/lib/components/TableTree/types.d.ts +7 -7
  49. package/lib/components/TableTreeFn/Utils/formatDataCell.js +1 -1
  50. package/lib/components/TableTreeFn/Utils/formatDataCell.js.map +1 -1
  51. package/lib/components/TableTreeFn/types.d.ts +7 -7
  52. package/lib/components/TableWithAccordion/types.d.ts +1 -1
  53. package/lib/components/Tabs/types.d.ts +2 -2
  54. package/lib/components/TabsWithSilder/types.d.ts +2 -2
  55. package/lib/components/Tooltip/Tooltip.js +1 -1
  56. package/lib/components/Tooltip/Tooltip.js.map +1 -1
  57. package/lib/components/Tooltip/types.d.ts +2 -2
  58. package/lib/components/Typography/types.d.ts +1 -1
  59. package/lib/components/VariableInput/VariableInput.js.map +1 -1
  60. package/lib/hooks/useClickOutside.d.ts +1 -1
  61. package/lib/hooks/useClickOutside.js.map +1 -1
  62. package/lib/hooks/usePortalPosition.d.ts +1 -1
  63. package/lib/hooks/usePortalPosition.js.map +1 -1
  64. package/lib/index.d.ts +32 -34
  65. package/lib/index.js +8 -8
  66. package/lib/index.js.map +1 -1
  67. package/lib/styles.css +1 -1
  68. package/lib/styles.css.map +1 -1
  69. package/lib/utils/getAnchorElement/getAnchorElement.d.ts +1 -1
  70. package/lib/utils/getAnchorElement/getAnchorElement.js.map +1 -1
  71. package/lib/utils/keyBoardActionUtil/UseKeyboardActions.d.ts +1 -1
  72. package/lib/utils/keyBoardActionUtil/UseKeyboardActions.js.map +1 -1
  73. package/package.json +101 -106
@@ -1 +1 @@
1
- export declare const getAnchorElement: (anchorRef: React.RefObject<HTMLElement> | string) => HTMLElement | null;
1
+ export declare const getAnchorElement: (anchorRef: React.RefObject<HTMLElement | null> | string) => HTMLElement | null;
@@ -1 +1 @@
1
- {"version":3,"file":"getAnchorElement.js","sourceRoot":"","sources":["../../../src/utils/getAnchorElement/getAnchorElement.ts"],"names":[],"mappings":"AAAA,4CAA4C;AAC5C,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,SAAgD,EAAE,EAAE;IACnF,IAAI,OAAO,SAAS,KAAK,QAAQ,EAAE,CAAC;QAClC,OAAO,QAAQ,CAAC,cAAc,CAAC,SAAS,CAAC,CAAC;IAC5C,CAAC;IACD,OAAO,SAAS,EAAE,OAAO,IAAI,IAAI,CAAC;AACpC,CAAC,CAAC"}
1
+ {"version":3,"file":"getAnchorElement.js","sourceRoot":"","sources":["../../../src/utils/getAnchorElement/getAnchorElement.ts"],"names":[],"mappings":"AAAA,4CAA4C;AAC5C,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,SAAuD,EAAE,EAAE;IAC1F,IAAI,OAAO,SAAS,KAAK,QAAQ,EAAE,CAAC;QAClC,OAAO,QAAQ,CAAC,cAAc,CAAC,SAAS,CAAC,CAAC;IAC5C,CAAC;IACD,OAAO,SAAS,EAAE,OAAO,IAAI,IAAI,CAAC;AACpC,CAAC,CAAC"}
@@ -1,3 +1,3 @@
1
1
  import { RefObject } from 'react';
2
2
  import { KeyboardAction } from './types';
3
- export declare const useKeyboardActions: (actions: KeyboardAction[], ref?: RefObject<HTMLElement>) => void;
3
+ export declare const useKeyboardActions: (actions: KeyboardAction[], ref?: RefObject<HTMLElement | null>) => void;
@@ -1 +1 @@
1
- {"version":3,"file":"UseKeyboardActions.js","sourceRoot":"","sources":["../../../src/utils/keyBoardActionUtil/UseKeyboardActions.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAa,MAAM,OAAO,CAAC;AAG7C,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAChC,OAAyB,EACzB,GAA4B,EAC5B,EAAE;IACF,SAAS,CAAC,GAAG,EAAE;QACb,MAAM,aAAa,GAAG,CAAC,KAAoB,EAAE,EAAE;YAC7C,IAAI,GAAG,EAAE,OAAO,EAAE,CAAC;gBACjB,IAAI,CAAC,GAAG,CAAC,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAC,aAAa,CAAC,EAAE,CAAC;oBAClD,OAAO;gBACT,CAAC;YACH,CAAC;YAED,OAAO,CAAC,OAAO,CAAC,CAAC,EAAE,GAAG,EAAE,MAAM,EAAE,EAAE,EAAE;gBAClC,IAAI,KAAK,CAAC,GAAG,KAAK,GAAG,EAAE,CAAC;oBACtB,MAAM,EAAE,CAAC;gBACX,CAAC;YACH,CAAC,CAAC,CAAC;QACL,CAAC,CAAC;QACF,MAAM,CAAC,gBAAgB,CAAC,SAAS,EAAE,aAAa,CAAC,CAAC;QAElD,OAAO,GAAG,EAAE;YACV,MAAM,CAAC,mBAAmB,CAAC,SAAS,EAAE,aAAa,CAAC,CAAC;QACvD,CAAC,CAAC;IACJ,CAAC,EAAE,CAAC,OAAO,EAAE,GAAG,CAAC,CAAC,CAAC;AACrB,CAAC,CAAC"}
1
+ {"version":3,"file":"UseKeyboardActions.js","sourceRoot":"","sources":["../../../src/utils/keyBoardActionUtil/UseKeyboardActions.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAa,MAAM,OAAO,CAAC;AAG7C,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAChC,OAAyB,EACzB,GAAmC,EACnC,EAAE;IACF,SAAS,CAAC,GAAG,EAAE;QACb,MAAM,aAAa,GAAG,CAAC,KAAoB,EAAE,EAAE;YAC7C,IAAI,GAAG,EAAE,OAAO,EAAE,CAAC;gBACjB,IAAI,CAAC,GAAG,CAAC,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAC,aAAa,CAAC,EAAE,CAAC;oBAClD,OAAO;gBACT,CAAC;YACH,CAAC;YAED,OAAO,CAAC,OAAO,CAAC,CAAC,EAAE,GAAG,EAAE,MAAM,EAAE,EAAE,EAAE;gBAClC,IAAI,KAAK,CAAC,GAAG,KAAK,GAAG,EAAE,CAAC;oBACtB,MAAM,EAAE,CAAC;gBACX,CAAC;YACH,CAAC,CAAC,CAAC;QACL,CAAC,CAAC;QACF,MAAM,CAAC,gBAAgB,CAAC,SAAS,EAAE,aAAa,CAAC,CAAC;QAElD,OAAO,GAAG,EAAE;YACV,MAAM,CAAC,mBAAmB,CAAC,SAAS,EAAE,aAAa,CAAC,CAAC;QACvD,CAAC,CAAC;IACJ,CAAC,EAAE,CAAC,OAAO,EAAE,GAAG,CAAC,CAAC,CAAC;AACrB,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,106 +1,101 @@
1
- {
2
- "name": "pixel-react",
3
- "description": "Great for pixel-perfect, design-focused components in React",
4
- "version": "1.17.4",
5
- "main": "lib/index.js",
6
- "module": "lib/index.js",
7
- "types": "lib/index.d.ts",
8
- "sideEffects": [
9
- "lib/styles.css"
10
- ],
11
- "author": {
12
- "name": "Padmakant Baloji"
13
- },
14
- "license": "MIT",
15
- "devDependencies": {
16
- "@rollup/plugin-terser": "^0.4.4",
17
- "@babel/core": "^7.0.0",
18
- "@babel/preset-react": "^7.26.3",
19
- "@chromatic-com/storybook": "^3.2.2",
20
- "@rollup/plugin-babel": "^6.0.4",
21
- "@rollup/plugin-commonjs": "^28.0.2",
22
- "@rollup/plugin-node-resolve": "^16.0.0",
23
- "@rollup/plugin-typescript": "^12.1.2",
24
- "@rollup/plugin-url": "^8.0.2",
25
- "@storybook/addon-docs": "^8.4.5",
26
- "@storybook/addon-essentials": "^8.4.5",
27
- "@storybook/addon-interactions": "^8.4.5",
28
- "@storybook/addon-links": "^8.4.5",
29
- "@storybook/addon-onboarding": "^8.4.5",
30
- "@storybook/blocks": "^8.4.5",
31
- "@storybook/react": "^8.4.5",
32
- "@storybook/react-vite": "^8.4.5",
33
- "@storybook/test": "^8.4.5",
34
- "@types/js-beautify": "^1.14.3",
35
- "@types/node-forge": "^1.3.14",
36
- "@types/react": "^18.3.12",
37
- "@types/react-dom": "^18.3.1",
38
- "@types/react-google-recaptcha": "^2.1.9",
39
- "@types/draft-js": "^0.11.19",
40
- "chromatic": "^11.16.5",
41
- "cross-env": "^7.0.3",
42
- "react": ">=18.2.0 <19.0.0",
43
- "react-dom": ">=18.2.0 <19.0.0",
44
- "rimraf": "^6.0.1",
45
- "rollup": "^4.24.4",
46
- "rollup-plugin-dts": "^6.1.0",
47
- "rollup-plugin-peer-deps-external": "^2.2.4",
48
- "rollup-plugin-postcss": "^4.0.2",
49
- "rollup-plugin-visualizer": "^5.14.0",
50
- "sass": "^1.80.6",
51
- "storybook": "^8.4.5",
52
- "storybook-addon-theme-provider": "^0.2.6",
53
- "typescript": "^5.7.2",
54
- "vite": "^5.4.10"
55
- },
56
- "peerDependencies": {
57
- "react": "^18.2.0",
58
- "react-dom": "^18.2.0"
59
- },
60
- "scripts": {
61
- "storybook": "storybook dev -p 6006",
62
- "build-storybook": "storybook build",
63
- "build": "rimraf lib && tsc -b && cross-env NODE_ENV=production rollup -c",
64
- "analyze": "tsc -b && cross-env ANALYZE=true rollup -c",
65
- "sync": "git pull origin main && tsc -b && rollup -c",
66
- "chromatic": "chromatic --exit-zero-on-changes",
67
- "clean": "rimraf lib node_modules pnpm-lock.yaml package-lock.json yarn.lock"
68
- },
69
- "dependencies": {
70
- "@babel/plugin-transform-react-jsx": "^7.24.7",
71
- "@dnd-kit/core": "^6.1.0",
72
- "@dnd-kit/modifiers": "^9.0.0",
73
- "@dnd-kit/sortable": "^8.0.0",
74
- "@dnd-kit/utilities": "^3.2.2",
75
- "@vitejs/plugin-react": "^4.3.0",
76
- "classnames": "^2.5.1",
77
- "date-fns": "^3.6.0",
78
- "date-fns-tz": "^3.2.0",
79
- "draft-js": "^0.11.7",
80
- "jsencrypt": "^3.3.2",
81
- "node-forge": "^1.3.1",
82
- "react-archer": "^4.4.0",
83
- "react-day-picker": "^9.2.1",
84
- "react-google-recaptcha": "^3.1.0",
85
- "react-hook-form": "7.64.0",
86
- "@types/react-window": "^1.8.8",
87
- "react-window": "^1.8.10",
88
- "scss": "^0.2.4",
89
- "use-context-selector": "^2.0.0",
90
- "vite-plugin-svgr": "^4.3.0",
91
- "janus-gateway": "^1.3.1",
92
- "webrtc-adapter": "^9.0.1",
93
- "react-virtuoso": "^4.13.0",
94
- "react-draft-wysiwyg": "^1.15.0",
95
- "@types/react-draft-wysiwyg": "^1.13.8",
96
- "@monaco-editor/react": "^4.6.0",
97
- "js-beautify": "^1.15.1",
98
- "react-phone-input-2": "^2.15.1",
99
- "react-phone-number-input": "^3.4.12"
100
- },
101
- "files": [
102
- "lib",
103
- "README.md",
104
- "LICENSE"
105
- ]
106
- }
1
+ {
2
+ "name": "pixel-react",
3
+ "description": "Great for pixel-perfect, design-focused components in React",
4
+ "version": "1.17.5",
5
+ "main": "lib/index.js",
6
+ "module": "lib/index.js",
7
+ "types": "lib/index.d.ts",
8
+ "sideEffects": [
9
+ "lib/styles.css"
10
+ ],
11
+ "author": {
12
+ "name": "Padmakant Baloji"
13
+ },
14
+ "license": "MIT",
15
+ "devDependencies": {
16
+ "@babel/core": "^7.0.0",
17
+ "@babel/preset-react": "^7.26.3",
18
+ "@chromatic-com/storybook": "^5.0.1",
19
+ "@rollup/plugin-babel": "^6.0.4",
20
+ "@rollup/plugin-commonjs": "^28.0.2",
21
+ "@rollup/plugin-node-resolve": "^16.0.0",
22
+ "@rollup/plugin-terser": "^0.4.4",
23
+ "@rollup/plugin-typescript": "^12.1.2",
24
+ "@rollup/plugin-url": "^8.0.2",
25
+ "@storybook/addon-docs": "^10.2.8",
26
+ "@storybook/addon-links": "^10.2.8",
27
+ "@storybook/addon-onboarding": "^10.2.8",
28
+ "@storybook/react-vite": "^10.2.8",
29
+ "@types/draft-js": "^0.11.19",
30
+ "@types/js-beautify": "^1.14.3",
31
+ "@types/node-forge": "^1.3.14",
32
+ "@types/react": "^19.2.14",
33
+ "@types/react-dom": "^19.2.3",
34
+ "@types/react-google-recaptcha": "^2.1.9",
35
+ "chromatic": "^11.16.5",
36
+ "cross-env": "^7.0.3",
37
+ "react": "^19.2.4",
38
+ "react-dom": "^19.2.4",
39
+ "rimraf": "^6.0.1",
40
+ "rollup": "^4.24.4",
41
+ "rollup-plugin-dts": "^6.1.0",
42
+ "rollup-plugin-peer-deps-external": "^2.2.4",
43
+ "rollup-plugin-postcss": "^4.0.2",
44
+ "rollup-plugin-visualizer": "^5.14.0",
45
+ "sass": "^1.80.6",
46
+ "storybook": "^10.2.8",
47
+ "storybook-addon-theme-provider": "^0.2.6",
48
+ "typescript": "^5.7.2",
49
+ "vite": "^5.4.10"
50
+ },
51
+ "peerDependencies": {
52
+ "react": "^18 || ^19",
53
+ "react-dom": "^18 || ^19"
54
+ },
55
+ "scripts": {
56
+ "storybook": "storybook dev -p 6006",
57
+ "build-storybook": "storybook build",
58
+ "build": "rimraf lib && tsc -b && cross-env NODE_ENV=production rollup -c",
59
+ "analyze": "tsc -b && cross-env ANALYZE=true rollup -c",
60
+ "sync": "git pull origin main && tsc -b && rollup -c",
61
+ "chromatic": "chromatic --exit-zero-on-changes",
62
+ "clean": "rimraf lib node_modules pnpm-lock.yaml package-lock.json yarn.lock"
63
+ },
64
+ "dependencies": {
65
+ "@babel/plugin-transform-react-jsx": "^7.24.7",
66
+ "@dnd-kit/core": "^6.1.0",
67
+ "@dnd-kit/modifiers": "^9.0.0",
68
+ "@dnd-kit/sortable": "^8.0.0",
69
+ "@dnd-kit/utilities": "^3.2.2",
70
+ "@monaco-editor/react": "^4.6.0",
71
+ "@types/react-draft-wysiwyg": "^1.13.8",
72
+ "@types/react-window": "^1.8.8",
73
+ "@vitejs/plugin-react": "^4.3.0",
74
+ "classnames": "^2.5.1",
75
+ "date-fns": "^3.6.0",
76
+ "date-fns-tz": "^3.2.0",
77
+ "draft-js": "^0.11.7",
78
+ "janus-gateway": "^1.3.1",
79
+ "js-beautify": "^1.15.1",
80
+ "jsencrypt": "^3.3.2",
81
+ "node-forge": "^1.3.1",
82
+ "react-archer": "^4.4.0",
83
+ "react-day-picker": "^9.2.1",
84
+ "react-draft-wysiwyg": "^1.15.0",
85
+ "react-google-recaptcha": "^3.1.0",
86
+ "react-hook-form": "7.64.0",
87
+ "react-phone-input-2": "^2.15.1",
88
+ "react-phone-number-input": "^3.4.12",
89
+ "react-virtuoso": "^4.13.0",
90
+ "react-window": "^1.8.10",
91
+ "scss": "^0.2.4",
92
+ "use-context-selector": "^2.0.0",
93
+ "vite-plugin-svgr": "^4.3.0",
94
+ "webrtc-adapter": "^9.0.1"
95
+ },
96
+ "files": [
97
+ "lib",
98
+ "README.md",
99
+ "LICENSE"
100
+ ]
101
+ }