@nordhealth/components 1.0.0-alpha.39 → 1.0.0-alpha.42

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 (38) hide show
  1. package/custom-elements.json +388 -263
  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/{FormField-02dd3b4f.js → FormField-6bddeef9.js} +2 -2
  9. package/lib/{FormField-02dd3b4f.js.map → FormField-6bddeef9.js.map} +1 -1
  10. package/lib/{Icon-f6f1c764.js → Icon-559d954d.js} +3 -3
  11. package/lib/{Icon-f6f1c764.js.map → Icon-559d954d.js.map} +1 -1
  12. package/lib/Icon.js +1 -1
  13. package/lib/Input.js +1 -1
  14. package/lib/Input.js.map +1 -1
  15. package/lib/{InputMixin-3e737480.js → InputMixin-6c108de4.js} +2 -2
  16. package/lib/{InputMixin-3e737480.js.map → InputMixin-6c108de4.js.map} +1 -1
  17. package/lib/Select.js +1 -1
  18. package/lib/Select.js.map +1 -1
  19. package/lib/Spinner.js +2 -0
  20. package/lib/Spinner.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/card/Card.test.d.ts +2 -0
  31. package/lib/src/index.d.ts +1 -0
  32. package/lib/src/spinner/Spinner.d.ts +34 -0
  33. package/lib/src/spinner/Spinner.test.d.ts +2 -0
  34. package/lib/{unsafe-html-7028f0a1.js → unsafe-html-21f62902.js} +2 -2
  35. package/lib/{unsafe-html-7028f0a1.js.map → unsafe-html-21f62902.js.map} +1 -1
  36. package/package.json +2 -2
  37. package/lib/directive-40a31ee2.js +0 -12
  38. 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,184 +679,6 @@
671
679
  }
672
680
  ]
673
681
  },
674
- {
675
- "kind": "javascript-module",
676
- "path": "src/common/collection.ts",
677
- "declarations": [
678
- {
679
- "kind": "function",
680
- "name": "groupBy",
681
- "parameters": [
682
- {
683
- "name": "array",
684
- "type": {
685
- "text": "Array<TObject>"
686
- },
687
- "description": "the collection of objects to group"
688
- },
689
- {
690
- "name": "key",
691
- "type": {
692
- "text": "TKey"
693
- },
694
- "description": "the property to group by"
695
- }
696
- ],
697
- "description": "Groups an array objects by property value",
698
- "return": {
699
- "type": {
700
- "text": ""
701
- }
702
- }
703
- }
704
- ],
705
- "exports": [
706
- {
707
- "kind": "js",
708
- "name": "groupBy",
709
- "declaration": {
710
- "name": "groupBy",
711
- "module": "src/common/collection.ts"
712
- }
713
- }
714
- ]
715
- },
716
- {
717
- "kind": "javascript-module",
718
- "path": "src/common/events.ts",
719
- "declarations": [
720
- {
721
- "kind": "class",
722
- "description": "A base class for events which defaults to bubbling and composed",
723
- "name": "NordEvent",
724
- "superclass": {
725
- "name": "Event",
726
- "module": "src/common/events.ts"
727
- },
728
- "status": null,
729
- "category": null
730
- }
731
- ],
732
- "exports": [
733
- {
734
- "kind": "js",
735
- "name": "NordEvent",
736
- "declaration": {
737
- "name": "NordEvent",
738
- "module": "src/common/events.ts"
739
- }
740
- }
741
- ]
742
- },
743
- {
744
- "kind": "javascript-module",
745
- "path": "src/common/focus.ts",
746
- "declarations": [
747
- {
748
- "kind": "function",
749
- "name": "getFocusedElement",
750
- "return": {
751
- "type": {
752
- "text": "Element | undefined"
753
- }
754
- },
755
- "parameters": [
756
- {
757
- "name": "root",
758
- "type": {
759
- "text": "Document | ShadowRoot"
760
- }
761
- }
762
- ],
763
- "description": "Gets the currently focused element, taking shadow roots into account."
764
- }
765
- ],
766
- "exports": [
767
- {
768
- "kind": "js",
769
- "name": "getFocusedElement",
770
- "declaration": {
771
- "name": "getFocusedElement",
772
- "module": "src/common/focus.ts"
773
- }
774
- }
775
- ]
776
- },
777
- {
778
- "kind": "javascript-module",
779
- "path": "src/common/number.ts",
780
- "declarations": [
781
- {
782
- "kind": "function",
783
- "name": "wrap",
784
- "parameters": [
785
- {
786
- "name": "val",
787
- "type": {
788
- "text": "number"
789
- }
790
- },
791
- {
792
- "name": "min",
793
- "type": {
794
- "text": "number"
795
- }
796
- },
797
- {
798
- "name": "max",
799
- "type": {
800
- "text": "number"
801
- }
802
- }
803
- ],
804
- "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"
805
- }
806
- ],
807
- "exports": [
808
- {
809
- "kind": "js",
810
- "name": "wrap",
811
- "declaration": {
812
- "name": "wrap",
813
- "module": "src/common/number.ts"
814
- }
815
- }
816
- ]
817
- },
818
- {
819
- "kind": "javascript-module",
820
- "path": "src/common/ref.ts",
821
- "declarations": [
822
- {
823
- "kind": "function",
824
- "name": "mergeRefs",
825
- "return": {
826
- "type": {
827
- "text": "RefCallback"
828
- }
829
- },
830
- "parameters": [
831
- {
832
- "name": "refs",
833
- "type": {
834
- "text": "Ref[]"
835
- }
836
- }
837
- ],
838
- "description": "Creates a ref callback which will assign the element to every given ref"
839
- }
840
- ],
841
- "exports": [
842
- {
843
- "kind": "js",
844
- "name": "mergeRefs",
845
- "declaration": {
846
- "name": "mergeRefs",
847
- "module": "src/common/ref.ts"
848
- }
849
- }
850
- ]
851
- },
852
682
  {
853
683
  "kind": "javascript-module",
854
684
  "path": "src/command-menu/CommandMenu.ts",
@@ -1629,31 +1459,209 @@
1629
1459
  "module": "/src/common/mixins/DraftComponentMixin.js"
1630
1460
  }
1631
1461
  ],
1632
- "superclass": {
1633
- "name": "LitElement",
1634
- "package": "lit"
1635
- },
1636
- "status": "draft",
1637
- "category": "image",
1638
- "tagName": "nord-icon",
1639
- "customElement": true
1462
+ "superclass": {
1463
+ "name": "LitElement",
1464
+ "package": "lit"
1465
+ },
1466
+ "status": "draft",
1467
+ "category": "image",
1468
+ "tagName": "nord-icon",
1469
+ "customElement": true
1470
+ }
1471
+ ],
1472
+ "exports": [
1473
+ {
1474
+ "kind": "js",
1475
+ "name": "default",
1476
+ "declaration": {
1477
+ "name": "Icon",
1478
+ "module": "src/icon/Icon.ts"
1479
+ }
1480
+ },
1481
+ {
1482
+ "kind": "custom-element-definition",
1483
+ "name": "nord-icon",
1484
+ "declaration": {
1485
+ "name": "Icon",
1486
+ "module": "src/icon/Icon.ts"
1487
+ }
1488
+ }
1489
+ ]
1490
+ },
1491
+ {
1492
+ "kind": "javascript-module",
1493
+ "path": "src/common/collection.ts",
1494
+ "declarations": [
1495
+ {
1496
+ "kind": "function",
1497
+ "name": "groupBy",
1498
+ "parameters": [
1499
+ {
1500
+ "name": "array",
1501
+ "type": {
1502
+ "text": "Array<TObject>"
1503
+ },
1504
+ "description": "the collection of objects to group"
1505
+ },
1506
+ {
1507
+ "name": "key",
1508
+ "type": {
1509
+ "text": "TKey"
1510
+ },
1511
+ "description": "the property to group by"
1512
+ }
1513
+ ],
1514
+ "description": "Groups an array objects by property value",
1515
+ "return": {
1516
+ "type": {
1517
+ "text": ""
1518
+ }
1519
+ }
1520
+ }
1521
+ ],
1522
+ "exports": [
1523
+ {
1524
+ "kind": "js",
1525
+ "name": "groupBy",
1526
+ "declaration": {
1527
+ "name": "groupBy",
1528
+ "module": "src/common/collection.ts"
1529
+ }
1530
+ }
1531
+ ]
1532
+ },
1533
+ {
1534
+ "kind": "javascript-module",
1535
+ "path": "src/common/events.ts",
1536
+ "declarations": [
1537
+ {
1538
+ "kind": "class",
1539
+ "description": "A base class for events which defaults to bubbling and composed",
1540
+ "name": "NordEvent",
1541
+ "superclass": {
1542
+ "name": "Event",
1543
+ "module": "src/common/events.ts"
1544
+ },
1545
+ "status": null,
1546
+ "category": null
1547
+ }
1548
+ ],
1549
+ "exports": [
1550
+ {
1551
+ "kind": "js",
1552
+ "name": "NordEvent",
1553
+ "declaration": {
1554
+ "name": "NordEvent",
1555
+ "module": "src/common/events.ts"
1556
+ }
1557
+ }
1558
+ ]
1559
+ },
1560
+ {
1561
+ "kind": "javascript-module",
1562
+ "path": "src/common/focus.ts",
1563
+ "declarations": [
1564
+ {
1565
+ "kind": "function",
1566
+ "name": "getFocusedElement",
1567
+ "return": {
1568
+ "type": {
1569
+ "text": "Element | undefined"
1570
+ }
1571
+ },
1572
+ "parameters": [
1573
+ {
1574
+ "name": "root",
1575
+ "type": {
1576
+ "text": "Document | ShadowRoot"
1577
+ }
1578
+ }
1579
+ ],
1580
+ "description": "Gets the currently focused element, taking shadow roots into account."
1581
+ }
1582
+ ],
1583
+ "exports": [
1584
+ {
1585
+ "kind": "js",
1586
+ "name": "getFocusedElement",
1587
+ "declaration": {
1588
+ "name": "getFocusedElement",
1589
+ "module": "src/common/focus.ts"
1590
+ }
1591
+ }
1592
+ ]
1593
+ },
1594
+ {
1595
+ "kind": "javascript-module",
1596
+ "path": "src/common/number.ts",
1597
+ "declarations": [
1598
+ {
1599
+ "kind": "function",
1600
+ "name": "wrap",
1601
+ "parameters": [
1602
+ {
1603
+ "name": "val",
1604
+ "type": {
1605
+ "text": "number"
1606
+ }
1607
+ },
1608
+ {
1609
+ "name": "min",
1610
+ "type": {
1611
+ "text": "number"
1612
+ }
1613
+ },
1614
+ {
1615
+ "name": "max",
1616
+ "type": {
1617
+ "text": "number"
1618
+ }
1619
+ }
1620
+ ],
1621
+ "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"
1622
+ }
1623
+ ],
1624
+ "exports": [
1625
+ {
1626
+ "kind": "js",
1627
+ "name": "wrap",
1628
+ "declaration": {
1629
+ "name": "wrap",
1630
+ "module": "src/common/number.ts"
1631
+ }
1632
+ }
1633
+ ]
1634
+ },
1635
+ {
1636
+ "kind": "javascript-module",
1637
+ "path": "src/common/ref.ts",
1638
+ "declarations": [
1639
+ {
1640
+ "kind": "function",
1641
+ "name": "mergeRefs",
1642
+ "return": {
1643
+ "type": {
1644
+ "text": "RefCallback"
1645
+ }
1646
+ },
1647
+ "parameters": [
1648
+ {
1649
+ "name": "refs",
1650
+ "type": {
1651
+ "text": "Ref[]"
1652
+ }
1653
+ }
1654
+ ],
1655
+ "description": "Creates a ref callback which will assign the element to every given ref"
1640
1656
  }
1641
1657
  ],
1642
1658
  "exports": [
1643
1659
  {
1644
1660
  "kind": "js",
1645
- "name": "default",
1646
- "declaration": {
1647
- "name": "Icon",
1648
- "module": "src/icon/Icon.ts"
1649
- }
1650
- },
1651
- {
1652
- "kind": "custom-element-definition",
1653
- "name": "nord-icon",
1661
+ "name": "mergeRefs",
1654
1662
  "declaration": {
1655
- "name": "Icon",
1656
- "module": "src/icon/Icon.ts"
1663
+ "name": "mergeRefs",
1664
+ "module": "src/common/ref.ts"
1657
1665
  }
1658
1666
  }
1659
1667
  ]
@@ -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,16 +2989,16 @@
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
  ]
@@ -3460,41 +3559,50 @@
3460
3559
  },
3461
3560
  {
3462
3561
  "kind": "javascript-module",
3463
- "path": "src/table/Table.ts",
3562
+ "path": "src/stack/Stack.ts",
3464
3563
  "declarations": [
3465
3564
  {
3466
3565
  "kind": "class",
3467
- "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.",
3468
- "name": "Table",
3566
+ "description": "Stack component manages layout of immediate children along the\nvertical or horizontal axis with optional spacing between each child.",
3567
+ "name": "Stack",
3469
3568
  "slots": [
3470
3569
  {
3471
- "description": "The table.",
3570
+ "description": "The stack content.",
3472
3571
  "name": ""
3473
3572
  }
3474
3573
  ],
3475
3574
  "members": [
3476
3575
  {
3477
3576
  "kind": "field",
3478
- "name": "density",
3577
+ "name": "gap",
3479
3578
  "type": {
3480
- "text": "\"condensed\" | \"default\" | \"relaxed\""
3579
+ "text": "\"none\" | \"s\" | \"m\" | \"l\" | \"xl\" | \"xxl\""
3481
3580
  },
3482
- "default": "\"default\"",
3483
- "description": "Controls the density of the table's rows and headers.\nRelaxed increases space, condensed reduces space.",
3484
- "attribute": "density",
3581
+ "default": "\"m\"",
3582
+ "description": "The space injected between components.",
3583
+ "attribute": "gap",
3485
3584
  "reflects": true
3486
3585
  },
3487
3586
  {
3488
- "kind": "method",
3489
- "name": "renderStyles",
3490
- "privacy": "private",
3491
- "description": "renders table styles into nearest root.\nthis is necessary since we do not use shadow dom."
3587
+ "kind": "field",
3588
+ "name": "direction",
3589
+ "type": {
3590
+ "text": "\"vertical\" | \"horizontal\""
3591
+ },
3592
+ "default": "\"vertical\"",
3593
+ "description": "The direction of the stack.",
3594
+ "attribute": "direction",
3595
+ "reflects": true
3492
3596
  },
3493
3597
  {
3494
- "kind": "method",
3495
- "name": "createRenderRoot",
3496
- "privacy": "protected",
3497
- "description": "opt out of shadow dom"
3598
+ "kind": "field",
3599
+ "name": "alignItems",
3600
+ "type": {
3601
+ "text": "\"center\" | \"start\" | \"end\" | undefined"
3602
+ },
3603
+ "description": "How to align the child items inside the stack.",
3604
+ "attribute": "align-items",
3605
+ "reflects": true
3498
3606
  },
3499
3607
  {
3500
3608
  "kind": "field",
@@ -3513,13 +3621,30 @@
3513
3621
  ],
3514
3622
  "attributes": [
3515
3623
  {
3516
- "name": "density",
3624
+ "name": "gap",
3517
3625
  "type": {
3518
- "text": "\"condensed\" | \"default\" | \"relaxed\""
3626
+ "text": "\"none\" | \"s\" | \"m\" | \"l\" | \"xl\" | \"xxl\""
3519
3627
  },
3520
- "default": "\"default\"",
3521
- "description": "Controls the density of the table's rows and headers.\nRelaxed increases space, condensed reduces space.",
3522
- "fieldName": "density"
3628
+ "default": "\"m\"",
3629
+ "description": "The space injected between components.",
3630
+ "fieldName": "gap"
3631
+ },
3632
+ {
3633
+ "name": "direction",
3634
+ "type": {
3635
+ "text": "\"vertical\" | \"horizontal\""
3636
+ },
3637
+ "default": "\"vertical\"",
3638
+ "description": "The direction of the stack.",
3639
+ "fieldName": "direction"
3640
+ },
3641
+ {
3642
+ "name": "align-items",
3643
+ "type": {
3644
+ "text": "\"center\" | \"start\" | \"end\" | undefined"
3645
+ },
3646
+ "description": "How to align the child items inside the stack.",
3647
+ "fieldName": "alignItems"
3523
3648
  }
3524
3649
  ],
3525
3650
  "mixins": [
@@ -3533,8 +3658,8 @@
3533
3658
  "package": "lit"
3534
3659
  },
3535
3660
  "status": "draft",
3536
- "category": "list",
3537
- "tagName": "nord-table",
3661
+ "category": "structure",
3662
+ "tagName": "nord-stack",
3538
3663
  "customElement": true
3539
3664
  }
3540
3665
  ],
@@ -3543,16 +3668,16 @@
3543
3668
  "kind": "js",
3544
3669
  "name": "default",
3545
3670
  "declaration": {
3546
- "name": "Table",
3547
- "module": "src/table/Table.ts"
3671
+ "name": "Stack",
3672
+ "module": "src/stack/Stack.ts"
3548
3673
  }
3549
3674
  },
3550
3675
  {
3551
3676
  "kind": "custom-element-definition",
3552
- "name": "nord-table",
3677
+ "name": "nord-stack",
3553
3678
  "declaration": {
3554
- "name": "Table",
3555
- "module": "src/table/Table.ts"
3679
+ "name": "Stack",
3680
+ "module": "src/stack/Stack.ts"
3556
3681
  }
3557
3682
  }
3558
3683
  ]