@cognite/aura 0.3.5 → 1.46104.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
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../../src/components/ui/core/tree/tree.tsx"],"sourcesContent":["import type { ReactNode } from 'react';\n\nimport {\n CheckedState,\n checkboxesFeature,\n hotkeysCoreFeature,\n type ItemInstance,\n syncDataLoaderFeature,\n} from '@headless-tree/core';\nimport { useTree } from '@headless-tree/react';\nimport { IconChevronRight } from '@tabler/icons-react';\n\nimport { useControllableState } from '../../../../lib/use-controllable-state';\nimport { cn } from '../../../../lib/utils';\nimport { Item, ItemCheckbox, ItemGroup } from '../item/item';\n\nconst EMPTY_ITEMS: string[] = [];\n\ntype TreeProps<T> = {\n rootItemId: string;\n items: Record<string, T>;\n getChildren: (item: T) => string[];\n getItemName: (item: T) => string;\n expandedItems?: string[];\n defaultExpandedItems?: string[];\n onExpandedItemsChange?: (expandedItems: string[]) => void;\n checkboxes?: boolean;\n checkedItems?: string[];\n defaultCheckedItems?: string[];\n onCheckedItemsChange?: (checked: string[]) => void;\n className?: string;\n children: (item: ItemInstance<T>) => ReactNode;\n};\n\nfunction Tree<T>({\n rootItemId,\n items,\n getChildren,\n getItemName,\n expandedItems: expandedItemsProp,\n defaultExpandedItems = EMPTY_ITEMS,\n onExpandedItemsChange,\n checkboxes = false,\n checkedItems: checkedItemsProp,\n defaultCheckedItems = EMPTY_ITEMS,\n onCheckedItemsChange,\n className,\n children,\n}: TreeProps<T>): ReactNode {\n const [expandedItems, setExpandedItems] = useControllableState({\n prop: expandedItemsProp,\n defaultProp: defaultExpandedItems,\n onChange: onExpandedItemsChange,\n });\n const [checkedItems, setCheckedItems] = useControllableState({\n prop: checkedItemsProp,\n defaultProp: defaultCheckedItems,\n onChange: onCheckedItemsChange,\n });\n\n const tree = useTree<T>({\n rootItemId,\n getItemName: (item) => getItemName(item.getItemData()),\n isItemFolder: (item) => getChildren(item.getItemData()).length > 0,\n dataLoader: {\n getItem: (itemId) => items[itemId],\n getChildren: (itemId) => getChildren(items[itemId]),\n },\n state: {\n expandedItems,\n checkedItems,\n },\n setExpandedItems,\n setCheckedItems,\n features: [\n syncDataLoaderFeature,\n hotkeysCoreFeature,\n ...(checkboxes ? [checkboxesFeature] : []),\n ],\n });\n\n return (\n <ItemGroup\n {...tree.getContainerProps()}\n className={cn('flex flex-col gap-1.5', className)}\n >\n {tree.getItems().map((item) => (\n <TreeItem key={item.getId()} item={item} checkboxes={checkboxes}>\n {children(item)}\n </TreeItem>\n ))}\n </ItemGroup>\n );\n}\n\nfunction TreeItem<T>({\n item,\n children,\n checkboxes,\n}: {\n item: ItemInstance<T>;\n checkboxes: boolean;\n children: ReactNode;\n}): ReactNode {\n const level = item.getItemMeta().level;\n const isFolder = item.isFolder();\n const isExpanded = item.isExpanded();\n const checkedState = checkboxes ? item.getCheckedState() : null;\n const chevron = (\n <IconChevronRight\n aria-hidden\n data-slot=\"tree-chevron\"\n data-open={isExpanded ? '' : undefined}\n className={cn(\n 'size-4 shrink-0 text-medium-foreground transition-transform duration-200 data-open:rotate-90',\n !isFolder && 'invisible'\n )}\n />\n );\n\n return (\n <Item\n selected={\n checkedState === CheckedState.Checked ||\n checkedState === CheckedState.Indeterminate\n }\n {...item.getProps()}\n onClick={() => item.setFocused()}\n >\n {Array.from({ length: level }, (_, index) => (\n <span\n key={`${item.getId()}-indent-${index}`}\n aria-hidden=\"true\"\n data-slot=\"tree-indent\"\n className=\"w-4 shrink-0\"\n />\n ))}\n {isFolder ? (\n <button\n type=\"button\"\n tabIndex={-1}\n aria-label={`${isExpanded ? 'Collapse' : 'Expand'} ${item.getItemName()}`}\n className=\"shrink-0\"\n onClick={() => {\n isExpanded ? item.collapse() : item.expand();\n }}\n >\n {chevron}\n </button>\n ) : (\n chevron\n )}\n {checkboxes ? (\n <ItemCheckbox\n className=\"shrink-0\"\n aria-label={`Select ${item.getItemName()}`}\n checked={checkedState === CheckedState.Checked}\n indeterminate={checkedState === CheckedState.Indeterminate}\n onCheckedChange={() => {\n item.toggleCheckedState();\n }}\n />\n ) : null}\n {children}\n </Item>\n );\n}\n\nexport { Tree };\nexport type { TreeProps };\n"],"names":["CheckedState","checkboxesFeature","hotkeysCoreFeature","syncDataLoaderFeature","useTree","IconChevronRight","useControllableState","cn","Item","ItemCheckbox","ItemGroup","EMPTY_ITEMS","Tree","rootItemId","items","getChildren","getItemName","expandedItems","expandedItemsProp","defaultExpandedItems","onExpandedItemsChange","checkboxes","checkedItems","checkedItemsProp","defaultCheckedItems","onCheckedItemsChange","className","children","setExpandedItems","prop","defaultProp","onChange","setCheckedItems","tree","item","getItemData","isItemFolder","length","dataLoader","getItem","itemId","state","features","getContainerProps","getItems","map","TreeItem","getId","level","getItemMeta","isFolder","isExpanded","checkedState","getCheckedState","chevron","aria-hidden","data-slot","data-open","undefined","selected","Checked","Indeterminate","getProps","onClick","setFocused","Array","from","_","index","span","button","type","tabIndex","aria-label","collapse","expand","checked","indeterminate","onCheckedChange","toggleCheckedState"],"mappings":";AAEA,SACEA,YAAY,EACZC,iBAAiB,EACjBC,kBAAkB,EAElBC,qBAAqB,QAChB,sBAAsB;AAC7B,SAASC,OAAO,QAAQ,uBAAuB;AAC/C,SAASC,gBAAgB,QAAQ,sBAAsB;AAEvD,SAASC,oBAAoB,QAAQ,4CAAyC;AAC9E,SAASC,EAAE,QAAQ,2BAAwB;AAC3C,SAASC,IAAI,EAAEC,YAAY,EAAEC,SAAS,QAAQ,kBAAe;AAE7D,MAAMC,cAAwB,EAAE;AAkBhC,SAASC,KAAQ,EACfC,UAAU,EACVC,KAAK,EACLC,WAAW,EACXC,WAAW,EACXC,eAAeC,iBAAiB,EAChCC,uBAAuBR,WAAW,EAClCS,qBAAqB,EACrBC,aAAa,KAAK,EAClBC,cAAcC,gBAAgB,EAC9BC,sBAAsBb,WAAW,EACjCc,oBAAoB,EACpBC,SAAS,EACTC,QAAQ,EACK;IACb,MAAM,CAACV,eAAeW,iBAAiB,GAAGtB,qBAAqB;QAC7DuB,MAAMX;QACNY,aAAaX;QACbY,UAAUX;IACZ;IACA,MAAM,CAACE,cAAcU,gBAAgB,GAAG1B,qBAAqB;QAC3DuB,MAAMN;QACNO,aAAaN;QACbO,UAAUN;IACZ;IAEA,MAAMQ,OAAO7B,QAAW;QACtBS;QACAG,aAAa,CAACkB,OAASlB,YAAYkB,KAAKC,WAAW;QACnDC,cAAc,CAACF,OAASnB,YAAYmB,KAAKC,WAAW,IAAIE,MAAM,GAAG;QACjEC,YAAY;YACVC,SAAS,CAACC,SAAW1B,KAAK,CAAC0B,OAAO;YAClCzB,aAAa,CAACyB,SAAWzB,YAAYD,KAAK,CAAC0B,OAAO;QACpD;QACAC,OAAO;YACLxB;YACAK;QACF;QACAM;QACAI;QACAU,UAAU;YACRvC;YACAD;eACImB,aAAa;gBAACpB;aAAkB,GAAG,EAAE;SAC1C;IACH;IAEA,qBACE,KAACS;QACE,GAAGuB,KAAKU,iBAAiB,EAAE;QAC5BjB,WAAWnB,GAAG,yBAAyBmB;kBAEtCO,KAAKW,QAAQ,GAAGC,GAAG,CAAC,CAACX,qBACpB,KAACY;gBAA4BZ,MAAMA;gBAAMb,YAAYA;0BAClDM,SAASO;eADGA,KAAKa,KAAK;;AAMjC;AAEA,SAASD,SAAY,EACnBZ,IAAI,EACJP,QAAQ,EACRN,UAAU,EAKX;IACC,MAAM2B,QAAQd,KAAKe,WAAW,GAAGD,KAAK;IACtC,MAAME,WAAWhB,KAAKgB,QAAQ;IAC9B,MAAMC,aAAajB,KAAKiB,UAAU;IAClC,MAAMC,eAAe/B,aAAaa,KAAKmB,eAAe,KAAK;IAC3D,MAAMC,wBACJ,KAACjD;QACCkD,aAAW;QACXC,aAAU;QACVC,aAAWN,aAAa,KAAKO;QAC7BhC,WAAWnB,GACT,gGACA,CAAC2C,YAAY;;IAKnB,qBACE,MAAC1C;QACCmD,UACEP,iBAAiBpD,aAAa4D,OAAO,IACrCR,iBAAiBpD,aAAa6D,aAAa;QAE5C,GAAG3B,KAAK4B,QAAQ,EAAE;QACnBC,SAAS,IAAM7B,KAAK8B,UAAU;;YAE7BC,MAAMC,IAAI,CAAC;gBAAE7B,QAAQW;YAAM,GAAG,CAACmB,GAAGC,sBACjC,KAACC;oBAECd,eAAY;oBACZC,aAAU;oBACV9B,WAAU;mBAHL,GAAGQ,KAAKa,KAAK,GAAG,QAAQ,EAAEqB,OAAO;YAMzClB,yBACC,KAACoB;gBACCC,MAAK;gBACLC,UAAU,CAAC;gBACXC,cAAY,GAAGtB,aAAa,aAAa,SAAS,CAAC,EAAEjB,KAAKlB,WAAW,IAAI;gBACzEU,WAAU;gBACVqC,SAAS;oBACPZ,aAAajB,KAAKwC,QAAQ,KAAKxC,KAAKyC,MAAM;gBAC5C;0BAECrB;iBAGHA;YAEDjC,2BACC,KAACZ;gBACCiB,WAAU;gBACV+C,cAAY,CAAC,OAAO,EAAEvC,KAAKlB,WAAW,IAAI;gBAC1C4D,SAASxB,iBAAiBpD,aAAa4D,OAAO;gBAC9CiB,eAAezB,iBAAiBpD,aAAa6D,aAAa;gBAC1DiB,iBAAiB;oBACf5C,KAAK6C,kBAAkB;gBACzB;iBAEA;YACHpD;;;AAGP;AAEA,SAASf,IAAI,GAAG"}
|
package/dist/eslint/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Rule } from
|
|
2
|
-
import { auraNoOverridingStylesRule } from
|
|
1
|
+
import type { Rule } from "eslint";
|
|
2
|
+
import { auraNoOverridingStylesRule } from "./no-overriding-styles";
|
|
3
3
|
export { auraNoOverridingStylesRule };
|
|
4
4
|
export declare const auraEslintPlugin: {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
5
|
+
rules: {
|
|
6
|
+
"no-overriding-styles": Rule.RuleModule;
|
|
7
|
+
};
|
|
8
8
|
};
|
package/dist/eslint/index.js
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
|
-
import { auraNoOverridingStylesRule
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import { auraNoOverridingStylesRule } from "./no-overriding-styles.js";
|
|
2
|
+
export { auraNoOverridingStylesRule };
|
|
3
|
+
export const auraEslintPlugin = {
|
|
4
|
+
rules: {
|
|
5
|
+
'no-overriding-styles': auraNoOverridingStylesRule
|
|
6
|
+
}
|
|
7
|
+
};
|
|
8
|
+
|
|
9
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/eslint/index.ts"],"sourcesContent":["import type { Rule } from 'eslint';\n\nimport { auraNoOverridingStylesRule } from './no-overriding-styles';\n\nexport { auraNoOverridingStylesRule };\n\nexport const auraEslintPlugin: {\n rules: {\n 'no-overriding-styles': Rule.RuleModule;\n };\n} = {\n rules: {\n 'no-overriding-styles': auraNoOverridingStylesRule,\n },\n};\n"],"names":["auraNoOverridingStylesRule","auraEslintPlugin","rules"],"mappings":"AAEA,SAASA,0BAA0B,QAAQ,4BAAyB;AAEpE,SAASA,0BAA0B,GAAG;AAEtC,OAAO,MAAMC,mBAIT;IACFC,OAAO;QACL,wBAAwBF;IAC1B;AACF,EAAE"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Rule } from
|
|
1
|
+
import type { Rule } from "eslint";
|
|
2
2
|
export declare const auraNoOverridingStylesRule: Rule.RuleModule;
|
|
@@ -1,203 +1,343 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
1
|
+
const auraImportSources = new Set([
|
|
2
|
+
'@cognite/aura/components',
|
|
3
|
+
'@cognite/aura-labs/components'
|
|
4
|
+
]);
|
|
5
|
+
const allowedAuraLayoutClassPatterns = [
|
|
6
|
+
/^(block|inline|inline-block|flex|inline-flex|grid|inline-grid|contents|hidden)$/,
|
|
7
|
+
/^(w|h|min-w|max-w|min-h|max-h|size|aspect)-.+$/,
|
|
8
|
+
/^(m|mx|my|mt|mr|mb|ml|ms|me)-.+$/,
|
|
9
|
+
/^space-[xy]-.+$/,
|
|
10
|
+
/^gap(?:-[xy])?-.+$/,
|
|
11
|
+
/^(grow|grow-0|shrink|shrink-0)$/,
|
|
12
|
+
/^flex-(1|auto|initial|none|row|row-reverse|col|col-reverse|wrap|wrap-reverse|nowrap)$/,
|
|
13
|
+
/^basis-.+$/,
|
|
14
|
+
/^order-.+$/,
|
|
15
|
+
/^grid-(cols|rows)-.+$/,
|
|
16
|
+
/^auto-(cols|rows)-.+$/,
|
|
17
|
+
/^(col|row)-(auto|span-.+|start-.+|end-.+)$/,
|
|
18
|
+
/^justify-(start|end|center|between|around|evenly|stretch|normal)$/,
|
|
19
|
+
/^items-(start|end|center|baseline|stretch)$/,
|
|
20
|
+
/^content-(start|end|center|between|around|evenly|stretch|baseline)$/,
|
|
21
|
+
/^self-(auto|start|end|center|stretch|baseline)$/,
|
|
22
|
+
/^place-(items|content|self)-.+$/,
|
|
23
|
+
/^justify-self-.+$/,
|
|
24
|
+
/^(overflow|overflow-x|overflow-y|overscroll|overscroll-x|overscroll-y)-.+$/,
|
|
25
|
+
/^(whitespace|break)-.+$/,
|
|
26
|
+
/^(text-(left|center|right|justify|wrap|nowrap|balance|pretty))$/,
|
|
27
|
+
/^(truncate|line-clamp-.+)$/,
|
|
28
|
+
/^(static|fixed|absolute|relative|sticky)$/,
|
|
29
|
+
/^(inset|inset-x|inset-y|top|right|bottom|left|start|end|z)-.+$/,
|
|
30
|
+
/^(visible|invisible|isolate)$/
|
|
28
31
|
];
|
|
29
|
-
function
|
|
30
|
-
|
|
31
|
-
}
|
|
32
|
-
function
|
|
33
|
-
|
|
34
|
-
}
|
|
35
|
-
function
|
|
36
|
-
|
|
37
|
-
}
|
|
38
|
-
function
|
|
39
|
-
|
|
40
|
-
}
|
|
41
|
-
function
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
}
|
|
49
|
-
function
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
}
|
|
60
|
-
function
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
}
|
|
101
|
-
function
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
}
|
|
107
|
-
function
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
32
|
+
function isRecord(value) {
|
|
33
|
+
return typeof value === 'object' && value !== null;
|
|
34
|
+
}
|
|
35
|
+
function isBaseNode(value) {
|
|
36
|
+
return isRecord(value) && typeof value.type === 'string';
|
|
37
|
+
}
|
|
38
|
+
function hasType(value, type) {
|
|
39
|
+
return isBaseNode(value) && value.type === type;
|
|
40
|
+
}
|
|
41
|
+
function isLiteralNode(value) {
|
|
42
|
+
return hasType(value, 'Literal');
|
|
43
|
+
}
|
|
44
|
+
function isTemplateLiteralNode(value) {
|
|
45
|
+
if (!isRecord(value)) {
|
|
46
|
+
return false;
|
|
47
|
+
}
|
|
48
|
+
const record = value;
|
|
49
|
+
const hasTemplateLiteralShape = Array.isArray(record.expressions) && Array.isArray(record.quasis);
|
|
50
|
+
return hasType(record, 'TemplateLiteral') && hasTemplateLiteralShape;
|
|
51
|
+
}
|
|
52
|
+
function isJsxExpressionContainerNode(value) {
|
|
53
|
+
return hasType(value, 'JSXExpressionContainer') && 'expression' in value;
|
|
54
|
+
}
|
|
55
|
+
function isCallExpressionNode(value) {
|
|
56
|
+
if (!isRecord(value)) {
|
|
57
|
+
return false;
|
|
58
|
+
}
|
|
59
|
+
const record = value;
|
|
60
|
+
const hasCallExpressionShape = Array.isArray(record.arguments) && 'callee' in record;
|
|
61
|
+
return hasType(record, 'CallExpression') && hasCallExpressionShape;
|
|
62
|
+
}
|
|
63
|
+
function isConditionalExpressionNode(value) {
|
|
64
|
+
return hasType(value, 'ConditionalExpression') && 'consequent' in value && 'alternate' in value;
|
|
65
|
+
}
|
|
66
|
+
function isLogicalExpressionNode(value) {
|
|
67
|
+
return hasType(value, 'LogicalExpression') && 'left' in value && 'right' in value;
|
|
68
|
+
}
|
|
69
|
+
function isArrayExpressionNode(value) {
|
|
70
|
+
if (!isRecord(value)) {
|
|
71
|
+
return false;
|
|
72
|
+
}
|
|
73
|
+
const record = value;
|
|
74
|
+
const hasArrayExpressionShape = Array.isArray(record.elements);
|
|
75
|
+
return hasType(record, 'ArrayExpression') && hasArrayExpressionShape;
|
|
76
|
+
}
|
|
77
|
+
function isJsxIdentifierNode(value) {
|
|
78
|
+
if (!isRecord(value)) {
|
|
79
|
+
return false;
|
|
80
|
+
}
|
|
81
|
+
const record = value;
|
|
82
|
+
const hasJsxIdentifierShape = typeof record.name === 'string';
|
|
83
|
+
return hasType(record, 'JSXIdentifier') && hasJsxIdentifierShape;
|
|
84
|
+
}
|
|
85
|
+
function isJsxAttributeNode(value) {
|
|
86
|
+
return hasType(value, 'JSXAttribute') && 'name' in value;
|
|
87
|
+
}
|
|
88
|
+
function isJsxOpeningElementNode(value) {
|
|
89
|
+
if (!isRecord(value)) {
|
|
90
|
+
return false;
|
|
91
|
+
}
|
|
92
|
+
const record = value;
|
|
93
|
+
const hasJsxOpeningElementShape = Array.isArray(record.attributes) && 'name' in record;
|
|
94
|
+
return hasType(record, 'JSXOpeningElement') && hasJsxOpeningElementShape;
|
|
95
|
+
}
|
|
96
|
+
function isImportDeclarationNode(value) {
|
|
97
|
+
if (!isRecord(value)) {
|
|
98
|
+
return false;
|
|
99
|
+
}
|
|
100
|
+
const record = value;
|
|
101
|
+
const hasImportDeclarationShape = Array.isArray(record.specifiers) && 'source' in record;
|
|
102
|
+
return hasType(record, 'ImportDeclaration') && hasImportDeclarationShape;
|
|
103
|
+
}
|
|
104
|
+
function getImportSourceValue(node) {
|
|
105
|
+
if (!isRecord(node.source)) {
|
|
106
|
+
return null;
|
|
107
|
+
}
|
|
108
|
+
return typeof node.source.value === 'string' ? node.source.value : null;
|
|
109
|
+
}
|
|
110
|
+
function getImportLocalName(specifier) {
|
|
111
|
+
if (!isRecord(specifier) || !('local' in specifier)) {
|
|
112
|
+
return null;
|
|
113
|
+
}
|
|
114
|
+
const local = specifier.local;
|
|
115
|
+
return isRecord(local) && typeof local.name === 'string' ? local.name : null;
|
|
116
|
+
}
|
|
117
|
+
function getUtilityToken(token) {
|
|
118
|
+
return token.trim().split(':').at(-1)?.replace(/!$/, '').replace(/^-/, '');
|
|
119
|
+
}
|
|
120
|
+
function isAllowedAuraLayoutClass(token) {
|
|
121
|
+
const utility = getUtilityToken(token);
|
|
122
|
+
if (!utility) {
|
|
123
|
+
return false;
|
|
124
|
+
}
|
|
125
|
+
return allowedAuraLayoutClassPatterns.some((pattern)=>pattern.test(utility));
|
|
126
|
+
}
|
|
127
|
+
function splitClassTokens(value) {
|
|
128
|
+
return value.split(/\s+/).map((token)=>token.trim()).filter(Boolean);
|
|
129
|
+
}
|
|
130
|
+
function getTemplateQuasiValue(quasi) {
|
|
131
|
+
return quasi.value?.cooked ?? '';
|
|
132
|
+
}
|
|
133
|
+
function collectClassTokens(node) {
|
|
134
|
+
if (!node) {
|
|
135
|
+
return [];
|
|
136
|
+
}
|
|
137
|
+
if (isLiteralNode(node)) {
|
|
138
|
+
return typeof node.value === 'string' ? splitClassTokens(node.value) : [];
|
|
139
|
+
}
|
|
140
|
+
if (isTemplateLiteralNode(node)) {
|
|
141
|
+
return node.quasis.flatMap((quasi)=>splitClassTokens(getTemplateQuasiValue(quasi)));
|
|
142
|
+
}
|
|
143
|
+
if (isJsxExpressionContainerNode(node)) {
|
|
144
|
+
return collectClassTokens(node.expression);
|
|
145
|
+
}
|
|
146
|
+
if (isCallExpressionNode(node)) {
|
|
147
|
+
return node.arguments.flatMap((argument)=>collectClassTokens(argument));
|
|
148
|
+
}
|
|
149
|
+
if (isConditionalExpressionNode(node)) {
|
|
150
|
+
return [
|
|
151
|
+
...collectClassTokens(node.consequent),
|
|
152
|
+
...collectClassTokens(node.alternate)
|
|
153
|
+
];
|
|
154
|
+
}
|
|
155
|
+
if (isLogicalExpressionNode(node)) {
|
|
156
|
+
return [
|
|
157
|
+
...collectClassTokens(node.left),
|
|
158
|
+
...collectClassTokens(node.right)
|
|
159
|
+
];
|
|
160
|
+
}
|
|
161
|
+
if (isArrayExpressionNode(node)) {
|
|
162
|
+
return node.elements.flatMap((element)=>collectClassTokens(element));
|
|
163
|
+
}
|
|
164
|
+
return [];
|
|
165
|
+
}
|
|
166
|
+
function getAuraComponentName(node) {
|
|
167
|
+
return isJsxIdentifierNode(node.name) ? node.name.name : null;
|
|
168
|
+
}
|
|
169
|
+
function getSanitizedTokenList(tokens) {
|
|
170
|
+
return tokens.filter(isAllowedAuraLayoutClass);
|
|
171
|
+
}
|
|
172
|
+
function getNodeText(sourceCode, node) {
|
|
173
|
+
if (!node.range) {
|
|
174
|
+
return null;
|
|
175
|
+
}
|
|
176
|
+
return sourceCode.text.slice(node.range[0], node.range[1]);
|
|
177
|
+
}
|
|
178
|
+
function getClassTextReplacement({ expressionNode, sourceCode, sanitizedTokens, valueNode }) {
|
|
179
|
+
const sanitizedValue = sanitizedTokens.join(' ');
|
|
180
|
+
if (isLiteralNode(valueNode)) {
|
|
181
|
+
return sanitizedValue === '' ? null : `"${sanitizedValue}"`;
|
|
182
|
+
}
|
|
183
|
+
if (!isJsxExpressionContainerNode(valueNode) || !expressionNode) {
|
|
184
|
+
return null;
|
|
185
|
+
}
|
|
186
|
+
if (isLiteralNode(expressionNode)) {
|
|
187
|
+
return sanitizedValue === '' ? null : `{${JSON.stringify(sanitizedValue)}}`;
|
|
188
|
+
}
|
|
189
|
+
if (isTemplateLiteralNode(expressionNode) && expressionNode.expressions.length === 0) {
|
|
190
|
+
return sanitizedValue === '' ? null : `{${JSON.stringify(sanitizedValue)}}`;
|
|
191
|
+
}
|
|
192
|
+
if (!isCallExpressionNode(expressionNode)) {
|
|
193
|
+
return null;
|
|
194
|
+
}
|
|
195
|
+
if (!isRecord(expressionNode.callee)) {
|
|
196
|
+
return null;
|
|
197
|
+
}
|
|
198
|
+
const calleeName = typeof expressionNode.callee.name === 'string' ? expressionNode.callee.name : null;
|
|
199
|
+
if (calleeName !== 'cn') {
|
|
200
|
+
return null;
|
|
201
|
+
}
|
|
202
|
+
const nextArguments = [];
|
|
203
|
+
for (const argument of expressionNode.arguments){
|
|
204
|
+
if (isLiteralNode(argument) && typeof argument.value === 'string') {
|
|
205
|
+
const nextValue = getSanitizedTokenList(splitClassTokens(argument.value)).join(' ');
|
|
206
|
+
if (nextValue) {
|
|
207
|
+
nextArguments.push(JSON.stringify(nextValue));
|
|
208
|
+
}
|
|
209
|
+
continue;
|
|
210
|
+
}
|
|
211
|
+
if (isTemplateLiteralNode(argument) && argument.expressions.length === 0) {
|
|
212
|
+
const cookedValue = getTemplateQuasiValue(argument.quasis[0] ?? {});
|
|
213
|
+
const nextValue = getSanitizedTokenList(splitClassTokens(cookedValue)).join(' ');
|
|
214
|
+
if (nextValue) {
|
|
215
|
+
nextArguments.push(JSON.stringify(nextValue));
|
|
216
|
+
}
|
|
217
|
+
continue;
|
|
218
|
+
}
|
|
219
|
+
if (!isBaseNode(argument)) {
|
|
220
|
+
return null;
|
|
221
|
+
}
|
|
222
|
+
const argumentText = getNodeText(sourceCode, argument);
|
|
223
|
+
if (argumentText === null) {
|
|
224
|
+
return null;
|
|
225
|
+
}
|
|
226
|
+
nextArguments.push(argumentText);
|
|
227
|
+
}
|
|
228
|
+
if (nextArguments.length === 0) {
|
|
229
|
+
return null;
|
|
230
|
+
}
|
|
231
|
+
return `{cn(${nextArguments.join(', ')})}`;
|
|
232
|
+
}
|
|
233
|
+
function getClassNameFixer({ classNameAttribute, disallowedTokens, sourceCode, tokens }) {
|
|
234
|
+
if (disallowedTokens.length === 0) {
|
|
235
|
+
return null;
|
|
236
|
+
}
|
|
237
|
+
const valueNode = classNameAttribute.value;
|
|
238
|
+
if (!valueNode) {
|
|
239
|
+
return null;
|
|
240
|
+
}
|
|
241
|
+
const expressionNode = isJsxExpressionContainerNode(valueNode) ? valueNode.expression : null;
|
|
242
|
+
const sanitizedTokens = getSanitizedTokenList(tokens);
|
|
243
|
+
const replacement = getClassTextReplacement({
|
|
244
|
+
expressionNode,
|
|
245
|
+
sanitizedTokens,
|
|
246
|
+
sourceCode,
|
|
247
|
+
valueNode
|
|
248
|
+
});
|
|
249
|
+
const range = classNameAttribute.range;
|
|
250
|
+
if (!range) {
|
|
251
|
+
return null;
|
|
252
|
+
}
|
|
253
|
+
return (fixer)=>{
|
|
254
|
+
if (replacement === null) {
|
|
255
|
+
return fixer.removeRange([
|
|
256
|
+
range[0] - 1,
|
|
257
|
+
range[1]
|
|
258
|
+
]);
|
|
259
|
+
}
|
|
260
|
+
if (!isBaseNode(valueNode) || !valueNode.range) {
|
|
261
|
+
return null;
|
|
262
|
+
}
|
|
263
|
+
return fixer.replaceTextRange(valueNode.range, replacement);
|
|
264
|
+
};
|
|
265
|
+
}
|
|
266
|
+
export const auraNoOverridingStylesRule = {
|
|
267
|
+
meta: {
|
|
268
|
+
type: 'suggestion',
|
|
269
|
+
fixable: 'code',
|
|
270
|
+
hasSuggestions: true,
|
|
271
|
+
docs: {
|
|
272
|
+
description: 'Warn when consumers visually override Aura component styles via className'
|
|
273
|
+
},
|
|
274
|
+
schema: [],
|
|
275
|
+
messages: {
|
|
276
|
+
overridingAuraStyles: 'Overriding Aura styles: only layout and sizing utilities should be passed via className. Move visual styling into Aura variants, props, or composition instead. Offending classes: {{classes}}.',
|
|
277
|
+
removeOverridingAuraStyles: 'Remove disallowed Aura styling classes and keep only layout-safe utilities.'
|
|
278
|
+
}
|
|
279
|
+
},
|
|
280
|
+
create (context) {
|
|
281
|
+
const auraComponentNames = new Set();
|
|
282
|
+
const sourceCode = context.sourceCode;
|
|
283
|
+
return {
|
|
284
|
+
ImportDeclaration (node) {
|
|
285
|
+
if (!isImportDeclarationNode(node)) {
|
|
286
|
+
return;
|
|
287
|
+
}
|
|
288
|
+
const sourceValue = getImportSourceValue(node);
|
|
289
|
+
if (!sourceValue || !auraImportSources.has(sourceValue)) {
|
|
290
|
+
return;
|
|
291
|
+
}
|
|
292
|
+
for (const specifier of node.specifiers){
|
|
293
|
+
const localName = getImportLocalName(specifier);
|
|
294
|
+
if (localName) {
|
|
295
|
+
auraComponentNames.add(localName);
|
|
296
|
+
}
|
|
297
|
+
}
|
|
298
|
+
},
|
|
299
|
+
JSXOpeningElement (node) {
|
|
300
|
+
if (!isJsxOpeningElementNode(node)) {
|
|
301
|
+
return;
|
|
302
|
+
}
|
|
303
|
+
const componentName = getAuraComponentName(node);
|
|
304
|
+
if (!componentName || !auraComponentNames.has(componentName)) {
|
|
305
|
+
return;
|
|
306
|
+
}
|
|
307
|
+
const classNameAttribute = node.attributes.find((attribute)=>isJsxAttributeNode(attribute) && isJsxIdentifierNode(attribute.name) && attribute.name.name === 'className');
|
|
308
|
+
if (!classNameAttribute?.value) {
|
|
309
|
+
return;
|
|
310
|
+
}
|
|
311
|
+
const tokens = collectClassTokens(classNameAttribute.value);
|
|
312
|
+
const disallowedTokens = [
|
|
313
|
+
...new Set(tokens)
|
|
314
|
+
].filter((token)=>!isAllowedAuraLayoutClass(token));
|
|
315
|
+
const fix = getClassNameFixer({
|
|
316
|
+
classNameAttribute,
|
|
317
|
+
disallowedTokens,
|
|
318
|
+
sourceCode,
|
|
319
|
+
tokens
|
|
320
|
+
});
|
|
321
|
+
if (disallowedTokens.length === 0) {
|
|
322
|
+
return;
|
|
323
|
+
}
|
|
324
|
+
context.report({
|
|
325
|
+
node: classNameAttribute,
|
|
326
|
+
messageId: 'overridingAuraStyles',
|
|
327
|
+
data: {
|
|
328
|
+
classes: disallowedTokens.join(', ')
|
|
329
|
+
},
|
|
330
|
+
fix,
|
|
331
|
+
suggest: fix ? [
|
|
332
|
+
{
|
|
333
|
+
messageId: 'removeOverridingAuraStyles',
|
|
334
|
+
fix
|
|
335
|
+
}
|
|
336
|
+
] : undefined
|
|
337
|
+
});
|
|
338
|
+
}
|
|
339
|
+
};
|
|
340
|
+
}
|
|
201
341
|
};
|
|
202
|
-
|
|
203
|
-
|
|
342
|
+
|
|
343
|
+
//# sourceMappingURL=no-overriding-styles.js.map
|