@agnos-ui/core-bootstrap 0.4.3 → 0.5.0-next.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 +1 -1
- package/{alert-CKtd0QdX.cjs → alert-C-GktcuR.cjs} +4 -1
- package/{alert-BgtRL35m.js → alert-DXTwYKjx.js} +5 -2
- package/collapse-BBklAEOu.js +666 -0
- package/collapse-Ci0mVprH.cjs +665 -0
- package/components/accordion/accordion.d.ts +26 -4
- package/components/alert/alert.d.ts +16 -3
- package/components/alert/index.cjs +1 -1
- package/components/alert/index.js +1 -1
- package/components/collapse/collapse.d.ts +131 -0
- package/components/collapse/index.cjs +5 -0
- package/components/collapse/index.d.ts +1 -0
- package/components/collapse/index.js +5 -0
- package/components/modal/index.cjs +1 -1
- package/components/modal/index.js +1 -1
- package/components/modal/modal.d.ts +29 -3
- package/components/pagination/index.cjs +1 -1
- package/components/pagination/index.js +1 -1
- package/components/pagination/pagination.d.ts +26 -5
- package/components/progressbar/index.cjs +1 -1
- package/components/progressbar/index.js +1 -1
- package/components/progressbar/progressbar.d.ts +20 -4
- package/components/rating/index.cjs +1 -1
- package/components/rating/index.js +1 -1
- package/components/rating/rating.d.ts +11 -2
- package/components/select/index.cjs +1 -1
- package/components/select/index.js +1 -1
- package/components/select/select.d.ts +29 -6
- package/components/slider/index.cjs +1 -1
- package/components/slider/index.js +1 -1
- package/components/slider/slider.d.ts +35 -7
- package/components/toast/index.cjs +1 -1
- package/components/toast/index.js +1 -1
- package/components/toast/toast.d.ts +19 -2
- package/config.d.ts +8 -0
- package/css/agnosui.css +6 -0
- package/css/agnosui.css.map +1 -1
- package/css/select.css +2 -0
- package/css/select.css.map +1 -1
- package/css/slider.css +4 -0
- package/css/slider.css.map +1 -1
- package/index.cjs +16 -11
- package/index.d.ts +1 -0
- package/index.js +15 -10
- package/{modal-CvEa8ExQ.js → modal-CHqGXdvt.js} +7 -1
- package/{modal-B3BJCG4T.cjs → modal-DFEAGpCe.cjs} +7 -1
- package/package.json +8 -4
- package/{pageFactory-BMdGxeJT.js → pageFactory-CZZJDqOh.js} +15 -2
- package/{pageFactory-ClmOTwC3.cjs → pageFactory-vEBrUBB-.cjs} +15 -2
- package/{progressbar-B-Ne074g.js → progressbar-D9S5NLpS.js} +5 -2
- package/{progressbar-BSwy_XPW.cjs → progressbar-FwnctYWo.cjs} +4 -1
- package/{rating-Bf8cRtHn.cjs → rating-C5NZjIRx.cjs} +1 -1
- package/{rating-C1UqlpFs.js → rating-hovacUx0.js} +1 -1
- package/scss/select.scss +2 -0
- package/scss/slider.scss +4 -0
- package/{select-9qmK2r6f.cjs → select-AtIM2x7x.cjs} +1 -2
- package/{select-DMeOSbKZ.js → select-CLjBDJ3a.js} +1 -2
- package/services/transitions/collapse.d.ts +13 -0
- package/services/transitions/fade.d.ts +6 -0
- package/{slider-BOtu3bQi.js → slider-CLWQS0Ke.js} +1 -1
- package/{slider-DA7_i-am.cjs → slider-UHwPs1vO.cjs} +1 -1
- package/{toast-CnSdkWfG.cjs → toast-BYDfN1cI.cjs} +10 -1
- package/{toast-aPzxFEq9.js → toast-D-by8Hwt.js} +10 -1
- package/types.cjs +12 -0
- package/types.d.ts +19 -0
- package/types.js +13 -1
package/types.d.ts
CHANGED
|
@@ -1 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Represents the contextual classes available in Bootstrap.
|
|
3
|
+
* These classes are used to apply different styles to elements
|
|
4
|
+
* based on the context or state they represent.
|
|
5
|
+
*
|
|
6
|
+
* Possible values are:
|
|
7
|
+
* - 'success': Indicates a successful or positive action.
|
|
8
|
+
* - 'info': Represents informational messages or actions.
|
|
9
|
+
* - 'warning': Denotes a warning that might need attention.
|
|
10
|
+
* - 'danger': Signifies a dangerous or potentially negative action.
|
|
11
|
+
* - 'primary': Primary action or information.
|
|
12
|
+
* - 'secondary': Secondary action or information.
|
|
13
|
+
* - 'light': Light background or context.
|
|
14
|
+
* - 'dark': Dark background or context.
|
|
15
|
+
*/
|
|
1
16
|
export type BSContextualClass = 'success' | 'info' | 'warning' | 'danger' | 'primary' | 'secondary' | 'light' | 'dark';
|
|
17
|
+
/**
|
|
18
|
+
* List of all contextual classes, can be used to validate that a specific string is a {@link BSContextualClass}
|
|
19
|
+
*/
|
|
20
|
+
export declare const BS_CONTEXTUAL_CLASSES: BSContextualClass[];
|
package/types.js
CHANGED
|
@@ -1 +1,13 @@
|
|
|
1
|
-
|
|
1
|
+
const BS_CONTEXTUAL_CLASSES = Object.values({
|
|
2
|
+
success: "success",
|
|
3
|
+
info: "info",
|
|
4
|
+
warning: "warning",
|
|
5
|
+
danger: "danger",
|
|
6
|
+
primary: "primary",
|
|
7
|
+
secondary: "secondary",
|
|
8
|
+
light: "light",
|
|
9
|
+
dark: "dark"
|
|
10
|
+
});
|
|
11
|
+
export {
|
|
12
|
+
BS_CONTEXTUAL_CLASSES
|
|
13
|
+
};
|