@servicetitan/design-system 12.4.0 → 12.6.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/dist/components/Checkbox/Checkbox.css +3 -3
- package/dist/components/Checkbox/Checkbox.css.map +1 -1
- package/dist/components/Checkbox/index.css +3 -3
- package/dist/components/Checkbox/index.css.map +1 -1
- package/dist/components/DatePicker/DatePicker.css +3 -3
- package/dist/components/DatePicker/DatePicker.css.map +1 -1
- package/dist/components/DatePicker/DatePicker.d.ts +1 -1
- package/dist/components/DatePicker/DatePicker.js +2 -2
- package/dist/components/DatePicker/DatePicker.js.map +1 -1
- package/dist/components/DatePicker/index.css +3 -3
- package/dist/components/DatePicker/index.css.map +1 -1
- package/dist/components/FormField/FormField.css +19 -6
- package/dist/components/FormField/FormField.css.map +1 -1
- package/dist/components/FormField/FormField.js +33 -17
- package/dist/components/FormField/FormField.js.map +1 -1
- package/dist/components/FormField/FormField.test.js +42 -0
- package/dist/components/FormField/FormField.test.js.map +1 -1
- package/dist/components/FormField/index.css +19 -6
- package/dist/components/FormField/index.css.map +1 -1
- package/dist/components/Frame/Frame.css +26 -2
- package/dist/components/Frame/Frame.css.map +1 -1
- package/dist/components/Frame/Frame.js +30 -10
- package/dist/components/Frame/Frame.js.map +1 -1
- package/dist/components/Frame/index.css +26 -2
- package/dist/components/Frame/index.css.map +1 -1
- package/dist/components/Page/Page.css +2 -1
- package/dist/components/Page/Page.css.map +1 -1
- package/dist/components/Page/index.css +2 -1
- package/dist/components/Page/index.css.map +1 -1
- package/dist/components/Radio/Radio.css +3 -3
- package/dist/components/Radio/Radio.css.map +1 -1
- package/dist/components/Radio/index.css +3 -3
- package/dist/components/Radio/index.css.map +1 -1
- package/dist/components/Sidebar/Sidebar.css +1 -1
- package/dist/components/Sidebar/SidebarSection.css +1 -1
- package/dist/components/Sidebar/index.css +1 -1
- package/dist/components/Table/Table.css +3 -3
- package/dist/components/Table/Table.css.map +1 -1
- package/dist/components/Table/index.css +3 -3
- package/dist/components/Table/index.css.map +1 -1
- package/dist/components/ToggleSwitch/ToggleSwitch.css +1 -1
- package/dist/components/ToggleSwitch/ToggleSwitch.css.map +1 -1
- package/dist/components/ToggleSwitch/index.css +1 -1
- package/dist/components/ToggleSwitch/index.css.map +1 -1
- package/dist/components/index.css +54 -17
- package/dist/components/index.css.map +1 -1
- package/dist/global/index.css +1 -1
- package/dist/global/version.css +1 -1
- package/dist/system-light.css +1 -1
- package/dist/system-light.min.css +1 -1
- package/dist/system.css +55 -18
- package/dist/system.css.map +1 -1
- package/dist/system.min.css +2 -2
- package/dist/themes/index.css +3 -3
- package/dist/themes/index.css.map +1 -1
- package/dist/themes/kendo/index.css +3 -3
- package/dist/themes/kendo/index.css.map +1 -1
- package/package.json +8 -10
package/dist/system.css
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
@charset "UTF-8";
|
|
2
2
|
/* Hide element visually, keeping it focusable (with keyboard) and available for screen-readers */
|
|
3
3
|
html {
|
|
4
|
-
--anvil-version: "12.
|
|
4
|
+
--anvil-version: "12.6.0";
|
|
5
5
|
}
|
|
6
6
|
|
|
7
7
|
/*
|
|
@@ -95,13 +95,13 @@ a:focus {
|
|
|
95
95
|
padding-bottom: 1px;
|
|
96
96
|
padding-top: 1px;
|
|
97
97
|
}
|
|
98
|
-
.a-Checkbox + .
|
|
98
|
+
.a-Checkbox + .FormField__addons {
|
|
99
99
|
margin-left: 25px;
|
|
100
100
|
}
|
|
101
|
-
.a-Checkbox.Checkbox--small, .a-Checkbox.Checkbox--small + .
|
|
101
|
+
.a-Checkbox.Checkbox--small, .a-Checkbox.Checkbox--small + .FormField__addons {
|
|
102
102
|
margin-left: 23px;
|
|
103
103
|
}
|
|
104
|
-
.a-Checkbox.Checkbox--large, .a-Checkbox.Checkbox--large + .
|
|
104
|
+
.a-Checkbox.Checkbox--large, .a-Checkbox.Checkbox--large + .FormField__addons {
|
|
105
105
|
margin-left: 31px;
|
|
106
106
|
}
|
|
107
107
|
|
|
@@ -18828,25 +18828,38 @@ button.Button--full {
|
|
|
18828
18828
|
margin-top: 4px;
|
|
18829
18829
|
}
|
|
18830
18830
|
|
|
18831
|
-
.
|
|
18831
|
+
.FormField__addons {
|
|
18832
|
+
/* Set color on root of component. It can be overridden after the @include */
|
|
18833
|
+
color: var(--colorsTextDefault, #141414);
|
|
18834
|
+
/* Make sure font-family goes across entire component */
|
|
18835
|
+
font-family: "Nunito Sans", sans-serif;
|
|
18836
|
+
display: flex;
|
|
18837
|
+
gap: 16px;
|
|
18838
|
+
justify-content: flex-end;
|
|
18839
|
+
}
|
|
18840
|
+
|
|
18841
|
+
.FormField__description,
|
|
18842
|
+
.FormField__counter {
|
|
18832
18843
|
color: var(--colorsTextSubdued, #606162);
|
|
18833
18844
|
font-size: 14px;
|
|
18834
18845
|
line-height: 1.25;
|
|
18835
18846
|
margin-top: 8px;
|
|
18836
18847
|
}
|
|
18837
|
-
.FormField--ToggleSwitch .FormField__description
|
|
18848
|
+
.FormField--ToggleSwitch .FormField__description,
|
|
18849
|
+
.FormField--ToggleSwitch .FormField__counter {
|
|
18838
18850
|
margin-top: 4px;
|
|
18839
18851
|
}
|
|
18840
18852
|
|
|
18853
|
+
.FormField__description {
|
|
18854
|
+
word-break: break-word;
|
|
18855
|
+
}
|
|
18856
|
+
|
|
18841
18857
|
.FormField__label {
|
|
18842
18858
|
margin-bottom: 8px;
|
|
18843
18859
|
}
|
|
18844
18860
|
|
|
18845
18861
|
.FormField__helpers {
|
|
18846
|
-
|
|
18847
|
-
color: var(--colorsTextDefault, #141414);
|
|
18848
|
-
/* Make sure font-family goes across entire component */
|
|
18849
|
-
font-family: "Nunito Sans", sans-serif;
|
|
18862
|
+
flex: 100%;
|
|
18850
18863
|
}
|
|
18851
18864
|
|
|
18852
18865
|
.FormField--disabled {
|
|
@@ -19062,8 +19075,7 @@ button.Button--full {
|
|
|
19062
19075
|
font-family: "Nunito Sans", sans-serif;
|
|
19063
19076
|
display: flex;
|
|
19064
19077
|
flex-direction: column;
|
|
19065
|
-
height:
|
|
19066
|
-
min-height: calc(var(--frame-vh, 1vh) * 100);
|
|
19078
|
+
height: 100vh;
|
|
19067
19079
|
}
|
|
19068
19080
|
|
|
19069
19081
|
.Frame__header {
|
|
@@ -19077,6 +19089,30 @@ button.Button--full {
|
|
|
19077
19089
|
overflow: hidden;
|
|
19078
19090
|
}
|
|
19079
19091
|
|
|
19092
|
+
/*
|
|
19093
|
+
* Hacky way of handling with mobile Chrome's head and 100vh layout.
|
|
19094
|
+
* To be removed after Chrome to support dvh units.
|
|
19095
|
+
*/
|
|
19096
|
+
@media (hover: none) and (pointer: coarse) {
|
|
19097
|
+
@supports (height: 100dvh) {
|
|
19098
|
+
.Frame {
|
|
19099
|
+
height: 100dvh;
|
|
19100
|
+
}
|
|
19101
|
+
}
|
|
19102
|
+
@supports not (height: 100dvh) {
|
|
19103
|
+
html.with-frame-inside {
|
|
19104
|
+
height: 100vh;
|
|
19105
|
+
max-height: -moz-available;
|
|
19106
|
+
max-height: -webkit-fill-available;
|
|
19107
|
+
max-height: stretch;
|
|
19108
|
+
}
|
|
19109
|
+
|
|
19110
|
+
.with-frame-inside,
|
|
19111
|
+
.Frame {
|
|
19112
|
+
height: 100%;
|
|
19113
|
+
}
|
|
19114
|
+
}
|
|
19115
|
+
}
|
|
19080
19116
|
/* Grid variables */
|
|
19081
19117
|
/* Grid component */
|
|
19082
19118
|
.Grid,
|
|
@@ -24950,6 +24986,7 @@ button.a-Icon svg {
|
|
|
24950
24986
|
width: 100%;
|
|
24951
24987
|
height: 100%;
|
|
24952
24988
|
flex: auto;
|
|
24989
|
+
overflow: hidden;
|
|
24953
24990
|
}
|
|
24954
24991
|
|
|
24955
24992
|
.Content__wrapper {
|
|
@@ -25097,9 +25134,9 @@ button.a-Icon svg {
|
|
|
25097
25134
|
display: flex;
|
|
25098
25135
|
position: -webkit-sticky;
|
|
25099
25136
|
position: sticky;
|
|
25100
|
-
z-index: 990;
|
|
25101
25137
|
bottom: 0;
|
|
25102
25138
|
flex-shrink: 0;
|
|
25139
|
+
z-index: 798;
|
|
25103
25140
|
}
|
|
25104
25141
|
@media (min-width: 480px) {
|
|
25105
25142
|
.Page__footer {
|
|
@@ -25431,13 +25468,13 @@ button.a-Icon svg {
|
|
|
25431
25468
|
padding-bottom: 1px;
|
|
25432
25469
|
padding-top: 1px;
|
|
25433
25470
|
}
|
|
25434
|
-
.a-Radio + .
|
|
25471
|
+
.a-Radio + .FormField__addons {
|
|
25435
25472
|
margin-left: 27px;
|
|
25436
25473
|
}
|
|
25437
|
-
.a-Radio.Radio--small, .a-Radio.Radio--small + .
|
|
25474
|
+
.a-Radio.Radio--small, .a-Radio.Radio--small + .FormField__addons {
|
|
25438
25475
|
margin-left: 23px;
|
|
25439
25476
|
}
|
|
25440
|
-
.a-Radio.Radio--large, .a-Radio.Radio--large + .
|
|
25477
|
+
.a-Radio.Radio--large, .a-Radio.Radio--large + .FormField__addons {
|
|
25441
25478
|
margin-left: 33px;
|
|
25442
25479
|
}
|
|
25443
25480
|
|
|
@@ -25995,7 +26032,7 @@ button.a-Icon svg {
|
|
|
25995
26032
|
}
|
|
25996
26033
|
.Sidebar--collapsed .Sidebar__content {
|
|
25997
26034
|
visibility: hidden;
|
|
25998
|
-
overflow: hidden;
|
|
26035
|
+
overflow-x: hidden;
|
|
25999
26036
|
opacity: 0;
|
|
26000
26037
|
}
|
|
26001
26038
|
.Sidebar--collapsed .Sidebar__toggle-button:not(:hover) {
|
|
@@ -28007,7 +28044,7 @@ button.a-Icon svg {
|
|
|
28007
28044
|
box-sizing: border-box;
|
|
28008
28045
|
display: inline-block;
|
|
28009
28046
|
}
|
|
28010
|
-
.ToggleSwitch + .
|
|
28047
|
+
.ToggleSwitch + .FormField__addons {
|
|
28011
28048
|
margin-left: 54px;
|
|
28012
28049
|
}
|
|
28013
28050
|
|