@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.
- package/dist/ActionsDropdown/ActionsDropdown.js +1 -1
- package/dist/Alert/Alert.js +1 -1
- package/dist/Avatar/Avatar.js +1 -1
- package/dist/Badge/Badge.js +1 -1
- package/dist/Badge/Status.js +1 -1
- package/dist/Box/Box.js +1 -1
- package/dist/Button/Button.js +1 -1
- package/dist/Button/Input.js +1 -1
- package/dist/Calendar/Calendar.js +1 -1
- package/dist/Calendar/Day.js +1 -1
- package/dist/Calendar/utils.js +1 -1
- package/dist/Card/Card.js +1 -1
- package/dist/Card/Section.js +1 -1
- package/dist/Checkbox/Checkbox.js +1 -1
- package/dist/CheckboxCard/CheckboxCard.js +1 -1
- package/dist/CheckboxGroup/CheckboxGroup.js +1 -1
- package/dist/CheckboxGroup/CheckboxGroupContext.js +1 -1
- package/dist/ChurchCenterStatus/ChurchCenterStatus.js +1 -1
- package/dist/Collapse/Collapse.js +1 -1
- package/dist/ColumnView/ColumnView.js +1 -1
- package/dist/Combobox/Combobox.js +1 -1
- package/dist/Combobox/ComboboxInput.js +1 -1
- package/dist/Combobox/ComboboxItem.js +1 -1
- package/dist/Combobox/ComboboxItems.js +1 -1
- package/dist/Combobox/ComboboxPopover.js +1 -1
- package/dist/DataTable/DataTable.js +1 -1
- package/dist/DataTable/components/BodyRow.js +1 -1
- package/dist/DataTable/components/BodyRows.js +1 -1
- package/dist/DataTable/components/BodySubRows.js +1 -1
- package/dist/DataTable/components/CheckboxCell.js +1 -1
- package/dist/DataTable/components/ColumnPicker.js +1 -1
- package/dist/DataTable/components/HeaderCell.js +1 -1
- package/dist/DataTable/hooks/useCollapsibleRows.js +1 -1
- package/dist/DataTable/hooks/useColumnSort.js +1 -1
- package/dist/DataTable/hooks/useColumnWidths.js +1 -1
- package/dist/DataTable/hooks/useHoverFocus.js +1 -1
- package/dist/DataTable/hooks/useRefManager.js +1 -1
- package/dist/DataTable/hooks/useScrollShadows.js +1 -1
- package/dist/DataTable/hooks/useScrollSync.js +1 -1
- package/dist/DataTable/hooks/useVariants.js +1 -1
- package/dist/DataTable/index.js +1 -1
- package/dist/DataTable/utils/getCell.js +1 -1
- package/dist/DataTable/utils/getParsedColumns.js +1 -1
- package/dist/DataTable/utils/getRowLinkProps.js +1 -1
- package/dist/DataTable/utils/variants.js +1 -1
- package/dist/DateField/DateField.js +1 -1
- package/dist/DateField/parse.js +1 -1
- package/dist/DateField/useArrowKeysToNavigateCalendar.js +1 -1
- package/dist/DateField/useEditableDate.js +1 -1
- package/dist/Dialog/Dialog.js +1 -1
- package/dist/Divider/Divider.js +1 -1
- package/dist/DragDrop/DragDrop.js +1 -1
- package/dist/Drawer/Drawer.js +1 -1
- package/dist/Dropdown/Dropdown.js +1 -1
- package/dist/Dropdown/Item.js +1 -1
- package/dist/Dropdown/Link.js +1 -1
- package/dist/EditActions/EditActions.js +1 -1
- package/dist/Field/Field.js +1 -1
- package/dist/FieldSet/FieldSet.js +1 -1
- package/dist/FilterLayout/FilterLayout.js +1 -1
- package/dist/FocusGroup/FocusGroup.js +1 -1
- package/dist/Form/Form.js +1 -1
- package/dist/GridView/GridView.js +1 -1
- package/dist/Group/Group.js +1 -1
- package/dist/Heading/Heading.js +1 -1
- package/dist/HeadingUppercase/HeadingUppercase.js +1 -1
- package/dist/HelperDrawer/HelperDrawer.js +1 -1
- package/dist/Highlight/Highlight.js +1 -1
- package/dist/Highlight/utils.js +1 -1
- package/dist/Icon/Icon.js +1 -1
- package/dist/Icon/Path.js +1 -1
- package/dist/Icon/Status.js +1 -1
- package/dist/Input/Inline.js +1 -1
- package/dist/Input/Input.js +1 -1
- package/dist/Input/InputBox.js +1 -1
- package/dist/Input/InputContext.js +1 -1
- package/dist/Input/InputField.js +1 -1
- package/dist/Input/InputLabel.js +1 -1
- package/dist/Input/utils.js +1 -1
- package/dist/ItemList/ItemList.js +1 -1
- package/dist/ItemList/ItemListContext.js +1 -1
- package/dist/ItemList/ItemListController.js +1 -1
- package/dist/ItemList/ItemListItem.js +1 -1
- package/dist/ItemList/utils.js +1 -1
- package/dist/Link/Inline.js +1 -1
- package/dist/Link/Link.js +1 -1
- package/dist/LinkList/LinkList.js +1 -1
- package/dist/List/List.js +1 -1
- package/dist/List/ListItem.js +1 -1
- package/dist/Logo/Logo.js +1 -1
- package/dist/Logo/logos/api.js +1 -1
- package/dist/Logo/logos/calendar.js +1 -1
- package/dist/Logo/logos/check-ins.js +1 -1
- package/dist/Logo/logos/church-center.js +1 -1
- package/dist/Logo/logos/giving.js +1 -1
- package/dist/Logo/logos/groups.js +1 -1
- package/dist/Logo/logos/headcounts.js +1 -1
- package/dist/Logo/logos/home.js +1 -1
- package/dist/Logo/logos/index.js +1 -1
- package/dist/Logo/logos/login.js +1 -1
- package/dist/Logo/logos/music-stand.js +1 -1
- package/dist/Logo/logos/people.js +1 -1
- package/dist/Logo/logos/planning-center.js +1 -1
- package/dist/Logo/logos/publishing.js +1 -1
- package/dist/Logo/logos/registrations.js +1 -1
- package/dist/Logo/logos/services.js +1 -1
- package/dist/Menu/Heading.js +1 -1
- package/dist/Menu/Item.js +1 -1
- package/dist/Menu/Menu.js +1 -1
- package/dist/Modal/Modal.js +1 -1
- package/dist/NumberField/NumberField.js +1 -1
- package/dist/Page/PageActions.js +1 -1
- package/dist/Page/PageBody.js +1 -1
- package/dist/Page/PageButton.js +1 -1
- package/dist/Page/PageDropdown.js +1 -1
- package/dist/Page/PageHeader.js +1 -1
- package/dist/Page/PageTab.js +1 -1
- package/dist/Page/PageTabList.js +1 -1
- package/dist/Page/PageTitle.js +1 -1
- package/dist/Page/PageToolbar.js +1 -1
- package/dist/PagerView/PagerView.js +1 -1
- package/dist/Pagination/Pagination.js +1 -1
- package/dist/Popover/Popover.js +1 -1
- package/dist/Popover/rewireTabOrder.js +1 -1
- package/dist/Popover/utils.js +1 -1
- package/dist/Portal/Portal.js +1 -1
- package/dist/Progress/Progress.js +1 -1
- package/dist/Radio/Radio.js +1 -1
- package/dist/RangeSlider/RangeSlider.js +1 -1
- package/dist/ScreenReader/ScreenReader.js +1 -1
- package/dist/Scrim/Scrim.js +1 -1
- package/dist/Section/Section.js +1 -1
- package/dist/SegmentedControl/SegmentedControl.js +1 -1
- package/dist/SegmentedTabs/SegmentedTabs.js +1 -1
- package/dist/Select/Context.js +1 -1
- package/dist/Select/Inline.js +1 -1
- package/dist/Select/Option.js +1 -1
- package/dist/Select/OptionGroup.js +1 -1
- package/dist/Select/Select.js +1 -1
- package/dist/Select/Value.js +1 -1
- package/dist/Select/constants.js +1 -1
- package/dist/Select/utils.js +1 -1
- package/dist/Sidebar/Sidebar.js +1 -1
- package/dist/Sidebar/SidebarItem.js +1 -1
- package/dist/Sidebar/SidebarList.js +1 -1
- package/dist/Sortable/SortableEmpty.js +1 -1
- package/dist/Sortable/SortableItem.js +1 -1
- package/dist/Sortable/SortableList.js +1 -1
- package/dist/Sortable/SortableManager.js +1 -1
- package/dist/Sortable/constants.js +1 -1
- package/dist/Sortable/index.js +1 -1
- package/dist/Spinner/Spinner.js +1 -1
- package/dist/StackView/StackView.js +1 -1
- package/dist/StepperField/StepperField.js +1 -1
- package/dist/StepperProgress/Context.js +1 -1
- package/dist/StepperProgress/Step.js +1 -1
- package/dist/StepperProgress/StepperProgress.js +1 -1
- package/dist/Summary/Summary.js +1 -1
- package/dist/Tab/Tab.js +1 -1
- package/dist/TabNav/Tab.d.ts.map +1 -1
- package/dist/TabNav/Tab.js +1 -1
- package/dist/TabNav/TabNav.js +1 -1
- package/dist/Table/AnimateScroll.js +1 -1
- package/dist/Table/AvatarCell.js +1 -1
- package/dist/Table/Body.js +1 -1
- package/dist/Table/BodyCell.js +1 -1
- package/dist/Table/BodyInnerCell.js +1 -1
- package/dist/Table/BodyRow.js +1 -1
- package/dist/Table/CheckboxCell.js +1 -1
- package/dist/Table/ColumnPicker.js +1 -1
- package/dist/Table/DateCell.js +1 -1
- package/dist/Table/DragCell.js +1 -1
- package/dist/Table/DragHandle.js +1 -1
- package/dist/Table/Header.js +1 -1
- package/dist/Table/HeaderCell.js +1 -1
- package/dist/Table/HeaderInnerCell.js +1 -1
- package/dist/Table/HeaderRow.js +1 -1
- package/dist/Table/NavigationArrow.js +1 -1
- package/dist/Table/ScrollShadow.js +1 -1
- package/dist/Table/SubRowToggleCell.js +1 -1
- package/dist/Table/Table.js +1 -1
- package/dist/Table/TableBase.js +1 -1
- package/dist/Table/TableContainer.js +1 -1
- package/dist/Table/TableWrapper.js +1 -1
- package/dist/Tabs/Tab.js +1 -1
- package/dist/Tabs/TabList.js +1 -1
- package/dist/Tabs/TabPanel.js +1 -1
- package/dist/Tabs/TabPanels.js +1 -1
- package/dist/Tabs/Tabs.js +1 -1
- package/dist/Text/Text.js +1 -1
- package/dist/TextArea/TextArea.js +1 -1
- package/dist/ThemeProvider/ThemeProvider.js +1 -1
- package/dist/ThemeProvider/styles.js +1 -1
- package/dist/TileView/TileView.js +1 -1
- package/dist/TimeField/TimeField.js +1 -1
- package/dist/TimeField/utils.js +1 -1
- package/dist/ToggleSwitch/ToggleSwitch.js +1 -1
- package/dist/TokenInput/DefaultToken.js +1 -1
- package/dist/TokenInput/TokenInput.js +1 -1
- package/dist/TokenInput/default-renders.js +1 -1
- package/dist/Toolbar/Action.js +1 -1
- package/dist/Toolbar/Toolbar.js +1 -1
- package/dist/Tooltip/Tooltip.js +1 -1
- package/dist/VariantProvider/VariantProvider.js +1 -1
- package/dist/Wizard/Step.js +1 -1
- package/dist/Wizard/Wizard.js +1 -1
- package/dist/Wizard/WizardContext.js +1 -1
- package/dist/WrapView/WrapView.js +1 -1
- package/dist/createCache.js +1 -1
- package/dist/designTokens/index.d.ts +23 -23
- package/dist/designTokens/index.js +1 -1
- package/dist/ext/tslib/tslib.es6.js +1 -1
- package/dist/hooks/use-accessibility-violation.js +1 -1
- package/dist/hooks/use-document-event.js +1 -1
- package/dist/hooks/use-focus.js +1 -1
- package/dist/hooks/use-hover.js +1 -1
- package/dist/hooks/use-id.js +1 -1
- package/dist/hooks/use-keyboard-shortcuts.js +1 -1
- package/dist/hooks/use-measure.js +1 -1
- package/dist/hooks/use-media-query.js +1 -1
- package/dist/hooks/use-roving-index.js +1 -1
- package/dist/hooks/useConstant.js +1 -1
- package/dist/server.js +1 -1
- package/dist/system/box-sizes.js +1 -1
- package/dist/system/button-themes.js +1 -1
- package/dist/system/colors/colors.d.ts +56 -56
- package/dist/system/colors/colors.js +1 -1
- package/dist/system/colors/utils.js +1 -1
- package/dist/system/css.js +1 -1
- package/dist/system/cxs.js +1 -1
- package/dist/system/default-theme.d.ts +4 -4
- package/dist/system/default-theme.js +1 -1
- package/dist/system/parse-styles.js +1 -1
- package/dist/system/plugins/border.js +1 -1
- package/dist/system/plugins/color.js +1 -1
- package/dist/system/plugins/elevation.js +1 -1
- package/dist/system/plugins/flex.js +1 -1
- package/dist/system/plugins/grid.js +1 -1
- package/dist/system/plugins/misc.js +1 -1
- package/dist/system/plugins/position.js +1 -1
- package/dist/system/plugins/size.js +1 -1
- package/dist/system/plugins/space.js +1 -1
- package/dist/system/plugins/stroke.js +1 -1
- package/dist/system/plugins/transform.js +1 -1
- package/dist/system/plugins/typography.js +1 -1
- package/dist/system/split-styles.js +1 -1
- package/dist/system/style-names.js +1 -1
- package/dist/system/use-css.js +1 -1
- package/dist/system/utils.js +1 -1
- package/dist/utils.js +1 -1
- package/dist/vendor/react-measure/Measure.js +1 -1
- package/dist/vendor/react-measure/Viewport.js +1 -1
- package/dist/vendor/react-measure/utils.js +1 -1
- package/package.json +3 -10
- package/dist/packages/tokens-shim/dist/index.js +0 -2
- 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:
|
|
305
|
+
create35: "hsl(97, 57%, 40%)";
|
|
306
306
|
};
|
|
307
307
|
grays: {
|
|
308
308
|
light: {
|
|
309
|
-
neutral62:
|
|
310
|
-
neutral81:
|
|
309
|
+
neutral62: "hsl(0, 0%, 62%)";
|
|
310
|
+
neutral81: "hsl(0, 0%, 81%)";
|
|
311
311
|
};
|
|
312
312
|
};
|
|
313
|
-
interaction66:
|
|
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";
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
-
|
|
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
|
package/dist/system/use-css.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{useTheme as r}from"@emotion/react";import{useCallback as
|
|
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
|
package/dist/system/utils.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{
|
|
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
|
|
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{
|
|
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{
|
|
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{
|
|
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.
|
|
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.
|
|
79
|
+
"@planningcenter/icons": "^15.19.1",
|
|
87
80
|
"@planningcenter/react-beautiful-dnd": "^13.4.0",
|
|
88
|
-
"@planningcenter/tapestry": "^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":""}
|