@wavelengthusaf/components 4.2.2 → 4.4.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.
package/README.md CHANGED
@@ -14,6 +14,12 @@ npm install @wavelengthusaf/components
14
14
 
15
15
  ## Release Notes
16
16
 
17
+ ### 4.4.0
18
+
19
+ - 2/24/2026
20
+ - Added disabled attribute to MultiSelectAutocomplete
21
+
22
+
17
23
  ### 4.1.4
18
24
 
19
25
  - 12/4/2025
@@ -7725,7 +7725,6 @@ var ChildDataTable2 = ({ columns, data, dropdownArrowLocation, sortIcon, dropdow
7725
7725
  const el = tableRef.current;
7726
7726
  if (!el) return;
7727
7727
  const handleReactDropdown = (event) => {
7728
- console.log("handling react dropdown");
7729
7728
  const customEvent = event;
7730
7729
  event.stopPropagation();
7731
7730
  const { container, itemId } = customEvent.detail;
@@ -7738,7 +7737,7 @@ var ChildDataTable2 = ({ columns, data, dropdownArrowLocation, sortIcon, dropdow
7738
7737
  if (item && item.dropdown && root) {
7739
7738
  root.render(item.dropdown);
7740
7739
  }
7741
- const dropdown = container.querySelector("#dropdown");
7740
+ const dropdown = container.querySelector(".dropdown");
7742
7741
  if (dropdown) {
7743
7742
  dropdown.hidden = false;
7744
7743
  }
@@ -7747,7 +7746,7 @@ var ChildDataTable2 = ({ columns, data, dropdownArrowLocation, sortIcon, dropdow
7747
7746
  event.stopPropagation();
7748
7747
  const { container } = event.detail;
7749
7748
  const root = reactDropdownRoots.current.get(container);
7750
- const dropdown = container.querySelector("#dropdown");
7749
+ const dropdown = container.querySelector(".dropdown");
7751
7750
  if (root && dropdown) {
7752
7751
  dropdown.hidden = true;
7753
7752
  }
@@ -8322,6 +8321,48 @@ WavelengthDatePicker.displayName = "WavelengthDatePicker";
8322
8321
  // src/index.ts
8323
8322
 
8324
8323
 
8324
+ // src/components/inputs/WavelengthCheckbox.tsx
8325
+
8326
+
8327
+
8328
+ var WavelengthCheckbox = ({
8329
+ size,
8330
+ color: color2,
8331
+ theme,
8332
+ disabled,
8333
+ text,
8334
+ textSize,
8335
+ ...rest
8336
+ }) => {
8337
+ const ref = _react.useRef.call(void 0, null);
8338
+ _react.useEffect.call(void 0, () => {
8339
+ const el = ref.current;
8340
+ if (!el) return;
8341
+ if (size !== void 0) {
8342
+ el.setAttribute("size", size);
8343
+ }
8344
+ if (color2 !== void 0) {
8345
+ el.setAttribute("color", color2);
8346
+ }
8347
+ if (theme !== void 0) {
8348
+ el.setAttribute("theme", theme);
8349
+ }
8350
+ if (disabled) {
8351
+ el.setAttribute("disabled", "");
8352
+ } else {
8353
+ el.removeAttribute("disabled");
8354
+ }
8355
+ if (text !== void 0) {
8356
+ el.setAttribute("text", text);
8357
+ }
8358
+ if (textSize !== void 0) {
8359
+ el.setAttribute("text-size", textSize);
8360
+ }
8361
+ }, [size, color2, theme, disabled, text, textSize]);
8362
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "wavelength-checkbox", { ref, ...rest });
8363
+ };
8364
+ WavelengthCheckbox.displayName = "WavelengthCheckbox";
8365
+
8325
8366
  // src/components/samples/SampleComponent.tsx
8326
8367
 
8327
8368
 
@@ -8387,7 +8428,7 @@ var WavelengthNotificationPanel = ({
8387
8428
  // src/components/MultiSelect/WavelengthMultiSelectAutocomplete.tsx
8388
8429
 
8389
8430
 
8390
- var WavelengthMultiSelectAutocomplete = ({ options, placeholder = "Select Options", label, name, style: style3, onChange, value, ...rest }) => {
8431
+ var WavelengthMultiSelectAutocomplete = ({ options, placeholder = "Select Options", label, name, style: style3, onChange, value, disabled, ...rest }) => {
8391
8432
  const componentRef = _react.useRef.call(void 0, null);
8392
8433
  _react.useEffect.call(void 0, () => {
8393
8434
  const component = componentRef.current;
@@ -8408,6 +8449,7 @@ var WavelengthMultiSelectAutocomplete = ({ options, placeholder = "Select Option
8408
8449
  if (placeholder) component.setAttribute("placeholder", placeholder);
8409
8450
  if (label) component.setAttribute("label", label);
8410
8451
  if (name) component.setAttribute("name", name);
8452
+ if (disabled) component.setAttribute("disabled", disabled ? "true" : "false");
8411
8453
  if (options) component.autocompleteOptions = options;
8412
8454
  if (style3) component.customStyles = style3;
8413
8455
  }, [options, placeholder, name, label, style3]);
@@ -8493,7 +8535,8 @@ var WavelengthMultiSelectAutocomplete = ({ options, placeholder = "Select Option
8493
8535
 
8494
8536
 
8495
8537
 
8496
- exports.ButtonIcon = ButtonIcon; exports.ButtonMenu = ButtonMenu; exports.ChildDataTable = ChildDataTable2; exports.ChildDataTableElement = _webcomponents.ChildDataTable; exports.DefaultCarousel = DefaultCarousel; exports.NestedDataTable = NestedDataTable; exports.SampleComponent = SampleComponent; exports.SampleComponentElement = _webcomponents.SampleComponent; exports.SliderCardCarousel = SliderCardCarousel; exports.WavelengthAccessAlert = WavelengthAccessAlert; exports.WavelengthAlert = WavelengthAlert; exports.WavelengthAppLogo = WavelengthAppLogo; exports.WavelengthAppTheme = WavelengthAppTheme; exports.WavelengthAutoComplete = WavelengthAutoComplete; exports.WavelengthAutocomplete = WavelengthAutocomplete; exports.WavelengthBanner = WavelengthBanner; exports.WavelengthBannerElement = _webcomponents.WavelengthBanner; exports.WavelengthBox = WavelengthBox; exports.WavelengthButton = WavelengthButton; exports.WavelengthButtonElement = _webcomponents.WavelengthButton; exports.WavelengthCommentDisplay = WavelengthCommentDisplay; exports.WavelengthConfirmationModal = WavelengthConfirmationModal; exports.WavelengthContentModal = WavelengthContentModal; exports.WavelengthContentPlaceholder = WavelengthContentPlaceholder; exports.WavelengthDataTable = WavelengthDataTable; exports.WavelengthDatePicker = WavelengthDatePicker; exports.WavelengthDatePickerElement = _webcomponents.WavelengthDatePicker; exports.WavelengthDefaultIcon = WavelengthDefaultIcon; exports.WavelengthDefaultPagination = WavelengthDefaultPagination; exports.WavelengthDragAndDrop = WavelengthDragAndDrop; exports.WavelengthDropdown = WavelengthDropdown; exports.WavelengthDropdownButton = WavelengthDropdownButton; exports.WavelengthExampleComponent = WavelengthExampleComponent; exports.WavelengthFileDownloader = WavelengthFileDownloader; exports.WavelengthFileDropZone = WavelengthFileDropZone; exports.WavelengthFooter = WavelengthFooter; exports.WavelengthForm = WavelengthForm; exports.WavelengthFormElement = _webcomponents.WavelengthForm; exports.WavelengthInput = WavelengthInput; exports.WavelengthInputElement = _webcomponents.WavelengthInput; exports.WavelengthManyPlanes = WavelengthManyPlanes; exports.WavelengthMultiSelectAutocomplete = WavelengthMultiSelectAutocomplete; exports.WavelengthMultiSelectAutocompleteElement = _webcomponents.WavelengthMultiSelectAutocomplete; exports.WavelengthNavBar = WavelengthNavBar; exports.WavelengthNotAvailablePage = WavelengthNotAvailablePage; exports.WavelengthNotificationPanel = WavelengthNotificationPanel; exports.WavelengthPermissionAlert = WavelengthPermissionAlert; exports.WavelengthPlaneTrail = WavelengthPlaneTrail; exports.WavelengthPopUpMenu = WavelengthPopUpMenu; exports.WavelengthProgressBar = WavelengthProgressBar; exports.WavelengthProgressBarElement = _webcomponents.WavelengthProgressBar; exports.WavelengthSearch = WavelengthSearch; exports.WavelengthSearchTextField = WavelengthSearchTextField; exports.WavelengthSideBar = WavelengthSideBar; exports.WavelengthSlider = WavelengthSlider; exports.WavelengthSnackbar = WavelengthSnackbar; exports.WavelengthSpinningLogo = WavelengthSpinningLogo; exports.WavelengthSpinningOuterCircle = WavelengthSpinningOuterCircle; exports.WavelengthStandardSnackbar = WavelengthStandardSnackbar; exports.WavelengthStyledButton = WavelengthStyledButton; exports.WavelengthTestSnackbar = WavelengthTestSnackbar; exports.WavelengthTitleBar = WavelengthTitleBar; exports.WavelengthTitleBarElement = _webcomponents.WavelengthTitleBar; exports.add = add; exports.ascendingRange = ascendingRange; exports.concat = concat; exports.findBestStringMatch = findBestStringMatch; exports.range = range; exports.useOutsideClick = useOutsideClick; exports.useThemeContext = useThemeContext;
8538
+
8539
+ exports.ButtonIcon = ButtonIcon; exports.ButtonMenu = ButtonMenu; exports.ChildDataTable = ChildDataTable2; exports.ChildDataTableElement = _webcomponents.ChildDataTable; exports.DefaultCarousel = DefaultCarousel; exports.NestedDataTable = NestedDataTable; exports.SampleComponent = SampleComponent; exports.SampleComponentElement = _webcomponents.SampleComponent; exports.SliderCardCarousel = SliderCardCarousel; exports.WavelengthAccessAlert = WavelengthAccessAlert; exports.WavelengthAlert = WavelengthAlert; exports.WavelengthAppLogo = WavelengthAppLogo; exports.WavelengthAppTheme = WavelengthAppTheme; exports.WavelengthAutoComplete = WavelengthAutoComplete; exports.WavelengthAutocomplete = WavelengthAutocomplete; exports.WavelengthBanner = WavelengthBanner; exports.WavelengthBannerElement = _webcomponents.WavelengthBanner; exports.WavelengthBox = WavelengthBox; exports.WavelengthButton = WavelengthButton; exports.WavelengthButtonElement = _webcomponents.WavelengthButton; exports.WavelengthCheckbox = WavelengthCheckbox; exports.WavelengthCommentDisplay = WavelengthCommentDisplay; exports.WavelengthConfirmationModal = WavelengthConfirmationModal; exports.WavelengthContentModal = WavelengthContentModal; exports.WavelengthContentPlaceholder = WavelengthContentPlaceholder; exports.WavelengthDataTable = WavelengthDataTable; exports.WavelengthDatePicker = WavelengthDatePicker; exports.WavelengthDatePickerElement = _webcomponents.WavelengthDatePicker; exports.WavelengthDefaultIcon = WavelengthDefaultIcon; exports.WavelengthDefaultPagination = WavelengthDefaultPagination; exports.WavelengthDragAndDrop = WavelengthDragAndDrop; exports.WavelengthDropdown = WavelengthDropdown; exports.WavelengthDropdownButton = WavelengthDropdownButton; exports.WavelengthExampleComponent = WavelengthExampleComponent; exports.WavelengthFileDownloader = WavelengthFileDownloader; exports.WavelengthFileDropZone = WavelengthFileDropZone; exports.WavelengthFooter = WavelengthFooter; exports.WavelengthForm = WavelengthForm; exports.WavelengthFormElement = _webcomponents.WavelengthForm; exports.WavelengthInput = WavelengthInput; exports.WavelengthInputElement = _webcomponents.WavelengthInput; exports.WavelengthManyPlanes = WavelengthManyPlanes; exports.WavelengthMultiSelectAutocomplete = WavelengthMultiSelectAutocomplete; exports.WavelengthMultiSelectAutocompleteElement = _webcomponents.WavelengthMultiSelectAutocomplete; exports.WavelengthNavBar = WavelengthNavBar; exports.WavelengthNotAvailablePage = WavelengthNotAvailablePage; exports.WavelengthNotificationPanel = WavelengthNotificationPanel; exports.WavelengthPermissionAlert = WavelengthPermissionAlert; exports.WavelengthPlaneTrail = WavelengthPlaneTrail; exports.WavelengthPopUpMenu = WavelengthPopUpMenu; exports.WavelengthProgressBar = WavelengthProgressBar; exports.WavelengthProgressBarElement = _webcomponents.WavelengthProgressBar; exports.WavelengthSearch = WavelengthSearch; exports.WavelengthSearchTextField = WavelengthSearchTextField; exports.WavelengthSideBar = WavelengthSideBar; exports.WavelengthSlider = WavelengthSlider; exports.WavelengthSnackbar = WavelengthSnackbar; exports.WavelengthSpinningLogo = WavelengthSpinningLogo; exports.WavelengthSpinningOuterCircle = WavelengthSpinningOuterCircle; exports.WavelengthStandardSnackbar = WavelengthStandardSnackbar; exports.WavelengthStyledButton = WavelengthStyledButton; exports.WavelengthTestSnackbar = WavelengthTestSnackbar; exports.WavelengthTitleBar = WavelengthTitleBar; exports.WavelengthTitleBarElement = _webcomponents.WavelengthTitleBar; exports.add = add; exports.ascendingRange = ascendingRange; exports.concat = concat; exports.findBestStringMatch = findBestStringMatch; exports.range = range; exports.useOutsideClick = useOutsideClick; exports.useThemeContext = useThemeContext;
8497
8540
  /*! Bundled license information:
8498
8541
 
8499
8542
  react-is/cjs/react-is.production.min.js:
@@ -957,6 +957,16 @@ declare const WavelengthDatePicker: {
957
957
  displayName: string;
958
958
  };
959
959
 
960
+ interface WavelengthCheckboxProps extends React__default.HTMLAttributes<HTMLElement> {
961
+ size?: string;
962
+ color?: string;
963
+ theme?: string;
964
+ disabled?: boolean;
965
+ text?: string;
966
+ textSize?: string;
967
+ }
968
+ declare const WavelengthCheckbox: React__default.FC<WavelengthCheckboxProps>;
969
+
960
970
  interface SampleComponentProps extends React__default.HTMLAttributes<HTMLElement> {
961
971
  testProp?: string;
962
972
  customStyle: StyleProp;
@@ -1007,7 +1017,8 @@ interface MultiSelectAutocompleteProps {
1007
1017
  style?: CustomStyleProp;
1008
1018
  onChange?: (selectedOptions: Option[]) => void;
1009
1019
  value?: Option[];
1020
+ disabled?: boolean;
1010
1021
  }
1011
1022
  declare const WavelengthMultiSelectAutocomplete: React__default.FC<MultiSelectAutocompleteProps>;
1012
1023
 
1013
- export { ButtonIcon, ButtonMenu, ChildDataTable, DefaultCarousel, type IFileSelectedEventDetail, type NavItem, NestedDataTable, SampleComponent, type SearchProps, type SearchResult, SliderCardCarousel, type StyledButtonPropsTwo, type ThemeProperties, WavelengthAccessAlert, WavelengthAlert, WavelengthAppLogo, WavelengthAppTheme, WavelengthAutoComplete, WavelengthAutocomplete, WavelengthBanner, WavelengthBox, WavelengthButton, WavelengthCommentDisplay, WavelengthConfirmationModal, WavelengthContentModal, WavelengthContentPlaceholder, WavelengthDataTable, WavelengthDatePicker, WavelengthDefaultIcon, WavelengthDefaultPagination, WavelengthDragAndDrop, WavelengthDropdown, WavelengthDropdownButton, WavelengthExampleComponent, WavelengthFileDownloader, WavelengthFileDropZone, type WavelengthFileDropZoneProps, WavelengthFooter, WavelengthForm, WavelengthInput, WavelengthManyPlanes, WavelengthMultiSelectAutocomplete, WavelengthNavBar, type WavelengthNavBarProps, WavelengthNotAvailablePage, WavelengthNotificationPanel, WavelengthPermissionAlert, WavelengthPlaneTrail, WavelengthPopUpMenu, WavelengthProgressBar, WavelengthSearch, WavelengthSearchTextField, WavelengthSideBar, WavelengthSlider, WavelengthSnackbar, WavelengthSpinningLogo, WavelengthSpinningOuterCircle, WavelengthStandardSnackbar, WavelengthStyledButton, WavelengthTestSnackbar, WavelengthTitleBar, add, ascendingRange, concat, findBestStringMatch, type menuItemProps, range, useOutsideClick, useThemeContext };
1024
+ export { ButtonIcon, ButtonMenu, ChildDataTable, DefaultCarousel, type IFileSelectedEventDetail, type NavItem, NestedDataTable, SampleComponent, type SearchProps, type SearchResult, SliderCardCarousel, type StyledButtonPropsTwo, type ThemeProperties, WavelengthAccessAlert, WavelengthAlert, WavelengthAppLogo, WavelengthAppTheme, WavelengthAutoComplete, WavelengthAutocomplete, WavelengthBanner, WavelengthBox, WavelengthButton, WavelengthCheckbox, WavelengthCommentDisplay, WavelengthConfirmationModal, WavelengthContentModal, WavelengthContentPlaceholder, WavelengthDataTable, WavelengthDatePicker, WavelengthDefaultIcon, WavelengthDefaultPagination, WavelengthDragAndDrop, WavelengthDropdown, WavelengthDropdownButton, WavelengthExampleComponent, WavelengthFileDownloader, WavelengthFileDropZone, type WavelengthFileDropZoneProps, WavelengthFooter, WavelengthForm, WavelengthInput, WavelengthManyPlanes, WavelengthMultiSelectAutocomplete, WavelengthNavBar, type WavelengthNavBarProps, WavelengthNotAvailablePage, WavelengthNotificationPanel, WavelengthPermissionAlert, WavelengthPlaneTrail, WavelengthPopUpMenu, WavelengthProgressBar, WavelengthSearch, WavelengthSearchTextField, WavelengthSideBar, WavelengthSlider, WavelengthSnackbar, WavelengthSpinningLogo, WavelengthSpinningOuterCircle, WavelengthStandardSnackbar, WavelengthStyledButton, WavelengthTestSnackbar, WavelengthTitleBar, add, ascendingRange, concat, findBestStringMatch, type menuItemProps, range, useOutsideClick, useThemeContext };
@@ -957,6 +957,16 @@ declare const WavelengthDatePicker: {
957
957
  displayName: string;
958
958
  };
959
959
 
960
+ interface WavelengthCheckboxProps extends React__default.HTMLAttributes<HTMLElement> {
961
+ size?: string;
962
+ color?: string;
963
+ theme?: string;
964
+ disabled?: boolean;
965
+ text?: string;
966
+ textSize?: string;
967
+ }
968
+ declare const WavelengthCheckbox: React__default.FC<WavelengthCheckboxProps>;
969
+
960
970
  interface SampleComponentProps extends React__default.HTMLAttributes<HTMLElement> {
961
971
  testProp?: string;
962
972
  customStyle: StyleProp;
@@ -1007,7 +1017,8 @@ interface MultiSelectAutocompleteProps {
1007
1017
  style?: CustomStyleProp;
1008
1018
  onChange?: (selectedOptions: Option[]) => void;
1009
1019
  value?: Option[];
1020
+ disabled?: boolean;
1010
1021
  }
1011
1022
  declare const WavelengthMultiSelectAutocomplete: React__default.FC<MultiSelectAutocompleteProps>;
1012
1023
 
1013
- export { ButtonIcon, ButtonMenu, ChildDataTable, DefaultCarousel, type IFileSelectedEventDetail, type NavItem, NestedDataTable, SampleComponent, type SearchProps, type SearchResult, SliderCardCarousel, type StyledButtonPropsTwo, type ThemeProperties, WavelengthAccessAlert, WavelengthAlert, WavelengthAppLogo, WavelengthAppTheme, WavelengthAutoComplete, WavelengthAutocomplete, WavelengthBanner, WavelengthBox, WavelengthButton, WavelengthCommentDisplay, WavelengthConfirmationModal, WavelengthContentModal, WavelengthContentPlaceholder, WavelengthDataTable, WavelengthDatePicker, WavelengthDefaultIcon, WavelengthDefaultPagination, WavelengthDragAndDrop, WavelengthDropdown, WavelengthDropdownButton, WavelengthExampleComponent, WavelengthFileDownloader, WavelengthFileDropZone, type WavelengthFileDropZoneProps, WavelengthFooter, WavelengthForm, WavelengthInput, WavelengthManyPlanes, WavelengthMultiSelectAutocomplete, WavelengthNavBar, type WavelengthNavBarProps, WavelengthNotAvailablePage, WavelengthNotificationPanel, WavelengthPermissionAlert, WavelengthPlaneTrail, WavelengthPopUpMenu, WavelengthProgressBar, WavelengthSearch, WavelengthSearchTextField, WavelengthSideBar, WavelengthSlider, WavelengthSnackbar, WavelengthSpinningLogo, WavelengthSpinningOuterCircle, WavelengthStandardSnackbar, WavelengthStyledButton, WavelengthTestSnackbar, WavelengthTitleBar, add, ascendingRange, concat, findBestStringMatch, type menuItemProps, range, useOutsideClick, useThemeContext };
1024
+ export { ButtonIcon, ButtonMenu, ChildDataTable, DefaultCarousel, type IFileSelectedEventDetail, type NavItem, NestedDataTable, SampleComponent, type SearchProps, type SearchResult, SliderCardCarousel, type StyledButtonPropsTwo, type ThemeProperties, WavelengthAccessAlert, WavelengthAlert, WavelengthAppLogo, WavelengthAppTheme, WavelengthAutoComplete, WavelengthAutocomplete, WavelengthBanner, WavelengthBox, WavelengthButton, WavelengthCheckbox, WavelengthCommentDisplay, WavelengthConfirmationModal, WavelengthContentModal, WavelengthContentPlaceholder, WavelengthDataTable, WavelengthDatePicker, WavelengthDefaultIcon, WavelengthDefaultPagination, WavelengthDragAndDrop, WavelengthDropdown, WavelengthDropdownButton, WavelengthExampleComponent, WavelengthFileDownloader, WavelengthFileDropZone, type WavelengthFileDropZoneProps, WavelengthFooter, WavelengthForm, WavelengthInput, WavelengthManyPlanes, WavelengthMultiSelectAutocomplete, WavelengthNavBar, type WavelengthNavBarProps, WavelengthNotAvailablePage, WavelengthNotificationPanel, WavelengthPermissionAlert, WavelengthPlaneTrail, WavelengthPopUpMenu, WavelengthProgressBar, WavelengthSearch, WavelengthSearchTextField, WavelengthSideBar, WavelengthSlider, WavelengthSnackbar, WavelengthSpinningLogo, WavelengthSpinningOuterCircle, WavelengthStandardSnackbar, WavelengthStyledButton, WavelengthTestSnackbar, WavelengthTitleBar, add, ascendingRange, concat, findBestStringMatch, type menuItemProps, range, useOutsideClick, useThemeContext };
package/dist/esm/index.js CHANGED
@@ -7725,7 +7725,6 @@ var ChildDataTable2 = ({ columns, data, dropdownArrowLocation, sortIcon, dropdow
7725
7725
  const el = tableRef.current;
7726
7726
  if (!el) return;
7727
7727
  const handleReactDropdown = (event) => {
7728
- console.log("handling react dropdown");
7729
7728
  const customEvent = event;
7730
7729
  event.stopPropagation();
7731
7730
  const { container, itemId } = customEvent.detail;
@@ -7738,7 +7737,7 @@ var ChildDataTable2 = ({ columns, data, dropdownArrowLocation, sortIcon, dropdow
7738
7737
  if (item && item.dropdown && root) {
7739
7738
  root.render(item.dropdown);
7740
7739
  }
7741
- const dropdown = container.querySelector("#dropdown");
7740
+ const dropdown = container.querySelector(".dropdown");
7742
7741
  if (dropdown) {
7743
7742
  dropdown.hidden = false;
7744
7743
  }
@@ -7747,7 +7746,7 @@ var ChildDataTable2 = ({ columns, data, dropdownArrowLocation, sortIcon, dropdow
7747
7746
  event.stopPropagation();
7748
7747
  const { container } = event.detail;
7749
7748
  const root = reactDropdownRoots.current.get(container);
7750
- const dropdown = container.querySelector("#dropdown");
7749
+ const dropdown = container.querySelector(".dropdown");
7751
7750
  if (root && dropdown) {
7752
7751
  dropdown.hidden = true;
7753
7752
  }
@@ -8322,9 +8321,51 @@ WavelengthDatePicker.displayName = "WavelengthDatePicker";
8322
8321
  // src/index.ts
8323
8322
  import { WavelengthDatePicker as WavelengthDatePicker2 } from "@wavelengthusaf/web-components";
8324
8323
 
8325
- // src/components/samples/SampleComponent.tsx
8324
+ // src/components/inputs/WavelengthCheckbox.tsx
8326
8325
  import { useRef as useRef15, useEffect as useEffect16 } from "react";
8326
+ import "@wavelengthusaf/web-components";
8327
8327
  import { jsx as jsx50 } from "react/jsx-runtime";
8328
+ var WavelengthCheckbox = ({
8329
+ size,
8330
+ color: color2,
8331
+ theme,
8332
+ disabled,
8333
+ text,
8334
+ textSize,
8335
+ ...rest
8336
+ }) => {
8337
+ const ref = useRef15(null);
8338
+ useEffect16(() => {
8339
+ const el = ref.current;
8340
+ if (!el) return;
8341
+ if (size !== void 0) {
8342
+ el.setAttribute("size", size);
8343
+ }
8344
+ if (color2 !== void 0) {
8345
+ el.setAttribute("color", color2);
8346
+ }
8347
+ if (theme !== void 0) {
8348
+ el.setAttribute("theme", theme);
8349
+ }
8350
+ if (disabled) {
8351
+ el.setAttribute("disabled", "");
8352
+ } else {
8353
+ el.removeAttribute("disabled");
8354
+ }
8355
+ if (text !== void 0) {
8356
+ el.setAttribute("text", text);
8357
+ }
8358
+ if (textSize !== void 0) {
8359
+ el.setAttribute("text-size", textSize);
8360
+ }
8361
+ }, [size, color2, theme, disabled, text, textSize]);
8362
+ return /* @__PURE__ */ jsx50("wavelength-checkbox", { ref, ...rest });
8363
+ };
8364
+ WavelengthCheckbox.displayName = "WavelengthCheckbox";
8365
+
8366
+ // src/components/samples/SampleComponent.tsx
8367
+ import { useRef as useRef16, useEffect as useEffect17 } from "react";
8368
+ import { jsx as jsx51 } from "react/jsx-runtime";
8328
8369
  var SampleComponent = ({
8329
8370
  testProp,
8330
8371
  children,
@@ -8333,8 +8374,8 @@ var SampleComponent = ({
8333
8374
  ...rest
8334
8375
  // This rest operator includes className, style, onClick, etc.
8335
8376
  }) => {
8336
- const ref = useRef15(null);
8337
- useEffect16(() => {
8377
+ const ref = useRef16(null);
8378
+ useEffect17(() => {
8338
8379
  const el = ref.current;
8339
8380
  if (!el) return;
8340
8381
  el.customStyles = customStyle2;
@@ -8342,14 +8383,14 @@ var SampleComponent = ({
8342
8383
  el.setAttribute("test-prop", testProp);
8343
8384
  }
8344
8385
  }, [testProp]);
8345
- return /* @__PURE__ */ jsx50("sample-component", { ref, ...rest, children });
8386
+ return /* @__PURE__ */ jsx51("sample-component", { ref, ...rest, children });
8346
8387
  };
8347
8388
  SampleComponent.displayName = "SampleComponent";
8348
8389
 
8349
8390
  // src/components/NotificationPanel/WavelengthNotificationPanel.tsx
8350
- import { useRef as useRef16, useEffect as useEffect17 } from "react";
8391
+ import { useRef as useRef17, useEffect as useEffect18 } from "react";
8351
8392
  import "@wavelengthusaf/web-components";
8352
- import { jsx as jsx51 } from "react/jsx-runtime";
8393
+ import { jsx as jsx52 } from "react/jsx-runtime";
8353
8394
  var WavelengthNotificationPanel = ({
8354
8395
  notifications,
8355
8396
  darkMode,
@@ -8358,8 +8399,8 @@ var WavelengthNotificationPanel = ({
8358
8399
  ...rest
8359
8400
  // This rest operator includes className, style, onClick, etc.
8360
8401
  }) => {
8361
- const ref = useRef16(null);
8362
- useEffect17(() => {
8402
+ const ref = useRef17(null);
8403
+ useEffect18(() => {
8363
8404
  const el = ref.current;
8364
8405
  if (!el) return;
8365
8406
  if (notifications !== void 0) {
@@ -8378,18 +8419,18 @@ var WavelengthNotificationPanel = ({
8378
8419
  el.accountLink = accountLink;
8379
8420
  }
8380
8421
  }, [notifications, darkMode, rest.onMarkAsRead, rest.onSignOut, accountLink]);
8381
- return /* @__PURE__ */ jsx51("wavelength-notification-panel", { ref, ...rest, children });
8422
+ return /* @__PURE__ */ jsx52("wavelength-notification-panel", { ref, ...rest, children });
8382
8423
  };
8383
8424
 
8384
8425
  // src/index.ts
8385
8426
  import { SampleComponent as SampleComponent2 } from "@wavelengthusaf/web-components";
8386
8427
 
8387
8428
  // src/components/MultiSelect/WavelengthMultiSelectAutocomplete.tsx
8388
- import { useEffect as useEffect18, useRef as useRef17 } from "react";
8389
- import { jsx as jsx52 } from "react/jsx-runtime";
8390
- var WavelengthMultiSelectAutocomplete = ({ options, placeholder = "Select Options", label, name, style: style3, onChange, value, ...rest }) => {
8391
- const componentRef = useRef17(null);
8392
- useEffect18(() => {
8429
+ import { useEffect as useEffect19, useRef as useRef18 } from "react";
8430
+ import { jsx as jsx53 } from "react/jsx-runtime";
8431
+ var WavelengthMultiSelectAutocomplete = ({ options, placeholder = "Select Options", label, name, style: style3, onChange, value, disabled, ...rest }) => {
8432
+ const componentRef = useRef18(null);
8433
+ useEffect19(() => {
8393
8434
  const component = componentRef.current;
8394
8435
  if (!component) return;
8395
8436
  const handleValueChange = (event) => {
@@ -8402,22 +8443,23 @@ var WavelengthMultiSelectAutocomplete = ({ options, placeholder = "Select Option
8402
8443
  component.removeEventListener("change", handleValueChange);
8403
8444
  };
8404
8445
  }, [onChange]);
8405
- useEffect18(() => {
8446
+ useEffect19(() => {
8406
8447
  const component = componentRef.current;
8407
8448
  if (!component) return;
8408
8449
  if (placeholder) component.setAttribute("placeholder", placeholder);
8409
8450
  if (label) component.setAttribute("label", label);
8410
8451
  if (name) component.setAttribute("name", name);
8452
+ if (disabled) component.setAttribute("disabled", disabled ? "true" : "false");
8411
8453
  if (options) component.autocompleteOptions = options;
8412
8454
  if (style3) component.customStyles = style3;
8413
8455
  }, [options, placeholder, name, label, style3]);
8414
- useEffect18(() => {
8456
+ useEffect19(() => {
8415
8457
  const component = componentRef.current;
8416
8458
  if (component && value) {
8417
8459
  component.value = value;
8418
8460
  }
8419
8461
  }, [value]);
8420
- return /* @__PURE__ */ jsx52("wavelength-multi-select-autocomplete", { ref: componentRef, ...rest });
8462
+ return /* @__PURE__ */ jsx53("wavelength-multi-select-autocomplete", { ref: componentRef, ...rest });
8421
8463
  };
8422
8464
 
8423
8465
  // src/index.ts
@@ -8443,6 +8485,7 @@ export {
8443
8485
  WavelengthBox,
8444
8486
  WavelengthButton,
8445
8487
  WavelengthButton2 as WavelengthButtonElement,
8488
+ WavelengthCheckbox,
8446
8489
  WavelengthCommentDisplay,
8447
8490
  WavelengthConfirmationModal,
8448
8491
  WavelengthContentModal,
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@wavelengthusaf/components",
3
3
  "author": "563 EWS - Wavelength",
4
4
  "license": "MIT",
5
- "version": "4.2.2",
5
+ "version": "4.4.0",
6
6
  "description": "Common component library used by Wavelength developers",
7
7
  "main": "/dist/cjs/index.cjs",
8
8
  "module": "/dist/esm/index.js",
@@ -71,7 +71,7 @@
71
71
  "@emotion/styled": "^11.11.0",
72
72
  "@mui/icons-material": "^5.16.5",
73
73
  "@mui/material": "^5.15.7",
74
- "@wavelengthusaf/web-components": "^1.4.1",
74
+ "@wavelengthusaf/web-components": "^1.6.0",
75
75
  "react": "^18.2.0",
76
76
  "react-router-dom": "^6.26.2",
77
77
  "styled-components": "^6.1.12",