@widgetic/design-system 0.3.68
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 +730 -0
- package/dist/components/CopyableHeader.svelte +456 -0
- package/dist/components/CopyableHeader.svelte.d.ts +40 -0
- package/dist/components/EmptyState.svelte +145 -0
- package/dist/components/EmptyState.svelte.d.ts +36 -0
- package/dist/components/PasswordInput.svelte +46 -0
- package/dist/components/PasswordInput.svelte.d.ts +26 -0
- package/dist/components/ThumbHashImage.svelte +124 -0
- package/dist/components/ThumbHashImage.svelte.d.ts +26 -0
- package/dist/components/WScrollArea.svelte +47 -0
- package/dist/components/WScrollArea.svelte.d.ts +38 -0
- package/dist/components/debug-grid/DebugGrid.svelte +207 -0
- package/dist/components/debug-grid/DebugGrid.svelte.d.ts +32 -0
- package/dist/components/ic/browser/BrowserInputController.svelte +481 -0
- package/dist/components/ic/browser/BrowserInputController.svelte.d.ts +34 -0
- package/dist/components/ic/browser/icons/audio.svg +7 -0
- package/dist/components/ic/browser/icons/document.svg +11 -0
- package/dist/components/ic/browser/icons/error.svg +5 -0
- package/dist/components/ic/browser/icons/folder.svg +28 -0
- package/dist/components/ic/browser/icons/info-icon.svg +3 -0
- package/dist/components/ic/browser/icons/player-pause.svg +12 -0
- package/dist/components/ic/browser/icons/player-play.svg +1 -0
- package/dist/components/ic/types.d.ts +14 -0
- package/dist/components/ic/types.js +18 -0
- package/dist/components/index.d.ts +51 -0
- package/dist/components/index.js +52 -0
- package/dist/components/modals/ActionModal.svelte +189 -0
- package/dist/components/modals/ActionModal.svelte.d.ts +49 -0
- package/dist/components/modals/BaseModal.svelte +409 -0
- package/dist/components/modals/BaseModal.svelte.d.ts +38 -0
- package/dist/components/modals/NewItemDialog.svelte +189 -0
- package/dist/components/modals/NewItemDialog.svelte.d.ts +39 -0
- package/dist/components/modals/Portal.svelte +104 -0
- package/dist/components/modals/Portal.svelte.d.ts +34 -0
- package/dist/components/modals/README.md +99 -0
- package/dist/components/modals/RenameDialog.svelte +316 -0
- package/dist/components/modals/RenameDialog.svelte.d.ts +39 -0
- package/dist/components/modals/modalStore.d.ts +10 -0
- package/dist/components/modals/modalStore.js +45 -0
- package/dist/components/navigation/Breadcrumbs.svelte +348 -0
- package/dist/components/navigation/Breadcrumbs.svelte.d.ts +35 -0
- package/dist/components/navigation/index.d.ts +2 -0
- package/dist/components/navigation/index.js +2 -0
- package/dist/components/navigation/types.d.ts +12 -0
- package/dist/components/navigation/types.js +1 -0
- package/dist/components/pdf/PDFViewer.svelte +608 -0
- package/dist/components/pdf/PDFViewer.svelte.d.ts +32 -0
- package/dist/components/search-input/SearchInput.svelte +115 -0
- package/dist/components/search-input/SearchInput.svelte.d.ts +46 -0
- package/dist/components/search-input/index.d.ts +14 -0
- package/dist/components/search-input/index.js +4 -0
- package/dist/components/shad-editor/colorpicker.svelte +17 -0
- package/dist/components/shad-editor/colorpicker.svelte.d.ts +6 -0
- package/dist/components/shad-editor/custom/Extentions/ColorHighlighter.d.ts +2 -0
- package/dist/components/shad-editor/custom/Extentions/ColorHighlighter.js +25 -0
- package/dist/components/shad-editor/custom/Extentions/ImageExtention.d.ts +1 -0
- package/dist/components/shad-editor/custom/Extentions/ImageExtention.js +30 -0
- package/dist/components/shad-editor/custom/Extentions/SearchAndReplace.d.ts +57 -0
- package/dist/components/shad-editor/custom/Extentions/SearchAndReplace.js +232 -0
- package/dist/components/shad-editor/custom/Extentions/SmilieReplacer.d.ts +2 -0
- package/dist/components/shad-editor/custom/Extentions/SmilieReplacer.js +131 -0
- package/dist/components/shad-editor/custom/code-extended.svelte +78 -0
- package/dist/components/shad-editor/custom/code-extended.svelte.d.ts +4 -0
- package/dist/components/shad-editor/custom/image-extended-component.svelte +251 -0
- package/dist/components/shad-editor/custom/image-extended-component.svelte.d.ts +4 -0
- package/dist/components/shad-editor/custom/utils.d.ts +5 -0
- package/dist/components/shad-editor/custom/utils.js +35 -0
- package/dist/components/shad-editor/editor-toolbar.svelte +59 -0
- package/dist/components/shad-editor/editor-toolbar.svelte.d.ts +8 -0
- package/dist/components/shad-editor/editor.css +179 -0
- package/dist/components/shad-editor/icons/block-quote.svelte +26 -0
- package/dist/components/shad-editor/icons/block-quote.svelte.d.ts +7 -0
- package/dist/components/shad-editor/icons/bold.svelte +26 -0
- package/dist/components/shad-editor/icons/bold.svelte.d.ts +8 -0
- package/dist/components/shad-editor/icons/buttle-list.svelte +27 -0
- package/dist/components/shad-editor/icons/buttle-list.svelte.d.ts +7 -0
- package/dist/components/shad-editor/icons/code.svelte +27 -0
- package/dist/components/shad-editor/icons/code.svelte.d.ts +8 -0
- package/dist/components/shad-editor/icons/highlighter.svelte +75 -0
- package/dist/components/shad-editor/icons/highlighter.svelte.d.ts +9 -0
- package/dist/components/shad-editor/icons/image.svelte +73 -0
- package/dist/components/shad-editor/icons/image.svelte.d.ts +8 -0
- package/dist/components/shad-editor/icons/index.d.ts +22 -0
- package/dist/components/shad-editor/icons/index.js +24 -0
- package/dist/components/shad-editor/icons/italic.svelte +26 -0
- package/dist/components/shad-editor/icons/italic.svelte.d.ts +8 -0
- package/dist/components/shad-editor/icons/link.svelte +72 -0
- package/dist/components/shad-editor/icons/link.svelte.d.ts +8 -0
- package/dist/components/shad-editor/icons/ordered-list.svelte +26 -0
- package/dist/components/shad-editor/icons/ordered-list.svelte.d.ts +7 -0
- package/dist/components/shad-editor/icons/quickcolor.svelte +95 -0
- package/dist/components/shad-editor/icons/quickcolor.svelte.d.ts +7 -0
- package/dist/components/shad-editor/icons/redo.svelte +26 -0
- package/dist/components/shad-editor/icons/redo.svelte.d.ts +8 -0
- package/dist/components/shad-editor/icons/search-replace.svelte +146 -0
- package/dist/components/shad-editor/icons/search-replace.svelte.d.ts +7 -0
- package/dist/components/shad-editor/icons/strikethrough.svelte +26 -0
- package/dist/components/shad-editor/icons/strikethrough.svelte.d.ts +8 -0
- package/dist/components/shad-editor/icons/subscript.svelte +26 -0
- package/dist/components/shad-editor/icons/subscript.svelte.d.ts +8 -0
- package/dist/components/shad-editor/icons/superscript.svelte +26 -0
- package/dist/components/shad-editor/icons/superscript.svelte.d.ts +8 -0
- package/dist/components/shad-editor/icons/table.svelte +111 -0
- package/dist/components/shad-editor/icons/table.svelte.d.ts +8 -0
- package/dist/components/shad-editor/icons/task-list.svelte +26 -0
- package/dist/components/shad-editor/icons/task-list.svelte.d.ts +7 -0
- package/dist/components/shad-editor/icons/text.svelte +95 -0
- package/dist/components/shad-editor/icons/text.svelte.d.ts +7 -0
- package/dist/components/shad-editor/icons/textalign.svelte +82 -0
- package/dist/components/shad-editor/icons/textalign.svelte.d.ts +7 -0
- package/dist/components/shad-editor/icons/textcolor.svelte +75 -0
- package/dist/components/shad-editor/icons/textcolor.svelte.d.ts +8 -0
- package/dist/components/shad-editor/icons/underline.svelte +26 -0
- package/dist/components/shad-editor/icons/underline.svelte.d.ts +8 -0
- package/dist/components/shad-editor/icons/undo.svelte +26 -0
- package/dist/components/shad-editor/icons/undo.svelte.d.ts +8 -0
- package/dist/components/shad-editor/index.d.ts +4 -0
- package/dist/components/shad-editor/index.js +5 -0
- package/dist/components/shad-editor/onedark.css +87 -0
- package/dist/components/shad-editor/shad-editor.svelte +153 -0
- package/dist/components/shad-editor/shad-editor.svelte.d.ts +34 -0
- package/dist/components/toast/ToasterModal.svelte +128 -0
- package/dist/components/toast/ToasterModal.svelte.d.ts +30 -0
- package/dist/components/toast/index.d.ts +2 -0
- package/dist/components/toast/index.js +2 -0
- package/dist/components/ui/accordion/accordion-content.svelte +24 -0
- package/dist/components/ui/accordion/accordion-content.svelte.d.ts +4 -0
- package/dist/components/ui/accordion/accordion-item.svelte +12 -0
- package/dist/components/ui/accordion/accordion-item.svelte.d.ts +4 -0
- package/dist/components/ui/accordion/accordion-trigger.svelte +29 -0
- package/dist/components/ui/accordion/accordion-trigger.svelte.d.ts +7 -0
- package/dist/components/ui/accordion/index.d.ts +6 -0
- package/dist/components/ui/accordion/index.js +6 -0
- package/dist/components/ui/alert/alert-description.svelte +13 -0
- package/dist/components/ui/alert/alert-description.svelte.d.ts +28 -0
- package/dist/components/ui/alert/alert-title.svelte +21 -0
- package/dist/components/ui/alert/alert-title.svelte.d.ts +31 -0
- package/dist/components/ui/alert/alert.svelte +17 -0
- package/dist/components/ui/alert/alert.svelte.d.ts +31 -0
- package/dist/components/ui/alert/index.d.ts +43 -0
- package/dist/components/ui/alert/index.js +19 -0
- package/dist/components/ui/badge/badge.svelte +50 -0
- package/dist/components/ui/badge/badge.svelte.d.ts +60 -0
- package/dist/components/ui/badge/index.d.ts +2 -0
- package/dist/components/ui/badge/index.js +2 -0
- package/dist/components/ui/breadcrumb/breadcrumb-ellipsis.svelte +23 -0
- package/dist/components/ui/breadcrumb/breadcrumb-ellipsis.svelte.d.ts +5 -0
- package/dist/components/ui/breadcrumb/breadcrumb-item.svelte +16 -0
- package/dist/components/ui/breadcrumb/breadcrumb-item.svelte.d.ts +5 -0
- package/dist/components/ui/breadcrumb/breadcrumb-link.svelte +31 -0
- package/dist/components/ui/breadcrumb/breadcrumb-link.svelte.d.ts +11 -0
- package/dist/components/ui/breadcrumb/breadcrumb-list.svelte +23 -0
- package/dist/components/ui/breadcrumb/breadcrumb-list.svelte.d.ts +5 -0
- package/dist/components/ui/breadcrumb/breadcrumb-page.svelte +23 -0
- package/dist/components/ui/breadcrumb/breadcrumb-page.svelte.d.ts +5 -0
- package/dist/components/ui/breadcrumb/breadcrumb-separator.svelte +27 -0
- package/dist/components/ui/breadcrumb/breadcrumb-separator.svelte.d.ts +5 -0
- package/dist/components/ui/breadcrumb/breadcrumb.svelte +15 -0
- package/dist/components/ui/breadcrumb/breadcrumb.svelte.d.ts +5 -0
- package/dist/components/ui/breadcrumb/index.d.ts +8 -0
- package/dist/components/ui/breadcrumb/index.js +10 -0
- package/dist/components/ui/button/button.svelte +74 -0
- package/dist/components/ui/button/button.svelte.d.ts +118 -0
- package/dist/components/ui/button/index.d.ts +2 -0
- package/dist/components/ui/button/index.js +4 -0
- package/dist/components/ui/calendar/calendar-cell.svelte +19 -0
- package/dist/components/ui/calendar/calendar-cell.svelte.d.ts +4 -0
- package/dist/components/ui/calendar/calendar-day.svelte +30 -0
- package/dist/components/ui/calendar/calendar-day.svelte.d.ts +4 -0
- package/dist/components/ui/calendar/calendar-grid-body.svelte +12 -0
- package/dist/components/ui/calendar/calendar-grid-body.svelte.d.ts +4 -0
- package/dist/components/ui/calendar/calendar-grid-head.svelte +12 -0
- package/dist/components/ui/calendar/calendar-grid-head.svelte.d.ts +4 -0
- package/dist/components/ui/calendar/calendar-grid-row.svelte +12 -0
- package/dist/components/ui/calendar/calendar-grid-row.svelte.d.ts +4 -0
- package/dist/components/ui/calendar/calendar-grid.svelte +16 -0
- package/dist/components/ui/calendar/calendar-grid.svelte.d.ts +4 -0
- package/dist/components/ui/calendar/calendar-head-cell.svelte +16 -0
- package/dist/components/ui/calendar/calendar-head-cell.svelte.d.ts +4 -0
- package/dist/components/ui/calendar/calendar-header.svelte +16 -0
- package/dist/components/ui/calendar/calendar-header.svelte.d.ts +4 -0
- package/dist/components/ui/calendar/calendar-heading.svelte +12 -0
- package/dist/components/ui/calendar/calendar-heading.svelte.d.ts +4 -0
- package/dist/components/ui/calendar/calendar-months.svelte +20 -0
- package/dist/components/ui/calendar/calendar-months.svelte.d.ts +5 -0
- package/dist/components/ui/calendar/calendar-next-button.svelte +28 -0
- package/dist/components/ui/calendar/calendar-next-button.svelte.d.ts +4 -0
- package/dist/components/ui/calendar/calendar-prev-button.svelte +28 -0
- package/dist/components/ui/calendar/calendar-prev-button.svelte.d.ts +4 -0
- package/dist/components/ui/calendar/calendar.svelte +61 -0
- package/dist/components/ui/calendar/calendar.svelte.d.ts +5 -0
- package/dist/components/ui/calendar/index.d.ts +14 -0
- package/dist/components/ui/calendar/index.js +16 -0
- package/dist/components/ui/card/card-content.svelte +16 -0
- package/dist/components/ui/card/card-content.svelte.d.ts +5 -0
- package/dist/components/ui/card/card-description.svelte +16 -0
- package/dist/components/ui/card/card-description.svelte.d.ts +5 -0
- package/dist/components/ui/card/card-footer.svelte +16 -0
- package/dist/components/ui/card/card-footer.svelte.d.ts +5 -0
- package/dist/components/ui/card/card-header.svelte +16 -0
- package/dist/components/ui/card/card-header.svelte.d.ts +5 -0
- package/dist/components/ui/card/card-title.svelte +25 -0
- package/dist/components/ui/card/card-title.svelte.d.ts +8 -0
- package/dist/components/ui/card/card.svelte +20 -0
- package/dist/components/ui/card/card.svelte.d.ts +5 -0
- package/dist/components/ui/card/index.d.ts +7 -0
- package/dist/components/ui/card/index.js +7 -0
- package/dist/components/ui/checkbox/checkbox.svelte +35 -0
- package/dist/components/ui/checkbox/checkbox.svelte.d.ts +4 -0
- package/dist/components/ui/checkbox/index.d.ts +2 -0
- package/dist/components/ui/checkbox/index.js +4 -0
- package/dist/components/ui/collapsible/index.d.ts +16 -0
- package/dist/components/ui/collapsible/index.js +7 -0
- package/dist/components/ui/command/command-dialog.svelte +35 -0
- package/dist/components/ui/command/command-dialog.svelte.d.ts +9 -0
- package/dist/components/ui/command/command-empty.svelte +12 -0
- package/dist/components/ui/command/command-empty.svelte.d.ts +4 -0
- package/dist/components/ui/command/command-group.svelte +29 -0
- package/dist/components/ui/command/command-group.svelte.d.ts +7 -0
- package/dist/components/ui/command/command-input.svelte +25 -0
- package/dist/components/ui/command/command-input.svelte.d.ts +4 -0
- package/dist/components/ui/command/command-item.svelte +19 -0
- package/dist/components/ui/command/command-item.svelte.d.ts +4 -0
- package/dist/components/ui/command/command-link-item.svelte +19 -0
- package/dist/components/ui/command/command-link-item.svelte.d.ts +4 -0
- package/dist/components/ui/command/command-list.svelte +16 -0
- package/dist/components/ui/command/command-list.svelte.d.ts +4 -0
- package/dist/components/ui/command/command-separator.svelte +12 -0
- package/dist/components/ui/command/command-separator.svelte.d.ts +4 -0
- package/dist/components/ui/command/command-shortcut.svelte +20 -0
- package/dist/components/ui/command/command-shortcut.svelte.d.ts +5 -0
- package/dist/components/ui/command/command.svelte +21 -0
- package/dist/components/ui/command/command.svelte.d.ts +4 -0
- package/dist/components/ui/command/index.d.ts +13 -0
- package/dist/components/ui/command/index.js +15 -0
- package/dist/components/ui/dialog/dialog-content.svelte +38 -0
- package/dist/components/ui/dialog/dialog-content.svelte.d.ts +9 -0
- package/dist/components/ui/dialog/dialog-description.svelte +16 -0
- package/dist/components/ui/dialog/dialog-description.svelte.d.ts +4 -0
- package/dist/components/ui/dialog/dialog-footer.svelte +20 -0
- package/dist/components/ui/dialog/dialog-footer.svelte.d.ts +5 -0
- package/dist/components/ui/dialog/dialog-header.svelte +20 -0
- package/dist/components/ui/dialog/dialog-header.svelte.d.ts +5 -0
- package/dist/components/ui/dialog/dialog-overlay.svelte +19 -0
- package/dist/components/ui/dialog/dialog-overlay.svelte.d.ts +4 -0
- package/dist/components/ui/dialog/dialog-title.svelte +16 -0
- package/dist/components/ui/dialog/dialog-title.svelte.d.ts +4 -0
- package/dist/components/ui/dialog/index.d.ts +12 -0
- package/dist/components/ui/dialog/index.js +14 -0
- package/dist/components/ui/drawer/drawer-content.svelte +30 -0
- package/dist/components/ui/drawer/drawer-content.svelte.d.ts +7 -0
- package/dist/components/ui/drawer/drawer-description.svelte +16 -0
- package/dist/components/ui/drawer/drawer-description.svelte.d.ts +4 -0
- package/dist/components/ui/drawer/drawer-footer.svelte +16 -0
- package/dist/components/ui/drawer/drawer-footer.svelte.d.ts +5 -0
- package/dist/components/ui/drawer/drawer-header.svelte +20 -0
- package/dist/components/ui/drawer/drawer-header.svelte.d.ts +5 -0
- package/dist/components/ui/drawer/drawer-nested.svelte +12 -0
- package/dist/components/ui/drawer/drawer-nested.svelte.d.ts +3 -0
- package/dist/components/ui/drawer/drawer-overlay.svelte +16 -0
- package/dist/components/ui/drawer/drawer-overlay.svelte.d.ts +4 -0
- package/dist/components/ui/drawer/drawer-title.svelte +16 -0
- package/dist/components/ui/drawer/drawer-title.svelte.d.ts +4 -0
- package/dist/components/ui/drawer/drawer.svelte +12 -0
- package/dist/components/ui/drawer/drawer.svelte.d.ts +3 -0
- package/dist/components/ui/drawer/index.d.ts +13 -0
- package/dist/components/ui/drawer/index.js +15 -0
- package/dist/components/ui/dropdown-menu/dropdown-menu-checkbox-item.svelte +40 -0
- package/dist/components/ui/dropdown-menu/dropdown-menu-checkbox-item.svelte.d.ts +8 -0
- package/dist/components/ui/dropdown-menu/dropdown-menu-content.svelte +26 -0
- package/dist/components/ui/dropdown-menu/dropdown-menu-content.svelte.d.ts +7 -0
- package/dist/components/ui/dropdown-menu/dropdown-menu-group-heading.svelte +19 -0
- package/dist/components/ui/dropdown-menu/dropdown-menu-group-heading.svelte.d.ts +7 -0
- package/dist/components/ui/dropdown-menu/dropdown-menu-item.svelte +23 -0
- package/dist/components/ui/dropdown-menu/dropdown-menu-item.svelte.d.ts +7 -0
- package/dist/components/ui/dropdown-menu/dropdown-menu-label.svelte +23 -0
- package/dist/components/ui/dropdown-menu/dropdown-menu-label.svelte.d.ts +8 -0
- package/dist/components/ui/dropdown-menu/dropdown-menu-radio-item.svelte +30 -0
- package/dist/components/ui/dropdown-menu/dropdown-menu-radio-item.svelte.d.ts +4 -0
- package/dist/components/ui/dropdown-menu/dropdown-menu-separator.svelte +16 -0
- package/dist/components/ui/dropdown-menu/dropdown-menu-separator.svelte.d.ts +4 -0
- package/dist/components/ui/dropdown-menu/dropdown-menu-shortcut.svelte +20 -0
- package/dist/components/ui/dropdown-menu/dropdown-menu-shortcut.svelte.d.ts +5 -0
- package/dist/components/ui/dropdown-menu/dropdown-menu-sub-content.svelte +19 -0
- package/dist/components/ui/dropdown-menu/dropdown-menu-sub-content.svelte.d.ts +4 -0
- package/dist/components/ui/dropdown-menu/dropdown-menu-sub-trigger.svelte +28 -0
- package/dist/components/ui/dropdown-menu/dropdown-menu-sub-trigger.svelte.d.ts +7 -0
- package/dist/components/ui/dropdown-menu/index.d.ts +25 -0
- package/dist/components/ui/dropdown-menu/index.js +17 -0
- package/dist/components/ui/hover-card/hover-card-content.svelte +28 -0
- package/dist/components/ui/hover-card/hover-card-content.svelte.d.ts +7 -0
- package/dist/components/ui/hover-card/index.d.ts +5 -0
- package/dist/components/ui/hover-card/index.js +5 -0
- package/dist/components/ui/input/index.d.ts +2 -0
- package/dist/components/ui/input/index.js +4 -0
- package/dist/components/ui/input/input.svelte +22 -0
- package/dist/components/ui/input/input.svelte.d.ts +5 -0
- package/dist/components/ui/input-otp/index.d.ts +5 -0
- package/dist/components/ui/input-otp/index.js +7 -0
- package/dist/components/ui/input-otp/input-otp-group.svelte +16 -0
- package/dist/components/ui/input-otp/input-otp-group.svelte.d.ts +5 -0
- package/dist/components/ui/input-otp/input-otp-separator.svelte +19 -0
- package/dist/components/ui/input-otp/input-otp-separator.svelte.d.ts +5 -0
- package/dist/components/ui/input-otp/input-otp-slot.svelte +30 -0
- package/dist/components/ui/input-otp/input-otp-slot.svelte.d.ts +12 -0
- package/dist/components/ui/input-otp/input-otp.svelte +22 -0
- package/dist/components/ui/input-otp/input-otp.svelte.d.ts +3 -0
- package/dist/components/ui/label/index.d.ts +2 -0
- package/dist/components/ui/label/index.js +4 -0
- package/dist/components/ui/label/label.svelte +19 -0
- package/dist/components/ui/label/label.svelte.d.ts +4 -0
- package/dist/components/ui/popover/index.d.ts +6 -0
- package/dist/components/ui/popover/index.js +6 -0
- package/dist/components/ui/popover/popover-content.svelte +28 -0
- package/dist/components/ui/popover/popover-content.svelte.d.ts +7 -0
- package/dist/components/ui/progress/index.d.ts +2 -0
- package/dist/components/ui/progress/index.js +4 -0
- package/dist/components/ui/progress/progress.svelte +25 -0
- package/dist/components/ui/progress/progress.svelte.d.ts +4 -0
- package/dist/components/ui/radio-group/index.d.ts +3 -0
- package/dist/components/ui/radio-group/index.js +5 -0
- package/dist/components/ui/radio-group/radio-group-item.svelte +28 -0
- package/dist/components/ui/radio-group/radio-group-item.svelte.d.ts +4 -0
- package/dist/components/ui/radio-group/radio-group.svelte +13 -0
- package/dist/components/ui/radio-group/radio-group.svelte.d.ts +4 -0
- package/dist/components/ui/range-calendar/index.d.ts +15 -0
- package/dist/components/ui/range-calendar/index.js +17 -0
- package/dist/components/ui/range-calendar/range-calendar-cell.svelte +19 -0
- package/dist/components/ui/range-calendar/range-calendar-cell.svelte.d.ts +4 -0
- package/dist/components/ui/range-calendar/range-calendar-day.svelte +34 -0
- package/dist/components/ui/range-calendar/range-calendar-day.svelte.d.ts +4 -0
- package/dist/components/ui/range-calendar/range-calendar-grid-row.svelte +12 -0
- package/dist/components/ui/range-calendar/range-calendar-grid-row.svelte.d.ts +4 -0
- package/dist/components/ui/range-calendar/range-calendar-grid.svelte +16 -0
- package/dist/components/ui/range-calendar/range-calendar-grid.svelte.d.ts +4 -0
- package/dist/components/ui/range-calendar/range-calendar-head-cell.svelte +16 -0
- package/dist/components/ui/range-calendar/range-calendar-head-cell.svelte.d.ts +4 -0
- package/dist/components/ui/range-calendar/range-calendar-header.svelte +16 -0
- package/dist/components/ui/range-calendar/range-calendar-header.svelte.d.ts +4 -0
- package/dist/components/ui/range-calendar/range-calendar-heading.svelte +16 -0
- package/dist/components/ui/range-calendar/range-calendar-heading.svelte.d.ts +4 -0
- package/dist/components/ui/range-calendar/range-calendar-months.svelte +20 -0
- package/dist/components/ui/range-calendar/range-calendar-months.svelte.d.ts +5 -0
- package/dist/components/ui/range-calendar/range-calendar-next-button.svelte +28 -0
- package/dist/components/ui/range-calendar/range-calendar-next-button.svelte.d.ts +4 -0
- package/dist/components/ui/range-calendar/range-calendar-prev-button.svelte +28 -0
- package/dist/components/ui/range-calendar/range-calendar-prev-button.svelte.d.ts +4 -0
- package/dist/components/ui/range-calendar/range-calendar.svelte +57 -0
- package/dist/components/ui/range-calendar/range-calendar.svelte.d.ts +5 -0
- package/dist/components/ui/scroll-area/index.d.ts +3 -0
- package/dist/components/ui/scroll-area/index.js +6 -0
- package/dist/components/ui/scroll-area/scroll-area-scrollbar.svelte +29 -0
- package/dist/components/ui/scroll-area/scroll-area-scrollbar.svelte.d.ts +4 -0
- package/dist/components/ui/scroll-area/scroll-area.svelte +32 -0
- package/dist/components/ui/scroll-area/scroll-area.svelte.d.ts +9 -0
- package/dist/components/ui/select/index.d.ts +11 -0
- package/dist/components/ui/select/index.js +13 -0
- package/dist/components/ui/select/select-content.svelte +39 -0
- package/dist/components/ui/select/select-content.svelte.d.ts +7 -0
- package/dist/components/ui/select/select-group-heading.svelte +16 -0
- package/dist/components/ui/select/select-group-heading.svelte.d.ts +4 -0
- package/dist/components/ui/select/select-item.svelte +37 -0
- package/dist/components/ui/select/select-item.svelte.d.ts +4 -0
- package/dist/components/ui/select/select-scroll-down-button.svelte +19 -0
- package/dist/components/ui/select/select-scroll-down-button.svelte.d.ts +4 -0
- package/dist/components/ui/select/select-scroll-up-button.svelte +19 -0
- package/dist/components/ui/select/select-scroll-up-button.svelte.d.ts +4 -0
- package/dist/components/ui/select/select-separator.svelte +13 -0
- package/dist/components/ui/select/select-separator.svelte.d.ts +4 -0
- package/dist/components/ui/select/select-trigger.svelte +24 -0
- package/dist/components/ui/select/select-trigger.svelte.d.ts +4 -0
- package/dist/components/ui/separator/index.d.ts +2 -0
- package/dist/components/ui/separator/index.js +4 -0
- package/dist/components/ui/separator/separator.svelte +22 -0
- package/dist/components/ui/separator/separator.svelte.d.ts +4 -0
- package/dist/components/ui/slider/index.d.ts +3 -0
- package/dist/components/ui/slider/index.js +5 -0
- package/dist/components/ui/slider/slider.svelte +34 -0
- package/dist/components/ui/slider/slider.svelte.d.ts +4 -0
- package/dist/components/ui/sonner/index.d.ts +2 -0
- package/dist/components/ui/sonner/index.js +2 -0
- package/dist/components/ui/sonner/sonner.svelte +20 -0
- package/dist/components/ui/sonner/sonner.svelte.d.ts +4 -0
- package/dist/components/ui/switch/index.d.ts +2 -0
- package/dist/components/ui/switch/index.js +4 -0
- package/dist/components/ui/switch/switch.svelte +27 -0
- package/dist/components/ui/switch/switch.svelte.d.ts +4 -0
- package/dist/components/ui/table/index.d.ts +9 -0
- package/dist/components/ui/table/index.js +11 -0
- package/dist/components/ui/table/table-body.svelte +16 -0
- package/dist/components/ui/table/table-body.svelte.d.ts +5 -0
- package/dist/components/ui/table/table-caption.svelte +16 -0
- package/dist/components/ui/table/table-caption.svelte.d.ts +5 -0
- package/dist/components/ui/table/table-cell.svelte +20 -0
- package/dist/components/ui/table/table-cell.svelte.d.ts +5 -0
- package/dist/components/ui/table/table-footer.svelte +16 -0
- package/dist/components/ui/table/table-footer.svelte.d.ts +5 -0
- package/dist/components/ui/table/table-head.svelte +23 -0
- package/dist/components/ui/table/table-head.svelte.d.ts +5 -0
- package/dist/components/ui/table/table-header.svelte +16 -0
- package/dist/components/ui/table/table-header.svelte.d.ts +5 -0
- package/dist/components/ui/table/table-row.svelte +23 -0
- package/dist/components/ui/table/table-row.svelte.d.ts +5 -0
- package/dist/components/ui/table/table.svelte +18 -0
- package/dist/components/ui/table/table.svelte.d.ts +5 -0
- package/dist/components/ui/tabs/index.d.ts +6 -0
- package/dist/components/ui/tabs/index.js +8 -0
- package/dist/components/ui/tabs/tabs-content.svelte +19 -0
- package/dist/components/ui/tabs/tabs-content.svelte.d.ts +4 -0
- package/dist/components/ui/tabs/tabs-list.svelte +19 -0
- package/dist/components/ui/tabs/tabs-list.svelte.d.ts +4 -0
- package/dist/components/ui/tabs/tabs-trigger.svelte +19 -0
- package/dist/components/ui/tabs/tabs-trigger.svelte.d.ts +4 -0
- package/dist/components/ui/textarea/index.d.ts +19 -0
- package/dist/components/ui/textarea/index.js +4 -0
- package/dist/components/ui/textarea/textarea.svelte +22 -0
- package/dist/components/ui/textarea/textarea.svelte.d.ts +5 -0
- package/dist/components/ui/toggle/index.d.ts +3 -0
- package/dist/components/ui/toggle/index.js +5 -0
- package/dist/components/ui/toggle/toggle.svelte +51 -0
- package/dist/components/ui/toggle/toggle.svelte.d.ts +83 -0
- package/dist/components/ui/toggle-group/index.d.ts +3 -0
- package/dist/components/ui/toggle-group/index.js +5 -0
- package/dist/components/ui/toggle-group/toggle-group-item.svelte +30 -0
- package/dist/components/ui/toggle-group/toggle-group-item.svelte.d.ts +6 -0
- package/dist/components/ui/toggle-group/toggle-group.svelte +41 -0
- package/dist/components/ui/toggle-group/toggle-group.svelte.d.ts +8 -0
- package/dist/components/ui/tooltip/index.d.ts +6 -0
- package/dist/components/ui/tooltip/index.js +8 -0
- package/dist/components/ui/tooltip/tooltip-content.svelte +21 -0
- package/dist/components/ui/tooltip/tooltip-content.svelte.d.ts +4 -0
- package/dist/components/widget-system/EditableWidget.svelte +106 -0
- package/dist/components/widget-system/EditableWidget.svelte.d.ts +44 -0
- package/dist/components/widget-system/Moveable.svelte +661 -0
- package/dist/components/widget-system/Moveable.svelte.d.ts +56 -0
- package/dist/components/widget-system/index.d.ts +2 -0
- package/dist/components/widget-system/index.js +3 -0
- package/dist/fonts/BLMelody/BLMelody-Bold.woff2 +0 -0
- package/dist/fonts/BLMelody/BLMelody-Medium.woff2 +0 -0
- package/dist/fonts/BLMelody/BLMelody-SemiBold.woff2 +0 -0
- package/dist/fonts/Riegla/Riegla-Bold Italic.otf +0 -0
- package/dist/fonts/Riegla/Riegla-Bold.otf +0 -0
- package/dist/fonts/Riegla/Riegla-Italic.otf +0 -0
- package/dist/fonts/Riegla/Riegla-Regular.otf +0 -0
- package/dist/fonts/Riegla/RieglaMedium-Regular.otf +0 -0
- package/dist/fonts/index.d.ts +0 -0
- package/dist/fonts/index.js +1 -0
- package/dist/hooks/is-mobile.svelte.d.ts +5 -0
- package/dist/hooks/is-mobile.svelte.js +23 -0
- package/dist/icons/Checked.svelte +19 -0
- package/dist/icons/Checked.svelte.d.ts +20 -0
- package/dist/icons/CheckerBoardBackground.svelte +16 -0
- package/dist/icons/CheckerBoardBackground.svelte.d.ts +3 -0
- package/dist/icons/Close.svelte +22 -0
- package/dist/icons/Close.svelte.d.ts +20 -0
- package/dist/icons/Close.svg +8 -0
- package/dist/icons/Error.svg +5 -0
- package/dist/icons/Exclamation.svelte +5 -0
- package/dist/icons/Exclamation.svelte.d.ts +26 -0
- package/dist/icons/FileBrowser.svelte +38 -0
- package/dist/icons/FileBrowser.svelte.d.ts +20 -0
- package/dist/icons/FileBrowser.svg +28 -0
- package/dist/icons/LogoWidgetic.svelte +24 -0
- package/dist/icons/LogoWidgetic.svelte.d.ts +20 -0
- package/dist/icons/LogoWidgeticType.svelte +12 -0
- package/dist/icons/LogoWidgeticType.svelte.d.ts +20 -0
- package/dist/icons/LogoWidgeticType.svg +4 -0
- package/dist/icons/OpacitySliderArrows.svelte +46 -0
- package/dist/icons/OpacitySliderArrows.svelte.d.ts +3 -0
- package/dist/icons/TestIcon.svelte +1 -0
- package/dist/icons/TestIcon.svelte.d.ts +26 -0
- package/dist/icons/checked.svg +4 -0
- package/dist/icons/index.d.ts +11 -0
- package/dist/icons/index.js +15 -0
- package/dist/icons/lucide.d.ts +1 -0
- package/dist/icons/lucide.js +1 -0
- package/dist/icons/tabler.d.ts +1 -0
- package/dist/icons/tabler.js +1 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +9 -0
- package/dist/stores/index.d.ts +1 -0
- package/dist/stores/index.js +1 -0
- package/dist/stores/pdfCache.d.ts +16 -0
- package/dist/stores/pdfCache.js +101 -0
- package/dist/styles/fonts.css +172 -0
- package/dist/styles/global.css +893 -0
- package/dist/utils/MediaManager.d.ts +35 -0
- package/dist/utils/MediaManager.js +59 -0
- package/dist/utils.d.ts +2 -0
- package/dist/utils.js +5 -0
- package/package.json +183 -0
- package/tailwind.config.ts +97 -0
|
@@ -0,0 +1,893 @@
|
|
|
1
|
+
/* Tailwind 4
|
|
2
|
+
@import "tailwindcss"; */
|
|
3
|
+
|
|
4
|
+
/* Taildind 3 imports */
|
|
5
|
+
@import 'tailwindcss/base';
|
|
6
|
+
@import 'tailwindcss/components';
|
|
7
|
+
@import 'tailwindcss/utilities';
|
|
8
|
+
|
|
9
|
+
/* Import fonts css */
|
|
10
|
+
@import './fonts.css';
|
|
11
|
+
|
|
12
|
+
@layer base {
|
|
13
|
+
/* CSS Variables Here at the top of the base layer */
|
|
14
|
+
:root {
|
|
15
|
+
/* Site Grid Variables */
|
|
16
|
+
--site-column-width: 74px;
|
|
17
|
+
--site-column-gap: 24px;
|
|
18
|
+
--site-columns-desktop: 12;
|
|
19
|
+
--site-columns-tablet: 8;
|
|
20
|
+
--site-columns-mobile: 4;
|
|
21
|
+
|
|
22
|
+
/* Dashboard Grid Variables */
|
|
23
|
+
--dashboard-sidebar-width: 240px;
|
|
24
|
+
--dashboard-margin: 24px;
|
|
25
|
+
--dashboard-gap: 20px;
|
|
26
|
+
--dashboard-columns-desktop: 12;
|
|
27
|
+
--dashboard-columns-tablet: 6;
|
|
28
|
+
--dashboard-columns-mobile: 4;
|
|
29
|
+
|
|
30
|
+
/* App Grid Variables */
|
|
31
|
+
--app-margin: 24px;
|
|
32
|
+
--app-gap: 20px;
|
|
33
|
+
--app-columns-desktop: 12;
|
|
34
|
+
--app-columns-tablet: 6;
|
|
35
|
+
--app-columns-mobile: 4;
|
|
36
|
+
--app-main-color: #00A6FF;
|
|
37
|
+
--app-header-color: #00FF26;
|
|
38
|
+
--app-margin-color: #FF0000;
|
|
39
|
+
--app-stroke-opacity: 0.1;
|
|
40
|
+
--app-fill-opacity: 0.09;
|
|
41
|
+
|
|
42
|
+
/* Z-index system */
|
|
43
|
+
--z-base: 1; /* Base layer */
|
|
44
|
+
--z-content: 10; /* Main content area */
|
|
45
|
+
--z-header: 20; /* Header base layer */
|
|
46
|
+
--z-dropdown: 30; /* Regular dropdowns (search/filter) */
|
|
47
|
+
--z-header-dropdown: 40; /* Header dropdowns (avatar/dots) */
|
|
48
|
+
--z-modal: 50; /* Modal dialogs */
|
|
49
|
+
|
|
50
|
+
/* Scrollbar Settings */
|
|
51
|
+
--scrollbar-width: 24px;
|
|
52
|
+
--scrollbar-thumb-normal-color: hsl(var(--grey2));
|
|
53
|
+
--scrollbar-thumb-hover-color: hsl(var(--grey3));
|
|
54
|
+
--scrollbar-track-color: hsl(var(--grey1));
|
|
55
|
+
|
|
56
|
+
/* Icon Colors */
|
|
57
|
+
--icon-success: 142 71% 45%;
|
|
58
|
+
--icon-error: 0 84% 60%;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
/* CLASSES FOR WIDGETIC COMPONENTS */
|
|
62
|
+
/* convert colors from hex to HSL (Hue, Saturation, Lightness) format */
|
|
63
|
+
.widgetic-colors {
|
|
64
|
+
--dark: 120 35.7% 9.4%;
|
|
65
|
+
--deep-forest-green: 115 24.1% 24.7%;
|
|
66
|
+
--sage-green: 108 25.4% 52.9%;
|
|
67
|
+
--sunny-yellow: 45 89% 65.7%;
|
|
68
|
+
--light-green: 83 45.5% 93.7%;
|
|
69
|
+
--forest-green: 90 16.7% 83.3%;
|
|
70
|
+
--error: 0 89% 65.7%;
|
|
71
|
+
--light-error: 0 45.5% 93.7%;
|
|
72
|
+
|
|
73
|
+
/* Greys */
|
|
74
|
+
--grey1: 0 0% 96.1%;
|
|
75
|
+
--grey2: 0 0% 94.1%;
|
|
76
|
+
--grey3: 0 0% 55.7%;
|
|
77
|
+
--grey4: 0 0% 46.1%;
|
|
78
|
+
--grey5: 0 0% 40%;
|
|
79
|
+
--grey6: 0 0% 26.7%;
|
|
80
|
+
--grey7: 0 0% 12.9%;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
/* Border radius tokens */
|
|
84
|
+
.widgetic-radius {
|
|
85
|
+
/* Corner radius values */
|
|
86
|
+
--radius-pill: 100px; /* Pill/Extra large corner radius */
|
|
87
|
+
--radius-large: 15px; /* Large corner radius */
|
|
88
|
+
--radius-medium: 12px; /* Medium corner radius */
|
|
89
|
+
--radius-small: 8px; /* Small corner radius */
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.widgetic-breakpoints {
|
|
93
|
+
--breakpoint-mobile: 393px;
|
|
94
|
+
--breakpoint-tablet: 744px;
|
|
95
|
+
--breakpoint-desktop: 1156px;
|
|
96
|
+
}
|
|
97
|
+
/* Utility classes for border radius */
|
|
98
|
+
.rounded-pill {
|
|
99
|
+
border-radius: var(--radius-pill);
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
.rounded-large {
|
|
103
|
+
border-radius: var(--radius-large);
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
.rounded-medium {
|
|
107
|
+
border-radius: var(--radius-medium);
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
.rounded-small {
|
|
111
|
+
border-radius: var(--radius-small);
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
/*** GLOBAL STYLE CLASSES ***/
|
|
115
|
+
* {
|
|
116
|
+
border-color: hsl(var(--border));
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
html,
|
|
120
|
+
body {
|
|
121
|
+
overflow: hidden; /* prevent scroll */
|
|
122
|
+
margin: 0;
|
|
123
|
+
background-color: hsl(var(--background));
|
|
124
|
+
color: hsl(var(--foreground));
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
/* This is the root container of the website(app.html) */
|
|
128
|
+
.root-ct {
|
|
129
|
+
@apply min-h-screen;
|
|
130
|
+
display: block !important;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
/* This is the root layout container of the website pages */
|
|
134
|
+
.layout-ct {
|
|
135
|
+
@apply min-h-screen w-full;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
.page-ct {
|
|
139
|
+
width: 100%;
|
|
140
|
+
height: 100vh;
|
|
141
|
+
/* background-color: green; */
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
/* Native Scrollbar Customization */
|
|
145
|
+
/* Use @property for transition */
|
|
146
|
+
@property --scroll-thumb-color {
|
|
147
|
+
syntax: "<color>";
|
|
148
|
+
inherits: true;
|
|
149
|
+
initial-value: #f0f0f0; /* Direct color value matching --grey2 */
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
.native-scrollbar {
|
|
153
|
+
width: calc(100% + var(--scrollbar-width));
|
|
154
|
+
overflow-y: scroll;
|
|
155
|
+
transition: --scroll-thumb-color 250ms linear;
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
.native-scrollbar:hover {
|
|
159
|
+
--scroll-thumb-color: var(--scrollbar-thumb-hover-color);
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
.native-scrollbar::-webkit-scrollbar {
|
|
163
|
+
width: var(--scrollbar-width);
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
.native-scrollbar::-webkit-scrollbar-thumb {
|
|
167
|
+
cursor: pointer;
|
|
168
|
+
|
|
169
|
+
border: calc(var(--scrollbar-width) / 3) solid transparent;
|
|
170
|
+
background-clip: padding-box;
|
|
171
|
+
border-radius: var(--scrollbar-width);
|
|
172
|
+
|
|
173
|
+
background-color: var(--scroll-thumb-color);
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
.native-scrollbar::-webkit-scrollbar-track {
|
|
177
|
+
cursor: pointer;
|
|
178
|
+
background-color: transparent;
|
|
179
|
+
border-radius: var(--scrollbar-width);
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
|
|
183
|
+
/**** Grid Systems ****/
|
|
184
|
+
/* 1. Site Grid */
|
|
185
|
+
.site-grid {
|
|
186
|
+
/* background-color: green; */
|
|
187
|
+
display: grid;
|
|
188
|
+
grid-template-columns: repeat(var(--site-columns-desktop), var(--site-column-width));
|
|
189
|
+
column-gap: var(--site-column-gap);
|
|
190
|
+
margin: 0 auto;
|
|
191
|
+
justify-content: center;
|
|
192
|
+
position: relative;
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
/* Debug class */
|
|
196
|
+
.site-grid-debug {
|
|
197
|
+
display: grid;
|
|
198
|
+
grid-template-columns: repeat(var(--site-columns-desktop), minmax(0, 1fr));
|
|
199
|
+
gap: var(--site-column-gap);
|
|
200
|
+
height: 100%;
|
|
201
|
+
width: 100%;
|
|
202
|
+
position: absolute;
|
|
203
|
+
top: 0;
|
|
204
|
+
left: 0;
|
|
205
|
+
pointer-events: none;
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
/* When debug grid is shown, apply colors */
|
|
209
|
+
[data-debug-grid="true"] .site-grid-debug > * {
|
|
210
|
+
@apply bg-red-500/10;
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
[data-debug-grid="true"] .footer-debug {
|
|
214
|
+
@apply bg-blue-100/30;
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
[data-debug-grid="true"] .footer-logo-debug {
|
|
218
|
+
@apply bg-blue-100;
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
[data-debug-grid="true"] .footer-links-debug {
|
|
222
|
+
@apply bg-green-100;
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
[data-debug-grid="true"] .footer-resources-debug {
|
|
226
|
+
@apply bg-yellow-100;
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
[data-debug-grid="true"] .footer-developers-debug {
|
|
230
|
+
@apply bg-purple-100;
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
/* Create a container for columns */
|
|
234
|
+
.site-grid-debug::after {
|
|
235
|
+
content: '';
|
|
236
|
+
position: fixed; /* Fixed to viewport */
|
|
237
|
+
top: 0;
|
|
238
|
+
left: 50%;
|
|
239
|
+
transform: translateX(-50%); /* Center the container */
|
|
240
|
+
height: 100vh;
|
|
241
|
+
display: flex;
|
|
242
|
+
gap: 24px;
|
|
243
|
+
pointer-events: none;
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
/* Create columns using repeating gradient */
|
|
247
|
+
.site-grid-debug::after {
|
|
248
|
+
width: calc(12 * 74px + 11 * 24px); /* 12 columns + 11 gaps */
|
|
249
|
+
background: repeating-linear-gradient(
|
|
250
|
+
to right,
|
|
251
|
+
rgb(239 68 68 / 0.1), /* Column color */
|
|
252
|
+
rgb(239 68 68 / 0.1) 74px,
|
|
253
|
+
transparent 74px, /* Gap */
|
|
254
|
+
transparent 98px /* 74px + 24px */
|
|
255
|
+
);
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
/* Style the gutters (2nd and 2nd-to-last columns) */
|
|
259
|
+
.site-grid-debug > :nth-child(2),
|
|
260
|
+
.site-grid-debug > :nth-last-child(2) {
|
|
261
|
+
@apply bg-blue-100/30; /* Light blue for gutters */
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
/* Style the content columns */
|
|
265
|
+
.site-grid-debug > :not(:first-child):not(:last-child):not(:nth-child(2)):not(:nth-last-child(2)) {
|
|
266
|
+
@apply bg-red-500/10; /* Light red for content columns */
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
/* Hide the flexible margins */
|
|
270
|
+
.site-grid-debug > :first-child,
|
|
271
|
+
.site-grid-debug > :last-child {
|
|
272
|
+
@apply bg-transparent;
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
/* Desktop Layout - Stretching (744px - 1156px) */
|
|
276
|
+
@media (max-width: var(--breakpoint-desktop)) {
|
|
277
|
+
:root {
|
|
278
|
+
--site-column-width: 64px;
|
|
279
|
+
--site-column-gap: 20px;
|
|
280
|
+
}
|
|
281
|
+
.site-grid {
|
|
282
|
+
grid-template-columns: repeat(12, minmax(0, 1fr));
|
|
283
|
+
max-width: none;
|
|
284
|
+
}
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
/* Tablet (744px and below) */
|
|
288
|
+
@media (max-width: var(--breakpoint-tablet)) {
|
|
289
|
+
:root {
|
|
290
|
+
--site-columns-tablet: 8;
|
|
291
|
+
--site-column-gap: 16px;
|
|
292
|
+
--dashboard-sidebar-width: 200px;
|
|
293
|
+
--dashboard-margin: 16px;
|
|
294
|
+
--dashboard-gap: 16px;
|
|
295
|
+
--app-margin: 16px;
|
|
296
|
+
}
|
|
297
|
+
.site-grid {
|
|
298
|
+
grid-template-columns: repeat(var(--site-columns-tablet), minmax(0, 1fr));
|
|
299
|
+
gap: 16px;
|
|
300
|
+
}
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
/* Mobile (393px and below) */
|
|
304
|
+
@media (max-width: var(--breakpoint-mobile)) {
|
|
305
|
+
:root {
|
|
306
|
+
--site-columns-mobile: 4;
|
|
307
|
+
--dashboard-sidebar-width: auto;
|
|
308
|
+
}
|
|
309
|
+
.site-grid {
|
|
310
|
+
grid-template-columns: repeat(var(--site-columns-mobile), minmax(0, 1fr));
|
|
311
|
+
gap: 16px;
|
|
312
|
+
}
|
|
313
|
+
}
|
|
314
|
+
|
|
315
|
+
/* Update other grid breakpoints to match */
|
|
316
|
+
|
|
317
|
+
/* 2. Dashboard Grid - Desktop Layout */
|
|
318
|
+
.dashboard-grid {
|
|
319
|
+
/* Desktop Layout */
|
|
320
|
+
display: grid;
|
|
321
|
+
grid-template-columns:
|
|
322
|
+
var(--dashboard-sidebar-width) /* Sidebar width (240px) */
|
|
323
|
+
var(--dashboard-margin) /* Left margin */
|
|
324
|
+
1fr /* Main content area */
|
|
325
|
+
var(--dashboard-margin); /* Right margin */
|
|
326
|
+
grid-template-rows: auto 1fr;
|
|
327
|
+
gap: 0; /* Remove gap as we'll handle it in the content grids */
|
|
328
|
+
grid-template-areas:
|
|
329
|
+
"sidebar margin-l header margin-r"
|
|
330
|
+
"sidebar margin-l main margin-r";
|
|
331
|
+
height: 100%; /* Ensure the grid container itself has full height */
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
/* Dashboard Grid - Elements */
|
|
335
|
+
.dashboard-grid .grid-gap,
|
|
336
|
+
.dashboard-grid .grid-sidebar {
|
|
337
|
+
height: 100%;
|
|
338
|
+
}
|
|
339
|
+
|
|
340
|
+
/* Add explicit grid-sidebar class */
|
|
341
|
+
.grid-sidebar {
|
|
342
|
+
grid-area: sidebar;
|
|
343
|
+
}
|
|
344
|
+
|
|
345
|
+
.grid-gap {
|
|
346
|
+
grid-area: gap;
|
|
347
|
+
}
|
|
348
|
+
|
|
349
|
+
/* Header Grid inside Dashboard */
|
|
350
|
+
.dashboard-header-grid {
|
|
351
|
+
display: grid;
|
|
352
|
+
grid-template-columns: repeat(var(--dashboard-columns-desktop), minmax(0, 1fr));
|
|
353
|
+
gap: var(--dashboard-gap);
|
|
354
|
+
height: 56px;
|
|
355
|
+
width: 100%;
|
|
356
|
+
}
|
|
357
|
+
|
|
358
|
+
/* Main Content Grid inside Dashboard */
|
|
359
|
+
.dashboard-main-grid {
|
|
360
|
+
display: grid;
|
|
361
|
+
grid-template-columns: repeat(var(--dashboard-columns-desktop), minmax(0, 1fr));
|
|
362
|
+
gap: var(--dashboard-gap);
|
|
363
|
+
height: 100%;
|
|
364
|
+
width: 100%;
|
|
365
|
+
}
|
|
366
|
+
|
|
367
|
+
/* Grid debug styles */
|
|
368
|
+
[data-debug="true"] .dashboard-header-grid > div {
|
|
369
|
+
@apply bg-green-500/10;
|
|
370
|
+
}
|
|
371
|
+
|
|
372
|
+
[data-debug="true"] .dashboard-main-grid > div {
|
|
373
|
+
@apply bg-red-500/10;
|
|
374
|
+
}
|
|
375
|
+
|
|
376
|
+
/* Remove this to prevent the actual sidebar from showing debug color */
|
|
377
|
+
/* [data-debug="true"] .grid-sidebar {
|
|
378
|
+
@apply bg-red-500/10;
|
|
379
|
+
} */
|
|
380
|
+
|
|
381
|
+
/* Tablet (744px and below) */
|
|
382
|
+
@media (max-width: var(--breakpoint-tablet)) {
|
|
383
|
+
.dashboard-grid {
|
|
384
|
+
grid-template-columns:
|
|
385
|
+
var(--dashboard-margin)
|
|
386
|
+
var(--dashboard-sidebar-width)
|
|
387
|
+
var(--dashboard-gap)
|
|
388
|
+
1fr
|
|
389
|
+
var(--dashboard-margin);
|
|
390
|
+
grid-template-rows: 56px 1fr;
|
|
391
|
+
gap: var(--dashboard-gap);
|
|
392
|
+
grid-template-areas:
|
|
393
|
+
"sidebar margin-l header margin-r"
|
|
394
|
+
"sidebar margin-l main margin-r";
|
|
395
|
+
}
|
|
396
|
+
|
|
397
|
+
.dashboard-header-grid,
|
|
398
|
+
.dashboard-main-grid {
|
|
399
|
+
grid-template-columns: repeat(var(--dashboard-columns-tablet), minmax(0, 1fr));
|
|
400
|
+
}
|
|
401
|
+
}
|
|
402
|
+
|
|
403
|
+
/* Mobile (393px and below) */
|
|
404
|
+
@media (max-width: var(--breakpoint-mobile)) {
|
|
405
|
+
.dashboard-grid {
|
|
406
|
+
grid-template-columns:
|
|
407
|
+
var(--dashboard-margin)
|
|
408
|
+
1fr
|
|
409
|
+
var(--dashboard-margin);
|
|
410
|
+
grid-template-rows: 56px auto 1fr;
|
|
411
|
+
gap: var(--dashboard-gap);
|
|
412
|
+
grid-template-areas:
|
|
413
|
+
"margin-l header margin-r"
|
|
414
|
+
"margin-l menu margin-r"
|
|
415
|
+
"margin-l main margin-r";
|
|
416
|
+
}
|
|
417
|
+
|
|
418
|
+
.dashboard-header-grid,
|
|
419
|
+
.dashboard-main-grid {
|
|
420
|
+
grid-template-columns: repeat(var(--dashboard-columns-mobile), minmax(0, 1fr));
|
|
421
|
+
}
|
|
422
|
+
}
|
|
423
|
+
|
|
424
|
+
/* 3. App Grid */
|
|
425
|
+
.app-grid {
|
|
426
|
+
/* background-color: red; */
|
|
427
|
+
display: grid;
|
|
428
|
+
grid-template-columns:
|
|
429
|
+
24px /* Left margin */
|
|
430
|
+
1fr /* Main content area */
|
|
431
|
+
24px; /* Right margin */
|
|
432
|
+
grid-template-rows: auto 1fr;
|
|
433
|
+
gap: 0;
|
|
434
|
+
grid-template-areas:
|
|
435
|
+
"margin-l header margin-r"
|
|
436
|
+
"margin-l main margin-r";
|
|
437
|
+
height: 100%;
|
|
438
|
+
}
|
|
439
|
+
|
|
440
|
+
/* Header Grid inside App
|
|
441
|
+
.app-header-grid {
|
|
442
|
+
display: grid;
|
|
443
|
+
grid-template-columns: repeat(var(--app-columns-desktop), minmax(0, 1fr));
|
|
444
|
+
gap: var(--app-gap);
|
|
445
|
+
height: 100%;
|
|
446
|
+
width: 100%;
|
|
447
|
+
}*/
|
|
448
|
+
|
|
449
|
+
/* Main Content Grid inside App */
|
|
450
|
+
.app-main-grid {
|
|
451
|
+
display: grid;
|
|
452
|
+
grid-template-columns: repeat(var(--app-columns-desktop), minmax(0, 1fr));
|
|
453
|
+
gap: var(--app-gap);
|
|
454
|
+
height: 100%;
|
|
455
|
+
width: 100%;
|
|
456
|
+
}
|
|
457
|
+
|
|
458
|
+
/* Grid Areas */
|
|
459
|
+
.grid-header { grid-area: header; }
|
|
460
|
+
.grid-main { grid-area: main; }
|
|
461
|
+
.grid-margin-left { grid-area: margin-l; }
|
|
462
|
+
.grid-margin-right { grid-area: margin-r; }
|
|
463
|
+
.grid-margin-left, .grid-margin-right, .site-grid-column, .grid-gap {
|
|
464
|
+
background-color: color-mix(in srgb, var(--app-margin-color), transparent calc((1 - var(--app-fill-opacity)) * 100%)) !important;
|
|
465
|
+
border: 1px solid color-mix(in srgb, var(--app-margin-color), transparent calc((1 - var(--app-stroke-opacity)) * 100%)) !important;
|
|
466
|
+
}
|
|
467
|
+
.grid-header-column {
|
|
468
|
+
background-color: color-mix(in srgb, var(--app-header-color), transparent calc((1 - var(--app-fill-opacity)) * 100%)) !important;
|
|
469
|
+
border: 1px solid color-mix(in srgb, var(--app-header-color), transparent calc((1 - var(--app-stroke-opacity)) * 100%)) !important;
|
|
470
|
+
}
|
|
471
|
+
.grid-column, .grid-sidebar {
|
|
472
|
+
background-color: color-mix(in srgb, var(--app-main-color), transparent calc((1 - var(--app-fill-opacity)) * 100%));
|
|
473
|
+
border: 1px solid color-mix(in srgb, var(--app-main-color), transparent calc((1 - var(--app-stroke-opacity)) * 100%));
|
|
474
|
+
}
|
|
475
|
+
|
|
476
|
+
/* Tablet (744px and below) */
|
|
477
|
+
@media (max-width: var(--breakpoint-tablet)) {
|
|
478
|
+
.app-grid {
|
|
479
|
+
grid-template-columns:
|
|
480
|
+
24px
|
|
481
|
+
1fr
|
|
482
|
+
24px;
|
|
483
|
+
}
|
|
484
|
+
|
|
485
|
+
.app-header-grid,
|
|
486
|
+
.app-main-grid {
|
|
487
|
+
grid-template-columns: repeat(var(--app-columns-tablet), minmax(0, 1fr));
|
|
488
|
+
}
|
|
489
|
+
}
|
|
490
|
+
|
|
491
|
+
/* Mobile (393px and below) */
|
|
492
|
+
@media (max-width: var(--breakpoint-mobile)) {
|
|
493
|
+
.app-grid {
|
|
494
|
+
grid-template-columns:
|
|
495
|
+
16px
|
|
496
|
+
1fr
|
|
497
|
+
16px;
|
|
498
|
+
}
|
|
499
|
+
|
|
500
|
+
.app-header-grid,
|
|
501
|
+
.app-main-grid {
|
|
502
|
+
grid-template-columns: repeat(var(--app-columns-mobile), minmax(0, 1fr));
|
|
503
|
+
}
|
|
504
|
+
}
|
|
505
|
+
|
|
506
|
+
/* Grid Area Classes */
|
|
507
|
+
.grid-footer {
|
|
508
|
+
grid-area: footer;
|
|
509
|
+
}
|
|
510
|
+
|
|
511
|
+
.grid-toolbar {
|
|
512
|
+
grid-area: toolbar;
|
|
513
|
+
}
|
|
514
|
+
|
|
515
|
+
/* grid area class for mobile menu */
|
|
516
|
+
.grid-menu {
|
|
517
|
+
grid-area: menu;
|
|
518
|
+
}
|
|
519
|
+
|
|
520
|
+
/* Modal System */
|
|
521
|
+
.modal-overlay {
|
|
522
|
+
@apply fixed inset-0 z-50;
|
|
523
|
+
backdrop-filter: blur(30px);
|
|
524
|
+
background-color: rgba(255, 255, 255, 0.5);
|
|
525
|
+
}
|
|
526
|
+
|
|
527
|
+
.modal-shadow {
|
|
528
|
+
box-shadow: 0px 2px 10px 0px rgba(0, 0, 0, 0.1);
|
|
529
|
+
}
|
|
530
|
+
|
|
531
|
+
.modal-panel {
|
|
532
|
+
@apply fixed left-1/2 top-1/2 z-50 -translate-x-1/2 -translate-y-1/2;
|
|
533
|
+
background-color: white;
|
|
534
|
+
border-radius: var(--radius-large);
|
|
535
|
+
border: 1px solid hsl(var(--forest-green));
|
|
536
|
+
}
|
|
537
|
+
|
|
538
|
+
/* Modal Close Button */
|
|
539
|
+
.modal-close {
|
|
540
|
+
@apply fixed z-50;
|
|
541
|
+
top: 16px;
|
|
542
|
+
right: 16px;
|
|
543
|
+
width: 40px;
|
|
544
|
+
height: 40px;
|
|
545
|
+
}
|
|
546
|
+
|
|
547
|
+
/* Modal Button Container */
|
|
548
|
+
.modal-actions {
|
|
549
|
+
@apply flex justify-end gap-4 absolute bottom-6 right-6;
|
|
550
|
+
}
|
|
551
|
+
|
|
552
|
+
/* Modal Button Styles */
|
|
553
|
+
.modal-btn-primary {
|
|
554
|
+
@apply h6 inline-flex items-center justify-center !important;
|
|
555
|
+
padding: 0 16px !important;
|
|
556
|
+
min-height: 34px !important;
|
|
557
|
+
border-radius: var(--radius-pill) !important;
|
|
558
|
+
background-color: hsl(var(--deep-forest-green)) !important;
|
|
559
|
+
color: white !important;
|
|
560
|
+
transition: background-color 0.2s ease !important;
|
|
561
|
+
line-height: 1 !important;
|
|
562
|
+
padding-bottom: 2px !important;
|
|
563
|
+
}
|
|
564
|
+
|
|
565
|
+
.modal-btn-primary:hover {
|
|
566
|
+
background-color: color-mix(in srgb, hsl(var(--deep-forest-green)) 90%, black) !important;
|
|
567
|
+
}
|
|
568
|
+
|
|
569
|
+
.modal-btn-secondary {
|
|
570
|
+
@apply h6 inline-flex items-center justify-center !important;
|
|
571
|
+
padding: 0 16px !important;
|
|
572
|
+
min-height: 34px !important;
|
|
573
|
+
border-radius: var(--radius-pill) !important;
|
|
574
|
+
background-color: hsl(var(--grey2)) !important;
|
|
575
|
+
color: hsl(var(--grey5)) !important;
|
|
576
|
+
border: 1px solid hsl(var(--grey2)) !important;
|
|
577
|
+
transition: background-color 0.2s ease !important;
|
|
578
|
+
line-height: 1 !important;
|
|
579
|
+
padding-bottom: 2px !important;
|
|
580
|
+
}
|
|
581
|
+
|
|
582
|
+
.modal-btn-secondary:hover {
|
|
583
|
+
background-color: color-mix(in srgb, hsl(var(--grey2)) 96%, black) !important;
|
|
584
|
+
color: hsl(var(--grey7)) !important;
|
|
585
|
+
}
|
|
586
|
+
|
|
587
|
+
.modal-btn-attention {
|
|
588
|
+
@apply h6 inline-flex items-center justify-center !important;
|
|
589
|
+
padding: 0 16px !important;
|
|
590
|
+
height: 34px;
|
|
591
|
+
border-radius: var(--radius-pill) !important;
|
|
592
|
+
background-color: hsl(var(--error)) !important;
|
|
593
|
+
color: white !important;
|
|
594
|
+
transition: background-color 0.2s ease !important;
|
|
595
|
+
line-height: 1 !important;
|
|
596
|
+
padding-bottom: 2px !important;
|
|
597
|
+
}
|
|
598
|
+
|
|
599
|
+
.modal-btn-attention:hover {
|
|
600
|
+
background-color: color-mix(in srgb, hsl(var(--error)) 90%, black) !important;
|
|
601
|
+
}
|
|
602
|
+
|
|
603
|
+
/* Button System */
|
|
604
|
+
|
|
605
|
+
/* Primary Button - Base styfles */
|
|
606
|
+
.btn-primary {
|
|
607
|
+
@apply inline-flex items-center justify-center gap-2 !important;
|
|
608
|
+
padding: 8px 16px !important;
|
|
609
|
+
height: 34px !important;
|
|
610
|
+
border-radius: var(--radius-small) !important;
|
|
611
|
+
background-color: hsl(var(--deep-forest-green)) !important;
|
|
612
|
+
color: hsl(var(--light-green)) !important;
|
|
613
|
+
font-family: 'Riegla Medium' !important;
|
|
614
|
+
font-size: 18px !important;
|
|
615
|
+
line-height: 1.4 !important;
|
|
616
|
+
font-weight: 400 !important;
|
|
617
|
+
}
|
|
618
|
+
|
|
619
|
+
/* Add hover state for primary button */
|
|
620
|
+
.btn-primary:hover {
|
|
621
|
+
color: hsl(var(--light-green)) !important;
|
|
622
|
+
background-color: color-mix(in srgb, hsl(var(--deep-forest-green)) 90%, black) !important;
|
|
623
|
+
}
|
|
624
|
+
|
|
625
|
+
/* Primary Button sizes */
|
|
626
|
+
.btn-primary-small {
|
|
627
|
+
@apply body-medium inline-flex items-center justify-center gap-1 !important;
|
|
628
|
+
padding: 4px 12px 6px 12px !important;
|
|
629
|
+
border-radius: var(--radius-medium) !important;
|
|
630
|
+
background-color: hsl(var(--deep-forest-green)) !important;
|
|
631
|
+
color: hsl(var(--light-green)) !important;
|
|
632
|
+
}
|
|
633
|
+
|
|
634
|
+
.btn-primary-large {
|
|
635
|
+
@apply body-medium inline-flex items-center justify-center gap-3 !important;
|
|
636
|
+
padding: 16px 32px !important;
|
|
637
|
+
min-height: 56px !important;
|
|
638
|
+
border-radius: var(--radius-medium) !important;
|
|
639
|
+
background-color: hsl(var(--deep-forest-green)) !important;
|
|
640
|
+
color: hsl(var(--light-green)) !important;
|
|
641
|
+
font-family: 'Riegla Medium' !important;
|
|
642
|
+
font-size: 18px !important;
|
|
643
|
+
line-height: 1.4 !important;
|
|
644
|
+
font-weight: 400 !important;
|
|
645
|
+
}
|
|
646
|
+
|
|
647
|
+
/* Add hover state for large primary button */
|
|
648
|
+
.btn-primary-large:hover {
|
|
649
|
+
color: white !important;
|
|
650
|
+
background-color: color-mix(in srgb, hsl(var(--deep-forest-green)) 90%, black) !important;
|
|
651
|
+
}
|
|
652
|
+
|
|
653
|
+
/* Secondary Button */
|
|
654
|
+
.btn-secondary {
|
|
655
|
+
@apply h6 inline-flex items-center justify-center gap-2 !important;
|
|
656
|
+
padding: 0 16px !important;
|
|
657
|
+
height: 34px !important;
|
|
658
|
+
border-radius: var(--radius-small) !important;
|
|
659
|
+
background-color: hsl(var(--grey1)) !important;
|
|
660
|
+
color: hsl(var(--grey7)) !important;
|
|
661
|
+
border: 1px solid hsl(var(--forest-green)) !important;
|
|
662
|
+
transition: background-color 0.2s ease !important;
|
|
663
|
+
}
|
|
664
|
+
|
|
665
|
+
.btn-secondary:hover {
|
|
666
|
+
background-color: hsl(var(--grey2)) !important;
|
|
667
|
+
}
|
|
668
|
+
|
|
669
|
+
/* Icon specific styles */
|
|
670
|
+
.btn-icon-left {
|
|
671
|
+
@apply order-first;
|
|
672
|
+
}
|
|
673
|
+
|
|
674
|
+
.btn-icon-right {
|
|
675
|
+
@apply order-last;
|
|
676
|
+
}
|
|
677
|
+
|
|
678
|
+
/* Dropdown System */
|
|
679
|
+
.dropdown-container {
|
|
680
|
+
@apply relative;
|
|
681
|
+
}
|
|
682
|
+
|
|
683
|
+
.dropdown-menu {
|
|
684
|
+
@apply absolute bg-white rounded-lg shadow-lg min-w-[200px];
|
|
685
|
+
z-index: var(--z-header-dropdown);
|
|
686
|
+
}
|
|
687
|
+
|
|
688
|
+
.header-dropdown-menu {
|
|
689
|
+
@apply absolute bg-white rounded-lg shadow-lg min-w-[200px];
|
|
690
|
+
z-index: var(--z-header-dropdown);
|
|
691
|
+
}
|
|
692
|
+
|
|
693
|
+
.dropdown-menu-item {
|
|
694
|
+
@apply flex items-center gap-2 w-full text-left h6 text-[hsl(var(--grey7))] whitespace-nowrap;
|
|
695
|
+
padding: 8px 16px;
|
|
696
|
+
}
|
|
697
|
+
|
|
698
|
+
.dropdown-menu-item:hover {
|
|
699
|
+
@apply bg-[hsl(var(--grey1))];
|
|
700
|
+
}
|
|
701
|
+
|
|
702
|
+
.dropdown-trigger {
|
|
703
|
+
@apply flex items-center gap-2 text-[hsl(var(--grey7))] h6;
|
|
704
|
+
}
|
|
705
|
+
|
|
706
|
+
/* Remove focus stroke from dropdowns */
|
|
707
|
+
.dropdown-trigger,
|
|
708
|
+
[role="combobox"],
|
|
709
|
+
[aria-haspopup="listbox"],
|
|
710
|
+
[aria-expanded] {
|
|
711
|
+
outline: none !important;
|
|
712
|
+
--tw-ring-offset-width: 0 !important;
|
|
713
|
+
--tw-ring-width: 0 !important;
|
|
714
|
+
}
|
|
715
|
+
|
|
716
|
+
/* Handle focus-visible state */
|
|
717
|
+
.dropdown-trigger:focus-visible,
|
|
718
|
+
[role="combobox"]:focus-visible,
|
|
719
|
+
[aria-haspopup="listbox"]:focus-visible,
|
|
720
|
+
[aria-expanded]:focus-visible {
|
|
721
|
+
outline: none !important;
|
|
722
|
+
--tw-ring-offset-width: 0 !important;
|
|
723
|
+
--tw-ring-width: 0 !important;
|
|
724
|
+
}
|
|
725
|
+
|
|
726
|
+
/* Z-index layers */
|
|
727
|
+
.content-layer {
|
|
728
|
+
z-index: var(--z-content);
|
|
729
|
+
}
|
|
730
|
+
|
|
731
|
+
.header-layer {
|
|
732
|
+
z-index: var(--z-header);
|
|
733
|
+
}
|
|
734
|
+
|
|
735
|
+
.dropdown-layer {
|
|
736
|
+
z-index: var(--z-dropdown);
|
|
737
|
+
}
|
|
738
|
+
|
|
739
|
+
.header-dropdown-layer {
|
|
740
|
+
z-index: var(--z-header-dropdown);
|
|
741
|
+
}
|
|
742
|
+
|
|
743
|
+
.modal-layer {
|
|
744
|
+
z-index: var(--z-modal);
|
|
745
|
+
}
|
|
746
|
+
|
|
747
|
+
/* Add the tag component */
|
|
748
|
+
.tag-element {
|
|
749
|
+
display: inline-flex;
|
|
750
|
+
align-items: center;
|
|
751
|
+
justify-content: center;
|
|
752
|
+
padding: 4px 8px;
|
|
753
|
+
border-radius: var(--radius-small);
|
|
754
|
+
background-color: hsl(var(--light-green));
|
|
755
|
+
color: hsl(var(--sage-green));
|
|
756
|
+
border: 1px solid hsl(var(--sage-green));
|
|
757
|
+
}
|
|
758
|
+
|
|
759
|
+
/* Form Input styles */
|
|
760
|
+
input.form-input,
|
|
761
|
+
textarea.form-input,
|
|
762
|
+
.form-input input {
|
|
763
|
+
@apply h-[34px] rounded-small border !border-[hsl(var(--forest-green))] bg-white w-full subtext px-3 !ring-0 !ring-offset-0;
|
|
764
|
+
@apply !text-[hsl(var(--grey7))];
|
|
765
|
+
transition: border-color 0.2s ease, color 0.2s ease;
|
|
766
|
+
}
|
|
767
|
+
|
|
768
|
+
input.form-input::placeholder,
|
|
769
|
+
textarea.form-input::placeholder,
|
|
770
|
+
.form-input input::placeholder {
|
|
771
|
+
@apply subtext opacity-100;
|
|
772
|
+
color: hsl(var(--grey3)) !important;
|
|
773
|
+
transition: color 0.2s ease;
|
|
774
|
+
}
|
|
775
|
+
|
|
776
|
+
/* Focus styles */
|
|
777
|
+
input.form-input:focus-visible,
|
|
778
|
+
textarea.form-input:focus-visible,
|
|
779
|
+
.form-input input:focus-visible {
|
|
780
|
+
outline: none !important;
|
|
781
|
+
border-color: hsl(var(--deep-forest-green)) !important;
|
|
782
|
+
box-shadow: none !important;
|
|
783
|
+
/* ring: 0 !important; */
|
|
784
|
+
}
|
|
785
|
+
|
|
786
|
+
/* Error states */
|
|
787
|
+
input.form-input[data-error="true"],
|
|
788
|
+
.form-input[data-error="true"] input {
|
|
789
|
+
border-color: hsl(var(--error)) !important;
|
|
790
|
+
color: hsl(var(--error)) !important;
|
|
791
|
+
}
|
|
792
|
+
|
|
793
|
+
input.form-input[data-error="true"]::placeholder,
|
|
794
|
+
.form-input[data-error="true"] input::placeholder {
|
|
795
|
+
color: hsl(var(--error)) !important;
|
|
796
|
+
}
|
|
797
|
+
|
|
798
|
+
/* Focus state when there's an error - revert to normal state */
|
|
799
|
+
input.form-input[data-error="true"]:focus-visible,
|
|
800
|
+
.form-input[data-error="true"] input:focus-visible {
|
|
801
|
+
border-color: hsl(var(--deep-forest-green)) !important;
|
|
802
|
+
color: hsl(var(--dark)) !important;
|
|
803
|
+
}
|
|
804
|
+
|
|
805
|
+
input.form-input[data-error="true"]:focus-visible::placeholder,
|
|
806
|
+
.form-input[data-error="true"] input:focus-visible::placeholder {
|
|
807
|
+
color: hsl(var(--sage-green)) !important;
|
|
808
|
+
}
|
|
809
|
+
|
|
810
|
+
/* Style for password input eye icon */
|
|
811
|
+
.form-input svg {
|
|
812
|
+
color: hsl(var(--sage-green)) !important;
|
|
813
|
+
}
|
|
814
|
+
|
|
815
|
+
/* Add H5 text style */
|
|
816
|
+
.h5 {
|
|
817
|
+
font-family: 'Riegla Medium';
|
|
818
|
+
font-size: 16px;
|
|
819
|
+
line-height: 1.4;
|
|
820
|
+
font-weight: 400;
|
|
821
|
+
}
|
|
822
|
+
|
|
823
|
+
/* Update the Breadcrumbs specific styles */
|
|
824
|
+
.breadcrumbs-link {
|
|
825
|
+
@apply h5;
|
|
826
|
+
color: hsl(var(--grey6));
|
|
827
|
+
}
|
|
828
|
+
|
|
829
|
+
.breadcrumbs-current {
|
|
830
|
+
@apply h5;
|
|
831
|
+
color: hsl(var(--grey3));
|
|
832
|
+
}
|
|
833
|
+
|
|
834
|
+
.breadcrumbs-separator {
|
|
835
|
+
@apply h5;
|
|
836
|
+
color: hsl(var(--grey3));
|
|
837
|
+
}
|
|
838
|
+
|
|
839
|
+
.breadcrumbs-nav-button {
|
|
840
|
+
@apply p-2 transition-colors;
|
|
841
|
+
}
|
|
842
|
+
|
|
843
|
+
.breadcrumbs-nav-button:hover:not(.cursor-not-allowed) svg {
|
|
844
|
+
color: hsl(var(--grey7));
|
|
845
|
+
}
|
|
846
|
+
|
|
847
|
+
.breadcrumbs-nav-button.cursor-not-allowed svg {
|
|
848
|
+
color: hsl(var(--grey3));
|
|
849
|
+
}
|
|
850
|
+
} /* End of Base Layer Styles */
|
|
851
|
+
|
|
852
|
+
/* Debug styles */
|
|
853
|
+
[data-debug="true"] [data-debug-footer] {
|
|
854
|
+
@apply bg-blue-100/30;
|
|
855
|
+
}
|
|
856
|
+
|
|
857
|
+
[data-debug="true"] [data-debug-column="logo"] {
|
|
858
|
+
@apply bg-blue-100;
|
|
859
|
+
}
|
|
860
|
+
|
|
861
|
+
[data-debug="true"] [data-debug-column="links"] {
|
|
862
|
+
@apply bg-green-100;
|
|
863
|
+
}
|
|
864
|
+
|
|
865
|
+
[data-debug="true"] [data-debug-column="resources"] {
|
|
866
|
+
@apply bg-yellow-100;
|
|
867
|
+
}
|
|
868
|
+
|
|
869
|
+
[data-debug="true"] [data-debug-column="developers"] {
|
|
870
|
+
@apply bg-purple-100;
|
|
871
|
+
}
|
|
872
|
+
|
|
873
|
+
/* Primary Form Button */
|
|
874
|
+
.btn-primary-form {
|
|
875
|
+
@apply bg-[hsl(var(--deep-forest-green))] text-[hsl(var(--light-green))] h-[34px];
|
|
876
|
+
}
|
|
877
|
+
|
|
878
|
+
.btn-primary-form span {
|
|
879
|
+
@apply h6;
|
|
880
|
+
}
|
|
881
|
+
|
|
882
|
+
.btn-primary-form:hover {
|
|
883
|
+
background-color: color-mix(in srgb, hsl(var(--deep-forest-green)) 90%, black) !important;
|
|
884
|
+
color: white !important;
|
|
885
|
+
}
|
|
886
|
+
|
|
887
|
+
.accordion-trigger {
|
|
888
|
+
height: 52px;
|
|
889
|
+
}
|
|
890
|
+
|
|
891
|
+
[data-radix-collapsible-trigger] {
|
|
892
|
+
min-height: 52px !important;
|
|
893
|
+
}
|