@cobre-npm/ds-v3 0.128.3 → 0.129.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.
@@ -32,6 +32,7 @@ export { default as CobreAccountInfoField } from './molecules/CobreAccountInfoFi
32
32
  export { default as CobreActionList } from './molecules/CobreActionList/CobreActionList.vue';
33
33
  export { default as CobreBadge } from './molecules/CobreBadge/CobreBadge.vue';
34
34
  export { default as CobreChips } from './molecules/CobreChips/CobreChips.vue';
35
+ export { default as CobreCollapsableCard } from './molecules/CobreCollapsableCard/CobreCollapsableCard.vue';
35
36
  export { default as CobreCopyTextBox } from './molecules/CobreCopyTextBox/CobreCopyTextBox.vue';
36
37
  export { default as CobreDrawer } from './molecules/CobreDrawer/CobreDrawer.vue';
37
38
  export { default as CobreDropdownButton } from './molecules/CobreDropdownButton/CobreDropdownButton.vue';
@@ -0,0 +1,32 @@
1
+ /**
2
+ * CobreCollapsableCard — a collapsable card container with an interactive header and animated body.
3
+ * Consolidates the collapsable card pattern used across multiple MFEs (NewSubclient, Developer, etc).
4
+ * Use for forms, data sections, or any content that should collapse on demand. The header is clickable
5
+ * to toggle expansion; use the primaryAction slot for action buttons (remove, edit) without triggering collapse.
6
+ */
7
+ interface Props {
8
+ title: string;
9
+ subtitle?: string;
10
+ }
11
+ type __VLS_Props = Props;
12
+ type __VLS_PublicProps = __VLS_Props & {
13
+ 'isExpanded'?: boolean;
14
+ };
15
+ declare var __VLS_1: {}, __VLS_14: {};
16
+ type __VLS_Slots = {} & {
17
+ primaryAction?: (props: typeof __VLS_1) => any;
18
+ } & {
19
+ 'card-content'?: (props: typeof __VLS_14) => any;
20
+ };
21
+ declare const __VLS_component: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
22
+ "update:isExpanded": (value: boolean) => any;
23
+ }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
24
+ "onUpdate:isExpanded"?: ((value: boolean) => any) | undefined;
25
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
26
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
27
+ export default _default;
28
+ type __VLS_WithSlots<T, S> = T & {
29
+ new (): {
30
+ $slots: S;
31
+ };
32
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cobre-npm/ds-v3",
3
- "version": "0.128.3",
3
+ "version": "0.129.0",
4
4
  "type": "module",
5
5
  "packageManager": "pnpm@11.0.4",
6
6
  "engines": {