@genesislcap/foundation-zero 14.122.2-alpha-fb3aeba.0 → 14.123.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.
Files changed (2) hide show
  1. package/dist/custom-elements.json +1503 -1503
  2. package/package.json +7 -7
@@ -7561,7 +7561,7 @@
7561
7561
  },
7562
7562
  {
7563
7563
  "kind": "javascript-module",
7564
- "path": "src/checkbox/checkbox.stories.ts",
7564
+ "path": "src/combobox/combobox.stories.ts",
7565
7565
  "declarations": [
7566
7566
  {
7567
7567
  "kind": "variable",
@@ -7569,7 +7569,7 @@
7569
7569
  "type": {
7570
7570
  "text": "Meta"
7571
7571
  },
7572
- "default": "{\n title: 'Checkbox',\n component: 'zero-checkbox>',\n}"
7572
+ "default": "{\n title: 'Combobox',\n component: 'zero-combobox',\n}"
7573
7573
  },
7574
7574
  {
7575
7575
  "kind": "variable",
@@ -7577,7 +7577,7 @@
7577
7577
  "type": {
7578
7578
  "text": "StoryObj"
7579
7579
  },
7580
- "default": "{\n args: {\n customCheckboxText: 'Custom Zero Checkbox',\n customCheckboxDesignUnit: 8,\n customCheckboxCornerRadius: 4,\n },\n render: ({ customCheckboxText, customCheckboxDesignUnit, customCheckboxCornerRadius }) =>\n html`\n <div style=\"${wrapperStyle}\">\n <zero-checkbox>Default Zero Checkbox</zero-checkbox>\n\n <zero-design-system-provider\n design-unit=\"${customCheckboxDesignUnit}\"\n corner-radius=${customCheckboxCornerRadius}\"\n >\n <zero-checkbox>${customCheckboxText}</zero-checkbox>\n </zero-design-system-provider>\n </div>\n `,\n}"
7580
+ "default": "{\n ...OptionsMapperTemplate,\n argTypes: {\n position: {\n control: 'select',\n options: ['above', 'below'],\n },\n },\n args: {\n options: optionsData,\n position: 'below',\n },\n}"
7581
7581
  }
7582
7582
  ],
7583
7583
  "exports": [
@@ -7586,7 +7586,7 @@
7586
7586
  "name": "default",
7587
7587
  "declaration": {
7588
7588
  "name": "meta",
7589
- "module": "src/checkbox/checkbox.stories.ts"
7589
+ "module": "src/combobox/combobox.stories.ts"
7590
7590
  }
7591
7591
  },
7592
7592
  {
@@ -7594,18 +7594,18 @@
7594
7594
  "name": "Primary",
7595
7595
  "declaration": {
7596
7596
  "name": "Primary",
7597
- "module": "src/checkbox/checkbox.stories.ts"
7597
+ "module": "src/combobox/combobox.stories.ts"
7598
7598
  }
7599
7599
  }
7600
7600
  ]
7601
7601
  },
7602
7602
  {
7603
7603
  "kind": "javascript-module",
7604
- "path": "src/checkbox/checkbox.styles.ts",
7604
+ "path": "src/combobox/combobox.styles.ts",
7605
7605
  "declarations": [
7606
7606
  {
7607
7607
  "kind": "function",
7608
- "name": "zeroCheckboxStyles",
7608
+ "name": "zeroComboboxStyles",
7609
7609
  "return": {
7610
7610
  "type": {
7611
7611
  "text": "ElementStyles"
@@ -7621,7 +7621,7 @@
7621
7621
  {
7622
7622
  "name": "definition",
7623
7623
  "type": {
7624
- "text": "CheckboxOptions"
7624
+ "text": "FoundationElementDefinition"
7625
7625
  }
7626
7626
  }
7627
7627
  ]
@@ -7630,24 +7630,24 @@
7630
7630
  "exports": [
7631
7631
  {
7632
7632
  "kind": "js",
7633
- "name": "zeroCheckboxStyles",
7633
+ "name": "zeroComboboxStyles",
7634
7634
  "declaration": {
7635
- "name": "zeroCheckboxStyles",
7636
- "module": "src/checkbox/checkbox.styles.ts"
7635
+ "name": "zeroComboboxStyles",
7636
+ "module": "src/combobox/combobox.styles.ts"
7637
7637
  }
7638
7638
  }
7639
7639
  ]
7640
7640
  },
7641
7641
  {
7642
7642
  "kind": "javascript-module",
7643
- "path": "src/checkbox/checkbox.template.ts",
7643
+ "path": "src/combobox/combobox.template.ts",
7644
7644
  "declarations": [
7645
7645
  {
7646
7646
  "kind": "function",
7647
- "name": "zeroCheckboxTemplate",
7647
+ "name": "zeroComboboxTemplate",
7648
7648
  "return": {
7649
7649
  "type": {
7650
- "text": "ViewTemplate<Checkbox>"
7650
+ "text": "ViewTemplate<Combobox>"
7651
7651
  }
7652
7652
  },
7653
7653
  "parameters": [
@@ -7660,7 +7660,7 @@
7660
7660
  {
7661
7661
  "name": "definition",
7662
7662
  "type": {
7663
- "text": "CheckboxOptions"
7663
+ "text": "FoundationElementDefinition"
7664
7664
  }
7665
7665
  }
7666
7666
  ]
@@ -7669,156 +7669,308 @@
7669
7669
  "exports": [
7670
7670
  {
7671
7671
  "kind": "js",
7672
- "name": "zeroCheckboxTemplate",
7672
+ "name": "zeroComboboxTemplate",
7673
7673
  "declaration": {
7674
- "name": "zeroCheckboxTemplate",
7675
- "module": "src/checkbox/checkbox.template.ts"
7674
+ "name": "zeroComboboxTemplate",
7675
+ "module": "src/combobox/combobox.template.ts"
7676
7676
  }
7677
7677
  }
7678
7678
  ]
7679
7679
  },
7680
7680
  {
7681
7681
  "kind": "javascript-module",
7682
- "path": "src/checkbox/checkbox.ts",
7682
+ "path": "src/combobox/combobox.ts",
7683
7683
  "declarations": [
7684
7684
  {
7685
7685
  "kind": "class",
7686
7686
  "description": "",
7687
- "name": "Checkbox",
7687
+ "name": "Combobox",
7688
7688
  "superclass": {
7689
- "name": "FoundationCheckbox",
7689
+ "name": "FoundationComboBox",
7690
7690
  "package": "@genesislcap/foundation-ui"
7691
7691
  },
7692
- "tagName": "%%prefix%%-checkbox",
7692
+ "tagName": "%%prefix%%-combobox",
7693
+ "customElement": true
7694
+ },
7695
+ {
7696
+ "kind": "variable",
7697
+ "name": "zeroCombobox"
7698
+ }
7699
+ ],
7700
+ "exports": [
7701
+ {
7702
+ "kind": "js",
7703
+ "name": "Combobox",
7704
+ "declaration": {
7705
+ "name": "Combobox",
7706
+ "module": "src/combobox/combobox.ts"
7707
+ }
7708
+ },
7709
+ {
7710
+ "kind": "js",
7711
+ "name": "zeroCombobox",
7712
+ "declaration": {
7713
+ "name": "zeroCombobox",
7714
+ "module": "src/combobox/combobox.ts"
7715
+ }
7716
+ }
7717
+ ]
7718
+ },
7719
+ {
7720
+ "kind": "javascript-module",
7721
+ "path": "src/combobox/index.ts",
7722
+ "declarations": [],
7723
+ "exports": [
7724
+ {
7725
+ "kind": "js",
7726
+ "name": "*",
7727
+ "declaration": {
7728
+ "name": "*",
7729
+ "package": "./combobox"
7730
+ }
7731
+ },
7732
+ {
7733
+ "kind": "js",
7734
+ "name": "*",
7735
+ "declaration": {
7736
+ "name": "*",
7737
+ "package": "./combobox.styles"
7738
+ }
7739
+ },
7740
+ {
7741
+ "kind": "js",
7742
+ "name": "*",
7743
+ "declaration": {
7744
+ "name": "*",
7745
+ "package": "./combobox.template"
7746
+ }
7747
+ }
7748
+ ]
7749
+ },
7750
+ {
7751
+ "kind": "javascript-module",
7752
+ "path": "src/connection-indicator/connection-indicator.stories.ts",
7753
+ "declarations": [
7754
+ {
7755
+ "kind": "variable",
7756
+ "name": "meta",
7757
+ "type": {
7758
+ "text": "Meta"
7759
+ },
7760
+ "default": "{\n title: 'Connection Indicator',\n component: 'zero-connection-indicator',\n}"
7761
+ },
7762
+ {
7763
+ "kind": "variable",
7764
+ "name": "Primary",
7765
+ "type": {
7766
+ "text": "StoryObj"
7767
+ },
7768
+ "default": "{\n args: {\n showLabel: true,\n },\n render: ({ showLabel }) => html`\n <zero-connection-indicator show-label=\"${showLabel}\"></zero-connection-indicator>\n `,\n}"
7769
+ }
7770
+ ],
7771
+ "exports": [
7772
+ {
7773
+ "kind": "js",
7774
+ "name": "default",
7775
+ "declaration": {
7776
+ "name": "meta",
7777
+ "module": "src/connection-indicator/connection-indicator.stories.ts"
7778
+ }
7779
+ },
7780
+ {
7781
+ "kind": "js",
7782
+ "name": "Primary",
7783
+ "declaration": {
7784
+ "name": "Primary",
7785
+ "module": "src/connection-indicator/connection-indicator.stories.ts"
7786
+ }
7787
+ }
7788
+ ]
7789
+ },
7790
+ {
7791
+ "kind": "javascript-module",
7792
+ "path": "src/connection-indicator/connection-indicator.ts",
7793
+ "declarations": [
7794
+ {
7795
+ "kind": "class",
7796
+ "description": "",
7797
+ "name": "ConnectionIndicator",
7798
+ "superclass": {
7799
+ "name": "FoundationConnectionIndicator",
7800
+ "package": "@genesislcap/foundation-ui"
7801
+ },
7802
+ "tagName": "%%prefix%%-connection-indicator",
7693
7803
  "customElement": true,
7694
7804
  "attributes": [
7695
7805
  {
7696
- "name": "readonly",
7806
+ "name": "show-label",
7697
7807
  "type": {
7698
7808
  "text": "boolean"
7699
7809
  },
7700
- "description": "When true, the control will be immutable by user interaction. See https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/readonly | readonly HTML attribute for more information.",
7701
- "fieldName": "readOnly",
7810
+ "default": "false",
7811
+ "fieldName": "showLabel",
7702
7812
  "inheritedFrom": {
7703
- "name": "Checkbox",
7704
- "module": "src/checkbox/checkbox.ts"
7813
+ "name": "ConnectionIndicator",
7814
+ "module": "src/connection-indicator/connection-indicator.ts"
7705
7815
  }
7706
7816
  }
7707
7817
  ],
7708
7818
  "members": [
7709
7819
  {
7710
7820
  "kind": "field",
7711
- "name": "readOnly",
7821
+ "name": "connect",
7712
7822
  "type": {
7713
- "text": "boolean"
7823
+ "text": "Connect"
7714
7824
  },
7715
- "privacy": "public",
7716
- "description": "When true, the control will be immutable by user interaction. See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/readonly | readonly HTML attribute} for more information.",
7717
7825
  "inheritedFrom": {
7718
- "name": "Checkbox",
7719
- "module": "src/checkbox/checkbox.ts"
7826
+ "name": "ConnectionIndicator",
7827
+ "module": "src/connection-indicator/connection-indicator.ts"
7720
7828
  }
7721
7829
  },
7722
7830
  {
7723
- "kind": "method",
7724
- "name": "readOnlyChanged",
7725
- "privacy": "private",
7726
- "return": {
7727
- "type": {
7728
- "text": "void"
7729
- }
7831
+ "kind": "field",
7832
+ "name": "session",
7833
+ "type": {
7834
+ "text": "Session"
7730
7835
  },
7731
7836
  "inheritedFrom": {
7732
- "name": "Checkbox",
7733
- "module": "src/checkbox/checkbox.ts"
7837
+ "name": "ConnectionIndicator",
7838
+ "module": "src/connection-indicator/connection-indicator.ts"
7734
7839
  }
7735
7840
  },
7736
7841
  {
7737
7842
  "kind": "field",
7738
- "name": "indeterminate",
7843
+ "name": "showLabel",
7739
7844
  "type": {
7740
7845
  "text": "boolean"
7741
7846
  },
7742
- "privacy": "public",
7743
7847
  "default": "false",
7744
- "description": "The indeterminate state of the control",
7745
- "inheritedFrom": {
7746
- "name": "Checkbox",
7747
- "module": "src/checkbox/checkbox.ts"
7748
- }
7749
- },
7750
- {
7751
- "kind": "field",
7752
- "name": "proxy",
7753
7848
  "inheritedFrom": {
7754
- "name": "Checkbox",
7755
- "module": "src/checkbox/checkbox.ts"
7849
+ "name": "ConnectionIndicator",
7850
+ "module": "src/connection-indicator/connection-indicator.ts"
7756
7851
  }
7757
7852
  },
7758
7853
  {
7759
7854
  "kind": "field",
7760
- "name": "_presentation",
7855
+ "name": "label",
7761
7856
  "type": {
7762
- "text": "ComponentPresentation | null | undefined"
7857
+ "text": "string"
7763
7858
  },
7764
- "privacy": "private",
7765
- "default": "void 0",
7859
+ "default": "'disconnected'",
7766
7860
  "inheritedFrom": {
7767
- "name": "Checkbox",
7768
- "module": "src/checkbox/checkbox.ts"
7861
+ "name": "ConnectionIndicator",
7862
+ "module": "src/connection-indicator/connection-indicator.ts"
7769
7863
  }
7770
7864
  },
7771
7865
  {
7772
7866
  "kind": "field",
7773
- "name": "$presentation",
7867
+ "name": "colour",
7774
7868
  "type": {
7775
- "text": "ComponentPresentation | null"
7869
+ "text": "'red' | 'green'"
7776
7870
  },
7777
- "privacy": "public",
7778
- "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
7871
+ "default": "'red'",
7779
7872
  "inheritedFrom": {
7780
- "name": "Checkbox",
7781
- "module": "src/checkbox/checkbox.ts"
7873
+ "name": "ConnectionIndicator",
7874
+ "module": "src/connection-indicator/connection-indicator.ts"
7782
7875
  }
7783
7876
  },
7784
7877
  {
7785
7878
  "kind": "field",
7786
- "name": "template",
7879
+ "name": "subscription",
7787
7880
  "type": {
7788
- "text": "ElementViewTemplate | void | null"
7881
+ "text": "Subscription"
7789
7882
  },
7790
- "privacy": "public",
7791
- "description": "Sets the template of the element instance. When undefined,\nthe element will attempt to resolve the template from\nthe associated presentation or custom element definition.",
7883
+ "privacy": "private",
7792
7884
  "inheritedFrom": {
7793
- "name": "Checkbox",
7794
- "module": "src/checkbox/checkbox.ts"
7885
+ "name": "ConnectionIndicator",
7886
+ "module": "src/connection-indicator/connection-indicator.ts"
7795
7887
  }
7796
7888
  },
7797
7889
  {
7798
7890
  "kind": "method",
7799
- "name": "templateChanged",
7800
- "privacy": "protected",
7891
+ "name": "getLabel",
7801
7892
  "return": {
7802
7893
  "type": {
7803
- "text": "void"
7894
+ "text": "string"
7804
7895
  }
7805
7896
  },
7897
+ "parameters": [
7898
+ {
7899
+ "name": "connected",
7900
+ "type": {
7901
+ "text": "boolean"
7902
+ }
7903
+ }
7904
+ ],
7806
7905
  "inheritedFrom": {
7807
- "name": "Checkbox",
7808
- "module": "src/checkbox/checkbox.ts"
7906
+ "name": "ConnectionIndicator",
7907
+ "module": "src/connection-indicator/connection-indicator.ts"
7809
7908
  }
7810
7909
  },
7811
7910
  {
7812
7911
  "kind": "field",
7813
- "name": "styles",
7912
+ "name": "_presentation",
7913
+ "type": {
7914
+ "text": "ComponentPresentation | null | undefined"
7915
+ },
7916
+ "privacy": "private",
7917
+ "default": "void 0",
7918
+ "inheritedFrom": {
7919
+ "name": "FoundationElement",
7920
+ "module": "src/foundation-element/foundation-element.ts"
7921
+ }
7922
+ },
7923
+ {
7924
+ "kind": "field",
7925
+ "name": "$presentation",
7926
+ "type": {
7927
+ "text": "ComponentPresentation | null"
7928
+ },
7929
+ "privacy": "public",
7930
+ "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
7931
+ "inheritedFrom": {
7932
+ "name": "FoundationElement",
7933
+ "module": "src/foundation-element/foundation-element.ts"
7934
+ }
7935
+ },
7936
+ {
7937
+ "kind": "field",
7938
+ "name": "template",
7939
+ "type": {
7940
+ "text": "ElementViewTemplate | void | null"
7941
+ },
7942
+ "privacy": "public",
7943
+ "description": "Sets the template of the element instance. When undefined,\nthe element will attempt to resolve the template from\nthe associated presentation or custom element definition.",
7944
+ "inheritedFrom": {
7945
+ "name": "FoundationElement",
7946
+ "module": "src/foundation-element/foundation-element.ts"
7947
+ }
7948
+ },
7949
+ {
7950
+ "kind": "method",
7951
+ "name": "templateChanged",
7952
+ "privacy": "protected",
7953
+ "return": {
7954
+ "type": {
7955
+ "text": "void"
7956
+ }
7957
+ },
7958
+ "inheritedFrom": {
7959
+ "name": "FoundationElement",
7960
+ "module": "src/foundation-element/foundation-element.ts"
7961
+ }
7962
+ },
7963
+ {
7964
+ "kind": "field",
7965
+ "name": "styles",
7814
7966
  "type": {
7815
7967
  "text": "ElementStyles | void | null"
7816
7968
  },
7817
7969
  "privacy": "public",
7818
7970
  "description": "Sets the default styles for the element instance. When undefined,\nthe element will attempt to resolve default styles from\nthe associated presentation or custom element definition.",
7819
7971
  "inheritedFrom": {
7820
- "name": "Checkbox",
7821
- "module": "src/checkbox/checkbox.ts"
7972
+ "name": "FoundationElement",
7973
+ "module": "src/foundation-element/foundation-element.ts"
7822
7974
  }
7823
7975
  },
7824
7976
  {
@@ -7831,8 +7983,8 @@
7831
7983
  }
7832
7984
  },
7833
7985
  "inheritedFrom": {
7834
- "name": "Checkbox",
7835
- "module": "src/checkbox/checkbox.ts"
7986
+ "name": "FoundationElement",
7987
+ "module": "src/foundation-element/foundation-element.ts"
7836
7988
  }
7837
7989
  },
7838
7990
  {
@@ -7862,49 +8014,39 @@
7862
8014
  ],
7863
8015
  "description": "Defines an element registry function with a set of element definition defaults.",
7864
8016
  "inheritedFrom": {
7865
- "name": "Checkbox",
7866
- "module": "src/checkbox/checkbox.ts"
7867
- }
7868
- }
7869
- ],
7870
- "events": [
7871
- {
7872
- "description": "Emits a custom change event when the checked state changes",
7873
- "name": "change",
7874
- "inheritedFrom": {
7875
- "name": "Checkbox",
7876
- "module": "src/checkbox/checkbox.ts"
8017
+ "name": "FoundationElement",
8018
+ "module": "src/foundation-element/foundation-element.ts"
7877
8019
  }
7878
8020
  }
7879
8021
  ]
7880
8022
  },
7881
8023
  {
7882
8024
  "kind": "variable",
7883
- "name": "zeroCheckbox"
8025
+ "name": "zeroConnectionIndicator"
7884
8026
  }
7885
8027
  ],
7886
8028
  "exports": [
7887
8029
  {
7888
8030
  "kind": "js",
7889
- "name": "Checkbox",
8031
+ "name": "ConnectionIndicator",
7890
8032
  "declaration": {
7891
- "name": "Checkbox",
7892
- "module": "src/checkbox/checkbox.ts"
8033
+ "name": "ConnectionIndicator",
8034
+ "module": "src/connection-indicator/connection-indicator.ts"
7893
8035
  }
7894
8036
  },
7895
8037
  {
7896
8038
  "kind": "js",
7897
- "name": "zeroCheckbox",
8039
+ "name": "zeroConnectionIndicator",
7898
8040
  "declaration": {
7899
- "name": "zeroCheckbox",
7900
- "module": "src/checkbox/checkbox.ts"
8041
+ "name": "zeroConnectionIndicator",
8042
+ "module": "src/connection-indicator/connection-indicator.ts"
7901
8043
  }
7902
8044
  }
7903
8045
  ]
7904
8046
  },
7905
8047
  {
7906
8048
  "kind": "javascript-module",
7907
- "path": "src/checkbox/index.ts",
8049
+ "path": "src/connection-indicator/index.ts",
7908
8050
  "declarations": [],
7909
8051
  "exports": [
7910
8052
  {
@@ -7912,30 +8054,92 @@
7912
8054
  "name": "*",
7913
8055
  "declaration": {
7914
8056
  "name": "*",
7915
- "package": "./checkbox"
8057
+ "package": "./connection-indicator"
7916
8058
  }
7917
- },
8059
+ }
8060
+ ]
8061
+ },
8062
+ {
8063
+ "kind": "javascript-module",
8064
+ "path": "src/data-grid/data-grid-cell.styles.ts",
8065
+ "declarations": [
8066
+ {
8067
+ "kind": "function",
8068
+ "name": "zeroDataGridCellStyles",
8069
+ "return": {
8070
+ "type": {
8071
+ "text": "ElementStyles"
8072
+ }
8073
+ },
8074
+ "parameters": [
8075
+ {
8076
+ "name": "context",
8077
+ "type": {
8078
+ "text": "ElementDefinitionContext"
8079
+ }
8080
+ },
8081
+ {
8082
+ "name": "defintion",
8083
+ "type": {
8084
+ "text": "FoundationElementDefinition"
8085
+ }
8086
+ }
8087
+ ]
8088
+ }
8089
+ ],
8090
+ "exports": [
7918
8091
  {
7919
8092
  "kind": "js",
7920
- "name": "*",
8093
+ "name": "zeroDataGridCellStyles",
7921
8094
  "declaration": {
7922
- "name": "*",
7923
- "package": "./checkbox.styles"
8095
+ "name": "zeroDataGridCellStyles",
8096
+ "module": "src/data-grid/data-grid-cell.styles.ts"
7924
8097
  }
7925
- },
8098
+ }
8099
+ ]
8100
+ },
8101
+ {
8102
+ "kind": "javascript-module",
8103
+ "path": "src/data-grid/data-grid-row.styles.ts",
8104
+ "declarations": [
8105
+ {
8106
+ "kind": "function",
8107
+ "name": "zeroDataGridRowStyles",
8108
+ "return": {
8109
+ "type": {
8110
+ "text": "ElementStyles"
8111
+ }
8112
+ },
8113
+ "parameters": [
8114
+ {
8115
+ "name": "context",
8116
+ "type": {
8117
+ "text": "ElementDefinitionContext"
8118
+ }
8119
+ },
8120
+ {
8121
+ "name": "defintion",
8122
+ "type": {
8123
+ "text": "FoundationElementDefinition"
8124
+ }
8125
+ }
8126
+ ]
8127
+ }
8128
+ ],
8129
+ "exports": [
7926
8130
  {
7927
8131
  "kind": "js",
7928
- "name": "*",
8132
+ "name": "zeroDataGridRowStyles",
7929
8133
  "declaration": {
7930
- "name": "*",
7931
- "package": "./checkbox.template"
8134
+ "name": "zeroDataGridRowStyles",
8135
+ "module": "src/data-grid/data-grid-row.styles.ts"
7932
8136
  }
7933
8137
  }
7934
8138
  ]
7935
8139
  },
7936
8140
  {
7937
8141
  "kind": "javascript-module",
7938
- "path": "src/combobox/combobox.stories.ts",
8142
+ "path": "src/data-grid/data-grid.stories.ts",
7939
8143
  "declarations": [
7940
8144
  {
7941
8145
  "kind": "variable",
@@ -7943,7 +8147,7 @@
7943
8147
  "type": {
7944
8148
  "text": "Meta"
7945
8149
  },
7946
- "default": "{\n title: 'Combobox',\n component: 'zero-combobox',\n}"
8150
+ "default": "{\n title: 'Data Grid',\n component: 'zero-data-grid',\n}"
7947
8151
  },
7948
8152
  {
7949
8153
  "kind": "variable",
@@ -7951,7 +8155,7 @@
7951
8155
  "type": {
7952
8156
  "text": "StoryObj"
7953
8157
  },
7954
- "default": "{\n ...OptionsMapperTemplate,\n argTypes: {\n position: {\n control: 'select',\n options: ['above', 'below'],\n },\n },\n args: {\n options: optionsData,\n position: 'below',\n },\n}"
8158
+ "default": "{\n args: {\n dataGridRowsData: rowsData,\n },\n render: ({ dataGridRowsData }) => html`\n <div>\n <div>\n <zero-button @click=\"${() => loadData(dataGridRowsData)}\">Load Data</zero-button>\n <zero-button @click=\"${() => clearData()}\">Clear Data</zero-button>\n </div>\n <zero-data-grid></zero-data-grid>\n </div>\n `,\n}"
7955
8159
  }
7956
8160
  ],
7957
8161
  "exports": [
@@ -7960,7 +8164,7 @@
7960
8164
  "name": "default",
7961
8165
  "declaration": {
7962
8166
  "name": "meta",
7963
- "module": "src/combobox/combobox.stories.ts"
8167
+ "module": "src/data-grid/data-grid.stories.ts"
7964
8168
  }
7965
8169
  },
7966
8170
  {
@@ -7968,18 +8172,18 @@
7968
8172
  "name": "Primary",
7969
8173
  "declaration": {
7970
8174
  "name": "Primary",
7971
- "module": "src/combobox/combobox.stories.ts"
8175
+ "module": "src/data-grid/data-grid.stories.ts"
7972
8176
  }
7973
8177
  }
7974
8178
  ]
7975
8179
  },
7976
8180
  {
7977
8181
  "kind": "javascript-module",
7978
- "path": "src/combobox/combobox.styles.ts",
8182
+ "path": "src/data-grid/data-grid.styles.ts",
7979
8183
  "declarations": [
7980
8184
  {
7981
8185
  "kind": "function",
7982
- "name": "zeroComboboxStyles",
8186
+ "name": "zeroDataGridStyles",
7983
8187
  "return": {
7984
8188
  "type": {
7985
8189
  "text": "ElementStyles"
@@ -7993,7 +8197,7 @@
7993
8197
  }
7994
8198
  },
7995
8199
  {
7996
- "name": "definition",
8200
+ "name": "defintion",
7997
8201
  "type": {
7998
8202
  "text": "FoundationElementDefinition"
7999
8203
  }
@@ -8004,24 +8208,24 @@
8004
8208
  "exports": [
8005
8209
  {
8006
8210
  "kind": "js",
8007
- "name": "zeroComboboxStyles",
8211
+ "name": "zeroDataGridStyles",
8008
8212
  "declaration": {
8009
- "name": "zeroComboboxStyles",
8010
- "module": "src/combobox/combobox.styles.ts"
8213
+ "name": "zeroDataGridStyles",
8214
+ "module": "src/data-grid/data-grid.styles.ts"
8011
8215
  }
8012
8216
  }
8013
8217
  ]
8014
8218
  },
8015
8219
  {
8016
8220
  "kind": "javascript-module",
8017
- "path": "src/combobox/combobox.template.ts",
8221
+ "path": "src/data-grid/data-grid.template.ts",
8018
8222
  "declarations": [
8019
8223
  {
8020
8224
  "kind": "function",
8021
- "name": "zeroComboboxTemplate",
8225
+ "name": "zeroDataGridTemplate",
8022
8226
  "return": {
8023
8227
  "type": {
8024
- "text": "ViewTemplate<Combobox>"
8228
+ "text": "ViewTemplate<DataGrid>"
8025
8229
  }
8026
8230
  },
8027
8231
  "parameters": [
@@ -8043,795 +8247,217 @@
8043
8247
  "exports": [
8044
8248
  {
8045
8249
  "kind": "js",
8046
- "name": "zeroComboboxTemplate",
8250
+ "name": "zeroDataGridTemplate",
8047
8251
  "declaration": {
8048
- "name": "zeroComboboxTemplate",
8049
- "module": "src/combobox/combobox.template.ts"
8252
+ "name": "zeroDataGridTemplate",
8253
+ "module": "src/data-grid/data-grid.template.ts"
8050
8254
  }
8051
8255
  }
8052
8256
  ]
8053
8257
  },
8054
8258
  {
8055
8259
  "kind": "javascript-module",
8056
- "path": "src/combobox/combobox.ts",
8260
+ "path": "src/data-grid/data-grid.ts",
8057
8261
  "declarations": [
8058
8262
  {
8059
8263
  "kind": "class",
8060
8264
  "description": "",
8061
- "name": "Combobox",
8265
+ "name": "DataGridCell",
8062
8266
  "superclass": {
8063
- "name": "FoundationComboBox",
8267
+ "name": "FoundationDataGridCell",
8064
8268
  "package": "@genesislcap/foundation-ui"
8065
8269
  },
8066
- "tagName": "%%prefix%%-combobox",
8067
- "customElement": true
8068
- },
8069
- {
8070
- "kind": "variable",
8071
- "name": "zeroCombobox"
8072
- }
8073
- ],
8074
- "exports": [
8075
- {
8076
- "kind": "js",
8077
- "name": "Combobox",
8078
- "declaration": {
8079
- "name": "Combobox",
8080
- "module": "src/combobox/combobox.ts"
8081
- }
8082
- },
8083
- {
8084
- "kind": "js",
8085
- "name": "zeroCombobox",
8086
- "declaration": {
8087
- "name": "zeroCombobox",
8088
- "module": "src/combobox/combobox.ts"
8089
- }
8090
- }
8091
- ]
8092
- },
8093
- {
8094
- "kind": "javascript-module",
8095
- "path": "src/combobox/index.ts",
8096
- "declarations": [],
8097
- "exports": [
8098
- {
8099
- "kind": "js",
8100
- "name": "*",
8101
- "declaration": {
8102
- "name": "*",
8103
- "package": "./combobox"
8104
- }
8105
- },
8106
- {
8107
- "kind": "js",
8108
- "name": "*",
8109
- "declaration": {
8110
- "name": "*",
8111
- "package": "./combobox.styles"
8112
- }
8113
- },
8114
- {
8115
- "kind": "js",
8116
- "name": "*",
8117
- "declaration": {
8118
- "name": "*",
8119
- "package": "./combobox.template"
8120
- }
8121
- }
8122
- ]
8123
- },
8124
- {
8125
- "kind": "javascript-module",
8126
- "path": "src/connection-indicator/connection-indicator.stories.ts",
8127
- "declarations": [
8128
- {
8129
- "kind": "variable",
8130
- "name": "meta",
8131
- "type": {
8132
- "text": "Meta"
8133
- },
8134
- "default": "{\n title: 'Connection Indicator',\n component: 'zero-connection-indicator',\n}"
8135
- },
8136
- {
8137
- "kind": "variable",
8138
- "name": "Primary",
8139
- "type": {
8140
- "text": "StoryObj"
8141
- },
8142
- "default": "{\n args: {\n showLabel: true,\n },\n render: ({ showLabel }) => html`\n <zero-connection-indicator show-label=\"${showLabel}\"></zero-connection-indicator>\n `,\n}"
8143
- }
8144
- ],
8145
- "exports": [
8146
- {
8147
- "kind": "js",
8148
- "name": "default",
8149
- "declaration": {
8150
- "name": "meta",
8151
- "module": "src/connection-indicator/connection-indicator.stories.ts"
8152
- }
8153
- },
8154
- {
8155
- "kind": "js",
8156
- "name": "Primary",
8157
- "declaration": {
8158
- "name": "Primary",
8159
- "module": "src/connection-indicator/connection-indicator.stories.ts"
8160
- }
8161
- }
8162
- ]
8163
- },
8164
- {
8165
- "kind": "javascript-module",
8166
- "path": "src/connection-indicator/connection-indicator.ts",
8167
- "declarations": [
8168
- {
8169
- "kind": "class",
8170
- "description": "",
8171
- "name": "ConnectionIndicator",
8172
- "superclass": {
8173
- "name": "FoundationConnectionIndicator",
8174
- "package": "@genesislcap/foundation-ui"
8175
- },
8176
- "tagName": "%%prefix%%-connection-indicator",
8270
+ "tagName": "%%prefix%%-data-grid-cell",
8177
8271
  "customElement": true,
8178
8272
  "attributes": [
8179
8273
  {
8180
- "name": "show-label",
8274
+ "name": "cell-type",
8181
8275
  "type": {
8182
- "text": "boolean"
8276
+ "text": "DataGridCellTypes"
8183
8277
  },
8184
- "default": "false",
8185
- "fieldName": "showLabel",
8278
+ "description": "The type of cell",
8279
+ "fieldName": "cellType",
8186
8280
  "inheritedFrom": {
8187
- "name": "ConnectionIndicator",
8188
- "module": "src/connection-indicator/connection-indicator.ts"
8281
+ "name": "DataGridCell",
8282
+ "module": "src/data-grid-cell/data-grid.cell.ts"
8283
+ }
8284
+ },
8285
+ {
8286
+ "name": "grid-column",
8287
+ "type": {
8288
+ "text": "string"
8289
+ },
8290
+ "description": "The column index of the cell.\nThis will be applied to the css grid-column-index value\napplied to the cell",
8291
+ "fieldName": "gridColumn",
8292
+ "inheritedFrom": {
8293
+ "name": "DataGridCell",
8294
+ "module": "src/data-grid-cell/data-grid.cell.ts"
8189
8295
  }
8190
8296
  }
8191
8297
  ],
8192
8298
  "members": [
8193
8299
  {
8194
8300
  "kind": "field",
8195
- "name": "connect",
8301
+ "name": "cellType",
8196
8302
  "type": {
8197
- "text": "Connect"
8303
+ "text": "DataGridCellTypes"
8198
8304
  },
8305
+ "privacy": "public",
8306
+ "description": "The type of cell",
8199
8307
  "inheritedFrom": {
8200
- "name": "ConnectionIndicator",
8201
- "module": "src/connection-indicator/connection-indicator.ts"
8308
+ "name": "DataGridCell",
8309
+ "module": "src/data-grid-cell/data-grid.cell.ts"
8202
8310
  }
8203
8311
  },
8204
8312
  {
8205
- "kind": "field",
8206
- "name": "session",
8207
- "type": {
8208
- "text": "Session"
8313
+ "kind": "method",
8314
+ "name": "cellTypeChanged",
8315
+ "privacy": "private",
8316
+ "return": {
8317
+ "type": {
8318
+ "text": "void"
8319
+ }
8209
8320
  },
8210
8321
  "inheritedFrom": {
8211
- "name": "ConnectionIndicator",
8212
- "module": "src/connection-indicator/connection-indicator.ts"
8322
+ "name": "DataGridCell",
8323
+ "module": "src/data-grid-cell/data-grid.cell.ts"
8213
8324
  }
8214
8325
  },
8215
8326
  {
8216
8327
  "kind": "field",
8217
- "name": "showLabel",
8328
+ "name": "gridColumn",
8218
8329
  "type": {
8219
- "text": "boolean"
8330
+ "text": "string"
8220
8331
  },
8221
- "default": "false",
8332
+ "privacy": "public",
8333
+ "description": "The column index of the cell.\nThis will be applied to the css grid-column-index value\napplied to the cell",
8222
8334
  "inheritedFrom": {
8223
- "name": "ConnectionIndicator",
8224
- "module": "src/connection-indicator/connection-indicator.ts"
8335
+ "name": "DataGridCell",
8336
+ "module": "src/data-grid-cell/data-grid.cell.ts"
8225
8337
  }
8226
8338
  },
8227
8339
  {
8228
- "kind": "field",
8229
- "name": "label",
8230
- "type": {
8231
- "text": "string"
8340
+ "kind": "method",
8341
+ "name": "gridColumnChanged",
8342
+ "privacy": "private",
8343
+ "return": {
8344
+ "type": {
8345
+ "text": "void"
8346
+ }
8232
8347
  },
8233
- "default": "'disconnected'",
8234
8348
  "inheritedFrom": {
8235
- "name": "ConnectionIndicator",
8236
- "module": "src/connection-indicator/connection-indicator.ts"
8349
+ "name": "DataGridCell",
8350
+ "module": "src/data-grid-cell/data-grid.cell.ts"
8237
8351
  }
8238
8352
  },
8239
8353
  {
8240
8354
  "kind": "field",
8241
- "name": "colour",
8355
+ "name": "rowData",
8242
8356
  "type": {
8243
- "text": "'red' | 'green'"
8357
+ "text": "object | null"
8244
8358
  },
8245
- "default": "'red'",
8359
+ "privacy": "public",
8360
+ "default": "null",
8361
+ "description": "The base data for the parent row",
8246
8362
  "inheritedFrom": {
8247
- "name": "ConnectionIndicator",
8248
- "module": "src/connection-indicator/connection-indicator.ts"
8363
+ "name": "DataGridCell",
8364
+ "module": "src/data-grid-cell/data-grid.cell.ts"
8249
8365
  }
8250
8366
  },
8251
8367
  {
8252
8368
  "kind": "field",
8253
- "name": "subscription",
8369
+ "name": "columnDefinition",
8254
8370
  "type": {
8255
- "text": "Subscription"
8371
+ "text": "ColumnDefinition | null"
8256
8372
  },
8257
- "privacy": "private",
8373
+ "privacy": "public",
8374
+ "default": "null",
8375
+ "description": "The base data for the column",
8258
8376
  "inheritedFrom": {
8259
- "name": "ConnectionIndicator",
8260
- "module": "src/connection-indicator/connection-indicator.ts"
8377
+ "name": "DataGridCell",
8378
+ "module": "src/data-grid-cell/data-grid.cell.ts"
8261
8379
  }
8262
8380
  },
8263
8381
  {
8264
8382
  "kind": "method",
8265
- "name": "getLabel",
8383
+ "name": "columnDefinitionChanged",
8384
+ "privacy": "private",
8266
8385
  "return": {
8267
8386
  "type": {
8268
- "text": "string"
8387
+ "text": "void"
8269
8388
  }
8270
8389
  },
8271
8390
  "parameters": [
8272
8391
  {
8273
- "name": "connected",
8392
+ "name": "oldValue",
8274
8393
  "type": {
8275
- "text": "boolean"
8394
+ "text": "ColumnDefinition | null"
8395
+ }
8396
+ },
8397
+ {
8398
+ "name": "newValue",
8399
+ "type": {
8400
+ "text": "ColumnDefinition | null"
8276
8401
  }
8277
8402
  }
8278
8403
  ],
8279
8404
  "inheritedFrom": {
8280
- "name": "ConnectionIndicator",
8281
- "module": "src/connection-indicator/connection-indicator.ts"
8405
+ "name": "DataGridCell",
8406
+ "module": "src/data-grid-cell/data-grid.cell.ts"
8282
8407
  }
8283
8408
  },
8284
8409
  {
8285
8410
  "kind": "field",
8286
- "name": "_presentation",
8411
+ "name": "isActiveCell",
8287
8412
  "type": {
8288
- "text": "ComponentPresentation | null | undefined"
8413
+ "text": "boolean"
8289
8414
  },
8290
8415
  "privacy": "private",
8291
- "default": "void 0",
8292
- "inheritedFrom": {
8293
- "name": "FoundationElement",
8294
- "module": "src/foundation-element/foundation-element.ts"
8295
- }
8296
- },
8297
- {
8298
- "kind": "field",
8299
- "name": "$presentation",
8300
- "type": {
8301
- "text": "ComponentPresentation | null"
8302
- },
8303
- "privacy": "public",
8304
- "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
8416
+ "default": "false",
8305
8417
  "inheritedFrom": {
8306
- "name": "FoundationElement",
8307
- "module": "src/foundation-element/foundation-element.ts"
8418
+ "name": "DataGridCell",
8419
+ "module": "src/data-grid-cell/data-grid.cell.ts"
8308
8420
  }
8309
8421
  },
8310
8422
  {
8311
8423
  "kind": "field",
8312
- "name": "template",
8424
+ "name": "customCellView",
8313
8425
  "type": {
8314
- "text": "ElementViewTemplate | void | null"
8426
+ "text": "HTMLView | null"
8315
8427
  },
8316
- "privacy": "public",
8317
- "description": "Sets the template of the element instance. When undefined,\nthe element will attempt to resolve the template from\nthe associated presentation or custom element definition.",
8428
+ "privacy": "private",
8429
+ "default": "null",
8318
8430
  "inheritedFrom": {
8319
- "name": "FoundationElement",
8320
- "module": "src/foundation-element/foundation-element.ts"
8431
+ "name": "DataGridCell",
8432
+ "module": "src/data-grid-cell/data-grid.cell.ts"
8321
8433
  }
8322
8434
  },
8323
8435
  {
8324
8436
  "kind": "method",
8325
- "name": "templateChanged",
8326
- "privacy": "protected",
8437
+ "name": "handleFocusin",
8438
+ "privacy": "public",
8327
8439
  "return": {
8328
8440
  "type": {
8329
8441
  "text": "void"
8330
8442
  }
8331
8443
  },
8444
+ "parameters": [
8445
+ {
8446
+ "name": "e",
8447
+ "type": {
8448
+ "text": "FocusEvent"
8449
+ }
8450
+ }
8451
+ ],
8332
8452
  "inheritedFrom": {
8333
- "name": "FoundationElement",
8334
- "module": "src/foundation-element/foundation-element.ts"
8335
- }
8336
- },
8337
- {
8338
- "kind": "field",
8339
- "name": "styles",
8340
- "type": {
8341
- "text": "ElementStyles | void | null"
8342
- },
8343
- "privacy": "public",
8344
- "description": "Sets the default styles for the element instance. When undefined,\nthe element will attempt to resolve default styles from\nthe associated presentation or custom element definition.",
8345
- "inheritedFrom": {
8346
- "name": "FoundationElement",
8347
- "module": "src/foundation-element/foundation-element.ts"
8453
+ "name": "DataGridCell",
8454
+ "module": "src/data-grid-cell/data-grid.cell.ts"
8348
8455
  }
8349
8456
  },
8350
8457
  {
8351
8458
  "kind": "method",
8352
- "name": "stylesChanged",
8353
- "privacy": "protected",
8354
- "return": {
8355
- "type": {
8356
- "text": "void"
8357
- }
8358
- },
8359
- "inheritedFrom": {
8360
- "name": "FoundationElement",
8361
- "module": "src/foundation-element/foundation-element.ts"
8362
- }
8363
- },
8364
- {
8365
- "kind": "method",
8366
- "name": "compose",
8367
- "privacy": "public",
8368
- "static": true,
8369
- "return": {
8370
- "type": {
8371
- "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
8372
- }
8373
- },
8374
- "parameters": [
8375
- {
8376
- "name": "this",
8377
- "type": {
8378
- "text": "K"
8379
- }
8380
- },
8381
- {
8382
- "name": "elementDefinition",
8383
- "type": {
8384
- "text": "T"
8385
- },
8386
- "description": "The definition of the element to create the registry\nfunction for."
8387
- }
8388
- ],
8389
- "description": "Defines an element registry function with a set of element definition defaults.",
8390
- "inheritedFrom": {
8391
- "name": "FoundationElement",
8392
- "module": "src/foundation-element/foundation-element.ts"
8393
- }
8394
- }
8395
- ]
8396
- },
8397
- {
8398
- "kind": "variable",
8399
- "name": "zeroConnectionIndicator"
8400
- }
8401
- ],
8402
- "exports": [
8403
- {
8404
- "kind": "js",
8405
- "name": "ConnectionIndicator",
8406
- "declaration": {
8407
- "name": "ConnectionIndicator",
8408
- "module": "src/connection-indicator/connection-indicator.ts"
8409
- }
8410
- },
8411
- {
8412
- "kind": "js",
8413
- "name": "zeroConnectionIndicator",
8414
- "declaration": {
8415
- "name": "zeroConnectionIndicator",
8416
- "module": "src/connection-indicator/connection-indicator.ts"
8417
- }
8418
- }
8419
- ]
8420
- },
8421
- {
8422
- "kind": "javascript-module",
8423
- "path": "src/connection-indicator/index.ts",
8424
- "declarations": [],
8425
- "exports": [
8426
- {
8427
- "kind": "js",
8428
- "name": "*",
8429
- "declaration": {
8430
- "name": "*",
8431
- "package": "./connection-indicator"
8432
- }
8433
- }
8434
- ]
8435
- },
8436
- {
8437
- "kind": "javascript-module",
8438
- "path": "src/data-grid/data-grid-cell.styles.ts",
8439
- "declarations": [
8440
- {
8441
- "kind": "function",
8442
- "name": "zeroDataGridCellStyles",
8443
- "return": {
8444
- "type": {
8445
- "text": "ElementStyles"
8446
- }
8447
- },
8448
- "parameters": [
8449
- {
8450
- "name": "context",
8451
- "type": {
8452
- "text": "ElementDefinitionContext"
8453
- }
8454
- },
8455
- {
8456
- "name": "defintion",
8457
- "type": {
8458
- "text": "FoundationElementDefinition"
8459
- }
8460
- }
8461
- ]
8462
- }
8463
- ],
8464
- "exports": [
8465
- {
8466
- "kind": "js",
8467
- "name": "zeroDataGridCellStyles",
8468
- "declaration": {
8469
- "name": "zeroDataGridCellStyles",
8470
- "module": "src/data-grid/data-grid-cell.styles.ts"
8471
- }
8472
- }
8473
- ]
8474
- },
8475
- {
8476
- "kind": "javascript-module",
8477
- "path": "src/data-grid/data-grid-row.styles.ts",
8478
- "declarations": [
8479
- {
8480
- "kind": "function",
8481
- "name": "zeroDataGridRowStyles",
8482
- "return": {
8483
- "type": {
8484
- "text": "ElementStyles"
8485
- }
8486
- },
8487
- "parameters": [
8488
- {
8489
- "name": "context",
8490
- "type": {
8491
- "text": "ElementDefinitionContext"
8492
- }
8493
- },
8494
- {
8495
- "name": "defintion",
8496
- "type": {
8497
- "text": "FoundationElementDefinition"
8498
- }
8499
- }
8500
- ]
8501
- }
8502
- ],
8503
- "exports": [
8504
- {
8505
- "kind": "js",
8506
- "name": "zeroDataGridRowStyles",
8507
- "declaration": {
8508
- "name": "zeroDataGridRowStyles",
8509
- "module": "src/data-grid/data-grid-row.styles.ts"
8510
- }
8511
- }
8512
- ]
8513
- },
8514
- {
8515
- "kind": "javascript-module",
8516
- "path": "src/data-grid/data-grid.stories.ts",
8517
- "declarations": [
8518
- {
8519
- "kind": "variable",
8520
- "name": "meta",
8521
- "type": {
8522
- "text": "Meta"
8523
- },
8524
- "default": "{\n title: 'Data Grid',\n component: 'zero-data-grid',\n}"
8525
- },
8526
- {
8527
- "kind": "variable",
8528
- "name": "Primary",
8529
- "type": {
8530
- "text": "StoryObj"
8531
- },
8532
- "default": "{\n args: {\n dataGridRowsData: rowsData,\n },\n render: ({ dataGridRowsData }) => html`\n <div>\n <div>\n <zero-button @click=\"${() => loadData(dataGridRowsData)}\">Load Data</zero-button>\n <zero-button @click=\"${() => clearData()}\">Clear Data</zero-button>\n </div>\n <zero-data-grid></zero-data-grid>\n </div>\n `,\n}"
8533
- }
8534
- ],
8535
- "exports": [
8536
- {
8537
- "kind": "js",
8538
- "name": "default",
8539
- "declaration": {
8540
- "name": "meta",
8541
- "module": "src/data-grid/data-grid.stories.ts"
8542
- }
8543
- },
8544
- {
8545
- "kind": "js",
8546
- "name": "Primary",
8547
- "declaration": {
8548
- "name": "Primary",
8549
- "module": "src/data-grid/data-grid.stories.ts"
8550
- }
8551
- }
8552
- ]
8553
- },
8554
- {
8555
- "kind": "javascript-module",
8556
- "path": "src/data-grid/data-grid.styles.ts",
8557
- "declarations": [
8558
- {
8559
- "kind": "function",
8560
- "name": "zeroDataGridStyles",
8561
- "return": {
8562
- "type": {
8563
- "text": "ElementStyles"
8564
- }
8565
- },
8566
- "parameters": [
8567
- {
8568
- "name": "context",
8569
- "type": {
8570
- "text": "ElementDefinitionContext"
8571
- }
8572
- },
8573
- {
8574
- "name": "defintion",
8575
- "type": {
8576
- "text": "FoundationElementDefinition"
8577
- }
8578
- }
8579
- ]
8580
- }
8581
- ],
8582
- "exports": [
8583
- {
8584
- "kind": "js",
8585
- "name": "zeroDataGridStyles",
8586
- "declaration": {
8587
- "name": "zeroDataGridStyles",
8588
- "module": "src/data-grid/data-grid.styles.ts"
8589
- }
8590
- }
8591
- ]
8592
- },
8593
- {
8594
- "kind": "javascript-module",
8595
- "path": "src/data-grid/data-grid.template.ts",
8596
- "declarations": [
8597
- {
8598
- "kind": "function",
8599
- "name": "zeroDataGridTemplate",
8600
- "return": {
8601
- "type": {
8602
- "text": "ViewTemplate<DataGrid>"
8603
- }
8604
- },
8605
- "parameters": [
8606
- {
8607
- "name": "context",
8608
- "type": {
8609
- "text": "ElementDefinitionContext"
8610
- }
8611
- },
8612
- {
8613
- "name": "definition",
8614
- "type": {
8615
- "text": "FoundationElementDefinition"
8616
- }
8617
- }
8618
- ]
8619
- }
8620
- ],
8621
- "exports": [
8622
- {
8623
- "kind": "js",
8624
- "name": "zeroDataGridTemplate",
8625
- "declaration": {
8626
- "name": "zeroDataGridTemplate",
8627
- "module": "src/data-grid/data-grid.template.ts"
8628
- }
8629
- }
8630
- ]
8631
- },
8632
- {
8633
- "kind": "javascript-module",
8634
- "path": "src/data-grid/data-grid.ts",
8635
- "declarations": [
8636
- {
8637
- "kind": "class",
8638
- "description": "",
8639
- "name": "DataGridCell",
8640
- "superclass": {
8641
- "name": "FoundationDataGridCell",
8642
- "package": "@genesislcap/foundation-ui"
8643
- },
8644
- "tagName": "%%prefix%%-data-grid-cell",
8645
- "customElement": true,
8646
- "attributes": [
8647
- {
8648
- "name": "cell-type",
8649
- "type": {
8650
- "text": "DataGridCellTypes"
8651
- },
8652
- "description": "The type of cell",
8653
- "fieldName": "cellType",
8654
- "inheritedFrom": {
8655
- "name": "DataGridCell",
8656
- "module": "src/data-grid-cell/data-grid.cell.ts"
8657
- }
8658
- },
8659
- {
8660
- "name": "grid-column",
8661
- "type": {
8662
- "text": "string"
8663
- },
8664
- "description": "The column index of the cell.\nThis will be applied to the css grid-column-index value\napplied to the cell",
8665
- "fieldName": "gridColumn",
8666
- "inheritedFrom": {
8667
- "name": "DataGridCell",
8668
- "module": "src/data-grid-cell/data-grid.cell.ts"
8669
- }
8670
- }
8671
- ],
8672
- "members": [
8673
- {
8674
- "kind": "field",
8675
- "name": "cellType",
8676
- "type": {
8677
- "text": "DataGridCellTypes"
8678
- },
8679
- "privacy": "public",
8680
- "description": "The type of cell",
8681
- "inheritedFrom": {
8682
- "name": "DataGridCell",
8683
- "module": "src/data-grid-cell/data-grid.cell.ts"
8684
- }
8685
- },
8686
- {
8687
- "kind": "method",
8688
- "name": "cellTypeChanged",
8689
- "privacy": "private",
8690
- "return": {
8691
- "type": {
8692
- "text": "void"
8693
- }
8694
- },
8695
- "inheritedFrom": {
8696
- "name": "DataGridCell",
8697
- "module": "src/data-grid-cell/data-grid.cell.ts"
8698
- }
8699
- },
8700
- {
8701
- "kind": "field",
8702
- "name": "gridColumn",
8703
- "type": {
8704
- "text": "string"
8705
- },
8706
- "privacy": "public",
8707
- "description": "The column index of the cell.\nThis will be applied to the css grid-column-index value\napplied to the cell",
8708
- "inheritedFrom": {
8709
- "name": "DataGridCell",
8710
- "module": "src/data-grid-cell/data-grid.cell.ts"
8711
- }
8712
- },
8713
- {
8714
- "kind": "method",
8715
- "name": "gridColumnChanged",
8716
- "privacy": "private",
8717
- "return": {
8718
- "type": {
8719
- "text": "void"
8720
- }
8721
- },
8722
- "inheritedFrom": {
8723
- "name": "DataGridCell",
8724
- "module": "src/data-grid-cell/data-grid.cell.ts"
8725
- }
8726
- },
8727
- {
8728
- "kind": "field",
8729
- "name": "rowData",
8730
- "type": {
8731
- "text": "object | null"
8732
- },
8733
- "privacy": "public",
8734
- "default": "null",
8735
- "description": "The base data for the parent row",
8736
- "inheritedFrom": {
8737
- "name": "DataGridCell",
8738
- "module": "src/data-grid-cell/data-grid.cell.ts"
8739
- }
8740
- },
8741
- {
8742
- "kind": "field",
8743
- "name": "columnDefinition",
8744
- "type": {
8745
- "text": "ColumnDefinition | null"
8746
- },
8747
- "privacy": "public",
8748
- "default": "null",
8749
- "description": "The base data for the column",
8750
- "inheritedFrom": {
8751
- "name": "DataGridCell",
8752
- "module": "src/data-grid-cell/data-grid.cell.ts"
8753
- }
8754
- },
8755
- {
8756
- "kind": "method",
8757
- "name": "columnDefinitionChanged",
8758
- "privacy": "private",
8759
- "return": {
8760
- "type": {
8761
- "text": "void"
8762
- }
8763
- },
8764
- "parameters": [
8765
- {
8766
- "name": "oldValue",
8767
- "type": {
8768
- "text": "ColumnDefinition | null"
8769
- }
8770
- },
8771
- {
8772
- "name": "newValue",
8773
- "type": {
8774
- "text": "ColumnDefinition | null"
8775
- }
8776
- }
8777
- ],
8778
- "inheritedFrom": {
8779
- "name": "DataGridCell",
8780
- "module": "src/data-grid-cell/data-grid.cell.ts"
8781
- }
8782
- },
8783
- {
8784
- "kind": "field",
8785
- "name": "isActiveCell",
8786
- "type": {
8787
- "text": "boolean"
8788
- },
8789
- "privacy": "private",
8790
- "default": "false",
8791
- "inheritedFrom": {
8792
- "name": "DataGridCell",
8793
- "module": "src/data-grid-cell/data-grid.cell.ts"
8794
- }
8795
- },
8796
- {
8797
- "kind": "field",
8798
- "name": "customCellView",
8799
- "type": {
8800
- "text": "HTMLView | null"
8801
- },
8802
- "privacy": "private",
8803
- "default": "null",
8804
- "inheritedFrom": {
8805
- "name": "DataGridCell",
8806
- "module": "src/data-grid-cell/data-grid.cell.ts"
8807
- }
8808
- },
8809
- {
8810
- "kind": "method",
8811
- "name": "handleFocusin",
8812
- "privacy": "public",
8813
- "return": {
8814
- "type": {
8815
- "text": "void"
8816
- }
8817
- },
8818
- "parameters": [
8819
- {
8820
- "name": "e",
8821
- "type": {
8822
- "text": "FocusEvent"
8823
- }
8824
- }
8825
- ],
8826
- "inheritedFrom": {
8827
- "name": "DataGridCell",
8828
- "module": "src/data-grid-cell/data-grid.cell.ts"
8829
- }
8830
- },
8831
- {
8832
- "kind": "method",
8833
- "name": "handleFocusout",
8834
- "privacy": "public",
8459
+ "name": "handleFocusout",
8460
+ "privacy": "public",
8835
8461
  "return": {
8836
8462
  "type": {
8837
8463
  "text": "void"
@@ -16653,105 +16279,455 @@
16653
16279
  }
16654
16280
  },
16655
16281
  {
16656
- "kind": "field",
16657
- "name": "['row-height']",
16282
+ "kind": "field",
16283
+ "name": "['row-height']",
16284
+ "type": {
16285
+ "text": "string"
16286
+ },
16287
+ "inheritedFrom": {
16288
+ "name": "GridLayout",
16289
+ "module": "src/grid-layout/grid-layout.ts"
16290
+ }
16291
+ },
16292
+ {
16293
+ "kind": "field",
16294
+ "name": "['row-lg-count']",
16295
+ "type": {
16296
+ "text": "string"
16297
+ },
16298
+ "inheritedFrom": {
16299
+ "name": "GridLayout",
16300
+ "module": "src/grid-layout/grid-layout.ts"
16301
+ }
16302
+ },
16303
+ {
16304
+ "kind": "field",
16305
+ "name": "['row-lg-height']",
16306
+ "type": {
16307
+ "text": "string"
16308
+ },
16309
+ "inheritedFrom": {
16310
+ "name": "GridLayout",
16311
+ "module": "src/grid-layout/grid-layout.ts"
16312
+ }
16313
+ },
16314
+ {
16315
+ "kind": "field",
16316
+ "name": "['row-md-count']",
16317
+ "type": {
16318
+ "text": "string"
16319
+ },
16320
+ "inheritedFrom": {
16321
+ "name": "GridLayout",
16322
+ "module": "src/grid-layout/grid-layout.ts"
16323
+ }
16324
+ },
16325
+ {
16326
+ "kind": "field",
16327
+ "name": "['row-md-height']",
16328
+ "type": {
16329
+ "text": "string"
16330
+ },
16331
+ "inheritedFrom": {
16332
+ "name": "GridLayout",
16333
+ "module": "src/grid-layout/grid-layout.ts"
16334
+ }
16335
+ },
16336
+ {
16337
+ "kind": "field",
16338
+ "name": "['row-sm-count']",
16339
+ "type": {
16340
+ "text": "string"
16341
+ },
16342
+ "inheritedFrom": {
16343
+ "name": "GridLayout",
16344
+ "module": "src/grid-layout/grid-layout.ts"
16345
+ }
16346
+ },
16347
+ {
16348
+ "kind": "field",
16349
+ "name": "['row-sm-height']",
16350
+ "type": {
16351
+ "text": "string"
16352
+ },
16353
+ "inheritedFrom": {
16354
+ "name": "GridLayout",
16355
+ "module": "src/grid-layout/grid-layout.ts"
16356
+ }
16357
+ },
16358
+ {
16359
+ "kind": "field",
16360
+ "name": "behaviors",
16361
+ "type": {
16362
+ "text": "Behavior[]"
16363
+ },
16364
+ "privacy": "private",
16365
+ "default": "[]",
16366
+ "inheritedFrom": {
16367
+ "name": "GridLayout",
16368
+ "module": "src/grid-layout/grid-layout.ts"
16369
+ }
16370
+ },
16371
+ {
16372
+ "kind": "field",
16373
+ "name": "baseStyles",
16374
+ "type": {
16375
+ "text": "ElementStyles"
16376
+ },
16377
+ "privacy": "private",
16378
+ "inheritedFrom": {
16379
+ "name": "GridLayout",
16380
+ "module": "src/grid-layout/grid-layout.ts"
16381
+ }
16382
+ },
16383
+ {
16384
+ "kind": "field",
16385
+ "name": "_presentation",
16386
+ "type": {
16387
+ "text": "ComponentPresentation | null | undefined"
16388
+ },
16389
+ "privacy": "private",
16390
+ "default": "void 0",
16391
+ "inheritedFrom": {
16392
+ "name": "FoundationElement",
16393
+ "module": "src/foundation-element/foundation-element.ts"
16394
+ }
16395
+ },
16396
+ {
16397
+ "kind": "field",
16398
+ "name": "$presentation",
16399
+ "type": {
16400
+ "text": "ComponentPresentation | null"
16401
+ },
16402
+ "privacy": "public",
16403
+ "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
16404
+ "inheritedFrom": {
16405
+ "name": "FoundationElement",
16406
+ "module": "src/foundation-element/foundation-element.ts"
16407
+ }
16408
+ },
16409
+ {
16410
+ "kind": "field",
16411
+ "name": "template",
16412
+ "type": {
16413
+ "text": "ElementViewTemplate | void | null"
16414
+ },
16415
+ "privacy": "public",
16416
+ "description": "Sets the template of the element instance. When undefined,\nthe element will attempt to resolve the template from\nthe associated presentation or custom element definition.",
16417
+ "inheritedFrom": {
16418
+ "name": "FoundationElement",
16419
+ "module": "src/foundation-element/foundation-element.ts"
16420
+ }
16421
+ },
16422
+ {
16423
+ "kind": "method",
16424
+ "name": "templateChanged",
16425
+ "privacy": "protected",
16426
+ "return": {
16427
+ "type": {
16428
+ "text": "void"
16429
+ }
16430
+ },
16431
+ "inheritedFrom": {
16432
+ "name": "FoundationElement",
16433
+ "module": "src/foundation-element/foundation-element.ts"
16434
+ }
16435
+ },
16436
+ {
16437
+ "kind": "field",
16438
+ "name": "styles",
16439
+ "type": {
16440
+ "text": "ElementStyles | void | null"
16441
+ },
16442
+ "privacy": "public",
16443
+ "description": "Sets the default styles for the element instance. When undefined,\nthe element will attempt to resolve default styles from\nthe associated presentation or custom element definition.",
16444
+ "inheritedFrom": {
16445
+ "name": "FoundationElement",
16446
+ "module": "src/foundation-element/foundation-element.ts"
16447
+ }
16448
+ },
16449
+ {
16450
+ "kind": "method",
16451
+ "name": "stylesChanged",
16452
+ "privacy": "protected",
16453
+ "return": {
16454
+ "type": {
16455
+ "text": "void"
16456
+ }
16457
+ },
16458
+ "inheritedFrom": {
16459
+ "name": "FoundationElement",
16460
+ "module": "src/foundation-element/foundation-element.ts"
16461
+ }
16462
+ },
16463
+ {
16464
+ "kind": "method",
16465
+ "name": "compose",
16466
+ "privacy": "public",
16467
+ "static": true,
16468
+ "return": {
16469
+ "type": {
16470
+ "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
16471
+ }
16472
+ },
16473
+ "parameters": [
16474
+ {
16475
+ "name": "this",
16476
+ "type": {
16477
+ "text": "K"
16478
+ }
16479
+ },
16480
+ {
16481
+ "name": "elementDefinition",
16482
+ "type": {
16483
+ "text": "T"
16484
+ },
16485
+ "description": "The definition of the element to create the registry\nfunction for."
16486
+ }
16487
+ ],
16488
+ "description": "Defines an element registry function with a set of element definition defaults.",
16489
+ "inheritedFrom": {
16490
+ "name": "FoundationElement",
16491
+ "module": "src/foundation-element/foundation-element.ts"
16492
+ }
16493
+ }
16494
+ ]
16495
+ },
16496
+ {
16497
+ "kind": "variable",
16498
+ "name": "zeroGridLayout",
16499
+ "description": "The Zero Grid Layout",
16500
+ "privacy": "public"
16501
+ }
16502
+ ],
16503
+ "exports": [
16504
+ {
16505
+ "kind": "js",
16506
+ "name": "GridLayout",
16507
+ "declaration": {
16508
+ "name": "GridLayout",
16509
+ "module": "src/grid-layout/grid-layout.ts"
16510
+ }
16511
+ },
16512
+ {
16513
+ "kind": "js",
16514
+ "name": "zeroGridLayout",
16515
+ "declaration": {
16516
+ "name": "zeroGridLayout",
16517
+ "module": "src/grid-layout/grid-layout.ts"
16518
+ }
16519
+ }
16520
+ ]
16521
+ },
16522
+ {
16523
+ "kind": "javascript-module",
16524
+ "path": "src/grid-layout/index.ts",
16525
+ "declarations": [],
16526
+ "exports": [
16527
+ {
16528
+ "kind": "js",
16529
+ "name": "*",
16530
+ "declaration": {
16531
+ "name": "*",
16532
+ "package": "./grid-layout"
16533
+ }
16534
+ }
16535
+ ]
16536
+ },
16537
+ {
16538
+ "kind": "javascript-module",
16539
+ "path": "src/checkbox/checkbox.stories.ts",
16540
+ "declarations": [
16541
+ {
16542
+ "kind": "variable",
16543
+ "name": "meta",
16544
+ "type": {
16545
+ "text": "Meta"
16546
+ },
16547
+ "default": "{\n title: 'Checkbox',\n component: 'zero-checkbox>',\n}"
16548
+ },
16549
+ {
16550
+ "kind": "variable",
16551
+ "name": "Primary",
16552
+ "type": {
16553
+ "text": "StoryObj"
16554
+ },
16555
+ "default": "{\n args: {\n customCheckboxText: 'Custom Zero Checkbox',\n customCheckboxDesignUnit: 8,\n customCheckboxCornerRadius: 4,\n },\n render: ({ customCheckboxText, customCheckboxDesignUnit, customCheckboxCornerRadius }) =>\n html`\n <div style=\"${wrapperStyle}\">\n <zero-checkbox>Default Zero Checkbox</zero-checkbox>\n\n <zero-design-system-provider\n design-unit=\"${customCheckboxDesignUnit}\"\n corner-radius=${customCheckboxCornerRadius}\"\n >\n <zero-checkbox>${customCheckboxText}</zero-checkbox>\n </zero-design-system-provider>\n </div>\n `,\n}"
16556
+ }
16557
+ ],
16558
+ "exports": [
16559
+ {
16560
+ "kind": "js",
16561
+ "name": "default",
16562
+ "declaration": {
16563
+ "name": "meta",
16564
+ "module": "src/checkbox/checkbox.stories.ts"
16565
+ }
16566
+ },
16567
+ {
16568
+ "kind": "js",
16569
+ "name": "Primary",
16570
+ "declaration": {
16571
+ "name": "Primary",
16572
+ "module": "src/checkbox/checkbox.stories.ts"
16573
+ }
16574
+ }
16575
+ ]
16576
+ },
16577
+ {
16578
+ "kind": "javascript-module",
16579
+ "path": "src/checkbox/checkbox.styles.ts",
16580
+ "declarations": [
16581
+ {
16582
+ "kind": "function",
16583
+ "name": "zeroCheckboxStyles",
16584
+ "return": {
16585
+ "type": {
16586
+ "text": "ElementStyles"
16587
+ }
16588
+ },
16589
+ "parameters": [
16590
+ {
16591
+ "name": "context",
16658
16592
  "type": {
16659
- "text": "string"
16660
- },
16661
- "inheritedFrom": {
16662
- "name": "GridLayout",
16663
- "module": "src/grid-layout/grid-layout.ts"
16593
+ "text": "ElementDefinitionContext"
16664
16594
  }
16665
16595
  },
16666
16596
  {
16667
- "kind": "field",
16668
- "name": "['row-lg-count']",
16597
+ "name": "definition",
16669
16598
  "type": {
16670
- "text": "string"
16671
- },
16672
- "inheritedFrom": {
16673
- "name": "GridLayout",
16674
- "module": "src/grid-layout/grid-layout.ts"
16599
+ "text": "CheckboxOptions"
16675
16600
  }
16676
- },
16601
+ }
16602
+ ]
16603
+ }
16604
+ ],
16605
+ "exports": [
16606
+ {
16607
+ "kind": "js",
16608
+ "name": "zeroCheckboxStyles",
16609
+ "declaration": {
16610
+ "name": "zeroCheckboxStyles",
16611
+ "module": "src/checkbox/checkbox.styles.ts"
16612
+ }
16613
+ }
16614
+ ]
16615
+ },
16616
+ {
16617
+ "kind": "javascript-module",
16618
+ "path": "src/checkbox/checkbox.template.ts",
16619
+ "declarations": [
16620
+ {
16621
+ "kind": "function",
16622
+ "name": "zeroCheckboxTemplate",
16623
+ "return": {
16624
+ "type": {
16625
+ "text": "ViewTemplate<Checkbox>"
16626
+ }
16627
+ },
16628
+ "parameters": [
16677
16629
  {
16678
- "kind": "field",
16679
- "name": "['row-lg-height']",
16630
+ "name": "context",
16680
16631
  "type": {
16681
- "text": "string"
16682
- },
16683
- "inheritedFrom": {
16684
- "name": "GridLayout",
16685
- "module": "src/grid-layout/grid-layout.ts"
16632
+ "text": "ElementDefinitionContext"
16686
16633
  }
16687
16634
  },
16688
16635
  {
16689
- "kind": "field",
16690
- "name": "['row-md-count']",
16636
+ "name": "definition",
16691
16637
  "type": {
16692
- "text": "string"
16693
- },
16694
- "inheritedFrom": {
16695
- "name": "GridLayout",
16696
- "module": "src/grid-layout/grid-layout.ts"
16638
+ "text": "CheckboxOptions"
16697
16639
  }
16698
- },
16640
+ }
16641
+ ]
16642
+ }
16643
+ ],
16644
+ "exports": [
16645
+ {
16646
+ "kind": "js",
16647
+ "name": "zeroCheckboxTemplate",
16648
+ "declaration": {
16649
+ "name": "zeroCheckboxTemplate",
16650
+ "module": "src/checkbox/checkbox.template.ts"
16651
+ }
16652
+ }
16653
+ ]
16654
+ },
16655
+ {
16656
+ "kind": "javascript-module",
16657
+ "path": "src/checkbox/checkbox.ts",
16658
+ "declarations": [
16659
+ {
16660
+ "kind": "class",
16661
+ "description": "",
16662
+ "name": "Checkbox",
16663
+ "superclass": {
16664
+ "name": "FoundationCheckbox",
16665
+ "package": "@genesislcap/foundation-ui"
16666
+ },
16667
+ "tagName": "%%prefix%%-checkbox",
16668
+ "customElement": true,
16669
+ "attributes": [
16699
16670
  {
16700
- "kind": "field",
16701
- "name": "['row-md-height']",
16671
+ "name": "readonly",
16702
16672
  "type": {
16703
- "text": "string"
16673
+ "text": "boolean"
16704
16674
  },
16675
+ "description": "When true, the control will be immutable by user interaction. See https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/readonly | readonly HTML attribute for more information.",
16676
+ "fieldName": "readOnly",
16705
16677
  "inheritedFrom": {
16706
- "name": "GridLayout",
16707
- "module": "src/grid-layout/grid-layout.ts"
16678
+ "name": "Checkbox",
16679
+ "module": "src/checkbox/checkbox.ts"
16708
16680
  }
16709
- },
16681
+ }
16682
+ ],
16683
+ "members": [
16710
16684
  {
16711
16685
  "kind": "field",
16712
- "name": "['row-sm-count']",
16686
+ "name": "readOnly",
16713
16687
  "type": {
16714
- "text": "string"
16688
+ "text": "boolean"
16715
16689
  },
16690
+ "privacy": "public",
16691
+ "description": "When true, the control will be immutable by user interaction. See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/readonly | readonly HTML attribute} for more information.",
16716
16692
  "inheritedFrom": {
16717
- "name": "GridLayout",
16718
- "module": "src/grid-layout/grid-layout.ts"
16693
+ "name": "Checkbox",
16694
+ "module": "src/checkbox/checkbox.ts"
16719
16695
  }
16720
16696
  },
16721
16697
  {
16722
- "kind": "field",
16723
- "name": "['row-sm-height']",
16724
- "type": {
16725
- "text": "string"
16698
+ "kind": "method",
16699
+ "name": "readOnlyChanged",
16700
+ "privacy": "private",
16701
+ "return": {
16702
+ "type": {
16703
+ "text": "void"
16704
+ }
16726
16705
  },
16727
16706
  "inheritedFrom": {
16728
- "name": "GridLayout",
16729
- "module": "src/grid-layout/grid-layout.ts"
16707
+ "name": "Checkbox",
16708
+ "module": "src/checkbox/checkbox.ts"
16730
16709
  }
16731
16710
  },
16732
16711
  {
16733
16712
  "kind": "field",
16734
- "name": "behaviors",
16713
+ "name": "indeterminate",
16735
16714
  "type": {
16736
- "text": "Behavior[]"
16715
+ "text": "boolean"
16737
16716
  },
16738
- "privacy": "private",
16739
- "default": "[]",
16717
+ "privacy": "public",
16718
+ "default": "false",
16719
+ "description": "The indeterminate state of the control",
16740
16720
  "inheritedFrom": {
16741
- "name": "GridLayout",
16742
- "module": "src/grid-layout/grid-layout.ts"
16721
+ "name": "Checkbox",
16722
+ "module": "src/checkbox/checkbox.ts"
16743
16723
  }
16744
16724
  },
16745
16725
  {
16746
16726
  "kind": "field",
16747
- "name": "baseStyles",
16748
- "type": {
16749
- "text": "ElementStyles"
16750
- },
16751
- "privacy": "private",
16727
+ "name": "proxy",
16752
16728
  "inheritedFrom": {
16753
- "name": "GridLayout",
16754
- "module": "src/grid-layout/grid-layout.ts"
16729
+ "name": "Checkbox",
16730
+ "module": "src/checkbox/checkbox.ts"
16755
16731
  }
16756
16732
  },
16757
16733
  {
@@ -16763,8 +16739,8 @@
16763
16739
  "privacy": "private",
16764
16740
  "default": "void 0",
16765
16741
  "inheritedFrom": {
16766
- "name": "FoundationElement",
16767
- "module": "src/foundation-element/foundation-element.ts"
16742
+ "name": "Checkbox",
16743
+ "module": "src/checkbox/checkbox.ts"
16768
16744
  }
16769
16745
  },
16770
16746
  {
@@ -16776,8 +16752,8 @@
16776
16752
  "privacy": "public",
16777
16753
  "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
16778
16754
  "inheritedFrom": {
16779
- "name": "FoundationElement",
16780
- "module": "src/foundation-element/foundation-element.ts"
16755
+ "name": "Checkbox",
16756
+ "module": "src/checkbox/checkbox.ts"
16781
16757
  }
16782
16758
  },
16783
16759
  {
@@ -16789,8 +16765,8 @@
16789
16765
  "privacy": "public",
16790
16766
  "description": "Sets the template of the element instance. When undefined,\nthe element will attempt to resolve the template from\nthe associated presentation or custom element definition.",
16791
16767
  "inheritedFrom": {
16792
- "name": "FoundationElement",
16793
- "module": "src/foundation-element/foundation-element.ts"
16768
+ "name": "Checkbox",
16769
+ "module": "src/checkbox/checkbox.ts"
16794
16770
  }
16795
16771
  },
16796
16772
  {
@@ -16803,8 +16779,8 @@
16803
16779
  }
16804
16780
  },
16805
16781
  "inheritedFrom": {
16806
- "name": "FoundationElement",
16807
- "module": "src/foundation-element/foundation-element.ts"
16782
+ "name": "Checkbox",
16783
+ "module": "src/checkbox/checkbox.ts"
16808
16784
  }
16809
16785
  },
16810
16786
  {
@@ -16816,8 +16792,8 @@
16816
16792
  "privacy": "public",
16817
16793
  "description": "Sets the default styles for the element instance. When undefined,\nthe element will attempt to resolve default styles from\nthe associated presentation or custom element definition.",
16818
16794
  "inheritedFrom": {
16819
- "name": "FoundationElement",
16820
- "module": "src/foundation-element/foundation-element.ts"
16795
+ "name": "Checkbox",
16796
+ "module": "src/checkbox/checkbox.ts"
16821
16797
  }
16822
16798
  },
16823
16799
  {
@@ -16830,8 +16806,8 @@
16830
16806
  }
16831
16807
  },
16832
16808
  "inheritedFrom": {
16833
- "name": "FoundationElement",
16834
- "module": "src/foundation-element/foundation-element.ts"
16809
+ "name": "Checkbox",
16810
+ "module": "src/checkbox/checkbox.ts"
16835
16811
  }
16836
16812
  },
16837
16813
  {
@@ -16861,41 +16837,49 @@
16861
16837
  ],
16862
16838
  "description": "Defines an element registry function with a set of element definition defaults.",
16863
16839
  "inheritedFrom": {
16864
- "name": "FoundationElement",
16865
- "module": "src/foundation-element/foundation-element.ts"
16840
+ "name": "Checkbox",
16841
+ "module": "src/checkbox/checkbox.ts"
16842
+ }
16843
+ }
16844
+ ],
16845
+ "events": [
16846
+ {
16847
+ "description": "Emits a custom change event when the checked state changes",
16848
+ "name": "change",
16849
+ "inheritedFrom": {
16850
+ "name": "Checkbox",
16851
+ "module": "src/checkbox/checkbox.ts"
16866
16852
  }
16867
16853
  }
16868
16854
  ]
16869
16855
  },
16870
16856
  {
16871
16857
  "kind": "variable",
16872
- "name": "zeroGridLayout",
16873
- "description": "The Zero Grid Layout",
16874
- "privacy": "public"
16858
+ "name": "zeroCheckbox"
16875
16859
  }
16876
16860
  ],
16877
16861
  "exports": [
16878
16862
  {
16879
16863
  "kind": "js",
16880
- "name": "GridLayout",
16864
+ "name": "Checkbox",
16881
16865
  "declaration": {
16882
- "name": "GridLayout",
16883
- "module": "src/grid-layout/grid-layout.ts"
16866
+ "name": "Checkbox",
16867
+ "module": "src/checkbox/checkbox.ts"
16884
16868
  }
16885
16869
  },
16886
16870
  {
16887
16871
  "kind": "js",
16888
- "name": "zeroGridLayout",
16872
+ "name": "zeroCheckbox",
16889
16873
  "declaration": {
16890
- "name": "zeroGridLayout",
16891
- "module": "src/grid-layout/grid-layout.ts"
16874
+ "name": "zeroCheckbox",
16875
+ "module": "src/checkbox/checkbox.ts"
16892
16876
  }
16893
16877
  }
16894
16878
  ]
16895
16879
  },
16896
16880
  {
16897
16881
  "kind": "javascript-module",
16898
- "path": "src/grid-layout/index.ts",
16882
+ "path": "src/checkbox/index.ts",
16899
16883
  "declarations": [],
16900
16884
  "exports": [
16901
16885
  {
@@ -16903,7 +16887,23 @@
16903
16887
  "name": "*",
16904
16888
  "declaration": {
16905
16889
  "name": "*",
16906
- "package": "./grid-layout"
16890
+ "package": "./checkbox"
16891
+ }
16892
+ },
16893
+ {
16894
+ "kind": "js",
16895
+ "name": "*",
16896
+ "declaration": {
16897
+ "name": "*",
16898
+ "package": "./checkbox.styles"
16899
+ }
16900
+ },
16901
+ {
16902
+ "kind": "js",
16903
+ "name": "*",
16904
+ "declaration": {
16905
+ "name": "*",
16906
+ "package": "./checkbox.template"
16907
16907
  }
16908
16908
  }
16909
16909
  ]
@@ -28433,32 +28433,246 @@
28433
28433
  }
28434
28434
  },
28435
28435
  {
28436
- "kind": "field",
28437
- "name": "orientation",
28436
+ "kind": "field",
28437
+ "name": "orientation",
28438
+ "type": {
28439
+ "text": "TabsOrientation"
28440
+ },
28441
+ "inheritedFrom": {
28442
+ "name": "StepperTab",
28443
+ "module": "src/stepper-tab/stepper-tab.ts"
28444
+ }
28445
+ },
28446
+ {
28447
+ "kind": "method",
28448
+ "name": "isCompleted",
28449
+ "inheritedFrom": {
28450
+ "name": "StepperTab",
28451
+ "module": "src/stepper-tab/stepper-tab.ts"
28452
+ }
28453
+ },
28454
+ {
28455
+ "kind": "method",
28456
+ "name": "selectedChanged",
28457
+ "inheritedFrom": {
28458
+ "name": "StepperTab",
28459
+ "module": "src/stepper-tab/stepper-tab.ts"
28460
+ }
28461
+ },
28462
+ {
28463
+ "kind": "field",
28464
+ "name": "_presentation",
28465
+ "type": {
28466
+ "text": "ComponentPresentation | null | undefined"
28467
+ },
28468
+ "privacy": "private",
28469
+ "default": "void 0",
28470
+ "inheritedFrom": {
28471
+ "name": "FoundationElement",
28472
+ "module": "src/foundation-element/foundation-element.ts"
28473
+ }
28474
+ },
28475
+ {
28476
+ "kind": "field",
28477
+ "name": "$presentation",
28478
+ "type": {
28479
+ "text": "ComponentPresentation | null"
28480
+ },
28481
+ "privacy": "public",
28482
+ "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
28483
+ "inheritedFrom": {
28484
+ "name": "FoundationElement",
28485
+ "module": "src/foundation-element/foundation-element.ts"
28486
+ }
28487
+ },
28488
+ {
28489
+ "kind": "field",
28490
+ "name": "template",
28491
+ "type": {
28492
+ "text": "ElementViewTemplate | void | null"
28493
+ },
28494
+ "privacy": "public",
28495
+ "description": "Sets the template of the element instance. When undefined,\nthe element will attempt to resolve the template from\nthe associated presentation or custom element definition.",
28496
+ "inheritedFrom": {
28497
+ "name": "FoundationElement",
28498
+ "module": "src/foundation-element/foundation-element.ts"
28499
+ }
28500
+ },
28501
+ {
28502
+ "kind": "method",
28503
+ "name": "templateChanged",
28504
+ "privacy": "protected",
28505
+ "return": {
28506
+ "type": {
28507
+ "text": "void"
28508
+ }
28509
+ },
28510
+ "inheritedFrom": {
28511
+ "name": "FoundationElement",
28512
+ "module": "src/foundation-element/foundation-element.ts"
28513
+ }
28514
+ },
28515
+ {
28516
+ "kind": "field",
28517
+ "name": "styles",
28518
+ "type": {
28519
+ "text": "ElementStyles | void | null"
28520
+ },
28521
+ "privacy": "public",
28522
+ "description": "Sets the default styles for the element instance. When undefined,\nthe element will attempt to resolve default styles from\nthe associated presentation or custom element definition.",
28523
+ "inheritedFrom": {
28524
+ "name": "FoundationElement",
28525
+ "module": "src/foundation-element/foundation-element.ts"
28526
+ }
28527
+ },
28528
+ {
28529
+ "kind": "method",
28530
+ "name": "stylesChanged",
28531
+ "privacy": "protected",
28532
+ "return": {
28533
+ "type": {
28534
+ "text": "void"
28535
+ }
28536
+ },
28537
+ "inheritedFrom": {
28538
+ "name": "FoundationElement",
28539
+ "module": "src/foundation-element/foundation-element.ts"
28540
+ }
28541
+ },
28542
+ {
28543
+ "kind": "method",
28544
+ "name": "compose",
28545
+ "privacy": "public",
28546
+ "static": true,
28547
+ "return": {
28548
+ "type": {
28549
+ "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
28550
+ }
28551
+ },
28552
+ "parameters": [
28553
+ {
28554
+ "name": "this",
28555
+ "type": {
28556
+ "text": "K"
28557
+ }
28558
+ },
28559
+ {
28560
+ "name": "elementDefinition",
28561
+ "type": {
28562
+ "text": "T"
28563
+ },
28564
+ "description": "The definition of the element to create the registry\nfunction for."
28565
+ }
28566
+ ],
28567
+ "description": "Defines an element registry function with a set of element definition defaults.",
28568
+ "inheritedFrom": {
28569
+ "name": "FoundationElement",
28570
+ "module": "src/foundation-element/foundation-element.ts"
28571
+ }
28572
+ }
28573
+ ]
28574
+ },
28575
+ {
28576
+ "kind": "variable",
28577
+ "name": "zeroStepperTab"
28578
+ }
28579
+ ],
28580
+ "exports": [
28581
+ {
28582
+ "kind": "js",
28583
+ "name": "StepperTab",
28584
+ "declaration": {
28585
+ "name": "StepperTab",
28586
+ "module": "src/stepper-tab/stepper-tab.ts"
28587
+ }
28588
+ },
28589
+ {
28590
+ "kind": "js",
28591
+ "name": "zeroStepperTab",
28592
+ "declaration": {
28593
+ "name": "zeroStepperTab",
28594
+ "module": "src/stepper-tab/stepper-tab.ts"
28595
+ }
28596
+ }
28597
+ ]
28598
+ },
28599
+ {
28600
+ "kind": "javascript-module",
28601
+ "path": "src/stepper-tab-panel/index.ts",
28602
+ "declarations": [],
28603
+ "exports": [
28604
+ {
28605
+ "kind": "js",
28606
+ "name": "*",
28607
+ "declaration": {
28608
+ "name": "*",
28609
+ "package": "./stepper-tab-panel"
28610
+ }
28611
+ },
28612
+ {
28613
+ "kind": "js",
28614
+ "name": "*",
28615
+ "declaration": {
28616
+ "name": "*",
28617
+ "package": "./stepper-tab-panel.template"
28618
+ }
28619
+ }
28620
+ ]
28621
+ },
28622
+ {
28623
+ "kind": "javascript-module",
28624
+ "path": "src/stepper-tab-panel/stepper-tab-panel.template.ts",
28625
+ "declarations": [
28626
+ {
28627
+ "kind": "function",
28628
+ "name": "zeroStepperTabPanelTemplate",
28629
+ "return": {
28630
+ "type": {
28631
+ "text": "ViewTemplate<StepperTabPanel>"
28632
+ }
28633
+ },
28634
+ "parameters": [
28635
+ {
28636
+ "name": "context",
28438
28637
  "type": {
28439
- "text": "TabsOrientation"
28440
- },
28441
- "inheritedFrom": {
28442
- "name": "StepperTab",
28443
- "module": "src/stepper-tab/stepper-tab.ts"
28444
- }
28445
- },
28446
- {
28447
- "kind": "method",
28448
- "name": "isCompleted",
28449
- "inheritedFrom": {
28450
- "name": "StepperTab",
28451
- "module": "src/stepper-tab/stepper-tab.ts"
28638
+ "text": "ElementDefinitionContext"
28452
28639
  }
28453
28640
  },
28454
28641
  {
28455
- "kind": "method",
28456
- "name": "selectedChanged",
28457
- "inheritedFrom": {
28458
- "name": "StepperTab",
28459
- "module": "src/stepper-tab/stepper-tab.ts"
28642
+ "name": "definition",
28643
+ "type": {
28644
+ "text": "FoundationElementDefinition"
28460
28645
  }
28461
- },
28646
+ }
28647
+ ]
28648
+ }
28649
+ ],
28650
+ "exports": [
28651
+ {
28652
+ "kind": "js",
28653
+ "name": "zeroStepperTabPanelTemplate",
28654
+ "declaration": {
28655
+ "name": "zeroStepperTabPanelTemplate",
28656
+ "module": "src/stepper-tab-panel/stepper-tab-panel.template.ts"
28657
+ }
28658
+ }
28659
+ ]
28660
+ },
28661
+ {
28662
+ "kind": "javascript-module",
28663
+ "path": "src/stepper-tab-panel/stepper-tab-panel.ts",
28664
+ "declarations": [
28665
+ {
28666
+ "kind": "class",
28667
+ "description": "",
28668
+ "name": "StepperTabPanel",
28669
+ "superclass": {
28670
+ "name": "FoundationStepperTabPanel",
28671
+ "package": "@genesislcap/foundation-ui"
28672
+ },
28673
+ "tagName": "%%prefix%%-stepper-tab-panel",
28674
+ "customElement": true,
28675
+ "members": [
28462
28676
  {
28463
28677
  "kind": "field",
28464
28678
  "name": "_presentation",
@@ -28574,31 +28788,31 @@
28574
28788
  },
28575
28789
  {
28576
28790
  "kind": "variable",
28577
- "name": "zeroStepperTab"
28791
+ "name": "zeroStepperTabPanel"
28578
28792
  }
28579
28793
  ],
28580
28794
  "exports": [
28581
28795
  {
28582
28796
  "kind": "js",
28583
- "name": "StepperTab",
28797
+ "name": "StepperTabPanel",
28584
28798
  "declaration": {
28585
- "name": "StepperTab",
28586
- "module": "src/stepper-tab/stepper-tab.ts"
28799
+ "name": "StepperTabPanel",
28800
+ "module": "src/stepper-tab-panel/stepper-tab-panel.ts"
28587
28801
  }
28588
28802
  },
28589
28803
  {
28590
28804
  "kind": "js",
28591
- "name": "zeroStepperTab",
28805
+ "name": "zeroStepperTabPanel",
28592
28806
  "declaration": {
28593
- "name": "zeroStepperTab",
28594
- "module": "src/stepper-tab/stepper-tab.ts"
28807
+ "name": "zeroStepperTabPanel",
28808
+ "module": "src/stepper-tab-panel/stepper-tab-panel.ts"
28595
28809
  }
28596
28810
  }
28597
28811
  ]
28598
28812
  },
28599
28813
  {
28600
28814
  "kind": "javascript-module",
28601
- "path": "src/stepper-tab-panel/index.ts",
28815
+ "path": "src/switch/index.ts",
28602
28816
  "declarations": [],
28603
28817
  "exports": [
28604
28818
  {
@@ -28606,7 +28820,7 @@
28606
28820
  "name": "*",
28607
28821
  "declaration": {
28608
28822
  "name": "*",
28609
- "package": "./stepper-tab-panel"
28823
+ "package": "./switch"
28610
28824
  }
28611
28825
  },
28612
28826
  {
@@ -28614,21 +28828,69 @@
28614
28828
  "name": "*",
28615
28829
  "declaration": {
28616
28830
  "name": "*",
28617
- "package": "./stepper-tab-panel.template"
28831
+ "package": "./switch.styles"
28832
+ }
28833
+ },
28834
+ {
28835
+ "kind": "js",
28836
+ "name": "*",
28837
+ "declaration": {
28838
+ "name": "*",
28839
+ "package": "./switch.template"
28618
28840
  }
28619
28841
  }
28620
28842
  ]
28621
28843
  },
28622
28844
  {
28623
28845
  "kind": "javascript-module",
28624
- "path": "src/stepper-tab-panel/stepper-tab-panel.template.ts",
28846
+ "path": "src/switch/switch.stories.ts",
28847
+ "declarations": [
28848
+ {
28849
+ "kind": "variable",
28850
+ "name": "meta",
28851
+ "type": {
28852
+ "text": "Meta"
28853
+ },
28854
+ "default": "{\n title: 'Switch',\n component: 'zero-switch',\n}"
28855
+ },
28856
+ {
28857
+ "kind": "variable",
28858
+ "name": "Primary",
28859
+ "type": {
28860
+ "text": "StoryObj"
28861
+ },
28862
+ "default": "{\n render: () => html`\n <zero-switch checked></zero-switch>\n `,\n}"
28863
+ }
28864
+ ],
28865
+ "exports": [
28866
+ {
28867
+ "kind": "js",
28868
+ "name": "default",
28869
+ "declaration": {
28870
+ "name": "meta",
28871
+ "module": "src/switch/switch.stories.ts"
28872
+ }
28873
+ },
28874
+ {
28875
+ "kind": "js",
28876
+ "name": "Primary",
28877
+ "declaration": {
28878
+ "name": "Primary",
28879
+ "module": "src/switch/switch.stories.ts"
28880
+ }
28881
+ }
28882
+ ]
28883
+ },
28884
+ {
28885
+ "kind": "javascript-module",
28886
+ "path": "src/switch/switch.styles.ts",
28625
28887
  "declarations": [
28626
28888
  {
28627
28889
  "kind": "function",
28628
- "name": "zeroStepperTabPanelTemplate",
28890
+ "name": "zeroSwitchStyles",
28629
28891
  "return": {
28630
28892
  "type": {
28631
- "text": "ViewTemplate<StepperTabPanel>"
28893
+ "text": "ElementStyles"
28632
28894
  }
28633
28895
  },
28634
28896
  "parameters": [
@@ -28641,38 +28903,126 @@
28641
28903
  {
28642
28904
  "name": "definition",
28643
28905
  "type": {
28644
- "text": "FoundationElementDefinition"
28906
+ "text": "SwitchOptions"
28907
+ }
28908
+ }
28909
+ ]
28910
+ }
28911
+ ],
28912
+ "exports": [
28913
+ {
28914
+ "kind": "js",
28915
+ "name": "zeroSwitchStyles",
28916
+ "declaration": {
28917
+ "name": "zeroSwitchStyles",
28918
+ "module": "src/switch/switch.styles.ts"
28919
+ }
28920
+ }
28921
+ ]
28922
+ },
28923
+ {
28924
+ "kind": "javascript-module",
28925
+ "path": "src/switch/switch.template.ts",
28926
+ "declarations": [
28927
+ {
28928
+ "kind": "function",
28929
+ "name": "zeroSwitchTemplate",
28930
+ "return": {
28931
+ "type": {
28932
+ "text": "ViewTemplate<Switch>"
28933
+ }
28934
+ },
28935
+ "parameters": [
28936
+ {
28937
+ "name": "context",
28938
+ "type": {
28939
+ "text": "ElementDefinitionContext"
28940
+ }
28941
+ },
28942
+ {
28943
+ "name": "definition",
28944
+ "type": {
28945
+ "text": "SwitchOptions"
28946
+ }
28947
+ }
28948
+ ]
28949
+ }
28950
+ ],
28951
+ "exports": [
28952
+ {
28953
+ "kind": "js",
28954
+ "name": "zeroSwitchTemplate",
28955
+ "declaration": {
28956
+ "name": "zeroSwitchTemplate",
28957
+ "module": "src/switch/switch.template.ts"
28958
+ }
28959
+ }
28960
+ ]
28961
+ },
28962
+ {
28963
+ "kind": "javascript-module",
28964
+ "path": "src/switch/switch.ts",
28965
+ "declarations": [
28966
+ {
28967
+ "kind": "class",
28968
+ "description": "",
28969
+ "name": "Switch",
28970
+ "superclass": {
28971
+ "name": "FoundationSwitch",
28972
+ "package": "@genesislcap/foundation-ui"
28973
+ },
28974
+ "tagName": "%%prefix%%-switch",
28975
+ "customElement": true,
28976
+ "attributes": [
28977
+ {
28978
+ "name": "readonly",
28979
+ "type": {
28980
+ "text": "boolean"
28981
+ },
28982
+ "description": "When true, the control will be immutable by user interaction. See https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/readonly | readonly HTML attribute for more information.",
28983
+ "fieldName": "readOnly",
28984
+ "inheritedFrom": {
28985
+ "name": "Switch",
28986
+ "module": "src/switch/switch.ts"
28987
+ }
28988
+ }
28989
+ ],
28990
+ "members": [
28991
+ {
28992
+ "kind": "field",
28993
+ "name": "readOnly",
28994
+ "type": {
28995
+ "text": "boolean"
28996
+ },
28997
+ "privacy": "public",
28998
+ "description": "When true, the control will be immutable by user interaction. See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/readonly | readonly HTML attribute} for more information.",
28999
+ "inheritedFrom": {
29000
+ "name": "Switch",
29001
+ "module": "src/switch/switch.ts"
29002
+ }
29003
+ },
29004
+ {
29005
+ "kind": "method",
29006
+ "name": "readOnlyChanged",
29007
+ "privacy": "private",
29008
+ "return": {
29009
+ "type": {
29010
+ "text": "void"
29011
+ }
29012
+ },
29013
+ "inheritedFrom": {
29014
+ "name": "Switch",
29015
+ "module": "src/switch/switch.ts"
29016
+ }
29017
+ },
29018
+ {
29019
+ "kind": "field",
29020
+ "name": "proxy",
29021
+ "inheritedFrom": {
29022
+ "name": "Switch",
29023
+ "module": "src/switch/switch.ts"
28645
29024
  }
28646
- }
28647
- ]
28648
- }
28649
- ],
28650
- "exports": [
28651
- {
28652
- "kind": "js",
28653
- "name": "zeroStepperTabPanelTemplate",
28654
- "declaration": {
28655
- "name": "zeroStepperTabPanelTemplate",
28656
- "module": "src/stepper-tab-panel/stepper-tab-panel.template.ts"
28657
- }
28658
- }
28659
- ]
28660
- },
28661
- {
28662
- "kind": "javascript-module",
28663
- "path": "src/stepper-tab-panel/stepper-tab-panel.ts",
28664
- "declarations": [
28665
- {
28666
- "kind": "class",
28667
- "description": "",
28668
- "name": "StepperTabPanel",
28669
- "superclass": {
28670
- "name": "FoundationStepperTabPanel",
28671
- "package": "@genesislcap/foundation-ui"
28672
- },
28673
- "tagName": "%%prefix%%-stepper-tab-panel",
28674
- "customElement": true,
28675
- "members": [
29025
+ },
28676
29026
  {
28677
29027
  "kind": "field",
28678
29028
  "name": "_presentation",
@@ -28682,8 +29032,8 @@
28682
29032
  "privacy": "private",
28683
29033
  "default": "void 0",
28684
29034
  "inheritedFrom": {
28685
- "name": "FoundationElement",
28686
- "module": "src/foundation-element/foundation-element.ts"
29035
+ "name": "Switch",
29036
+ "module": "src/switch/switch.ts"
28687
29037
  }
28688
29038
  },
28689
29039
  {
@@ -28695,8 +29045,8 @@
28695
29045
  "privacy": "public",
28696
29046
  "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
28697
29047
  "inheritedFrom": {
28698
- "name": "FoundationElement",
28699
- "module": "src/foundation-element/foundation-element.ts"
29048
+ "name": "Switch",
29049
+ "module": "src/switch/switch.ts"
28700
29050
  }
28701
29051
  },
28702
29052
  {
@@ -28708,8 +29058,8 @@
28708
29058
  "privacy": "public",
28709
29059
  "description": "Sets the template of the element instance. When undefined,\nthe element will attempt to resolve the template from\nthe associated presentation or custom element definition.",
28710
29060
  "inheritedFrom": {
28711
- "name": "FoundationElement",
28712
- "module": "src/foundation-element/foundation-element.ts"
29061
+ "name": "Switch",
29062
+ "module": "src/switch/switch.ts"
28713
29063
  }
28714
29064
  },
28715
29065
  {
@@ -28722,8 +29072,8 @@
28722
29072
  }
28723
29073
  },
28724
29074
  "inheritedFrom": {
28725
- "name": "FoundationElement",
28726
- "module": "src/foundation-element/foundation-element.ts"
29075
+ "name": "Switch",
29076
+ "module": "src/switch/switch.ts"
28727
29077
  }
28728
29078
  },
28729
29079
  {
@@ -28735,8 +29085,8 @@
28735
29085
  "privacy": "public",
28736
29086
  "description": "Sets the default styles for the element instance. When undefined,\nthe element will attempt to resolve default styles from\nthe associated presentation or custom element definition.",
28737
29087
  "inheritedFrom": {
28738
- "name": "FoundationElement",
28739
- "module": "src/foundation-element/foundation-element.ts"
29088
+ "name": "Switch",
29089
+ "module": "src/switch/switch.ts"
28740
29090
  }
28741
29091
  },
28742
29092
  {
@@ -28749,8 +29099,8 @@
28749
29099
  }
28750
29100
  },
28751
29101
  "inheritedFrom": {
28752
- "name": "FoundationElement",
28753
- "module": "src/foundation-element/foundation-element.ts"
29102
+ "name": "Switch",
29103
+ "module": "src/switch/switch.ts"
28754
29104
  }
28755
29105
  },
28756
29106
  {
@@ -28780,39 +29130,49 @@
28780
29130
  ],
28781
29131
  "description": "Defines an element registry function with a set of element definition defaults.",
28782
29132
  "inheritedFrom": {
28783
- "name": "FoundationElement",
28784
- "module": "src/foundation-element/foundation-element.ts"
29133
+ "name": "Switch",
29134
+ "module": "src/switch/switch.ts"
29135
+ }
29136
+ }
29137
+ ],
29138
+ "events": [
29139
+ {
29140
+ "description": "Emits a custom change event when the checked state changes",
29141
+ "name": "change",
29142
+ "inheritedFrom": {
29143
+ "name": "Switch",
29144
+ "module": "src/switch/switch.ts"
28785
29145
  }
28786
29146
  }
28787
29147
  ]
28788
29148
  },
28789
29149
  {
28790
29150
  "kind": "variable",
28791
- "name": "zeroStepperTabPanel"
29151
+ "name": "zeroSwitch"
28792
29152
  }
28793
29153
  ],
28794
29154
  "exports": [
28795
29155
  {
28796
29156
  "kind": "js",
28797
- "name": "StepperTabPanel",
29157
+ "name": "Switch",
28798
29158
  "declaration": {
28799
- "name": "StepperTabPanel",
28800
- "module": "src/stepper-tab-panel/stepper-tab-panel.ts"
29159
+ "name": "Switch",
29160
+ "module": "src/switch/switch.ts"
28801
29161
  }
28802
29162
  },
28803
29163
  {
28804
29164
  "kind": "js",
28805
- "name": "zeroStepperTabPanel",
29165
+ "name": "zeroSwitch",
28806
29166
  "declaration": {
28807
- "name": "zeroStepperTabPanel",
28808
- "module": "src/stepper-tab-panel/stepper-tab-panel.ts"
29167
+ "name": "zeroSwitch",
29168
+ "module": "src/switch/switch.ts"
28809
29169
  }
28810
29170
  }
28811
29171
  ]
28812
29172
  },
28813
29173
  {
28814
29174
  "kind": "javascript-module",
28815
- "path": "src/switch/index.ts",
29175
+ "path": "src/tab/index.ts",
28816
29176
  "declarations": [],
28817
29177
  "exports": [
28818
29178
  {
@@ -28820,7 +29180,7 @@
28820
29180
  "name": "*",
28821
29181
  "declaration": {
28822
29182
  "name": "*",
28823
- "package": "./switch"
29183
+ "package": "./tab"
28824
29184
  }
28825
29185
  },
28826
29186
  {
@@ -28828,7 +29188,7 @@
28828
29188
  "name": "*",
28829
29189
  "declaration": {
28830
29190
  "name": "*",
28831
- "package": "./switch.styles"
29191
+ "package": "./tab.styles"
28832
29192
  }
28833
29193
  },
28834
29194
  {
@@ -28836,58 +29196,18 @@
28836
29196
  "name": "*",
28837
29197
  "declaration": {
28838
29198
  "name": "*",
28839
- "package": "./switch.template"
28840
- }
28841
- }
28842
- ]
28843
- },
28844
- {
28845
- "kind": "javascript-module",
28846
- "path": "src/switch/switch.stories.ts",
28847
- "declarations": [
28848
- {
28849
- "kind": "variable",
28850
- "name": "meta",
28851
- "type": {
28852
- "text": "Meta"
28853
- },
28854
- "default": "{\n title: 'Switch',\n component: 'zero-switch',\n}"
28855
- },
28856
- {
28857
- "kind": "variable",
28858
- "name": "Primary",
28859
- "type": {
28860
- "text": "StoryObj"
28861
- },
28862
- "default": "{\n render: () => html`\n <zero-switch checked></zero-switch>\n `,\n}"
28863
- }
28864
- ],
28865
- "exports": [
28866
- {
28867
- "kind": "js",
28868
- "name": "default",
28869
- "declaration": {
28870
- "name": "meta",
28871
- "module": "src/switch/switch.stories.ts"
28872
- }
28873
- },
28874
- {
28875
- "kind": "js",
28876
- "name": "Primary",
28877
- "declaration": {
28878
- "name": "Primary",
28879
- "module": "src/switch/switch.stories.ts"
29199
+ "package": "./tab.template"
28880
29200
  }
28881
29201
  }
28882
29202
  ]
28883
29203
  },
28884
29204
  {
28885
29205
  "kind": "javascript-module",
28886
- "path": "src/switch/switch.styles.ts",
29206
+ "path": "src/tab/tab.styles.ts",
28887
29207
  "declarations": [
28888
29208
  {
28889
29209
  "kind": "function",
28890
- "name": "zeroSwitchStyles",
29210
+ "name": "zeroTabStyles",
28891
29211
  "return": {
28892
29212
  "type": {
28893
29213
  "text": "ElementStyles"
@@ -28903,7 +29223,7 @@
28903
29223
  {
28904
29224
  "name": "definition",
28905
29225
  "type": {
28906
- "text": "SwitchOptions"
29226
+ "text": "FoundationElementDefinition"
28907
29227
  }
28908
29228
  }
28909
29229
  ]
@@ -28912,24 +29232,24 @@
28912
29232
  "exports": [
28913
29233
  {
28914
29234
  "kind": "js",
28915
- "name": "zeroSwitchStyles",
29235
+ "name": "zeroTabStyles",
28916
29236
  "declaration": {
28917
- "name": "zeroSwitchStyles",
28918
- "module": "src/switch/switch.styles.ts"
29237
+ "name": "zeroTabStyles",
29238
+ "module": "src/tab/tab.styles.ts"
28919
29239
  }
28920
29240
  }
28921
29241
  ]
28922
29242
  },
28923
29243
  {
28924
29244
  "kind": "javascript-module",
28925
- "path": "src/switch/switch.template.ts",
29245
+ "path": "src/tab/tab.template.ts",
28926
29246
  "declarations": [
28927
29247
  {
28928
29248
  "kind": "function",
28929
- "name": "zeroSwitchTemplate",
29249
+ "name": "zeroTabTemplate",
28930
29250
  "return": {
28931
29251
  "type": {
28932
- "text": "ViewTemplate<Switch>"
29252
+ "text": "ViewTemplate<Tab>"
28933
29253
  }
28934
29254
  },
28935
29255
  "parameters": [
@@ -28942,7 +29262,7 @@
28942
29262
  {
28943
29263
  "name": "definition",
28944
29264
  "type": {
28945
- "text": "SwitchOptions"
29265
+ "text": "FoundationElementDefinition"
28946
29266
  }
28947
29267
  }
28948
29268
  ]
@@ -28951,76 +29271,53 @@
28951
29271
  "exports": [
28952
29272
  {
28953
29273
  "kind": "js",
28954
- "name": "zeroSwitchTemplate",
29274
+ "name": "zeroTabTemplate",
28955
29275
  "declaration": {
28956
- "name": "zeroSwitchTemplate",
28957
- "module": "src/switch/switch.template.ts"
29276
+ "name": "zeroTabTemplate",
29277
+ "module": "src/tab/tab.template.ts"
28958
29278
  }
28959
29279
  }
28960
29280
  ]
28961
29281
  },
28962
29282
  {
28963
29283
  "kind": "javascript-module",
28964
- "path": "src/switch/switch.ts",
29284
+ "path": "src/tab/tab.ts",
28965
29285
  "declarations": [
28966
29286
  {
28967
29287
  "kind": "class",
28968
29288
  "description": "",
28969
- "name": "Switch",
29289
+ "name": "Tab",
28970
29290
  "superclass": {
28971
- "name": "FoundationSwitch",
29291
+ "name": "FoundationTab",
28972
29292
  "package": "@genesislcap/foundation-ui"
28973
29293
  },
28974
- "tagName": "%%prefix%%-switch",
29294
+ "tagName": "%%prefix%%-tab",
28975
29295
  "customElement": true,
28976
29296
  "attributes": [
28977
29297
  {
28978
- "name": "readonly",
28979
29298
  "type": {
28980
29299
  "text": "boolean"
28981
29300
  },
28982
- "description": "When true, the control will be immutable by user interaction. See https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/readonly | readonly HTML attribute for more information.",
28983
- "fieldName": "readOnly",
29301
+ "description": "When true, the control will be immutable by user interaction. See https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/disabled | disabled HTML attribute for more information.",
29302
+ "fieldName": "disabled",
28984
29303
  "inheritedFrom": {
28985
- "name": "Switch",
28986
- "module": "src/switch/switch.ts"
29304
+ "name": "Tab",
29305
+ "module": "src/tab/tab.ts"
28987
29306
  }
28988
29307
  }
28989
29308
  ],
28990
29309
  "members": [
28991
29310
  {
28992
29311
  "kind": "field",
28993
- "name": "readOnly",
29312
+ "name": "disabled",
28994
29313
  "type": {
28995
29314
  "text": "boolean"
28996
29315
  },
28997
29316
  "privacy": "public",
28998
- "description": "When true, the control will be immutable by user interaction. See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/readonly | readonly HTML attribute} for more information.",
28999
- "inheritedFrom": {
29000
- "name": "Switch",
29001
- "module": "src/switch/switch.ts"
29002
- }
29003
- },
29004
- {
29005
- "kind": "method",
29006
- "name": "readOnlyChanged",
29007
- "privacy": "private",
29008
- "return": {
29009
- "type": {
29010
- "text": "void"
29011
- }
29012
- },
29013
- "inheritedFrom": {
29014
- "name": "Switch",
29015
- "module": "src/switch/switch.ts"
29016
- }
29017
- },
29018
- {
29019
- "kind": "field",
29020
- "name": "proxy",
29317
+ "description": "When true, the control will be immutable by user interaction. See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/disabled | disabled HTML attribute} for more information.",
29021
29318
  "inheritedFrom": {
29022
- "name": "Switch",
29023
- "module": "src/switch/switch.ts"
29319
+ "name": "Tab",
29320
+ "module": "src/tab/tab.ts"
29024
29321
  }
29025
29322
  },
29026
29323
  {
@@ -29032,8 +29329,8 @@
29032
29329
  "privacy": "private",
29033
29330
  "default": "void 0",
29034
29331
  "inheritedFrom": {
29035
- "name": "Switch",
29036
- "module": "src/switch/switch.ts"
29332
+ "name": "Tab",
29333
+ "module": "src/tab/tab.ts"
29037
29334
  }
29038
29335
  },
29039
29336
  {
@@ -29045,8 +29342,8 @@
29045
29342
  "privacy": "public",
29046
29343
  "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
29047
29344
  "inheritedFrom": {
29048
- "name": "Switch",
29049
- "module": "src/switch/switch.ts"
29345
+ "name": "Tab",
29346
+ "module": "src/tab/tab.ts"
29050
29347
  }
29051
29348
  },
29052
29349
  {
@@ -29058,8 +29355,8 @@
29058
29355
  "privacy": "public",
29059
29356
  "description": "Sets the template of the element instance. When undefined,\nthe element will attempt to resolve the template from\nthe associated presentation or custom element definition.",
29060
29357
  "inheritedFrom": {
29061
- "name": "Switch",
29062
- "module": "src/switch/switch.ts"
29358
+ "name": "Tab",
29359
+ "module": "src/tab/tab.ts"
29063
29360
  }
29064
29361
  },
29065
29362
  {
@@ -29072,8 +29369,8 @@
29072
29369
  }
29073
29370
  },
29074
29371
  "inheritedFrom": {
29075
- "name": "Switch",
29076
- "module": "src/switch/switch.ts"
29372
+ "name": "Tab",
29373
+ "module": "src/tab/tab.ts"
29077
29374
  }
29078
29375
  },
29079
29376
  {
@@ -29085,8 +29382,8 @@
29085
29382
  "privacy": "public",
29086
29383
  "description": "Sets the default styles for the element instance. When undefined,\nthe element will attempt to resolve default styles from\nthe associated presentation or custom element definition.",
29087
29384
  "inheritedFrom": {
29088
- "name": "Switch",
29089
- "module": "src/switch/switch.ts"
29385
+ "name": "Tab",
29386
+ "module": "src/tab/tab.ts"
29090
29387
  }
29091
29388
  },
29092
29389
  {
@@ -29099,8 +29396,8 @@
29099
29396
  }
29100
29397
  },
29101
29398
  "inheritedFrom": {
29102
- "name": "Switch",
29103
- "module": "src/switch/switch.ts"
29399
+ "name": "Tab",
29400
+ "module": "src/tab/tab.ts"
29104
29401
  }
29105
29402
  },
29106
29403
  {
@@ -29130,49 +29427,39 @@
29130
29427
  ],
29131
29428
  "description": "Defines an element registry function with a set of element definition defaults.",
29132
29429
  "inheritedFrom": {
29133
- "name": "Switch",
29134
- "module": "src/switch/switch.ts"
29135
- }
29136
- }
29137
- ],
29138
- "events": [
29139
- {
29140
- "description": "Emits a custom change event when the checked state changes",
29141
- "name": "change",
29142
- "inheritedFrom": {
29143
- "name": "Switch",
29144
- "module": "src/switch/switch.ts"
29430
+ "name": "Tab",
29431
+ "module": "src/tab/tab.ts"
29145
29432
  }
29146
29433
  }
29147
29434
  ]
29148
29435
  },
29149
29436
  {
29150
29437
  "kind": "variable",
29151
- "name": "zeroSwitch"
29438
+ "name": "zeroTab"
29152
29439
  }
29153
29440
  ],
29154
29441
  "exports": [
29155
29442
  {
29156
29443
  "kind": "js",
29157
- "name": "Switch",
29444
+ "name": "Tab",
29158
29445
  "declaration": {
29159
- "name": "Switch",
29160
- "module": "src/switch/switch.ts"
29446
+ "name": "Tab",
29447
+ "module": "src/tab/tab.ts"
29161
29448
  }
29162
29449
  },
29163
29450
  {
29164
29451
  "kind": "js",
29165
- "name": "zeroSwitch",
29452
+ "name": "zeroTab",
29166
29453
  "declaration": {
29167
- "name": "zeroSwitch",
29168
- "module": "src/switch/switch.ts"
29454
+ "name": "zeroTab",
29455
+ "module": "src/tab/tab.ts"
29169
29456
  }
29170
29457
  }
29171
29458
  ]
29172
29459
  },
29173
29460
  {
29174
29461
  "kind": "javascript-module",
29175
- "path": "src/tab/index.ts",
29462
+ "path": "src/tab-panel/index.ts",
29176
29463
  "declarations": [],
29177
29464
  "exports": [
29178
29465
  {
@@ -29180,7 +29467,7 @@
29180
29467
  "name": "*",
29181
29468
  "declaration": {
29182
29469
  "name": "*",
29183
- "package": "./tab"
29470
+ "package": "./tab-panel"
29184
29471
  }
29185
29472
  },
29186
29473
  {
@@ -29188,7 +29475,7 @@
29188
29475
  "name": "*",
29189
29476
  "declaration": {
29190
29477
  "name": "*",
29191
- "package": "./tab.styles"
29478
+ "package": "./tab-panel.styles"
29192
29479
  }
29193
29480
  },
29194
29481
  {
@@ -29196,18 +29483,18 @@
29196
29483
  "name": "*",
29197
29484
  "declaration": {
29198
29485
  "name": "*",
29199
- "package": "./tab.template"
29486
+ "package": "./tab-panel.template"
29200
29487
  }
29201
29488
  }
29202
29489
  ]
29203
29490
  },
29204
29491
  {
29205
29492
  "kind": "javascript-module",
29206
- "path": "src/tab/tab.styles.ts",
29493
+ "path": "src/tab-panel/tab-panel.styles.ts",
29207
29494
  "declarations": [
29208
29495
  {
29209
29496
  "kind": "function",
29210
- "name": "zeroTabStyles",
29497
+ "name": "zeroTabPanelStyles",
29211
29498
  "return": {
29212
29499
  "type": {
29213
29500
  "text": "ElementStyles"
@@ -29232,24 +29519,24 @@
29232
29519
  "exports": [
29233
29520
  {
29234
29521
  "kind": "js",
29235
- "name": "zeroTabStyles",
29522
+ "name": "zeroTabPanelStyles",
29236
29523
  "declaration": {
29237
- "name": "zeroTabStyles",
29238
- "module": "src/tab/tab.styles.ts"
29524
+ "name": "zeroTabPanelStyles",
29525
+ "module": "src/tab-panel/tab-panel.styles.ts"
29239
29526
  }
29240
29527
  }
29241
29528
  ]
29242
29529
  },
29243
29530
  {
29244
29531
  "kind": "javascript-module",
29245
- "path": "src/tab/tab.template.ts",
29532
+ "path": "src/tab-panel/tab-panel.template.ts",
29246
29533
  "declarations": [
29247
29534
  {
29248
29535
  "kind": "function",
29249
- "name": "zeroTabTemplate",
29536
+ "name": "zeroTabPanelTemplate",
29250
29537
  "return": {
29251
29538
  "type": {
29252
- "text": "ViewTemplate<Tab>"
29539
+ "text": "ViewTemplate<TabPanel>"
29253
29540
  }
29254
29541
  },
29255
29542
  "parameters": [
@@ -29271,55 +29558,29 @@
29271
29558
  "exports": [
29272
29559
  {
29273
29560
  "kind": "js",
29274
- "name": "zeroTabTemplate",
29561
+ "name": "zeroTabPanelTemplate",
29275
29562
  "declaration": {
29276
- "name": "zeroTabTemplate",
29277
- "module": "src/tab/tab.template.ts"
29563
+ "name": "zeroTabPanelTemplate",
29564
+ "module": "src/tab-panel/tab-panel.template.ts"
29278
29565
  }
29279
29566
  }
29280
29567
  ]
29281
29568
  },
29282
29569
  {
29283
29570
  "kind": "javascript-module",
29284
- "path": "src/tab/tab.ts",
29571
+ "path": "src/tab-panel/tab-panel.ts",
29285
29572
  "declarations": [
29286
29573
  {
29287
29574
  "kind": "class",
29288
29575
  "description": "",
29289
- "name": "Tab",
29576
+ "name": "TabPanel",
29290
29577
  "superclass": {
29291
- "name": "FoundationTab",
29578
+ "name": "FoundationTabPanel",
29292
29579
  "package": "@genesislcap/foundation-ui"
29293
29580
  },
29294
- "tagName": "%%prefix%%-tab",
29581
+ "tagName": "%%prefix%%-tab-panel",
29295
29582
  "customElement": true,
29296
- "attributes": [
29297
- {
29298
- "type": {
29299
- "text": "boolean"
29300
- },
29301
- "description": "When true, the control will be immutable by user interaction. See https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/disabled | disabled HTML attribute for more information.",
29302
- "fieldName": "disabled",
29303
- "inheritedFrom": {
29304
- "name": "Tab",
29305
- "module": "src/tab/tab.ts"
29306
- }
29307
- }
29308
- ],
29309
29583
  "members": [
29310
- {
29311
- "kind": "field",
29312
- "name": "disabled",
29313
- "type": {
29314
- "text": "boolean"
29315
- },
29316
- "privacy": "public",
29317
- "description": "When true, the control will be immutable by user interaction. See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/disabled | disabled HTML attribute} for more information.",
29318
- "inheritedFrom": {
29319
- "name": "Tab",
29320
- "module": "src/tab/tab.ts"
29321
- }
29322
- },
29323
29584
  {
29324
29585
  "kind": "field",
29325
29586
  "name": "_presentation",
@@ -29329,8 +29590,8 @@
29329
29590
  "privacy": "private",
29330
29591
  "default": "void 0",
29331
29592
  "inheritedFrom": {
29332
- "name": "Tab",
29333
- "module": "src/tab/tab.ts"
29593
+ "name": "TabPanel",
29594
+ "module": "src/tab-panel/tab-panel.ts"
29334
29595
  }
29335
29596
  },
29336
29597
  {
@@ -29342,8 +29603,8 @@
29342
29603
  "privacy": "public",
29343
29604
  "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
29344
29605
  "inheritedFrom": {
29345
- "name": "Tab",
29346
- "module": "src/tab/tab.ts"
29606
+ "name": "TabPanel",
29607
+ "module": "src/tab-panel/tab-panel.ts"
29347
29608
  }
29348
29609
  },
29349
29610
  {
@@ -29355,8 +29616,8 @@
29355
29616
  "privacy": "public",
29356
29617
  "description": "Sets the template of the element instance. When undefined,\nthe element will attempt to resolve the template from\nthe associated presentation or custom element definition.",
29357
29618
  "inheritedFrom": {
29358
- "name": "Tab",
29359
- "module": "src/tab/tab.ts"
29619
+ "name": "TabPanel",
29620
+ "module": "src/tab-panel/tab-panel.ts"
29360
29621
  }
29361
29622
  },
29362
29623
  {
@@ -29369,8 +29630,8 @@
29369
29630
  }
29370
29631
  },
29371
29632
  "inheritedFrom": {
29372
- "name": "Tab",
29373
- "module": "src/tab/tab.ts"
29633
+ "name": "TabPanel",
29634
+ "module": "src/tab-panel/tab-panel.ts"
29374
29635
  }
29375
29636
  },
29376
29637
  {
@@ -29382,8 +29643,8 @@
29382
29643
  "privacy": "public",
29383
29644
  "description": "Sets the default styles for the element instance. When undefined,\nthe element will attempt to resolve default styles from\nthe associated presentation or custom element definition.",
29384
29645
  "inheritedFrom": {
29385
- "name": "Tab",
29386
- "module": "src/tab/tab.ts"
29646
+ "name": "TabPanel",
29647
+ "module": "src/tab-panel/tab-panel.ts"
29387
29648
  }
29388
29649
  },
29389
29650
  {
@@ -29396,8 +29657,8 @@
29396
29657
  }
29397
29658
  },
29398
29659
  "inheritedFrom": {
29399
- "name": "Tab",
29400
- "module": "src/tab/tab.ts"
29660
+ "name": "TabPanel",
29661
+ "module": "src/tab-panel/tab-panel.ts"
29401
29662
  }
29402
29663
  },
29403
29664
  {
@@ -29427,32 +29688,32 @@
29427
29688
  ],
29428
29689
  "description": "Defines an element registry function with a set of element definition defaults.",
29429
29690
  "inheritedFrom": {
29430
- "name": "Tab",
29431
- "module": "src/tab/tab.ts"
29691
+ "name": "TabPanel",
29692
+ "module": "src/tab-panel/tab-panel.ts"
29432
29693
  }
29433
29694
  }
29434
29695
  ]
29435
29696
  },
29436
29697
  {
29437
29698
  "kind": "variable",
29438
- "name": "zeroTab"
29699
+ "name": "zeroTabPanel"
29439
29700
  }
29440
29701
  ],
29441
29702
  "exports": [
29442
29703
  {
29443
29704
  "kind": "js",
29444
- "name": "Tab",
29705
+ "name": "TabPanel",
29445
29706
  "declaration": {
29446
- "name": "Tab",
29447
- "module": "src/tab/tab.ts"
29707
+ "name": "TabPanel",
29708
+ "module": "src/tab-panel/tab-panel.ts"
29448
29709
  }
29449
29710
  },
29450
29711
  {
29451
29712
  "kind": "js",
29452
- "name": "zeroTab",
29713
+ "name": "zeroTabPanel",
29453
29714
  "declaration": {
29454
- "name": "zeroTab",
29455
- "module": "src/tab/tab.ts"
29715
+ "name": "zeroTabPanel",
29716
+ "module": "src/tab-panel/tab-panel.ts"
29456
29717
  }
29457
29718
  }
29458
29719
  ]
@@ -29907,155 +30168,11 @@
29907
30168
  "name": "Tabs",
29908
30169
  "module": "src/tabs/tabs.ts"
29909
30170
  }
29910
- },
29911
- {
29912
- "kind": "method",
29913
- "name": "handleActiveIndicatorPosition",
29914
- "privacy": "private",
29915
- "inheritedFrom": {
29916
- "name": "Tabs",
29917
- "module": "src/tabs/tabs.ts"
29918
- }
29919
- },
29920
- {
29921
- "kind": "method",
29922
- "name": "animateActiveIndicator",
29923
- "privacy": "private",
29924
- "return": {
29925
- "type": {
29926
- "text": "void"
29927
- }
29928
- },
29929
- "inheritedFrom": {
29930
- "name": "Tabs",
29931
- "module": "src/tabs/tabs.ts"
29932
- }
29933
- },
29934
- {
29935
- "kind": "method",
29936
- "name": "adjust",
29937
- "privacy": "public",
29938
- "return": {
29939
- "type": {
29940
- "text": "void"
29941
- }
29942
- },
29943
- "parameters": [
29944
- {
29945
- "name": "adjustment",
29946
- "type": {
29947
- "text": "number"
29948
- }
29949
- }
29950
- ],
29951
- "description": "The adjust method for FASTTabs",
29952
- "inheritedFrom": {
29953
- "name": "Tabs",
29954
- "module": "src/tabs/tabs.ts"
29955
- }
29956
- },
29957
- {
29958
- "kind": "field",
29959
- "name": "adjustForward",
29960
- "privacy": "private",
29961
- "inheritedFrom": {
29962
- "name": "Tabs",
29963
- "module": "src/tabs/tabs.ts"
29964
- }
29965
- },
29966
- {
29967
- "kind": "field",
29968
- "name": "adjustBackward",
29969
- "privacy": "private",
29970
- "inheritedFrom": {
29971
- "name": "Tabs",
29972
- "module": "src/tabs/tabs.ts"
29973
- }
29974
- },
29975
- {
29976
- "kind": "field",
29977
- "name": "moveToTabByIndex",
29978
- "privacy": "private",
29979
- "inheritedFrom": {
29980
- "name": "Tabs",
29981
- "module": "src/tabs/tabs.ts"
29982
- }
29983
- },
29984
- {
29985
- "kind": "method",
29986
- "name": "focusTab",
29987
- "privacy": "private",
29988
- "return": {
29989
- "type": {
29990
- "text": "void"
29991
- }
29992
- },
29993
- "inheritedFrom": {
29994
- "name": "Tabs",
29995
- "module": "src/tabs/tabs.ts"
29996
- }
29997
- },
29998
- {
29999
- "kind": "field",
30000
- "name": "_presentation",
30001
- "type": {
30002
- "text": "ComponentPresentation | null | undefined"
30003
- },
30004
- "privacy": "private",
30005
- "default": "void 0",
30006
- "inheritedFrom": {
30007
- "name": "Tabs",
30008
- "module": "src/tabs/tabs.ts"
30009
- }
30010
- },
30011
- {
30012
- "kind": "field",
30013
- "name": "$presentation",
30014
- "type": {
30015
- "text": "ComponentPresentation | null"
30016
- },
30017
- "privacy": "public",
30018
- "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
30019
- "inheritedFrom": {
30020
- "name": "Tabs",
30021
- "module": "src/tabs/tabs.ts"
30022
- }
30023
- },
30024
- {
30025
- "kind": "field",
30026
- "name": "template",
30027
- "type": {
30028
- "text": "ElementViewTemplate | void | null"
30029
- },
30030
- "privacy": "public",
30031
- "description": "Sets the template of the element instance. When undefined,\nthe element will attempt to resolve the template from\nthe associated presentation or custom element definition.",
30032
- "inheritedFrom": {
30033
- "name": "Tabs",
30034
- "module": "src/tabs/tabs.ts"
30035
- }
30036
- },
30037
- {
30038
- "kind": "method",
30039
- "name": "templateChanged",
30040
- "privacy": "protected",
30041
- "return": {
30042
- "type": {
30043
- "text": "void"
30044
- }
30045
- },
30046
- "inheritedFrom": {
30047
- "name": "Tabs",
30048
- "module": "src/tabs/tabs.ts"
30049
- }
30050
- },
30051
- {
30052
- "kind": "field",
30053
- "name": "styles",
30054
- "type": {
30055
- "text": "ElementStyles | void | null"
30056
- },
30057
- "privacy": "public",
30058
- "description": "Sets the default styles for the element instance. When undefined,\nthe element will attempt to resolve default styles from\nthe associated presentation or custom element definition.",
30171
+ },
30172
+ {
30173
+ "kind": "method",
30174
+ "name": "handleActiveIndicatorPosition",
30175
+ "privacy": "private",
30059
30176
  "inheritedFrom": {
30060
30177
  "name": "Tabs",
30061
30178
  "module": "src/tabs/tabs.ts"
@@ -30063,8 +30180,8 @@
30063
30180
  },
30064
30181
  {
30065
30182
  "kind": "method",
30066
- "name": "stylesChanged",
30067
- "privacy": "protected",
30183
+ "name": "animateActiveIndicator",
30184
+ "privacy": "private",
30068
30185
  "return": {
30069
30186
  "type": {
30070
30187
  "text": "void"
@@ -30077,195 +30194,68 @@
30077
30194
  },
30078
30195
  {
30079
30196
  "kind": "method",
30080
- "name": "compose",
30197
+ "name": "adjust",
30081
30198
  "privacy": "public",
30082
- "static": true,
30083
30199
  "return": {
30084
30200
  "type": {
30085
- "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
30201
+ "text": "void"
30086
30202
  }
30087
30203
  },
30088
30204
  "parameters": [
30089
30205
  {
30090
- "name": "this",
30206
+ "name": "adjustment",
30091
30207
  "type": {
30092
- "text": "K"
30208
+ "text": "number"
30093
30209
  }
30094
- },
30095
- {
30096
- "name": "elementDefinition",
30097
- "type": {
30098
- "text": "T"
30099
- },
30100
- "description": "The definition of the element to create the registry\nfunction for."
30101
30210
  }
30102
30211
  ],
30103
- "description": "Defines an element registry function with a set of element definition defaults.",
30212
+ "description": "The adjust method for FASTTabs",
30104
30213
  "inheritedFrom": {
30105
30214
  "name": "Tabs",
30106
30215
  "module": "src/tabs/tabs.ts"
30107
30216
  }
30108
- }
30109
- ],
30110
- "events": [
30217
+ },
30111
30218
  {
30112
- "description": "Fires a custom 'change' event when a tab is clicked or during keyboard navigation",
30113
- "name": "change",
30219
+ "kind": "field",
30220
+ "name": "adjustForward",
30221
+ "privacy": "private",
30114
30222
  "inheritedFrom": {
30115
30223
  "name": "Tabs",
30116
30224
  "module": "src/tabs/tabs.ts"
30117
30225
  }
30118
- }
30119
- ]
30120
- },
30121
- {
30122
- "kind": "variable",
30123
- "name": "zeroTabs"
30124
- }
30125
- ],
30126
- "exports": [
30127
- {
30128
- "kind": "js",
30129
- "name": "Tabs",
30130
- "declaration": {
30131
- "name": "Tabs",
30132
- "module": "src/tabs/tabs.ts"
30133
- }
30134
- },
30135
- {
30136
- "kind": "js",
30137
- "name": "zeroTabs",
30138
- "declaration": {
30139
- "name": "zeroTabs",
30140
- "module": "src/tabs/tabs.ts"
30141
- }
30142
- }
30143
- ]
30144
- },
30145
- {
30146
- "kind": "javascript-module",
30147
- "path": "src/tab-panel/index.ts",
30148
- "declarations": [],
30149
- "exports": [
30150
- {
30151
- "kind": "js",
30152
- "name": "*",
30153
- "declaration": {
30154
- "name": "*",
30155
- "package": "./tab-panel"
30156
- }
30157
- },
30158
- {
30159
- "kind": "js",
30160
- "name": "*",
30161
- "declaration": {
30162
- "name": "*",
30163
- "package": "./tab-panel.styles"
30164
- }
30165
- },
30166
- {
30167
- "kind": "js",
30168
- "name": "*",
30169
- "declaration": {
30170
- "name": "*",
30171
- "package": "./tab-panel.template"
30172
- }
30173
- }
30174
- ]
30175
- },
30176
- {
30177
- "kind": "javascript-module",
30178
- "path": "src/tab-panel/tab-panel.styles.ts",
30179
- "declarations": [
30180
- {
30181
- "kind": "function",
30182
- "name": "zeroTabPanelStyles",
30183
- "return": {
30184
- "type": {
30185
- "text": "ElementStyles"
30186
- }
30187
- },
30188
- "parameters": [
30189
- {
30190
- "name": "context",
30191
- "type": {
30192
- "text": "ElementDefinitionContext"
30193
- }
30194
30226
  },
30195
30227
  {
30196
- "name": "definition",
30197
- "type": {
30198
- "text": "FoundationElementDefinition"
30228
+ "kind": "field",
30229
+ "name": "adjustBackward",
30230
+ "privacy": "private",
30231
+ "inheritedFrom": {
30232
+ "name": "Tabs",
30233
+ "module": "src/tabs/tabs.ts"
30199
30234
  }
30200
- }
30201
- ]
30202
- }
30203
- ],
30204
- "exports": [
30205
- {
30206
- "kind": "js",
30207
- "name": "zeroTabPanelStyles",
30208
- "declaration": {
30209
- "name": "zeroTabPanelStyles",
30210
- "module": "src/tab-panel/tab-panel.styles.ts"
30211
- }
30212
- }
30213
- ]
30214
- },
30215
- {
30216
- "kind": "javascript-module",
30217
- "path": "src/tab-panel/tab-panel.template.ts",
30218
- "declarations": [
30219
- {
30220
- "kind": "function",
30221
- "name": "zeroTabPanelTemplate",
30222
- "return": {
30223
- "type": {
30224
- "text": "ViewTemplate<TabPanel>"
30225
- }
30226
- },
30227
- "parameters": [
30235
+ },
30228
30236
  {
30229
- "name": "context",
30230
- "type": {
30231
- "text": "ElementDefinitionContext"
30237
+ "kind": "field",
30238
+ "name": "moveToTabByIndex",
30239
+ "privacy": "private",
30240
+ "inheritedFrom": {
30241
+ "name": "Tabs",
30242
+ "module": "src/tabs/tabs.ts"
30232
30243
  }
30233
30244
  },
30234
30245
  {
30235
- "name": "definition",
30236
- "type": {
30237
- "text": "FoundationElementDefinition"
30246
+ "kind": "method",
30247
+ "name": "focusTab",
30248
+ "privacy": "private",
30249
+ "return": {
30250
+ "type": {
30251
+ "text": "void"
30252
+ }
30253
+ },
30254
+ "inheritedFrom": {
30255
+ "name": "Tabs",
30256
+ "module": "src/tabs/tabs.ts"
30238
30257
  }
30239
- }
30240
- ]
30241
- }
30242
- ],
30243
- "exports": [
30244
- {
30245
- "kind": "js",
30246
- "name": "zeroTabPanelTemplate",
30247
- "declaration": {
30248
- "name": "zeroTabPanelTemplate",
30249
- "module": "src/tab-panel/tab-panel.template.ts"
30250
- }
30251
- }
30252
- ]
30253
- },
30254
- {
30255
- "kind": "javascript-module",
30256
- "path": "src/tab-panel/tab-panel.ts",
30257
- "declarations": [
30258
- {
30259
- "kind": "class",
30260
- "description": "",
30261
- "name": "TabPanel",
30262
- "superclass": {
30263
- "name": "FoundationTabPanel",
30264
- "package": "@genesislcap/foundation-ui"
30265
- },
30266
- "tagName": "%%prefix%%-tab-panel",
30267
- "customElement": true,
30268
- "members": [
30258
+ },
30269
30259
  {
30270
30260
  "kind": "field",
30271
30261
  "name": "_presentation",
@@ -30275,8 +30265,8 @@
30275
30265
  "privacy": "private",
30276
30266
  "default": "void 0",
30277
30267
  "inheritedFrom": {
30278
- "name": "TabPanel",
30279
- "module": "src/tab-panel/tab-panel.ts"
30268
+ "name": "Tabs",
30269
+ "module": "src/tabs/tabs.ts"
30280
30270
  }
30281
30271
  },
30282
30272
  {
@@ -30288,8 +30278,8 @@
30288
30278
  "privacy": "public",
30289
30279
  "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
30290
30280
  "inheritedFrom": {
30291
- "name": "TabPanel",
30292
- "module": "src/tab-panel/tab-panel.ts"
30281
+ "name": "Tabs",
30282
+ "module": "src/tabs/tabs.ts"
30293
30283
  }
30294
30284
  },
30295
30285
  {
@@ -30301,8 +30291,8 @@
30301
30291
  "privacy": "public",
30302
30292
  "description": "Sets the template of the element instance. When undefined,\nthe element will attempt to resolve the template from\nthe associated presentation or custom element definition.",
30303
30293
  "inheritedFrom": {
30304
- "name": "TabPanel",
30305
- "module": "src/tab-panel/tab-panel.ts"
30294
+ "name": "Tabs",
30295
+ "module": "src/tabs/tabs.ts"
30306
30296
  }
30307
30297
  },
30308
30298
  {
@@ -30315,8 +30305,8 @@
30315
30305
  }
30316
30306
  },
30317
30307
  "inheritedFrom": {
30318
- "name": "TabPanel",
30319
- "module": "src/tab-panel/tab-panel.ts"
30308
+ "name": "Tabs",
30309
+ "module": "src/tabs/tabs.ts"
30320
30310
  }
30321
30311
  },
30322
30312
  {
@@ -30328,8 +30318,8 @@
30328
30318
  "privacy": "public",
30329
30319
  "description": "Sets the default styles for the element instance. When undefined,\nthe element will attempt to resolve default styles from\nthe associated presentation or custom element definition.",
30330
30320
  "inheritedFrom": {
30331
- "name": "TabPanel",
30332
- "module": "src/tab-panel/tab-panel.ts"
30321
+ "name": "Tabs",
30322
+ "module": "src/tabs/tabs.ts"
30333
30323
  }
30334
30324
  },
30335
30325
  {
@@ -30342,8 +30332,8 @@
30342
30332
  }
30343
30333
  },
30344
30334
  "inheritedFrom": {
30345
- "name": "TabPanel",
30346
- "module": "src/tab-panel/tab-panel.ts"
30335
+ "name": "Tabs",
30336
+ "module": "src/tabs/tabs.ts"
30347
30337
  }
30348
30338
  },
30349
30339
  {
@@ -30373,32 +30363,42 @@
30373
30363
  ],
30374
30364
  "description": "Defines an element registry function with a set of element definition defaults.",
30375
30365
  "inheritedFrom": {
30376
- "name": "TabPanel",
30377
- "module": "src/tab-panel/tab-panel.ts"
30366
+ "name": "Tabs",
30367
+ "module": "src/tabs/tabs.ts"
30368
+ }
30369
+ }
30370
+ ],
30371
+ "events": [
30372
+ {
30373
+ "description": "Fires a custom 'change' event when a tab is clicked or during keyboard navigation",
30374
+ "name": "change",
30375
+ "inheritedFrom": {
30376
+ "name": "Tabs",
30377
+ "module": "src/tabs/tabs.ts"
30378
30378
  }
30379
30379
  }
30380
30380
  ]
30381
30381
  },
30382
30382
  {
30383
30383
  "kind": "variable",
30384
- "name": "zeroTabPanel"
30384
+ "name": "zeroTabs"
30385
30385
  }
30386
30386
  ],
30387
30387
  "exports": [
30388
30388
  {
30389
30389
  "kind": "js",
30390
- "name": "TabPanel",
30390
+ "name": "Tabs",
30391
30391
  "declaration": {
30392
- "name": "TabPanel",
30393
- "module": "src/tab-panel/tab-panel.ts"
30392
+ "name": "Tabs",
30393
+ "module": "src/tabs/tabs.ts"
30394
30394
  }
30395
30395
  },
30396
30396
  {
30397
30397
  "kind": "js",
30398
- "name": "zeroTabPanel",
30398
+ "name": "zeroTabs",
30399
30399
  "declaration": {
30400
- "name": "zeroTabPanel",
30401
- "module": "src/tab-panel/tab-panel.ts"
30400
+ "name": "zeroTabs",
30401
+ "module": "src/tabs/tabs.ts"
30402
30402
  }
30403
30403
  }
30404
30404
  ]