@planningcenter/tapestry-react 4.9.0 → 4.10.0-qa-758.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 (256) hide show
  1. package/dist/ActionsDropdown/ActionsDropdown.js +1 -1
  2. package/dist/Alert/Alert.js +1 -1
  3. package/dist/Avatar/Avatar.js +1 -1
  4. package/dist/Badge/Badge.js +1 -1
  5. package/dist/Badge/Status.js +1 -1
  6. package/dist/Box/Box.js +1 -1
  7. package/dist/Button/Button.js +1 -1
  8. package/dist/Button/Input.js +1 -1
  9. package/dist/Calendar/Calendar.js +1 -1
  10. package/dist/Calendar/Day.js +1 -1
  11. package/dist/Calendar/utils.js +1 -1
  12. package/dist/Card/Card.js +1 -1
  13. package/dist/Card/Section.js +1 -1
  14. package/dist/Checkbox/Checkbox.js +1 -1
  15. package/dist/CheckboxCard/CheckboxCard.js +1 -1
  16. package/dist/CheckboxGroup/CheckboxGroup.js +1 -1
  17. package/dist/CheckboxGroup/CheckboxGroupContext.js +1 -1
  18. package/dist/ChurchCenterStatus/ChurchCenterStatus.js +1 -1
  19. package/dist/Collapse/Collapse.js +1 -1
  20. package/dist/ColumnView/ColumnView.js +1 -1
  21. package/dist/Combobox/Combobox.js +1 -1
  22. package/dist/Combobox/ComboboxInput.js +1 -1
  23. package/dist/Combobox/ComboboxItem.js +1 -1
  24. package/dist/Combobox/ComboboxItems.js +1 -1
  25. package/dist/Combobox/ComboboxPopover.js +1 -1
  26. package/dist/DataTable/DataTable.js +1 -1
  27. package/dist/DataTable/components/BodyRow.js +1 -1
  28. package/dist/DataTable/components/BodyRows.js +1 -1
  29. package/dist/DataTable/components/BodySubRows.js +1 -1
  30. package/dist/DataTable/components/CheckboxCell.js +1 -1
  31. package/dist/DataTable/components/ColumnPicker.js +1 -1
  32. package/dist/DataTable/components/HeaderCell.js +1 -1
  33. package/dist/DataTable/hooks/useCollapsibleRows.js +1 -1
  34. package/dist/DataTable/hooks/useColumnSort.js +1 -1
  35. package/dist/DataTable/hooks/useColumnWidths.js +1 -1
  36. package/dist/DataTable/hooks/useHoverFocus.js +1 -1
  37. package/dist/DataTable/hooks/useRefManager.js +1 -1
  38. package/dist/DataTable/hooks/useScrollShadows.js +1 -1
  39. package/dist/DataTable/hooks/useScrollSync.js +1 -1
  40. package/dist/DataTable/hooks/useVariants.js +1 -1
  41. package/dist/DataTable/index.js +1 -1
  42. package/dist/DataTable/utils/getCell.js +1 -1
  43. package/dist/DataTable/utils/getParsedColumns.js +1 -1
  44. package/dist/DataTable/utils/getRowLinkProps.js +1 -1
  45. package/dist/DataTable/utils/variants.js +1 -1
  46. package/dist/DateField/DateField.js +1 -1
  47. package/dist/DateField/parse.js +1 -1
  48. package/dist/DateField/useArrowKeysToNavigateCalendar.js +1 -1
  49. package/dist/DateField/useEditableDate.js +1 -1
  50. package/dist/Dialog/Dialog.js +1 -1
  51. package/dist/Divider/Divider.js +1 -1
  52. package/dist/DragDrop/DragDrop.js +1 -1
  53. package/dist/Drawer/Drawer.js +1 -1
  54. package/dist/Dropdown/Dropdown.js +1 -1
  55. package/dist/Dropdown/Item.js +1 -1
  56. package/dist/Dropdown/Link.js +1 -1
  57. package/dist/EditActions/EditActions.js +1 -1
  58. package/dist/Field/Field.js +1 -1
  59. package/dist/FieldSet/FieldSet.js +1 -1
  60. package/dist/FilterLayout/FilterLayout.js +1 -1
  61. package/dist/FocusGroup/FocusGroup.js +1 -1
  62. package/dist/Form/Form.js +1 -1
  63. package/dist/GridView/GridView.js +1 -1
  64. package/dist/Group/Group.js +1 -1
  65. package/dist/Heading/Heading.js +1 -1
  66. package/dist/HeadingUppercase/HeadingUppercase.js +1 -1
  67. package/dist/HelperDrawer/HelperDrawer.js +1 -1
  68. package/dist/Highlight/Highlight.js +1 -1
  69. package/dist/Highlight/utils.js +1 -1
  70. package/dist/Icon/Icon.js +1 -1
  71. package/dist/Icon/Path.js +1 -1
  72. package/dist/Icon/Status.js +1 -1
  73. package/dist/Input/Inline.js +1 -1
  74. package/dist/Input/Input.js +1 -1
  75. package/dist/Input/InputBox.js +1 -1
  76. package/dist/Input/InputContext.js +1 -1
  77. package/dist/Input/InputField.js +1 -1
  78. package/dist/Input/InputLabel.js +1 -1
  79. package/dist/Input/utils.js +1 -1
  80. package/dist/ItemList/ItemList.js +1 -1
  81. package/dist/ItemList/ItemListContext.js +1 -1
  82. package/dist/ItemList/ItemListController.js +1 -1
  83. package/dist/ItemList/ItemListItem.js +1 -1
  84. package/dist/ItemList/utils.js +1 -1
  85. package/dist/Link/Inline.js +1 -1
  86. package/dist/Link/Link.js +1 -1
  87. package/dist/LinkList/LinkList.js +1 -1
  88. package/dist/List/List.js +1 -1
  89. package/dist/List/ListItem.js +1 -1
  90. package/dist/Logo/Logo.js +1 -1
  91. package/dist/Logo/logos/api.js +1 -1
  92. package/dist/Logo/logos/calendar.js +1 -1
  93. package/dist/Logo/logos/check-ins.js +1 -1
  94. package/dist/Logo/logos/church-center.js +1 -1
  95. package/dist/Logo/logos/giving.js +1 -1
  96. package/dist/Logo/logos/groups.js +1 -1
  97. package/dist/Logo/logos/headcounts.js +1 -1
  98. package/dist/Logo/logos/home.js +1 -1
  99. package/dist/Logo/logos/index.js +1 -1
  100. package/dist/Logo/logos/login.js +1 -1
  101. package/dist/Logo/logos/music-stand.js +1 -1
  102. package/dist/Logo/logos/people.js +1 -1
  103. package/dist/Logo/logos/planning-center.js +1 -1
  104. package/dist/Logo/logos/publishing.js +1 -1
  105. package/dist/Logo/logos/registrations.js +1 -1
  106. package/dist/Logo/logos/services.js +1 -1
  107. package/dist/Menu/Heading.js +1 -1
  108. package/dist/Menu/Item.js +1 -1
  109. package/dist/Menu/Menu.js +1 -1
  110. package/dist/Modal/Modal.js +1 -1
  111. package/dist/NumberField/NumberField.js +1 -1
  112. package/dist/Page/PageActions.js +1 -1
  113. package/dist/Page/PageBody.js +1 -1
  114. package/dist/Page/PageButton.js +1 -1
  115. package/dist/Page/PageDropdown.js +1 -1
  116. package/dist/Page/PageHeader.js +1 -1
  117. package/dist/Page/PageTab.js +1 -1
  118. package/dist/Page/PageTabList.js +1 -1
  119. package/dist/Page/PageTitle.js +1 -1
  120. package/dist/Page/PageToolbar.js +1 -1
  121. package/dist/PagerView/PagerView.js +1 -1
  122. package/dist/Pagination/Pagination.js +1 -1
  123. package/dist/Popover/Popover.js +1 -1
  124. package/dist/Popover/rewireTabOrder.js +1 -1
  125. package/dist/Popover/utils.js +1 -1
  126. package/dist/Portal/Portal.js +1 -1
  127. package/dist/Progress/Progress.js +1 -1
  128. package/dist/Radio/Radio.js +1 -1
  129. package/dist/RangeSlider/RangeSlider.js +1 -1
  130. package/dist/ScreenReader/ScreenReader.js +1 -1
  131. package/dist/Scrim/Scrim.js +1 -1
  132. package/dist/Section/Section.js +1 -1
  133. package/dist/SegmentedControl/SegmentedControl.js +1 -1
  134. package/dist/SegmentedTabs/SegmentedTabs.js +1 -1
  135. package/dist/Select/Context.js +1 -1
  136. package/dist/Select/Inline.js +1 -1
  137. package/dist/Select/Option.js +1 -1
  138. package/dist/Select/OptionGroup.js +1 -1
  139. package/dist/Select/Select.js +1 -1
  140. package/dist/Select/Value.js +1 -1
  141. package/dist/Select/constants.js +1 -1
  142. package/dist/Select/utils.js +1 -1
  143. package/dist/Sidebar/Sidebar.js +1 -1
  144. package/dist/Sidebar/SidebarItem.js +1 -1
  145. package/dist/Sidebar/SidebarList.js +1 -1
  146. package/dist/Sortable/SortableEmpty.js +1 -1
  147. package/dist/Sortable/SortableItem.js +1 -1
  148. package/dist/Sortable/SortableList.js +1 -1
  149. package/dist/Sortable/SortableManager.js +1 -1
  150. package/dist/Sortable/constants.js +1 -1
  151. package/dist/Sortable/index.js +1 -1
  152. package/dist/Spinner/Spinner.js +1 -1
  153. package/dist/StackView/StackView.js +1 -1
  154. package/dist/StepperField/StepperField.js +1 -1
  155. package/dist/StepperProgress/Context.js +1 -1
  156. package/dist/StepperProgress/Step.js +1 -1
  157. package/dist/StepperProgress/StepperProgress.js +1 -1
  158. package/dist/Summary/Summary.js +1 -1
  159. package/dist/Tab/Tab.js +1 -1
  160. package/dist/TabNav/Tab.d.ts.map +1 -1
  161. package/dist/TabNav/Tab.js +1 -1
  162. package/dist/TabNav/TabNav.js +1 -1
  163. package/dist/Table/AnimateScroll.js +1 -1
  164. package/dist/Table/AvatarCell.js +1 -1
  165. package/dist/Table/Body.js +1 -1
  166. package/dist/Table/BodyCell.js +1 -1
  167. package/dist/Table/BodyInnerCell.js +1 -1
  168. package/dist/Table/BodyRow.js +1 -1
  169. package/dist/Table/CheckboxCell.js +1 -1
  170. package/dist/Table/ColumnPicker.js +1 -1
  171. package/dist/Table/DateCell.js +1 -1
  172. package/dist/Table/DragCell.js +1 -1
  173. package/dist/Table/DragHandle.js +1 -1
  174. package/dist/Table/Header.js +1 -1
  175. package/dist/Table/HeaderCell.js +1 -1
  176. package/dist/Table/HeaderInnerCell.js +1 -1
  177. package/dist/Table/HeaderRow.js +1 -1
  178. package/dist/Table/NavigationArrow.js +1 -1
  179. package/dist/Table/ScrollShadow.js +1 -1
  180. package/dist/Table/SubRowToggleCell.js +1 -1
  181. package/dist/Table/Table.js +1 -1
  182. package/dist/Table/TableBase.js +1 -1
  183. package/dist/Table/TableContainer.js +1 -1
  184. package/dist/Table/TableWrapper.js +1 -1
  185. package/dist/Tabs/Tab.js +1 -1
  186. package/dist/Tabs/TabList.js +1 -1
  187. package/dist/Tabs/TabPanel.js +1 -1
  188. package/dist/Tabs/TabPanels.js +1 -1
  189. package/dist/Tabs/Tabs.js +1 -1
  190. package/dist/Text/Text.js +1 -1
  191. package/dist/TextArea/TextArea.js +1 -1
  192. package/dist/ThemeProvider/ThemeProvider.js +1 -1
  193. package/dist/ThemeProvider/styles.js +1 -1
  194. package/dist/TileView/TileView.js +1 -1
  195. package/dist/TimeField/TimeField.js +1 -1
  196. package/dist/TimeField/utils.js +1 -1
  197. package/dist/ToggleSwitch/ToggleSwitch.js +1 -1
  198. package/dist/TokenInput/DefaultToken.js +1 -1
  199. package/dist/TokenInput/TokenInput.js +1 -1
  200. package/dist/TokenInput/default-renders.js +1 -1
  201. package/dist/Toolbar/Action.js +1 -1
  202. package/dist/Toolbar/Toolbar.js +1 -1
  203. package/dist/Tooltip/Tooltip.js +1 -1
  204. package/dist/VariantProvider/VariantProvider.js +1 -1
  205. package/dist/Wizard/Step.js +1 -1
  206. package/dist/Wizard/Wizard.js +1 -1
  207. package/dist/Wizard/WizardContext.js +1 -1
  208. package/dist/WrapView/WrapView.js +1 -1
  209. package/dist/createCache.js +1 -1
  210. package/dist/designTokens/index.d.ts +23 -23
  211. package/dist/designTokens/index.js +1 -1
  212. package/dist/ext/tslib/tslib.es6.js +1 -1
  213. package/dist/hooks/use-accessibility-violation.js +1 -1
  214. package/dist/hooks/use-document-event.js +1 -1
  215. package/dist/hooks/use-focus.js +1 -1
  216. package/dist/hooks/use-hover.js +1 -1
  217. package/dist/hooks/use-id.js +1 -1
  218. package/dist/hooks/use-keyboard-shortcuts.js +1 -1
  219. package/dist/hooks/use-measure.js +1 -1
  220. package/dist/hooks/use-media-query.js +1 -1
  221. package/dist/hooks/use-roving-index.js +1 -1
  222. package/dist/hooks/useConstant.js +1 -1
  223. package/dist/server.js +1 -1
  224. package/dist/system/box-sizes.js +1 -1
  225. package/dist/system/button-themes.js +1 -1
  226. package/dist/system/colors/colors.d.ts +56 -56
  227. package/dist/system/colors/colors.js +1 -1
  228. package/dist/system/colors/utils.js +1 -1
  229. package/dist/system/css.js +1 -1
  230. package/dist/system/cxs.js +1 -1
  231. package/dist/system/default-theme.d.ts +4 -4
  232. package/dist/system/default-theme.js +1 -1
  233. package/dist/system/parse-styles.js +1 -1
  234. package/dist/system/plugins/border.js +1 -1
  235. package/dist/system/plugins/color.js +1 -1
  236. package/dist/system/plugins/elevation.js +1 -1
  237. package/dist/system/plugins/flex.js +1 -1
  238. package/dist/system/plugins/grid.js +1 -1
  239. package/dist/system/plugins/misc.js +1 -1
  240. package/dist/system/plugins/position.js +1 -1
  241. package/dist/system/plugins/size.js +1 -1
  242. package/dist/system/plugins/space.js +1 -1
  243. package/dist/system/plugins/stroke.js +1 -1
  244. package/dist/system/plugins/transform.js +1 -1
  245. package/dist/system/plugins/typography.js +1 -1
  246. package/dist/system/split-styles.js +1 -1
  247. package/dist/system/style-names.js +1 -1
  248. package/dist/system/use-css.js +1 -1
  249. package/dist/system/utils.js +1 -1
  250. package/dist/utils.js +1 -1
  251. package/dist/vendor/react-measure/Measure.js +1 -1
  252. package/dist/vendor/react-measure/Viewport.js +1 -1
  253. package/dist/vendor/react-measure/utils.js +1 -1
  254. package/package.json +3 -10
  255. package/dist/packages/tokens-shim/dist/index.js +0 -2
  256. package/dist/packages/tokens-shim/dist/index.js.map +0 -1
@@ -302,15 +302,15 @@ declare const defaultTheme: {
302
302
  };
303
303
  colors: Partial<import("..").Colors> & Record<string, string | [string, string, string, string, string, string, string, string, string, string]> & {
304
304
  create: {
305
- create35: string;
305
+ create35: "hsl(97, 57%, 40%)";
306
306
  };
307
307
  grays: {
308
308
  light: {
309
- neutral62: string;
310
- neutral81: string;
309
+ neutral62: "hsl(0, 0%, 62%)";
310
+ neutral81: "hsl(0, 0%, 81%)";
311
311
  };
312
312
  };
313
- interaction66: string;
313
+ interaction66: "hsl(204, 100%, 40%)";
314
314
  };
315
315
  elevations: string[];
316
316
  fontSizes: number[];
@@ -1,2 +1,2 @@
1
- import*as r from"@planningcenter/icons/paths/general";import*as o from"@planningcenter/icons/paths/tapestry";import{designTokens as e}from"../designTokens/index.js";import{boxSizes as s}from"./box-sizes.js";import{buttonThemes as t}from"./button-themes.js";import{colors as p}from"./colors/colors.js";import"polished";import"../utils.js";var i={boxSizes:s,breakpoints:{lg:960,md:720,sm:600,xl:1200,xs:480},button:{themes:t},calendar:{weekStartsOn:0},checkbox:{checkedFill:"primary-light",checkedStroke:"primary",fill:"surfaceTertiary",focusStroke:"blue-5",stroke:e.checkbox.borderColor},colors:p,elevations:["0 2px 5px rgba(219,219,219,0.3)","0 4px 12px rgba(0,0,0,0.12)","0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23)","0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23)","0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22)","0 19px 38px rgba(0,0,0,0.30), 0 15px 12px rgba(0,0,0,0.22)"],fontSizes:[30,21,18,16,14,12,10],group:{radius:3},icons:{general:r,tapestry:o},id:"default",lineHeights:[40,32,24,24,20,16,16],spinner:{color:"primary",sizes:{lg:3,md:2.5,sm:2,xl:5,xs:1.75,xxl:8,xxs:1.5},thickness:{lg:5,md:4,sm:3,xl:7,xs:3,xxl:9,xxs:3},trackColor:"primary-lighter"},toggleSwitch:{backgroundColor:"interaction66"}};export{i as default};
1
+ import*as r from"@planningcenter/icons/paths/general";import*as o from"@planningcenter/icons/paths/tapestry";import{designTokens as e}from"../designTokens/index.js";import{boxSizes as s}from"./box-sizes.js";import{buttonThemes as t}from"./button-themes.js";import{colors as p}from"./colors/colors.js";import"polished";import"../utils.js";const i={boxSizes:s,breakpoints:{lg:960,md:720,sm:600,xl:1200,xs:480},button:{themes:t},calendar:{weekStartsOn:0},checkbox:{checkedFill:"primary-light",checkedStroke:"primary",fill:"surfaceTertiary",focusStroke:"blue-5",stroke:e.checkbox.borderColor},colors:p,elevations:["0 2px 5px rgba(219,219,219,0.3)","0 4px 12px rgba(0,0,0,0.12)","0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23)","0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23)","0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22)","0 19px 38px rgba(0,0,0,0.30), 0 15px 12px rgba(0,0,0,0.22)"],fontSizes:[30,21,18,16,14,12,10],group:{radius:3},icons:{general:r,tapestry:o},id:"default",lineHeights:[40,32,24,24,20,16,16],spinner:{color:"primary",sizes:{lg:3,md:2.5,sm:2,xl:5,xs:1.75,xxl:8,xxs:1.5},thickness:{lg:5,md:4,sm:3,xl:7,xs:3,xxl:9,xxs:3},trackColor:"primary-lighter"},toggleSwitch:{backgroundColor:"interaction66"}};export{i as default};
2
2
  //# sourceMappingURL=default-theme.js.map
@@ -1,2 +1,2 @@
1
- import{__assign as r}from'./../ext/tslib/tslib.es6.js';import t from"lodash/includes";import o from"./plugins/index.js";import{colorStyleNames as e}from"./style-names.js";var n=o.length;function s(t,e,s){void 0===t&&(t={});var i=r({},t);e&&(i=e.getStyles(i,s));for(var c=0;c<n;c++){i=(0,o[c])(i,s)}return i.css&&delete(i=r(r({},i),u(i.css,e,s))).css,i}function i(r,o,n){var u={};for(var c in r){var l=r[c];u[c]=t(e,c)||"object"!=typeof l?l:i(l,o,n)}return s(u,o,n)}function u(t,o,e){return t?t.constructor===Array?t.reduce((function(t,n){return r(r({},t),i(n,o,e))}),{}):i(t,o,e):null}export{u as parseCssStyles,s as parsePluginStyles,i as parseStyles};
1
+ import t from"lodash/includes";import s from"./plugins/index.js";import{colorStyleNames as n}from"./style-names.js";const e=s.length;function o(t={},n,o){let c=Object.assign({},t);n&&(c=n.getStyles(c,o));for(let t=0;t<e;t++){c=(0,s[t])(c,o)}return c.css&&(c=Object.assign(Object.assign({},c),r(c.css,n,o)),delete c.css),c}function c(s,e,r){const i={};for(const o in s){const l=s[o];i[o]=t(n,o)||"object"!=typeof l?l:c(l,e,r)}return o(i,e,r)}function r(t,s,n){return t?t.constructor===Array?t.reduce(((t,e)=>Object.assign(Object.assign({},t),c(e,s,n))),{}):c(t,s,n):null}export{r as parseCssStyles,o as parsePluginStyles,c as parseStyles};
2
2
  //# sourceMappingURL=parse-styles.js.map
@@ -1,2 +1,2 @@
1
- import{__rest as o,__assign as d}from'./../../ext/tslib/tslib.es6.js';function r(o){return"number"==typeof o?o+"px":o}function t(t){var i=t.borderWidth,e=t.borderTopWidth,b=t.borderRightWidth,u=t.borderBottomWidth,s=t.borderLeftWidth,h=t.radius,R=t.radiusTop,a=t.radiusRight,m=t.radiusBottom,p=t.radiusLeft,f=o(t,["borderWidth","borderTopWidth","borderRightWidth","borderBottomWidth","borderLeftWidth","radius","radiusTop","radiusRight","radiusBottom","radiusLeft"]),W={};return void 0!==i&&(W.borderTopWidth=r(i),W.borderRightWidth=r(i),W.borderBottomWidth=r(i),W.borderLeftWidth=r(i)),void 0!==e&&(W.borderTopWidth=r(e)),void 0!==b&&(W.borderRightWidth=r(b)),void 0!==u&&(W.borderBottomWidth=r(u)),void 0!==s&&(W.borderLeftWidth=r(s)),void 0!==h&&("circle"===h?W.borderRadius="100%":"pill"===h?W.borderRadius="10em":"pill-left"===h?(W.borderTopLeftRadius="10em",W.borderBottomLeftRadius="10em"):"pill-right"===h?(W.borderTopRightRadius="10em",W.borderBottomRightRadius="10em"):(W.borderTopLeftRadius=r(h),W.borderTopRightRadius=r(h),W.borderBottomRightRadius=r(h),W.borderBottomLeftRadius=r(h))),void 0!==R&&(W.borderTopLeftRadius=r(R),W.borderTopRightRadius=r(R)),void 0!==a&&(W.borderTopRightRadius=r(a),W.borderBottomRightRadius=r(a)),void 0!==m&&(W.borderBottomRightRadius=r(m),W.borderBottomLeftRadius=r(m)),void 0!==p&&(W.borderTopLeftRadius=r(p),W.borderBottomLeftRadius=r(p)),d(d({},f),W)}export{t as default};
1
+ import{__rest as o}from'./../../ext/tslib/tslib.es6.js';function d(o){return"number"==typeof o?o+"px":o}function r(r){var{borderWidth:t,borderTopWidth:i,borderRightWidth:e,borderBottomWidth:b,borderLeftWidth:s,radius:u,radiusTop:a,radiusRight:h,radiusBottom:R,radiusLeft:m}=r,p=o(r,["borderWidth","borderTopWidth","borderRightWidth","borderBottomWidth","borderLeftWidth","radius","radiusTop","radiusRight","radiusBottom","radiusLeft"]);const f={};return void 0!==t&&(f.borderTopWidth=d(t),f.borderRightWidth=d(t),f.borderBottomWidth=d(t),f.borderLeftWidth=d(t)),void 0!==i&&(f.borderTopWidth=d(i)),void 0!==e&&(f.borderRightWidth=d(e)),void 0!==b&&(f.borderBottomWidth=d(b)),void 0!==s&&(f.borderLeftWidth=d(s)),void 0!==u&&("circle"===u?f.borderRadius="100%":"pill"===u?f.borderRadius="10em":"pill-left"===u?(f.borderTopLeftRadius="10em",f.borderBottomLeftRadius="10em"):"pill-right"===u?(f.borderTopRightRadius="10em",f.borderBottomRightRadius="10em"):(f.borderTopLeftRadius=d(u),f.borderTopRightRadius=d(u),f.borderBottomRightRadius=d(u),f.borderBottomLeftRadius=d(u))),void 0!==a&&(f.borderTopLeftRadius=d(a),f.borderTopRightRadius=d(a)),void 0!==h&&(f.borderTopRightRadius=d(h),f.borderBottomRightRadius=d(h)),void 0!==R&&(f.borderBottomRightRadius=d(R),f.borderBottomLeftRadius=d(R)),void 0!==m&&(f.borderTopLeftRadius=d(m),f.borderBottomLeftRadius=d(m)),Object.assign(Object.assign({},p),f)}export{r as default};
2
2
  //# sourceMappingURL=border.js.map
@@ -1,2 +1,2 @@
1
- import{__rest as o}from'./../../ext/tslib/tslib.es6.js';import{getCSSProperty as r}from"../../utils.js";import{parseColor as l}from"../utils.js";function e(e,t){var b=e.backgroundColor,d=e.borderColor,C=e.borderBottomColor,i=e.borderLeftColor,s=e.borderRightColor,c=e.borderTopColor,f=e.color,u=e.fill,n=e.outlineColor,m=e.stroke,a=o(e,["backgroundColor","borderColor","borderBottomColor","borderLeftColor","borderRightColor","borderTopColor","color","fill","outlineColor","stroke"]),k={backgroundColor:b,borderBottomColor:C,borderColor:d,borderLeftColor:i,borderRightColor:s,borderTopColor:c,color:f,fill:u,outlineColor:n,stroke:m};return Object.keys(k).forEach((function(o){var e=k[o];e&&(a[o]=t&&t.colors&&t.colors[e]?r("colors",e):l(e))})),a}export{e as default};
1
+ import{__rest as o}from'./../../ext/tslib/tslib.es6.js';import{getCSSProperty as r}from"../../utils.js";import{parseColor as l}from"../utils.js";function e(e,t){var{backgroundColor:b,borderColor:d,borderBottomColor:C,borderLeftColor:s,borderRightColor:i,borderTopColor:c,color:f,fill:n,outlineColor:u,stroke:m}=e,a=o(e,["backgroundColor","borderColor","borderBottomColor","borderLeftColor","borderRightColor","borderTopColor","color","fill","outlineColor","stroke"]);const k={backgroundColor:b,borderBottomColor:C,borderColor:d,borderLeftColor:s,borderRightColor:i,borderTopColor:c,color:f,fill:n,outlineColor:u,stroke:m};return Object.keys(k).forEach((o=>{const e=k[o];e&&(a[o]=t&&t.colors&&t.colors[e]?r("colors",e):l(e))})),a}export{e as default};
2
2
  //# sourceMappingURL=color.js.map
@@ -1,2 +1,2 @@
1
- import{__rest as e}from'./../../ext/tslib/tslib.es6.js';function o(o,t){var a=o.elevation,i=e(o,["elevation"]);return void 0!==a&&(i.boxShadow=t.elevations[parseFloat(a)-1]),i}export{o as default};
1
+ import{__rest as e}from'./../../ext/tslib/tslib.es6.js';function o(o,t){var{elevation:a}=o,i=e(o,["elevation"]);return void 0!==a&&(i.boxShadow=t.elevations[parseFloat(a)-1]),i}export{o as default};
2
2
  //# sourceMappingURL=elevation.js.map
@@ -1,2 +1,2 @@
1
- import{__rest as i,__assign as e}from'./../../ext/tslib/tslib.es6.js';import{spacingValue as r,justifyTypes as o,alignTypes as s}from"../utils.js";function l(l){void 0===l&&(l={});var n=l.alignItems,t=l.alignSelf,a=l.basis,f=l.direction,d=l.flexBasis,x=l.flexGrow,p=l.flexShrink,v=l.flexWrap,w=l.grow,g=l.justifyContent,m=l.shrink,u=l.wrap,S=i(l,["alignItems","alignSelf","basis","direction","flexBasis","flexGrow","flexShrink","flexWrap","grow","justifyContent","shrink","wrap"]),h={};return f&&(h.flexDirection=f),void 0===u&&(u=v),void 0!==u&&(h.flexWrap="reverse"===u?"wrap-reverse":!0===u||"wrap"===u?"wrap":"nowrap"),void 0===w&&(w=x),void 0!==w&&(h.flexGrow=!0===w?1:w),void 0===m&&(m=p),void 0!==m&&(h.flexShrink=!0===m?1:m),void 0===a&&(a=d),void 0!==a&&(h.flexBasis=r(a)),g&&(h.justifyContent=o[g]||g),n&&(h.alignItems=s[n]||n),t&&(h.alignSelf=s[t]||t),e(e({},S),h)}export{l as default};
1
+ import{__rest as i}from'./../../ext/tslib/tslib.es6.js';import{spacingValue as e,justifyTypes as r,alignTypes as s}from"../utils.js";function o(o={}){var{alignItems:n,alignSelf:l,basis:t,direction:a,flexBasis:f,flexGrow:x,flexShrink:d,flexWrap:p,grow:v,justifyContent:w,shrink:g,wrap:m}=o,u=i(o,["alignItems","alignSelf","basis","direction","flexBasis","flexGrow","flexShrink","flexWrap","grow","justifyContent","shrink","wrap"]);const c={};return a&&(c.flexDirection=a),void 0===m&&(m=p),void 0!==m&&(c.flexWrap="reverse"===m?"wrap-reverse":!0===m||"wrap"===m?"wrap":"nowrap"),void 0===v&&(v=x),void 0!==v&&(c.flexGrow=!0===v?1:v),void 0===g&&(g=d),void 0!==g&&(c.flexShrink=!0===g?1:g),void 0===t&&(t=f),void 0!==t&&(c.flexBasis=e(t)),w&&(c.justifyContent=r[w]||w),n&&(c.alignItems=s[n]||n),l&&(c.alignSelf=s[l]||l),Object.assign(Object.assign({},u),c)}export{o as default};
2
2
  //# sourceMappingURL=flex.js.map
@@ -1,2 +1,2 @@
1
- import{__rest as o,__assign as d}from'./../../ext/tslib/tslib.es6.js';function r(r){void 0===r&&(r={});var i=r.column,n=r.columnStart,t=r.columnEnd,l=r.row,u=r.rowStart,m=r.rowEnd,v=o(r,["column","columnStart","columnEnd","row","rowStart","rowEnd"]),g={};return void 0!==i&&void 0===g.gridColumn&&(g.gridColumn=i),void 0!==n&&void 0===g.gridColumnStart&&(g.gridColumnStart=n),void 0!==t&&void 0===g.gridColumnEnd&&(g.gridColumnEnd=t),void 0!==l&&void 0===g.gridRow&&(g.gridRow=l),void 0!==u&&void 0===g.gridRowStart&&(g.gridRowStart=u),void 0!==m&&void 0===g.gridRowEnd&&(g.gridRowEnd=m),d(d({},v),g)}export{r as default};
1
+ import{__rest as o}from'./../../ext/tslib/tslib.es6.js';function d(d={}){var{column:r,columnStart:i,columnEnd:n,row:t,rowStart:l,rowEnd:u}=d,m=o(d,["column","columnStart","columnEnd","row","rowStart","rowEnd"]);const g={};return void 0!==r&&void 0===g.gridColumn&&(g.gridColumn=r),void 0!==i&&void 0===g.gridColumnStart&&(g.gridColumnStart=i),void 0!==n&&void 0===g.gridColumnEnd&&(g.gridColumnEnd=n),void 0!==t&&void 0===g.gridRow&&(g.gridRow=t),void 0!==l&&void 0===g.gridRowStart&&(g.gridRowStart=l),void 0!==u&&void 0===g.gridRowEnd&&(g.gridRowEnd=u),Object.assign(Object.assign({},m),g)}export{d as default};
2
2
  //# sourceMappingURL=grid.js.map
@@ -1,2 +1,2 @@
1
- import{__rest as e}from'./../../ext/tslib/tslib.es6.js';import{spacingValue as o}from"../utils.js";function t(t){var i=t.uppercase,r=e(t,["uppercase"]);return r.boxShadow&&r.boxShadow.constructor===Array&&(r.boxShadow=r.boxShadow.join(", ")),void 0!==r.lineHeight&&(r.lineHeight="number"==typeof r.lineHeight?o(r.lineHeight):r.lineHeight),i&&(r.textTransform="uppercase",r.letterSpacing="0.15em"),r}export{t as default};
1
+ import{__rest as e}from'./../../ext/tslib/tslib.es6.js';import{spacingValue as o}from"../utils.js";function t(t){var{uppercase:i}=t,r=e(t,["uppercase"]);return r.boxShadow&&r.boxShadow.constructor===Array&&(r.boxShadow=r.boxShadow.join(", ")),void 0!==r.lineHeight&&(r.lineHeight="number"==typeof r.lineHeight?o(r.lineHeight):r.lineHeight),i&&(r.textTransform="uppercase",r.letterSpacing="0.15em"),r}export{t as default};
2
2
  //# sourceMappingURL=misc.js.map
@@ -1,2 +1,2 @@
1
- import{__rest as o,__assign as t}from'./../../ext/tslib/tslib.es6.js';import{spacingValue as i}from"../utils.js";function e(e){var d=e.position,r=e.top,s=e.right,n=e.bottom,p=e.left,l=e.zIndex,m=o(e,["position","top","right","bottom","left","zIndex"]),f={};return d&&(f.position=d),void 0!==r&&(f.top=i(r)),void 0!==s&&(f.right=i(s)),void 0!==n&&(f.bottom=i(n)),void 0!==p&&(f.left=i(p)),void 0!==l&&(f.zIndex=l),t(t({},m),f)}export{e as default};
1
+ import{__rest as t}from'./../../ext/tslib/tslib.es6.js';import{spacingValue as o}from"../utils.js";function i(i){var{position:s,top:e,right:n,bottom:d,left:r,zIndex:p}=i,l=t(i,["position","top","right","bottom","left","zIndex"]);const m={};return s&&(m.position=s),void 0!==e&&(m.top=o(e)),void 0!==n&&(m.right=o(n)),void 0!==d&&(m.bottom=o(d)),void 0!==r&&(m.left=o(r)),void 0!==p&&(m.zIndex=p),Object.assign(Object.assign({},l),m)}export{i as default};
2
2
  //# sourceMappingURL=position.js.map
@@ -1,2 +1,2 @@
1
- import{__rest as i}from'./../../ext/tslib/tslib.es6.js';import{spacingValue as t}from"../utils.js";function h(h){var e=h.width,m=h.height,d=h.minWidth,n=h.minHeight,a=h.maxWidth,o=h.maxHeight,r=i(h,["width","height","minWidth","minHeight","maxWidth","maxHeight"]),g={height:m,maxHeight:o,maxWidth:a,minHeight:n,minWidth:d,width:e};return Object.keys(g).forEach((function(i){var h=g[i];void 0!==h&&(r[i]=t(h))})),r}export{h as default};
1
+ import{__rest as i}from'./../../ext/tslib/tslib.es6.js';import{spacingValue as t}from"../utils.js";function h(h){var{width:e,height:m,minWidth:d,minHeight:n,maxWidth:o,maxHeight:s}=h,a=i(h,["width","height","minWidth","minHeight","maxWidth","maxHeight"]);const g={height:m,maxHeight:s,maxWidth:o,minHeight:n,minWidth:d,width:e};return Object.keys(g).forEach((i=>{const h=g[i];void 0!==h&&(a[i]=t(h))})),a}export{h as default};
2
2
  //# sourceMappingURL=size.js.map
@@ -1,2 +1,2 @@
1
- import{__rest as i,__assign as a}from'./../../ext/tslib/tslib.es6.js';import{anyDefined as g,expandDirectionalProperty as n,parseSides as t,spacingValue as d}from"../utils.js";function o(o){var p=o.padding,r=o.paddingHorizontal,m=o.paddingVertical,e=o.paddingTop,f=o.paddingRight,l=o.paddingBottom,h=o.paddingLeft,s=o.margin,B=o.marginHorizontal,L=o.marginVertical,R=o.marginTop,T=o.marginRight,c=o.marginBottom,u=o.marginLeft,v=o.gap,G=o.columnGap,z=o.rowGap,H=i(o,["padding","paddingHorizontal","paddingVertical","paddingTop","paddingRight","paddingBottom","paddingLeft","margin","marginHorizontal","marginVertical","marginTop","marginRight","marginBottom","marginLeft","gap","columnGap","rowGap"]),V={};if(g(p))if("string"==typeof p){var w=n("padding",p);V.paddingTop=w.paddingTop,V.paddingRight=w.paddingRight,V.paddingBottom=w.paddingBottom,V.paddingLeft=w.paddingLeft}else{var b=t(p);V.paddingTop=b,V.paddingRight=b,V.paddingBottom=b,V.paddingLeft=b}if(g(m,e)&&(V.paddingTop=t(m,e)),g(r,f)&&(V.paddingRight=t(r,f)),g(m,l)&&(V.paddingBottom=t(m,l)),g(r,h)&&(V.paddingLeft=t(r,h)),g(s))if("string"==typeof s){var j=n("margin",s);V.marginTop=j.marginTop,V.marginRight=j.marginRight,V.marginBottom=j.marginBottom,V.marginLeft=j.marginLeft}else{var y=t(s);V.marginTop=y,V.marginRight=y,V.marginBottom=y,V.marginLeft=y}return g(L,R)&&(V.marginTop=t(L,R)),g(B,T)&&(V.marginRight=t(B,T)),g(L,c)&&(V.marginBottom=t(L,c)),g(B,u)&&(V.marginLeft=t(B,u)),void 0!==v&&(V.gap=d(v)),void 0!==G&&(V.columnGap=d(G)),void 0!==z&&(V.rowGap=d(z)),a(a({},H),V)}export{o as default};
1
+ import{__rest as i}from'./../../ext/tslib/tslib.es6.js';import{anyDefined as a,expandDirectionalProperty as n,parseSides as g,spacingValue as t}from"../utils.js";function d(d){var{padding:o,paddingHorizontal:p,paddingVertical:r,paddingTop:m,paddingRight:e,paddingBottom:f,paddingLeft:s,margin:l,marginHorizontal:c,marginVertical:h,marginTop:B,marginRight:L,marginBottom:R,marginLeft:T,gap:u,columnGap:G,rowGap:b}=d,j=i(d,["padding","paddingHorizontal","paddingVertical","paddingTop","paddingRight","paddingBottom","paddingLeft","margin","marginHorizontal","marginVertical","marginTop","marginRight","marginBottom","marginLeft","gap","columnGap","rowGap"]);const v={};if(a(o))if("string"==typeof o){const i=n("padding",o);v.paddingTop=i.paddingTop,v.paddingRight=i.paddingRight,v.paddingBottom=i.paddingBottom,v.paddingLeft=i.paddingLeft}else{const i=g(o);v.paddingTop=i,v.paddingRight=i,v.paddingBottom=i,v.paddingLeft=i}if(a(r,m)&&(v.paddingTop=g(r,m)),a(p,e)&&(v.paddingRight=g(p,e)),a(r,f)&&(v.paddingBottom=g(r,f)),a(p,s)&&(v.paddingLeft=g(p,s)),a(l))if("string"==typeof l){const i=n("margin",l);v.marginTop=i.marginTop,v.marginRight=i.marginRight,v.marginBottom=i.marginBottom,v.marginLeft=i.marginLeft}else{const i=g(l);v.marginTop=i,v.marginRight=i,v.marginBottom=i,v.marginLeft=i}return a(h,B)&&(v.marginTop=g(h,B)),a(c,L)&&(v.marginRight=g(c,L)),a(h,R)&&(v.marginBottom=g(h,R)),a(c,T)&&(v.marginLeft=g(c,T)),void 0!==u&&(v.gap=t(u)),void 0!==G&&(v.columnGap=t(G)),void 0!==b&&(v.rowGap=t(b)),Object.assign(Object.assign({},j),v)}export{d as default};
2
2
  //# sourceMappingURL=space.js.map
@@ -1,2 +1,2 @@
1
- import{__rest as o,__assign as t}from'./../../ext/tslib/tslib.es6.js';import{getCSSProperty as s}from"../../utils.js";import{parseColor as i}from"../utils.js";function e(e,r){var c=e.stroke,p=e.strokeAlign,n=void 0===p?"outside":p,x=e.strokeOpacity,a=e.strokeWeight,l=o(e,["stroke","strokeAlign","strokeOpacity","strokeWeight"]),u={};if(c&&a){var d=r&&r.colors&&r.colors[c]?s("colors",c):i(c),f=u.boxShadow?u.boxShadow.split(", "):[];"inside"===n?f.unshift("inset 0px 0px 0px ".concat(a,"px ").concat(d)):"outside"===n?f.unshift("0px 0px 0px ".concat(a,"px ").concat(d)):"center"===n&&(f.unshift("inset 0px 0px 0px ".concat(a/2,"px ").concat(d)),f.unshift("0px 0px 0px ".concat(a/2,"px ").concat(d))),u.boxShadow=f.join(", ")}else u.stroke=c,x&&(u.strokeOpacity=x);return t(t({},l),u)}export{e as default};
1
+ import{__rest as s}from'./../../ext/tslib/tslib.es6.js';import{getCSSProperty as t}from"../../utils.js";import{parseColor as o}from"../utils.js";function i(i,e){var{stroke:p,strokeAlign:r="outside",strokeOpacity:x,strokeWeight:n}=i,l=s(i,["stroke","strokeAlign","strokeOpacity","strokeWeight"]);const c={};if(p&&n){const s=e&&e.colors&&e.colors[p]?t("colors",p):o(p),i=c.boxShadow?c.boxShadow.split(", "):[];"inside"===r?i.unshift(`inset 0px 0px 0px ${n}px ${s}`):"outside"===r?i.unshift(`0px 0px 0px ${n}px ${s}`):"center"===r&&(i.unshift(`inset 0px 0px 0px ${n/2}px ${s}`),i.unshift(`0px 0px 0px ${n/2}px ${s}`)),c.boxShadow=i.join(", ")}else c.stroke=p,x&&(c.strokeOpacity=x);return Object.assign(Object.assign({},l),c)}export{i as default};
2
2
  //# sourceMappingURL=stroke.js.map
@@ -1,2 +1,2 @@
1
- import{__rest as t}from'./../../ext/tslib/tslib.es6.js';function a(a){var c=a.x,o=a.y,n=a.scale,r=a.rotate,e=t(a,["x","y","scale","rotate"]),s="";return c&&o?s+="translate(".concat(c,", ").concat(o,") "):(c&&(s+="translateX(".concat(c,") ")),o&&(s+="translateY(".concat(o,") "))),n&&(s+="scale(".concat(n,") ")),r&&(s+="rotate(".concat(r,"deg) ")),s.length>0&&(e.transform=e.transform?"".concat(e.transform," ").concat(s):s),e}export{a as default};
1
+ import{__rest as t}from'./../../ext/tslib/tslib.es6.js';function a(a){var{x:e,y:r,scale:s,rotate:l}=a,o=t(a,["x","y","scale","rotate"]);let n="";return e&&r?n+=`translate(${e}, ${r}) `:(e&&(n+=`translateX(${e}) `),r&&(n+=`translateY(${r}) `)),s&&(n+=`scale(${s}) `),l&&(n+=`rotate(${l}deg) `),n.length>0&&(o.transform=o.transform?`${o.transform} ${n}`:n),o}export{a as default};
2
2
  //# sourceMappingURL=transform.js.map
@@ -1,2 +1,2 @@
1
- function e(e,t){if(void 0!==e.fontSize){var f=t&&t.fontSizes&&t.fontSizes[e.fontSize]||e.fontSize;e.fontSize="number"==typeof f?f+"px":f}return e}export{e as default};
1
+ function t(t,e){if(void 0!==t.fontSize){const n=e&&e.fontSizes&&e.fontSizes[t.fontSize]||t.fontSize;t.fontSize="number"==typeof n?n+"px":n}return t}export{t as default};
2
2
  //# sourceMappingURL=typography.js.map
@@ -1,2 +1,2 @@
1
- import{__rest as e,__assign as i}from'./../ext/tslib/tslib.es6.js';import r from"lodash/includes";import{parsePluginStyles as n}from"./parse-styles.js";import{stylePropNames as s,pseudoPropNames as a}from"./style-names.js";function t(t){var o=t.className,d=void 0===o?void 0:o,v=t.mediaQueries,l=void 0===v?{}:v,c=t.plugin,u=void 0===c?void 0:c,p=t.variant,f=t.variants,m=void 0===f?{}:f,y=t.visible,b=void 0===y||y,x=e(t,["className","mediaQueries","plugin","variant","variants","visible"]),O={},j={},k=function(e){return s.indexOf(e)>-1||a.indexOf(e)>-1||u&&u.styleProps.indexOf(e)>-1};for(var N in x){var g=x[N];k(N)?j[N]=g:O[N]=g}return i(i({},O),{className:d?"tapestry-react-reset ".concat(d):"tapestry-react-reset",css:function(t){var o={};for(var d in j){var v=j[d];r(s,d)||u&&u.styleProps.indexOf(d)>-1?o[d]=v:r(a,d)&&(o["&:".concat(d)]=n(v,u,t))}var c=n(o,u,t),f=Object.keys(l).reduce((function(e,i){var r=null==t?void 0:t.breakpoints[i],s=r?"number"==typeof r?"@media screen and (min-width: ".concat(r,"px)"):r:i,a=n(l[i],u,t);return void 0!==a.visible&&(a.display=a.visible?c.display:"none",delete a.visible),e[s]=a,e}),{}),y=function(r){var n=r.variants,s=e(r,["variants"]);return n?i(i({},s),x(n)):r},x=function(s){return Object.keys(s).reduce((function(o,d){var v,l=n(s[d],u,t),f=l.visible,m=e(l,["visible"]);return void 0!==f&&(m.display=f?c.display:"none"),p.includes(d)?i(i({},o),y(m)):r(a,d)?i(i({},o),((v={})[":".concat(d)]=y(m),v)):o}),{})},O=x(m);return!1===b&&(c.display="none"),[c,f,O]}})}export{t as default};
1
+ import{__rest as s}from'./../ext/tslib/tslib.es6.js';import e from"lodash/includes";import{parsePluginStyles as i}from"./parse-styles.js";import{stylePropNames as t,pseudoPropNames as n}from"./style-names.js";function a(a){var{className:r,mediaQueries:o={},plugin:c,variant:l,variants:d={},visible:b=!0}=a,p=s(a,["className","mediaQueries","plugin","variant","variants","visible"]);const m={},u={},v=s=>t.indexOf(s)>-1||n.indexOf(s)>-1||c&&c.styleProps.indexOf(s)>-1;for(const s in p){const e=p[s];v(s)?u[s]=e:m[s]=e}return Object.assign(Object.assign({},m),{className:r?`tapestry-react-reset ${r}`:"tapestry-react-reset",css:a=>{const r={};for(const s in u){const o=u[s];e(t,s)||c&&c.styleProps.indexOf(s)>-1?r[s]=o:e(n,s)&&(r[`&:${s}`]=i(o,c,a))}const p=i(r,c,a),m=Object.keys(o).reduce(((s,e)=>{const t=null==a?void 0:a.breakpoints[e],n=t?"number"==typeof t?`@media screen and (min-width: ${t}px)`:t:e,r=i(o[e],c,a);return void 0!==r.visible&&(r.display=r.visible?p.display:"none",delete r.visible),s[n]=r,s}),{}),v=e=>{const{variants:i}=e,t=s(e,["variants"]);return i?Object.assign(Object.assign({},t),y(i)):e},y=t=>Object.keys(t).reduce(((r,o)=>{const d=i(t[o],c,a),{visible:b}=d,m=s(d,["visible"]);return void 0!==b&&(m.display=b?p.display:"none"),l.includes(o)?Object.assign(Object.assign({},r),v(m)):e(n,o)?Object.assign(Object.assign({},r),{[`:${o}`]:v(m)}):r}),{}),O=y(d);return!1===b&&(p.display="none"),[p,m,O]}})}export{a as default};
2
2
  //# sourceMappingURL=split-styles.js.map
@@ -1,2 +1,2 @@
1
- import{__spreadArray as t}from'./../ext/tslib/tslib.es6.js';var o=["alignContent","alignItems","alignSelf","alignmentBaseline","animation","animationDelay","animationDirection","animationDuration","animationFillMode","animationIterationCount","animationName","animationPlayState","animationTimingFunction","aspectRatio","backfaceVisibility","background","backgroundAttachment","backgroundBlendMode","backgroundClip","backgroundImage","backgroundOrigin","backgroundPosition","backgroundPositionX","backgroundPositionY","backgroundRepeat","backgroundSize","baselineShift","border","borderBottom","borderBottomLeftRadius","borderBottomRightRadius","borderBottomStyle","borderBottomWidth","borderCollapse","borderImage","borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth","borderLeft","borderLeftStyle","borderLeftWidth","borderRadius","borderRight","borderRightStyle","borderRightWidth","borderSpacing","borderStyle","borderTop","borderTopLeftRadius","borderTopRightRadius","borderTopStyle","borderTopWidth","borderWidth","bottom","boxShadow","boxSizing","breakAfter","breakBefore","breakInside","clear","clip","clipPath","clipRule","columnCount","columnFill","columnGap","columnRule","columnRuleColor","columnRuleStyle","columnRuleWidth","columnSpan","columnWidth","columns","contain","content","counterIncrement","counterReset","cursor","direction","display","fillOpacity","fillRule","filter","flex","flexBasis","flexDirection","flexFlow","flexGrow","flexShrink","flexWrap","font","fontFamily","fontFeatureSettings","fontKerning","fontSize","fontStretch","fontStyle","fontVariant","fontVariantCaps","fontVariantLigatures","fontVariantNumeric","fontWeight","gap","gridArea","gridAutoColumns","gridAutoFlow","gridAutoRows","gridColumn","gridColumnEnd","gridColumnGap","gridColumnStart","gridGap","gridRow","gridRowEnd","gridRowGap","gridRowStart","gridTemplate","gridTemplateAreas","gridTemplateColumns","gridTemplateRows","height","hyphens","imageRendering","isolation","justifyContent","justifyItems","justifySelf","left","letterSpacing","lightingColor","lineHeight","listStyle","listStyleImage","listStylePosition","listStyleType","margin","marginBottom","marginLeft","marginRight","marginTop","mask","maskType","maxHeight","maxWidth","minHeight","minWidth","mixBlendMode","motion","objectFit","objectPosition","opacity","order","outline","outlineColor","outlineOffset","outlineStyle","outlineWidth","overflow","overflowWrap","overflowX","overflowY","padding","paddingBottom","paddingLeft","paddingRight","paddingTop","pageBreakAfter","pageBreakBefore","pageBreakInside","perspective","perspectiveOrigin","placeItems","placeSelf","pointerEvents","position","resize","right","strokeDasharray","strokeDashoffset","strokeLinecap","strokeLinejoin","strokeMiterlimit","strokeOpacity","strokeWidth","tabSize","tableLayout","textAlign","textDecoration","textIndent","textOrientation","textOverflow","textRendering","textShadow","textTransform","top","touchAction","transform","transformOrigin","transformStyle","transition","transitionDelay","transitionDuration","transitionProperty","transitionTimingFunction","verticalAlign","visibility","clipPath","filter","userSelect","WebkitOverflowScrolling","writingMode","whiteSpace","width","willChange","wordBreak","wordSpacing","wordWrap","zIndex"],e=["backgroundColor","borderColor","borderBottomColor","borderLeftColor","borderRightColor","borderTopColor","color","fill","outlineColor","stroke"],i=["css","column","columnStart","columnEnd","row","rowStart","rowEnd","basis","elevation","grow","marginHorizontal","marginVertical","paddingHorizontal","paddingVertical","radius","radiusTop","radiusRight","radiusBottom","radiusLeft","x","y","rotate","scale","uppercase","shrink","wrap","strokeAlign","strokeWeight"],r=t(t(t([],o,!0),e,!0),i,!0),n=["active","focus","hover"];export{e as colorStyleNames,i as customStyleNames,o as nativeStyleNames,n as pseudoPropNames,r as stylePropNames};
1
+ const t=["alignContent","alignItems","alignSelf","alignmentBaseline","animation","animationDelay","animationDirection","animationDuration","animationFillMode","animationIterationCount","animationName","animationPlayState","animationTimingFunction","aspectRatio","backfaceVisibility","background","backgroundAttachment","backgroundBlendMode","backgroundClip","backgroundImage","backgroundOrigin","backgroundPosition","backgroundPositionX","backgroundPositionY","backgroundRepeat","backgroundSize","baselineShift","border","borderBottom","borderBottomLeftRadius","borderBottomRightRadius","borderBottomStyle","borderBottomWidth","borderCollapse","borderImage","borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth","borderLeft","borderLeftStyle","borderLeftWidth","borderRadius","borderRight","borderRightStyle","borderRightWidth","borderSpacing","borderStyle","borderTop","borderTopLeftRadius","borderTopRightRadius","borderTopStyle","borderTopWidth","borderWidth","bottom","boxShadow","boxSizing","breakAfter","breakBefore","breakInside","clear","clip","clipPath","clipRule","columnCount","columnFill","columnGap","columnRule","columnRuleColor","columnRuleStyle","columnRuleWidth","columnSpan","columnWidth","columns","contain","content","counterIncrement","counterReset","cursor","direction","display","fillOpacity","fillRule","filter","flex","flexBasis","flexDirection","flexFlow","flexGrow","flexShrink","flexWrap","font","fontFamily","fontFeatureSettings","fontKerning","fontSize","fontStretch","fontStyle","fontVariant","fontVariantCaps","fontVariantLigatures","fontVariantNumeric","fontWeight","gap","gridArea","gridAutoColumns","gridAutoFlow","gridAutoRows","gridColumn","gridColumnEnd","gridColumnGap","gridColumnStart","gridGap","gridRow","gridRowEnd","gridRowGap","gridRowStart","gridTemplate","gridTemplateAreas","gridTemplateColumns","gridTemplateRows","height","hyphens","imageRendering","isolation","justifyContent","justifyItems","justifySelf","left","letterSpacing","lightingColor","lineHeight","listStyle","listStyleImage","listStylePosition","listStyleType","margin","marginBottom","marginLeft","marginRight","marginTop","mask","maskType","maxHeight","maxWidth","minHeight","minWidth","mixBlendMode","motion","objectFit","objectPosition","opacity","order","outline","outlineColor","outlineOffset","outlineStyle","outlineWidth","overflow","overflowWrap","overflowX","overflowY","padding","paddingBottom","paddingLeft","paddingRight","paddingTop","pageBreakAfter","pageBreakBefore","pageBreakInside","perspective","perspectiveOrigin","placeItems","placeSelf","pointerEvents","position","resize","right","strokeDasharray","strokeDashoffset","strokeLinecap","strokeLinejoin","strokeMiterlimit","strokeOpacity","strokeWidth","tabSize","tableLayout","textAlign","textDecoration","textIndent","textOrientation","textOverflow","textRendering","textShadow","textTransform","top","touchAction","transform","transformOrigin","transformStyle","transition","transitionDelay","transitionDuration","transitionProperty","transitionTimingFunction","verticalAlign","visibility","clipPath","filter","userSelect","WebkitOverflowScrolling","writingMode","whiteSpace","width","willChange","wordBreak","wordSpacing","wordWrap","zIndex"],o=["backgroundColor","borderColor","borderBottomColor","borderLeftColor","borderRightColor","borderTopColor","color","fill","outlineColor","stroke"],e=["css","column","columnStart","columnEnd","row","rowStart","rowEnd","basis","elevation","grow","marginHorizontal","marginVertical","paddingHorizontal","paddingVertical","radius","radiusTop","radiusRight","radiusBottom","radiusLeft","x","y","rotate","scale","uppercase","shrink","wrap","strokeAlign","strokeWeight"],i=[...t,...o,...e],r=["active","focus","hover"];export{o as colorStyleNames,e as customStyleNames,t as nativeStyleNames,r as pseudoPropNames,i as stylePropNames};
2
2
  //# sourceMappingURL=style-names.js.map
@@ -1,2 +1,2 @@
1
- import{useTheme as r}from"@emotion/react";import{useCallback as t}from"react";import o from"./cxs.js";import{parseCssStyles as e}from"./parse-styles.js";function m(){var m=r();return t((function(r){return o(e(r,null,m))}),[m])}export{m as default};
1
+ import{useTheme as r}from"@emotion/react";import{useCallback as o}from"react";import t from"./cxs.js";import{parseCssStyles as m}from"./parse-styles.js";function e(){const e=r();return o((r=>t(m(r,null,e))),[e])}export{e as default};
2
2
  //# sourceMappingURL=use-css.js.map
@@ -1,2 +1,2 @@
1
- import{__assign as e}from'./../ext/tslib/tslib.es6.js';import{ThemeContext as t}from"@emotion/react";import r from"lodash/get";import{darken as n,lighten as o,parseToRgb as a,getLuminance as c}from"polished";import{useContext as u,useCallback as i}from"react";import{getColor as s}from"./colors/colors.js";import"../utils.js";import f from"./default-theme.js";var l=8,p=["xxs","xs","sm","md","lg","xl","xxl"],m={baseline:"baseline",center:"center",end:"flex-end",start:"flex-start",stretch:"stretch"},d={center:"center",end:"flex-end","space-around":"space-around","space-between":"space-between","space-evenly":"space-evenly",start:"flex-start"};function h(e,t){var r=p.indexOf(e);return p[r+t]||e}function v(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return e.some((function(e){return null!=e}))}function x(e){return"number"==typeof e?8*e+"px":e}function g(e){return e/8}function b(t,r){var n=r.split(/\s+/);if(1===n.length){var o=n[0];n=[o,o,o,o]}else 2===n.length?n=n.concat(n):3===n.length&&n.push(n[1]);return["Top","Right","Bottom","Left"].reduce((function(r,o,a){var c;return e(e({},r),((c={})["".concat(t).concat(o)]=n[a],c))}),{})}function y(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return e.reduce((function(e,t){return"string"==typeof t?t:null!=t?8*t+"px":e}),0)}function j(e){if("object"==typeof e){var t=s(e.base)||e.base;if("transparent"===t)return t;if(e.darken&&(t=n(e.darken,t)),e.lighten&&(t=o(e.lighten,t)),void 0!==e.alpha){var r=a(t),c=r.red,u=r.green,i=r.blue;return"rgba(".concat(c,", ").concat(u,", ").concat(i,", ").concat(e.alpha,")")}return t}return s(e)||e}function k(e){if("transparent"===e)return null;try{return c(j(e))>.5}catch(e){return null}}function O(e){return k(e)?"dark-9":"light-9"}function w(e,n){var o=u(t);return e?r(o,e,n||r(f,e)):o||f}function z(t,r){return e(e({},w(t)),r)}function S(t){void 0===t&&(t="md");var r=w("boxSizes"),n=i((function(e){var n=Object.keys(r).indexOf(t);return p[n+e]||t}),[t]);return e(e({},r[t]||{}),{navigateSize:n})}export{m as alignTypes,v as anyDefined,g as convertToBaseUnit,b as expandDirectionalProperty,O as getForegroundColor,k as isLightColor,d as justifyTypes,h as navigateSize,j as parseColor,y as parseSides,p as sizes,l as spacing,x as spacingValue,S as useBoxSize,z as useThemeProps,w as useThemeValue};
1
+ import{ThemeContext as e}from"@emotion/react";import t from"lodash/get";import{darken as n,lighten as r,parseToRgb as s,getLuminance as o}from"polished";import{useContext as c,useCallback as i}from"react";import{getColor as u}from"./colors/colors.js";import"../utils.js";import a from"./default-theme.js";const l=8,f=["xxs","xs","sm","md","lg","xl","xxl"],p={baseline:"baseline",center:"center",end:"flex-end",start:"flex-start",stretch:"stretch"},m={center:"center",end:"flex-end","space-around":"space-around","space-between":"space-between","space-evenly":"space-evenly",start:"flex-start"};function d(e,t){const n=f.indexOf(e);return f[n+t]||e}function g(...e){return e.some((e=>null!=e))}function b(e){return"number"==typeof e?8*e+"px":e}function h(e){return e/8}function x(e,t){let n=t.split(/\s+/);if(1===n.length){const e=n[0];n=[e,e,e,e]}else 2===n.length?n=n.concat(n):3===n.length&&n.push(n[1]);return["Top","Right","Bottom","Left"].reduce(((t,r,s)=>Object.assign(Object.assign({},t),{[`${e}${r}`]:n[s]})),{})}function j(...e){return e.reduce(((e,t)=>"string"==typeof t?t:null!=t?8*t+"px":e),0)}function O(e){if("object"==typeof e){let t=u(e.base)||e.base;if("transparent"===t)return t;if(e.darken&&(t=n(e.darken,t)),e.lighten&&(t=r(e.lighten,t)),void 0!==e.alpha){const{red:n,green:r,blue:o}=s(t);return`rgba(${n}, ${r}, ${o}, ${e.alpha})`}return t}return u(e)||e}function y(e){if("transparent"===e)return null;try{return o(O(e))>.5}catch(e){return null}}function $(e){return y(e)?"dark-9":"light-9"}function k(n,r){const s=c(e);return n?t(s,n,r||t(a,n)):s||a}function v(e,t){return Object.assign(Object.assign({},k(e)),t)}function w(e="md"){const t=k("boxSizes"),n=i((n=>{const r=Object.keys(t).indexOf(e);return f[r+n]||e}),[e]);return Object.assign(Object.assign({},t[e]||{}),{navigateSize:n})}export{p as alignTypes,g as anyDefined,h as convertToBaseUnit,x as expandDirectionalProperty,$ as getForegroundColor,y as isLightColor,m as justifyTypes,d as navigateSize,O as parseColor,j as parseSides,f as sizes,l as spacing,b as spacingValue,w as useBoxSize,v as useThemeProps,k as useThemeValue};
2
2
  //# sourceMappingURL=utils.js.map
package/dist/utils.js CHANGED
@@ -1,2 +1,2 @@
1
- import{__spreadArray as e,__assign as t}from'./ext/tslib/tslib.es6.js';import n from"lodash/kebabCase";import{Children as r,isValidElement as o,cloneElement as i}from"react";import{tabbable as u}from"tabbable";var a="undefined"!=typeof window&&(!!navigator.platform&&/iPad|iPhone|iPod/.test(navigator.platform)),c=!1;if("undefined"!=typeof window)try{var d={get passive(){return c=!0,!0}};window.addEventListener("test",null,d),window.removeEventListener("test",null,d)}catch(e){c=!1}function f(e,t){var n=r.toArray(e).filter((function(e){return 0===e||Boolean(e)})),u=n.length;return n.map((function(e,n){return"string"==typeof e||"number"==typeof e?e:o(e)?i(e,t(e,{childrenCount:u,firstChild:0===n,index:n,isEven:n%2==0,isOdd:1===Math.abs(n%2),lastChild:n===Math.max(0,u-1)})):e}))}function l(t,n){return n?function(r){for(var o=[],i=1;i<arguments.length;i++)o[i-1]=arguments[i];t.apply(void 0,e([r],o,!1)),n.apply(void 0,e([r],o,!1))}:t}function s(n,r){return Object.keys(r).reduce((function(o,i){var u,a=n[i],c=r[i];return t(t({},o),((u={})[i]=a?function(t){for(var n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];a.apply(void 0,e([t],n,!1)),c.apply(void 0,e([t],n,!1))}:c,u))}),{})}function v(){window.getSelection().removeAllRanges()}function m(e){return e instanceof Element?"-1"===e.getAttribute("tabindex")||j(e)?e:m(e.parentNode):document.body}function p(e,t){if(void 0===t&&(t=!1),e){var n=getComputedStyle(e),r=n.overflow,o=n.overflowX,i=n.overflowY,u=(t?/(auto|scroll|hidden)/:/(auto|scroll)/).test(r+o+i);return e===document.body||u?e:p(e.parentNode,t)}return document.body}function h(e){var t=[];return e.querySelectorAll("*").forEach((function(e){j(e)&&t.push(e)})),t}var y,g=function(e){var t=e.getBoundingClientRect();return{bottom:t.bottom,height:t.height,left:t.left,right:t.right,top:t.top,width:t.width,x:t.x,y:t.y}};function w(e,t){if((void 0===t?{clone:!1}:t).clone){var n,r=document.createElement("div"),o=e.cloneNode(!0);return r.appendChild(o),document.body.appendChild(r),n=g(o),document.body.removeChild(r),n}return e?g(e):{}}function b(){if(void 0===y){var e=document.createElement("div");e.setAttribute("style","\n width: 100px;\n height: 100px;\n position: absolute;\n opacity: 0;\n overflow: scroll;\n "),document.body.appendChild(e),y=e.offsetWidth-e.clientWidth,document.body.removeChild(e)}return y}function E(e,t){var n=u(e.parentNode),r=t||e,o=n.indexOf(r),i=n[o-1],a=n[o+1];return e===document.body||i&&a?{next:a,previous:i}:E(e.parentNode,r)}var L=1;function x(e){return"".concat(e,"-").concat(L++)}var A="text-width"+(new Date).getTime(),C="undefined"==typeof document?null:document.createElement("canvas"),N=C&&C.getContext("2d"),S={fontFamily:"sans-serif",fontSize:"medium",fontStyle:"normal",fontVariant:"normal",fontWeight:"normal"};function k(e,n){return N?(n=n instanceof HTMLElement?n[A]||(n[A]=getComputedStyle(n)):t(t({},S),n),N.font=[n.fontStyle,n.fontVariant,n.fontWeight,n.fontSize,n.fontFamily].join(" "),N.measureText(e).width):-1}function T(t){var n=t.list,r=t.index,o=t.value,i=e([],n,!0);return i.splice(r,0,o),i}function j(e){var t="none"===e.style.display||"hidden"===e.style.visibility,n=e.hasAttribute("disabled")&&"false"!==e.getAttribute("disabled");if(t||n)return!1;var r=e.hasAttribute("tabindex"),o=Number(e.getAttribute("tabindex"))>=0,i=r&&o,u=function(e){var t=e.nodeName.toLowerCase(),n="input"===t&&"hidden"!==e.type,r="a"===t&&e.hasAttribute("href"),o=["audio","video"].includes(t)&&e.hasAttribute("controls"),i=["img","object"].includes(t)&&e.hasAttribute("usemap"),u=["button","details","embed","iframe","label","select","textarea"].includes(t);return n||r||o||i||u}(e)&&(!r||o);return i||u}function D(e){return e&&e.constructor===Array}function M(e){return e&&e.constructor===Function}function O(e,t){var n=-1;return e.some((function(e,r){return!!V(e,t)&&(n=r)})),n}function P(t,n){void 0===n&&(n=", ");var u=r.toArray(t),a=u.length-1;return u.reduce((function(t,r,u){if(o(r)&&o(n)&&r.type===n.type){var c=e([],t,!0);return c.pop(),c.concat(r)}return u<a?t.concat([r,"string"==typeof n?n:i(n,{key:u+"-separator"})]):t.concat(r)}),[])}var W=!c||{capture:!0,passive:!1},I=[];function R(e){var t=new WeakMap,n=function(e){return e.preventDefault()},r=function(){return window.removeEventListener("wheel",n,W)},o=function(){return window.addEventListener("wheel",n,W)},i=function(n){n.target!==e&&t.set(n.target,{x:n.target.scrollLeft,y:n.target.scrollTop})},u=function(t){var n=e.scrollHeight-e.offsetHeight;(t.deltaY>0&&e.scrollTop>=n||t.deltaY<0&&e.scrollTop<=0)&&t.preventDefault()},a=function(e){var n=e.target===document?document.documentElement:e.target,r=t.get(n);r&&(n.scrollLeft=r.x,n.scrollTop=r.y)},c=function(){e&&(e.addEventListener("mouseover",r,!0),e.addEventListener("mouseout",o,!0),o()),window.addEventListener("mousedown",i,!0),window.addEventListener("wheel",u,W),window.addEventListener("scroll",a,!0)},d=function(){e&&(e.removeEventListener("mouseover",r,!0),e.removeEventListener("mouseout",o,!0),r()),window.removeEventListener("mousedown",i,!0),window.removeEventListener("wheel",u,W),window.removeEventListener("scroll",a,!0)};return I.length>0&&(I[I.length-1].removeListeners(),I=I.filter((function(e){return document.body.contains(e.node)}))),document.body.contains(e)&&(I.push({addListeners:c,node:e,removeListeners:d}),c()),function(){var t=I.findIndex((function(t){return t.node===e}));t>-1&&(d(),I.splice(t,1),(I=I.filter((function(e){var t=document.body.contains(e.node);return!1===t&&e.removeListeners(),t}))).length>0&&I[I.length-1].addListeners())}}function F(){return null}function H(e,t){return Array(Math.max(t-String(e).length+1,0)).join("0")+e}function Y(e){if("undefined"!=typeof window){var t=function(){return e(!0)},n=function(){return e(!1)},r=function(){return e(!document.hidden)};return window.addEventListener("focus",t),window.addEventListener("blur",n),document.addEventListener("visibilitychange",r),function(){window.removeEventListener("focus",t),window.removeEventListener("blur",n),document.removeEventListener("visibilitychange",r)}}return function(){}}function z(e,t){for(var n=[],r=e;r<t;r++)n.push(r);return n}function B(t){var n=t.list,r=t.index,o=e([],n,!0);return o.splice(r,1),o}function J(e){var t=e.group,n=e.renderGroup,r=e.renderEmpty,o=void 0===r?"No items found":r;return t.length>0?t.reduce((function(e,r,o){var i=e.collection,u=e.index;return i.push(n(r,(function(){return u++}))),o===t.length-1?i:{collection:i,index:u}}),{collection:[],index:0}):o}function K(e){var t=e.list,n=e.startIndex,r=e.endIndex,o=Array.from(t),i=o.splice(n,1)[0];return o.splice(r,0,i),o}function V(e,t){return JSON.stringify(e)===JSON.stringify(t)}function q(e){"number"===e.type?e.select():e.setSelectionRange(0,9999)}function G(e){e.nativeEvent.stopImmediatePropagation()}function X(e){return function(t){t.stopPropagation(),e&&e(t)}}function _(e){function t(t){var n=u(e),r=n[0],o=n.reverse()[0];t.shiftKey&&t.target===r&&9===t.keyCode&&(t.preventDefault(),o.focus()),t.shiftKey||t.target!==o||9!==t.keyCode||(t.preventDefault(),r.focus())}for(var n=u(e),r=n[0],o=0;null==r?void 0:r.hasAttribute("data-helper-drawer-toggle");)r=n[o++];var i=document.activeElement;return r&&r.focus(),e.addEventListener("keydown",t),function(){i&&"focus"in i&&"function"==typeof i.focus&&i.focus(),e.removeEventListener("keydown",t)}}var Q=new Set;function U(e,t){return Q.has(e)||Q.add(e),"--".concat(n(e),"-").concat(n(t))}function Z(e,t){return e&&t?"var(--".concat(n(e),"-").concat(n(t),")"):void 0}function $(e,t){var n={};for(var r in t){var o=t[r];n[U(e,r)]="number"==typeof o?"".concat(o,"px"):Q.has(o)?Z(e,o):o}return n}function ee(e,t){void 0===e.current?"function"==typeof e&&e(t):e.current=t}function te(e,n,r,o){if(void 0===o&&(o=function(e,t){return e}),"className"===n)e.className=[e.className,r].join(" ").trim();else if("style"===n)e.style=t(t({},e.style),r);else if("ref"===n||"innerRef"===n){var i=e[n];e[n]=i?function(e){ee(i,e),ee(r,e)}:r}else if("function"==typeof r){var u=e[n];e[n]=u?function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];u.apply(void 0,e),r.apply(void 0,e)}:r}else e[n]=n in e?o(r,e[n]):r}function ne(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return 1===e.length?e[0]:e.reduce((function(e,t){for(var n in t)te(e,n,t[n]);return e}),{})}export{f as cloneChildren,l as composeEvents,s as composeMultipleEvents,U as createCSSProperty,v as deselectCurrentTextRange,x as generateId,Z as getCSSProperty,m as getClosestFocusableElement,p as getClosestViewport,h as getInteractiveChildElements,w as getRect,b as getScrollbarWidth,E as getTabbableSiblings,k as getTextWidth,T as insertAtIndex,D as isArray,j as isElementInteractive,M as isFunction,a as isIOS,O as isValueInArray,P as joinChildren,R as lockScroll,ne as mergeProps,F as noop,$ as objectToCSSProperties,H as padNumber,Y as pageViewChange,z as range,B as removeAtIndex,J as renderIndexedGroup,K as reorderArray,q as selectFullTextRange,V as shallowEqual,G as stopImmediatePropagation,X as stopPropagationClick,c as supportsPassiveEvents,_ as trapFocus};
1
+ import e from"lodash/kebabCase";import{Children as t,isValidElement as n,cloneElement as o}from"react";import{tabbable as r}from"tabbable";const i="undefined"!=typeof window&&(!!navigator.platform&&/iPad|iPhone|iPod/.test(navigator.platform));let s=!1;if("undefined"!=typeof window)try{const e={get passive(){return s=!0,!0}};window.addEventListener("test",null,e),window.removeEventListener("test",null,e)}catch(e){s=!1}function c(e,r){const i=t.toArray(e).filter((e=>0===e||Boolean(e))),s=i.length;return i.map(((e,t)=>"string"==typeof e||"number"==typeof e?e:n(e)?o(e,r(e,{childrenCount:s,firstChild:0===t,index:t,isEven:t%2==0,isOdd:1===Math.abs(t%2),lastChild:t===Math.max(0,s-1)})):e))}function u(e,t){return t?(n,...o)=>{e(n,...o),t(n,...o)}:e}function d(e,t){return Object.keys(t).reduce(((n,o)=>{const r=e[o],i=t[o];return Object.assign(Object.assign({},n),{[o]:r?(e,...t)=>{r(e,...t),i(e,...t)}:i})}),{})}function l(){window.getSelection().removeAllRanges()}function a(e){return e instanceof Element?"-1"===e.getAttribute("tabindex")||S(e)?e:a(e.parentNode):document.body}function f(e,t=!1){if(e){const{overflow:n,overflowX:o,overflowY:r}=getComputedStyle(e),i=(t?/(auto|scroll|hidden)/:/(auto|scroll)/).test(n+o+r);return e===document.body||i?e:f(e.parentNode,t)}return document.body}function m(e){const t=[];return e.querySelectorAll("*").forEach((e=>{S(e)&&t.push(e)})),t}const p=e=>{const t=e.getBoundingClientRect();return{bottom:t.bottom,height:t.height,left:t.left,right:t.right,top:t.top,width:t.width,x:t.x,y:t.y}};function v(e,{clone:t}={clone:!1}){if(t){const t=document.createElement("div"),n=e.cloneNode(!0);let o;return t.appendChild(n),document.body.appendChild(t),o=p(n),document.body.removeChild(t),o}return e?p(e):{}}let h;function y(){if(void 0===h){const e=document.createElement("div");e.setAttribute("style","\n width: 100px;\n height: 100px;\n position: absolute;\n opacity: 0;\n overflow: scroll;\n "),document.body.appendChild(e),h=e.offsetWidth-e.clientWidth,document.body.removeChild(e)}return h}function g(e,t){const n=r(e.parentNode),o=t||e,i=n.indexOf(o),s=n[i-1],c=n[i+1];return e===document.body||s&&c?{next:c,previous:s}:g(e.parentNode,o)}let w=1;function b(e){return`${e}-${w++}`}const E="text-width"+(new Date).getTime(),L="undefined"==typeof document?null:document.createElement("canvas"),x=L&&L.getContext("2d"),A={fontFamily:"sans-serif",fontSize:"medium",fontStyle:"normal",fontVariant:"normal",fontWeight:"normal"};function C(e,t){return x?(t=t instanceof HTMLElement?t[E]||(t[E]=getComputedStyle(t)):Object.assign(Object.assign({},A),t),x.font=[t.fontStyle,t.fontVariant,t.fontWeight,t.fontSize,t.fontFamily].join(" "),x.measureText(e).width):-1}function N({list:e,index:t,value:n}){const o=[...e];return o.splice(t,0,n),o}function S(e){const t="none"===e.style.display||"hidden"===e.style.visibility,n=e.hasAttribute("disabled")&&"false"!==e.getAttribute("disabled");if(t||n)return!1;const o=e.hasAttribute("tabindex"),r=Number(e.getAttribute("tabindex"))>=0,i=o&&r,s=function(e){const t=e.nodeName.toLowerCase(),n="input"===t&&"hidden"!==e.type,o="a"===t&&e.hasAttribute("href"),r=["audio","video"].includes(t)&&e.hasAttribute("controls"),i=["img","object"].includes(t)&&e.hasAttribute("usemap"),s=["button","details","embed","iframe","label","select","textarea"].includes(t);return n||o||r||i||s}(e)&&(!o||r);return i||s}function j(e){return e&&e.constructor===Array}function O(e){return e&&e.constructor===Function}function k(e,t){let n=-1;return e.some(((e,o)=>!!z(e,t)&&(n=o))),n}function T(e,r=", "){const i=t.toArray(e),s=i.length-1;return i.reduce(((e,t,i)=>{if(n(t)&&n(r)&&t.type===r.type){const n=[...e];return n.pop(),n.concat(t)}return i<s?e.concat([t,"string"==typeof r?r:o(r,{key:i+"-separator"})]):e.concat(t)}),[])}const $=!s||{capture:!0,passive:!1};let D=[];function M(e){const t=new WeakMap,n=e=>e.preventDefault(),o=()=>window.removeEventListener("wheel",n,$),r=()=>window.addEventListener("wheel",n,$),i=n=>{n.target!==e&&t.set(n.target,{x:n.target.scrollLeft,y:n.target.scrollTop})},s=t=>{const n=e.scrollHeight-e.offsetHeight;(t.deltaY>0&&e.scrollTop>=n||t.deltaY<0&&e.scrollTop<=0)&&t.preventDefault()},c=e=>{const n=e.target===document?document.documentElement:e.target,o=t.get(n);o&&(n.scrollLeft=o.x,n.scrollTop=o.y)},u=()=>{e&&(e.addEventListener("mouseover",o,!0),e.addEventListener("mouseout",r,!0),r()),window.addEventListener("mousedown",i,!0),window.addEventListener("wheel",s,$),window.addEventListener("scroll",c,!0)},d=()=>{e&&(e.removeEventListener("mouseover",o,!0),e.removeEventListener("mouseout",r,!0),o()),window.removeEventListener("mousedown",i,!0),window.removeEventListener("wheel",s,$),window.removeEventListener("scroll",c,!0)};return D.length>0&&(D[D.length-1].removeListeners(),D=D.filter((e=>document.body.contains(e.node)))),document.body.contains(e)&&(D.push({addListeners:u,node:e,removeListeners:d}),u()),()=>{const t=D.findIndex((t=>t.node===e));t>-1&&(d(),D.splice(t,1),D=D.filter((e=>{const t=document.body.contains(e.node);return!1===t&&e.removeListeners(),t})),D.length>0&&D[D.length-1].addListeners())}}function P(){return null}function W(e,t){return Array(Math.max(t-String(e).length+1,0)).join("0")+e}function I(e){if("undefined"!=typeof window){const t=()=>e(!0),n=()=>e(!1),o=()=>e(!document.hidden);return window.addEventListener("focus",t),window.addEventListener("blur",n),document.addEventListener("visibilitychange",o),()=>{window.removeEventListener("focus",t),window.removeEventListener("blur",n),document.removeEventListener("visibilitychange",o)}}return()=>{}}function R(e,t){const n=[];for(let o=e;o<t;o++)n.push(o);return n}function F({list:e,index:t}){const n=[...e];return n.splice(t,1),n}function H({group:e,renderGroup:t,renderEmpty:n="No items found"}){return e.length>0?e.reduce((({collection:n,index:o},r,i)=>(n.push(t(r,(()=>o++))),i===e.length-1?n:{collection:n,index:o})),{collection:[],index:0}):n}function Y({list:e,startIndex:t,endIndex:n}){const o=Array.from(e),[r]=o.splice(t,1);return o.splice(n,0,r),o}function z(e,t){return JSON.stringify(e)===JSON.stringify(t)}function B(e){"number"===e.type?e.select():e.setSelectionRange(0,9999)}function J(e){e.nativeEvent.stopImmediatePropagation()}function K(e){return t=>{t.stopPropagation(),e&&e(t)}}function V(e){function t(t){const n=r(e),[o]=n,[i]=n.reverse();t.shiftKey&&t.target===o&&9===t.keyCode&&(t.preventDefault(),i.focus()),t.shiftKey||t.target!==i||9!==t.keyCode||(t.preventDefault(),o.focus())}const n=r(e);let[o]=n,i=0;for(;null==o?void 0:o.hasAttribute("data-helper-drawer-toggle");)o=n[i++];const s=document.activeElement;return o&&o.focus(),e.addEventListener("keydown",t),()=>{s&&"focus"in s&&"function"==typeof s.focus&&s.focus(),e.removeEventListener("keydown",t)}}const q=new Set;function G(t,n){return q.has(t)||q.add(t),`--${e(t)}-${e(n)}`}function X(t,n){return t&&n?`var(--${e(t)}-${e(n)})`:void 0}function Q(e,t){const n={};for(const o in t){const r=t[o];n[G(e,o)]="number"==typeof r?`${r}px`:q.has(r)?X(e,r):r}return n}function U(e,t){void 0===e.current?"function"==typeof e&&e(t):e.current=t}function Z(e,t,n,o=((e,t)=>e)){if("className"===t)e.className=[e.className,n].join(" ").trim();else if("style"===t)e.style=Object.assign(Object.assign({},e.style),n);else if("ref"===t||"innerRef"===t){const o=e[t];e[t]=o?e=>{U(o,e),U(n,e)}:n}else if("function"==typeof n){const o=e[t];e[t]=o?(...e)=>{o(...e),n(...e)}:n}else e[t]=t in e?o(n,e[t]):n}function _(...e){return 1===e.length?e[0]:e.reduce(((e,t)=>{for(const n in t)Z(e,n,t[n]);return e}),{})}export{c as cloneChildren,u as composeEvents,d as composeMultipleEvents,G as createCSSProperty,l as deselectCurrentTextRange,b as generateId,X as getCSSProperty,a as getClosestFocusableElement,f as getClosestViewport,m as getInteractiveChildElements,v as getRect,y as getScrollbarWidth,g as getTabbableSiblings,C as getTextWidth,N as insertAtIndex,j as isArray,S as isElementInteractive,O as isFunction,i as isIOS,k as isValueInArray,T as joinChildren,M as lockScroll,_ as mergeProps,P as noop,Q as objectToCSSProperties,W as padNumber,I as pageViewChange,R as range,F as removeAtIndex,H as renderIndexedGroup,Y as reorderArray,B as selectFullTextRange,z as shallowEqual,J as stopImmediatePropagation,K as stopPropagationClick,s as supportsPassiveEvents,V as trapFocus};
2
2
  //# sourceMappingURL=utils.js.map
@@ -1,2 +1,2 @@
1
- import{__extends as e,__assign as r}from'./../../ext/tslib/tslib.es6.js';import{Component as t}from"react";import n from'./../../ext/resize-observer-polyfill/dist/ResizeObserver.es.js';import{defaultFormula as s}from"./utils.js";var a=function(t){function a(){var e=null!==t&&t.apply(this,arguments)||this;return Object.defineProperty(e,"firstResizeEvent",{enumerable:!0,configurable:!0,writable:!0,value:!0}),Object.defineProperty(e,"storingMeasurements",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(e,"nodes",{enumerable:!0,configurable:!0,writable:!0,value:{}}),Object.defineProperty(e,"formulas",{enumerable:!0,configurable:!0,writable:!0,value:{}}),Object.defineProperty(e,"refsById",{enumerable:!0,configurable:!0,writable:!0,value:{}}),Object.defineProperty(e,"measurements",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(e,"measureRef",{enumerable:!0,configurable:!0,writable:!0,value:function(r,t){var n=void 0===t?{}:t,a=n.formula,u=void 0===a?s:a,o=n.innerRef,i=void 0===o?void 0:o;return e.refsById[r]||(e.refsById[r]=function(t){var n=e.nodes[r];t?(t.__measureId=r,e.nodes[r]=t,e.formulas[r]=u,e.resizeObserver.observe(t)):n&&(e.resizeObserver.unobserve(n),delete e.formulas[r],delete e.nodes[r],delete e.measurements[r]),i&&i(t)}),e.refsById[r]}}),Object.defineProperty(e,"getMeasurements",{enumerable:!0,configurable:!0,writable:!0,value:function(){return Object.keys(e.nodes).reduce((function(t,n){var s,a=e.nodes[n],u=e.formulas[n];return r(r({},t),((s={})[n]=u(a),s))}),{})}}),Object.defineProperty(e,"resizeObserver",{enumerable:!0,configurable:!0,writable:!0,value:new n((function(t){if(e.firstResizeEvent)e.firstResizeEvent=!1;else{var n=r({},e.measurements);t.forEach((function(r){var t=r.target.__measureId,s=e.nodes[t],a=e.formulas[t];a&&(n[t]=a(s))})),e.measurements=n,e.props.updateOnMeasure&&e.forceUpdate(),e.props.onMeasure&&e.props.onMeasure(n,e.nodes)}}))}),e}return e(a,t),Object.defineProperty(a.prototype,"componentDidMount",{enumerable:!1,configurable:!0,writable:!0,value:function(){(this.props.updateOnMeasure||this.props.onMeasure)&&this.updateMeasurements()}}),Object.defineProperty(a.prototype,"componentWillUnmount",{enumerable:!1,configurable:!0,writable:!0,value:function(){this.resizeObserver&&this.resizeObserver.disconnect()}}),Object.defineProperty(a.prototype,"updateMeasurements",{enumerable:!1,configurable:!0,writable:!0,value:function(){var e=this.getMeasurements();this.measurements=e,this.props.updateOnMeasure&&this.forceUpdate(),this.props.onMeasure&&this.props.onMeasure(e,this.nodes)}}),Object.defineProperty(a.prototype,"render",{enumerable:!1,configurable:!0,writable:!0,value:function(){return this.props.children({getMeasurements:this.getMeasurements,measureRef:this.measureRef,measurements:this.measurements})}}),Object.defineProperty(a,"defaultProps",{enumerable:!0,configurable:!0,writable:!0,value:{updateOnMeasure:!0}}),a}(t);export{a as default};
1
+ import{Component as e}from"react";import s from'./../../ext/resize-observer-polyfill/dist/ResizeObserver.es.js';import{defaultFormula as r}from"./utils.js";class t extends e{constructor(){super(...arguments),Object.defineProperty(this,"firstResizeEvent",{enumerable:!0,configurable:!0,writable:!0,value:!0}),Object.defineProperty(this,"storingMeasurements",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"nodes",{enumerable:!0,configurable:!0,writable:!0,value:{}}),Object.defineProperty(this,"formulas",{enumerable:!0,configurable:!0,writable:!0,value:{}}),Object.defineProperty(this,"refsById",{enumerable:!0,configurable:!0,writable:!0,value:{}}),Object.defineProperty(this,"measurements",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"measureRef",{enumerable:!0,configurable:!0,writable:!0,value:(e,{formula:s=r,innerRef:t}={})=>(this.refsById[e]||(this.refsById[e]=r=>{const i=this.nodes[e];r?(r.__measureId=e,this.nodes[e]=r,this.formulas[e]=s,this.resizeObserver.observe(r)):i&&(this.resizeObserver.unobserve(i),delete this.formulas[e],delete this.nodes[e],delete this.measurements[e]),t&&t(r)}),this.refsById[e])}),Object.defineProperty(this,"getMeasurements",{enumerable:!0,configurable:!0,writable:!0,value:()=>Object.keys(this.nodes).reduce(((e,s)=>{const r=this.nodes[s],t=this.formulas[s];return Object.assign(Object.assign({},e),{[s]:t(r)})}),{})}),Object.defineProperty(this,"resizeObserver",{enumerable:!0,configurable:!0,writable:!0,value:new s((e=>{if(this.firstResizeEvent)this.firstResizeEvent=!1;else{const s=Object.assign({},this.measurements);e.forEach((e=>{const r=e.target.__measureId,t=this.nodes[r],i=this.formulas[r];i&&(s[r]=i(t))})),this.measurements=s,this.props.updateOnMeasure&&this.forceUpdate(),this.props.onMeasure&&this.props.onMeasure(s,this.nodes)}}))})}componentDidMount(){(this.props.updateOnMeasure||this.props.onMeasure)&&this.updateMeasurements()}componentWillUnmount(){this.resizeObserver&&this.resizeObserver.disconnect()}updateMeasurements(){const e=this.getMeasurements();this.measurements=e,this.props.updateOnMeasure&&this.forceUpdate(),this.props.onMeasure&&this.props.onMeasure(e,this.nodes)}render(){return this.props.children({getMeasurements:this.getMeasurements,measureRef:this.measureRef,measurements:this.measurements})}}Object.defineProperty(t,"defaultProps",{enumerable:!0,configurable:!0,writable:!0,value:{updateOnMeasure:!0}});export{t as default};
2
2
  //# sourceMappingURL=Measure.js.map
@@ -1,2 +1,2 @@
1
- import{__extends as e,__assign as r}from'./../../ext/tslib/tslib.es6.js';import{Component as l}from"react";import t from'./../../ext/resize-observer-polyfill/dist/ResizeObserver.es.js';import{getScrollDirection as i,getWindowSize as o,getElementSize as n,getClosestScrollElement as s}from"./utils.js";var a=function(l){function a(){var e=null!==l&&l.apply(this,arguments)||this;return Object.defineProperty(e,"scrollElement",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(e,"node",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(e,"isWindow",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(e,"lastScrollX",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(e,"lastScrollY",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(e,"resizeObserver",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(e,"firstResizeEvent",{enumerable:!0,configurable:!0,writable:!0,value:!0}),Object.defineProperty(e,"state",{enumerable:!0,configurable:!0,writable:!0,value:{height:0,scrollHeight:0,scrollWidth:0,scrollX:0,scrollXDirection:null,scrollY:0,scrollYDirection:null,width:0}}),Object.defineProperty(e,"getScroll",{enumerable:!0,configurable:!0,writable:!0,value:function(){var r=e.isWindow?window.pageXOffset:e.scrollElement.scrollLeft,l=e.isWindow?window.pageYOffset:e.scrollElement.scrollTop;return{scrollX:r,scrollXDirection:i("x",e.lastScrollX,r),scrollY:l,scrollYDirection:i("y",e.lastScrollY,l)}}}),Object.defineProperty(e,"updateScroll",{enumerable:!0,configurable:!0,writable:!0,value:function(){var r=e.getScroll();e.lastScrollX===r.scrollX&&e.lastScrollY===r.scrollY||(e.props.updateOnScroll&&e.setState(r),e.props.onScroll&&e.props.onScroll(r)),e.lastScrollX=r.scrollX,e.lastScrollY=r.scrollY}}),Object.defineProperty(e,"getSize",{enumerable:!0,configurable:!0,writable:!0,value:function(){return e.isWindow?o():n(e.scrollElement)}}),Object.defineProperty(e,"updateSize",{enumerable:!0,configurable:!0,writable:!0,value:function(){var r=e.getSize();e.props.updateOnResize&&e.setState(r),e.props.onResize&&e.props.onResize(r)}}),Object.defineProperty(e,"setRef",{enumerable:!0,configurable:!0,writable:!0,value:function(r){if("function"==typeof r)return function(l){e.node||(e.node=l),r(l)};e.node||(e.node=r)}}),e}return e(a,l),Object.defineProperty(a.prototype,"componentDidMount",{enumerable:!1,configurable:!0,writable:!0,value:function(){var e=this;this.scrollElement=s(this.node),this.isWindow=this.scrollElement===window,(this.props.updateOnScroll||this.props.onScroll)&&this.scrollElement.addEventListener("scroll",this.updateScroll,{passive:!0}),this.updateScroll(),(this.props.updateOnResize||this.props.onResize)&&(this.isWindow?window.addEventListener("resize",this.updateSize):(this.resizeObserver=new t((function(){e.firstResizeEvent?e.firstResizeEvent=!1:e.updateSize()})),this.resizeObserver.observe(this.scrollElement))),this.updateSize()}}),Object.defineProperty(a.prototype,"componentWillUnmount",{enumerable:!1,configurable:!0,writable:!0,value:function(){(this.props.updateOnScroll||this.props.onScroll)&&this.scrollElement.removeEventListener("scroll",this.updateScroll,{passive:!0}),(this.props.updateOnResize||this.props.onResize)&&(this.isWindow?window.removeEventListener("resize",this.updateSize):this.resizeObserver.disconnect())}}),Object.defineProperty(a.prototype,"render",{enumerable:!1,configurable:!0,writable:!0,value:function(){return this.props.children(r({getScroll:this.getScroll,getSize:this.getSize,ref:this.setRef},this.state))}}),Object.defineProperty(a,"defaultProps",{enumerable:!0,configurable:!0,writable:!0,value:{updateOnResize:!0,updateOnScroll:!0}}),a}(l);export{a as default};
1
+ import{Component as e}from"react";import t from'./../../ext/resize-observer-polyfill/dist/ResizeObserver.es.js';import{getScrollDirection as i,getWindowSize as s,getElementSize as r,getClosestScrollElement as l}from"./utils.js";class o extends e{constructor(){super(...arguments),Object.defineProperty(this,"scrollElement",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"node",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"isWindow",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"lastScrollX",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"lastScrollY",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"resizeObserver",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"firstResizeEvent",{enumerable:!0,configurable:!0,writable:!0,value:!0}),Object.defineProperty(this,"state",{enumerable:!0,configurable:!0,writable:!0,value:{height:0,scrollHeight:0,scrollWidth:0,scrollX:0,scrollXDirection:null,scrollY:0,scrollYDirection:null,width:0}}),Object.defineProperty(this,"getScroll",{enumerable:!0,configurable:!0,writable:!0,value:()=>{const e=this.isWindow?window.pageXOffset:this.scrollElement.scrollLeft,t=this.isWindow?window.pageYOffset:this.scrollElement.scrollTop;return{scrollX:e,scrollXDirection:i("x",this.lastScrollX,e),scrollY:t,scrollYDirection:i("y",this.lastScrollY,t)}}}),Object.defineProperty(this,"updateScroll",{enumerable:!0,configurable:!0,writable:!0,value:()=>{const e=this.getScroll();this.lastScrollX===e.scrollX&&this.lastScrollY===e.scrollY||(this.props.updateOnScroll&&this.setState(e),this.props.onScroll&&this.props.onScroll(e)),this.lastScrollX=e.scrollX,this.lastScrollY=e.scrollY}}),Object.defineProperty(this,"getSize",{enumerable:!0,configurable:!0,writable:!0,value:()=>this.isWindow?s():r(this.scrollElement)}),Object.defineProperty(this,"updateSize",{enumerable:!0,configurable:!0,writable:!0,value:()=>{const e=this.getSize();this.props.updateOnResize&&this.setState(e),this.props.onResize&&this.props.onResize(e)}}),Object.defineProperty(this,"setRef",{enumerable:!0,configurable:!0,writable:!0,value:e=>{if("function"==typeof e)return t=>{this.node||(this.node=t),e(t)};this.node||(this.node=e)}})}componentDidMount(){this.scrollElement=l(this.node),this.isWindow=this.scrollElement===window,(this.props.updateOnScroll||this.props.onScroll)&&this.scrollElement.addEventListener("scroll",this.updateScroll,{passive:!0}),this.updateScroll(),(this.props.updateOnResize||this.props.onResize)&&(this.isWindow?window.addEventListener("resize",this.updateSize):(this.resizeObserver=new t((()=>{this.firstResizeEvent?this.firstResizeEvent=!1:this.updateSize()})),this.resizeObserver.observe(this.scrollElement))),this.updateSize()}componentWillUnmount(){(this.props.updateOnScroll||this.props.onScroll)&&this.scrollElement.removeEventListener("scroll",this.updateScroll,{passive:!0}),(this.props.updateOnResize||this.props.onResize)&&(this.isWindow?window.removeEventListener("resize",this.updateSize):this.resizeObserver.disconnect())}render(){return this.props.children(Object.assign({getScroll:this.getScroll,getSize:this.getSize,ref:this.setRef},this.state))}}Object.defineProperty(o,"defaultProps",{enumerable:!0,configurable:!0,writable:!0,value:{updateOnResize:!0,updateOnScroll:!0}});export{o as default};
2
2
  //# sourceMappingURL=Viewport.js.map
@@ -1,2 +1,2 @@
1
- function t(t){try{var e=window.getComputedStyle(t),o=e.overflow,n=e.overflowX,i=e.overflowY;return/(auto|scroll)/.test(o+n+i)}catch(t){return!1}}function e(t){return"HTML"===t.nodeName?t:t.parentNode||t.host}function o(n){return n&&n!==document.body?t(n)?n:o(e(n)):window}function n(t,e,o){return o===e?null:o-e>0?"x"===t?"right":"down":"x"===t?"left":"up"}function i(){return Math.max(document.body.scrollWidth,document.body.offsetWidth,document.documentElement.clientWidth,document.documentElement.scrollWidth,document.documentElement.offsetWidth)}function d(){return Math.max(document.body.scrollHeight,document.body.offsetHeight,document.documentElement.clientHeight,document.documentElement.scrollHeight,document.documentElement.offsetHeight)}function r(){return{height:window.innerHeight,scrollHeight:d(),scrollWidth:i(),width:window.innerWidth}}function c(t){return{height:t.offsetHeight,scrollHeight:t.scrollHeight,scrollWidth:t.scrollWidth,width:t.offsetWidth}}function u(t){var e=t.getBoundingClientRect();return{bottom:e.bottom,height:e.height,left:e.left,right:e.right,top:e.top,width:e.width}}export{u as defaultFormula,o as getClosestScrollElement,d as getDocumentHeight,i as getDocumentWidth,c as getElementSize,e as getParentNode,n as getScrollDirection,r as getWindowSize,t as isScrollElement};
1
+ function t(t){try{const{overflow:e,overflowX:o,overflowY:n}=window.getComputedStyle(t);return/(auto|scroll)/.test(e+o+n)}catch(t){return!1}}function e(t){return"HTML"===t.nodeName?t:t.parentNode||t.host}function o(n){return n&&n!==document.body?t(n)?n:o(e(n)):window}function n(t,e,o){return o===e?null:o-e>0?"x"===t?"right":"down":"x"===t?"left":"up"}function i(){return Math.max(document.body.scrollWidth,document.body.offsetWidth,document.documentElement.clientWidth,document.documentElement.scrollWidth,document.documentElement.offsetWidth)}function d(){return Math.max(document.body.scrollHeight,document.body.offsetHeight,document.documentElement.clientHeight,document.documentElement.scrollHeight,document.documentElement.offsetHeight)}function c(){return{height:window.innerHeight,scrollHeight:d(),scrollWidth:i(),width:window.innerWidth}}function r(t){return{height:t.offsetHeight,scrollHeight:t.scrollHeight,scrollWidth:t.scrollWidth,width:t.offsetWidth}}function u(t){const e=t.getBoundingClientRect();return{bottom:e.bottom,height:e.height,left:e.left,right:e.right,top:e.top,width:e.width}}export{u as defaultFormula,o as getClosestScrollElement,d as getDocumentHeight,i as getDocumentWidth,r as getElementSize,e as getParentNode,n as getScrollDirection,c as getWindowSize,t as isScrollElement};
2
2
  //# sourceMappingURL=utils.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@planningcenter/tapestry-react",
3
- "version": "4.9.0",
3
+ "version": "4.10.0-qa-758.0",
4
4
  "description": "A collection of flexible React components to help you build resilient, accessible user interfaces quickly and effectively.",
5
5
  "author": "Front End Systems Engineering <frontend@pco.bz>",
6
6
  "main": "./dist/index.js",
@@ -44,7 +44,6 @@
44
44
  "devDependencies": {
45
45
  "@emotion/cache": "^11.10.5",
46
46
  "@emotion/react": "^11.10.5",
47
- "@planningcenter/tokens-shim": "*",
48
47
  "@rollup/plugin-babel": "^6.0.4",
49
48
  "@rollup/plugin-commonjs": "^25.0.7",
50
49
  "@rollup/plugin-node-resolve": "^15.2.3",
@@ -61,10 +60,6 @@
61
60
  "@types/react": "^18.0.24",
62
61
  "@types/react-dom": "^18.0.8",
63
62
  "chokidar-cli": "^2.1.0",
64
- "dotenv": "^8.2.0",
65
- "figma-tools": "^0.2.4",
66
- "husky": "^4.3.8",
67
- "is-ci-cli": "^2.2.0",
68
63
  "jest": "^29.7.0",
69
64
  "jest-canvas-mock": "^2.5.0",
70
65
  "jest-environment-jsdom": "^29.7.0",
@@ -77,15 +72,13 @@
77
72
  "rollup-plugin-flow": "^1.1.1",
78
73
  "rollup-plugin-node-externals": "^6.1.2",
79
74
  "rollup-plugin-rename-node-modules": "^1.3.1",
80
- "svgo": "^2.1.0",
81
- "svgson": "4.1.0",
82
75
  "type-fest": "^0.21.1",
83
76
  "typescript": "^5.3.3"
84
77
  },
85
78
  "dependencies": {
86
- "@planningcenter/icons": "^15.18.0",
79
+ "@planningcenter/icons": "^15.19.1",
87
80
  "@planningcenter/react-beautiful-dnd": "^13.4.0",
88
- "@planningcenter/tapestry": "^0.3.0",
81
+ "@planningcenter/tapestry": "^0.4.0",
89
82
  "@popmotion/popcorn": "^0.4.4",
90
83
  "@popperjs/core": "^2.11.6",
91
84
  "@react-hook/window-size": "^3.1.1",
@@ -1,2 +0,0 @@
1
- var l={borderRadiusSm:"2px",borderRadiusMd:"4px",borderRadiusLg:"8px",borderRadiusXl:"16px",borderRadiusRound:"56px",borderRadiusDefault:"4px",borderSizeDefault:"1px",borderSizeThick:"2px",spacing1:"8px",spacing2:"16px",spacing3:"24px",spacing4:"32px",spacing5:"40px",spacing6:"48px",spacing7:"56px",spacingFourth:"2px",spacingHalf:"4px",elementSize3xl:"48px",elementSize2xl:"32px",elementSizeXl:"24px",elementSizeLg:"18px",elementSizeMd:"16px",elementSizeSm:"14px",elementSizeXs:"12px",fontSize4xl:"32px",fontSize3xl:"28px",fontSize2xl:"24px",fontSizeXl:"20px",fontSizeLg:"18px",fontSizeMd:"16px",fontSizeSm:"14px",fontSizeXs:"12px",fontSize2xs:"10px",fontWeightNormal:"400",fontWeightMedium:"500",fontWeightSemiBold:"600",fontWeightBold:"700",containerSizeXl:"48px",containerSizeLg:"40px",containerSizeMd:"32px",containerSizeSm:"24px",containerSizeXs:"20px",avatarSize20:"20px",avatarSize24:"24px",avatarSize36:"36px",avatarSize48:"48px",avatarSize72:"72px",avatarSize112:"112px",textColorDefaultHeadline:"hsl(0, 0%, 12%)",textColorDefaultPrimary:"hsl(0, 0%, 24%)",textColorDefaultSecondary:"hsl(0, 0%, 45%)",textColorDefaultDisabled:"hsl(0, 0%, 81%)",textColorDefaultPlaceholder:"hsl(0, 0%, 62%)",textColorDefaultInverted:"hsl(0, 0%, 100%)",textColorInteractionPrimary:"hsl(204, 100%, 40%)",textColorInteractionHover:"hsl(204, 100%, 35%)",textColorInteractionActive:"hsl(204, 100%, 30%)",textColorInteractionVisited:"hsl(204, 100%, 30%)",textColorStatusNeutral:"hsl(0, 0%, 24%)",textColorStatusInfo:"hsl(204, 100%, 35%)",textColorStatusSuccess:"hsl(97, 57%, 28%)",textColorStatusWarning:"hsl(42, 100%, 29%)",textColorStatusError:"hsl(8, 60%, 45%)",textColorTagSubtleGray:"hsl(0, 0%, 24%)",textColorTagSubtleBlue:"hsl(224, 47%, 31%)",textColorTagSubtleAqua:"hsl(209, 77%, 22%)",textColorTagSubtleTeal:"hsl(180, 95%, 15%)",textColorTagSubtleGreen:"hsl(100, 93%, 17%)",textColorTagSubtleYellow:"hsl(29, 100%, 23%)",textColorTagSubtleOrange:"hsl(18, 100%, 18%)",textColorTagSubtlePink:"hsl(327, 88%, 20%)",textColorTagSubtlePurple:"hsl(268, 71%, 27%)",textColorTagSubtleMagenta:"hsl(285, 71%, 20%)",textColorTagBoldGray:"hsl(0, 0%, 24%)",textColorTagBoldBlue:"hsl(224, 47%, 31%)",textColorTagBoldAqua:"hsl(209, 77%, 22%)",textColorTagBoldTeal:"hsl(180, 95%, 15%)",textColorTagBoldGreen:"hsl(100, 93%, 17%)",textColorTagBoldYellow:"hsl(29, 100%, 23%)",textColorTagBoldOrange:"hsl(18, 100%, 18%)",textColorTagBoldPink:"hsl(327, 88%, 20%)",textColorTagBoldPurple:"hsl(268, 71%, 27%)",textColorTagBoldMagenta:"hsl(285, 71%, 20%)",iconColorDefaultPrimary:"hsl(0, 0%, 24%)",iconColorDefaultSecondary:"hsl(0, 0%, 45%)",iconColorDefaultDim:"hsl(0, 0%, 62%)",iconColorDefaultDisabled:"hsl(0, 0%, 81%)",iconColorDefaultInverted:"hsl(0, 0%, 100%)",iconColorStatusNeutralPrimary:"hsl(0, 0%, 45%)",iconColorStatusNeutralSecondary:"hsl(0, 0%, 62%)",iconColorStatusNeutralBold:"hsl(0, 0%, 24%)",iconColorStatusInfoPrimary:"hsl(204, 100%, 40%)",iconColorStatusSuccessPrimary:"hsl(96, 57%, 33%)",iconColorStatusSuccessSecondary:"hsl(97, 57%, 40%)",iconColorStatusWarningPrimary:"hsl(42, 84%, 49%)",iconColorStatusErrorPrimary:"hsl(8, 60%, 47%)",fillColorNeutral000:"hsl(0, 0%, 12%)",fillColorNeutral010:"hsl(0, 0%, 24%)",fillColorNeutral020:"hsl(0, 0%, 45%)",fillColorNeutral030:"hsl(0, 0%, 62%)",fillColorNeutral040:"hsl(0, 0%, 81%)",fillColorNeutral050:"hsl(0, 0%, 88%)",fillColorNeutral060:"hsl(0, 0%, 93%)",fillColorNeutral070:"hsl(0, 0%, 95%)",fillColorNeutral080:"hsl(0, 0%, 97%)",fillColorNeutral090:"hsl(0, 0%, 98%)",fillColorNeutral100:"hsl(0, 0%, 100%)",fillColorInteractionDefault:"hsl(204, 100%, 40%)",fillColorInteractionHover:"hsl(204, 100%, 35%)",fillColorInteractionActive:"hsl(204, 100%, 30%)",fillColorInteractionDisabled:"hsl(0, 0%, 81%)",fillColorControlNeutralOff:"hsl(0, 0%, 62%)",fillColorControlNeutralOn:"hsl(0, 0%, 24%)",fillColorControlPrimary:"hsl(204, 100%, 40%)",fillColorControlSecondary:"hsl(97, 57%, 40%)",fillColorControlError:"hsl(8, 60%, 47%)",fillColorControlDisabled:"hsl(0, 0%, 81%)",fillColorStatusNeutralSolid:"hsl(0, 0%, 45%)",fillColorStatusNeutralGhost:"hsl(0, 0%, 93%)",fillColorStatusNeutralDim:"hsl(0, 0%, 97%)",fillColorStatusInfoSolid:"hsl(204, 100%, 40%)",fillColorStatusInfoGhost:"hsl(203, 94%, 94%)",fillColorStatusInfoDim:"hsl(204, 100%, 97%)",fillColorStatusSuccessSolid:"hsl(96, 57%, 33%)",fillColorStatusSuccessGhost:"hsl(97, 57%, 90%)",fillColorStatusSuccessDim:"hsl(96, 60%, 95%)",fillColorStatusWarningSolid:"hsl(42, 84%, 63%)",fillColorStatusWarningGhost:"hsl(42, 87%, 94%)",fillColorStatusWarningDim:"hsl(42, 87%, 97%)",fillColorStatusErrorSolid:"hsl(8, 60%, 47%)",fillColorStatusErrorGhost:"hsl(9, 59%, 93%)",fillColorStatusErrorDim:"hsl(7, 60%, 97%)",fillColorTooltipPrimary:"hsla(0, 0%, 12%, 0.77)",fillColorTagSubtleGray:"hsl(0, 0%, 93%)",fillColorTagSubtleBlue:"hsl(220, 100%, 95%)",fillColorTagSubtleLabelGray:"hsl(0, 0%, 88%)",fillColorTagSubtleLabelBlue:"hsl(221, 100%, 81%)",fillColorTagSubtleLabelAqua:"hsl(200, 82%, 82%)",fillColorTagSubtleLabelTeal:"hsl(164, 52%, 76%)",fillColorTagSubtleLabelGreen:"hsl(99, 59%, 78%)",fillColorTagSubtleLabelYellow:"hsl(44, 78%, 77%)",fillColorTagSubtleLabelOrange:"hsl(21, 89%, 82%)",fillColorTagSubtleLabelPink:"hsl(310, 64%, 85%)",fillColorTagSubtleLabelPurple:"hsl(259, 74%, 85%)",fillColorTagSubtleLabelMagenta:"hsl(291, 40%, 83%)",fillColorTagSubtleAqua:"hsl(200, 82%, 89%)",fillColorTagSubtleTeal:"hsl(163, 53%, 83%)",fillColorTagSubtleGreen:"hsl(98, 59%, 85%)",fillColorTagSubtleYellow:"hsl(45, 77%, 85%)",fillColorTagSubtleOrange:"hsl(22, 89%, 89%)",fillColorTagSubtlePink:"hsl(311, 66%, 92%)",fillColorTagSubtlePurple:"hsl(259, 74%, 93%)",fillColorTagSubtleMagenta:"hsl(294, 37%, 90%)",fillColorTagBoldGray:"hsl(0, 0%, 88%)",fillColorTagBoldBlue:"hsl(220, 98%, 81%)",fillColorTagBoldAqua:"hsl(201, 76%, 71%)",fillColorTagBoldTeal:"hsl(169, 62%, 64%)",fillColorTagBoldGreen:"hsl(112, 57%, 65%)",fillColorTagBoldYellow:"hsl(44, 92%, 69%)",fillColorTagBoldOrange:"hsl(21, 86%, 72%)",fillColorTagBoldPink:"hsl(324, 78%, 77%)",fillColorTagBoldPurple:"hsl(273, 62%, 76%)",fillColorTagBoldMagenta:"hsl(291, 48%, 70%)",fillColorTagBoldLabelGray:"hsl(0, 0%, 81%)",fillColorTagBoldLabelBlue:"hsl(220, 98%, 74%)",fillColorTagBoldLabelAqua:"hsl(200, 75%, 64%)",fillColorTagBoldLabelTeal:"hsl(169, 62%, 56%)",fillColorTagBoldLabelGreen:"hsl(112, 57%, 57%)",fillColorTagBoldLabelYellow:"hsl(44, 93%, 61%)",fillColorTagBoldLabelOrange:"hsl(21, 86%, 64%)",fillColorTagBoldLabelPink:"hsl(324, 76%, 70%)",fillColorTagBoldLabelPurple:"hsl(273, 62%, 70%)",fillColorTagBoldLabelMagenta:"hsl(292, 48%, 63%)",fillColorButtonNeutralSolidDefault:"hsl(0, 0%, 45%)",fillColorButtonNeutralSolidHover:"hsl(0, 0%, 24%)",fillColorButtonNeutralSolidActive:"hsl(0, 0%, 12%)",fillColorButtonNeutralSolidDisabled:"hsl(0, 0%, 95%)",fillColorButtonNeutralOutlineDimDefault:"hsla(0, 0%, 100%, 0)",fillColorButtonNeutralOutlineDimHover:"hsl(0, 0%, 95%)",fillColorButtonNeutralOutlineDimActive:"hsl(0, 0%, 93%)",fillColorButtonNeutralOutlineDimDisabled:"hsla(0, 0%, 100%, 0)",fillColorButtonNeutralOutlineDimDisabledSolid:"hsl(0, 0%, 98%)",fillColorButtonNeutralGhostDefault:"hsla(0, 0%, 100%, 0)",fillColorButtonNeutralGhostHover:"hsl(0, 0%, 95%)",fillColorButtonNeutralGhostActive:"hsl(0, 0%, 93%)",fillColorButtonNeutralGhostDisabled:"hsla(0, 0%, 100%, 0)",fillColorButtonNeutralGhostDisabledSolid:"hsl(0, 0%, 98%)",fillColorButtonInteractionSolidDefault:"hsl(204, 100%, 40%)",fillColorButtonInteractionSolidHover:"hsl(204, 100%, 35%)",fillColorButtonInteractionSolidActive:"hsl(204, 100%, 30%)",fillColorButtonInteractionSolidDisabled:"hsl(0, 0%, 81%)",fillColorButtonInteractionOutlineDimDefault:"hsla(0, 0%, 100%, 0)",fillColorButtonInteractionOutlineDimHover:"hsl(204, 100%, 97%)",fillColorButtonInteractionOutlineDimActive:"hsl(203, 94%, 94%)",fillColorButtonInteractionOutlineDimDisabled:"hsla(0, 0%, 100%, 0)",fillColorButtonInteractionGhostDefault:"hsla(0, 0%, 100%, 0)",fillColorButtonInteractionGhostHover:"hsl(204, 100%, 97%)",fillColorButtonInteractionGhostActive:"hsl(203, 94%, 94%)",fillColorButtonInteractionGhostDisabled:"hsla(0, 0%, 100%, 0)",fillColorButtonDeleteSolidDefault:"hsl(8, 60%, 47%)",fillColorButtonDeleteSolidHover:"hsl(8, 60%, 45%)",fillColorButtonDeleteSolidActive:"hsl(8, 60%, 40%)",fillColorButtonDeleteSolidDisabled:"hsl(0, 0%, 81%)",fillColorButtonDeleteOutlineDimDefault:"hsla(0, 0%, 100%, 0)",fillColorButtonDeleteOutlineDimHover:"hsl(7, 60%, 97%)",fillColorButtonDeleteOutlineDimActive:"hsl(9, 59%, 93%)",fillColorButtonDeleteOutlineDimDisabled:"hsla(0, 0%, 100%, 0)",fillColorButtonDeleteGhostDefault:"hsla(0, 0%, 100%, 0)",fillColorButtonDeleteGhostHover:"hsl(7, 60%, 97%)",fillColorButtonDeleteGhostActive:"hsl(9, 59%, 93%)",fillColorButtonDeleteGhostDisabled:"hsla(0, 0%, 100%, 0)",fillColorButtonPillDefault:"hsl(0, 0%, 93%)",fillColorButtonPillHover:"hsl(0, 0%, 88%)",fillColorButtonPillActive:"hsl(0, 0%, 88%)",fillColorButtonPillDisabled:"hsl(0, 0%, 93%)",fillColorProductAccountsBase:"hsl(210, 55%, 50%)",fillColorProductAccountsLight:"hsl(210, 54%, 60%)",fillColorProductAccountsLighter:"hsl(209, 53%, 90%)",fillColorProductAccountsLightest:"hsl(212, 54%, 93%)",fillColorProductAccountsDark:"hsl(210, 65%, 40%)",fillColorProductAccountsDarker:"hsl(211, 70%, 32%)",fillColorProductAccountsDarkest:"hsl(210, 75%, 25%)",fillColorProductCalendarBase:"hsl(9, 61%, 50%)",fillColorProductCalendarLight:"hsl(8, 65%, 55%)",fillColorProductCalendarLighter:"hsl(8, 72%, 59%)",fillColorProductCalendarLightest:"hsl(8, 61%, 70%)",fillColorProductCalendarDark:"hsl(8, 65%, 42%)",fillColorProductCalendarDarker:"hsl(7, 65%, 34%)",fillColorProductCalendarDarkest:"hsl(9, 61%, 27%)",fillColorProductCheckinsBase:"hsl(283, 22%, 48%)",fillColorProductCheckinsLight:"hsl(283, 22%, 55%)",fillColorProductCheckinsLighter:"hsl(284, 22%, 64%)",fillColorProductCheckinsLightest:"hsl(283, 22%, 75%)",fillColorProductCheckinsDark:"hsl(283, 27%, 42%)",fillColorProductCheckinsDarker:"hsl(284, 33%, 34%)",fillColorProductCheckinsDarkest:"hsl(283, 33%, 27%)",fillColorProductGivingBase:"hsl(43, 88%, 64%)",fillColorProductGivingLight:"hsl(43, 88%, 70%)",fillColorProductGivingLighter:"hsl(43, 95%, 75%)",fillColorProductGivingLightest:"hsl(42, 95%, 83%)",fillColorProductGivingDark:"hsl(42, 84%, 55%)",fillColorProductGivingDarker:"hsl(42, 84%, 48%)",fillColorProductGivingDarkest:"hsl(42, 100%, 40%)",fillColorProductGroupsBase:"hsl(17, 88%, 55%)",fillColorProductGroupsLight:"hsl(17, 96%, 63%)",fillColorProductGroupsLighter:"hsl(17, 96%, 70%)",fillColorProductGroupsLightest:"hsl(17, 96%, 80%)",fillColorProductGroupsDark:"hsl(12, 70%, 48%)",fillColorProductGroupsDarker:"hsl(12, 70%, 40%)",fillColorProductGroupsDarkest:"hsl(14, 70%, 34%)",fillColorProductHomeBase:"hsl(221, 91%, 55%)",fillColorProductHomeLight:"hsl(221, 91%, 62%)",fillColorProductHomeLighter:"hsl(221, 91%, 87%)",fillColorProductHomeLightest:"hsl(221, 91%, 91%)",fillColorProductHomeDark:"hsl(221, 90%, 50%)",fillColorProductHomeDarker:"hsl(221, 90%, 45%)",fillColorProductHomeDarkest:"hsl(218, 84%, 25%)",fillColorProductPeopleBase:"hsl(220, 74%, 57%)",fillColorProductPeopleLight:"hsl(221, 73%, 65%)",fillColorProductPeopleLighter:"hsl(221, 73%, 71%)",fillColorProductPeopleLightest:"hsl(220, 69%, 81%)",fillColorProductPeopleDark:"hsl(220, 68%, 51%)",fillColorProductPeopleDarker:"hsl(220, 68%, 41%)",fillColorProductPeopleDarkest:"hsl(221, 68%, 31%)",fillColorProductPublishingBase:"hsl(220, 12%, 31%)",fillColorProductPublishingLight:"hsl(222, 12%, 39%)",fillColorProductPublishingLighter:"hsl(221, 11%, 50%)",fillColorProductPublishingLightest:"hsl(222, 10%, 60%)",fillColorProductPublishingDark:"hsl(220, 11%, 26%)",fillColorProductPublishingDarker:"hsl(217, 12%, 22%)",fillColorProductPublishingDarkest:"hsl(214, 11%, 12%)",fillColorProductRegistrationsBase:"hsl(175, 36%, 43%)",fillColorProductRegistrationsLight:"hsl(176, 37%, 60%)",fillColorProductRegistrationsLighter:"hsl(176, 37%, 68%)",fillColorProductRegistrationsLightest:"hsl(176, 38%, 78%)",fillColorProductRegistrationsDark:"hsl(175, 51%, 34%)",fillColorProductRegistrationsDarker:"hsl(174, 51%, 28%)",fillColorProductRegistrationsDarkest:"hsl(175, 52%, 22%)",fillColorProductServicesBase:"hsl(88, 45%, 41%)",fillColorProductServicesLight:"hsl(88, 40%, 54%)",fillColorProductServicesLighter:"hsl(88, 39%, 66%)",fillColorProductServicesLightest:"hsl(88, 39%, 75%)",fillColorProductServicesDark:"hsl(89, 62%, 32%)",fillColorProductServicesDarker:"hsl(89, 62%, 26%)",fillColorProductServicesDarkest:"hsl(89, 63%, 21%)",fillColorProductStaffBase:"hsl(328, 100%, 45%)",fillColorTransparencyLight010:"hsla(0, 0%, 100%, 0.1)",fillColorTransparencyLight020:"hsla(0, 0%, 100%, 0.2)",fillColorTransparencyLight030:"hsla(0, 0%, 100%, 0.3)",fillColorTransparencyLight040:"hsla(0, 0%, 100%, 0.4)",fillColorTransparencyLight050:"hsla(0, 0%, 100%, 0.5)",fillColorTransparencyLight060:"hsla(0, 0%, 100%, 0.6)",fillColorTransparencyLight070:"hsla(0, 0%, 100%, 0.7)",fillColorTransparencyLight080:"hsla(0, 0%, 100%, 0.8)",fillColorTransparencyLight090:"hsla(0, 0%, 100%, 0.9)",fillColorTransparencyDark010:"hsla(0, 0%, 0%, 0.1)",fillColorTransparencyDark020:"hsla(0, 0%, 0%, 0.2)",fillColorTransparencyDark030:"hsla(0, 0%, 0%, 0.3)",fillColorTransparencyDark040:"hsla(0, 0%, 0%, 0.4)",fillColorTransparencyDark050:"hsla(0, 0%, 0%, 0.5)",fillColorTransparencyDark060:"hsla(0, 0%, 0%, 0.6)",fillColorTransparencyDark070:"hsla(0, 0%, 0%, 0.7)",fillColorTransparencyDark080:"hsla(0, 0%, 0%, 0.8)",fillColorTransparencyDark090:"hsla(0, 0%, 0%, 0.9)",surfaceColorCanvas:"hsl(0, 0%, 98%)",surfaceColorCard:"hsl(0, 0%, 100%)",borderColorDefaultBase:"hsl(0, 0%, 88%)",borderColorDefaultDark:"hsl(0, 0%, 81%)",borderColorDefaultDarker:"hsl(0, 0%, 68%)",borderColorDefaultDarkest:"hsl(0, 0%, 62%)",borderColorDefaultDisabled:"hsl(0, 0%, 88%)",borderColorDefaultDim:"hsl(0, 0%, 95%)",borderColorDefaultWhite:"hsl(0, 0%, 100%)",borderColorStatusNeutral:"hsl(0, 0%, 62%)",borderColorStatusInfo:"hsl(204, 100%, 40%)",borderColorStatusSuccess:"hsl(97, 57%, 40%)",borderColorStatusWarning:"hsl(42, 84%, 63%)",borderColorStatusError:"hsl(8, 60%, 47%)",borderColorButtonNeutral:"hsl(0, 0%, 88%)",borderColorButtonInfo:"hsl(204, 100%, 40%)",borderColorButtonCreate:"hsl(96, 57%, 33%)",borderColorButtonDelete:"hsl(8, 60%, 47%)",borderColorControlNeutral:"hsl(0, 0%, 68%)",borderColorControlInfo:"hsl(204, 100%, 40%)",borderColorControlSuccess:"hsl(97, 57%, 40%)",borderColorControlWarning:"hsl(42, 84%, 63%)",borderColorControlError:"hsl(8, 60%, 47%)",borderColorControlDisabled:"hsl(0, 0%, 88%)",textColorTagGray:"hsl(0, 0%, 24%)",textColorTagMagenta:"hsl(285, 71%, 20%)",textColorTagBlue:"hsl(224, 47%, 31%)",textColorTagAqua:"hsl(209, 77%, 22%)",textColorTagTeal:"hsl(180, 95%, 15%)",textColorTagGreen:"hsl(100, 93%, 17%)",textColorTagYellow:"hsl(29, 100%, 23%)",textColorTagOrange:"hsl(18, 100%, 18%)",textColorTagPink:"hsl(327, 88%, 20%)",textColorTagPurple:"hsl(268, 71%, 27%)",iconColorStatusNeutralDark:"hsl(0, 0%, 24%)",iconColorStatusInfoSecondary:"hsl(204, 100%, 40%)",fillColorAlertInfo:"hsl(204, 94%, 49%)",fillColorAlertSuccess:"hsl(122, 60%, 41%)",fillColorAlertWarning:"hsl(43, 96%, 58%)",fillColorAlertError:"hsl(4, 77%, 59%)",fillColorButtonDefaultInfoSolidDefault:"hsl(204, 100%, 40%)",fillColorButtonDefaultInfoSolidHover:"hsl(204, 100%, 35%)",fillColorButtonDefaultInfoSolidActive:"hsl(204, 100%, 30%)",fillColorButtonDefaultInfoSolidDisabled:"hsl(0, 0%, 81%)",fillColorButtonDefaultInfoOutlineDimDefault:"hsla(0, 0%, 100%, 0)",fillColorButtonDefaultInfoOutlineDimHover:"hsl(204, 100%, 97%)",fillColorButtonDefaultInfoOutlineDimActive:"hsl(203, 94%, 94%)",fillColorButtonDefaultInfoOutlineDimDisabled:"hsla(0, 0%, 100%, 0)",fillColorButtonDefaultInfoGhostDefault:"hsla(0, 0%, 100%, 0)",fillColorButtonDefaultInfoGhostHover:"hsl(204, 100%, 97%)",fillColorButtonDefaultInfoGhostActive:"hsl(203, 94%, 94%)",fillColorButtonDefaultInfoGhostDisabled:"hsla(0, 0%, 100%, 0)",fillColorButtonCreateSolidDefault:"hsl(96, 57%, 33%)",fillColorButtonCreateSolidHover:"hsl(97, 57%, 28%)",fillColorButtonCreateSolidActive:"hsl(97, 57%, 23%)",fillColorButtonCreateSolidDisabled:"hsl(0, 0%, 81%)",fillColorButtonCreateGhostDefault:"hsla(0, 0%, 100%, 0)",fillColorButtonCreateGhostHover:"hsl(96, 60%, 95%)",fillColorButtonCreateGhostActive:"hsl(97, 57%, 90%)",fillColorButtonCreateGhostDisabled:"hsla(0, 0%, 100%, 0)"};export{l as default};
2
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}