@itwin/itwinui-react 2.0.0 → 2.0.2
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/CHANGELOG.md +28 -4
- package/cjs/core/Avatar/Avatar.d.ts +1 -1
- package/cjs/core/AvatarGroup/AvatarGroup.d.ts +1 -1
- package/cjs/core/AvatarGroup/AvatarGroup.js +1 -1
- package/cjs/core/Carousel/CarouselSlider.js +2 -2
- package/cjs/core/ColorPicker/ColorBuilder.js +2 -7
- package/cjs/core/ColorPicker/ColorPalette.js +1 -1
- package/cjs/core/ColorPicker/ColorPicker.js +1 -3
- package/cjs/core/ColorPicker/ColorSwatch.d.ts +1 -1
- package/cjs/core/ComboBox/ComboBox.js +1 -1
- package/cjs/core/ComboBox/ComboBoxDropdown.d.ts +1 -1
- package/cjs/core/ComboBox/ComboBoxMenu.js +1 -1
- package/cjs/core/Dialog/DialogMain.js +1 -1
- package/cjs/core/LabeledInput/LabeledInput.d.ts +1 -1
- package/cjs/core/Modal/ModalButtonBar.d.ts +1 -1
- package/cjs/core/Modal/ModalButtonBar.js +10 -1
- package/cjs/core/Modal/ModalContent.d.ts +1 -1
- package/cjs/core/Modal/ModalContent.js +10 -1
- package/cjs/core/Table/Table.js +1 -1
- package/cjs/core/Table/TablePaginator.d.ts +6 -0
- package/cjs/core/Table/TablePaginator.js +2 -1
- package/cjs/core/Table/hooks/useColumnDragAndDrop.js +3 -1
- package/cjs/core/Tabs/Tabs.js +3 -3
- package/cjs/core/ThemeProvider/ThemeProvider.d.ts +21 -3
- package/cjs/core/utils/color/ColorValue.js +4 -2
- package/cjs/core/utils/components/Popover.d.ts +1 -1
- package/cjs/core/utils/components/Resizer.js +3 -2
- package/cjs/core/utils/components/VirtualScroll.js +7 -8
- package/cjs/core/utils/functions/styles.d.ts +1 -1
- package/cjs/core/utils/functions/styles.js +1 -1
- package/cjs/core/utils/hooks/useDragAndDrop.js +1 -1
- package/cjs/core/utils/hooks/useOverflow.js +4 -3
- package/cjs/core/utils/hooks/useTheme.js +2 -2
- package/esm/core/Avatar/Avatar.d.ts +1 -1
- package/esm/core/AvatarGroup/AvatarGroup.d.ts +1 -1
- package/esm/core/AvatarGroup/AvatarGroup.js +1 -1
- package/esm/core/Carousel/CarouselSlider.js +3 -3
- package/esm/core/ColorPicker/ColorBuilder.js +2 -7
- package/esm/core/ColorPicker/ColorPalette.js +1 -1
- package/esm/core/ColorPicker/ColorPicker.js +1 -3
- package/esm/core/ColorPicker/ColorSwatch.d.ts +1 -1
- package/esm/core/ComboBox/ComboBox.js +2 -2
- package/esm/core/ComboBox/ComboBoxDropdown.d.ts +1 -1
- package/esm/core/ComboBox/ComboBoxMenu.js +1 -1
- package/esm/core/Dialog/DialogMain.js +2 -2
- package/esm/core/LabeledInput/LabeledInput.d.ts +1 -1
- package/esm/core/Modal/ModalButtonBar.d.ts +1 -1
- package/esm/core/Modal/ModalButtonBar.js +6 -1
- package/esm/core/Modal/ModalContent.d.ts +1 -1
- package/esm/core/Modal/ModalContent.js +6 -1
- package/esm/core/Table/Table.js +2 -2
- package/esm/core/Table/TablePaginator.d.ts +6 -0
- package/esm/core/Table/TablePaginator.js +2 -1
- package/esm/core/Table/hooks/useColumnDragAndDrop.js +3 -1
- package/esm/core/Tabs/Tabs.js +4 -4
- package/esm/core/ThemeProvider/ThemeProvider.d.ts +21 -3
- package/esm/core/utils/color/ColorValue.js +4 -2
- package/esm/core/utils/components/Popover.d.ts +1 -1
- package/esm/core/utils/components/Resizer.js +3 -2
- package/esm/core/utils/components/VirtualScroll.js +7 -8
- package/esm/core/utils/functions/styles.d.ts +1 -1
- package/esm/core/utils/functions/styles.js +1 -1
- package/esm/core/utils/hooks/useDragAndDrop.js +1 -1
- package/esm/core/utils/hooks/useOverflow.js +4 -3
- package/esm/core/utils/hooks/useTheme.js +2 -2
- package/package.json +7 -6
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@itwin/itwinui-react",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.2",
|
|
4
4
|
"author": "Bentley Systems",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "cjs/index.js",
|
|
@@ -46,8 +46,8 @@
|
|
|
46
46
|
"ux"
|
|
47
47
|
],
|
|
48
48
|
"scripts": {
|
|
49
|
-
"build": "yarn clean:build &&
|
|
50
|
-
"build:watch": "yarn clean:build &&
|
|
49
|
+
"build": "yarn clean:build && tsc -p tsconfig.cjs.json && tsc -p tsconfig.esm.json",
|
|
50
|
+
"build:watch": "yarn clean:build && concurrently \"tsc -p tsconfig.cjs.json --watch\" \"tsc -p tsconfig.esm.json --watch\"",
|
|
51
51
|
"clean:build": "yarn clean:coverage && rimraf esm && rimraf cjs",
|
|
52
52
|
"clean:coverage": "rimraf coverage",
|
|
53
53
|
"clean": "rimraf .turbo && yarn clean:coverage && yarn clean:build && rimraf node_modules",
|
|
@@ -56,12 +56,11 @@
|
|
|
56
56
|
"format": "prettier --config .prettierrc **/*.{tsx,ts,js} --ignore-path .gitignore --write",
|
|
57
57
|
"lint": "eslint \"**/*.{js,ts,tsx}\" --max-warnings=0",
|
|
58
58
|
"lint:fix": "yarn lint --fix && node ../configs/copyrightLinter.js --fix \"*/**/*.{js,ts,tsx}\"",
|
|
59
|
-
"copy-files": "cpy \"../../{README,LICENSE}.md\" .",
|
|
60
59
|
"dev": "yarn build:watch",
|
|
61
60
|
"createComponent": "node ../../scripts/createComponent.js"
|
|
62
61
|
},
|
|
63
62
|
"dependencies": {
|
|
64
|
-
"@itwin/itwinui-css": "^1.
|
|
63
|
+
"@itwin/itwinui-css": "^1.1.0",
|
|
65
64
|
"@itwin/itwinui-illustrations-react": "^2.0.0",
|
|
66
65
|
"@itwin/itwinui-variables": "^1.0.0",
|
|
67
66
|
"@tippyjs/react": "^4.2.6",
|
|
@@ -109,8 +108,10 @@
|
|
|
109
108
|
"lint-staged": {
|
|
110
109
|
"*.{tsx,ts,jsx,js}": [
|
|
111
110
|
"prettier --write",
|
|
112
|
-
"eslint --max-warnings=0 --fix",
|
|
113
111
|
"node ../configs/copyrightLinter.js --fix"
|
|
112
|
+
],
|
|
113
|
+
"*.{tsx,ts}": [
|
|
114
|
+
"eslint --max-warnings=0 --fix"
|
|
114
115
|
]
|
|
115
116
|
},
|
|
116
117
|
"prettier": "configs/prettier-config",
|