@neo4j-ndl/base 0.15.1 → 0.15.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,17 @@
1
1
  # Change Log
2
2
 
3
+ ## 0.15.3
4
+
5
+ ### Patch Changes
6
+
7
+ - 29f6328: updated textinput to reflect figma
8
+
9
+ ## 0.15.2
10
+
11
+ ### Patch Changes
12
+
13
+ - 3f78201: Centre align Switch element & label
14
+
3
15
  ## 0.15.1
4
16
 
5
17
  ### 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, 15 Dec 2022 11:07:30 GMT
423
+ * Generated on Wed, 11 Jan 2023 12:31:37 GMT
424
424
  */
425
425
  :root {
426
426
  --border-radius-sm: 4px;
@@ -1876,7 +1876,7 @@ a.ndl-btn{
1876
1876
  letter-spacing: 0.25px;
1877
1877
  line-height: 20px;
1878
1878
  }
1879
- .ndl-form-item .form-item-label > input {
1879
+ .ndl-form-item .form-item-label > input[type='checkbox'][role='checkbox'], .ndl-form-item .form-item-label > input[type='radio'] {
1880
1880
  margin-top: 2px;
1881
1881
  }
1882
1882
  .ndl-form-item .form-item-label.fluid{
@@ -1923,10 +1923,10 @@ a.ndl-btn{
1923
1923
  }
1924
1924
  /* Icons */
1925
1925
  .ndl-form-item.has-left-icon input[type='text'], .ndl-form-item.has-left-icon input[type='email'], .ndl-form-item.has-left-icon input[type='password'], .ndl-form-item.has-left-icon input[type='url']{
1926
- padding-left: 3rem;
1926
+ padding-left: 2.25rem;
1927
1927
  }
1928
1928
  .ndl-form-item.has-right-icon input[type='text'], .ndl-form-item.has-right-icon input[type='email'], .ndl-form-item.has-right-icon input[type='password'], .ndl-form-item.has-right-icon input[type='url']{
1929
- padding-right: 3rem;
1929
+ padding-right: 2.25rem;
1930
1930
  }
1931
1931
  .ndl-form-item.has-icon .icon{
1932
1932
  position: absolute;
@@ -1935,15 +1935,19 @@ a.ndl-btn{
1935
1935
  --tw-text-opacity: 1;
1936
1936
  color: rgb(83 91 102 / var(--tw-text-opacity));
1937
1937
  }
1938
+ .ndl-form-item.has-icon .error-text {
1939
+ display: inline-block;
1940
+ margin-left: 1.25rem;
1941
+ }
1938
1942
  .ndl-form-item.has-icon .left-icon {
1939
1943
  top: calc(
1940
1944
  50% - 8px
1941
- ); /* Horizontally absolute center for 16px height icon */ left: 1rem;
1945
+ ); /* Horizontally absolute center for 16px height icon */ left: 0.75rem;
1942
1946
  }
1943
1947
  .ndl-form-item.has-icon .right-icon {
1944
1948
  top: calc(
1945
1949
  50% - 8px
1946
- ); /* Horizontally absolute center for 16px height icon */ right: 1rem;
1950
+ ); /* Horizontally absolute center for 16px height icon */ right: 0.75rem;
1947
1951
  }
1948
1952
  .ndl-form-item.has-icon .error-icon{
1949
1953
  --tw-text-opacity: 1;
@@ -1977,11 +1981,14 @@ a.ndl-btn{
1977
1981
  letter-spacing: 0.25px;
1978
1982
  line-height: 20px;
1979
1983
  }
1980
- .ndl-form-item.large .icon{
1981
- height: 1.25rem;
1982
- width: 1.25rem;
1983
- top: calc(50% - 10px);
1984
- }
1984
+ .ndl-form-item.large .icon {
1985
+ margin-top: 1px;
1986
+ margin-top: 0.125rem;
1987
+ }
1988
+ .ndl-form-item.large .error-text {
1989
+ display: inline-block;
1990
+ margin-left: 21px;
1991
+ }
1985
1992
  /**
1986
1993
  *
1987
1994
  * Copyright (c) "Neo4j"
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Thu, 15 Dec 2022 11:07:30 GMT
3
+ * Generated on Wed, 11 Jan 2023 12:31:37 GMT
4
4
  */
5
5
 
6
6
  :root {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Thu, 15 Dec 2022 11:07:30 GMT
3
+ * Generated on Wed, 11 Jan 2023 12:31:37 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, 15 Dec 2022 11:07:30 GMT
4
+ * Generated on Wed, 11 Jan 2023 12:31:37 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, 15 Dec 2022 11:07:30 GMT
3
+ // Generated on Wed, 11 Jan 2023 12:31:37 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.15.1",
3
+ "version": "0.15.3",
4
4
  "description": "Neo4j base package for the design system",
5
5
  "author": "Neo4j Inc.",
6
6
  "homepage": "",