@nordhealth/components 1.0.0-alpha.38 → 1.0.0-alpha.41

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.
Files changed (39) hide show
  1. package/custom-elements.json +385 -260
  2. package/lib/Button.js +1 -1
  3. package/lib/Button.js.map +1 -1
  4. package/lib/CommandMenu.js +2 -2
  5. package/lib/{CommandMenuAction-879382c7.js → CommandMenuAction-b286bcbb.js} +3 -3
  6. package/lib/{CommandMenuAction-879382c7.js.map → CommandMenuAction-b286bcbb.js.map} +1 -1
  7. package/lib/CommandMenuAction.js +1 -1
  8. package/lib/{Icon-f6f1c764.js → Icon-559d954d.js} +3 -3
  9. package/lib/{Icon-f6f1c764.js.map → Icon-559d954d.js.map} +1 -1
  10. package/lib/Icon.js +1 -1
  11. package/lib/Input.js +1 -1
  12. package/lib/Input.js.map +1 -1
  13. package/lib/{InputMixin-3e737480.js → InputMixin-6c108de4.js} +2 -2
  14. package/lib/{InputMixin-3e737480.js.map → InputMixin-6c108de4.js.map} +1 -1
  15. package/lib/Select.js +1 -1
  16. package/lib/Select.js.map +1 -1
  17. package/lib/Spinner.js +2 -0
  18. package/lib/Spinner.js.map +1 -0
  19. package/lib/TextField-bfdc253c.js +2 -0
  20. package/lib/TextField-bfdc253c.js.map +1 -0
  21. package/lib/Textarea.js +1 -1
  22. package/lib/Textarea.js.map +1 -1
  23. package/lib/directive-e9ce14b4.js +7 -0
  24. package/lib/directive-e9ce14b4.js.map +1 -0
  25. package/lib/if-defined-617ae549.js +7 -0
  26. package/lib/if-defined-617ae549.js.map +1 -0
  27. package/lib/index.js +1 -1
  28. package/lib/{ref-857246ae.js → ref-65ef7607.js} +3 -3
  29. package/lib/{ref-857246ae.js.map → ref-65ef7607.js.map} +1 -1
  30. package/lib/src/index.d.ts +1 -0
  31. package/lib/src/spinner/Spinner.d.ts +34 -0
  32. package/lib/src/spinner/Spinner.test.d.ts +2 -0
  33. package/lib/{unsafe-html-7028f0a1.js → unsafe-html-21f62902.js} +2 -2
  34. package/lib/{unsafe-html-7028f0a1.js.map → unsafe-html-21f62902.js.map} +1 -1
  35. package/package.json +2 -2
  36. package/lib/TextField-afe4d64f.js +0 -2
  37. package/lib/TextField-afe4d64f.js.map +0 -1
  38. package/lib/directive-40a31ee2.js +0 -12
  39. package/lib/directive-40a31ee2.js.map +0 -1
@@ -79,6 +79,14 @@
79
79
  "module": "\"./stack/Stack.js\""
80
80
  }
81
81
  },
82
+ {
83
+ "kind": "js",
84
+ "name": "Spinner",
85
+ "declaration": {
86
+ "name": "default",
87
+ "module": "\"./spinner/Spinner.js\""
88
+ }
89
+ },
82
90
  {
83
91
  "kind": "js",
84
92
  "name": "Table",
@@ -671,6 +679,184 @@
671
679
  }
672
680
  ]
673
681
  },
682
+ {
683
+ "kind": "javascript-module",
684
+ "path": "src/common/collection.ts",
685
+ "declarations": [
686
+ {
687
+ "kind": "function",
688
+ "name": "groupBy",
689
+ "parameters": [
690
+ {
691
+ "name": "array",
692
+ "type": {
693
+ "text": "Array<TObject>"
694
+ },
695
+ "description": "the collection of objects to group"
696
+ },
697
+ {
698
+ "name": "key",
699
+ "type": {
700
+ "text": "TKey"
701
+ },
702
+ "description": "the property to group by"
703
+ }
704
+ ],
705
+ "description": "Groups an array objects by property value",
706
+ "return": {
707
+ "type": {
708
+ "text": ""
709
+ }
710
+ }
711
+ }
712
+ ],
713
+ "exports": [
714
+ {
715
+ "kind": "js",
716
+ "name": "groupBy",
717
+ "declaration": {
718
+ "name": "groupBy",
719
+ "module": "src/common/collection.ts"
720
+ }
721
+ }
722
+ ]
723
+ },
724
+ {
725
+ "kind": "javascript-module",
726
+ "path": "src/common/events.ts",
727
+ "declarations": [
728
+ {
729
+ "kind": "class",
730
+ "description": "A base class for events which defaults to bubbling and composed",
731
+ "name": "NordEvent",
732
+ "superclass": {
733
+ "name": "Event",
734
+ "module": "src/common/events.ts"
735
+ },
736
+ "status": null,
737
+ "category": null
738
+ }
739
+ ],
740
+ "exports": [
741
+ {
742
+ "kind": "js",
743
+ "name": "NordEvent",
744
+ "declaration": {
745
+ "name": "NordEvent",
746
+ "module": "src/common/events.ts"
747
+ }
748
+ }
749
+ ]
750
+ },
751
+ {
752
+ "kind": "javascript-module",
753
+ "path": "src/common/focus.ts",
754
+ "declarations": [
755
+ {
756
+ "kind": "function",
757
+ "name": "getFocusedElement",
758
+ "return": {
759
+ "type": {
760
+ "text": "Element | undefined"
761
+ }
762
+ },
763
+ "parameters": [
764
+ {
765
+ "name": "root",
766
+ "type": {
767
+ "text": "Document | ShadowRoot"
768
+ }
769
+ }
770
+ ],
771
+ "description": "Gets the currently focused element, taking shadow roots into account."
772
+ }
773
+ ],
774
+ "exports": [
775
+ {
776
+ "kind": "js",
777
+ "name": "getFocusedElement",
778
+ "declaration": {
779
+ "name": "getFocusedElement",
780
+ "module": "src/common/focus.ts"
781
+ }
782
+ }
783
+ ]
784
+ },
785
+ {
786
+ "kind": "javascript-module",
787
+ "path": "src/common/number.ts",
788
+ "declarations": [
789
+ {
790
+ "kind": "function",
791
+ "name": "wrap",
792
+ "parameters": [
793
+ {
794
+ "name": "val",
795
+ "type": {
796
+ "text": "number"
797
+ }
798
+ },
799
+ {
800
+ "name": "min",
801
+ "type": {
802
+ "text": "number"
803
+ }
804
+ },
805
+ {
806
+ "name": "max",
807
+ "type": {
808
+ "text": "number"
809
+ }
810
+ }
811
+ ],
812
+ "description": "Wraps a value so that it always falls within min/max,\nwhere a value greater than max gets set to min, and vice versa"
813
+ }
814
+ ],
815
+ "exports": [
816
+ {
817
+ "kind": "js",
818
+ "name": "wrap",
819
+ "declaration": {
820
+ "name": "wrap",
821
+ "module": "src/common/number.ts"
822
+ }
823
+ }
824
+ ]
825
+ },
826
+ {
827
+ "kind": "javascript-module",
828
+ "path": "src/common/ref.ts",
829
+ "declarations": [
830
+ {
831
+ "kind": "function",
832
+ "name": "mergeRefs",
833
+ "return": {
834
+ "type": {
835
+ "text": "RefCallback"
836
+ }
837
+ },
838
+ "parameters": [
839
+ {
840
+ "name": "refs",
841
+ "type": {
842
+ "text": "Ref[]"
843
+ }
844
+ }
845
+ ],
846
+ "description": "Creates a ref callback which will assign the element to every given ref"
847
+ }
848
+ ],
849
+ "exports": [
850
+ {
851
+ "kind": "js",
852
+ "name": "mergeRefs",
853
+ "declaration": {
854
+ "name": "mergeRefs",
855
+ "module": "src/common/ref.ts"
856
+ }
857
+ }
858
+ ]
859
+ },
674
860
  {
675
861
  "kind": "javascript-module",
676
862
  "path": "src/command-menu/CommandMenu.ts",
@@ -1196,210 +1382,32 @@
1196
1382
  "path": "src/command-menu/events.ts",
1197
1383
  "declarations": [
1198
1384
  {
1199
- "kind": "class",
1200
- "description": "",
1201
- "name": "SelectEvent",
1202
- "members": [
1203
- {
1204
- "kind": "field",
1205
- "name": "command",
1206
- "type": {
1207
- "text": "ICommandMenuAction"
1208
- },
1209
- "default": "command"
1210
- }
1211
- ],
1212
- "superclass": {
1213
- "name": "NordEvent",
1214
- "module": "/src/common/events.js"
1215
- }
1216
- }
1217
- ],
1218
- "exports": [
1219
- {
1220
- "kind": "js",
1221
- "name": "SelectEvent",
1222
- "declaration": {
1223
- "name": "SelectEvent",
1224
- "module": "src/command-menu/events.ts"
1225
- }
1226
- }
1227
- ]
1228
- },
1229
- {
1230
- "kind": "javascript-module",
1231
- "path": "src/common/collection.ts",
1232
- "declarations": [
1233
- {
1234
- "kind": "function",
1235
- "name": "groupBy",
1236
- "parameters": [
1237
- {
1238
- "name": "array",
1239
- "type": {
1240
- "text": "Array<TObject>"
1241
- },
1242
- "description": "the collection of objects to group"
1243
- },
1244
- {
1245
- "name": "key",
1246
- "type": {
1247
- "text": "TKey"
1248
- },
1249
- "description": "the property to group by"
1250
- }
1251
- ],
1252
- "description": "Groups an array objects by property value",
1253
- "return": {
1254
- "type": {
1255
- "text": ""
1256
- }
1257
- }
1258
- }
1259
- ],
1260
- "exports": [
1261
- {
1262
- "kind": "js",
1263
- "name": "groupBy",
1264
- "declaration": {
1265
- "name": "groupBy",
1266
- "module": "src/common/collection.ts"
1267
- }
1268
- }
1269
- ]
1270
- },
1271
- {
1272
- "kind": "javascript-module",
1273
- "path": "src/common/events.ts",
1274
- "declarations": [
1275
- {
1276
- "kind": "class",
1277
- "description": "A base class for events which defaults to bubbling and composed",
1278
- "name": "NordEvent",
1279
- "superclass": {
1280
- "name": "Event",
1281
- "module": "src/common/events.ts"
1282
- },
1283
- "status": null,
1284
- "category": null
1285
- }
1286
- ],
1287
- "exports": [
1288
- {
1289
- "kind": "js",
1290
- "name": "NordEvent",
1291
- "declaration": {
1292
- "name": "NordEvent",
1293
- "module": "src/common/events.ts"
1294
- }
1295
- }
1296
- ]
1297
- },
1298
- {
1299
- "kind": "javascript-module",
1300
- "path": "src/common/focus.ts",
1301
- "declarations": [
1302
- {
1303
- "kind": "function",
1304
- "name": "getFocusedElement",
1305
- "return": {
1306
- "type": {
1307
- "text": "Element | undefined"
1308
- }
1309
- },
1310
- "parameters": [
1311
- {
1312
- "name": "root",
1313
- "type": {
1314
- "text": "Document | ShadowRoot"
1315
- }
1316
- }
1317
- ],
1318
- "description": "Gets the currently focused element, taking shadow roots into account."
1319
- }
1320
- ],
1321
- "exports": [
1322
- {
1323
- "kind": "js",
1324
- "name": "getFocusedElement",
1325
- "declaration": {
1326
- "name": "getFocusedElement",
1327
- "module": "src/common/focus.ts"
1328
- }
1329
- }
1330
- ]
1331
- },
1332
- {
1333
- "kind": "javascript-module",
1334
- "path": "src/common/number.ts",
1335
- "declarations": [
1336
- {
1337
- "kind": "function",
1338
- "name": "wrap",
1339
- "parameters": [
1340
- {
1341
- "name": "val",
1342
- "type": {
1343
- "text": "number"
1344
- }
1345
- },
1346
- {
1347
- "name": "min",
1348
- "type": {
1349
- "text": "number"
1350
- }
1351
- },
1352
- {
1353
- "name": "max",
1354
- "type": {
1355
- "text": "number"
1356
- }
1357
- }
1358
- ],
1359
- "description": "Wraps a value so that it always falls within min/max,\nwhere a value greater than max gets set to min, and vice versa"
1360
- }
1361
- ],
1362
- "exports": [
1363
- {
1364
- "kind": "js",
1365
- "name": "wrap",
1366
- "declaration": {
1367
- "name": "wrap",
1368
- "module": "src/common/number.ts"
1369
- }
1370
- }
1371
- ]
1372
- },
1373
- {
1374
- "kind": "javascript-module",
1375
- "path": "src/common/ref.ts",
1376
- "declarations": [
1377
- {
1378
- "kind": "function",
1379
- "name": "mergeRefs",
1380
- "return": {
1381
- "type": {
1382
- "text": "RefCallback"
1383
- }
1384
- },
1385
- "parameters": [
1385
+ "kind": "class",
1386
+ "description": "",
1387
+ "name": "SelectEvent",
1388
+ "members": [
1386
1389
  {
1387
- "name": "refs",
1390
+ "kind": "field",
1391
+ "name": "command",
1388
1392
  "type": {
1389
- "text": "Ref[]"
1390
- }
1393
+ "text": "ICommandMenuAction"
1394
+ },
1395
+ "default": "command"
1391
1396
  }
1392
1397
  ],
1393
- "description": "Creates a ref callback which will assign the element to every given ref"
1398
+ "superclass": {
1399
+ "name": "NordEvent",
1400
+ "module": "/src/common/events.js"
1401
+ }
1394
1402
  }
1395
1403
  ],
1396
1404
  "exports": [
1397
1405
  {
1398
1406
  "kind": "js",
1399
- "name": "mergeRefs",
1407
+ "name": "SelectEvent",
1400
1408
  "declaration": {
1401
- "name": "mergeRefs",
1402
- "module": "src/common/ref.ts"
1409
+ "name": "SelectEvent",
1410
+ "module": "src/command-menu/events.ts"
1403
1411
  }
1404
1412
  }
1405
1413
  ]
@@ -2781,49 +2789,141 @@
2781
2789
  },
2782
2790
  {
2783
2791
  "kind": "javascript-module",
2784
- "path": "src/stack/Stack.ts",
2792
+ "path": "src/table/Table.ts",
2785
2793
  "declarations": [
2786
2794
  {
2787
2795
  "kind": "class",
2788
- "description": "Stack component manages layout of immediate children along the\nvertical or horizontal axis with optional spacing between each child.",
2789
- "name": "Stack",
2796
+ "description": "Table is used to organize and display information from a data set.\nProvides table styles in addition to features like sticky\nheaders and support for narrow viewports.",
2797
+ "name": "Table",
2790
2798
  "slots": [
2791
2799
  {
2792
- "description": "The stack content.",
2800
+ "description": "The table.",
2793
2801
  "name": ""
2794
2802
  }
2795
2803
  ],
2796
2804
  "members": [
2797
2805
  {
2798
2806
  "kind": "field",
2799
- "name": "gap",
2807
+ "name": "density",
2800
2808
  "type": {
2801
- "text": "\"none\" | \"s\" | \"m\" | \"l\" | \"xl\" | \"xxl\""
2809
+ "text": "\"condensed\" | \"default\" | \"relaxed\""
2810
+ },
2811
+ "default": "\"default\"",
2812
+ "description": "Controls the density of the table's rows and headers.\nRelaxed increases space, condensed reduces space.",
2813
+ "attribute": "density",
2814
+ "reflects": true
2815
+ },
2816
+ {
2817
+ "kind": "method",
2818
+ "name": "renderStyles",
2819
+ "privacy": "private",
2820
+ "description": "renders table styles into nearest root.\nthis is necessary since we do not use shadow dom."
2821
+ },
2822
+ {
2823
+ "kind": "method",
2824
+ "name": "createRenderRoot",
2825
+ "privacy": "protected",
2826
+ "description": "opt out of shadow dom"
2827
+ },
2828
+ {
2829
+ "kind": "field",
2830
+ "name": "_warningLogged",
2831
+ "type": {
2832
+ "text": "boolean"
2833
+ },
2834
+ "privacy": "private",
2835
+ "static": true,
2836
+ "default": "false",
2837
+ "inheritedFrom": {
2838
+ "name": "DraftComponentMixin",
2839
+ "module": "src/common/mixins/DraftComponentMixin.ts"
2840
+ }
2841
+ }
2842
+ ],
2843
+ "attributes": [
2844
+ {
2845
+ "name": "density",
2846
+ "type": {
2847
+ "text": "\"condensed\" | \"default\" | \"relaxed\""
2848
+ },
2849
+ "default": "\"default\"",
2850
+ "description": "Controls the density of the table's rows and headers.\nRelaxed increases space, condensed reduces space.",
2851
+ "fieldName": "density"
2852
+ }
2853
+ ],
2854
+ "mixins": [
2855
+ {
2856
+ "name": "DraftComponentMixin",
2857
+ "module": "/src/common/mixins/DraftComponentMixin.js"
2858
+ }
2859
+ ],
2860
+ "superclass": {
2861
+ "name": "LitElement",
2862
+ "package": "lit"
2863
+ },
2864
+ "status": "draft",
2865
+ "category": "list",
2866
+ "tagName": "nord-table",
2867
+ "customElement": true
2868
+ }
2869
+ ],
2870
+ "exports": [
2871
+ {
2872
+ "kind": "js",
2873
+ "name": "default",
2874
+ "declaration": {
2875
+ "name": "Table",
2876
+ "module": "src/table/Table.ts"
2877
+ }
2878
+ },
2879
+ {
2880
+ "kind": "custom-element-definition",
2881
+ "name": "nord-table",
2882
+ "declaration": {
2883
+ "name": "Table",
2884
+ "module": "src/table/Table.ts"
2885
+ }
2886
+ }
2887
+ ]
2888
+ },
2889
+ {
2890
+ "kind": "javascript-module",
2891
+ "path": "src/spinner/Spinner.ts",
2892
+ "declarations": [
2893
+ {
2894
+ "kind": "class",
2895
+ "description": "Spinner component is used to indicate users that their action is being\nprocessed. You can customize the size and color of the spinner with the\nprovided properties.",
2896
+ "name": "Spinner",
2897
+ "members": [
2898
+ {
2899
+ "kind": "field",
2900
+ "name": "size",
2901
+ "type": {
2902
+ "text": "\"xs\" | \"s\" | \"m\" | \"l\" | \"xl\" | \"xxl\""
2802
2903
  },
2803
2904
  "default": "\"m\"",
2804
- "description": "The space injected between components.",
2805
- "attribute": "gap",
2905
+ "description": "The size of the spinner.",
2906
+ "attribute": "size",
2806
2907
  "reflects": true
2807
2908
  },
2808
2909
  {
2809
2910
  "kind": "field",
2810
- "name": "direction",
2911
+ "name": "color",
2811
2912
  "type": {
2812
- "text": "\"vertical\" | \"horizontal\""
2913
+ "text": "string | undefined"
2813
2914
  },
2814
- "default": "\"vertical\"",
2815
- "description": "The direction of the stack.",
2816
- "attribute": "direction",
2915
+ "description": "The color of the spinner.\nCan accept any valid CSS color value, including custom properties.",
2916
+ "attribute": "color",
2817
2917
  "reflects": true
2818
2918
  },
2819
2919
  {
2820
2920
  "kind": "field",
2821
- "name": "alignItems",
2921
+ "name": "label",
2822
2922
  "type": {
2823
- "text": "\"center\" | \"start\" | \"end\" | undefined"
2923
+ "text": "string | undefined"
2824
2924
  },
2825
- "description": "How to align the child items inside the stack.",
2826
- "attribute": "align-items",
2925
+ "description": "An accessible label for the spinner.\nIf no label is supplied, the spinner is hidden from assistive technology.",
2926
+ "attribute": "label",
2827
2927
  "reflects": true
2828
2928
  },
2829
2929
  {
@@ -2843,30 +2943,29 @@
2843
2943
  ],
2844
2944
  "attributes": [
2845
2945
  {
2846
- "name": "gap",
2946
+ "name": "size",
2847
2947
  "type": {
2848
- "text": "\"none\" | \"s\" | \"m\" | \"l\" | \"xl\" | \"xxl\""
2948
+ "text": "\"xs\" | \"s\" | \"m\" | \"l\" | \"xl\" | \"xxl\""
2849
2949
  },
2850
2950
  "default": "\"m\"",
2851
- "description": "The space injected between components.",
2852
- "fieldName": "gap"
2951
+ "description": "The size of the spinner.",
2952
+ "fieldName": "size"
2853
2953
  },
2854
2954
  {
2855
- "name": "direction",
2955
+ "name": "color",
2856
2956
  "type": {
2857
- "text": "\"vertical\" | \"horizontal\""
2957
+ "text": "string | undefined"
2858
2958
  },
2859
- "default": "\"vertical\"",
2860
- "description": "The direction of the stack.",
2861
- "fieldName": "direction"
2959
+ "description": "The color of the spinner.\nCan accept any valid CSS color value, including custom properties.",
2960
+ "fieldName": "color"
2862
2961
  },
2863
2962
  {
2864
- "name": "align-items",
2963
+ "name": "label",
2865
2964
  "type": {
2866
- "text": "\"center\" | \"start\" | \"end\" | undefined"
2965
+ "text": "string | undefined"
2867
2966
  },
2868
- "description": "How to align the child items inside the stack.",
2869
- "fieldName": "alignItems"
2967
+ "description": "An accessible label for the spinner.\nIf no label is supplied, the spinner is hidden from assistive technology.",
2968
+ "fieldName": "label"
2870
2969
  }
2871
2970
  ],
2872
2971
  "mixins": [
@@ -2880,8 +2979,8 @@
2880
2979
  "package": "lit"
2881
2980
  },
2882
2981
  "status": "draft",
2883
- "category": "structure",
2884
- "tagName": "nord-stack",
2982
+ "category": "feedback",
2983
+ "tagName": "nord-spinner",
2885
2984
  "customElement": true
2886
2985
  }
2887
2986
  ],
@@ -2890,57 +2989,66 @@
2890
2989
  "kind": "js",
2891
2990
  "name": "default",
2892
2991
  "declaration": {
2893
- "name": "Stack",
2894
- "module": "src/stack/Stack.ts"
2992
+ "name": "Spinner",
2993
+ "module": "src/spinner/Spinner.ts"
2895
2994
  }
2896
2995
  },
2897
2996
  {
2898
2997
  "kind": "custom-element-definition",
2899
- "name": "nord-stack",
2998
+ "name": "nord-spinner",
2900
2999
  "declaration": {
2901
- "name": "Stack",
2902
- "module": "src/stack/Stack.ts"
3000
+ "name": "Spinner",
3001
+ "module": "src/spinner/Spinner.ts"
2903
3002
  }
2904
3003
  }
2905
3004
  ]
2906
3005
  },
2907
3006
  {
2908
3007
  "kind": "javascript-module",
2909
- "path": "src/table/Table.ts",
3008
+ "path": "src/stack/Stack.ts",
2910
3009
  "declarations": [
2911
3010
  {
2912
3011
  "kind": "class",
2913
- "description": "Table is used to organize and display information from a data set.\nProvides table styles in addition to features like sticky\nheaders and support for narrow viewports.",
2914
- "name": "Table",
3012
+ "description": "Stack component manages layout of immediate children along the\nvertical or horizontal axis with optional spacing between each child.",
3013
+ "name": "Stack",
2915
3014
  "slots": [
2916
3015
  {
2917
- "description": "The table.",
3016
+ "description": "The stack content.",
2918
3017
  "name": ""
2919
3018
  }
2920
3019
  ],
2921
3020
  "members": [
2922
3021
  {
2923
3022
  "kind": "field",
2924
- "name": "density",
3023
+ "name": "gap",
2925
3024
  "type": {
2926
- "text": "\"condensed\" | \"default\" | \"relaxed\""
3025
+ "text": "\"none\" | \"s\" | \"m\" | \"l\" | \"xl\" | \"xxl\""
2927
3026
  },
2928
- "default": "\"default\"",
2929
- "description": "Controls the density of the table's rows and headers.\nRelaxed increases space, condensed reduces space.",
2930
- "attribute": "density",
3027
+ "default": "\"m\"",
3028
+ "description": "The space injected between components.",
3029
+ "attribute": "gap",
2931
3030
  "reflects": true
2932
3031
  },
2933
3032
  {
2934
- "kind": "method",
2935
- "name": "renderStyles",
2936
- "privacy": "private",
2937
- "description": "renders table styles into nearest root.\nthis is necessary since we do not use shadow dom."
3033
+ "kind": "field",
3034
+ "name": "direction",
3035
+ "type": {
3036
+ "text": "\"vertical\" | \"horizontal\""
3037
+ },
3038
+ "default": "\"vertical\"",
3039
+ "description": "The direction of the stack.",
3040
+ "attribute": "direction",
3041
+ "reflects": true
2938
3042
  },
2939
3043
  {
2940
- "kind": "method",
2941
- "name": "createRenderRoot",
2942
- "privacy": "protected",
2943
- "description": "opt out of shadow dom"
3044
+ "kind": "field",
3045
+ "name": "alignItems",
3046
+ "type": {
3047
+ "text": "\"center\" | \"start\" | \"end\" | undefined"
3048
+ },
3049
+ "description": "How to align the child items inside the stack.",
3050
+ "attribute": "align-items",
3051
+ "reflects": true
2944
3052
  },
2945
3053
  {
2946
3054
  "kind": "field",
@@ -2959,13 +3067,30 @@
2959
3067
  ],
2960
3068
  "attributes": [
2961
3069
  {
2962
- "name": "density",
3070
+ "name": "gap",
2963
3071
  "type": {
2964
- "text": "\"condensed\" | \"default\" | \"relaxed\""
3072
+ "text": "\"none\" | \"s\" | \"m\" | \"l\" | \"xl\" | \"xxl\""
2965
3073
  },
2966
- "default": "\"default\"",
2967
- "description": "Controls the density of the table's rows and headers.\nRelaxed increases space, condensed reduces space.",
2968
- "fieldName": "density"
3074
+ "default": "\"m\"",
3075
+ "description": "The space injected between components.",
3076
+ "fieldName": "gap"
3077
+ },
3078
+ {
3079
+ "name": "direction",
3080
+ "type": {
3081
+ "text": "\"vertical\" | \"horizontal\""
3082
+ },
3083
+ "default": "\"vertical\"",
3084
+ "description": "The direction of the stack.",
3085
+ "fieldName": "direction"
3086
+ },
3087
+ {
3088
+ "name": "align-items",
3089
+ "type": {
3090
+ "text": "\"center\" | \"start\" | \"end\" | undefined"
3091
+ },
3092
+ "description": "How to align the child items inside the stack.",
3093
+ "fieldName": "alignItems"
2969
3094
  }
2970
3095
  ],
2971
3096
  "mixins": [
@@ -2979,8 +3104,8 @@
2979
3104
  "package": "lit"
2980
3105
  },
2981
3106
  "status": "draft",
2982
- "category": "list",
2983
- "tagName": "nord-table",
3107
+ "category": "structure",
3108
+ "tagName": "nord-stack",
2984
3109
  "customElement": true
2985
3110
  }
2986
3111
  ],
@@ -2989,16 +3114,16 @@
2989
3114
  "kind": "js",
2990
3115
  "name": "default",
2991
3116
  "declaration": {
2992
- "name": "Table",
2993
- "module": "src/table/Table.ts"
3117
+ "name": "Stack",
3118
+ "module": "src/stack/Stack.ts"
2994
3119
  }
2995
3120
  },
2996
3121
  {
2997
3122
  "kind": "custom-element-definition",
2998
- "name": "nord-table",
3123
+ "name": "nord-stack",
2999
3124
  "declaration": {
3000
- "name": "Table",
3001
- "module": "src/table/Table.ts"
3125
+ "name": "Stack",
3126
+ "module": "src/stack/Stack.ts"
3002
3127
  }
3003
3128
  }
3004
3129
  ]