@knovator/pagecreator-admin 0.0.10 → 0.3.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.css +21 -1
- package/index.js +1002 -1113
- package/lib/api/list.d.ts +1 -1
- package/lib/components/Widget/Form/ItemsAccordian.d.ts +4 -0
- package/lib/components/common/Input/SrcSet.d.ts +4 -0
- package/lib/components/common/Input/index.d.ts +2 -0
- package/lib/constants/common.d.ts +24 -19
- package/lib/context/ProviderContext.d.ts +1 -1
- package/lib/context/WidgetContext.d.ts +1 -1
- package/lib/hooks/useWidget.d.ts +10 -6
- package/lib/icons/plus.d.ts +4 -0
- package/lib/types/api.d.ts +3 -3
- package/lib/types/common.d.ts +6 -1
- package/lib/types/components.d.ts +7 -28
- package/lib/types/context.d.ts +10 -9
- package/package.json +2 -2
- package/lib/components/Widget/Form/TileItemsAccordian.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.css
CHANGED
|
@@ -524,9 +524,15 @@ video {
|
|
|
524
524
|
.hidden {
|
|
525
525
|
display: none;
|
|
526
526
|
}
|
|
527
|
+
.h-7 {
|
|
528
|
+
height: 1.75rem;
|
|
529
|
+
}
|
|
527
530
|
.w-full {
|
|
528
531
|
width: 100%;
|
|
529
532
|
}
|
|
533
|
+
.w-7 {
|
|
534
|
+
width: 1.75rem;
|
|
535
|
+
}
|
|
530
536
|
.flex-1 {
|
|
531
537
|
flex: 1 1 0%;
|
|
532
538
|
}
|
|
@@ -693,6 +699,10 @@ video {
|
|
|
693
699
|
--tw-ring-color: rgb(127 29 29 / var(--tw-ring-opacity));
|
|
694
700
|
}
|
|
695
701
|
}
|
|
702
|
+
.khb_btn-danger:disabled {
|
|
703
|
+
--tw-bg-opacity: 1;
|
|
704
|
+
background-color: rgb(153 27 27 / var(--tw-bg-opacity));
|
|
705
|
+
}
|
|
696
706
|
|
|
697
707
|
.khb_btn-xs {
|
|
698
708
|
padding-left: 0.375rem;
|
|
@@ -997,6 +1007,16 @@ video {
|
|
|
997
1007
|
--tw-text-opacity: 1;
|
|
998
1008
|
color: rgb(220 38 38 / var(--tw-text-opacity));
|
|
999
1009
|
}
|
|
1010
|
+
.khb_input-srcset {
|
|
1011
|
+
display: flex;
|
|
1012
|
+
flex-direction: row;
|
|
1013
|
+
align-items: center;
|
|
1014
|
+
}
|
|
1015
|
+
.khb_input-srcset-items > :not([hidden]) ~ :not([hidden]) {
|
|
1016
|
+
--tw-space-y-reverse: 0;
|
|
1017
|
+
margin-top: calc(0.25rem * calc(1 - var(--tw-space-y-reverse)));
|
|
1018
|
+
margin-bottom: calc(0.25rem * var(--tw-space-y-reverse));
|
|
1019
|
+
}
|
|
1000
1020
|
/* \ End of Input */
|
|
1001
1021
|
|
|
1002
1022
|
/* Drawer */
|
|
@@ -1259,7 +1279,7 @@ video {
|
|
|
1259
1279
|
background-color: rgb(229 231 235 / var(--tw-bg-opacity));
|
|
1260
1280
|
padding: 0.25rem;
|
|
1261
1281
|
}
|
|
1262
|
-
.
|
|
1282
|
+
.khb_item-items > :not([hidden]) ~ :not([hidden]) {
|
|
1263
1283
|
--tw-space-y-reverse: 0;
|
|
1264
1284
|
margin-top: calc(0.25rem * calc(1 - var(--tw-space-y-reverse)));
|
|
1265
1285
|
margin-bottom: calc(0.25rem * var(--tw-space-y-reverse));
|