@utahdts/utah-design-system 1.12.1 → 1.13.1
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/css/3-generic/_generic-index.scss +335 -1
- package/css/4-elements/_elements-index.scss +4 -0
- package/css/6-components/_components-index.scss +1 -0
- package/css/6-components/base-components/buttons/_button.scss +1 -0
- package/css/6-components/base-components/buttons/_tag.scss +12 -25
- package/css/6-components/base-components/forms/_combo-box-input.scss +4 -2
- package/css/6-components/base-components/forms/_multi-select-input.scss +95 -0
- package/css/6-components/base-components/popups/_modal.scss +62 -8
- package/dist/style.css +472 -27
- package/dist/utah-design-system.es.js +38306 -40241
- package/dist/utah-design-system.umd.js +38287 -40225
- package/index.js +70 -84
- package/package.json +12 -3
- package/react/components/Tooltip/Tooltip.jsx +17 -57
- package/react/components/buttons/Button.jsx +28 -96
- package/react/components/buttons/ClickableTag.jsx +10 -12
- package/react/components/buttons/ConfirmationButton/ConfirmationButton.jsx +15 -18
- package/react/components/buttons/ConfirmationButton/ConfirmationChildren.jsx +7 -5
- package/react/components/buttons/ConfirmationButton/InitialChildren.jsx +7 -5
- package/react/components/buttons/ConfirmationButton/context/ConfirmationButtonContext.js +3 -5
- package/react/components/buttons/ConfirmationButton/context/ConfirmationButtonContextProvider.jsx +6 -2
- package/react/components/buttons/ConfirmationButton/context/useConfirmationButtonContext.js +1 -1
- package/react/components/buttons/IconButton.jsx +20 -80
- package/react/components/buttons/SegmentedButton.jsx +1 -9
- package/react/components/buttons/Tag.jsx +21 -15
- package/react/components/containers/accordion/Accordion.jsx +20 -32
- package/react/components/containers/tabs/Tab.jsx +12 -19
- package/react/components/containers/tabs/TabGroup.jsx +22 -37
- package/react/components/containers/tabs/TabGroupContext.jsx +8 -3
- package/react/components/containers/tabs/TabGroupTitle.jsx +12 -20
- package/react/components/containers/tabs/TabList.jsx +10 -18
- package/react/components/containers/tabs/TabPanel.jsx +13 -22
- package/react/components/containers/tabs/TabPanels.jsx +6 -14
- package/react/components/footer/FooterAgencyInformation.jsx +4 -18
- package/react/components/footer/FooterAgencyInformationColumn.jsx +4 -18
- package/react/components/footer/FooterAgencyInformationInfo.jsx +6 -36
- package/react/components/footer/FooterSocialMediaBar.jsx +5 -22
- package/react/components/forms/CharacterCount.jsx +8 -26
- package/react/components/forms/Checkbox.jsx +14 -10
- package/react/components/forms/ComboBox/ComboBox.jsx +72 -32
- package/react/components/forms/ComboBox/ComboBoxOption.jsx +41 -18
- package/react/components/forms/ComboBox/ComboBoxOptionGroup.jsx +12 -6
- package/react/components/forms/ComboBox/context/ComboBoxContext.js +4 -4
- package/react/components/forms/ComboBox/context/ComboBoxContextProvider.jsx +50 -14
- package/react/components/forms/ComboBox/context/ComboBoxOptionGroupContext.js +3 -4
- package/react/components/forms/ComboBox/context/ComboBoxOptionGroupContextProvider.jsx +3 -5
- package/react/components/forms/ComboBox/context/useComboBoxContext.js +2 -3
- package/react/components/forms/ComboBox/context/useComboBoxOptionGroupContext.js +2 -3
- package/react/components/forms/ComboBox/functions/clearComboBoxSelection.js +1 -3
- package/react/components/forms/ComboBox/functions/isOptionGroupVisible.js +9 -4
- package/react/components/forms/ComboBox/functions/moveComboBoxSelectionDown.js +16 -5
- package/react/components/forms/ComboBox/functions/moveComboBoxSelectionUp.js +14 -4
- package/react/components/forms/ComboBox/functions/selectComboBoxSelection.js +12 -6
- package/react/components/forms/ComboBox/internal/CombBoxListBox.jsx +21 -16
- package/react/components/forms/ComboBox/internal/ComboBoxTextInput.jsx +187 -111
- package/react/components/forms/ErrorMessage.jsx +7 -15
- package/react/components/forms/Form.jsx +23 -17
- package/react/components/forms/FormContext/FormContext.jsx +8 -5
- package/react/components/forms/FormContext/FormContextProvider.jsx +10 -12
- package/react/components/forms/FormContext/useFormContext.js +2 -11
- package/react/components/forms/FormContext/useFormContextInput.js +31 -20
- package/react/components/forms/MultiSelect/MultiSelect.jsx +72 -0
- package/react/components/forms/MultiSelect/MultiSelectClearIcon.jsx +37 -0
- package/react/components/forms/MultiSelect/MultiSelectComboBox.jsx +197 -0
- package/react/components/forms/MultiSelect/MultiSelectOption.jsx +51 -0
- package/react/components/forms/MultiSelect/MultiSelectOptionGroup.jsx +21 -0
- package/react/components/forms/MultiSelect/MultiSelectTagTemplate.jsx +36 -0
- package/react/components/forms/MultiSelect/MultiSelectTagWrapper.jsx +97 -0
- package/react/components/forms/MultiSelect/MultiSelectTags.jsx +67 -0
- package/react/components/forms/MultiSelect/context/MultiSelectContext.js +25 -0
- package/react/components/forms/MultiSelect/context/MultiSelectContextProvider.jsx +82 -0
- package/react/components/forms/MultiSelect/context/useMultiSelectContext.js +9 -0
- package/react/components/forms/MultiSelect/functions/removeSelectedOption.jsx +25 -0
- package/react/components/forms/RadioButton/RadioButton.jsx +9 -9
- package/react/components/forms/RadioButton/RadioButtonGroup.jsx +7 -10
- package/react/components/forms/RadioButton/context/RadioButtonGroupContext.js +3 -6
- package/react/components/forms/RadioButton/context/RadioButtonGroupContextProvider.jsx +8 -10
- package/react/components/forms/RadioButton/context/useRadioButtonGroupContext.js +4 -7
- package/react/components/forms/RequiredStar.jsx +1 -5
- package/react/components/forms/Select.jsx +23 -18
- package/react/components/forms/SelectOption.jsx +4 -25
- package/react/components/forms/Switch.jsx +38 -30
- package/react/components/forms/TextArea.jsx +35 -29
- package/react/components/forms/TextInput.jsx +62 -42
- package/react/components/icons/Icons.jsx +15 -13
- package/react/components/navigation/ExternalLink.jsx +7 -14
- package/react/components/navigation/HorizontalMenu.jsx +17 -28
- package/react/components/navigation/LinkCallback.jsx +9 -19
- package/react/components/navigation/MenuItem.jsx +28 -26
- package/react/components/navigation/OnThisPage.jsx +9 -15
- package/react/components/navigation/OnThisPageHeadersLevel.jsx +15 -14
- package/react/components/navigation/VerticalMenu.jsx +34 -36
- package/react/components/navigation/pagination/Pagination.jsx +45 -71
- package/react/components/navigation/pagination/PaginationLink.jsx +12 -26
- package/react/components/navigation/pagination/hooks/usePaginatedList.js +12 -13
- package/react/components/navigation/pagination/util/determinePaginationLinks.js +7 -1
- package/react/components/navigation/util/findElementsByTagNameMatch.js +20 -10
- package/react/components/navigation/util/groupElementsByHeaderLevel.js +15 -11
- package/react/components/popups/Banner/Banner.jsx +14 -14
- package/react/components/popups/Banner/BannerIcon.jsx +4 -6
- package/react/components/popups/Banner/BannerMessage.jsx +4 -6
- package/react/components/popups/Modal/Modal.jsx +126 -0
- package/react/components/popups/Modal/ModalContent.jsx +20 -0
- package/react/components/popups/Modal/ModalFooter.jsx +20 -0
- package/react/components/popups/Modal/ModalTitle.jsx +20 -0
- package/react/components/popups/Popup.jsx +38 -70
- package/react/components/table/Table.jsx +5 -7
- package/react/components/table/TableBody.jsx +5 -7
- package/react/components/table/TableBodyData.jsx +13 -14
- package/react/components/table/TableBodyDataCellTemplate.jsx +8 -9
- package/react/components/table/TableBodyDataRowContext.jsx +1 -2
- package/react/components/table/TableBodyDataRowTemplate.jsx +9 -10
- package/react/components/table/TableCell.jsx +6 -9
- package/react/components/table/TableContextConsumer.jsx +5 -5
- package/react/components/table/TableFilterCustom.jsx +8 -10
- package/react/components/table/TableFilterDate.jsx +6 -7
- package/react/components/table/TableFilterNone.jsx +5 -7
- package/react/components/table/TableFilterSelect.jsx +14 -10
- package/react/components/table/TableFilterSelectAllOptions.jsx +17 -12
- package/react/components/table/TableFilterSelectOption.jsx +4 -6
- package/react/components/table/TableFilterTextInput.jsx +8 -8
- package/react/components/table/TableFilters.jsx +9 -9
- package/react/components/table/TableFoot.jsx +9 -11
- package/react/components/table/TableFootCell.jsx +9 -11
- package/react/components/table/TableFootRow.jsx +9 -11
- package/react/components/table/TableHead.jsx +5 -7
- package/react/components/table/TableHeadCell.jsx +25 -24
- package/react/components/table/TableHeadRow.jsx +5 -7
- package/react/components/table/TablePagination.jsx +13 -14
- package/react/components/table/TableRow.jsx +5 -7
- package/react/components/table/TableSortingRule.jsx +8 -8
- package/react/components/table/TableSortingRules.jsx +5 -6
- package/react/components/table/TableWrapper.jsx +32 -18
- package/react/components/table/hooks/useTableContext.jsx +0 -1
- package/react/components/table/hooks/useTableFilterRegistration.js +1 -3
- package/react/components/table/useCurrentValuesFromStateContext.js +14 -10
- package/react/components/table/util/TableContext.jsx +1 -2
- package/react/components/table/util/convertRecordsToFilterValue.js +6 -7
- package/react/components/table/util/createTableFilterFunctions.js +5 -5
- package/react/components/table/util/filterTableRecords.js +5 -7
- package/react/components/templates/DocumentationTemplate.jsx +11 -19
- package/react/components/templates/LandingTemplate.jsx +8 -13
- package/react/components/templates/MainContent.jsx +10 -23
- package/react/components/widgetsIndicators/Spinner.jsx +6 -8
- package/react/contexts/UtahDesignSystemContext/UtahDesignSystemContext.js +3 -6
- package/react/contexts/UtahDesignSystemContext/UtahDesignSystemContextProvider.jsx +8 -21
- package/react/contexts/UtahDesignSystemContext/components/AriaLiveMessages.jsx +8 -21
- package/react/contexts/UtahDesignSystemContext/components/BannersGlobal.jsx +44 -26
- package/react/contexts/UtahDesignSystemContext/hooks/useAriaMessaging.js +3 -4
- package/react/contexts/UtahDesignSystemContext/hooks/useBanner.js +22 -18
- package/react/contexts/UtahDesignSystemContext/hooks/useUtahDesignSystemAriaMessaging.js +0 -0
- package/react/contexts/UtahDesignSystemContext/useUtahDesignSystemContext.js +4 -7
- package/react/contexts/utahHeaderContext/UtahHeaderContext.js +2 -4
- package/react/contexts/utahHeaderContext/UtahHeaderContextProvider.jsx +14 -25
- package/react/contexts/utahHeaderContext/useUtahHeaderContext.js +4 -5
- package/react/enums/ariaLiveTypes.js +1 -2
- package/react/enums/bannerPlacement.js +1 -3
- package/react/enums/buttonEnums.js +3 -5
- package/react/enums/componentColors.js +2 -3
- package/react/enums/formElementSizesEnum.js +2 -3
- package/react/enums/popupPlacement.js +1 -3
- package/react/enums/tableSortingRuleFieldType.js +1 -2
- package/react/hooks/debug/useDebugDidIChange.js +1 -2
- package/react/hooks/useClickOutside.js +9 -9
- package/react/hooks/useDebounceFunc.js +3 -4
- package/react/hooks/useGlobalKeyEvent.js +8 -9
- package/react/hooks/useImmerRef.js +8 -2
- package/react/hooks/useMountingTracker.js +1 -1
- package/react/hooks/usePopupDelay.js +1 -2
- package/react/hooks/useRefAlways.js +3 -4
- package/react/hooks/useRefLazy.js +4 -5
- package/react/hooks/useRememberCursorPosition.js +5 -4
- package/react/util/arrayMatchRecursive.js +14 -11
- package/react/util/chainSorters.js +3 -4
- package/react/util/handleEvent.js +3 -5
- package/react/util/handleKeyPress.js +14 -1
- package/react/util/htmlDecode.js +6 -2
- package/react/util/joinClassNames.js +4 -4
- package/react/util/notNull.js +1 -3
- package/react/util/notNullArray.js +16 -0
- package/react/util/notNullMap.js +1 -1
- package/react/util/rectContainsPoint.js +4 -4
- package/react/util/state/setValueAtPath.js +15 -19
- package/react/util/state/valueAtPath.js +16 -6
- package/react/util/stringToId.js +2 -1
- package/react/util/toSafeString.js +1 -3
- package/react/util/trailingS.js +1 -3
- package/react/util/useOnKeyUp.js +5 -8
- package/css/3-generic/normalize.css +0 -349
- package/react/hooks/forms/useComponentState.js +0 -29
- package/react/hooks/useBanner.js +0 -7
- package/react/hooks/useScrollPosition.js +0 -21
- package/react/hooks/useStateEffect.js +0 -45
- package/react/jsDocTypes.js +0 -311
- package/react/propTypesShapes/MenuItemShape.js +0 -22
- package/react/propTypesShapes/MenuItemsShape.js +0 -4
- package/react/propTypesShapes/MenuShape.js +0 -10
- package/react/propTypesShapes/RefShape.js +0 -9
- package/react/propTypesShapes/TablePaginationShape.js +0 -9
- package/react/propTypesShapes/header/ActionItemShape.js +0 -21
- package/react/propTypesShapes/header/BadgeShape.js +0 -12
- package/react/propTypesShapes/header/DomLocationTargetShape.js +0 -12
- package/react/propTypesShapes/header/EventActionShape.js +0 -8
- package/react/propTypesShapes/header/FooterSettingsShape.js +0 -12
- package/react/propTypesShapes/header/HeaderMainMenuItemShape.js +0 -19
- package/react/propTypesShapes/header/HeaderMenuItemShape.js +0 -21
- package/react/propTypesShapes/header/HeaderMenuItemUrlActionShape.js +0 -7
- package/react/propTypesShapes/header/LogoShape.js +0 -12
- package/react/propTypesShapes/header/MainMenuItemShape.js +0 -23
- package/react/propTypesShapes/header/MainMenuShape.js +0 -12
- package/react/propTypesShapes/header/MediaSizesShape.js +0 -8
- package/react/propTypesShapes/header/MenuItemFunctionUrlActionShape.js +0 -13
- package/react/propTypesShapes/header/MenuItemShape.js +0 -26
- package/react/propTypesShapes/header/MenuItemUrlActionShape.js +0 -11
- package/react/propTypesShapes/header/PopupMenuShape.js +0 -13
- package/react/propTypesShapes/header/SettingsShape.js +0 -31
- package/react/propTypesShapes/header/UserInfoShape.js +0 -20
- package/react/propTypesShapes/header/UtahIdShape.js +0 -18
- package/react/util/uuidv4.js +0 -19
package/dist/style.css
CHANGED
|
@@ -1668,9 +1668,307 @@ Media Sizes - SCSS Variables
|
|
|
1668
1668
|
scss mixins and functions
|
|
1669
1669
|
*/
|
|
1670
1670
|
/*
|
|
1671
|
+
############ _class-vars.scss ############
|
|
1672
|
+
CSS Classes - SCSS Variables
|
|
1673
|
+
*/
|
|
1674
|
+
/*
|
|
1671
1675
|
############ _generic-index.scss ############
|
|
1672
1676
|
css resets, etc.
|
|
1673
1677
|
*/
|
|
1678
|
+
/* Borrowed from: */
|
|
1679
|
+
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
|
|
1680
|
+
.utah-design-system {
|
|
1681
|
+
-webkit-text-size-adjust: 100%; /* 2 */
|
|
1682
|
+
/**
|
|
1683
|
+
* Render the `main` element consistently in IE.
|
|
1684
|
+
*/
|
|
1685
|
+
/**
|
|
1686
|
+
* Correct the font size and margin on `h1` elements within `section` and
|
|
1687
|
+
* `article` contexts in Chrome, Firefox, and Safari.
|
|
1688
|
+
*/
|
|
1689
|
+
/* Grouping content
|
|
1690
|
+
========================================================================== */
|
|
1691
|
+
/**
|
|
1692
|
+
* 1. Add the correct box sizing in Firefox.
|
|
1693
|
+
* 2. Show the overflow in Edge and IE.
|
|
1694
|
+
*/
|
|
1695
|
+
/**
|
|
1696
|
+
* 1. Correct the inheritance and scaling of font size in all browsers.
|
|
1697
|
+
* 2. Correct the odd `em` font sizing in all browsers.
|
|
1698
|
+
*/
|
|
1699
|
+
/* Text-level semantics
|
|
1700
|
+
========================================================================== */
|
|
1701
|
+
/**
|
|
1702
|
+
* Remove the gray background on active links in IE 10.
|
|
1703
|
+
*/
|
|
1704
|
+
/**
|
|
1705
|
+
* 1. Remove the bottom border in Chrome 57-
|
|
1706
|
+
* 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
|
|
1707
|
+
*/
|
|
1708
|
+
/**
|
|
1709
|
+
* Add the correct font weight in Chrome, Edge, and Safari.
|
|
1710
|
+
*/
|
|
1711
|
+
/**
|
|
1712
|
+
* 1. Correct the inheritance and scaling of font size in all browsers.
|
|
1713
|
+
* 2. Correct the odd `em` font sizing in all browsers.
|
|
1714
|
+
*/
|
|
1715
|
+
/**
|
|
1716
|
+
* Add the correct font size in all browsers.
|
|
1717
|
+
*/
|
|
1718
|
+
/**
|
|
1719
|
+
* Prevent `sub` and `sup` elements from affecting the line height in
|
|
1720
|
+
* all browsers.
|
|
1721
|
+
*/
|
|
1722
|
+
/* Embedded content
|
|
1723
|
+
========================================================================== */
|
|
1724
|
+
/**
|
|
1725
|
+
* Remove the border on images inside links in IE 10.
|
|
1726
|
+
*/
|
|
1727
|
+
/* Forms
|
|
1728
|
+
========================================================================== */
|
|
1729
|
+
/**
|
|
1730
|
+
* 1. Change the font styles in all browsers.
|
|
1731
|
+
* 2. Remove the margin in Firefox and Safari.
|
|
1732
|
+
*/
|
|
1733
|
+
/**
|
|
1734
|
+
* Show the overflow in IE.
|
|
1735
|
+
* 1. Show the overflow in Edge.
|
|
1736
|
+
*/
|
|
1737
|
+
/**
|
|
1738
|
+
* Remove the inheritance of text transform in Edge, Firefox, and IE.
|
|
1739
|
+
* 1. Remove the inheritance of text transform in Firefox.
|
|
1740
|
+
*/
|
|
1741
|
+
/**
|
|
1742
|
+
* Correct the inability to style clickable types in iOS and Safari.
|
|
1743
|
+
*/
|
|
1744
|
+
/**
|
|
1745
|
+
* Remove the inner border and padding in Firefox.
|
|
1746
|
+
*/
|
|
1747
|
+
/**
|
|
1748
|
+
* Restore the focus styles unset by the previous rule.
|
|
1749
|
+
*/
|
|
1750
|
+
/**
|
|
1751
|
+
* Correct the padding in Firefox.
|
|
1752
|
+
*/
|
|
1753
|
+
/**
|
|
1754
|
+
* 1. Correct the text wrapping in Edge and IE.
|
|
1755
|
+
* 2. Correct the color inheritance from `fieldset` elements in IE.
|
|
1756
|
+
* 3. Remove the padding so developers are not caught out when they zero out
|
|
1757
|
+
* `fieldset` elements in all browsers.
|
|
1758
|
+
*/
|
|
1759
|
+
/**
|
|
1760
|
+
* Add the correct vertical alignment in Chrome, Firefox, and Opera.
|
|
1761
|
+
*/
|
|
1762
|
+
/**
|
|
1763
|
+
* Remove the default vertical scrollbar in IE 10+.
|
|
1764
|
+
*/
|
|
1765
|
+
/**
|
|
1766
|
+
* 1. Add the correct box sizing in IE 10.
|
|
1767
|
+
* 2. Remove the padding in IE 10.
|
|
1768
|
+
*/
|
|
1769
|
+
/**
|
|
1770
|
+
* Correct the cursor style of increment and decrement buttons in Chrome.
|
|
1771
|
+
*/
|
|
1772
|
+
/**
|
|
1773
|
+
* 1. Correct the odd appearance in Chrome and Safari.
|
|
1774
|
+
* 2. Correct the outline style in Safari.
|
|
1775
|
+
*/
|
|
1776
|
+
/**
|
|
1777
|
+
* Remove the inner padding in Chrome and Safari on macOS.
|
|
1778
|
+
*/
|
|
1779
|
+
/**
|
|
1780
|
+
* 1. Correct the inability to style clickable types in iOS and Safari.
|
|
1781
|
+
* 2. Change font properties to `inherit` in Safari.
|
|
1782
|
+
*/
|
|
1783
|
+
/* Interactive
|
|
1784
|
+
========================================================================== */
|
|
1785
|
+
/*
|
|
1786
|
+
* Add the correct display in Edge, IE 10+, and Firefox.
|
|
1787
|
+
*/
|
|
1788
|
+
/*
|
|
1789
|
+
* Add the correct display in all browsers.
|
|
1790
|
+
*/
|
|
1791
|
+
/* Misc
|
|
1792
|
+
========================================================================== */
|
|
1793
|
+
/**
|
|
1794
|
+
* Add the correct display in IE 10+.
|
|
1795
|
+
*/
|
|
1796
|
+
/**
|
|
1797
|
+
* Add the correct display in IE 10.
|
|
1798
|
+
*/
|
|
1799
|
+
}
|
|
1800
|
+
|
|
1801
|
+
.utah-design-system main {
|
|
1802
|
+
display: block;
|
|
1803
|
+
}
|
|
1804
|
+
|
|
1805
|
+
.utah-design-system h1 {
|
|
1806
|
+
font-size: 2em;
|
|
1807
|
+
margin: 0.67em 0;
|
|
1808
|
+
}
|
|
1809
|
+
|
|
1810
|
+
.utah-design-system hr {
|
|
1811
|
+
box-sizing: content-box; /* 1 */
|
|
1812
|
+
height: 0; /* 1 */
|
|
1813
|
+
overflow: visible; /* 2 */
|
|
1814
|
+
}
|
|
1815
|
+
|
|
1816
|
+
.utah-design-system pre {
|
|
1817
|
+
font-family: monospace, monospace; /* 1 */
|
|
1818
|
+
font-size: 1em; /* 2 */
|
|
1819
|
+
}
|
|
1820
|
+
|
|
1821
|
+
.utah-design-system a {
|
|
1822
|
+
background-color: transparent;
|
|
1823
|
+
}
|
|
1824
|
+
|
|
1825
|
+
.utah-design-system abbr[title] {
|
|
1826
|
+
border-bottom: none; /* 1 */
|
|
1827
|
+
text-decoration: underline; /* 2 */
|
|
1828
|
+
text-decoration: underline dotted; /* 2 */
|
|
1829
|
+
}
|
|
1830
|
+
|
|
1831
|
+
.utah-design-system b,
|
|
1832
|
+
.utah-design-system strong {
|
|
1833
|
+
font-weight: bolder;
|
|
1834
|
+
}
|
|
1835
|
+
|
|
1836
|
+
.utah-design-system code,
|
|
1837
|
+
.utah-design-system kbd,
|
|
1838
|
+
.utah-design-system samp {
|
|
1839
|
+
font-family: monospace, monospace; /* 1 */
|
|
1840
|
+
font-size: 1em; /* 2 */
|
|
1841
|
+
}
|
|
1842
|
+
|
|
1843
|
+
.utah-design-system small {
|
|
1844
|
+
font-size: 80%;
|
|
1845
|
+
}
|
|
1846
|
+
|
|
1847
|
+
.utah-design-system sub,
|
|
1848
|
+
.utah-design-system sup {
|
|
1849
|
+
font-size: 75%;
|
|
1850
|
+
line-height: 0;
|
|
1851
|
+
position: relative;
|
|
1852
|
+
vertical-align: baseline;
|
|
1853
|
+
}
|
|
1854
|
+
|
|
1855
|
+
.utah-design-system sub {
|
|
1856
|
+
bottom: -0.25em;
|
|
1857
|
+
}
|
|
1858
|
+
|
|
1859
|
+
.utah-design-system sup {
|
|
1860
|
+
top: -0.5em;
|
|
1861
|
+
}
|
|
1862
|
+
|
|
1863
|
+
.utah-design-system img {
|
|
1864
|
+
border-style: none;
|
|
1865
|
+
}
|
|
1866
|
+
|
|
1867
|
+
.utah-design-system button,
|
|
1868
|
+
.utah-design-system input,
|
|
1869
|
+
.utah-design-system optgroup,
|
|
1870
|
+
.utah-design-system select,
|
|
1871
|
+
.utah-design-system textarea {
|
|
1872
|
+
font-family: inherit; /* 1 */
|
|
1873
|
+
font-size: 100%; /* 1 */
|
|
1874
|
+
line-height: 1.15; /* 1 */
|
|
1875
|
+
margin: 0; /* 2 */
|
|
1876
|
+
}
|
|
1877
|
+
|
|
1878
|
+
.utah-design-system button,
|
|
1879
|
+
.utah-design-system input { /* 1 */
|
|
1880
|
+
overflow: visible;
|
|
1881
|
+
}
|
|
1882
|
+
|
|
1883
|
+
.utah-design-system button,
|
|
1884
|
+
.utah-design-system select { /* 1 */
|
|
1885
|
+
text-transform: none;
|
|
1886
|
+
}
|
|
1887
|
+
|
|
1888
|
+
.utah-design-system button,
|
|
1889
|
+
.utah-design-system [type=button],
|
|
1890
|
+
.utah-design-system [type=reset],
|
|
1891
|
+
.utah-design-system [type=submit] {
|
|
1892
|
+
-webkit-appearance: button;
|
|
1893
|
+
}
|
|
1894
|
+
|
|
1895
|
+
.utah-design-system button::-moz-focus-inner,
|
|
1896
|
+
.utah-design-system [type=button]::-moz-focus-inner,
|
|
1897
|
+
.utah-design-system [type=reset]::-moz-focus-inner,
|
|
1898
|
+
.utah-design-system [type=submit]::-moz-focus-inner {
|
|
1899
|
+
border-style: none;
|
|
1900
|
+
padding: 0;
|
|
1901
|
+
}
|
|
1902
|
+
|
|
1903
|
+
.utah-design-system button:-moz-focusring,
|
|
1904
|
+
.utah-design-system [type=button]:-moz-focusring,
|
|
1905
|
+
.utah-design-system [type=reset]:-moz-focusring,
|
|
1906
|
+
.utah-design-system [type=submit]:-moz-focusring {
|
|
1907
|
+
outline: 1px dotted ButtonText;
|
|
1908
|
+
}
|
|
1909
|
+
|
|
1910
|
+
.utah-design-system fieldset {
|
|
1911
|
+
padding: 0.35em 0.75em 0.625em;
|
|
1912
|
+
}
|
|
1913
|
+
|
|
1914
|
+
.utah-design-system legend {
|
|
1915
|
+
box-sizing: border-box; /* 1 */
|
|
1916
|
+
color: inherit; /* 2 */
|
|
1917
|
+
display: table; /* 1 */
|
|
1918
|
+
max-width: 100%; /* 1 */
|
|
1919
|
+
padding: 0; /* 3 */
|
|
1920
|
+
white-space: normal; /* 1 */
|
|
1921
|
+
}
|
|
1922
|
+
|
|
1923
|
+
.utah-design-system progress {
|
|
1924
|
+
vertical-align: baseline;
|
|
1925
|
+
}
|
|
1926
|
+
|
|
1927
|
+
.utah-design-system textarea {
|
|
1928
|
+
overflow: auto;
|
|
1929
|
+
}
|
|
1930
|
+
|
|
1931
|
+
.utah-design-system [type=checkbox],
|
|
1932
|
+
.utah-design-system [type=radio] {
|
|
1933
|
+
box-sizing: border-box; /* 1 */
|
|
1934
|
+
padding: 0; /* 2 */
|
|
1935
|
+
}
|
|
1936
|
+
|
|
1937
|
+
.utah-design-system [type=number]::-webkit-inner-spin-button,
|
|
1938
|
+
.utah-design-system [type=number]::-webkit-outer-spin-button {
|
|
1939
|
+
height: auto;
|
|
1940
|
+
}
|
|
1941
|
+
|
|
1942
|
+
.utah-design-system [type=search] {
|
|
1943
|
+
-webkit-appearance: textfield; /* 1 */
|
|
1944
|
+
outline-offset: -2px; /* 2 */
|
|
1945
|
+
}
|
|
1946
|
+
|
|
1947
|
+
.utah-design-system [type=search]::-webkit-search-decoration {
|
|
1948
|
+
-webkit-appearance: none;
|
|
1949
|
+
}
|
|
1950
|
+
|
|
1951
|
+
.utah-design-system ::-webkit-file-upload-button {
|
|
1952
|
+
-webkit-appearance: button; /* 1 */
|
|
1953
|
+
font: inherit; /* 2 */
|
|
1954
|
+
}
|
|
1955
|
+
|
|
1956
|
+
.utah-design-system details {
|
|
1957
|
+
display: block;
|
|
1958
|
+
}
|
|
1959
|
+
|
|
1960
|
+
.utah-design-system summary {
|
|
1961
|
+
display: list-item;
|
|
1962
|
+
}
|
|
1963
|
+
|
|
1964
|
+
.utah-design-system template {
|
|
1965
|
+
display: none;
|
|
1966
|
+
}
|
|
1967
|
+
|
|
1968
|
+
.utah-design-system [hidden] {
|
|
1969
|
+
display: none;
|
|
1970
|
+
}
|
|
1971
|
+
|
|
1674
1972
|
/*
|
|
1675
1973
|
############ _class-vars.scss ############
|
|
1676
1974
|
CSS Classes - SCSS Variables
|
|
@@ -1773,6 +2071,10 @@ elemental html: h1, h2, h3, ul, li, etc.
|
|
|
1773
2071
|
display: inline-block;
|
|
1774
2072
|
}
|
|
1775
2073
|
|
|
2074
|
+
.utah-design-system dialog {
|
|
2075
|
+
border: none;
|
|
2076
|
+
}
|
|
2077
|
+
|
|
1776
2078
|
/*
|
|
1777
2079
|
############ _objects-index.scss ############
|
|
1778
2080
|
containers and general design patterns, 2up, 3up, layout grids, etc.
|
|
@@ -2016,6 +2318,7 @@ scss mixins and functions
|
|
|
2016
2318
|
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
|
2017
2319
|
scale: 1;
|
|
2018
2320
|
text-shadow: none;
|
|
2321
|
+
box-shadow: none;
|
|
2019
2322
|
}
|
|
2020
2323
|
|
|
2021
2324
|
.utah-design-system button svg, .utah-design-system .button svg {
|
|
@@ -2580,12 +2883,12 @@ base color swatches for the design system
|
|
|
2580
2883
|
}
|
|
2581
2884
|
|
|
2582
2885
|
.utah-design-system .tag {
|
|
2583
|
-
padding:
|
|
2886
|
+
padding: 0 var(--spacing-s);
|
|
2584
2887
|
display: flex;
|
|
2585
2888
|
align-items: center;
|
|
2586
2889
|
border-radius: var(--radius-small);
|
|
2587
|
-
|
|
2588
|
-
|
|
2890
|
+
min-height: var(--form-ele-small);
|
|
2891
|
+
line-height: 1;
|
|
2589
2892
|
}
|
|
2590
2893
|
|
|
2591
2894
|
.utah-design-system .tag__button[type=button] {
|
|
@@ -2597,17 +2900,6 @@ base color swatches for the design system
|
|
|
2597
2900
|
line-height: 1.4;
|
|
2598
2901
|
}
|
|
2599
2902
|
|
|
2600
|
-
.utah-design-system .tag__button[type=button].tag--small {
|
|
2601
|
-
padding: var(--spacing-3xs) var(--spacing-2xs);
|
|
2602
|
-
min-height: 28px;
|
|
2603
|
-
font-size: var(--font-size-xs);
|
|
2604
|
-
}
|
|
2605
|
-
|
|
2606
|
-
.utah-design-system .tag__button[type=button].tag--large {
|
|
2607
|
-
min-height: var(--form-ele-small);
|
|
2608
|
-
font-size: var(--font-size-m);
|
|
2609
|
-
}
|
|
2610
|
-
|
|
2611
2903
|
.utah-design-system .tag__button[type=button].tag--selected {
|
|
2612
2904
|
background-color: var(--gray-color);
|
|
2613
2905
|
color: white;
|
|
@@ -2620,10 +2912,6 @@ base color swatches for the design system
|
|
|
2620
2912
|
}
|
|
2621
2913
|
|
|
2622
2914
|
.utah-design-system .tag__clear-button {
|
|
2623
|
-
position: absolute;
|
|
2624
|
-
top: 50%;
|
|
2625
|
-
transform: translateY(-50%);
|
|
2626
|
-
right: var(--spacing-3xs);
|
|
2627
2915
|
font-weight: var(--font-weight-normal);
|
|
2628
2916
|
transition: transform;
|
|
2629
2917
|
}
|
|
@@ -2632,21 +2920,18 @@ base color swatches for the design system
|
|
|
2632
2920
|
font-size: 0.7rem;
|
|
2633
2921
|
}
|
|
2634
2922
|
|
|
2635
|
-
.utah-design-system .tag__clear-button[disabled]:active {
|
|
2636
|
-
transform: translateY(-50%);
|
|
2637
|
-
}
|
|
2638
|
-
|
|
2639
2923
|
.utah-design-system .tag__wrapper {
|
|
2640
2924
|
border-radius: var(--radius-small);
|
|
2641
2925
|
display: flex;
|
|
2642
2926
|
align-items: center;
|
|
2643
|
-
line-height: 1.4;
|
|
2644
2927
|
position: relative;
|
|
2928
|
+
background-color: var(--gray-light-color);
|
|
2645
2929
|
}
|
|
2646
2930
|
|
|
2647
2931
|
.utah-design-system .tag--small {
|
|
2648
2932
|
font-size: var(--font-size-xs);
|
|
2649
|
-
padding:
|
|
2933
|
+
padding: 0 var(--spacing-xs);
|
|
2934
|
+
min-height: var(--form-ele-small2x);
|
|
2650
2935
|
}
|
|
2651
2936
|
|
|
2652
2937
|
.utah-design-system .tag--small .tag--icon svg {
|
|
@@ -2695,7 +2980,11 @@ base color swatches for the design system
|
|
|
2695
2980
|
}
|
|
2696
2981
|
|
|
2697
2982
|
.utah-design-system .tag--clearable .tag {
|
|
2698
|
-
padding:
|
|
2983
|
+
padding: 0 0 0 var(--spacing-xs);
|
|
2984
|
+
}
|
|
2985
|
+
|
|
2986
|
+
.utah-design-system .tag--clearable .tag--small {
|
|
2987
|
+
padding: 0 0 0 var(--spacing-xs);
|
|
2699
2988
|
}
|
|
2700
2989
|
|
|
2701
2990
|
.utah-design-system .footer-agency-information {
|
|
@@ -2970,9 +3259,8 @@ base color swatches for the design system
|
|
|
2970
3259
|
font-weight: var(--font-weight-normal);
|
|
2971
3260
|
}
|
|
2972
3261
|
|
|
2973
|
-
.utah-design-system .combo-box-input__chevron[class*=utds-icon-before-]::before {
|
|
3262
|
+
.utah-design-system .combo-box-input__chevron [class*=utds-icon-before-]::before {
|
|
2974
3263
|
font-size: 0.9rem;
|
|
2975
|
-
line-height: 0;
|
|
2976
3264
|
}
|
|
2977
3265
|
|
|
2978
3266
|
.utah-design-system .combo-box-input__chevron--is-disabled {
|
|
@@ -2987,6 +3275,10 @@ base color swatches for the design system
|
|
|
2987
3275
|
margin: 0;
|
|
2988
3276
|
}
|
|
2989
3277
|
|
|
3278
|
+
.utah-design-system .combo-box-input__inner-wrapper .tooltip__wrapper {
|
|
3279
|
+
z-index: 2001;
|
|
3280
|
+
}
|
|
3281
|
+
|
|
2990
3282
|
.utah-design-system .combo-box-input__list-box {
|
|
2991
3283
|
background: white;
|
|
2992
3284
|
border-radius: var(--radius-small);
|
|
@@ -3044,6 +3336,107 @@ base color swatches for the design system
|
|
|
3044
3336
|
font-weight: var(--font-weight-bold);
|
|
3045
3337
|
}
|
|
3046
3338
|
|
|
3339
|
+
.utah-design-system .multi-select {
|
|
3340
|
+
background: white;
|
|
3341
|
+
color: var(--gray-color);
|
|
3342
|
+
min-height: var(--form-ele-medium);
|
|
3343
|
+
border-radius: var(--radius-small);
|
|
3344
|
+
box-sizing: border-box;
|
|
3345
|
+
border: 1px solid var(--gray-color);
|
|
3346
|
+
width: 100%;
|
|
3347
|
+
display: flex;
|
|
3348
|
+
flex-wrap: wrap;
|
|
3349
|
+
align-items: start;
|
|
3350
|
+
gap: var(--spacing-2xs);
|
|
3351
|
+
padding: var(--spacing-2xs) var(--spacing-xl) var(--spacing-2xs) var(--spacing-2xs);
|
|
3352
|
+
box-shadow: var(--hover-gray-color) 0 0 0 0;
|
|
3353
|
+
transition: box-shadow var(--timing-xquick) ease-in-out;
|
|
3354
|
+
}
|
|
3355
|
+
|
|
3356
|
+
.utah-design-system .multi-select__wrapper {
|
|
3357
|
+
position: relative;
|
|
3358
|
+
}
|
|
3359
|
+
|
|
3360
|
+
.utah-design-system .multi-select__wrapper .tooltip__wrapper {
|
|
3361
|
+
z-index: 2001;
|
|
3362
|
+
}
|
|
3363
|
+
|
|
3364
|
+
.utah-design-system .multi-select:hover {
|
|
3365
|
+
box-shadow: var(--hover-gray-color) 0 0 0 5px;
|
|
3366
|
+
border-color: black;
|
|
3367
|
+
}
|
|
3368
|
+
|
|
3369
|
+
.utah-design-system .multi-select__combo-box {
|
|
3370
|
+
flex: 1;
|
|
3371
|
+
min-width: 25%;
|
|
3372
|
+
}
|
|
3373
|
+
|
|
3374
|
+
.utah-design-system .multi-select__combo-box .combo-box-input {
|
|
3375
|
+
border: none;
|
|
3376
|
+
min-height: var(--form-ele-small1x);
|
|
3377
|
+
padding: 0;
|
|
3378
|
+
flex: 1;
|
|
3379
|
+
}
|
|
3380
|
+
|
|
3381
|
+
.utah-design-system .multi-select__combo-box .combo-box-input__chevron {
|
|
3382
|
+
display: none;
|
|
3383
|
+
}
|
|
3384
|
+
|
|
3385
|
+
.utah-design-system .multi-select__combo-box .combo-box-input:hover {
|
|
3386
|
+
box-shadow: none;
|
|
3387
|
+
}
|
|
3388
|
+
|
|
3389
|
+
.utah-design-system .multi-select__combo-box .combo-box-input:focus-visible {
|
|
3390
|
+
outline: none;
|
|
3391
|
+
}
|
|
3392
|
+
|
|
3393
|
+
.utah-design-system .multi-select__chevron, .utah-design-system .multi-select__clear-button {
|
|
3394
|
+
position: absolute;
|
|
3395
|
+
top: 50%;
|
|
3396
|
+
transform: translateY(-50%);
|
|
3397
|
+
right: var(--spacing-xs);
|
|
3398
|
+
font-weight: var(--font-weight-normal);
|
|
3399
|
+
}
|
|
3400
|
+
|
|
3401
|
+
.utah-design-system .multi-select__chevron [class*=utds-icon-before-]::before, .utah-design-system .multi-select__clear-button [class*=utds-icon-before-]::before {
|
|
3402
|
+
font-size: 0.9rem;
|
|
3403
|
+
}
|
|
3404
|
+
|
|
3405
|
+
.utah-design-system .multi-select__chevron[disabled]:active, .utah-design-system .multi-select__clear-button[disabled]:active {
|
|
3406
|
+
transform: translateY(-50%);
|
|
3407
|
+
}
|
|
3408
|
+
|
|
3409
|
+
.utah-design-system .multi-select__clear-button {
|
|
3410
|
+
right: var(--spacing-xl);
|
|
3411
|
+
}
|
|
3412
|
+
|
|
3413
|
+
.utah-design-system .multi-select__clear-button [class*=utds-icon-before-]::before {
|
|
3414
|
+
font-size: 0.7rem;
|
|
3415
|
+
}
|
|
3416
|
+
|
|
3417
|
+
.utah-design-system .multi-select--clear-icon-visible {
|
|
3418
|
+
padding: var(--spacing-2xs) var(--spacing-4xl) var(--spacing-2xs) var(--spacing-2xs);
|
|
3419
|
+
}
|
|
3420
|
+
|
|
3421
|
+
.utah-design-system .multi-select--disabled {
|
|
3422
|
+
background-color: var(--disabled-gray);
|
|
3423
|
+
cursor: not-allowed;
|
|
3424
|
+
}
|
|
3425
|
+
|
|
3426
|
+
.utah-design-system .multi-select--disabled input[type=text] {
|
|
3427
|
+
background: transparent;
|
|
3428
|
+
}
|
|
3429
|
+
|
|
3430
|
+
.utah-design-system .multi-select--focused {
|
|
3431
|
+
outline: 2px solid var(--form-ele-color);
|
|
3432
|
+
outline-offset: 2px;
|
|
3433
|
+
transition: none;
|
|
3434
|
+
}
|
|
3435
|
+
|
|
3436
|
+
.utah-design-system .multi-select--focused.multi-select--disabled {
|
|
3437
|
+
outline: none;
|
|
3438
|
+
}
|
|
3439
|
+
|
|
3047
3440
|
.character-count {
|
|
3048
3441
|
text-align: right;
|
|
3049
3442
|
font-size: var(--font-size-s);
|
|
@@ -5363,6 +5756,58 @@ BEM standard: Block, Element, Modifier
|
|
|
5363
5756
|
z-index: 4000;
|
|
5364
5757
|
}
|
|
5365
5758
|
|
|
5759
|
+
.utah-design-system .modal__wrapper {
|
|
5760
|
+
animation: 400ms ease-in-out 100ms drop-in both;
|
|
5761
|
+
background: #fff;
|
|
5762
|
+
display: inline-block;
|
|
5763
|
+
max-width: 660px;
|
|
5764
|
+
width: calc(100% - var(--spacing-3xl));
|
|
5765
|
+
border-radius: var(--radius-medium);
|
|
5766
|
+
left: 50%;
|
|
5767
|
+
margin: var(--spacing-4xl) var(--spacing) var(--spacing-4xl) 0;
|
|
5768
|
+
overflow: hidden;
|
|
5769
|
+
padding: 0;
|
|
5770
|
+
position: absolute;
|
|
5771
|
+
top: 0;
|
|
5772
|
+
transform: translateX(-50%);
|
|
5773
|
+
z-index: 5000;
|
|
5774
|
+
}
|
|
5775
|
+
|
|
5776
|
+
.utah-design-system .modal__title {
|
|
5777
|
+
font-weight: var(--font-weight-bold);
|
|
5778
|
+
font-size: var(--font-size-2xl);
|
|
5779
|
+
padding: var(--spacing-xs) calc(var(--spacing) + 1.4rem) var(--spacing-xs) var(--spacing-l);
|
|
5780
|
+
}
|
|
5781
|
+
|
|
5782
|
+
.utah-design-system .modal__content {
|
|
5783
|
+
line-height: 1.6rem;
|
|
5784
|
+
padding: var(--spacing-xs) var(--spacing-l);
|
|
5785
|
+
}
|
|
5786
|
+
|
|
5787
|
+
.utah-design-system .modal__footer {
|
|
5788
|
+
padding: var(--spacing-xs) var(--spacing-l) var(--spacing);
|
|
5789
|
+
}
|
|
5790
|
+
|
|
5791
|
+
.utah-design-system .modal__close-button {
|
|
5792
|
+
position: absolute;
|
|
5793
|
+
top: var(--spacing-2xs);
|
|
5794
|
+
right: var(--spacing-2xs);
|
|
5795
|
+
}
|
|
5796
|
+
|
|
5797
|
+
.utah-design-system .modal__close-button .utds-icon-before-x-icon::before {
|
|
5798
|
+
font-size: 0.7rem;
|
|
5799
|
+
}
|
|
5800
|
+
|
|
5801
|
+
.utah-design-system .modal--small {
|
|
5802
|
+
max-width: 440px;
|
|
5803
|
+
border-radius: var(--radius-small);
|
|
5804
|
+
}
|
|
5805
|
+
|
|
5806
|
+
.utah-design-system .modal--large {
|
|
5807
|
+
max-width: 990px;
|
|
5808
|
+
border-radius: var(--radius-large);
|
|
5809
|
+
}
|
|
5810
|
+
|
|
5366
5811
|
/*
|
|
5367
5812
|
BEM standard: Block, Element, Modifier
|
|
5368
5813
|
Block: use dashes to separate words:
|