@servicetitan/anvil2 1.46.7 → 1.46.9
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/CHANGELOG.md +18 -0
- package/dist/{Calendar-BqOvsaby.js → Calendar-BopUjnAk.js} +56 -29
- package/dist/Calendar-BopUjnAk.js.map +1 -0
- package/dist/Calendar.css +64 -48
- package/dist/Calendar.d.ts +3 -3
- package/dist/Calendar.js +9 -1
- package/dist/Calendar.js.map +1 -1
- package/dist/{Combobox-BIBYdOCc.js → Combobox-D4Q9NeVP.js} +15 -15
- package/dist/{Combobox-BIBYdOCc.js.map → Combobox-D4Q9NeVP.js.map} +1 -1
- package/dist/Combobox.js +1 -1
- package/dist/{DateField-BLLbVZBF.js → DateField-B1AdxJKt.js} +4 -4
- package/dist/{DateField-BLLbVZBF.js.map → DateField-B1AdxJKt.js.map} +1 -1
- package/dist/DateField.js +1 -1
- package/dist/{DateFieldRange-BYwuTSkT.js → DateFieldRange-DiNR5bJ6.js} +63 -63
- package/dist/{DateFieldRange-BYwuTSkT.js.map → DateFieldRange-DiNR5bJ6.js.map} +1 -1
- package/dist/DateFieldRange.js +1 -1
- package/dist/{DateFieldSingle-B70fKeo-.js → DateFieldSingle-CTYbquGi.js} +5 -5
- package/dist/{DateFieldSingle-B70fKeo-.js.map → DateFieldSingle-CTYbquGi.js.map} +1 -1
- package/dist/DateFieldSingle.js +1 -1
- package/dist/{DateFieldYearless-BmeKGaDc.js → DateFieldYearless-HrylwnwX.js} +2 -2
- package/dist/{DateFieldYearless-BmeKGaDc.js.map → DateFieldYearless-HrylwnwX.js.map} +1 -1
- package/dist/DateFieldYearless.js +1 -1
- package/dist/{Drawer-C1KtNoLu.js → Drawer-yG7C8Owv.js} +11 -11
- package/dist/{Drawer-C1KtNoLu.js.map → Drawer-yG7C8Owv.js.map} +1 -1
- package/dist/Drawer.css +37 -40
- package/dist/Drawer.js +1 -1
- package/dist/{InputMask-B13KumrK.js → InputMask-BHupXP8N.js} +2 -2
- package/dist/{InputMask-B13KumrK.js.map → InputMask-BHupXP8N.js.map} +1 -1
- package/dist/InputMask.js +1 -1
- package/dist/{ListView-C-cVQZHp.js → ListView-Dsj5MiUx.js} +5 -5
- package/dist/{ListView-C-cVQZHp.js.map → ListView-Dsj5MiUx.js.map} +1 -1
- package/dist/ListView.js +1 -1
- package/dist/{ListView.module-MVsNF0X0.js → ListView.module-BilDg12y.js} +3 -3
- package/dist/ListView.module-BilDg12y.js.map +1 -0
- package/dist/{Listbox-DxGx630W.js → Listbox-CWi30Cwg.js} +9 -9
- package/dist/{Listbox-DxGx630W.js.map → Listbox-CWi30Cwg.js.map} +1 -1
- package/dist/Listbox.js +1 -1
- package/dist/{Listbox.module-DcBE8Zmo.js → Listbox.module-XuKszT3X.js} +3 -3
- package/dist/Listbox.module-XuKszT3X.js.map +1 -0
- package/dist/{Menu-BlHuE7TM.js → Menu-CETp4nrV.js} +2 -1
- package/dist/{Menu-BlHuE7TM.js.map → Menu-CETp4nrV.js.map} +1 -1
- package/dist/Menu.js +1 -1
- package/dist/{NumberField-DWPAy1eG.js → NumberField-lvPAltDB.js} +24 -12
- package/dist/NumberField-lvPAltDB.js.map +1 -0
- package/dist/NumberField.js +1 -1
- package/dist/{Page-DRSFpDAb.js → Page-DAkneNVH.js} +2 -2
- package/dist/{Page-DRSFpDAb.js.map → Page-DAkneNVH.js.map} +1 -1
- package/dist/Page.js +1 -1
- package/dist/{Pagination-UGCNBKo0.js → Pagination-DiLZ3lxt.js} +2 -2
- package/dist/{Pagination-UGCNBKo0.js.map → Pagination-DiLZ3lxt.js.map} +1 -1
- package/dist/Pagination.js +1 -1
- package/dist/{SearchField-CbwGErC4.js → SearchField-DqV9-0wR.js} +8 -8
- package/dist/{SearchField-CbwGErC4.js.map → SearchField-DqV9-0wR.js.map} +1 -1
- package/dist/SearchField.js +1 -1
- package/dist/{Tab-CzNx3IdF.js → Tab-BQ5tMHlN.js} +2 -2
- package/dist/Tab-BQ5tMHlN.js.map +1 -0
- package/dist/Tab.js +1 -1
- package/dist/{TextField-uCHgwO5F.js → TextField-CGfnQPiO.js} +2 -2
- package/dist/{TextField-uCHgwO5F.js.map → TextField-CGfnQPiO.js.map} +1 -1
- package/dist/{TextField-D9gD-34Q.js → TextField-Duo_mY8Y.js} +11 -11
- package/dist/{TextField-D9gD-34Q.js.map → TextField-Duo_mY8Y.js.map} +1 -1
- package/dist/TextField.js +1 -1
- package/dist/{TextField.module-EkKlj66e.js → TextField.module-pD1felN8.js} +3 -3
- package/dist/TextField.module-pD1felN8.js.map +1 -0
- package/dist/{TimeField-CGg_yTaJ.js → TimeField-DohKibUE.js} +3 -3
- package/dist/{TimeField-CGg_yTaJ.js.map → TimeField-DohKibUE.js.map} +1 -1
- package/dist/TimeField.js +1 -1
- package/dist/{Toolbar-B2zhlyBz.js → Toolbar-DbH5zdna.js} +9 -9
- package/dist/{Toolbar-B2zhlyBz.js.map → Toolbar-DbH5zdna.js.map} +1 -1
- package/dist/Toolbar.js +1 -1
- package/dist/beta/components/Calendar/Calendar.d.ts +8 -0
- package/dist/beta/components/Calendar/CalendarBetaPropsContext.d.ts +2 -0
- package/dist/beta/components/Calendar/index.d.ts +2 -0
- package/dist/beta/components/Calendar/useCalendarBetaProps.d.ts +1 -0
- package/dist/beta/components/index.d.ts +1 -0
- package/dist/beta.js +2 -1
- package/dist/beta.js.map +1 -1
- package/dist/components/Calendar/CalendarContext.d.ts +4 -0
- package/dist/components/Calendar/internal/utils.d.ts +1 -0
- package/dist/components/Menu/types.d.ts +2 -1
- package/dist/index.js +19 -19
- package/dist/{utils-Dh3aegV3.js → utils-CskVBG_X.js} +2 -2
- package/dist/{utils-Dh3aegV3.js.map → utils-CskVBG_X.js.map} +1 -1
- package/package.json +2 -5
- package/dist/Calendar-BqOvsaby.js.map +0 -1
- package/dist/ListView.module-MVsNF0X0.js.map +0 -1
- package/dist/Listbox.module-DcBE8Zmo.js.map +0 -1
- package/dist/NumberField-DWPAy1eG.js.map +0 -1
- package/dist/Tab-CzNx3IdF.js.map +0 -1
- package/dist/TextField.module-EkKlj66e.js.map +0 -1
package/dist/Toolbar.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { T as Toolbar, a as ToolbarButton, c as ToolbarButtonLink, b as ToolbarButtonToggle, e as ToolbarControlGroup, g as ToolbarElement, f as ToolbarSearchField, d as ToolbarSelect, T as default } from './Toolbar-
|
|
1
|
+
export { T as Toolbar, a as ToolbarButton, c as ToolbarButtonLink, b as ToolbarButtonToggle, e as ToolbarControlGroup, g as ToolbarElement, f as ToolbarSearchField, d as ToolbarSelect, T as default } from './Toolbar-DbH5zdna.js';
|
|
2
2
|
//# sourceMappingURL=Toolbar.js.map
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { CalendarProps as StableCalendarProps } from '../../../components';
|
|
2
|
+
export interface CalendarBetaProps {
|
|
3
|
+
dateMetadata?: {
|
|
4
|
+
date: string;
|
|
5
|
+
context: string;
|
|
6
|
+
}[];
|
|
7
|
+
}
|
|
8
|
+
export declare const Calendar: (props: CalendarBetaProps & StableCalendarProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const useCalendarBetaProps: () => import('./Calendar').CalendarBetaProps;
|
package/dist/beta.js
CHANGED
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
export { T as Toolbar, a as ToolbarButton, c as ToolbarButtonLink, b as ToolbarButtonToggle, e as ToolbarControlGroup, g as ToolbarElement, f as ToolbarSearchField, d as ToolbarSelect } from './Toolbar-
|
|
1
|
+
export { T as Toolbar, a as ToolbarButton, c as ToolbarButtonLink, b as ToolbarButtonToggle, e as ToolbarControlGroup, g as ToolbarElement, f as ToolbarSearchField, d as ToolbarSelect } from './Toolbar-DbH5zdna.js';
|
|
2
|
+
export { u as useCalendarBetaProps } from './Calendar-BopUjnAk.js';
|
|
2
3
|
//# sourceMappingURL=beta.js.map
|
package/dist/beta.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"beta.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"beta.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
|
@@ -91,6 +91,10 @@ type CalendarContextCommonProps = {
|
|
|
91
91
|
* Whether the calendar is controlled.
|
|
92
92
|
*/
|
|
93
93
|
controlled?: boolean;
|
|
94
|
+
/**
|
|
95
|
+
* The date metadata to determine if a date has a pip associated with it.
|
|
96
|
+
*/
|
|
97
|
+
dateMetadata?: Map<string, string>;
|
|
94
98
|
};
|
|
95
99
|
export type CalendarSingleContextProps = CalendarContextCommonProps & {
|
|
96
100
|
/**
|
|
@@ -10,3 +10,4 @@ export declare const isValidDate: (n: DateTime | undefined, minDate: string | un
|
|
|
10
10
|
export declare const normalizeDate: (date: string, defaultTimeZone: string) => DateTime<true> | DateTime<false>;
|
|
11
11
|
export declare const toDateString: (date: DateTime<boolean>) => string | null;
|
|
12
12
|
export declare function rangeUpdater(value: CalendarRangeContextProps["value"], newDate: DateTime, setValue: CalendarRangeContextProps["setValue"], onSelection: CalendarRangeContextProps["onSelection"]): void;
|
|
13
|
+
export declare const getDateMetadata: (date: DateTime, dateMetadata: Map<string, string> | undefined) => string | undefined;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Placement, UseFloatingOptions } from '@floating-ui/react';
|
|
2
|
-
import { AriaAttributes, ReactElement, RefObject } from 'react';
|
|
2
|
+
import { AriaAttributes, KeyboardEvent, ReactElement, RefObject } from 'react';
|
|
3
3
|
export type MenuReturnProps = {
|
|
4
4
|
"data-open"?: boolean;
|
|
5
5
|
"aria-controls"?: AriaAttributes["aria-controls"];
|
|
@@ -7,6 +7,7 @@ export type MenuReturnProps = {
|
|
|
7
7
|
"aria-haspopup"?: AriaAttributes["aria-haspopup"];
|
|
8
8
|
"data-state": "open" | "close";
|
|
9
9
|
onClick?: () => void;
|
|
10
|
+
onKeyDown?: (e: KeyboardEvent<HTMLButtonElement>) => void;
|
|
10
11
|
ref?: RefObject<HTMLButtonElement>;
|
|
11
12
|
};
|
|
12
13
|
/**
|
package/dist/index.js
CHANGED
|
@@ -9,47 +9,47 @@ import { B as Button } from './Button-VNQQgZ45.js';
|
|
|
9
9
|
export { B as ButtonCompound } from './ButtonCompound-BbPK-Xjj.js';
|
|
10
10
|
import { B as ButtonLink } from './ButtonLink-CqR1F5Wn.js';
|
|
11
11
|
import { B as ButtonToggle } from './ButtonToggle-PCeSG-5D.js';
|
|
12
|
-
export {
|
|
12
|
+
export { a as Calendar, g as CalendarMonth, f as CalendarMonthButton, e as CalendarNext, b as CalendarNow, d as CalendarPrev, c as CalendarYearButton } from './Calendar-BopUjnAk.js';
|
|
13
13
|
export { C as Card } from './Card-vTYeSkxt.js';
|
|
14
14
|
export { C as Checkbox } from './Checkbox-DAODkzN3.js';
|
|
15
15
|
export { C as CheckboxGroup } from './Checkbox-C5PX8wur.js';
|
|
16
16
|
export { C as Chip } from './Chip-DLU13qe-.js';
|
|
17
|
-
export { C as Combobox, c as ComboboxContent, a as ComboboxElement, i as ComboboxEmpty, e as ComboboxItem, f as ComboboxItemAddNew, d as ComboboxList, g as ComboboxSearchField, b as ComboboxSelect, h as ComboboxSelectTrigger } from './Combobox-
|
|
17
|
+
export { C as Combobox, c as ComboboxContent, a as ComboboxElement, i as ComboboxEmpty, e as ComboboxItem, f as ComboboxItemAddNew, d as ComboboxList, g as ComboboxSearchField, b as ComboboxSelect, h as ComboboxSelectTrigger } from './Combobox-D4Q9NeVP.js';
|
|
18
18
|
export { u as useInfiniteCombobox } from './useInfiniteCombobox-WcRgC9p6.js';
|
|
19
|
-
export { D as DateField } from './DateField-
|
|
20
|
-
export { D as DateFieldRange } from './DateFieldRange-
|
|
21
|
-
export { D as DateFieldSingle } from './DateFieldSingle-
|
|
22
|
-
export { D as DateFieldYearless } from './DateFieldYearless-
|
|
19
|
+
export { D as DateField } from './DateField-B1AdxJKt.js';
|
|
20
|
+
export { D as DateFieldRange } from './DateFieldRange-DiNR5bJ6.js';
|
|
21
|
+
export { D as DateFieldSingle } from './DateFieldSingle-CTYbquGi.js';
|
|
22
|
+
export { D as DateFieldYearless } from './DateFieldYearless-HrylwnwX.js';
|
|
23
23
|
export { D as DaysOfTheWeek } from './DaysOfTheWeek-CvWu1j6-.js';
|
|
24
24
|
export { D as Details, b as DetailsContent, a as DetailsSummary } from './Details-CF8DImjw.js';
|
|
25
25
|
export { D as Dialog, a as DialogCancelButton, b as DialogContent, c as DialogFooter, d as DialogHeader } from './Dialog-D3aUlrNr.js';
|
|
26
26
|
export { D as Divider } from './Divider-DJe8kLf2.js';
|
|
27
27
|
export { D as Dnd } from './index-DrM3iid4.js';
|
|
28
|
-
export { D as Drawer, a as DrawerCancelButton, d as DrawerContent, b as DrawerFooter, c as DrawerHeader } from './Drawer-
|
|
28
|
+
export { D as Drawer, a as DrawerCancelButton, d as DrawerContent, b as DrawerFooter, c as DrawerHeader } from './Drawer-yG7C8Owv.js';
|
|
29
29
|
export { E as EditCard } from './EditCard-CZzL0nx7.js';
|
|
30
30
|
export { F as FieldLabel } from './FieldLabel-Bgl3iu13.js';
|
|
31
31
|
export { F as FieldMessage } from './FieldMessage-B7uQ8vmr.js';
|
|
32
32
|
import { F as Flex } from './Flex-BdQMekvA.js';
|
|
33
33
|
export { G as Grid } from './Grid-MGUC698u.js';
|
|
34
34
|
import { I as Icon } from './Icon-D8SPKeO4.js';
|
|
35
|
-
export { I as InputMask } from './InputMask-
|
|
35
|
+
export { I as InputMask } from './InputMask-BHupXP8N.js';
|
|
36
36
|
export { L as Layout, a as LayoutElement, b as LayoutItem } from './Layout-CUUb2PVr.js';
|
|
37
37
|
export { L as Link, u as useLinkStyles } from './Link-eRsLWPaQ.js';
|
|
38
38
|
export { L as LinkButton } from './LinkButton-2lXfrVoU.js';
|
|
39
|
-
import { L as Listbox } from './Listbox-
|
|
40
|
-
export { a as ListboxOption, b as ListboxOptionGroup } from './Listbox-
|
|
41
|
-
export { L as ListView, a as ListViewOption, b as ListViewOptionCell } from './ListView-
|
|
42
|
-
export { M as Menu, a as MenuItem } from './Menu-
|
|
43
|
-
export { N as NumberField } from './NumberField-
|
|
39
|
+
import { L as Listbox } from './Listbox-CWi30Cwg.js';
|
|
40
|
+
export { a as ListboxOption, b as ListboxOptionGroup } from './Listbox-CWi30Cwg.js';
|
|
41
|
+
export { L as ListView, a as ListViewOption, b as ListViewOptionCell } from './ListView-Dsj5MiUx.js';
|
|
42
|
+
export { M as Menu, a as MenuItem } from './Menu-CETp4nrV.js';
|
|
43
|
+
export { N as NumberField } from './NumberField-lvPAltDB.js';
|
|
44
44
|
export { Overflow, OverflowText } from './Overflow.js';
|
|
45
|
-
export { P as Page } from './Page-
|
|
46
|
-
export { P as Pagination } from './Pagination-
|
|
45
|
+
export { P as Page } from './Page-DAkneNVH.js';
|
|
46
|
+
export { P as Pagination } from './Pagination-DiLZ3lxt.js';
|
|
47
47
|
import { P as Popover } from './Popover-Du2PBdp1.js';
|
|
48
48
|
export { a as PopoverButton, b as PopoverClose, c as PopoverContent, d as PopoverTrigger } from './Popover-Du2PBdp1.js';
|
|
49
49
|
export { P as ProgressBar } from './ProgressBar-BwM_e5cP.js';
|
|
50
50
|
export { R as Radio } from './Radio-C5riI-do.js';
|
|
51
51
|
export { R as RadioGroup } from './RadioGroup-B7O06pVu.js';
|
|
52
|
-
export { S as SearchField } from './SearchField-
|
|
52
|
+
export { S as SearchField } from './SearchField-DqV9-0wR.js';
|
|
53
53
|
export { S as SegmentedControl, a as SegmentedControlSegment } from './SegmentedControl-CLDdes8W.js';
|
|
54
54
|
export { S as SelectCard, a as SelectCardElement, b as SelectCardGroup } from './SelectCard-Ca07K1FW.js';
|
|
55
55
|
export { S as SelectTrigger } from './SelectTrigger-CaXX1SHG.js';
|
|
@@ -59,11 +59,11 @@ export { S as Spinner } from './Spinner-wmO8Epw0.js';
|
|
|
59
59
|
export { S as SrOnly } from './SrOnly-CTsYSuby.js';
|
|
60
60
|
export { S as Stepper, a as StepperFinalPanel, b as StepperList, c as StepperNextButton, d as StepperPanel, e as StepperPrevButton, f as StepperStep } from './Stepper-DQ_Hm-AI.js';
|
|
61
61
|
export { S as Switch } from './Switch-C2ddZcr9.js';
|
|
62
|
-
export { T as Tab, a as TabButton, b as TabList, c as TabPanel } from './Tab-
|
|
62
|
+
export { T as Tab, a as TabButton, b as TabList, c as TabPanel } from './Tab-BQ5tMHlN.js';
|
|
63
63
|
export { T as Text } from './Text-BqvcbXyp.js';
|
|
64
64
|
export { T as Textarea } from './Textarea-B2-6m291.js';
|
|
65
|
-
export { T as TextField } from './TextField-
|
|
66
|
-
export { T as TimeField } from './TimeField-
|
|
65
|
+
export { T as TextField } from './TextField-CGfnQPiO.js';
|
|
66
|
+
export { T as TimeField } from './TimeField-DohKibUE.js';
|
|
67
67
|
export { T as Toaster } from './Toaster-CH5FTmGv.js';
|
|
68
68
|
export { t as toast } from './Toaster-BKyvW8J8.js';
|
|
69
69
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { D as DateTime } from './Calendar-
|
|
1
|
+
import { D as DateTime } from './Calendar-BopUjnAk.js';
|
|
2
2
|
|
|
3
3
|
const DateModeToFormatMap = {
|
|
4
4
|
"mm/dd/yyyy": "MM/dd/yyyy",
|
|
@@ -47,4 +47,4 @@ function validateDate({
|
|
|
47
47
|
}
|
|
48
48
|
|
|
49
49
|
export { DateModeToPlaceholderMap as D, DateModeToFormatMap as a, convertStringToDate as c, validateDate as v };
|
|
50
|
-
//# sourceMappingURL=utils-
|
|
50
|
+
//# sourceMappingURL=utils-CskVBG_X.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils-
|
|
1
|
+
{"version":3,"file":"utils-CskVBG_X.js","sources":["../src/components/DateFieldSingle/internal/constants.ts","../src/components/DateFieldSingle/internal/utils.ts"],"sourcesContent":["import { DateMode } from \"../types\";\n\nexport const DateModeToFormatMap: Record<DateMode, string> = {\n \"mm/dd/yyyy\": \"MM/dd/yyyy\",\n \"dd/mm/yyyy\": \"dd/MM/yyyy\",\n \"yyyy/mm/dd\": \"yyyy/MM/dd\",\n};\n\nexport const DateModeToPlaceholderMap: Record<DateMode, string> = {\n \"dd/mm/yyyy\": \"__/__/____\",\n \"mm/dd/yyyy\": \"__/__/____\",\n \"yyyy/mm/dd\": \"____/__/__\",\n};\n","import { DateTime } from \"luxon\";\n\nexport function convertStringToDate(\n v: string | null | undefined,\n): DateTime | null | undefined {\n if (v === undefined || v === null) {\n return v;\n }\n const date = DateTime.fromISO(v, { setZone: true, zone: \"utc\" }).startOf(\n \"day\",\n );\n if (date.isValid) {\n return date;\n }\n return null;\n}\nexport function validateDate({\n date,\n constraints,\n}: {\n date: DateTime | null;\n constraints: {\n required?: boolean;\n unavailable?: {\n dates?: DateTime[];\n daysOfWeek?: number[];\n };\n minDate?: DateTime;\n maxDate?: DateTime;\n };\n}) {\n const { required, unavailable, minDate, maxDate } = constraints;\n if (!date) {\n return required ? false : true;\n }\n if (unavailable?.dates?.some((d) => d.equals(date))) {\n return false;\n }\n if (unavailable?.daysOfWeek?.includes(date.weekday)) {\n return false;\n }\n if (minDate && date < minDate) {\n return false;\n }\n if (maxDate && date > maxDate) {\n return false;\n }\n return true;\n}\n"],"names":[],"mappings":";;AAEO,MAAM,mBAAA,GAAgD;AAAA,EAC3D,YAAA,EAAc,YAAA;AAAA,EACd,YAAA,EAAc,YAAA;AAAA,EACd,YAAA,EAAc;AAChB;AAEO,MAAM,wBAAA,GAAqD;AAAA,EAChE,YAAA,EAAc,YAAA;AAAA,EACd,YAAA,EAAc,YAAA;AAAA,EACd,YAAA,EAAc;AAChB;;ACVO,SAAS,oBACd,CAAA,EAC6B;AAC7B,EAAA,IAAI,CAAA,KAAM,MAAA,IAAa,CAAA,KAAM,IAAA,EAAM;AACjC,IAAA,OAAO,CAAA;AAAA,EACT;AACA,EAAA,MAAM,IAAA,GAAO,QAAA,CAAS,OAAA,CAAQ,CAAA,EAAG,EAAE,SAAS,IAAA,EAAM,IAAA,EAAM,KAAA,EAAO,CAAA,CAAE,OAAA;AAAA,IAC/D;AAAA,GACF;AACA,EAAA,IAAI,KAAK,OAAA,EAAS;AAChB,IAAA,OAAO,IAAA;AAAA,EACT;AACA,EAAA,OAAO,IAAA;AACT;AACO,SAAS,YAAA,CAAa;AAAA,EAC3B,IAAA;AAAA,EACA;AACF,CAAA,EAWG;AACD,EAAA,MAAM,EAAE,QAAA,EAAU,WAAA,EAAa,OAAA,EAAS,SAAQ,GAAI,WAAA;AACpD,EAAA,IAAI,CAAC,IAAA,EAAM;AACT,IAAA,OAAO,WAAW,KAAA,GAAQ,IAAA;AAAA,EAC5B;AACA,EAAA,IAAI,WAAA,EAAa,OAAO,IAAA,CAAK,CAAC,MAAM,CAAA,CAAE,MAAA,CAAO,IAAI,CAAC,CAAA,EAAG;AACnD,IAAA,OAAO,KAAA;AAAA,EACT;AACA,EAAA,IAAI,WAAA,EAAa,UAAA,EAAY,QAAA,CAAS,IAAA,CAAK,OAAO,CAAA,EAAG;AACnD,IAAA,OAAO,KAAA;AAAA,EACT;AACA,EAAA,IAAI,OAAA,IAAW,OAAO,OAAA,EAAS;AAC7B,IAAA,OAAO,KAAA;AAAA,EACT;AACA,EAAA,IAAI,OAAA,IAAW,OAAO,OAAA,EAAS;AAC7B,IAAA,OAAO,KAAA;AAAA,EACT;AACA,EAAA,OAAO,IAAA;AACT;;;;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@servicetitan/anvil2",
|
|
3
|
-
"version": "1.46.
|
|
3
|
+
"version": "1.46.9",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"types": "./dist/index.d.ts",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -56,9 +56,6 @@
|
|
|
56
56
|
"react-dom": "^18"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
|
-
"@changesets/changelog-github": "^0.5.0",
|
|
60
|
-
"@changesets/cli": "^2.27.10",
|
|
61
|
-
"@changesets/read": "^0.6.0",
|
|
62
59
|
"@chromatic-com/storybook": "^4.1.1",
|
|
63
60
|
"@figma/code-connect": "^1.3.4",
|
|
64
61
|
"@storybook/addon-a11y": "9.1.5",
|
|
@@ -107,7 +104,7 @@
|
|
|
107
104
|
"build:icons": "pnpm svgo:st-icons && node scripts/createIconIndexes.mjs",
|
|
108
105
|
"build:vite": "vite build",
|
|
109
106
|
"check-types": "tsc --noEmit --project tsconfig.build.json",
|
|
110
|
-
"clean": "rimraf dist",
|
|
107
|
+
"clean": "rimraf dist node_modules/.cache",
|
|
111
108
|
"cp-files": "cp ./package.json dist && cp ./README.md dist",
|
|
112
109
|
"lint": "eslint .",
|
|
113
110
|
"nuke": "pnpm clean && rimraf node_modules",
|