@knovator/pagecreator-admin 0.0.10 → 0.2.0
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/README.md +2 -2
- package/index.d.ts +1 -5
- package/package.json +3 -7
- package/index.css +0 -1602
- package/index.js +0 -7361
- package/lib/api/index.d.ts +0 -10
- package/lib/api/list.d.ts +0 -48
- package/lib/components/Page/AddButton/AddButton.d.ts +0 -3
- package/lib/components/Page/AddButton/index.d.ts +0 -2
- package/lib/components/Page/Form/PageForm.d.ts +0 -4
- package/lib/components/Page/Form/index.d.ts +0 -2
- package/lib/components/Page/Page/Page.d.ts +0 -13
- package/lib/components/Page/Page/index.d.ts +0 -2
- package/lib/components/Page/PageFormActions/PageFormActions.d.ts +0 -4
- package/lib/components/Page/PageFormActions/index.d.ts +0 -2
- package/lib/components/Page/PageFormWrapper/PageFormWrapper.d.ts +0 -4
- package/lib/components/Page/PageFormWrapper/index.d.ts +0 -2
- package/lib/components/Page/Pagination/PagePagination.d.ts +0 -3
- package/lib/components/Page/Pagination/index.d.ts +0 -2
- package/lib/components/Page/Search/PageSearch.d.ts +0 -3
- package/lib/components/Page/Search/index.d.ts +0 -2
- package/lib/components/Page/Table/PageTable.d.ts +0 -3
- package/lib/components/Page/Table/index.d.ts +0 -2
- package/lib/components/Page/index.d.ts +0 -2
- package/lib/components/Widget/AddButton/AddButton.d.ts +0 -3
- package/lib/components/Widget/AddButton/index.d.ts +0 -2
- package/lib/components/Widget/Form/TileItemsAccordian.d.ts +0 -4
- package/lib/components/Widget/Form/WidgetForm.d.ts +0 -4
- package/lib/components/Widget/Form/index.d.ts +0 -2
- package/lib/components/Widget/Pagination/WidgetPagination.d.ts +0 -3
- package/lib/components/Widget/Pagination/index.d.ts +0 -2
- package/lib/components/Widget/Search/WidgetSearch.d.ts +0 -3
- package/lib/components/Widget/Search/index.d.ts +0 -2
- package/lib/components/Widget/Table/WidgetTable.d.ts +0 -3
- package/lib/components/Widget/Table/index.d.ts +0 -2
- package/lib/components/Widget/Widget/Widget.d.ts +0 -13
- package/lib/components/Widget/Widget/index.d.ts +0 -2
- package/lib/components/Widget/WidgetFormActions/WidgetFormActions.d.ts +0 -4
- package/lib/components/Widget/WidgetFormActions/index.d.ts +0 -2
- package/lib/components/Widget/WidgetFormWrapper/WidgetFormWrapper.d.ts +0 -4
- package/lib/components/Widget/WidgetFormWrapper/index.d.ts +0 -2
- package/lib/components/Widget/index.d.ts +0 -2
- package/lib/components/common/Accordian/Accordian.d.ts +0 -13
- package/lib/components/common/Accordian/index.d.ts +0 -2
- package/lib/components/common/Button/Button.d.ts +0 -4
- package/lib/components/common/Button/index.d.ts +0 -2
- package/lib/components/common/DNDItemsList/DNDItemsList.d.ts +0 -4
- package/lib/components/common/DNDItemsList/index.d.ts +0 -2
- package/lib/components/common/DeleteModal/DeleteModal.d.ts +0 -4
- package/lib/components/common/DeleteModal/index.d.ts +0 -2
- package/lib/components/common/Drawer/Drawer.d.ts +0 -9
- package/lib/components/common/Drawer/index.d.ts +0 -2
- package/lib/components/common/Form/Form.d.ts +0 -15
- package/lib/components/common/Form/SimpleForm.d.ts +0 -17
- package/lib/components/common/Form/index.d.ts +0 -4
- package/lib/components/common/FormActions/FormActions.d.ts +0 -10
- package/lib/components/common/FormActions/index.d.ts +0 -2
- package/lib/components/common/ImageUpload/ImageUpload.d.ts +0 -4
- package/lib/components/common/ImageUpload/index.d.ts +0 -2
- package/lib/components/common/Input/Checkbox.d.ts +0 -4
- package/lib/components/common/Input/Input.d.ts +0 -4
- package/lib/components/common/Input/ReactSelect.d.ts +0 -4
- package/lib/components/common/Input/Select.d.ts +0 -4
- package/lib/components/common/Input/index.d.ts +0 -10
- package/lib/components/common/Modal/Modal.d.ts +0 -8
- package/lib/components/common/Modal/index.d.ts +0 -2
- package/lib/components/common/Pagination/Pagination.d.ts +0 -4
- package/lib/components/common/Pagination/index.d.ts +0 -2
- package/lib/components/common/Table/Table.d.ts +0 -4
- package/lib/components/common/Table/index.d.ts +0 -2
- package/lib/components/common/Toggle/Toggle.d.ts +0 -4
- package/lib/components/common/Toggle/index.d.ts +0 -2
- package/lib/constants/common.d.ts +0 -100
- package/lib/context/PageContext.d.ts +0 -7
- package/lib/context/ProviderContext.d.ts +0 -5
- package/lib/context/WidgetContext.d.ts +0 -7
- package/lib/helper/utils.d.ts +0 -11
- package/lib/hooks/usePage.d.ts +0 -39
- package/lib/hooks/usePagination.d.ts +0 -27
- package/lib/hooks/useWidget.d.ts +0 -45
- package/lib/icons/chevronDown.d.ts +0 -4
- package/lib/icons/chevronLeft.d.ts +0 -4
- package/lib/icons/chevronRight.d.ts +0 -4
- package/lib/icons/chevronUp.d.ts +0 -4
- package/lib/icons/close.d.ts +0 -4
- package/lib/icons/pencil.d.ts +0 -4
- package/lib/icons/trash.d.ts +0 -4
- package/lib/types/api.d.ts +0 -34
- package/lib/types/common.d.ts +0 -20
- package/lib/types/components.d.ts +0 -276
- package/lib/types/context.d.ts +0 -95
- package/lib/types/index.d.ts +0 -4
package/README.md
CHANGED
|
@@ -146,8 +146,8 @@ import { Provider } from '@knovator/pagecreator-admin';
|
|
|
146
146
|
- `class` name to apply to `Toggle` component, default is `khb_switch`
|
|
147
147
|
- `widgetRoutesPrefix`
|
|
148
148
|
- Prefix to apply after `baseUrl` while calling `widget` API
|
|
149
|
-
- `
|
|
150
|
-
- Prefix to apply after `baseUrl` while calling `
|
|
149
|
+
- `itemsRoutesPrefix`
|
|
150
|
+
- Prefix to apply after `baseUrl` while calling `items` API
|
|
151
151
|
- `pageRoutesPrefix`
|
|
152
152
|
- Prefix to apply after `baseUrl` while calling `page` API
|
|
153
153
|
|
package/index.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@knovator/pagecreator-admin",
|
|
3
|
-
"version": "0.0
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"dependencies": {
|
|
5
5
|
"classnames": "^2.3.1",
|
|
6
6
|
"react-beautiful-dnd": "^13.1.0",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"@knovator/api": "^1.0.2"
|
|
12
12
|
},
|
|
13
13
|
"peerDependencies": {
|
|
14
|
-
"react": "^18"
|
|
14
|
+
"react": "^18 | ^17"
|
|
15
15
|
},
|
|
16
16
|
"repository": {
|
|
17
17
|
"type": "git",
|
|
@@ -31,9 +31,5 @@
|
|
|
31
31
|
"index.css",
|
|
32
32
|
"index.d.ts",
|
|
33
33
|
"index.js"
|
|
34
|
-
]
|
|
35
|
-
"module": "./index.js",
|
|
36
|
-
"main": "./index.js",
|
|
37
|
-
"type": "module",
|
|
38
|
-
"types": "./index.d.ts"
|
|
34
|
+
]
|
|
39
35
|
}
|