@economic/taco 2.52.0 → 2.52.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -911,18 +911,52 @@ table[data-taco^='table'][data-table-font-size='small'] td [data-taco='textarea'
911
911
  @apply !-mt-[4px] !mb-[1px] !pt-[3px] !leading-4;
912
912
  }
913
913
 
914
- table[data-taco^='table'][data-table-row-height='medium'][data-table-font-size='small'] td [data-taco='textarea'] {
914
+ table[data-taco^='table'][data-table-font-size='small'] td[data-cell-truncate='true'] [data-taco='textarea'] {
915
+ @apply !py-[3px];
916
+ }
917
+
918
+ table[data-taco^='table'][data-table-row-height='short'][data-table-font-size='small']
919
+ td[data-cell-truncate='true']
920
+ [data-taco='textarea'] {
921
+ @apply !-mb-[1px];
922
+ }
923
+
924
+ table[data-taco^='table'][data-table-row-height='medium'][data-table-font-size='small']
925
+ td:not([data-cell-truncate='true'])
926
+ [data-taco='textarea'] {
915
927
  @apply !mb-[5px];
916
928
  }
917
929
 
918
- table[data-taco^='table'][data-table-row-height='tall'][data-table-font-size='small'] td [data-taco='textarea'] {
930
+ table[data-taco^='table'][data-table-row-height='medium'][data-table-font-size='small']
931
+ td[data-cell-truncate='true']
932
+ [data-taco='textarea'] {
933
+ @apply !mb-[3px] !h-4;
934
+ }
935
+
936
+ table[data-taco^='table'][data-table-row-height='tall'][data-table-font-size='small']
937
+ td:not([data-cell-truncate='true'])
938
+ [data-taco='textarea'] {
919
939
  @apply !mb-[9px];
920
940
  }
921
941
 
922
- table[data-taco^='table'][data-table-row-height='extra-tall'][data-table-font-size='small'] td [data-taco='textarea'] {
942
+ table[data-taco^='table'][data-table-row-height='tall'][data-table-font-size='small']
943
+ td[data-cell-truncate='true']
944
+ [data-taco='textarea'] {
945
+ @apply !mb-[7px] !h-4;
946
+ }
947
+
948
+ table[data-taco^='table'][data-table-row-height='extra-tall'][data-table-font-size='small']
949
+ td:not([data-cell-truncate='true'])
950
+ [data-taco='textarea'] {
923
951
  @apply !mb-[15px];
924
952
  }
925
953
 
954
+ table[data-taco^='table'][data-table-row-height='extra-tall'][data-table-font-size='small']
955
+ td[data-cell-truncate='true']
956
+ [data-taco='textarea'] {
957
+ @apply !mb-[13px];
958
+ }
959
+
926
960
  table[data-taco^='table'][data-table-font-size='small'] td [data-taco='input-container'] [data-affix-type='postfix'] button {
927
961
  @apply z-10 !h-6 !min-h-[theme(spacing.6)] !w-6 !min-w-[theme(spacing.6)];
928
962
  }
package/dist/index.css CHANGED
@@ -911,18 +911,52 @@ table[data-taco^='table'][data-table-font-size='small'] td [data-taco='textarea'
911
911
  @apply !-mt-[4px] !mb-[1px] !pt-[3px] !leading-4;
912
912
  }
913
913
 
914
- table[data-taco^='table'][data-table-row-height='medium'][data-table-font-size='small'] td [data-taco='textarea'] {
914
+ table[data-taco^='table'][data-table-font-size='small'] td[data-cell-truncate='true'] [data-taco='textarea'] {
915
+ @apply !py-[3px];
916
+ }
917
+
918
+ table[data-taco^='table'][data-table-row-height='short'][data-table-font-size='small']
919
+ td[data-cell-truncate='true']
920
+ [data-taco='textarea'] {
921
+ @apply !-mb-[1px];
922
+ }
923
+
924
+ table[data-taco^='table'][data-table-row-height='medium'][data-table-font-size='small']
925
+ td:not([data-cell-truncate='true'])
926
+ [data-taco='textarea'] {
915
927
  @apply !mb-[5px];
916
928
  }
917
929
 
918
- table[data-taco^='table'][data-table-row-height='tall'][data-table-font-size='small'] td [data-taco='textarea'] {
930
+ table[data-taco^='table'][data-table-row-height='medium'][data-table-font-size='small']
931
+ td[data-cell-truncate='true']
932
+ [data-taco='textarea'] {
933
+ @apply !mb-[3px] !h-4;
934
+ }
935
+
936
+ table[data-taco^='table'][data-table-row-height='tall'][data-table-font-size='small']
937
+ td:not([data-cell-truncate='true'])
938
+ [data-taco='textarea'] {
919
939
  @apply !mb-[9px];
920
940
  }
921
941
 
922
- table[data-taco^='table'][data-table-row-height='extra-tall'][data-table-font-size='small'] td [data-taco='textarea'] {
942
+ table[data-taco^='table'][data-table-row-height='tall'][data-table-font-size='small']
943
+ td[data-cell-truncate='true']
944
+ [data-taco='textarea'] {
945
+ @apply !mb-[7px] !h-4;
946
+ }
947
+
948
+ table[data-taco^='table'][data-table-row-height='extra-tall'][data-table-font-size='small']
949
+ td:not([data-cell-truncate='true'])
950
+ [data-taco='textarea'] {
923
951
  @apply !mb-[15px];
924
952
  }
925
953
 
954
+ table[data-taco^='table'][data-table-row-height='extra-tall'][data-table-font-size='small']
955
+ td[data-cell-truncate='true']
956
+ [data-taco='textarea'] {
957
+ @apply !mb-[13px];
958
+ }
959
+
926
960
  table[data-taco^='table'][data-table-font-size='small'] td [data-taco='input-container'] [data-affix-type='postfix'] button {
927
961
  @apply z-10 !h-6 !min-h-[theme(spacing.6)] !w-6 !min-w-[theme(spacing.6)];
928
962
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@economic/taco",
3
- "version": "2.52.0",
3
+ "version": "2.52.2",
4
4
  "description": "> TODO: description",
5
5
  "author": "Matt Daly <matthew.daly@visma.com>",
6
6
  "homepage": "https://github.com/e-conomic/taco#readme",
@@ -111,7 +111,6 @@
111
111
  "rollup-plugin-postcss": "^4.0.2",
112
112
  "svgo": "^1.3.2",
113
113
  "tailwindcss": "^3.3.2",
114
- "tailwindcss-react-aria-components": "^1.0.0",
115
114
  "ts-jest": "^29.1.1",
116
115
  "ts-node": "^10.9.1",
117
116
  "tsdx": "^0.13.2",
@@ -131,5 +130,5 @@
131
130
  "not ie < 11"
132
131
  ]
133
132
  },
134
- "gitHead": "5a4f0059547921dad3d536fd12dae214df76b28e"
133
+ "gitHead": "b3fc3a030e3f352ac4bcfeefe1031285b9461420"
135
134
  }
@@ -42,7 +42,6 @@ module.exports = {
42
42
  plugins: [
43
43
  require('./plugins/tailwindcss-aria-attributes'),
44
44
  require('./plugins/tailwindcss-group-peer'),
45
- require('tailwindcss-react-aria-components'),
46
45
  plugin(function ({ addUtilities, theme }) {
47
46
  // ideally we would do this using the @layer utilities directive, but
48
47
  // that causes issues in tools like tailwind where the typescript is loaded before the css