@servicetitan/feature-spotlight 3.0.0 → 3.1.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.
@@ -15,6 +15,6 @@ import { Popover } from '@servicetitan/design-system';
15
15
  import * as Styles from '../feature-spotlight.module.css';
16
16
  export const FeaturePopover = (_a) => {
17
17
  var { children, footer, header } = _a, rest = __rest(_a, ["children", "footer", "header"]);
18
- return (_jsxs(Popover, Object.assign({ className: classNames(Styles.featurePopover), caret: { show: true, className: Styles.featurePopoverCaret }, padding: "m" }, rest, { children: [header && (_jsx(Popover.Header, Object.assign({ className: classNames(Styles.featurePopoverHeader) }, { children: header }))), children, footer && (_jsx(Popover.Footer, Object.assign({ className: classNames(Styles.featurePopoverFooter), align: "right" }, { children: footer })))] })));
18
+ return (_jsxs(Popover, Object.assign({ className: classNames(Styles.featurePopover), caret: { show: true, className: Styles.featurePopoverCaret }, padding: "m" }, rest, { children: [header && (_jsx(Popover.Header, { className: classNames(Styles.featurePopoverHeader), children: header })), children, footer && (_jsx(Popover.Footer, { className: classNames(Styles.featurePopoverFooter), align: "right", children: footer }))] })));
19
19
  };
20
20
  //# sourceMappingURL=feature-popover.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"feature-popover.js","sourceRoot":"","sources":["../../src/components/feature-popover.tsx"],"names":[],"mappings":";;;;;;;;;;;;AACA,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,OAAO,EAAE,OAAO,EAAgB,MAAM,6BAA6B,CAAC;AACpE,OAAO,KAAK,MAAM,MAAM,iCAAiC,CAAC;AAQ1D,MAAM,CAAC,MAAM,cAAc,GAA4B,CAAC,EAAqC,EAAE,EAAE;QAAzC,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,OAAW,EAAN,IAAI,cAAnC,gCAAqC,CAAF;IACvF,OAAO,CACH,MAAC,OAAO,kBACJ,SAAS,EAAE,UAAU,CAAC,MAAM,CAAC,cAAc,CAAC,EAC5C,KAAK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C,MAAM,CAAC,oBAAoB,CAAC,EAAE,KAAK,EAAC,OAAO,YAC5E,MAAM,GACM,CACpB,KACK,CACb,CAAC;AACN,CAAC,CAAC"}
@@ -3,6 +3,6 @@ import classNames from 'classnames';
3
3
  import { Stack, Headline, BodyText, Button, ButtonGroup, } from '@servicetitan/design-system';
4
4
  import * as Styles from '../feature-spotlight.module.css';
5
5
  export const TourPopover = ({ children, currentStep = 1, endText = 'Close', headerText, nextText = 'Next', onClose, onNext, totalStepCount = 1, }) => {
6
- return (_jsx(Stack, Object.assign({ direction: "column", className: classNames(Styles.featurePopover, 'Popper__body Popover__body Popover__body--open Popover--w-s p-x-3 p-y-2') }, { children: _jsxs(Stack.Item, Object.assign({ className: "m-t-half" }, { children: [headerText && _jsx(Headline, Object.assign({ size: "small" }, { children: headerText })), children, _jsxs(Stack, Object.assign({ direction: "row", alignItems: "center", justifyContent: "space-between", className: "m-t-2 m-b-half" }, { children: [_jsxs(BodyText, Object.assign({ subdued: true }, { children: [currentStep + 1, "/", totalStepCount] })), _jsxs(ButtonGroup, { children: [currentStep !== totalStepCount - 1 && (_jsx(Button, Object.assign({ fill: "subtle", size: "small", onClick: onClose }, { children: "Skip" }))), _jsx(Button, Object.assign({ size: "small", onClick: onNext, primary: true }, { children: currentStep !== totalStepCount - 1 ? nextText : endText }))] })] }))] })) })));
6
+ return (_jsx(Stack, { direction: "column", className: classNames(Styles.featurePopover, 'Popper__body Popover__body Popover__body--open Popover--w-s p-x-3 p-y-2'), children: _jsxs(Stack.Item, { className: "m-t-half", children: [headerText && _jsx(Headline, { size: "small", children: headerText }), children, _jsxs(Stack, { direction: "row", alignItems: "center", justifyContent: "space-between", className: "m-t-2 m-b-half", children: [_jsxs(BodyText, { subdued: true, children: [currentStep + 1, "/", totalStepCount] }), _jsxs(ButtonGroup, { children: [currentStep !== totalStepCount - 1 && (_jsx(Button, { fill: "subtle", size: "small", onClick: onClose, children: "Skip" })), _jsx(Button, { size: "small", onClick: onNext, primary: true, children: currentStep !== totalStepCount - 1 ? nextText : endText })] })] })] }) }));
7
7
  };
8
8
  //# sourceMappingURL=tour-popover.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"tour-popover.js","sourceRoot":"","sources":["../../src/components/tour-popover.tsx"],"names":[],"mappings":";AACA,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,OAAO,EAEH,KAAK,EACL,QAAQ,EACR,QAAQ,EACR,MAAM,EACN,WAAW,GACd,MAAM,6BAA6B,CAAC;AACrC,OAAO,KAAK,MAAM,MAAM,iCAAiC,CAAC;AAa1D,MAAM,CAAC,MAAM,WAAW,GAAyB,CAAC,EAC9C,QAAQ,EACR,WAAW,GAAG,CAAC,EACf,OAAO,GAAG,OAAO,EACjB,UAAU,EACV,QAAQ,GAAG,MAAM,EACjB,OAAO,EACP,MAAM,EACN,cAAc,GAAG,CAAC,GACrB,EAAE,EAAE;IACD,OAAO,CACH,KAAC,KAAK,kBACF,SAAS,EAAC,QAAQ,EAClB,SAAS,EAAE,UAAU,CACjB,MAAM,CAAC,cAAc,EACrB,yEAAyE,CAC5E,gBAED,MAAC,KAAK,CAAC,IAAI,kBAAC,SAAS,EAAC,UAAU,iBAC3B,UAAU,IAAI,KAAC,QAAQ,kBAAC,IAAI,EAAC,OAAO,gBAAE,UAAU,IAAY,EAC5D,QAAQ,EACT,MAAC,KAAK,kBACF,SAAS,EAAC,KAAK,EACf,UAAU,EAAC,QAAQ,EACnB,cAAc,EAAC,eAAe,EAC9B,SAAS,EAAC,gBAAgB,iBAE1B,MAAC,QAAQ,kBAAC,OAAO,uBACZ,WAAW,GAAG,CAAC,OAAG,cAAc,KAC1B,EACX,MAAC,WAAW,eACP,WAAW,KAAK,cAAc,GAAG,CAAC,IAAI,CACnC,KAAC,MAAM,kBAAC,IAAI,EAAC,QAAQ,EAAC,IAAI,EAAC,OAAO,EAAC,OAAO,EAAE,OAAO,0BAE1C,CACZ,EACD,KAAC,MAAM,kBAAC,IAAI,EAAC,OAAO,EAAC,OA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AE1C,CACZ,EACD,KAAC,MAAM,IAAC,IAAI,EAAC,OAAO,EAAC,OAAO,EAAE,MAAM,EAAE,OAAO,kBACxC,WAAW,KAAK,cAAc,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,OAAO,GACnD,IACC,IACV,IACC,GACT,CACX,CAAC;AACN,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@servicetitan/feature-spotlight",
3
- "version": "3.0.0",
3
+ "version": "3.1.0",
4
4
  "description": "Provides specific styles to Anvil components to highlight a feature",
5
5
  "repository": {
6
6
  "type": "git",
7
- "url": "https://github.com/servicetitan/anvil-uikit-contrib",
7
+ "url": "https://github.com/servicetitan/anvil-uikit-contrib.git",
8
8
  "directory": "packages/feature-spotlight"
9
9
  },
10
10
  "main": "./dist/index.js",
@@ -37,5 +37,5 @@
37
37
  "cli": {
38
38
  "webpack": false
39
39
  },
40
- "gitHead": "2027b0cb3bb4a06b8e381e3e9af8469a30b20f11"
40
+ "gitHead": "41795ef488172af6a1d3cf989a759d7e10af2f67"
41
41
  }