@newtonschool/grauity 1.1.0 → 1.1.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/hooks/useDisableBodyScroll.d.ts +2 -0
- package/dist/hooks/useDisableBodyScroll.d.ts.map +1 -1
- package/dist/hooks/useKeyboardEvent.d.ts +17 -8
- package/dist/hooks/useKeyboardEvent.d.ts.map +1 -1
- package/dist/index.d.ts +195 -109
- package/dist/index.d.ts.map +1 -1
- package/dist/main.cjs +1 -1
- package/dist/main.cjs.map +1 -1
- package/dist/module.mjs +1 -1
- package/dist/module.mjs.map +1 -1
- package/dist/stories/elements/Button/Gallery.stories.d.ts +1 -1
- package/dist/stories/elements/Button/index.stories.d.ts +1 -1
- package/dist/stories/elements/Calendar/WeeklyCalendar/index.stories.d.ts.map +1 -1
- package/dist/stories/elements/Chip/Gallery.stories.d.ts.map +1 -1
- package/dist/stories/elements/Chip/index.stories.d.ts.map +1 -1
- package/dist/stories/elements/DisableBodyScroll/index.stories.d.ts +11 -0
- package/dist/stories/elements/DisableBodyScroll/index.stories.d.ts.map +1 -0
- package/dist/stories/elements/Modal/ConfirmationDialog.stories.d.ts +2 -1
- package/dist/stories/elements/Modal/ConfirmationDialog.stories.d.ts.map +1 -1
- package/dist/stories/elements/Modal/ConfirmationDialogWithTrigger.stories.d.ts +3 -2
- package/dist/stories/elements/Modal/ConfirmationDialogWithTrigger.stories.d.ts.map +1 -1
- package/dist/stories/elements/Modal/MultiStepModal.stories.d.ts +1 -1
- package/dist/stories/elements/Modal/index.stories.d.ts +1 -1
- package/dist/stories/elements/Modal/multiStepArgs.d.ts.map +1 -1
- package/dist/stories/elements/Modal/singleStepArgs.d.ts.map +1 -1
- package/dist/stories/elements/MultiSelectDropdown/index.stories.d.ts.map +1 -1
- package/dist/ui/elements/BottomSheet/BottomSheet.d.ts.map +1 -1
- package/dist/ui/elements/BottomSheet/BottomSheet.styles.d.ts.map +1 -1
- package/dist/ui/elements/Button/Button.d.ts +1 -1
- package/dist/ui/elements/Button/Button.d.ts.map +1 -1
- package/dist/ui/elements/Button/types.d.ts +5 -10
- package/dist/ui/elements/Button/types.d.ts.map +1 -1
- package/dist/ui/elements/Calendar/WeeklyCalendar.d.ts.map +1 -1
- package/dist/ui/elements/Calendar/WeeklyCalendar.styles.d.ts +9 -0
- package/dist/ui/elements/Calendar/WeeklyCalendar.styles.d.ts.map +1 -1
- package/dist/ui/elements/Calendar/types.d.ts +5 -0
- package/dist/ui/elements/Calendar/types.d.ts.map +1 -1
- package/dist/ui/elements/Calendar/utils.d.ts +1 -0
- package/dist/ui/elements/Calendar/utils.d.ts.map +1 -1
- package/dist/ui/elements/Chip/Chip.d.ts.map +1 -1
- package/dist/ui/elements/Chip/Chip.styles.d.ts.map +1 -1
- package/dist/ui/elements/Chip/types.d.ts +6 -0
- package/dist/ui/elements/Chip/types.d.ts.map +1 -1
- package/dist/ui/elements/DisableBodyScroll/DisableBodyScroll.d.ts +5 -0
- package/dist/ui/elements/DisableBodyScroll/DisableBodyScroll.d.ts.map +1 -0
- package/dist/ui/elements/DisableBodyScroll/DisableBodyScroll.styles.d.ts +3 -0
- package/dist/ui/elements/DisableBodyScroll/DisableBodyScroll.styles.d.ts.map +1 -0
- package/dist/ui/elements/DisableBodyScroll/DisableBodyScroll.test.d.ts +2 -0
- package/dist/ui/elements/DisableBodyScroll/DisableBodyScroll.test.d.ts.map +1 -0
- package/dist/ui/elements/DisableBodyScroll/index.d.ts +3 -0
- package/dist/ui/elements/DisableBodyScroll/index.d.ts.map +1 -0
- package/dist/ui/elements/DisableBodyScroll/types.d.ts +17 -0
- package/dist/ui/elements/DisableBodyScroll/types.d.ts.map +1 -0
- package/dist/ui/elements/Icon/Icon.d.ts.map +1 -1
- package/dist/ui/elements/Modal/ConfirmationDialog/index.d.ts +2 -1
- package/dist/ui/elements/Modal/ConfirmationDialog/index.d.ts.map +1 -1
- package/dist/ui/elements/Modal/Modal.d.ts.map +1 -1
- package/dist/ui/elements/Modal/Modal.styles.d.ts +1 -1
- package/dist/ui/elements/Modal/Modal.styles.d.ts.map +1 -1
- package/dist/ui/elements/Modal/MultiStepModal/index.d.ts +1 -1
- package/dist/ui/elements/Modal/MultiStepModal/index.d.ts.map +1 -1
- package/dist/ui/elements/Modal/constants.d.ts +64 -0
- package/dist/ui/elements/Modal/constants.d.ts.map +1 -1
- package/dist/ui/elements/Modal/types.d.ts +59 -7
- package/dist/ui/elements/Modal/types.d.ts.map +1 -1
- package/dist/ui/elements/Modal/utils.d.ts +21 -0
- package/dist/ui/elements/Modal/utils.d.ts.map +1 -1
- package/dist/ui/elements/MultiSelectDropdown/DropdownListItem.d.ts +1 -1
- package/dist/ui/elements/MultiSelectDropdown/DropdownListItem.d.ts.map +1 -1
- package/dist/ui/elements/MultiSelectDropdown/MultiSelectDropdown.d.ts.map +1 -1
- package/dist/ui/elements/MultiSelectDropdown/MultiSelectDropdown.styles.d.ts +6 -5
- package/dist/ui/elements/MultiSelectDropdown/MultiSelectDropdown.styles.d.ts.map +1 -1
- package/dist/ui/elements/MultiSelectDropdown/types.d.ts +3 -0
- package/dist/ui/elements/MultiSelectDropdown/types.d.ts.map +1 -1
- package/dist/ui/elements/PopOver/PopOver.d.ts +2 -2
- package/dist/ui/elements/PopOver/PopOver.d.ts.map +1 -1
- package/dist/ui/elements/PopOver/PopOver.styles.d.ts.map +1 -1
- package/dist/ui/elements/PopOver/types.d.ts +8 -0
- package/dist/ui/elements/PopOver/types.d.ts.map +1 -1
- package/dist/ui/elements/SelectDropdown/SelectDropdown.d.ts.map +1 -1
- package/dist/ui/elements/SelectDropdown/SelectDropdown.styles.d.ts +0 -2
- package/dist/ui/elements/SelectDropdown/SelectDropdown.styles.d.ts.map +1 -1
- package/dist/ui/elements/SelectDropdown/types.d.ts +1 -1
- package/dist/ui/elements/SelectDropdown/types.d.ts.map +1 -1
- package/dist/ui/index.d.ts +1 -0
- package/dist/ui/index.d.ts.map +1 -1
- package/dist/ui/themes/GlobalStyle.d.ts +1 -1
- package/dist/ui/themes/GlobalStyle.d.ts.map +1 -1
- package/dist/ui/themes/ThemeProvider.d.ts.map +1 -1
- package/package.json +5 -2
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
+
import { StyledDivProps } from '../../../common/types';
|
|
2
3
|
import { ButtonVariants } from '../Button/types';
|
|
3
4
|
type ModalContentType = React.ReactNode;
|
|
5
|
+
export type ModalAnimationType = false | 'slide' | 'slide-reverse' | 'fade' | 'emanate';
|
|
4
6
|
interface ModalStep {
|
|
5
7
|
/**
|
|
6
8
|
* Banner for the modal, can be a valid React node
|
|
@@ -35,6 +37,11 @@ interface ModalStep {
|
|
|
35
37
|
buttonVariant?: ButtonVariants | null;
|
|
36
38
|
}
|
|
37
39
|
export interface ModalProps {
|
|
40
|
+
/**
|
|
41
|
+
* Determines if the modal is open.
|
|
42
|
+
* Available choices: `true`, `false`. Default is `false`
|
|
43
|
+
* */
|
|
44
|
+
isOpen: boolean;
|
|
38
45
|
/**
|
|
39
46
|
* Banner for the modal, can be a valid React node
|
|
40
47
|
* */
|
|
@@ -56,14 +63,14 @@ export interface ModalProps {
|
|
|
56
63
|
* */
|
|
57
64
|
action?: ModalContentType;
|
|
58
65
|
/**
|
|
59
|
-
* Determines if the modal should hide on click away
|
|
66
|
+
* Determines if the modal should hide on click away.
|
|
60
67
|
* Available choices: `true`, `false`
|
|
61
68
|
*
|
|
62
69
|
* Default: `false`
|
|
63
70
|
* */
|
|
64
71
|
hideOnClickAway: boolean;
|
|
65
72
|
/**
|
|
66
|
-
* Determines if the modal should blur the background
|
|
73
|
+
* Determines if the modal should blur the background.
|
|
67
74
|
* Available choices: `true`, `false`
|
|
68
75
|
*
|
|
69
76
|
* Default: `false`
|
|
@@ -74,7 +81,7 @@ export interface ModalProps {
|
|
|
74
81
|
* */
|
|
75
82
|
onHide?: () => void;
|
|
76
83
|
/**
|
|
77
|
-
* Determines if the modal should be full width on mobile
|
|
84
|
+
* Determines if the modal should be full width on mobile.
|
|
78
85
|
* Available choices: `true`, `false`
|
|
79
86
|
*
|
|
80
87
|
* Default: `false`
|
|
@@ -101,15 +108,34 @@ export interface ModalProps {
|
|
|
101
108
|
* */
|
|
102
109
|
minHeight?: string;
|
|
103
110
|
/**
|
|
104
|
-
* Determines if the close button should be shown
|
|
111
|
+
* Determines if the close button should be shown.
|
|
105
112
|
*
|
|
106
113
|
* Available choices: `true`, `false`
|
|
107
114
|
*
|
|
108
115
|
* Default: `false`
|
|
109
116
|
* */
|
|
110
117
|
showCloseButton?: boolean;
|
|
118
|
+
/**
|
|
119
|
+
* Determines if the modal should animate its opening and closing
|
|
120
|
+
*
|
|
121
|
+
* Available choices: `false`, `'slide'` `'slide-reverse'`, `'fade', 'emanate'`
|
|
122
|
+
*
|
|
123
|
+
* Default: `'fade'`
|
|
124
|
+
* */
|
|
125
|
+
animatePresence?: ModalAnimationType;
|
|
126
|
+
/**
|
|
127
|
+
* Click even object, to be passed by the onClick event for use with `emanate` modal animation
|
|
128
|
+
* */
|
|
129
|
+
clickEvent?: any;
|
|
111
130
|
}
|
|
112
131
|
export interface MultiStepModalProps {
|
|
132
|
+
/**
|
|
133
|
+
* Determines if the modal is open
|
|
134
|
+
* Available choices: true, false
|
|
135
|
+
*
|
|
136
|
+
* Default: `false`
|
|
137
|
+
* */
|
|
138
|
+
isOpen?: boolean;
|
|
113
139
|
/**
|
|
114
140
|
* Modal steps
|
|
115
141
|
* */
|
|
@@ -198,6 +224,18 @@ export interface MultiStepModalProps {
|
|
|
198
224
|
* Default: `false`
|
|
199
225
|
* */
|
|
200
226
|
showCloseButton?: boolean;
|
|
227
|
+
/**
|
|
228
|
+
* Ref for the modal
|
|
229
|
+
* */
|
|
230
|
+
modalRef?: React.MutableRefObject<any>;
|
|
231
|
+
/**
|
|
232
|
+
* Value of `animatePresence` prop to be passed to the Modal component
|
|
233
|
+
*
|
|
234
|
+
* Available choices: `false`, `'slide'` `'slide-reverse'`, `'fade'`
|
|
235
|
+
*
|
|
236
|
+
* Default: `'fade'`
|
|
237
|
+
* */
|
|
238
|
+
animatePresence?: ModalAnimationType;
|
|
201
239
|
}
|
|
202
240
|
export interface StyleData {
|
|
203
241
|
position?: string;
|
|
@@ -207,16 +245,14 @@ export interface ModalWrapperProps {
|
|
|
207
245
|
blurBackground?: boolean;
|
|
208
246
|
children: React.ReactNode;
|
|
209
247
|
}
|
|
210
|
-
export interface ModalContainerProps {
|
|
248
|
+
export interface ModalContainerProps extends StyledDivProps {
|
|
211
249
|
width?: string;
|
|
212
250
|
height?: string;
|
|
213
251
|
minHeight?: string;
|
|
214
252
|
mobileBottomFullWidth?: boolean;
|
|
215
253
|
modalPadding?: string;
|
|
216
|
-
onClick?: (e: Event) => void;
|
|
217
254
|
ref?: React.MutableRefObject<any>;
|
|
218
255
|
children: React.ReactNode;
|
|
219
|
-
role: string;
|
|
220
256
|
}
|
|
221
257
|
export interface ModalTitleProps {
|
|
222
258
|
id: string;
|
|
@@ -239,6 +275,10 @@ export interface ModalPaginationItemProps {
|
|
|
239
275
|
onClick: () => void;
|
|
240
276
|
}
|
|
241
277
|
export interface ConfirmationDialogProps {
|
|
278
|
+
/**
|
|
279
|
+
* Determines if the modal is open
|
|
280
|
+
* */
|
|
281
|
+
isOpen: boolean;
|
|
242
282
|
/**
|
|
243
283
|
* Text for the cancel button
|
|
244
284
|
* */
|
|
@@ -307,6 +347,18 @@ export interface ConfirmationDialogProps {
|
|
|
307
347
|
* Default: `false`
|
|
308
348
|
* */
|
|
309
349
|
mobileBottomFullWidth?: boolean;
|
|
350
|
+
/**
|
|
351
|
+
* Determines if the modal should animate its opening and closing
|
|
352
|
+
*
|
|
353
|
+
* Available choices: `false`, `'slide'` `'slide-reverse'`, `'fade'`
|
|
354
|
+
*
|
|
355
|
+
* Default: `'fade'`
|
|
356
|
+
* */
|
|
357
|
+
animatePresence?: ModalAnimationType;
|
|
358
|
+
/**
|
|
359
|
+
* Click event
|
|
360
|
+
* */
|
|
361
|
+
clickEvent?: any;
|
|
310
362
|
}
|
|
311
363
|
export {};
|
|
312
364
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../ui/elements/Modal/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAEjD,KAAK,gBAAgB,GAAG,KAAK,CAAC,SAAS,CAAC;AAExC,UAAU,SAAS;IACf;;SAEK;IACL,MAAM,CAAC,EAAE,gBAAgB,CAAC;IAE1B;;SAEK;IACL,KAAK,EAAE,gBAAgB,CAAC;IAExB;;SAEK;IACL,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAE5B;;SAEK;IACL,IAAI,CAAC,EAAE,gBAAgB,CAAC;IAExB;;SAEK;IACL,cAAc,CAAC,EAAE,MAAM,CAAC;IAExB;;;;;SAKK;IACL,cAAc,CAAC,EAAE,OAAO,CAAC;IAEzB;;SAEK;IACL,aAAa,CAAC,EAAE,cAAc,GAAG,IAAI,CAAC;CACzC;AAED,MAAM,WAAW,UAAU;IACvB;;SAEK;IACL,MAAM,CAAC,EAAE,gBAAgB,CAAC;IAE1B;;SAEK;IACL,KAAK,CAAC,EAAE,gBAAgB,CAAC;IAEzB;;SAEK;IACL,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;SAEK;IACL,IAAI,CAAC,EAAE,gBAAgB,CAAC;IAExB;;SAEK;IACL,MAAM,CAAC,EAAE,gBAAgB,CAAC;IAE1B;;;;;SAKK;IACL,eAAe,EAAE,OAAO,CAAC;IAEzB;;;;;SAKK;IACL,cAAc,CAAC,EAAE,OAAO,CAAC;IAEzB;;SAEK;IACL,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IAEpB;;;;;SAKK;IACL,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAEhC;;SAEK;IACL,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;;;;;;SAMK;IACL,eAAe,CAAC,EAAE,kBAAkB,CAAC;IAErC;;SAEK;IACL,UAAU,CAAC,EAAE,GAAG,CAAC;CACpB"}
|
|
@@ -1 +1,22 @@
|
|
|
1
|
+
import { ModalAnimationType } from './types';
|
|
2
|
+
/**
|
|
3
|
+
* Get the animation props for the modal. To be used with the `motion.div` component.
|
|
4
|
+
*
|
|
5
|
+
* @param animatePresence - The animation type to use.
|
|
6
|
+
* @returns The animation props.
|
|
7
|
+
*/
|
|
8
|
+
export declare const getModalAnimationProps: (animatePresence: ModalAnimationType, clickEvent?: any) => {};
|
|
9
|
+
/**
|
|
10
|
+
* Get whether the modal should render or not.
|
|
11
|
+
*
|
|
12
|
+
* @param paramisOpen - The modal's open state.
|
|
13
|
+
* @param animatePresence - The animation type to use.
|
|
14
|
+
* @param clickEvent - The click event.
|
|
15
|
+
* @returns Whether the modal should render or not.
|
|
16
|
+
*/
|
|
17
|
+
export declare const getShouldRender: ({ isOpen, animatePresence, clickEvent, }: {
|
|
18
|
+
isOpen: boolean;
|
|
19
|
+
animatePresence: ModalAnimationType;
|
|
20
|
+
clickEvent?: any;
|
|
21
|
+
}) => boolean;
|
|
1
22
|
//# sourceMappingURL=utils.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../ui/elements/Modal/utils.tsx"],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../ui/elements/Modal/utils.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAgC7C;;;;;GAKG;AACH,eAAO,MAAM,sBAAsB,oBACd,kBAAkB,eACtB,GAAG,OAwBnB,CAAC;AAEF;;;;;;;GAOG;AACH,eAAO,MAAM,eAAe;YAKhB,OAAO;qBACE,kBAAkB;iBACtB,GAAG;aAanB,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { DropdownListItemProps } from './types';
|
|
2
|
-
declare const DropdownListItem: ({ displayText, onClickFn, isSelected, }: DropdownListItemProps) => JSX.Element;
|
|
2
|
+
declare const DropdownListItem: ({ displayText, onClickFn, isSelected, autoFocus, }: DropdownListItemProps) => JSX.Element;
|
|
3
3
|
export default DropdownListItem;
|
|
4
4
|
//# sourceMappingURL=DropdownListItem.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DropdownListItem.d.ts","sourceRoot":"","sources":["../../../../ui/elements/MultiSelectDropdown/DropdownListItem.tsx"],"names":[],"mappings":"AAQA,OAAO,EAAE,qBAAqB,EAAE,MAAM,SAAS,CAAC;AAEhD,QAAA,MAAM,gBAAgB,
|
|
1
|
+
{"version":3,"file":"DropdownListItem.d.ts","sourceRoot":"","sources":["../../../../ui/elements/MultiSelectDropdown/DropdownListItem.tsx"],"names":[],"mappings":"AAQA,OAAO,EAAE,qBAAqB,EAAE,MAAM,SAAS,CAAC;AAEhD,QAAA,MAAM,gBAAgB,uDAKnB,qBAAqB,gBA8BvB,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MultiSelectDropdown.d.ts","sourceRoot":"","sources":["../../../../ui/elements/MultiSelectDropdown/MultiSelectDropdown.tsx"],"names":[],"mappings":"AACA,OAAO,
|
|
1
|
+
{"version":3,"file":"MultiSelectDropdown.d.ts","sourceRoot":"","sources":["../../../../ui/elements/MultiSelectDropdown/MultiSelectDropdown.tsx"],"names":[],"mappings":"AACA,OAAO,KAON,MAAM,OAAO,CAAC;AAgBf,OAAO,EAAkB,wBAAwB,EAAE,MAAM,SAAS,CAAC;AAEnE,QAAA,MAAM,mBAAmB,oGA0KvB,CAAC;AAEH,eAAe,mBAAmB,CAAC"}
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import {
|
|
2
|
+
import { StyledDivProps } from '../../../common/types';
|
|
3
|
+
import { StyledDropdownHeaderProps, StyledDropdownItemTextProps, StyledDropdownListItemProps, StyledDropdownListProps, StyledDropdownSearchInputProps, StyledDropdownWrapperProps } from './types';
|
|
3
4
|
export declare const StyledDropdownWrapper: import("styled-components").StyledComponent<string, any, StyledDropdownWrapperProps, never>;
|
|
4
5
|
export declare const StyledDropdownHeader: import("styled-components").StyledComponent<string, any, StyledDropdownHeaderProps, never>;
|
|
5
|
-
export declare const StyledDropdownHeaderTitle: import("styled-components").StyledComponent<string, any,
|
|
6
|
-
export declare const StyledDropdownContainer: import("styled-components").StyledComponent<string, any,
|
|
7
|
-
export declare const StyledDropdownList: import("styled-components").StyledComponent<string, any,
|
|
6
|
+
export declare const StyledDropdownHeaderTitle: import("styled-components").StyledComponent<string, any, StyledDivProps, never>;
|
|
7
|
+
export declare const StyledDropdownContainer: import("styled-components").StyledComponent<string, any, StyledDivProps, never>;
|
|
8
|
+
export declare const StyledDropdownList: import("styled-components").StyledComponent<string, any, StyledDropdownListProps, never>;
|
|
8
9
|
export declare const StyledDropdownListItem: import("styled-components").StyledComponent<string, any, StyledDropdownListItemProps, never>;
|
|
9
10
|
export declare const StyledDropdownItemCheckbox: import("styled-components").StyledComponent<string, any, {}, never>;
|
|
10
11
|
export declare const StyledDropdownItemText: import("styled-components").StyledComponent<string, any, StyledDropdownItemTextProps, never>;
|
|
11
12
|
export declare const StyledDropdownSearchContainer: import("styled-components").StyledComponent<string, any, {}, never>;
|
|
12
13
|
export declare const StyledDropdownSearchInput: import("styled-components").StyledComponent<string, any, StyledDropdownSearchInputProps, never>;
|
|
13
|
-
export declare const StyledApplyButton: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("../Button").ButtonProps & import("react").RefAttributes<HTMLButtonElement>>, any, {}, never>;
|
|
14
|
+
export declare const StyledApplyButton: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<Omit<import("../Button").ButtonProps, "ref"> & import("react").RefAttributes<HTMLButtonElement>>, any, {}, never>;
|
|
14
15
|
//# sourceMappingURL=MultiSelectDropdown.styles.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MultiSelectDropdown.styles.d.ts","sourceRoot":"","sources":["../../../../ui/elements/MultiSelectDropdown/MultiSelectDropdown.styles.ts"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"MultiSelectDropdown.styles.d.ts","sourceRoot":"","sources":["../../../../ui/elements/MultiSelectDropdown/MultiSelectDropdown.styles.ts"],"names":[],"mappings":";AAEA,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAEvD,OAAO,EACH,yBAAyB,EACzB,2BAA2B,EAC3B,2BAA2B,EAC3B,uBAAuB,EACvB,8BAA8B,EAC9B,0BAA0B,EAC7B,MAAM,SAAS,CAAC;AAEjB,eAAO,MAAM,qBAAqB,6FAMjC,CAAC;AAEF,eAAO,MAAM,oBAAoB,4FAchC,CAAC;AAEF,eAAO,MAAM,yBAAyB,iFASrC,CAAC;AAEF,eAAO,MAAM,uBAAuB,iFAcnC,CAAC;AAEF,eAAO,MAAM,kBAAkB,0FAG9B,CAAC;AAEF,eAAO,MAAM,sBAAsB,8FA8BlC,CAAC;AAEF,eAAO,MAAM,0BAA0B,qEAItC,CAAC;AAEF,eAAO,MAAM,sBAAsB,8FAUlC,CAAC;AAEF,eAAO,MAAM,6BAA6B,qEAYzC,CAAC;AAEF,eAAO,MAAM,yBAAyB,iGAUrC,CAAC;AAEF,eAAO,MAAM,iBAAiB,yMAG7B,CAAC"}
|
|
@@ -54,11 +54,14 @@ export interface DropdownListItemProps {
|
|
|
54
54
|
displayText: string;
|
|
55
55
|
onClickFn: () => void;
|
|
56
56
|
isSelected?: boolean;
|
|
57
|
+
autoFocus?: boolean;
|
|
57
58
|
}
|
|
58
59
|
export interface StyledDropdownWrapperProps extends StyledSelectProps {
|
|
59
60
|
}
|
|
60
61
|
export interface StyledDropdownHeaderProps extends StyledButtonProps {
|
|
61
62
|
}
|
|
63
|
+
export interface StyledDropdownListProps extends StyledDivProps {
|
|
64
|
+
}
|
|
62
65
|
export interface StyledDropdownListItemProps extends StyledButtonProps {
|
|
63
66
|
}
|
|
64
67
|
export interface StyledDropdownSearchInputProps extends StyledInputProps {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../ui/elements/MultiSelectDropdown/types.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,iBAAiB,EACjB,cAAc,EACd,gBAAgB,EAChB,iBAAiB,EACpB,MAAM,uBAAuB,CAAC;AAE/B,MAAM,WAAW,cAAc;IAC3B,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,wBAAwB;IACrC;;;OAGG;IACH,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAE7B;;;OAGG;IACH,OAAO,CAAC,EAAE,GAAG,CAAC,cAAc,CAAC,CAAC;IAE9B;;;OAGG;IACH,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAE7B;;;OAGG;IACH,mBAAmB,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAE9C;;;OAGG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAE3B;;;OAGG;IACH,uBAAuB,CAAC,EAAE,OAAO,CAAC;IAElC;;;OAGG;IACH,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAE7B;;;OAGG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IAEvB;;;OAGG;IACH,eAAe,CAAC,EAAE,CAAC,OAAO,EAAE,GAAG,CAAC,cAAc,CAAC,KAAK,IAAI,CAAC;CAC5D;AAED,MAAM,WAAW,qBAAqB;IAClC,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,MAAM,IAAI,CAAC;IACtB,UAAU,CAAC,EAAE,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../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E3E,MAAM,WAAW,2BAA4B,SAAQ,cAAc;IAC/D,SAAS,CAAC,EAAE,OAAO,CAAC;CACvB"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import { PopOverProps } from './types';
|
|
3
|
-
export default function PopOver(props: PopOverProps):
|
|
3
|
+
export default function PopOver(props: PopOverProps): JSX.Element;
|
|
4
4
|
//# sourceMappingURL=PopOver.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PopOver.d.ts","sourceRoot":"","sources":["../../../../ui/elements/PopOver/PopOver.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"PopOver.d.ts","sourceRoot":"","sources":["../../../../ui/elements/PopOver/PopOver.tsx"],"names":[],"mappings":";AAMA,OAAO,EAAmC,YAAY,EAAE,MAAM,SAAS,CAAC;AAExE,MAAM,CAAC,OAAO,UAAU,OAAO,CAAC,KAAK,EAAE,YAAY,eAkOlD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PopOver.styles.d.ts","sourceRoot":"","sources":["../../../../ui/elements/PopOver/PopOver.styles.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,2BAA2B,EAAE,MAAM,SAAS,CAAC;AAEtD,eAAO,MAAM,sBAAsB,
|
|
1
|
+
{"version":3,"file":"PopOver.styles.d.ts","sourceRoot":"","sources":["../../../../ui/elements/PopOver/PopOver.styles.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,2BAA2B,EAAE,MAAM,SAAS,CAAC;AAEtD,eAAO,MAAM,sBAAsB,8FAuBlC,CAAC"}
|
|
@@ -56,6 +56,14 @@ export interface PopOverProps {
|
|
|
56
56
|
* @default false
|
|
57
57
|
*/
|
|
58
58
|
disableBackgroundScroll?: boolean;
|
|
59
|
+
/**
|
|
60
|
+
* Width of the PopOver Content.
|
|
61
|
+
*/
|
|
62
|
+
width?: string;
|
|
63
|
+
/**
|
|
64
|
+
* Height of the PopOver Content.
|
|
65
|
+
*/
|
|
66
|
+
height?: string;
|
|
59
67
|
}
|
|
60
68
|
export interface StyledPopOverContainerProps extends StyledDivProps {
|
|
61
69
|
$offset?: PopOverOffset;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../ui/elements/PopOver/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAEvD,MAAM,MAAM,gBAAgB,GAAG,KAAK,GAAG,OAAO,GAAG,QAAQ,GAAG,MAAM,CAAC;AAEnE,MAAM,MAAM,aAAa,GAAG;IACxB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,MAAM,WAAW,YAAY;IACzB;;;OAGG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IAEjB;;;OAGG;IACH,UAAU,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC;IAElC;;;OAGG;IACH,SAAS,CAAC,EAAE,gBAAgB,CAAC;IAE7B;;OAEG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAE3B;;;OAGG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IAErB;;;OAGG;IACH,SAAS,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC;IAEjC;;;OAGG;IACH,aAAa,CAAC,EAAE,aAAa,CAAC;IAE9B;;;OAGG;IACH,yBAAyB,CAAC,EAAE,OAAO,CAAC;IAEpC;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IAErB;;;OAGG;IACH,uBAAuB,CAAC,EAAE,OAAO,CAAC;
|
|
1
|
+
{"version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-1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SelectDropdown.d.ts","sourceRoot":"","sources":["../../../../ui/elements/SelectDropdown/SelectDropdown.tsx"],"names":[],"mappings":"AACA,OAAO,KAAoD,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"SelectDropdown.d.ts","sourceRoot":"","sources":["../../../../ui/elements/SelectDropdown/SelectDropdown.tsx"],"names":[],"mappings":"AACA,OAAO,KAAoD,MAAM,OAAO,CAAC;AAczE,OAAO,EAAkB,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAE9D,QAAA,MAAM,cAAc,+FAqFnB,CAAC;AAEF,eAAe,cAAc,CAAC"}
|
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { StyledDivProps } from '../../../common/types';
|
|
3
2
|
import { StyledDropdownSearchInputProps, StyledSelectDropdownItemProps, StyledSelectDropdownWrapperProps } from './types';
|
|
4
3
|
export declare const StyledSelectDropdownWrapper: import("styled-components").StyledComponent<string, any, StyledSelectDropdownWrapperProps, never>;
|
|
5
|
-
export declare const StyledSelectDropdownButton: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("../Button").ButtonProps & import("react").RefAttributes<HTMLButtonElement>>, any, {}, never>;
|
|
6
4
|
export declare const StyledSelectDropdownContainer: import("styled-components").StyledComponent<string, any, StyledDivProps, never>;
|
|
7
5
|
export declare const StyledSelectDropdownList: import("styled-components").StyledComponent<string, any, {}, never>;
|
|
8
6
|
export declare const StyledSelectDropdownItem: import("styled-components").StyledComponent<string, any, StyledSelectDropdownItemProps, never>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SelectDropdown.styles.d.ts","sourceRoot":"","sources":["../../../../ui/elements/SelectDropdown/SelectDropdown.styles.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SelectDropdown.styles.d.ts","sourceRoot":"","sources":["../../../../ui/elements/SelectDropdown/SelectDropdown.styles.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AACvD,OAAO,EACH,8BAA8B,EAC9B,6BAA6B,EAC7B,gCAAgC,EACnC,MAAM,SAAS,CAAC;AAEjB,eAAO,MAAM,2BAA2B,mGAIvC,CAAC;AAEF,eAAO,MAAM,6BAA6B,iFAkBzC,CAAC;AAEF,eAAO,MAAM,wBAAwB,qEAGpC,CAAC;AAEF,eAAO,MAAM,wBAAwB,gGA4BpC,CAAC;AAEF,eAAO,MAAM,6BAA6B,qEAYzC,CAAC;AAEF,eAAO,MAAM,yBAAyB,iGASrC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../ui/elements/SelectDropdown/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAE1C,OAAO,EACH,iBAAiB,EACjB,gBAAgB,EAChB,iBAAiB,EACpB,MAAM,uBAAuB,CAAC;AAE/B,MAAM,WAAW,cAAc;IAC3B,EAAE,EAAE,MAAM,GAAG,MAAM,CAAC;IACpB,KAAK,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,mBAAmB;IAChC;;;OAGG;IACH,OAAO,CAAC,EAAE,GAAG,CAAC,cAAc,CAAC,CAAC;IAE9B;;OAEG;IACH,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../ui/elements/SelectDropdown/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAE1C,OAAO,EACH,iBAAiB,EACjB,gBAAgB,EAChB,iBAAiB,EACpB,MAAM,uBAAuB,CAAC;AAE/B,MAAM,WAAW,cAAc;IAC3B,EAAE,EAAE,MAAM,GAAG,MAAM,CAAC;IACpB,KAAK,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,mBAAmB;IAChC;;;OAGG;IACH,OAAO,CAAC,EAAE,GAAG,CAAC,cAAc,CAAC,CAAC;IAE9B;;OAEG;IACH,IAAI,CAAC,EAAE,eAAe,CAAC;IAEvB;;;OAGG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd;;;OAGG;IACH,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAE7B;;;OAGG;IACH,mBAAmB,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAE9C;;;OAGG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAE3B;;;OAGG;IACH,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE,cAAc,KAAK,IAAI,CAAC;IAE5C;;;OAGG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;CAC1B;AAED,MAAM,WAAW,gCAAiC,SAAQ,iBAAiB;CAAG;AAE9E,MAAM,WAAW,6BAA8B,SAAQ,iBAAiB;IACpE,SAAS,CAAC,EAAE,OAAO,CAAC;CACvB;AAED,MAAM,WAAW,8BAA+B,SAAQ,gBAAgB;CAAG"}
|
package/dist/ui/index.d.ts
CHANGED
|
@@ -15,4 +15,5 @@ export { default as NSPopOver, type PopOverProps } from './elements/PopOver';
|
|
|
15
15
|
export { type BottomSheetProps, default as NSBottomSheet, } from './elements/BottomSheet';
|
|
16
16
|
export { type CalendarEventProps, CalendarEvent as NSCalendarEvent, } from './elements/Calendar';
|
|
17
17
|
export { default as NSWeeklyCalendar, type WeeklyCalendarProps, } from './elements/Calendar';
|
|
18
|
+
export { type DisableBodyScrollProps, default as NSDisableBodyScroll, } from './elements/DisableBodyScroll';
|
|
18
19
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/ui/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../ui/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AAC9C,YAAY,EAAE,gBAAgB,E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\n --neutral-600: #8C95A6;\n --neutral-700: #5B6271;\n --neutral-750: #30363D;\n --neutral-800: #23282F;\n --neutral-900: #16191D;\n --neutral-1000: #0B0C0E;\n\n --brand-0: #E5F1FF;\n --brand-100: #C2DDFF;\n --brand-200: #94C4FF;\n --brand-300: #61A8FF;\n --brand-400: #2989FF;\n --brand-500: #0673F9;\n --brand-600: #005ED1;\n --brand-700: #004599;\n --brand-800: #003270;\n --brand-900: #002452;\n\n --error-0: #FFE5E7;\n --error-100: #FBBBBF;\n --error-200: #FA9499;\n --error-300: #F8636B;\n --error-400: #EE3F44;\n --error-500: #D22D3A;\n --error-600: #A01B22;\n --error-700: #7E1219;\n --error-800: #63080D;\n --error-900: #4A040A;\n\n --success-0: #D9FCED;\n --success-100: #ACF7D3;\n --success-200: #7EE7B8;\n --success-300: #50CE99;\n --success-400: #13B97C;\n --success-500: #009965;\n --success-600: #007A51;\n --success-700: #005C3D;\n --success-800: #003D29;\n --success-900: #002D1E;\n\n --warning-0: #FFF1E5;\n --warning-100: #FFD2BA;\n --warning-200: #FFB286;\n --warning-300: #FD9254;\n --warning-400: #F37216;\n --warning-500: #DE5A02;\n --warning-600: #A83E00;\n --warning-700: #802D00;\n --warning-800: #5C1F00;\n --warning-900: #441704;\n\n --yellow-0: #FFF3D6;\n --yellow-100: #FFE4AD;\n --yellow-200: #FFD580;\n --yellow-300: #FEC553;\n --yellow-400: #FEB000;\n --yellow-500: #F59700;\n --yellow-600: #D17300;\n --yellow-700: #944500;\n --yellow-800: #5C2900;\n --yellow-900: #3D1A00;\n\n --purple-0: #F5E5FF;\n --purple-100: #E1D1FF;\n --purple-200: #CEBCFE;\n --purple-300: #B49DFE;\n --purple-400: #967CFD;\n --purple-500: #7B55EE;\n --purple-600: #6138D3;\n --purple-700: #46279B;\n --purple-800: #331D72;\n --purple-900: #221056;\n\n --alpha-20: rgba(255, 255, 255, 0.20);\n --alpha-12: rgba(255, 255, 255, 0.12);\n --alpha-80: rgba(255, 255, 255, 0.80);\n --alpha-overlay: rgba(22, 25, 29, 0.80);\n\n --spacing-0px: 0px;\n --spacing-1px: 1px;\n --spacing-2px: 2px;\n --spacing-3px: 3px;\n --spacing-4px: 4px;\n --spacing-5px: 5px;\n --spacing-6px: 6px;\n --spacing-7px: 7px;\n --spacing-8px: 8px;\n --spacing-9px: 9px;\n --spacing-10px: 10px;\n --spacing-12px: 12px;\n --spacing-14px: 14px;\n --spacing-16px: 16px;\n --spacing-18px: 18px;\n --spacing-20px: 20px;\n --spacing-24px: 24px;\n --spacing-28px: 28px;\n --spacing-32px: 32px;\n --spacing-36px: 36px;\n --spacing-40px: 40px;\n --spacing-48px: 48px;\n --spacing-56px: 56px;\n --spacing-64px: 64px;\n --spacing-72px: 72px;\n --spacing-80px: 80px;\n --spacing-128px: 128px;\n --spacing-160px: 160px;\n\n --corner-radius-0px: 0px;\n --corner-radius-2px: 2px;\n --corner-radius-4px: 4px;\n --corner-radius-8px: 8px;\n --corner-radius-12px: 12px;\n --corner-radius-16px: 16px;\n --corner-radius-20px: 20px;\n --corner-radius-24px: 24px;\n --corner-radius-32px: 32px;\n --corner-radius-40px: 40px;\n --corner-radius-50percent: 50%;\n --corner-radius-100percent: 100%;\n\n --font-size-2px: 2px;\n --font-size-4px: 4px;\n --font-size-6px: 6px;\n --font-size-8px: 8px;\n --font-size-10px: 10px;\n --font-size-11px: 11px;\n --font-size-12px: 12px;\n --font-size-14px: 14px;\n --font-size-16px: 16px;\n --font-size-18px: 18px;\n --font-size-20px: 20px;\n --font-size-24px: 24px;\n --font-size-28px: 28px;\n --font-size-32px: 32px;\n --font-size-36px: 36px;\n --font-size-40px: 40px;\n --font-size-48px: 48px;\n --font-size-56px: 56px;\n --font-size-64px: 64px;\n --font-size-72px: 72px;\n --font-size-80px: 80px;\n --font-size-96px: 96px;\n\n --font-weight-100: 100;\n --font-weight-200: 200;\n --font-weight-300: 300;\n --font-weight-400: 400;\n --font-weight-450: 450;\n --font-weight-500: 500;\n --font-weight-550: 550;\n --font-weight-600: 600;\n --font-weight-650: 650;\n --font-weight-700: 700;\n --font-weight-800: 800;\n --font-weight-900: 900;\n\n --font-weight-medium: var(--font-weight-450);\n --font-weight-semibold: var(--font-weight-550);\n --font-weight-bold: var(--font-weight-650);\n\n --backdrop-blur-0: blur(0px);\n --backdrop-blur-4px: blur(4px);\n --backdrop-blur-8px: blur(8px);\n --backdrop-blur-12px: blur(12px);\n --backdrop-blur-16px: blur(16px);\n --backdrop-blur-20px: blur(20px);\n\n --backdrop-blur: var(--backdrop-blur-8px);\n";
|
|
1
|
+
export declare const constantGlobalStyle = "\n --neutral-0: #FFFFFF;\n --neutral-100: #F6F7F9;\n --neutral-200: #EDEFF3;\n --neutral-300: #E1E5EA;\n --neutral-400: #C9CFD9;\n --neutral-500: #B2B9C7;\n --neutral-600: #8C95A6;\n --neutral-700: #5B6271;\n --neutral-750: #30363D;\n --neutral-800: #23282F;\n --neutral-900: #16191D;\n --neutral-1000: #0B0C0E;\n\n --brand-0: #E5F1FF;\n --brand-100: #C2DDFF;\n --brand-200: #94C4FF;\n --brand-300: #61A8FF;\n --brand-400: #2989FF;\n --brand-500: #0673F9;\n --brand-600: #005ED1;\n --brand-700: #004599;\n --brand-800: #003270;\n --brand-900: #002452;\n\n --error-0: #FFE5E7;\n --error-100: #FBBBBF;\n --error-200: #FA9499;\n --error-300: #F8636B;\n --error-400: #EE3F44;\n --error-500: #D22D3A;\n --error-600: #A01B22;\n --error-700: #7E1219;\n --error-800: #63080D;\n --error-900: #4A040A;\n\n --success-0: #D9FCED;\n --success-100: #ACF7D3;\n --success-200: #7EE7B8;\n --success-300: #50CE99;\n --success-400: #13B97C;\n --success-500: #009965;\n --success-600: #007A51;\n --success-700: #005C3D;\n --success-800: #003D29;\n --success-900: #002D1E;\n\n --warning-0: #FFF1E5;\n --warning-100: #FFD2BA;\n --warning-200: #FFB286;\n --warning-300: #FD9254;\n --warning-400: #F37216;\n --warning-500: #DE5A02;\n --warning-600: #A83E00;\n --warning-700: #802D00;\n --warning-800: #5C1F00;\n --warning-900: #441704;\n\n --yellow-0: #FFF3D6;\n --yellow-100: #FFE4AD;\n --yellow-200: #FFD580;\n --yellow-300: #FEC553;\n --yellow-400: #FEB000;\n --yellow-500: #F59700;\n --yellow-600: #D17300;\n --yellow-700: #944500;\n --yellow-800: #5C2900;\n --yellow-900: #3D1A00;\n\n --purple-0: #F5E5FF;\n --purple-100: #E1D1FF;\n --purple-200: #CEBCFE;\n --purple-300: #B49DFE;\n --purple-400: #967CFD;\n --purple-500: #7B55EE;\n --purple-600: #6138D3;\n --purple-700: #46279B;\n --purple-800: #331D72;\n --purple-900: #221056;\n\n --alpha-20: rgba(255, 255, 255, 0.20);\n --alpha-12: rgba(255, 255, 255, 0.12);\n --alpha-80: rgba(255, 255, 255, 0.80);\n --alpha-overlay: rgba(22, 25, 29, 0.80);\n\n --spacing-0px: 0px;\n --spacing-1px: 1px;\n --spacing-2px: 2px;\n --spacing-3px: 3px;\n --spacing-4px: 4px;\n --spacing-5px: 5px;\n --spacing-6px: 6px;\n --spacing-7px: 7px;\n --spacing-8px: 8px;\n --spacing-9px: 9px;\n --spacing-10px: 10px;\n --spacing-12px: 12px;\n --spacing-14px: 14px;\n --spacing-16px: 16px;\n --spacing-18px: 18px;\n --spacing-20px: 20px;\n --spacing-24px: 24px;\n --spacing-28px: 28px;\n --spacing-32px: 32px;\n --spacing-36px: 36px;\n --spacing-40px: 40px;\n --spacing-48px: 48px;\n --spacing-56px: 56px;\n --spacing-64px: 64px;\n --spacing-72px: 72px;\n --spacing-80px: 80px;\n --spacing-128px: 128px;\n --spacing-160px: 160px;\n\n --corner-radius-0px: 0px;\n --corner-radius-2px: 2px;\n --corner-radius-4px: 4px;\n --corner-radius-8px: 8px;\n --corner-radius-12px: 12px;\n --corner-radius-16px: 16px;\n --corner-radius-20px: 20px;\n --corner-radius-24px: 24px;\n --corner-radius-32px: 32px;\n --corner-radius-40px: 40px;\n --corner-radius-50percent: 50%;\n --corner-radius-100percent: 100%;\n\n --font-size-2px: 2px;\n --font-size-4px: 4px;\n --font-size-6px: 6px;\n --font-size-8px: 8px;\n --font-size-10px: 10px;\n --font-size-11px: 11px;\n --font-size-12px: 12px;\n --font-size-14px: 14px;\n --font-size-16px: 16px;\n --font-size-18px: 18px;\n --font-size-20px: 20px;\n --font-size-24px: 24px;\n --font-size-28px: 28px;\n --font-size-32px: 32px;\n --font-size-36px: 36px;\n --font-size-40px: 40px;\n --font-size-48px: 48px;\n --font-size-56px: 56px;\n --font-size-64px: 64px;\n --font-size-72px: 72px;\n --font-size-80px: 80px;\n --font-size-96px: 96px;\n\n --font-weight-100: 100;\n --font-weight-200: 200;\n --font-weight-300: 300;\n --font-weight-400: 400;\n --font-weight-450: 450;\n --font-weight-500: 500;\n --font-weight-550: 550;\n --font-weight-600: 600;\n --font-weight-650: 650;\n --font-weight-700: 700;\n --font-weight-800: 800;\n --font-weight-900: 900;\n\n --font-weight-medium: var(--font-weight-450);\n --font-weight-semibold: var(--font-weight-550);\n --font-weight-bold: var(--font-weight-650);\n\n --backdrop-blur-0: blur(0px);\n --backdrop-blur-4px: blur(4px);\n --backdrop-blur-8px: blur(8px);\n --backdrop-blur-12px: blur(12px);\n --backdrop-blur-16px: blur(16px);\n --backdrop-blur-20px: blur(20px);\n\n --backdrop-blur: var(--backdrop-blur-8px);\n\n --z-index-disable-body-scroll-hoc: 2000;\n --z-index-tooltip: 1500;\n --z-index-dropdown: 1400;\n --z-index-bottomsheet: 1300;\n --z-index-bottomsheet-overlay: 1250;\n --z-index-popover: 1200;\n --z-index-popover-overlay: 1150;\n --z-index-modal: 1100;\n --z-index-modal-overlay: 1050;\n --z-index-drawer: 1000;\n --z-index-drawer-overlay: 950;\n";
|
|
2
2
|
declare const GlobalStyle: import("styled-components").GlobalStyleComponent<any, import("styled-components").DefaultTheme>;
|
|
3
3
|
export default GlobalStyle;
|
|
4
4
|
//# sourceMappingURL=GlobalStyle.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GlobalStyle.d.ts","sourceRoot":"","sources":["../../../ui/themes/GlobalStyle.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,mBAAmB,
|
|
1
|
+
{"version":3,"file":"GlobalStyle.d.ts","sourceRoot":"","sources":["../../../ui/themes/GlobalStyle.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,mBAAmB,uiKA2L/B,CAAC;AAEF,QAAA,MAAM,WAAW,iGAmNhB,CAAC;AAEF,eAAe,WAAW,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ThemeProvider.d.ts","sourceRoot":"","sources":["../../../ui/themes/ThemeProvider.tsx"],"names":[],"mappings":"AAOA;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"ThemeProvider.d.ts","sourceRoot":"","sources":["../../../ui/themes/ThemeProvider.tsx"],"names":[],"mappings":"AAOA;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAmBhC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@newtonschool/grauity",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.2",
|
|
4
4
|
"description": "Design System for Newton School",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Newton School",
|
|
@@ -179,7 +179,10 @@
|
|
|
179
179
|
},
|
|
180
180
|
"dependencies": {
|
|
181
181
|
"classnames": "^2.3.2",
|
|
182
|
-
"
|
|
182
|
+
"framer-motion": "^11.11.1",
|
|
183
|
+
"lodash": "^4.17.21",
|
|
184
|
+
"react-container-dimensions": "^1.4.1",
|
|
185
|
+
"react-shimmer": "^3.2.0"
|
|
183
186
|
},
|
|
184
187
|
"peerDependencies": {
|
|
185
188
|
"react": "18.2.0",
|