@fkui/vue 6.26.0 → 6.27.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.
@@ -4396,9 +4396,8 @@ default: string;
4396
4396
  * The size of modal. 'large' and 'fullscreen' is valid.
4397
4397
  */
4398
4398
  size: {
4399
- type: StringConstructor;
4399
+ type: PropType<(typeof sizes)[number]>;
4400
4400
  default: string;
4401
- validator(value: string): boolean;
4402
4401
  };
4403
4402
  /**
4404
4403
  * The aria-label attribute text for the top right close button.
@@ -4467,9 +4466,8 @@ default: string;
4467
4466
  * The size of modal. 'large' and 'fullscreen' is valid.
4468
4467
  */
4469
4468
  size: {
4470
- type: StringConstructor;
4469
+ type: PropType<(typeof sizes)[number]>;
4471
4470
  default: string;
4472
- validator(value: string): boolean;
4473
4471
  };
4474
4472
  /**
4475
4473
  * The aria-label attribute text for the top right close button.
@@ -4501,7 +4499,7 @@ validator(value: string): boolean;
4501
4499
  }>> & Readonly<{
4502
4500
  [x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
4503
4501
  }>, {
4504
- size: string;
4502
+ size: "" | "small" | "medium" | "large" | "fullscreen" | "fullwidth";
4505
4503
  content: string;
4506
4504
  isOpen: boolean;
4507
4505
  fullscreen: boolean;
@@ -4535,9 +4533,8 @@ default: string;
4535
4533
  validator(value: string): boolean;
4536
4534
  };
4537
4535
  size: {
4538
- type: StringConstructor;
4536
+ type: PropType<(typeof sizes)[number]>;
4539
4537
  default: string;
4540
- validator(value: string): boolean;
4541
4538
  };
4542
4539
  focus: {
4543
4540
  type: PropType<"on" | "off" | "open">;
@@ -4580,9 +4577,8 @@ default: string;
4580
4577
  validator(value: string): boolean;
4581
4578
  };
4582
4579
  size: {
4583
- type: StringConstructor;
4580
+ type: PropType<(typeof sizes)[number]>;
4584
4581
  default: string;
4585
- validator(value: string): boolean;
4586
4582
  };
4587
4583
  focus: {
4588
4584
  type: PropType<"on" | "off" | "open">;
@@ -4593,7 +4589,7 @@ validator(value: string): boolean;
4593
4589
  onClose?: ((...args: any[]) => any) | undefined;
4594
4590
  }>, {
4595
4591
  type: "" | "warning" | "error" | "information";
4596
- size: string;
4592
+ size: "" | "small" | "medium" | "large" | "fullscreen" | "fullwidth";
4597
4593
  isOpen: boolean;
4598
4594
  fullscreen: boolean;
4599
4595
  id: string;
@@ -4679,9 +4675,8 @@ default: boolean;
4679
4675
  * See <f-modal> `size` props.
4680
4676
  */
4681
4677
  size: {
4682
- type: StringConstructor;
4678
+ type: PropType<(typeof sizes)[number]>;
4683
4679
  default: string;
4684
- validator(value: string): boolean;
4685
4680
  };
4686
4681
  /**
4687
4682
  * @ignore
@@ -4803,9 +4798,8 @@ default: boolean;
4803
4798
  * See <f-modal> `size` props.
4804
4799
  */
4805
4800
  size: {
4806
- type: StringConstructor;
4801
+ type: PropType<(typeof sizes)[number]>;
4807
4802
  default: string;
4808
- validator(value: string): boolean;
4809
4803
  };
4810
4804
  /**
4811
4805
  * @ignore
@@ -4889,7 +4883,7 @@ data?: any;
4889
4883
  onCancel?: (() => any) | undefined;
4890
4884
  }>, {
4891
4885
  value: Record<string, any>;
4892
- size: string;
4886
+ size: "" | "small" | "medium" | "large" | "fullscreen" | "fullwidth";
4893
4887
  isOpen: boolean;
4894
4888
  fullscreen: boolean;
4895
4889
  ariaCloseText: string;
@@ -4925,9 +4919,8 @@ default: string;
4925
4919
  validator(value: string): boolean;
4926
4920
  };
4927
4921
  size: {
4928
- type: StringConstructor;
4922
+ type: PropType<(typeof sizes)[number]>;
4929
4923
  default: string;
4930
- validator(value: string): boolean;
4931
4924
  };
4932
4925
  focus: {
4933
4926
  type: PropType<"on" | "off" | "open">;
@@ -4970,9 +4963,8 @@ default: string;
4970
4963
  validator(value: string): boolean;
4971
4964
  };
4972
4965
  size: {
4973
- type: StringConstructor;
4966
+ type: PropType<(typeof sizes)[number]>;
4974
4967
  default: string;
4975
- validator(value: string): boolean;
4976
4968
  };
4977
4969
  focus: {
4978
4970
  type: PropType<"on" | "off" | "open">;
@@ -4983,7 +4975,7 @@ validator(value: string): boolean;
4983
4975
  onClose?: ((...args: any[]) => any) | undefined;
4984
4976
  }>, {
4985
4977
  type: "" | "warning" | "error" | "information";
4986
- size: string;
4978
+ size: "" | "small" | "medium" | "large" | "fullscreen" | "fullwidth";
4987
4979
  isOpen: boolean;
4988
4980
  fullscreen: boolean;
4989
4981
  id: string;
@@ -5373,9 +5365,8 @@ validator(value: string): boolean;
5373
5365
  * The size of modal in desktop mode.
5374
5366
  */
5375
5367
  size: {
5376
- type: StringConstructor;
5368
+ type: PropType<(typeof sizes)[number]>;
5377
5369
  default: string;
5378
- validator(value: string): boolean;
5379
5370
  };
5380
5371
  /**
5381
5372
  * Default behavior is that the modal will restore focus to previous element once closed.
@@ -5451,9 +5442,8 @@ validator(value: string): boolean;
5451
5442
  * The size of modal in desktop mode.
5452
5443
  */
5453
5444
  size: {
5454
- type: StringConstructor;
5445
+ type: PropType<(typeof sizes)[number]>;
5455
5446
  default: string;
5456
- validator(value: string): boolean;
5457
5447
  };
5458
5448
  /**
5459
5449
  * Default behavior is that the modal will restore focus to previous element once closed.
@@ -5470,7 +5460,7 @@ validator(value: string): boolean;
5470
5460
  onClose?: ((...args: any[]) => any) | undefined;
5471
5461
  }>, {
5472
5462
  type: "" | "warning" | "error" | "information";
5473
- size: string;
5463
+ size: "" | "small" | "medium" | "large" | "fullscreen" | "fullwidth";
5474
5464
  isOpen: boolean;
5475
5465
  fullscreen: boolean;
5476
5466
  id: string;
@@ -16998,6 +16988,14 @@ declare const __VLS_export_9: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_
16998
16988
  required: boolean;
16999
16989
  default: string;
17000
16990
  };
16991
+ /**
16992
+ * Property for changing the "add" and "modify" modal size
16993
+ */
16994
+ formModalSize: {
16995
+ type: PropType<(typeof sizes)[number]>;
16996
+ required: boolean;
16997
+ default: string;
16998
+ };
17001
16999
  }> & {
17002
17000
  onCreated?: ((item: T) => any) | undefined;
17003
17001
  onUpdated?: ((item: T) => any) | undefined;
@@ -18672,6 +18670,8 @@ export declare function setInternalKeys<T>(items: T[], key?: keyof T, nestedKey?
18672
18670
  */
18673
18671
  export declare function setRunningContext(app: App): void;
18674
18672
 
18673
+ declare const sizes: readonly ["", "small", "medium", "large", "fullscreen", "fullwidth"];
18674
+
18675
18675
  /**
18676
18676
  * Represents the attributes used when sorting.
18677
18677
  *
@@ -5,7 +5,7 @@
5
5
  "toolPackages": [
6
6
  {
7
7
  "packageName": "@microsoft/api-extractor",
8
- "packageVersion": "7.53.3"
8
+ "packageVersion": "7.54.0"
9
9
  }
10
10
  ]
11
11
  }
@@ -1050,6 +1050,9 @@ module.exports = defineMetadata({
1050
1050
  attributes: {
1051
1051
  value: ["/.*/"],
1052
1052
  beforeCreate: ["/.*/"],
1053
+ "form-modal-size": {
1054
+ enum: ["small", "medium", "large", "fullwidth"],
1055
+ },
1053
1056
  },
1054
1057
  },
1055
1058
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fkui/vue",
3
- "version": "6.26.0",
3
+ "version": "6.27.0",
4
4
  "description": "Vue implementation of FKUI components",
5
5
  "keywords": [
6
6
  "fkui",
@@ -60,9 +60,9 @@
60
60
  "unit:watch": "jest --watch"
61
61
  },
62
62
  "peerDependencies": {
63
- "@fkui/date": "^6.26.0",
64
- "@fkui/design": "^6.26.0",
65
- "@fkui/logic": "^6.26.0",
63
+ "@fkui/date": "^6.27.0",
64
+ "@fkui/design": "^6.27.0",
65
+ "@fkui/logic": "^6.27.0",
66
66
  "fk-icons": "^4.30.1",
67
67
  "html-validate": ">= 7.9.0",
68
68
  "vue": "^3.5.0"
@@ -79,5 +79,5 @@
79
79
  "node": ">= 20",
80
80
  "npm": ">= 7"
81
81
  },
82
- "gitHead": "ed75f6ab84a4757eb7b627101948112a967dddfe"
82
+ "gitHead": "1634a325b0102a6aa74fee4b8767d9236a958b31"
83
83
  }