fds-vue-core 2.0.7 → 2.0.9

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.
@@ -1 +1 @@
1
- {"version":3,"file":"FdsInput.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/Form/FdsInput/FdsInput.stories.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAA;AAErD,OAAO,QAAQ,MAAM,gBAAgB,CAAA;AAErC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,QAAQ,CAuB/B,CAAA;AAED,eAAe,IAAI,CAAA;AACnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAA;AAElC,eAAO,MAAM,KAAK,EAAE,KAMnB,CAAA;AAED,eAAO,MAAM,UAAU,EAAE,KASxB,CAAA;AAED,eAAO,MAAM,QAAQ,EAAE,KAMtB,CAAA"}
1
+ {"version":3,"file":"FdsInput.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/Form/FdsInput/FdsInput.stories.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAA;AAErD,OAAO,QAAQ,MAAM,gBAAgB,CAAA;AAErC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,QAAQ,CA2B/B,CAAA;AAED,eAAe,IAAI,CAAA;AACnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAA;AAElC,eAAO,MAAM,KAAK,EAAE,KAMnB,CAAA;AAED,eAAO,MAAM,UAAU,EAAE,KASxB,CAAA;AAED,eAAO,MAAM,QAAQ,EAAE,KAMtB,CAAA"}
@@ -1,12 +1,19 @@
1
1
  import type { FdsInputProps } from './types';
2
- declare const _default: import("vue").DefineComponent<FdsInputProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
2
+ type __VLS_Props = FdsInputProps;
3
+ type __VLS_PublicProps = __VLS_Props & {
4
+ modelValue?: string;
5
+ };
6
+ declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
7
+ "update:modelValue": (value: string) => any;
8
+ } & {
3
9
  input: (ev: Event) => any;
4
10
  clearInput: () => any;
5
11
  "update:value": (value: string) => any;
6
- }, string, import("vue").PublicProps, Readonly<FdsInputProps> & Readonly<{
12
+ }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
7
13
  onInput?: (ev: Event) => any;
8
14
  onClearInput?: () => any;
9
15
  "onUpdate:value"?: (value: string) => any;
16
+ "onUpdate:modelValue"?: (value: string) => any;
10
17
  }>, {
11
18
  disabled: boolean;
12
19
  value: string;
@@ -1 +1 @@
1
- {"version":3,"file":"FdsInput.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Form/FdsInput/FdsInput.vue"],"names":[],"mappings":"AA2IA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;;;;;;;;;;;;;;;;;;;;;;;;AAmT5C,wBAIG"}
1
+ {"version":3,"file":"FdsInput.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Form/FdsInput/FdsInput.vue"],"names":[],"mappings":"AA6IA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AAK5C,KAAK,WAAW,GAAG,aAAa,CAAC;AAmGjC,KAAK,iBAAiB,GAAG,WAAW,GAAG;IACvC,UAAU,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;AAqNF,wBAIG"}
@@ -1,12 +1,19 @@
1
1
  import type { FdsSelectProps } from './types';
2
- declare const _default: import("vue").DefineComponent<FdsSelectProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
2
+ type __VLS_Props = FdsSelectProps;
3
+ type __VLS_PublicProps = __VLS_Props & {
4
+ modelValue?: string;
5
+ };
6
+ declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
7
+ "update:modelValue": (value: string) => any;
8
+ } & {
3
9
  change: (ev: Event) => any;
4
10
  input: (ev: Event) => any;
5
11
  "update:value": (value: string) => any;
6
- }, string, import("vue").PublicProps, Readonly<FdsSelectProps> & Readonly<{
12
+ }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
7
13
  onChange?: (ev: Event) => any;
8
14
  onInput?: (ev: Event) => any;
9
15
  "onUpdate:value"?: (value: string) => any;
16
+ "onUpdate:modelValue"?: (value: string) => any;
10
17
  }>, {
11
18
  disabled: boolean;
12
19
  value: string;
@@ -1 +1 @@
1
- {"version":3,"file":"FdsSelect.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Form/FdsSelect/FdsSelect.vue"],"names":[],"mappings":"AA8GA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAA;;;;;;;;;;;;;;;;;;;;;AAkO7C,wBAIG"}
1
+ {"version":3,"file":"FdsSelect.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Form/FdsSelect/FdsSelect.vue"],"names":[],"mappings":"AAoHA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAA;AAK7C,KAAK,WAAW,GAAG,cAAc,CAAC;AA2ElC,KAAK,iBAAiB,GAAG,WAAW,GAAG;IACvC,UAAU,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;AA6JF,wBAIG"}
@@ -1,10 +1,17 @@
1
1
  import type { FdsTextareaProps } from './types';
2
- declare const _default: import("vue").DefineComponent<FdsTextareaProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
2
+ type __VLS_Props = FdsTextareaProps;
3
+ type __VLS_PublicProps = __VLS_Props & {
4
+ modelValue?: string;
5
+ };
6
+ declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
7
+ "update:modelValue": (value: string) => any;
8
+ } & {
3
9
  input: (ev: Event) => any;
4
10
  "update:value": (value: string) => any;
5
- }, string, import("vue").PublicProps, Readonly<FdsTextareaProps> & Readonly<{
11
+ }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
6
12
  onInput?: (ev: Event) => any;
7
13
  "onUpdate:value"?: (value: string) => any;
14
+ "onUpdate:modelValue"?: (value: string) => any;
8
15
  }>, {
9
16
  disabled: boolean;
10
17
  value: string;
@@ -1 +1 @@
1
- {"version":3,"file":"FdsTextarea.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Form/FdsTextarea/FdsTextarea.vue"],"names":[],"mappings":"AA2FA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAA;;;;;;;;;;;;;;;;;;AAgN/C,wBAIG"}
1
+ {"version":3,"file":"FdsTextarea.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Form/FdsTextarea/FdsTextarea.vue"],"names":[],"mappings":"AAiGA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAA;AAK/C,KAAK,WAAW,GAAG,gBAAgB,CAAC;AAuEpC,KAAK,iBAAiB,GAAG,WAAW,GAAG;IACvC,UAAU,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC;;;;;;;;;;;;;;;;;;;;;AA+IF,wBAIG"}
@@ -482,7 +482,7 @@ const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
482
482
  slots.default ? (vue.openBlock(), vue.createElementBlock("label", {
483
483
  key: 0,
484
484
  for: inputId.value || void 0,
485
- class: vue.normalizeClass(["relative inline-block pl-7 pr-0.5 rounded-md leading-[1.335] select-none hover:bg-blue_t-100 active:bg-blue_t-200 peer-focus-visible:outline-dashed peer-focus-visible:outline-2 peer-focus-visible:outline-offset-2 peer-focus-visible:outline-blue-500", _ctx.disabled ? "cursor-not-allowed" : "cursor-pointer"])
485
+ class: vue.normalizeClass(["relative inline-block pl-7 pr-0.5 rounded-md leading-md select-none hover:bg-blue_t-100 active:bg-blue_t-200 peer-focus-visible:outline-dashed peer-focus-visible:outline-2 peer-focus-visible:outline-offset-2 peer-focus-visible:outline-blue-500", _ctx.disabled ? "cursor-not-allowed" : "cursor-pointer"])
486
486
  }, [
487
487
  vue.renderSlot(_ctx.$slots, "default")
488
488
  ], 10, _hoisted_2$e)) : vue.createCommentVNode("", true)
@@ -1733,8 +1733,8 @@ const _hoisted_6$4 = {
1733
1733
  };
1734
1734
  const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
1735
1735
  __name: "FdsInput",
1736
- props: {
1737
- value: { default: "" },
1736
+ props: /* @__PURE__ */ vue.mergeModels({
1737
+ value: { default: void 0 },
1738
1738
  label: { default: void 0 },
1739
1739
  disabled: { type: Boolean, default: false },
1740
1740
  valid: { default: void 0 },
@@ -1751,9 +1751,13 @@ const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
1751
1751
  locale: {},
1752
1752
  size: {},
1753
1753
  maxlength: {}
1754
- },
1755
- emits: ["input", "clearInput", "update:value"],
1754
+ }, {
1755
+ "modelValue": { default: void 0, required: false },
1756
+ "modelModifiers": {}
1757
+ }),
1758
+ emits: /* @__PURE__ */ vue.mergeModels(["input", "clearInput", "update:value"], ["update:modelValue"]),
1756
1759
  setup(__props, { emit: __emit }) {
1760
+ const modelValue = vue.useModel(__props, "modelValue");
1757
1761
  const props = __props;
1758
1762
  const emit = __emit;
1759
1763
  const autoId = `fds-input-${Math.random().toString(36).slice(2, 9)}`;
@@ -1768,7 +1772,7 @@ const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
1768
1772
  () => isPasswordType.value && internalValue.value.length > 0
1769
1773
  );
1770
1774
  const inputClasses = vue.computed(() => [
1771
- "block w-full rounded-md border border-gray-300 px-3 py-2",
1775
+ "block w-full rounded-md border border-gray-500 px-3 py-[calc(0.75rem-1px)] mb-6",
1772
1776
  "focus:outline-2 focus:outline-blue-500 focus:border-transparent",
1773
1777
  props.disabled ? "outline-dashed outline-2 -outline-offset-2 outline-gray-400 cursor-not-allowed border-transparent" : "bg-white",
1774
1778
  isInvalid.value && "outline-2 -outline-offset-2 outline-red-600"
@@ -1776,19 +1780,21 @@ const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
1776
1780
  const validationIconClasses = vue.computed(() => [
1777
1781
  "absolute flex gap-2 right-4 top-1/2 -translate-y-1/2 flex items-center justify-end"
1778
1782
  ]);
1779
- const internalValue = vue.ref(props.value ?? "");
1780
- vue.watch(
1781
- () => props.value,
1782
- (v) => {
1783
- internalValue.value = v ?? "";
1783
+ const internalValue = vue.computed({
1784
+ get: () => (
1785
+ // If modelValue is explicitly set (via v-model), use it
1786
+ // Otherwise fall back to value prop
1787
+ modelValue.value !== void 0 ? modelValue.value : props.value ?? ""
1788
+ ),
1789
+ set: (newValue) => {
1790
+ if (modelValue.value !== void 0) {
1791
+ modelValue.value = newValue;
1792
+ }
1793
+ emit("update:value", newValue);
1784
1794
  }
1785
- );
1786
- vue.watch(internalValue, (v) => {
1787
- emit("update:value", v);
1788
1795
  });
1789
1796
  function onClear() {
1790
1797
  internalValue.value = "";
1791
- emit("update:value", "");
1792
1798
  emit("clearInput");
1793
1799
  }
1794
1800
  const showPassword = vue.ref(false);
@@ -1805,7 +1811,7 @@ const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
1805
1811
  _ctx.label ? (vue.openBlock(), vue.createElementBlock("label", {
1806
1812
  key: 0,
1807
1813
  for: inputId.value,
1808
- class: vue.normalizeClass(["block font-bold text-gray-700", { "mb-0": _ctx.meta, "mb-1": !_ctx.meta }])
1814
+ class: vue.normalizeClass(["block font-bold text-gray-900 cursor-pointer", { "mb-0": _ctx.meta, "mb-1": !_ctx.meta }])
1809
1815
  }, vue.toDisplayString(_ctx.label), 11, _hoisted_2$b)) : vue.createCommentVNode("", true),
1810
1816
  _ctx.meta ? (vue.openBlock(), vue.createElementBlock("div", {
1811
1817
  key: 1,
@@ -2354,8 +2360,8 @@ const _hoisted_7$2 = {
2354
2360
  };
2355
2361
  const _sfc_main$g = /* @__PURE__ */ vue.defineComponent({
2356
2362
  __name: "FdsTextarea",
2357
- props: {
2358
- value: { default: "" },
2363
+ props: /* @__PURE__ */ vue.mergeModels({
2364
+ value: { default: void 0 },
2359
2365
  label: { default: void 0 },
2360
2366
  meta: { default: void 0 },
2361
2367
  disabled: { type: Boolean, default: false },
@@ -2365,9 +2371,13 @@ const _sfc_main$g = /* @__PURE__ */ vue.defineComponent({
2365
2371
  rows: { default: 4 },
2366
2372
  name: { default: void 0 },
2367
2373
  id: { default: void 0 }
2368
- },
2369
- emits: ["input", "update:value"],
2374
+ }, {
2375
+ "modelValue": { default: void 0, required: false },
2376
+ "modelModifiers": {}
2377
+ }),
2378
+ emits: /* @__PURE__ */ vue.mergeModels(["input", "update:value"], ["update:modelValue"]),
2370
2379
  setup(__props, { emit: __emit }) {
2380
+ const modelValue = vue.useModel(__props, "modelValue");
2371
2381
  const props = __props;
2372
2382
  const emit = __emit;
2373
2383
  const autoId = `fds-textarea-${Math.random().toString(36).slice(2, 9)}`;
@@ -2378,7 +2388,7 @@ const _sfc_main$g = /* @__PURE__ */ vue.defineComponent({
2378
2388
  const isInvalid = vue.computed(() => props.valid === "false" && !props.optional && !props.disabled);
2379
2389
  const isValid = vue.computed(() => props.valid === "true");
2380
2390
  const inputClasses = vue.computed(() => [
2381
- "block w-full rounded-md border border-gray-300 px-3 py-2",
2391
+ "block w-full rounded-md border border-gray-500 px-3 py-2",
2382
2392
  "focus:outline-2 focus:outline-blue-500 focus:border-transparent",
2383
2393
  props.disabled ? "outline-dashed outline-2 -outline-offset-2 outline-gray-400 cursor-not-allowed border-transparent bg-gray-50" : "bg-white",
2384
2394
  isInvalid.value && "outline-2 -outline-offset-2 outline-red-600"
@@ -2386,15 +2396,14 @@ const _sfc_main$g = /* @__PURE__ */ vue.defineComponent({
2386
2396
  const validationIconClasses = vue.computed(() => [
2387
2397
  "absolute right-3 top-3 flex items-center gap-2 pointer-events-none"
2388
2398
  ]);
2389
- const internalValue = vue.ref(props.value ?? "");
2390
- vue.watch(
2391
- () => props.value,
2392
- (v) => {
2393
- internalValue.value = v ?? "";
2399
+ const internalValue = vue.computed({
2400
+ get: () => modelValue.value !== void 0 ? modelValue.value : props.value ?? "",
2401
+ set: (newValue) => {
2402
+ if (modelValue.value !== void 0) {
2403
+ modelValue.value = newValue;
2404
+ }
2405
+ emit("update:value", newValue);
2394
2406
  }
2395
- );
2396
- vue.watch(internalValue, (v) => {
2397
- emit("update:value", v);
2398
2407
  });
2399
2408
  return (_ctx, _cache) => {
2400
2409
  return vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [
@@ -2402,7 +2411,7 @@ const _sfc_main$g = /* @__PURE__ */ vue.defineComponent({
2402
2411
  _ctx.label ? (vue.openBlock(), vue.createElementBlock("label", {
2403
2412
  key: 0,
2404
2413
  for: textareaId.value,
2405
- class: vue.normalizeClass(["block font-bold text-gray-700", { "mb-0": _ctx.meta, "mb-1": !_ctx.meta }])
2414
+ class: vue.normalizeClass(["block font-bold text-gray-900 cursor-pointer", { "mb-0": _ctx.meta, "mb-1": !_ctx.meta }])
2406
2415
  }, vue.toDisplayString(_ctx.label), 11, _hoisted_2$8)) : vue.createCommentVNode("", true),
2407
2416
  _ctx.meta ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$7, vue.toDisplayString(_ctx.meta), 1)) : vue.createCommentVNode("", true),
2408
2417
  vue.createElementVNode("div", _hoisted_4$6, [
@@ -2415,7 +2424,7 @@ const _sfc_main$g = /* @__PURE__ */ vue.defineComponent({
2415
2424
  "aria-invalid": _ctx.valid === "false" ? "true" : void 0,
2416
2425
  class: inputClasses.value
2417
2426
  }, _ctx.$attrs, {
2418
- onInput: _cache[1] || (_cache[1] = ($event) => _ctx.$emit("input", $event))
2427
+ onInput: _cache[1] || (_cache[1] = (e) => emit("input", e))
2419
2428
  }), null, 16, _hoisted_5$4), [
2420
2429
  [vue.vModelText, internalValue.value]
2421
2430
  ]),
@@ -2461,8 +2470,8 @@ const _hoisted_9$1 = {
2461
2470
  };
2462
2471
  const _sfc_main$f = /* @__PURE__ */ vue.defineComponent({
2463
2472
  __name: "FdsSelect",
2464
- props: {
2465
- value: { default: "" },
2473
+ props: /* @__PURE__ */ vue.mergeModels({
2474
+ value: { default: void 0 },
2466
2475
  label: { default: void 0 },
2467
2476
  meta: { default: void 0 },
2468
2477
  disabled: { type: Boolean, default: false },
@@ -2473,9 +2482,13 @@ const _sfc_main$f = /* @__PURE__ */ vue.defineComponent({
2473
2482
  id: { default: void 0 },
2474
2483
  placeholder: { default: "Välj..." },
2475
2484
  options: {}
2476
- },
2477
- emits: ["input", "change", "update:value"],
2485
+ }, {
2486
+ "modelValue": { default: void 0, required: false },
2487
+ "modelModifiers": {}
2488
+ }),
2489
+ emits: /* @__PURE__ */ vue.mergeModels(["input", "change", "update:value"], ["update:modelValue"]),
2478
2490
  setup(__props, { emit: __emit }) {
2491
+ const modelValue = vue.useModel(__props, "modelValue");
2479
2492
  const props = __props;
2480
2493
  const emit = __emit;
2481
2494
  const autoId = `fds-select-${Math.random().toString(36).slice(2, 9)}`;
@@ -2491,15 +2504,14 @@ const _sfc_main$f = /* @__PURE__ */ vue.defineComponent({
2491
2504
  props.disabled ? "outline-dashed text-gray-600 outline-2 -outline-offset-2 outline-gray-400 cursor-not-allowed border-transparent" : "bg-white cursor-pointer",
2492
2505
  isInvalid.value && !props.disabled && "outline-2 -outline-offset-2 outline-red-600 text-red-600"
2493
2506
  ]);
2494
- const internalValue = vue.ref(props.value ?? "");
2495
- vue.watch(
2496
- () => props.value,
2497
- (v) => {
2498
- internalValue.value = v ?? "";
2507
+ const internalValue = vue.computed({
2508
+ get: () => modelValue.value !== void 0 ? modelValue.value : props.value ?? "",
2509
+ set: (newValue) => {
2510
+ if (modelValue.value !== void 0) {
2511
+ modelValue.value = newValue;
2512
+ }
2513
+ emit("update:value", newValue);
2499
2514
  }
2500
- );
2501
- vue.watch(internalValue, (v) => {
2502
- emit("update:value", v);
2503
2515
  });
2504
2516
  function handleChange(ev) {
2505
2517
  emit("change", ev);
@@ -2510,7 +2522,7 @@ const _sfc_main$f = /* @__PURE__ */ vue.defineComponent({
2510
2522
  _ctx.label ? (vue.openBlock(), vue.createElementBlock("label", {
2511
2523
  key: 0,
2512
2524
  for: selectId.value,
2513
- class: vue.normalizeClass(["block font-bold text-gray-700", { "mb-0": _ctx.meta, "mb-1": !_ctx.meta }])
2525
+ class: vue.normalizeClass(["block font-bold text-gray-900 cursor-pointer", { "mb-0": _ctx.meta, "mb-1": !_ctx.meta }])
2514
2526
  }, vue.toDisplayString(_ctx.label), 11, _hoisted_2$7)) : vue.createCommentVNode("", true),
2515
2527
  _ctx.meta ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$6, vue.toDisplayString(_ctx.meta), 1)) : vue.createCommentVNode("", true),
2516
2528
  vue.createElementVNode("div", _hoisted_4$5, [
@@ -2523,7 +2535,7 @@ const _sfc_main$f = /* @__PURE__ */ vue.defineComponent({
2523
2535
  class: selectClasses.value
2524
2536
  }, _ctx.$attrs, {
2525
2537
  onChange: handleChange,
2526
- onInput: _cache[1] || (_cache[1] = ($event) => _ctx.$emit("input", $event))
2538
+ onInput: _cache[1] || (_cache[1] = (e) => emit("input", e))
2527
2539
  }), [
2528
2540
  _ctx.placeholder ? (vue.openBlock(), vue.createElementBlock("option", _hoisted_6$2, vue.toDisplayString(_ctx.placeholder), 1)) : vue.createCommentVNode("", true),
2529
2541
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.options, (option) => {
@@ -2587,7 +2599,7 @@ const _sfc_main$d = /* @__PURE__ */ vue.defineComponent({
2587
2599
  setup(__props) {
2588
2600
  const props = __props;
2589
2601
  const headerClasses = vue.computed(() => [
2590
- "appearance-none bg-transparent flex items-center border-none text-left px-6 py-4 w-full bg-transparent text-gray-800 whitespace-nowrap text-base font-bold leading-5 tracking-normal",
2602
+ "appearance-none bg-transparent flex items-center border-none text-left p-4 w-full bg-transparent text-gray-800 whitespace-nowrap text-base font-bold leading-5 tracking-normal",
2591
2603
  props.align === "center" && "text-center justify-center",
2592
2604
  props.align === "right" && "text-right justify-end",
2593
2605
  props.sortable && "text-blue-600! hover:bg-blue_t-200 cursor-pointer focus-visible:outline-dashed focus-visible:outline-2 focus-visible:outline-offset-[-2px] focus-visible:outline-blue-500 active:bg-blue_t-300"
@@ -2733,7 +2745,7 @@ const _sfc_main$b = /* @__PURE__ */ vue.defineComponent({
2733
2745
  isVisible.value = v;
2734
2746
  }
2735
2747
  );
2736
- const alertClasses = vue.computed(() => ["bg-yellow-200 border-yellow-300 rounded-md p-4 mb-4"]);
2748
+ const alertClasses = vue.computed(() => ["bg-yellow-200 border-yellow-300 border-1 rounded-md p-4 pb-6 mb-4"]);
2737
2749
  const autoId = `fds-alert-${Math.random().toString(36).slice(2, 9)}`;
2738
2750
  const alertId = vue.computed(() => props.id ?? autoId);
2739
2751
  function handleClose() {
@@ -2783,7 +2795,7 @@ const _sfc_main$b = /* @__PURE__ */ vue.defineComponent({
2783
2795
  class: vue.normalizeClass([
2784
2796
  "fill-gray-900! hover:bg-gray-100 active:bg-gray-200",
2785
2797
  "[&_svg]:transition-transform [&_svg]:duration-200",
2786
- isExpanded.value ? "[&_svg]:rotate-180" : "[&_svg]:rotate-0"
2798
+ isExpanded.value ? "[&_svg]:-rotate-180" : "[&_svg]:rotate-0"
2787
2799
  ])
2788
2800
  }, null, 8, ["ariaLabel", "class"])) : vue.createCommentVNode("", true)
2789
2801
  ])
@@ -2797,7 +2809,7 @@ const _sfc_main$b = /* @__PURE__ */ vue.defineComponent({
2797
2809
  };
2798
2810
  }
2799
2811
  });
2800
- const FdsBlockAlert = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__scopeId", "data-v-aa2ede5a"]]);
2812
+ const FdsBlockAlert = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__scopeId", "data-v-30ef3a44"]]);
2801
2813
  const _hoisted_1$7 = { class: "inline-flex items-center" };
2802
2814
  const _hoisted_2$4 = {
2803
2815
  key: 0,
@@ -3242,7 +3254,7 @@ const _sfc_main$5 = /* @__PURE__ */ vue.defineComponent({
3242
3254
  {
3243
3255
  "sm:flex-row sm:justify-end": !props.alignLeftFooter,
3244
3256
  "sm:flex-row sm:justify-start": props.alignLeftFooter,
3245
- "sticky pt-4 pb-6 px-6 mt-4 bottom-0 bg-white shadow-[0px_-8px_16px_0px_rgba(255,255,255,0.59)] z-[2]": props.stickyFooter
3257
+ "sticky pt-4 pb-6 mt-4 bottom-0 bg-white shadow-[0px_-8px_16px_0px_rgba(255,255,255,0.59)] z-[2]": props.stickyFooter
3246
3258
  }
3247
3259
  ]);
3248
3260
  const handleBackdropClick = () => {
@@ -3381,7 +3393,7 @@ const _sfc_main$5 = /* @__PURE__ */ vue.defineComponent({
3381
3393
  };
3382
3394
  }
3383
3395
  });
3384
- const FdsModal = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-8405e00f"]]);
3396
+ const FdsModal = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-8b537fc0"]]);
3385
3397
  const _hoisted_1$3 = { class: "my-6 flex items-between justify-between gap-2" };
3386
3398
  const _hoisted_2$1 = { class: "flex items-center justify-start gap-1 w-[100px]" };
3387
3399
  const _hoisted_3$1 = { class: "flex items-center justify-center w-auto gap-2 order-0 sm:order-0" };