@momentum-design/components 0.104.12 → 0.104.14

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.
@@ -8131,20 +8131,6 @@
8131
8131
  "module": "components/formfieldwrapper/formfieldwrapper.component.js"
8132
8132
  }
8133
8133
  },
8134
- {
8135
- "kind": "field",
8136
- "name": "id",
8137
- "type": {
8138
- "text": "string"
8139
- },
8140
- "default": "''",
8141
- "description": "The unique id of the input field. It is used to link the input field with the label.",
8142
- "attribute": "id",
8143
- "inheritedFrom": {
8144
- "name": "FormfieldWrapper",
8145
- "module": "components/formfieldwrapper/formfieldwrapper.component.js"
8146
- }
8147
- },
8148
8134
  {
8149
8135
  "kind": "field",
8150
8136
  "name": "helpTextType",
@@ -8426,19 +8412,6 @@
8426
8412
  "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
8427
8413
  }
8428
8414
  },
8429
- {
8430
- "name": "id",
8431
- "type": {
8432
- "text": "string"
8433
- },
8434
- "default": "''",
8435
- "description": "The unique id of the input field. It is used to link the input field with the label.",
8436
- "fieldName": "id",
8437
- "inheritedFrom": {
8438
- "name": "FormfieldWrapper",
8439
- "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
8440
- }
8441
- },
8442
8415
  {
8443
8416
  "name": "help-text-type",
8444
8417
  "type": {
@@ -13135,20 +13108,6 @@
13135
13108
  "module": "components/formfieldwrapper/formfieldwrapper.component.js"
13136
13109
  }
13137
13110
  },
13138
- {
13139
- "kind": "field",
13140
- "name": "id",
13141
- "type": {
13142
- "text": "string"
13143
- },
13144
- "default": "''",
13145
- "description": "The unique id of the input field. It is used to link the input field with the label.",
13146
- "attribute": "id",
13147
- "inheritedFrom": {
13148
- "name": "FormfieldWrapper",
13149
- "module": "components/formfieldwrapper/formfieldwrapper.component.js"
13150
- }
13151
- },
13152
13111
  {
13153
13112
  "kind": "field",
13154
13113
  "name": "helpTextType",
@@ -13361,19 +13320,6 @@
13361
13320
  "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
13362
13321
  }
13363
13322
  },
13364
- {
13365
- "name": "id",
13366
- "type": {
13367
- "text": "string"
13368
- },
13369
- "default": "''",
13370
- "description": "The unique id of the input field. It is used to link the input field with the label.",
13371
- "fieldName": "id",
13372
- "inheritedFrom": {
13373
- "name": "FormfieldWrapper",
13374
- "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
13375
- }
13376
- },
13377
13323
  {
13378
13324
  "name": "help-text-type",
13379
13325
  "type": {
@@ -13479,16 +13425,6 @@
13479
13425
  "attribute": "required",
13480
13426
  "reflects": true
13481
13427
  },
13482
- {
13483
- "kind": "field",
13484
- "name": "id",
13485
- "type": {
13486
- "text": "string"
13487
- },
13488
- "default": "''",
13489
- "description": "The unique id of the input field. It is used to link the input field with the label.",
13490
- "attribute": "id"
13491
- },
13492
13428
  {
13493
13429
  "kind": "field",
13494
13430
  "name": "helpTextType",
@@ -13629,15 +13565,6 @@
13629
13565
  "description": "The required attribute to indicate that the input field is required.\nIt is used to append a required indicator (*) to the label.",
13630
13566
  "fieldName": "required"
13631
13567
  },
13632
- {
13633
- "name": "id",
13634
- "type": {
13635
- "text": "string"
13636
- },
13637
- "default": "''",
13638
- "description": "The unique id of the input field. It is used to link the input field with the label.",
13639
- "fieldName": "id"
13640
- },
13641
13568
  {
13642
13569
  "name": "help-text-type",
13643
13570
  "type": {
@@ -14654,20 +14581,6 @@
14654
14581
  "module": "components/formfieldwrapper/formfieldwrapper.component.js"
14655
14582
  }
14656
14583
  },
14657
- {
14658
- "kind": "field",
14659
- "name": "id",
14660
- "type": {
14661
- "text": "string"
14662
- },
14663
- "default": "''",
14664
- "description": "The unique id of the input field. It is used to link the input field with the label.",
14665
- "attribute": "id",
14666
- "inheritedFrom": {
14667
- "name": "FormfieldWrapper",
14668
- "module": "components/formfieldwrapper/formfieldwrapper.component.js"
14669
- }
14670
- },
14671
14584
  {
14672
14585
  "kind": "field",
14673
14586
  "name": "helpTextType",
@@ -15068,19 +14981,6 @@
15068
14981
  "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
15069
14982
  }
15070
14983
  },
15071
- {
15072
- "name": "id",
15073
- "type": {
15074
- "text": "string"
15075
- },
15076
- "default": "''",
15077
- "description": "The unique id of the input field. It is used to link the input field with the label.",
15078
- "fieldName": "id",
15079
- "inheritedFrom": {
15080
- "name": "FormfieldWrapper",
15081
- "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
15082
- }
15083
- },
15084
14984
  {
15085
14985
  "name": "help-text-type",
15086
14986
  "type": {
@@ -26192,20 +26092,6 @@
26192
26092
  "module": "components/formfieldwrapper/formfieldwrapper.component.js"
26193
26093
  }
26194
26094
  },
26195
- {
26196
- "kind": "field",
26197
- "name": "id",
26198
- "type": {
26199
- "text": "string"
26200
- },
26201
- "default": "''",
26202
- "description": "The unique id of the input field. It is used to link the input field with the label.",
26203
- "attribute": "id",
26204
- "inheritedFrom": {
26205
- "name": "FormfieldWrapper",
26206
- "module": "components/formfieldwrapper/formfieldwrapper.component.js"
26207
- }
26208
- },
26209
26095
  {
26210
26096
  "kind": "field",
26211
26097
  "name": "helpText",
@@ -26697,19 +26583,6 @@
26697
26583
  "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
26698
26584
  }
26699
26585
  },
26700
- {
26701
- "name": "id",
26702
- "type": {
26703
- "text": "string"
26704
- },
26705
- "default": "''",
26706
- "description": "The unique id of the input field. It is used to link the input field with the label.",
26707
- "fieldName": "id",
26708
- "inheritedFrom": {
26709
- "name": "FormfieldWrapper",
26710
- "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
26711
- }
26712
- },
26713
26586
  {
26714
26587
  "name": "help-text",
26715
26588
  "type": {
@@ -28679,20 +28552,6 @@
28679
28552
  "module": "components/formfieldwrapper/formfieldwrapper.component.js"
28680
28553
  }
28681
28554
  },
28682
- {
28683
- "kind": "field",
28684
- "name": "id",
28685
- "type": {
28686
- "text": "string"
28687
- },
28688
- "default": "''",
28689
- "description": "The unique id of the input field. It is used to link the input field with the label.",
28690
- "attribute": "id",
28691
- "inheritedFrom": {
28692
- "name": "FormfieldWrapper",
28693
- "module": "components/formfieldwrapper/formfieldwrapper.component.js"
28694
- }
28695
- },
28696
28555
  {
28697
28556
  "kind": "field",
28698
28557
  "name": "helpTextType",
@@ -28919,19 +28778,6 @@
28919
28778
  "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
28920
28779
  }
28921
28780
  },
28922
- {
28923
- "name": "id",
28924
- "type": {
28925
- "text": "string"
28926
- },
28927
- "default": "''",
28928
- "description": "The unique id of the input field. It is used to link the input field with the label.",
28929
- "fieldName": "id",
28930
- "inheritedFrom": {
28931
- "name": "FormfieldWrapper",
28932
- "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
28933
- }
28934
- },
28935
28781
  {
28936
28782
  "name": "help-text-type",
28937
28783
  "type": {
@@ -29284,20 +29130,6 @@
29284
29130
  "module": "components/formfieldwrapper/formfieldwrapper.component.js"
29285
29131
  }
29286
29132
  },
29287
- {
29288
- "kind": "field",
29289
- "name": "id",
29290
- "type": {
29291
- "text": "string"
29292
- },
29293
- "default": "''",
29294
- "description": "The unique id of the input field. It is used to link the input field with the label.",
29295
- "attribute": "id",
29296
- "inheritedFrom": {
29297
- "name": "FormfieldWrapper",
29298
- "module": "components/formfieldwrapper/formfieldwrapper.component.js"
29299
- }
29300
- },
29301
29133
  {
29302
29134
  "kind": "field",
29303
29135
  "name": "helpTextType",
@@ -29543,19 +29375,6 @@
29543
29375
  "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
29544
29376
  }
29545
29377
  },
29546
- {
29547
- "name": "id",
29548
- "type": {
29549
- "text": "string"
29550
- },
29551
- "default": "''",
29552
- "description": "The unique id of the input field. It is used to link the input field with the label.",
29553
- "fieldName": "id",
29554
- "inheritedFrom": {
29555
- "name": "FormfieldWrapper",
29556
- "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
29557
- }
29558
- },
29559
29378
  {
29560
29379
  "name": "help-text-type",
29561
29380
  "type": {
@@ -29973,20 +29792,6 @@
29973
29792
  "module": "components/formfieldwrapper/formfieldwrapper.component.js"
29974
29793
  }
29975
29794
  },
29976
- {
29977
- "kind": "field",
29978
- "name": "id",
29979
- "type": {
29980
- "text": "string"
29981
- },
29982
- "default": "''",
29983
- "description": "The unique id of the input field. It is used to link the input field with the label.",
29984
- "attribute": "id",
29985
- "inheritedFrom": {
29986
- "name": "FormfieldWrapper",
29987
- "module": "components/formfieldwrapper/formfieldwrapper.component.js"
29988
- }
29989
- },
29990
29795
  {
29991
29796
  "kind": "field",
29992
29797
  "name": "helpTextType",
@@ -30266,19 +30071,6 @@
30266
30071
  "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
30267
30072
  }
30268
30073
  },
30269
- {
30270
- "name": "id",
30271
- "type": {
30272
- "text": "string"
30273
- },
30274
- "default": "''",
30275
- "description": "The unique id of the input field. It is used to link the input field with the label.",
30276
- "fieldName": "id",
30277
- "inheritedFrom": {
30278
- "name": "FormfieldWrapper",
30279
- "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
30280
- }
30281
- },
30282
30074
  {
30283
30075
  "name": "help-text-type",
30284
30076
  "type": {
@@ -30455,20 +30247,6 @@
30455
30247
  "module": "components/formfieldwrapper/formfieldwrapper.component.js"
30456
30248
  }
30457
30249
  },
30458
- {
30459
- "kind": "field",
30460
- "name": "id",
30461
- "type": {
30462
- "text": "string"
30463
- },
30464
- "default": "''",
30465
- "description": "The unique id of the input field. It is used to link the input field with the label.",
30466
- "attribute": "id",
30467
- "inheritedFrom": {
30468
- "name": "FormfieldWrapper",
30469
- "module": "components/formfieldwrapper/formfieldwrapper.component.js"
30470
- }
30471
- },
30472
30250
  {
30473
30251
  "kind": "field",
30474
30252
  "name": "helpTextType",
@@ -30677,19 +30455,6 @@
30677
30455
  "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
30678
30456
  }
30679
30457
  },
30680
- {
30681
- "name": "id",
30682
- "type": {
30683
- "text": "string"
30684
- },
30685
- "default": "''",
30686
- "description": "The unique id of the input field. It is used to link the input field with the label.",
30687
- "fieldName": "id",
30688
- "inheritedFrom": {
30689
- "name": "FormfieldWrapper",
30690
- "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
30691
- }
30692
- },
30693
30458
  {
30694
30459
  "name": "help-text-type",
30695
30460
  "type": {
@@ -31505,20 +31270,6 @@
31505
31270
  "module": "components/formfieldwrapper/formfieldwrapper.component.js"
31506
31271
  }
31507
31272
  },
31508
- {
31509
- "kind": "field",
31510
- "name": "id",
31511
- "type": {
31512
- "text": "string"
31513
- },
31514
- "default": "''",
31515
- "description": "The unique id of the input field. It is used to link the input field with the label.",
31516
- "attribute": "id",
31517
- "inheritedFrom": {
31518
- "name": "FormfieldWrapper",
31519
- "module": "components/formfieldwrapper/formfieldwrapper.component.js"
31520
- }
31521
- },
31522
31273
  {
31523
31274
  "kind": "field",
31524
31275
  "name": "helpTextType",
@@ -32010,19 +31761,6 @@
32010
31761
  "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
32011
31762
  }
32012
31763
  },
32013
- {
32014
- "name": "id",
32015
- "type": {
32016
- "text": "string"
32017
- },
32018
- "default": "''",
32019
- "description": "The unique id of the input field. It is used to link the input field with the label.",
32020
- "fieldName": "id",
32021
- "inheritedFrom": {
32022
- "name": "FormfieldWrapper",
32023
- "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
32024
- }
32025
- },
32026
31764
  {
32027
31765
  "name": "help-text-type",
32028
31766
  "type": {
@@ -32792,20 +32530,6 @@
32792
32530
  "module": "components/formfieldwrapper/formfieldwrapper.component.js"
32793
32531
  }
32794
32532
  },
32795
- {
32796
- "kind": "field",
32797
- "name": "id",
32798
- "type": {
32799
- "text": "string"
32800
- },
32801
- "default": "''",
32802
- "description": "The unique id of the input field. It is used to link the input field with the label.",
32803
- "attribute": "id",
32804
- "inheritedFrom": {
32805
- "name": "FormfieldWrapper",
32806
- "module": "components/formfieldwrapper/formfieldwrapper.component.js"
32807
- }
32808
- },
32809
32533
  {
32810
32534
  "kind": "field",
32811
32535
  "name": "helpTextType",
@@ -33145,19 +32869,6 @@
33145
32869
  "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
33146
32870
  }
33147
32871
  },
33148
- {
33149
- "name": "id",
33150
- "type": {
33151
- "text": "string"
33152
- },
33153
- "default": "''",
33154
- "description": "The unique id of the input field. It is used to link the input field with the label.",
33155
- "fieldName": "id",
33156
- "inheritedFrom": {
33157
- "name": "FormfieldWrapper",
33158
- "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
33159
- }
33160
- },
33161
32872
  {
33162
32873
  "name": "help-text-type",
33163
32874
  "type": {
@@ -36578,20 +36289,6 @@
36578
36289
  "module": "components/formfieldwrapper/formfieldwrapper.component.js"
36579
36290
  }
36580
36291
  },
36581
- {
36582
- "kind": "field",
36583
- "name": "id",
36584
- "type": {
36585
- "text": "string"
36586
- },
36587
- "default": "''",
36588
- "description": "The unique id of the input field. It is used to link the input field with the label.",
36589
- "attribute": "id",
36590
- "inheritedFrom": {
36591
- "name": "FormfieldWrapper",
36592
- "module": "components/formfieldwrapper/formfieldwrapper.component.js"
36593
- }
36594
- },
36595
36292
  {
36596
36293
  "kind": "field",
36597
36294
  "name": "helpTextType",
@@ -36967,19 +36664,6 @@
36967
36664
  "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
36968
36665
  }
36969
36666
  },
36970
- {
36971
- "name": "id",
36972
- "type": {
36973
- "text": "string"
36974
- },
36975
- "default": "''",
36976
- "description": "The unique id of the input field. It is used to link the input field with the label.",
36977
- "fieldName": "id",
36978
- "inheritedFrom": {
36979
- "name": "FormfieldWrapper",
36980
- "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
36981
- }
36982
- },
36983
36667
  {
36984
36668
  "name": "help-text-type",
36985
36669
  "type": {
@@ -37895,20 +37579,6 @@
37895
37579
  "module": "components/formfieldwrapper/formfieldwrapper.component.js"
37896
37580
  }
37897
37581
  },
37898
- {
37899
- "kind": "field",
37900
- "name": "id",
37901
- "type": {
37902
- "text": "string"
37903
- },
37904
- "default": "''",
37905
- "description": "The unique id of the input field. It is used to link the input field with the label.",
37906
- "attribute": "id",
37907
- "inheritedFrom": {
37908
- "name": "FormfieldWrapper",
37909
- "module": "components/formfieldwrapper/formfieldwrapper.component.js"
37910
- }
37911
- },
37912
37582
  {
37913
37583
  "kind": "field",
37914
37584
  "name": "helpTextType",
@@ -38190,19 +37860,6 @@
38190
37860
  "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
38191
37861
  }
38192
37862
  },
38193
- {
38194
- "name": "id",
38195
- "type": {
38196
- "text": "string"
38197
- },
38198
- "default": "''",
38199
- "description": "The unique id of the input field. It is used to link the input field with the label.",
38200
- "fieldName": "id",
38201
- "inheritedFrom": {
38202
- "name": "FormfieldWrapper",
38203
- "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
38204
- }
38205
- },
38206
37863
  {
38207
37864
  "name": "help-text-type",
38208
37865
  "type": {
@@ -8,7 +8,6 @@ var __metadata = (this && this.__metadata) || function (k, v) {
8
8
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
9
9
  };
10
10
  import { property, query } from 'lit/decorators.js';
11
- import { v4 as uuidv4 } from 'uuid';
12
11
  export const FormInternalsMixin = (superClass) => {
13
12
  class InnerMixinClass extends superClass {
14
13
  constructor() {
@@ -37,11 +36,6 @@ export const FormInternalsMixin = (superClass) => {
37
36
  get willValidate() {
38
37
  return this.internals.willValidate;
39
38
  }
40
- connectedCallback() {
41
- super.connectedCallback();
42
- /** @internal */
43
- this.id = `mdc-el-${uuidv4()}`;
44
- }
45
39
  /**
46
40
  * Sets the validity of the input field based on the input field's validity.
47
41
  * @returns void
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@momentum-design/components",
3
3
  "packageManager": "yarn@3.2.4",
4
- "version": "0.104.12",
4
+ "version": "0.104.14",
5
5
  "engines": {
6
6
  "node": ">=20.0.0",
7
7
  "npm": ">=8.0.0"