@crispy-seed/data-table 0.13.0 → 0.14.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 CHANGED
@@ -5054,53 +5054,94 @@ tr:hover .seed-data-table__entityActions, .seed-data-table__entityActions:focus-
5054
5054
  display: inline-flex;
5055
5055
  }
5056
5056
 
5057
- .seed-data-table__chipListEditor {
5058
- flex-wrap: wrap;
5059
- align-items: center;
5060
- gap: 3px;
5057
+ .seed-data-table__chipPicker {
5058
+ flex-direction: column;
5061
5059
  width: 100%;
5062
5060
  min-width: 0;
5063
5061
  display: flex;
5064
5062
  }
5065
5063
 
5066
- .seed-data-table__chipRemove {
5064
+ .seed-data-table__chipPickerList {
5065
+ flex-direction: column;
5066
+ max-height: 240px;
5067
+ padding: 0 4px 4px;
5068
+ display: flex;
5069
+ overflow-y: auto;
5070
+ }
5071
+
5072
+ .seed-data-table__chipPickerRow {
5067
5073
  box-sizing: border-box;
5068
- width: 12px;
5069
- height: 12px;
5074
+ width: 100%;
5075
+ min-height: 32px;
5076
+ font: inherit;
5070
5077
  color: inherit;
5071
- opacity: .6;
5078
+ text-align: start;
5072
5079
  cursor: pointer;
5073
5080
  background: none;
5074
5081
  border: none;
5075
- border-radius: 999px;
5082
+ border-radius: 6px;
5083
+ justify-content: space-between;
5084
+ align-items: center;
5085
+ gap: 8px;
5086
+ margin: 0;
5087
+ padding: 4px 8px;
5088
+ display: flex;
5089
+ }
5090
+
5091
+ .seed-data-table__chipPickerRow:hover {
5092
+ background-color: #f6f7f7;
5093
+ }
5094
+
5095
+ .seed-data-table__chipPickerRow:disabled {
5096
+ cursor: default;
5097
+ opacity: .6;
5098
+ }
5099
+
5100
+ .seed-data-table__chipPickerBox {
5101
+ box-sizing: border-box;
5102
+ color: #fff;
5103
+ background-color: #fff;
5104
+ border: 1px solid #00000040;
5105
+ border-radius: 4px;
5076
5106
  flex-shrink: 0;
5077
5107
  justify-content: center;
5078
5108
  align-items: center;
5079
- margin: 0;
5080
- margin-inline-start: 2px;
5081
- padding: 0;
5082
- transition: opacity .12s, background-color .12s;
5109
+ width: 16px;
5110
+ height: 16px;
5083
5111
  display: inline-flex;
5084
5112
  }
5085
5113
 
5086
- .seed-data-table__chipRemove:hover {
5087
- opacity: 1;
5088
- background-color: #00000014;
5114
+ .seed-data-table__chipPickerBox[data-checked] {
5115
+ background-color: #266df0;
5116
+ border-color: #266df0;
5089
5117
  }
5090
5118
 
5091
- .seed-data-table__chipInput {
5092
- min-width: 40px;
5093
- height: 22px;
5094
- font-family: inherit;
5119
+ .seed-data-table__chipPickerBox svg {
5120
+ width: 12px;
5121
+ height: 12px;
5122
+ }
5123
+
5124
+ .seed-data-table__chipPickerCreate {
5125
+ box-sizing: border-box;
5126
+ width: 100%;
5127
+ min-height: 32px;
5128
+ font: inherit;
5095
5129
  font-size: var(--seed-font-size-t4);
5096
5130
  color: var(--seed-color-fg-neutral);
5097
- letter-spacing: -.14px;
5131
+ text-align: start;
5132
+ cursor: pointer;
5098
5133
  background: none;
5099
5134
  border: none;
5100
- outline: none;
5101
- flex: auto;
5135
+ border-radius: 6px;
5136
+ align-items: center;
5137
+ gap: 6px;
5102
5138
  margin: 0;
5103
- padding: 0;
5139
+ padding: 4px 8px;
5140
+ display: flex;
5141
+ }
5142
+
5143
+ .seed-data-table__chipPickerCreate:hover {
5144
+ background-color: #f6f7f7;
5104
5145
  }
5105
5146
 
5106
5147
  .seed-data-table__expandOverlay {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crispy-seed/data-table",
3
- "version": "0.13.0",
3
+ "version": "0.14.0",
4
4
  "description": "Self-contained, publishable build of seed-design's Attio-measured DataTable, ResizablePanel and RecordPreview — one install, one CSS import.",
5
5
  "repository": {
6
6
  "type": "git",