@cayuse-test/react 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (103) hide show
  1. package/README.md +346 -0
  2. package/dist/chunk-2K3CWMLR.js +108 -0
  3. package/dist/chunk-2K3CWMLR.js.map +1 -0
  4. package/dist/chunk-B2Z63U4D.js +10398 -0
  5. package/dist/chunk-B2Z63U4D.js.map +1 -0
  6. package/dist/chunk-EPGO6B3U.js +3 -0
  7. package/dist/chunk-EPGO6B3U.js.map +1 -0
  8. package/dist/chunk-LFWPG3ND.js +97 -0
  9. package/dist/chunk-LFWPG3ND.js.map +1 -0
  10. package/dist/chunk-M2L7SQBQ.js +205 -0
  11. package/dist/chunk-M2L7SQBQ.js.map +1 -0
  12. package/dist/chunk-MJBMK4OG.js +143 -0
  13. package/dist/chunk-MJBMK4OG.js.map +1 -0
  14. package/dist/chunk-RG4GEORO.js +194 -0
  15. package/dist/chunk-RG4GEORO.js.map +1 -0
  16. package/dist/chunk-SZMEZFAR.js +193 -0
  17. package/dist/chunk-SZMEZFAR.js.map +1 -0
  18. package/dist/chunk-TYZPOXN5.js +243 -0
  19. package/dist/chunk-TYZPOXN5.js.map +1 -0
  20. package/dist/chunk-XRUFEGUC.js +225 -0
  21. package/dist/chunk-XRUFEGUC.js.map +1 -0
  22. package/dist/components/index.d.ts +1471 -0
  23. package/dist/components/index.js +144 -0
  24. package/dist/components/index.js.map +1 -0
  25. package/dist/context/tenant/index.d.ts +200 -0
  26. package/dist/context/tenant/index.js +14 -0
  27. package/dist/context/tenant/index.js.map +1 -0
  28. package/dist/globals/constants/index.d.ts +83 -0
  29. package/dist/globals/constants/index.js +31 -0
  30. package/dist/globals/constants/index.js.map +1 -0
  31. package/dist/globals/css/index.d.ts +2 -0
  32. package/dist/globals/css/index.js +2 -0
  33. package/dist/globals/css/index.js.map +1 -0
  34. package/dist/hooks/index.d.ts +125 -0
  35. package/dist/hooks/index.js +30 -0
  36. package/dist/hooks/index.js.map +1 -0
  37. package/dist/index-4NH7IW34.css +47 -0
  38. package/dist/index.d.ts +16 -0
  39. package/dist/index.js +302 -0
  40. package/dist/index.js.map +1 -0
  41. package/dist/modal-dialog-IH5SI4CF.css +93 -0
  42. package/dist/services/upload-s3/index.d.ts +35 -0
  43. package/dist/services/upload-s3/index.js +11 -0
  44. package/dist/services/upload-s3/index.js.map +1 -0
  45. package/dist/styles-2WZORUGA.css +106 -0
  46. package/dist/styles-32VHTPIA.css +20 -0
  47. package/dist/styles-3A5DZ5R7.css +70 -0
  48. package/dist/styles-3PFCZALV.css +60 -0
  49. package/dist/styles-3SNYRDO2.css +100 -0
  50. package/dist/styles-4FHUBUVF.css +150 -0
  51. package/dist/styles-4KAVAZFG.css +5 -0
  52. package/dist/styles-4OFM6DY5.css +22 -0
  53. package/dist/styles-5OXZHQGW.css +14 -0
  54. package/dist/styles-6XZTUN3B.css +68 -0
  55. package/dist/styles-73WOPK6M.css +6 -0
  56. package/dist/styles-7AV26IBF.css +35 -0
  57. package/dist/styles-7DWK55L2.css +71 -0
  58. package/dist/styles-7GWPZSR2.css +222 -0
  59. package/dist/styles-7QBPXFSY.css +6 -0
  60. package/dist/styles-7T6DSZIY.css +27 -0
  61. package/dist/styles-AUI7W2SW.css +408 -0
  62. package/dist/styles-AZSHBXJQ.css +85 -0
  63. package/dist/styles-BTXJVGNW.css +99 -0
  64. package/dist/styles-BUPIQG5C.css +74 -0
  65. package/dist/styles-CLK36LUK.css +27 -0
  66. package/dist/styles-CSKYCMD4.css +123 -0
  67. package/dist/styles-CWCX26BQ.css +13 -0
  68. package/dist/styles-GAIKDZU6.css +47 -0
  69. package/dist/styles-GB7S5BAZ.css +36 -0
  70. package/dist/styles-GVPT6A2Z.css +45 -0
  71. package/dist/styles-IUBOTHBR.css +581 -0
  72. package/dist/styles-IZPTZRKW.css +78 -0
  73. package/dist/styles-LS2YWO5W.css +39 -0
  74. package/dist/styles-M5BEFS4G.css +148 -0
  75. package/dist/styles-MHNICXOS.css +18 -0
  76. package/dist/styles-P6IOJDNI.css +47 -0
  77. package/dist/styles-Q7XE2QVU.css +55 -0
  78. package/dist/styles-R7IS5IGF.css +7 -0
  79. package/dist/styles-RDYYTTBU.css +218 -0
  80. package/dist/styles-RTHIZL5W.css +48 -0
  81. package/dist/styles-RUY4EKZW.css +9 -0
  82. package/dist/styles-T5QJAAUY.css +184 -0
  83. package/dist/styles-VBXWGFCK.css +96 -0
  84. package/dist/styles-VE76CGRO.css +6 -0
  85. package/dist/styles-VLCZ7JYV.css +140 -0
  86. package/dist/styles-W5HDD3YQ.css +71 -0
  87. package/dist/styles-X7BJCSFV.css +86 -0
  88. package/dist/styles-XVRR5GIG.css +42 -0
  89. package/dist/styles-YBC6BJBD.css +83 -0
  90. package/dist/styles-YXNJHPDZ.css +74 -0
  91. package/dist/styles-Z276IEVM.css +264 -0
  92. package/dist/utils/index.d.ts +145 -0
  93. package/dist/utils/index.js +98 -0
  94. package/dist/utils/index.js.map +1 -0
  95. package/package.json +113 -0
  96. package/packages/eslint-config/README.md +69 -0
  97. package/packages/eslint-config/base.js +25 -0
  98. package/packages/eslint-config/next.js +49 -0
  99. package/packages/eslint-config/react-internal.js +44 -0
  100. package/packages/typescript-config/README.md +70 -0
  101. package/packages/typescript-config/base.json +21 -0
  102. package/packages/typescript-config/nextjs.json +12 -0
  103. package/packages/typescript-config/react-library.json +7 -0
@@ -0,0 +1,60 @@
1
+ .alert-dialog__presentation {
2
+ position: fixed;
3
+ z-index: 500;
4
+ inset: 0;
5
+ overflow-y: auto;
6
+ pointer-events: initial;
7
+ background-color: rgba(17, 17, 17, 0.25);
8
+ }
9
+
10
+ .alert-dialog__modal {
11
+ position: absolute;
12
+ top: 50%;
13
+ left: 0;
14
+ right: 0;
15
+
16
+ width: 420px;
17
+ padding: 24px;
18
+ margin: 0 auto;
19
+
20
+ display: flex;
21
+ flex-direction: column;
22
+ align-items: flex-start;
23
+ gap: 24px;
24
+
25
+ border-radius: 3px;
26
+ background: #fff;
27
+ box-shadow: 0 0 4px 1px rgba(0, 0, 0, 0.4);
28
+
29
+ transform: translateY(-50%);
30
+ }
31
+
32
+ .alert-dialog__modal__title {
33
+ margin: 0;
34
+
35
+ font-family: Lato;
36
+ font-size: 20px;
37
+ font-style: normal;
38
+ font-weight: 700;
39
+ line-height: 28px; /* 140% */
40
+ color: #111;
41
+ }
42
+
43
+ .alert-dialog__modal__description {
44
+ margin: 0;
45
+
46
+ font-family: Lato;
47
+ font-size: 14px;
48
+ font-style: normal;
49
+ font-weight: 400;
50
+ line-height: 20px; /* 142.857% */
51
+ color: #111;
52
+ }
53
+
54
+ .alert-dialog__modal__actions {
55
+ display: flex;
56
+ justify-content: flex-end;
57
+ align-items: flex-start;
58
+ gap: 8px;
59
+ align-self: stretch;
60
+ }
@@ -0,0 +1,100 @@
1
+ .layout {
2
+ align-items: end;
3
+ background-color: var(--color-lightest);
4
+ border-bottom: solid 1px var(--color-border-default);
5
+ display: flex;
6
+ flex-direction: row;
7
+ justify-content: space-between;
8
+ padding: 16px;
9
+ height: 68px;
10
+ }
11
+
12
+ .layout:has(.sectionHeaderFocus) {
13
+ height: auto;
14
+ }
15
+
16
+ .layout > div:first-child {
17
+ display: flex;
18
+ flex-direction: column;
19
+ gap: 11px;
20
+ }
21
+
22
+ .layout .subHeader {
23
+ font-family: Lato;
24
+ font-size: 24px;
25
+ font-style: normal;
26
+ font-weight: 700;
27
+ line-height: 28px;
28
+ color: #111;
29
+ }
30
+
31
+ .buttonBar {
32
+ align-items: center;
33
+ display: flex;
34
+ justify-items: flex-end;
35
+ flex-direction: row;
36
+ list-style: none;
37
+ margin: 0;
38
+ padding: 0;
39
+ }
40
+
41
+ .buttonBar > li:not(:last-child) {
42
+ margin-right: var(--spacing-h-0-5x);
43
+ }
44
+
45
+ .sectionHeaderFocus {
46
+ position: relative;
47
+ padding: 0 10px;
48
+ }
49
+
50
+ .sectionHeaderFocus:focus-visible {
51
+ border: none;
52
+ outline: none;
53
+ }
54
+
55
+ .sectionHeaderFocus:focus::after,
56
+ .sectionHeaderFocus:focus-visible::after,
57
+ .sectionHeaderFocus:focus-within::after {
58
+ content: '';
59
+ display: block;
60
+ border: 1px solid black;
61
+ height: 38px;
62
+ width: 100%;
63
+ position: absolute;
64
+ top: -5px;
65
+ left: 0;
66
+ }
67
+
68
+ .section-header__sub-header__skeleton {
69
+ width: 300px;
70
+ height: 28px;
71
+ border-radius: 2px;
72
+ background-color: var(--color-very-light-grey, #f5f5f5);
73
+ position: relative;
74
+ overflow: hidden;
75
+ }
76
+
77
+ .section-header__sub-header__skeleton::before {
78
+ content: '';
79
+ position: absolute;
80
+ top: 0;
81
+ left: 0;
82
+ width: 100%;
83
+ height: 100%;
84
+ background: linear-gradient(90deg,
85
+ rgba(255, 255, 255, 0) 0%,
86
+ rgba(200, 200, 200, 0.4) 50%,
87
+ rgba(255, 255, 255, 0) 100%);
88
+ animation: shimmer 1.5s infinite;
89
+ transform: translateX(-100%);
90
+ }
91
+
92
+ @keyframes shimmer {
93
+ 0% {
94
+ transform: translateX(-100%);
95
+ }
96
+
97
+ 100% {
98
+ transform: translateX(100%);
99
+ }
100
+ }
@@ -0,0 +1,150 @@
1
+ .reminders {
2
+ display: flex;
3
+ flex-direction: column;
4
+ gap: 8px;
5
+ width: 390px;
6
+ }
7
+
8
+ .reminders p {
9
+ margin: 0;
10
+ font-size: 14px;
11
+ line-height: 16px;
12
+ text-align: left;
13
+ color: var(--color-darkest);
14
+ }
15
+
16
+ .current-reminders {
17
+ display: flex;
18
+ flex-direction: column;
19
+ border: 1px solid #888c8c;
20
+ border-radius: var(--border-radius-default);
21
+ }
22
+
23
+ .current-reminders__title {
24
+ background-color: var(--color-very-light-grey, #f5f5f5);
25
+ border-top-left-radius: var(--border-radius-default);
26
+ border-top-right-radius: var(--border-radius-default);
27
+ border-bottom: 1px solid #888c8c;
28
+ padding: 4px 8px 4px 8px;
29
+
30
+ font-size: 14px;
31
+ font-weight: 700;
32
+ line-height: 16px;
33
+ text-align: left;
34
+ color: #111111;
35
+ }
36
+
37
+ .current-reminders__reminder-list {
38
+ all: unset;
39
+ }
40
+
41
+ .current-reminders__reminder {
42
+ display: flex;
43
+ align-items: center;
44
+ justify-content: space-between;
45
+ padding: 4px 8px;
46
+ }
47
+
48
+ .current-reminders__reminder[data-invalid='true'] {
49
+ background-color: rgb(179 18 0 / 10%);
50
+ padding: 8px;
51
+ }
52
+
53
+ .current-reminders__reminder[data-invalid='true'] .reminder__invalid-date {
54
+ display: block;
55
+ margin-top: 6px;
56
+ max-width: 260px;
57
+ }
58
+
59
+ .current-reminders__reminder .line-through {
60
+ text-decoration: line-through;
61
+ }
62
+
63
+ .current-reminders__reminder-status .error {
64
+ color: var(--color-error);
65
+ }
66
+
67
+ .reminders__small-action-button {
68
+ width: -moz-fit-content;
69
+ width: fit-content;
70
+ line-height: 1;
71
+ gap: 4px;
72
+ }
73
+
74
+ .reminders__small-action-button:disabled:hover {
75
+ background-color: var(--color-busy);
76
+ border-color: var(--color-busy);
77
+ color: var(--color-disabled-text);
78
+ }
79
+
80
+ .reminders__small-action-button.iconButton.labelLeft .icon,
81
+ .reminders__small-action-button.iconButton.labelLeft i.icon {
82
+ margin-right: 4px;
83
+ }
84
+
85
+ .current-reminders__actions {
86
+ display: flex;
87
+ margin-right: -4px;
88
+ gap: 4px;
89
+ }
90
+
91
+ .button.secondary.current-reminders__remove-btn,
92
+ .button.secondary.current-reminders__remove-btn:hover {
93
+ border-color: transparent;
94
+ padding: 1px 4px;
95
+ background-color: transparent;
96
+ cursor: pointer;
97
+ }
98
+
99
+ .add-reminder-form {
100
+ padding: 8px;
101
+ display: flex;
102
+ flex-direction: column;
103
+ gap: 8px;
104
+
105
+ background-color: var(--color-very-light-grey, #f5f5f5);
106
+ }
107
+
108
+ .add-reminder-form label {
109
+ display: flex;
110
+ font-size: 14px;
111
+ font-weight: 700;
112
+ line-height: 16px;
113
+ text-align: left;
114
+ color: #111111;
115
+ }
116
+
117
+ .add-reminder-form__inputs {
118
+ display: flex;
119
+ gap: 16px;
120
+ flex-direction: column;
121
+ }
122
+
123
+ .add-reminder-form__days-input {
124
+ display: flex;
125
+ gap: 8px;
126
+ align-items: center;
127
+ width: 50px;
128
+ }
129
+
130
+ .add-reminder-form__radio {
131
+ display: flex;
132
+ gap: 8px;
133
+ flex-direction: column;
134
+ }
135
+
136
+ .add-reminder-form__radio .cayuse_radio-label {
137
+ font-weight: 400;
138
+ }
139
+
140
+ .add-reminder-form__actions {
141
+ display: flex;
142
+ gap: 8px;
143
+ }
144
+
145
+ .reminder__invalid-date {
146
+ font-size: 14px;
147
+ line-height: 16px;
148
+ text-align: left;
149
+ color: var(--color-error, #b31200);
150
+ }
@@ -0,0 +1,5 @@
1
+ .loading-indicator {
2
+ display: flex;
3
+ justify-content: center;
4
+ align-items: center;
5
+ }
@@ -0,0 +1,22 @@
1
+ .link-to-milestone__modal {
2
+ max-width: 840px;
3
+ }
4
+
5
+ .link-to-milestone__modal-content {
6
+ display: flex;
7
+ flex-direction: column;
8
+ gap: 21px;
9
+ width: 100%;
10
+ }
11
+
12
+ .link-to-milestone-combobox > label {
13
+ margin-bottom: 8px;
14
+ }
15
+
16
+ .link-to-milestone-combobox__option {
17
+ margin-left: 24px;
18
+ display: flex;
19
+ align-items: center;
20
+ justify-content: center;
21
+ gap: 31px;
22
+ }
@@ -0,0 +1,14 @@
1
+ .buttonGroup {
2
+ display: flex;
3
+ -moz-column-gap: var(--spacing-h-buttons);
4
+ column-gap: var(--spacing-h-buttons);
5
+ justify-content: flex-end;
6
+ }
7
+
8
+ .buttonGroup.vertical {
9
+ align-items: stretch;
10
+ display: flex;
11
+ flex-direction: column;
12
+ justify-content: flex-start;
13
+ row-gap: var(--spacing-v-buttons);
14
+ }
@@ -0,0 +1,68 @@
1
+ .Toastify__toast-container {
2
+ width: 80%;
3
+ }
4
+
5
+ .Toastify__toast-container--top-center {
6
+ top: var(--height-m-combined-header);
7
+ }
8
+
9
+ .Toastify__toast-icon {
10
+ display: none;
11
+ }
12
+
13
+ .Toastify__toast {
14
+ width: 100%;
15
+ display: flex;
16
+ justify-content: center;
17
+ border: 2px solid;
18
+ border-radius: var(--border-radius-default);
19
+ cursor: default;
20
+ font-family: inherit;
21
+ }
22
+
23
+ .Toastify__toast:last-of-type {
24
+ margin: 0;
25
+ }
26
+
27
+ .Toastify__toast-body {
28
+ display: flex;
29
+ flex-direction: column;
30
+ font-family: inherit;
31
+ justify-content: center;
32
+ margin: 0;
33
+ padding: 0;
34
+ }
35
+
36
+ .notification .Toastify__toast--default,
37
+ .notification .Toastify__toast--error {
38
+ background-color: var(--color-danger-light);
39
+ border-color: var(--color-danger);
40
+ color: var(--color-danger);
41
+ }
42
+
43
+ .notification .Toastify__toast--info {
44
+ background-color: var(--color-info-light);
45
+ border-color: var(--color-info);
46
+ color: var(--color-info);
47
+ }
48
+
49
+ .notification .Toastify__toast--success {
50
+ background-color: var(--color-success-light);
51
+ border-color: var(--color-success);
52
+ color: var(--color-success);
53
+ }
54
+
55
+ .notification .Toastify__toast--login,
56
+ .notification .Toastify__toast--warning {
57
+ background-color: var(--color-warning-light);
58
+ border-color: var(--color-warning);
59
+ color: var(--color-warning);
60
+ }
61
+
62
+ .notification .Toastify__close-button {
63
+ color: inherit;
64
+ cursor: pointer;
65
+ position: absolute;
66
+ right: var(--spacing-h-1x);
67
+ top: var(--spacing-v-1x);
68
+ }
@@ -0,0 +1,6 @@
1
+ .covertButton {
2
+ background: transparent;
3
+ border: none;
4
+ cursor: pointer;
5
+ padding: 0;
6
+ }
@@ -0,0 +1,35 @@
1
+ .cell {
2
+ padding: var(--spacing-v-1-5x) var(--spacing-h-1x);
3
+ }
4
+
5
+ .borderTop {
6
+ border-top: solid 1px var(--color-border-default);
7
+ }
8
+
9
+ .borderRight {
10
+ border-right: solid 1px var(--color-border-default);
11
+ }
12
+
13
+ .borderBottom {
14
+ border-bottom: solid 1px var(--color-border-default);
15
+ }
16
+
17
+ .borderLeft {
18
+ border-left: solid 1px var(--color-border-default);
19
+ }
20
+
21
+ .radiusTopLeft {
22
+ border-top-left-radius: var(--border-radius-default);
23
+ }
24
+
25
+ .radiusTopRight {
26
+ border-top-right-radius: var(--border-radius-default);
27
+ }
28
+
29
+ .radiusBottomLeft {
30
+ border-bottom-left-radius: var(--border-radius-default);
31
+ }
32
+
33
+ .radiusBottomRight {
34
+ border-bottom-right-radius: var(--border-radius-default);
35
+ }
@@ -0,0 +1,71 @@
1
+ .file-upload {
2
+ display: flex;
3
+ flex-direction: column;
4
+ gap: 24px;
5
+
6
+ padding: 24px;
7
+ min-height: 140px;
8
+
9
+ background: #ffffff;
10
+ border: 1px dashed #cccccc;
11
+ border-radius: 3px;
12
+ }
13
+
14
+ .file-upload__content {
15
+ display: flex;
16
+ flex-direction: column;
17
+ justify-content: center;
18
+ align-items: center;
19
+ gap: 8px;
20
+ }
21
+
22
+ .file-upload__content span {
23
+ color: #111;
24
+ text-align: center;
25
+ font-family: Lato;
26
+ font-size: 14px;
27
+ font-style: normal;
28
+ font-weight: 400;
29
+ line-height: normal;
30
+ }
31
+
32
+ .file-upload__content .file-upload__uploading-text,
33
+ .file-upload__content span.file-upload__drop-files-text {
34
+ font-weight: 700;
35
+ }
36
+
37
+ .file-upload__content .ui.loading.loadingIndicator {
38
+ height: 24px;
39
+ width: 24px;
40
+ padding: 0;
41
+ margin: 0;
42
+ }
43
+
44
+ .file-upload__content .ui.loading.segment:after {
45
+ height: 24px;
46
+ width: 24px;
47
+ margin: 0;
48
+ top: 0;
49
+ left: 0;
50
+ }
51
+
52
+ .file-upload__content .file-upload__select-file-button {
53
+ flex-direction: row-reverse;
54
+ align-items: center;
55
+ padding: 8px 16px;
56
+ gap: 8px;
57
+ }
58
+
59
+ .file-upload__content .file-upload__select-file-button:focus,
60
+ .file-upload__content .file-upload__select-file-button:focus-visible {
61
+ outline-offset: 3px;
62
+ outline-color: #5092f7;
63
+ }
64
+
65
+ .file-upload__content
66
+ .file-upload__select-file-button
67
+ svg[data-component='Icon'] {
68
+ width: 14px;
69
+ margin-left: 0;
70
+ margin-right: 0;
71
+ }