@cognite/aura 0.3.5 → 1.46105.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/CHANGELOG.md +264 -0
- package/DESIGN.md +638 -281
- package/LICENSE +21 -0
- package/README.md +21 -13
- package/dist/colors-deprecated.css +587 -0
- package/dist/colors.css +803 -830
- package/dist/components/index.d.ts +63 -57
- package/dist/components/index.js +62 -59
- package/dist/components/index.js.map +1 -0
- package/dist/components/ui/core/accordion/accordion.d.ts +19 -18
- package/dist/components/ui/core/accordion/accordion.js +99 -78
- package/dist/components/ui/core/accordion/accordion.js.map +1 -0
- package/dist/components/ui/core/action-toolbar/action-toolbar-motion.d.ts +8 -0
- package/dist/components/ui/core/action-toolbar/action-toolbar-motion.js +125 -0
- package/dist/components/ui/core/action-toolbar/action-toolbar-motion.js.map +1 -0
- package/dist/components/ui/core/action-toolbar/action-toolbar.d.ts +31 -31
- package/dist/components/ui/core/action-toolbar/action-toolbar.js +156 -106
- package/dist/components/ui/core/action-toolbar/action-toolbar.js.map +1 -0
- package/dist/components/ui/core/alert/alert.d.ts +25 -25
- package/dist/components/ui/core/alert/alert.js +181 -152
- package/dist/components/ui/core/alert/alert.js.map +1 -0
- package/dist/components/ui/core/avatar/avatar.d.ts +10 -9
- package/dist/components/ui/core/avatar/avatar.js +75 -65
- package/dist/components/ui/core/avatar/avatar.js.map +1 -0
- package/dist/components/ui/core/badge/badge.d.ts +13 -12
- package/dist/components/ui/core/badge/badge.js +88 -72
- package/dist/components/ui/core/badge/badge.js.map +1 -0
- package/dist/components/ui/core/banner/banner.d.ts +18 -18
- package/dist/components/ui/core/banner/banner.js +179 -142
- package/dist/components/ui/core/banner/banner.js.map +1 -0
- package/dist/components/ui/core/breadcrumb/breadcrumb.d.ts +12 -12
- package/dist/components/ui/core/breadcrumb/breadcrumb.js +139 -104
- package/dist/components/ui/core/breadcrumb/breadcrumb.js.map +1 -0
- package/dist/components/ui/core/button/button.d.ts +7 -7
- package/dist/components/ui/core/button/button.gallery.d.ts +2 -0
- package/dist/components/ui/core/button/button.gallery.js +76 -0
- package/dist/components/ui/core/button/button.gallery.js.map +1 -0
- package/dist/components/ui/core/button/button.js +57 -47
- package/dist/components/ui/core/button/button.js.map +1 -0
- package/dist/components/ui/core/button-group/button-group.d.ts +9 -9
- package/dist/components/ui/core/button-group/button-group.js +50 -40
- package/dist/components/ui/core/button-group/button-group.js.map +1 -0
- package/dist/components/ui/core/calendar/calendar-header.d.ts +7 -7
- package/dist/components/ui/core/calendar/calendar-header.js +102 -63
- package/dist/components/ui/core/calendar/calendar-header.js.map +1 -0
- package/dist/components/ui/core/calendar/calendar-utils.d.ts +30 -30
- package/dist/components/ui/core/calendar/calendar-utils.js +116 -39
- package/dist/components/ui/core/calendar/calendar-utils.js.map +1 -0
- package/dist/components/ui/core/calendar/calendar.d.ts +10 -10
- package/dist/components/ui/core/calendar/calendar.js +95 -66
- package/dist/components/ui/core/calendar/calendar.js.map +1 -0
- package/dist/components/ui/core/calendar/constants.js +3 -0
- package/dist/components/ui/core/calendar/constants.js.map +1 -0
- package/dist/components/ui/core/card/card.d.ts +20 -20
- package/dist/components/ui/core/card/card.js +133 -104
- package/dist/components/ui/core/card/card.js.map +1 -0
- package/dist/components/ui/core/chart/chart.d.ts +55 -53
- package/dist/components/ui/core/chart/chart.js +196 -116
- package/dist/components/ui/core/chart/chart.js.map +1 -0
- package/dist/components/ui/core/chart/index.d.ts +2 -2
- package/dist/components/ui/core/chart/index.js +3 -2
- package/dist/components/ui/core/chart/index.js.map +1 -0
- package/dist/components/ui/core/checkbox/checkbox.d.ts +9 -9
- package/dist/components/ui/core/checkbox/checkbox.js +88 -68
- package/dist/components/ui/core/checkbox/checkbox.js.map +1 -0
- package/dist/components/ui/core/checkbox/checkbox.metadata.d.ts +1 -1
- package/dist/components/ui/core/checkbox/checkbox.metadata.js +6 -7
- package/dist/components/ui/core/checkbox/checkbox.metadata.js.map +1 -0
- package/dist/components/ui/core/code-block/code-block.d.ts +19 -19
- package/dist/components/ui/core/code-block/code-block.js +259 -175
- package/dist/components/ui/core/code-block/code-block.js.map +1 -0
- package/dist/components/ui/core/collapsible/collapsible.d.ts +5 -5
- package/dist/components/ui/core/collapsible/collapsible.js +36 -30
- package/dist/components/ui/core/collapsible/collapsible.js.map +1 -0
- package/dist/components/ui/core/combobox/combobox.d.ts +13 -13
- package/dist/components/ui/core/combobox/combobox.js +89 -40
- package/dist/components/ui/core/combobox/combobox.js.map +1 -0
- package/dist/components/ui/core/command/command.d.ts +20 -18
- package/dist/components/ui/core/command/command.js +137 -85
- package/dist/components/ui/core/command/command.js.map +1 -0
- package/dist/components/ui/core/conversation/conversation.d.ts +14 -0
- package/dist/components/ui/core/conversation/conversation.js +51 -0
- package/dist/components/ui/core/conversation/conversation.js.map +1 -0
- package/dist/components/ui/core/count/count.d.ts +8 -6
- package/dist/components/ui/core/count/count.js +51 -21
- package/dist/components/ui/core/count/count.js.map +1 -0
- package/dist/components/ui/core/data-grid/data-grid-cell.d.ts +7 -7
- package/dist/components/ui/core/data-grid/data-grid-cell.js +22 -22
- package/dist/components/ui/core/data-grid/data-grid-cell.js.map +1 -0
- package/dist/components/ui/core/data-grid/data-grid-filter-clauses.d.ts +14 -0
- package/dist/components/ui/core/data-grid/data-grid-filter-clauses.js +36 -0
- package/dist/components/ui/core/data-grid/data-grid-filter-clauses.js.map +1 -0
- package/dist/components/ui/core/data-grid/data-grid-filter-panel.d.ts +41 -0
- package/dist/components/ui/core/data-grid/data-grid-filter-panel.js +273 -0
- package/dist/components/ui/core/data-grid/data-grid-filter-panel.js.map +1 -0
- package/dist/components/ui/core/data-grid/data-grid-footer.d.ts +6 -0
- package/dist/components/ui/core/data-grid/data-grid-footer.js +34 -0
- package/dist/components/ui/core/data-grid/data-grid-footer.js.map +1 -0
- package/dist/components/ui/core/data-grid/data-grid-header-row.d.ts +10 -10
- package/dist/components/ui/core/data-grid/data-grid-header-row.js +69 -55
- package/dist/components/ui/core/data-grid/data-grid-header-row.js.map +1 -0
- package/dist/components/ui/core/data-grid/data-grid-header.d.ts +11 -0
- package/dist/components/ui/core/data-grid/data-grid-header.js +67 -0
- package/dist/components/ui/core/data-grid/data-grid-header.js.map +1 -0
- package/dist/components/ui/core/data-grid/data-grid-row.d.ts +15 -15
- package/dist/components/ui/core/data-grid/data-grid-row.js +104 -76
- package/dist/components/ui/core/data-grid/data-grid-row.js.map +1 -0
- package/dist/components/ui/core/data-grid/data-grid.d.ts +85 -35
- package/dist/components/ui/core/data-grid/data-grid.fixtures.d.ts +7 -7
- package/dist/components/ui/core/data-grid/data-grid.fixtures.js +139 -0
- package/dist/components/ui/core/data-grid/data-grid.fixtures.js.map +1 -0
- package/dist/components/ui/core/data-grid/data-grid.js +402 -132
- package/dist/components/ui/core/data-grid/data-grid.js.map +1 -0
- package/dist/components/ui/core/data-grid/data-grid.utils.d.ts +3 -3
- package/dist/components/ui/core/data-grid/data-grid.utils.js +44 -33
- package/dist/components/ui/core/data-grid/data-grid.utils.js.map +1 -0
- package/dist/components/ui/core/data-grid/index.d.ts +4 -1
- package/dist/components/ui/core/data-grid/index.js +5 -2
- package/dist/components/ui/core/data-grid/index.js.map +1 -0
- package/dist/components/ui/core/date-time-pickers/date-picker/date-picker.d.ts +11 -13
- package/dist/components/ui/core/date-time-pickers/date-picker/date-picker.js +85 -61
- package/dist/components/ui/core/date-time-pickers/date-picker/date-picker.js.map +1 -0
- package/dist/components/ui/core/date-time-pickers/date-picker/index.d.ts +3 -3
- package/dist/components/ui/core/date-time-pickers/date-picker/index.js +3 -0
- package/dist/components/ui/core/date-time-pickers/date-picker/index.js.map +1 -0
- package/dist/components/ui/core/date-time-pickers/date-picker/types.d.ts +14 -14
- package/dist/components/ui/core/date-time-pickers/date-picker/types.js +3 -0
- package/dist/components/ui/core/date-time-pickers/date-picker/types.js.map +1 -0
- package/dist/components/ui/core/date-time-pickers/date-picker/use-date-picker.d.ts +2 -2
- package/dist/components/ui/core/date-time-pickers/date-picker/use-date-picker.js +51 -36
- package/dist/components/ui/core/date-time-pickers/date-picker/use-date-picker.js.map +1 -0
- package/dist/components/ui/core/date-time-pickers/date-range-picker/date-range-picker.d.ts +11 -13
- package/dist/components/ui/core/date-time-pickers/date-range-picker/date-range-picker.js +89 -64
- package/dist/components/ui/core/date-time-pickers/date-range-picker/date-range-picker.js.map +1 -0
- package/dist/components/ui/core/date-time-pickers/date-range-picker/index.d.ts +3 -3
- package/dist/components/ui/core/date-time-pickers/date-range-picker/index.js +3 -0
- package/dist/components/ui/core/date-time-pickers/date-range-picker/index.js.map +1 -0
- package/dist/components/ui/core/date-time-pickers/date-range-picker/types.d.ts +20 -20
- package/dist/components/ui/core/date-time-pickers/date-range-picker/types.js +3 -0
- package/dist/components/ui/core/date-time-pickers/date-range-picker/types.js.map +1 -0
- package/dist/components/ui/core/date-time-pickers/date-range-picker/use-date-range-picker.d.ts +4 -4
- package/dist/components/ui/core/date-time-pickers/date-range-picker/use-date-range-picker.js +95 -60
- package/dist/components/ui/core/date-time-pickers/date-range-picker/use-date-range-picker.js.map +1 -0
- package/dist/components/ui/core/date-time-pickers/date-time-picker/date-time-picker.d.ts +15 -0
- package/dist/components/ui/core/date-time-pickers/date-time-picker/date-time-picker.js +120 -0
- package/dist/components/ui/core/date-time-pickers/date-time-picker/date-time-picker.js.map +1 -0
- package/dist/components/ui/core/date-time-pickers/date-time-picker/index.d.ts +3 -1
- package/dist/components/ui/core/date-time-pickers/date-time-picker/index.js +3 -0
- package/dist/components/ui/core/date-time-pickers/date-time-picker/index.js.map +1 -0
- package/dist/components/ui/core/date-time-pickers/date-time-picker/types.d.ts +25 -32
- package/dist/components/ui/core/date-time-pickers/date-time-picker/types.js +3 -0
- package/dist/components/ui/core/date-time-pickers/date-time-picker/types.js.map +1 -0
- package/dist/components/ui/core/date-time-pickers/date-time-picker/use-date-time-picker.d.ts +2 -2
- package/dist/components/ui/core/date-time-pickers/date-time-picker/use-date-time-picker.js +78 -0
- package/dist/components/ui/core/date-time-pickers/date-time-picker/use-date-time-picker.js.map +1 -0
- package/dist/components/ui/core/date-time-pickers/date-time-range-picker/date-time-range-picker.d.ts +13 -15
- package/dist/components/ui/core/date-time-pickers/date-time-range-picker/date-time-range-picker.js +165 -119
- package/dist/components/ui/core/date-time-pickers/date-time-range-picker/date-time-range-picker.js.map +1 -0
- package/dist/components/ui/core/date-time-pickers/date-time-range-picker/index.d.ts +3 -3
- package/dist/components/ui/core/date-time-pickers/date-time-range-picker/index.js +3 -0
- package/dist/components/ui/core/date-time-pickers/date-time-range-picker/index.js.map +1 -0
- package/dist/components/ui/core/date-time-pickers/date-time-range-picker/types.d.ts +37 -37
- package/dist/components/ui/core/date-time-pickers/date-time-range-picker/types.js +3 -0
- package/dist/components/ui/core/date-time-pickers/date-time-range-picker/types.js.map +1 -0
- package/dist/components/ui/core/date-time-pickers/date-time-range-picker/use-date-time-range-picker.d.ts +3 -3
- package/dist/components/ui/core/date-time-pickers/date-time-range-picker/use-date-time-range-picker.js +163 -104
- package/dist/components/ui/core/date-time-pickers/date-time-range-picker/use-date-time-range-picker.js.map +1 -0
- package/dist/components/ui/core/date-time-pickers/index.d.ts +17 -12
- package/dist/components/ui/core/date-time-pickers/index.js +10 -6
- package/dist/components/ui/core/date-time-pickers/index.js.map +1 -0
- package/dist/components/ui/core/date-time-pickers/shared/am-pm-scroll/am-pm-scroll.d.ts +5 -5
- package/dist/components/ui/core/date-time-pickers/shared/am-pm-scroll/am-pm-scroll.js +52 -42
- package/dist/components/ui/core/date-time-pickers/shared/am-pm-scroll/am-pm-scroll.js.map +1 -0
- package/dist/components/ui/core/date-time-pickers/shared/constants.d.ts +6 -1
- package/dist/components/ui/core/date-time-pickers/shared/constants.js +23 -0
- package/dist/components/ui/core/date-time-pickers/shared/constants.js.map +1 -0
- package/dist/components/ui/core/date-time-pickers/shared/date-time-input/date-time-input.d.ts +16 -15
- package/dist/components/ui/core/date-time-pickers/shared/date-time-input/date-time-input.js +87 -64
- package/dist/components/ui/core/date-time-pickers/shared/date-time-input/date-time-input.js.map +1 -0
- package/dist/components/ui/core/date-time-pickers/shared/date-time-input/range-input-display.d.ts +10 -9
- package/dist/components/ui/core/date-time-pickers/shared/date-time-input/range-input-display.js +89 -38
- package/dist/components/ui/core/date-time-pickers/shared/date-time-input/range-input-display.js.map +1 -0
- package/dist/components/ui/core/date-time-pickers/shared/hooks/use-popover-state.d.ts +5 -5
- package/dist/components/ui/core/date-time-pickers/shared/hooks/use-popover-state.js +34 -23
- package/dist/components/ui/core/date-time-pickers/shared/hooks/use-popover-state.js.map +1 -0
- package/dist/components/ui/core/date-time-pickers/shared/hooks/use-range-date-state.d.ts +23 -23
- package/dist/components/ui/core/date-time-pickers/shared/hooks/use-range-date-state.js +95 -52
- package/dist/components/ui/core/date-time-pickers/shared/hooks/use-range-date-state.js.map +1 -0
- package/dist/components/ui/core/date-time-pickers/shared/hooks/use-range-step-manager.d.ts +5 -5
- package/dist/components/ui/core/date-time-pickers/shared/hooks/use-range-step-manager.js +22 -18
- package/dist/components/ui/core/date-time-pickers/shared/hooks/use-range-step-manager.js.map +1 -0
- package/dist/components/ui/core/date-time-pickers/shared/hooks/use-single-date-state.d.ts +19 -19
- package/dist/components/ui/core/date-time-pickers/shared/hooks/use-single-date-state.js +41 -24
- package/dist/components/ui/core/date-time-pickers/shared/hooks/use-single-date-state.js.map +1 -0
- package/dist/components/ui/core/date-time-pickers/shared/hooks/use-time-state.d.ts +13 -13
- package/dist/components/ui/core/date-time-pickers/shared/hooks/use-time-state.js +33 -24
- package/dist/components/ui/core/date-time-pickers/shared/hooks/use-time-state.js.map +1 -0
- package/dist/components/ui/core/date-time-pickers/shared/scroll-cell-classes.d.ts +5 -5
- package/dist/components/ui/core/date-time-pickers/shared/scroll-cell-classes.js +9 -4
- package/dist/components/ui/core/date-time-pickers/shared/scroll-cell-classes.js.map +1 -0
- package/dist/components/ui/core/date-time-pickers/shared/shortcuts-panel/shortcuts-panel.d.ts +13 -9
- package/dist/components/ui/core/date-time-pickers/shared/shortcuts-panel/shortcuts-panel.js +22 -17
- package/dist/components/ui/core/date-time-pickers/shared/shortcuts-panel/shortcuts-panel.js.map +1 -0
- package/dist/components/ui/core/date-time-pickers/shared/time-picker-panel/index.d.ts +2 -2
- package/dist/components/ui/core/date-time-pickers/shared/time-picker-panel/index.js +3 -0
- package/dist/components/ui/core/date-time-pickers/shared/time-picker-panel/index.js.map +1 -0
- package/dist/components/ui/core/date-time-pickers/shared/time-picker-panel/time-picker-panel.d.ts +13 -13
- package/dist/components/ui/core/date-time-pickers/shared/time-picker-panel/time-picker-panel.js +49 -40
- package/dist/components/ui/core/date-time-pickers/shared/time-picker-panel/time-picker-panel.js.map +1 -0
- package/dist/components/ui/core/date-time-pickers/shared/time-picker-scroll/time-picker-scroll.d.ts +7 -7
- package/dist/components/ui/core/date-time-pickers/shared/time-picker-scroll/time-picker-scroll.js +41 -34
- package/dist/components/ui/core/date-time-pickers/shared/time-picker-scroll/time-picker-scroll.js.map +1 -0
- package/dist/components/ui/core/date-time-pickers/time-picker/index.d.ts +3 -3
- package/dist/components/ui/core/date-time-pickers/time-picker/index.js +3 -0
- package/dist/components/ui/core/date-time-pickers/time-picker/index.js.map +1 -0
- package/dist/components/ui/core/date-time-pickers/time-picker/time-picker.d.ts +12 -14
- package/dist/components/ui/core/date-time-pickers/time-picker/time-picker.js +99 -79
- package/dist/components/ui/core/date-time-pickers/time-picker/time-picker.js.map +1 -0
- package/dist/components/ui/core/date-time-pickers/time-picker/types.d.ts +20 -20
- package/dist/components/ui/core/date-time-pickers/time-picker/types.js +3 -0
- package/dist/components/ui/core/date-time-pickers/time-picker/types.js.map +1 -0
- package/dist/components/ui/core/date-time-pickers/time-picker/use-time-picker.d.ts +2 -2
- package/dist/components/ui/core/date-time-pickers/time-picker/use-time-picker.js +63 -41
- package/dist/components/ui/core/date-time-pickers/time-picker/use-time-picker.js.map +1 -0
- package/dist/components/ui/core/date-time-pickers/time-range-picker/index.d.ts +3 -1
- package/dist/components/ui/core/date-time-pickers/time-range-picker/index.js +3 -0
- package/dist/components/ui/core/date-time-pickers/time-range-picker/index.js.map +1 -0
- package/dist/components/ui/core/date-time-pickers/time-range-picker/time-range-picker.d.ts +14 -0
- package/dist/components/ui/core/date-time-pickers/time-range-picker/time-range-picker.js +115 -0
- package/dist/components/ui/core/date-time-pickers/time-range-picker/time-range-picker.js.map +1 -0
- package/dist/components/ui/core/date-time-pickers/time-range-picker/types.d.ts +30 -36
- package/dist/components/ui/core/date-time-pickers/time-range-picker/types.js +3 -0
- package/dist/components/ui/core/date-time-pickers/time-range-picker/types.js.map +1 -0
- package/dist/components/ui/core/date-time-pickers/time-range-picker/use-time-range-picker.d.ts +2 -2
- package/dist/components/ui/core/date-time-pickers/time-range-picker/use-time-range-picker.js +145 -0
- package/dist/components/ui/core/date-time-pickers/time-range-picker/use-time-range-picker.js.map +1 -0
- package/dist/components/ui/core/date-time-pickers/utils/date-input.d.ts +56 -0
- package/dist/components/ui/core/date-time-pickers/utils/date-input.js +67 -0
- package/dist/components/ui/core/date-time-pickers/utils/date-input.js.map +1 -0
- package/dist/components/ui/core/date-time-pickers/utils/date-range-utils.d.ts +18 -18
- package/dist/components/ui/core/date-time-pickers/utils/date-range-utils.js +42 -0
- package/dist/components/ui/core/date-time-pickers/utils/date-range-utils.js.map +1 -0
- package/dist/components/ui/core/date-time-pickers/utils/format-utils.d.ts +31 -29
- package/dist/components/ui/core/date-time-pickers/utils/format-utils.js +56 -0
- package/dist/components/ui/core/date-time-pickers/utils/format-utils.js.map +1 -0
- package/dist/components/ui/core/date-time-pickers/utils/segment-utils.d.ts +21 -21
- package/dist/components/ui/core/date-time-pickers/utils/segment-utils.js +170 -0
- package/dist/components/ui/core/date-time-pickers/utils/segment-utils.js.map +1 -0
- package/dist/components/ui/core/date-time-pickers/utils/time-utils.d.ts +28 -28
- package/dist/components/ui/core/date-time-pickers/utils/time-utils.js +88 -7
- package/dist/components/ui/core/date-time-pickers/utils/time-utils.js.map +1 -0
- package/dist/components/ui/core/date-time-pickers/utils/time-validation.d.ts +17 -17
- package/dist/components/ui/core/date-time-pickers/utils/time-validation.js +43 -0
- package/dist/components/ui/core/date-time-pickers/utils/time-validation.js.map +1 -0
- package/dist/components/ui/core/dialog/dialog.d.ts +12 -9
- package/dist/components/ui/core/dialog/dialog.js +90 -82
- package/dist/components/ui/core/dialog/dialog.js.map +1 -0
- package/dist/components/ui/core/dropdown-menu/dropdown-menu.d.ts +22 -19
- package/dist/components/ui/core/dropdown-menu/dropdown-menu.js +204 -149
- package/dist/components/ui/core/dropdown-menu/dropdown-menu.js.map +1 -0
- package/dist/components/ui/core/empty-state/empty-state.context.d.ts +4 -4
- package/dist/components/ui/core/empty-state/empty-state.context.js +8 -5
- package/dist/components/ui/core/empty-state/empty-state.context.js.map +1 -0
- package/dist/components/ui/core/empty-state/empty-state.d.ts +14 -14
- package/dist/components/ui/core/empty-state/empty-state.js +96 -82
- package/dist/components/ui/core/empty-state/empty-state.js.map +1 -0
- package/dist/components/ui/core/helper-text/helper-text.d.ts +7 -7
- package/dist/components/ui/core/helper-text/helper-text.js +55 -36
- package/dist/components/ui/core/helper-text/helper-text.js.map +1 -0
- package/dist/components/ui/core/hover-card/hover-card.d.ts +7 -6
- package/dist/components/ui/core/hover-card/hover-card.js +56 -52
- package/dist/components/ui/core/hover-card/hover-card.js.map +1 -0
- package/dist/components/ui/core/inline-citation/inline-citation.d.ts +26 -25
- package/dist/components/ui/core/inline-citation/inline-citation.js +121 -97
- package/dist/components/ui/core/inline-citation/inline-citation.js.map +1 -0
- package/dist/components/ui/core/input/input.d.ts +2 -2
- package/dist/components/ui/core/input/input.js +15 -13
- package/dist/components/ui/core/input/input.js.map +1 -0
- package/dist/components/ui/core/input-group/input-group.d.ts +25 -14
- package/dist/components/ui/core/input-group/input-group.js +149 -76
- package/dist/components/ui/core/input-group/input-group.js.map +1 -0
- package/dist/components/ui/core/item/item.d.ts +20 -0
- package/dist/components/ui/core/item/item.js +93 -0
- package/dist/components/ui/core/item/item.js.map +1 -0
- package/dist/components/ui/core/kbd/kbd.d.ts +3 -3
- package/dist/components/ui/core/kbd/kbd.js +24 -20
- package/dist/components/ui/core/kbd/kbd.js.map +1 -0
- package/dist/components/ui/core/label/label.d.ts +3 -3
- package/dist/components/ui/core/label/label.js +33 -26
- package/dist/components/ui/core/label/label.js.map +1 -0
- package/dist/components/ui/core/loader/loader.d.ts +6 -6
- package/dist/components/ui/core/loader/loader.js +97 -80
- package/dist/components/ui/core/loader/loader.js.map +1 -0
- package/dist/components/ui/core/message/message-response-default-streamdown-controls.d.ts +9 -9
- package/dist/components/ui/core/message/message-response-default-streamdown-controls.js +19 -12
- package/dist/components/ui/core/message/message-response-default-streamdown-controls.js.map +1 -0
- package/dist/components/ui/core/message/message-response-math-plugin.d.ts +3 -0
- package/dist/components/ui/core/message/message-response-math-plugin.js +6 -0
- package/dist/components/ui/core/message/message-response-math-plugin.js.map +1 -0
- package/dist/components/ui/core/message/message.d.ts +27 -23
- package/dist/components/ui/core/message/message.js +453 -316
- package/dist/components/ui/core/message/message.js.map +1 -0
- package/dist/components/ui/core/overflow-list/overflow-list.d.ts +21 -0
- package/dist/components/ui/core/overflow-list/overflow-list.js +197 -0
- package/dist/components/ui/core/overflow-list/overflow-list.js.map +1 -0
- package/dist/components/ui/core/overflow-list/overflow-list.utils.d.ts +37 -35
- package/dist/components/ui/core/overflow-list/overflow-list.utils.js +206 -0
- package/dist/components/ui/core/overflow-list/overflow-list.utils.js.map +1 -0
- package/dist/components/ui/core/pagination/pagination-size-context.d.ts +2 -2
- package/dist/components/ui/core/pagination/pagination-size-context.js +6 -5
- package/dist/components/ui/core/pagination/pagination-size-context.js.map +1 -0
- package/dist/components/ui/core/pagination/pagination-teleport.d.ts +9 -9
- package/dist/components/ui/core/pagination/pagination-teleport.js +127 -84
- package/dist/components/ui/core/pagination/pagination-teleport.js.map +1 -0
- package/dist/components/ui/core/pagination/pagination-teleport.utils.js +6 -6
- package/dist/components/ui/core/pagination/pagination-teleport.utils.js.map +1 -0
- package/dist/components/ui/core/pagination/pagination.d.ts +39 -39
- package/dist/components/ui/core/pagination/pagination.js +294 -234
- package/dist/components/ui/core/pagination/pagination.js.map +1 -0
- package/dist/components/ui/core/popover/popover.d.ts +12 -11
- package/dist/components/ui/core/popover/popover.js +104 -89
- package/dist/components/ui/core/popover/popover.js.map +1 -0
- package/dist/components/ui/core/progress/progress.d.ts +9 -8
- package/dist/components/ui/core/progress/progress.js +50 -35
- package/dist/components/ui/core/progress/progress.js.map +1 -0
- package/dist/components/ui/core/prompt-input/prompt-input.d.ts +27 -27
- package/dist/components/ui/core/prompt-input/prompt-input.js +342 -271
- package/dist/components/ui/core/prompt-input/prompt-input.js.map +1 -0
- package/dist/components/ui/core/radio-group/radio-group.d.ts +12 -12
- package/dist/components/ui/core/radio-group/radio-group.js +88 -58
- package/dist/components/ui/core/radio-group/radio-group.js.map +1 -0
- package/dist/components/ui/core/reasoning/reasoning.d.ts +7 -7
- package/dist/components/ui/core/reasoning/reasoning.js +68 -56
- package/dist/components/ui/core/reasoning/reasoning.js.map +1 -0
- package/dist/components/ui/core/scroll-area/scroll-area.d.ts +4 -4
- package/dist/components/ui/core/scroll-area/scroll-area.js +50 -40
- package/dist/components/ui/core/scroll-area/scroll-area.js.map +1 -0
- package/dist/components/ui/core/search/search.d.ts +8 -8
- package/dist/components/ui/core/search/search.js +122 -76
- package/dist/components/ui/core/search/search.js.map +1 -0
- package/dist/components/ui/core/segmented-control/segmented-control.d.ts +10 -10
- package/dist/components/ui/core/segmented-control/segmented-control.js +203 -149
- package/dist/components/ui/core/segmented-control/segmented-control.js.map +1 -0
- package/dist/components/ui/core/select/select.d.ts +27 -26
- package/dist/components/ui/core/select/select.js +213 -168
- package/dist/components/ui/core/select/select.js.map +1 -0
- package/dist/components/ui/core/separator/separator.d.ts +2 -2
- package/dist/components/ui/core/separator/separator.js +13 -13
- package/dist/components/ui/core/separator/separator.js.map +1 -0
- package/dist/components/ui/core/shimmer/shimmer.d.ts +8 -8
- package/dist/components/ui/core/shimmer/shimmer.js +64 -40
- package/dist/components/ui/core/shimmer/shimmer.js.map +1 -0
- package/dist/components/ui/core/skeleton/skeleton.d.ts +2 -2
- package/dist/components/ui/core/skeleton/skeleton.js +13 -13
- package/dist/components/ui/core/skeleton/skeleton.js.map +1 -0
- package/dist/components/ui/core/slider/slider.d.ts +7 -7
- package/dist/components/ui/core/slider/slider.js +51 -39
- package/dist/components/ui/core/slider/slider.js.map +1 -0
- package/dist/components/ui/core/sonner-toast/sonner-toast.d.ts +2 -2
- package/dist/components/ui/core/sonner-toast/sonner-toast.js +67 -54
- package/dist/components/ui/core/sonner-toast/sonner-toast.js.map +1 -0
- package/dist/components/ui/core/sources/sources.d.ts +12 -12
- package/dist/components/ui/core/sources/sources.js +87 -58
- package/dist/components/ui/core/sources/sources.js.map +1 -0
- package/dist/components/ui/core/switch/switch.d.ts +9 -9
- package/dist/components/ui/core/switch/switch.js +83 -61
- package/dist/components/ui/core/switch/switch.js.map +1 -0
- package/dist/components/ui/core/switch/switch.metadata.d.ts +1 -1
- package/dist/components/ui/core/switch/switch.metadata.js +8 -0
- package/dist/components/ui/core/switch/switch.metadata.js.map +1 -0
- package/dist/components/ui/core/tabs/tabs.d.ts +20 -18
- package/dist/components/ui/core/tabs/tabs.js +176 -147
- package/dist/components/ui/core/tabs/tabs.js.map +1 -0
- package/dist/components/ui/core/tabs/tabs.utils.d.ts +1 -1
- package/dist/components/ui/core/tabs/tabs.utils.js +10 -6
- package/dist/components/ui/core/tabs/tabs.utils.js.map +1 -0
- package/dist/components/ui/core/textarea/textarea.d.ts +2 -2
- package/dist/components/ui/core/textarea/textarea.js +13 -13
- package/dist/components/ui/core/textarea/textarea.js.map +1 -0
- package/dist/components/ui/core/toggle/toggle.d.ts +9 -9
- package/dist/components/ui/core/toggle/toggle.js +60 -54
- package/dist/components/ui/core/toggle/toggle.js.map +1 -0
- package/dist/components/ui/core/tool/tool.d.ts +18 -18
- package/dist/components/ui/core/tool/tool.js +167 -126
- package/dist/components/ui/core/tool/tool.js.map +1 -0
- package/dist/components/ui/core/toolbar/toolbar.d.ts +37 -0
- package/dist/components/ui/core/toolbar/toolbar.js +171 -0
- package/dist/components/ui/core/toolbar/toolbar.js.map +1 -0
- package/dist/components/ui/core/tooltip/tooltip.d.ts +8 -7
- package/dist/components/ui/core/tooltip/tooltip.js +53 -46
- package/dist/components/ui/core/tooltip/tooltip.js.map +1 -0
- package/dist/components/ui/core/topbar/topbar.d.ts +26 -26
- package/dist/components/ui/core/topbar/topbar.js +160 -105
- package/dist/components/ui/core/topbar/topbar.js.map +1 -0
- package/dist/components/ui/core/tree/tree.d.ts +20 -0
- package/dist/components/ui/core/tree/tree.js +100 -0
- package/dist/components/ui/core/tree/tree.js.map +1 -0
- package/dist/eslint/index.d.ts +5 -5
- package/dist/eslint/index.js +9 -5
- package/dist/eslint/index.js.map +1 -0
- package/dist/eslint/no-overriding-styles.d.ts +1 -1
- package/dist/eslint/no-overriding-styles.js +341 -201
- package/dist/eslint/no-overriding-styles.js.map +1 -0
- package/dist/icons/index.d.ts +1 -1
- package/dist/icons/index.js +2 -0
- package/dist/icons/index.js.map +1 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +3 -0
- package/dist/index.js.map +1 -0
- package/dist/lib/ai/types.d.ts +43 -43
- package/dist/lib/ai/types.js +3 -0
- package/dist/lib/ai/types.js.map +1 -0
- package/dist/lib/decorative-variant-classes.d.ts +53 -0
- package/dist/lib/decorative-variant-classes.js +58 -0
- package/dist/lib/decorative-variant-classes.js.map +1 -0
- package/dist/lib/highlight-code.d.ts +11 -8
- package/dist/lib/highlight-code.js +58 -40
- package/dist/lib/highlight-code.js.map +1 -0
- package/dist/lib/portal-container-context.d.ts +1 -1
- package/dist/lib/portal-container-context.js +8 -8
- package/dist/lib/portal-container-context.js.map +1 -0
- package/dist/lib/shared-theme-from-url.d.ts +13 -0
- package/dist/lib/shared-theme-from-url.js +61 -0
- package/dist/lib/shared-theme-from-url.js.map +1 -0
- package/dist/lib/style-scope.d.ts +2 -2
- package/dist/lib/style-scope.js +6 -6
- package/dist/lib/style-scope.js.map +1 -0
- package/dist/lib/theme-share-url.d.ts +31 -0
- package/dist/lib/theme-share-url.js +116 -0
- package/dist/lib/theme-share-url.js.map +1 -0
- package/dist/lib/types.d.ts +39 -39
- package/dist/lib/types.js +3 -0
- package/dist/lib/types.js.map +1 -0
- package/dist/lib/use-controllable-state.d.ts +4 -7
- package/dist/lib/use-controllable-state.js +34 -21
- package/dist/lib/use-controllable-state.js.map +1 -0
- package/dist/lib/utils.d.ts +63 -34
- package/dist/lib/utils.js +134 -32
- package/dist/lib/utils.js.map +1 -0
- package/dist/styles.css +2 -1
- package/dist/styles.source.css +24 -12
- package/dist/utils/assign-ref.d.ts +3 -0
- package/dist/utils/assign-ref.js +13 -0
- package/dist/utils/assign-ref.js.map +1 -0
- package/package.json +46 -11
- package/src/components/ui/core/button/button.md +93 -0
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,264 @@
|
|
|
1
|
+
## [1.0]
|
|
2
|
+
|
|
3
|
+
Aura is now built and published from the `cognitedata/infrastructure` monorepo, and this is its first stable major release.
|
|
4
|
+
Published versions follow `1.<commit count>.0`.
|
|
5
|
+
PR references prefixed with `cognitedata/fusion` were merged in Fusion before the move; bare references are infrastructure PRs.
|
|
6
|
+
|
|
7
|
+
### Added
|
|
8
|
+
|
|
9
|
+
- Added `Item` compositional list-row primitive with group, media, actions, tree chevron, checkbox, indent, and section-header parts for flexible lists and tree views, exposed as `@cognite/aura/components/item`. [KCIH-1095] cognitedata/fusion#27311
|
|
10
|
+
- Added `Tree` hierarchical list primitive with chevron expand/collapse and optional cascading checkboxes built on Headless Tree and `Item` rows, exposed as `@cognite/aura/components/tree`. [KCIH-1096] cognitedata/fusion#27705
|
|
11
|
+
- Added `Conversation` primitives, exposed as `@cognite/aura/components/conversation`. [AX-442] cognitedata/fusion#26450
|
|
12
|
+
- Promoted a reworked `Toolbar` from Aura Labs into Aura core, exposed as `@cognite/aura/components/toolbar`. cognitedata/fusion#25809, cognitedata/fusion#26566
|
|
13
|
+
- Added the `OverflowList` component. cognitedata/fusion#25117
|
|
14
|
+
- Added the `TimeRangePicker` component to `@cognite/aura/components/date-time-pickers`. cognitedata/fusion#25240
|
|
15
|
+
- Date and time pickers now accept a dynamic date type instead of requiring `dayjs`. cognitedata/fusion#25929
|
|
16
|
+
- `DateTimeRangePicker` now derives its display format from `timeFormat`. #40757
|
|
17
|
+
- Added `DataGrid` header and footer slots, pagination, row selection, search composables, a filter clause model with evaluator and filter trigger, and a filter panel. cognitedata/fusion#26312, cognitedata/fusion#26315, cognitedata/fusion#26319, cognitedata/fusion#26320, cognitedata/fusion#26321, cognitedata/fusion#26916
|
|
18
|
+
- Exported the `DataGrid` table types. cognitedata/fusion#28354
|
|
19
|
+
- `Popover` can now anchor to a supplied box instead of its trigger. cognitedata/fusion#28300
|
|
20
|
+
- Added a native `Combobox` trigger and form control API. cognitedata/fusion#27903
|
|
21
|
+
- `MessageResponse` now renders LaTeX math via KaTeX. [AX-691] #40775
|
|
22
|
+
- Added `CountUnit`, `CountValue`, and a `success` variant to `Count`, `TabsListSeparator` and `showSeparator` to `Tabs`, and `chartSeriesColor` and `CHART_SERIES_COLOR_TOKENS` to `@cognite/aura/chart`. #40894
|
|
23
|
+
- Exposed component docs and gallery examples via the `@cognite/aura/docs/*` and `@cognite/aura/examples/*` subpaths. #40772
|
|
24
|
+
|
|
25
|
+
### Changed
|
|
26
|
+
|
|
27
|
+
- Regenerated `colors.css` from the Figma Reflect tokens and synced form, overlay, navigation, button, AI, and chart components to them. cognitedata/fusion#26261, cognitedata/fusion#26265
|
|
28
|
+
- Deprecated the legacy color tokens, which are now aliases of the `colors.css` tokens and live in `@cognite/aura/colors-deprecated.css`. cognitedata/fusion#26260, cognitedata/fusion#26644
|
|
29
|
+
- Unified the decorative variant slots for `Badge` and `Avatar` while preserving the legacy ramp steps. cognitedata/fusion#26643, cognitedata/fusion#27170
|
|
30
|
+
- Removed `ItemIndent` and `ItemChevron` from `Item`; use `Tree` for hierarchical rows.
|
|
31
|
+
- Improved the visibility and interaction styles of the destructive `DropdownMenu` variant. cognitedata/fusion#26743
|
|
32
|
+
|
|
33
|
+
### Fixed
|
|
34
|
+
|
|
35
|
+
- The month and year dropdowns in `Calendar` now scroll to the current selection on open. cognitedata/fusion#26487
|
|
36
|
+
- The toast action now stays visible beside a long title. cognitedata/fusion#26556
|
|
37
|
+
- Restored the `--gradient-active` shimmer token. cognitedata/fusion#26661
|
|
38
|
+
- `Tool` only highlights output as JSON when it actually is JSON. [APF-931] cognitedata/fusion#26805
|
|
39
|
+
- `OverflowList` now renders `<li>` items inside `<ol>`, `<ul>`, and `<menu>` containers. cognitedata/fusion#27226
|
|
40
|
+
- Fixed leftover `Calendar`, `Banner`, and `Button` color tokens. cognitedata/fusion#27119
|
|
41
|
+
- `MessageResponse` now applies host attributes and `data-slot`. [AUR-660] cognitedata/fusion#28085
|
|
42
|
+
|
|
43
|
+
### Internal
|
|
44
|
+
|
|
45
|
+
- Moved Aura from Fusion into the infrastructure monorepo at `lib/ts/aura`. cognitedata/fusion#28227
|
|
46
|
+
- Storybook now applies the shared `#theme=` hash, and the Theme Tokens story was rebuilt from the regenerated ramps. cognitedata/fusion#26262, cognitedata/fusion#26678
|
|
47
|
+
- Updated `DESIGN.md` for the Reflect color token structure. cognitedata/fusion#27175
|
|
48
|
+
- Added `OverflowList` stories and fixed the `Toolbar` stories build. cognitedata/fusion#25118, cognitedata/fusion#26834
|
|
49
|
+
- `Button` docs are now rendered from portable markdown. #40772
|
|
50
|
+
|
|
51
|
+
## [0.3.5] - 2026-07-31
|
|
52
|
+
|
|
53
|
+
### Added
|
|
54
|
+
|
|
55
|
+
- Exposed `@cognite/aura/data-grid` with the composed `DataGrid` component — a virtualised table with client/server sorting, column pinning, and expandable rows. Requires `@tanstack/react-table` and `@tanstack/react-virtual` as peer dependencies. Pagination, selection, search, filters, and loading states are landing in follow-up releases. #25853, #25854, #26332
|
|
56
|
+
|
|
57
|
+
### Changed
|
|
58
|
+
|
|
59
|
+
- Refactored `SegmentedControl` to use a composite-agnostic sliding indicator, decoupling the animation from specific child component types. #25379
|
|
60
|
+
|
|
61
|
+
## [0.3.4] - 2026-07-30
|
|
62
|
+
|
|
63
|
+
### Added
|
|
64
|
+
|
|
65
|
+
- Promoted `Slider` from Aura Labs into Aura core. #25877
|
|
66
|
+
- Exposed `Calendar` as a standalone component via `@cognite/aura/components/calendar`. #25382
|
|
67
|
+
- Added internal `useDateTimePicker` and `useTimeRangePicker` hooks backing upcoming `DateTimePicker`/`TimeRangePicker` components; not yet part of the public API. #25242, #25239
|
|
68
|
+
- Added DataGrid cell and row primitives as foundation for data table rendering; not yet part of the public API. #25855
|
|
69
|
+
- Added `OverflowList` order and measurement utilities for managing dynamic lists, will be used as part of an upcoming OverflowList component. #25900
|
|
70
|
+
|
|
71
|
+
### Changed
|
|
72
|
+
|
|
73
|
+
- Widened ESLint peer dependency range to `^9.6.0 || ^10.0.0`, supporting both ESLint 9 and 10. Aura's ESLint plugin (`@cognite/aura/eslint`) remains compatible with both versions, enabling consumers to upgrade for npm audit security fixes in the `minimatch` and `brace-expansion` dependency chain (resolving [GHSA-mh99-v99m-4gvg](https://github.com/advisories/GHSA-mh99-v99m-4gvg)). #26271
|
|
74
|
+
|
|
75
|
+
### Fixed
|
|
76
|
+
|
|
77
|
+
- Removed the one remaining npm-imported cogs package reference in Aura, part of a repo-wide cleanup. #25916
|
|
78
|
+
|
|
79
|
+
## [0.3.3] - 2026-07-23
|
|
80
|
+
|
|
81
|
+
### Added
|
|
82
|
+
|
|
83
|
+
- Added a `collapsible` mode to `Sources` (`collapsible`, `defaultOpen`, `open`, `onOpenChange`), rendering the title as a trigger that toggles a `Collapsible` panel around the source items. #25832
|
|
84
|
+
- Exposed the approved Tabler icon set from `@cognite/aura/icons`, with base-layer size/stroke defaults consumers can override with Tailwind utilities. #25927
|
|
85
|
+
- Added a dedicated `@cognite/aura/highlight-code` entry point for the Shiki-backed `highlightCode` helper, split out of `@cognite/aura/utils`. #25426
|
|
86
|
+
- Added an `active` gradient variant to `Shimmer`. #25905
|
|
87
|
+
|
|
88
|
+
### Changed
|
|
89
|
+
|
|
90
|
+
- Removed the `iconUrl` prop and CSS-mask icon rendering from `Shimmer` (added in 0.3.2); icon shimmering is no longer supported through this prop. #25905
|
|
91
|
+
- Bumped the `@base-ui/react` peer dependency to `^1.6.0`, fixing an OXC cross-module compress miscompile that broke `Popover`/`Select`/`DropdownMenu` dismiss behaviour under Vite 8 builds. Note this version also changes accessible-name computation: radio/checkbox controls wrapped in a visible label no longer need an explicit `aria-label`, as `1.6.0` auto-associates the label via `aria-labelledby`. #26012
|
|
92
|
+
|
|
93
|
+
### Fixed
|
|
94
|
+
|
|
95
|
+
- `Switch` and `Combobox` are now exported from the aggregate barrel and registered as per-component subpath exports; both were built but previously unreachable from `@cognite/aura/components`. #25849
|
|
96
|
+
- `DropdownMenuTrigger` now forwards refs, so Base UI composite components (e.g. Toolbar) that pass a ref via render prop no longer skip it during keyboard navigation. #25380
|
|
97
|
+
- `Command`'s border radius now matches `Popover`'s (`rounded-xl` instead of `rounded-lg`). #25377
|
|
98
|
+
- `CodeBlock` no longer renders the collapsed fade-out gradient on single-line content, which isn't collapsible. #25512
|
|
99
|
+
- Decoupled the shared `cn` helper from Shiki so per-subpath imports (e.g. `@cognite/aura/components/card`) no longer transitively load the Shiki graph; only `CodeBlock` pulls it in, and lazily. #25426
|
|
100
|
+
|
|
101
|
+
### Internal
|
|
102
|
+
|
|
103
|
+
- Added foundation Storybook stories for colours, layout, typography, and effects tokens. #23528, #23529, #23562
|
|
104
|
+
- Documented motion guidelines (roles, timing, easing, animatable properties, Tailwind transition utilities) in `DESIGN.md`. #25913
|
|
105
|
+
- Documented icon usage, sizing, and skills tables in `DESIGN.md`. #25446
|
|
106
|
+
- Removed the `memo` wrapper from `MessageResponse` as part of adding Streamdown streaming-animation support. #25539
|
|
107
|
+
|
|
108
|
+
## [0.3.2] - 2026-07-03
|
|
109
|
+
|
|
110
|
+
### Added
|
|
111
|
+
|
|
112
|
+
- Added a standalone `TimePicker` to Aura core with 12h/24h modes and am/pm handling (typed so 12h mode requires an `ampm` value), exposed from the package root and `@cognite/aura/components`. #25146
|
|
113
|
+
|
|
114
|
+
### Changed
|
|
115
|
+
|
|
116
|
+
- Renamed the package's `style` export condition to `development` so Vite/Tailwind resolve Aura sources under the intended dev condition. #25153
|
|
117
|
+
|
|
118
|
+
### Fixed
|
|
119
|
+
|
|
120
|
+
- `DropdownMenuItem` now uses a minimum height instead of a fixed height so items grow for multiline content without overflowing into adjacent rows. #25085
|
|
121
|
+
|
|
122
|
+
### Internal
|
|
123
|
+
|
|
124
|
+
- Expanded `DESIGN.md` with standard layout foundations (content max-widths, section spacing, grid gaps, page padding) and layout patterns (sidebar content, full-width dashboard, form, detail, settings, split screen, three panel, list, and wizard), and folded state-handling and accessibility rules (validation behaviour, field validation states, page accessibility structure, and verification checklists) into the Heuristics and Content sections. #25471
|
|
125
|
+
- Documented every primitive component in `DESIGN.md` under a "Primitive components" section with Storybook/docs slug links, definitions, and usage rules, and normalised component headings to a consistent level. #25472
|
|
126
|
+
- Documented the Aura versioning and release process in `README.md`. #25255
|
|
127
|
+
- Extracted a shared `TimePickerPanel` and migrated the date/time picker consumers to it. #25215
|
|
128
|
+
- Stabilised flaky date/time picker popover tests by simplifying the shared `use-popover-state` hook and removing dead return properties. #25384
|
|
129
|
+
- Excluded `*.stories.tsx` and `.storybook/**` files from the ESLint dependency-checks rule. #25424
|
|
130
|
+
- Replaced the namespace React import with named imports in `useControllableState`. #25425
|
|
131
|
+
|
|
132
|
+
## [0.3.1] - 2026-06-23
|
|
133
|
+
|
|
134
|
+
### Added
|
|
135
|
+
|
|
136
|
+
- Promoted `Toggle` from Aura Labs into Aura core with design conformance, composed icon/label/count behaviour, and aligned heights (default 36px / small 28px). #24238
|
|
137
|
+
- Added a single-date `DatePicker` to Aura core alongside `DateRangePicker` and `DateTimeRangePicker`, exposed from the package root and `@cognite/aura/components`. #24850
|
|
138
|
+
- Added an optional `iconUrl` prop to `Shimmer` that renders an SVG icon via CSS mask inside the shimmer surface. #25041
|
|
139
|
+
- Added a `suffix` slot to `Select` so triggers can render an end adornment alongside `icon`, and reworked the trigger and menu items to allow text truncation. #24273
|
|
140
|
+
- Added per-component subpath exports under `@cognite/aura/components/<name>` (e.g. `@cognite/aura/components/button`, `…/select`) so consumers can import individual components for better tree-shaking. #24944
|
|
141
|
+
- Added `streamdown/dist` and `@streamdown/mermaid/dist` `@source` directives to `styles.source.css` so libraries composing Aura no longer need extra Tailwind config to pick up Streamdown classes. #24712
|
|
142
|
+
|
|
143
|
+
### Changed
|
|
144
|
+
|
|
145
|
+
- `Input`, `Select`, and `Textarea` now use a fixed `h-9` (36px) height instead of `min-h-9`, locking form-element height until explicit size variants are added. #24273
|
|
146
|
+
- `Select` open state now applies focus-shadow, background, and text styling, and the dropdown popup uses `min-width: var(--anchor-width)` so the menu matches the trigger width. #24273
|
|
147
|
+
- `SelectTrigger` defaults to `w-full` (was `w-fit`); story examples were updated accordingly. Apps that relied on the implicit fit-to-content trigger should wrap with a sized container. #24273
|
|
148
|
+
|
|
149
|
+
### Fixed
|
|
150
|
+
|
|
151
|
+
- Compiled ESM now uses explicit `.js` extensions on dayjs plugin imports (e.g. `dayjs/plugin/isBetween.js`), so apps under strict Node ESM (Node 18+, Vitest) can resolve them. #25086
|
|
152
|
+
- `getPortalContainer` drops a cached portal container when it has been detached from the DOM, preventing portals from rendering into stale nodes. #24594
|
|
153
|
+
|
|
154
|
+
### Internal
|
|
155
|
+
|
|
156
|
+
- Added Pagination Storybook stories with size demonstrations and Linux-tolerant width-tolerance assertions. #23636
|
|
157
|
+
- Stabilised date-picker shortcut tests to await portaled popover content via `findByRole`. #24712, #25191
|
|
158
|
+
- Reorganised `DESIGN.md` (token/color reference up top, agent-oriented guidance) and added Fusion package-usage guidance to `README.md`. #24549, #24912
|
|
159
|
+
|
|
160
|
+
## [0.3.0] - 2026-06-10
|
|
161
|
+
|
|
162
|
+
### Added
|
|
163
|
+
|
|
164
|
+
- Added `Tabs` to Aura core with composable subcomponents (`TabsList`, `TabsTrigger`, `TabsLabel`), an animated `TabsIndicator`, and size inheritance via `TabsSizeContext`. #23093
|
|
165
|
+
- Added `SegmentedControl` to Aura core with size variants, an animated active-tab indicator, and size inheritance via `SegmentedControlSizeContext`. #22013
|
|
166
|
+
- Added a composable `Topbar` to Aura core with `TopbarLeft`, `TopbarCenter`, `TopbarRight`, `TopbarIcon`, `TopbarMetadata`, `TopbarBreadcrumbs`, `TopbarAction`, and `TopbarThemeSwitcher`. The legacy Labs Topbar API is retained as a compatibility layer until apps migrate. #22989
|
|
167
|
+
- Added `EmptyState` to Aura core with composable slots (`EmptyStateIcon`, `EmptyStateTitle`, `EmptyStateDescription`, `EmptyStateActions`), compact and full variants, and type-driven gradient backgrounds. #23833, #23841
|
|
168
|
+
- Added `Search` primitive with focus-aware clear button, controlled and uncontrolled value handling, and keyboard-accessible clear behaviour. #23191
|
|
169
|
+
- Added `Chart` primitive (shadcn + Recharts based) exposed via the new `@cognite/aura/chart` entry point, with `ChartContainer` plus `ChartTooltipContent` and `ChartLegendContent` themed primitives. Recharts is exposed as an optional peer dependency. #23470, #23634, #23476
|
|
170
|
+
- Added `ActionToolbar` to Aura core with `ActionToolbarAction`, `ActionToolbarActionClear`, `ActionToolbarPrimaryAction`, and `ActionToolbarSelectionSummary`, including built-in tooltips for icon-only actions and a discriminated-union prop type that requires `aria-label` when `iconOnly`. #23200
|
|
171
|
+
- Promoted `Pagination` from Aura Labs into Aura core with design conformance updates, a `size` prop on the `Pagination` root that propagates via `PaginationSizeContext`, dynamic teleport input width based on `totalPages`, customisable `aria-label`s on icon controls, and a compact layout. #22922
|
|
172
|
+
- Promoted `Switch` from Aura Labs into Aura core with design conformance updates, peer-driven styling via Base UI data attributes, and an updated state-label API that hides labels from the accessible name. #22850
|
|
173
|
+
- Promoted the date pickers (`DateRangePicker`, `DateTimeRangePicker`, and shared calendar/time primitives) from Aura Labs into Aura core. #24613
|
|
174
|
+
- Added `defaultOnDark`, `secondaryOnDark`, and `ghostOnDark` Button variants for use on fixed-dark surfaces, including disabled-state handling via `mountain-alpha-300`. #24307
|
|
175
|
+
- Added on-dark background tokens (`--primary-background-fixed-dark`, `--secondary-background-fixed-dark`, `--disabled-background-fixed-dark`, `--disabled-foreground-fixed-dark`, plus `*-hover` variants) and exposed the full `--mountain-alpha-*` ramp as Tailwind `@theme` utilities. #24306
|
|
176
|
+
|
|
177
|
+
### Changed
|
|
178
|
+
|
|
179
|
+
- Updated `Alert` for design conformance: refined the icon API (filled tabler variants by default, larger default icon size, `IconAlertCircleFilled` for `error`), renamed `variant="secondary"` to `variant="info"` (with `secondary` retained as a deprecated alias), rendered an X icon for `AlertClose` in card mode, and tightened spacing in strip mode. #21901
|
|
180
|
+
|
|
181
|
+
### Fixed
|
|
182
|
+
|
|
183
|
+
- Fixed Aura style imports so consumers resolve `styles.source.css` correctly. #24220
|
|
184
|
+
- Stabilised Chart unit tests and Chromatic Storybook interactions for `Chart`, `Topbar`, and `CodeBlock` stories. #24402
|
|
185
|
+
- Added missing `@source` directive to `styles.source.css` so consuming apps pick up Aura component classes during Tailwind discovery. #24632
|
|
186
|
+
|
|
187
|
+
### Internal
|
|
188
|
+
|
|
189
|
+
- Marked the package as side-effect free apart from `*.css`/`*.scss` so consumers can tree-shake unused components and their heavy dependencies. #24736
|
|
190
|
+
- Enabled `isolatedDeclarations` for the Aura library and added the explicit type annotations required across the codebase. #24524
|
|
191
|
+
- Enabled Chromatic Storybook publishing for Aura in CI via `CHROMATIC_TOKEN_AURA`. #24388
|
|
192
|
+
- Removed per-component `*.metadata.ts` files and their re-exports; the registry build no longer treats metadata as a dependency source. #23517
|
|
193
|
+
- Re-enabled the `package-json/specify-peers-locally` lint rule and pinned the corresponding peer dependencies. #24038
|
|
194
|
+
- Added previously-unlisted dependencies to `package.json`. #24383
|
|
195
|
+
|
|
196
|
+
## [0.2.0] - 2026-05-12
|
|
197
|
+
|
|
198
|
+
### Added
|
|
199
|
+
|
|
200
|
+
- Promoted `Checkbox` from Aura Labs into Aura core with design conformance, exposed it from the package root, and refined the disabled unchecked border color. #22857
|
|
201
|
+
- Promoted `RadioGroup` from Aura Labs into Aura core with design conformance and a composable item API (control, label, description). #22697
|
|
202
|
+
- Promoted `SonnerToast` from Aura Labs into Aura core with design conformance updates. #22803
|
|
203
|
+
- Promoted `Kbd` from Aura Labs into Aura core, added design conformance updates, and exported `Kbd`, `KbdGroup`, and `KbdMetadata` from the barrels. #22370
|
|
204
|
+
- Added Aura `DESIGN.md` and a `design.md` lint check (run via `npx`) so the design doc stays in sync. #23073, #23433
|
|
205
|
+
- Added animations and a refined variant API to `Loader` as part of design conformance. #22990
|
|
206
|
+
|
|
207
|
+
### Changed
|
|
208
|
+
|
|
209
|
+
- Imported updated Aura color tokens from Figma. Renamed decorative hover tokens to `decorative-background-{ramp}-hover` (suffix ordering), renamed `chart-error-*` to `chart-destructive-*`, added per-palette `--*-alpha-*` ramps, and replaced hard-coded chart RGBAs with the new alpha tokens. #23406
|
|
210
|
+
- Renamed focus-ring tokens (`ring-critical` → `ring-destructive`, `ring-critical-shadow` → `ring-destructive-muted`, `ring-shadow` → `ring-muted`) and reduced focus-ring outer radii from 2px/4px to 1px/3px. Components using the old names were migrated. #23406
|
|
211
|
+
- Remapped shadow tokens (`--shadow-sm`/`md`/`lg`/`xl` now use the intended `--effect-shadow-*` levels) and bumped dark-theme `--effect-shadow-md` intensity for better elevation contrast. #23406
|
|
212
|
+
- Updated `Card` for design conformance with additional stories. Renamed slots: `CardIcon` → `CardHeaderStart`, `CardHeaderRight` → `CardHeaderEnd`, and introduced `CardHeaderCenter` to wrap `CardTitle`/`CardDescription`. The Card root now owns outer padding (`p-4`) and inter-slot gap (`gap-4`). #22286
|
|
213
|
+
- Updated `Count`, `Loader`, `Breadcrumb`, `KBD`, `RadioGroup`, `SonnerToast`, and `Card` for design conformance. #23338, #22990, #22730, #22370, #22697, #22803, #22286
|
|
214
|
+
|
|
215
|
+
### Fixed
|
|
216
|
+
|
|
217
|
+
- Adjusted aurora alpha values, disabled foreground, and overlay backgrounds for consistent theming across light and dark. #23406
|
|
218
|
+
|
|
219
|
+
### Internal
|
|
220
|
+
|
|
221
|
+
- Externalized `vscode-*` and `@chevrotain/*` from the Storybook bundle to reduce bundle size. #23619
|
|
222
|
+
- Migrated Aura to the shared Storybook + Vitest setup and removed the legacy `test-storybook` target. #23133
|
|
223
|
+
- Dropped the `@google/design.md` devDependency in favor of running the linter via `npx`. #23433
|
|
224
|
+
|
|
225
|
+
## [0.1.7] - 2026-04-30
|
|
226
|
+
|
|
227
|
+
### Added
|
|
228
|
+
|
|
229
|
+
- Ship Aura `DESIGN.md` with the published npm package: include it in `files`, add a `./DESIGN.md` package export so it resolves as `@cognite/aura/DESIGN.md`, and document this in the README.
|
|
230
|
+
|
|
231
|
+
## [0.1.6] - 2026-04-22
|
|
232
|
+
|
|
233
|
+
### Added
|
|
234
|
+
|
|
235
|
+
- Added Figma color sync scripts to generate `colors.css` from Figma. AUR-455
|
|
236
|
+
- Added download actions for Aura `CodeBlock` and tool outputs. AUR-379
|
|
237
|
+
- Added `Progress` to Aura core. AUR-482, AUR-433
|
|
238
|
+
|
|
239
|
+
### Changed
|
|
240
|
+
|
|
241
|
+
- Updated Aura color tokens to match Figma and migrated Aura and Aura Labs components to the new token naming scheme. AUR-459
|
|
242
|
+
- Promoted `Accordion` and `Banner` from Aura Labs into Aura core with design conformance updates. AUR-405, AUR-407
|
|
243
|
+
- Updated `Avatar`, `Badge`, `Button`, `Collapsible`, `HelperText`, `Input`, `InputGroup`, `Label`, `Textarea`, and `Tooltip` for design conformance. AUR-375, AUR-376, AUR-377, AUR-380, AUR-384, AUR-389, AUR-400, AUR-402
|
|
244
|
+
- Expanded `Popover` with composable header, title, description, slot, and close subcomponents.
|
|
245
|
+
- Restored Mermaid copy, download, and pan/zoom controls while keeping fullscreen disabled. AX-117, AX-118
|
|
246
|
+
|
|
247
|
+
### Fixed
|
|
248
|
+
|
|
249
|
+
- Added `forwardRef` support to `SelectTrigger` and `Toggle`.
|
|
250
|
+
- Added the missing accent background color.
|
|
251
|
+
- Prevented `InputGroupAddon` refocus from stealing focus from portaled inputs. AX-196
|
|
252
|
+
- Fixed Sources list wrapping so long titles do not overlap the `+N` badge. AX-254
|
|
253
|
+
|
|
254
|
+
## [0.1.5] - 2026-03-30
|
|
255
|
+
|
|
256
|
+
### Added
|
|
257
|
+
|
|
258
|
+
- Added an Aura ESLint entry point and `no-overriding-styles` rule to guard against visual style overrides. AUR-461
|
|
259
|
+
|
|
260
|
+
## [0.1.4] - 2026-03-23
|
|
261
|
+
|
|
262
|
+
### Fixed
|
|
263
|
+
|
|
264
|
+
- Fixed card hover behavior.
|