@entur/form 10.0.0 → 10.0.2-beta.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/styles.css +10 -170
- package/package.json +8 -8
package/dist/styles.css
CHANGED
|
@@ -831,10 +831,6 @@
|
|
|
831
831
|
padding:0;
|
|
832
832
|
}
|
|
833
833
|
.eds-textarea__label .eds-form-control-wrapper--is-filled .eds-input-group__label{
|
|
834
|
-
-webkit-box-shadow:0 -2px 0 4px var(--textarea-label-background);
|
|
835
|
-
-moz-box-shadow:0 -2px 0 4px var(--textarea-label-background);
|
|
836
|
-
box-shadow:0 -2px 0 4px var(--textarea-label-background);
|
|
837
|
-
background:var(--textarea-label-background);
|
|
838
834
|
width:-webkit-calc(100% - 1rem - 1rem - 4px);
|
|
839
835
|
width:-moz-calc(100% - 1rem - 1rem - 4px);
|
|
840
836
|
width:calc(100% - 1rem - 1rem - 4px);
|
|
@@ -858,10 +854,6 @@
|
|
|
858
854
|
padding:0;
|
|
859
855
|
}
|
|
860
856
|
.eds-textarea__label .eds-input-group__label--filled{
|
|
861
|
-
-webkit-box-shadow:0 -2px 0 4px var(--textarea-label-background);
|
|
862
|
-
-moz-box-shadow:0 -2px 0 4px var(--textarea-label-background);
|
|
863
|
-
box-shadow:0 -2px 0 4px var(--textarea-label-background);
|
|
864
|
-
background:var(--textarea-label-background);
|
|
865
857
|
width:-webkit-calc(100% - 1rem - 1rem - 4px);
|
|
866
858
|
width:-moz-calc(100% - 1rem - 1rem - 4px);
|
|
867
859
|
width:calc(100% - 1rem - 1rem - 4px);
|
|
@@ -881,10 +873,6 @@
|
|
|
881
873
|
padding:0;
|
|
882
874
|
}
|
|
883
875
|
.eds-textarea__label .eds-form-control-wrapper:focus-within :not(.eds-input-group-label-wrapper--controlled-label-position) .eds-input-group__label{
|
|
884
|
-
-webkit-box-shadow:0 -2px 0 4px var(--textarea-label-background);
|
|
885
|
-
-moz-box-shadow:0 -2px 0 4px var(--textarea-label-background);
|
|
886
|
-
box-shadow:0 -2px 0 4px var(--textarea-label-background);
|
|
887
|
-
background:var(--textarea-label-background);
|
|
888
876
|
width:-webkit-calc(100% - 1rem - 1rem - 4px);
|
|
889
877
|
width:-moz-calc(100% - 1rem - 1rem - 4px);
|
|
890
878
|
width:calc(100% - 1rem - 1rem - 4px);
|
|
@@ -1926,167 +1914,19 @@
|
|
|
1926
1914
|
}
|
|
1927
1915
|
.eds-switch__label--medium--bottom{
|
|
1928
1916
|
font-size:0.75rem;
|
|
1929
|
-
}
|
|
1930
|
-
:root{
|
|
1931
|
-
--basecolors-frame-contrast:#181c56;
|
|
1932
|
-
--basecolors-frame-contrastalt:#393d79;
|
|
1933
|
-
--basecolors-frame-contrastalt-2:#292b6a;
|
|
1934
|
-
--basecolors-frame-default:#ffffff;
|
|
1935
|
-
--basecolors-frame-elevated:#ffffff;
|
|
1936
|
-
--basecolors-frame-elevatedalt:#f6f6f9;
|
|
1937
|
-
--basecolors-frame-highlight:#ff5959;
|
|
1938
|
-
--basecolors-frame-highlightalt:#ffbf9e;
|
|
1939
|
-
--basecolors-frame-subdued:#d9dae8;
|
|
1940
|
-
--basecolors-frame-tint:#f6f6f9;
|
|
1941
|
-
--basecolors-shape-accent:#181c56;
|
|
1942
|
-
--basecolors-shape-bicycle-contrast:#00dbb6;
|
|
1943
|
-
--basecolors-shape-bicycle-default:#0d827e;
|
|
1944
|
-
--basecolors-shape-bus-contrast:#ff6392;
|
|
1945
|
-
--basecolors-shape-bus-default:#c5044e;
|
|
1946
|
-
--basecolors-shape-cableway-contrast:#b482fb;
|
|
1947
|
-
--basecolors-shape-cableway-default:#78469a;
|
|
1948
|
-
--basecolors-shape-disabled:#6e6f73;
|
|
1949
|
-
--basecolors-shape-disabledalt:#b6b8ba;
|
|
1950
|
-
--basecolors-shape-ferry-contrast:#6fdfff;
|
|
1951
|
-
--basecolors-shape-ferry-default:#0c6693;
|
|
1952
|
-
--basecolors-shape-funicular-contrast:#b482fb;
|
|
1953
|
-
--basecolors-shape-funicular-default:#78469a;
|
|
1954
|
-
--basecolors-shape-helicopter-contrast:#fbafea;
|
|
1955
|
-
--basecolors-shape-helicopter-default:#800664;
|
|
1956
|
-
--basecolors-shape-highlight:#ff5959;
|
|
1957
|
-
--basecolors-shape-light:#ffffff;
|
|
1958
|
-
--basecolors-shape-mask:#ffffff;
|
|
1959
|
-
--basecolors-shape-maskalt:#ffffff;
|
|
1960
|
-
--basecolors-shape-metro-contrast:#f08901;
|
|
1961
|
-
--basecolors-shape-metro-default:#bf5826;
|
|
1962
|
-
--basecolors-shape-mobility-contrast:#00dbb6;
|
|
1963
|
-
--basecolors-shape-mobility-default:#0d827e;
|
|
1964
|
-
--basecolors-shape-plane-contrast:#fbafea;
|
|
1965
|
-
--basecolors-shape-plane-default:#800664;
|
|
1966
|
-
--basecolors-shape-subdued:#626493;
|
|
1967
|
-
--basecolors-shape-subduedalt:#d9dae8;
|
|
1968
|
-
--basecolors-shape-taxi-contrast:#ffe082;
|
|
1969
|
-
--basecolors-shape-taxi-default:#3d3e40;
|
|
1970
|
-
--basecolors-shape-train-contrast:#42a5f5;
|
|
1971
|
-
--basecolors-shape-train-default:#00367f;
|
|
1972
|
-
--basecolors-shape-tram-contrast:#b482fb;
|
|
1973
|
-
--basecolors-shape-tram-default:#78469a;
|
|
1974
|
-
--basecolors-shape-walk-contrast:#9ea0bd;
|
|
1975
|
-
--basecolors-shape-walk-default:#8d8e9c;
|
|
1976
|
-
--basecolors-shape-airportlinkbus-contrast:#fbafea;
|
|
1977
|
-
--basecolors-shape-airportlinkbus-default:#800664;
|
|
1978
|
-
--basecolors-shape-airportlinkrail-contrast:#fbafea;
|
|
1979
|
-
--basecolors-shape-airportlinkrail-default:#800664;
|
|
1980
|
-
--basecolors-stroke-contrast:#aeb7e2;
|
|
1981
|
-
--basecolors-stroke-default:#181c56;
|
|
1982
|
-
--basecolors-stroke-disabled:#949699;
|
|
1983
|
-
--basecolors-stroke-focus-contrast:#aeb7e2;
|
|
1984
|
-
--basecolors-stroke-focus-standard:#181c56;
|
|
1985
|
-
--basecolors-stroke-highlight:#ff5959;
|
|
1986
|
-
--basecolors-stroke-highlight2:#ffbf9e;
|
|
1987
|
-
--basecolors-stroke-light:#ffffff;
|
|
1988
|
-
--basecolors-stroke-subdued:#8284ab;
|
|
1989
|
-
--basecolors-stroke-subduedalt:#e3e6e8;
|
|
1990
|
-
--basecolors-text-accent:#181c56;
|
|
1991
|
-
--basecolors-text-disabled:#6e6f73;
|
|
1992
|
-
--basecolors-text-disabledalt:#b6b8ba;
|
|
1993
|
-
--basecolors-text-highlight:#ff5959;
|
|
1994
|
-
--basecolors-text-highlightalt:#ffbf9e;
|
|
1995
|
-
--basecolors-text-light:#ffffff;
|
|
1996
|
-
--basecolors-text-subdued:#626493;
|
|
1997
|
-
--basecolors-text-subduedalt:#d9dae8;
|
|
1998
|
-
}
|
|
1999
|
-
|
|
2000
|
-
[data-color-mode=dark]{
|
|
2001
|
-
--basecolors-frame-contrast:#212233;
|
|
2002
|
-
--basecolors-frame-contrastalt:#141527;
|
|
2003
|
-
--basecolors-frame-contrastalt-2:#08091c;
|
|
2004
|
-
--basecolors-frame-default:#08091c;
|
|
2005
|
-
--basecolors-frame-elevated:rgba(229, 229, 233, 0.1490196078);
|
|
2006
|
-
--basecolors-frame-elevatedalt:#464755;
|
|
2007
|
-
--basecolors-frame-highlight:#ff5959;
|
|
2008
|
-
--basecolors-frame-highlightalt:#ffbf9e;
|
|
2009
|
-
--basecolors-frame-subdued:#2d2e3e;
|
|
2010
|
-
--basecolors-frame-tint:#141527;
|
|
2011
|
-
--basecolors-shape-accent:#e5e5e9;
|
|
2012
|
-
--basecolors-shape-bicycle-contrast:#4db2a1;
|
|
2013
|
-
--basecolors-shape-bicycle-default:#4db2a1;
|
|
2014
|
-
--basecolors-shape-bus-contrast:#ef7398;
|
|
2015
|
-
--basecolors-shape-bus-default:#ef7398;
|
|
2016
|
-
--basecolors-shape-cableway-contrast:#b898e5;
|
|
2017
|
-
--basecolors-shape-cableway-default:#b898e5;
|
|
2018
|
-
--basecolors-shape-disabled:#b6b8ba;
|
|
2019
|
-
--basecolors-shape-disabledalt:#b3b4bd;
|
|
2020
|
-
--basecolors-shape-ferry-contrast:#8ccfe2;
|
|
2021
|
-
--basecolors-shape-ferry-default:#8ccfe2;
|
|
2022
|
-
--basecolors-shape-funicular-contrast:#b898e5;
|
|
2023
|
-
--basecolors-shape-funicular-default:#b898e5;
|
|
2024
|
-
--basecolors-shape-helicopter-contrast:#f2b8e5;
|
|
2025
|
-
--basecolors-shape-helicopter-default:#f2b8e5;
|
|
2026
|
-
--basecolors-shape-highlight:#ff5959;
|
|
2027
|
-
--basecolors-shape-light:#e5e5e9;
|
|
2028
|
-
--basecolors-shape-mask:#2d2e3e;
|
|
2029
|
-
--basecolors-shape-maskalt:#393a49;
|
|
2030
|
-
--basecolors-shape-metro-contrast:#dd973c;
|
|
2031
|
-
--basecolors-shape-metro-default:#dd973c;
|
|
2032
|
-
--basecolors-shape-mobility-contrast:#4db2a1;
|
|
2033
|
-
--basecolors-shape-mobility-default:#4db2a1;
|
|
2034
|
-
--basecolors-shape-plane-contrast:#f2b8e5;
|
|
2035
|
-
--basecolors-shape-plane-default:#f2b8e5;
|
|
2036
|
-
--basecolors-shape-subdued:#b3b4bd;
|
|
2037
|
-
--basecolors-shape-subduedalt:#b3b4bd;
|
|
2038
|
-
--basecolors-shape-taxi-contrast:#ffe082;
|
|
2039
|
-
--basecolors-shape-taxi-default:#ffe082;
|
|
2040
|
-
--basecolors-shape-train-contrast:#60a2d7;
|
|
2041
|
-
--basecolors-shape-train-default:#60a2d7;
|
|
2042
|
-
--basecolors-shape-tram-contrast:#b898e5;
|
|
2043
|
-
--basecolors-shape-tram-default:#b898e5;
|
|
2044
|
-
--basecolors-shape-walk-contrast:#8d8e9c;
|
|
2045
|
-
--basecolors-shape-walk-default:#8d8e9c;
|
|
2046
|
-
--basecolors-shape-airportlinkbus-contrast:#f2b8e5;
|
|
2047
|
-
--basecolors-shape-airportlinkbus-default:#f2b8e5;
|
|
2048
|
-
--basecolors-shape-airportlinkrail-contrast:#f2b8e5;
|
|
2049
|
-
--basecolors-shape-airportlinkrail-default:#f2b8e5;
|
|
2050
|
-
--basecolors-stroke-contrast:#aeb7e2;
|
|
2051
|
-
--basecolors-stroke-default:#b3b4bd;
|
|
2052
|
-
--basecolors-stroke-disabled:#e3e6e8;
|
|
2053
|
-
--basecolors-stroke-focus-contrast:#aeb7e2;
|
|
2054
|
-
--basecolors-stroke-focus-standard:#aeb7e2;
|
|
2055
|
-
--basecolors-stroke-highlight:#ff5959;
|
|
2056
|
-
--basecolors-stroke-highlight2:#ffbf9e;
|
|
2057
|
-
--basecolors-stroke-light:#b3b4bd;
|
|
2058
|
-
--basecolors-stroke-subdued:#81828f;
|
|
2059
|
-
--basecolors-stroke-subduedalt:#949699;
|
|
2060
|
-
--basecolors-text-accent:#e5e5e9;
|
|
2061
|
-
--basecolors-text-disabled:#b6b8ba;
|
|
2062
|
-
--basecolors-text-disabledalt:#b6b8ba;
|
|
2063
|
-
--basecolors-text-highlight:#ff5959;
|
|
2064
|
-
--basecolors-text-highlightalt:#ffbf9e;
|
|
2065
|
-
--basecolors-text-light:#e5e5e9;
|
|
2066
|
-
--basecolors-text-subdued:#b3b4bd;
|
|
2067
|
-
--basecolors-text-subduedalt:#b3b4bd;
|
|
2068
|
-
}
|
|
2069
|
-
|
|
2070
|
-
.eds-textarea__wrapper :not(.eds-form-control-wrapper--disabled):not(.eds-form-control-wrapper--readonly) .eds-textarea__label .eds-input-group__label{
|
|
2071
|
-
background:#ffffff;
|
|
2072
|
-
background:var(--basecolors-frame-default);
|
|
2073
|
-
width:-webkit-fit-content;
|
|
2074
|
-
width:-moz-fit-content;
|
|
2075
|
-
width:fit-content;
|
|
2076
|
-
height:-webkit-fit-content;
|
|
2077
|
-
height:-moz-fit-content;
|
|
2078
|
-
height:fit-content;
|
|
2079
|
-
padding:0.15rem;
|
|
2080
|
-
margin:-0.15rem;
|
|
2081
|
-
}
|
|
2082
|
-
*[data-color-mode=dark] .eds-contrast .eds-textarea__wrapper :not(.eds-form-control-wrapper--disabled):not(.eds-form-control-wrapper--readonly) .eds-textarea__label .eds-input-group__label{
|
|
2083
|
-
background-color:#181c56;
|
|
2084
|
-
background-color:var(--basecolors-frame-contrast);
|
|
2085
|
-
}
|
|
2086
|
-
.eds-textarea__wrapper textarea.eds-form-control.eds-textarea{
|
|
1917
|
+
}.eds-textarea__wrapper textarea.eds-form-control.eds-textarea{
|
|
2087
1918
|
min-height:7.75rem;
|
|
2088
1919
|
resize:vertical;
|
|
2089
1920
|
line-height:1.5rem;
|
|
1921
|
+
-webkit-mask-image:-webkit-linear-gradient(top, transparent 0, transparent 16px, black 20px), -webkit-linear-gradient(black, black);
|
|
1922
|
+
mask-image:linear-gradient(to bottom, transparent 0, transparent 16px, black 20px), linear-gradient(black, black);
|
|
1923
|
+
-webkit-mask-size:-webkit-calc(100% - 20px) 100%, 20px 100%;
|
|
1924
|
+
mask-size:-moz-calc(100% - 20px) 100%, 20px 100%;
|
|
1925
|
+
mask-size:calc(100% - 20px) 100%, 20px 100%;
|
|
1926
|
+
-webkit-mask-position:top left, top right;
|
|
1927
|
+
mask-position:top left, top right;
|
|
1928
|
+
-webkit-mask-repeat:no-repeat;
|
|
1929
|
+
mask-repeat:no-repeat;
|
|
2090
1930
|
}
|
|
2091
1931
|
.eds-textarea__wrapper .eds-form-control-wrapper{
|
|
2092
1932
|
padding-right:0;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@entur/form",
|
|
3
|
-
"version": "10.0.0",
|
|
3
|
+
"version": "10.0.2-beta.0",
|
|
4
4
|
"license": "EUPL-1.2",
|
|
5
5
|
"main": "dist/form.cjs",
|
|
6
6
|
"module": "dist/form.mjs",
|
|
@@ -26,12 +26,12 @@
|
|
|
26
26
|
"react-dom": ">=18.0.0"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@entur/button": "^5.0.0",
|
|
30
|
-
"@entur/icons": "^10.0.
|
|
31
|
-
"@entur/tokens": "^4.0.
|
|
32
|
-
"@entur/tooltip": "^6.0.0",
|
|
33
|
-
"@entur/typography": "^3.0.0",
|
|
34
|
-
"@entur/utils": "^0.
|
|
29
|
+
"@entur/button": "^5.0.2-beta.0",
|
|
30
|
+
"@entur/icons": "^10.0.1",
|
|
31
|
+
"@entur/tokens": "^4.0.1",
|
|
32
|
+
"@entur/tooltip": "^6.0.2-beta.0",
|
|
33
|
+
"@entur/typography": "^3.0.2-beta.0",
|
|
34
|
+
"@entur/utils": "^0.15.0-beta.0",
|
|
35
35
|
"classnames": "^2.5.1"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
@@ -57,5 +57,5 @@
|
|
|
57
57
|
"./dist/styles.css": "./dist/styles.css",
|
|
58
58
|
"./package.json": "./package.json"
|
|
59
59
|
},
|
|
60
|
-
"gitHead": "
|
|
60
|
+
"gitHead": "9744bebb00f896db2898b5ee3d583ca2ba8c95af"
|
|
61
61
|
}
|