@agnos-ui/core-bootstrap 0.4.4 → 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.
Files changed (63) hide show
  1. package/README.md +1 -1
  2. package/{alert-CKtd0QdX.cjs → alert-C-GktcuR.cjs} +4 -1
  3. package/{alert-BgtRL35m.js → alert-DXTwYKjx.js} +5 -2
  4. package/collapse-BBklAEOu.js +666 -0
  5. package/collapse-Ci0mVprH.cjs +665 -0
  6. package/components/accordion/accordion.d.ts +26 -4
  7. package/components/alert/alert.d.ts +16 -3
  8. package/components/alert/index.cjs +1 -1
  9. package/components/alert/index.js +1 -1
  10. package/components/collapse/collapse.d.ts +131 -0
  11. package/components/collapse/index.cjs +5 -0
  12. package/components/collapse/index.d.ts +1 -0
  13. package/components/collapse/index.js +5 -0
  14. package/components/modal/index.cjs +1 -1
  15. package/components/modal/index.js +1 -1
  16. package/components/modal/modal.d.ts +29 -3
  17. package/components/pagination/index.cjs +1 -1
  18. package/components/pagination/index.js +1 -1
  19. package/components/pagination/pagination.d.ts +26 -5
  20. package/components/progressbar/index.cjs +1 -1
  21. package/components/progressbar/index.js +1 -1
  22. package/components/progressbar/progressbar.d.ts +20 -4
  23. package/components/rating/index.cjs +1 -1
  24. package/components/rating/index.js +1 -1
  25. package/components/rating/rating.d.ts +11 -2
  26. package/components/select/index.cjs +1 -1
  27. package/components/select/index.js +1 -1
  28. package/components/select/select.d.ts +29 -6
  29. package/components/slider/index.cjs +1 -1
  30. package/components/slider/index.js +1 -1
  31. package/components/slider/slider.d.ts +35 -7
  32. package/components/toast/index.cjs +1 -1
  33. package/components/toast/index.js +1 -1
  34. package/components/toast/toast.d.ts +19 -2
  35. package/config.d.ts +8 -0
  36. package/css/agnosui.css +2 -0
  37. package/css/agnosui.css.map +1 -1
  38. package/css/select.css +2 -0
  39. package/css/select.css.map +1 -1
  40. package/index.cjs +16 -11
  41. package/index.d.ts +1 -0
  42. package/index.js +15 -10
  43. package/{modal-CvEa8ExQ.js → modal-CHqGXdvt.js} +7 -1
  44. package/{modal-B3BJCG4T.cjs → modal-DFEAGpCe.cjs} +7 -1
  45. package/package.json +8 -4
  46. package/{pageFactory-BMdGxeJT.js → pageFactory-CZZJDqOh.js} +15 -2
  47. package/{pageFactory-ClmOTwC3.cjs → pageFactory-vEBrUBB-.cjs} +15 -2
  48. package/{progressbar-B-Ne074g.js → progressbar-D9S5NLpS.js} +5 -2
  49. package/{progressbar-BSwy_XPW.cjs → progressbar-FwnctYWo.cjs} +4 -1
  50. package/{rating-Bf8cRtHn.cjs → rating-C5NZjIRx.cjs} +1 -1
  51. package/{rating-C1UqlpFs.js → rating-hovacUx0.js} +1 -1
  52. package/scss/select.scss +2 -0
  53. package/{select-9qmK2r6f.cjs → select-AtIM2x7x.cjs} +1 -2
  54. package/{select-DMeOSbKZ.js → select-CLjBDJ3a.js} +1 -2
  55. package/services/transitions/collapse.d.ts +13 -0
  56. package/services/transitions/fade.d.ts +6 -0
  57. package/{slider-BOtu3bQi.js → slider-CLWQS0Ke.js} +1 -1
  58. package/{slider-DA7_i-am.cjs → slider-UHwPs1vO.cjs} +1 -1
  59. package/{toast-CnSdkWfG.cjs → toast-BYDfN1cI.cjs} +10 -1
  60. package/{toast-aPzxFEq9.js → toast-D-by8Hwt.js} +10 -1
  61. package/types.cjs +12 -0
  62. package/types.d.ts +19 -0
  63. package/types.js +13 -1
package/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  [![npm](https://img.shields.io/npm/v/@agnos-ui/core-bootstrap)](https://www.npmjs.com/package/@agnos-ui/core-bootstrap)
4
4
 
5
- This package is made of styles and widget extensions necessary to use AgnosUI with Bootstrap.
5
+ This package is made of styles and component extensions necessary to use AgnosUI with Bootstrap.
6
6
  It contains both CSS and SCSS files allowing same customizability as Bootstrap.
7
7
 
8
8
  It is a dependency of `@agnos-ui/angular-bootstrap`, `@agnos-ui/react-bootstrap` and `@agnos-ui/svelte-bootstrap`.
@@ -3,6 +3,7 @@ const alert = require("@agnos-ui/core/components/alert");
3
3
  const writables = require("@agnos-ui/core/utils/writables");
4
4
  const extendWidget = require("@agnos-ui/core/services/extendWidget");
5
5
  const fade = require("./fade-CJ0jXGio.cjs");
6
+ const types = require("./types.cjs");
6
7
  const defaultConfigExtraProps = {
7
8
  structure: void 0,
8
9
  children: void 0,
@@ -12,7 +13,9 @@ const coreOverride = {
12
13
  transition: fade.fadeTransition
13
14
  };
14
15
  const configValidator = {
15
- type: writables.typeString
16
+ type: writables.createTypeEnum(types.BS_CONTEXTUAL_CLASSES),
17
+ structure: void 0,
18
+ children: void 0
16
19
  };
17
20
  function getAlertDefaultConfig() {
18
21
  return { ...alert.getAlertDefaultConfig(), ...defaultConfigExtraProps, ...coreOverride };
@@ -1,7 +1,8 @@
1
1
  import { getAlertDefaultConfig as getAlertDefaultConfig$1, createAlert as createAlert$1 } from "@agnos-ui/core/components/alert";
2
- import { typeString } from "@agnos-ui/core/utils/writables";
2
+ import { createTypeEnum } from "@agnos-ui/core/utils/writables";
3
3
  import { extendWidgetProps } from "@agnos-ui/core/services/extendWidget";
4
4
  import { f as fadeTransition } from "./fade-uOobJKgw.js";
5
+ import { BS_CONTEXTUAL_CLASSES } from "./types.js";
5
6
  const defaultConfigExtraProps = {
6
7
  structure: void 0,
7
8
  children: void 0,
@@ -11,7 +12,9 @@ const coreOverride = {
11
12
  transition: fadeTransition
12
13
  };
13
14
  const configValidator = {
14
- type: typeString
15
+ type: createTypeEnum(BS_CONTEXTUAL_CLASSES),
16
+ structure: void 0,
17
+ children: void 0
15
18
  };
16
19
  function getAlertDefaultConfig() {
17
20
  return { ...getAlertDefaultConfig$1(), ...defaultConfigExtraProps, ...coreOverride };