nurseitaly-components 0.0.1
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/README.md +93 -0
- package/dist/basic/Avatar/Avatar.d.ts +12 -0
- package/dist/basic/Avatar/Avatar.js +24 -0
- package/dist/basic/Avatar/avatar.png +0 -0
- package/dist/basic/Avatar/index.d.ts +2 -0
- package/dist/basic/Avatar/index.js +2 -0
- package/dist/basic/Avatar/styles.scss +80 -0
- package/dist/basic/Badge/Badge.d.ts +13 -0
- package/dist/basic/Badge/Badge.js +17 -0
- package/dist/basic/Badge/index.d.ts +2 -0
- package/dist/basic/Badge/index.js +2 -0
- package/dist/basic/Badge/styles.scss +68 -0
- package/dist/basic/Button/Button.d.ts +25 -0
- package/dist/basic/Button/Button.js +42 -0
- package/dist/basic/Button/index.d.ts +2 -0
- package/dist/basic/Button/index.js +2 -0
- package/dist/basic/Button/logo-ud.png +0 -0
- package/dist/basic/Button/styles.scss +248 -0
- package/dist/basic/CheckboxField/CheckboxField.d.ts +10 -0
- package/dist/basic/CheckboxField/CheckboxField.js +9 -0
- package/dist/basic/CheckboxField/index.d.ts +2 -0
- package/dist/basic/CheckboxField/index.js +2 -0
- package/dist/basic/CheckboxField/style.scss +4 -0
- package/dist/basic/DatePickerField/DatePickerField.d.ts +26 -0
- package/dist/basic/DatePickerField/DatePickerField.js +90 -0
- package/dist/basic/DatePickerField/DatePickerTheme.d.ts +2 -0
- package/dist/basic/DatePickerField/DatePickerTheme.js +59 -0
- package/dist/basic/DatePickerField/index.d.ts +1 -0
- package/dist/basic/DatePickerField/index.js +1 -0
- package/dist/basic/DatePickerField/styles.scss +26 -0
- package/dist/basic/DropdownButton/DropdownButton.d.ts +18 -0
- package/dist/basic/DropdownButton/DropdownButton.js +44 -0
- package/dist/basic/DropdownButton/index.d.ts +2 -0
- package/dist/basic/DropdownButton/index.js +2 -0
- package/dist/basic/DropdownButton/styles.scss +172 -0
- package/dist/basic/DropdownList/DropdownItemList.d.ts +16 -0
- package/dist/basic/DropdownList/DropdownItemList.js +17 -0
- package/dist/basic/DropdownList/DropdownList.d.ts +9 -0
- package/dist/basic/DropdownList/DropdownList.js +10 -0
- package/dist/basic/DropdownList/index.d.ts +2 -0
- package/dist/basic/DropdownList/index.js +2 -0
- package/dist/basic/DropdownList/styles.scss +56 -0
- package/dist/basic/DropdownMenu/DropdownMenu.d.ts +13 -0
- package/dist/basic/DropdownMenu/DropdownMenu.js +12 -0
- package/dist/basic/DropdownMenu/index.d.ts +2 -0
- package/dist/basic/DropdownMenu/index.js +2 -0
- package/dist/basic/DropdownMenu/styles.scss +54 -0
- package/dist/basic/Dummy/Dummy.d.ts +9 -0
- package/dist/basic/Dummy/Dummy.js +8 -0
- package/dist/basic/Dummy/index.d.ts +2 -0
- package/dist/basic/Dummy/index.js +2 -0
- package/dist/basic/Dummy/styles.scss +4 -0
- package/dist/basic/FilterDropdown/FilterDropdown.d.ts +16 -0
- package/dist/basic/FilterDropdown/FilterDropdown.js +56 -0
- package/dist/basic/FilterDropdown/index.d.ts +2 -0
- package/dist/basic/FilterDropdown/index.js +2 -0
- package/dist/basic/FilterDropdown/styles.scss +97 -0
- package/dist/basic/Icon/Icon.d.ts +15 -0
- package/dist/basic/Icon/Icon.js +20 -0
- package/dist/basic/Icon/IconSizes.d.ts +10 -0
- package/dist/basic/Icon/IconSizes.js +11 -0
- package/dist/basic/Icon/index.d.ts +2 -0
- package/dist/basic/Icon/index.js +2 -0
- package/dist/basic/Icon/styles.scss +249 -0
- package/dist/basic/IconButton/IconButton.d.ts +24 -0
- package/dist/basic/IconButton/IconButton.js +42 -0
- package/dist/basic/IconButton/index.d.ts +2 -0
- package/dist/basic/IconButton/index.js +2 -0
- package/dist/basic/IconButton/styles.scss +192 -0
- package/dist/basic/Pill/Pill.d.ts +17 -0
- package/dist/basic/Pill/Pill.js +22 -0
- package/dist/basic/Pill/index.d.ts +2 -0
- package/dist/basic/Pill/index.js +2 -0
- package/dist/basic/Pill/styles.scss +70 -0
- package/dist/basic/SelectField/AsyncSelectField.d.ts +21 -0
- package/dist/basic/SelectField/AsyncSelectField.js +131 -0
- package/dist/basic/SelectField/SelectAutocompleteTheme.d.ts +2 -0
- package/dist/basic/SelectField/SelectAutocompleteTheme.js +78 -0
- package/dist/basic/SelectField/SelectField.d.ts +27 -0
- package/dist/basic/SelectField/SelectField.js +81 -0
- package/dist/basic/SelectField/SelectFieldTheme.d.ts +7 -0
- package/dist/basic/SelectField/SelectFieldTheme.js +57 -0
- package/dist/basic/SelectField/SelectMultipleField.d.ts +28 -0
- package/dist/basic/SelectField/SelectMultipleField.js +98 -0
- package/dist/basic/SelectField/index.d.ts +2 -0
- package/dist/basic/SelectField/index.js +2 -0
- package/dist/basic/SelectField/styles.scss +38 -0
- package/dist/basic/Spinner/Spinner.d.ts +14 -0
- package/dist/basic/Spinner/Spinner.js +37 -0
- package/dist/basic/Spinner/index.d.ts +2 -0
- package/dist/basic/Spinner/index.js +2 -0
- package/dist/basic/Spinner/styles.scss +37 -0
- package/dist/basic/SwitchField/SwitchField.d.ts +11 -0
- package/dist/basic/SwitchField/SwitchField.js +13 -0
- package/dist/basic/SwitchField/index.d.ts +2 -0
- package/dist/basic/SwitchField/index.js +2 -0
- package/dist/basic/SwitchField/style.scss +4 -0
- package/dist/basic/Tabs/Tabs.d.ts +17 -0
- package/dist/basic/Tabs/Tabs.js +9 -0
- package/dist/basic/Tabs/index.d.ts +2 -0
- package/dist/basic/Tabs/index.js +2 -0
- package/dist/basic/Tabs/styles.scss +51 -0
- package/dist/basic/Tag/Tag.d.ts +18 -0
- package/dist/basic/Tag/Tag.js +30 -0
- package/dist/basic/Tag/index.d.ts +2 -0
- package/dist/basic/Tag/index.js +2 -0
- package/dist/basic/Tag/styles.scss +101 -0
- package/dist/basic/TextField/TextField.d.ts +34 -0
- package/dist/basic/TextField/TextField.js +164 -0
- package/dist/basic/TextField/TextFieldTheme.d.ts +6 -0
- package/dist/basic/TextField/TextFieldTheme.js +70 -0
- package/dist/basic/TextField/index.d.ts +2 -0
- package/dist/basic/TextField/index.js +2 -0
- package/dist/basic/TextField/inputRefManager.d.ts +4 -0
- package/dist/basic/TextField/inputRefManager.js +18 -0
- package/dist/basic/TextField/styles.scss +44 -0
- package/dist/basic/Tooltip/Tooltip.d.ts +26 -0
- package/dist/basic/Tooltip/Tooltip.js +37 -0
- package/dist/basic/Tooltip/index.d.ts +2 -0
- package/dist/basic/Tooltip/index.js +2 -0
- package/dist/basic/Tooltip/styles.scss +73 -0
- package/dist/basic/VerticalButton/VerticalButton.d.ts +6 -0
- package/dist/basic/VerticalButton/VerticalButton.js +8 -0
- package/dist/basic/VerticalButton/index.d.ts +2 -0
- package/dist/basic/VerticalButton/index.js +2 -0
- package/dist/basic/VerticalButton/styles.scss +24 -0
- package/dist/basic/fonts/material-symbols-outlined.woff2 +0 -0
- package/dist/basic/fonts/work-sans-latin-ext.woff2 +0 -0
- package/dist/basic/fonts/work-sans-latin.woff2 +0 -0
- package/dist/basic/fonts/work-sans-vietnamese.woff2 +0 -0
- package/dist/basic/fonts.d.ts +1 -0
- package/dist/basic/fonts.js +111 -0
- package/dist/basic/index.d.ts +33 -0
- package/dist/basic/index.js +29 -0
- package/dist/common/AppAnalytics/AppAnalytics.d.ts +1 -0
- package/dist/common/AppAnalytics/AppAnalytics.js +25 -0
- package/dist/common/AppAnalytics/index.d.ts +2 -0
- package/dist/common/AppAnalytics/index.js +2 -0
- package/dist/common/AppCard/AppCard.d.ts +13 -0
- package/dist/common/AppCard/AppCard.js +7 -0
- package/dist/common/AppCard/index.d.ts +2 -0
- package/dist/common/AppCard/index.js +2 -0
- package/dist/common/AppCard/style.scss +33 -0
- package/dist/common/AppClipboard/AppClipboard.d.ts +7 -0
- package/dist/common/AppClipboard/AppClipboard.js +23 -0
- package/dist/common/AppClipboard/index.d.ts +2 -0
- package/dist/common/AppClipboard/index.js +2 -0
- package/dist/common/AppColorpicker/AppColorpicker.d.ts +9 -0
- package/dist/common/AppColorpicker/AppColorpicker.js +22 -0
- package/dist/common/AppColorpicker/index.d.ts +2 -0
- package/dist/common/AppColorpicker/index.js +2 -0
- package/dist/common/AppColorpicker/style.scss +26 -0
- package/dist/common/AppCopyText/AppCopyText.d.ts +11 -0
- package/dist/common/AppCopyText/AppCopyText.js +35 -0
- package/dist/common/AppCopyText/index.d.ts +2 -0
- package/dist/common/AppCopyText/index.js +2 -0
- package/dist/common/AppCopyText/styles.scss +55 -0
- package/dist/common/AppDropzone/AppDropzone.d.ts +19 -0
- package/dist/common/AppDropzone/AppDropzone.js +13 -0
- package/dist/common/AppDropzone/AppDropzoneBody.d.ts +22 -0
- package/dist/common/AppDropzone/AppDropzoneBody.js +74 -0
- package/dist/common/AppDropzone/UploadService.d.ts +6 -0
- package/dist/common/AppDropzone/UploadService.js +18 -0
- package/dist/common/AppDropzone/UploadedFile.d.ts +14 -0
- package/dist/common/AppDropzone/UploadedFile.js +1 -0
- package/dist/common/AppDropzone/index.d.ts +4 -0
- package/dist/common/AppDropzone/index.js +4 -0
- package/dist/common/AppDropzone/style.scss +42 -0
- package/dist/common/AppDropzoneLocal/AppDropzoneBodyLocal.d.ts +15 -0
- package/dist/common/AppDropzoneLocal/AppDropzoneBodyLocal.js +55 -0
- package/dist/common/AppDropzoneLocal/AppDropzoneLocal.d.ts +15 -0
- package/dist/common/AppDropzoneLocal/AppDropzoneLocal.js +13 -0
- package/dist/common/AppDropzoneLocal/UploadedFileLocal.d.ts +5 -0
- package/dist/common/AppDropzoneLocal/UploadedFileLocal.js +1 -0
- package/dist/common/AppDropzoneLocal/index.d.ts +5 -0
- package/dist/common/AppDropzoneLocal/index.js +4 -0
- package/dist/common/AppDropzoneLocal/style.scss +75 -0
- package/dist/common/AppForm/AppForm.d.ts +16 -0
- package/dist/common/AppForm/AppForm.js +67 -0
- package/dist/common/AppForm/AppFormField.d.ts +37 -0
- package/dist/common/AppForm/AppFormField.js +10 -0
- package/dist/common/AppForm/AppFormInfo.d.ts +9 -0
- package/dist/common/AppForm/AppFormInfo.js +45 -0
- package/dist/common/AppForm/FormColorField.d.ts +12 -0
- package/dist/common/AppForm/FormColorField.js +23 -0
- package/dist/common/AppForm/index.d.ts +2 -0
- package/dist/common/AppForm/index.js +2 -0
- package/dist/common/AppForm/style.scss +60 -0
- package/dist/common/AppLoading/AppLoading.d.ts +7 -0
- package/dist/common/AppLoading/AppLoading.js +8 -0
- package/dist/common/AppLoading/index.d.ts +2 -0
- package/dist/common/AppLoading/index.js +2 -0
- package/dist/common/AppLoading/style.scss +5 -0
- package/dist/common/AppModal/AppModal.d.ts +27 -0
- package/dist/common/AppModal/AppModal.js +42 -0
- package/dist/common/AppModal/AppModalConfirm.d.ts +15 -0
- package/dist/common/AppModal/AppModalConfirm.js +37 -0
- package/dist/common/AppModal/AppModalRemove.d.ts +22 -0
- package/dist/common/AppModal/AppModalRemove.js +35 -0
- package/dist/common/AppModal/AppModalUtils.d.ts +2 -0
- package/dist/common/AppModal/AppModalUtils.js +17 -0
- package/dist/common/AppModal/index.d.ts +2 -0
- package/dist/common/AppModal/index.js +2 -0
- package/dist/common/AppModal/style.scss +100 -0
- package/dist/common/AppPagination/AppPagination.d.ts +12 -0
- package/dist/common/AppPagination/AppPagination.js +212 -0
- package/dist/common/AppPagination/index.d.ts +2 -0
- package/dist/common/AppPagination/index.js +2 -0
- package/dist/common/AppPagination/styles.scss +230 -0
- package/dist/common/AppPicture/AppPicture.d.ts +10 -0
- package/dist/common/AppPicture/AppPicture.js +18 -0
- package/dist/common/AppPicture/index.d.ts +2 -0
- package/dist/common/AppPicture/index.js +2 -0
- package/dist/common/AppPicture/style.scss +0 -0
- package/dist/common/AppPlaceholder/AppPlaceholder.d.ts +12 -0
- package/dist/common/AppPlaceholder/AppPlaceholder.js +7 -0
- package/dist/common/AppPlaceholder/index.d.ts +2 -0
- package/dist/common/AppPlaceholder/index.js +2 -0
- package/dist/common/AppPlaceholder/style.scss +25 -0
- package/dist/common/AppSwitchGroup/AppSwitchGroup.d.ts +12 -0
- package/dist/common/AppSwitchGroup/AppSwitchGroup.js +8 -0
- package/dist/common/AppSwitchGroup/index.d.ts +2 -0
- package/dist/common/AppSwitchGroup/index.js +2 -0
- package/dist/common/AppSwitchGroup/style.scss +18 -0
- package/dist/common/AppTable/AppTable.d.ts +19 -0
- package/dist/common/AppTable/AppTable.js +62 -0
- package/dist/common/AppTable/AppTableList.d.ts +14 -0
- package/dist/common/AppTable/AppTableList.js +48 -0
- package/dist/common/AppTable/AppTableTheme.d.ts +1 -0
- package/dist/common/AppTable/AppTableTheme.js +45 -0
- package/dist/common/AppTable/AppTableUtils.d.ts +8 -0
- package/dist/common/AppTable/AppTableUtils.js +24 -0
- package/dist/common/AppTable/index.d.ts +2 -0
- package/dist/common/AppTable/index.js +2 -0
- package/dist/common/AppTable/styles.scss +65 -0
- package/dist/common/AppTable/types/AppPage.d.ts +29 -0
- package/dist/common/AppTable/types/AppPage.js +18 -0
- package/dist/common/AppTable/types/AppPageable.d.ts +15 -0
- package/dist/common/AppTable/types/AppPageable.js +19 -0
- package/dist/common/AppTextArea/AppTextArea.d.ts +11 -0
- package/dist/common/AppTextArea/AppTextArea.js +29 -0
- package/dist/common/AppTextArea/index.d.ts +1 -0
- package/dist/common/AppTextArea/index.js +1 -0
- package/dist/common/AppTextArea/style.scss +47 -0
- package/dist/common/AppToast/AppToast.d.ts +2 -0
- package/dist/common/AppToast/AppToast.js +81 -0
- package/dist/common/AppToast/ToastMessage.d.ts +8 -0
- package/dist/common/AppToast/ToastMessage.js +4 -0
- package/dist/common/AppToast/index.d.ts +2 -0
- package/dist/common/AppToast/index.js +2 -0
- package/dist/common/AppToast/style.scss +0 -0
- package/dist/common/index.d.ts +27 -0
- package/dist/common/index.js +23 -0
- package/dist/configs/CommonContext.d.ts +10 -0
- package/dist/configs/CommonContext.js +9 -0
- package/dist/configs/CookieStorage.d.ts +15 -0
- package/dist/configs/CookieStorage.js +45 -0
- package/dist/configs/Localization.d.ts +28 -0
- package/dist/configs/Localization.js +63 -0
- package/dist/configs/Storage.d.ts +9 -0
- package/dist/configs/Storage.js +16 -0
- package/dist/configs/api.d.ts +10 -0
- package/dist/configs/api.js +52 -0
- package/dist/configs/index.d.ts +8 -0
- package/dist/configs/index.js +7 -0
- package/dist/configs/localization/BaseTexts.d.ts +44 -0
- package/dist/configs/localization/BaseTexts.js +44 -0
- package/dist/configs/localization/CommentsTexts.d.ts +95 -0
- package/dist/configs/localization/CommentsTexts.js +95 -0
- package/dist/configs/localization/CommonTexts.d.ts +239 -0
- package/dist/configs/localization/CommonTexts.js +239 -0
- package/dist/configs/localization/ConsentTexts.d.ts +116 -0
- package/dist/configs/localization/ConsentTexts.js +203 -0
- package/dist/configs/localization/HeaderAppTexts.d.ts +106 -0
- package/dist/configs/localization/HeaderAppTexts.js +106 -0
- package/dist/configs/localization/HeaderTexts.d.ts +68 -0
- package/dist/configs/localization/HeaderTexts.js +68 -0
- package/dist/configs/localization/HelpTexts.d.ts +38 -0
- package/dist/configs/localization/HelpTexts.js +38 -0
- package/dist/configs/localization/HistoryTexts.d.ts +428 -0
- package/dist/configs/localization/HistoryTexts.js +428 -0
- package/dist/configs/localization/ParametersTexts.d.ts +137 -0
- package/dist/configs/localization/ParametersTexts.js +137 -0
- package/dist/configs/localization/SentenceTexts.d.ts +56 -0
- package/dist/configs/localization/SentenceTexts.js +56 -0
- package/dist/configs/localization/TreeTexts.d.ts +46 -0
- package/dist/configs/localization/TreeTexts.js +46 -0
- package/dist/configs/localization/UploadTexts.d.ts +23 -0
- package/dist/configs/localization/UploadTexts.js +23 -0
- package/dist/configs/services/ProfileService.d.ts +5 -0
- package/dist/configs/services/ProfileService.js +8 -0
- package/dist/configs/sessionTypes.d.ts +42 -0
- package/dist/configs/sessionTypes.js +63 -0
- package/dist/configs/useLoggedUtils.d.ts +7 -0
- package/dist/configs/useLoggedUtils.js +24 -0
- package/dist/configs/useMessageUtils.d.ts +22 -0
- package/dist/configs/useMessageUtils.js +71 -0
- package/dist/fonts/material-symbols-outlined.woff2 +0 -0
- package/dist/fonts/work-sans-latin-ext.woff2 +0 -0
- package/dist/fonts/work-sans-latin.woff2 +0 -0
- package/dist/fonts/work-sans-vietnamese.woff2 +0 -0
- package/dist/functions/DateUtils.d.ts +15 -0
- package/dist/functions/DateUtils.js +52 -0
- package/dist/functions/FilterUtils.d.ts +13 -0
- package/dist/functions/FilterUtils.js +56 -0
- package/dist/functions/FormUtils.d.ts +13 -0
- package/dist/functions/FormUtils.js +58 -0
- package/dist/functions/ImageUtils.d.ts +5 -0
- package/dist/functions/ImageUtils.js +13 -0
- package/dist/functions/SecurityUtils.d.ts +6 -0
- package/dist/functions/SecurityUtils.js +28 -0
- package/dist/functions/UsabilityUtils.d.ts +10 -0
- package/dist/functions/UsabilityUtils.js +47 -0
- package/dist/functions/index.d.ts +6 -0
- package/dist/functions/index.js +6 -0
- package/dist/functions/logo-ud.png +0 -0
- package/dist/functions/placeholder-image.png +0 -0
- package/dist/functions/placeholder-person.png +0 -0
- package/dist/index.d.ts +5 -0
- package/dist/index.js +5 -0
- package/dist/styles/base/_borders.scss +30 -0
- package/dist/styles/base/_colors.scss +100 -0
- package/dist/styles/base/_displays.scss +207 -0
- package/dist/styles/base/_margins.css +174 -0
- package/dist/styles/base/_spacing.scss +26 -0
- package/dist/styles/base/_tokens.scss +330 -0
- package/dist/styles/base/_typographs.scss +376 -0
- package/dist/styles/font-googleapis.scss +222 -0
- package/dist/styles/main.scss +112 -0
- package/dist/vendor/index.d.ts +5 -0
- package/dist/vendor/index.js +4 -0
- package/package.json +118 -0
|
@@ -0,0 +1,222 @@
|
|
|
1
|
+
/* fallback */
|
|
2
|
+
@font-face {
|
|
3
|
+
font-family: 'Material Symbols Outlined';
|
|
4
|
+
font-style: normal;
|
|
5
|
+
font-weight: 200;
|
|
6
|
+
font-display: swap;
|
|
7
|
+
src: url('./fonts/material-symbols-outlined.woff2') format('woff2');
|
|
8
|
+
}
|
|
9
|
+
/* vietnamese */
|
|
10
|
+
@font-face {
|
|
11
|
+
font-family: 'Work Sans';
|
|
12
|
+
font-style: normal;
|
|
13
|
+
font-weight: 300;
|
|
14
|
+
font-display: swap;
|
|
15
|
+
src: url('./fonts/work-sans-vietnamese.woff2') format('woff2');
|
|
16
|
+
unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169,
|
|
17
|
+
U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323,
|
|
18
|
+
U+0329, U+1EA0-1EF9, U+20AB;
|
|
19
|
+
}
|
|
20
|
+
/* latin-ext */
|
|
21
|
+
@font-face {
|
|
22
|
+
font-family: 'Work Sans';
|
|
23
|
+
font-style: normal;
|
|
24
|
+
font-weight: 300;
|
|
25
|
+
font-display: swap;
|
|
26
|
+
src: url('./fonts/work-sans-latin-ext.woff2') format('woff2');
|
|
27
|
+
unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7,
|
|
28
|
+
U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF,
|
|
29
|
+
U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
|
30
|
+
}
|
|
31
|
+
/* latin */
|
|
32
|
+
@font-face {
|
|
33
|
+
font-family: 'Work Sans';
|
|
34
|
+
font-style: normal;
|
|
35
|
+
font-weight: 300;
|
|
36
|
+
font-display: swap;
|
|
37
|
+
src: url('./fonts/work-sans-latin.woff2') format('woff2');
|
|
38
|
+
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
|
|
39
|
+
U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
|
|
40
|
+
U+2212, U+2215, U+FEFF, U+FFFD;
|
|
41
|
+
}
|
|
42
|
+
/* vietnamese */
|
|
43
|
+
@font-face {
|
|
44
|
+
font-family: 'Work Sans';
|
|
45
|
+
font-style: normal;
|
|
46
|
+
font-weight: 400;
|
|
47
|
+
font-display: swap;
|
|
48
|
+
src: url('./fonts/work-sans-vietnamese.woff2') format('woff2');
|
|
49
|
+
unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169,
|
|
50
|
+
U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323,
|
|
51
|
+
U+0329, U+1EA0-1EF9, U+20AB;
|
|
52
|
+
}
|
|
53
|
+
/* latin-ext */
|
|
54
|
+
@font-face {
|
|
55
|
+
font-family: 'Work Sans';
|
|
56
|
+
font-style: normal;
|
|
57
|
+
font-weight: 400;
|
|
58
|
+
font-display: swap;
|
|
59
|
+
src: url('./fonts/work-sans-latin-ext.woff2') format('woff2');
|
|
60
|
+
unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7,
|
|
61
|
+
U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF,
|
|
62
|
+
U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
|
63
|
+
}
|
|
64
|
+
/* latin */
|
|
65
|
+
@font-face {
|
|
66
|
+
font-family: 'Work Sans';
|
|
67
|
+
font-style: normal;
|
|
68
|
+
font-weight: 400;
|
|
69
|
+
font-display: swap;
|
|
70
|
+
src: url('./fonts/work-sans-latin.woff2') format('woff2');
|
|
71
|
+
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
|
|
72
|
+
U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
|
|
73
|
+
U+2212, U+2215, U+FEFF, U+FFFD;
|
|
74
|
+
}
|
|
75
|
+
/* vietnamese */
|
|
76
|
+
@font-face {
|
|
77
|
+
font-family: 'Work Sans';
|
|
78
|
+
font-style: normal;
|
|
79
|
+
font-weight: 500;
|
|
80
|
+
font-display: swap;
|
|
81
|
+
src: url('./fonts/work-sans-vietnamese.woff2') format('woff2');
|
|
82
|
+
unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169,
|
|
83
|
+
U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323,
|
|
84
|
+
U+0329, U+1EA0-1EF9, U+20AB;
|
|
85
|
+
}
|
|
86
|
+
/* latin-ext */
|
|
87
|
+
@font-face {
|
|
88
|
+
font-family: 'Work Sans';
|
|
89
|
+
font-style: normal;
|
|
90
|
+
font-weight: 500;
|
|
91
|
+
font-display: swap;
|
|
92
|
+
src: url('./fonts/work-sans-latin-ext.woff2') format('woff2');
|
|
93
|
+
unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7,
|
|
94
|
+
U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF,
|
|
95
|
+
U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
|
96
|
+
}
|
|
97
|
+
/* latin */
|
|
98
|
+
@font-face {
|
|
99
|
+
font-family: 'Work Sans';
|
|
100
|
+
font-style: normal;
|
|
101
|
+
font-weight: 500;
|
|
102
|
+
font-display: swap;
|
|
103
|
+
src: url('./fonts/work-sans-latin.woff2') format('woff2');
|
|
104
|
+
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
|
|
105
|
+
U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
|
|
106
|
+
U+2212, U+2215, U+FEFF, U+FFFD;
|
|
107
|
+
}
|
|
108
|
+
/* vietnamese */
|
|
109
|
+
@font-face {
|
|
110
|
+
font-family: 'Work Sans';
|
|
111
|
+
font-style: normal;
|
|
112
|
+
font-weight: 600;
|
|
113
|
+
font-display: swap;
|
|
114
|
+
src: url('./fonts/work-sans-vietnamese.woff2') format('woff2');
|
|
115
|
+
unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169,
|
|
116
|
+
U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323,
|
|
117
|
+
U+0329, U+1EA0-1EF9, U+20AB;
|
|
118
|
+
}
|
|
119
|
+
/* latin-ext */
|
|
120
|
+
@font-face {
|
|
121
|
+
font-family: 'Work Sans';
|
|
122
|
+
font-style: normal;
|
|
123
|
+
font-weight: 600;
|
|
124
|
+
font-display: swap;
|
|
125
|
+
src: url('./fonts/work-sans-latin-ext.woff2') format('woff2');
|
|
126
|
+
unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7,
|
|
127
|
+
U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF,
|
|
128
|
+
U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
|
129
|
+
}
|
|
130
|
+
/* latin */
|
|
131
|
+
@font-face {
|
|
132
|
+
font-family: 'Work Sans';
|
|
133
|
+
font-style: normal;
|
|
134
|
+
font-weight: 600;
|
|
135
|
+
font-display: swap;
|
|
136
|
+
src: url('./fonts/work-sans-latin.woff2') format('woff2');
|
|
137
|
+
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
|
|
138
|
+
U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
|
|
139
|
+
U+2212, U+2215, U+FEFF, U+FFFD;
|
|
140
|
+
}
|
|
141
|
+
/* vietnamese */
|
|
142
|
+
@font-face {
|
|
143
|
+
font-family: 'Work Sans';
|
|
144
|
+
font-style: normal;
|
|
145
|
+
font-weight: 700;
|
|
146
|
+
font-display: swap;
|
|
147
|
+
src: url('./fonts/work-sans-vietnamese.woff2') format('woff2');
|
|
148
|
+
unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169,
|
|
149
|
+
U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323,
|
|
150
|
+
U+0329, U+1EA0-1EF9, U+20AB;
|
|
151
|
+
}
|
|
152
|
+
/* latin-ext */
|
|
153
|
+
@font-face {
|
|
154
|
+
font-family: 'Work Sans';
|
|
155
|
+
font-style: normal;
|
|
156
|
+
font-weight: 700;
|
|
157
|
+
font-display: swap;
|
|
158
|
+
src: url('./fonts/work-sans-latin-ext.woff2') format('woff2');
|
|
159
|
+
unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7,
|
|
160
|
+
U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF,
|
|
161
|
+
U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
|
162
|
+
}
|
|
163
|
+
/* latin */
|
|
164
|
+
@font-face {
|
|
165
|
+
font-family: 'Work Sans';
|
|
166
|
+
font-style: normal;
|
|
167
|
+
font-weight: 700;
|
|
168
|
+
font-display: swap;
|
|
169
|
+
src: url('./fonts/work-sans-latin.woff2') format('woff2');
|
|
170
|
+
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
|
|
171
|
+
U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
|
|
172
|
+
U+2212, U+2215, U+FEFF, U+FFFD;
|
|
173
|
+
}
|
|
174
|
+
/* vietnamese */
|
|
175
|
+
@font-face {
|
|
176
|
+
font-family: 'Work Sans';
|
|
177
|
+
font-style: normal;
|
|
178
|
+
font-weight: 800;
|
|
179
|
+
font-display: swap;
|
|
180
|
+
src: url('./fonts/work-sans-vietnamese.woff2') format('woff2');
|
|
181
|
+
unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169,
|
|
182
|
+
U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323,
|
|
183
|
+
U+0329, U+1EA0-1EF9, U+20AB;
|
|
184
|
+
}
|
|
185
|
+
/* latin-ext */
|
|
186
|
+
@font-face {
|
|
187
|
+
font-family: 'Work Sans';
|
|
188
|
+
font-style: normal;
|
|
189
|
+
font-weight: 800;
|
|
190
|
+
font-display: swap;
|
|
191
|
+
src: url('./fonts/work-sans-latin-ext.woff2') format('woff2');
|
|
192
|
+
unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7,
|
|
193
|
+
U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF,
|
|
194
|
+
U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
|
195
|
+
}
|
|
196
|
+
/* latin */
|
|
197
|
+
@font-face {
|
|
198
|
+
font-family: 'Work Sans';
|
|
199
|
+
font-style: normal;
|
|
200
|
+
font-weight: 800;
|
|
201
|
+
font-display: swap;
|
|
202
|
+
src: url('./fonts/work-sans-latin.woff2') format('woff2');
|
|
203
|
+
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
|
|
204
|
+
U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
|
|
205
|
+
U+2212, U+2215, U+FEFF, U+FFFD;
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
.material-symbols-outlined {
|
|
209
|
+
font-family: 'Material Symbols Outlined';
|
|
210
|
+
font-weight: normal;
|
|
211
|
+
font-style: normal;
|
|
212
|
+
font-size: 24px;
|
|
213
|
+
line-height: 1;
|
|
214
|
+
letter-spacing: normal;
|
|
215
|
+
text-transform: none;
|
|
216
|
+
display: inline-block;
|
|
217
|
+
white-space: nowrap;
|
|
218
|
+
word-wrap: normal;
|
|
219
|
+
direction: ltr;
|
|
220
|
+
-webkit-font-feature-settings: 'liga';
|
|
221
|
+
-webkit-font-smoothing: antialiased;
|
|
222
|
+
}
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
@use "base/typographs" as *;
|
|
2
|
+
@use "base/borders";
|
|
3
|
+
@use "base/colors";
|
|
4
|
+
@use "base/displays";
|
|
5
|
+
@use "base/margins";
|
|
6
|
+
@use "base/spacing";
|
|
7
|
+
@use "base/tokens";
|
|
8
|
+
|
|
9
|
+
:root {
|
|
10
|
+
--font-family:
|
|
11
|
+
"Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
|
|
12
|
+
"Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
|
|
13
|
+
"Segoe UI Symbol", "Noto Color Emoji";
|
|
14
|
+
--height-viewport: calc(100vh - 48px);
|
|
15
|
+
--border-default: 1px solid var(--border-subtle-2);
|
|
16
|
+
--font-weight-large: 700;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
html,
|
|
20
|
+
body,
|
|
21
|
+
#root {
|
|
22
|
+
background-color: var(--background-default);
|
|
23
|
+
height: calc(100% - 48px);
|
|
24
|
+
font-family: var(--font-family);
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
body {
|
|
28
|
+
margin: 0;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
::-webkit-scrollbar {
|
|
32
|
+
width: 8px;
|
|
33
|
+
height: 8px;
|
|
34
|
+
cursor: pointer;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
::-webkit-scrollbar-thumb {
|
|
38
|
+
background-color: #888;
|
|
39
|
+
border-radius: var(--radius-full);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
::-webkit-scrollbar-track {
|
|
43
|
+
background: #f1f1f1;
|
|
44
|
+
border-radius: var(--radius-full);
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
::-webkit-scrollbar-corner {
|
|
48
|
+
background: #fff;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.pointer {
|
|
52
|
+
cursor: pointer;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.spin {
|
|
56
|
+
display: inline-block;
|
|
57
|
+
animation: spin 2s linear infinite;
|
|
58
|
+
color: var(--icon-primary-default);
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.fixed-top {
|
|
62
|
+
position: fixed;
|
|
63
|
+
top: 0;
|
|
64
|
+
right: 0;
|
|
65
|
+
left: 0;
|
|
66
|
+
z-index: 1030;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
@keyframes spin {
|
|
70
|
+
from {
|
|
71
|
+
transform: rotate(0deg);
|
|
72
|
+
}
|
|
73
|
+
to {
|
|
74
|
+
transform: rotate(360deg); /* Positive value for clockwise */
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.desktop-only {
|
|
79
|
+
display: flex !important;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.tablet-only {
|
|
83
|
+
display: none !important;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.mobile-only {
|
|
87
|
+
display: none !important;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
@media (max-width: 768px) {
|
|
91
|
+
.desktop-only,
|
|
92
|
+
.mobile-only,
|
|
93
|
+
.tablet-never {
|
|
94
|
+
display: none !important;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
.tablet-only {
|
|
98
|
+
display: flex !important;
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
@media (max-width: 767px) {
|
|
103
|
+
.desktop-only,
|
|
104
|
+
.tablet-only,
|
|
105
|
+
.mobile-never {
|
|
106
|
+
display: none !important;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
.mobile-only {
|
|
110
|
+
display: flex !important;
|
|
111
|
+
}
|
|
112
|
+
}
|
package/package.json
ADDED
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "nurseitaly-components",
|
|
3
|
+
"private": false,
|
|
4
|
+
"version": "0.0.1",
|
|
5
|
+
"main": "dist/index.js",
|
|
6
|
+
"types": "dist/index.d.ts",
|
|
7
|
+
"exports": {
|
|
8
|
+
".": {
|
|
9
|
+
"types": "./dist/index.d.ts",
|
|
10
|
+
"import": "./dist/index.js",
|
|
11
|
+
"require": "./dist/index.js"
|
|
12
|
+
},
|
|
13
|
+
"./basic": {
|
|
14
|
+
"types": "./dist/basic/index.d.ts",
|
|
15
|
+
"import": "./dist/basic/index.js",
|
|
16
|
+
"require": "./dist/basic/index.js"
|
|
17
|
+
},
|
|
18
|
+
"./common": {
|
|
19
|
+
"types": "./dist/common/index.d.ts",
|
|
20
|
+
"import": "./dist/common/index.js",
|
|
21
|
+
"require": "./dist/common/index.js"
|
|
22
|
+
},
|
|
23
|
+
"./shell": {
|
|
24
|
+
"types": "./dist/shell/index.d.ts",
|
|
25
|
+
"import": "./dist/shell/index.js",
|
|
26
|
+
"require": "./dist/shell/index.js"
|
|
27
|
+
},
|
|
28
|
+
"./configs": {
|
|
29
|
+
"types": "./dist/configs/index.d.ts",
|
|
30
|
+
"import": "./dist/configs/index.js",
|
|
31
|
+
"require": "./dist/configs/index.js"
|
|
32
|
+
},
|
|
33
|
+
"./functions": {
|
|
34
|
+
"types": "./dist/functions/index.d.ts",
|
|
35
|
+
"import": "./dist/functions/index.js",
|
|
36
|
+
"require": "./dist/functions/index.js"
|
|
37
|
+
},
|
|
38
|
+
"./dist/styles/main": "./dist/styles/main.scss",
|
|
39
|
+
"./dist/styles/base/typographs": "./dist/styles/base/_typographs.scss",
|
|
40
|
+
"./dist/configs/tour/style.scss": "./dist/configs/tour/style.scss"
|
|
41
|
+
},
|
|
42
|
+
"files": [
|
|
43
|
+
"dist/"
|
|
44
|
+
],
|
|
45
|
+
"dependencies": {
|
|
46
|
+
"@hookform/resolvers": "^5.2.2",
|
|
47
|
+
"@mui/x-date-pickers": "^8.15.0",
|
|
48
|
+
"@mui/x-date-pickers-pro": "^8.15.0",
|
|
49
|
+
"@tanstack/react-table": "^8.20.6",
|
|
50
|
+
"axios": "^1.13.6",
|
|
51
|
+
"classnames": "^2.5.1",
|
|
52
|
+
"date-fns": "^4.1.0",
|
|
53
|
+
"date-fns-tz": "^3.2.0",
|
|
54
|
+
"js-cookie": "^3.0.5",
|
|
55
|
+
"react-colorful": "^5.8.0",
|
|
56
|
+
"react-draggable": "^4.4.6",
|
|
57
|
+
"react-dropzone": "^14.3.5",
|
|
58
|
+
"react-loading": "^2.0.3",
|
|
59
|
+
"yup": "^1.2.0"
|
|
60
|
+
},
|
|
61
|
+
"peerDependencies": {
|
|
62
|
+
"@emotion/react": "^11.13.3",
|
|
63
|
+
"@emotion/styled": "^11.13.0",
|
|
64
|
+
"@mui/icons-material": "7.3.0",
|
|
65
|
+
"@mui/material": "7.3.0",
|
|
66
|
+
"i18next": "^23.3.0",
|
|
67
|
+
"i18next-browser-languagedetector": "^7.1.0",
|
|
68
|
+
"react": ">=17 <19",
|
|
69
|
+
"react-dom": ">=17 <19",
|
|
70
|
+
"react-hook-form": "7.78.0",
|
|
71
|
+
"react-i18next": "^13.0.2",
|
|
72
|
+
"react-router-dom": "^6.14.2",
|
|
73
|
+
"react-toastify": "^9.1.3"
|
|
74
|
+
},
|
|
75
|
+
"devDependencies": {
|
|
76
|
+
"@storybook/addon-docs": "^10.5.8",
|
|
77
|
+
"@storybook/addon-onboarding": "^10.5.8",
|
|
78
|
+
"@storybook/cli": "^10.5.8",
|
|
79
|
+
"@storybook/react": "^10.5.8",
|
|
80
|
+
"@storybook/react-vite": "^10.5.8",
|
|
81
|
+
"@storybook/testing-library": "^0.2.2",
|
|
82
|
+
"@types/js-cookie": "^3.0.6",
|
|
83
|
+
"@types/react": "^18.2.0",
|
|
84
|
+
"@types/react-dom": "^18.2.0",
|
|
85
|
+
"@typescript-eslint/eslint-plugin": "^5.62.0",
|
|
86
|
+
"@typescript-eslint/parser": "^5.62.0",
|
|
87
|
+
"@vitejs/plugin-react": "^5.0.0",
|
|
88
|
+
"eslint": "^8.57.1",
|
|
89
|
+
"eslint-plugin-react-hooks": "^4.6.2",
|
|
90
|
+
"eslint-plugin-react-refresh": "^0.4.1",
|
|
91
|
+
"eslint-plugin-storybook": "^0.11.2",
|
|
92
|
+
"i18next": "^23.3.0",
|
|
93
|
+
"i18next-browser-languagedetector": "^7.1.0",
|
|
94
|
+
"react": "^18.2.0",
|
|
95
|
+
"react-dom": "^18.2.0",
|
|
96
|
+
"react-hook-form": "7.78.0",
|
|
97
|
+
"react-i18next": "^13.0.2",
|
|
98
|
+
"react-router-dom": "^6.14.2",
|
|
99
|
+
"react-toastify": "^9.1.3",
|
|
100
|
+
"sass-embedded": "^1.97.2",
|
|
101
|
+
"storybook": "^10.5.8",
|
|
102
|
+
"typescript": "^5.7.3",
|
|
103
|
+
"vite": "^7.0.0",
|
|
104
|
+
"vitest": "^3.2.6",
|
|
105
|
+
"@emotion/react": "^11.13.3",
|
|
106
|
+
"@emotion/styled": "^11.13.0",
|
|
107
|
+
"@mui/icons-material": "7.3.0",
|
|
108
|
+
"@mui/material": "7.3.0"
|
|
109
|
+
},
|
|
110
|
+
"scripts": {
|
|
111
|
+
"start": "storybook dev -p 6006",
|
|
112
|
+
"build-storybook": "storybook build",
|
|
113
|
+
"build": "tsc && node scripts/copy-package-json.js && npm run copy-css",
|
|
114
|
+
"build-publish": "tsc && npm run copy-css",
|
|
115
|
+
"copy-css": "node scripts/copy-css.js",
|
|
116
|
+
"test": "vitest run"
|
|
117
|
+
}
|
|
118
|
+
}
|