@narmi/design_system 6.17.0 → 6.17.2
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/docs/Formatters.md +0 -55
- package/dist/index.js +22 -22
- package/dist/index.js.map +1 -1
- package/dist/tokens/css/rgbColors.css +1 -1
- package/dist/tokens/css/rgbColors.scss +1 -1
- package/dist/tokens/css/tokens.css +1 -1
- package/dist/tokens/css/tokens.scss +1 -1
- package/dist/tokens/js/colors.esm.js +1 -1
- package/dist/tokens/js/colors.js +1 -1
- package/dist/tokens/js/manifest.esm.js +1 -1
- package/dist/tokens/js/manifest.js +1 -1
- package/dist/tokens/js/reactNativeWeb.js +1 -1
- package/dist/types/ContentCard/index.d.ts +1 -1
- package/dist/types/Error/index.d.ts +16 -0
- package/dist/types/Error/index.d.ts.map +1 -0
- package/dist/types/FormSection/index.d.ts +20 -0
- package/dist/types/FormSection/index.d.ts.map +1 -0
- package/dist/types/Pagination/index.d.ts +69 -0
- package/dist/types/Pagination/index.d.ts.map +1 -0
- package/dist/types/Pagination/usePagination.d.ts +39 -0
- package/dist/types/Pagination/usePagination.d.ts.map +1 -0
- package/dist/types/formatters/formatNumber.d.ts +22 -0
- package/dist/types/formatters/formatNumber.d.ts.map +1 -0
- package/dist/types/hooks/useLockBodyScroll/index.d.ts +7 -0
- package/dist/types/hooks/useLockBodyScroll/index.d.ts.map +1 -0
- package/dist/types/index.d.ts +4 -4
- package/dist/types/index.d.ts.map +1 -1
- package/package.json +2 -2
package/dist/tokens/js/colors.js
CHANGED
|
@@ -56,7 +56,7 @@ interface ContentCardProps {
|
|
|
56
56
|
declare const ContentCard: {
|
|
57
57
|
({ kind, paddingSize, onClick, isSelected, children, testId, radiusSize, error, isDisabled: isDisabledProp, disabled: disabledProp, }: ContentCardProps): React.JSX.Element;
|
|
58
58
|
propTypes: {
|
|
59
|
-
onClick: (props: any, propName: any) =>
|
|
59
|
+
onClick: (props: any, propName: any) => Error;
|
|
60
60
|
};
|
|
61
61
|
};
|
|
62
62
|
export default ContentCard;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { default as PropTypes } from 'prop-types';
|
|
3
|
+
type MarginTop = "xxs" | "xs" | "s" | "m" | "l" | "xl" | "xxl" | "none";
|
|
4
|
+
interface ErrorProps {
|
|
5
|
+
error?: string | string[];
|
|
6
|
+
marginTop?: MarginTop;
|
|
7
|
+
}
|
|
8
|
+
declare const Error: {
|
|
9
|
+
({ error, marginTop }: ErrorProps): React.JSX.Element;
|
|
10
|
+
propTypes: {
|
|
11
|
+
error: PropTypes.Requireable<PropTypes.Requireable<string> | PropTypes.Requireable<string[]>>;
|
|
12
|
+
marginTop: PropTypes.Requireable<string>;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
export default Error;
|
|
16
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/Error/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,SAAS,MAAM,YAAY,CAAC;AAEnC,KAAK,SAAS,GAAG,KAAK,GAAG,IAAI,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,IAAI,GAAG,KAAK,GAAG,MAAM,CAAC;AAqBxE,UAAU,UAAU;IAClB,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;IAC1B,SAAS,CAAC,EAAE,SAAS,CAAC;CACvB;AAED,QAAA,MAAM,KAAK;2BAAkC,UAAU;;;;;CAgBtD,CAAC;AASF,eAAe,KAAK,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { default as PropTypes } from 'prop-types';
|
|
3
|
+
interface FormSectionProps {
|
|
4
|
+
/** Title of form section */
|
|
5
|
+
title: string;
|
|
6
|
+
children: React.ReactNode;
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* A sectioning element for forms that renders a label and line above the section
|
|
10
|
+
*/
|
|
11
|
+
declare const FormSection: {
|
|
12
|
+
({ title, children }: FormSectionProps): React.JSX.Element;
|
|
13
|
+
propTypes: {
|
|
14
|
+
/** Title of form section */
|
|
15
|
+
title: PropTypes.Validator<string>;
|
|
16
|
+
children: PropTypes.Validator<NonNullable<PropTypes.ReactNodeLike>>;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
export default FormSection;
|
|
20
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/FormSection/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,SAAS,MAAM,YAAY,CAAC;AAGnC,UAAU,gBAAgB;IACxB,4BAA4B;IAC5B,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B;AAED;;GAEG;AACH,QAAA,MAAM,WAAW;0BAAyB,gBAAgB;;QAkCxD,4BAA4B;;;;CAH7B,CAAC;AAQF,eAAe,WAAW,CAAC"}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { default as PropTypes } from 'prop-types';
|
|
3
|
+
interface PaginationProps {
|
|
4
|
+
/**
|
|
5
|
+
* Total number of pages
|
|
6
|
+
* If the number of pages is 1, pagination will not render
|
|
7
|
+
*/
|
|
8
|
+
totalPages?: number;
|
|
9
|
+
/**
|
|
10
|
+
* Default selected page by page number (uncontrolled)
|
|
11
|
+
*/
|
|
12
|
+
defaultSelectedPage?: number;
|
|
13
|
+
/**
|
|
14
|
+
* Selected page by page number (controlled).
|
|
15
|
+
* In fully controlled mode, you **must** define an `onPageChange`
|
|
16
|
+
* handler to update the value of the `selectedPage` prop.
|
|
17
|
+
*/
|
|
18
|
+
selectedPage?: number;
|
|
19
|
+
/**
|
|
20
|
+
* Callback invoked when user selects a new page via page numbers or
|
|
21
|
+
* previous/next arrows.
|
|
22
|
+
*
|
|
23
|
+
* Invoked with selected page number as the argument.
|
|
24
|
+
*/
|
|
25
|
+
onPageChange?: (page: number) => void;
|
|
26
|
+
/** Optional value for `data-testid` attribute */
|
|
27
|
+
testId?: string;
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* Component that allows users to navigate between pages of information.
|
|
31
|
+
* Your application is responsible for setting the total number of pages and
|
|
32
|
+
* responding to the `onPageChange` callback.
|
|
33
|
+
*
|
|
34
|
+
* The component will handle which page numbers to render, next and previous arrows,
|
|
35
|
+
* and conditionally rendering first and last pages.
|
|
36
|
+
*
|
|
37
|
+
* If your pagination setup expects a fully controlled component, you may set `defaultSelectedPage` on every `onPageChange` call.
|
|
38
|
+
*/
|
|
39
|
+
declare const Pagination: {
|
|
40
|
+
({ onPageChange, totalPages, defaultSelectedPage, selectedPage: selectedPageControlled, testId, }: PaginationProps): React.JSX.Element;
|
|
41
|
+
propTypes: {
|
|
42
|
+
/**
|
|
43
|
+
* Total number of pages
|
|
44
|
+
* If the number of pages is 1, pagination will not render
|
|
45
|
+
*/
|
|
46
|
+
totalPages: PropTypes.Requireable<number>;
|
|
47
|
+
/**
|
|
48
|
+
* Default selected page by page number (uncontrolled)
|
|
49
|
+
*/
|
|
50
|
+
defaultSelectedPage: PropTypes.Requireable<number>;
|
|
51
|
+
/**
|
|
52
|
+
* Selected page by page number (controlled).
|
|
53
|
+
* In fully controlled mode, you **must** define an `onPageChange`
|
|
54
|
+
* handler to update the value of the `selectedPage` prop.
|
|
55
|
+
*/
|
|
56
|
+
selectedPage: PropTypes.Requireable<number>;
|
|
57
|
+
/**
|
|
58
|
+
* Callback invoked when user selects a new page via page numbers or
|
|
59
|
+
* previous/next arrows.
|
|
60
|
+
*
|
|
61
|
+
* Invoked with selected page number as the argument.
|
|
62
|
+
*/
|
|
63
|
+
onPageChange: PropTypes.Requireable<(...args: any[]) => any>;
|
|
64
|
+
/** Optional value for `data-testid` attribute */
|
|
65
|
+
testId: PropTypes.Requireable<string>;
|
|
66
|
+
};
|
|
67
|
+
};
|
|
68
|
+
export default Pagination;
|
|
69
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/Pagination/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AACxC,OAAO,SAAS,MAAM,YAAY,CAAC;AAMnC,UAAU,eAAe;IACvB;;;OAGG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;;;;OAKG;IACH,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACtC,iDAAiD;IACjD,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED;;;;;;;;;GASG;AACH,QAAA,MAAM,UAAU;uGAMb,eAAe;;QAmMhB;;;WAGG;;QAEH;;WAEG;;QAEH;;;;WAIG;;QAEH;;;;;WAKG;;QAEH,iDAAiD;;;CAzBlD,CAAC;AA6BF,eAAe,UAAU,CAAC"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
interface UsePaginationOptions {
|
|
2
|
+
/** The total number of pages */
|
|
3
|
+
totalPages: number;
|
|
4
|
+
/** The selected page by page number */
|
|
5
|
+
selectedPageNumber?: number;
|
|
6
|
+
/** The size of the visible window of pages */
|
|
7
|
+
windowSize?: number;
|
|
8
|
+
}
|
|
9
|
+
type UsePaginationResult = {
|
|
10
|
+
/** List of visible pages by page number */
|
|
11
|
+
visiblePages: number[];
|
|
12
|
+
/** The page number of the currently selected page */
|
|
13
|
+
selectedPage: number;
|
|
14
|
+
/** The index of the currently selected page */
|
|
15
|
+
selectedIndex: number;
|
|
16
|
+
/** Whether to show the first page button */
|
|
17
|
+
showFirstPage: boolean;
|
|
18
|
+
/** Whether to show the last page button */
|
|
19
|
+
showLastPage: boolean;
|
|
20
|
+
/** Whether to show previous arrow */
|
|
21
|
+
showPrev: boolean;
|
|
22
|
+
/** Whether to show next arrow */
|
|
23
|
+
showNext: boolean;
|
|
24
|
+
};
|
|
25
|
+
/**
|
|
26
|
+
* Create an array of consecutive numbers from start to end (inclusive)
|
|
27
|
+
*/
|
|
28
|
+
export declare const range: (start: number, end: number) => number[];
|
|
29
|
+
/**
|
|
30
|
+
* Calculate the sliding window of visible pages
|
|
31
|
+
*/
|
|
32
|
+
export declare const calculateVisiblePages: (totalPages: number, selectedPage: number, windowSize: number) => number[];
|
|
33
|
+
/**
|
|
34
|
+
* Headless hook for pagination attributes.
|
|
35
|
+
* Creates a sliding window of visible pages with current selection centered.
|
|
36
|
+
*/
|
|
37
|
+
export declare const usePagination: ({ totalPages, selectedPageNumber, windowSize, }: UsePaginationOptions) => UsePaginationResult;
|
|
38
|
+
export {};
|
|
39
|
+
//# sourceMappingURL=usePagination.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"usePagination.d.ts","sourceRoot":"","sources":["../../../src/Pagination/usePagination.ts"],"names":[],"mappings":"AAIA,UAAU,oBAAoB;IAC5B,gCAAgC;IAChC,UAAU,EAAE,MAAM,CAAC;IACnB,uCAAuC;IACvC,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,8CAA8C;IAC9C,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,KAAK,mBAAmB,GAAG;IACzB,2CAA2C;IAC3C,YAAY,EAAE,MAAM,EAAE,CAAC;IACvB,qDAAqD;IACrD,YAAY,EAAE,MAAM,CAAC;IACrB,+CAA+C;IAC/C,aAAa,EAAE,MAAM,CAAC;IACtB,4CAA4C;IAC5C,aAAa,EAAE,OAAO,CAAC;IACvB,2CAA2C;IAC3C,YAAY,EAAE,OAAO,CAAC;IACtB,qCAAqC;IACrC,QAAQ,EAAE,OAAO,CAAC;IAClB,iCAAiC;IACjC,QAAQ,EAAE,OAAO,CAAC;CACnB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,KAAK,GAAI,OAAO,MAAM,EAAE,KAAK,MAAM,KAAG,MAAM,EACH,CAAC;AAEvD;;GAEG;AACH,eAAO,MAAM,qBAAqB,GAChC,YAAY,MAAM,EAClB,cAAc,MAAM,EACpB,YAAY,MAAM,KACjB,MAAM,EA4BR,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,aAAa,GAAI,iDAI3B,oBAAoB,KAAG,mBA0BzB,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Wrapper for `Intl.NumberFormat` with options configured for Narmi applications.
|
|
3
|
+
*
|
|
4
|
+
* @example
|
|
5
|
+
* import { formatNumber } from '@narmi/design_system';
|
|
6
|
+
*
|
|
7
|
+
* formatNumber(1234.56, 'currency'); // '$1,234.56'
|
|
8
|
+
* formatNumber(34.4, 'currency'); // '$34.40'
|
|
9
|
+
* formatNumber(-12, 'currency'); // '-$12.00'
|
|
10
|
+
* formatNumber('0.0342', 'percent'); // '3.42%'
|
|
11
|
+
* formatNumber(0.0023, 'percent'); // '0.23%'
|
|
12
|
+
* formatNumber(0.215555, 'percent'); // '21.56%'
|
|
13
|
+
*
|
|
14
|
+
* @param input string or number to format into a number string
|
|
15
|
+
* @param style format style (`currency` or `percent`)
|
|
16
|
+
* @returns number string formatted for display
|
|
17
|
+
*/
|
|
18
|
+
export type FormatNumberStyle = "currency" | "percent";
|
|
19
|
+
export type FormatNumberSignDisplay = "auto" | "never" | "always" | "exceptZero";
|
|
20
|
+
declare const formatNumber: (input: string | number, style?: FormatNumberStyle, signDisplay?: FormatNumberSignDisplay, showCents?: boolean) => string;
|
|
21
|
+
export default formatNumber;
|
|
22
|
+
//# sourceMappingURL=formatNumber.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"formatNumber.d.ts","sourceRoot":"","sources":["../../../src/formatters/formatNumber.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AACH,MAAM,MAAM,iBAAiB,GAAG,UAAU,GAAG,SAAS,CAAC;AACvD,MAAM,MAAM,uBAAuB,GAC/B,MAAM,GACN,OAAO,GACP,QAAQ,GACR,YAAY,CAAC;AAEjB,QAAA,MAAM,YAAY,GAChB,OAAO,MAAM,GAAG,MAAM,EACtB,QAAO,iBAA8B,EACrC,cAAa,uBAAgC,EAC7C,YAAW,OAAc,KACxB,MA+CF,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Hook for locking body scrolling while a component is mounted
|
|
3
|
+
* @param isActive - applies scroll locking when `true`
|
|
4
|
+
*/
|
|
5
|
+
declare const useLockBodyScroll: (isActive: boolean) => void;
|
|
6
|
+
export default useLockBodyScroll;
|
|
7
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/hooks/useLockBodyScroll/index.ts"],"names":[],"mappings":"AAEA;;;GAGG;AACH,QAAA,MAAM,iBAAiB,GAAI,UAAU,OAAO,KAAG,IAS9C,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
|
package/dist/types/index.d.ts
CHANGED
|
@@ -13,6 +13,8 @@ import { default as Count } from './Count';
|
|
|
13
13
|
import { default as Dialog } from './Dialog';
|
|
14
14
|
import { default as DisabledShim } from './DisabledShim';
|
|
15
15
|
import { default as Field } from './Field';
|
|
16
|
+
import { default as FormSection } from './FormSection';
|
|
17
|
+
import { default as Pagination } from './Pagination';
|
|
16
18
|
import { default as ProgressBar } from './ProgressBar';
|
|
17
19
|
import { default as Radio } from './Radio';
|
|
18
20
|
import { default as RadioButtons } from './RadioButtons';
|
|
@@ -34,6 +36,8 @@ import { default as TruncatedAccount } from './TruncatedAccount';
|
|
|
34
36
|
import { default as useSupportsAnchorPositioning } from './hooks/useSupportsAnchorPositioning';
|
|
35
37
|
import { default as useBreakpoints } from './hooks/useBreakpoints';
|
|
36
38
|
import { default as useDropdownLayer } from './hooks/useDropdownLayer';
|
|
39
|
+
import { default as useLockBodyScroll } from './hooks/useLockBodyScroll';
|
|
40
|
+
import { default as formatNumber } from './formatters/formatNumber';
|
|
37
41
|
/**
|
|
38
42
|
* Untyped Components
|
|
39
43
|
*/
|
|
@@ -44,13 +48,11 @@ declare const Drawer: any;
|
|
|
44
48
|
declare const DropdownTrigger: any;
|
|
45
49
|
declare const Error: any;
|
|
46
50
|
declare const FieldToken: any;
|
|
47
|
-
declare const FormSection: any;
|
|
48
51
|
declare const IconButton: any;
|
|
49
52
|
declare const Input: any;
|
|
50
53
|
declare const LoadingShim: any;
|
|
51
54
|
declare const MenuButton: any;
|
|
52
55
|
declare const MultiSelect: any;
|
|
53
|
-
declare const Pagination: any;
|
|
54
56
|
declare const Popover: any;
|
|
55
57
|
declare const ResponsiveFlex: any;
|
|
56
58
|
declare const Select: any;
|
|
@@ -60,8 +62,6 @@ declare const TextInput: any;
|
|
|
60
62
|
declare const TimelineEvent: any;
|
|
61
63
|
declare const Toggle: any;
|
|
62
64
|
declare const TokenInput: any;
|
|
63
|
-
declare const useLockBodyScroll: any;
|
|
64
|
-
declare const formatNumber: any;
|
|
65
65
|
declare const formatDate: any;
|
|
66
66
|
export * from './types/Icon.types';
|
|
67
67
|
export { Accordion, AccordionSet, AutocompleteModal, Avatar, Button, Checkbox, Chip, ContentCard, ContextMenu, Count, DisabledShim, Radio, RadioButtons, Row, SeparatorList, Slider, Snackbar, Alert, AnchoredDialog, CollapsibleCard, Combobox, DateInput, Dialog, Drawer, DropdownTrigger, Error, Field, FieldToken, FormSection, IconButton, Input, LoadingShim, LoadingSkeleton, MenuButton, MultiSelect, Pagination, ProgressBar, Popover, ResponsiveFlex, Select, Sidebar, Spinner, SplitButton, Table, TableAutocomplete, TableDateInput, TableInput, TableSelect, Tabs, Tag, TextInput, TimelineEvent, Toggle, TokenInput, Tooltip, TruncatedAccount, useBreakpoints, useDropdownLayer, useLockBodyScroll, useSupportsAnchorPositioning, formatNumber, formatDate, };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,SAAS,MAAM,aAAa,CAAC;AACpC,OAAO,YAAY,MAAM,gBAAgB,CAAC;AAC1C,OAAO,KAAK,MAAM,SAAS,CAAC;AAC5B,OAAO,cAAc,MAAM,kBAAkB,CAAC;AAC9C,OAAO,iBAAiB,MAAM,qBAAqB,CAAC;AACpD,OAAO,MAAM,MAAM,UAAU,CAAC;AAC9B,OAAO,MAAM,MAAM,UAAU,CAAC;AAC9B,OAAO,WAAW,MAAM,eAAe,CAAC;AACxC,OAAO,QAAQ,MAAM,YAAY,CAAC;AAClC,OAAO,IAAI,MAAM,QAAQ,CAAC;AAC1B,OAAO,WAAW,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,MAAM,SAAS,CAAC;AAC5B,OAAO,MAAM,MAAM,UAAU,CAAC;AAC9B,OAAO,YAAY,MAAM,gBAAgB,CAAC;AAC1C,OAAO,KAAK,MAAM,SAAS,CAAC;AAC5B,OAAO,WAAW,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,MAAM,SAAS,CAAC;AAC5B,OAAO,YAAY,MAAM,gBAAgB,CAAC;AAC1C,OAAO,GAAG,MAAM,OAAO,CAAC;AACxB,OAAO,aAAa,MAAM,iBAAiB,CAAC;AAC5C,OAAO,MAAM,MAAM,UAAU,CAAC;AAC9B,OAAO,QAAQ,MAAM,YAAY,CAAC;AAClC,OAAO,OAAO,MAAM,WAAW,CAAC;AAChC,OAAO,WAAW,MAAM,eAAe,CAAC;AACxC,OA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AgB,EAChB,iBAAiB,EACjB,4BAA4B,EAC5B,YAAY,EACZ,UAAU,GACX,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@narmi/design_system",
|
|
3
|
-
"version": "6.17.
|
|
3
|
+
"version": "6.17.2",
|
|
4
4
|
"description": "⚡ A consistent look-and-feel and extensible interface for Narmi experiences 🔥",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"style": "dist/style.css",
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"@babel/preset-env": "^7.15.6",
|
|
51
51
|
"@babel/preset-react": "^7.14.5",
|
|
52
52
|
"@babel/preset-typescript": "^7.23.2",
|
|
53
|
-
"@commitlint/cli": "^
|
|
53
|
+
"@commitlint/cli": "^21.0.2",
|
|
54
54
|
"@commitlint/config-conventional": "^20.5.0",
|
|
55
55
|
"@figma/code-connect": "^1.3.10",
|
|
56
56
|
"@mdx-js/mdx": "^3.1.0",
|