jouw-stem__design-system 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +90 -0
- package/dist/css/fonts.css +4 -0
- package/dist/css/theme-dark.css +2535 -0
- package/dist/css/theme-high-contrast-solarized-dark.css +2540 -0
- package/dist/css/theme-high-contrast-solarized-light.css +2540 -0
- package/dist/css/theme-light.css +2535 -0
- package/dist/health/Accordion.json +22 -0
- package/dist/health/AutoComplete.json +22 -0
- package/dist/health/Badge.json +22 -0
- package/dist/health/BlockUI.json +22 -0
- package/dist/health/Breadcrumb.json +22 -0
- package/dist/health/ButtonPrimary.json +22 -0
- package/dist/health/Calendar.json +22 -0
- package/dist/health/Card.json +22 -0
- package/dist/health/Carousel.json +22 -0
- package/dist/health/Chart.json +22 -0
- package/dist/health/Chip.json +22 -0
- package/dist/health/ColorPicker.json +22 -0
- package/dist/health/ConfirmDialog.json +22 -0
- package/dist/health/ConfirmPopup.json +22 -0
- package/dist/health/ContextMenu.json +22 -0
- package/dist/health/DataTable.json +22 -0
- package/dist/health/DataView.json +22 -0
- package/dist/health/Dialog.json +22 -0
- package/dist/health/Divider.json +22 -0
- package/dist/health/Dock.json +22 -0
- package/dist/health/Drawer.json +22 -0
- package/dist/health/Dropdown.json +22 -0
- package/dist/health/DynamicDialog.json +22 -0
- package/dist/health/FieldSet.json +22 -0
- package/dist/health/FileUpload.json +22 -0
- package/dist/health/Galleria.json +22 -0
- package/dist/health/Image.json +22 -0
- package/dist/health/ImageCompare.json +22 -0
- package/dist/health/InPlace.json +22 -0
- package/dist/health/InlineMessage.json +22 -0
- package/dist/health/InputChips.json +22 -0
- package/dist/health/InputMask.json +22 -0
- package/dist/health/InputNumber.json +22 -0
- package/dist/health/InputOtp.json +22 -0
- package/dist/health/InputSwitch.json +22 -0
- package/dist/health/InputText.json +22 -0
- package/dist/health/Knob.json +22 -0
- package/dist/health/ListBox.json +22 -0
- package/dist/health/MegaMenu.json +22 -0
- package/dist/health/Menu.json +22 -0
- package/dist/health/MenuBar.json +22 -0
- package/dist/health/Message.json +22 -0
- package/dist/health/MeterGroup.json +22 -0
- package/dist/health/MultiSelect.json +22 -0
- package/dist/health/OrderList.json +22 -0
- package/dist/health/OrganizationChart.json +22 -0
- package/dist/health/OverlayPanel.json +22 -0
- package/dist/health/Paginator.json +22 -0
- package/dist/health/Panel.json +22 -0
- package/dist/health/PanelMenu.json +22 -0
- package/dist/health/PickList.json +22 -0
- package/dist/health/PopOver.json +22 -0
- package/dist/health/ProgressBar.json +22 -0
- package/dist/health/ProgressSpinner.json +22 -0
- package/dist/health/RadioButton.json +22 -0
- package/dist/health/Rating.json +22 -0
- package/dist/health/ScrollPanel.json +22 -0
- package/dist/health/Select.json +22 -0
- package/dist/health/SelectButton.json +22 -0
- package/dist/health/Sidebar.json +22 -0
- package/dist/health/Skeleton.json +22 -0
- package/dist/health/Slider.json +22 -0
- package/dist/health/SpeedDial.json +22 -0
- package/dist/health/SplitButton.json +22 -0
- package/dist/health/Splitter.json +22 -0
- package/dist/health/Steps.json +22 -0
- package/dist/health/TabMenu.json +22 -0
- package/dist/health/Tabs.json +22 -0
- package/dist/health/Textarea.json +22 -0
- package/dist/health/TieredMenu.json +22 -0
- package/dist/health/Timeline.json +22 -0
- package/dist/health/ToggleButton.json +22 -0
- package/dist/health/ToggleSwitch.json +22 -0
- package/dist/health/Toolbar.json +22 -0
- package/dist/health/Tree.json +22 -0
- package/dist/health/TreeSelect.json +22 -0
- package/dist/health/TreeTable.json +22 -0
- package/dist/health/VirtualScroller.json +22 -0
- package/dist/health-report.json +1410 -0
- package/dist/manifest.json +7072 -0
- package/dist/scss/_tokens.scss +2769 -0
- package/dist/test/Accordion.json +26 -0
- package/dist/test/AutoComplete.json +25 -0
- package/dist/test/Badge.json +26 -0
- package/dist/test/BlockUI.json +26 -0
- package/dist/test/Breadcrumb.json +26 -0
- package/dist/test/ButtonPrimary.json +25 -0
- package/dist/test/Calendar.json +26 -0
- package/dist/test/Card.json +26 -0
- package/dist/test/Carousel.json +26 -0
- package/dist/test/Chart.json +26 -0
- package/dist/test/Chip.json +26 -0
- package/dist/test/ColorPicker.json +25 -0
- package/dist/test/ConfirmDialog.json +26 -0
- package/dist/test/ConfirmPopup.json +26 -0
- package/dist/test/ContextMenu.json +25 -0
- package/dist/test/DataTable.json +26 -0
- package/dist/test/DataView.json +26 -0
- package/dist/test/Dialog.json +26 -0
- package/dist/test/Divider.json +26 -0
- package/dist/test/Dock.json +26 -0
- package/dist/test/Drawer.json +26 -0
- package/dist/test/Dropdown.json +26 -0
- package/dist/test/DynamicDialog.json +25 -0
- package/dist/test/FieldSet.json +25 -0
- package/dist/test/FileUpload.json +26 -0
- package/dist/test/Galleria.json +26 -0
- package/dist/test/Image.json +26 -0
- package/dist/test/ImageCompare.json +26 -0
- package/dist/test/InPlace.json +26 -0
- package/dist/test/InlineMessage.json +26 -0
- package/dist/test/InputChips.json +25 -0
- package/dist/test/InputMask.json +25 -0
- package/dist/test/InputNumber.json +25 -0
- package/dist/test/InputOtp.json +25 -0
- package/dist/test/InputSwitch.json +25 -0
- package/dist/test/InputText.json +25 -0
- package/dist/test/Knob.json +26 -0
- package/dist/test/ListBox.json +25 -0
- package/dist/test/MegaMenu.json +26 -0
- package/dist/test/Menu.json +26 -0
- package/dist/test/MenuBar.json +25 -0
- package/dist/test/Message.json +26 -0
- package/dist/test/MeterGroup.json +26 -0
- package/dist/test/MultiSelect.json +25 -0
- package/dist/test/OrderList.json +25 -0
- package/dist/test/OrganizationChart.json +26 -0
- package/dist/test/OverlayPanel.json +25 -0
- package/dist/test/Paginator.json +26 -0
- package/dist/test/Panel.json +26 -0
- package/dist/test/PanelMenu.json +25 -0
- package/dist/test/PickList.json +25 -0
- package/dist/test/PopOver.json +25 -0
- package/dist/test/ProgressBar.json +26 -0
- package/dist/test/ProgressSpinner.json +26 -0
- package/dist/test/RadioButton.json +26 -0
- package/dist/test/Rating.json +26 -0
- package/dist/test/ScrollPanel.json +26 -0
- package/dist/test/Select.json +26 -0
- package/dist/test/SelectButton.json +26 -0
- package/dist/test/Sidebar.json +26 -0
- package/dist/test/Skeleton.json +26 -0
- package/dist/test/Slider.json +26 -0
- package/dist/test/SpeedDial.json +26 -0
- package/dist/test/SplitButton.json +26 -0
- package/dist/test/Splitter.json +26 -0
- package/dist/test/Steps.json +26 -0
- package/dist/test/TabMenu.json +25 -0
- package/dist/test/Tabs.json +26 -0
- package/dist/test/Textarea.json +26 -0
- package/dist/test/TieredMenu.json +26 -0
- package/dist/test/Timeline.json +26 -0
- package/dist/test/ToggleButton.json +26 -0
- package/dist/test/ToggleSwitch.json +26 -0
- package/dist/test/Toolbar.json +26 -0
- package/dist/test/Tree.json +26 -0
- package/dist/test/TreeSelect.json +26 -0
- package/dist/test/TreeTable.json +25 -0
- package/dist/test/VirtualScroller.json +25 -0
- package/dist/token-refs.json +11031 -0
- package/dist/ts/tokens.ts +2675 -0
- package/package.json +83 -0
- package/src/components/Accordion/Accordion.matrix.ts +28 -0
- package/src/components/Accordion/Accordion.scss +120 -0
- package/src/components/Accordion/Accordion.tokens.theme-dark.json +127 -0
- package/src/components/Accordion/Accordion.tokens.theme-high-contrast-solarized-dark.json +127 -0
- package/src/components/Accordion/Accordion.tokens.theme-high-contrast-solarized-light.json +127 -0
- package/src/components/Accordion/Accordion.tokens.theme-light.json +127 -0
- package/src/components/Accordion/Accordion.vue +117 -0
- package/src/components/Accordion/AccordionTab.vue +88 -0
- package/src/components/AppFooter/AppFooter.matrix.ts +17 -0
- package/src/components/AppFooter/AppFooter.scss +68 -0
- package/src/components/AppFooter/AppFooter.tokens.theme-dark.json +25 -0
- package/src/components/AppFooter/AppFooter.tokens.theme-high-contrast-solarized-dark.json +25 -0
- package/src/components/AppFooter/AppFooter.tokens.theme-high-contrast-solarized-light.json +25 -0
- package/src/components/AppFooter/AppFooter.tokens.theme-light.json +25 -0
- package/src/components/AppFooter/AppFooter.vue +56 -0
- package/src/components/AppHeader/AppHeader.matrix.ts +17 -0
- package/src/components/AppHeader/AppHeader.scss +238 -0
- package/src/components/AppHeader/AppHeader.tokens.theme-dark.json +51 -0
- package/src/components/AppHeader/AppHeader.tokens.theme-high-contrast-solarized-dark.json +51 -0
- package/src/components/AppHeader/AppHeader.tokens.theme-high-contrast-solarized-light.json +51 -0
- package/src/components/AppHeader/AppHeader.tokens.theme-light.json +51 -0
- package/src/components/AppHeader/AppHeader.vue +160 -0
- package/src/components/AutoComplete/AutoComplete.matrix.ts +36 -0
- package/src/components/AutoComplete/AutoComplete.scss +289 -0
- package/src/components/AutoComplete/AutoComplete.tokens.theme-dark.json +238 -0
- package/src/components/AutoComplete/AutoComplete.tokens.theme-high-contrast-solarized-dark.json +240 -0
- package/src/components/AutoComplete/AutoComplete.tokens.theme-high-contrast-solarized-light.json +240 -0
- package/src/components/AutoComplete/AutoComplete.tokens.theme-light.json +238 -0
- package/src/components/AutoComplete/AutoComplete.vue +404 -0
- package/src/components/Avatar/Avatar.matrix.ts +47 -0
- package/src/components/Avatar/Avatar.scss +191 -0
- package/src/components/Avatar/Avatar.tokens.theme-dark.json +220 -0
- package/src/components/Avatar/Avatar.tokens.theme-high-contrast-solarized-dark.json +224 -0
- package/src/components/Avatar/Avatar.tokens.theme-high-contrast-solarized-light.json +224 -0
- package/src/components/Avatar/Avatar.tokens.theme-light.json +220 -0
- package/src/components/Avatar/Avatar.vue +50 -0
- package/src/components/Badge/Badge.matrix.ts +38 -0
- package/src/components/Badge/Badge.scss +84 -0
- package/src/components/Badge/Badge.tokens.theme-dark.json +119 -0
- package/src/components/Badge/Badge.tokens.theme-high-contrast-solarized-dark.json +119 -0
- package/src/components/Badge/Badge.tokens.theme-high-contrast-solarized-light.json +119 -0
- package/src/components/Badge/Badge.tokens.theme-light.json +119 -0
- package/src/components/Badge/Badge.vue +43 -0
- package/src/components/BlockUI/BlockUI.matrix.ts +14 -0
- package/src/components/BlockUI/BlockUI.scss +85 -0
- package/src/components/BlockUI/BlockUI.tokens.theme-dark.json +40 -0
- package/src/components/BlockUI/BlockUI.tokens.theme-high-contrast-solarized-dark.json +40 -0
- package/src/components/BlockUI/BlockUI.tokens.theme-high-contrast-solarized-light.json +40 -0
- package/src/components/BlockUI/BlockUI.tokens.theme-light.json +40 -0
- package/src/components/BlockUI/BlockUI.vue +96 -0
- package/src/components/Breadcrumb/Breadcrumb.matrix.ts +10 -0
- package/src/components/Breadcrumb/Breadcrumb.scss +87 -0
- package/src/components/Breadcrumb/Breadcrumb.tokens.theme-dark.json +57 -0
- package/src/components/Breadcrumb/Breadcrumb.tokens.theme-high-contrast-solarized-dark.json +57 -0
- package/src/components/Breadcrumb/Breadcrumb.tokens.theme-high-contrast-solarized-light.json +57 -0
- package/src/components/Breadcrumb/Breadcrumb.tokens.theme-light.json +57 -0
- package/src/components/Breadcrumb/Breadcrumb.vue +143 -0
- package/src/components/ButtonBase/ButtonBase.scss +136 -0
- package/src/components/ButtonBase/ButtonBase.tokens.theme-dark.json +165 -0
- package/src/components/ButtonBase/ButtonBase.tokens.theme-high-contrast-solarized-dark.json +165 -0
- package/src/components/ButtonBase/ButtonBase.tokens.theme-high-contrast-solarized-light.json +165 -0
- package/src/components/ButtonBase/ButtonBase.tokens.theme-light.json +165 -0
- package/src/components/ButtonBase/ButtonBase.vue +96 -0
- package/src/components/ButtonOutlined/ButtonOutlined.matrix.ts +42 -0
- package/src/components/ButtonOutlined/ButtonOutlined.scss +29 -0
- package/src/components/ButtonOutlined/ButtonOutlined.tokens.theme-dark.json +60 -0
- package/src/components/ButtonOutlined/ButtonOutlined.tokens.theme-high-contrast-solarized-dark.json +60 -0
- package/src/components/ButtonOutlined/ButtonOutlined.tokens.theme-high-contrast-solarized-light.json +60 -0
- package/src/components/ButtonOutlined/ButtonOutlined.tokens.theme-light.json +60 -0
- package/src/components/ButtonOutlined/ButtonOutlined.vue +15 -0
- package/src/components/ButtonPrimary/ButtonPrimary.matrix.ts +42 -0
- package/src/components/ButtonPrimary/ButtonPrimary.scss +33 -0
- package/src/components/ButtonPrimary/ButtonPrimary.tokens.theme-dark.json +20 -0
- package/src/components/ButtonPrimary/ButtonPrimary.tokens.theme-high-contrast-solarized-dark.json +20 -0
- package/src/components/ButtonPrimary/ButtonPrimary.tokens.theme-high-contrast-solarized-light.json +20 -0
- package/src/components/ButtonPrimary/ButtonPrimary.tokens.theme-light.json +20 -0
- package/src/components/ButtonPrimary/ButtonPrimary.vue +15 -0
- package/src/components/ButtonSecondary/ButtonSecondary.matrix.ts +42 -0
- package/src/components/ButtonSecondary/ButtonSecondary.scss +59 -0
- package/src/components/ButtonSecondary/ButtonSecondary.tokens.theme-dark.json +60 -0
- package/src/components/ButtonSecondary/ButtonSecondary.tokens.theme-high-contrast-solarized-dark.json +60 -0
- package/src/components/ButtonSecondary/ButtonSecondary.tokens.theme-high-contrast-solarized-light.json +60 -0
- package/src/components/ButtonSecondary/ButtonSecondary.tokens.theme-light.json +60 -0
- package/src/components/ButtonSecondary/ButtonSecondary.vue +15 -0
- package/src/components/ButtonText/ButtonText.matrix.ts +42 -0
- package/src/components/ButtonText/ButtonText.scss +29 -0
- package/src/components/ButtonText/ButtonText.tokens.theme-dark.json +60 -0
- package/src/components/ButtonText/ButtonText.tokens.theme-high-contrast-solarized-dark.json +60 -0
- package/src/components/ButtonText/ButtonText.tokens.theme-high-contrast-solarized-light.json +60 -0
- package/src/components/ButtonText/ButtonText.tokens.theme-light.json +60 -0
- package/src/components/ButtonText/ButtonText.vue +15 -0
- package/src/components/Calendar/Calendar.matrix.ts +24 -0
- package/src/components/Calendar/Calendar.scss +341 -0
- package/src/components/Calendar/Calendar.tokens.theme-dark.json +262 -0
- package/src/components/Calendar/Calendar.tokens.theme-high-contrast-solarized-dark.json +262 -0
- package/src/components/Calendar/Calendar.tokens.theme-high-contrast-solarized-light.json +262 -0
- package/src/components/Calendar/Calendar.tokens.theme-light.json +262 -0
- package/src/components/Calendar/Calendar.vue +475 -0
- package/src/components/Card/Card.matrix.ts +22 -0
- package/src/components/Card/Card.scss +62 -0
- package/src/components/Card/Card.tokens.theme-dark.json +157 -0
- package/src/components/Card/Card.tokens.theme-high-contrast-solarized-dark.json +157 -0
- package/src/components/Card/Card.tokens.theme-high-contrast-solarized-light.json +157 -0
- package/src/components/Card/Card.tokens.theme-light.json +157 -0
- package/src/components/Card/Card.vue +49 -0
- package/src/components/Carousel/Carousel.matrix.ts +22 -0
- package/src/components/Carousel/Carousel.scss +123 -0
- package/src/components/Carousel/Carousel.tokens.theme-dark.json +154 -0
- package/src/components/Carousel/Carousel.tokens.theme-high-contrast-solarized-dark.json +154 -0
- package/src/components/Carousel/Carousel.tokens.theme-high-contrast-solarized-light.json +154 -0
- package/src/components/Carousel/Carousel.tokens.theme-light.json +154 -0
- package/src/components/Carousel/Carousel.vue +225 -0
- package/src/components/Carousel/navigation.ts +76 -0
- package/src/components/Chart/Chart.matrix.ts +24 -0
- package/src/components/Chart/Chart.scss +109 -0
- package/src/components/Chart/Chart.tokens.theme-dark.json +132 -0
- package/src/components/Chart/Chart.tokens.theme-high-contrast-solarized-dark.json +132 -0
- package/src/components/Chart/Chart.tokens.theme-high-contrast-solarized-light.json +132 -0
- package/src/components/Chart/Chart.tokens.theme-light.json +132 -0
- package/src/components/Chart/Chart.vue +247 -0
- package/src/components/Chart/chartLogic.ts +47 -0
- package/src/components/Checkbox/Checkbox.matrix.ts +30 -0
- package/src/components/Checkbox/Checkbox.scss +165 -0
- package/src/components/Checkbox/Checkbox.tokens.theme-dark.json +140 -0
- package/src/components/Checkbox/Checkbox.tokens.theme-high-contrast-solarized-dark.json +140 -0
- package/src/components/Checkbox/Checkbox.tokens.theme-high-contrast-solarized-light.json +140 -0
- package/src/components/Checkbox/Checkbox.tokens.theme-light.json +140 -0
- package/src/components/Checkbox/Checkbox.vue +102 -0
- package/src/components/Chip/Chip.matrix.ts +20 -0
- package/src/components/Chip/Chip.scss +87 -0
- package/src/components/Chip/Chip.tokens.theme-dark.json +100 -0
- package/src/components/Chip/Chip.tokens.theme-high-contrast-solarized-dark.json +100 -0
- package/src/components/Chip/Chip.tokens.theme-high-contrast-solarized-light.json +100 -0
- package/src/components/Chip/Chip.tokens.theme-light.json +100 -0
- package/src/components/Chip/Chip.vue +82 -0
- package/src/components/ColorPicker/ColorPicker.matrix.ts +22 -0
- package/src/components/ColorPicker/ColorPicker.scss +249 -0
- package/src/components/ColorPicker/ColorPicker.tokens.theme-dark.json +196 -0
- package/src/components/ColorPicker/ColorPicker.tokens.theme-high-contrast-solarized-dark.json +196 -0
- package/src/components/ColorPicker/ColorPicker.tokens.theme-high-contrast-solarized-light.json +196 -0
- package/src/components/ColorPicker/ColorPicker.tokens.theme-light.json +196 -0
- package/src/components/ColorPicker/ColorPicker.vue +294 -0
- package/src/components/ColorPicker/colorMath.ts +82 -0
- package/src/components/Column/Column.scss +88 -0
- package/src/components/Column/Column.tokens.theme-dark.json +109 -0
- package/src/components/Column/Column.tokens.theme-high-contrast-solarized-dark.json +109 -0
- package/src/components/Column/Column.tokens.theme-high-contrast-solarized-light.json +109 -0
- package/src/components/Column/Column.tokens.theme-light.json +109 -0
- package/src/components/Column/Column.vue +66 -0
- package/src/components/ColumnGroup/ColumnGroup.scss +41 -0
- package/src/components/ColumnGroup/ColumnGroup.tokens.theme-dark.json +45 -0
- package/src/components/ColumnGroup/ColumnGroup.tokens.theme-high-contrast-solarized-dark.json +45 -0
- package/src/components/ColumnGroup/ColumnGroup.tokens.theme-high-contrast-solarized-light.json +45 -0
- package/src/components/ColumnGroup/ColumnGroup.tokens.theme-light.json +45 -0
- package/src/components/ColumnGroup/ColumnGroup.vue +30 -0
- package/src/components/ColumnGroup/ColumnGroupRow.vue +20 -0
- package/src/components/ConfirmDialog/ConfirmDialog.matrix.ts +11 -0
- package/src/components/ConfirmDialog/ConfirmDialog.scss +182 -0
- package/src/components/ConfirmDialog/ConfirmDialog.tokens.theme-dark.json +141 -0
- package/src/components/ConfirmDialog/ConfirmDialog.tokens.theme-high-contrast-solarized-dark.json +141 -0
- package/src/components/ConfirmDialog/ConfirmDialog.tokens.theme-high-contrast-solarized-light.json +141 -0
- package/src/components/ConfirmDialog/ConfirmDialog.tokens.theme-light.json +141 -0
- package/src/components/ConfirmDialog/ConfirmDialog.vue +227 -0
- package/src/components/ConfirmPopup/ConfirmPopup.matrix.ts +11 -0
- package/src/components/ConfirmPopup/ConfirmPopup.scss +185 -0
- package/src/components/ConfirmPopup/ConfirmPopup.tokens.theme-dark.json +101 -0
- package/src/components/ConfirmPopup/ConfirmPopup.tokens.theme-high-contrast-solarized-dark.json +101 -0
- package/src/components/ConfirmPopup/ConfirmPopup.tokens.theme-high-contrast-solarized-light.json +101 -0
- package/src/components/ConfirmPopup/ConfirmPopup.tokens.theme-light.json +101 -0
- package/src/components/ConfirmPopup/ConfirmPopup.vue +192 -0
- package/src/components/ContextMenu/ContextMenu.matrix.ts +12 -0
- package/src/components/ContextMenu/ContextMenu.scss +138 -0
- package/src/components/ContextMenu/ContextMenu.tokens.theme-dark.json +168 -0
- package/src/components/ContextMenu/ContextMenu.tokens.theme-high-contrast-solarized-dark.json +168 -0
- package/src/components/ContextMenu/ContextMenu.tokens.theme-high-contrast-solarized-light.json +168 -0
- package/src/components/ContextMenu/ContextMenu.tokens.theme-light.json +168 -0
- package/src/components/ContextMenu/ContextMenu.vue +246 -0
- package/src/components/ContextMenu/computePosition.ts +109 -0
- package/src/components/CorporateFooter/CorporateFooter.matrix.ts +17 -0
- package/src/components/CorporateFooter/CorporateFooter.scss +162 -0
- package/src/components/CorporateFooter/CorporateFooter.tokens.theme-dark.json +39 -0
- package/src/components/CorporateFooter/CorporateFooter.tokens.theme-high-contrast-solarized-dark.json +39 -0
- package/src/components/CorporateFooter/CorporateFooter.tokens.theme-high-contrast-solarized-light.json +39 -0
- package/src/components/CorporateFooter/CorporateFooter.tokens.theme-light.json +39 -0
- package/src/components/CorporateFooter/CorporateFooter.vue +114 -0
- package/src/components/CorporateHeader/CorporateHeader.matrix.ts +17 -0
- package/src/components/CorporateHeader/CorporateHeader.scss +128 -0
- package/src/components/CorporateHeader/CorporateHeader.tokens.theme-dark.json +33 -0
- package/src/components/CorporateHeader/CorporateHeader.tokens.theme-high-contrast-solarized-dark.json +33 -0
- package/src/components/CorporateHeader/CorporateHeader.tokens.theme-high-contrast-solarized-light.json +33 -0
- package/src/components/CorporateHeader/CorporateHeader.tokens.theme-light.json +33 -0
- package/src/components/CorporateHeader/CorporateHeader.vue +99 -0
- package/src/components/DataTable/DataTable.matrix.ts +24 -0
- package/src/components/DataTable/DataTable.scss +166 -0
- package/src/components/DataTable/DataTable.tokens.theme-dark.json +156 -0
- package/src/components/DataTable/DataTable.tokens.theme-high-contrast-solarized-dark.json +157 -0
- package/src/components/DataTable/DataTable.tokens.theme-high-contrast-solarized-light.json +157 -0
- package/src/components/DataTable/DataTable.tokens.theme-light.json +157 -0
- package/src/components/DataTable/DataTable.vue +249 -0
- package/src/components/DataTable/tableLogic.ts +110 -0
- package/src/components/DataView/DataView.matrix.ts +19 -0
- package/src/components/DataView/DataView.scss +152 -0
- package/src/components/DataView/DataView.tokens.theme-dark.json +172 -0
- package/src/components/DataView/DataView.tokens.theme-high-contrast-solarized-dark.json +172 -0
- package/src/components/DataView/DataView.tokens.theme-high-contrast-solarized-light.json +172 -0
- package/src/components/DataView/DataView.tokens.theme-light.json +172 -0
- package/src/components/DataView/DataView.vue +215 -0
- package/src/components/DataView/viewLogic.ts +59 -0
- package/src/components/DeferredContent/DeferredContent.vue +65 -0
- package/src/components/Dialog/Dialog.matrix.ts +12 -0
- package/src/components/Dialog/Dialog.scss +159 -0
- package/src/components/Dialog/Dialog.tokens.theme-dark.json +151 -0
- package/src/components/Dialog/Dialog.tokens.theme-high-contrast-solarized-dark.json +151 -0
- package/src/components/Dialog/Dialog.tokens.theme-high-contrast-solarized-light.json +151 -0
- package/src/components/Dialog/Dialog.tokens.theme-light.json +151 -0
- package/src/components/Dialog/Dialog.vue +200 -0
- package/src/components/Divider/Divider.matrix.ts +29 -0
- package/src/components/Divider/Divider.scss +147 -0
- package/src/components/Divider/Divider.tokens.theme-dark.json +45 -0
- package/src/components/Divider/Divider.tokens.theme-high-contrast-solarized-dark.json +45 -0
- package/src/components/Divider/Divider.tokens.theme-high-contrast-solarized-light.json +45 -0
- package/src/components/Divider/Divider.tokens.theme-light.json +45 -0
- package/src/components/Divider/Divider.vue +51 -0
- package/src/components/Dock/Dock.matrix.ts +26 -0
- package/src/components/Dock/Dock.scss +223 -0
- package/src/components/Dock/Dock.tokens.theme-dark.json +173 -0
- package/src/components/Dock/Dock.tokens.theme-high-contrast-solarized-dark.json +173 -0
- package/src/components/Dock/Dock.tokens.theme-high-contrast-solarized-light.json +173 -0
- package/src/components/Dock/Dock.tokens.theme-light.json +173 -0
- package/src/components/Dock/Dock.vue +130 -0
- package/src/components/Drawer/Drawer.matrix.ts +18 -0
- package/src/components/Drawer/Drawer.scss +222 -0
- package/src/components/Drawer/Drawer.tokens.theme-dark.json +163 -0
- package/src/components/Drawer/Drawer.tokens.theme-high-contrast-solarized-dark.json +163 -0
- package/src/components/Drawer/Drawer.tokens.theme-high-contrast-solarized-light.json +163 -0
- package/src/components/Drawer/Drawer.tokens.theme-light.json +163 -0
- package/src/components/Drawer/Drawer.vue +187 -0
- package/src/components/Dropdown/Dropdown.matrix.ts +35 -0
- package/src/components/Dropdown/Dropdown.scss +221 -0
- package/src/components/Dropdown/Dropdown.tokens.theme-dark.json +230 -0
- package/src/components/Dropdown/Dropdown.tokens.theme-high-contrast-solarized-dark.json +230 -0
- package/src/components/Dropdown/Dropdown.tokens.theme-high-contrast-solarized-light.json +230 -0
- package/src/components/Dropdown/Dropdown.tokens.theme-light.json +230 -0
- package/src/components/Dropdown/Dropdown.vue +337 -0
- package/src/components/Dropdown/options.ts +38 -0
- package/src/components/DynamicDialog/DynamicDialog.matrix.ts +10 -0
- package/src/components/DynamicDialog/DynamicDialog.vue +46 -0
- package/src/components/Editor/Editor.scss +158 -0
- package/src/components/Editor/Editor.tokens.theme-dark.json +172 -0
- package/src/components/Editor/Editor.tokens.theme-high-contrast-solarized-dark.json +172 -0
- package/src/components/Editor/Editor.tokens.theme-high-contrast-solarized-light.json +172 -0
- package/src/components/Editor/Editor.tokens.theme-light.json +172 -0
- package/src/components/Editor/Editor.vue +260 -0
- package/src/components/FieldSet/FieldSet.matrix.ts +17 -0
- package/src/components/FieldSet/FieldSet.scss +99 -0
- package/src/components/FieldSet/FieldSet.tokens.theme-dark.json +115 -0
- package/src/components/FieldSet/FieldSet.tokens.theme-high-contrast-solarized-dark.json +115 -0
- package/src/components/FieldSet/FieldSet.tokens.theme-high-contrast-solarized-light.json +115 -0
- package/src/components/FieldSet/FieldSet.tokens.theme-light.json +115 -0
- package/src/components/FieldSet/FieldSet.vue +87 -0
- package/src/components/FileUpload/FileUpload.matrix.ts +17 -0
- package/src/components/FileUpload/FileUpload.scss +139 -0
- package/src/components/FileUpload/FileUpload.tokens.theme-dark.json +193 -0
- package/src/components/FileUpload/FileUpload.tokens.theme-high-contrast-solarized-dark.json +193 -0
- package/src/components/FileUpload/FileUpload.tokens.theme-high-contrast-solarized-light.json +193 -0
- package/src/components/FileUpload/FileUpload.tokens.theme-light.json +193 -0
- package/src/components/FileUpload/FileUpload.vue +202 -0
- package/src/components/FileUpload/fileValidation.ts +93 -0
- package/src/components/Galleria/Galleria.matrix.ts +13 -0
- package/src/components/Galleria/Galleria.scss +300 -0
- package/src/components/Galleria/Galleria.tokens.theme-dark.json +235 -0
- package/src/components/Galleria/Galleria.tokens.theme-high-contrast-solarized-dark.json +235 -0
- package/src/components/Galleria/Galleria.tokens.theme-high-contrast-solarized-light.json +235 -0
- package/src/components/Galleria/Galleria.tokens.theme-light.json +235 -0
- package/src/components/Galleria/Galleria.vue +336 -0
- package/src/components/Image/Image.matrix.ts +12 -0
- package/src/components/Image/Image.scss +132 -0
- package/src/components/Image/Image.tokens.theme-dark.json +71 -0
- package/src/components/Image/Image.tokens.theme-high-contrast-solarized-dark.json +71 -0
- package/src/components/Image/Image.tokens.theme-high-contrast-solarized-light.json +71 -0
- package/src/components/Image/Image.tokens.theme-light.json +71 -0
- package/src/components/Image/Image.vue +149 -0
- package/src/components/ImageCompare/ImageCompare.matrix.ts +39 -0
- package/src/components/ImageCompare/ImageCompare.scss +99 -0
- package/src/components/ImageCompare/ImageCompare.tokens.theme-dark.json +74 -0
- package/src/components/ImageCompare/ImageCompare.tokens.theme-high-contrast-solarized-dark.json +74 -0
- package/src/components/ImageCompare/ImageCompare.tokens.theme-high-contrast-solarized-light.json +74 -0
- package/src/components/ImageCompare/ImageCompare.tokens.theme-light.json +74 -0
- package/src/components/ImageCompare/ImageCompare.vue +77 -0
- package/src/components/ImageCompare/imageCompareMath.ts +51 -0
- package/src/components/InPlace/InPlace.matrix.ts +17 -0
- package/src/components/InPlace/InPlace.scss +103 -0
- package/src/components/InPlace/InPlace.tokens.theme-dark.json +100 -0
- package/src/components/InPlace/InPlace.tokens.theme-high-contrast-solarized-dark.json +100 -0
- package/src/components/InPlace/InPlace.tokens.theme-high-contrast-solarized-light.json +100 -0
- package/src/components/InPlace/InPlace.tokens.theme-light.json +100 -0
- package/src/components/InPlace/InPlace.vue +112 -0
- package/src/components/InlineMessage/InlineMessage.matrix.ts +27 -0
- package/src/components/InlineMessage/InlineMessage.scss +69 -0
- package/src/components/InlineMessage/InlineMessage.tokens.theme-dark.json +107 -0
- package/src/components/InlineMessage/InlineMessage.tokens.theme-high-contrast-solarized-dark.json +107 -0
- package/src/components/InlineMessage/InlineMessage.tokens.theme-high-contrast-solarized-light.json +107 -0
- package/src/components/InlineMessage/InlineMessage.tokens.theme-light.json +107 -0
- package/src/components/InlineMessage/InlineMessage.vue +57 -0
- package/src/components/InputChips/InputChips.matrix.ts +29 -0
- package/src/components/InputChips/InputChips.scss +176 -0
- package/src/components/InputChips/InputChips.tokens.theme-dark.json +192 -0
- package/src/components/InputChips/InputChips.tokens.theme-high-contrast-solarized-dark.json +192 -0
- package/src/components/InputChips/InputChips.tokens.theme-high-contrast-solarized-light.json +192 -0
- package/src/components/InputChips/InputChips.tokens.theme-light.json +192 -0
- package/src/components/InputChips/InputChips.vue +170 -0
- package/src/components/InputChips/parseChipInput.ts +36 -0
- package/src/components/InputGroup/InputGroup.scss +58 -0
- package/src/components/InputGroup/InputGroup.tokens.theme-dark.json +21 -0
- package/src/components/InputGroup/InputGroup.tokens.theme-high-contrast-solarized-dark.json +21 -0
- package/src/components/InputGroup/InputGroup.tokens.theme-high-contrast-solarized-light.json +21 -0
- package/src/components/InputGroup/InputGroup.tokens.theme-light.json +21 -0
- package/src/components/InputGroup/InputGroup.vue +22 -0
- package/src/components/InputGroupAddon/InputGroupAddon.scss +28 -0
- package/src/components/InputGroupAddon/InputGroupAddon.tokens.theme-dark.json +47 -0
- package/src/components/InputGroupAddon/InputGroupAddon.tokens.theme-high-contrast-solarized-dark.json +47 -0
- package/src/components/InputGroupAddon/InputGroupAddon.tokens.theme-high-contrast-solarized-light.json +47 -0
- package/src/components/InputGroupAddon/InputGroupAddon.tokens.theme-light.json +47 -0
- package/src/components/InputGroupAddon/InputGroupAddon.vue +22 -0
- package/src/components/InputIcon/InputIcon.scss +58 -0
- package/src/components/InputIcon/InputIcon.tokens.theme-dark.json +38 -0
- package/src/components/InputIcon/InputIcon.tokens.theme-high-contrast-solarized-dark.json +38 -0
- package/src/components/InputIcon/InputIcon.tokens.theme-high-contrast-solarized-light.json +38 -0
- package/src/components/InputIcon/InputIcon.tokens.theme-light.json +38 -0
- package/src/components/InputIcon/InputIcon.vue +29 -0
- package/src/components/InputMask/InputMask.matrix.ts +33 -0
- package/src/components/InputMask/InputMask.scss +68 -0
- package/src/components/InputMask/InputMask.tokens.theme-dark.json +136 -0
- package/src/components/InputMask/InputMask.tokens.theme-high-contrast-solarized-dark.json +136 -0
- package/src/components/InputMask/InputMask.tokens.theme-high-contrast-solarized-light.json +136 -0
- package/src/components/InputMask/InputMask.tokens.theme-light.json +136 -0
- package/src/components/InputMask/InputMask.vue +281 -0
- package/src/components/InputNumber/InputNumber.matrix.ts +33 -0
- package/src/components/InputNumber/InputNumber.scss +127 -0
- package/src/components/InputNumber/InputNumber.tokens.theme-dark.json +144 -0
- package/src/components/InputNumber/InputNumber.tokens.theme-high-contrast-solarized-dark.json +144 -0
- package/src/components/InputNumber/InputNumber.tokens.theme-high-contrast-solarized-light.json +144 -0
- package/src/components/InputNumber/InputNumber.tokens.theme-light.json +144 -0
- package/src/components/InputNumber/InputNumber.vue +157 -0
- package/src/components/InputNumber/clampValue.ts +20 -0
- package/src/components/InputNumber/formatValue.ts +24 -0
- package/src/components/InputNumber/parseValue.ts +50 -0
- package/src/components/InputOtp/InputOtp.matrix.ts +29 -0
- package/src/components/InputOtp/InputOtp.scss +91 -0
- package/src/components/InputOtp/InputOtp.tokens.theme-dark.json +138 -0
- package/src/components/InputOtp/InputOtp.tokens.theme-high-contrast-solarized-dark.json +138 -0
- package/src/components/InputOtp/InputOtp.tokens.theme-high-contrast-solarized-light.json +138 -0
- package/src/components/InputOtp/InputOtp.tokens.theme-light.json +138 -0
- package/src/components/InputOtp/InputOtp.vue +236 -0
- package/src/components/InputOtp/spreadPasteToSlots.ts +23 -0
- package/src/components/InputOtp/validateChar.ts +4 -0
- package/src/components/InputSwitch/InputSwitch.matrix.ts +30 -0
- package/src/components/InputSwitch/InputSwitch.scss +132 -0
- package/src/components/InputSwitch/InputSwitch.tokens.theme-dark.json +110 -0
- package/src/components/InputSwitch/InputSwitch.tokens.theme-high-contrast-solarized-dark.json +109 -0
- package/src/components/InputSwitch/InputSwitch.tokens.theme-high-contrast-solarized-light.json +108 -0
- package/src/components/InputSwitch/InputSwitch.tokens.theme-light.json +110 -0
- package/src/components/InputSwitch/InputSwitch.vue +58 -0
- package/src/components/InputText/InputText.matrix.ts +34 -0
- package/src/components/InputText/InputText.scss +68 -0
- package/src/components/InputText/InputText.tokens.theme-dark.json +136 -0
- package/src/components/InputText/InputText.tokens.theme-high-contrast-solarized-dark.json +136 -0
- package/src/components/InputText/InputText.tokens.theme-high-contrast-solarized-light.json +136 -0
- package/src/components/InputText/InputText.tokens.theme-light.json +136 -0
- package/src/components/InputText/InputText.vue +92 -0
- package/src/components/Knob/Knob.matrix.ts +23 -0
- package/src/components/Knob/Knob.scss +94 -0
- package/src/components/Knob/Knob.tokens.theme-dark.json +119 -0
- package/src/components/Knob/Knob.tokens.theme-high-contrast-solarized-dark.json +119 -0
- package/src/components/Knob/Knob.tokens.theme-high-contrast-solarized-light.json +119 -0
- package/src/components/Knob/Knob.tokens.theme-light.json +119 -0
- package/src/components/Knob/Knob.vue +263 -0
- package/src/components/Knob/knobMath.ts +97 -0
- package/src/components/ListBox/ListBox.matrix.ts +31 -0
- package/src/components/ListBox/ListBox.scss +162 -0
- package/src/components/ListBox/ListBox.tokens.theme-dark.json +167 -0
- package/src/components/ListBox/ListBox.tokens.theme-high-contrast-solarized-dark.json +166 -0
- package/src/components/ListBox/ListBox.tokens.theme-high-contrast-solarized-light.json +166 -0
- package/src/components/ListBox/ListBox.tokens.theme-light.json +166 -0
- package/src/components/ListBox/ListBox.vue +176 -0
- package/src/components/ListBox/options.ts +97 -0
- package/src/components/MegaMenu/MegaMenu.matrix.ts +17 -0
- package/src/components/MegaMenu/MegaMenu.scss +282 -0
- package/src/components/MegaMenu/MegaMenu.tokens.theme-dark.json +283 -0
- package/src/components/MegaMenu/MegaMenu.tokens.theme-high-contrast-solarized-dark.json +291 -0
- package/src/components/MegaMenu/MegaMenu.tokens.theme-high-contrast-solarized-light.json +291 -0
- package/src/components/MegaMenu/MegaMenu.tokens.theme-light.json +283 -0
- package/src/components/MegaMenu/MegaMenu.vue +239 -0
- package/src/components/Menu/Menu.matrix.ts +12 -0
- package/src/components/Menu/Menu.scss +102 -0
- package/src/components/Menu/Menu.tokens.theme-dark.json +145 -0
- package/src/components/Menu/Menu.tokens.theme-high-contrast-solarized-dark.json +145 -0
- package/src/components/Menu/Menu.tokens.theme-high-contrast-solarized-light.json +145 -0
- package/src/components/Menu/Menu.tokens.theme-light.json +145 -0
- package/src/components/Menu/Menu.vue +196 -0
- package/src/components/Menu/computePosition.ts +97 -0
- package/src/components/MenuBar/MenuBar.matrix.ts +9 -0
- package/src/components/MenuBar/MenuBar.scss +215 -0
- package/src/components/MenuBar/MenuBar.tokens.theme-dark.json +152 -0
- package/src/components/MenuBar/MenuBar.tokens.theme-high-contrast-solarized-dark.json +152 -0
- package/src/components/MenuBar/MenuBar.tokens.theme-high-contrast-solarized-light.json +152 -0
- package/src/components/MenuBar/MenuBar.tokens.theme-light.json +152 -0
- package/src/components/MenuBar/MenuBar.vue +316 -0
- package/src/components/Message/Message.matrix.ts +25 -0
- package/src/components/Message/Message.scss +128 -0
- package/src/components/Message/Message.tokens.theme-dark.json +151 -0
- package/src/components/Message/Message.tokens.theme-high-contrast-solarized-dark.json +151 -0
- package/src/components/Message/Message.tokens.theme-high-contrast-solarized-light.json +151 -0
- package/src/components/Message/Message.tokens.theme-light.json +151 -0
- package/src/components/Message/Message.vue +104 -0
- package/src/components/MeterGroup/MeterGroup.matrix.ts +18 -0
- package/src/components/MeterGroup/MeterGroup.scss +105 -0
- package/src/components/MeterGroup/MeterGroup.tokens.theme-dark.json +108 -0
- package/src/components/MeterGroup/MeterGroup.tokens.theme-high-contrast-solarized-dark.json +108 -0
- package/src/components/MeterGroup/MeterGroup.tokens.theme-high-contrast-solarized-light.json +108 -0
- package/src/components/MeterGroup/MeterGroup.tokens.theme-light.json +108 -0
- package/src/components/MeterGroup/MeterGroup.vue +66 -0
- package/src/components/MeterGroup/meterMath.ts +58 -0
- package/src/components/MultiSelect/MultiSelect.matrix.ts +33 -0
- package/src/components/MultiSelect/MultiSelect.scss +245 -0
- package/src/components/MultiSelect/MultiSelect.tokens.theme-dark.json +244 -0
- package/src/components/MultiSelect/MultiSelect.tokens.theme-high-contrast-solarized-dark.json +268 -0
- package/src/components/MultiSelect/MultiSelect.tokens.theme-high-contrast-solarized-light.json +268 -0
- package/src/components/MultiSelect/MultiSelect.tokens.theme-light.json +244 -0
- package/src/components/MultiSelect/MultiSelect.vue +302 -0
- package/src/components/MultiSelect/options.ts +52 -0
- package/src/components/OrderList/OrderList.matrix.ts +9 -0
- package/src/components/OrderList/OrderList.scss +136 -0
- package/src/components/OrderList/OrderList.tokens.theme-dark.json +193 -0
- package/src/components/OrderList/OrderList.tokens.theme-high-contrast-solarized-dark.json +193 -0
- package/src/components/OrderList/OrderList.tokens.theme-high-contrast-solarized-light.json +193 -0
- package/src/components/OrderList/OrderList.tokens.theme-light.json +193 -0
- package/src/components/OrderList/OrderList.vue +299 -0
- package/src/components/OrderList/reorder.ts +114 -0
- package/src/components/OrganizationChart/OrganizationChart.matrix.ts +11 -0
- package/src/components/OrganizationChart/OrganizationChart.scss +147 -0
- package/src/components/OrganizationChart/OrganizationChart.tokens.theme-dark.json +188 -0
- package/src/components/OrganizationChart/OrganizationChart.tokens.theme-high-contrast-solarized-dark.json +188 -0
- package/src/components/OrganizationChart/OrganizationChart.tokens.theme-high-contrast-solarized-light.json +188 -0
- package/src/components/OrganizationChart/OrganizationChart.tokens.theme-light.json +188 -0
- package/src/components/OrganizationChart/OrganizationChart.vue +259 -0
- package/src/components/OrganizationChart/orgChartUtils.ts +112 -0
- package/src/components/OverlayPanel/OverlayPanel.matrix.ts +8 -0
- package/src/components/OverlayPanel/OverlayPanel.scss +67 -0
- package/src/components/OverlayPanel/OverlayPanel.tokens.theme-dark.json +94 -0
- package/src/components/OverlayPanel/OverlayPanel.tokens.theme-high-contrast-solarized-dark.json +94 -0
- package/src/components/OverlayPanel/OverlayPanel.tokens.theme-high-contrast-solarized-light.json +94 -0
- package/src/components/OverlayPanel/OverlayPanel.tokens.theme-light.json +94 -0
- package/src/components/OverlayPanel/OverlayPanel.vue +172 -0
- package/src/components/OverlayPanel/computePosition.ts +76 -0
- package/src/components/Paginator/Paginator.matrix.ts +16 -0
- package/src/components/Paginator/Paginator.scss +134 -0
- package/src/components/Paginator/Paginator.tokens.theme-dark.json +186 -0
- package/src/components/Paginator/Paginator.tokens.theme-high-contrast-solarized-dark.json +186 -0
- package/src/components/Paginator/Paginator.tokens.theme-high-contrast-solarized-light.json +186 -0
- package/src/components/Paginator/Paginator.tokens.theme-light.json +186 -0
- package/src/components/Paginator/Paginator.vue +219 -0
- package/src/components/Paginator/pageMath.ts +126 -0
- package/src/components/Panel/Panel.matrix.ts +17 -0
- package/src/components/Panel/Panel.scss +114 -0
- package/src/components/Panel/Panel.tokens.theme-dark.json +120 -0
- package/src/components/Panel/Panel.tokens.theme-high-contrast-solarized-dark.json +120 -0
- package/src/components/Panel/Panel.tokens.theme-high-contrast-solarized-light.json +120 -0
- package/src/components/Panel/Panel.tokens.theme-light.json +120 -0
- package/src/components/Panel/Panel.vue +106 -0
- package/src/components/PanelMenu/PanelMenu.matrix.ts +17 -0
- package/src/components/PanelMenu/PanelMenu.scss +217 -0
- package/src/components/PanelMenu/PanelMenu.tokens.theme-dark.json +190 -0
- package/src/components/PanelMenu/PanelMenu.tokens.theme-high-contrast-solarized-dark.json +190 -0
- package/src/components/PanelMenu/PanelMenu.tokens.theme-high-contrast-solarized-light.json +190 -0
- package/src/components/PanelMenu/PanelMenu.tokens.theme-light.json +190 -0
- package/src/components/PanelMenu/PanelMenu.vue +320 -0
- package/src/components/PickList/PickList.matrix.ts +10 -0
- package/src/components/PickList/PickList.scss +132 -0
- package/src/components/PickList/PickList.tokens.theme-dark.json +187 -0
- package/src/components/PickList/PickList.tokens.theme-high-contrast-solarized-dark.json +187 -0
- package/src/components/PickList/PickList.tokens.theme-high-contrast-solarized-light.json +187 -0
- package/src/components/PickList/PickList.tokens.theme-light.json +187 -0
- package/src/components/PickList/PickList.vue +267 -0
- package/src/components/PickList/transfer.ts +80 -0
- package/src/components/PopOver/PopOver.matrix.ts +8 -0
- package/src/components/PopOver/PopOver.scss +108 -0
- package/src/components/PopOver/PopOver.tokens.theme-dark.json +65 -0
- package/src/components/PopOver/PopOver.tokens.theme-high-contrast-solarized-dark.json +65 -0
- package/src/components/PopOver/PopOver.tokens.theme-high-contrast-solarized-light.json +65 -0
- package/src/components/PopOver/PopOver.tokens.theme-light.json +65 -0
- package/src/components/PopOver/PopOver.vue +263 -0
- package/src/components/Portal/Portal.vue +17 -0
- package/src/components/ProgressBar/ProgressBar.matrix.ts +23 -0
- package/src/components/ProgressBar/ProgressBar.scss +58 -0
- package/src/components/ProgressBar/ProgressBar.tokens.theme-dark.json +33 -0
- package/src/components/ProgressBar/ProgressBar.tokens.theme-high-contrast-solarized-dark.json +33 -0
- package/src/components/ProgressBar/ProgressBar.tokens.theme-high-contrast-solarized-light.json +33 -0
- package/src/components/ProgressBar/ProgressBar.tokens.theme-light.json +33 -0
- package/src/components/ProgressBar/ProgressBar.vue +52 -0
- package/src/components/ProgressSpinner/ProgressSpinner.matrix.ts +16 -0
- package/src/components/ProgressSpinner/ProgressSpinner.scss +48 -0
- package/src/components/ProgressSpinner/ProgressSpinner.tokens.theme-dark.json +38 -0
- package/src/components/ProgressSpinner/ProgressSpinner.tokens.theme-high-contrast-solarized-dark.json +38 -0
- package/src/components/ProgressSpinner/ProgressSpinner.tokens.theme-high-contrast-solarized-light.json +38 -0
- package/src/components/ProgressSpinner/ProgressSpinner.tokens.theme-light.json +38 -0
- package/src/components/ProgressSpinner/ProgressSpinner.vue +68 -0
- package/src/components/PromotionFooter/PromotionFooter.matrix.ts +16 -0
- package/src/components/PromotionFooter/PromotionFooter.scss +103 -0
- package/src/components/PromotionFooter/PromotionFooter.tokens.theme-dark.json +31 -0
- package/src/components/PromotionFooter/PromotionFooter.tokens.theme-high-contrast-solarized-dark.json +31 -0
- package/src/components/PromotionFooter/PromotionFooter.tokens.theme-high-contrast-solarized-light.json +31 -0
- package/src/components/PromotionFooter/PromotionFooter.tokens.theme-light.json +31 -0
- package/src/components/PromotionFooter/PromotionFooter.vue +70 -0
- package/src/components/PromotionHeader/PromotionHeader.matrix.ts +17 -0
- package/src/components/PromotionHeader/PromotionHeader.scss +129 -0
- package/src/components/PromotionHeader/PromotionHeader.tokens.theme-dark.json +33 -0
- package/src/components/PromotionHeader/PromotionHeader.tokens.theme-high-contrast-solarized-dark.json +33 -0
- package/src/components/PromotionHeader/PromotionHeader.tokens.theme-high-contrast-solarized-light.json +33 -0
- package/src/components/PromotionHeader/PromotionHeader.tokens.theme-light.json +33 -0
- package/src/components/PromotionHeader/PromotionHeader.vue +92 -0
- package/src/components/RadioButton/RadioButton.matrix.ts +28 -0
- package/src/components/RadioButton/RadioButton.scss +161 -0
- package/src/components/RadioButton/RadioButton.tokens.theme-dark.json +135 -0
- package/src/components/RadioButton/RadioButton.tokens.theme-high-contrast-solarized-dark.json +135 -0
- package/src/components/RadioButton/RadioButton.tokens.theme-high-contrast-solarized-light.json +135 -0
- package/src/components/RadioButton/RadioButton.tokens.theme-light.json +135 -0
- package/src/components/RadioButton/RadioButton.vue +63 -0
- package/src/components/Rating/Rating.matrix.ts +23 -0
- package/src/components/Rating/Rating.scss +116 -0
- package/src/components/Rating/Rating.tokens.theme-dark.json +76 -0
- package/src/components/Rating/Rating.tokens.theme-high-contrast-solarized-dark.json +76 -0
- package/src/components/Rating/Rating.tokens.theme-high-contrast-solarized-light.json +76 -0
- package/src/components/Rating/Rating.tokens.theme-light.json +76 -0
- package/src/components/Rating/Rating.vue +120 -0
- package/src/components/Rating/computeRatingValue.ts +13 -0
- package/src/components/RelationMatrix/RelationMatrix.matrix.ts +59 -0
- package/src/components/RelationMatrix/RelationMatrix.scss +252 -0
- package/src/components/RelationMatrix/RelationMatrix.tokens.theme-dark.json +80 -0
- package/src/components/RelationMatrix/RelationMatrix.tokens.theme-high-contrast-solarized-dark.json +80 -0
- package/src/components/RelationMatrix/RelationMatrix.tokens.theme-high-contrast-solarized-light.json +80 -0
- package/src/components/RelationMatrix/RelationMatrix.tokens.theme-light.json +80 -0
- package/src/components/RelationMatrix/RelationMatrix.vue +359 -0
- package/src/components/Row/Row.scss +46 -0
- package/src/components/Row/Row.tokens.theme-dark.json +62 -0
- package/src/components/Row/Row.tokens.theme-high-contrast-solarized-dark.json +62 -0
- package/src/components/Row/Row.tokens.theme-high-contrast-solarized-light.json +62 -0
- package/src/components/Row/Row.tokens.theme-light.json +62 -0
- package/src/components/Row/Row.vue +32 -0
- package/src/components/ScrollPanel/ScrollPanel.matrix.ts +14 -0
- package/src/components/ScrollPanel/ScrollPanel.scss +94 -0
- package/src/components/ScrollPanel/ScrollPanel.tokens.theme-dark.json +69 -0
- package/src/components/ScrollPanel/ScrollPanel.tokens.theme-high-contrast-solarized-dark.json +69 -0
- package/src/components/ScrollPanel/ScrollPanel.tokens.theme-high-contrast-solarized-light.json +69 -0
- package/src/components/ScrollPanel/ScrollPanel.tokens.theme-light.json +69 -0
- package/src/components/ScrollPanel/ScrollPanel.vue +288 -0
- package/src/components/ScrollPanel/scrollbarMath.ts +77 -0
- package/src/components/ScrollTop/ScrollTop.scss +62 -0
- package/src/components/ScrollTop/ScrollTop.tokens.theme-dark.json +84 -0
- package/src/components/ScrollTop/ScrollTop.tokens.theme-high-contrast-solarized-dark.json +84 -0
- package/src/components/ScrollTop/ScrollTop.tokens.theme-high-contrast-solarized-light.json +84 -0
- package/src/components/ScrollTop/ScrollTop.tokens.theme-light.json +84 -0
- package/src/components/ScrollTop/ScrollTop.vue +102 -0
- package/src/components/Select/Select.matrix.ts +28 -0
- package/src/components/Select/Select.scss +105 -0
- package/src/components/Select/Select.tokens.theme-dark.json +190 -0
- package/src/components/Select/Select.tokens.theme-high-contrast-solarized-dark.json +190 -0
- package/src/components/Select/Select.tokens.theme-high-contrast-solarized-light.json +190 -0
- package/src/components/Select/Select.tokens.theme-light.json +190 -0
- package/src/components/Select/Select.vue +99 -0
- package/src/components/Select/normalizeOptions.ts +33 -0
- package/src/components/SelectButton/SelectButton.matrix.ts +22 -0
- package/src/components/SelectButton/SelectButton.scss +67 -0
- package/src/components/SelectButton/SelectButton.tokens.theme-dark.json +145 -0
- package/src/components/SelectButton/SelectButton.tokens.theme-high-contrast-solarized-dark.json +145 -0
- package/src/components/SelectButton/SelectButton.tokens.theme-high-contrast-solarized-light.json +145 -0
- package/src/components/SelectButton/SelectButton.tokens.theme-light.json +145 -0
- package/src/components/SelectButton/SelectButton.vue +89 -0
- package/src/components/SelectButton/options.ts +139 -0
- package/src/components/Sidebar/Sidebar.matrix.ts +16 -0
- package/src/components/Sidebar/Sidebar.scss +172 -0
- package/src/components/Sidebar/Sidebar.tokens.theme-dark.json +146 -0
- package/src/components/Sidebar/Sidebar.tokens.theme-high-contrast-solarized-dark.json +146 -0
- package/src/components/Sidebar/Sidebar.tokens.theme-high-contrast-solarized-light.json +146 -0
- package/src/components/Sidebar/Sidebar.tokens.theme-light.json +146 -0
- package/src/components/Sidebar/Sidebar.vue +186 -0
- package/src/components/Skeleton/Skeleton.matrix.ts +28 -0
- package/src/components/Skeleton/Skeleton.scss +43 -0
- package/src/components/Skeleton/Skeleton.tokens.theme-dark.json +26 -0
- package/src/components/Skeleton/Skeleton.tokens.theme-high-contrast-solarized-dark.json +26 -0
- package/src/components/Skeleton/Skeleton.tokens.theme-high-contrast-solarized-light.json +26 -0
- package/src/components/Skeleton/Skeleton.tokens.theme-light.json +26 -0
- package/src/components/Skeleton/Skeleton.vue +61 -0
- package/src/components/Slider/Slider.matrix.ts +25 -0
- package/src/components/Slider/Slider.scss +106 -0
- package/src/components/Slider/Slider.tokens.theme-dark.json +82 -0
- package/src/components/Slider/Slider.tokens.theme-high-contrast-solarized-dark.json +82 -0
- package/src/components/Slider/Slider.tokens.theme-high-contrast-solarized-light.json +82 -0
- package/src/components/Slider/Slider.tokens.theme-light.json +82 -0
- package/src/components/Slider/Slider.vue +69 -0
- package/src/components/Slider/sliderMath.ts +59 -0
- package/src/components/SpeedDial/SpeedDial.matrix.ts +19 -0
- package/src/components/SpeedDial/SpeedDial.scss +222 -0
- package/src/components/SpeedDial/SpeedDial.tokens.theme-dark.json +144 -0
- package/src/components/SpeedDial/SpeedDial.tokens.theme-high-contrast-solarized-dark.json +144 -0
- package/src/components/SpeedDial/SpeedDial.tokens.theme-high-contrast-solarized-light.json +144 -0
- package/src/components/SpeedDial/SpeedDial.tokens.theme-light.json +144 -0
- package/src/components/SpeedDial/SpeedDial.vue +205 -0
- package/src/components/SplitButton/SplitButton.matrix.ts +32 -0
- package/src/components/SplitButton/SplitButton.scss +273 -0
- package/src/components/SplitButton/SplitButton.tokens.theme-dark.json +316 -0
- package/src/components/SplitButton/SplitButton.tokens.theme-high-contrast-solarized-dark.json +316 -0
- package/src/components/SplitButton/SplitButton.tokens.theme-high-contrast-solarized-light.json +316 -0
- package/src/components/SplitButton/SplitButton.tokens.theme-light.json +316 -0
- package/src/components/SplitButton/SplitButton.vue +185 -0
- package/src/components/Splitter/Splitter.matrix.ts +17 -0
- package/src/components/Splitter/Splitter.scss +97 -0
- package/src/components/Splitter/Splitter.tokens.theme-dark.json +88 -0
- package/src/components/Splitter/Splitter.tokens.theme-high-contrast-solarized-dark.json +88 -0
- package/src/components/Splitter/Splitter.tokens.theme-high-contrast-solarized-light.json +88 -0
- package/src/components/Splitter/Splitter.tokens.theme-light.json +88 -0
- package/src/components/Splitter/Splitter.vue +197 -0
- package/src/components/Splitter/SplitterPanel.vue +139 -0
- package/src/components/Splitter/splitterMath.ts +110 -0
- package/src/components/Steps/Steps.matrix.ts +9 -0
- package/src/components/Steps/Steps.scss +169 -0
- package/src/components/Steps/Steps.tokens.theme-dark.json +154 -0
- package/src/components/Steps/Steps.tokens.theme-high-contrast-solarized-dark.json +154 -0
- package/src/components/Steps/Steps.tokens.theme-high-contrast-solarized-light.json +154 -0
- package/src/components/Steps/Steps.tokens.theme-light.json +154 -0
- package/src/components/Steps/Steps.vue +104 -0
- package/src/components/TabMenu/TabMenu.matrix.ts +18 -0
- package/src/components/TabMenu/TabMenu.scss +109 -0
- package/src/components/TabMenu/TabMenu.tokens.theme-dark.json +103 -0
- package/src/components/TabMenu/TabMenu.tokens.theme-high-contrast-solarized-dark.json +103 -0
- package/src/components/TabMenu/TabMenu.tokens.theme-high-contrast-solarized-light.json +103 -0
- package/src/components/TabMenu/TabMenu.tokens.theme-light.json +103 -0
- package/src/components/TabMenu/TabMenu.vue +147 -0
- package/src/components/TabMenu/keyboardNav.ts +62 -0
- package/src/components/Tabs/TabPanel.vue +42 -0
- package/src/components/Tabs/Tabs.matrix.ts +24 -0
- package/src/components/Tabs/Tabs.scss +89 -0
- package/src/components/Tabs/Tabs.tokens.theme-dark.json +97 -0
- package/src/components/Tabs/Tabs.tokens.theme-high-contrast-solarized-dark.json +97 -0
- package/src/components/Tabs/Tabs.tokens.theme-high-contrast-solarized-light.json +97 -0
- package/src/components/Tabs/Tabs.tokens.theme-light.json +97 -0
- package/src/components/Tabs/Tabs.vue +145 -0
- package/src/components/Tabs/keyboardNav.ts +88 -0
- package/src/components/Tag/Tag.matrix.ts +39 -0
- package/src/components/Tag/Tag.scss +73 -0
- package/src/components/Tag/Tag.tokens.theme-dark.json +118 -0
- package/src/components/Tag/Tag.tokens.theme-high-contrast-solarized-dark.json +122 -0
- package/src/components/Tag/Tag.tokens.theme-high-contrast-solarized-light.json +122 -0
- package/src/components/Tag/Tag.tokens.theme-light.json +122 -0
- package/src/components/Tag/Tag.vue +40 -0
- package/src/components/Terminal/Terminal.scss +80 -0
- package/src/components/Terminal/Terminal.tokens.theme-dark.json +100 -0
- package/src/components/Terminal/Terminal.tokens.theme-high-contrast-solarized-dark.json +100 -0
- package/src/components/Terminal/Terminal.tokens.theme-high-contrast-solarized-light.json +100 -0
- package/src/components/Terminal/Terminal.tokens.theme-light.json +100 -0
- package/src/components/Terminal/Terminal.vue +122 -0
- package/src/components/Textarea/Textarea.matrix.ts +24 -0
- package/src/components/Textarea/Textarea.scss +72 -0
- package/src/components/Textarea/Textarea.tokens.theme-dark.json +96 -0
- package/src/components/Textarea/Textarea.tokens.theme-high-contrast-solarized-dark.json +96 -0
- package/src/components/Textarea/Textarea.tokens.theme-high-contrast-solarized-light.json +96 -0
- package/src/components/Textarea/Textarea.tokens.theme-light.json +96 -0
- package/src/components/Textarea/Textarea.vue +108 -0
- package/src/components/TieredMenu/TieredMenu.matrix.ts +12 -0
- package/src/components/TieredMenu/TieredMenu.scss +149 -0
- package/src/components/TieredMenu/TieredMenu.tokens.theme-dark.json +142 -0
- package/src/components/TieredMenu/TieredMenu.tokens.theme-high-contrast-solarized-dark.json +142 -0
- package/src/components/TieredMenu/TieredMenu.tokens.theme-high-contrast-solarized-light.json +142 -0
- package/src/components/TieredMenu/TieredMenu.tokens.theme-light.json +142 -0
- package/src/components/TieredMenu/TieredMenu.vue +288 -0
- package/src/components/TieredMenu/TieredMenuSub.vue +133 -0
- package/src/components/Timeline/Timeline.matrix.ts +19 -0
- package/src/components/Timeline/Timeline.scss +190 -0
- package/src/components/Timeline/Timeline.tokens.theme-dark.json +129 -0
- package/src/components/Timeline/Timeline.tokens.theme-high-contrast-solarized-dark.json +129 -0
- package/src/components/Timeline/Timeline.tokens.theme-high-contrast-solarized-light.json +129 -0
- package/src/components/Timeline/Timeline.tokens.theme-light.json +129 -0
- package/src/components/Timeline/Timeline.vue +69 -0
- package/src/components/Timeline/timelineUtils.ts +57 -0
- package/src/components/Toast/Toast.scss +281 -0
- package/src/components/Toast/Toast.tokens.theme-dark.json +281 -0
- package/src/components/Toast/Toast.tokens.theme-high-contrast-solarized-dark.json +281 -0
- package/src/components/Toast/Toast.tokens.theme-high-contrast-solarized-light.json +281 -0
- package/src/components/Toast/Toast.tokens.theme-light.json +281 -0
- package/src/components/Toast/Toast.vue +183 -0
- package/src/components/ToggleButton/ToggleButton.matrix.ts +33 -0
- package/src/components/ToggleButton/ToggleButton.scss +102 -0
- package/src/components/ToggleButton/ToggleButton.tokens.theme-dark.json +217 -0
- package/src/components/ToggleButton/ToggleButton.tokens.theme-high-contrast-solarized-dark.json +220 -0
- package/src/components/ToggleButton/ToggleButton.tokens.theme-high-contrast-solarized-light.json +220 -0
- package/src/components/ToggleButton/ToggleButton.tokens.theme-light.json +220 -0
- package/src/components/ToggleButton/ToggleButton.vue +73 -0
- package/src/components/ToggleSwitch/ToggleSwitch.matrix.ts +28 -0
- package/src/components/ToggleSwitch/ToggleSwitch.scss +75 -0
- package/src/components/ToggleSwitch/ToggleSwitch.tokens.theme-dark.json +95 -0
- package/src/components/ToggleSwitch/ToggleSwitch.tokens.theme-high-contrast-solarized-dark.json +95 -0
- package/src/components/ToggleSwitch/ToggleSwitch.tokens.theme-high-contrast-solarized-light.json +95 -0
- package/src/components/ToggleSwitch/ToggleSwitch.tokens.theme-light.json +95 -0
- package/src/components/ToggleSwitch/ToggleSwitch.vue +55 -0
- package/src/components/Toolbar/Toolbar.matrix.ts +10 -0
- package/src/components/Toolbar/Toolbar.scss +37 -0
- package/src/components/Toolbar/Toolbar.tokens.theme-dark.json +41 -0
- package/src/components/Toolbar/Toolbar.tokens.theme-high-contrast-solarized-dark.json +41 -0
- package/src/components/Toolbar/Toolbar.tokens.theme-high-contrast-solarized-light.json +41 -0
- package/src/components/Toolbar/Toolbar.tokens.theme-light.json +41 -0
- package/src/components/Toolbar/Toolbar.vue +21 -0
- package/src/components/Tooltip/Tooltip.scss +111 -0
- package/src/components/Tooltip/Tooltip.tokens.theme-dark.json +60 -0
- package/src/components/Tooltip/Tooltip.tokens.theme-high-contrast-solarized-dark.json +60 -0
- package/src/components/Tooltip/Tooltip.tokens.theme-high-contrast-solarized-light.json +60 -0
- package/src/components/Tooltip/Tooltip.tokens.theme-light.json +60 -0
- package/src/components/Tooltip/Tooltip.vue +168 -0
- package/src/components/Tooltip/computePosition.ts +64 -0
- package/src/components/Tree/Tree.matrix.ts +18 -0
- package/src/components/Tree/Tree.scss +170 -0
- package/src/components/Tree/Tree.tokens.theme-dark.json +153 -0
- package/src/components/Tree/Tree.tokens.theme-high-contrast-solarized-dark.json +153 -0
- package/src/components/Tree/Tree.tokens.theme-high-contrast-solarized-light.json +153 -0
- package/src/components/Tree/Tree.tokens.theme-light.json +153 -0
- package/src/components/Tree/Tree.vue +256 -0
- package/src/components/Tree/treeUtils.ts +128 -0
- package/src/components/TreeSelect/TreeSelect.matrix.ts +17 -0
- package/src/components/TreeSelect/TreeSelect.scss +245 -0
- package/src/components/TreeSelect/TreeSelect.tokens.theme-dark.json +224 -0
- package/src/components/TreeSelect/TreeSelect.tokens.theme-high-contrast-solarized-dark.json +224 -0
- package/src/components/TreeSelect/TreeSelect.tokens.theme-high-contrast-solarized-light.json +224 -0
- package/src/components/TreeSelect/TreeSelect.tokens.theme-light.json +224 -0
- package/src/components/TreeSelect/TreeSelect.vue +414 -0
- package/src/components/TreeSelect/treeUtils.ts +143 -0
- package/src/components/TreeTable/TreeTable.matrix.ts +24 -0
- package/src/components/TreeTable/TreeTable.scss +179 -0
- package/src/components/TreeTable/TreeTable.tokens.theme-dark.json +155 -0
- package/src/components/TreeTable/TreeTable.tokens.theme-high-contrast-solarized-dark.json +155 -0
- package/src/components/TreeTable/TreeTable.tokens.theme-high-contrast-solarized-light.json +155 -0
- package/src/components/TreeTable/TreeTable.tokens.theme-light.json +158 -0
- package/src/components/TreeTable/TreeTable.vue +296 -0
- package/src/components/TreeTable/treeTableUtils.ts +95 -0
- package/src/components/VirtualScroller/VirtualScroller.matrix.ts +14 -0
- package/src/components/VirtualScroller/VirtualScroller.scss +109 -0
- package/src/components/VirtualScroller/VirtualScroller.tokens.theme-dark.json +95 -0
- package/src/components/VirtualScroller/VirtualScroller.tokens.theme-high-contrast-solarized-dark.json +95 -0
- package/src/components/VirtualScroller/VirtualScroller.tokens.theme-high-contrast-solarized-light.json +95 -0
- package/src/components/VirtualScroller/VirtualScroller.tokens.theme-light.json +95 -0
- package/src/components/VirtualScroller/VirtualScroller.vue +247 -0
- package/src/components/VirtualScroller/visibleWindow.ts +85 -0
- package/src/scss/fonts.scss +10 -0
- package/src/scss/mixins/accent-gradient.scss +43 -0
- package/src/scss/mixins/border.scss +28 -0
- package/src/scss/mixins/breakpoint.scss +80 -0
- package/src/scss/mixins/container.scss +43 -0
- package/src/scss/mixins/grid.scss +23 -0
- package/src/scss/mixins/levitation.scss +15 -0
- package/src/scss/mixins/list.scss +5 -0
- package/src/scss/mixins/surface.scss +19 -0
- package/src/scss/mixins/typography.scss +172 -0
- package/src/scss/utility-classes/utility-classes-spacing.scss +281 -0
- package/src/scss/utility-classes/utility-classes-typography.scss +114 -0
- package/tokens/brand.json +33 -0
- package/tokens/brand.schema.json +86 -0
- package/tokens/presets/minimalist-saas.json +30 -0
- package/tokens/presets/serious-fintech.json +30 -0
- package/tokens/presets/warm-dtc.json +30 -0
- package/tokens/primitives/color.json +137 -0
- package/tokens/primitives/radius.json +12 -0
- package/tokens/primitives/shadow.json +29 -0
- package/tokens/primitives/spacing.json +15 -0
- package/tokens/themes/theme-dark/color.json +90 -0
- package/tokens/themes/theme-dark/container.json +9 -0
- package/tokens/themes/theme-dark/radius.json +10 -0
- package/tokens/themes/theme-dark/shadow.json +9 -0
- package/tokens/themes/theme-dark/spacing.json +44 -0
- package/tokens/themes/theme-high-contrast-solarized-dark/color.json +90 -0
- package/tokens/themes/theme-high-contrast-solarized-dark/container.json +9 -0
- package/tokens/themes/theme-high-contrast-solarized-dark/radius.json +10 -0
- package/tokens/themes/theme-high-contrast-solarized-dark/shadow.json +10 -0
- package/tokens/themes/theme-high-contrast-solarized-dark/spacing.json +44 -0
- package/tokens/themes/theme-high-contrast-solarized-light/color.json +90 -0
- package/tokens/themes/theme-high-contrast-solarized-light/container.json +9 -0
- package/tokens/themes/theme-high-contrast-solarized-light/radius.json +10 -0
- package/tokens/themes/theme-high-contrast-solarized-light/shadow.json +10 -0
- package/tokens/themes/theme-high-contrast-solarized-light/spacing.json +44 -0
- package/tokens/themes/theme-light/color.json +90 -0
- package/tokens/themes/theme-light/container.json +9 -0
- package/tokens/themes/theme-light/radius.json +10 -0
- package/tokens/themes/theme-light/shadow.json +9 -0
- package/tokens/themes/theme-light/spacing.json +44 -0
|
@@ -0,0 +1,249 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="data-table" :class="additionalClasses">
|
|
3
|
+
<div v-if="$slots.header" class="data-table__header">
|
|
4
|
+
<slot name="header" />
|
|
5
|
+
</div>
|
|
6
|
+
|
|
7
|
+
<!-- WCAG 2.1.1 (axe: scrollable-region-focusable): the wrapper
|
|
8
|
+
enables horizontal scroll on overflowing tables, so it needs
|
|
9
|
+
a tabindex + role + accessible name so keyboard users can
|
|
10
|
+
reach + scroll it. -->
|
|
11
|
+
<div
|
|
12
|
+
class="data-table__wrapper"
|
|
13
|
+
tabindex="0"
|
|
14
|
+
role="region"
|
|
15
|
+
:aria-label="ariaLabel || 'Data table'"
|
|
16
|
+
>
|
|
17
|
+
<table class="data-table__table">
|
|
18
|
+
<thead class="data-table__thead">
|
|
19
|
+
<tr>
|
|
20
|
+
<th
|
|
21
|
+
v-for="col in columns"
|
|
22
|
+
:key="col.field"
|
|
23
|
+
class="data-table__th"
|
|
24
|
+
:class="{ 'data-table__th--sortable': col.sortable }"
|
|
25
|
+
:style="col.width ? { width: col.width } : {}"
|
|
26
|
+
@click="col.sortable ? onSort(col.field) : null"
|
|
27
|
+
>
|
|
28
|
+
<span class="data-table__th-content">
|
|
29
|
+
{{ col.header }}
|
|
30
|
+
<span v-if="col.sortable" class="data-table__sort-icon">
|
|
31
|
+
<svg
|
|
32
|
+
v-if="sortField === col.field"
|
|
33
|
+
viewBox="0 0 24 24"
|
|
34
|
+
fill="none"
|
|
35
|
+
stroke="currentColor"
|
|
36
|
+
stroke-width="2"
|
|
37
|
+
:class="{ 'data-table__sort-icon--desc': sortOrder === -1 }"
|
|
38
|
+
>
|
|
39
|
+
<polyline points="18 15 12 9 6 15" />
|
|
40
|
+
</svg>
|
|
41
|
+
<svg
|
|
42
|
+
v-else
|
|
43
|
+
viewBox="0 0 24 24"
|
|
44
|
+
fill="none"
|
|
45
|
+
stroke="currentColor"
|
|
46
|
+
stroke-width="2"
|
|
47
|
+
class="data-table__sort-icon--neutral"
|
|
48
|
+
>
|
|
49
|
+
<polyline points="7 10 12 5 17 10" />
|
|
50
|
+
<polyline points="7 14 12 19 17 14" />
|
|
51
|
+
</svg>
|
|
52
|
+
</span>
|
|
53
|
+
</span>
|
|
54
|
+
</th>
|
|
55
|
+
</tr>
|
|
56
|
+
</thead>
|
|
57
|
+
<tbody class="data-table__tbody">
|
|
58
|
+
<tr
|
|
59
|
+
v-for="(row, rowIndex) in paginatedData"
|
|
60
|
+
:key="rowIndex"
|
|
61
|
+
class="data-table__row"
|
|
62
|
+
:class="{ 'data-table__row--shape-striped': striped && rowIndex % 2 === 1 }"
|
|
63
|
+
>
|
|
64
|
+
<td
|
|
65
|
+
v-for="col in columns"
|
|
66
|
+
:key="col.field"
|
|
67
|
+
class="data-table__td"
|
|
68
|
+
>
|
|
69
|
+
<slot :name="`column-${col.field}`" :data="row" :field="col.field">
|
|
70
|
+
{{ getFieldValue(row, col.field) }}
|
|
71
|
+
</slot>
|
|
72
|
+
</td>
|
|
73
|
+
</tr>
|
|
74
|
+
<tr v-if="paginatedData.length === 0" class="data-table__empty-row">
|
|
75
|
+
<td :colspan="columns.length" class="data-table__empty">
|
|
76
|
+
<slot name="empty">
|
|
77
|
+
No records found
|
|
78
|
+
</slot>
|
|
79
|
+
</td>
|
|
80
|
+
</tr>
|
|
81
|
+
</tbody>
|
|
82
|
+
</table>
|
|
83
|
+
</div>
|
|
84
|
+
|
|
85
|
+
<div v-if="paginator && totalPages > 1" class="data-table__pagination">
|
|
86
|
+
<button
|
|
87
|
+
class="data-table__page-btn"
|
|
88
|
+
aria-label="First page"
|
|
89
|
+
:disabled="currentPage === 1"
|
|
90
|
+
@click="goToPage(1)"
|
|
91
|
+
>
|
|
92
|
+
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" aria-hidden="true">
|
|
93
|
+
<polyline points="11 17 6 12 11 7" />
|
|
94
|
+
<polyline points="18 17 13 12 18 7" />
|
|
95
|
+
</svg>
|
|
96
|
+
</button>
|
|
97
|
+
<button
|
|
98
|
+
class="data-table__page-btn"
|
|
99
|
+
aria-label="Previous page"
|
|
100
|
+
:disabled="currentPage === 1"
|
|
101
|
+
@click="goToPage(currentPage - 1)"
|
|
102
|
+
>
|
|
103
|
+
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" aria-hidden="true">
|
|
104
|
+
<polyline points="15 18 9 12 15 6" />
|
|
105
|
+
</svg>
|
|
106
|
+
</button>
|
|
107
|
+
<span class="data-table__page-info">
|
|
108
|
+
Page {{ currentPage }} of {{ totalPages }}
|
|
109
|
+
</span>
|
|
110
|
+
<button
|
|
111
|
+
class="data-table__page-btn"
|
|
112
|
+
aria-label="Next page"
|
|
113
|
+
:disabled="currentPage === totalPages"
|
|
114
|
+
@click="goToPage(currentPage + 1)"
|
|
115
|
+
>
|
|
116
|
+
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" aria-hidden="true">
|
|
117
|
+
<polyline points="9 18 15 12 9 6" />
|
|
118
|
+
</svg>
|
|
119
|
+
</button>
|
|
120
|
+
<button
|
|
121
|
+
class="data-table__page-btn"
|
|
122
|
+
aria-label="Last page"
|
|
123
|
+
:disabled="currentPage === totalPages"
|
|
124
|
+
@click="goToPage(totalPages)"
|
|
125
|
+
>
|
|
126
|
+
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
|
|
127
|
+
<polyline points="13 17 18 12 13 7" />
|
|
128
|
+
<polyline points="6 17 11 12 6 7" />
|
|
129
|
+
</svg>
|
|
130
|
+
</button>
|
|
131
|
+
</div>
|
|
132
|
+
|
|
133
|
+
<div v-if="$slots.footer" class="data-table__footer">
|
|
134
|
+
<slot name="footer" />
|
|
135
|
+
</div>
|
|
136
|
+
</div>
|
|
137
|
+
</template>
|
|
138
|
+
|
|
139
|
+
<style src="./DataTable.scss"></style>
|
|
140
|
+
|
|
141
|
+
<script setup lang="ts" generic="TRow extends Record<string, unknown>">
|
|
142
|
+
import { ref, computed, watch } from "vue";
|
|
143
|
+
import {
|
|
144
|
+
getFieldValue,
|
|
145
|
+
sortRows,
|
|
146
|
+
totalPages as computeTotalPages,
|
|
147
|
+
paginate,
|
|
148
|
+
nextSortState,
|
|
149
|
+
clampPage,
|
|
150
|
+
type SortOrder,
|
|
151
|
+
} from "./tableLogic";
|
|
152
|
+
|
|
153
|
+
export interface DataTableColumn {
|
|
154
|
+
field: string;
|
|
155
|
+
header: string;
|
|
156
|
+
sortable?: boolean;
|
|
157
|
+
width?: string;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
export type { SortOrder };
|
|
161
|
+
|
|
162
|
+
interface Props {
|
|
163
|
+
value?: TRow[];
|
|
164
|
+
columns?: DataTableColumn[];
|
|
165
|
+
striped?: boolean;
|
|
166
|
+
hoverable?: boolean;
|
|
167
|
+
paginator?: boolean;
|
|
168
|
+
rows?: number;
|
|
169
|
+
sortField?: string | null;
|
|
170
|
+
sortOrder?: SortOrder;
|
|
171
|
+
/** Accessible name for the scrollable wrapper region. WCAG 2.1.1 +
|
|
172
|
+
* axe `scrollable-region-focusable` require the wrapper to be
|
|
173
|
+
* keyboard-focusable; ariaLabel gives the focus target a name. */
|
|
174
|
+
ariaLabel?: string;
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
const props = withDefaults(defineProps<Props>(), {
|
|
178
|
+
value: () => [] as TRow[],
|
|
179
|
+
columns: () => [],
|
|
180
|
+
striped: false,
|
|
181
|
+
hoverable: true,
|
|
182
|
+
paginator: false,
|
|
183
|
+
rows: 10,
|
|
184
|
+
sortField: null,
|
|
185
|
+
sortOrder: 1,
|
|
186
|
+
ariaLabel: undefined,
|
|
187
|
+
});
|
|
188
|
+
|
|
189
|
+
const emit = defineEmits<{
|
|
190
|
+
(e: "sort", payload: { sortField: string | null; sortOrder: SortOrder }): void;
|
|
191
|
+
(e: "page", payload: { page: number }): void;
|
|
192
|
+
}>();
|
|
193
|
+
|
|
194
|
+
defineOptions({ name: "DataTable" });
|
|
195
|
+
|
|
196
|
+
const currentPage = ref(1);
|
|
197
|
+
const internalSortField = ref<string | null>(props.sortField);
|
|
198
|
+
const internalSortOrder = ref<SortOrder>(props.sortOrder);
|
|
199
|
+
|
|
200
|
+
watch(
|
|
201
|
+
() => props.sortField,
|
|
202
|
+
(val) => {
|
|
203
|
+
internalSortField.value = val;
|
|
204
|
+
}
|
|
205
|
+
);
|
|
206
|
+
|
|
207
|
+
watch(
|
|
208
|
+
() => props.sortOrder,
|
|
209
|
+
(val) => {
|
|
210
|
+
internalSortOrder.value = val;
|
|
211
|
+
}
|
|
212
|
+
);
|
|
213
|
+
|
|
214
|
+
const sortField = computed(() => internalSortField.value);
|
|
215
|
+
const sortOrder = computed(() => internalSortOrder.value);
|
|
216
|
+
|
|
217
|
+
const sortedData = computed(() =>
|
|
218
|
+
sortRows(props.value, internalSortField.value, internalSortOrder.value)
|
|
219
|
+
);
|
|
220
|
+
|
|
221
|
+
const totalPages = computed(() =>
|
|
222
|
+
computeTotalPages(sortedData.value.length, props.rows, props.paginator)
|
|
223
|
+
);
|
|
224
|
+
|
|
225
|
+
const paginatedData = computed(() =>
|
|
226
|
+
paginate(sortedData.value, currentPage.value, props.rows, props.paginator)
|
|
227
|
+
);
|
|
228
|
+
|
|
229
|
+
const additionalClasses = computed(() =>
|
|
230
|
+
[props.hoverable && "data-table--mode-hoverable"].filter(Boolean).join(" ")
|
|
231
|
+
);
|
|
232
|
+
|
|
233
|
+
function onSort(field: string) {
|
|
234
|
+
const next = nextSortState(
|
|
235
|
+
{ sortField: internalSortField.value, sortOrder: internalSortOrder.value },
|
|
236
|
+
field
|
|
237
|
+
);
|
|
238
|
+
internalSortField.value = next.sortField;
|
|
239
|
+
internalSortOrder.value = next.sortOrder;
|
|
240
|
+
emit("sort", { sortField: next.sortField, sortOrder: next.sortOrder });
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
function goToPage(page: number) {
|
|
244
|
+
const valid = clampPage(page, totalPages.value);
|
|
245
|
+
if (valid == null) return;
|
|
246
|
+
currentPage.value = valid;
|
|
247
|
+
emit("page", { page: currentPage.value });
|
|
248
|
+
}
|
|
249
|
+
</script>
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Pure logic for DataTable.
|
|
3
|
+
*
|
|
4
|
+
* Extracted so each branch can be unit-tested directly without mounting
|
|
5
|
+
* Vue. Keep the component template thin and let these helpers carry the
|
|
6
|
+
* decisions: dotted-path field reads, sort comparators, pagination math,
|
|
7
|
+
* sort-state transitions.
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
export type SortOrder = 1 | -1
|
|
11
|
+
|
|
12
|
+
export interface SortState {
|
|
13
|
+
sortField: string | null
|
|
14
|
+
sortOrder: SortOrder
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* Read a (possibly nested) field off a row using dotted-path notation.
|
|
19
|
+
* Returns `undefined` for any segment that traverses through a non-object.
|
|
20
|
+
*/
|
|
21
|
+
export function getFieldValue(
|
|
22
|
+
row: Record<string, unknown> | null | undefined,
|
|
23
|
+
field: string
|
|
24
|
+
): unknown {
|
|
25
|
+
if (!row) return undefined
|
|
26
|
+
return field
|
|
27
|
+
.split('.')
|
|
28
|
+
.reduce<unknown>(
|
|
29
|
+
(acc, key) =>
|
|
30
|
+
acc && typeof acc === 'object' ? (acc as Record<string, unknown>)[key] : undefined,
|
|
31
|
+
row
|
|
32
|
+
)
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
/**
|
|
36
|
+
* Stable-ish sort by a single field × direction. Uses lt/gt comparison so
|
|
37
|
+
* it works for both numeric and string fields. Returns a new array — does
|
|
38
|
+
* not mutate the input.
|
|
39
|
+
*/
|
|
40
|
+
export function sortRows<TRow extends Record<string, unknown>>(
|
|
41
|
+
rows: readonly TRow[],
|
|
42
|
+
sortField: string | null,
|
|
43
|
+
sortOrder: SortOrder
|
|
44
|
+
): TRow[] {
|
|
45
|
+
if (!sortField) return [...rows]
|
|
46
|
+
return [...rows].sort((a, b) => {
|
|
47
|
+
const aVal = getFieldValue(a, sortField) as number | string | null | undefined
|
|
48
|
+
const bVal = getFieldValue(b, sortField) as number | string | null | undefined
|
|
49
|
+
if (aVal == null && bVal == null) return 0
|
|
50
|
+
if (aVal == null) return 1 * sortOrder
|
|
51
|
+
if (bVal == null) return -1 * sortOrder
|
|
52
|
+
if (aVal < bVal) return -1 * sortOrder
|
|
53
|
+
if (aVal > bVal) return 1 * sortOrder
|
|
54
|
+
return 0
|
|
55
|
+
})
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
/**
|
|
59
|
+
* Number of pages required to render `total` rows at `rowsPerPage`. Always
|
|
60
|
+
* returns 1 when paginator is disabled or rowsPerPage is non-positive
|
|
61
|
+
* (avoids divide-by-zero / NaN downstream).
|
|
62
|
+
*/
|
|
63
|
+
export function totalPages(
|
|
64
|
+
totalRows: number,
|
|
65
|
+
rowsPerPage: number,
|
|
66
|
+
paginatorEnabled: boolean
|
|
67
|
+
): number {
|
|
68
|
+
if (!paginatorEnabled || rowsPerPage <= 0) return 1
|
|
69
|
+
return Math.max(1, Math.ceil(totalRows / rowsPerPage))
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
/**
|
|
73
|
+
* Slice the page-sized window out of `rows`. When the paginator is off,
|
|
74
|
+
* the full array passes through unchanged.
|
|
75
|
+
*/
|
|
76
|
+
export function paginate<TRow>(
|
|
77
|
+
rows: readonly TRow[],
|
|
78
|
+
page: number,
|
|
79
|
+
rowsPerPage: number,
|
|
80
|
+
paginatorEnabled: boolean
|
|
81
|
+
): TRow[] {
|
|
82
|
+
if (!paginatorEnabled) return [...rows]
|
|
83
|
+
const start = (page - 1) * rowsPerPage
|
|
84
|
+
return rows.slice(start, start + rowsPerPage)
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
/**
|
|
88
|
+
* Compute the next sort state when a user clicks a sortable header.
|
|
89
|
+
*
|
|
90
|
+
* - First click on a new field: sort ASC.
|
|
91
|
+
* - Click on the currently sorted field: flip direction (ASC ↔ DESC).
|
|
92
|
+
*
|
|
93
|
+
* The "third click clears" behaviour is *not* part of the contract; this
|
|
94
|
+
* mirrors what the component currently does and is the regression target.
|
|
95
|
+
*/
|
|
96
|
+
export function nextSortState(current: SortState, clickedField: string): SortState {
|
|
97
|
+
if (current.sortField === clickedField) {
|
|
98
|
+
return { sortField: clickedField, sortOrder: (current.sortOrder * -1) as SortOrder }
|
|
99
|
+
}
|
|
100
|
+
return { sortField: clickedField, sortOrder: 1 }
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
/**
|
|
104
|
+
* Clamp a requested page to `[1, totalPages]`. Returns `null` when the
|
|
105
|
+
* page is out of range — callers use that signal to short-circuit.
|
|
106
|
+
*/
|
|
107
|
+
export function clampPage(requested: number, total: number): number | null {
|
|
108
|
+
if (requested < 1 || requested > total) return null
|
|
109
|
+
return requested
|
|
110
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { ComponentMatrix } from '../../types/matrix'
|
|
2
|
+
|
|
3
|
+
export const matrix: ComponentMatrix = {
|
|
4
|
+
rootSelector: '.data-view',
|
|
5
|
+
// DataView uses item-template slots. Without children the matrix
|
|
6
|
+
// shows the surrounding chrome (layout buttons, paginator, empty list).
|
|
7
|
+
baseQuery: {
|
|
8
|
+
value: '[{"name":"Alpha"},{"name":"Beta"},{"name":"Gamma"}]'
|
|
9
|
+
},
|
|
10
|
+
variants: [
|
|
11
|
+
{
|
|
12
|
+
name: 'Layout',
|
|
13
|
+
subvariants: [
|
|
14
|
+
{ name: 'list', query: { layout: 'list' } },
|
|
15
|
+
{ name: 'grid', query: { layout: 'grid' } }
|
|
16
|
+
]
|
|
17
|
+
}
|
|
18
|
+
]
|
|
19
|
+
}
|
|
@@ -0,0 +1,152 @@
|
|
|
1
|
+
@use "../../../dist/scss/tokens" as *;
|
|
2
|
+
|
|
3
|
+
$c: data-view;
|
|
4
|
+
|
|
5
|
+
.#{$c} {
|
|
6
|
+
background-color: var(--dataView-background, $dataView-background);
|
|
7
|
+
border: var(--dataView-border-width, $dataView-border-width) solid var(--dataView-border-color, $dataView-border-color);
|
|
8
|
+
border-radius: var(--dataView-radius, $dataView-radius);
|
|
9
|
+
overflow: hidden;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.#{$c}__header {
|
|
13
|
+
display: flex;
|
|
14
|
+
align-items: center;
|
|
15
|
+
justify-content: space-between;
|
|
16
|
+
gap: var(--inset-m, $inset-m);
|
|
17
|
+
padding: var(--dataView-header-padding, $dataView-header-padding);
|
|
18
|
+
background-color: var(--dataView-header-background, $dataView-header-background);
|
|
19
|
+
border-bottom: var(--dataView-border-width, $dataView-border-width) solid var(--dataView-header-borderColor, $dataView-header-borderColor);
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.#{$c}__header-content {
|
|
23
|
+
flex: 1;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.#{$c}__layout-switcher {
|
|
27
|
+
display: flex;
|
|
28
|
+
gap: var(--dataView-layoutSwitcher-gap, $dataView-layoutSwitcher-gap);
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.#{$c}__layout-btn {
|
|
32
|
+
display: inline-flex;
|
|
33
|
+
align-items: center;
|
|
34
|
+
justify-content: center;
|
|
35
|
+
width: var(--dataView-layoutSwitcher-button-size, $dataView-layoutSwitcher-button-size);
|
|
36
|
+
height: var(--dataView-layoutSwitcher-button-size, $dataView-layoutSwitcher-button-size);
|
|
37
|
+
padding: 0;
|
|
38
|
+
border: none;
|
|
39
|
+
background-color: var(--dataView-layoutSwitcher-button-background-default, $dataView-layoutSwitcher-button-background-default);
|
|
40
|
+
border-radius: var(--dataView-layoutSwitcher-button-radius, $dataView-layoutSwitcher-button-radius);
|
|
41
|
+
cursor: pointer;
|
|
42
|
+
transition: background-color var(--dataView-transition-duration, $dataView-transition-duration) ease,
|
|
43
|
+
color var(--dataView-transition-duration, $dataView-transition-duration) ease;
|
|
44
|
+
|
|
45
|
+
svg {
|
|
46
|
+
width: 16px;
|
|
47
|
+
height: 16px;
|
|
48
|
+
color: var(--dataView-layoutSwitcher-button-color-default, $dataView-layoutSwitcher-button-color-default);
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
&:hover,
|
|
52
|
+
&[data-state~="hover"] {
|
|
53
|
+
background-color: var(--dataView-layoutSwitcher-button-background-hover, $dataView-layoutSwitcher-button-background-hover);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
&--state-active {
|
|
57
|
+
background-color: var(--dataView-layoutSwitcher-button-background-active, $dataView-layoutSwitcher-button-background-active);
|
|
58
|
+
|
|
59
|
+
svg {
|
|
60
|
+
color: var(--dataView-layoutSwitcher-button-color-active, $dataView-layoutSwitcher-button-color-active);
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.#{$c}__content {
|
|
66
|
+
padding: var(--dataView-content-padding, $dataView-content-padding);
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.#{$c}__content--list {
|
|
70
|
+
display: flex;
|
|
71
|
+
flex-direction: column;
|
|
72
|
+
gap: var(--dataView-list-gap, $dataView-list-gap);
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.#{$c}__content--grid {
|
|
76
|
+
display: grid;
|
|
77
|
+
grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
|
|
78
|
+
gap: var(--dataView-grid-gap, $dataView-grid-gap);
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.#{$c}--layout-list .#{$c}__item {
|
|
82
|
+
padding: var(--dataView-list-item-padding, $dataView-list-item-padding);
|
|
83
|
+
background-color: var(--dataView-list-item-background-default, $dataView-list-item-background-default);
|
|
84
|
+
border: 1px solid var(--dataView-list-item-borderColor, $dataView-list-item-borderColor);
|
|
85
|
+
border-radius: var(--dataView-list-item-radius, $dataView-list-item-radius);
|
|
86
|
+
transition: background-color var(--dataView-transition-duration, $dataView-transition-duration) ease;
|
|
87
|
+
|
|
88
|
+
&:hover,
|
|
89
|
+
&[data-state~="hover"] {
|
|
90
|
+
background-color: var(--dataView-list-item-background-hover, $dataView-list-item-background-hover);
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
.#{$c}--layout-grid .#{$c}__item {
|
|
95
|
+
// Grid items are typically styled by the slot content
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
.#{$c}__empty {
|
|
99
|
+
padding: var(--dataView-empty-padding, $dataView-empty-padding);
|
|
100
|
+
text-align: center;
|
|
101
|
+
color: var(--dataView-empty-color, $dataView-empty-color);
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
.#{$c}__pagination {
|
|
105
|
+
display: flex;
|
|
106
|
+
align-items: center;
|
|
107
|
+
justify-content: center;
|
|
108
|
+
gap: var(--inset-xs, $inset-xs);
|
|
109
|
+
padding: var(--dataView-pagination-padding, $dataView-pagination-padding);
|
|
110
|
+
border-top: var(--dataView-border-width, $dataView-border-width) solid var(--dataView-pagination-borderColor, $dataView-pagination-borderColor);
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
.#{$c}__page-btn {
|
|
114
|
+
display: inline-flex;
|
|
115
|
+
align-items: center;
|
|
116
|
+
justify-content: center;
|
|
117
|
+
width: 32px;
|
|
118
|
+
height: 32px;
|
|
119
|
+
padding: 0;
|
|
120
|
+
border: none;
|
|
121
|
+
background: transparent;
|
|
122
|
+
cursor: pointer;
|
|
123
|
+
border-radius: var(--dataView-layoutSwitcher-button-radius, $dataView-layoutSwitcher-button-radius);
|
|
124
|
+
transition: background-color var(--dataView-transition-duration, $dataView-transition-duration) ease;
|
|
125
|
+
|
|
126
|
+
svg {
|
|
127
|
+
width: 16px;
|
|
128
|
+
height: 16px;
|
|
129
|
+
color: var(--text-default, $text-default);
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
&:hover:not(:disabled),
|
|
133
|
+
&[data-state~="hover"]:not(:disabled) {
|
|
134
|
+
background-color: var(--dataView-list-item-background-hover, $dataView-list-item-background-hover);
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
&:disabled {
|
|
138
|
+
opacity: 0.4;
|
|
139
|
+
cursor: not-allowed;
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
.#{$c}__page-info {
|
|
144
|
+
font-size: 14px;
|
|
145
|
+
color: var(--text-default, $text-default);
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
.#{$c}__footer {
|
|
149
|
+
padding: var(--dataView-header-padding, $dataView-header-padding);
|
|
150
|
+
background-color: var(--dataView-header-background, $dataView-header-background);
|
|
151
|
+
border-top: var(--dataView-border-width, $dataView-border-width) solid var(--dataView-header-borderColor, $dataView-header-borderColor);
|
|
152
|
+
}
|
|
@@ -0,0 +1,172 @@
|
|
|
1
|
+
{
|
|
2
|
+
"dataView": {
|
|
3
|
+
"background": {
|
|
4
|
+
"value": "{surface.panel}",
|
|
5
|
+
"type": "color",
|
|
6
|
+
"description": "DataView container background"
|
|
7
|
+
},
|
|
8
|
+
"border": {
|
|
9
|
+
"color": {
|
|
10
|
+
"value": "{border.subtle}",
|
|
11
|
+
"type": "color",
|
|
12
|
+
"description": "Container border color"
|
|
13
|
+
},
|
|
14
|
+
"width": {
|
|
15
|
+
"value": "1px",
|
|
16
|
+
"type": "dimension",
|
|
17
|
+
"description": "Container border width"
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
"radius": {
|
|
21
|
+
"value": "{radius.default}",
|
|
22
|
+
"type": "dimension",
|
|
23
|
+
"description": "Container border radius"
|
|
24
|
+
},
|
|
25
|
+
"header": {
|
|
26
|
+
"background": {
|
|
27
|
+
"value": "{surface.muted}",
|
|
28
|
+
"type": "color",
|
|
29
|
+
"description": "Header background color"
|
|
30
|
+
},
|
|
31
|
+
"padding": {
|
|
32
|
+
"value": "{inset.m}",
|
|
33
|
+
"type": "dimension",
|
|
34
|
+
"description": "Header padding"
|
|
35
|
+
},
|
|
36
|
+
"borderColor": {
|
|
37
|
+
"value": "{border.subtle}",
|
|
38
|
+
"type": "color",
|
|
39
|
+
"description": "Header border color"
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
"content": {
|
|
43
|
+
"padding": {
|
|
44
|
+
"value": "{inset.m}",
|
|
45
|
+
"type": "dimension",
|
|
46
|
+
"description": "Content area padding"
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
"grid": {
|
|
50
|
+
"gap": {
|
|
51
|
+
"value": "{stack.m}",
|
|
52
|
+
"type": "dimension",
|
|
53
|
+
"description": "Gap between grid items"
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
"list": {
|
|
57
|
+
"gap": {
|
|
58
|
+
"value": "{stack.s}",
|
|
59
|
+
"type": "dimension",
|
|
60
|
+
"description": "Gap between list items"
|
|
61
|
+
},
|
|
62
|
+
"item": {
|
|
63
|
+
"padding": {
|
|
64
|
+
"value": "{inset.m}",
|
|
65
|
+
"type": "dimension",
|
|
66
|
+
"description": "List item padding"
|
|
67
|
+
},
|
|
68
|
+
"background": {
|
|
69
|
+
"default": {
|
|
70
|
+
"value": "transparent",
|
|
71
|
+
"type": "color",
|
|
72
|
+
"description": "List item background"
|
|
73
|
+
},
|
|
74
|
+
"hover": {
|
|
75
|
+
"value": "{surface.muted}",
|
|
76
|
+
"type": "color",
|
|
77
|
+
"description": "List item hover background"
|
|
78
|
+
}
|
|
79
|
+
},
|
|
80
|
+
"borderColor": {
|
|
81
|
+
"value": "{border.subtle}",
|
|
82
|
+
"type": "color",
|
|
83
|
+
"description": "List item border color"
|
|
84
|
+
},
|
|
85
|
+
"radius": {
|
|
86
|
+
"value": "{radius.subtle}",
|
|
87
|
+
"type": "dimension",
|
|
88
|
+
"description": "List item border radius"
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
},
|
|
92
|
+
"layoutSwitcher": {
|
|
93
|
+
"gap": {
|
|
94
|
+
"value": "{stack.2xs}",
|
|
95
|
+
"type": "dimension",
|
|
96
|
+
"description": "Gap between layout buttons"
|
|
97
|
+
},
|
|
98
|
+
"button": {
|
|
99
|
+
"size": {
|
|
100
|
+
"value": "32px",
|
|
101
|
+
"type": "dimension",
|
|
102
|
+
"description": "Layout button size"
|
|
103
|
+
},
|
|
104
|
+
"background": {
|
|
105
|
+
"default": {
|
|
106
|
+
"value": "transparent",
|
|
107
|
+
"type": "color",
|
|
108
|
+
"description": "Button default background"
|
|
109
|
+
},
|
|
110
|
+
"active": {
|
|
111
|
+
"value": "{surface.muted}",
|
|
112
|
+
"type": "color",
|
|
113
|
+
"description": "Button active background"
|
|
114
|
+
},
|
|
115
|
+
"hover": {
|
|
116
|
+
"value": "{neutral.100}",
|
|
117
|
+
"type": "color",
|
|
118
|
+
"description": "Button hover background"
|
|
119
|
+
}
|
|
120
|
+
},
|
|
121
|
+
"color": {
|
|
122
|
+
"default": {
|
|
123
|
+
"value": "{text.muted}",
|
|
124
|
+
"type": "color",
|
|
125
|
+
"description": "Button icon default color"
|
|
126
|
+
},
|
|
127
|
+
"active": {
|
|
128
|
+
"value": "{text.default}",
|
|
129
|
+
"type": "color",
|
|
130
|
+
"description": "Button icon active color"
|
|
131
|
+
}
|
|
132
|
+
},
|
|
133
|
+
"radius": {
|
|
134
|
+
"value": "{radius.subtle}",
|
|
135
|
+
"type": "dimension",
|
|
136
|
+
"description": "Button border radius"
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
},
|
|
140
|
+
"pagination": {
|
|
141
|
+
"padding": {
|
|
142
|
+
"value": "{inset.m}",
|
|
143
|
+
"type": "dimension",
|
|
144
|
+
"description": "Pagination padding"
|
|
145
|
+
},
|
|
146
|
+
"borderColor": {
|
|
147
|
+
"value": "{border.subtle}",
|
|
148
|
+
"type": "color",
|
|
149
|
+
"description": "Pagination border color"
|
|
150
|
+
}
|
|
151
|
+
},
|
|
152
|
+
"empty": {
|
|
153
|
+
"padding": {
|
|
154
|
+
"value": "{inset.xl}",
|
|
155
|
+
"type": "dimension",
|
|
156
|
+
"description": "Empty state padding"
|
|
157
|
+
},
|
|
158
|
+
"color": {
|
|
159
|
+
"value": "{text.muted}",
|
|
160
|
+
"type": "color",
|
|
161
|
+
"description": "Empty state text color"
|
|
162
|
+
}
|
|
163
|
+
},
|
|
164
|
+
"transition": {
|
|
165
|
+
"duration": {
|
|
166
|
+
"value": "150ms",
|
|
167
|
+
"type": "duration",
|
|
168
|
+
"description": "Animation duration"
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
}
|