@linzjs/lui 12.1.4 → 12.2.0-roll-up.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (326) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/package.json +14 -10
  3. package/dist/assets/docs/lui-workflow-visual.png +0 -0
  4. package/dist/assets/docs/mountain-broken.svg +0 -119
  5. package/dist/assets/docs/simple-components and grids.svg +0 -1
  6. package/dist/assets/fonts/OpenSans-Bold.woff2 +0 -0
  7. package/dist/assets/fonts/OpenSans-Italic.woff2 +0 -0
  8. package/dist/assets/fonts/OpenSans-Light.woff2 +0 -0
  9. package/dist/assets/fonts/OpenSans-Regular.woff2 +0 -0
  10. package/dist/assets/fonts/OpenSans-SemiBold.woff2 +0 -0
  11. package/dist/assets/icons/account_circle.svg +0 -1
  12. package/dist/assets/icons/add_circle.svg +0 -1
  13. package/dist/assets/icons/add_circle_outline.svg +0 -1
  14. package/dist/assets/icons/arrow_back.svg +0 -1
  15. package/dist/assets/icons/arrow_back_ios.svg +0 -1
  16. package/dist/assets/icons/arrow_drop_down.svg +0 -1
  17. package/dist/assets/icons/arrow_drop_up.svg +0 -1
  18. package/dist/assets/icons/arrow_forward_ios.svg +0 -1
  19. package/dist/assets/icons/attachment.svg +0 -1
  20. package/dist/assets/icons/border_color.svg +0 -1
  21. package/dist/assets/icons/check.svg +0 -1
  22. package/dist/assets/icons/check_circle.svg +0 -1
  23. package/dist/assets/icons/check_circle_outline.svg +0 -1
  24. package/dist/assets/icons/clear.svg +0 -1
  25. package/dist/assets/icons/corporate_fare.svg +0 -1
  26. package/dist/assets/icons/create.svg +0 -1
  27. package/dist/assets/icons/error.svg +0 -1
  28. package/dist/assets/icons/error_outline.svg +0 -1
  29. package/dist/assets/icons/expand_less.svg +0 -1
  30. package/dist/assets/icons/expand_more.svg +0 -1
  31. package/dist/assets/icons/filter_list.svg +0 -1
  32. package/dist/assets/icons/flag.svg +0 -1
  33. package/dist/assets/icons/forward.svg +0 -1
  34. package/dist/assets/icons/insert_invitation.svg +0 -1
  35. package/dist/assets/icons/insert_photo.svg +0 -1
  36. package/dist/assets/icons/keyboard_arrow_down.svg +0 -1
  37. package/dist/assets/icons/keyboard_arrow_left.svg +0 -1
  38. package/dist/assets/icons/keyboard_arrow_right.svg +0 -1
  39. package/dist/assets/icons/keyboard_arrow_up.svg +0 -1
  40. package/dist/assets/icons/lock.svg +0 -1
  41. package/dist/assets/icons/navigate_before.svg +0 -1
  42. package/dist/assets/icons/navigate_next.svg +0 -1
  43. package/dist/assets/icons/people_outline.svg +0 -1
  44. package/dist/assets/icons/person.svg +0 -1
  45. package/dist/assets/icons/person_add.svg +0 -1
  46. package/dist/assets/icons/remove_circle.svg +0 -1
  47. package/dist/assets/icons/remove_circle_outline.svg +0 -1
  48. package/dist/assets/icons/send.svg +0 -1
  49. package/dist/assets/icons/tick.svg +0 -3
  50. package/dist/assets/icons/view_week.svg +0 -1
  51. package/dist/assets/icons/warning.svg +0 -1
  52. package/dist/assets/images/dummy-map.png +0 -0
  53. package/dist/assets/images/icon-guaranteed-title-on.svg +0 -1
  54. package/dist/assets/images/icon-guaranteed-title.svg +0 -1
  55. package/dist/assets/images/icon-historic-title-on.svg +0 -1
  56. package/dist/assets/images/icon-historic-title.svg +0 -1
  57. package/dist/assets/images/icon-title-diagram-on.svg +0 -1
  58. package/dist/assets/images/icon-title-diagram.svg +0 -1
  59. package/dist/assets/images/linz-logo-col-n-white-txt.svg +0 -256
  60. package/dist/assets/images/linz-logo-footer.svg +0 -166
  61. package/dist/assets/images/linz-motif.svg +0 -124
  62. package/dist/assets/images/logo-cc-visa-mc.png +0 -0
  63. package/dist/assets/images/lui-icon-logout.svg +0 -1
  64. package/dist/assets/images/lui-icon-maori-land-rev.svg +0 -1
  65. package/dist/assets/images/lui-icon-maori-land.svg +0 -1
  66. package/dist/assets/images/lui-icon-noc-app-link-active.svg +0 -1
  67. package/dist/assets/images/lui-icon-noc-app-link.svg +0 -1
  68. package/dist/assets/images/lui-icon-open-externally.svg +0 -1
  69. package/dist/assets/images/lui-icon-search-app-link-active.svg +0 -1
  70. package/dist/assets/images/lui-icon-search-app-link.svg +0 -1
  71. package/dist/assets/images/lui-icon-survey-app-link-active.svg +0 -1
  72. package/dist/assets/images/lui-icon-survey-app-link.svg +0 -1
  73. package/dist/assets/images/lui-icon-titles-app-link-active.svg +0 -1
  74. package/dist/assets/images/lui-icon-titles-app-link.svg +0 -1
  75. package/dist/assets/images/mountain-broken.svg +0 -1
  76. package/dist/assets/images/nz-govt-logo-rev.svg +0 -11
  77. package/dist/assets/images/search-feature-img-lg.png +0 -0
  78. package/dist/assets/images/search-feature-img-mob.png +0 -0
  79. package/dist/assets/images/title-on.svg +0 -1
  80. package/dist/assets/images/title.svg +0 -1
  81. package/dist/assets/lui-worm.png +0 -0
  82. package/dist/assets/svg-content.d.ts +0 -41
  83. package/dist/assets/svg-content.tsx +0 -249
  84. package/dist/components/LuiBadge/LuiBadge.d.ts +0 -8
  85. package/dist/components/LuiBadge/LuiBadge.stories.d.ts +0 -9
  86. package/dist/components/LuiBadge/LuiBadge.test.d.ts +0 -1
  87. package/dist/components/LuiBanner/LuiBanner.d.ts +0 -9
  88. package/dist/components/LuiBanner/LuiBanner.stories.d.ts +0 -11
  89. package/dist/components/LuiBanner/LuiBanner.test.d.ts +0 -1
  90. package/dist/components/LuiBearingInput/LuiBearingInput.d.ts +0 -19
  91. package/dist/components/LuiButton/LuiButton.d.ts +0 -26
  92. package/dist/components/LuiButton/LuiButton.stories.d.ts +0 -28
  93. package/dist/components/LuiButton/LuiButton.test.d.ts +0 -1
  94. package/dist/components/LuiButton/LuiButtonGroup.stories.d.ts +0 -6
  95. package/dist/components/LuiError/LuiError.d.ts +0 -8
  96. package/dist/components/LuiErrorPage/LuiErrorPage.d.ts +0 -6
  97. package/dist/components/LuiErrorPage/LuiErrorPage.stories.d.ts +0 -7
  98. package/dist/components/LuiExpandableBanner/LuiExpandableBanner.d.ts +0 -7
  99. package/dist/components/LuiExpandableBanner/LuiExpandableBanner.stories.d.ts +0 -7
  100. package/dist/components/LuiExpandableBanner/LuiExpandableBanner.test.d.ts +0 -1
  101. package/dist/components/LuiFilterContainer/LuiFilterContainer.d.ts +0 -13
  102. package/dist/components/LuiFilterContainer/LuiFilterContainer.stories.d.ts +0 -18
  103. package/dist/components/LuiFilterContainer/LuiFilterContainer.test.d.ts +0 -1
  104. package/dist/components/LuiFilterMenu/LuiFilterMenu.d.ts +0 -16
  105. package/dist/components/LuiFilterMenu/LuiFilterMenu.test.d.ts +0 -1
  106. package/dist/components/LuiFooter/LuiFooter.d.ts +0 -10
  107. package/dist/components/LuiFooter/LuiFooter.stories.d.ts +0 -7
  108. package/dist/components/LuiFooter/LuiFooter.test.d.ts +0 -1
  109. package/dist/components/LuiFormElements/LuiCheckboxInput/LuiCheckboxInput.d.ts +0 -11
  110. package/dist/components/LuiFormElements/LuiCheckboxInput/LuiCheckboxInput.stories.d.ts +0 -21
  111. package/dist/components/LuiFormElements/LuiCheckboxInput/LuiCheckboxInputWithFormik.stories.d.ts +0 -18
  112. package/dist/components/LuiFormElements/LuiFileInputBox/LuiFileInputBox.d.ts +0 -32
  113. package/dist/components/LuiFormElements/LuiFileInputBox/LuiFileInputBox.stories.d.ts +0 -8
  114. package/dist/components/LuiFormElements/LuiFileInputBox/LuiFileInputBox.test.d.ts +0 -1
  115. package/dist/components/LuiFormElements/LuiRadioInput/LuiRadioInput.d.ts +0 -12
  116. package/dist/components/LuiFormElements/LuiRadioInput/LuiRadioInput.stories.d.ts +0 -24
  117. package/dist/components/LuiFormElements/LuiRadioInput/LuiRadioInputWithFormik.stories.d.ts +0 -18
  118. package/dist/components/LuiFormElements/LuiSelectInput/LuiSelectInput.d.ts +0 -18
  119. package/dist/components/LuiFormElements/LuiSelectInput/LuiSelectInput.stories.d.ts +0 -35
  120. package/dist/components/LuiFormElements/LuiTextAreaInput/LuiTextAreaInput.d.ts +0 -10
  121. package/dist/components/LuiFormElements/LuiTextAreaInput/LuiTextAreaInput.stories.d.ts +0 -34
  122. package/dist/components/LuiFormElements/LuiTextAreaInput/LuiTextAreaInput.test.d.ts +0 -2
  123. package/dist/components/LuiFormElements/LuiTextAreaInput/LuiTextAreaInputWithFormik.stories.d.ts +0 -22
  124. package/dist/components/LuiFormElements/LuiTextInput/LuiTextInput.d.ts +0 -19
  125. package/dist/components/LuiFormElements/LuiTextInput/LuiTextInput.stories.d.ts +0 -39
  126. package/dist/components/LuiFormElements/LuiTextInput/LuiTextInput.test.d.ts +0 -2
  127. package/dist/components/LuiFormElements/LuiTextInput/LuiTextInputWithFormik.stories.d.ts +0 -22
  128. package/dist/components/LuiFormikForms/LuiFormikCheckbox/LuiFormikCheckbox.d.ts +0 -9
  129. package/dist/components/LuiFormikForms/LuiFormikCheckbox/LuiFormikCheckbox.test.d.ts +0 -5
  130. package/dist/components/LuiFormikForms/LuiFormikForm.d.ts +0 -10
  131. package/dist/components/LuiFormikForms/LuiFormikFormLabel/LuiFormikFormLabel.d.ts +0 -8
  132. package/dist/components/LuiFormikForms/LuiFormikFormSubmitButton/LuiFormikFormSubmitButton.d.ts +0 -6
  133. package/dist/components/LuiFormikForms/LuiFormikForms.integration.test.d.ts +0 -1
  134. package/dist/components/LuiFormikForms/LuiFormikForms.stories.d.ts +0 -20
  135. package/dist/components/LuiFormikForms/LuiFormikRadioButton/LuiFormikRadioButton.d.ts +0 -8
  136. package/dist/components/LuiFormikForms/LuiFormikRadioButton/LuiFormikRadioButton.test.d.ts +0 -1
  137. package/dist/components/LuiFormikForms/LuiFormikRadioGroup/LuiFormikRadioGroup.d.ts +0 -7
  138. package/dist/components/LuiFormikForms/LuiFormikSelect/LuiFormikSelect.d.ts +0 -11
  139. package/dist/components/LuiFormikForms/LuiFormikSelect/LuiFormikSelect.test.d.ts +0 -1
  140. package/dist/components/LuiFormikForms/LuiFormikTextInput/LuiFormikTextInput.d.ts +0 -17
  141. package/dist/components/LuiFormikForms/LuiFormikTextInput/LuiFormikTextInput.test.d.ts +0 -1
  142. package/dist/components/LuiForms/LuiComboSelect/LuiComboSelect.d.ts +0 -21
  143. package/dist/components/LuiForms/LuiComboSelect/LuiComboSelect.stories.d.ts +0 -112
  144. package/dist/components/LuiForms/LuiFormSection/LuiFormSectionHeader.d.ts +0 -7
  145. package/dist/components/LuiForms/LuiFormSection/LuiFormSectionHeader.stories.d.ts +0 -5
  146. package/dist/components/LuiForms/LuiFormSection/LuiFormSectionHeader.test.d.ts +0 -1
  147. package/dist/components/LuiForms/LuiFormSection/LuiHelpInfo/LuiHelpInfo.d.ts +0 -6
  148. package/dist/components/LuiHeader/LuiHeader.d.ts +0 -64
  149. package/dist/components/LuiHeader/LuiHeader.stories.d.ts +0 -49
  150. package/dist/components/LuiHeader/LuiHeader.test.d.ts +0 -1
  151. package/dist/components/LuiHeaderMenu/LuiHeaderMenus.d.ts +0 -39
  152. package/dist/components/LuiHeaderMenu/LuiHeaderMenus.test.d.ts +0 -1
  153. package/dist/components/LuiIcon/LuiIcon.d.ts +0 -76
  154. package/dist/components/LuiIcon/LuiIcon.stories.d.ts +0 -11
  155. package/dist/components/LuiIcon/LuiIcon.test.d.ts +0 -1
  156. package/dist/components/LuiLoadingSpinner/LuiLoadingSpinner.d.ts +0 -15
  157. package/dist/components/LuiLoadingSpinner/LuiLoadingSpinner.stories.d.ts +0 -13
  158. package/dist/components/LuiLoadingSpinner/LuiLoadingSpinner.test.d.ts +0 -1
  159. package/dist/components/LuiMenu/LuiMenu.d.ts +0 -44
  160. package/dist/components/LuiMenu/LuiMenu.stories.d.ts +0 -19
  161. package/dist/components/LuiMenu/LuiMenu.test.d.ts +0 -1
  162. package/dist/components/LuiModal/LuiModal.d.ts +0 -21
  163. package/dist/components/LuiModal/LuiModal.stories.d.ts +0 -12
  164. package/dist/components/LuiModal/LuiModal.test.d.ts +0 -1
  165. package/dist/components/LuiModal/LuiModalContext.d.ts +0 -6
  166. package/dist/components/LuiModal/LuiModalContext.test.d.ts +0 -1
  167. package/dist/components/LuiShadow/LuiShadow.d.ts +0 -5
  168. package/dist/components/LuiShadow/LuiShadow.stories.d.ts +0 -7
  169. package/dist/components/LuiStaticMessage/LuiStaticMessage.d.ts +0 -5
  170. package/dist/components/LuiStaticMessage/LuiStaticMessage.stories.d.ts +0 -12
  171. package/dist/components/LuiStaticMessage/LuiStaticMessage.test.d.ts +0 -1
  172. package/dist/components/LuiTabs/LuiTab/LuiTab.d.ts +0 -10
  173. package/dist/components/LuiTabs/LuiTabs.d.ts +0 -10
  174. package/dist/components/LuiTabs/LuiTabs.stories.d.ts +0 -7
  175. package/dist/components/LuiTabs/LuiTabs.test.d.ts +0 -1
  176. package/dist/components/LuiTabs/LuiTabsGroup/LuiTabsGroup.d.ts +0 -5
  177. package/dist/components/LuiTabs/LuiTabsPanel/LuiTabsPanel.d.ts +0 -6
  178. package/dist/components/LuiTabs/LuiTabsPanelSwitch/LuiTabsPanelSwitch.d.ts +0 -7
  179. package/dist/components/LuiToastMessage/LuiToastMessage.auto.stories.d.ts +0 -19
  180. package/dist/components/LuiToastMessage/LuiToastMessage.d.ts +0 -18
  181. package/dist/components/LuiToastMessage/LuiToastMessage.test.d.ts +0 -1
  182. package/dist/components/LuiTooltip/LuiTooltip.d.ts +0 -12
  183. package/dist/components/LuiTooltip/LuiTooltip.stories.d.ts +0 -10
  184. package/dist/components/LuiUpdateSplashModal/LuiUpdateSplashModal.stories.d.ts +0 -7
  185. package/dist/components/LuiUpdateSplashModal/LuiUpdatesSplashModal.d.ts +0 -8
  186. package/dist/components/LuiUpdateSplashModal/LuiUpdatesSplashModal.test.d.ts +0 -1
  187. package/dist/components/common/Hooks.d.ts +0 -16
  188. package/dist/components/common/ResponsiveUtils.d.ts +0 -7
  189. package/dist/components/common/ResponsiveUtils.test.d.ts +0 -1
  190. package/dist/components/common/StorybookSupport.d.ts +0 -6
  191. package/dist/components/lol/LOLActiveFirmMessage.d.ts +0 -5
  192. package/dist/components/lol/LOLActiveFirmMessage.test.d.ts +0 -1
  193. package/dist/components/lol/LOLAppLauncherMenu.d.ts +0 -11
  194. package/dist/components/lol/LOLAppLauncherMenu.test.d.ts +0 -56
  195. package/dist/components/lol/LOLAuthorisedLink.d.ts +0 -13
  196. package/dist/components/lol/LOLAuthorisedLink.test.d.ts +0 -43
  197. package/dist/components/lol/LOLCommonDrawerMenu.d.ts +0 -17
  198. package/dist/components/lol/LOLCommonDrawerMenu.test.d.ts +0 -43
  199. package/dist/components/lol/LOLComponents.stories.d.ts +0 -55
  200. package/dist/components/lol/LOLDrawerMenuFirmSwitcher.d.ts +0 -5
  201. package/dist/components/lol/LOLDrawerMenuFirmSwitcher.test.d.ts +0 -1
  202. package/dist/components/lol/LOLFirmSwitcher.d.ts +0 -23
  203. package/dist/components/lol/LOLFirmSwitcher.test.d.ts +0 -43
  204. package/dist/components/lol/LOLLogoutLink.d.ts +0 -4
  205. package/dist/components/lol/LOLLogoutLink.test.d.ts +0 -1
  206. package/dist/components/lol/LOLUserLastLogin.d.ts +0 -2
  207. package/dist/components/lol/LOLUserLastLogin.test.d.ts +0 -1
  208. package/dist/components/lol/MockBackendUtils.d.ts +0 -141
  209. package/dist/components/lol/contexts/LOLGlobalClientRefContext.d.ts +0 -19
  210. package/dist/components/lol/contexts/LOLGlobalClientRefContext.test.d.ts +0 -1
  211. package/dist/components/lol/contexts/LOLUserContext.d.ts +0 -37
  212. package/dist/components/lol/contexts/LOLUserContext.test.d.ts +0 -1
  213. package/dist/components/lol/contexts/LOLUserContextSupport.d.ts +0 -3
  214. package/dist/components/lol/handlers.d.ts +0 -13
  215. package/dist/contexts/LuiMessagingContextProvider.d.ts +0 -14
  216. package/dist/contexts/UIMessagingContextProvider.tests.d.ts +0 -1
  217. package/dist/fonts.d.ts +0 -10
  218. package/dist/fonts.ts +0 -10
  219. package/dist/govNZ-DS/FlexColumn.scss +0 -646
  220. package/dist/govNZ-DS/FlexContainer.scss +0 -28
  221. package/dist/govNZ-DS/FlexRow.scss +0 -22
  222. package/dist/govNZ-DS/FooterStandard.scss +0 -107
  223. package/dist/govNZ-DS/FooterWrapper.scss +0 -4
  224. package/dist/govNZ-DS/_index.scss +0 -5
  225. package/dist/hooks/__tests__/useClickedOutsideElement.test.d.ts +0 -1
  226. package/dist/hooks/index.d.ts +0 -1
  227. package/dist/hooks/useClickedOutsideElement.d.ts +0 -14
  228. package/dist/index.d.ts +0 -51
  229. package/dist/index.js +0 -8
  230. package/dist/lui.cjs.development.js +0 -20537
  231. package/dist/lui.cjs.development.js.map +0 -1
  232. package/dist/lui.cjs.production.min.js +0 -2
  233. package/dist/lui.cjs.production.min.js.map +0 -1
  234. package/dist/lui.css +0 -4956
  235. package/dist/lui.css.map +0 -1
  236. package/dist/lui.esm.js +0 -20447
  237. package/dist/lui.esm.js.map +0 -1
  238. package/dist/needs-revision/LuiHtml.stories.d.ts +0 -32
  239. package/dist/scss/Components/ContextMenu/context-menu.scss +0 -7
  240. package/dist/scss/Components/ExpandingSection/expanding-section.scss +0 -61
  241. package/dist/scss/Components/Footer/footer.scss +0 -136
  242. package/dist/scss/Components/Header/header.scss +0 -193
  243. package/dist/scss/Components/HelpSection/help-section.scss +0 -43
  244. package/dist/scss/Components/LOLCommonMenu/LOLAuthorisedLink.scss +0 -37
  245. package/dist/scss/Components/LOLCommonMenu/LOLDrawerMenu.scss +0 -32
  246. package/dist/scss/Components/LOLCommonMenu/LOLFirmSwitcherMenu.scss +0 -42
  247. package/dist/scss/Components/LOLCommonMenu/LOLUserLastLogin.scss +0 -13
  248. package/dist/scss/Components/LuiBadge/LuiBadge.scss +0 -51
  249. package/dist/scss/Components/LuiError/LuiError.scss +0 -14
  250. package/dist/scss/Components/LuiErrorPage/LuiErrorPage.scss +0 -34
  251. package/dist/scss/Components/LuiFilterContainer/LuiFilterContainer.scss +0 -5
  252. package/dist/scss/Components/LuiFormElements/LuiCheckboxInput/LuiCheckboxInput.scss +0 -155
  253. package/dist/scss/Components/LuiFormElements/LuiFileInputBox.scss +0 -78
  254. package/dist/scss/Components/LuiFormElements/LuiRadioInput/LuiRadioInput.scss +0 -86
  255. package/dist/scss/Components/LuiFormElements/LuiSelectInput/LuiSelectInput.scss +0 -113
  256. package/dist/scss/Components/LuiFormElements/LuiTextAreaInput/LuiTextAreaInput.scss +0 -115
  257. package/dist/scss/Components/LuiFormElements/LuiTextInput/LuiTextInput.scss +0 -150
  258. package/dist/scss/Components/LuiFormSection/LuiFormSectionHeader.scss +0 -46
  259. package/dist/scss/Components/LuiFormSection/LuiHelpInfo/LuiHelpInfo.scss +0 -16
  260. package/dist/scss/Components/LuiForms/LuiComboSelect/LuiComboSelect.scss +0 -35
  261. package/dist/scss/Components/LuiIcon/LuiIcons.scss +0 -91
  262. package/dist/scss/Components/LuiShadow/LuiShadow.scss +0 -16
  263. package/dist/scss/Components/LuiTabs/LuiTab/LuiTab.scss +0 -45
  264. package/dist/scss/Components/LuiTabs/LuiTabs.scss +0 -3
  265. package/dist/scss/Components/LuiTabs/LuiTabsGroup/LuiTabsGroup.scss +0 -10
  266. package/dist/scss/Components/LuiTabs/LuiTabsPanel/LuiTabsPanel.scss +0 -9
  267. package/dist/scss/Components/Menu/menu.scss +0 -145
  268. package/dist/scss/Components/Messaging/messaging.scss +0 -210
  269. package/dist/scss/Components/Modal/modal.scss +0 -104
  270. package/dist/scss/Components/NavDrawer/nav-drawer.scss +0 -9
  271. package/dist/scss/Components/Notifications/notifications.scss +0 -63
  272. package/dist/scss/Components/Scrim/scrim.scss +0 -28
  273. package/dist/scss/Components/Spinner/spinner.scss +0 -7
  274. package/dist/scss/Core.scss +0 -1
  275. package/dist/scss/Elements/Buttons/buttons-linz.scss +0 -36
  276. package/dist/scss/Elements/Buttons/buttons.scss +0 -760
  277. package/dist/scss/Elements/Forms/FormComponents/FormSpacing.scss +0 -32
  278. package/dist/scss/Elements/Forms/FormComponents/Inputs.scss +0 -173
  279. package/dist/scss/Elements/Forms/FormComponents/RadiosCheckboxes.scss +0 -123
  280. package/dist/scss/Elements/Forms/forms.scss +0 -51
  281. package/dist/scss/Elements/Forms/plain-form-common.scss +0 -4
  282. package/dist/scss/Elements/Icons/icons.scss +0 -50
  283. package/dist/scss/Elements/Tables/tables.scss +0 -147
  284. package/dist/scss/Elements/Tooltips/tippy.scss +0 -85
  285. package/dist/scss/Foundation/Utilities/Appearance.scss +0 -12
  286. package/dist/scss/Foundation/Utilities/AspectRatio.scss +0 -25
  287. package/dist/scss/Foundation/Utilities/Borders.scss +0 -23
  288. package/dist/scss/Foundation/Utilities/BoxShadow.scss +0 -7
  289. package/dist/scss/Foundation/Utilities/Breakpoint.scss +0 -29
  290. package/dist/scss/Foundation/Utilities/DLColumns.scss +0 -52
  291. package/dist/scss/Foundation/Utilities/Ease.scss +0 -41
  292. package/dist/scss/Foundation/Utilities/FitMedia.scss +0 -53
  293. package/dist/scss/Foundation/Utilities/FluidType.scss +0 -85
  294. package/dist/scss/Foundation/Utilities/Hover.scss +0 -23
  295. package/dist/scss/Foundation/Utilities/LuiStandardHeaderBackground.scss +0 -32
  296. package/dist/scss/Foundation/Utilities/Placeholder.scss +0 -43
  297. package/dist/scss/Foundation/Utilities/REM.scss +0 -13
  298. package/dist/scss/Foundation/Utilities/ScreenReadersOnly.scss +0 -15
  299. package/dist/scss/Foundation/Utilities/_index.scss +0 -14
  300. package/dist/scss/Foundation/Variables/BreakpointVars.scss +0 -19
  301. package/dist/scss/Foundation/Variables/ColorVars.scss +0 -7
  302. package/dist/scss/Foundation/Variables/FontVars.scss +0 -66
  303. package/dist/scss/Foundation/Variables/FormVars.scss +0 -44
  304. package/dist/scss/Foundation/Variables/MiscVars.scss +0 -20
  305. package/dist/scss/Foundation/Variables/SpacingVars.scss +0 -34
  306. package/dist/scss/Foundation/Variables/_ExportCSS.scss +0 -121
  307. package/dist/scss/Foundation/Variables/_ExportColors.scss +0 -87
  308. package/dist/scss/Foundation/Variables/_LuiColors.scss +0 -139
  309. package/dist/scss/Foundation/Variables/_index.scss +0 -6
  310. package/dist/scss/Foundation/_index.scss +0 -2
  311. package/dist/scss/Global/GenericElements/Buttons.scss +0 -75
  312. package/dist/scss/Global/GenericElements/Icon.scss +0 -45
  313. package/dist/scss/Global/GenericElements/Link.scss +0 -80
  314. package/dist/scss/Global/GenericElements/Lists.scss +0 -28
  315. package/dist/scss/Global/GenericElements/Todo.scss +0 -76
  316. package/dist/scss/Global/GenericElements/Typography.scss +0 -185
  317. package/dist/scss/Global/GenericElements/_index.scss +0 -7
  318. package/dist/scss/Global/Layout/Container.scss +0 -60
  319. package/dist/scss/Global/Layout/Layout.scss +0 -67
  320. package/dist/scss/Global/Layout/_index.scss +0 -2
  321. package/dist/scss/Global/_index.scss +0 -2
  322. package/dist/scss/Global/helpers.scss +0 -862
  323. package/dist/scss/Vendor/_index.scss +0 -1
  324. package/dist/scss/Vendor/naturalize.scss +0 -209
  325. package/dist/scss/Vendor/print.scss +0 -34
  326. package/dist/scss/base.scss +0 -80
@@ -1,32 +0,0 @@
1
- @use "../../../Foundation/Variables/MiscVars.scss" as misc;
2
-
3
- @mixin form-spacing(
4
- // top margin for labels that aren't for checkboxes or radio
5
- $my-label-top-margin,
6
- // top offset for radio and checkbox inputs
7
- $my-checkbox-input-top-offset,
8
- // top margin for radio and checkboxes
9
- $my-checkbox-margin-top,
10
- // top margin for the container of radio or checkbox group
11
- $my-input-wrapper-spacing,
12
- // Error message top margin
13
- $my-error-msg-top-margin,
14
- // Top margin on error text that appears next to inputs
15
- $my-lui-error-text-top-margin,
16
- // mobile option for top margin for labels that aren't for checkboxes or radio
17
- $my-label-top-margin-mob: $my-label-top-margin
18
- ) {
19
- // All the margin declarations
20
- // ------------------------------------------------------------------------------------------------
21
- .lui-input-group-wrapper {
22
- margin-top: $my-input-wrapper-spacing;
23
- }
24
-
25
- p.lui-fieldset-support-txt {
26
- margin-top: $my-error-msg-top-margin;
27
- }
28
-
29
- .lui-error-msg {
30
- margin-top: $my-lui-error-text-top-margin;
31
- }
32
- }
@@ -1,173 +0,0 @@
1
- @use "../../../Foundation/Variables/ColorVars.scss" as colors;
2
- @use "../../../Foundation/Variables/MiscVars.scss" as misc;
3
- @use "../../../Foundation/Variables/FontVars.scss" as fonts;
4
- @use "../../../Foundation/Variables/FormVars.scss" as forms;
5
- @use "../../../Foundation/Utilities/" as *;
6
-
7
- // All this is now legacy, deprecated styling.
8
- // In order to access these styles, use a wrapping div with the class LuiDeprecatedForms as close to the desired form/elements as possible
9
- // There will be global styles that these will override so make sure you're scoping the wrapper really close to avoid unexpected behaviour
10
-
11
- // START inputs, textareas and select base styling - excludes checkboxes and radios
12
-
13
- @mixin inputs(
14
- $my-font-size,
15
- $my-line-height,
16
- $my-label-font-size,
17
- $my-padding,
18
- $my-lui-form-error-icon-size,
19
- $my-lui-error-icon-pos,
20
- $my-input-height
21
- ) {
22
- input:not([type='checkbox']):not([type='radio']),
23
- textarea,
24
- select {
25
- @include fonts.font-regular;
26
- font-size: $my-font-size;
27
- color: colors.$input-text;
28
- border: forms.$input-border-width solid colors.$silver;
29
- border-radius: misc.$borderRadius;
30
- line-height: $my-input-height;
31
- width: 100%;
32
- margin: 0;
33
- transition: border 0.3s ease(in-out-expo);
34
- box-sizing: border-box;
35
- min-height: $my-input-height;
36
-
37
- &::placeholder {
38
- @include fonts.font-italic;
39
- color: colors.$input-placeholder;
40
- }
41
- }
42
-
43
- textarea {
44
- @include fonts.font-regular; // for textarea input
45
- line-height: fonts.$base-line-height;
46
- padding: 0.5rem 0.5rem 0.5rem 0.75rem;
47
- }
48
-
49
- select {
50
- @include appearance(none);
51
- @include fonts.font-regular;
52
- cursor: pointer;
53
- -webkit-font-smoothing: antialiased;
54
- -moz-osx-font-smoothing: grayscale;
55
- background-repeat: no-repeat;
56
- background-position: right 0.7em top 50%;
57
- background-size: 1.5rem auto;
58
- // use url-encode-decode.com to decode the below SVG for any changes
59
- background-image: url('data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22utf-8%22%3F%3E%0A%20%3Csvg%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%3E%0A%20%3Cpath%20d%3D%22M7%2010l5%205%205-5z%22%20fill%3D%22%23414042%22%20%2F%3E%20%0A%20%3C%2Fsvg%3E');
60
- }
61
-
62
- input:not([type='checkbox']):not([type='radio']),
63
- select {
64
- padding: 0 0.75rem;
65
- }
66
-
67
- .lui-input-error {
68
- position: relative;
69
-
70
- .lui-form-status-icon {
71
- position: absolute;
72
- top: $my-lui-error-icon-pos;
73
- left: $my-lui-error-icon-pos;
74
- color: white;
75
- z-index: 1;
76
- font-size: $my-lui-form-error-icon-size;
77
- }
78
- // Style all inputs but checkboxes and radio's. They are styled as a group
79
- input:not([type='checkbox']):not([type='radio']),
80
- textarea,
81
- select {
82
- border: forms.$input-border-width solid colors.$error;
83
- border-left: $my-line-height solid colors.$error;
84
- @include box-shadow;
85
- &:focus {
86
- outline: forms.$input-border-width solid colors.$error-focus;
87
- }
88
- }
89
-
90
- p {
91
- font-size: $my-label-font-size;
92
- }
93
- }
94
-
95
- .lui-input-warning {
96
- position: relative;
97
-
98
- .lui-form-status-icon {
99
- position: absolute;
100
- top: $my-lui-error-icon-pos;
101
- left: $my-lui-error-icon-pos;
102
- color: white;
103
- z-index: 100;
104
- font-size: $my-lui-form-error-icon-size;
105
- }
106
- // Style all inputs but checkboxes and radio's. They are styled as a group
107
- input:not([type='checkbox']):not([type='radio']),
108
- textarea,
109
- select {
110
- border: forms.$input-border-width solid colors.$warning;
111
- border-left: $my-line-height solid colors.$warning;
112
- @include box-shadow;
113
- &:focus {
114
- outline: forms.$input-border-width solid colors.$warning-focus;
115
- }
116
- }
117
-
118
- p {
119
- font-size: $my-label-font-size;
120
- }
121
- }
122
-
123
- label,
124
- fieldset,
125
- legend {
126
- display: block;
127
- }
128
-
129
- label,
130
- legend {
131
- font-size: $my-label-font-size;
132
- @include fonts.font-semibold;
133
- }
134
-
135
- fieldset {
136
- border: none;
137
- padding: 0;
138
- }
139
-
140
- .lui-required-input-icon {
141
- display: inline-block;
142
- width: 10px;
143
- margin: 0 0 0 -10px;
144
- color: colors.$error;
145
- @include breakpoint(md) {
146
- margin: 0 5px 0 -15px;
147
- }
148
- }
149
-
150
- .lui-error-msg {
151
- @include fonts.font-semibold;
152
- color: colors.$error;
153
- }
154
-
155
- .lui-bearing-input-wrapper {
156
- max-width: 750px;
157
- position: relative;
158
-
159
- .lui-bearing-display {
160
- position: absolute;
161
- right: 14px;
162
- top: 0;
163
- line-height: $my-line-height;
164
- color: colors.$silver;
165
- }
166
- }
167
- }
168
-
169
- .LuiDeprecatedForms {
170
- .LuiFormLabel-wrapper {
171
- margin-bottom: 4px;
172
- }
173
- }
@@ -1,123 +0,0 @@
1
- @use "../../../Foundation/Variables/ColorVars.scss" as colors;
2
- @use "../../../Foundation/Variables/FontVars.scss" as fonts;
3
- @use "../../../Foundation/Variables/MiscVars.scss" as misc;
4
- @use "../../../Foundation/Variables/SpacingVars.scss" as spacing;
5
- @use "../../../Foundation/Variables/FormVars.scss" as forms;
6
- @use "../../../Foundation/Utilities/" as *;
7
-
8
- // All this is now legacy, deprecated styling.
9
- // In order to access these styles, use a wrapping div with the class LuiDeprecatedForms as close to the desired form/elements as possible
10
- // There will be global styles that these will override so make sure you're scoping the wrapper really close to avoid unexpected behaviour
11
-
12
- .LuiDeprecatedForms {
13
- .lui-checkbox-container,
14
- .lui-radio-container {
15
- display: flex;
16
- position: relative;
17
-
18
- input {
19
- height: forms.$input-width;
20
- // min width was added as the checkbox width was being influenced by the width of the container and a cropping effect occurred
21
- min-width: forms.$input-width;
22
- width: forms.$input-width;
23
- @include appearance(none);
24
- border: forms.$input-border-width-thick solid
25
- forms.$checkbox-border-colour;
26
- background-color: colors.$white;
27
- position: relative;
28
- margin: 0;
29
- &:disabled {
30
- border: forms.$input-border-width solid colors.$gray;
31
- background-color: colors.$lily;
32
- + label {
33
- color: colors.$gray;
34
- }
35
- }
36
- }
37
-
38
- label {
39
- @include fonts.font-light();
40
- font-size: fonts.$base-font-size;
41
- }
42
- }
43
-
44
- .lui-radio-container {
45
- input {
46
- border-radius: 50%;
47
- &:checked {
48
- &:before {
49
- display: block;
50
- position: absolute;
51
- left: 50%;
52
- content: '';
53
- top: 50%;
54
- transform: translate(-50%, -50%);
55
- width: 14px;
56
- height: 14px;
57
- border-radius: 50%;
58
- background: colors.$brand-primary;
59
- }
60
- &:disabled:before {
61
- background: colors.$disabled-color-dark;
62
- }
63
- }
64
- }
65
- }
66
-
67
- .lui-checkbox-container {
68
- input[type='checkbox'] {
69
- box-sizing: border-box;
70
- border-radius: misc.$borderRadius;
71
- position: relative;
72
- &:checked {
73
- border: forms.$input-border-width-thick solid colors.$brand-primary;
74
- background-color: colors.$brand-primary;
75
- &:before {
76
- display: block;
77
- position: absolute;
78
- width: forms.$input-width -
79
- (forms.$input-border-width-thick + forms.$input-border-width-thick);
80
- height: forms.$input-width -
81
- (forms.$input-border-width-thick + forms.$input-border-width-thick);
82
- font-family: 'Material Icons Round';
83
- left: 0;
84
- top: -1px;
85
- content: '\e876';
86
- text-align: center;
87
- color: #fff;
88
- font-size: forms.$checkbox-icon-font-size;
89
- line-height: forms.$checkbox-icon-line-height;
90
- vertical-align: middle;
91
- }
92
- &:disabled {
93
- background: colors.$disabled-color-dark;
94
- border-color: colors.$disabled-color-dark;
95
- }
96
- }
97
- }
98
- }
99
-
100
- .lui-input-error {
101
- // Checkboxes and radio groups are styled differently in error states. The error styling wraps around the whole group
102
- .lui-input-group-wrapper,
103
- &.lui-button-group {
104
- // Button groups are styled the same as checkbox/radio groups, except for the padding
105
- position: relative;
106
- border: forms.$input-border-width solid colors.$error;
107
- border-left: 48px solid colors.$error;
108
- padding: spacing.$unit-xxs spacing.$unit-xs spacing.$unit-xs;
109
- margin-top: spacing.$unit-md;
110
- @include box-shadow;
111
- .lui-form-status-icon {
112
- left: spacing.$base-unit * -5;
113
- font-size: forms.$form-error-icon-size;
114
- }
115
- }
116
- &.lui-button-group {
117
- padding: 0;
118
- .lui-button-wrapper button {
119
- border: forms.$input-border-width solid colors.$error;
120
- }
121
- }
122
- }
123
- }
@@ -1,51 +0,0 @@
1
- @use '../../Elements/Forms/FormComponents/Inputs.scss' as Inputs;
2
- @use '../../Elements/Forms/FormComponents/RadiosCheckboxes.scss' as RadiosCheckboxes;
3
- @use '../../Elements/Forms/FormComponents/FormSpacing.scss' as FormSpacing;
4
- @use "../../Foundation/Variables/FontVars.scss" as fonts;
5
- @use "../../Foundation/Variables/SpacingVars.scss" as spacing;
6
- @use "../../Foundation/Variables/ColorVars.scss" as colors;
7
- @use "../../Foundation/Variables/FormVars.scss" as forms;
8
- @use "../../Foundation/Utilities/" as *;
9
-
10
- // All this is now legacy, deprecated styling.
11
- // In order to access these styles, use a wrapping div with the class LuiDeprecatedForms as close to the desired form/elements as possible
12
- // There will be global styles that these will override so make sure you're scoping the wrapper really close to avoid unexpected behaviour
13
- .LuiDeprecatedForms {
14
- // -------------------------------------------------------------------------------------------------------------------------------------
15
- // ---- Lui Form has inputs/form elements with all the styling, but no margins set
16
- // -------------------------------------------------------------------------------------------------------------------------------------
17
-
18
- @include Inputs.inputs(
19
- // The font size
20
- fonts.$base-font-size,
21
- // The line height
22
- 48px,
23
- // The size of the font for the label
24
- rem(14px),
25
- // The padding on the input
26
- spacing.$unit-xs,
27
- // The size of the icon for the warning/error (may change if we have a compressed version of forms)
28
- forms.$form-error-icon-size,
29
- // The offset positioning of the error icon
30
- spacing.$base-unit,
31
- // the input height
32
- 48px
33
- );
34
-
35
- @include FormSpacing.form-spacing(
36
- // top margin for labels that aren't for checkboxes or radio
37
- forms.$label-spacing,
38
- // top offset for radio and checkbox inputs
39
- forms.$input-spacing,
40
- // top margin for radio and checkboxes
41
- forms.$input-spacing,
42
- // top margin for the container of radio or checkbox group
43
- forms.$input-spacing,
44
- // Error message top margin
45
- 0.5rem,
46
- // Top margin on error text that appears next to inputs
47
- 5px,
48
- // mobile option for top margin for labels that aren't for checkboxes or radio
49
- forms.$label-spacing
50
- );
51
- }
@@ -1,4 +0,0 @@
1
- // Things that are common to all inputs
2
-
3
- .input {
4
- }
@@ -1,50 +0,0 @@
1
- @use "../../Foundation/Utilities" as *;
2
- @use "../../Foundation/Variables/ColorVars.scss" as colors;
3
-
4
- .lui-icon {
5
- display: inline-block;
6
- width: 24px;
7
- height: 24px;
8
-
9
- &-lg {
10
- width: 48px;
11
- height: 48px;
12
- font-size: 3rem;
13
- }
14
- &-maori-land {
15
- //background: url(../assets/icons/lui-icon-maori-land.svg) no-repeat center;
16
- background-size: cover;
17
- }
18
- }
19
-
20
- //Target all i tags that have material icon class names
21
- //button icons are styled within the button scss
22
- // Icons within text links are handled in the type.scss file
23
- *:not[button] {
24
- i[class^='material-icons'],
25
- .lui-link-icon {
26
- color: colors.$base-icon-color;
27
- transition: color 0.3s ease(in-out-expo);
28
-
29
- &:hover {
30
- cursor: pointer;
31
- color: colors.$brand-primary;
32
- }
33
- &:visited {
34
- color: colors.$visited;
35
- }
36
- }
37
-
38
- .lui-link-icon-disabled {
39
- i {
40
- color: colors.$disabled-color;
41
- &:hover {
42
- cursor: not-allowed;
43
- }
44
- }
45
- }
46
- }
47
-
48
- .lui-inactive-icon {
49
- color: colors.$gray;
50
- }
@@ -1,147 +0,0 @@
1
- @use "sass:math";
2
-
3
- @use "../../Foundation/Variables/MiscVars.scss" as misc;
4
- @use "../../Foundation/Variables/ColorVars.scss" as colors;
5
- @use "../../Foundation/Variables/FontVars.scss" as fonts;
6
- @use "../../Foundation/Variables/SpacingVars.scss" as spacing;
7
-
8
- $icon-col-width: math.div(24, 16) * 1rem; // 24px
9
-
10
- td,
11
- th {
12
- vertical-align: top;
13
- }
14
-
15
- table {
16
- width: 100%;
17
- border-collapse: collapse;
18
- margin-top: spacing.$unit-lg;
19
-
20
- caption {
21
- padding: spacing.$unit-xs spacing.$unit-xs spacing.$unit-xs 0;
22
- text-align: left;
23
- font-size: rem(14px);
24
-
25
- &.lui-table-caption-bottom {
26
- caption-side: bottom;
27
- }
28
- }
29
-
30
- thead {
31
- border-top: 1px solid colors.$gray;
32
- //automatically style the th in a thead row, but for headers in a column, use the class name on a cell
33
- th,
34
- .lui-table-head-cell {
35
- color: colors.$brand-secondary;
36
- @include fonts.font-semibold;
37
- }
38
- }
39
-
40
- tbody {
41
- border-top: 1px solid colors.$gray;
42
- border-bottom: 1px solid colors.$gray;
43
- }
44
-
45
- tr {
46
- border-bottom: 1px solid colors.$lily;
47
- //adding white border to the top so there is a clear division between rows when background colour changes on selection
48
- &:not(:first-child) {
49
- border-top: 1px solid #fff;
50
- }
51
- }
52
-
53
- .lui-table-row-selected {
54
- background-color: colors.$polar !important;
55
- }
56
-
57
- th {
58
- font-weight: 500;
59
- }
60
-
61
- th,
62
- td {
63
- padding: spacing.$unit-sm spacing.$unit-xs;
64
- text-align: left;
65
- border-spacing: 0;
66
- border: none;
67
- margin: 0;
68
- }
69
-
70
- // Modify form elements in the table
71
- label {
72
- display: inline-block;
73
- margin: 0;
74
-
75
- .LuiDeprecatedForms & {
76
- @include fonts.font-light;
77
- display: inline-block;
78
- }
79
-
80
- @include fonts.font-light;
81
-
82
- &:hover {
83
- cursor: pointer;
84
- }
85
- }
86
-
87
- // set the top position of checkboxes for proper alignment in tables
88
- .lui-checkbox-container {
89
- margin-top: 0;
90
-
91
- input {
92
- top: 0;
93
- }
94
- }
95
- }
96
-
97
- .lui-table-column-headers {
98
- th {
99
- @include fonts.font-regular;
100
- }
101
- }
102
-
103
- // Zebra styling for tables and the alike. Some have a greater scope, while others are very specific
104
- .lui {
105
- // Style all the alternating rows in a table with a zebra
106
- &-table-zebra {
107
- tr {
108
- &:nth-child(even) {
109
- background-color: colors.$hint;
110
- }
111
- }
112
- }
113
-
114
- // A class to apply the zebra styling to a specific tag. Could be a <tr>, a <div>, a <li>. Use your App logic for alternating styling between rows as there is no CSS to do this
115
- &-row-zebra {
116
- background-color: colors.$hint;
117
- }
118
-
119
- // To be applied on a <tbody> and only has scope for the rows within that level, it won't style child rows, so it won't affect nested tables
120
- &-table-first-level-row-zebra > tr:nth-child(even) {
121
- background-color: colors.$hint;
122
- }
123
- }
124
-
125
- //use the following to set all cells in the first col to a width
126
- .lui-table-col-icon-row1 {
127
- td {
128
- &:first-child {
129
- width: $icon-col-width;
130
- }
131
- }
132
- }
133
-
134
- //use the following to set all cells in the last col of the table to a width
135
- .lui-table-col-icon-last-row {
136
- td {
137
- &:last-child {
138
- width: $icon-col-width;
139
- text-align: right;
140
- }
141
- }
142
- }
143
-
144
- //Use to restrict the size of a td cell, rather than affecting the whold column like the ones above. Not applying this to a single cell will affect the whole column unless you specify sizes for the other cells in that column.
145
- .lui-table-icon-cell {
146
- width: $icon-col-width;
147
- }
@@ -1,85 +0,0 @@
1
- @use "../../Foundation/Variables/MiscVars.scss" as misc;
2
- @use "../../Foundation/Variables/ColorVars.scss" as colors;
3
- @use "../../Foundation/Variables/FontVars.scss" as fonts;
4
- @use "../../Foundation/Variables/SpacingVars.scss" as spacing;
5
-
6
- $border-width: 2px;
7
- $border-color: colors.$base-icon-color;
8
-
9
- .tippy-box[data-theme~='LUI'] {
10
- border: solid $border-width $border-color;
11
- border-radius: 5px;
12
- background: colors.$white;
13
- box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
14
-
15
- & > .tippy-content {
16
- font-size: 16px;
17
- @include fonts.font-regular;
18
- color: #363636;
19
- padding: 12px 20px;
20
- background: colors.$white;
21
- }
22
-
23
- & > .tippy-arrow {
24
- color: $border-color;
25
- transform-style: preserve-3d;
26
-
27
- &::before {
28
- border-left: 12px solid transparent;
29
- border-right: 12px solid transparent;
30
- }
31
-
32
- &::after {
33
- content: '';
34
- position: absolute;
35
- left: 0;
36
- transform: translateZ(-1px);
37
- border-left: 12px solid transparent;
38
- border-right: 12px solid transparent;
39
- }
40
- }
41
-
42
- &[data-placement^='top'] > .tippy-arrow {
43
- &::before {
44
- border-top: 21px solid colors.$white;
45
- bottom: -19px;
46
- }
47
- &::after {
48
- border-top: 22px solid $border-color;
49
- bottom: -23px;
50
- }
51
- }
52
-
53
- &[data-placement^='bottom'] > .tippy-arrow {
54
- &::before {
55
- border-bottom: 21px solid colors.$white;
56
- top: -19px;
57
- }
58
- &::after {
59
- border-bottom: 22px solid $border-color;
60
- top: -23px;
61
- }
62
- }
63
-
64
- &[data-placement^='left'] > .tippy-arrow {
65
- &::before {
66
- border-left: 21px solid colors.$white;
67
- left: 12px;
68
- }
69
- &::after {
70
- border-left: 22px solid $border-color;
71
- left: 16px;
72
- }
73
- }
74
-
75
- &[data-placement^='right'] > .tippy-arrow {
76
- &::before {
77
- border-right: 21px solid colors.$white;
78
- left: -30px;
79
- }
80
- &::after {
81
- border-right: 22px solid $border-color;
82
- left: -34px;
83
- }
84
- }
85
- }
@@ -1,12 +0,0 @@
1
- // ============
2
- // Appearance
3
- // ============
4
-
5
- // 🤔 don't think we need this - seems highly specific
6
-
7
- @mixin appearance($value) {
8
- appearance: $value;
9
- -webkit-appearance: $value;
10
- -moz-appearance: $value;
11
- -o-appearance: $value;
12
- }