@cognite/aura 0.3.3 → 0.3.5
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/README.md +27 -0
- package/dist/components/index.d.ts +3 -1
- package/dist/components/index.js +31 -30
- package/dist/components/ui/core/{date-time-pickers/shared/calendar-header → calendar}/calendar-header.js +4 -4
- package/dist/components/ui/core/{date-time-pickers/shared/calendar → calendar}/calendar.js +13 -13
- package/dist/components/ui/core/calendar/constants.d.ts +1 -0
- package/dist/components/ui/core/data-grid/data-grid-cell.d.ts +10 -0
- package/dist/components/ui/core/data-grid/data-grid-cell.js +23 -0
- package/dist/components/ui/core/data-grid/data-grid-header-row.d.ts +13 -0
- package/dist/components/ui/core/data-grid/data-grid-header-row.js +56 -0
- package/dist/components/ui/core/data-grid/data-grid-row.d.ts +18 -0
- package/dist/components/ui/core/data-grid/data-grid-row.js +77 -0
- package/dist/components/ui/core/data-grid/data-grid.d.ts +43 -0
- package/dist/components/ui/core/data-grid/data-grid.fixtures.d.ts +12 -0
- package/dist/components/ui/core/data-grid/data-grid.js +134 -0
- package/dist/components/ui/core/data-grid/data-grid.utils.d.ts +9 -0
- package/dist/components/ui/core/data-grid/data-grid.utils.js +40 -0
- package/dist/components/ui/core/data-grid/index.d.ts +1 -0
- package/dist/components/ui/core/data-grid/index.js +2 -0
- package/dist/components/ui/core/date-time-pickers/date-picker/date-picker.js +1 -1
- package/dist/components/ui/core/date-time-pickers/date-picker/types.d.ts +2 -1
- package/dist/components/ui/core/date-time-pickers/date-range-picker/date-range-picker.js +1 -1
- package/dist/components/ui/core/date-time-pickers/date-range-picker/types.d.ts +2 -1
- package/dist/components/ui/core/date-time-pickers/date-time-picker/index.d.ts +1 -0
- package/dist/components/ui/core/date-time-pickers/date-time-picker/types.d.ts +36 -0
- package/dist/components/ui/core/date-time-pickers/date-time-picker/use-date-time-picker.d.ts +3 -0
- package/dist/components/ui/core/date-time-pickers/date-time-range-picker/date-time-range-picker.js +1 -1
- package/dist/components/ui/core/date-time-pickers/date-time-range-picker/types.d.ts +7 -6
- package/dist/components/ui/core/date-time-pickers/index.d.ts +3 -1
- package/dist/components/ui/core/date-time-pickers/index.js +6 -5
- package/dist/components/ui/core/date-time-pickers/shared/am-pm-scroll/am-pm-scroll.d.ts +3 -2
- package/dist/components/ui/core/date-time-pickers/shared/constants.d.ts +3 -8
- package/dist/components/ui/core/date-time-pickers/shared/hooks/use-time-state.d.ts +3 -3
- package/dist/components/ui/core/date-time-pickers/shared/shortcuts-panel/shortcuts-panel.d.ts +3 -2
- package/dist/components/ui/core/date-time-pickers/shared/time-picker-panel/time-picker-panel.d.ts +3 -2
- package/dist/components/ui/core/date-time-pickers/time-picker/types.d.ts +5 -4
- package/dist/components/ui/core/date-time-pickers/time-range-picker/index.d.ts +1 -0
- package/dist/components/ui/core/date-time-pickers/time-range-picker/types.d.ts +40 -0
- package/dist/components/ui/core/date-time-pickers/time-range-picker/use-time-range-picker.d.ts +3 -0
- package/dist/components/ui/core/date-time-pickers/utils/format-utils.d.ts +1 -0
- package/dist/components/ui/core/date-time-pickers/utils/time-utils.d.ts +3 -3
- package/dist/components/ui/core/overflow-list/overflow-list.utils.d.ts +52 -0
- package/dist/components/ui/core/segmented-control/segmented-control.d.ts +12 -6
- package/dist/components/ui/core/segmented-control/segmented-control.js +74 -32
- package/dist/components/ui/core/slider/slider.d.ts +9 -0
- package/dist/components/ui/core/slider/slider.js +40 -0
- package/dist/index.d.ts +1 -1
- package/dist/styles.css +1 -1
- package/dist/styles.source.css +3 -0
- package/package.json +24 -2
- /package/dist/components/ui/core/{date-time-pickers/shared/calendar-header → calendar}/calendar-header.d.ts +0 -0
- /package/dist/components/ui/core/{date-time-pickers/utils → calendar}/calendar-utils.d.ts +0 -0
- /package/dist/components/ui/core/{date-time-pickers/utils → calendar}/calendar-utils.js +0 -0
- /package/dist/components/ui/core/{date-time-pickers/shared/calendar → calendar}/calendar.d.ts +0 -0
package/dist/styles.source.css
CHANGED
|
@@ -82,6 +82,9 @@
|
|
|
82
82
|
/* default focus ring: inner border (1px dark) + outer glow (3px light, 2px visible beyond inner) */
|
|
83
83
|
--shadow-focus-ring-destructive:
|
|
84
84
|
0 0 0 1px var(--ring-destructive), 0 0 0 3px var(--ring-destructive-muted);
|
|
85
|
+
--shadow-pinned-column:
|
|
86
|
+
4px 0 8px 0 var(--effect-shadow-md), 3px 0 2px 0 var(--effect-shadow-md);
|
|
87
|
+
/* horizontal edge shadow for the last pinned column in data grids */
|
|
85
88
|
|
|
86
89
|
--radius-none: 0px;
|
|
87
90
|
--radius-xs: 2px;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cognite/aura",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.5",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"sideEffects": [
|
|
6
6
|
"**/*.scss",
|
|
@@ -47,6 +47,10 @@
|
|
|
47
47
|
"import": "./dist/components/ui/core/button-group/button-group.js",
|
|
48
48
|
"types": "./dist/components/ui/core/button-group/button-group.d.ts"
|
|
49
49
|
},
|
|
50
|
+
"./components/calendar": {
|
|
51
|
+
"import": "./dist/components/ui/core/calendar/calendar.js",
|
|
52
|
+
"types": "./dist/components/ui/core/calendar/calendar.d.ts"
|
|
53
|
+
},
|
|
50
54
|
"./components/card": {
|
|
51
55
|
"import": "./dist/components/ui/core/card/card.js",
|
|
52
56
|
"types": "./dist/components/ui/core/card/card.d.ts"
|
|
@@ -179,6 +183,10 @@
|
|
|
179
183
|
"import": "./dist/components/ui/core/skeleton/skeleton.js",
|
|
180
184
|
"types": "./dist/components/ui/core/skeleton/skeleton.d.ts"
|
|
181
185
|
},
|
|
186
|
+
"./components/slider": {
|
|
187
|
+
"import": "./dist/components/ui/core/slider/slider.js",
|
|
188
|
+
"types": "./dist/components/ui/core/slider/slider.d.ts"
|
|
189
|
+
},
|
|
182
190
|
"./components/sonner-toast": {
|
|
183
191
|
"import": "./dist/components/ui/core/sonner-toast/sonner-toast.js",
|
|
184
192
|
"types": "./dist/components/ui/core/sonner-toast/sonner-toast.d.ts"
|
|
@@ -219,6 +227,10 @@
|
|
|
219
227
|
"import": "./dist/components/ui/core/chart/index.js",
|
|
220
228
|
"types": "./dist/components/ui/core/chart/index.d.ts"
|
|
221
229
|
},
|
|
230
|
+
"./data-grid": {
|
|
231
|
+
"import": "./dist/components/ui/core/data-grid/index.js",
|
|
232
|
+
"types": "./dist/components/ui/core/data-grid/index.d.ts"
|
|
233
|
+
},
|
|
222
234
|
"./highlight-code": {
|
|
223
235
|
"import": "./dist/lib/highlight-code.js",
|
|
224
236
|
"types": "./dist/lib/highlight-code.d.ts"
|
|
@@ -274,6 +286,8 @@
|
|
|
274
286
|
"@storybook/react-vite": "10.3.5",
|
|
275
287
|
"@swc-node/register": "1.11.1",
|
|
276
288
|
"@tailwindcss/vite": "^4.3.1",
|
|
289
|
+
"@tanstack/react-table": "^8.7.4",
|
|
290
|
+
"@tanstack/react-virtual": "^3.10.8",
|
|
277
291
|
"@testing-library/jest-dom": "^6.4.6",
|
|
278
292
|
"@testing-library/react": "16.0.1",
|
|
279
293
|
"@testing-library/user-event": "^14.6.1",
|
|
@@ -297,12 +311,20 @@
|
|
|
297
311
|
"vitest": "^4.1.10"
|
|
298
312
|
},
|
|
299
313
|
"peerDependencies": {
|
|
300
|
-
"
|
|
314
|
+
"@tanstack/react-table": "^8.7.4",
|
|
315
|
+
"@tanstack/react-virtual": "^3.10.8",
|
|
316
|
+
"eslint": "^9.6.0 || ^10.0.0",
|
|
301
317
|
"react": "^18.3.1",
|
|
302
318
|
"recharts": "^3.7.0",
|
|
303
319
|
"tailwindcss": "^4.1.17"
|
|
304
320
|
},
|
|
305
321
|
"peerDependenciesMeta": {
|
|
322
|
+
"@tanstack/react-table": {
|
|
323
|
+
"optional": true
|
|
324
|
+
},
|
|
325
|
+
"@tanstack/react-virtual": {
|
|
326
|
+
"optional": true
|
|
327
|
+
},
|
|
306
328
|
"recharts": {
|
|
307
329
|
"optional": true
|
|
308
330
|
},
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/components/ui/core/{date-time-pickers/shared/calendar → calendar}/calendar.d.ts
RENAMED
|
File without changes
|