gd-bs 5.7.6 → 5.7.9
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/build/bs.js +1 -1
- package/build/components/checkboxGroup/index.js +1 -12
- package/build/components/checkboxGroup/item.js +3 -0
- package/build/components/checkboxGroup/templates.js +1 -1
- package/build/components/form/control.js +6 -0
- package/build/components/offcanvas/index.js +55 -7
- package/dist/gd-bs-icons.js +6 -6
- package/dist/gd-bs-icons.min.js +1 -1
- package/dist/gd-bs.d.ts +23 -0
- package/dist/gd-bs.js +6 -6
- package/dist/gd-bs.min.js +1 -1
- package/index.html +4 -1
- package/package.json +2 -2
- package/pnpm-lock.yaml +1 -1
- package/src/bs.scss +30 -0
- package/src/components/checkboxGroup/index.ts +1 -12
- package/src/components/checkboxGroup/item.ts +4 -0
- package/src/components/checkboxGroup/templates.ts +2 -2
- package/src/components/form/control.ts +6 -0
- package/src/components/form/controlTypes.d.ts +2 -0
- package/src/components/offcanvas/index.ts +56 -7
- package/src/components/offcanvas/types.d.ts +21 -0
package/dist/gd-bs.d.ts
CHANGED
|
@@ -1189,6 +1189,7 @@ declare module 'gd-bs/components/form/controlTypes' {
|
|
|
1189
1189
|
onControlRendering?: (control: IFormControlPropsCheckbox) => void | PromiseLike<IFormControlPropsCheckbox>;
|
|
1190
1190
|
onGetValue?: (control: IFormControlPropsCheckbox) => any;
|
|
1191
1191
|
onValidate?: (control: IFormControlPropsCheckbox, value: IFormControlValidationResult) => boolean | IFormControlValidationResult;
|
|
1192
|
+
renderRow?: boolean;
|
|
1192
1193
|
}
|
|
1193
1194
|
|
|
1194
1195
|
/**
|
|
@@ -1228,6 +1229,7 @@ declare module 'gd-bs/components/form/controlTypes' {
|
|
|
1228
1229
|
onControlRendering?: (control: IFormControlPropsCheckbox) => void | PromiseLike<IFormControlPropsCheckbox>;
|
|
1229
1230
|
onGetValue?: (control: IFormControlPropsCheckbox) => any;
|
|
1230
1231
|
onValidate?: (control: IFormControlPropsCheckbox, value: IFormControlValidationResult) => boolean | IFormControlValidationResult;
|
|
1232
|
+
renderRow?: boolean;
|
|
1231
1233
|
}
|
|
1232
1234
|
|
|
1233
1235
|
/**
|
|
@@ -2221,6 +2223,9 @@ declare module 'gd-bs/components/offcanvas/types' {
|
|
|
2221
2223
|
/** Updates the auto close flag. */
|
|
2222
2224
|
setAutoClose: (value: boolean) => void;
|
|
2223
2225
|
|
|
2226
|
+
/** Updates the size. */
|
|
2227
|
+
setSize: (canvasSize: number) => void;
|
|
2228
|
+
|
|
2224
2229
|
/** Updates the type. */
|
|
2225
2230
|
setType: (canvasType: number) => void;
|
|
2226
2231
|
|
|
@@ -2241,6 +2246,7 @@ declare module 'gd-bs/components/offcanvas/types' {
|
|
|
2241
2246
|
onRenderBody?: (el?: HTMLDivElement, props?: IOffcanvasProps) => void;
|
|
2242
2247
|
onRenderHeader?: (el?: HTMLDivElement, props?: IOffcanvasProps) => void;
|
|
2243
2248
|
options?: IOffcanvasOptions;
|
|
2249
|
+
size?: number;
|
|
2244
2250
|
title?: string | T;
|
|
2245
2251
|
type?: number;
|
|
2246
2252
|
}
|
|
@@ -2268,6 +2274,22 @@ declare module 'gd-bs/components/offcanvas/types' {
|
|
|
2268
2274
|
visible?: boolean;
|
|
2269
2275
|
}
|
|
2270
2276
|
|
|
2277
|
+
/**
|
|
2278
|
+
* Offcanvas Size
|
|
2279
|
+
*/
|
|
2280
|
+
export type IOffcanvasSize = {
|
|
2281
|
+
Small1: number;
|
|
2282
|
+
Small2: number;
|
|
2283
|
+
Small3: number;
|
|
2284
|
+
Medium1: number;
|
|
2285
|
+
Medium2: number;
|
|
2286
|
+
Medium3: number;
|
|
2287
|
+
Large1: number;
|
|
2288
|
+
Large2: number;
|
|
2289
|
+
Large3: number;
|
|
2290
|
+
Full: number;
|
|
2291
|
+
}
|
|
2292
|
+
|
|
2271
2293
|
/**
|
|
2272
2294
|
* Offcanvas Types
|
|
2273
2295
|
*/
|
|
@@ -2275,6 +2297,7 @@ declare module 'gd-bs/components/offcanvas/types' {
|
|
|
2275
2297
|
Bottom: number;
|
|
2276
2298
|
End: number;
|
|
2277
2299
|
Start: number;
|
|
2300
|
+
Top: number;
|
|
2278
2301
|
}
|
|
2279
2302
|
}
|
|
2280
2303
|
|