@terraware/web-components 3.9.11 → 3.9.12
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/components/AntSwitch/styles.scss +3 -3
- package/components/Autocomplete/styles.scss +52 -52
- package/components/Button/styles.scss +141 -141
- package/components/DatePicker/styles.scss +31 -31
- package/components/DialogBox/styles.scss +35 -35
- package/components/EditableTable/index.d.ts +86 -0
- package/components/EditableTable/index.d.ts.map +1 -0
- package/components/EditableTable/index.js +179 -0
- package/components/ErrorBox/styles.scss +16 -16
- package/components/Icon/styles.scss +9 -9
- package/components/Map/styles.scss +20 -20
- package/components/Markdown/styles.scss +37 -37
- package/components/Message/styles.scss +63 -63
- package/components/MultiSelect/styles.scss +66 -66
- package/components/Navbar/styles.scss +39 -39
- package/components/Pill/styles.scss +10 -10
- package/components/PillList/styles.scss +2 -2
- package/components/PopoverMultiSelect/styles.scss +4 -4
- package/components/ProgressCircle/styles.scss +24 -24
- package/components/Select/styles.scss +107 -107
- package/components/Textfield/styles.scss +108 -108
- package/components/TimelineSlider/styles.scss +18 -18
- package/components/ViewPhotosDialog/styles.scss +3 -3
- package/license-report.html +1 -1
- package/package.json +2 -1
- package/stories/EditableTable.stories.d.ts +14 -0
- package/stories/EditableTable.stories.d.ts.map +1 -0
- package/style-dictionary-dist/terraware.scss +2 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@
|
|
1
|
+
@use '../../style-dictionary-dist/terraware.scss';
|
|
2
2
|
|
|
3
3
|
@font-face {
|
|
4
4
|
font-family: 'Inter';
|
|
@@ -9,12 +9,12 @@
|
|
|
9
9
|
height: 100%;
|
|
10
10
|
position: fixed;
|
|
11
11
|
z-index: 1101;
|
|
12
|
-
width:
|
|
12
|
+
width: terraware.$tw-sz-nvgtn-side-nav-width;
|
|
13
13
|
display: flex;
|
|
14
14
|
flex-direction: column;
|
|
15
|
-
padding-left:
|
|
16
|
-
padding-right:
|
|
17
|
-
padding-top:
|
|
15
|
+
padding-left: terraware.$tw-sz-base-small;
|
|
16
|
+
padding-right: terraware.$tw-sz-base-small;
|
|
17
|
+
padding-top: terraware.$tw-sz-base-small;
|
|
18
18
|
|
|
19
19
|
&.transparent {
|
|
20
20
|
background-color: transparent !important;
|
|
@@ -23,20 +23,20 @@
|
|
|
23
23
|
}
|
|
24
24
|
|
|
25
25
|
.nav-section {
|
|
26
|
-
padding:
|
|
26
|
+
padding: terraware.$tw-spc-base-x-small terraware.$tw-spc-base-small;
|
|
27
27
|
.divider {
|
|
28
|
-
border-top: 1px solid
|
|
28
|
+
border-top: 1px solid terraware.$tw-clr-brdr-tertiary;
|
|
29
29
|
}
|
|
30
30
|
|
|
31
31
|
&--title {
|
|
32
|
-
font-family:
|
|
33
|
-
font-size:
|
|
34
|
-
font-weight:
|
|
35
|
-
line-height:
|
|
36
|
-
text-transform:
|
|
37
|
-
color:
|
|
32
|
+
font-family: terraware.$tw-fnt-nvgtn-side-nav-section-title-font-family;
|
|
33
|
+
font-size: terraware.$tw-fnt-nvgtn-side-nav-section-title-font-size;
|
|
34
|
+
font-weight: terraware.$tw-fnt-nvgtn-side-nav-section-title-font-weight;
|
|
35
|
+
line-height: terraware.$tw-fnt-nvgtn-side-nav-section-title-line-height;
|
|
36
|
+
text-transform: terraware.$tw-fnt-nvgtn-side-nav-section-title-text-transform;
|
|
37
|
+
color: terraware.$tw-clr-txt;
|
|
38
38
|
display: block;
|
|
39
|
-
margin-top:
|
|
39
|
+
margin-top: terraware.$tw-spc-base-small;
|
|
40
40
|
|
|
41
41
|
&.no-separator {
|
|
42
42
|
margin-top: 0;
|
|
@@ -50,11 +50,11 @@
|
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
.nav-item {
|
|
53
|
-
font-family:
|
|
54
|
-
font-size:
|
|
55
|
-
font-weight:
|
|
56
|
-
line-height:
|
|
57
|
-
color:
|
|
53
|
+
font-family: terraware.$tw-fnt-nvgtn-side-nav-item-label-font-family;
|
|
54
|
+
font-size: terraware.$tw-fnt-nvgtn-side-nav-item-label-font-size;
|
|
55
|
+
font-weight: terraware.$tw-fnt-nvgtn-side-nav-item-label-font-weight;
|
|
56
|
+
line-height: terraware.$tw-fnt-nvgtn-side-nav-item-label-line-height;
|
|
57
|
+
color: terraware.$tw-clr-txt;
|
|
58
58
|
border-radius: 16px;
|
|
59
59
|
mix-blend-mode: multiply;
|
|
60
60
|
|
|
@@ -67,11 +67,11 @@
|
|
|
67
67
|
padding: 12px 16px;
|
|
68
68
|
display: flex;
|
|
69
69
|
width: 100%;
|
|
70
|
-
font-weight:
|
|
70
|
+
font-weight: terraware.$tw-fnt-nvgtn-side-nav-item-label-font-weight;
|
|
71
71
|
|
|
72
72
|
.nav-item--anchor {
|
|
73
73
|
text-decoration: none;
|
|
74
|
-
color:
|
|
74
|
+
color: terraware.$tw-clr-txt;
|
|
75
75
|
}
|
|
76
76
|
|
|
77
77
|
.nav-item--label {
|
|
@@ -88,10 +88,10 @@
|
|
|
88
88
|
|
|
89
89
|
&--has-children {
|
|
90
90
|
> .nav-item-content:hover {
|
|
91
|
-
background-color:
|
|
91
|
+
background-color: terraware.$tw-clr-bg-ghost-hover;
|
|
92
92
|
}
|
|
93
93
|
> .nav-item-content:active {
|
|
94
|
-
background-color:
|
|
94
|
+
background-color: terraware.$tw-clr-bg-ghost-active;
|
|
95
95
|
}
|
|
96
96
|
&.nav-item--children-selected > .nav-item-content:hover {
|
|
97
97
|
background-color: transparent;
|
|
@@ -103,47 +103,47 @@
|
|
|
103
103
|
|
|
104
104
|
&:not(.nav-item--has-children) {
|
|
105
105
|
&:hover {
|
|
106
|
-
background-color:
|
|
106
|
+
background-color: terraware.$tw-clr-bg-ghost-hover;
|
|
107
107
|
}
|
|
108
108
|
&.nav-item--selected,
|
|
109
109
|
&.nav-item--selected:hover {
|
|
110
|
-
background-color:
|
|
110
|
+
background-color: terraware.$tw-clr-bg-ghost-active;
|
|
111
111
|
}
|
|
112
112
|
}
|
|
113
113
|
|
|
114
114
|
button {
|
|
115
115
|
background: none;
|
|
116
116
|
border: none;
|
|
117
|
-
color:
|
|
117
|
+
color: terraware.$tw-clr-txt;
|
|
118
118
|
font-family: 'Inter';
|
|
119
|
-
padding-right:
|
|
119
|
+
padding-right: terraware.$tw-spc-base-small;
|
|
120
120
|
padding-left: 16px;
|
|
121
121
|
}
|
|
122
122
|
|
|
123
123
|
&--icon {
|
|
124
|
-
margin-right:
|
|
125
|
-
line-height:
|
|
126
|
-
height:
|
|
127
|
-
min-width:
|
|
128
|
-
width:
|
|
124
|
+
margin-right: terraware.$tw-spc-base-x-small;
|
|
125
|
+
line-height: terraware.$tw-sz-icon-small;
|
|
126
|
+
height: terraware.$tw-sz-icon-small;
|
|
127
|
+
min-width: terraware.$tw-sz-icon-small;
|
|
128
|
+
width: terraware.$tw-sz-icon-small;
|
|
129
129
|
}
|
|
130
130
|
|
|
131
131
|
&--arrow {
|
|
132
|
-
height:
|
|
133
|
-
width:
|
|
134
|
-
margin-left:
|
|
132
|
+
height: terraware.$tw-sz-icon-small;
|
|
133
|
+
width: terraware.$tw-sz-icon-small;
|
|
134
|
+
margin-left: terraware.$tw-spc-base-x-small;
|
|
135
135
|
|
|
136
136
|
path {
|
|
137
|
-
fill:
|
|
137
|
+
fill: terraware.$tw-clr-icn-secondary;
|
|
138
138
|
}
|
|
139
139
|
}
|
|
140
140
|
|
|
141
141
|
.subnavbar .nav-item {
|
|
142
|
-
padding-left:
|
|
143
|
-
padding-right:
|
|
142
|
+
padding-left: terraware.$tw-spc-base-small;
|
|
143
|
+
padding-right: terraware.$tw-spc-base-small;
|
|
144
144
|
|
|
145
145
|
&-content {
|
|
146
|
-
padding-left:
|
|
146
|
+
padding-left: terraware.$tw-spc-base-medium;
|
|
147
147
|
}
|
|
148
148
|
}
|
|
149
149
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@
|
|
1
|
+
@use '../../style-dictionary-dist/terraware.scss';
|
|
2
2
|
|
|
3
3
|
@font-face {
|
|
4
4
|
font-family: 'Inter';
|
|
@@ -6,24 +6,24 @@
|
|
|
6
6
|
}
|
|
7
7
|
|
|
8
8
|
.pill {
|
|
9
|
-
font-family:
|
|
10
|
-
background:
|
|
11
|
-
padding:
|
|
9
|
+
font-family: terraware.$tw-fnt-base-font-family;
|
|
10
|
+
background: terraware.$tw-clr-bg-tertiary;
|
|
11
|
+
padding: terraware.$tw-spc-base-xx-small terraware.$tw-spc-base-xx-small terraware.$tw-spc-base-xx-small 12px;
|
|
12
12
|
display: flex;
|
|
13
13
|
border-radius: 13px;
|
|
14
14
|
align-items: center;
|
|
15
15
|
|
|
16
16
|
.label {
|
|
17
17
|
font-size: 12px;
|
|
18
|
-
color:
|
|
18
|
+
color: terraware.$tw-clr-txt;
|
|
19
19
|
font-weight: 400;
|
|
20
20
|
margin: 0;
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
.value {
|
|
24
|
-
padding-left:
|
|
24
|
+
padding-left: terraware.$tw-spc-base-xx-small;
|
|
25
25
|
font-size: 12px;
|
|
26
|
-
color:
|
|
26
|
+
color: terraware.$tw-clr-txt;
|
|
27
27
|
font-weight: 600;
|
|
28
28
|
margin: 0;
|
|
29
29
|
|
|
@@ -33,10 +33,10 @@
|
|
|
33
33
|
}
|
|
34
34
|
|
|
35
35
|
.icon {
|
|
36
|
-
fill:
|
|
36
|
+
fill: terraware.$tw-clr-icn;
|
|
37
37
|
width: 12px;
|
|
38
38
|
height: 12px;
|
|
39
|
-
margin: 0
|
|
39
|
+
margin: 0 terraware.$tw-spc-base-xx-small;
|
|
40
40
|
}
|
|
41
41
|
|
|
42
42
|
.iconContainer {
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
}
|
|
45
45
|
|
|
46
46
|
.spacer {
|
|
47
|
-
width:
|
|
47
|
+
width: terraware.$tw-spc-base-x-small;
|
|
48
48
|
height: 12px;
|
|
49
49
|
}
|
|
50
50
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@
|
|
1
|
+
@use '../../style-dictionary-dist/terraware.scss';
|
|
2
2
|
|
|
3
3
|
@font-face {
|
|
4
4
|
font-family: 'Inter';
|
|
@@ -8,5 +8,5 @@
|
|
|
8
8
|
.pill-list {
|
|
9
9
|
display: flex;
|
|
10
10
|
flex-wrap: wrap;
|
|
11
|
-
gap:
|
|
11
|
+
gap: terraware.$tw-spc-base-x-small;
|
|
12
12
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
@
|
|
1
|
+
@use '../../style-dictionary-dist/terraware';
|
|
2
2
|
|
|
3
3
|
.popover-multi-select__checkmark-selection {
|
|
4
|
-
margin-right:
|
|
4
|
+
margin-right: terraware.$tw-spc-base-x-small;
|
|
5
5
|
}
|
|
6
6
|
|
|
7
7
|
.popover-multi-select__checkmark-spacer {
|
|
8
|
-
width: calc(
|
|
9
|
-
height:
|
|
8
|
+
width: calc(terraware.$tw-spc-base-x-small + terraware.$tw-sz-icon-small);
|
|
9
|
+
height: terraware.$tw-sz-icon-small;
|
|
10
10
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
@
|
|
1
|
+
@use '../../style-dictionary-dist/terraware.scss';
|
|
2
2
|
|
|
3
3
|
.circle-container {
|
|
4
4
|
position: relative;
|
|
5
5
|
display: inline-flex;
|
|
6
6
|
|
|
7
7
|
& .MuiCircularProgress-root {
|
|
8
|
-
color:
|
|
8
|
+
color: terraware.$tw-clr-bg-brand;
|
|
9
9
|
}
|
|
10
10
|
}
|
|
11
11
|
|
|
@@ -15,10 +15,10 @@
|
|
|
15
15
|
}
|
|
16
16
|
|
|
17
17
|
.circle-track {
|
|
18
|
-
color:
|
|
18
|
+
color: terraware.$tw-clr-bg-brand-tertiary !important;
|
|
19
19
|
&--small {
|
|
20
|
-
width:
|
|
21
|
-
height:
|
|
20
|
+
width: terraware.$tw-spc-base-x-large !important;
|
|
21
|
+
height: terraware.$tw-spc-base-x-large !important;
|
|
22
22
|
|
|
23
23
|
& svg {
|
|
24
24
|
& circle {
|
|
@@ -29,8 +29,8 @@
|
|
|
29
29
|
}
|
|
30
30
|
|
|
31
31
|
&--medium {
|
|
32
|
-
width: calc(#{
|
|
33
|
-
height: calc(#{
|
|
32
|
+
width: calc(#{terraware.$tw-spc-base-x-large} * 2) !important;
|
|
33
|
+
height: calc(#{terraware.$tw-spc-base-x-large} * 2) !important;
|
|
34
34
|
& svg {
|
|
35
35
|
& circle {
|
|
36
36
|
stroke-width: 3.67;
|
|
@@ -40,8 +40,8 @@
|
|
|
40
40
|
}
|
|
41
41
|
|
|
42
42
|
&--large {
|
|
43
|
-
width: calc(#{
|
|
44
|
-
height: calc(#{
|
|
43
|
+
width: calc(#{terraware.$tw-spc-base-x-large} * 4) !important;
|
|
44
|
+
height: calc(#{terraware.$tw-spc-base-x-large} * 4) !important;
|
|
45
45
|
& svg {
|
|
46
46
|
& circle {
|
|
47
47
|
stroke-width: 3.67;
|
|
@@ -64,24 +64,24 @@
|
|
|
64
64
|
|
|
65
65
|
.progress-circle-label {
|
|
66
66
|
&--small {
|
|
67
|
-
font-family:
|
|
68
|
-
font-size:
|
|
69
|
-
font-weight:
|
|
70
|
-
line-height:
|
|
71
|
-
color:
|
|
67
|
+
font-family: terraware.$tw-fnt-prgrss-circle-value-small-font-family;
|
|
68
|
+
font-size: terraware.$tw-fnt-prgrss-circle-value-small-font-size;
|
|
69
|
+
font-weight: terraware.$tw-fnt-prgrss-circle-value-small-font-weight;
|
|
70
|
+
line-height: terraware.$tw-fnt-prgrss-circle-value-small-line-height;
|
|
71
|
+
color: terraware.$tw-clr-txt;
|
|
72
72
|
}
|
|
73
73
|
&--medium {
|
|
74
|
-
font-family:
|
|
75
|
-
font-size:
|
|
76
|
-
font-weight:
|
|
77
|
-
line-height:
|
|
78
|
-
color:
|
|
74
|
+
font-family: terraware.$tw-fnt-prgrss-circle-value-medium-font-family;
|
|
75
|
+
font-size: terraware.$tw-fnt-prgrss-circle-value-medium-font-size;
|
|
76
|
+
font-weight: terraware.$tw-fnt-prgrss-circle-value-medium-font-weight;
|
|
77
|
+
line-height: terraware.$tw-fnt-prgrss-circle-value-medium-line-height;
|
|
78
|
+
color: terraware.$tw-clr-txt;
|
|
79
79
|
}
|
|
80
80
|
&--large {
|
|
81
|
-
font-family:
|
|
82
|
-
font-size:
|
|
83
|
-
font-weight:
|
|
84
|
-
line-height:
|
|
85
|
-
color:
|
|
81
|
+
font-family: terraware.$tw-fnt-prgrss-circle-value-large-font-family;
|
|
82
|
+
font-size: terraware.$tw-fnt-prgrss-circle-value-large-font-size;
|
|
83
|
+
font-weight: terraware.$tw-fnt-prgrss-circle-value-large-font-weight;
|
|
84
|
+
line-height: terraware.$tw-fnt-prgrss-circle-value-large-line-height;
|
|
85
|
+
color: terraware.$tw-clr-txt;
|
|
86
86
|
}
|
|
87
87
|
}
|