@usecapsule/core-components 3.0.1-dev.1 → 3.0.1-dev.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (69) hide show
  1. package/css/capsule-core.css +4 -4
  2. package/dist/capsule/capsule.esm.js +1 -1
  3. package/dist/capsule/capsule.esm.js.map +1 -1
  4. package/dist/capsule/p-397edab5.entry.js +2 -0
  5. package/dist/capsule/{p-73398222.entry.js → p-52d6ebee.entry.js} +2 -2
  6. package/dist/capsule/{p-39584a7b.entry.js → p-5ed5e96c.entry.js} +2 -2
  7. package/dist/capsule/{p-97c33636.js → p-6e71539d.js} +1 -1
  8. package/dist/{esm/index-97ed6ec1.js.map → capsule/p-6e71539d.js.map} +1 -1
  9. package/dist/capsule/{p-127ac658.entry.js → p-70f95c93.entry.js} +2 -2
  10. package/dist/capsule/{p-69756614.entry.js → p-86e6cba5.entry.js} +2 -2
  11. package/dist/capsule/{p-8de15b15.entry.js → p-dd596431.entry.js} +3 -3
  12. package/dist/capsule/p-dd596431.entry.js.map +1 -0
  13. package/dist/capsule/{p-fd26ce6e.entry.js → p-f9351426.entry.js} +2 -2
  14. package/dist/cjs/capsule.cjs.js +2 -2
  15. package/dist/cjs/capsule.cjs.js.map +1 -1
  16. package/dist/cjs/cpsl-alert_33.cjs.entry.js +56 -19
  17. package/dist/cjs/cpsl-alert_33.cjs.entry.js.map +1 -1
  18. package/dist/cjs/cpsl-animation.cjs.entry.js +1 -1
  19. package/dist/cjs/cpsl-col.cjs.entry.js +1 -1
  20. package/dist/cjs/cpsl-grid.cjs.entry.js +1 -1
  21. package/dist/cjs/cpsl-info-box.cjs.entry.js +1 -1
  22. package/dist/cjs/cpsl-modal-v2.cjs.entry.js +1 -1
  23. package/dist/cjs/cpsl-row.cjs.entry.js +1 -1
  24. package/dist/cjs/{index-5293d431.js → index-85125285.js} +1 -1
  25. package/dist/cjs/index-85125285.js.map +1 -0
  26. package/dist/cjs/loader.cjs.js +2 -2
  27. package/dist/collection/components/cpsl-popover/cpsl-popover.js +46 -5
  28. package/dist/collection/components/cpsl-popover/cpsl-popover.js.map +1 -1
  29. package/dist/collection/components/cpsl-select/cpsl-select.css +2 -0
  30. package/dist/collection/components/cpsl-select/cpsl-select.js +35 -1
  31. package/dist/collection/components/cpsl-select/cpsl-select.js.map +1 -1
  32. package/dist/collection/components/cpsl-select-item/cpsl-select-item.css +22 -12
  33. package/dist/collection/components/cpsl-select-item/cpsl-select-item.js +1 -1
  34. package/dist/collection/components/cpsl-select-item/cpsl-select-item.js.map +1 -1
  35. package/dist/collection/components/cpsl-slide-button/cpsl-slide-button.js +1 -1
  36. package/dist/collection/components/cpsl-spinner/cpsl-spinner.js +2 -2
  37. package/dist/collection/components/cpsl-switch/cpsl-switch.js +1 -1
  38. package/dist/collection/components/cpsl-tab/cpsl-tab.js +1 -1
  39. package/dist/collection/components/cpsl-table/cpsl-table.js +1 -1
  40. package/dist/collection/components/cpsl-tabs/cpsl-tabs.js +1 -1
  41. package/dist/collection/components/cpsl-text/cpsl-text.js +1 -1
  42. package/dist/collection/components/cpsl-tile-button/cpsl-tile-button.js +1 -1
  43. package/dist/esm/capsule.js +3 -3
  44. package/dist/esm/capsule.js.map +1 -1
  45. package/dist/esm/cpsl-alert_33.entry.js +56 -19
  46. package/dist/esm/cpsl-alert_33.entry.js.map +1 -1
  47. package/dist/esm/cpsl-animation.entry.js +1 -1
  48. package/dist/esm/cpsl-col.entry.js +1 -1
  49. package/dist/esm/cpsl-grid.entry.js +1 -1
  50. package/dist/esm/cpsl-info-box.entry.js +1 -1
  51. package/dist/esm/cpsl-modal-v2.entry.js +1 -1
  52. package/dist/esm/cpsl-row.entry.js +1 -1
  53. package/dist/esm/{index-97ed6ec1.js → index-b9a060b3.js} +1 -1
  54. package/dist/esm/index-b9a060b3.js.map +1 -0
  55. package/dist/esm/loader.js +3 -3
  56. package/dist/types/components/cpsl-popover/cpsl-popover.d.ts +2 -0
  57. package/dist/types/components/cpsl-select/cpsl-select.d.ts +6 -0
  58. package/dist/types/components.d.ts +16 -0
  59. package/package.json +1 -1
  60. package/dist/capsule/p-8de15b15.entry.js.map +0 -1
  61. package/dist/capsule/p-97c33636.js.map +0 -1
  62. package/dist/capsule/p-f72482c3.entry.js +0 -2
  63. package/dist/cjs/index-5293d431.js.map +0 -1
  64. /package/dist/capsule/{p-f72482c3.entry.js.map → p-397edab5.entry.js.map} +0 -0
  65. /package/dist/capsule/{p-73398222.entry.js.map → p-52d6ebee.entry.js.map} +0 -0
  66. /package/dist/capsule/{p-39584a7b.entry.js.map → p-5ed5e96c.entry.js.map} +0 -0
  67. /package/dist/capsule/{p-127ac658.entry.js.map → p-70f95c93.entry.js.map} +0 -0
  68. /package/dist/capsule/{p-69756614.entry.js.map → p-86e6cba5.entry.js.map} +0 -0
  69. /package/dist/capsule/{p-fd26ce6e.entry.js.map → p-f9351426.entry.js.map} +0 -0
@@ -559,6 +559,10 @@ export namespace Components {
559
559
  "text": string;
560
560
  }
561
561
  interface CpslPopover {
562
+ /**
563
+ * ID for the element that the popover anchors to.
564
+ */
565
+ "anchorEl"?: HTMLElement;
562
566
  /**
563
567
  * Vertical anchor origin. Options are: `"left"`, `"center"`, `"right"`. Default is: `"left"`.
564
568
  */
@@ -575,6 +579,10 @@ export namespace Components {
575
579
  * Call to close the popover manually.
576
580
  */
577
581
  "closePopover": () => Promise<void>;
582
+ /**
583
+ * Whether or not to disable to popover.
584
+ */
585
+ "disabled": boolean;
578
586
  /**
579
587
  * Used internally to prevent select from blurring unintentionally.
580
588
  */
@@ -1943,6 +1951,10 @@ declare namespace LocalJSX {
1943
1951
  "text"?: string;
1944
1952
  }
1945
1953
  interface CpslPopover {
1954
+ /**
1955
+ * ID for the element that the popover anchors to.
1956
+ */
1957
+ "anchorEl"?: HTMLElement;
1946
1958
  /**
1947
1959
  * Vertical anchor origin. Options are: `"left"`, `"center"`, `"right"`. Default is: `"left"`.
1948
1960
  */
@@ -1955,6 +1967,10 @@ declare namespace LocalJSX {
1955
1967
  * If `true` the container will use the width of the content, else it will be set to the width of the trigger. Default is `true`
1956
1968
  */
1957
1969
  "autoWidth"?: boolean;
1970
+ /**
1971
+ * Whether or not to disable to popover.
1972
+ */
1973
+ "disabled"?: boolean;
1958
1974
  /**
1959
1975
  * Emitted when the popover closes.
1960
1976
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@usecapsule/core-components",
3
- "version": "3.0.1-dev.1",
3
+ "version": "3.0.1-dev.2",
4
4
  "description": "Capsule Core Components",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.js",