@neo4j-ndl/base 0.12.2 → 0.12.3

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Change Log
2
2
 
3
+ ## 0.12.3
4
+
5
+ ### Patch Changes
6
+
7
+ - 009af5d: Read only for TextInput component properly implemented.
8
+
3
9
  ## 0.12.2
4
10
 
5
11
  ### Patch Changes
@@ -420,7 +420,7 @@ Ensure the default browser behavior of the `hidden` attribute.
420
420
  */
421
421
  /**
422
422
  * Do not edit directly
423
- * Generated on Thu, 01 Dec 2022 10:15:21 GMT
423
+ * Generated on Tue, 06 Dec 2022 14:55:41 GMT
424
424
  */
425
425
  :root {
426
426
  --border-radius-sm: 4px;
@@ -1842,11 +1842,26 @@ a.ndl-btn{
1842
1842
  color: rgb(178 183 189 / var(--tw-text-opacity));
1843
1843
  background-color: inherit;
1844
1844
  }
1845
- .ndl-form-item input[type='text']:-moz-read-only, .ndl-form-item input[type='text']:-moz-read-only:focus, .ndl-form-item input[type='email']:-moz-read-only, .ndl-form-item input[type='email']:-moz-read-only:focus, .ndl-form-item input[type='password']:-moz-read-only, .ndl-form-item input[type='password']:-moz-read-only:focus, .ndl-form-item input[type='url']:-moz-read-only, .ndl-form-item input[type='url']:-moz-read-only:focus{
1845
+ /* disabled will also pick up readonly css rule; thats why not disabled */
1846
+ .ndl-form-item input[type='text']:-moz-read-only:not(:disabled), .ndl-form-item input[type='email']:-moz-read-only:not(:disabled), .ndl-form-item input[type='password']:-moz-read-only:not(:disabled), .ndl-form-item input[type='url']:-moz-read-only:not(:disabled){
1846
1847
  outline: 2px solid transparent;
1847
1848
  outline-offset: 2px;
1849
+ border-style: none;
1850
+ padding: 0px;
1851
+ height: 1.25rem;
1852
+ }
1853
+ .ndl-form-item input[type='text']:read-only:not(:disabled), .ndl-form-item input[type='email']:read-only:not(:disabled), .ndl-form-item input[type='password']:read-only:not(:disabled), .ndl-form-item input[type='url']:read-only:not(:disabled){
1854
+ outline: 2px solid transparent;
1855
+ outline-offset: 2px;
1856
+ border-style: none;
1857
+ padding: 0px;
1858
+ height: 1.25rem;
1848
1859
  }
1849
- .ndl-form-item input[type='text']:read-only, .ndl-form-item input[type='text']:read-only:focus, .ndl-form-item input[type='email']:read-only, .ndl-form-item input[type='email']:read-only:focus, .ndl-form-item input[type='password']:read-only, .ndl-form-item input[type='password']:read-only:focus, .ndl-form-item input[type='url']:read-only, .ndl-form-item input[type='url']:read-only:focus{
1860
+ .ndl-form-item input[type='text']:-moz-read-only:focus, .ndl-form-item input[type='email']:-moz-read-only:focus, .ndl-form-item input[type='password']:-moz-read-only:focus, .ndl-form-item input[type='url']:-moz-read-only:focus{
1861
+ outline: 2px solid transparent;
1862
+ outline-offset: 2px;
1863
+ }
1864
+ .ndl-form-item input[type='text']:read-only:focus, .ndl-form-item input[type='email']:read-only:focus, .ndl-form-item input[type='password']:read-only:focus, .ndl-form-item input[type='url']:read-only:focus{
1850
1865
  outline: 2px solid transparent;
1851
1866
  outline-offset: 2px;
1852
1867
  }
@@ -1944,6 +1959,12 @@ a.ndl-btn{
1944
1959
  letter-spacing: 0.25px;
1945
1960
  line-height: 24px;
1946
1961
  }
1962
+ .ndl-form-item.large input[type='text']:-moz-read-only:not(:disabled), .ndl-form-item.large input[type='email']:-moz-read-only:not(:disabled), .ndl-form-item.large input[type='password']:-moz-read-only:not(:disabled), .ndl-form-item.large input[type='url']:-moz-read-only:not(:disabled){
1963
+ height: 1.5rem;
1964
+ }
1965
+ .ndl-form-item.large input[type='text']:read-only:not(:disabled), .ndl-form-item.large input[type='email']:read-only:not(:disabled), .ndl-form-item.large input[type='password']:read-only:not(:disabled), .ndl-form-item.large input[type='url']:read-only:not(:disabled){
1966
+ height: 1.5rem;
1967
+ }
1947
1968
  .ndl-form-item.large .form-item-label {
1948
1969
  font-size: var(--font-size-body-large);
1949
1970
  font-weight: var(--font-weight-normal);
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Thu, 01 Dec 2022 10:15:21 GMT
3
+ * Generated on Tue, 06 Dec 2022 14:55:41 GMT
4
4
  */
5
5
 
6
6
  :root {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Thu, 01 Dec 2022 10:15:21 GMT
3
+ * Generated on Tue, 06 Dec 2022 14:55:41 GMT
4
4
  */
5
5
 
6
6
  module.exports = {
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  /**
3
3
  * Do not edit directly
4
- * Generated on Thu, 01 Dec 2022 10:15:21 GMT
4
+ * Generated on Tue, 06 Dec 2022 14:55:41 GMT
5
5
  */
6
6
  module.exports = {
7
7
  "borderRadius": {
@@ -1,6 +1,6 @@
1
1
 
2
2
  // Do not edit directly
3
- // Generated on Thu, 01 Dec 2022 10:15:21 GMT
3
+ // Generated on Tue, 06 Dec 2022 14:55:41 GMT
4
4
 
5
5
  $border-radius-sm: 4px;
6
6
  $border-radius-md: 6px;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@neo4j-ndl/base",
3
- "version": "0.12.2",
3
+ "version": "0.12.3",
4
4
  "description": "Neo4j base package for the design system",
5
5
  "author": "Neo4j Inc.",
6
6
  "homepage": "",