@pingux/astro 1.27.0 → 1.28.1

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 (69) hide show
  1. package/CHANGELOG.md +30 -0
  2. package/NOTICE.html +2 -2
  3. package/lib/cjs/components/DataTable/DataTable.js +481 -0
  4. package/lib/cjs/components/DataTable/DataTable.stories.js +310 -0
  5. package/lib/cjs/components/DataTable/DataTable.styles.js +156 -0
  6. package/lib/cjs/components/DataTable/DataTable.test.js +1307 -0
  7. package/lib/cjs/components/DataTable/DataTableChip.js +63 -0
  8. package/lib/cjs/components/DataTable/DataTableChip.test.js +38 -0
  9. package/lib/cjs/components/DataTable/DataTableMenu.js +51 -0
  10. package/lib/cjs/components/DataTable/DataTableMenu.test.js +20 -0
  11. package/lib/cjs/components/DataTable/DataTableMultiLine.js +75 -0
  12. package/lib/cjs/components/DataTable/DataTableMultiLine.test.js +30 -0
  13. package/lib/cjs/components/DataTable/DataTableVirtualizer.js +188 -0
  14. package/lib/cjs/components/DataTable/index.js +54 -0
  15. package/lib/cjs/components/EnvironmentBreadcrumb/EnvironmentBreadcrumb.js +8 -2
  16. package/lib/cjs/components/EnvironmentBreadcrumb/EnvironmentBreadcrumb.test.js +35 -0
  17. package/lib/cjs/components/MultivaluesField/MultivaluesField.js +10 -10
  18. package/lib/cjs/components/PageHeader/PageHeader.js +7 -1
  19. package/lib/cjs/context/DataTableContext/index.js +31 -0
  20. package/lib/cjs/index.js +67 -2
  21. package/lib/cjs/recipes/CountryPicker.stories.js +25 -12
  22. package/lib/cjs/recipes/EditableInput.stories.js +55 -46
  23. package/lib/cjs/recipes/FlippableCaretMenuButton.stories.js +38 -30
  24. package/lib/cjs/recipes/ListAndPanel.stories.js +102 -87
  25. package/lib/cjs/recipes/MaskedValue.stories.js +8 -5
  26. package/lib/cjs/recipes/NeutralInput.stories.js +6 -3
  27. package/lib/cjs/recipes/OneWayToBidirectionalArrow.stories.js +38 -33
  28. package/lib/cjs/recipes/PageHeader.stories.js +73 -0
  29. package/lib/cjs/recipes/RowLineChart.stories.js +58 -70
  30. package/lib/cjs/recipes/SelectedFieldOverlay.story.js +25 -21
  31. package/lib/cjs/recipes/TrialExperienceStatusBar.stories.js +81 -72
  32. package/lib/cjs/styles/forms/index.js +1 -1
  33. package/lib/cjs/styles/forms/label.js +1 -1
  34. package/lib/cjs/styles/forms/select.js +1 -1
  35. package/lib/cjs/styles/variants/variants.js +4 -1
  36. package/lib/components/DataTable/DataTable.js +436 -0
  37. package/lib/components/DataTable/DataTable.stories.js +273 -0
  38. package/lib/components/DataTable/DataTable.styles.js +137 -0
  39. package/lib/components/DataTable/DataTable.test.js +1256 -0
  40. package/lib/components/DataTable/DataTableChip.js +33 -0
  41. package/lib/components/DataTable/DataTableChip.test.js +31 -0
  42. package/lib/components/DataTable/DataTableMenu.js +24 -0
  43. package/lib/components/DataTable/DataTableMenu.test.js +13 -0
  44. package/lib/components/DataTable/DataTableMultiLine.js +46 -0
  45. package/lib/components/DataTable/DataTableMultiLine.test.js +22 -0
  46. package/lib/components/DataTable/DataTableVirtualizer.js +157 -0
  47. package/lib/components/DataTable/index.js +5 -0
  48. package/lib/components/EnvironmentBreadcrumb/EnvironmentBreadcrumb.js +7 -2
  49. package/lib/components/EnvironmentBreadcrumb/EnvironmentBreadcrumb.test.js +25 -0
  50. package/lib/components/MultivaluesField/MultivaluesField.js +10 -10
  51. package/lib/components/PageHeader/PageHeader.js +8 -1
  52. package/lib/context/DataTableContext/index.js +5 -0
  53. package/lib/index.js +4 -1
  54. package/lib/recipes/CountryPicker.stories.js +24 -12
  55. package/lib/recipes/EditableInput.stories.js +55 -46
  56. package/lib/recipes/FlippableCaretMenuButton.stories.js +38 -30
  57. package/lib/recipes/ListAndPanel.stories.js +102 -87
  58. package/lib/recipes/MaskedValue.stories.js +8 -5
  59. package/lib/recipes/NeutralInput.stories.js +6 -3
  60. package/lib/recipes/OneWayToBidirectionalArrow.stories.js +38 -33
  61. package/lib/recipes/PageHeader.stories.js +53 -0
  62. package/lib/recipes/RowLineChart.stories.js +58 -70
  63. package/lib/recipes/SelectedFieldOverlay.story.js +25 -21
  64. package/lib/recipes/TrialExperienceStatusBar.stories.js +81 -72
  65. package/lib/styles/forms/index.js +1 -1
  66. package/lib/styles/forms/label.js +1 -1
  67. package/lib/styles/forms/select.js +1 -1
  68. package/lib/styles/variants/variants.js +3 -1
  69. package/package.json +54 -56
package/package.json CHANGED
@@ -1,9 +1,13 @@
1
1
  {
2
2
  "name": "@pingux/astro",
3
- "version": "1.27.0",
3
+ "version": "1.28.1",
4
4
  "description": "PingUX themeable React component library",
5
- "author": "ux-development@pingidentity.com",
5
+ "repository": {
6
+ "type": "git",
7
+ "url": "git@gitlab.corp.pingidentity.com:ux/pingux.git"
8
+ },
6
9
  "license": "Apache-2.0",
10
+ "author": "ux-development@pingidentity.com",
7
11
  "main": "lib/cjs/index.js",
8
12
  "module": "lib/index.js",
9
13
  "directories": {
@@ -12,10 +16,6 @@
12
16
  "files": [
13
17
  "lib"
14
18
  ],
15
- "repository": {
16
- "type": "git",
17
- "url": "git@gitlab.corp.pingidentity.com:ux/pingux.git"
18
- },
19
19
  "scripts": {
20
20
  "build": "rm -rf lib && npm-run-all build:*",
21
21
  "build:cjs": "BABEL_ENV=cjs babel --config-file ./babel.config.js ./src --out-dir lib/cjs",
@@ -24,51 +24,10 @@
24
24
  "coverage": "yarn test --coverage",
25
25
  "coverage-ci": "yarn test --coverage --ci",
26
26
  "demo": "rm -rf ./demo && build-storybook -o demo",
27
- "test": "jest",
28
27
  "lint": "eslint --ext .js,.jsx .",
29
28
  "start": "start-storybook -p 6006",
30
- "storybook": "yarn start"
31
- },
32
- "devDependencies": {
33
- "@babel/core": "^7.11.6",
34
- "@babel/preset-env": "^7.11.5",
35
- "@babel/preset-react": "^7.10.4",
36
- "@emotion/babel-preset-css-prop": "^11.2.0",
37
- "@emotion/cache": "^11.4.0",
38
- "@emotion/eslint-plugin": "^11.2.0",
39
- "@faker-js/faker": "^7.1.0",
40
- "@storybook/addon-a11y": "^6.4.19",
41
- "@storybook/addon-actions": "^6.4.19",
42
- "@storybook/addon-console": "^1.2.3",
43
- "@storybook/addon-docs": "^6.4.19",
44
- "@storybook/addon-essentials": "^6.4.19",
45
- "@storybook/addon-links": "^6.4.19",
46
- "@storybook/addon-storysource": "^6.4.19",
47
- "@storybook/addons": "^6.4.19",
48
- "@storybook/react": "^6.4.19",
49
- "@storybook/theming": "^6.4.19",
50
- "@testing-library/jest-dom": "^5.11.4",
51
- "@testing-library/react": "^11.0.4",
52
- "@testing-library/react-hooks": "^3.4.1",
53
- "@testing-library/user-event": "^12.8.3",
54
- "babel-loader": "^8.1.0",
55
- "babel-plugin-transform-node-env-inline": "^0.4.3",
56
- "chromatic": "^6.5.3",
57
- "countries-list": "^2.6.1",
58
- "eslint-plugin-jest-dom": "^3.9.0",
59
- "eslint-plugin-react-hooks": "^2.5.1",
60
- "eslint-plugin-testing-library": "^4.6.0",
61
- "jest-axe": "^5.0.1",
62
- "jest-emotion": "^11.0.0",
63
- "mutationobserver-shim": "^0.3.7",
64
- "react": "^16.8.6",
65
- "react-dom": "^16.13.1",
66
- "react-is": "^16.13.1",
67
- "use-resize-observer": "^8.0.0"
68
- },
69
- "peerDependencies": {
70
- "react": "^16.8.6",
71
- "react-dom": "^16.13.1"
29
+ "storybook": "yarn start",
30
+ "test": "jest"
72
31
  },
73
32
  "dependencies": {
74
33
  "@emotion/jest": "^11.5.0",
@@ -101,19 +60,18 @@
101
60
  "@react-aria/separator": "^3.1.1",
102
61
  "@react-aria/slider": "^3.0.7",
103
62
  "@react-aria/switch": "3.1.1",
63
+ "@react-aria/table": "^3.3.0",
104
64
  "@react-aria/tabs": "^3.0.1",
105
65
  "@react-aria/tooltip": "^3.1.2",
106
66
  "@react-aria/utils": "^3.12.0",
107
67
  "@react-aria/virtualizer": "^3.3.2",
108
68
  "@react-aria/visually-hidden": "3.2.1",
109
- "@react-spectrum/provider": "^3.2.1",
110
- "@react-spectrum/utils": "3.6.1",
111
69
  "@react-stately/collections": "~3.3.8",
112
70
  "@react-stately/color": "^3.0.0-beta.2",
113
71
  "@react-stately/combobox": "^3.0.0",
114
72
  "@react-stately/data": "^3.4.0",
115
73
  "@react-stately/grid": "^3.1.4",
116
- "@react-stately/layout": "^3.2.1",
74
+ "@react-stately/layout": "~3.6.0",
117
75
  "@react-stately/list": "^3.2.1",
118
76
  "@react-stately/menu": "^3.2.1",
119
77
  "@react-stately/numberfield": "~3.0.7",
@@ -121,17 +79,18 @@
121
79
  "@react-stately/radio": "^3.2.0",
122
80
  "@react-stately/searchfield": "^3.1.1",
123
81
  "@react-stately/select": "^3.1.1",
82
+ "@react-stately/selection": "~3.10.2",
124
83
  "@react-stately/slider": "^3.0.7",
84
+ "@react-stately/table": "^3.2.1",
125
85
  "@react-stately/tabs": "^3.0.1",
126
86
  "@react-stately/toggle": "^3.2.0",
127
87
  "@react-stately/tooltip": "^3.0.4",
128
88
  "@react-stately/tree": "^3.1.2",
129
89
  "@react-stately/utils": "~3.4.1",
130
- "@rebass/forms": "^4.0.6",
90
+ "@react-stately/virtualizer": "^3.2.1",
131
91
  "@styled-system/prop-types": "^5.1.5",
132
92
  "@styled-system/props": "^5.1.5",
133
93
  "@styled-system/theme-get": "^5.1.2",
134
- "@tippyjs/react": "4.2.0",
135
94
  "chroma-js": "^2.1.0",
136
95
  "classnames": "^2.2.6",
137
96
  "emotion-normalize": "^11.0.1",
@@ -144,12 +103,51 @@
144
103
  "react-calendar": "^3.4.0",
145
104
  "react-color": "^2.19.3",
146
105
  "react-dropzone": "^11.4.2",
147
- "rebass": "^4.0.7",
148
106
  "recharts": "^2.1.4",
149
107
  "regenerator-runtime": "^0.13.7",
150
108
  "styled-system": "^5.1.5",
151
109
  "theme-ui": "^0.10.0",
152
- "tippy.js": "6.2.7",
153
110
  "uuid": "^8.3.2"
111
+ },
112
+ "devDependencies": {
113
+ "@babel/core": "^7.11.6",
114
+ "@babel/preset-env": "^7.11.5",
115
+ "@babel/preset-react": "^7.10.4",
116
+ "@emotion/babel-preset-css-prop": "^11.2.0",
117
+ "@emotion/cache": "^11.4.0",
118
+ "@emotion/eslint-plugin": "^11.2.0",
119
+ "@faker-js/faker": "~7.5.0",
120
+ "@storybook/addon-a11y": "^6.4.19",
121
+ "@storybook/addon-actions": "^6.4.19",
122
+ "@storybook/addon-console": "^1.2.3",
123
+ "@storybook/addon-docs": "^6.4.19",
124
+ "@storybook/addon-essentials": "^6.4.19",
125
+ "@storybook/addon-links": "^6.4.19",
126
+ "@storybook/addon-storysource": "^6.4.19",
127
+ "@storybook/addons": "^6.4.19",
128
+ "@storybook/react": "^6.4.19",
129
+ "@storybook/theming": "^6.4.19",
130
+ "@testing-library/jest-dom": "^5.11.4",
131
+ "@testing-library/react": "^11.0.4",
132
+ "@testing-library/react-hooks": "^3.4.1",
133
+ "@testing-library/user-event": "^12.8.3",
134
+ "babel-loader": "^8.1.0",
135
+ "babel-plugin-transform-node-env-inline": "^0.4.3",
136
+ "chromatic": "^6.5.3",
137
+ "countries-list": "^2.6.1",
138
+ "eslint-plugin-jest-dom": "^3.9.0",
139
+ "eslint-plugin-react-hooks": "^2.5.1",
140
+ "eslint-plugin-testing-library": "^4.6.0",
141
+ "jest-axe": "^5.0.1",
142
+ "jest-emotion": "^11.0.0",
143
+ "mutationobserver-shim": "^0.3.7",
144
+ "react": "^16.8.6",
145
+ "react-dom": "^16.13.1",
146
+ "react-is": "^16.13.1",
147
+ "use-resize-observer": "^8.0.0"
148
+ },
149
+ "peerDependencies": {
150
+ "react": "^16.8.6",
151
+ "react-dom": "^16.13.1"
154
152
  }
155
153
  }