@genesislcap/rapid-design-system 14.493.1-alpha-8ff3328.0 → 14.494.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 designSystemProvider,\n rapidAccordion,\n rapidAccordionItem,\n rapidAiCriteriaSearch,\n rapidAiIndicator,\n rapidActionsMenu,\n rapidAnchor,\n rapidSectionNavigator,\n rapidAnchoredRegion,\n rapidAvatar,\n rapidBadge,\n rapidBanner,\n rapidBreadcrumb,\n rapidBreadcrumbItem,\n rapidButton,\n rapidCalendar,\n rapidCard,\n rapidCategorizedMultiselect,\n rapidCheckbox,\n rapidCombobox,\n rapidConnectionIndicator,\n rapidDataGrid,\n rapidDataGridCell,\n rapidDataGridRow,\n rapidDatePicker,\n rapidDialog,\n rapidDisclosure,\n rapidDivider,\n rapidDropdownMenu,\n rapidEnvironmentIndicator,\n rapidErrorBoundary,\n rapidFileReader,\n rapidFileUpload,\n rapidFilter,\n rapidFilterBar,\n rapidFlexLayout,\n rapidFlipper,\n rapidFlyout,\n rapidGridLayout,\n rapidGridLayoutItem,\n rapidHorizontalScroll,\n rapidIcon,\n rapidListbox,\n rapidListboxOption,\n rapidMenu,\n rapidMenuItem,\n rapidModal,\n rapidMultiselect,\n rapidNotificationListener,\n rapidNumberField,\n rapidOptgroup,\n rapidPill,\n rapidProgress,\n rapidProgressRing,\n rapidRadio,\n rapidRadioGroup,\n rapidScheduler,\n rapidSchedulerCronBuilder,\n rapidSchedulerTimezone,\n rapidSearchBar,\n rapidSearchBarCombobox,\n rapidSegmentedControl,\n rapidSegmentedItem,\n rapidSelect,\n rapidSkeleton,\n rapidSlider,\n rapidSliderLabel,\n rapidSnackbar,\n rapidStackingIcons,\n rapidStatusPill,\n rapidStepper,\n rapidStepperTab,\n rapidStepperTabPanel,\n rapidSwitch,\n rapidSystemHealthOverlay,\n rapidTab,\n rapidTabPanel,\n rapidTabs,\n rapidTextArea,\n rapidTextField,\n rapidToast,\n rapidToolbar,\n rapidTooltip,\n rapidTreeItem,\n rapidTreeView,\n rapidUrlInput,\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 designSystemProvider,\n rapidAccordion,\n rapidAccordionItem,\n rapidAiCriteriaSearch,\n rapidAiIndicator,\n rapidActionsMenu,\n rapidAnchor,\n rapidSectionNavigator,\n rapidAnchoredRegion,\n rapidAvatar,\n rapidBadge,\n rapidBanner,\n rapidBreadcrumb,\n rapidBreadcrumbItem,\n rapidButton,\n rapidCalendar,\n rapidCard,\n rapidCategorizedMultiselect,\n rapidCheckbox,\n rapidCombobox,\n rapidConnectionIndicator,\n rapidDataGrid,\n rapidDataGridCell,\n rapidDataGridRow,\n rapidDatePicker,\n rapidDialog,\n rapidDisclosure,\n rapidDivider,\n rapidDropdownMenu,\n rapidEnvironmentIndicator,\n rapidErrorBoundary,\n rapidFileReader,\n rapidFileUpload,\n rapidFilter,\n rapidFilterBar,\n rapidFlexLayout,\n rapidFlipper,\n rapidFlyout,\n rapidGridLayout,\n rapidGridLayoutItem,\n rapidHorizontalScroll,\n rapidIcon,\n rapidListbox,\n rapidListboxOption,\n rapidMenu,\n rapidMenuItem,\n rapidModal,\n rapidMultiselect,\n rapidNotificationListener,\n rapidNumberField,\n rapidOptgroup,\n rapidProgress,\n rapidProgressRing,\n rapidRadio,\n rapidRadioGroup,\n rapidScheduler,\n rapidSchedulerCronBuilder,\n rapidSchedulerTimezone,\n rapidSearchBar,\n rapidSearchBarCombobox,\n rapidSegmentedControl,\n rapidSegmentedItem,\n rapidSelect,\n rapidSkeleton,\n rapidSlider,\n rapidSliderLabel,\n rapidSnackbar,\n rapidStackingIcons,\n rapidStatusPill,\n rapidStepper,\n rapidStepperTab,\n rapidStepperTabPanel,\n rapidSwitch,\n rapidSystemHealthOverlay,\n rapidTab,\n rapidTabPanel,\n rapidTabs,\n rapidTextArea,\n rapidTextField,\n rapidToast,\n rapidToolbar,\n rapidTooltip,\n rapidTreeItem,\n rapidTreeView,\n rapidUrlInput,\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": [
@@ -476,14 +476,6 @@
476
476
  "package": "./number-field"
477
477
  }
478
478
  },
479
- {
480
- "kind": "js",
481
- "name": "*",
482
- "declaration": {
483
- "name": "*",
484
- "package": "./pill"
485
- }
486
- },
487
479
  {
488
480
  "kind": "js",
489
481
  "name": "*",
@@ -878,11 +870,11 @@
878
870
  },
879
871
  {
880
872
  "kind": "javascript-module",
881
- "path": "src/accordion-item/accordion-item.styles.ts",
873
+ "path": "src/accordion/accordion.styles.ts",
882
874
  "declarations": [
883
875
  {
884
876
  "kind": "function",
885
- "name": "rapidAccordionItemStyles",
877
+ "name": "rapidAccordionStyles",
886
878
  "return": {
887
879
  "type": {
888
880
  "text": "ElementStyles"
@@ -907,24 +899,24 @@
907
899
  "exports": [
908
900
  {
909
901
  "kind": "js",
910
- "name": "rapidAccordionItemStyles",
902
+ "name": "rapidAccordionStyles",
911
903
  "declaration": {
912
- "name": "rapidAccordionItemStyles",
913
- "module": "src/accordion-item/accordion-item.styles.ts"
904
+ "name": "rapidAccordionStyles",
905
+ "module": "src/accordion/accordion.styles.ts"
914
906
  }
915
907
  }
916
908
  ]
917
909
  },
918
910
  {
919
911
  "kind": "javascript-module",
920
- "path": "src/accordion-item/accordion-item.template.ts",
912
+ "path": "src/accordion/accordion.template.ts",
921
913
  "declarations": [
922
914
  {
923
915
  "kind": "function",
924
- "name": "rapidAccordionItemTemplate",
916
+ "name": "rapidAccordionTemplate",
925
917
  "return": {
926
918
  "type": {
927
- "text": "ViewTemplate<AccordionItem>"
919
+ "text": "ViewTemplate<Accordion>"
928
920
  }
929
921
  },
930
922
  "parameters": [
@@ -946,56 +938,56 @@
946
938
  "exports": [
947
939
  {
948
940
  "kind": "js",
949
- "name": "rapidAccordionItemTemplate",
941
+ "name": "rapidAccordionTemplate",
950
942
  "declaration": {
951
- "name": "rapidAccordionItemTemplate",
952
- "module": "src/accordion-item/accordion-item.template.ts"
943
+ "name": "rapidAccordionTemplate",
944
+ "module": "src/accordion/accordion.template.ts"
953
945
  }
954
946
  }
955
947
  ]
956
948
  },
957
949
  {
958
950
  "kind": "javascript-module",
959
- "path": "src/accordion-item/accordion-item.ts",
951
+ "path": "src/accordion/accordion.ts",
960
952
  "declarations": [
961
953
  {
962
954
  "kind": "class",
963
955
  "description": "",
964
- "name": "AccordionItem",
956
+ "name": "Accordion",
965
957
  "superclass": {
966
- "name": "foundationAccordionItem",
958
+ "name": "foundationAccordion",
967
959
  "package": "@genesislcap/foundation-ui"
968
960
  },
969
- "tagName": "%%prefix%%-accordion-item",
961
+ "tagName": "%%prefix%%-accordion",
970
962
  "customElement": true
971
963
  },
972
964
  {
973
965
  "kind": "variable",
974
- "name": "rapidAccordionItem"
966
+ "name": "rapidAccordion"
975
967
  }
976
968
  ],
977
969
  "exports": [
978
970
  {
979
971
  "kind": "js",
980
- "name": "AccordionItem",
972
+ "name": "Accordion",
981
973
  "declaration": {
982
- "name": "AccordionItem",
983
- "module": "src/accordion-item/accordion-item.ts"
974
+ "name": "Accordion",
975
+ "module": "src/accordion/accordion.ts"
984
976
  }
985
977
  },
986
978
  {
987
979
  "kind": "js",
988
- "name": "rapidAccordionItem",
980
+ "name": "rapidAccordion",
989
981
  "declaration": {
990
- "name": "rapidAccordionItem",
991
- "module": "src/accordion-item/accordion-item.ts"
982
+ "name": "rapidAccordion",
983
+ "module": "src/accordion/accordion.ts"
992
984
  }
993
985
  }
994
986
  ]
995
987
  },
996
988
  {
997
989
  "kind": "javascript-module",
998
- "path": "src/accordion-item/index.ts",
990
+ "path": "src/accordion/index.ts",
999
991
  "declarations": [],
1000
992
  "exports": [
1001
993
  {
@@ -1003,7 +995,7 @@
1003
995
  "name": "*",
1004
996
  "declaration": {
1005
997
  "name": "*",
1006
- "package": "./accordion-item"
998
+ "package": "./accordion"
1007
999
  }
1008
1000
  },
1009
1001
  {
@@ -1011,7 +1003,7 @@
1011
1003
  "name": "*",
1012
1004
  "declaration": {
1013
1005
  "name": "*",
1014
- "package": "./accordion-item.styles"
1006
+ "package": "./accordion.styles"
1015
1007
  }
1016
1008
  },
1017
1009
  {
@@ -1019,18 +1011,18 @@
1019
1011
  "name": "*",
1020
1012
  "declaration": {
1021
1013
  "name": "*",
1022
- "package": "./accordion-item.template"
1014
+ "package": "./accordion.template"
1023
1015
  }
1024
1016
  }
1025
1017
  ]
1026
1018
  },
1027
1019
  {
1028
1020
  "kind": "javascript-module",
1029
- "path": "src/accordion/accordion.styles.ts",
1021
+ "path": "src/accordion-item/accordion-item.styles.ts",
1030
1022
  "declarations": [
1031
1023
  {
1032
1024
  "kind": "function",
1033
- "name": "rapidAccordionStyles",
1025
+ "name": "rapidAccordionItemStyles",
1034
1026
  "return": {
1035
1027
  "type": {
1036
1028
  "text": "ElementStyles"
@@ -1055,24 +1047,24 @@
1055
1047
  "exports": [
1056
1048
  {
1057
1049
  "kind": "js",
1058
- "name": "rapidAccordionStyles",
1050
+ "name": "rapidAccordionItemStyles",
1059
1051
  "declaration": {
1060
- "name": "rapidAccordionStyles",
1061
- "module": "src/accordion/accordion.styles.ts"
1052
+ "name": "rapidAccordionItemStyles",
1053
+ "module": "src/accordion-item/accordion-item.styles.ts"
1062
1054
  }
1063
1055
  }
1064
1056
  ]
1065
1057
  },
1066
1058
  {
1067
1059
  "kind": "javascript-module",
1068
- "path": "src/accordion/accordion.template.ts",
1060
+ "path": "src/accordion-item/accordion-item.template.ts",
1069
1061
  "declarations": [
1070
1062
  {
1071
1063
  "kind": "function",
1072
- "name": "rapidAccordionTemplate",
1064
+ "name": "rapidAccordionItemTemplate",
1073
1065
  "return": {
1074
1066
  "type": {
1075
- "text": "ViewTemplate<Accordion>"
1067
+ "text": "ViewTemplate<AccordionItem>"
1076
1068
  }
1077
1069
  },
1078
1070
  "parameters": [
@@ -1094,56 +1086,56 @@
1094
1086
  "exports": [
1095
1087
  {
1096
1088
  "kind": "js",
1097
- "name": "rapidAccordionTemplate",
1089
+ "name": "rapidAccordionItemTemplate",
1098
1090
  "declaration": {
1099
- "name": "rapidAccordionTemplate",
1100
- "module": "src/accordion/accordion.template.ts"
1091
+ "name": "rapidAccordionItemTemplate",
1092
+ "module": "src/accordion-item/accordion-item.template.ts"
1101
1093
  }
1102
1094
  }
1103
1095
  ]
1104
1096
  },
1105
1097
  {
1106
1098
  "kind": "javascript-module",
1107
- "path": "src/accordion/accordion.ts",
1099
+ "path": "src/accordion-item/accordion-item.ts",
1108
1100
  "declarations": [
1109
1101
  {
1110
1102
  "kind": "class",
1111
1103
  "description": "",
1112
- "name": "Accordion",
1104
+ "name": "AccordionItem",
1113
1105
  "superclass": {
1114
- "name": "foundationAccordion",
1106
+ "name": "foundationAccordionItem",
1115
1107
  "package": "@genesislcap/foundation-ui"
1116
1108
  },
1117
- "tagName": "%%prefix%%-accordion",
1109
+ "tagName": "%%prefix%%-accordion-item",
1118
1110
  "customElement": true
1119
1111
  },
1120
1112
  {
1121
1113
  "kind": "variable",
1122
- "name": "rapidAccordion"
1114
+ "name": "rapidAccordionItem"
1123
1115
  }
1124
1116
  ],
1125
1117
  "exports": [
1126
1118
  {
1127
1119
  "kind": "js",
1128
- "name": "Accordion",
1120
+ "name": "AccordionItem",
1129
1121
  "declaration": {
1130
- "name": "Accordion",
1131
- "module": "src/accordion/accordion.ts"
1122
+ "name": "AccordionItem",
1123
+ "module": "src/accordion-item/accordion-item.ts"
1132
1124
  }
1133
1125
  },
1134
1126
  {
1135
1127
  "kind": "js",
1136
- "name": "rapidAccordion",
1128
+ "name": "rapidAccordionItem",
1137
1129
  "declaration": {
1138
- "name": "rapidAccordion",
1139
- "module": "src/accordion/accordion.ts"
1130
+ "name": "rapidAccordionItem",
1131
+ "module": "src/accordion-item/accordion-item.ts"
1140
1132
  }
1141
1133
  }
1142
1134
  ]
1143
1135
  },
1144
1136
  {
1145
1137
  "kind": "javascript-module",
1146
- "path": "src/accordion/index.ts",
1138
+ "path": "src/accordion-item/index.ts",
1147
1139
  "declarations": [],
1148
1140
  "exports": [
1149
1141
  {
@@ -1151,7 +1143,7 @@
1151
1143
  "name": "*",
1152
1144
  "declaration": {
1153
1145
  "name": "*",
1154
- "package": "./accordion"
1146
+ "package": "./accordion-item"
1155
1147
  }
1156
1148
  },
1157
1149
  {
@@ -1159,7 +1151,7 @@
1159
1151
  "name": "*",
1160
1152
  "declaration": {
1161
1153
  "name": "*",
1162
- "package": "./accordion.styles"
1154
+ "package": "./accordion-item.styles"
1163
1155
  }
1164
1156
  },
1165
1157
  {
@@ -1167,7 +1159,7 @@
1167
1159
  "name": "*",
1168
1160
  "declaration": {
1169
1161
  "name": "*",
1170
- "package": "./accordion.template"
1162
+ "package": "./accordion-item.template"
1171
1163
  }
1172
1164
  }
1173
1165
  ]
@@ -25823,402 +25815,6 @@
25823
25815
  }
25824
25816
  ]
25825
25817
  },
25826
- {
25827
- "kind": "javascript-module",
25828
- "path": "src/pill/index.ts",
25829
- "declarations": [],
25830
- "exports": [
25831
- {
25832
- "kind": "js",
25833
- "name": "*",
25834
- "declaration": {
25835
- "name": "*",
25836
- "package": "./pill"
25837
- }
25838
- },
25839
- {
25840
- "kind": "js",
25841
- "name": "*",
25842
- "declaration": {
25843
- "name": "*",
25844
- "package": "./pill.styles"
25845
- }
25846
- },
25847
- {
25848
- "kind": "js",
25849
- "name": "*",
25850
- "declaration": {
25851
- "name": "*",
25852
- "package": "./pill.template"
25853
- }
25854
- }
25855
- ]
25856
- },
25857
- {
25858
- "kind": "javascript-module",
25859
- "path": "src/pill/pill.styles.ts",
25860
- "declarations": [
25861
- {
25862
- "kind": "variable",
25863
- "name": "rapidPillStyles",
25864
- "type": {
25865
- "text": "ElementStyles"
25866
- },
25867
- "default": "css`\n ${foundationPillStyles}\n :host {\n --pill-fill: var(--neutral-fill-rest);\n --pill-fill-hover: var(--neutral-fill-hover);\n --pill-foreground: var(--neutral-foreground-rest);\n }\n`"
25868
- }
25869
- ],
25870
- "exports": [
25871
- {
25872
- "kind": "js",
25873
- "name": "rapidPillStyles",
25874
- "declaration": {
25875
- "name": "rapidPillStyles",
25876
- "module": "src/pill/pill.styles.ts"
25877
- }
25878
- }
25879
- ]
25880
- },
25881
- {
25882
- "kind": "javascript-module",
25883
- "path": "src/pill/pill.template.ts",
25884
- "declarations": [
25885
- {
25886
- "kind": "variable",
25887
- "name": "rapidPillTemplate",
25888
- "default": "foundationPillTemplate"
25889
- }
25890
- ],
25891
- "exports": [
25892
- {
25893
- "kind": "js",
25894
- "name": "rapidPillTemplate",
25895
- "declaration": {
25896
- "name": "rapidPillTemplate",
25897
- "module": "src/pill/pill.template.ts"
25898
- }
25899
- }
25900
- ]
25901
- },
25902
- {
25903
- "kind": "javascript-module",
25904
- "path": "src/pill/pill.ts",
25905
- "declarations": [
25906
- {
25907
- "kind": "class",
25908
- "description": "",
25909
- "name": "Pill",
25910
- "superclass": {
25911
- "name": "FoundationPill",
25912
- "package": "@genesislcap/foundation-ui"
25913
- },
25914
- "tagName": "%%prefix%%-pill",
25915
- "customElement": true,
25916
- "attributes": [
25917
- {
25918
- "name": "label",
25919
- "type": {
25920
- "text": "string"
25921
- },
25922
- "attribute": "label",
25923
- "fieldName": "label",
25924
- "description": "the name of the thing this pill represents, e.g. a filter field name",
25925
- "inheritedFrom": {
25926
- "name": "Pill",
25927
- "module": "src/pill/pill.ts"
25928
- }
25929
- },
25930
- {
25931
- "name": "value",
25932
- "type": {
25933
- "text": "string"
25934
- },
25935
- "attribute": "value",
25936
- "fieldName": "value",
25937
- "description": "the current value shown alongside the label, e.g. \"Cpty Desk: EQUITIES\"",
25938
- "inheritedFrom": {
25939
- "name": "Pill",
25940
- "module": "src/pill/pill.ts"
25941
- }
25942
- },
25943
- {
25944
- "name": "removable",
25945
- "type": {
25946
- "text": "boolean"
25947
- },
25948
- "default": "true",
25949
- "fieldName": "removable",
25950
- "description": "whether the \"x\" remove control is shown",
25951
- "inheritedFrom": {
25952
- "name": "Pill",
25953
- "module": "src/pill/pill.ts"
25954
- }
25955
- },
25956
- {
25957
- "name": "disabled",
25958
- "type": {
25959
- "text": "boolean"
25960
- },
25961
- "default": "false",
25962
- "fieldName": "disabled",
25963
- "description": "disables both the pill body and the remove control",
25964
- "inheritedFrom": {
25965
- "name": "Pill",
25966
- "module": "src/pill/pill.ts"
25967
- }
25968
- },
25969
- {
25970
- "type": {
25971
- "text": "boolean"
25972
- },
25973
- "default": "true",
25974
- "attribute": "removable",
25975
- "fieldName": "removable",
25976
- "inheritedFrom": {
25977
- "name": "Pill",
25978
- "module": "src/pill/pill.ts"
25979
- }
25980
- }
25981
- ],
25982
- "members": [
25983
- {
25984
- "kind": "field",
25985
- "name": "label",
25986
- "type": {
25987
- "text": "string"
25988
- },
25989
- "attribute": "label",
25990
- "inheritedFrom": {
25991
- "name": "Pill",
25992
- "module": "src/pill/pill.ts"
25993
- }
25994
- },
25995
- {
25996
- "kind": "field",
25997
- "name": "value",
25998
- "type": {
25999
- "text": "string"
26000
- },
26001
- "attribute": "value",
26002
- "inheritedFrom": {
26003
- "name": "Pill",
26004
- "module": "src/pill/pill.ts"
26005
- }
26006
- },
26007
- {
26008
- "kind": "field",
26009
- "name": "removable",
26010
- "type": {
26011
- "text": "boolean"
26012
- },
26013
- "default": "true",
26014
- "attribute": "removable",
26015
- "inheritedFrom": {
26016
- "name": "Pill",
26017
- "module": "src/pill/pill.ts"
26018
- }
26019
- },
26020
- {
26021
- "kind": "field",
26022
- "name": "disabled",
26023
- "type": {
26024
- "text": "boolean"
26025
- },
26026
- "default": "false",
26027
- "attribute": "disabled",
26028
- "inheritedFrom": {
26029
- "name": "Pill",
26030
- "module": "src/pill/pill.ts"
26031
- }
26032
- },
26033
- {
26034
- "kind": "method",
26035
- "name": "handleBodyClick",
26036
- "return": {
26037
- "type": {
26038
- "text": "void"
26039
- }
26040
- },
26041
- "inheritedFrom": {
26042
- "name": "Pill",
26043
- "module": "src/pill/pill.ts"
26044
- }
26045
- },
26046
- {
26047
- "kind": "method",
26048
- "name": "handleRemoveClick",
26049
- "return": {
26050
- "type": {
26051
- "text": "void"
26052
- }
26053
- },
26054
- "parameters": [
26055
- {
26056
- "name": "event",
26057
- "type": {
26058
- "text": "Event"
26059
- }
26060
- }
26061
- ],
26062
- "inheritedFrom": {
26063
- "name": "Pill",
26064
- "module": "src/pill/pill.ts"
26065
- }
26066
- },
26067
- {
26068
- "kind": "field",
26069
- "name": "_presentation",
26070
- "type": {
26071
- "text": "ComponentPresentation | null | undefined"
26072
- },
26073
- "privacy": "private",
26074
- "default": "void 0",
26075
- "inheritedFrom": {
26076
- "name": "FoundationElement",
26077
- "module": "src/foundation-element/foundation-element.ts"
26078
- }
26079
- },
26080
- {
26081
- "kind": "field",
26082
- "name": "$presentation",
26083
- "type": {
26084
- "text": "ComponentPresentation | null"
26085
- },
26086
- "privacy": "public",
26087
- "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
26088
- "inheritedFrom": {
26089
- "name": "FoundationElement",
26090
- "module": "src/foundation-element/foundation-element.ts"
26091
- }
26092
- },
26093
- {
26094
- "kind": "field",
26095
- "name": "template",
26096
- "type": {
26097
- "text": "ElementViewTemplate | void | null"
26098
- },
26099
- "privacy": "public",
26100
- "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.",
26101
- "inheritedFrom": {
26102
- "name": "FoundationElement",
26103
- "module": "src/foundation-element/foundation-element.ts"
26104
- }
26105
- },
26106
- {
26107
- "kind": "method",
26108
- "name": "templateChanged",
26109
- "privacy": "protected",
26110
- "return": {
26111
- "type": {
26112
- "text": "void"
26113
- }
26114
- },
26115
- "inheritedFrom": {
26116
- "name": "FoundationElement",
26117
- "module": "src/foundation-element/foundation-element.ts"
26118
- }
26119
- },
26120
- {
26121
- "kind": "field",
26122
- "name": "styles",
26123
- "type": {
26124
- "text": "ElementStyles | void | null"
26125
- },
26126
- "privacy": "public",
26127
- "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.",
26128
- "inheritedFrom": {
26129
- "name": "FoundationElement",
26130
- "module": "src/foundation-element/foundation-element.ts"
26131
- }
26132
- },
26133
- {
26134
- "kind": "method",
26135
- "name": "stylesChanged",
26136
- "privacy": "protected",
26137
- "return": {
26138
- "type": {
26139
- "text": "void"
26140
- }
26141
- },
26142
- "inheritedFrom": {
26143
- "name": "FoundationElement",
26144
- "module": "src/foundation-element/foundation-element.ts"
26145
- }
26146
- },
26147
- {
26148
- "kind": "method",
26149
- "name": "compose",
26150
- "privacy": "public",
26151
- "static": true,
26152
- "return": {
26153
- "type": {
26154
- "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
26155
- }
26156
- },
26157
- "parameters": [
26158
- {
26159
- "name": "this",
26160
- "type": {
26161
- "text": "K"
26162
- }
26163
- },
26164
- {
26165
- "name": "elementDefinition",
26166
- "type": {
26167
- "text": "T"
26168
- },
26169
- "description": "The definition of the element to create the registry\nfunction for."
26170
- }
26171
- ],
26172
- "description": "Defines an element registry function with a set of element definition defaults.",
26173
- "inheritedFrom": {
26174
- "name": "FoundationElement",
26175
- "module": "src/foundation-element/foundation-element.ts"
26176
- }
26177
- }
26178
- ],
26179
- "events": [
26180
- {
26181
- "description": "Fired when the remove control is activated.",
26182
- "name": "remove",
26183
- "inheritedFrom": {
26184
- "name": "Pill",
26185
- "module": "src/pill/pill.ts"
26186
- }
26187
- },
26188
- {
26189
- "description": "Fired when the pill body (excluding the remove control) is activated.",
26190
- "name": "pill-click",
26191
- "inheritedFrom": {
26192
- "name": "Pill",
26193
- "module": "src/pill/pill.ts"
26194
- }
26195
- }
26196
- ]
26197
- },
26198
- {
26199
- "kind": "variable",
26200
- "name": "rapidPill"
26201
- }
26202
- ],
26203
- "exports": [
26204
- {
26205
- "kind": "js",
26206
- "name": "Pill",
26207
- "declaration": {
26208
- "name": "Pill",
26209
- "module": "src/pill/pill.ts"
26210
- }
26211
- },
26212
- {
26213
- "kind": "js",
26214
- "name": "rapidPill",
26215
- "declaration": {
26216
- "name": "rapidPill",
26217
- "module": "src/pill/pill.ts"
26218
- }
26219
- }
26220
- ]
26221
- },
26222
25818
  {
26223
25819
  "kind": "javascript-module",
26224
25820
  "path": "src/progress/index.ts",
@@ -171,17 +171,6 @@ export declare const baseComponents: {
171
171
  }, typeof import("./notification-listener").NotificationListener>;
172
172
  rapidNumberField: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<import("@microsoft/fast-foundation").FoundationElementDefinition>) => import("@microsoft/fast-foundation").FoundationElementRegistry<import("@microsoft/fast-foundation").FoundationElementDefinition, typeof import("./number-field").NumberField>;
173
173
  rapidOptgroup: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<import("@microsoft/fast-foundation").FoundationElementDefinition>) => import("@microsoft/fast-foundation").FoundationElementRegistry<import("@microsoft/fast-foundation").FoundationElementDefinition, typeof import("./optgroup").Optgroup>;
174
- rapidPill: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<{
175
- baseName: string;
176
- template: import("@microsoft/fast-element").ViewTemplate<import("@genesislcap/foundation-ui").Pill, any>;
177
- styles: import("@microsoft/fast-element").ElementStyles;
178
- shadowOptions: ShadowRootInit;
179
- }>) => import("@microsoft/fast-foundation").FoundationElementRegistry<{
180
- baseName: string;
181
- template: import("@microsoft/fast-element").ViewTemplate<import("@genesislcap/foundation-ui").Pill, any>;
182
- styles: import("@microsoft/fast-element").ElementStyles;
183
- shadowOptions: ShadowRootInit;
184
- }, typeof import("./pill").Pill>;
185
174
  rapidProgress: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<import("@microsoft/fast-foundation").FoundationElementDefinition>) => import("@microsoft/fast-foundation").FoundationElementRegistry<import("@microsoft/fast-foundation").FoundationElementDefinition, typeof import("./progress").Progress>;
186
175
  rapidProgressRing: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<import("@microsoft/fast-foundation").ProgressRingOptions>) => import("@microsoft/fast-foundation").FoundationElementRegistry<import("@microsoft/fast-foundation").ProgressRingOptions, import("@microsoft/fast-element").Constructable<import("@microsoft/fast-foundation").FoundationElement>>;
187
176
  rapidRadio: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<import("@microsoft/fast-foundation").FoundationElementDefinition>) => import("@microsoft/fast-foundation").FoundationElementRegistry<import("@microsoft/fast-foundation").FoundationElementDefinition, typeof import("./radio").Radio>;
@@ -1 +1 @@
1
- {"version":3,"file":"base-components.d.ts","sourceRoot":"","sources":["../../src/base-components.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAC;AAuF5D,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBAuFJ,SAAS,WAAW,GAAG,EAAE;CAe/C,CAAC"}
1
+ {"version":3,"file":"base-components.d.ts","sourceRoot":"","sources":["../../src/base-components.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAC;AAsF5D,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBAsFJ,SAAS,WAAW,GAAG,EAAE;CAe/C,CAAC"}
@@ -54,7 +54,6 @@ export * from './modal';
54
54
  export * from './modal-theme';
55
55
  export * from './multiselect';
56
56
  export * from './number-field';
57
- export * from './pill';
58
57
  export * from './progress';
59
58
  export * from './progress-ring';
60
59
  export * from './radio';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACnD,OAAO,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAE9D,OAAO,EAAE,cAAc,EAAE,mBAAmB,EAAE,CAAC;AAC/C,eAAO,MAAM,yBAAyB,yDAAuD,CAAC;AAE9F,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,aAAa,CAAC;AAC5B,cAAc,sBAAsB,CAAC;AACrC,cAAc,kBAAkB,CAAC;AACjC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,UAAU,CAAC;AACzB,cAAc,mBAAmB,CAAC;AAClC,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,cAAc,CAAC;AAC7B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,kBAAkB,CAAC;AACjC,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,UAAU,CAAC;AACzB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,YAAY,CAAC;AAC3B,cAAc,WAAW,CAAC;AAC1B,cAAc,eAAe,CAAC;AAC9B,cAAc,qBAAqB,CAAC;AACpC,cAAc,UAAU,CAAC;AACzB,cAAc,OAAO,CAAC;AACtB,cAAc,aAAa,CAAC;AAC5B,cAAc,QAAQ,CAAC;AACvB,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC;AAC7B,cAAc,SAAS,CAAC;AACxB,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC"}
@@ -50,7 +50,6 @@ import type { NotificationListener as NotificationListenerWC } from './notificat
50
50
  import type { NumberField as NumberFieldWC } from './number-field/number-field';
51
51
  import type { Optgroup as OptgroupWC } from './optgroup/optgroup';
52
52
  import type { SystemHealthOverlay as SystemHealthOverlayWC } from './overlays/system-health/system-health-overlay';
53
- import type { Pill as PillWC } from './pill/pill';
54
53
  import type { ProgressRing as ProgressRingWC } from './progress-ring/progress-ring';
55
54
  import type { Progress as ProgressWC } from './progress/progress';
56
55
  import type { RadioGroup as RadioGroupWC } from './radio-group/radio-group';
@@ -118,23 +117,23 @@ interface HTMLWCProps extends React.AriaAttributes {
118
117
  onInput?(e: Event): void;
119
118
  }
120
119
 
121
- export declare const AccordionItem: React.ForwardRefExoticComponent<
120
+ export declare const Accordion: React.ForwardRefExoticComponent<
122
121
  React.PropsWithChildren<
123
- Omit<PublicOf<AccordionItemWC>, 'children' | 'style'> &
122
+ Omit<PublicOf<AccordionWC>, 'children' | 'style'> &
124
123
  HTMLWCProps & {
125
124
  }
126
- > & React.RefAttributes<AccordionItemWC>
125
+ > & React.RefAttributes<AccordionWC>
127
126
  >;
128
- export type AccordionItemRef = AccordionItemWC;
127
+ export type AccordionRef = AccordionWC;
129
128
 
130
- export declare const Accordion: React.ForwardRefExoticComponent<
129
+ export declare const AccordionItem: React.ForwardRefExoticComponent<
131
130
  React.PropsWithChildren<
132
- Omit<PublicOf<AccordionWC>, 'children' | 'style'> &
131
+ Omit<PublicOf<AccordionItemWC>, 'children' | 'style'> &
133
132
  HTMLWCProps & {
134
133
  }
135
- > & React.RefAttributes<AccordionWC>
134
+ > & React.RefAttributes<AccordionItemWC>
136
135
  >;
137
- export type AccordionRef = AccordionWC;
136
+ export type AccordionItemRef = AccordionItemWC;
138
137
 
139
138
  export declare const ActionsMenu: React.ForwardRefExoticComponent<
140
139
  React.PropsWithChildren<
@@ -563,17 +562,6 @@ export declare const Optgroup: React.ForwardRefExoticComponent<
563
562
  >;
564
563
  export type OptgroupRef = OptgroupWC;
565
564
 
566
- export declare const Pill: React.ForwardRefExoticComponent<
567
- React.PropsWithChildren<
568
- Omit<PublicOf<PillWC>, 'children' | 'style'> &
569
- HTMLWCProps & {
570
- onRemove?: (event: CustomEvent<unknown>) => void;
571
- onPillClick?: (event: CustomEvent<unknown>) => void;
572
- }
573
- > & React.RefAttributes<PillWC>
574
- >;
575
- export type PillRef = PillWC;
576
-
577
565
  export declare const Progress: React.ForwardRefExoticComponent<
578
566
  React.PropsWithChildren<
579
567
  Omit<PublicOf<ProgressWC>, 'children' | 'style'> &
@@ -49,7 +49,6 @@ import { rapidNotificationListener } from './notification-listener';
49
49
  import { rapidNumberField } from './number-field';
50
50
  import { rapidOptgroup } from './optgroup';
51
51
  import { rapidSystemHealthOverlay } from './overlays';
52
- import { rapidPill } from './pill';
53
52
  import { rapidProgress } from './progress';
54
53
  import { rapidProgressRing } from './progress-ring';
55
54
  import { rapidRadio } from './radio';
@@ -135,7 +134,6 @@ export const baseComponents = {
135
134
  rapidNotificationListener,
136
135
  rapidNumberField,
137
136
  rapidOptgroup,
138
- rapidPill,
139
137
  rapidProgress,
140
138
  rapidProgressRing,
141
139
  rapidRadio,
package/dist/esm/index.js CHANGED
@@ -54,7 +54,6 @@ export * from './modal';
54
54
  export * from './modal-theme';
55
55
  export * from './multiselect';
56
56
  export * from './number-field';
57
- export * from './pill';
58
57
  export * from './progress';
59
58
  export * from './progress-ring';
60
59
  export * from './radio';
package/dist/react.cjs CHANGED
@@ -52,7 +52,6 @@ const { NotificationListener: NotificationListenerWC } = require('./esm/notifica
52
52
  const { NumberField: NumberFieldWC } = require('./esm/number-field/number-field.js');
53
53
  const { Optgroup: OptgroupWC } = require('./esm/optgroup/optgroup.js');
54
54
  const { SystemHealthOverlay: SystemHealthOverlayWC } = require('./esm/overlays/system-health/system-health-overlay.js');
55
- const { Pill: PillWC } = require('./esm/pill/pill.js');
56
55
  const { ProgressRing: ProgressRingWC } = require('./esm/progress-ring/progress-ring.js');
57
56
  const { Progress: ProgressWC } = require('./esm/progress/progress.js');
58
57
  const { RadioGroup: RadioGroupWC } = require('./esm/radio-group/radio-group.js');
@@ -98,14 +97,14 @@ function _mergeRefs(...refs) {
98
97
  };
99
98
  }
100
99
 
101
- const AccordionItem = React.forwardRef(function AccordionItem(props, ref) {
100
+ const Accordion = React.forwardRef(function Accordion(props, ref) {
102
101
  const { children, ...rest } = props;
103
- return React.createElement(customElements.getName(AccordionItemWC) ?? '%%prefix%%-accordion-item', { ...rest, ref }, children);
102
+ return React.createElement(customElements.getName(AccordionWC) ?? '%%prefix%%-accordion', { ...rest, ref }, children);
104
103
  });
105
104
 
106
- const Accordion = React.forwardRef(function Accordion(props, ref) {
105
+ const AccordionItem = React.forwardRef(function AccordionItem(props, ref) {
107
106
  const { children, ...rest } = props;
108
- return React.createElement(customElements.getName(AccordionWC) ?? '%%prefix%%-accordion', { ...rest, ref }, children);
107
+ return React.createElement(customElements.getName(AccordionItemWC) ?? '%%prefix%%-accordion-item', { ...rest, ref }, children);
109
108
  });
110
109
 
111
110
  const ActionsMenu = React.forwardRef(function ActionsMenu(props, ref) {
@@ -635,28 +634,6 @@ const Optgroup = React.forwardRef(function Optgroup(props, ref) {
635
634
  return React.createElement(customElements.getName(OptgroupWC) ?? '%%prefix%%-optgroup', { ...rest, ref }, children);
636
635
  });
637
636
 
638
- const Pill = React.forwardRef(function Pill(props, ref) {
639
- const { onRemove, onPillClick, children, ...rest } = props;
640
- const _innerRef = React.useRef(null);
641
- const _onRemoveRef = React.useRef(onRemove);
642
- _onRemoveRef.current = onRemove;
643
- const _onPillClickRef = React.useRef(onPillClick);
644
- _onPillClickRef.current = onPillClick;
645
- React.useLayoutEffect(() => {
646
- const el = _innerRef.current;
647
- if (!el) return;
648
- const _onRemoveFn = (e) => _onRemoveRef.current?.(e);
649
- el.addEventListener('remove', _onRemoveFn);
650
- const _onPillClickFn = (e) => _onPillClickRef.current?.(e);
651
- el.addEventListener('pill-click', _onPillClickFn);
652
- return () => {
653
- el.removeEventListener('remove', _onRemoveFn);
654
- el.removeEventListener('pill-click', _onPillClickFn);
655
- };
656
- }, []);
657
- return React.createElement(customElements.getName(PillWC) ?? '%%prefix%%-pill', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
658
- });
659
-
660
637
  const Progress = React.forwardRef(function Progress(props, ref) {
661
638
  const { children, ...rest } = props;
662
639
  return React.createElement(customElements.getName(ProgressWC) ?? '%%prefix%%-progress', { ...rest, ref }, children);
@@ -981,8 +958,8 @@ const SystemHealthOverlay = React.forwardRef(function SystemHealthOverlay(props,
981
958
  });
982
959
 
983
960
  module.exports = {
984
- AccordionItem,
985
961
  Accordion,
962
+ AccordionItem,
986
963
  ActionsMenu,
987
964
  AiCriteriaSearch,
988
965
  AiIndicator,
@@ -1026,7 +1003,6 @@ module.exports = {
1026
1003
  NotificationListener,
1027
1004
  NumberField,
1028
1005
  Optgroup,
1029
- Pill,
1030
1006
  Progress,
1031
1007
  ProgressRing,
1032
1008
  Radio,
package/dist/react.mjs CHANGED
@@ -50,7 +50,6 @@ import { NotificationListener as NotificationListenerWC } from './esm/notificati
50
50
  import { NumberField as NumberFieldWC } from './esm/number-field/number-field.js';
51
51
  import { Optgroup as OptgroupWC } from './esm/optgroup/optgroup.js';
52
52
  import { SystemHealthOverlay as SystemHealthOverlayWC } from './esm/overlays/system-health/system-health-overlay.js';
53
- import { Pill as PillWC } from './esm/pill/pill.js';
54
53
  import { ProgressRing as ProgressRingWC } from './esm/progress-ring/progress-ring.js';
55
54
  import { Progress as ProgressWC } from './esm/progress/progress.js';
56
55
  import { RadioGroup as RadioGroupWC } from './esm/radio-group/radio-group.js';
@@ -96,14 +95,14 @@ function _mergeRefs(...refs) {
96
95
  };
97
96
  }
98
97
 
99
- export const AccordionItem = React.forwardRef(function AccordionItem(props, ref) {
98
+ export const Accordion = React.forwardRef(function Accordion(props, ref) {
100
99
  const { children, ...rest } = props;
101
- return React.createElement(customElements.getName(AccordionItemWC) ?? '%%prefix%%-accordion-item', { ...rest, ref }, children);
100
+ return React.createElement(customElements.getName(AccordionWC) ?? '%%prefix%%-accordion', { ...rest, ref }, children);
102
101
  });
103
102
 
104
- export const Accordion = React.forwardRef(function Accordion(props, ref) {
103
+ export const AccordionItem = React.forwardRef(function AccordionItem(props, ref) {
105
104
  const { children, ...rest } = props;
106
- return React.createElement(customElements.getName(AccordionWC) ?? '%%prefix%%-accordion', { ...rest, ref }, children);
105
+ return React.createElement(customElements.getName(AccordionItemWC) ?? '%%prefix%%-accordion-item', { ...rest, ref }, children);
107
106
  });
108
107
 
109
108
  export const ActionsMenu = React.forwardRef(function ActionsMenu(props, ref) {
@@ -633,28 +632,6 @@ export const Optgroup = React.forwardRef(function Optgroup(props, ref) {
633
632
  return React.createElement(customElements.getName(OptgroupWC) ?? '%%prefix%%-optgroup', { ...rest, ref }, children);
634
633
  });
635
634
 
636
- export const Pill = React.forwardRef(function Pill(props, ref) {
637
- const { onRemove, onPillClick, children, ...rest } = props;
638
- const _innerRef = React.useRef(null);
639
- const _onRemoveRef = React.useRef(onRemove);
640
- _onRemoveRef.current = onRemove;
641
- const _onPillClickRef = React.useRef(onPillClick);
642
- _onPillClickRef.current = onPillClick;
643
- React.useLayoutEffect(() => {
644
- const el = _innerRef.current;
645
- if (!el) return;
646
- const _onRemoveFn = (e) => _onRemoveRef.current?.(e);
647
- el.addEventListener('remove', _onRemoveFn);
648
- const _onPillClickFn = (e) => _onPillClickRef.current?.(e);
649
- el.addEventListener('pill-click', _onPillClickFn);
650
- return () => {
651
- el.removeEventListener('remove', _onRemoveFn);
652
- el.removeEventListener('pill-click', _onPillClickFn);
653
- };
654
- }, []);
655
- return React.createElement(customElements.getName(PillWC) ?? '%%prefix%%-pill', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
656
- });
657
-
658
635
  export const Progress = React.forwardRef(function Progress(props, ref) {
659
636
  const { children, ...rest } = props;
660
637
  return React.createElement(customElements.getName(ProgressWC) ?? '%%prefix%%-progress', { ...rest, ref }, children);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@genesislcap/rapid-design-system",
3
3
  "description": "Rapid Design System",
4
- "version": "14.493.1-alpha-8ff3328.0",
4
+ "version": "14.494.0",
5
5
  "sideEffects": false,
6
6
  "license": "SEE LICENSE IN license.txt",
7
7
  "main": "dist/esm/index.js",
@@ -38,13 +38,13 @@
38
38
  },
39
39
  "devDependencies": {
40
40
  "@genesiscommunitysuccess/analyzer-import-alias-plugin": "^5.0.3",
41
- "@genesislcap/foundation-testing": "14.493.1-alpha-8ff3328.0",
42
- "@genesislcap/genx": "14.493.1-alpha-8ff3328.0",
43
- "@genesislcap/rollup-builder": "14.493.1-alpha-8ff3328.0",
44
- "@genesislcap/ts-builder": "14.493.1-alpha-8ff3328.0",
45
- "@genesislcap/uvu-playwright-builder": "14.493.1-alpha-8ff3328.0",
46
- "@genesislcap/vite-builder": "14.493.1-alpha-8ff3328.0",
47
- "@genesislcap/webpack-builder": "14.493.1-alpha-8ff3328.0",
41
+ "@genesislcap/foundation-testing": "14.494.0",
42
+ "@genesislcap/genx": "14.494.0",
43
+ "@genesislcap/rollup-builder": "14.494.0",
44
+ "@genesislcap/ts-builder": "14.494.0",
45
+ "@genesislcap/uvu-playwright-builder": "14.494.0",
46
+ "@genesislcap/vite-builder": "14.494.0",
47
+ "@genesislcap/webpack-builder": "14.494.0",
48
48
  "flexlayout-react": "^0.8.19"
49
49
  },
50
50
  "peerDependencies": {
@@ -56,9 +56,9 @@
56
56
  }
57
57
  },
58
58
  "dependencies": {
59
- "@genesislcap/foundation-logger": "14.493.1-alpha-8ff3328.0",
60
- "@genesislcap/foundation-ui": "14.493.1-alpha-8ff3328.0",
61
- "@genesislcap/foundation-utils": "14.493.1-alpha-8ff3328.0",
59
+ "@genesislcap/foundation-logger": "14.494.0",
60
+ "@genesislcap/foundation-ui": "14.494.0",
61
+ "@genesislcap/foundation-utils": "14.494.0",
62
62
  "@microsoft/fast-colors": "5.3.1",
63
63
  "@microsoft/fast-components": "2.30.6",
64
64
  "@microsoft/fast-element": "1.14.0",
@@ -86,5 +86,5 @@
86
86
  "require": "./dist/react.cjs"
87
87
  }
88
88
  },
89
- "gitHead": "8c565dfbaf36c06f5a28278da59043c5453c564a"
89
+ "gitHead": "df845b67dcc681aa3775bdc87b9d91b404791868"
90
90
  }
@@ -1,4 +0,0 @@
1
- export * from './pill';
2
- export * from './pill.styles';
3
- export * from './pill.template';
4
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/pill/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC;AACvB,cAAc,eAAe,CAAC;AAC9B,cAAc,iBAAiB,CAAC"}
@@ -1,18 +0,0 @@
1
- import { Pill as FoundationPill } from '@genesislcap/foundation-ui';
2
- /**
3
- * @tagname %%prefix%%-pill
4
- */
5
- export declare class Pill extends FoundationPill {
6
- }
7
- export declare const rapidPill: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<{
8
- baseName: string;
9
- template: import("@microsoft/fast-element").ViewTemplate<FoundationPill, any>;
10
- styles: import("@microsoft/fast-element").ElementStyles;
11
- shadowOptions: ShadowRootInit;
12
- }>) => import("@microsoft/fast-foundation").FoundationElementRegistry<{
13
- baseName: string;
14
- template: import("@microsoft/fast-element").ViewTemplate<FoundationPill, any>;
15
- styles: import("@microsoft/fast-element").ElementStyles;
16
- shadowOptions: ShadowRootInit;
17
- }, typeof Pill>;
18
- //# sourceMappingURL=pill.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"pill.d.ts","sourceRoot":"","sources":["../../../src/pill/pill.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,IAAI,IAAI,cAAc,EACvB,MAAM,4BAA4B,CAAC;AAIpC;;GAEG;AACH,qBAAa,IAAK,SAAQ,cAAc;CAAG;AAE3C,eAAO,MAAM,SAAS;;;;;;;;;;eAMpB,CAAC"}
@@ -1,3 +0,0 @@
1
- import { ElementStyles } from '@microsoft/fast-element';
2
- export declare const rapidPillStyles: ElementStyles;
3
- //# sourceMappingURL=pill.styles.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"pill.styles.d.ts","sourceRoot":"","sources":["../../../src/pill/pill.styles.ts"],"names":[],"mappings":"AACA,OAAO,EAAO,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAE7D,eAAO,MAAM,eAAe,EAAE,aAO7B,CAAC"}
@@ -1,2 +0,0 @@
1
- export declare const rapidPillTemplate: import("@microsoft/fast-element").ViewTemplate<import("@genesislcap/foundation-ui").Pill, any>;
2
- //# sourceMappingURL=pill.template.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"pill.template.d.ts","sourceRoot":"","sources":["../../../src/pill/pill.template.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,iBAAiB,gGAAyB,CAAC"}
@@ -1,3 +0,0 @@
1
- export * from './pill';
2
- export * from './pill.styles';
3
- export * from './pill.template';
@@ -1,10 +0,0 @@
1
- import { defaultPillConfig, foundationPillShadowOptions, Pill as FoundationPill, } from '@genesislcap/foundation-ui';
2
- import { rapidPillStyles as styles } from './pill.styles';
3
- import { rapidPillTemplate as template } from './pill.template';
4
- /**
5
- * @tagname %%prefix%%-pill
6
- */
7
- export class Pill extends FoundationPill {
8
- }
9
- export const rapidPill = Pill.compose(Object.assign({ baseName: 'pill', template,
10
- styles, shadowOptions: foundationPillShadowOptions }, defaultPillConfig));
@@ -1,10 +0,0 @@
1
- import { pillStyles as foundationPillStyles } from '@genesislcap/foundation-ui';
2
- import { css } from '@microsoft/fast-element';
3
- export const rapidPillStyles = css `
4
- ${foundationPillStyles}
5
- :host {
6
- --pill-fill: var(--neutral-fill-rest);
7
- --pill-fill-hover: var(--neutral-fill-hover);
8
- --pill-foreground: var(--neutral-foreground-rest);
9
- }
10
- `;
@@ -1,2 +0,0 @@
1
- import { foundationPillTemplate } from '@genesislcap/foundation-ui';
2
- export const rapidPillTemplate = foundationPillTemplate;