@activecollab/components 2.0.566 → 2.0.568
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/components/Chip/Chip.js +4 -2
- package/dist/cjs/components/Chip/Chip.js.map +1 -1
- package/dist/cjs/components/Chip/Styles.js +12 -5
- package/dist/cjs/components/Chip/Styles.js.map +1 -1
- package/dist/cjs/components/ComboBox/ComboBox.js +3 -0
- package/dist/cjs/components/ComboBox/ComboBox.js.map +1 -1
- package/dist/cjs/components/Divider/Divider.js.map +1 -1
- package/dist/cjs/components/Divider/Styles.js +2 -1
- package/dist/cjs/components/Divider/Styles.js.map +1 -1
- package/dist/cjs/components/Filter/Styles.js +1 -1
- package/dist/cjs/components/Filter/Styles.js.map +1 -1
- package/dist/cjs/components/GlobalStyle.js +2 -1
- package/dist/cjs/components/GlobalStyle.js.map +1 -1
- package/dist/cjs/components/Icons/collection/CalendarDate.js +63 -0
- package/dist/cjs/components/Icons/collection/CalendarDate.js.map +1 -0
- package/dist/cjs/components/Icons/collection/Project.js +3 -9
- package/dist/cjs/components/Icons/collection/Project.js.map +1 -1
- package/dist/cjs/components/Icons/collection/index.js +7 -0
- package/dist/cjs/components/Icons/collection/index.js.map +1 -1
- package/dist/cjs/components/MainMenu/MainMenu.js +85 -29
- package/dist/cjs/components/MainMenu/MainMenu.js.map +1 -1
- package/dist/cjs/components/MainMenu/MainMenuDrawer.js +3 -2
- package/dist/cjs/components/MainMenu/MainMenuDrawer.js.map +1 -1
- package/dist/cjs/components/MainMenu/hooks.js +71 -8
- package/dist/cjs/components/MainMenu/hooks.js.map +1 -1
- package/dist/cjs/components/MainMenu/types.js.map +1 -1
- package/dist/cjs/components/Nav/Nav.js +3 -2
- package/dist/cjs/components/Nav/Nav.js.map +1 -1
- package/dist/cjs/components/Nav/Styles.js +9 -4
- package/dist/cjs/components/Nav/Styles.js.map +1 -1
- package/dist/cjs/components/PillButton/PillButton.js.map +1 -1
- package/dist/cjs/components/PillButton/Styles.js +2 -0
- package/dist/cjs/components/PillButton/Styles.js.map +1 -1
- package/dist/cjs/components/PillGroup/Styles.js +1 -1
- package/dist/cjs/components/PillGroup/Styles.js.map +1 -1
- package/dist/cjs/components/RaisedAddButton/RaisedAddButton.js +44 -0
- package/dist/cjs/components/RaisedAddButton/RaisedAddButton.js.map +1 -0
- package/dist/cjs/components/RaisedAddButton/Styles.js +19 -0
- package/dist/cjs/components/RaisedAddButton/Styles.js.map +1 -0
- package/dist/cjs/components/RaisedAddButton/index.js +17 -0
- package/dist/cjs/components/RaisedAddButton/index.js.map +1 -0
- package/dist/cjs/components/Select/Option/Option.js.map +1 -1
- package/dist/cjs/components/Select/OptionContent/OptionContent.js +10 -1
- package/dist/cjs/components/Select/OptionContent/OptionContent.js.map +1 -1
- package/dist/cjs/components/Select/Select.js +6 -2
- package/dist/cjs/components/Select/Select.js.map +1 -1
- package/dist/cjs/components/SwatchPalette/index.js +17 -0
- package/dist/cjs/components/SwatchPalette/index.js.map +1 -0
- package/dist/cjs/components/SwatchPalette/swatchPalette.js +210 -0
- package/dist/cjs/components/SwatchPalette/swatchPalette.js.map +1 -0
- package/dist/cjs/components/SwatchPalette/swatchPalette.test.js +35 -0
- package/dist/cjs/components/SwatchPalette/swatchPalette.test.js.map +1 -0
- package/dist/cjs/components/SwatchPicker/SwatchPicker.js +23 -6
- package/dist/cjs/components/SwatchPicker/SwatchPicker.js.map +1 -1
- package/dist/cjs/components/Timesheet/Styles.js +6 -2
- package/dist/cjs/components/Timesheet/Styles.js.map +1 -1
- package/dist/cjs/components/Timesheet/TimesheetCell.js.map +1 -1
- package/dist/cjs/components/Timesheet/TimesheetTotalRow.js +5 -2
- package/dist/cjs/components/Timesheet/TimesheetTotalRow.js.map +1 -1
- package/dist/cjs/components/ViewSwitcher/Styles.js +25 -4
- package/dist/cjs/components/ViewSwitcher/Styles.js.map +1 -1
- package/dist/cjs/components/ViewSwitcher/ViewSwitcherMenu.js +113 -0
- package/dist/cjs/components/ViewSwitcher/ViewSwitcherMenu.js.map +1 -0
- package/dist/cjs/components/ViewSwitcher/index.js +11 -0
- package/dist/cjs/components/ViewSwitcher/index.js.map +1 -1
- package/dist/cjs/components/index.js +24 -0
- package/dist/cjs/components/index.js.map +1 -1
- package/dist/cjs/presentation/myWork/MyWorkTasks.js +8 -4
- package/dist/cjs/presentation/myWork/MyWorkTasks.js.map +1 -1
- package/dist/cjs/presentation/people/teamTasks.js +1 -2
- package/dist/cjs/presentation/people/teamTasks.js.map +1 -1
- package/dist/cjs/presentation/shared/ObjectSheetFrame.js +226 -92
- package/dist/cjs/presentation/shared/ObjectSheetFrame.js.map +1 -1
- package/dist/cjs/presentation/shared/ProjectIdentityPalette.js +17 -31
- package/dist/cjs/presentation/shared/ProjectIdentityPalette.js.map +1 -1
- package/dist/cjs/presentation/shared/ProjectsBatchBar.js +4 -4
- package/dist/cjs/presentation/shared/ProjectsBatchBar.js.map +1 -1
- package/dist/cjs/presentation/shared/ProjectsCompletedParts.js +1 -2
- package/dist/cjs/presentation/shared/ProjectsCompletedParts.js.map +1 -1
- package/dist/cjs/presentation/shared/ProjectsListCards.js +1 -2
- package/dist/cjs/presentation/shared/ProjectsListCards.js.map +1 -1
- package/dist/cjs/presentation/shared/ProjectsListRows.js +1 -2
- package/dist/cjs/presentation/shared/ProjectsListRows.js.map +1 -1
- package/dist/cjs/presentation/shared/ProjectsListToolbar.js +5 -14
- package/dist/cjs/presentation/shared/ProjectsListToolbar.js.map +1 -1
- package/dist/cjs/presentation/shared/ProjectsPortfoliosList.js +5 -17
- package/dist/cjs/presentation/shared/ProjectsPortfoliosList.js.map +1 -1
- package/dist/cjs/presentation/shared/ProjectsTemplatesParts.js +4 -16
- package/dist/cjs/presentation/shared/ProjectsTemplatesParts.js.map +1 -1
- package/dist/cjs/presentation/shared/ShellMainMenu.js +1 -1
- package/dist/cjs/presentation/shared/ShellMainMenu.js.map +1 -1
- package/dist/cjs/presentation/shared/TaskContentDialogs.js +13 -65
- package/dist/cjs/presentation/shared/TaskContentDialogs.js.map +1 -1
- package/dist/cjs/presentation/shared/TaskContentThread.js +2 -1
- package/dist/cjs/presentation/shared/TaskContentThread.js.map +1 -1
- package/dist/cjs/presentation/shared/TaskContentThreadLive.js +2 -10
- package/dist/cjs/presentation/shared/TaskContentThreadLive.js.map +1 -1
- package/dist/cjs/presentation/shared/TaskListRows.js +64 -48
- package/dist/cjs/presentation/shared/TaskListRows.js.map +1 -1
- package/dist/cjs/presentation/shared/TimesheetAddButtons.js +34 -0
- package/dist/cjs/presentation/shared/TimesheetAddButtons.js.map +1 -0
- package/dist/cjs/presentation/shared/TrackingList.js +159 -57
- package/dist/cjs/presentation/shared/TrackingList.js.map +1 -1
- package/dist/cjs/presentation/shared/UserMenu.js +3 -0
- package/dist/cjs/presentation/shared/UserMenu.js.map +1 -1
- package/dist/cjs/presentation/shared/headers.js +15 -10
- package/dist/cjs/presentation/shared/headers.js.map +1 -1
- package/dist/esm/components/Chip/Chip.d.ts +2 -0
- package/dist/esm/components/Chip/Chip.d.ts.map +1 -1
- package/dist/esm/components/Chip/Chip.js +4 -2
- package/dist/esm/components/Chip/Chip.js.map +1 -1
- package/dist/esm/components/Chip/Styles.d.ts +1 -0
- package/dist/esm/components/Chip/Styles.d.ts.map +1 -1
- package/dist/esm/components/Chip/Styles.js +10 -5
- package/dist/esm/components/Chip/Styles.js.map +1 -1
- package/dist/esm/components/ComboBox/ComboBox.d.ts.map +1 -1
- package/dist/esm/components/ComboBox/ComboBox.js +3 -0
- package/dist/esm/components/ComboBox/ComboBox.js.map +1 -1
- package/dist/esm/components/Divider/Divider.d.ts +1 -1
- package/dist/esm/components/Divider/Divider.d.ts.map +1 -1
- package/dist/esm/components/Divider/Divider.js.map +1 -1
- package/dist/esm/components/Divider/Styles.d.ts +1 -1
- package/dist/esm/components/Divider/Styles.d.ts.map +1 -1
- package/dist/esm/components/Divider/Styles.js +2 -1
- package/dist/esm/components/Divider/Styles.js.map +1 -1
- package/dist/esm/components/Filter/Styles.d.ts.map +1 -1
- package/dist/esm/components/Filter/Styles.js +1 -1
- package/dist/esm/components/Filter/Styles.js.map +1 -1
- package/dist/esm/components/GlobalStyle.d.ts.map +1 -1
- package/dist/esm/components/GlobalStyle.js +2 -1
- package/dist/esm/components/GlobalStyle.js.map +1 -1
- package/dist/esm/components/Icons/collection/CalendarDate.d.ts +32 -0
- package/dist/esm/components/Icons/collection/CalendarDate.d.ts.map +1 -0
- package/dist/esm/components/Icons/collection/CalendarDate.js +56 -0
- package/dist/esm/components/Icons/collection/CalendarDate.js.map +1 -0
- package/dist/esm/components/Icons/collection/Project.d.ts.map +1 -1
- package/dist/esm/components/Icons/collection/Project.js +3 -9
- package/dist/esm/components/Icons/collection/Project.js.map +1 -1
- package/dist/esm/components/Icons/collection/index.d.ts +1 -0
- package/dist/esm/components/Icons/collection/index.d.ts.map +1 -1
- package/dist/esm/components/Icons/collection/index.js +1 -0
- package/dist/esm/components/Icons/collection/index.js.map +1 -1
- package/dist/esm/components/MainMenu/MainMenu.d.ts +3 -1
- package/dist/esm/components/MainMenu/MainMenu.d.ts.map +1 -1
- package/dist/esm/components/MainMenu/MainMenu.js +81 -23
- package/dist/esm/components/MainMenu/MainMenu.js.map +1 -1
- package/dist/esm/components/MainMenu/MainMenuDrawer.d.ts +1 -1
- package/dist/esm/components/MainMenu/MainMenuDrawer.d.ts.map +1 -1
- package/dist/esm/components/MainMenu/MainMenuDrawer.js +3 -2
- package/dist/esm/components/MainMenu/MainMenuDrawer.js.map +1 -1
- package/dist/esm/components/MainMenu/hooks.d.ts +3 -1
- package/dist/esm/components/MainMenu/hooks.d.ts.map +1 -1
- package/dist/esm/components/MainMenu/hooks.js +66 -9
- package/dist/esm/components/MainMenu/hooks.js.map +1 -1
- package/dist/esm/components/MainMenu/types.d.ts +2 -0
- package/dist/esm/components/MainMenu/types.d.ts.map +1 -1
- package/dist/esm/components/MainMenu/types.js.map +1 -1
- package/dist/esm/components/Nav/Nav.d.ts +3 -1
- package/dist/esm/components/Nav/Nav.d.ts.map +1 -1
- package/dist/esm/components/Nav/Nav.js +4 -3
- package/dist/esm/components/Nav/Nav.js.map +1 -1
- package/dist/esm/components/Nav/Styles.d.ts +1 -0
- package/dist/esm/components/Nav/Styles.d.ts.map +1 -1
- package/dist/esm/components/Nav/Styles.js +8 -3
- package/dist/esm/components/Nav/Styles.js.map +1 -1
- package/dist/esm/components/PillButton/PillButton.d.ts +2 -2
- package/dist/esm/components/PillButton/PillButton.d.ts.map +1 -1
- package/dist/esm/components/PillButton/PillButton.js.map +1 -1
- package/dist/esm/components/PillButton/Styles.d.ts.map +1 -1
- package/dist/esm/components/PillButton/Styles.js +2 -0
- package/dist/esm/components/PillButton/Styles.js.map +1 -1
- package/dist/esm/components/PillGroup/Styles.d.ts.map +1 -1
- package/dist/esm/components/PillGroup/Styles.js +1 -1
- package/dist/esm/components/PillGroup/Styles.js.map +1 -1
- package/dist/esm/components/RaisedAddButton/RaisedAddButton.d.ts +19 -0
- package/dist/esm/components/RaisedAddButton/RaisedAddButton.d.ts.map +1 -0
- package/dist/esm/components/RaisedAddButton/RaisedAddButton.js +35 -0
- package/dist/esm/components/RaisedAddButton/RaisedAddButton.js.map +1 -0
- package/dist/esm/components/RaisedAddButton/Styles.d.ts +4 -0
- package/dist/esm/components/RaisedAddButton/Styles.d.ts.map +1 -0
- package/dist/esm/components/RaisedAddButton/Styles.js +11 -0
- package/dist/esm/components/RaisedAddButton/Styles.js.map +1 -0
- package/dist/esm/components/RaisedAddButton/index.d.ts +2 -0
- package/dist/esm/components/RaisedAddButton/index.d.ts.map +1 -0
- package/dist/esm/components/RaisedAddButton/index.js +2 -0
- package/dist/esm/components/RaisedAddButton/index.js.map +1 -0
- package/dist/esm/components/Select/Option/Option.d.ts +1 -0
- package/dist/esm/components/Select/Option/Option.d.ts.map +1 -1
- package/dist/esm/components/Select/Option/Option.js.map +1 -1
- package/dist/esm/components/Select/OptionContent/OptionContent.d.ts +2 -0
- package/dist/esm/components/Select/OptionContent/OptionContent.d.ts.map +1 -1
- package/dist/esm/components/Select/OptionContent/OptionContent.js +10 -1
- package/dist/esm/components/Select/OptionContent/OptionContent.js.map +1 -1
- package/dist/esm/components/Select/Select.d.ts.map +1 -1
- package/dist/esm/components/Select/Select.js +6 -2
- package/dist/esm/components/Select/Select.js.map +1 -1
- package/dist/esm/components/SwatchPalette/index.d.ts +2 -0
- package/dist/esm/components/SwatchPalette/index.d.ts.map +1 -0
- package/dist/esm/components/SwatchPalette/index.js +2 -0
- package/dist/esm/components/SwatchPalette/index.js.map +1 -0
- package/dist/esm/components/SwatchPalette/swatchPalette.d.ts +39 -0
- package/dist/esm/components/SwatchPalette/swatchPalette.d.ts.map +1 -0
- package/dist/esm/components/SwatchPalette/swatchPalette.js +185 -0
- package/dist/esm/components/SwatchPalette/swatchPalette.js.map +1 -0
- package/dist/esm/components/SwatchPalette/swatchPalette.test.d.ts +2 -0
- package/dist/esm/components/SwatchPalette/swatchPalette.test.d.ts.map +1 -0
- package/dist/esm/components/SwatchPalette/swatchPalette.test.js +33 -0
- package/dist/esm/components/SwatchPalette/swatchPalette.test.js.map +1 -0
- package/dist/esm/components/SwatchPicker/SwatchPicker.d.ts +6 -2
- package/dist/esm/components/SwatchPicker/SwatchPicker.d.ts.map +1 -1
- package/dist/esm/components/SwatchPicker/SwatchPicker.js +17 -6
- package/dist/esm/components/SwatchPicker/SwatchPicker.js.map +1 -1
- package/dist/esm/components/Timesheet/Styles.d.ts.map +1 -1
- package/dist/esm/components/Timesheet/Styles.js +6 -2
- package/dist/esm/components/Timesheet/Styles.js.map +1 -1
- package/dist/esm/components/Timesheet/TimesheetCell.d.ts +4 -1
- package/dist/esm/components/Timesheet/TimesheetCell.d.ts.map +1 -1
- package/dist/esm/components/Timesheet/TimesheetCell.js.map +1 -1
- package/dist/esm/components/Timesheet/TimesheetTotalRow.d.ts +2 -0
- package/dist/esm/components/Timesheet/TimesheetTotalRow.d.ts.map +1 -1
- package/dist/esm/components/Timesheet/TimesheetTotalRow.js +5 -2
- package/dist/esm/components/Timesheet/TimesheetTotalRow.js.map +1 -1
- package/dist/esm/components/ViewSwitcher/Styles.d.ts +14 -0
- package/dist/esm/components/ViewSwitcher/Styles.d.ts.map +1 -1
- package/dist/esm/components/ViewSwitcher/Styles.js +24 -3
- package/dist/esm/components/ViewSwitcher/Styles.js.map +1 -1
- package/dist/esm/components/ViewSwitcher/ViewSwitcherMenu.d.ts +35 -0
- package/dist/esm/components/ViewSwitcher/ViewSwitcherMenu.d.ts.map +1 -0
- package/dist/esm/components/ViewSwitcher/ViewSwitcherMenu.js +93 -0
- package/dist/esm/components/ViewSwitcher/ViewSwitcherMenu.js.map +1 -0
- package/dist/esm/components/ViewSwitcher/index.d.ts +1 -0
- package/dist/esm/components/ViewSwitcher/index.d.ts.map +1 -1
- package/dist/esm/components/ViewSwitcher/index.js +1 -0
- package/dist/esm/components/ViewSwitcher/index.js.map +1 -1
- package/dist/esm/components/index.d.ts +2 -0
- package/dist/esm/components/index.d.ts.map +1 -1
- package/dist/esm/components/index.js +2 -0
- package/dist/esm/components/index.js.map +1 -1
- package/dist/esm/presentation/myWork/MyWorkTasks.d.ts.map +1 -1
- package/dist/esm/presentation/myWork/MyWorkTasks.js +8 -4
- package/dist/esm/presentation/myWork/MyWorkTasks.js.map +1 -1
- package/dist/esm/presentation/people/teamTasks.d.ts.map +1 -1
- package/dist/esm/presentation/people/teamTasks.js +1 -2
- package/dist/esm/presentation/people/teamTasks.js.map +1 -1
- package/dist/esm/presentation/shared/ObjectSheetFrame.d.ts +12 -5
- package/dist/esm/presentation/shared/ObjectSheetFrame.d.ts.map +1 -1
- package/dist/esm/presentation/shared/ObjectSheetFrame.js +219 -94
- package/dist/esm/presentation/shared/ObjectSheetFrame.js.map +1 -1
- package/dist/esm/presentation/shared/ProjectIdentityPalette.d.ts +1 -1
- package/dist/esm/presentation/shared/ProjectIdentityPalette.d.ts.map +1 -1
- package/dist/esm/presentation/shared/ProjectIdentityPalette.js +14 -23
- package/dist/esm/presentation/shared/ProjectIdentityPalette.js.map +1 -1
- package/dist/esm/presentation/shared/ProjectsBatchBar.js +4 -4
- package/dist/esm/presentation/shared/ProjectsBatchBar.js.map +1 -1
- package/dist/esm/presentation/shared/ProjectsCompletedParts.d.ts.map +1 -1
- package/dist/esm/presentation/shared/ProjectsCompletedParts.js +1 -2
- package/dist/esm/presentation/shared/ProjectsCompletedParts.js.map +1 -1
- package/dist/esm/presentation/shared/ProjectsListCards.d.ts.map +1 -1
- package/dist/esm/presentation/shared/ProjectsListCards.js +1 -2
- package/dist/esm/presentation/shared/ProjectsListCards.js.map +1 -1
- package/dist/esm/presentation/shared/ProjectsListRows.d.ts.map +1 -1
- package/dist/esm/presentation/shared/ProjectsListRows.js +1 -2
- package/dist/esm/presentation/shared/ProjectsListRows.js.map +1 -1
- package/dist/esm/presentation/shared/ProjectsListToolbar.d.ts +1 -2
- package/dist/esm/presentation/shared/ProjectsListToolbar.d.ts.map +1 -1
- package/dist/esm/presentation/shared/ProjectsListToolbar.js +6 -15
- package/dist/esm/presentation/shared/ProjectsListToolbar.js.map +1 -1
- package/dist/esm/presentation/shared/ProjectsPortfoliosList.d.ts +1 -2
- package/dist/esm/presentation/shared/ProjectsPortfoliosList.d.ts.map +1 -1
- package/dist/esm/presentation/shared/ProjectsPortfoliosList.js +6 -18
- package/dist/esm/presentation/shared/ProjectsPortfoliosList.js.map +1 -1
- package/dist/esm/presentation/shared/ProjectsTemplatesParts.d.ts +2 -2
- package/dist/esm/presentation/shared/ProjectsTemplatesParts.d.ts.map +1 -1
- package/dist/esm/presentation/shared/ProjectsTemplatesParts.js +5 -17
- package/dist/esm/presentation/shared/ProjectsTemplatesParts.js.map +1 -1
- package/dist/esm/presentation/shared/ShellMainMenu.d.ts.map +1 -1
- package/dist/esm/presentation/shared/ShellMainMenu.js +2 -2
- package/dist/esm/presentation/shared/ShellMainMenu.js.map +1 -1
- package/dist/esm/presentation/shared/TaskContentDialogs.d.ts +0 -3
- package/dist/esm/presentation/shared/TaskContentDialogs.d.ts.map +1 -1
- package/dist/esm/presentation/shared/TaskContentDialogs.js +12 -64
- package/dist/esm/presentation/shared/TaskContentDialogs.js.map +1 -1
- package/dist/esm/presentation/shared/TaskContentThread.d.ts.map +1 -1
- package/dist/esm/presentation/shared/TaskContentThread.js +2 -1
- package/dist/esm/presentation/shared/TaskContentThread.js.map +1 -1
- package/dist/esm/presentation/shared/TaskContentThreadLive.d.ts.map +1 -1
- package/dist/esm/presentation/shared/TaskContentThreadLive.js +3 -9
- package/dist/esm/presentation/shared/TaskContentThreadLive.js.map +1 -1
- package/dist/esm/presentation/shared/TaskListRows.d.ts.map +1 -1
- package/dist/esm/presentation/shared/TaskListRows.js +65 -49
- package/dist/esm/presentation/shared/TaskListRows.js.map +1 -1
- package/dist/esm/presentation/shared/TimesheetAddButtons.d.ts +6 -0
- package/dist/esm/presentation/shared/TimesheetAddButtons.d.ts.map +1 -0
- package/dist/esm/presentation/shared/TimesheetAddButtons.js +25 -0
- package/dist/esm/presentation/shared/TimesheetAddButtons.js.map +1 -0
- package/dist/esm/presentation/shared/TrackingList.d.ts +13 -0
- package/dist/esm/presentation/shared/TrackingList.d.ts.map +1 -1
- package/dist/esm/presentation/shared/TrackingList.js +135 -55
- package/dist/esm/presentation/shared/TrackingList.js.map +1 -1
- package/dist/esm/presentation/shared/UserMenu.d.ts +1 -1
- package/dist/esm/presentation/shared/UserMenu.d.ts.map +1 -1
- package/dist/esm/presentation/shared/UserMenu.js +3 -0
- package/dist/esm/presentation/shared/UserMenu.js.map +1 -1
- package/dist/esm/presentation/shared/headers.d.ts.map +1 -1
- package/dist/esm/presentation/shared/headers.js +15 -10
- package/dist/esm/presentation/shared/headers.js.map +1 -1
- package/dist/index.js +1615 -1037
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Styles.js","names":["styled","css","FontStyle","TIMESHEET_CELL_WIDTH","ROW_HOVER_BAR","emptyMark","hoverLayer","color","StyledTimesheet","div","withConfig","displayName","componentId","StyledTimesheetHeader","_ref","$stickyTop","StyledTimesheetBody","StyledTimesheetGrid","_ref2","$body","StyledTimesheetCell","StyledTimesheetToggle","button","_ref3","$hidden","StyledTimesheetExpandIcon","span","_ref4","$expanded","StyledTimesheetNameCell","_ref5","$paddingRight","_ref6","$indent","_ref7","$clickable","StyledTimesheetName","StyledTimesheetAction","StyledTimesheetDays","StyledTimesheetTotal","rowBase","StyledTimesheetRow","_ref8","$bold","_ref9","$level","_ref0","StyledTimesheetDaysRow","StyledTimesheetMembersCell","StyledTimesheetTotalRow","StyledTimesheetDurationBar"],"sources":["../../../../src/components/Timesheet/Styles.ts"],"sourcesContent":["import styled, { css } from \"styled-components\";\n\nimport { FontStyle } from \"../FontStyle\";\n\nexport const TIMESHEET_CELL_WIDTH = 80;\n\nconst ROW_HOVER_BAR = css`color-mix(in srgb, var(--color-theme-300) 50%, var(--color-theme-200))`;\n\nconst emptyMark = css`\n content: \"\\\\2013\";\n display: inline-block;\n transform: scaleX(2.31);\n color: var(--color-theme-400);\n font-size: calc(14px * var(--text-scale, 1));\n font-weight: 400;\n`;\n\nconst hoverLayer = (color: string) => css`\n content: \"\";\n display: block;\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n z-index: 0;\n background-color: ${color};\n`;\n\nexport const StyledTimesheet = styled.div`\n ${FontStyle}\n display: contents;\n`;\n\nStyledTimesheet.displayName = \"StyledTimesheet\";\n\nexport const StyledTimesheetHeader = styled.div<{ $stickyTop: string }>`\n position: sticky;\n top: ${({ $stickyTop }) => $stickyTop};\n z-index: 20;\n overflow-x: hidden;\n border-top-left-radius: var(--ac-br-8);\n border-top-right-radius: var(--ac-br-8);\n background-color: var(--page-paper-main);\n`;\n\nStyledTimesheetHeader.displayName = \"StyledTimesheetHeader\";\n\nexport const StyledTimesheetBody = styled.div`\n overflow-x: auto;\n`;\n\nStyledTimesheetBody.displayName = \"StyledTimesheetBody\";\n\nexport const StyledTimesheetGrid = styled.div<{ $body?: boolean }>`\n box-sizing: border-box;\n min-width: 850px;\n padding: 0 24px;\n\n ${({ $body }) =>\n $body &&\n css`\n display: flex;\n flex-direction: column;\n `}\n\n &:not(:has(.c-timesheet-days-row)):not(:has(.c-timesheet-total-row)) {\n padding-top: 16px;\n }\n`;\n\nStyledTimesheetGrid.displayName = \"StyledTimesheetGrid\";\n\nexport const StyledTimesheetCell = styled.div`\n box-sizing: border-box;\n display: flex;\n position: relative;\n flex-shrink: 0;\n align-items: center;\n justify-content: center;\n width: ${TIMESHEET_CELL_WIDTH}px;\n height: 100%;\n margin: 0;\n padding: 0;\n border: 0;\n background: transparent;\n color: inherit;\n font: inherit;\n text-align: center;\n\n &.c-timesheet-cell--stacked {\n flex-direction: column;\n line-height: calc(1rem * var(--text-scale, 1));\n }\n\n &.c-timesheet-cell--weekend {\n background-image: repeating-linear-gradient(\n -45deg,\n transparent,\n transparent 5.31px,\n color-mix(in srgb, var(--color-theme-500) 60%, transparent) 5.31px,\n color-mix(in srgb, var(--color-theme-500) 60%, transparent) 6.01px\n );\n }\n\n &.c-timesheet-cell--over {\n color: var(--capacity-over);\n }\n\n &.c-timesheet-cell--under {\n color: var(--capacity-under);\n }\n\n &.c-timesheet-cell--clickable {\n cursor: pointer;\n\n &:hover::after {\n ${hoverLayer(\"var(--clickable-field-hover)\")}\n }\n\n &:focus-visible {\n outline: 2px solid var(--color-secondary);\n outline-offset: -2px;\n }\n }\n\n &:empty:not(.c-timesheet-cell--weekend)::before {\n ${emptyMark}\n }\n`;\n\nStyledTimesheetCell.displayName = \"StyledTimesheetCell\";\n\nexport const StyledTimesheetToggle = styled.button<{ $hidden?: boolean }>`\n display: flex;\n visibility: ${({ $hidden }) => ($hidden ? \"hidden\" : \"visible\")};\n flex-shrink: 0;\n align-items: center;\n justify-content: center;\n width: 24px;\n height: 24px;\n margin: 0 4px;\n padding: 0;\n border: 0;\n background: transparent;\n color: inherit;\n cursor: pointer;\n\n & svg {\n display: block;\n width: 24px;\n height: 24px;\n }\n\n &:focus-visible {\n outline: 2px solid var(--color-secondary);\n outline-offset: 0;\n }\n`;\n\nStyledTimesheetToggle.displayName = \"StyledTimesheetToggle\";\n\nexport const StyledTimesheetExpandIcon = styled.span<{ $expanded: boolean }>`\n display: flex;\n transition: rotate 200ms cubic-bezier(0.4, 0, 0.2, 1);\n rotate: ${({ $expanded }) => ($expanded ? \"0deg\" : \"180deg\")};\n\n @media (prefers-reduced-motion: reduce) {\n transition: none;\n }\n`;\n\nStyledTimesheetExpandIcon.displayName = \"StyledTimesheetExpandIcon\";\n\nexport const StyledTimesheetNameCell = styled.div<{\n $indent: number;\n $paddingRight: number;\n $clickable: boolean;\n}>`\n box-sizing: border-box;\n display: flex;\n position: relative;\n z-index: 1;\n flex: 1 1 0%;\n align-items: center;\n justify-content: space-between;\n min-width: 160px;\n height: 100%;\n padding-right: ${({ $paddingRight }) => $paddingRight}px;\n padding-left: ${({ $indent }) => $indent}px;\n\n & a {\n z-index: 2;\n color: inherit;\n text-decoration: none;\n transition: all 0.2s;\n cursor: pointer;\n }\n\n & a:hover {\n color: var(--color-secondary);\n }\n\n ${({ $clickable }) =>\n $clickable &&\n css`\n cursor: pointer;\n\n &:hover::before {\n ${hoverLayer(\"var(--highlight-dark)\")}\n }\n `}\n`;\n\nStyledTimesheetNameCell.displayName = \"StyledTimesheetNameCell\";\n\n// the name takes the free width, so a skeleton bar can size by percent\nexport const StyledTimesheetName = styled.span`\n display: flex;\n position: relative;\n flex-grow: 1;\n align-items: center;\n min-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n`;\n\nStyledTimesheetName.displayName = \"StyledTimesheetName\";\n\nexport const StyledTimesheetAction = styled.span`\n display: flex;\n position: relative;\n flex-shrink: 0;\n align-items: center;\n`;\n\nStyledTimesheetAction.displayName = \"StyledTimesheetAction\";\n\nexport const StyledTimesheetDays = styled.div`\n display: flex;\n position: relative;\n flex-direction: row;\n overflow: hidden;\n`;\n\nStyledTimesheetDays.displayName = \"StyledTimesheetDays\";\n\nexport const StyledTimesheetTotal = styled.div`\n box-sizing: border-box;\n display: flex;\n flex-shrink: 0;\n align-items: center;\n justify-content: center;\n width: 96px;\n height: 100%;\n padding-left: 4px;\n\n &.c-timesheet-cell--over {\n color: var(--capacity-over);\n }\n\n &.c-timesheet-cell--under {\n color: var(--capacity-under);\n }\n\n &:empty::before {\n ${emptyMark}\n }\n`;\n\nStyledTimesheetTotal.displayName = \"StyledTimesheetTotal\";\n\nconst rowBase = css`\n box-sizing: border-box;\n display: flex;\n flex-shrink: 0;\n margin-bottom: 2px;\n border: 0;\n`;\n\nexport const StyledTimesheetRow = styled.div<{\n $level: 1 | 2 | 3;\n $bold: boolean;\n}>`\n ${rowBase}\n --timesheet-bar: var(--color-theme-200);\n\n position: relative;\n isolation: isolate;\n height: 32px;\n border-radius: 6px;\n background-color: transparent;\n color: var(--color-theme-900);\n font-size: calc(13px * var(--text-scale, 1));\n font-weight: ${({ $bold }) => ($bold ? 700 : 400)};\n\n & .c-timesheet-row__name-cell {\n font-weight: ${({ $level }) => ($level < 3 ? 700 : 400)};\n }\n\n ${({ $level }) =>\n $level === 3 &&\n css`\n --timesheet-bar: color-mix(\n in srgb,\n var(--color-theme-200) 55%,\n transparent\n );\n\n color: var(--color-theme-700);\n `}\n\n &:hover {\n --timesheet-bar: ${ROW_HOVER_BAR};\n\n color: var(--color-theme-900);\n }\n\n &::before,\n &::after {\n content: \"\";\n position: absolute;\n top: 0;\n bottom: 0;\n z-index: -1;\n border-radius: 6px;\n background-color: var(--timesheet-bar);\n transition: background-color 0.15s;\n }\n\n &::before {\n right: 96px;\n left: 0;\n }\n\n &::after {\n right: 0;\n width: 92px;\n }\n\n @media (prefers-reduced-motion: reduce) {\n &::before,\n &::after {\n transition: none;\n }\n }\n`;\n\nStyledTimesheetRow.displayName = \"StyledTimesheetRow\";\n\nexport const StyledTimesheetDaysRow = styled.div`\n ${rowBase}\n height: 37px;\n margin: 0 -24px;\n padding: 0 24px;\n border-bottom: 1px solid var(--new-list-header-line);\n border-radius: 0;\n background-color: transparent;\n color: var(--color-theme-600);\n font-size: calc(12px * var(--text-scale, 1));\n font-weight: 500;\n\n & .c-timesheet-cell--today::after {\n content: \"\";\n position: absolute;\n right: 12px;\n bottom: -1px;\n left: 12px;\n height: 2px;\n background-color: var(--color-primary);\n }\n\n && .c-timesheet-cell:empty::before {\n content: none;\n }\n\n & .c-timesheet-days-row__label {\n font-size: calc(11px * var(--text-scale, 1));\n font-weight: 700;\n }\n\n & .c-timesheet-days-row__label--inset {\n margin-left: 32px;\n }\n\n & .c-timesheet-days-row__total {\n line-height: calc(1.5rem * var(--text-scale, 1));\n }\n`;\n\nStyledTimesheetDaysRow.displayName = \"StyledTimesheetDaysRow\";\n\nexport const StyledTimesheetMembersCell = styled.div`\n box-sizing: border-box;\n display: flex;\n flex: 1 1 0%;\n align-items: center;\n justify-content: flex-start;\n min-width: 160px;\n height: 100%;\n`;\n\nStyledTimesheetMembersCell.displayName = \"StyledTimesheetMembersCell\";\n\nexport const StyledTimesheetTotalRow = styled.div`\n ${rowBase}\n height: 40px;\n margin: 0 -24px 8px;\n padding: 0 24px;\n border-bottom: 1px solid var(--new-list-header-line);\n border-radius: 0;\n background-color: transparent;\n color: var(--color-theme-900);\n font-size: calc(14px * var(--text-scale, 1));\n font-weight: 700;\n\n & .c-timesheet-total-row__label {\n padding: 0 32px;\n line-height: calc(1.25rem * var(--text-scale, 1));\n }\n`;\n\nStyledTimesheetTotalRow.displayName = \"StyledTimesheetTotalRow\";\n\nexport const StyledTimesheetDurationBar = styled.div`\n position: absolute;\n top: 4px;\n height: 2px;\n border-radius: 2px;\n background-color: var(--color-theme-600);\n\n &:hover {\n opacity: 0.5;\n }\n`;\n\nStyledTimesheetDurationBar.displayName = \"StyledTimesheetDurationBar\";\n"],"mappings":"AAAA,OAAOA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AO,MAAMqC,0BAA0B,GAAGhD,MAAM,CAACS,GAAG,CAAAC,UAAA;EAAAC,WAAA;EAAAC,WAAA;AAAA,iIAQnD;AAEDoC,0BAA0B,CAACrC,WAAW,GAAG,4BAA4B;AAErE,OAAO,MAAMsC,uBAAuB,GAAGjD,MAAM,CAACS,GAAG,CAAAC,UAAA;EAAAC,WAAA;EAAAC,WAAA;AAAA,qVAC7C4B,OAAO,CAeV;AAEDS,uBAAuB,CAACtC,WAAW,GAAG,yBAAyB;AAE/D,OAAO,MAAMuC,0BAA0B,GAAGlD,MAAM,CAACS,GAAG,CAAAC,UAAA;EAAAC,WAAA;EAAAC,WAAA;AAAA,4HAUnD;AAEDsC,0BAA0B,CAACvC,WAAW,GAAG,4BAA4B","ignoreList":[]}
|
|
1
|
+
{"version":3,"file":"Styles.js","names":["styled","css","FontStyle","TIMESHEET_CELL_WIDTH","ROW_HOVER_BAR","emptyMark","hoverLayer","color","StyledTimesheet","div","withConfig","displayName","componentId","StyledTimesheetHeader","_ref","$stickyTop","StyledTimesheetBody","StyledTimesheetGrid","_ref2","$body","PLUS_COLOR","addHover","StyledTimesheetCell","StyledTimesheetToggle","button","_ref3","$hidden","StyledTimesheetExpandIcon","span","_ref4","$expanded","StyledTimesheetNameCell","_ref5","$paddingRight","_ref6","$indent","_ref7","$clickable","StyledTimesheetName","StyledTimesheetAction","StyledTimesheetDays","StyledTimesheetTotal","rowBase","StyledTimesheetRow","_ref8","$bold","_ref9","$level","_ref0","StyledTimesheetDaysRow","StyledTimesheetMembersCell","StyledTimesheetTotalRow","StyledTimesheetDurationBar"],"sources":["../../../../src/components/Timesheet/Styles.ts"],"sourcesContent":["import styled, { css } from \"styled-components\";\n\nimport { FontStyle } from \"../FontStyle\";\n\nexport const TIMESHEET_CELL_WIDTH = 80;\n\nconst ROW_HOVER_BAR = css`color-mix(in srgb, var(--color-theme-300) 50%, var(--color-theme-200))`;\n\nconst emptyMark = css`\n content: \"\\\\2013\";\n display: inline-block;\n transform: scaleX(2.31);\n color: var(--color-theme-400);\n font-size: calc(14px * var(--text-scale, 1));\n font-weight: 400;\n`;\n\nconst hoverLayer = (color: string) => css`\n content: \"\";\n display: block;\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n z-index: 0;\n background-color: ${color};\n`;\n\nexport const StyledTimesheet = styled.div`\n ${FontStyle}\n display: contents;\n`;\n\nStyledTimesheet.displayName = \"StyledTimesheet\";\n\nexport const StyledTimesheetHeader = styled.div<{ $stickyTop: string }>`\n position: sticky;\n top: ${({ $stickyTop }) => $stickyTop};\n z-index: 20;\n overflow-x: hidden;\n border-top-left-radius: var(--ac-br-8);\n border-top-right-radius: var(--ac-br-8);\n background-color: var(--page-paper-main);\n`;\n\nStyledTimesheetHeader.displayName = \"StyledTimesheetHeader\";\n\nexport const StyledTimesheetBody = styled.div`\n overflow-x: auto;\n`;\n\nStyledTimesheetBody.displayName = \"StyledTimesheetBody\";\n\nexport const StyledTimesheetGrid = styled.div<{ $body?: boolean }>`\n box-sizing: border-box;\n min-width: 850px;\n padding: 0 24px;\n\n ${({ $body }) =>\n $body &&\n css`\n display: flex;\n flex-direction: column;\n `}\n\n &:not(:has(.c-timesheet-days-row)):not(:has(.c-timesheet-total-row)) {\n padding-top: 16px;\n }\n`;\n\nStyledTimesheetGrid.displayName = \"StyledTimesheetGrid\";\n\nconst PLUS_COLOR = \"var(--color-primary)\";\n\n// A round inner frame and a glow mark the cell, and the plus stays right of the centered hours.\nconst addHover = css`\n &:is(:hover, :focus-visible) {\n position: relative;\n z-index: 3;\n border-radius: 8px;\n outline: 1px solid\n color-mix(in oklab, var(--color-primary) 60%, transparent);\n outline-offset: -3px;\n background-color: color-mix(\n in oklab,\n var(--color-primary) 10%,\n transparent\n );\n box-shadow: 0 0 10px 1px\n color-mix(in oklab, var(--color-primary) 55%, transparent);\n }\n\n &:is(:hover, :focus-visible)::after {\n display: none;\n }\n\n &:is(:hover, :focus-visible)::before {\n content: \"\";\n position: absolute;\n top: 50%;\n right: 5px;\n z-index: 2;\n display: block;\n box-sizing: border-box;\n width: 16px;\n height: 16px;\n margin: 0;\n border: 1px solid color-mix(in oklab, var(--color-primary) 25%, transparent);\n border-radius: 50%;\n background: linear-gradient(${PLUS_COLOR}, ${PLUS_COLOR}) center / 8px 2px\n no-repeat,\n linear-gradient(${PLUS_COLOR}, ${PLUS_COLOR}) center / 2px 8px no-repeat,\n color-mix(in oklab, var(--color-primary) 20%, var(--surface-raised));\n pointer-events: none;\n transform: translateY(-50%);\n }\n`;\n\nexport const StyledTimesheetCell = styled.div`\n box-sizing: border-box;\n display: flex;\n position: relative;\n flex-shrink: 0;\n align-items: center;\n justify-content: center;\n width: ${TIMESHEET_CELL_WIDTH}px;\n height: 100%;\n margin: 0;\n padding: 0;\n border: 0;\n background: transparent;\n color: inherit;\n font: inherit;\n text-align: center;\n\n &.c-timesheet-cell--stacked {\n flex-direction: column;\n line-height: calc(1rem * var(--text-scale, 1));\n }\n\n &.c-timesheet-cell--weekend {\n background-image: repeating-linear-gradient(\n -45deg,\n transparent,\n transparent 5.31px,\n color-mix(in srgb, var(--color-theme-500) 60%, transparent) 5.31px,\n color-mix(in srgb, var(--color-theme-500) 60%, transparent) 6.01px\n );\n }\n\n &.c-timesheet-cell--over {\n color: var(--capacity-over);\n }\n\n &.c-timesheet-cell--under {\n color: var(--capacity-under);\n }\n\n &.c-timesheet-cell--clickable {\n cursor: pointer;\n }\n\n &:empty:not(.c-timesheet-cell--weekend)::before {\n ${emptyMark}\n }\n\n &&.c-timesheet-cell--clickable {\n ${addHover}\n\n &:focus-visible {\n outline: 2px solid var(--color-secondary);\n outline-offset: -2px;\n }\n }\n`;\n\nStyledTimesheetCell.displayName = \"StyledTimesheetCell\";\n\nexport const StyledTimesheetToggle = styled.button<{ $hidden?: boolean }>`\n display: flex;\n visibility: ${({ $hidden }) => ($hidden ? \"hidden\" : \"visible\")};\n flex-shrink: 0;\n align-items: center;\n justify-content: center;\n width: 24px;\n height: 24px;\n margin: 0 4px;\n padding: 0;\n border: 0;\n background: transparent;\n color: inherit;\n cursor: pointer;\n\n & svg {\n display: block;\n width: 24px;\n height: 24px;\n }\n\n &:focus-visible {\n outline: 2px solid var(--color-secondary);\n outline-offset: 0;\n }\n`;\n\nStyledTimesheetToggle.displayName = \"StyledTimesheetToggle\";\n\nexport const StyledTimesheetExpandIcon = styled.span<{ $expanded: boolean }>`\n display: flex;\n transition: rotate 200ms cubic-bezier(0.4, 0, 0.2, 1);\n rotate: ${({ $expanded }) => ($expanded ? \"0deg\" : \"180deg\")};\n\n @media (prefers-reduced-motion: reduce) {\n transition: none;\n }\n`;\n\nStyledTimesheetExpandIcon.displayName = \"StyledTimesheetExpandIcon\";\n\nexport const StyledTimesheetNameCell = styled.div<{\n $indent: number;\n $paddingRight: number;\n $clickable: boolean;\n}>`\n box-sizing: border-box;\n display: flex;\n position: relative;\n z-index: 1;\n flex: 1 1 0%;\n align-items: center;\n justify-content: space-between;\n min-width: 160px;\n height: 100%;\n padding-right: ${({ $paddingRight }) => $paddingRight}px;\n padding-left: ${({ $indent }) => $indent}px;\n\n & a {\n z-index: 2;\n color: inherit;\n text-decoration: none;\n transition: all 0.2s;\n cursor: pointer;\n }\n\n & a:hover {\n color: var(--color-secondary);\n }\n\n ${({ $clickable }) =>\n $clickable &&\n css`\n cursor: pointer;\n\n &:hover::before {\n ${hoverLayer(\"var(--highlight-dark)\")}\n }\n `}\n`;\n\nStyledTimesheetNameCell.displayName = \"StyledTimesheetNameCell\";\n\n// the name takes the free width, so a skeleton bar can size by percent\nexport const StyledTimesheetName = styled.span`\n display: flex;\n position: relative;\n flex-grow: 1;\n align-items: center;\n min-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n`;\n\nStyledTimesheetName.displayName = \"StyledTimesheetName\";\n\nexport const StyledTimesheetAction = styled.span`\n display: flex;\n position: relative;\n flex-shrink: 0;\n align-items: center;\n`;\n\nStyledTimesheetAction.displayName = \"StyledTimesheetAction\";\n\nexport const StyledTimesheetDays = styled.div`\n display: flex;\n position: relative;\n flex-direction: row;\n overflow: hidden;\n`;\n\nStyledTimesheetDays.displayName = \"StyledTimesheetDays\";\n\nexport const StyledTimesheetTotal = styled.div`\n box-sizing: border-box;\n display: flex;\n flex-shrink: 0;\n align-items: center;\n justify-content: center;\n width: 96px;\n height: 100%;\n padding-left: 4px;\n\n &.c-timesheet-cell--over {\n color: var(--capacity-over);\n }\n\n &.c-timesheet-cell--under {\n color: var(--capacity-under);\n }\n\n &:empty::before {\n ${emptyMark}\n }\n`;\n\nStyledTimesheetTotal.displayName = \"StyledTimesheetTotal\";\n\nconst rowBase = css`\n box-sizing: border-box;\n display: flex;\n flex-shrink: 0;\n margin-bottom: 2px;\n border: 0;\n`;\n\nexport const StyledTimesheetRow = styled.div<{\n $level: 1 | 2 | 3;\n $bold: boolean;\n}>`\n ${rowBase}\n --timesheet-bar: var(--color-theme-200);\n\n position: relative;\n isolation: isolate;\n height: 32px;\n border-radius: 6px;\n background-color: transparent;\n color: var(--color-theme-900);\n font-size: calc(13px * var(--text-scale, 1));\n font-weight: ${({ $bold }) => ($bold ? 700 : 400)};\n\n & .c-timesheet-row__name-cell {\n font-weight: ${({ $level }) => ($level < 3 ? 700 : 400)};\n }\n\n ${({ $level }) =>\n $level === 3 &&\n css`\n --timesheet-bar: color-mix(\n in srgb,\n var(--color-theme-200) 55%,\n transparent\n );\n\n color: var(--color-theme-700);\n `}\n\n &:hover {\n --timesheet-bar: ${ROW_HOVER_BAR};\n\n color: var(--color-theme-900);\n }\n\n &::before,\n &::after {\n content: \"\";\n position: absolute;\n top: 0;\n bottom: 0;\n z-index: -1;\n border-radius: 6px;\n background-color: var(--timesheet-bar);\n transition: background-color 0.15s;\n }\n\n &::before {\n right: 96px;\n left: 0;\n }\n\n &::after {\n right: 0;\n width: 92px;\n }\n\n @media (prefers-reduced-motion: reduce) {\n &::before,\n &::after {\n transition: none;\n }\n }\n`;\n\nStyledTimesheetRow.displayName = \"StyledTimesheetRow\";\n\nexport const StyledTimesheetDaysRow = styled.div`\n ${rowBase}\n height: 37px;\n margin: 0 -24px;\n padding: 0 24px;\n border-bottom: 1px solid var(--new-list-header-line);\n border-radius: 0;\n background-color: transparent;\n color: var(--color-theme-600);\n font-size: calc(12px * var(--text-scale, 1));\n font-weight: 500;\n\n & .c-timesheet-cell--today::after {\n content: \"\";\n position: absolute;\n right: 12px;\n bottom: -1px;\n left: 12px;\n height: 2px;\n background-color: var(--color-primary);\n }\n\n && .c-timesheet-cell:empty::before {\n content: none;\n }\n\n & .c-timesheet-days-row__label {\n font-size: calc(11px * var(--text-scale, 1));\n font-weight: 700;\n }\n\n & .c-timesheet-days-row__label--inset {\n margin-left: 32px;\n }\n\n & .c-timesheet-days-row__total {\n line-height: calc(1.5rem * var(--text-scale, 1));\n }\n`;\n\nStyledTimesheetDaysRow.displayName = \"StyledTimesheetDaysRow\";\n\nexport const StyledTimesheetMembersCell = styled.div`\n box-sizing: border-box;\n display: flex;\n flex: 1 1 0%;\n align-items: center;\n justify-content: flex-start;\n min-width: 160px;\n height: 100%;\n`;\n\nStyledTimesheetMembersCell.displayName = \"StyledTimesheetMembersCell\";\n\nexport const StyledTimesheetTotalRow = styled.div`\n ${rowBase}\n height: 40px;\n margin: 0 -24px 8px;\n padding: 0 24px;\n border-bottom: 1px solid var(--new-list-header-line);\n border-radius: 0;\n background-color: transparent;\n color: var(--color-theme-900);\n font-size: calc(14px * var(--text-scale, 1));\n font-weight: 700;\n\n & .c-timesheet-total-row__action {\n display: inline-flex;\n flex-shrink: 0;\n margin-left: auto;\n margin-right: -24px;\n }\n\n & .c-timesheet-total-row__label {\n padding: 0 32px;\n line-height: calc(1.25rem * var(--text-scale, 1));\n }\n`;\n\nStyledTimesheetTotalRow.displayName = \"StyledTimesheetTotalRow\";\n\nexport const StyledTimesheetDurationBar = styled.div`\n position: absolute;\n top: 4px;\n height: 2px;\n border-radius: 2px;\n background-color: var(--color-theme-600);\n\n &:hover {\n op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B,CAAChC,WAAW,GAAG,oBAAoB;AAErD,OAAO,MAAMsC,sBAAsB,GAAGjD,MAAM,CAACS,GAAG,CAAAC,UAAA;EAAAC,WAAA;EAAAC,WAAA;AAAA,wpBAC5C8B,OAAO,CAqCV;AAEDO,sBAAsB,CAACtC,WAAW,GAAG,wBAAwB;AAE7D,OAAO,MAAMuC,0BAA0B,GAAGlD,MAAM,CAACS,GAAG,CAAAC,UAAA;EAAAC,WAAA;EAAAC,WAAA;AAAA,iIAQnD;AAEDsC,0BAA0B,CAACvC,WAAW,GAAG,4BAA4B;AAErE,OAAO,MAAMwC,uBAAuB,GAAGnD,MAAM,CAACS,GAAG,CAAAC,UAAA;EAAAC,WAAA;EAAAC,WAAA;AAAA,6bAC7C8B,OAAO,CAsBV;AAEDS,uBAAuB,CAACxC,WAAW,GAAG,yBAAyB;AAE/D,OAAO,MAAMyC,0BAA0B,GAAGpD,MAAM,CAACS,GAAG,CAAAC,UAAA;EAAAC,WAAA;EAAAC,WAAA;AAAA,4HAUnD;AAEDwC,0BAA0B,CAACzC,WAAW,GAAG,4BAA4B","ignoreList":[]}
|
|
@@ -9,7 +9,10 @@ export interface ITimesheetCellProps extends Omit<HTMLAttributes<HTMLElement>, "
|
|
|
9
9
|
tone?: TimesheetTone;
|
|
10
10
|
/** Puts two lines on top of each other, for example OFF over the hours. */
|
|
11
11
|
stacked?: boolean;
|
|
12
|
-
/**
|
|
12
|
+
/**
|
|
13
|
+
* Makes the cell a button, for example to add a time record on the day. Hover then marks the cell
|
|
14
|
+
* and shows a plus beside its content. A cell without it is read only and has no hover.
|
|
15
|
+
*/
|
|
13
16
|
onClick?: (event: MouseEvent<HTMLElement>) => void;
|
|
14
17
|
}
|
|
15
18
|
export declare const TimesheetCell: React.ForwardRefExoticComponent<ITimesheetCellProps & React.RefAttributes<HTMLElement>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TimesheetCell.d.ts","sourceRoot":"","sources":["../../../../src/components/Timesheet/TimesheetCell.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,cAAc,EAAE,UAAU,EAAc,MAAM,OAAO,CAAC;AAMtE,MAAM,MAAM,aAAa,GAAG,MAAM,GAAG,OAAO,CAAC;AAE7C,MAAM,WAAW,mBACf,SAAQ,IAAI,CAAC,cAAc,CAAC,WAAW,CAAC,EAAE,SAAS,CAAC;IACpD,mFAAmF;IACnF,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,uDAAuD;IACvD,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,gFAAgF;IAChF,IAAI,CAAC,EAAE,aAAa,CAAC;IACrB,2EAA2E;IAC3E,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB
|
|
1
|
+
{"version":3,"file":"TimesheetCell.d.ts","sourceRoot":"","sources":["../../../../src/components/Timesheet/TimesheetCell.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,cAAc,EAAE,UAAU,EAAc,MAAM,OAAO,CAAC;AAMtE,MAAM,MAAM,aAAa,GAAG,MAAM,GAAG,OAAO,CAAC;AAE7C,MAAM,WAAW,mBACf,SAAQ,IAAI,CAAC,cAAc,CAAC,WAAW,CAAC,EAAE,SAAS,CAAC;IACpD,mFAAmF;IACnF,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,uDAAuD;IACvD,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,gFAAgF;IAChF,IAAI,CAAC,EAAE,aAAa,CAAC;IACrB,2EAA2E;IAC3E,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;;OAGG;IACH,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,UAAU,CAAC,WAAW,CAAC,KAAK,IAAI,CAAC;CACpD;AAED,eAAO,MAAM,aAAa,yFA8BzB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TimesheetCell.js","names":["React","forwardRef","classnames","StyledTimesheetCell","TimesheetCell","_ref","ref","today","weekend","tone","stacked","onClick","className","children","rest","_objectWithoutPropertiesLoose","_excluded","clickable","createElement","_extends","as","type","undefined","displayName"],"sources":["../../../../src/components/Timesheet/TimesheetCell.tsx"],"sourcesContent":["import React, { HTMLAttributes, MouseEvent, forwardRef } from \"react\";\n\nimport classnames from \"classnames\";\n\nimport { StyledTimesheetCell } from \"./Styles\";\n\nexport type TimesheetTone = \"over\" | \"under\";\n\nexport interface ITimesheetCellProps\n extends Omit<HTMLAttributes<HTMLElement>, \"onClick\"> {\n /** Marks the column of today. In the days row it draws the line under the date. */\n today?: boolean;\n /** Hatches the cell of a day that is not a workday. */\n weekend?: boolean;\n /** Colors the text against the daily capacity: orange over it, red under it. */\n tone?: TimesheetTone;\n /** Puts two lines on top of each other, for example OFF over the hours. */\n stacked?: boolean;\n
|
|
1
|
+
{"version":3,"file":"TimesheetCell.js","names":["React","forwardRef","classnames","StyledTimesheetCell","TimesheetCell","_ref","ref","today","weekend","tone","stacked","onClick","className","children","rest","_objectWithoutPropertiesLoose","_excluded","clickable","createElement","_extends","as","type","undefined","displayName"],"sources":["../../../../src/components/Timesheet/TimesheetCell.tsx"],"sourcesContent":["import React, { HTMLAttributes, MouseEvent, forwardRef } from \"react\";\n\nimport classnames from \"classnames\";\n\nimport { StyledTimesheetCell } from \"./Styles\";\n\nexport type TimesheetTone = \"over\" | \"under\";\n\nexport interface ITimesheetCellProps\n extends Omit<HTMLAttributes<HTMLElement>, \"onClick\"> {\n /** Marks the column of today. In the days row it draws the line under the date. */\n today?: boolean;\n /** Hatches the cell of a day that is not a workday. */\n weekend?: boolean;\n /** Colors the text against the daily capacity: orange over it, red under it. */\n tone?: TimesheetTone;\n /** Puts two lines on top of each other, for example OFF over the hours. */\n stacked?: boolean;\n /**\n * Makes the cell a button, for example to add a time record on the day. Hover then marks the cell\n * and shows a plus beside its content. A cell without it is read only and has no hover.\n */\n onClick?: (event: MouseEvent<HTMLElement>) => void;\n}\n\nexport const TimesheetCell = forwardRef<HTMLElement, ITimesheetCellProps>(\n (\n { today, weekend, tone, stacked, onClick, className, children, ...rest },\n ref\n ) => {\n const clickable = typeof onClick === \"function\";\n\n return (\n <StyledTimesheetCell\n {...rest}\n ref={ref as React.Ref<HTMLDivElement>}\n as={clickable ? \"button\" : \"div\"}\n type={clickable ? \"button\" : undefined}\n onClick={onClick}\n className={classnames(\n \"c-timesheet-cell\",\n {\n \"c-timesheet-cell--today\": today,\n \"c-timesheet-cell--weekend\": weekend,\n \"c-timesheet-cell--stacked\": stacked,\n \"c-timesheet-cell--clickable\": clickable,\n [`c-timesheet-cell--${tone}`]: tone,\n },\n className\n )}\n >\n {children}\n </StyledTimesheetCell>\n );\n }\n);\n\nTimesheetCell.displayName = \"TimesheetCell\";\n"],"mappings":";;;AAAA,OAAOA,KAAK,IAAgCC,UAAU,QAAQ,OAAO;AAErE,OAAOC,UAAU,MAAM,YAAY;AAEnC,SAASC,mBAAmB,QAAQ,UAAU;AAqB9C,OAAO,MAAMC,aAAa,gBAAGH,UAAU,CACrC,CAAAI,IAAA,EAEEC,GAAG,KACA;EAAA,IAFDC,KAAK,GAAAF,IAAA,CAALE,KAAK;IAAEC,OAAO,GAAAH,IAAA,CAAPG,OAAO;IAAEC,IAAI,GAAAJ,IAAA,CAAJI,IAAI;IAAEC,OAAO,GAAAL,IAAA,CAAPK,OAAO;IAAEC,OAAO,GAAAN,IAAA,CAAPM,OAAO;IAAEC,SAAS,GAAAP,IAAA,CAATO,SAAS;IAAEC,QAAQ,GAAAR,IAAA,CAARQ,QAAQ;IAAKC,IAAI,GAAAC,6BAAA,CAAAV,IAAA,EAAAW,SAAA;EAGtE,MAAMC,SAAS,GAAG,OAAON,OAAO,KAAK,UAAU;EAE/C,oBACEX,KAAA,CAAAkB,aAAA,CAACf,mBAAmB,EAAAgB,QAAA,KACdL,IAAI;IACRR,GAAG,EAAEA,GAAiC;IACtCc,EAAE,EAAEH,SAAS,GAAG,QAAQ,GAAG,KAAM;IACjCI,IAAI,EAAEJ,SAAS,GAAG,QAAQ,GAAGK,SAAU;IACvCX,OAAO,EAAEA,OAAQ;IACjBC,SAAS,EAAEV,UAAU,CACnB,kBAAkB,EAClB;MACE,yBAAyB,EAAEK,KAAK;MAChC,2BAA2B,EAAEC,OAAO;MACpC,2BAA2B,EAAEE,OAAO;MACpC,6BAA6B,EAAEO,SAAS;MACxC,wBAAsBR,IAAI,GAAKA;IACjC,CAAC,EACDG,SACF;EAAE,IAEDC,QACkB,CAAC;AAE1B,CACF,CAAC;AAEDT,aAAa,CAACmB,WAAW,GAAG,eAAe","ignoreList":[]}
|
|
@@ -2,6 +2,8 @@ import React, { HTMLAttributes, ReactNode } from "react";
|
|
|
2
2
|
export interface ITimesheetTotalRowProps extends HTMLAttributes<HTMLDivElement> {
|
|
3
3
|
/** Text of the name cell, for example Total. */
|
|
4
4
|
label?: ReactNode;
|
|
5
|
+
/** A control in the right corner of the label cell, for example an add button. */
|
|
6
|
+
action?: ReactNode;
|
|
5
7
|
/** The total of the week. Leave it empty for a zero total. */
|
|
6
8
|
total?: ReactNode;
|
|
7
9
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TimesheetTotalRow.d.ts","sourceRoot":"","sources":["../../../../src/components/Timesheet/TimesheetTotalRow.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,cAAc,EAAE,SAAS,EAAc,MAAM,OAAO,CAAC;AAUrE,MAAM,WAAW,uBACf,SAAQ,cAAc,CAAC,cAAc,CAAC;IACtC,gDAAgD;IAChD,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,8DAA8D;IAC9D,KAAK,CAAC,EAAE,SAAS,CAAC;CACnB;AAED,eAAO,MAAM,iBAAiB,
|
|
1
|
+
{"version":3,"file":"TimesheetTotalRow.d.ts","sourceRoot":"","sources":["../../../../src/components/Timesheet/TimesheetTotalRow.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,cAAc,EAAE,SAAS,EAAc,MAAM,OAAO,CAAC;AAUrE,MAAM,WAAW,uBACf,SAAQ,cAAc,CAAC,cAAc,CAAC;IACtC,gDAAgD;IAChD,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,kFAAkF;IAClF,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB,8DAA8D;IAC9D,KAAK,CAAC,EAAE,SAAS,CAAC;CACnB;AAED,eAAO,MAAM,iBAAiB,gGAoB5B,CAAC"}
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
2
2
|
import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";
|
|
3
|
-
const _excluded = ["label", "total", "className", "children"];
|
|
3
|
+
const _excluded = ["label", "action", "total", "className", "children"];
|
|
4
4
|
import React, { forwardRef } from "react";
|
|
5
5
|
import classnames from "classnames";
|
|
6
6
|
import { StyledTimesheetMembersCell, StyledTimesheetTotal, StyledTimesheetTotalRow } from "./Styles";
|
|
7
7
|
export const TimesheetTotalRow = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
8
8
|
let label = _ref.label,
|
|
9
|
+
action = _ref.action,
|
|
9
10
|
total = _ref.total,
|
|
10
11
|
className = _ref.className,
|
|
11
12
|
children = _ref.children,
|
|
@@ -15,7 +16,9 @@ export const TimesheetTotalRow = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
15
16
|
className: classnames("c-timesheet-total-row", className)
|
|
16
17
|
}), /*#__PURE__*/React.createElement(StyledTimesheetMembersCell, {
|
|
17
18
|
className: "c-timesheet-total-row__label"
|
|
18
|
-
}, /*#__PURE__*/React.createElement("span", null, label)
|
|
19
|
+
}, /*#__PURE__*/React.createElement("span", null, label), action ? /*#__PURE__*/React.createElement("span", {
|
|
20
|
+
className: "c-timesheet-total-row__action"
|
|
21
|
+
}, action) : null), children, /*#__PURE__*/React.createElement(StyledTimesheetTotal, {
|
|
19
22
|
className: "c-timesheet-total-row__total"
|
|
20
23
|
}, total));
|
|
21
24
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TimesheetTotalRow.js","names":["React","forwardRef","classnames","StyledTimesheetMembersCell","StyledTimesheetTotal","StyledTimesheetTotalRow","TimesheetTotalRow","_ref","ref","label","total","className","children","rest","_objectWithoutPropertiesLoose","_excluded","createElement","_extends","displayName"],"sources":["../../../../src/components/Timesheet/TimesheetTotalRow.tsx"],"sourcesContent":["import React, { HTMLAttributes, ReactNode, forwardRef } from \"react\";\n\nimport classnames from \"classnames\";\n\nimport {\n StyledTimesheetMembersCell,\n StyledTimesheetTotal,\n StyledTimesheetTotalRow,\n} from \"./Styles\";\n\nexport interface ITimesheetTotalRowProps\n extends HTMLAttributes<HTMLDivElement> {\n /** Text of the name cell, for example Total. */\n label?: ReactNode;\n /** The total of the week. Leave it empty for a zero total. */\n total?: ReactNode;\n}\n\nexport const TimesheetTotalRow = forwardRef<\n HTMLDivElement,\n ITimesheetTotalRowProps\n>(({ label, total, className, children, ...rest }, ref) => (\n <StyledTimesheetTotalRow\n {...rest}\n ref={ref}\n className={classnames(\"c-timesheet-total-row\", className)}\n >\n <StyledTimesheetMembersCell className=\"c-timesheet-total-row__label\">\n <span>{label}</span>\n </StyledTimesheetMembersCell>\n {children}\n <StyledTimesheetTotal className=\"c-timesheet-total-row__total\">\n {total}\n </StyledTimesheetTotal>\n </StyledTimesheetTotalRow>\n));\n\nTimesheetTotalRow.displayName = \"TimesheetTotalRow\";\n"],"mappings":";;;AAAA,OAAOA,KAAK,IAA+BC,UAAU,QAAQ,OAAO;AAEpE,OAAOC,UAAU,MAAM,YAAY;AAEnC,SACEC,0BAA0B,EAC1BC,oBAAoB,EACpBC,uBAAuB,QAClB,UAAU;
|
|
1
|
+
{"version":3,"file":"TimesheetTotalRow.js","names":["React","forwardRef","classnames","StyledTimesheetMembersCell","StyledTimesheetTotal","StyledTimesheetTotalRow","TimesheetTotalRow","_ref","ref","label","action","total","className","children","rest","_objectWithoutPropertiesLoose","_excluded","createElement","_extends","displayName"],"sources":["../../../../src/components/Timesheet/TimesheetTotalRow.tsx"],"sourcesContent":["import React, { HTMLAttributes, ReactNode, forwardRef } from \"react\";\n\nimport classnames from \"classnames\";\n\nimport {\n StyledTimesheetMembersCell,\n StyledTimesheetTotal,\n StyledTimesheetTotalRow,\n} from \"./Styles\";\n\nexport interface ITimesheetTotalRowProps\n extends HTMLAttributes<HTMLDivElement> {\n /** Text of the name cell, for example Total. */\n label?: ReactNode;\n /** A control in the right corner of the label cell, for example an add button. */\n action?: ReactNode;\n /** The total of the week. Leave it empty for a zero total. */\n total?: ReactNode;\n}\n\nexport const TimesheetTotalRow = forwardRef<\n HTMLDivElement,\n ITimesheetTotalRowProps\n>(({ label, action, total, className, children, ...rest }, ref) => (\n <StyledTimesheetTotalRow\n {...rest}\n ref={ref}\n className={classnames(\"c-timesheet-total-row\", className)}\n >\n <StyledTimesheetMembersCell className=\"c-timesheet-total-row__label\">\n <span>{label}</span>\n {action ? (\n <span className=\"c-timesheet-total-row__action\">{action}</span>\n ) : null}\n </StyledTimesheetMembersCell>\n {children}\n <StyledTimesheetTotal className=\"c-timesheet-total-row__total\">\n {total}\n </StyledTimesheetTotal>\n </StyledTimesheetTotalRow>\n));\n\nTimesheetTotalRow.displayName = \"TimesheetTotalRow\";\n"],"mappings":";;;AAAA,OAAOA,KAAK,IAA+BC,UAAU,QAAQ,OAAO;AAEpE,OAAOC,UAAU,MAAM,YAAY;AAEnC,SACEC,0BAA0B,EAC1BC,oBAAoB,EACpBC,uBAAuB,QAClB,UAAU;AAYjB,OAAO,MAAMC,iBAAiB,gBAAGL,UAAU,CAGzC,CAAAM,IAAA,EAAyDC,GAAG;EAAA,IAAzDC,KAAK,GAAAF,IAAA,CAALE,KAAK;IAAEC,MAAM,GAAAH,IAAA,CAANG,MAAM;IAAEC,KAAK,GAAAJ,IAAA,CAALI,KAAK;IAAEC,SAAS,GAAAL,IAAA,CAATK,SAAS;IAAEC,QAAQ,GAAAN,IAAA,CAARM,QAAQ;IAAKC,IAAI,GAAAC,6BAAA,CAAAR,IAAA,EAAAS,SAAA;EAAA,oBACrDhB,KAAA,CAAAiB,aAAA,CAACZ,uBAAuB,EAAAa,QAAA,KAClBJ,IAAI;IACRN,GAAG,EAAEA,GAAI;IACTI,SAAS,EAAEV,UAAU,CAAC,uBAAuB,EAAEU,SAAS;EAAE,iBAE1DZ,KAAA,CAAAiB,aAAA,CAACd,0BAA0B;IAACS,SAAS,EAAC;EAA8B,gBAClEZ,KAAA,CAAAiB,aAAA,eAAOR,KAAY,CAAC,EACnBC,MAAM,gBACLV,KAAA,CAAAiB,aAAA;IAAML,SAAS,EAAC;EAA+B,GAAEF,MAAa,CAAC,GAC7D,IACsB,CAAC,EAC5BG,QAAQ,eACTb,KAAA,CAAAiB,aAAA,CAACb,oBAAoB;IAACQ,SAAS,EAAC;EAA8B,GAC3DD,KACmB,CACC,CAAC;AAAA,CAC3B,CAAC;AAEFL,iBAAiB,CAACa,WAAW,GAAG,mBAAmB","ignoreList":[]}
|
|
@@ -1,6 +1,20 @@
|
|
|
1
1
|
export declare const StyledViewSwitcher: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
2
2
|
export declare const StyledViewSwitcherTrack: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
3
3
|
export declare const StyledViewSwitcherOption: import("styled-components").StyledComponent<"button", any, {}, never>;
|
|
4
|
+
export declare const StyledViewSwitcherMenuOption: import("styled-components").StyledComponent<"button", any, {}, never>;
|
|
5
|
+
export declare const StyledViewSwitcherMenuIcon: import("styled-components").StyledComponent<"span", any, {}, never>;
|
|
6
|
+
export declare const StyledViewSwitcherMenuList: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("..").ListProps & {
|
|
7
|
+
children?: import("react").ReactNode | undefined;
|
|
8
|
+
} & import("react").HTMLAttributes<HTMLUListElement> & import("react").RefAttributes<HTMLUListElement>> & {
|
|
9
|
+
Item: import("react").ForwardRefExoticComponent<import("..").ListItemProps & {
|
|
10
|
+
children?: import("react").ReactNode | undefined;
|
|
11
|
+
} & import("react").HTMLAttributes<HTMLLIElement> & import("react").RefAttributes<HTMLLIElement>>;
|
|
12
|
+
Separator: {
|
|
13
|
+
({ className, ...props }: import("react").HTMLAttributes<HTMLDivElement>): import("react").JSX.Element;
|
|
14
|
+
displayName: string;
|
|
15
|
+
};
|
|
16
|
+
}, any, {}, never>;
|
|
17
|
+
export declare const StyledViewSwitcherMenuLabel: import("styled-components").StyledComponent<"span", any, {}, never>;
|
|
4
18
|
export declare const StyledViewSwitcherPreview: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
5
19
|
export declare const StyledViewSwitcherThumbnail: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
6
20
|
export declare const StyledViewSwitcherOffer: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Styles.d.ts","sourceRoot":"","sources":["../../../../src/components/ViewSwitcher/Styles.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Styles.d.ts","sourceRoot":"","sources":["../../../../src/components/ViewSwitcher/Styles.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,kBAAkB,oEAI9B,CAAC;AAIF,eAAO,MAAM,uBAAuB,oEAQnC,CAAC;AAIF,eAAO,MAAM,wBAAwB,uEA2CpC,CAAC;AAIF,eAAO,MAAM,4BAA4B,uEAwDxC,CAAC;AAIF,eAAO,MAAM,0BAA0B,qEAKtC,CAAC;AAIF,eAAO,MAAM,0BAA0B;;;;;;;;;;kBAEtC,CAAC;AAIF,eAAO,MAAM,2BAA2B,qEAOvC,CAAC;AAIF,eAAO,MAAM,yBAAyB,oEAYrC,CAAC;AAIF,eAAO,MAAM,2BAA2B,oEAQvC,CAAC;AAIF,eAAO,MAAM,uBAAuB,oEAiCnC,CAAC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import styled from "styled-components";
|
|
2
2
|
import { BoxSizingStyle } from "../BoxSizingStyle";
|
|
3
|
+
import { List } from "../List";
|
|
3
4
|
export const StyledViewSwitcher = styled.div.withConfig({
|
|
4
5
|
displayName: "Styles__StyledViewSwitcher",
|
|
5
6
|
componentId: "sc-1cg2mte-0"
|
|
@@ -15,19 +16,39 @@ export const StyledViewSwitcherOption = styled.button.withConfig({
|
|
|
15
16
|
componentId: "sc-1cg2mte-2"
|
|
16
17
|
})(["", " display:inline-flex;align-items:center;justify-content:center;width:34px;height:26px;margin:0;padding:0;border:0;border-radius:var(--ac-br-rounded);background-color:transparent;cursor:pointer;outline:none;transition:background-color 150ms ease,box-shadow 150ms ease;svg{width:20px;height:20px;fill:var(--color-theme-700);}&:hover{background-color:color-mix( in srgb,var(--color-theme-900) 16%,transparent );}&[aria-checked=\"true\"]{background-color:var(--page-paper-main);box-shadow:var(--shadow-float);cursor:default;svg{fill:var(--color-theme-900);}}&:focus-visible{box-shadow:0 0 0 2px var(--color-primary);}"], BoxSizingStyle);
|
|
17
18
|
StyledViewSwitcherOption.displayName = "StyledViewSwitcherOption";
|
|
19
|
+
export const StyledViewSwitcherMenuOption = styled.button.withConfig({
|
|
20
|
+
displayName: "Styles__StyledViewSwitcherMenuOption",
|
|
21
|
+
componentId: "sc-1cg2mte-3"
|
|
22
|
+
})(["", " display:inline-flex;align-items:center;gap:4px;height:26px;margin:0;padding:0 8px 0 12px;border:0;border-radius:var(--ac-br-rounded);background-color:var(--page-paper-main);box-shadow:var(--shadow-float);color:var(--color-theme-900);font-size:calc(13px * var(--text-scale,1));white-space:nowrap;cursor:pointer;outline:none;svg{flex-shrink:0;fill:var(--color-theme-900);}&:has(.c-view-switcher-menu__icon){padding-left:8px;}.c-view-switcher-menu__values{display:inline-grid;}.c-view-switcher-menu__value{display:inline-flex;grid-area:1 / 1;align-items:center;gap:4px;visibility:hidden;}.c-view-switcher-menu__value[data-selected=\"true\"]{visibility:visible;}.c-view-switcher-menu__icon{display:inline-flex;flex-shrink:0;}.c-view-switcher-menu__icon svg{width:20px;height:20px;}&:focus-visible{box-shadow:0 0 0 2px var(--color-primary);}"], BoxSizingStyle);
|
|
23
|
+
StyledViewSwitcherMenuOption.displayName = "StyledViewSwitcherMenuOption";
|
|
24
|
+
export const StyledViewSwitcherMenuIcon = styled.span.withConfig({
|
|
25
|
+
displayName: "Styles__StyledViewSwitcherMenuIcon",
|
|
26
|
+
componentId: "sc-1cg2mte-4"
|
|
27
|
+
})(["display:inline-flex;flex-shrink:0;margin-right:8px;fill:var(--color-theme-900);"]);
|
|
28
|
+
StyledViewSwitcherMenuIcon.displayName = "StyledViewSwitcherMenuIcon";
|
|
29
|
+
export const StyledViewSwitcherMenuList = styled(List).withConfig({
|
|
30
|
+
displayName: "Styles__StyledViewSwitcherMenuList",
|
|
31
|
+
componentId: "sc-1cg2mte-5"
|
|
32
|
+
})(["padding:8px 0;"]);
|
|
33
|
+
StyledViewSwitcherMenuList.displayName = "StyledViewSwitcherMenuList";
|
|
34
|
+
export const StyledViewSwitcherMenuLabel = styled.span.withConfig({
|
|
35
|
+
displayName: "Styles__StyledViewSwitcherMenuLabel",
|
|
36
|
+
componentId: "sc-1cg2mte-6"
|
|
37
|
+
})(["flex:1;&[data-selected=\"true\"]{font-weight:bold;color:var(--color-primary);}"]);
|
|
38
|
+
StyledViewSwitcherMenuLabel.displayName = "StyledViewSwitcherMenuLabel";
|
|
18
39
|
export const StyledViewSwitcherPreview = styled.div.withConfig({
|
|
19
40
|
displayName: "Styles__StyledViewSwitcherPreview",
|
|
20
|
-
componentId: "sc-1cg2mte-
|
|
41
|
+
componentId: "sc-1cg2mte-7"
|
|
21
42
|
})(["", " display:flex;flex-direction:column;gap:8px;width:180px;padding:10px;border:1px solid var(--border-raised);border-radius:var(--ac-br-8);background-color:var(--input-background-color);box-shadow:var(--shadow-popover);pointer-events:none;"], BoxSizingStyle);
|
|
22
43
|
StyledViewSwitcherPreview.displayName = "StyledViewSwitcherPreview";
|
|
23
44
|
export const StyledViewSwitcherThumbnail = styled.div.withConfig({
|
|
24
45
|
displayName: "Styles__StyledViewSwitcherThumbnail",
|
|
25
|
-
componentId: "sc-1cg2mte-
|
|
46
|
+
componentId: "sc-1cg2mte-8"
|
|
26
47
|
})(["", " position:relative;width:100%;height:64px;overflow:hidden;border-radius:var(--ac-br-4);background-color:var(--surface-sheet);"], BoxSizingStyle);
|
|
27
48
|
StyledViewSwitcherThumbnail.displayName = "StyledViewSwitcherThumbnail";
|
|
28
49
|
export const StyledViewSwitcherOffer = styled.div.withConfig({
|
|
29
50
|
displayName: "Styles__StyledViewSwitcherOffer",
|
|
30
|
-
componentId: "sc-1cg2mte-
|
|
51
|
+
componentId: "sc-1cg2mte-9"
|
|
31
52
|
})(["", " display:flex;flex-direction:column;gap:8px;width:260px;padding:10px 14px;border:1px solid var(--border-raised);border-radius:var(--ac-br-8);background-color:var(--page-paper-main);box-shadow:var(--shadow-popover);.c-view-switcher__offer-title{display:flex;align-items:center;gap:8px;}.c-view-switcher__offer-title svg{width:18px;height:18px;flex-shrink:0;fill:var(--color-primary);}.c-view-switcher__offer-action{align-self:flex-start;height:28px;padding:0 10px;border-color:var(--border-raised);border-radius:var(--ac-br-6);color:var(--color-theme-700);}"], BoxSizingStyle);
|
|
32
53
|
StyledViewSwitcherOffer.displayName = "StyledViewSwitcherOffer";
|
|
33
54
|
//# sourceMappingURL=Styles.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Styles.js","names":["styled","BoxSizingStyle","StyledViewSwitcher","div","withConfig","displayName","componentId","StyledViewSwitcherTrack","StyledViewSwitcherOption","button","StyledViewSwitcherPreview","StyledViewSwitcherThumbnail","StyledViewSwitcherOffer"],"sources":["../../../../src/components/ViewSwitcher/Styles.ts"],"sourcesContent":["import styled from \"styled-components\";\n\nimport { BoxSizingStyle } from \"../BoxSizingStyle\";\n\nexport const StyledViewSwitcher = styled.div`\n ${BoxSizingStyle}\n display: inline-flex;\n flex-shrink: 0;\n`;\n\nStyledViewSwitcher.displayName = \"StyledViewSwitcher\";\n\nexport const StyledViewSwitcherTrack = styled.div`\n ${BoxSizingStyle}\n display: inline-flex;\n align-items: center;\n height: 32px;\n padding: 3px;\n border-radius: var(--ac-br-rounded);\n background-color: var(--color-theme-300);\n`;\n\nStyledViewSwitcherTrack.displayName = \"StyledViewSwitcherTrack\";\n\nexport const StyledViewSwitcherOption = styled.button`\n ${BoxSizingStyle}\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: 34px;\n height: 26px;\n margin: 0;\n padding: 0;\n border: 0;\n border-radius: var(--ac-br-rounded);\n background-color: transparent;\n cursor: pointer;\n outline: none;\n transition: background-color 150ms ease, box-shadow 150ms ease;\n\n svg {\n width: 20px;\n height: 20px;\n fill: var(--color-theme-700);\n }\n\n &:hover {\n background-color: color-mix(\n in srgb,\n var(--color-theme-900) 16%,\n transparent\n );\n }\n\n &[aria-checked=\"true\"] {\n background-color: var(--page-paper-main);\n box-shadow: var(--shadow-float);\n cursor: default;\n\n svg {\n fill: var(--color-theme-900);\n }\n }\n\n &:focus-visible {\n box-shadow: 0 0 0 2px var(--color-primary);\n }\n`;\n\nStyledViewSwitcherOption.displayName = \"StyledViewSwitcherOption\";\n\nexport const StyledViewSwitcherPreview = styled.div`\n ${BoxSizingStyle}\n display: flex;\n flex-direction: column;\n gap: 8px;\n width: 180px;\n padding: 10px;\n border: 1px solid var(--border-raised);\n border-radius: var(--ac-br-8);\n background-color: var(--input-background-color);\n box-shadow: var(--shadow-popover);\n pointer-events: none;\n`;\n\nStyledViewSwitcherPreview.displayName = \"StyledViewSwitcherPreview\";\n\nexport const StyledViewSwitcherThumbnail = styled.div`\n ${BoxSizingStyle}\n position: relative;\n width: 100%;\n height: 64px;\n overflow: hidden;\n border-radius: var(--ac-br-4);\n background-color: var(--surface-sheet);\n`;\n\nStyledViewSwitcherThumbnail.displayName = \"StyledViewSwitcherThumbnail\";\n\nexport const StyledViewSwitcherOffer = styled.div`\n ${BoxSizingStyle}\n display: flex;\n flex-direction: column;\n gap: 8px;\n width: 260px;\n padding: 10px 14px;\n border: 1px solid var(--border-raised);\n border-radius: var(--ac-br-8);\n background-color: var(--page-paper-main);\n box-shadow: var(--shadow-popover);\n\n .c-view-switcher__offer-title {\n display: flex;\n align-items: center;\n gap: 8px;\n }\n\n .c-view-switcher__offer-title svg {\n width: 18px;\n height: 18px;\n flex-shrink: 0;\n fill: var(--color-primary);\n }\n\n .c-view-switcher__offer-action {\n align-self: flex-start;\n height: 28px;\n padding: 0 10px;\n border-color: var(--border-raised);\n border-radius: var(--ac-br-6);\n color: var(--color-theme-700);\n }\n`;\n\nStyledViewSwitcherOffer.displayName = \"StyledViewSwitcherOffer\";\n"],"mappings":"AAAA,OAAOA,MAAM,MAAM,mBAAmB;AAEtC,SAASC,cAAc,QAAQ,mBAAmB;
|
|
1
|
+
{"version":3,"file":"Styles.js","names":["styled","BoxSizingStyle","List","StyledViewSwitcher","div","withConfig","displayName","componentId","StyledViewSwitcherTrack","StyledViewSwitcherOption","button","StyledViewSwitcherMenuOption","StyledViewSwitcherMenuIcon","span","StyledViewSwitcherMenuList","StyledViewSwitcherMenuLabel","StyledViewSwitcherPreview","StyledViewSwitcherThumbnail","StyledViewSwitcherOffer"],"sources":["../../../../src/components/ViewSwitcher/Styles.ts"],"sourcesContent":["import styled from \"styled-components\";\n\nimport { BoxSizingStyle } from \"../BoxSizingStyle\";\nimport { List } from \"../List\";\n\nexport const StyledViewSwitcher = styled.div`\n ${BoxSizingStyle}\n display: inline-flex;\n flex-shrink: 0;\n`;\n\nStyledViewSwitcher.displayName = \"StyledViewSwitcher\";\n\nexport const StyledViewSwitcherTrack = styled.div`\n ${BoxSizingStyle}\n display: inline-flex;\n align-items: center;\n height: 32px;\n padding: 3px;\n border-radius: var(--ac-br-rounded);\n background-color: var(--color-theme-300);\n`;\n\nStyledViewSwitcherTrack.displayName = \"StyledViewSwitcherTrack\";\n\nexport const StyledViewSwitcherOption = styled.button`\n ${BoxSizingStyle}\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: 34px;\n height: 26px;\n margin: 0;\n padding: 0;\n border: 0;\n border-radius: var(--ac-br-rounded);\n background-color: transparent;\n cursor: pointer;\n outline: none;\n transition: background-color 150ms ease, box-shadow 150ms ease;\n\n svg {\n width: 20px;\n height: 20px;\n fill: var(--color-theme-700);\n }\n\n &:hover {\n background-color: color-mix(\n in srgb,\n var(--color-theme-900) 16%,\n transparent\n );\n }\n\n &[aria-checked=\"true\"] {\n background-color: var(--page-paper-main);\n box-shadow: var(--shadow-float);\n cursor: default;\n\n svg {\n fill: var(--color-theme-900);\n }\n }\n\n &:focus-visible {\n box-shadow: 0 0 0 2px var(--color-primary);\n }\n`;\n\nStyledViewSwitcherOption.displayName = \"StyledViewSwitcherOption\";\n\nexport const StyledViewSwitcherMenuOption = styled.button`\n ${BoxSizingStyle}\n display: inline-flex;\n align-items: center;\n gap: 4px;\n height: 26px;\n margin: 0;\n padding: 0 8px 0 12px;\n border: 0;\n border-radius: var(--ac-br-rounded);\n background-color: var(--page-paper-main);\n box-shadow: var(--shadow-float);\n color: var(--color-theme-900);\n font-size: calc(13px * var(--text-scale, 1));\n white-space: nowrap;\n cursor: pointer;\n outline: none;\n\n svg {\n flex-shrink: 0;\n fill: var(--color-theme-900);\n }\n\n &:has(.c-view-switcher-menu__icon) {\n padding-left: 8px;\n }\n\n .c-view-switcher-menu__values {\n display: inline-grid;\n }\n\n .c-view-switcher-menu__value {\n display: inline-flex;\n grid-area: 1 / 1;\n align-items: center;\n gap: 4px;\n visibility: hidden;\n }\n\n .c-view-switcher-menu__value[data-selected=\"true\"] {\n visibility: visible;\n }\n\n .c-view-switcher-menu__icon {\n display: inline-flex;\n flex-shrink: 0;\n }\n\n .c-view-switcher-menu__icon svg {\n width: 20px;\n height: 20px;\n }\n\n &:focus-visible {\n box-shadow: 0 0 0 2px var(--color-primary);\n }\n`;\n\nStyledViewSwitcherMenuOption.displayName = \"StyledViewSwitcherMenuOption\";\n\nexport const StyledViewSwitcherMenuIcon = styled.span`\n display: inline-flex;\n flex-shrink: 0;\n margin-right: 8px;\n fill: var(--color-theme-900);\n`;\n\nStyledViewSwitcherMenuIcon.displayName = \"StyledViewSwitcherMenuIcon\";\n\nexport const StyledViewSwitcherMenuList = styled(List)`\n padding: 8px 0;\n`;\n\nStyledViewSwitcherMenuList.displayName = \"StyledViewSwitcherMenuList\";\n\nexport const StyledViewSwitcherMenuLabel = styled.span`\n flex: 1;\n\n &[data-selected=\"true\"] {\n font-weight: bold;\n color: var(--color-primary);\n }\n`;\n\nStyledViewSwitcherMenuLabel.displayName = \"StyledViewSwitcherMenuLabel\";\n\nexport const StyledViewSwitcherPreview = styled.div`\n ${BoxSizingStyle}\n display: flex;\n flex-direction: column;\n gap: 8px;\n width: 180px;\n padding: 10px;\n border: 1px solid var(--border-raised);\n border-radius: var(--ac-br-8);\n background-color: var(--input-background-color);\n box-shadow: var(--shadow-popover);\n pointer-events: none;\n`;\n\nStyledViewSwitcherPreview.displayName = \"StyledViewSwitcherPreview\";\n\nexport const StyledViewSwitcherThumbnail = styled.div`\n ${BoxSizingStyle}\n position: relative;\n width: 100%;\n height: 64px;\n overflow: hidden;\n border-radius: var(--ac-br-4);\n background-color: var(--surface-sheet);\n`;\n\nStyledViewSwitcherThumbnail.displayName = \"StyledViewSwitcherThumbnail\";\n\nexport const StyledViewSwitcherOffer = styled.div`\n ${BoxSizingStyle}\n display: flex;\n flex-direction: column;\n gap: 8px;\n width: 260px;\n padding: 10px 14px;\n border: 1px solid var(--border-raised);\n border-radius: var(--ac-br-8);\n background-color: var(--page-paper-main);\n box-shadow: var(--shadow-popover);\n\n .c-view-switcher__offer-title {\n display: flex;\n align-items: center;\n gap: 8px;\n }\n\n .c-view-switcher__offer-title svg {\n width: 18px;\n height: 18px;\n flex-shrink: 0;\n fill: var(--color-primary);\n }\n\n .c-view-switcher__offer-action {\n align-self: flex-start;\n height: 28px;\n padding: 0 10px;\n border-color: var(--border-raised);\n border-radius: var(--ac-br-6);\n color: var(--color-theme-700);\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AOrD;AAEDQ,2BAA2B,CAACT,WAAW,GAAG,6BAA6B;AAEvE,OAAO,MAAMU,yBAAyB,GAAGhB,MAAM,CAACI,GAAG,CAAAC,UAAA;EAAAC,WAAA;EAAAC,WAAA;AAAA,yPAC/CN,cAAc,CAWjB;AAEDe,yBAAyB,CAACV,WAAW,GAAG,2BAA2B;AAEnE,OAAO,MAAMW,2BAA2B,GAAGjB,MAAM,CAACI,GAAG,CAAAC,UAAA;EAAAC,WAAA;EAAAC,WAAA;AAAA,0IACjDN,cAAc,CAOjB;AAEDgB,2BAA2B,CAACX,WAAW,GAAG,6BAA6B;AAEvE,OAAO,MAAMY,uBAAuB,GAAGlB,MAAM,CAACI,GAAG,CAAAC,UAAA;EAAAC,WAAA;EAAAC,WAAA;AAAA,yjBAC7CN,cAAc,CAgCjB;AAEDiB,uBAAuB,CAACZ,WAAW,GAAG,yBAAyB","ignoreList":[]}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import React, { HTMLAttributes, ReactNode } from "react";
|
|
2
|
+
export interface ViewSwitcherMenuOption {
|
|
3
|
+
id: string;
|
|
4
|
+
label: string;
|
|
5
|
+
/** DS icon element. */
|
|
6
|
+
icon?: ReactNode;
|
|
7
|
+
}
|
|
8
|
+
export interface ViewSwitcherMenuProps extends Omit<HTMLAttributes<HTMLDivElement>, "onChange"> {
|
|
9
|
+
options: ViewSwitcherMenuOption[];
|
|
10
|
+
/** Id of the selected option. */
|
|
11
|
+
value?: string;
|
|
12
|
+
onChange: (id: string) => void;
|
|
13
|
+
/** Accessible name of the trigger. The selected option follows it. */
|
|
14
|
+
"aria-label"?: string;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* @component ViewSwitcherMenu
|
|
18
|
+
* @description
|
|
19
|
+
* Second level of a ViewSwitcher: a dropdown with the look of the checked ViewSwitcher option. It
|
|
20
|
+
* shows the icon and the name of the selected option and lists all options with their icons. Its width
|
|
21
|
+
* fits the widest option, so a new selection does not move the controls around it.
|
|
22
|
+
*
|
|
23
|
+
* @example
|
|
24
|
+
* <ViewSwitcherMenu
|
|
25
|
+
* aria-label="Group by"
|
|
26
|
+
* options={[
|
|
27
|
+
* { id: "start_date", label: "Start Date", icon: <ClockIcon /> },
|
|
28
|
+
* { id: "date", label: "Due Date", icon: <CalendarIcon /> },
|
|
29
|
+
* ]}
|
|
30
|
+
* value={view}
|
|
31
|
+
* onChange={setView}
|
|
32
|
+
* />
|
|
33
|
+
*/
|
|
34
|
+
export declare const ViewSwitcherMenu: React.ForwardRefExoticComponent<ViewSwitcherMenuProps & React.RefAttributes<HTMLDivElement>>;
|
|
35
|
+
//# sourceMappingURL=ViewSwitcherMenu.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ViewSwitcherMenu.d.ts","sourceRoot":"","sources":["../../../../src/components/ViewSwitcher/ViewSwitcherMenu.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAc,cAAc,EAAE,SAAS,EAAY,MAAM,OAAO,CAAC;AAgB/E,MAAM,WAAW,sBAAsB;IACrC,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,uBAAuB;IACvB,IAAI,CAAC,EAAE,SAAS,CAAC;CAClB;AAED,MAAM,WAAW,qBACf,SAAQ,IAAI,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,UAAU,CAAC;IACxD,OAAO,EAAE,sBAAsB,EAAE,CAAC;IAClC,iCAAiC;IACjC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IAC/B,sEAAsE;IACtE,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED;;;;;;;;;;;;;;;;;GAiBG;AACH,eAAO,MAAM,gBAAgB,8FAuF5B,CAAC"}
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
2
|
+
import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";
|
|
3
|
+
const _excluded = ["options", "value", "onChange", "aria-label", "className"];
|
|
4
|
+
import React, { forwardRef, useState } from "react";
|
|
5
|
+
import classnames from "classnames";
|
|
6
|
+
import { StyledViewSwitcher, StyledViewSwitcherMenuIcon, StyledViewSwitcherMenuLabel, StyledViewSwitcherMenuList, StyledViewSwitcherMenuOption, StyledViewSwitcherTrack } from "./Styles";
|
|
7
|
+
import { ArrowDownSmallIcon } from "../Icons";
|
|
8
|
+
import { ListItem } from "../List";
|
|
9
|
+
import { Menu } from "../Menu";
|
|
10
|
+
/**
|
|
11
|
+
* @component ViewSwitcherMenu
|
|
12
|
+
* @description
|
|
13
|
+
* Second level of a ViewSwitcher: a dropdown with the look of the checked ViewSwitcher option. It
|
|
14
|
+
* shows the icon and the name of the selected option and lists all options with their icons. Its width
|
|
15
|
+
* fits the widest option, so a new selection does not move the controls around it.
|
|
16
|
+
*
|
|
17
|
+
* @example
|
|
18
|
+
* <ViewSwitcherMenu
|
|
19
|
+
* aria-label="Group by"
|
|
20
|
+
* options={[
|
|
21
|
+
* { id: "start_date", label: "Start Date", icon: <ClockIcon /> },
|
|
22
|
+
* { id: "date", label: "Due Date", icon: <CalendarIcon /> },
|
|
23
|
+
* ]}
|
|
24
|
+
* value={view}
|
|
25
|
+
* onChange={setView}
|
|
26
|
+
* />
|
|
27
|
+
*/
|
|
28
|
+
export const ViewSwitcherMenu = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
29
|
+
var _options$find;
|
|
30
|
+
let options = _ref.options,
|
|
31
|
+
value = _ref.value,
|
|
32
|
+
onChange = _ref.onChange,
|
|
33
|
+
ariaLabel = _ref["aria-label"],
|
|
34
|
+
className = _ref.className,
|
|
35
|
+
rest = _objectWithoutPropertiesLoose(_ref, _excluded);
|
|
36
|
+
const _useState = useState(false),
|
|
37
|
+
open = _useState[0],
|
|
38
|
+
setOpen = _useState[1];
|
|
39
|
+
const selected = (_options$find = options.find(_ref2 => {
|
|
40
|
+
let id = _ref2.id;
|
|
41
|
+
return id === value;
|
|
42
|
+
})) != null ? _options$find : options[0];
|
|
43
|
+
return /*#__PURE__*/React.createElement(StyledViewSwitcher, _extends({
|
|
44
|
+
ref: ref,
|
|
45
|
+
className: classnames("c-view-switcher-menu", className)
|
|
46
|
+
}, rest), /*#__PURE__*/React.createElement(Menu, {
|
|
47
|
+
open: open,
|
|
48
|
+
onOpen: () => setOpen(true),
|
|
49
|
+
onClose: () => setOpen(false),
|
|
50
|
+
position: "bottom-end",
|
|
51
|
+
target: /*#__PURE__*/React.createElement(StyledViewSwitcherTrack, {
|
|
52
|
+
className: "c-view-switcher__track"
|
|
53
|
+
}, /*#__PURE__*/React.createElement(StyledViewSwitcherMenuOption, {
|
|
54
|
+
type: "button",
|
|
55
|
+
"aria-haspopup": "menu",
|
|
56
|
+
"aria-expanded": open,
|
|
57
|
+
"aria-label": ariaLabel ? ariaLabel + ": " + (selected == null ? void 0 : selected.label) : selected == null ? void 0 : selected.label,
|
|
58
|
+
className: "c-view-switcher-menu__trigger"
|
|
59
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
60
|
+
className: "c-view-switcher-menu__values"
|
|
61
|
+
}, options.map(_ref3 => {
|
|
62
|
+
let id = _ref3.id,
|
|
63
|
+
label = _ref3.label,
|
|
64
|
+
icon = _ref3.icon;
|
|
65
|
+
return /*#__PURE__*/React.createElement("span", {
|
|
66
|
+
key: id,
|
|
67
|
+
"aria-hidden": id !== (selected == null ? void 0 : selected.id),
|
|
68
|
+
"data-selected": id === (selected == null ? void 0 : selected.id),
|
|
69
|
+
className: "c-view-switcher-menu__value"
|
|
70
|
+
}, icon ? /*#__PURE__*/React.createElement("span", {
|
|
71
|
+
className: "c-view-switcher-menu__icon"
|
|
72
|
+
}, icon) : null, label);
|
|
73
|
+
})), /*#__PURE__*/React.createElement(ArrowDownSmallIcon, null)))
|
|
74
|
+
}, /*#__PURE__*/React.createElement(StyledViewSwitcherMenuList, null, options.map(_ref4 => {
|
|
75
|
+
let id = _ref4.id,
|
|
76
|
+
label = _ref4.label,
|
|
77
|
+
icon = _ref4.icon;
|
|
78
|
+
return /*#__PURE__*/React.createElement(ListItem, {
|
|
79
|
+
key: id,
|
|
80
|
+
"aria-selected": id === (selected == null ? void 0 : selected.id),
|
|
81
|
+
onClick: () => {
|
|
82
|
+
setOpen(false);
|
|
83
|
+
if (id !== value) {
|
|
84
|
+
onChange(id);
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
}, icon ? /*#__PURE__*/React.createElement(StyledViewSwitcherMenuIcon, null, icon) : null, /*#__PURE__*/React.createElement(StyledViewSwitcherMenuLabel, {
|
|
88
|
+
"data-selected": id === (selected == null ? void 0 : selected.id)
|
|
89
|
+
}, label));
|
|
90
|
+
}))));
|
|
91
|
+
});
|
|
92
|
+
ViewSwitcherMenu.displayName = "ViewSwitcherMenu";
|
|
93
|
+
//# sourceMappingURL=ViewSwitcherMenu.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ViewSwitcherMenu.js","names":["React","forwardRef","useState","classnames","StyledViewSwitcher","StyledViewSwitcherMenuIcon","StyledViewSwitcherMenuLabel","StyledViewSwitcherMenuList","StyledViewSwitcherMenuOption","StyledViewSwitcherTrack","ArrowDownSmallIcon","ListItem","Menu","ViewSwitcherMenu","_ref","ref","_options$find","options","value","onChange","ariaLabel","className","rest","_objectWithoutPropertiesLoose","_excluded","_useState","open","setOpen","selected","find","_ref2","id","createElement","_extends","onOpen","onClose","position","target","type","label","map","_ref3","icon","key","_ref4","onClick","displayName"],"sources":["../../../../src/components/ViewSwitcher/ViewSwitcherMenu.tsx"],"sourcesContent":["import React, { forwardRef, HTMLAttributes, ReactNode, useState } from \"react\";\n\nimport classnames from \"classnames\";\n\nimport {\n StyledViewSwitcher,\n StyledViewSwitcherMenuIcon,\n StyledViewSwitcherMenuLabel,\n StyledViewSwitcherMenuList,\n StyledViewSwitcherMenuOption,\n StyledViewSwitcherTrack,\n} from \"./Styles\";\nimport { ArrowDownSmallIcon } from \"../Icons\";\nimport { ListItem } from \"../List\";\nimport { Menu } from \"../Menu\";\n\nexport interface ViewSwitcherMenuOption {\n id: string;\n label: string;\n /** DS icon element. */\n icon?: ReactNode;\n}\n\nexport interface ViewSwitcherMenuProps\n extends Omit<HTMLAttributes<HTMLDivElement>, \"onChange\"> {\n options: ViewSwitcherMenuOption[];\n /** Id of the selected option. */\n value?: string;\n onChange: (id: string) => void;\n /** Accessible name of the trigger. The selected option follows it. */\n \"aria-label\"?: string;\n}\n\n/**\n * @component ViewSwitcherMenu\n * @description\n * Second level of a ViewSwitcher: a dropdown with the look of the checked ViewSwitcher option. It\n * shows the icon and the name of the selected option and lists all options with their icons. Its width\n * fits the widest option, so a new selection does not move the controls around it.\n *\n * @example\n * <ViewSwitcherMenu\n * aria-label=\"Group by\"\n * options={[\n * { id: \"start_date\", label: \"Start Date\", icon: <ClockIcon /> },\n * { id: \"date\", label: \"Due Date\", icon: <CalendarIcon /> },\n * ]}\n * value={view}\n * onChange={setView}\n * />\n */\nexport const ViewSwitcherMenu = forwardRef<\n HTMLDivElement,\n ViewSwitcherMenuProps\n>(\n (\n { options, value, onChange, \"aria-label\": ariaLabel, className, ...rest },\n ref\n ) => {\n const [open, setOpen] = useState(false);\n const selected = options.find(({ id }) => id === value) ?? options[0];\n\n return (\n <StyledViewSwitcher\n ref={ref}\n className={classnames(\"c-view-switcher-menu\", className)}\n {...rest}\n >\n <Menu\n open={open}\n onOpen={() => setOpen(true)}\n onClose={() => setOpen(false)}\n position=\"bottom-end\"\n target={\n <StyledViewSwitcherTrack className=\"c-view-switcher__track\">\n <StyledViewSwitcherMenuOption\n type=\"button\"\n aria-haspopup=\"menu\"\n aria-expanded={open}\n aria-label={\n ariaLabel\n ? `${ariaLabel}: ${selected?.label}`\n : selected?.label\n }\n className=\"c-view-switcher-menu__trigger\"\n >\n <span className=\"c-view-switcher-menu__values\">\n {options.map(({ id, label, icon }) => (\n <span\n key={id}\n aria-hidden={id !== selected?.id}\n data-selected={id === selected?.id}\n className=\"c-view-switcher-menu__value\"\n >\n {icon ? (\n <span className=\"c-view-switcher-menu__icon\">\n {icon}\n </span>\n ) : null}\n {label}\n </span>\n ))}\n </span>\n <ArrowDownSmallIcon />\n </StyledViewSwitcherMenuOption>\n </StyledViewSwitcherTrack>\n }\n >\n <StyledViewSwitcherMenuList>\n {options.map(({ id, label, icon }) => (\n <ListItem\n key={id}\n aria-selected={id === selected?.id}\n onClick={() => {\n setOpen(false);\n\n if (id !== value) {\n onChange(id);\n }\n }}\n >\n {icon ? (\n <StyledViewSwitcherMenuIcon>\n {icon}\n </StyledViewSwitcherMenuIcon>\n ) : null}\n <StyledViewSwitcherMenuLabel\n data-selected={id === selected?.id}\n >\n {label}\n </StyledViewSwitcherMenuLabel>\n </ListItem>\n ))}\n </StyledViewSwitcherMenuList>\n </Menu>\n </StyledViewSwitcher>\n );\n }\n);\n\nViewSwitcherMenu.displayName = \"ViewSwitcherMenu\";\n"],"mappings":";;;AAAA,OAAOA,KAAK,IAAIC,UAAU,EAA6BC,QAAQ,QAAQ,OAAO;AAE9E,OAAOC,UAAU,MAAM,YAAY;AAEnC,SACEC,kBAAkB,EAClBC,0BAA0B,EAC1BC,2BAA2B,EAC3BC,0BAA0B,EAC1BC,4BAA4B,EAC5BC,uBAAuB,QAClB,UAAU;AACjB,SAASC,kBAAkB,QAAQ,UAAU;AAC7C,SAASC,QAAQ,QAAQ,SAAS;AAClC,SAASC,IAAI,QAAQ,SAAS;AAmB9B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,MAAMC,gBAAgB,gBAAGZ,UAAU,CAIxC,CAAAa,IAAA,EAEEC,GAAG,KACA;EAAA,IAAAC,aAAA;EAAA,IAFDC,OAAO,GAAAH,IAAA,CAAPG,OAAO;IAAEC,KAAK,GA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CAAC,GAC3B,IAAI,eACR1C,KAAA,CAAAgC,aAAA,CAAC1B,2BAA2B;MAC1B,iBAAeyB,EAAE,MAAKH,QAAQ,oBAARA,QAAQ,CAAEG,EAAE;IAAC,GAElCQ,KAC0B,CACrB,CAAC;EAAA,CACZ,CACyB,CACxB,CACY,CAAC;AAEzB,CACF,CAAC;AAED1B,gBAAgB,CAACiC,WAAW,GAAG,kBAAkB","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/ViewSwitcher/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,oBAAoB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/ViewSwitcher/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":[],"sources":["../../../../src/components/ViewSwitcher/index.ts"],"sourcesContent":["export * from \"./ViewSwitcher\";\nexport * from \"./ViewIllustration\";\n"],"mappings":"AAAA,cAAc,gBAAgB;AAC9B,cAAc,oBAAoB","ignoreList":[]}
|
|
1
|
+
{"version":3,"file":"index.js","names":[],"sources":["../../../../src/components/ViewSwitcher/index.ts"],"sourcesContent":["export * from \"./ViewSwitcher\";\nexport * from \"./ViewSwitcherMenu\";\nexport * from \"./ViewIllustration\";\n"],"mappings":"AAAA,cAAc,gBAAgB;AAC9B,cAAc,oBAAoB;AAClC,cAAc,oBAAoB","ignoreList":[]}
|
|
@@ -33,8 +33,10 @@ export * from "./MultiAvatar";
|
|
|
33
33
|
export * from "./RadioButton";
|
|
34
34
|
export * from "./RadioCard";
|
|
35
35
|
export * from "./RadioGroup";
|
|
36
|
+
export * from "./RaisedAddButton";
|
|
36
37
|
export * from "./ScrollShadow";
|
|
37
38
|
export * from "./ScrollToToast";
|
|
39
|
+
export * from "./SwatchPalette";
|
|
38
40
|
export * from "./Icons";
|
|
39
41
|
export * from "./Textarea";
|
|
40
42
|
export * from "./Timesheet";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC;AAC9B,cAAc,iBAAiB,CAAC;AAChC,cAAc,YAAY,CAAC;AAC3B,cAAc,UAAU,CAAC;AACzB,cAAc,oBAAoB,CAAC;AACnC,cAAc,SAAS,CAAC;AACxB,cAAc,YAAY,CAAC;AAC3B,cAAc,QAAQ,CAAC;AACvB,cAAc,cAAc,CAAC;AAC7B,cAAc,kBAAkB,CAAC;AACjC,cAAc,aAAa,CAAC;AAC5B,cAAc,UAAU,CAAC;AACzB,cAAc,OAAO,CAAC;AACtB,cAAc,WAAW,CAAC;AAC1B,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC;AAC3B,cAAc,OAAO,CAAC;AACtB,cAAc,WAAW,CAAC;AAC1B,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,WAAW,CAAC;AAC1B,cAAc,iBAAiB,CAAC;AAChC,cAAc,QAAQ,CAAC;AACvB,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC;AAC7B,cAAc,QAAQ,CAAC;AACvB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC;AAC9B,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC;AAC7B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAChC,cAAc,SAAS,CAAC;AACxB,cAAc,YAAY,CAAC;AAC3B,cAAc,aA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C;AAC/B,cAAc,OAAO,CAAC;AACtB,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,cAAc,CAAC;AAC7B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC;AAC3B,cAAc,kBAAkB,CAAC;AACjC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,kBAAkB,CAAC;AACjC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,WAAW,CAAC;AAC1B,cAAc,oBAAoB,CAAC;AACnC,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,qBAAqB,CAAC;AACpC,cAAc,iBAAiB,CAAC;AAChC,cAAc,cAAc,CAAC;AAC7B,cAAc,YAAY,CAAC;AAC3B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC"}
|
|
@@ -33,8 +33,10 @@ export * from "./MultiAvatar";
|
|
|
33
33
|
export * from "./RadioButton";
|
|
34
34
|
export * from "./RadioCard";
|
|
35
35
|
export * from "./RadioGroup";
|
|
36
|
+
export * from "./RaisedAddButton";
|
|
36
37
|
export * from "./ScrollShadow";
|
|
37
38
|
export * from "./ScrollToToast";
|
|
39
|
+
export * from "./SwatchPalette";
|
|
38
40
|
export * from "./Icons";
|
|
39
41
|
export * from "./Textarea";
|
|
40
42
|
export * from "./Timesheet";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["suspendModalRoots","useSuspendModalRoots"],"sources":["../../../src/components/index.ts"],"sourcesContent":["export * from \"./Button\";\nexport * from \"./CaretButton\";\nexport * from \"./CellTrigger\";\nexport * from \"./ButtonGroup\";\nexport * from \"./Breadcrumbs\";\nexport * from \"./CounterButton\";\nexport * from \"./Steppers\";\nexport * from \"./Tables\";\nexport * from \"./CompleteCheckbox\";\nexport * from \"./Paper\";\nexport * from \"./ScaleBar\";\nexport * from \"./Card\";\nexport * from \"./EntityCard\";\nexport * from \"./EntitiesHeader\";\nexport * from \"./Signifier\";\nexport * from \"./Avatar\";\nexport * from \"./Tag\";\nexport * from \"./Loaders\";\nexport * from \"./LogoField\";\nexport * from \"./MainMenu\";\nexport * from \"./Nav\";\nexport * from \"./SideNav\";\nexport * from \"./Bubble\";\nexport * from \"./Input\";\nexport * from \"./Display\";\nexport * from \"./DrilldownMenu\";\nexport * from \"./Menu\";\nexport * from \"./Expanders\";\nexport * from \"./DatePicker\";\nexport * from \"./List\";\nexport * from \"./MenuSelector\";\nexport * from \"./MultiAvatar\";\nexport * from \"./RadioButton\";\nexport * from \"./RadioCard\";\nexport * from \"./RadioGroup\";\nexport * from \"./ScrollShadow\";\nexport * from \"./ScrollToToast\";\nexport * from \"./Icons\";\nexport * from \"./Textarea\";\nexport * from \"./Timesheet\";\nexport * from \"./Modal\";\nexport * from \"./BatchEdit\";\nexport * from \"./BlockingProgress\";\nexport * from \"./Sheet\";\nexport * from \"./Drawer\";\nexport * from \"./Header\";\nexport * from \"./HeaderControls\";\nexport * from \"./AutoResizeTextarea\";\nexport * from \"./Overlay\";\nexport * from \"./Accordion\";\nexport * from \"./ActivityRail\";\nexport * from \"./Choose\";\nexport * from \"./ChooseV2\";\nexport * from \"./Links\";\nexport * from \"./SelectDate\";\nexport * from \"./Popper\";\nexport * from \"./ThemeSwatch\";\nexport * from \"./ToastMessage\";\nexport * from \"./Tooltip\";\nexport * from \"./Transitions\";\nexport * from \"./Window\";\nexport * from \"./ValueButton\";\nexport * from \"./PillButton\";\nexport * from \"./PillGroup\";\nexport * from \"./ViewSwitcher\";\nexport * from \"./Select\";\nexport * from \"./SelectTrigger\";\nexport * from \"./SelectTime\";\nexport * from \"./Dialog\";\nexport * from \"./Divider\";\nexport * from \"./ObjectFormModal\";\nexport * from \"./ConfirmDialog\";\nexport * from \"./MediaViewer\";\nexport * from \"./Checkbox\";\nexport * from \"./Toggle\";\nexport * from \"./Typography\";\nexport * from \"./Autocomplete\";\nexport * from \"./ComboBox\";\nexport * from \"./Button/AddToListButton\";\nexport * from \"./PortableText\";\nexport * from \"./PresenceCapsule\";\nexport * from \"./ProgressBar\";\nexport * from \"./ProgressPie\";\nexport * from \"./Reactions\";\nexport * from \"./Label\";\nexport * from \"./GlobalPortal\";\nexport { suspendModalRoots } from \"./ModalRoot/modalRootStack\";\nexport { useSuspendModalRoots } from \"./ModalRoot/useSuspendModalRoots\";\nexport * from \"./GlobalStyle\";\nexport * from \"./ProgressRing\";\nexport * from \"./ProjectColor\";\nexport * from \"./ProjectIconPicker\";\nexport * from \"./EditableContent\";\nexport * from \"./EditableText\";\nexport * from \"./EditableHours\";\nexport * from \"./EditableCurrency\";\nexport * from \"./Folder\";\nexport * from \"./Chip\";\nexport * from \"./Trigger\";\nexport * from \"./Dot\";\nexport * from \"./Entity\";\nexport * from \"./Filter\";\nexport * from \"./Wizard\";\nexport * from \"./ContentWizard\";\nexport * from \"./IconButton\";\nexport * from \"./IdentityMark\";\nexport * from \"./Typography\";\nexport * from \"./Badge\";\nexport * from \"./AvatarGroup\";\nexport * from \"./CommandPalette\";\nexport * from \"./CommentsRail\";\nexport * from \"./EmptySlate\";\nexport * from \"./Illustrations\";\nexport * from \"./NoResultsSlate\";\nexport * from \"./FilterInput\";\nexport * from \"./Toolbar\";\nexport * from \"./InfoBox\";\nexport * from \"./Sort\";\nexport * from \"./StepSequence\";\nexport * from \"./Stopwatch\";\nexport * from \"./StackedCard\";\nexport * from \"./Stack\";\nexport * from \"./SwatchPicker\";\nexport * from \"./Row\";\nexport * from \"./Columns\";\nexport * from \"./Tiles\";\nexport * from \"./Media\";\nexport * from \"./TitledText\";\nexport * from \"./LayoutTokens\";\nexport * from \"./Section\";\nexport * from \"./Collapse\";\nexport * from \"./LabeledDivider\";\nexport * from \"./FloatingPill\";\nexport * from \"./ClampedContent\";\nexport * from \"./ResizeHandle\";\nexport * from \"./ObjectLayout\";\nexport * from \"./ListRow\";\nexport * from \"./ListGroupHeading\";\nexport * from \"./FileTile\";\nexport * from \"./DropZone\";\nexport * from \"./EditorFrame\";\nexport * from \"./PropertyList\";\nexport * from \"./TicketPerforation\";\nexport * from \"./MessageBubble\";\nexport * from \"./DockedCard\";\nexport * from \"./NoteCard\";\nexport * from \"./NotebookTile\";\nexport * from \"./ListSection\";\n"],"mappings":"AAAA,cAAc,UAAU;AACxB,cAAc,eAAe;AAC7B,cAAc,eAAe;AAC7B,cAAc,eAAe;AAC7B,cAAc,eAAe;AAC7B,cAAc,iBAAiB;AAC/B,cAAc,YAAY;AAC1B,cAAc,UAAU;AACxB,cAAc,oBAAoB;AAClC,cAAc,SAAS;AACvB,cAAc,YAAY;AAC1B,cAAc,QAAQ;AACtB,cAAc,cAAc;AAC5B,cAAc,kBAAkB;AAChC,cAAc,aAAa;AAC3B,cAAc,UAAU;AACxB,cAAc,OAAO;AACrB,cAAc,WAAW;AACzB,cAAc,aAAa;AAC3B,cAAc,YAAY;AAC1B,cAAc,OAAO;AACrB,cAAc,WAAW;AACzB,cAAc,UAAU;AACxB,cAAc,SAAS;AACvB,cAAc,WAAW;AACzB,cAAc,iBAAiB;AAC/B,cAAc,QAAQ;AACtB,cAAc,aAAa;AAC3B,cAAc,cAAc;AAC5B,cAAc,QAAQ;AACtB,cAAc,gBAAgB;AAC9B,cAAc,eAAe;AAC7B,cAAc,eAAe;AAC7B,cAAc,aAAa;AAC3B,cAAc,cAAc;AAC5B,cAAc,gBAAgB;AAC9B,cAAc,iBAAiB;AAC/B,cAAc,SAAS;AACvB,cAAc,YAAY;AAC1B,cAAc,aAAa;AAC3B,cAAc,SAAS;AACvB,cAAc,aAAa;AAC3B,cAAc,oBAAoB;AAClC,cAAc,SAAS;AACvB,cAAc,UAAU;AACxB,cAAc,UAAU;AACxB,cAAc,kBAAkB;AAChC,cAAc,sBAAsB;AACpC,cAAc,WAAW;AACzB,cA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c,gBAAgB;AAC9B,cAAc,cAAc;AAC5B,cAAc,iBAAiB;AAC/B,cAAc,kBAAkB;AAChC,cAAc,eAAe;AAC7B,cAAc,WAAW;AACzB,cAAc,WAAW;AACzB,cAAc,QAAQ;AACtB,cAAc,gBAAgB;AAC9B,cAAc,aAAa;AAC3B,cAAc,eAAe;AAC7B,cAAc,SAAS;AACvB,cAAc,gBAAgB;AAC9B,cAAc,OAAO;AACrB,cAAc,WAAW;AACzB,cAAc,SAAS;AACvB,cAAc,SAAS;AACvB,cAAc,cAAc;AAC5B,cAAc,gBAAgB;AAC9B,cAAc,WAAW;AACzB,cAAc,YAAY;AAC1B,cAAc,kBAAkB;AAChC,cAAc,gBAAgB;AAC9B,cAAc,kBAAkB;AAChC,cAAc,gBAAgB;AAC9B,cAAc,gBAAgB;AAC9B,cAAc,WAAW;AACzB,cAAc,oBAAoB;AAClC,cAAc,YAAY;AAC1B,cAAc,YAAY;AAC1B,cAAc,eAAe;AAC7B,cAAc,gBAAgB;AAC9B,cAAc,qBAAqB;AACnC,cAAc,iBAAiB;AAC/B,cAAc,cAAc;AAC5B,cAAc,YAAY;AAC1B,cAAc,gBAAgB;AAC9B,cAAc,eAAe","ignoreList":[]}
|
|
1
|
+
{"version":3,"file":"index.js","names":["suspendModalRoots","useSuspendModalRoots"],"sources":["../../../src/components/index.ts"],"sourcesContent":["export * from \"./Button\";\nexport * from \"./CaretButton\";\nexport * from \"./CellTrigger\";\nexport * from \"./ButtonGroup\";\nexport * from \"./Breadcrumbs\";\nexport * from \"./CounterButton\";\nexport * from \"./Steppers\";\nexport * from \"./Tables\";\nexport * from \"./CompleteCheckbox\";\nexport * from \"./Paper\";\nexport * from \"./ScaleBar\";\nexport * from \"./Card\";\nexport * from \"./EntityCard\";\nexport * from \"./EntitiesHeader\";\nexport * from \"./Signifier\";\nexport * from \"./Avatar\";\nexport * from \"./Tag\";\nexport * from \"./Loaders\";\nexport * from \"./LogoField\";\nexport * from \"./MainMenu\";\nexport * from \"./Nav\";\nexport * from \"./SideNav\";\nexport * from \"./Bubble\";\nexport * from \"./Input\";\nexport * from \"./Display\";\nexport * from \"./DrilldownMenu\";\nexport * from \"./Menu\";\nexport * from \"./Expanders\";\nexport * from \"./DatePicker\";\nexport * from \"./List\";\nexport * from \"./MenuSelector\";\nexport * from \"./MultiAvatar\";\nexport * from \"./RadioButton\";\nexport * from \"./RadioCard\";\nexport * from \"./RadioGroup\";\nexport * from \"./RaisedAddButton\";\nexport * from \"./ScrollShadow\";\nexport * from \"./ScrollToToast\";\nexport * from \"./SwatchPalette\";\nexport * from \"./Icons\";\nexport * from \"./Textarea\";\nexport * from \"./Timesheet\";\nexport * from \"./Modal\";\nexport * from \"./BatchEdit\";\nexport * from \"./BlockingProgress\";\nexport * from \"./Sheet\";\nexport * from \"./Drawer\";\nexport * from \"./Header\";\nexport * from \"./HeaderControls\";\nexport * from \"./AutoResizeTextarea\";\nexport * from \"./Overlay\";\nexport * from \"./Accordion\";\nexport * from \"./ActivityRail\";\nexport * from \"./Choose\";\nexport * from \"./ChooseV2\";\nexport * from \"./Links\";\nexport * from \"./SelectDate\";\nexport * from \"./Popper\";\nexport * from \"./ThemeSwatch\";\nexport * from \"./ToastMessage\";\nexport * from \"./Tooltip\";\nexport * from \"./Transitions\";\nexport * from \"./Window\";\nexport * from \"./ValueButton\";\nexport * from \"./PillButton\";\nexport * from \"./PillGroup\";\nexport * from \"./ViewSwitcher\";\nexport * from \"./Select\";\nexport * from \"./SelectTrigger\";\nexport * from \"./SelectTime\";\nexport * from \"./Dialog\";\nexport * from \"./Divider\";\nexport * from \"./ObjectFormModal\";\nexport * from \"./ConfirmDialog\";\nexport * from \"./MediaViewer\";\nexport * from \"./Checkbox\";\nexport * from \"./Toggle\";\nexport * from \"./Typography\";\nexport * from \"./Autocomplete\";\nexport * from \"./ComboBox\";\nexport * from \"./Button/AddToListButton\";\nexport * from \"./PortableText\";\nexport * from \"./PresenceCapsule\";\nexport * from \"./ProgressBar\";\nexport * from \"./ProgressPie\";\nexport * from \"./Reactions\";\nexport * from \"./Label\";\nexport * from \"./GlobalPortal\";\nexport { suspendModalRoots } from \"./ModalRoot/modalRootStack\";\nexport { useSuspendModalRoots } from \"./ModalRoot/useSuspendModalRoots\";\nexport * from \"./GlobalStyle\";\nexport * from \"./ProgressRing\";\nexport * from \"./ProjectColor\";\nexport * from \"./ProjectIconPicker\";\nexport * from \"./EditableContent\";\nexport * from \"./EditableText\";\nexport * from \"./EditableHours\";\nexport * from \"./EditableCurrency\";\nexport * from \"./Folder\";\nexport * from \"./Chip\";\nexport * from \"./Trigger\";\nexport * from \"./Dot\";\nexport * from \"./Entity\";\nexport * from \"./Filter\";\nexport * from \"./Wizard\";\nexport * from \"./ContentWizard\";\nexport * from \"./IconButton\";\nexport * from \"./IdentityMark\";\nexport * from \"./Typography\";\nexport * from \"./Badge\";\nexport * from \"./AvatarGroup\";\nexport * from \"./CommandPalette\";\nexport * from \"./CommentsRail\";\nexport * from \"./EmptySlate\";\nexport * from \"./Illustrations\";\nexport * from \"./NoResultsSlate\";\nexport * from \"./FilterInput\";\nexport * from \"./Toolbar\";\nexport * from \"./InfoBox\";\nexport * from \"./Sort\";\nexport * from \"./StepSequence\";\nexport * from \"./Stopwatch\";\nexport * from \"./StackedCard\";\nexport * from \"./Stack\";\nexport * from \"./SwatchPicker\";\nexport * from \"./Row\";\nexport * from \"./Columns\";\nexport * from \"./Tiles\";\nexport * from \"./Media\";\nexport * from \"./TitledText\";\nexport * from \"./LayoutTokens\";\nexport * from \"./Section\";\nexport * from \"./Collapse\";\nexport * from \"./LabeledDivider\";\nexport * from \"./FloatingPill\";\nexport * from \"./ClampedContent\";\nexport * from \"./ResizeHandle\";\nexport * from \"./ObjectLayout\";\nexport * from \"./ListRow\";\nexport * from \"./ListGroupHeading\";\nexport * from \"./FileTile\";\nexport * from \"./DropZone\";\nexport * from \"./EditorFrame\";\nexport * from \"./PropertyList\";\nexport * from \"./TicketPerforation\";\nexport * from \"./MessageBubble\";\nexport * from \"./DockedCard\";\nexport * from \"./NoteCard\";\nexport * from \"./NotebookTile\";\nexport * from \"./ListSection\";\n"],"mappings":"AAAA,cAAc,UAAU;AACxB,cAAc,eAAe;AAC7B,cAAc,eAAe;AAC7B,cAAc,eAAe;AAC7B,cAAc,eAAe;AAC7B,cAAc,iBAAiB;AAC/B,cAAc,YAAY;AAC1B,cAAc,UAAU;AACxB,cAAc,oBAAoB;AAClC,cAAc,SAAS;AACvB,cAAc,YAAY;AAC1B,cAAc,QAAQ;AACtB,cAAc,cAAc;AAC5B,cAAc,kBAAkB;AAChC,cAAc,aAAa;AAC3B,cAAc,UAAU;AACxB,cAAc,OAAO;AACrB,cAAc,WAAW;AACzB,cAAc,aAAa;AAC3B,cAAc,YAAY;AAC1B,cAAc,OAAO;AACrB,cAAc,WAAW;AACzB,cAAc,UAAU;AACxB,cAAc,SAAS;AACvB,cAAc,WAAW;AACzB,cAAc,iBAAiB;AAC/B,cAAc,QAAQ;AACtB,cAAc,aAAa;AAC3B,cAAc,cAAc;AAC5B,cAAc,QAAQ;AACtB,cAAc,gBAAgB;AAC9B,cAAc,eAAe;AAC7B,cAAc,eAAe;AAC7B,cAAc,aAAa;AAC3B,cAAc,cAAc;AAC5B,cAAc,mBAAmB;AACjC,cAAc,gBAAgB;AAC9B,cAAc,iBAAiB;AAC/B,cAAc,iBAAiB;AAC/B,cAAc,SAAS;AACvB,cAAc,YAAY;AAC1B,cAAc,aAAa;AAC3B,cAAc,SAAS;AACvB,cAAc,aAAa;AAC3B,cAAc,oBAAoB;AAClC,cAAc,SAAS;AACvB,cAAc,UAAU;AACxB,cAAc,UAAU;AACxB,cAAc,kBAAkB;AAChC,cAAc,sBAAsB;AACpC,cAAc,WAAW;AACzB,cAAc,aAAa;AAC3B,cAAc,gBAAgB;AAC9B,cAAc,UAAU;AACxB,cAAc,YAAY;AAC1B,cAAc,SAAS;AACvB,cAAc,cAAc;AAC5B,cAAc,UAAU;AACxB,cAAc,eAAe;AAC7B,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