@agnos-ui/core-bootstrap 0.4.0-next.0 → 0.4.0-next.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.
- package/components/modal/index.cjs +1 -1
- package/components/modal/index.js +1 -1
- package/components/modal/modal.d.ts +6 -6
- package/components/pagination/index.cjs +1 -1
- package/components/pagination/index.js +1 -1
- package/components/pagination/pagination.d.ts +12 -12
- package/components/progressbar/index.cjs +1 -1
- package/components/progressbar/index.js +1 -1
- package/components/progressbar/progressbar.d.ts +1 -1
- package/css/agnosui.css +1 -1
- package/index.cjs +3 -3
- package/index.js +3 -3
- package/{modal-DjcVpsmH.cjs → modal-B3BJCG4T.cjs} +4 -4
- package/{modal-BIfiTSEV.js → modal-CvEa8ExQ.js} +4 -4
- package/package.json +2 -3
- package/{pageFactory-C8ZmJXYi.js → pageFactory-BMdGxeJT.js} +8 -8
- package/{pageFactory-Dubi5rdt.cjs → pageFactory-ClmOTwC3.cjs} +8 -8
- package/{progressbar-YdR19Yjo.js → progressbar-B-Ne074g.js} +1 -1
- package/{progressbar-lnU6H0H4.cjs → progressbar-BSwy_XPW.cjs} +1 -1
- package/scss/_slider.scss +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const modal = require("../../modal-
|
|
3
|
+
const modal = require("../../modal-B3BJCG4T.cjs");
|
|
4
4
|
const modal$1 = require("@agnos-ui/core/components/modal");
|
|
5
5
|
exports.createModal = modal.createModal;
|
|
6
6
|
exports.getModalDefaultConfig = modal.getModalDefaultConfig;
|
|
@@ -14,20 +14,20 @@ interface ModalExtraProps<Data> {
|
|
|
14
14
|
/**
|
|
15
15
|
* Footer of the modal.
|
|
16
16
|
*/
|
|
17
|
-
|
|
17
|
+
footer: SlotContent<ModalContext<Data>>;
|
|
18
18
|
/**
|
|
19
|
-
* Header of the modal. The default header includes {@link ModalCommonPropsAndState.
|
|
19
|
+
* Header of the modal. The default header includes {@link ModalCommonPropsAndState.title|title}.
|
|
20
20
|
*/
|
|
21
|
-
|
|
21
|
+
header: SlotContent<ModalContext<Data>>;
|
|
22
22
|
/**
|
|
23
23
|
* Structure of the modal.
|
|
24
|
-
* The default structure uses {@link ModalCommonPropsAndState.
|
|
24
|
+
* The default structure uses {@link ModalCommonPropsAndState.header|header}, {@link ModalCommonPropsAndState.children|children} and {@link ModalCommonPropsAndState.footer|footer}.
|
|
25
25
|
*/
|
|
26
|
-
|
|
26
|
+
structure: SlotContent<ModalContext<Data>>;
|
|
27
27
|
/**
|
|
28
28
|
* Title of the modal.
|
|
29
29
|
*/
|
|
30
|
-
|
|
30
|
+
title: SlotContent<ModalContext<Data>>;
|
|
31
31
|
/**
|
|
32
32
|
* Option to create a fullscreen modal, according to the bootstrap documentation.
|
|
33
33
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const pageFactory = require("../../pageFactory-
|
|
3
|
+
const pageFactory = require("../../pageFactory-ClmOTwC3.cjs");
|
|
4
4
|
const pagination = require("@agnos-ui/core/components/pagination");
|
|
5
5
|
exports.createPagination = pageFactory.createPagination;
|
|
6
6
|
exports.getPaginationDefaultConfig = pageFactory.getPaginationDefaultConfig;
|
|
@@ -17,53 +17,53 @@ export type PaginationNumberContext = PaginationContext & {
|
|
|
17
17
|
interface PaginationExtraProps {
|
|
18
18
|
/**
|
|
19
19
|
* The template to use for the structure of the pagination component
|
|
20
|
-
* The default structure uses {@link
|
|
21
|
-
* {@link
|
|
22
|
-
* {@link
|
|
23
|
-
* {@link
|
|
20
|
+
* The default structure uses {@link PaginationProps.ellipsisLabel|ellipsisLabel}, {@link PaginationProps.firstPageLabel|firstPageLabel},
|
|
21
|
+
* {@link PaginationProps.previousPageLabel|previousPageLabel}, {@link PaginationProps.nextPageLabel|nextPageLabel},
|
|
22
|
+
* {@link PaginationProps.lastPageLabel|lastPageLabel}, {@link PaginationProps.pagesDisplay|pagesDisplay},
|
|
23
|
+
* {@link PaginationProps.numberLabel|numberLabel},
|
|
24
24
|
*/
|
|
25
|
-
|
|
25
|
+
structure: SlotContent<PaginationContext>;
|
|
26
26
|
/**
|
|
27
27
|
* The template to use for the ellipsis slot
|
|
28
28
|
* for I18n, we suggest to use the global configuration
|
|
29
29
|
* override any configuration parameters provided for this
|
|
30
30
|
* @defaultValue '…'
|
|
31
31
|
*/
|
|
32
|
-
|
|
32
|
+
ellipsisLabel: SlotContent<PaginationContext>;
|
|
33
33
|
/**
|
|
34
34
|
* The template to use for the first slot
|
|
35
35
|
* for I18n, we suggest to use the global configuration
|
|
36
36
|
* override any configuration parameters provided for this
|
|
37
37
|
* @defaultValue '«'
|
|
38
38
|
*/
|
|
39
|
-
|
|
39
|
+
firstPageLabel: SlotContent<PaginationContext>;
|
|
40
40
|
/**
|
|
41
41
|
* The template to use for the previous slot
|
|
42
42
|
* for I18n, we suggest to use the global configuration
|
|
43
43
|
* override any configuration parameters provided for this
|
|
44
44
|
* @defaultValue '‹'
|
|
45
45
|
*/
|
|
46
|
-
|
|
46
|
+
previousPageLabel: SlotContent<PaginationContext>;
|
|
47
47
|
/**
|
|
48
48
|
* The template to use for the next slot
|
|
49
49
|
* for I18n, we suggest to use the global configuration
|
|
50
50
|
* override any configuration parameters provided for this
|
|
51
51
|
* @defaultValue '›'
|
|
52
52
|
*/
|
|
53
|
-
|
|
53
|
+
nextPageLabel: SlotContent<PaginationContext>;
|
|
54
54
|
/**
|
|
55
55
|
* The template to use for the last slot
|
|
56
56
|
* for I18n, we suggest to use the global configuration
|
|
57
57
|
* override any configuration parameters provided for this
|
|
58
58
|
* @defaultValue '»'
|
|
59
59
|
*/
|
|
60
|
-
|
|
60
|
+
lastPageLabel: SlotContent<PaginationContext>;
|
|
61
61
|
/**
|
|
62
62
|
* The template to use for the pages slot
|
|
63
63
|
* To use to customize the pages view
|
|
64
64
|
* override any configuration parameters provided for this
|
|
65
65
|
*/
|
|
66
|
-
|
|
66
|
+
pagesDisplay: SlotContent<PaginationContext>;
|
|
67
67
|
/**
|
|
68
68
|
* The template to use for the number slot
|
|
69
69
|
* override any configuration parameters provided for this
|
|
@@ -74,7 +74,7 @@ interface PaginationExtraProps {
|
|
|
74
74
|
* ```
|
|
75
75
|
* @param displayedPage - The current page number
|
|
76
76
|
*/
|
|
77
|
-
|
|
77
|
+
numberLabel: SlotContent<PaginationNumberContext>;
|
|
78
78
|
}
|
|
79
79
|
export interface PaginationState extends CoreState, PaginationExtraProps {
|
|
80
80
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const progressbar = require("../../progressbar-
|
|
3
|
+
const progressbar = require("../../progressbar-BSwy_XPW.cjs");
|
|
4
4
|
const progressbar$1 = require("@agnos-ui/core/components/progressbar");
|
|
5
5
|
exports.createProgressbar = progressbar.createProgressbar;
|
|
6
6
|
exports.getProgressbarDefaultConfig = progressbar.getProgressbarDefaultConfig;
|
package/css/agnosui.css
CHANGED
|
@@ -112,7 +112,7 @@
|
|
|
112
112
|
.au-slider .au-slider-handle:not([disabled]):hover {
|
|
113
113
|
border: var(--bs-slider-handle-border-hover);
|
|
114
114
|
}
|
|
115
|
-
.au-slider .au-slider-handle:focus {
|
|
115
|
+
.au-slider .au-slider-handle:focus-visible {
|
|
116
116
|
box-shadow: var(--bs-slider-handle-focus-box-shadow);
|
|
117
117
|
}
|
|
118
118
|
.au-slider .au-slider-progress {
|
package/index.cjs
CHANGED
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
3
|
const accordion = require("./accordion-B-uoNLHJ.cjs");
|
|
4
4
|
const alert = require("./alert-CKtd0QdX.cjs");
|
|
5
|
-
const modal = require("./modal-
|
|
6
|
-
const pageFactory = require("./pageFactory-
|
|
7
|
-
const progressbar = require("./progressbar-
|
|
5
|
+
const modal = require("./modal-B3BJCG4T.cjs");
|
|
6
|
+
const pageFactory = require("./pageFactory-ClmOTwC3.cjs");
|
|
7
|
+
const progressbar = require("./progressbar-BSwy_XPW.cjs");
|
|
8
8
|
const rating = require("./rating-Bf8cRtHn.cjs");
|
|
9
9
|
const select = require("./select-9qmK2r6f.cjs");
|
|
10
10
|
const slider = require("./slider-DA7_i-am.cjs");
|
package/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { a, c, g } from "./accordion-DBVC9W8u.js";
|
|
2
2
|
import { c as c2, g as g2 } from "./alert-BgtRL35m.js";
|
|
3
|
-
import { c as c3, g as g3 } from "./modal-
|
|
4
|
-
import { c as c4, g as g4, n } from "./pageFactory-
|
|
5
|
-
import { c as c5, g as g5 } from "./progressbar-
|
|
3
|
+
import { c as c3, g as g3 } from "./modal-CvEa8ExQ.js";
|
|
4
|
+
import { c as c4, g as g4, n } from "./pageFactory-BMdGxeJT.js";
|
|
5
|
+
import { c as c5, g as g5 } from "./progressbar-B-Ne074g.js";
|
|
6
6
|
import { c as c6, g as g6 } from "./rating-C1UqlpFs.js";
|
|
7
7
|
import { c as c7, g as g7 } from "./select-DMeOSbKZ.js";
|
|
8
8
|
import { c as c8, g as g8 } from "./slider-BOtu3bQi.js";
|
|
@@ -6,10 +6,10 @@ const writables = require("@agnos-ui/core/utils/writables");
|
|
|
6
6
|
const defaultConfigExtraProps = {
|
|
7
7
|
contentData: void 0,
|
|
8
8
|
children: void 0,
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
9
|
+
footer: void 0,
|
|
10
|
+
header: void 0,
|
|
11
|
+
structure: void 0,
|
|
12
|
+
title: void 0,
|
|
13
13
|
fullscreen: false
|
|
14
14
|
};
|
|
15
15
|
const coreOverride = {
|
|
@@ -5,10 +5,10 @@ import { typeBoolean } from "@agnos-ui/core/utils/writables";
|
|
|
5
5
|
const defaultConfigExtraProps = {
|
|
6
6
|
contentData: void 0,
|
|
7
7
|
children: void 0,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
8
|
+
footer: void 0,
|
|
9
|
+
header: void 0,
|
|
10
|
+
structure: void 0,
|
|
11
|
+
title: void 0,
|
|
12
12
|
fullscreen: false
|
|
13
13
|
};
|
|
14
14
|
const coreOverride = {
|
package/package.json
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agnos-ui/core-bootstrap",
|
|
3
3
|
"description": "Styles and widget interface extensions necessary to use AgnosUI with Bootstrap.",
|
|
4
|
-
"version": "0.4.0-next.
|
|
4
|
+
"version": "0.4.0-next.1",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"bootstrap",
|
|
7
|
-
"headless",
|
|
8
7
|
"css",
|
|
9
8
|
"scss",
|
|
10
9
|
"AgnosUI",
|
|
@@ -60,7 +59,7 @@
|
|
|
60
59
|
}
|
|
61
60
|
},
|
|
62
61
|
"dependencies": {
|
|
63
|
-
"@agnos-ui/core": "0.4.0-next.
|
|
62
|
+
"@agnos-ui/core": "0.4.0-next.1"
|
|
64
63
|
},
|
|
65
64
|
"sideEffects": false,
|
|
66
65
|
"homepage": "https://amadeusitgroup.github.io/AgnosUI/latest/",
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { extendWidgetProps } from "@agnos-ui/core/services/extendWidget";
|
|
2
2
|
import { getPaginationDefaultConfig as getPaginationDefaultConfig$1, createPagination as createPagination$1 } from "@agnos-ui/core/components/pagination";
|
|
3
3
|
const defaultConfigExtraProps = {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
4
|
+
structure: void 0,
|
|
5
|
+
ellipsisLabel: "…",
|
|
6
|
+
firstPageLabel: "«",
|
|
7
|
+
previousPageLabel: "‹",
|
|
8
|
+
nextPageLabel: "›",
|
|
9
|
+
lastPageLabel: "»",
|
|
10
|
+
numberLabel: ({ displayedPage }) => `${displayedPage}`,
|
|
11
|
+
pagesDisplay: void 0
|
|
12
12
|
};
|
|
13
13
|
function getPaginationDefaultConfig() {
|
|
14
14
|
return { ...getPaginationDefaultConfig$1(), ...defaultConfigExtraProps };
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
const extendWidget = require("@agnos-ui/core/services/extendWidget");
|
|
3
3
|
const pagination = require("@agnos-ui/core/components/pagination");
|
|
4
4
|
const defaultConfigExtraProps = {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
5
|
+
structure: void 0,
|
|
6
|
+
ellipsisLabel: "…",
|
|
7
|
+
firstPageLabel: "«",
|
|
8
|
+
previousPageLabel: "‹",
|
|
9
|
+
nextPageLabel: "›",
|
|
10
|
+
lastPageLabel: "»",
|
|
11
|
+
numberLabel: ({ displayedPage }) => `${displayedPage}`,
|
|
12
|
+
pagesDisplay: void 0
|
|
13
13
|
};
|
|
14
14
|
function getPaginationDefaultConfig() {
|
|
15
15
|
return { ...pagination.getPaginationDefaultConfig(), ...defaultConfigExtraProps };
|
|
@@ -2,7 +2,7 @@ import { getProgressbarDefaultConfig as getProgressbarDefaultConfig$1, createPro
|
|
|
2
2
|
import { typeString, typeBoolean } from "@agnos-ui/core/utils/writables";
|
|
3
3
|
import { extendWidgetProps } from "@agnos-ui/core/services/extendWidget";
|
|
4
4
|
const defaultConfigExtraProps = {
|
|
5
|
-
|
|
5
|
+
structure: void 0,
|
|
6
6
|
children: void 0,
|
|
7
7
|
height: "",
|
|
8
8
|
striped: false,
|
|
@@ -3,7 +3,7 @@ const progressbar = require("@agnos-ui/core/components/progressbar");
|
|
|
3
3
|
const writables = require("@agnos-ui/core/utils/writables");
|
|
4
4
|
const extendWidget = require("@agnos-ui/core/services/extendWidget");
|
|
5
5
|
const defaultConfigExtraProps = {
|
|
6
|
-
|
|
6
|
+
structure: void 0,
|
|
7
7
|
children: void 0,
|
|
8
8
|
height: "",
|
|
9
9
|
striped: false,
|