@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.
- package/README.md +346 -0
- package/dist/chunk-2K3CWMLR.js +108 -0
- package/dist/chunk-2K3CWMLR.js.map +1 -0
- package/dist/chunk-B2Z63U4D.js +10398 -0
- package/dist/chunk-B2Z63U4D.js.map +1 -0
- package/dist/chunk-EPGO6B3U.js +3 -0
- package/dist/chunk-EPGO6B3U.js.map +1 -0
- package/dist/chunk-LFWPG3ND.js +97 -0
- package/dist/chunk-LFWPG3ND.js.map +1 -0
- package/dist/chunk-M2L7SQBQ.js +205 -0
- package/dist/chunk-M2L7SQBQ.js.map +1 -0
- package/dist/chunk-MJBMK4OG.js +143 -0
- package/dist/chunk-MJBMK4OG.js.map +1 -0
- package/dist/chunk-RG4GEORO.js +194 -0
- package/dist/chunk-RG4GEORO.js.map +1 -0
- package/dist/chunk-SZMEZFAR.js +193 -0
- package/dist/chunk-SZMEZFAR.js.map +1 -0
- package/dist/chunk-TYZPOXN5.js +243 -0
- package/dist/chunk-TYZPOXN5.js.map +1 -0
- package/dist/chunk-XRUFEGUC.js +225 -0
- package/dist/chunk-XRUFEGUC.js.map +1 -0
- package/dist/components/index.d.ts +1471 -0
- package/dist/components/index.js +144 -0
- package/dist/components/index.js.map +1 -0
- package/dist/context/tenant/index.d.ts +200 -0
- package/dist/context/tenant/index.js +14 -0
- package/dist/context/tenant/index.js.map +1 -0
- package/dist/globals/constants/index.d.ts +83 -0
- package/dist/globals/constants/index.js +31 -0
- package/dist/globals/constants/index.js.map +1 -0
- package/dist/globals/css/index.d.ts +2 -0
- package/dist/globals/css/index.js +2 -0
- package/dist/globals/css/index.js.map +1 -0
- package/dist/hooks/index.d.ts +125 -0
- package/dist/hooks/index.js +30 -0
- package/dist/hooks/index.js.map +1 -0
- package/dist/index-4NH7IW34.css +47 -0
- package/dist/index.d.ts +16 -0
- package/dist/index.js +302 -0
- package/dist/index.js.map +1 -0
- package/dist/modal-dialog-IH5SI4CF.css +93 -0
- package/dist/services/upload-s3/index.d.ts +35 -0
- package/dist/services/upload-s3/index.js +11 -0
- package/dist/services/upload-s3/index.js.map +1 -0
- package/dist/styles-2WZORUGA.css +106 -0
- package/dist/styles-32VHTPIA.css +20 -0
- package/dist/styles-3A5DZ5R7.css +70 -0
- package/dist/styles-3PFCZALV.css +60 -0
- package/dist/styles-3SNYRDO2.css +100 -0
- package/dist/styles-4FHUBUVF.css +150 -0
- package/dist/styles-4KAVAZFG.css +5 -0
- package/dist/styles-4OFM6DY5.css +22 -0
- package/dist/styles-5OXZHQGW.css +14 -0
- package/dist/styles-6XZTUN3B.css +68 -0
- package/dist/styles-73WOPK6M.css +6 -0
- package/dist/styles-7AV26IBF.css +35 -0
- package/dist/styles-7DWK55L2.css +71 -0
- package/dist/styles-7GWPZSR2.css +222 -0
- package/dist/styles-7QBPXFSY.css +6 -0
- package/dist/styles-7T6DSZIY.css +27 -0
- package/dist/styles-AUI7W2SW.css +408 -0
- package/dist/styles-AZSHBXJQ.css +85 -0
- package/dist/styles-BTXJVGNW.css +99 -0
- package/dist/styles-BUPIQG5C.css +74 -0
- package/dist/styles-CLK36LUK.css +27 -0
- package/dist/styles-CSKYCMD4.css +123 -0
- package/dist/styles-CWCX26BQ.css +13 -0
- package/dist/styles-GAIKDZU6.css +47 -0
- package/dist/styles-GB7S5BAZ.css +36 -0
- package/dist/styles-GVPT6A2Z.css +45 -0
- package/dist/styles-IUBOTHBR.css +581 -0
- package/dist/styles-IZPTZRKW.css +78 -0
- package/dist/styles-LS2YWO5W.css +39 -0
- package/dist/styles-M5BEFS4G.css +148 -0
- package/dist/styles-MHNICXOS.css +18 -0
- package/dist/styles-P6IOJDNI.css +47 -0
- package/dist/styles-Q7XE2QVU.css +55 -0
- package/dist/styles-R7IS5IGF.css +7 -0
- package/dist/styles-RDYYTTBU.css +218 -0
- package/dist/styles-RTHIZL5W.css +48 -0
- package/dist/styles-RUY4EKZW.css +9 -0
- package/dist/styles-T5QJAAUY.css +184 -0
- package/dist/styles-VBXWGFCK.css +96 -0
- package/dist/styles-VE76CGRO.css +6 -0
- package/dist/styles-VLCZ7JYV.css +140 -0
- package/dist/styles-W5HDD3YQ.css +71 -0
- package/dist/styles-X7BJCSFV.css +86 -0
- package/dist/styles-XVRR5GIG.css +42 -0
- package/dist/styles-YBC6BJBD.css +83 -0
- package/dist/styles-YXNJHPDZ.css +74 -0
- package/dist/styles-Z276IEVM.css +264 -0
- package/dist/utils/index.d.ts +145 -0
- package/dist/utils/index.js +98 -0
- package/dist/utils/index.js.map +1 -0
- package/package.json +113 -0
- package/packages/eslint-config/README.md +69 -0
- package/packages/eslint-config/base.js +25 -0
- package/packages/eslint-config/next.js +49 -0
- package/packages/eslint-config/react-internal.js +44 -0
- package/packages/typescript-config/README.md +70 -0
- package/packages/typescript-config/base.json +21 -0
- package/packages/typescript-config/nextjs.json +12 -0
- package/packages/typescript-config/react-library.json +7 -0
|
@@ -0,0 +1,148 @@
|
|
|
1
|
+
.formNoteAttachmentsView {
|
|
2
|
+
display: grid;
|
|
3
|
+
row-gap: var(--spacing-v-2x);
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
.noteAttachmentRow {
|
|
7
|
+
display: grid;
|
|
8
|
+
grid-template-columns: 55fr 45fr;
|
|
9
|
+
-moz-column-gap: var(--spacing-h-1x);
|
|
10
|
+
column-gap: var(--spacing-h-1x);
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.saveButtonRow {
|
|
14
|
+
display: flex;
|
|
15
|
+
justify-content: flex-end;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.addNote {
|
|
19
|
+
display: flex;
|
|
20
|
+
gap: 8px;
|
|
21
|
+
flex-direction: column;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.addNote label {
|
|
25
|
+
font-weight: 700;
|
|
26
|
+
font-size: 14px;
|
|
27
|
+
line-height: 16px;
|
|
28
|
+
color: #111111;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.editNote {
|
|
32
|
+
width: 100%;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.editNote .ql-editor {
|
|
36
|
+
height: 160px;
|
|
37
|
+
word-break: break-word;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.attachments-section {
|
|
41
|
+
display: flex;
|
|
42
|
+
flex-direction: column;
|
|
43
|
+
gap: 8px;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.note-attachments-table .row-actions {
|
|
47
|
+
display: flex;
|
|
48
|
+
gap: 8px;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.note-attachments-table .row-actions > button {
|
|
52
|
+
padding: 5px;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.validationMessage {
|
|
56
|
+
display: block;
|
|
57
|
+
color: var(--color-danger);
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.ui.dropdown .menu > .item.attachmentType {
|
|
61
|
+
font-size: var(--font-size-d-small);
|
|
62
|
+
width: 350px;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.attachmentType {
|
|
66
|
+
background-color: var(--color-lightest);
|
|
67
|
+
border: 1px solid var(--color-medium-grey);
|
|
68
|
+
box-sizing: border-box;
|
|
69
|
+
font-size: var(--font-size-d-small);
|
|
70
|
+
height: 35px;
|
|
71
|
+
padding: var(--spacing-v-1x) var(--spacing-h-0-5x);
|
|
72
|
+
width: 350px;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
/*.attachmentType .visible.menu {*/
|
|
76
|
+
/* background-color: var(--color-lightest);*/
|
|
77
|
+
/* max-height: 350px;*/
|
|
78
|
+
/* overflow: scroll;*/
|
|
79
|
+
/* overflow-x: hidden;*/
|
|
80
|
+
/* width: 350px;*/
|
|
81
|
+
/*}*/
|
|
82
|
+
|
|
83
|
+
.fileUploadWrapper .dropzone {
|
|
84
|
+
height: auto !important;
|
|
85
|
+
width: auto !important;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.note-attachments-table .attachments-cell {
|
|
89
|
+
display: flex;
|
|
90
|
+
flex-direction: column;
|
|
91
|
+
align-items: start;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
.note-attachments-table .attachments-cell button {
|
|
95
|
+
color: var(--color-primary);
|
|
96
|
+
cursor: pointer;
|
|
97
|
+
line-height: 1.5;
|
|
98
|
+
text-decoration: underline;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
.editModalRichText {
|
|
102
|
+
margin-bottom: 15px;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
.editModalAttachments {
|
|
106
|
+
display: grid;
|
|
107
|
+
grid-auto-flow: row;
|
|
108
|
+
row-gap: 8px;
|
|
109
|
+
margin-bottom: 20px;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
.attachmentRow {
|
|
113
|
+
background-color: #f5f5f5;
|
|
114
|
+
display: grid;
|
|
115
|
+
grid-template-columns: auto 1fr auto;
|
|
116
|
+
-moz-column-gap: 10px;
|
|
117
|
+
column-gap: 10px;
|
|
118
|
+
padding: 5px;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
.removeAttachmentIcon {
|
|
122
|
+
color: #b31200;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
.topMargin {
|
|
126
|
+
margin-top: var(--spacing-v-2x);
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
.cancelButton {
|
|
130
|
+
margin-right: var(--spacing-h-0-5x);
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
.richTextWrapper {
|
|
134
|
+
overflow-y: auto;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
.richTextInput .ql-editor {
|
|
138
|
+
min-height: 100px;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
.messageText {
|
|
142
|
+
white-space: normal;
|
|
143
|
+
word-break: break-word;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
.iconButton {
|
|
147
|
+
color: var(--color-primary);
|
|
148
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
.richText {
|
|
2
|
+
font-family: var(--font-family-d-body);
|
|
3
|
+
font-size: var(--font-size-d-body);
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
.richText .ql-container {
|
|
7
|
+
border-color: var(--color-border-default);
|
|
8
|
+
border-bottom-left-radius: var(--border-radius-default);
|
|
9
|
+
border-bottom-right-radius: var(--border-radius-default);
|
|
10
|
+
font-family: inherit;
|
|
11
|
+
font-size: inherit;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.richText .ql-toolbar {
|
|
15
|
+
border-color: var(--color-border-default);
|
|
16
|
+
border-top-left-radius: var(--border-radius-default);
|
|
17
|
+
border-top-right-radius: var(--border-radius-default);
|
|
18
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
.tablist {
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-direction: row;
|
|
4
|
+
margin: 0;
|
|
5
|
+
padding: 0;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.tablist > li {
|
|
9
|
+
list-style: none;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.tablist > li > button {
|
|
13
|
+
background: 0 0;
|
|
14
|
+
border-bottom: 1px solid transparent;
|
|
15
|
+
border-left: 1px solid transparent;
|
|
16
|
+
border-right: 1px solid transparent;
|
|
17
|
+
border-top: 2px solid transparent;
|
|
18
|
+
padding: 0.92857143em 1.42857143em;
|
|
19
|
+
color: #111111;
|
|
20
|
+
font-weight: 700;
|
|
21
|
+
outline-color: #0076b6;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.tablist > li > button[aria-selected='true'] {
|
|
25
|
+
background-color: #fff;
|
|
26
|
+
color: #0076b6;
|
|
27
|
+
border-top-width: 2px;
|
|
28
|
+
border-left-color: #d4d4d5;
|
|
29
|
+
border-right-color: #d4d4d5;
|
|
30
|
+
border-top-color: #0076b6;
|
|
31
|
+
font-weight: 700;
|
|
32
|
+
box-shadow: none;
|
|
33
|
+
border-radius: 0.28571429rem 0.28571429rem 0 0;
|
|
34
|
+
border-bottom: 2px solid #fff;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.tabsWrapper section[role='tabpanel'] {
|
|
38
|
+
border: 1px solid #d4d4d5;
|
|
39
|
+
background-color: #fff;
|
|
40
|
+
margin-top: -1px;
|
|
41
|
+
padding: 14px;
|
|
42
|
+
outline-color: #0076b6;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.tabsWrapper section[role='tabpanel'].form {
|
|
46
|
+
padding: 0 !important;
|
|
47
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
.cayuse_radio-group-legend {
|
|
2
|
+
display: flex;
|
|
3
|
+
font-weight: 700;
|
|
4
|
+
font-size: 14px;
|
|
5
|
+
line-height: 16px;
|
|
6
|
+
padding-inline-start: 0;
|
|
7
|
+
padding-inline-end: 0;
|
|
8
|
+
margin-bottom: 8px;
|
|
9
|
+
color: #111111;
|
|
10
|
+
border: none;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.cayuse_radio-group-required {
|
|
14
|
+
font-weight: 700;
|
|
15
|
+
font-size: 24px;
|
|
16
|
+
line-height: 16px;
|
|
17
|
+
color: #b31200;
|
|
18
|
+
margin-right: 2px;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.cayuse_radio-group {
|
|
22
|
+
all: unset;
|
|
23
|
+
display: flex;
|
|
24
|
+
flex-direction: column;
|
|
25
|
+
gap: 8px;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.cayuse_radio-group-description {
|
|
29
|
+
all: unset;
|
|
30
|
+
font-weight: 400;
|
|
31
|
+
font-size: 12px;
|
|
32
|
+
line-height: 12px;
|
|
33
|
+
color: #5e5e5e;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.cayuse_radio-group-error-message {
|
|
37
|
+
all: unset;
|
|
38
|
+
font-weight: 400;
|
|
39
|
+
font-size: 12px;
|
|
40
|
+
line-height: 12px;
|
|
41
|
+
color: #b31200;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.cayuse_radio-group-list {
|
|
45
|
+
all: unset;
|
|
46
|
+
display: flex;
|
|
47
|
+
flex-direction: column;
|
|
48
|
+
gap: 8px;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.cayuse_radio-group-item {
|
|
52
|
+
display: flex;
|
|
53
|
+
flex-direction: column;
|
|
54
|
+
gap: 8px;
|
|
55
|
+
}
|
|
@@ -0,0 +1,218 @@
|
|
|
1
|
+
.button-wrapper button {
|
|
2
|
+
align-items: center;
|
|
3
|
+
display: inline-flex;
|
|
4
|
+
flex-direction: row;
|
|
5
|
+
justify-content: flex-start;
|
|
6
|
+
|
|
7
|
+
background-color: var(--color-primary);
|
|
8
|
+
border: 1px solid var(--color-primary);
|
|
9
|
+
border-radius: var(--border-radius-default);
|
|
10
|
+
color: var(--color-lightest);
|
|
11
|
+
font-family: inherit;
|
|
12
|
+
font-size: 14px;
|
|
13
|
+
font-style: normal;
|
|
14
|
+
font-weight: bold;
|
|
15
|
+
line-height: 16px; /* 114.286% */
|
|
16
|
+
padding: 8px 16px 8px 16px;
|
|
17
|
+
position: relative;
|
|
18
|
+
transition: all 200ms ease-in-out;
|
|
19
|
+
cursor: pointer;
|
|
20
|
+
gap: 16px;
|
|
21
|
+
-webkit-user-select: none;
|
|
22
|
+
-moz-user-select: none;
|
|
23
|
+
user-select: none;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.button-wrapper button:focus {
|
|
27
|
+
outline: 2px solid var(--color-focus);
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.button-wrapper button.primary {
|
|
31
|
+
background-color: var(--color-primary);
|
|
32
|
+
border: 1px solid var(--color-primary);
|
|
33
|
+
border-radius: var(--border-radius-default);
|
|
34
|
+
color: var(--color-lightest);
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.button-wrapper button.primary:hover {
|
|
38
|
+
background-color: var(--color-hover);
|
|
39
|
+
border: 1px solid var(--color-hover);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.button-wrapper button.secondary {
|
|
43
|
+
background-color: #ffffff;
|
|
44
|
+
color: var(--color-primary);
|
|
45
|
+
border: 1px solid var(--color-primary);
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.button-wrapper button.secondary:hover {
|
|
49
|
+
background-color: var(--color-secondary-hover);
|
|
50
|
+
border: 1px solid var(--color-hover);
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.button-wrapper button.success {
|
|
54
|
+
background-color: var(--color-success);
|
|
55
|
+
border: 1px solid var(--color-success);
|
|
56
|
+
color: var(--color-lightest);
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.button-wrapper button.danger {
|
|
60
|
+
background-color: var(--color-danger);
|
|
61
|
+
border: 1px solid var(--color-danger);
|
|
62
|
+
color: var(--color-lightest);
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.button-wrapper button.busy {
|
|
66
|
+
cursor: wait;
|
|
67
|
+
padding-left: 40px;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.button-wrapper button.busy svg,
|
|
71
|
+
.button-wrapper button.busy i {
|
|
72
|
+
display: none;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.button-wrapper button.busy,
|
|
76
|
+
.button-wrapper button.secondary.busy {
|
|
77
|
+
padding-left: 3em;
|
|
78
|
+
position: relative;
|
|
79
|
+
box-shadow: none;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.button-wrapper button.busy::before,
|
|
83
|
+
.button-wrapper button.secondary.busy::before {
|
|
84
|
+
/* todo: this was pulled from semantic, talk to UX about using an asset instead */
|
|
85
|
+
content: '';
|
|
86
|
+
animation: busy-spin 0.6s linear;
|
|
87
|
+
animation-iteration-count: infinite;
|
|
88
|
+
box-shadow: 0 0 0 1px transparent;
|
|
89
|
+
border-color: #09101d rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1);
|
|
90
|
+
border-radius: 100%;
|
|
91
|
+
border-style: solid;
|
|
92
|
+
border-width: 1px;
|
|
93
|
+
position: absolute;
|
|
94
|
+
left: 1.25em;
|
|
95
|
+
height: 1em;
|
|
96
|
+
visibility: visible;
|
|
97
|
+
width: 1em;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
@keyframes busy-spin {
|
|
101
|
+
from {
|
|
102
|
+
transform: rotate(0deg);
|
|
103
|
+
}
|
|
104
|
+
to {
|
|
105
|
+
transform: rotate(360deg);
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
.button-wrapper button.disabled {
|
|
110
|
+
cursor: not-allowed;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
.button-wrapper button.primary.busy,
|
|
114
|
+
.button-wrapper button.secondary.busy,
|
|
115
|
+
.button-wrapper button.busy {
|
|
116
|
+
background-color: var(--color-busy);
|
|
117
|
+
border: 1px solid var(--color-busy);
|
|
118
|
+
color: var(--color-disabled-text);
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
.button-wrapper button.primary.disabled,
|
|
122
|
+
.button-wrapper button.secondary.disabled,
|
|
123
|
+
.button-wrapper button.disabled {
|
|
124
|
+
background-color: #a5abb3;
|
|
125
|
+
border: 1px solid #a5abb3;
|
|
126
|
+
color: #09101d;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
.button-wrapper button.small {
|
|
130
|
+
padding: 4px 8px 4px 8px;
|
|
131
|
+
gap: 8px;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
.button-wrapper {
|
|
135
|
+
position: relative;
|
|
136
|
+
width: -moz-fit-content;
|
|
137
|
+
width: fit-content;
|
|
138
|
+
display: inline-flex;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
.button-wrapper .tooltip {
|
|
142
|
+
width: -moz-fit-content;
|
|
143
|
+
width: fit-content;
|
|
144
|
+
min-width: 120px;
|
|
145
|
+
bottom: 100%;
|
|
146
|
+
left: 50%;
|
|
147
|
+
transform: translateX(-50%);
|
|
148
|
+
visibility: hidden;
|
|
149
|
+
text-align: center;
|
|
150
|
+
border-radius: 6px;
|
|
151
|
+
padding: 5px;
|
|
152
|
+
position: absolute;
|
|
153
|
+
z-index: 103;
|
|
154
|
+
background-color: #09101d;
|
|
155
|
+
color: #ffffff;
|
|
156
|
+
font-weight: normal;
|
|
157
|
+
font-size: 12px;
|
|
158
|
+
opacity: 1;
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
.button-wrapper .tooltip::after {
|
|
162
|
+
content: ' ';
|
|
163
|
+
position: absolute;
|
|
164
|
+
top: 100%;
|
|
165
|
+
left: 50%;
|
|
166
|
+
margin-left: -5px;
|
|
167
|
+
border-width: 5px;
|
|
168
|
+
border-style: solid;
|
|
169
|
+
border-color: black transparent transparent transparent;
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
.button-wrapper button:focus ~ .tooltip,
|
|
173
|
+
.button-wrapper button:focus-within ~ .tooltip,
|
|
174
|
+
.button-wrapper button:focus-visible ~ .tooltip,
|
|
175
|
+
.button-wrapper button:hover ~ .tooltip {
|
|
176
|
+
visibility: visible;
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
.button-wrapper button.tertiary {
|
|
180
|
+
color: var(--color-primary);
|
|
181
|
+
display: inline-flex;
|
|
182
|
+
align-items: center;
|
|
183
|
+
border: none;
|
|
184
|
+
cursor: pointer;
|
|
185
|
+
background: transparent;
|
|
186
|
+
padding: 0;
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
.button-wrapper button.tertiary:hover {
|
|
190
|
+
color: var(--color-hover);
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
.button-wrapper button.tertiary.disabled {
|
|
194
|
+
color: var(--color-disabled-text);
|
|
195
|
+
cursor: not-allowed;
|
|
196
|
+
border: none;
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
.button-wrapper button.tertiary.busy {
|
|
200
|
+
border: none;
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
.button-wrapper button.tertiary:focus,
|
|
204
|
+
.button-wrapper button.tertiary:focus-within,
|
|
205
|
+
.button-wrapper button.tertiary:focus-visible {
|
|
206
|
+
border-color: var(--color-focus);
|
|
207
|
+
outline: 2px solid var(--color-focus);
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
.button-wrapper button.tertiary svg {
|
|
211
|
+
color: var(--color-primary);
|
|
212
|
+
margin-right: 0;
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
.button-wrapper button svg {
|
|
216
|
+
margin-right: 0;
|
|
217
|
+
margin-left: 0;
|
|
218
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
.iconButton {
|
|
2
|
+
align-items: center;
|
|
3
|
+
display: inline-flex;
|
|
4
|
+
flex-direction: row;
|
|
5
|
+
justify-content: flex-start;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.ui.labeled.icon.button > .icon:before {
|
|
9
|
+
margin-top: unset;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.iconButton.labelRight {
|
|
13
|
+
flex-direction: row;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.iconButton.labelLeft {
|
|
17
|
+
flex-direction: row-reverse;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.iconButton.labelLeft .icon,
|
|
21
|
+
.iconButton.labelRight i.icon,
|
|
22
|
+
.iconButton.labelRight .icon,
|
|
23
|
+
.iconButton.labelLeft i.icon {
|
|
24
|
+
height: var(--height-m-icon);
|
|
25
|
+
line-height: 1;
|
|
26
|
+
position: relative;
|
|
27
|
+
width: var(--width-m-icon);
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.iconButton.labelLeft .icon:before,
|
|
31
|
+
.iconButton.labelLeft i.icon:before,
|
|
32
|
+
.iconButton.labelRight .icon:before,
|
|
33
|
+
.iconButton.labelRight i.icon:before {
|
|
34
|
+
left: 50%;
|
|
35
|
+
position: absolute;
|
|
36
|
+
top: 50%;
|
|
37
|
+
transform: translate3d(-50%, -50%, 0);
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
@media (var(--medium)) {
|
|
41
|
+
.iconButton.labelLeft .icon,
|
|
42
|
+
.iconButton.labelLeft i.icon,
|
|
43
|
+
.iconButton.labelRight .icon,
|
|
44
|
+
.iconButton.labelRight i.icon {
|
|
45
|
+
height: var(--height-d-icon);
|
|
46
|
+
width: var(--width-d-icon);
|
|
47
|
+
}
|
|
48
|
+
}
|