@ouestfrance/sipa-bms-ui 8.2.0 → 8.3.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.
@@ -7,7 +7,7 @@
7
7
  * - Please do NOT modify this file.
8
8
  */
9
9
 
10
- const PACKAGE_VERSION = '2.10.3'
10
+ const PACKAGE_VERSION = '2.10.4'
11
11
  const INTEGRITY_CHECKSUM = 'f5825c521429caf22a4dd13b66e243af'
12
12
  const IS_MOCKED_RESPONSE = Symbol('isMockedResponse')
13
13
  const activeClientIds = new Set()
@@ -2093,38 +2093,38 @@ nav .additional[data-v-f1abaa99] {
2093
2093
  .bms-pagination__select[data-v-e10f3b80] .field__wrapper {
2094
2094
  min-width: 10em;
2095
2095
  width: 10em;
2096
- }.bms-table__row[data-v-e0f602cf] {
2096
+ }.bms-table__row[data-v-a12b08b2] {
2097
2097
  --table-cell-padding: 1em;
2098
2098
  background-color: rgb(255, 255, 255);
2099
2099
  }
2100
- .bms-table__row td[data-v-e0f602cf] {
2100
+ .bms-table__row td[data-v-a12b08b2] {
2101
2101
  padding: var(--table-cell-padding);
2102
2102
  background-color: rgb(255, 255, 255);
2103
2103
  }
2104
- .bms-table__row--dense[data-v-e0f602cf] {
2104
+ .bms-table__row--dense[data-v-a12b08b2] {
2105
2105
  --table-cell-padding: 0.5em 1em;
2106
2106
  }
2107
- .bms-table__row--selected td[data-v-e0f602cf] {
2107
+ .bms-table__row--selected[data-v-a12b08b2] td {
2108
2108
  background-color: var(--bms-main-10);
2109
2109
  }
2110
- .bms-table__row--disabled td[data-v-e0f602cf] {
2110
+ .bms-table__row--disabled td[data-v-a12b08b2] {
2111
2111
  color: var(--bms-grey-50);
2112
2112
  }
2113
- .bms-table__row__cell__checkbox[data-v-e0f602cf] {
2113
+ .bms-table__row__cell__checkbox[data-v-a12b08b2] {
2114
2114
  width: 4em;
2115
2115
  }
2116
- .bms-table__row__cell--action[data-v-e0f602cf] {
2116
+ .bms-table__row__cell--action[data-v-a12b08b2] {
2117
2117
  display: flex;
2118
2118
  justify-content: end;
2119
2119
  }
2120
- .bms-table__row__cell--empty[data-v-e0f602cf] {
2120
+ .bms-table__row__cell--empty[data-v-a12b08b2] {
2121
2121
  height: 360px;
2122
2122
  }
2123
- .bms-table__row__cell--child-element[data-v-e0f602cf] {
2123
+ .bms-table__row__cell--child-element[data-v-a12b08b2] {
2124
2124
  display: inline-flex;
2125
2125
  align-items: flex-end;
2126
2126
  }
2127
- .bms-table__row__cell--child-element__icon[data-v-e0f602cf] {
2127
+ .bms-table__row__cell--child-element__icon[data-v-a12b08b2] {
2128
2128
  display: flex;
2129
2129
  min-width: 1em;
2130
2130
  margin-right: 1em;
@@ -2995,7 +2995,7 @@ section {
2995
2995
  --bms-red-25: #f4cfd0;
2996
2996
  --bms-red-10: #f9eaeb;
2997
2997
  --bms-white: #fcfcfc;
2998
- --bms-background-color: #f6f6f8;
2998
+ --bms-background-color: #f8fafd;
2999
2999
  --bms-border-radius: 4px;
3000
3000
  --bms-border-radius-large: 8px;
3001
3001
  --bms-border-radius-xlarge: 16px;
@@ -93362,7 +93362,7 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
93362
93362
  }
93363
93363
  });
93364
93364
 
93365
- const UiBmsTableRow = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["__scopeId", "data-v-e0f602cf"]]);
93365
+ const UiBmsTableRow = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["__scopeId", "data-v-a12b08b2"]]);
93366
93366
 
93367
93367
  const _hoisted_1$b = { class: "bms-table" };
93368
93368
  const _hoisted_2$9 = { class: "bms-table__actions" };
@@ -93365,7 +93365,7 @@
93365
93365
  }
93366
93366
  });
93367
93367
 
93368
- const UiBmsTableRow = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["__scopeId", "data-v-e0f602cf"]]);
93368
+ const UiBmsTableRow = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["__scopeId", "data-v-a12b08b2"]]);
93369
93369
 
93370
93370
  const _hoisted_1$b = { class: "bms-table" };
93371
93371
  const _hoisted_2$9 = { class: "bms-table__actions" };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ouestfrance/sipa-bms-ui",
3
- "version": "8.2.0",
3
+ "version": "8.3.0",
4
4
  "author": "Ouest-France BMS",
5
5
  "license": "ISC",
6
6
  "scripts": {
@@ -37,9 +37,9 @@
37
37
  "@formkit/vue": "1.6.9",
38
38
  "@mdx-js/react": "3.1.0",
39
39
  "@storybook/addon-actions": "^8.6.14",
40
- "@storybook/addon-docs": "9.0.16",
41
- "@storybook/addon-links": "9.0.16",
42
- "@storybook/vue3-vite": "9.0.16",
40
+ "@storybook/addon-docs": "9.0.17",
41
+ "@storybook/addon-links": "9.0.17",
42
+ "@storybook/vue3-vite": "9.0.17",
43
43
  "@types/lodash": "4.17.20",
44
44
  "@types/uuid": "10.0.0",
45
45
  "@vitejs/plugin-vue": "6.0.0",
@@ -51,9 +51,9 @@
51
51
  "chromatic": "13.1.2",
52
52
  "codemirror": "6.0.2",
53
53
  "cors": "^2.8.5",
54
- "cross-env": "^7.0.3",
54
+ "cross-env": "^10.0.0",
55
55
  "cy2": "4.0.9",
56
- "cypress": "14.5.1",
56
+ "cypress": "14.5.2",
57
57
  "express": "^5.0.0",
58
58
  "husky": "9.1.7",
59
59
  "jsdom": "26.1.0",
@@ -66,14 +66,14 @@
66
66
  "path": "0.12.7",
67
67
  "prettier": "3.6.2",
68
68
  "sass": "1.89.2",
69
- "semantic-release": "24.2.6",
69
+ "semantic-release": "24.2.7",
70
70
  "start-server-and-test": "2.0.12",
71
- "storybook": "9.0.16",
72
- "storybook-addon-pseudo-states": "9.0.16",
71
+ "storybook": "9.0.17",
72
+ "storybook-addon-pseudo-states": "9.0.17",
73
73
  "storybook-vue3-router": "^5.0.0",
74
74
  "typescript": "5.2.2",
75
75
  "uuid": "11.1.0",
76
- "vite": "7.0.3",
76
+ "vite": "7.0.5",
77
77
  "vite-plugin-dts": "^4.1.0",
78
78
  "vite-plugin-mkcert": "1.17.8",
79
79
  "vite-plugin-pages": "0.33.1",
@@ -83,7 +83,7 @@
83
83
  "vue-codemirror": "6.1.1",
84
84
  "vue-loader": "17.4.2",
85
85
  "vue-router": "4.5.1",
86
- "vue-tsc": "3.0.1"
86
+ "vue-tsc": "3.0.3"
87
87
  },
88
88
  "files": [
89
89
  "dist",
@@ -38,7 +38,7 @@
38
38
  --bms-red-10: #f9eaeb;
39
39
 
40
40
  --bms-white: #fcfcfc;
41
- --bms-background-color: #f6f6f8;
41
+ --bms-background-color: #f8fafd;
42
42
  --bms-border-radius: 4px;
43
43
  --bms-border-radius-large: 8px;
44
44
  --bms-border-radius-xlarge: 16px;
@@ -10,7 +10,14 @@ import {
10
10
  } from 'lucide-vue-next';
11
11
  import { vueRouter } from 'storybook-vue3-router';
12
12
 
13
+ import template from '@/documentation/template_internal_component.mdx';
14
+
13
15
  export default {
16
+ parameters: {
17
+ docs: {
18
+ page: template,
19
+ },
20
+ },
14
21
  title: 'Composants/button/UiButton',
15
22
  component: UiButton,
16
23
  argTypes: {
@@ -1,8 +1,7 @@
1
1
  import BmsBadge from './BmsBadge.vue';
2
- import { StatusType } from '../../models';
3
2
 
4
3
  export default {
5
- title: 'Composants/feedback/BmsBadge',
4
+ title: 'Composants/feedback/Badge',
6
5
  component: BmsBadge,
7
6
  };
8
7
 
@@ -1,9 +1,8 @@
1
1
  import BmsTooltip from './BmsTooltip.vue';
2
2
  import BmsSection from '../layout/BmsSection.vue';
3
- import { TooltipDirection } from '../../models';
4
3
 
5
4
  export default {
6
- title: 'Composants/feedback/BmsTooltip',
5
+ title: 'Composants/feedback/Tooltip',
7
6
  component: BmsTooltip,
8
7
  };
9
8
 
@@ -1,6 +1,12 @@
1
1
  import UiTooltip from './UiTooltip.vue';
2
+ import template from '@/documentation/template_internal_component.mdx';
2
3
 
3
4
  export default {
5
+ parameters: {
6
+ docs: {
7
+ page: template,
8
+ },
9
+ },
4
10
  title: 'Composants/feedback/UiTooltip',
5
11
  component: UiTooltip,
6
12
  };
@@ -9,7 +9,7 @@ export default {
9
9
  page: template,
10
10
  },
11
11
  },
12
- title: 'Composants/form/BmsInputToggle',
12
+ title: 'Composants/form/InputToggle',
13
13
  component: BmsInputToggle,
14
14
  };
15
15
 
@@ -9,7 +9,7 @@ export default {
9
9
  page: template,
10
10
  },
11
11
  },
12
- title: 'Composants/form/BmsInputCheckbox/Ui',
12
+ title: 'Composants/form/UiBmsInputCheckbox',
13
13
  component: UiBmsInputCheckbox,
14
14
  };
15
15
 
@@ -1,8 +1,13 @@
1
1
  import UiBmsSwitch from '@/components/form/UiBmsSwitch.vue';
2
2
 
3
- import template from '@/documentation/template_field_dependency.mdx';
3
+ import template from '@/documentation/template_internal_component.mdx';
4
4
 
5
5
  export default {
6
+ parameters: {
7
+ docs: {
8
+ page: template,
9
+ },
10
+ },
6
11
  parameters: {
7
12
  docs: {
8
13
  page: template,
@@ -1,7 +1,7 @@
1
1
  import BmsForm from '@/components/layout/BmsForm.vue';
2
2
 
3
3
  export default {
4
- title: 'Composants/layout/BmsForm',
4
+ title: 'Composants/layout/Form',
5
5
  component: BmsForm,
6
6
  };
7
7
 
@@ -4,7 +4,7 @@ import { Flower } from 'lucide-vue-next';
4
4
 
5
5
  export default {
6
6
  components: { BmsHeaderTitle },
7
- title: 'Composants/layout/BmsHeaderTitle',
7
+ title: 'Composants/layout/HeaderTitle',
8
8
  component: BmsHeaderTitle,
9
9
  };
10
10
 
@@ -1,7 +1,7 @@
1
1
  import BmsShortLinkMenu from '@/components/navigation/BmsShortLinkMenu.vue';
2
2
 
3
3
  export default {
4
- title: 'Composants/navigation/BmsShortLinkMenu',
4
+ title: 'Composants/navigation/ShortLinkMenu',
5
5
  component: BmsShortLinkMenu,
6
6
  argTypes: {},
7
7
  };
@@ -1,8 +1,14 @@
1
1
  import UiMenuItem from '@/components/navigation/UiMenuItem.vue';
2
2
  import { Activity } from 'lucide-vue-next';
3
3
  import { vueRouter } from 'storybook-vue3-router';
4
+ import template from '@/documentation/template_internal_component.mdx';
4
5
 
5
6
  export default {
7
+ parameters: {
8
+ docs: {
9
+ page: template,
10
+ },
11
+ },
6
12
  title: 'Composants/navigation/MenuItem',
7
13
  component: UiMenuItem,
8
14
  decorators: [
@@ -1,8 +1,14 @@
1
1
  import UiMenuItem from '@/components/navigation/UiMenuItem.vue';
2
2
  import { ShieldAlert, ShieldCheck, ShieldOff } from 'lucide-vue-next';
3
3
  import { StatusType } from '../../models';
4
+ import template from '@/documentation/template_internal_component.mdx';
4
5
 
5
6
  export default {
7
+ parameters: {
8
+ docs: {
9
+ page: template,
10
+ },
11
+ },
6
12
  title: 'Composants/navigation/MenuItem',
7
13
  component: UiMenuItem,
8
14
  argTypes: {},
@@ -1,7 +1,14 @@
1
1
  import UiTab from '@/components/navigation/UiTab.vue';
2
2
  import { within } from 'storybook/test';
3
3
 
4
+ import template from '@/documentation/template_internal_component.mdx';
5
+
4
6
  export default {
7
+ parameters: {
8
+ docs: {
9
+ page: template,
10
+ },
11
+ },
5
12
  title: 'Composants/navigation/UiTab',
6
13
  component: UiTab,
7
14
  argTypes: {
@@ -1,6 +1,12 @@
1
1
  import UiTenantSwitcher from './UiTenantSwitcher.vue';
2
+ import template from '@/documentation/template_internal_component.mdx';
2
3
 
3
4
  export default {
5
+ parameters: {
6
+ docs: {
7
+ page: template,
8
+ },
9
+ },
4
10
  title: 'Composants/navigation/UiTenantSwitcher',
5
11
  component: UiTenantSwitcher,
6
12
  };
@@ -2,8 +2,15 @@ import UiBmsTable from '@/components/table/UiBmsTable.vue';
2
2
  import { Save, Trash } from 'lucide-vue-next';
3
3
  import BmsIconButton from '@/components/button/BmsIconButton.vue';
4
4
 
5
+ import template from '@/documentation/template_internal_component.mdx';
6
+
5
7
  export default {
6
- title: 'Composants/table/UiTable',
8
+ parameters: {
9
+ docs: {
10
+ page: template,
11
+ },
12
+ },
13
+ title: 'Composants/table/UiBmsTable',
7
14
  component: UiBmsTable,
8
15
  };
9
16
 
@@ -112,7 +112,7 @@ const getAlignClass = (header: TableHeader) => {
112
112
  --table-cell-padding: 0.5em 1em;
113
113
  }
114
114
  &--selected {
115
- td {
115
+ :deep(td) {
116
116
  background-color: var(--bms-main-10);
117
117
  }
118
118
  }
@@ -1,6 +1,12 @@
1
1
  import UiFilterButton from '@/components/table/UiFilterButton.vue';
2
+ import template from '@/documentation/template_internal_component.mdx';
2
3
 
3
4
  export default {
5
+ parameters: {
6
+ docs: {
7
+ page: template,
8
+ },
9
+ },
4
10
  title: 'Composants/table/FilterButton',
5
11
  component: UiFilterButton,
6
12
  argTypes: {},
@@ -1,7 +1,7 @@
1
1
  import BmsProblem from '@/components/utils/BmsProblem.vue';
2
2
 
3
3
  export default {
4
- title: 'Composants/utils/BmsProblem',
4
+ title: 'Composants/utils/Problem',
5
5
  component: BmsProblem,
6
6
  };
7
7
 
@@ -0,0 +1,19 @@
1
+ import {
2
+ Meta,
3
+ Title,
4
+ Primary,
5
+ Controls,
6
+ Stories,
7
+ } from '@storybook/addon-docs/blocks';
8
+
9
+ <Meta isTemplate />
10
+
11
+ <Title />
12
+
13
+ Ce composant est un composant **interne** à la librairie qui n'est pas exposé.
14
+
15
+ <Primary />
16
+
17
+ <Controls />
18
+
19
+ <Stories />