@stereopt/data-table 0.1.13 → 0.1.14

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.
Files changed (4) hide show
  1. package/dist/index.cjs +5655 -211
  2. package/dist/index.js +5681 -237
  3. package/dist/styles.css +109 -373
  4. package/package.json +1 -1
package/dist/styles.css CHANGED
@@ -1,411 +1,147 @@
1
1
  /*! tailwindcss v4.2.2 | MIT License | https://tailwindcss.com */
2
- @layer properties;
3
- .sr-only {
4
- position: absolute;
5
- width: 1px;
6
- height: 1px;
2
+ *, ::after, ::before, ::backdrop, ::file-selector-button {
3
+ box-sizing: border-box;
4
+ margin: 0;
7
5
  padding: 0;
8
- margin: -1px;
9
- overflow: hidden;
10
- clip-path: inset(50%);
11
- white-space: nowrap;
12
- border-width: 0;
13
- }
14
- .relative {
15
- position: relative;
16
- }
17
- .flex {
18
- display: flex;
19
- }
20
- .hidden {
21
- display: none;
22
- }
23
- .inline-flex {
24
- display: inline-flex;
25
- }
26
- .table {
27
- display: table;
28
- }
29
- .table-caption {
30
- display: table-caption;
31
- }
32
- .table-cell {
33
- display: table-cell;
34
- }
35
- .table-row {
36
- display: table-row;
37
- }
38
- .w-\[100px\] {
39
- width: 100px;
40
- }
41
- .w-full {
42
- width: 100%;
43
- }
44
- .flex-1 {
45
- flex: 1;
46
- }
47
- .shrink-0 {
48
- flex-shrink: 0;
49
- }
50
- .caption-bottom {
51
- caption-side: bottom;
52
- }
53
- .items-center {
54
- align-items: center;
55
- }
56
- .justify-between {
57
- justify-content: space-between;
6
+ border: 0 solid;
7
+ }
8
+ html, :host {
9
+ line-height: 1.5;
10
+ -webkit-text-size-adjust: 100%;
11
+ tab-size: 4;
12
+ font-family: ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
13
+ font-feature-settings: normal;
14
+ font-variation-settings: normal;
15
+ -webkit-tap-highlight-color: transparent;
16
+ }
17
+ hr {
18
+ height: 0;
19
+ color: inherit;
20
+ border-top-width: 1px;
58
21
  }
59
- .justify-center {
60
- justify-content: center;
22
+ abbr:where([title]) {
23
+ -webkit-text-decoration: underline dotted;
24
+ text-decoration: underline dotted;
61
25
  }
62
- .truncate {
63
- overflow: hidden;
64
- text-overflow: ellipsis;
65
- white-space: nowrap;
26
+ h1, h2, h3, h4, h5, h6 {
27
+ font-size: inherit;
28
+ font-weight: inherit;
66
29
  }
67
- .overflow-hidden {
68
- overflow: hidden;
30
+ a {
31
+ color: inherit;
32
+ -webkit-text-decoration: inherit;
33
+ text-decoration: inherit;
69
34
  }
70
- .overflow-x-auto {
71
- overflow-x: auto;
35
+ b, strong {
36
+ font-weight: bolder;
72
37
  }
73
- .rounded-\[min\(var\(--radius-md\)\,10px\)\] {
74
- border-radius: min(var(--radius-md), 10px);
38
+ code, kbd, samp, pre {
39
+ font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace;
40
+ font-feature-settings: normal;
41
+ font-variation-settings: normal;
42
+ font-size: 1em;
75
43
  }
76
- .rounded-\[min\(var\(--radius-md\)\,12px\)\] {
77
- border-radius: min(var(--radius-md), 12px);
44
+ small {
45
+ font-size: 80%;
78
46
  }
79
- .border {
80
- border-style: var(--tw-border-style);
81
- border-width: 1px;
47
+ sub, sup {
48
+ font-size: 75%;
49
+ line-height: 0;
50
+ position: relative;
51
+ vertical-align: baseline;
82
52
  }
83
- .border-t {
84
- border-top-style: var(--tw-border-style);
85
- border-top-width: 1px;
53
+ sub {
54
+ bottom: -0.25em;
86
55
  }
87
- .border-b {
88
- border-bottom-style: var(--tw-border-style);
89
- border-bottom-width: 1px;
56
+ sup {
57
+ top: -0.5em;
90
58
  }
91
- .border-transparent {
92
- border-color: transparent;
59
+ table {
60
+ text-indent: 0;
61
+ border-color: inherit;
62
+ border-collapse: collapse;
93
63
  }
94
- .bg-transparent {
95
- background-color: transparent;
64
+ :-moz-focusring {
65
+ outline: auto;
96
66
  }
97
- .bg-clip-padding {
98
- background-clip: padding-box;
67
+ progress {
68
+ vertical-align: baseline;
99
69
  }
100
- .text-center {
101
- text-align: center;
70
+ summary {
71
+ display: list-item;
102
72
  }
103
- .text-left {
104
- text-align: left;
73
+ ol, ul, menu {
74
+ list-style: none;
105
75
  }
106
- .align-middle {
76
+ img, svg, video, canvas, audio, iframe, embed, object {
77
+ display: block;
107
78
  vertical-align: middle;
108
79
  }
109
- .text-\[0\.8rem\] {
110
- font-size: 0.8rem;
111
- }
112
- .whitespace-nowrap {
113
- white-space: nowrap;
114
- }
115
- .underline-offset-4 {
116
- text-underline-offset: 4px;
117
- }
118
- .outline {
119
- outline-style: var(--tw-outline-style);
120
- outline-width: 1px;
121
- }
122
- .filter {
123
- filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);
124
- }
125
- .transition-all {
126
- transition-property: all;
127
- transition-timing-function: var(--tw-ease, ease);
128
- transition-duration: var(--tw-duration, 0s);
129
- }
130
- .transition-colors {
131
- transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to;
132
- transition-timing-function: var(--tw-ease, ease);
133
- transition-duration: var(--tw-duration, 0s);
80
+ img, video {
81
+ max-width: 100%;
82
+ height: auto;
83
+ }
84
+ button, input, select, optgroup, textarea, ::file-selector-button {
85
+ font: inherit;
86
+ font-feature-settings: inherit;
87
+ font-variation-settings: inherit;
88
+ letter-spacing: inherit;
89
+ color: inherit;
90
+ border-radius: 0;
91
+ background-color: transparent;
92
+ opacity: 1;
134
93
  }
135
- .outline-none {
136
- --tw-outline-style: none;
137
- outline-style: none;
94
+ :where(select:is([multiple], [size])) optgroup {
95
+ font-weight: bolder;
138
96
  }
139
- .select-none {
140
- -webkit-user-select: none;
141
- user-select: none;
97
+ :where(select:is([multiple], [size])) optgroup option {
98
+ padding-inline-start: 20px;
142
99
  }
143
- .file\:inline-flex {
144
- &::file-selector-button {
145
- display: inline-flex;
146
- }
100
+ ::file-selector-button {
101
+ margin-inline-end: 4px;
147
102
  }
148
- .file\:border-0 {
149
- &::file-selector-button {
150
- border-style: var(--tw-border-style);
151
- border-width: 0px;
152
- }
153
- }
154
- .file\:bg-transparent {
155
- &::file-selector-button {
156
- background-color: transparent;
157
- }
103
+ ::placeholder {
104
+ opacity: 1;
158
105
  }
159
- .hover\:underline {
160
- &:hover {
161
- @media (hover: hover) {
162
- text-decoration-line: underline;
106
+ @supports (not (-webkit-appearance: -apple-pay-button)) or (contain-intrinsic-size: 1px) {
107
+ ::placeholder {
108
+ color: currentcolor;
109
+ @supports (color: color-mix(in lab, red, red)) {
110
+ color: color-mix(in oklab, currentcolor 50%, transparent);
163
111
  }
164
112
  }
165
113
  }
166
- .focus-visible\:ring-3 {
167
- &:focus-visible {
168
- --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
169
- box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
170
- }
171
- }
172
- .active\:not-aria-\[haspopup\]\:translate-y-px {
173
- &:active {
174
- &:not(*[aria-haspopup]) {
175
- --tw-translate-y: 1px;
176
- translate: var(--tw-translate-x) var(--tw-translate-y);
177
- }
178
- }
114
+ textarea {
115
+ resize: vertical;
179
116
  }
180
- .disabled\:pointer-events-none {
181
- &:disabled {
182
- pointer-events: none;
183
- }
117
+ ::-webkit-search-decoration {
118
+ -webkit-appearance: none;
184
119
  }
185
- .disabled\:cursor-not-allowed {
186
- &:disabled {
187
- cursor: not-allowed;
188
- }
120
+ ::-webkit-date-and-time-value {
121
+ min-height: 1lh;
122
+ text-align: inherit;
189
123
  }
190
- .disabled\:opacity-50 {
191
- &:disabled {
192
- opacity: 50%;
193
- }
124
+ ::-webkit-datetime-edit {
125
+ display: inline-flex;
194
126
  }
195
- .aria-invalid\:ring-3 {
196
- &[aria-invalid="true"] {
197
- --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
198
- box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
199
- }
127
+ ::-webkit-datetime-edit-fields-wrapper {
128
+ padding: 0;
200
129
  }
201
- .\[\&_svg\]\:pointer-events-none {
202
- & svg {
203
- pointer-events: none;
204
- }
130
+ ::-webkit-datetime-edit, ::-webkit-datetime-edit-year-field, ::-webkit-datetime-edit-month-field, ::-webkit-datetime-edit-day-field, ::-webkit-datetime-edit-hour-field, ::-webkit-datetime-edit-minute-field, ::-webkit-datetime-edit-second-field, ::-webkit-datetime-edit-millisecond-field, ::-webkit-datetime-edit-meridiem-field {
131
+ padding-block: 0;
205
132
  }
206
- .\[\&_svg\]\:shrink-0 {
207
- & svg {
208
- flex-shrink: 0;
209
- }
133
+ ::-webkit-calendar-picker-indicator {
134
+ line-height: 1;
210
135
  }
211
- .\[\&_tr\]\:border-b {
212
- & tr {
213
- border-bottom-style: var(--tw-border-style);
214
- border-bottom-width: 1px;
215
- }
136
+ :-moz-ui-invalid {
137
+ box-shadow: none;
216
138
  }
217
- .\[\&_tr\:last-child\]\:border-0 {
218
- & tr:last-child {
219
- border-style: var(--tw-border-style);
220
- border-width: 0px;
221
- }
139
+ button, input:where([type='button'], [type='reset'], [type='submit']), ::file-selector-button {
140
+ appearance: button;
222
141
  }
223
- .\[\&\>tr\]\:last\:border-b-0 {
224
- &>tr {
225
- &:last-child {
226
- border-bottom-style: var(--tw-border-style);
227
- border-bottom-width: 0px;
228
- }
229
- }
142
+ ::-webkit-inner-spin-button, ::-webkit-outer-spin-button {
143
+ height: auto;
230
144
  }
231
- @property --tw-border-style {
232
- syntax: "*";
233
- inherits: false;
234
- initial-value: solid;
235
- }
236
- @property --tw-outline-style {
237
- syntax: "*";
238
- inherits: false;
239
- initial-value: solid;
240
- }
241
- @property --tw-blur {
242
- syntax: "*";
243
- inherits: false;
244
- }
245
- @property --tw-brightness {
246
- syntax: "*";
247
- inherits: false;
248
- }
249
- @property --tw-contrast {
250
- syntax: "*";
251
- inherits: false;
252
- }
253
- @property --tw-grayscale {
254
- syntax: "*";
255
- inherits: false;
256
- }
257
- @property --tw-hue-rotate {
258
- syntax: "*";
259
- inherits: false;
260
- }
261
- @property --tw-invert {
262
- syntax: "*";
263
- inherits: false;
264
- }
265
- @property --tw-opacity {
266
- syntax: "*";
267
- inherits: false;
268
- }
269
- @property --tw-saturate {
270
- syntax: "*";
271
- inherits: false;
272
- }
273
- @property --tw-sepia {
274
- syntax: "*";
275
- inherits: false;
276
- }
277
- @property --tw-drop-shadow {
278
- syntax: "*";
279
- inherits: false;
280
- }
281
- @property --tw-drop-shadow-color {
282
- syntax: "*";
283
- inherits: false;
284
- }
285
- @property --tw-drop-shadow-alpha {
286
- syntax: "<percentage>";
287
- inherits: false;
288
- initial-value: 100%;
289
- }
290
- @property --tw-drop-shadow-size {
291
- syntax: "*";
292
- inherits: false;
293
- }
294
- @property --tw-shadow {
295
- syntax: "*";
296
- inherits: false;
297
- initial-value: 0 0 #0000;
298
- }
299
- @property --tw-shadow-color {
300
- syntax: "*";
301
- inherits: false;
302
- }
303
- @property --tw-shadow-alpha {
304
- syntax: "<percentage>";
305
- inherits: false;
306
- initial-value: 100%;
307
- }
308
- @property --tw-inset-shadow {
309
- syntax: "*";
310
- inherits: false;
311
- initial-value: 0 0 #0000;
312
- }
313
- @property --tw-inset-shadow-color {
314
- syntax: "*";
315
- inherits: false;
316
- }
317
- @property --tw-inset-shadow-alpha {
318
- syntax: "<percentage>";
319
- inherits: false;
320
- initial-value: 100%;
321
- }
322
- @property --tw-ring-color {
323
- syntax: "*";
324
- inherits: false;
325
- }
326
- @property --tw-ring-shadow {
327
- syntax: "*";
328
- inherits: false;
329
- initial-value: 0 0 #0000;
330
- }
331
- @property --tw-inset-ring-color {
332
- syntax: "*";
333
- inherits: false;
334
- }
335
- @property --tw-inset-ring-shadow {
336
- syntax: "*";
337
- inherits: false;
338
- initial-value: 0 0 #0000;
339
- }
340
- @property --tw-ring-inset {
341
- syntax: "*";
342
- inherits: false;
343
- }
344
- @property --tw-ring-offset-width {
345
- syntax: "<length>";
346
- inherits: false;
347
- initial-value: 0px;
348
- }
349
- @property --tw-ring-offset-color {
350
- syntax: "*";
351
- inherits: false;
352
- initial-value: #fff;
353
- }
354
- @property --tw-ring-offset-shadow {
355
- syntax: "*";
356
- inherits: false;
357
- initial-value: 0 0 #0000;
358
- }
359
- @property --tw-translate-x {
360
- syntax: "*";
361
- inherits: false;
362
- initial-value: 0;
363
- }
364
- @property --tw-translate-y {
365
- syntax: "*";
366
- inherits: false;
367
- initial-value: 0;
368
- }
369
- @property --tw-translate-z {
370
- syntax: "*";
371
- inherits: false;
372
- initial-value: 0;
373
- }
374
- @layer properties {
375
- @supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
376
- *, ::before, ::after, ::backdrop {
377
- --tw-border-style: solid;
378
- --tw-outline-style: solid;
379
- --tw-blur: initial;
380
- --tw-brightness: initial;
381
- --tw-contrast: initial;
382
- --tw-grayscale: initial;
383
- --tw-hue-rotate: initial;
384
- --tw-invert: initial;
385
- --tw-opacity: initial;
386
- --tw-saturate: initial;
387
- --tw-sepia: initial;
388
- --tw-drop-shadow: initial;
389
- --tw-drop-shadow-color: initial;
390
- --tw-drop-shadow-alpha: 100%;
391
- --tw-drop-shadow-size: initial;
392
- --tw-shadow: 0 0 #0000;
393
- --tw-shadow-color: initial;
394
- --tw-shadow-alpha: 100%;
395
- --tw-inset-shadow: 0 0 #0000;
396
- --tw-inset-shadow-color: initial;
397
- --tw-inset-shadow-alpha: 100%;
398
- --tw-ring-color: initial;
399
- --tw-ring-shadow: 0 0 #0000;
400
- --tw-inset-ring-color: initial;
401
- --tw-inset-ring-shadow: 0 0 #0000;
402
- --tw-ring-inset: initial;
403
- --tw-ring-offset-width: 0px;
404
- --tw-ring-offset-color: #fff;
405
- --tw-ring-offset-shadow: 0 0 #0000;
406
- --tw-translate-x: 0;
407
- --tw-translate-y: 0;
408
- --tw-translate-z: 0;
409
- }
410
- }
145
+ [hidden]:where(:not([hidden='until-found'])) {
146
+ display: none !important;
411
147
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stereopt/data-table",
3
- "version": "0.1.13",
3
+ "version": "0.1.14",
4
4
  "description": "Simple reusable React data table component",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",