@crispy-seed/data-table 0.12.1 → 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/data-table-recipe.css +68 -27
- package/dist/data-table-recipe.layered.css +73 -24
- package/dist/index.cjs +480 -349
- package/dist/index.d.ts +22 -2
- package/dist/index.js +480 -349
- package/dist/styles.css +73 -24
- package/package.json +1 -1
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-
|
|
5058
|
-
flex-
|
|
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-
|
|
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:
|
|
5069
|
-
height:
|
|
5074
|
+
width: 100%;
|
|
5075
|
+
min-height: 32px;
|
|
5076
|
+
font: inherit;
|
|
5070
5077
|
color: inherit;
|
|
5071
|
-
|
|
5078
|
+
text-align: start;
|
|
5072
5079
|
cursor: pointer;
|
|
5073
5080
|
background: none;
|
|
5074
5081
|
border: none;
|
|
5075
|
-
border-radius:
|
|
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
|
-
|
|
5080
|
-
|
|
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-
|
|
5087
|
-
|
|
5088
|
-
|
|
5114
|
+
.seed-data-table__chipPickerBox[data-checked] {
|
|
5115
|
+
background-color: #266df0;
|
|
5116
|
+
border-color: #266df0;
|
|
5089
5117
|
}
|
|
5090
5118
|
|
|
5091
|
-
.seed-data-
|
|
5092
|
-
|
|
5093
|
-
height:
|
|
5094
|
-
|
|
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
|
-
|
|
5131
|
+
text-align: start;
|
|
5132
|
+
cursor: pointer;
|
|
5098
5133
|
background: none;
|
|
5099
5134
|
border: none;
|
|
5100
|
-
|
|
5101
|
-
|
|
5135
|
+
border-radius: 6px;
|
|
5136
|
+
align-items: center;
|
|
5137
|
+
gap: 6px;
|
|
5102
5138
|
margin: 0;
|
|
5103
|
-
padding:
|
|
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 {
|
|
@@ -5262,6 +5303,10 @@ tr:hover .seed-data-table__entityActions, .seed-data-table__entityActions:focus-
|
|
|
5262
5303
|
border-inline-end: none;
|
|
5263
5304
|
}
|
|
5264
5305
|
|
|
5306
|
+
.seed-data-table__footerCell[data-sticky] {
|
|
5307
|
+
z-index: 3;
|
|
5308
|
+
}
|
|
5309
|
+
|
|
5265
5310
|
.seed-data-table__footerCell .seed-data-table-column-calc-trigger {
|
|
5266
5311
|
align-items: center;
|
|
5267
5312
|
gap: var(--seed-dimension-x1_5);
|
|
@@ -5419,6 +5464,10 @@ tr:hover .seed-data-table__entityActions, .seed-data-table__entityActions:focus-
|
|
|
5419
5464
|
transform: translateX(-50%);
|
|
5420
5465
|
}
|
|
5421
5466
|
|
|
5467
|
+
.seed-data-table__bulkBar[data-above-footer] {
|
|
5468
|
+
bottom: calc(var(--seed-dimension-x4) + var(--seed-dimension-x9));
|
|
5469
|
+
}
|
|
5470
|
+
|
|
5422
5471
|
.seed-data-table__bulkBarCount {
|
|
5423
5472
|
color: var(--seed-color-fg-neutral);
|
|
5424
5473
|
font-variant-numeric: tabular-nums;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@crispy-seed/data-table",
|
|
3
|
-
"version": "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",
|