@genesislcap/foundation-zero 14.336.1 → 14.336.2-alpha-7eb86ca.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.
@@ -12,7 +12,7 @@
12
12
  "type": {
13
13
  "text": "object"
14
14
  },
15
- "default": "{\n zeroAccordion,\n zeroAccordionItem,\n zeroActionsMenu,\n zeroAnchor,\n zeroAnchoredRegion,\n zeroAvatar,\n zeroBadge,\n zeroBanner,\n zeroBreadcrumb,\n zeroBreadcrumbItem,\n zeroButton,\n zeroCalendar,\n zeroCard,\n zeroCategorizedMultiselect,\n zeroCheckbox,\n zeroCombobox,\n zeroConnectionIndicator,\n zeroDataGrid,\n zeroDatePicker,\n zeroDesignSystemProvider,\n zeroDialog,\n zeroDisclosure,\n zeroDivider,\n zeroDropdownMenu,\n zeroEnvironmentIndicator,\n zeroErrorBanner,\n zeroErrorBoundary,\n zeroErrorDialog,\n zeroFileReader,\n zeroFileUpload,\n zeroFilter,\n zeroFilterBar,\n zeroFlexLayout,\n zeroFlipper,\n zeroFlyout,\n zeroGridLayout,\n zeroGridLayoutItem,\n zeroHorizontalScroll,\n zeroIcon,\n zeroListbox,\n zeroListboxOption,\n zeroMenu,\n zeroMenuItem,\n zeroModal,\n zeroMultiselect,\n zeroNotificationListener,\n zeroNumberField,\n zeroProgress,\n zeroProgressRing,\n zeroRadio,\n zeroRadioGroup,\n zeroSchedulerCronBuilder,\n zeroSearchBar,\n zeroSearchBarCombobox,\n zeroSegmentedControl,\n zeroSegmentedItem,\n zeroSelect,\n zeroScheduler,\n zeroSchedulerTimezone,\n zeroSkeleton,\n zeroSlider,\n zeroSliderLabel,\n zeroSnackbar,\n zeroStackingIcons,\n zeroStatusPill,\n zeroStepper,\n zeroStepperTab,\n zeroStepperTabPanel,\n zeroSwitch,\n zeroSystemHealthOverlay,\n zeroTab,\n zeroTabPanel,\n zeroTabs,\n zeroTextArea,\n zeroTextField,\n zeroToast,\n zeroToolbar,\n zeroTooltip,\n zeroTreeItem,\n zeroTreeView,\n zeroUrlInput,\n register(container?: Container, ...rest: any[]) {\n if (!container) {\n // preserve backward compatibility with code that loops through\n // the values of this object and calls them as funcs with no args\n return;\n }\n\n for (const key in this) {\n if (key === 'register') {\n continue;\n }\n\n this[key]().register(container, ...rest);\n }\n },\n}"
15
+ "default": "{\n zeroAccordion,\n zeroAccordionItem,\n zeroActionsMenu,\n zeroAnchor,\n zeroAnchoredRegion,\n zeroAvatar,\n zeroBadge,\n zeroBanner,\n zeroBreadcrumb,\n zeroBreadcrumbItem,\n zeroButton,\n zeroCalendar,\n zeroCard,\n zeroCategorizedMultiselect,\n zeroCheckbox,\n zeroCombobox,\n zeroConnectionIndicator,\n zeroDataGrid,\n zeroDatePicker,\n zeroDesignSystemProvider,\n zeroDialog,\n zeroDisclosure,\n zeroDivider,\n zeroDropdownMenu,\n zeroEnvironmentIndicator,\n zeroErrorBanner,\n zeroErrorBoundary,\n zeroErrorDialog,\n zeroFileReader,\n zeroFileUpload,\n zeroFilter,\n zeroFilterBar,\n zeroFlexLayout,\n zeroFlipper,\n zeroFlyout,\n zeroGridLayout,\n zeroGridLayoutItem,\n zeroHorizontalScroll,\n zeroIcon,\n zeroListbox,\n zeroListboxOption,\n zeroMenu,\n zeroMenuItem,\n zeroModal,\n zeroMultiselect,\n zeroNotificationListener,\n zeroNumberField,\n zeroProgress,\n zeroProgressRing,\n zeroRadio,\n zeroRadioGroup,\n zeroSchedulerCronBuilder,\n zeroSearchBar,\n zeroSearchBarCombobox,\n zeroSegmentedControl,\n zeroSegmentedItem,\n zeroSelect,\n zeroScheduler,\n zeroSchedulerTimezone,\n zeroSkeleton,\n zeroSlider,\n zeroSliderLabel,\n zeroSnackbar,\n zeroStackingIcons,\n zeroStatusPill,\n zeroStepper,\n zeroStepperTab,\n zeroStepperTabPanel,\n zeroSwitch,\n zeroSystemHealthOverlay,\n zeroTab,\n zeroTabPanel,\n zeroTabs,\n zeroTextArea,\n zeroTextField,\n zeroToast,\n zeroToolbar,\n zeroTooltip,\n zeroTreeItem,\n zeroTreeView,\n zeroUrlInput,\n zeroSectionNavigator,\n register(container?: Container, ...rest: any[]) {\n if (!container) {\n // preserve backward compatibility with code that loops through\n // the values of this object and calls them as funcs with no args\n return;\n }\n\n for (const key in this) {\n if (key === 'register') {\n continue;\n }\n\n this[key]().register(container, ...rest);\n }\n },\n}"
16
16
  }
17
17
  ],
18
18
  "exports": [
@@ -516,6 +516,14 @@
516
516
  "package": "./search-bar"
517
517
  }
518
518
  },
519
+ {
520
+ "kind": "js",
521
+ "name": "*",
522
+ "declaration": {
523
+ "name": "*",
524
+ "package": "./section-navigator"
525
+ }
526
+ },
519
527
  {
520
528
  "kind": "js",
521
529
  "name": "*",
@@ -743,6 +751,176 @@
743
751
  }
744
752
  ]
745
753
  },
754
+ {
755
+ "kind": "javascript-module",
756
+ "path": "src/_common/colors.hex.ts",
757
+ "declarations": [],
758
+ "exports": []
759
+ },
760
+ {
761
+ "kind": "javascript-module",
762
+ "path": "src/_common/colors.ts",
763
+ "declarations": [
764
+ {
765
+ "kind": "variable",
766
+ "name": "defaultRapidTextColor"
767
+ },
768
+ {
769
+ "kind": "variable",
770
+ "name": "defaultRapidBGColor"
771
+ },
772
+ {
773
+ "kind": "variable",
774
+ "name": "defaultRapidLabelColor"
775
+ },
776
+ {
777
+ "kind": "variable",
778
+ "name": "defaultRapidActiveBGColor"
779
+ },
780
+ {
781
+ "kind": "variable",
782
+ "name": "defaultRapidBorderUnfocusedColor"
783
+ },
784
+ {
785
+ "kind": "variable",
786
+ "name": "FastAppearanceValues",
787
+ "type": {
788
+ "text": "array"
789
+ },
790
+ "default": "['accent', 'lightweight', 'neutral', 'outline', 'stealth']"
791
+ },
792
+ {
793
+ "kind": "variable",
794
+ "name": "ZeroAppearanceValues"
795
+ }
796
+ ],
797
+ "exports": [
798
+ {
799
+ "kind": "js",
800
+ "name": "defaultRapidTextColor",
801
+ "declaration": {
802
+ "name": "defaultRapidTextColor",
803
+ "module": "src/_common/colors.ts"
804
+ }
805
+ },
806
+ {
807
+ "kind": "js",
808
+ "name": "defaultRapidBGColor",
809
+ "declaration": {
810
+ "name": "defaultRapidBGColor",
811
+ "module": "src/_common/colors.ts"
812
+ }
813
+ },
814
+ {
815
+ "kind": "js",
816
+ "name": "defaultRapidLabelColor",
817
+ "declaration": {
818
+ "name": "defaultRapidLabelColor",
819
+ "module": "src/_common/colors.ts"
820
+ }
821
+ },
822
+ {
823
+ "kind": "js",
824
+ "name": "defaultRapidActiveBGColor",
825
+ "declaration": {
826
+ "name": "defaultRapidActiveBGColor",
827
+ "module": "src/_common/colors.ts"
828
+ }
829
+ },
830
+ {
831
+ "kind": "js",
832
+ "name": "defaultRapidBorderUnfocusedColor",
833
+ "declaration": {
834
+ "name": "defaultRapidBorderUnfocusedColor",
835
+ "module": "src/_common/colors.ts"
836
+ }
837
+ },
838
+ {
839
+ "kind": "js",
840
+ "name": "FastAppearanceValues",
841
+ "declaration": {
842
+ "name": "FastAppearanceValues",
843
+ "module": "src/_common/colors.ts"
844
+ }
845
+ },
846
+ {
847
+ "kind": "js",
848
+ "name": "ZeroAppearanceValues",
849
+ "declaration": {
850
+ "name": "ZeroAppearanceValues",
851
+ "module": "src/_common/colors.ts"
852
+ }
853
+ }
854
+ ]
855
+ },
856
+ {
857
+ "kind": "javascript-module",
858
+ "path": "src/_common/colors.util.ts",
859
+ "declarations": [],
860
+ "exports": []
861
+ },
862
+ {
863
+ "kind": "javascript-module",
864
+ "path": "src/_common/index.ts",
865
+ "declarations": [],
866
+ "exports": [
867
+ {
868
+ "kind": "js",
869
+ "name": "*",
870
+ "declaration": {
871
+ "name": "*",
872
+ "package": "./colors"
873
+ }
874
+ },
875
+ {
876
+ "kind": "js",
877
+ "name": "*",
878
+ "declaration": {
879
+ "name": "*",
880
+ "package": "./colors.hex"
881
+ }
882
+ },
883
+ {
884
+ "kind": "js",
885
+ "name": "*",
886
+ "declaration": {
887
+ "name": "*",
888
+ "package": "./colors.util"
889
+ }
890
+ }
891
+ ]
892
+ },
893
+ {
894
+ "kind": "javascript-module",
895
+ "path": "src/_config/index.ts",
896
+ "declarations": [],
897
+ "exports": [
898
+ {
899
+ "kind": "js",
900
+ "name": "*",
901
+ "declaration": {
902
+ "name": "*",
903
+ "package": "./styles"
904
+ }
905
+ },
906
+ {
907
+ "kind": "js",
908
+ "name": "*",
909
+ "declaration": {
910
+ "name": "*",
911
+ "package": "./tokens"
912
+ }
913
+ },
914
+ {
915
+ "kind": "js",
916
+ "name": "*",
917
+ "declaration": {
918
+ "name": "*",
919
+ "package": "./values"
920
+ }
921
+ }
922
+ ]
923
+ },
746
924
  {
747
925
  "kind": "javascript-module",
748
926
  "path": "src/accordion/accordion.styles.ts",
@@ -3867,248 +4045,78 @@
3867
4045
  },
3868
4046
  {
3869
4047
  "kind": "javascript-module",
3870
- "path": "src/_config/index.ts",
3871
- "declarations": [],
4048
+ "path": "src/avatar/avatar.styles.ts",
4049
+ "declarations": [
4050
+ {
4051
+ "kind": "function",
4052
+ "name": "zeroAvatarStyles",
4053
+ "return": {
4054
+ "type": {
4055
+ "text": "ElementStyles"
4056
+ }
4057
+ },
4058
+ "parameters": [
4059
+ {
4060
+ "name": "context",
4061
+ "type": {
4062
+ "text": "ElementDefinitionContext"
4063
+ }
4064
+ },
4065
+ {
4066
+ "name": "definition",
4067
+ "type": {
4068
+ "text": "FoundationElementDefinition"
4069
+ }
4070
+ }
4071
+ ]
4072
+ }
4073
+ ],
3872
4074
  "exports": [
3873
4075
  {
3874
4076
  "kind": "js",
3875
- "name": "*",
4077
+ "name": "zeroAvatarStyles",
3876
4078
  "declaration": {
3877
- "name": "*",
3878
- "package": "./styles"
4079
+ "name": "zeroAvatarStyles",
4080
+ "module": "src/avatar/avatar.styles.ts"
3879
4081
  }
3880
- },
4082
+ }
4083
+ ]
4084
+ },
4085
+ {
4086
+ "kind": "javascript-module",
4087
+ "path": "src/avatar/avatar.template.ts",
4088
+ "declarations": [
3881
4089
  {
3882
- "kind": "js",
3883
- "name": "*",
3884
- "declaration": {
3885
- "name": "*",
3886
- "package": "./tokens"
3887
- }
3888
- },
4090
+ "kind": "function",
4091
+ "name": "zeroAvatarTemplate",
4092
+ "return": {
4093
+ "type": {
4094
+ "text": "ViewTemplate<Avatar>"
4095
+ }
4096
+ },
4097
+ "parameters": [
4098
+ {
4099
+ "name": "context",
4100
+ "type": {
4101
+ "text": "ElementDefinitionContext"
4102
+ }
4103
+ },
4104
+ {
4105
+ "name": "definition",
4106
+ "type": {
4107
+ "text": "FoundationElementDefinition"
4108
+ }
4109
+ }
4110
+ ]
4111
+ }
4112
+ ],
4113
+ "exports": [
3889
4114
  {
3890
4115
  "kind": "js",
3891
- "name": "*",
4116
+ "name": "zeroAvatarTemplate",
3892
4117
  "declaration": {
3893
- "name": "*",
3894
- "package": "./values"
3895
- }
3896
- }
3897
- ]
3898
- },
3899
- {
3900
- "kind": "javascript-module",
3901
- "path": "src/_common/colors.hex.ts",
3902
- "declarations": [],
3903
- "exports": []
3904
- },
3905
- {
3906
- "kind": "javascript-module",
3907
- "path": "src/_common/colors.ts",
3908
- "declarations": [
3909
- {
3910
- "kind": "variable",
3911
- "name": "defaultRapidTextColor"
3912
- },
3913
- {
3914
- "kind": "variable",
3915
- "name": "defaultRapidBGColor"
3916
- },
3917
- {
3918
- "kind": "variable",
3919
- "name": "defaultRapidLabelColor"
3920
- },
3921
- {
3922
- "kind": "variable",
3923
- "name": "defaultRapidActiveBGColor"
3924
- },
3925
- {
3926
- "kind": "variable",
3927
- "name": "defaultRapidBorderUnfocusedColor"
3928
- },
3929
- {
3930
- "kind": "variable",
3931
- "name": "FastAppearanceValues",
3932
- "type": {
3933
- "text": "array"
3934
- },
3935
- "default": "['accent', 'lightweight', 'neutral', 'outline', 'stealth']"
3936
- },
3937
- {
3938
- "kind": "variable",
3939
- "name": "ZeroAppearanceValues"
3940
- }
3941
- ],
3942
- "exports": [
3943
- {
3944
- "kind": "js",
3945
- "name": "defaultRapidTextColor",
3946
- "declaration": {
3947
- "name": "defaultRapidTextColor",
3948
- "module": "src/_common/colors.ts"
3949
- }
3950
- },
3951
- {
3952
- "kind": "js",
3953
- "name": "defaultRapidBGColor",
3954
- "declaration": {
3955
- "name": "defaultRapidBGColor",
3956
- "module": "src/_common/colors.ts"
3957
- }
3958
- },
3959
- {
3960
- "kind": "js",
3961
- "name": "defaultRapidLabelColor",
3962
- "declaration": {
3963
- "name": "defaultRapidLabelColor",
3964
- "module": "src/_common/colors.ts"
3965
- }
3966
- },
3967
- {
3968
- "kind": "js",
3969
- "name": "defaultRapidActiveBGColor",
3970
- "declaration": {
3971
- "name": "defaultRapidActiveBGColor",
3972
- "module": "src/_common/colors.ts"
3973
- }
3974
- },
3975
- {
3976
- "kind": "js",
3977
- "name": "defaultRapidBorderUnfocusedColor",
3978
- "declaration": {
3979
- "name": "defaultRapidBorderUnfocusedColor",
3980
- "module": "src/_common/colors.ts"
3981
- }
3982
- },
3983
- {
3984
- "kind": "js",
3985
- "name": "FastAppearanceValues",
3986
- "declaration": {
3987
- "name": "FastAppearanceValues",
3988
- "module": "src/_common/colors.ts"
3989
- }
3990
- },
3991
- {
3992
- "kind": "js",
3993
- "name": "ZeroAppearanceValues",
3994
- "declaration": {
3995
- "name": "ZeroAppearanceValues",
3996
- "module": "src/_common/colors.ts"
3997
- }
3998
- }
3999
- ]
4000
- },
4001
- {
4002
- "kind": "javascript-module",
4003
- "path": "src/_common/colors.util.ts",
4004
- "declarations": [],
4005
- "exports": []
4006
- },
4007
- {
4008
- "kind": "javascript-module",
4009
- "path": "src/_common/index.ts",
4010
- "declarations": [],
4011
- "exports": [
4012
- {
4013
- "kind": "js",
4014
- "name": "*",
4015
- "declaration": {
4016
- "name": "*",
4017
- "package": "./colors"
4018
- }
4019
- },
4020
- {
4021
- "kind": "js",
4022
- "name": "*",
4023
- "declaration": {
4024
- "name": "*",
4025
- "package": "./colors.hex"
4026
- }
4027
- },
4028
- {
4029
- "kind": "js",
4030
- "name": "*",
4031
- "declaration": {
4032
- "name": "*",
4033
- "package": "./colors.util"
4034
- }
4035
- }
4036
- ]
4037
- },
4038
- {
4039
- "kind": "javascript-module",
4040
- "path": "src/avatar/avatar.styles.ts",
4041
- "declarations": [
4042
- {
4043
- "kind": "function",
4044
- "name": "zeroAvatarStyles",
4045
- "return": {
4046
- "type": {
4047
- "text": "ElementStyles"
4048
- }
4049
- },
4050
- "parameters": [
4051
- {
4052
- "name": "context",
4053
- "type": {
4054
- "text": "ElementDefinitionContext"
4055
- }
4056
- },
4057
- {
4058
- "name": "definition",
4059
- "type": {
4060
- "text": "FoundationElementDefinition"
4061
- }
4062
- }
4063
- ]
4064
- }
4065
- ],
4066
- "exports": [
4067
- {
4068
- "kind": "js",
4069
- "name": "zeroAvatarStyles",
4070
- "declaration": {
4071
- "name": "zeroAvatarStyles",
4072
- "module": "src/avatar/avatar.styles.ts"
4073
- }
4074
- }
4075
- ]
4076
- },
4077
- {
4078
- "kind": "javascript-module",
4079
- "path": "src/avatar/avatar.template.ts",
4080
- "declarations": [
4081
- {
4082
- "kind": "function",
4083
- "name": "zeroAvatarTemplate",
4084
- "return": {
4085
- "type": {
4086
- "text": "ViewTemplate<Avatar>"
4087
- }
4088
- },
4089
- "parameters": [
4090
- {
4091
- "name": "context",
4092
- "type": {
4093
- "text": "ElementDefinitionContext"
4094
- }
4095
- },
4096
- {
4097
- "name": "definition",
4098
- "type": {
4099
- "text": "FoundationElementDefinition"
4100
- }
4101
- }
4102
- ]
4103
- }
4104
- ],
4105
- "exports": [
4106
- {
4107
- "kind": "js",
4108
- "name": "zeroAvatarTemplate",
4109
- "declaration": {
4110
- "name": "zeroAvatarTemplate",
4111
- "module": "src/avatar/avatar.template.ts"
4118
+ "name": "zeroAvatarTemplate",
4119
+ "module": "src/avatar/avatar.template.ts"
4112
4120
  }
4113
4121
  }
4114
4122
  ]
@@ -28512,6 +28520,725 @@
28512
28520
  }
28513
28521
  ]
28514
28522
  },
28523
+ {
28524
+ "kind": "javascript-module",
28525
+ "path": "src/section-navigator/index.ts",
28526
+ "declarations": [],
28527
+ "exports": [
28528
+ {
28529
+ "kind": "js",
28530
+ "name": "*",
28531
+ "declaration": {
28532
+ "name": "*",
28533
+ "package": "./section-navigator"
28534
+ }
28535
+ },
28536
+ {
28537
+ "kind": "js",
28538
+ "name": "*",
28539
+ "declaration": {
28540
+ "name": "*",
28541
+ "package": "./section-navigator.styles"
28542
+ }
28543
+ },
28544
+ {
28545
+ "kind": "js",
28546
+ "name": "*",
28547
+ "declaration": {
28548
+ "name": "*",
28549
+ "package": "./section-navigator.template"
28550
+ }
28551
+ }
28552
+ ]
28553
+ },
28554
+ {
28555
+ "kind": "javascript-module",
28556
+ "path": "src/section-navigator/section-navigator.styles.ts",
28557
+ "declarations": [
28558
+ {
28559
+ "kind": "function",
28560
+ "name": "zeroSectionNavigatorStyles",
28561
+ "parameters": [
28562
+ {
28563
+ "name": "context",
28564
+ "type": {
28565
+ "text": "ElementDefinitionContext"
28566
+ }
28567
+ },
28568
+ {
28569
+ "name": "definition",
28570
+ "type": {
28571
+ "text": "FoundationElementDefinition"
28572
+ }
28573
+ }
28574
+ ]
28575
+ }
28576
+ ],
28577
+ "exports": [
28578
+ {
28579
+ "kind": "js",
28580
+ "name": "zeroSectionNavigatorStyles",
28581
+ "declaration": {
28582
+ "name": "zeroSectionNavigatorStyles",
28583
+ "module": "src/section-navigator/section-navigator.styles.ts"
28584
+ }
28585
+ }
28586
+ ]
28587
+ },
28588
+ {
28589
+ "kind": "javascript-module",
28590
+ "path": "src/section-navigator/section-navigator.template.ts",
28591
+ "declarations": [
28592
+ {
28593
+ "kind": "variable",
28594
+ "name": "zeroSectionNavigatorTemplate",
28595
+ "type": {
28596
+ "text": "ViewTemplate<SectionNavigator>"
28597
+ },
28598
+ "default": "html<SectionNavigator>`\n <template>\n <div class=\"section-navigator-container\" part=\"container\" ${ref('sectionNavigatorContainer')}>\n <nav class=\"section-navigation\" part=\"navigation\">\n ${repeat(\n (x) => x.sectionItems,\n html`\n <zero-button\n class=\"section-link ${(x, c) =>\n c.parent.activeSection === x.name ? 'active' : ''} ${(x, c) =>\n c.parent.getSectionStateClass(x)}\"\n part=\"section-link ${(x, c) => c.parent.getSectionStateClass(x)}\"\n @click=\"${(x, c) => c.parent.handleSectionClick(x.name)}\"\n >\n ${(x) => x.label}\n ${repeat(\n (x) => x.states,\n html`\n <zero-icon\n class=\"state-icon\"\n part=\"state-icon\"\n title=\"${(stateName, ctx: ExecutionContext<SectionNavigator>) =>\n ctx.parentContext.parent.getStateTooltip(stateName)}\"\n data-state=\"${(stateName) => stateName}\"\n name=\"${(stateName, ctx: ExecutionContext<SectionNavigator>) =>\n ctx.parentContext.parent.getStateIcon(stateName).name}\"\n variant=\"${(stateName, ctx: ExecutionContext<SectionNavigator>) =>\n ctx.parentContext.parent.getStateIcon(stateName).variant}\"\n ></zero-icon>\n `,\n )}\n </zero-button>\n `,\n )}\n </nav>\n <div class=\"section-content-wrapper\" part=\"content-wrapper\">\n <section class=\"section-content\" part=\"content\" ${ref('sectionContent')}>\n ${repeat(\n (x) => x.sectionItems,\n html`\n <div class=\"content-section\" part=\"content-section\" data-section=\"${(x) => x.name}\">\n <slot name=\"${(x) => x.name}\"></slot>\n </div>\n `,\n )}\n </section>\n </div>\n </div>\n </template>\n`"
28599
+ }
28600
+ ],
28601
+ "exports": [
28602
+ {
28603
+ "kind": "js",
28604
+ "name": "zeroSectionNavigatorTemplate",
28605
+ "declaration": {
28606
+ "name": "zeroSectionNavigatorTemplate",
28607
+ "module": "src/section-navigator/section-navigator.template.ts"
28608
+ }
28609
+ }
28610
+ ]
28611
+ },
28612
+ {
28613
+ "kind": "javascript-module",
28614
+ "path": "src/section-navigator/section-navigator.ts",
28615
+ "declarations": [
28616
+ {
28617
+ "kind": "class",
28618
+ "description": "",
28619
+ "name": "SectionNavigator",
28620
+ "superclass": {
28621
+ "name": "FoundationSectionNavigator",
28622
+ "package": "@genesislcap/foundation-ui"
28623
+ },
28624
+ "tagName": "%%prefix%%-section-navigator",
28625
+ "customElement": true,
28626
+ "attributes": [
28627
+ {
28628
+ "description": "Array of section items to display",
28629
+ "name": "sections",
28630
+ "inheritedFrom": {
28631
+ "name": "SectionNavigator",
28632
+ "module": "src/section-navigator/section-navigator.ts"
28633
+ }
28634
+ },
28635
+ {
28636
+ "name": "scroll-behavior",
28637
+ "type": {
28638
+ "text": "'view' | 'top'"
28639
+ },
28640
+ "default": "'top'",
28641
+ "fieldName": "scrollBehavior",
28642
+ "description": "Scroll behavior: 'view' or 'top' (default: 'top')",
28643
+ "inheritedFrom": {
28644
+ "name": "SectionNavigator",
28645
+ "module": "src/section-navigator/section-navigator.ts"
28646
+ }
28647
+ },
28648
+ {
28649
+ "name": "state-tooltips",
28650
+ "type": {
28651
+ "text": "Record<SectionItemStateName, string>"
28652
+ },
28653
+ "default": "DEFAULT_SECTION_STATES_TOOLTIPS",
28654
+ "resolveInitializer": {
28655
+ "module": "src/section-navigator/section-navigator.ts"
28656
+ },
28657
+ "fieldName": "stateTooltips",
28658
+ "description": "Custom tooltips for state icons",
28659
+ "inheritedFrom": {
28660
+ "name": "SectionNavigator",
28661
+ "module": "src/section-navigator/section-navigator.ts"
28662
+ }
28663
+ },
28664
+ {
28665
+ "name": "state-icons",
28666
+ "type": {
28667
+ "text": "Record<SectionItemStateName, SectionItemStateIcon>"
28668
+ },
28669
+ "default": "DEFAULT_SECTION_STATES_ICONS",
28670
+ "resolveInitializer": {
28671
+ "module": "src/section-navigator/section-navigator.ts"
28672
+ },
28673
+ "fieldName": "stateIcons",
28674
+ "description": "Custom icons for state types",
28675
+ "inheritedFrom": {
28676
+ "name": "SectionNavigator",
28677
+ "module": "src/section-navigator/section-navigator.ts"
28678
+ }
28679
+ }
28680
+ ],
28681
+ "members": [
28682
+ {
28683
+ "kind": "field",
28684
+ "name": "sections",
28685
+ "type": {
28686
+ "text": "SectionItem[]"
28687
+ },
28688
+ "default": "[]",
28689
+ "inheritedFrom": {
28690
+ "name": "SectionNavigator",
28691
+ "module": "src/section-navigator/section-navigator.ts"
28692
+ }
28693
+ },
28694
+ {
28695
+ "kind": "field",
28696
+ "name": "scrollBehavior",
28697
+ "type": {
28698
+ "text": "'view' | 'top'"
28699
+ },
28700
+ "default": "'top'",
28701
+ "inheritedFrom": {
28702
+ "name": "SectionNavigator",
28703
+ "module": "src/section-navigator/section-navigator.ts"
28704
+ }
28705
+ },
28706
+ {
28707
+ "kind": "field",
28708
+ "name": "stateTooltips",
28709
+ "type": {
28710
+ "text": "Record<SectionItemStateName, string>"
28711
+ },
28712
+ "default": "{\n active: 'Active',\n inactive: 'Inactive',\n pending: 'Pending',\n disabled: 'Disabled',\n error: 'Error',\n completed: 'Completed',\n}",
28713
+ "inheritedFrom": {
28714
+ "name": "SectionNavigator",
28715
+ "module": "src/section-navigator/section-navigator.ts"
28716
+ }
28717
+ },
28718
+ {
28719
+ "kind": "field",
28720
+ "name": "stateIcons",
28721
+ "type": {
28722
+ "text": "Record<SectionItemStateName, SectionItemStateIcon>"
28723
+ },
28724
+ "default": "{\n active: {\n name: 'circle-dot',\n variant: 'solid',\n },\n inactive: {\n name: 'times-circle',\n variant: 'regular',\n },\n pending: {\n name: 'clock',\n variant: 'solid',\n },\n disabled: {\n name: 'ban',\n variant: 'solid',\n },\n error: {\n name: 'times',\n variant: 'solid',\n },\n completed: {\n name: 'check',\n variant: 'solid',\n },\n}",
28725
+ "inheritedFrom": {
28726
+ "name": "SectionNavigator",
28727
+ "module": "src/section-navigator/section-navigator.ts"
28728
+ }
28729
+ },
28730
+ {
28731
+ "kind": "field",
28732
+ "name": "handleSetStateRef",
28733
+ "type": {
28734
+ "text": "(event: CustomEvent<SetStateEventDetail>) => void | undefined"
28735
+ },
28736
+ "privacy": "private",
28737
+ "inheritedFrom": {
28738
+ "name": "SectionNavigator",
28739
+ "module": "src/section-navigator/section-navigator.ts"
28740
+ }
28741
+ },
28742
+ {
28743
+ "kind": "field",
28744
+ "name": "handleSetStatesRef",
28745
+ "type": {
28746
+ "text": "(event: CustomEvent<SetStatesEventDetail>) => void | undefined"
28747
+ },
28748
+ "privacy": "private",
28749
+ "inheritedFrom": {
28750
+ "name": "SectionNavigator",
28751
+ "module": "src/section-navigator/section-navigator.ts"
28752
+ }
28753
+ },
28754
+ {
28755
+ "kind": "field",
28756
+ "name": "handleClearStateRef",
28757
+ "type": {
28758
+ "text": "(event: CustomEvent<ClearStateEventDetail>) => void | undefined"
28759
+ },
28760
+ "privacy": "private",
28761
+ "inheritedFrom": {
28762
+ "name": "SectionNavigator",
28763
+ "module": "src/section-navigator/section-navigator.ts"
28764
+ }
28765
+ },
28766
+ {
28767
+ "kind": "field",
28768
+ "name": "handleClearAllStatesRef",
28769
+ "type": {
28770
+ "text": "(event: CustomEvent<ClearAllStatesEventDetail>) => void | undefined"
28771
+ },
28772
+ "privacy": "private",
28773
+ "inheritedFrom": {
28774
+ "name": "SectionNavigator",
28775
+ "module": "src/section-navigator/section-navigator.ts"
28776
+ }
28777
+ },
28778
+ {
28779
+ "kind": "method",
28780
+ "name": "sectionsChanged",
28781
+ "inheritedFrom": {
28782
+ "name": "SectionNavigator",
28783
+ "module": "src/section-navigator/section-navigator.ts"
28784
+ }
28785
+ },
28786
+ {
28787
+ "kind": "method",
28788
+ "name": "scrollBehaviorChanged",
28789
+ "inheritedFrom": {
28790
+ "name": "SectionNavigator",
28791
+ "module": "src/section-navigator/section-navigator.ts"
28792
+ }
28793
+ },
28794
+ {
28795
+ "kind": "field",
28796
+ "name": "sectionItems",
28797
+ "type": {
28798
+ "text": "SectionItem[]"
28799
+ },
28800
+ "default": "[]",
28801
+ "inheritedFrom": {
28802
+ "name": "SectionNavigator",
28803
+ "module": "src/section-navigator/section-navigator.ts"
28804
+ }
28805
+ },
28806
+ {
28807
+ "kind": "field",
28808
+ "name": "activeSection",
28809
+ "type": {
28810
+ "text": "string"
28811
+ },
28812
+ "default": "''",
28813
+ "inheritedFrom": {
28814
+ "name": "SectionNavigator",
28815
+ "module": "src/section-navigator/section-navigator.ts"
28816
+ }
28817
+ },
28818
+ {
28819
+ "kind": "field",
28820
+ "name": "sectionNavigatorContainer",
28821
+ "type": {
28822
+ "text": "HTMLElement"
28823
+ },
28824
+ "inheritedFrom": {
28825
+ "name": "SectionNavigator",
28826
+ "module": "src/section-navigator/section-navigator.ts"
28827
+ }
28828
+ },
28829
+ {
28830
+ "kind": "field",
28831
+ "name": "sectionContent",
28832
+ "type": {
28833
+ "text": "HTMLElement"
28834
+ },
28835
+ "inheritedFrom": {
28836
+ "name": "SectionNavigator",
28837
+ "module": "src/section-navigator/section-navigator.ts"
28838
+ }
28839
+ },
28840
+ {
28841
+ "kind": "field",
28842
+ "name": "spacerElement",
28843
+ "type": {
28844
+ "text": "HTMLElement"
28845
+ },
28846
+ "inheritedFrom": {
28847
+ "name": "SectionNavigator",
28848
+ "module": "src/section-navigator/section-navigator.ts"
28849
+ }
28850
+ },
28851
+ {
28852
+ "kind": "method",
28853
+ "name": "setSectionItems",
28854
+ "privacy": "private",
28855
+ "inheritedFrom": {
28856
+ "name": "SectionNavigator",
28857
+ "module": "src/section-navigator/section-navigator.ts"
28858
+ }
28859
+ },
28860
+ {
28861
+ "kind": "method",
28862
+ "name": "setActiveSection",
28863
+ "privacy": "private",
28864
+ "inheritedFrom": {
28865
+ "name": "SectionNavigator",
28866
+ "module": "src/section-navigator/section-navigator.ts"
28867
+ }
28868
+ },
28869
+ {
28870
+ "kind": "method",
28871
+ "name": "handleSectionClick",
28872
+ "privacy": "public",
28873
+ "parameters": [
28874
+ {
28875
+ "name": "sectionName",
28876
+ "type": {
28877
+ "text": "string"
28878
+ }
28879
+ }
28880
+ ],
28881
+ "inheritedFrom": {
28882
+ "name": "SectionNavigator",
28883
+ "module": "src/section-navigator/section-navigator.ts"
28884
+ }
28885
+ },
28886
+ {
28887
+ "kind": "method",
28888
+ "name": "updateSpacer",
28889
+ "privacy": "private",
28890
+ "inheritedFrom": {
28891
+ "name": "SectionNavigator",
28892
+ "module": "src/section-navigator/section-navigator.ts"
28893
+ }
28894
+ },
28895
+ {
28896
+ "kind": "method",
28897
+ "name": "scrollToSection",
28898
+ "privacy": "private",
28899
+ "parameters": [
28900
+ {
28901
+ "name": "sectionName",
28902
+ "type": {
28903
+ "text": "string"
28904
+ }
28905
+ }
28906
+ ],
28907
+ "inheritedFrom": {
28908
+ "name": "SectionNavigator",
28909
+ "module": "src/section-navigator/section-navigator.ts"
28910
+ }
28911
+ },
28912
+ {
28913
+ "kind": "method",
28914
+ "name": "setupStateEventListeners",
28915
+ "privacy": "private",
28916
+ "inheritedFrom": {
28917
+ "name": "SectionNavigator",
28918
+ "module": "src/section-navigator/section-navigator.ts"
28919
+ }
28920
+ },
28921
+ {
28922
+ "kind": "method",
28923
+ "name": "updateSectionStates",
28924
+ "privacy": "private",
28925
+ "parameters": [
28926
+ {
28927
+ "name": "sectionName",
28928
+ "type": {
28929
+ "text": "string"
28930
+ }
28931
+ },
28932
+ {
28933
+ "name": "newStates",
28934
+ "type": {
28935
+ "text": "SectionItemStateName[]"
28936
+ }
28937
+ }
28938
+ ],
28939
+ "inheritedFrom": {
28940
+ "name": "SectionNavigator",
28941
+ "module": "src/section-navigator/section-navigator.ts"
28942
+ }
28943
+ },
28944
+ {
28945
+ "kind": "method",
28946
+ "name": "addState",
28947
+ "privacy": "private",
28948
+ "parameters": [
28949
+ {
28950
+ "name": "sectionName",
28951
+ "type": {
28952
+ "text": "string"
28953
+ }
28954
+ },
28955
+ {
28956
+ "name": "stateName",
28957
+ "type": {
28958
+ "text": "SectionItemStateName"
28959
+ }
28960
+ }
28961
+ ],
28962
+ "inheritedFrom": {
28963
+ "name": "SectionNavigator",
28964
+ "module": "src/section-navigator/section-navigator.ts"
28965
+ }
28966
+ },
28967
+ {
28968
+ "kind": "method",
28969
+ "name": "addStates",
28970
+ "privacy": "private",
28971
+ "parameters": [
28972
+ {
28973
+ "name": "sectionName",
28974
+ "type": {
28975
+ "text": "string"
28976
+ }
28977
+ },
28978
+ {
28979
+ "name": "stateNames",
28980
+ "type": {
28981
+ "text": "SectionItemStateName[]"
28982
+ }
28983
+ }
28984
+ ],
28985
+ "inheritedFrom": {
28986
+ "name": "SectionNavigator",
28987
+ "module": "src/section-navigator/section-navigator.ts"
28988
+ }
28989
+ },
28990
+ {
28991
+ "kind": "method",
28992
+ "name": "clearState",
28993
+ "privacy": "private",
28994
+ "parameters": [
28995
+ {
28996
+ "name": "sectionName",
28997
+ "type": {
28998
+ "text": "string"
28999
+ }
29000
+ },
29001
+ {
29002
+ "name": "stateName",
29003
+ "type": {
29004
+ "text": "SectionItemStateName"
29005
+ }
29006
+ }
29007
+ ],
29008
+ "inheritedFrom": {
29009
+ "name": "SectionNavigator",
29010
+ "module": "src/section-navigator/section-navigator.ts"
29011
+ }
29012
+ },
29013
+ {
29014
+ "kind": "method",
29015
+ "name": "clearAllStates",
29016
+ "privacy": "private",
29017
+ "parameters": [
29018
+ {
29019
+ "name": "sectionName",
29020
+ "type": {
29021
+ "text": "string"
29022
+ }
29023
+ }
29024
+ ],
29025
+ "inheritedFrom": {
29026
+ "name": "SectionNavigator",
29027
+ "module": "src/section-navigator/section-navigator.ts"
29028
+ }
29029
+ },
29030
+ {
29031
+ "kind": "method",
29032
+ "name": "clearAllStatesInAllSections",
29033
+ "privacy": "private",
29034
+ "inheritedFrom": {
29035
+ "name": "SectionNavigator",
29036
+ "module": "src/section-navigator/section-navigator.ts"
29037
+ }
29038
+ },
29039
+ {
29040
+ "kind": "method",
29041
+ "name": "getStateTooltip",
29042
+ "privacy": "public",
29043
+ "return": {
29044
+ "type": {
29045
+ "text": "string"
29046
+ }
29047
+ },
29048
+ "parameters": [
29049
+ {
29050
+ "name": "stateName",
29051
+ "type": {
29052
+ "text": "SectionItemStateName"
29053
+ }
29054
+ }
29055
+ ],
29056
+ "inheritedFrom": {
29057
+ "name": "SectionNavigator",
29058
+ "module": "src/section-navigator/section-navigator.ts"
29059
+ }
29060
+ },
29061
+ {
29062
+ "kind": "method",
29063
+ "name": "getSectionStateClass",
29064
+ "privacy": "public",
29065
+ "return": {
29066
+ "type": {
29067
+ "text": "string"
29068
+ }
29069
+ },
29070
+ "parameters": [
29071
+ {
29072
+ "name": "section",
29073
+ "type": {
29074
+ "text": "SectionItem"
29075
+ }
29076
+ }
29077
+ ],
29078
+ "inheritedFrom": {
29079
+ "name": "SectionNavigator",
29080
+ "module": "src/section-navigator/section-navigator.ts"
29081
+ }
29082
+ },
29083
+ {
29084
+ "kind": "method",
29085
+ "name": "getStateIcon",
29086
+ "privacy": "public",
29087
+ "return": {
29088
+ "type": {
29089
+ "text": "SectionItemStateIcon"
29090
+ }
29091
+ },
29092
+ "parameters": [
29093
+ {
29094
+ "name": "stateName",
29095
+ "type": {
29096
+ "text": "SectionItemStateName"
29097
+ }
29098
+ }
29099
+ ],
29100
+ "inheritedFrom": {
29101
+ "name": "SectionNavigator",
29102
+ "module": "src/section-navigator/section-navigator.ts"
29103
+ }
29104
+ },
29105
+ {
29106
+ "kind": "field",
29107
+ "name": "_presentation",
29108
+ "type": {
29109
+ "text": "ComponentPresentation | null | undefined"
29110
+ },
29111
+ "privacy": "private",
29112
+ "default": "void 0",
29113
+ "inheritedFrom": {
29114
+ "name": "FoundationElement",
29115
+ "module": "src/foundation-element/foundation-element.ts"
29116
+ }
29117
+ },
29118
+ {
29119
+ "kind": "field",
29120
+ "name": "$presentation",
29121
+ "type": {
29122
+ "text": "ComponentPresentation | null"
29123
+ },
29124
+ "privacy": "public",
29125
+ "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
29126
+ "inheritedFrom": {
29127
+ "name": "FoundationElement",
29128
+ "module": "src/foundation-element/foundation-element.ts"
29129
+ }
29130
+ },
29131
+ {
29132
+ "kind": "field",
29133
+ "name": "template",
29134
+ "type": {
29135
+ "text": "ElementViewTemplate | void | null"
29136
+ },
29137
+ "privacy": "public",
29138
+ "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.",
29139
+ "inheritedFrom": {
29140
+ "name": "FoundationElement",
29141
+ "module": "src/foundation-element/foundation-element.ts"
29142
+ }
29143
+ },
29144
+ {
29145
+ "kind": "method",
29146
+ "name": "templateChanged",
29147
+ "privacy": "protected",
29148
+ "return": {
29149
+ "type": {
29150
+ "text": "void"
29151
+ }
29152
+ },
29153
+ "inheritedFrom": {
29154
+ "name": "FoundationElement",
29155
+ "module": "src/foundation-element/foundation-element.ts"
29156
+ }
29157
+ },
29158
+ {
29159
+ "kind": "field",
29160
+ "name": "styles",
29161
+ "type": {
29162
+ "text": "ElementStyles | void | null"
29163
+ },
29164
+ "privacy": "public",
29165
+ "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.",
29166
+ "inheritedFrom": {
29167
+ "name": "FoundationElement",
29168
+ "module": "src/foundation-element/foundation-element.ts"
29169
+ }
29170
+ },
29171
+ {
29172
+ "kind": "method",
29173
+ "name": "stylesChanged",
29174
+ "privacy": "protected",
29175
+ "return": {
29176
+ "type": {
29177
+ "text": "void"
29178
+ }
29179
+ },
29180
+ "inheritedFrom": {
29181
+ "name": "FoundationElement",
29182
+ "module": "src/foundation-element/foundation-element.ts"
29183
+ }
29184
+ },
29185
+ {
29186
+ "kind": "method",
29187
+ "name": "compose",
29188
+ "privacy": "public",
29189
+ "static": true,
29190
+ "return": {
29191
+ "type": {
29192
+ "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
29193
+ }
29194
+ },
29195
+ "parameters": [
29196
+ {
29197
+ "name": "this",
29198
+ "type": {
29199
+ "text": "K"
29200
+ }
29201
+ },
29202
+ {
29203
+ "name": "elementDefinition",
29204
+ "type": {
29205
+ "text": "T"
29206
+ },
29207
+ "description": "The definition of the element to create the registry\nfunction for."
29208
+ }
29209
+ ],
29210
+ "description": "Defines an element registry function with a set of element definition defaults.",
29211
+ "inheritedFrom": {
29212
+ "name": "FoundationElement",
29213
+ "module": "src/foundation-element/foundation-element.ts"
29214
+ }
29215
+ }
29216
+ ]
29217
+ },
29218
+ {
29219
+ "kind": "variable",
29220
+ "name": "zeroSectionNavigator"
29221
+ }
29222
+ ],
29223
+ "exports": [
29224
+ {
29225
+ "kind": "js",
29226
+ "name": "SectionNavigator",
29227
+ "declaration": {
29228
+ "name": "SectionNavigator",
29229
+ "module": "src/section-navigator/section-navigator.ts"
29230
+ }
29231
+ },
29232
+ {
29233
+ "kind": "js",
29234
+ "name": "zeroSectionNavigator",
29235
+ "declaration": {
29236
+ "name": "zeroSectionNavigator",
29237
+ "module": "src/section-navigator/section-navigator.ts"
29238
+ }
29239
+ }
29240
+ ]
29241
+ },
28515
29242
  {
28516
29243
  "kind": "javascript-module",
28517
29244
  "path": "src/segmented-control/index.ts",