@worknice/whiteboard 0.0.2 → 0.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/controls/Action.d.ts +7 -0
- package/dist/controls/Action.js +81 -0
- package/dist/controls/Button.d.ts +22 -0
- package/dist/controls/Button.js +61 -0
- package/dist/controls/Button.module.js +9 -0
- package/dist/controls/ButtonCard.d.ts +7 -0
- package/dist/controls/ButtonCard.js +43 -0
- package/dist/controls/ButtonCard.module.js +7 -0
- package/dist/controls/ButtonCard_module.css +31 -0
- package/dist/controls/ButtonLink.d.ts +15 -0
- package/dist/controls/ButtonLink.js +48 -0
- package/dist/controls/ButtonLink.module.js +9 -0
- package/dist/controls/ButtonLink_module.css +68 -0
- package/dist/controls/Button_module.css +86 -0
- package/dist/controls/Disclosure.d.ts +7 -0
- package/dist/controls/Disclosure.js +27 -0
- package/dist/controls/Link.d.ts +14 -0
- package/dist/controls/Link.js +35 -0
- package/dist/controls/Link.module.js +5 -0
- package/dist/controls/LinkCard.d.ts +7 -0
- package/dist/controls/LinkCard.js +26 -0
- package/dist/controls/LinkCard.module.js +6 -0
- package/dist/controls/LinkCard_module.css +22 -0
- package/dist/controls/Link_module.css +19 -0
- package/dist/controls/MenuButton.d.ts +31 -0
- package/dist/controls/MenuButton.js +216 -0
- package/dist/controls/MenuButton.module.js +10 -0
- package/dist/controls/MenuButton_module.css +78 -0
- package/dist/controls/PageTabSet.d.ts +11 -0
- package/dist/controls/PageTabSet.js +26 -0
- package/dist/controls/PageTabSet.module.js +7 -0
- package/dist/controls/PageTabSet_module.css +32 -0
- package/dist/controls/Sortable.d.ts +11 -0
- package/dist/controls/Sortable.js +27 -0
- package/dist/controls/SortableItem.d.ts +8 -0
- package/dist/controls/SortableItem.js +42 -0
- package/dist/controls/SortableItem.module.js +9 -0
- package/dist/controls/SortableItem_module.css +46 -0
- package/dist/controls/TabSet.d.ts +12 -0
- package/dist/controls/TabSet.js +26 -0
- package/dist/controls/TabSet.module.js +7 -0
- package/dist/controls/TabSetLink.d.ts +12 -0
- package/dist/controls/TabSetLink.js +24 -0
- package/dist/controls/TabSetLink.module.js +7 -0
- package/dist/controls/TabSetLink_module.css +41 -0
- package/dist/controls/TabSet_module.css +39 -0
- package/dist/email/EmailBodyText.d.ts +5 -0
- package/dist/email/EmailBodyText.js +12 -0
- package/dist/email/EmailButton.d.ts +6 -0
- package/dist/email/EmailButton.js +19 -0
- package/dist/email/EmailFooterText.d.ts +5 -0
- package/dist/email/EmailFooterText.js +12 -0
- package/dist/email/EmailLayout.d.ts +10 -0
- package/dist/email/EmailLayout.js +41 -0
- package/dist/fields/BooleanField.d.ts +15 -0
- package/dist/fields/BooleanField.js +19 -0
- package/dist/fields/ColorPickerField.d.ts +18 -0
- package/dist/fields/ColorPickerField.js +18 -0
- package/dist/fields/DateField.d.ts +18 -0
- package/dist/fields/DateField.js +22 -0
- package/dist/fields/DateTimeField.d.ts +16 -0
- package/dist/fields/DateTimeField.js +20 -0
- package/dist/fields/FileField.d.ts +12 -0
- package/dist/fields/FileField.js +18 -0
- package/dist/fields/ListBoxField.d.ts +21 -0
- package/dist/fields/ListBoxField.js +24 -0
- package/dist/fields/MarkdownField.d.ts +17 -0
- package/dist/fields/MarkdownField.js +36 -0
- package/dist/fields/NumberField.d.ts +12 -0
- package/dist/fields/NumberField.js +23 -0
- package/dist/fields/PasswordField.d.ts +15 -0
- package/dist/fields/PasswordField.js +63 -0
- package/dist/fields/PasswordField.module.js +14 -0
- package/dist/fields/PasswordField_module.css +47 -0
- package/dist/fields/RadioSetField.d.ts +22 -0
- package/dist/fields/RadioSetField.js +42 -0
- package/dist/fields/RadioSetField.module.js +6 -0
- package/dist/fields/RadioSetField_module.css +15 -0
- package/dist/fields/SelectField.d.ts +20 -0
- package/dist/fields/SelectField.js +24 -0
- package/dist/fields/SimpleRadioSetField.d.ts +15 -0
- package/dist/fields/SimpleRadioSetField.js +13 -0
- package/dist/fields/SingleSelectComboboxField.d.ts +25 -0
- package/dist/fields/SingleSelectComboboxField.js +28 -0
- package/dist/fields/StringField.d.ts +12 -0
- package/dist/fields/StringField.js +25 -0
- package/dist/fields/TextField.d.ts +17 -0
- package/dist/fields/TextField.js +21 -0
- package/dist/fields/TimeField.d.ts +12 -0
- package/dist/fields/TimeField.js +21 -0
- package/dist/forms/FormButtonSet.d.ts +14 -0
- package/dist/forms/FormButtonSet.js +31 -0
- package/dist/forms/FormButtonSet.module.js +5 -0
- package/dist/forms/FormButtonSet_module.css +12 -0
- package/dist/forms/FormError.d.ts +6 -0
- package/dist/forms/FormError.js +10 -0
- package/dist/forms/FormErrorList.d.ts +8 -0
- package/dist/forms/FormErrorList.js +22 -0
- package/dist/forms/FormErrorList.module.js +6 -0
- package/dist/forms/FormErrorList_module.css +12 -0
- package/dist/forms/FormStatusIndicator.d.ts +8 -0
- package/dist/forms/FormStatusIndicator.js +40 -0
- package/dist/forms/FormStatusIndicator.module.js +8 -0
- package/dist/forms/FormStatusIndicator_module.css +18 -0
- package/dist/forms/RegularField.d.ts +14 -0
- package/dist/forms/RegularField.js +47 -0
- package/dist/forms/RegularField.module.js +14 -0
- package/dist/forms/RegularField_module.css +47 -0
- package/dist/forms/ToggleField.d.ts +12 -0
- package/dist/forms/ToggleField.js +38 -0
- package/dist/forms/ToggleField.module.js +8 -0
- package/dist/forms/ToggleField_module.css +25 -0
- package/dist/forms/_types.d.ts +17 -0
- package/dist/forms/_types.js +0 -0
- package/dist/forms/useForm.d.ts +54 -0
- package/dist/forms/useForm.js +107 -0
- package/dist/hud/ChevronIcon.d.ts +2 -0
- package/dist/hud/ChevronIcon.js +13 -0
- package/dist/hud/NavItem.d.ts +10 -0
- package/dist/hud/NavItem.js +27 -0
- package/dist/hud/NavItem.module.js +7 -0
- package/dist/hud/NavItemChild.d.ts +8 -0
- package/dist/hud/NavItemChild.js +20 -0
- package/dist/hud/NavItemChild.module.js +6 -0
- package/dist/hud/NavItemChild_module.css +20 -0
- package/dist/hud/NavItem_module.css +26 -0
- package/dist/hud/NavSection.d.ts +12 -0
- package/dist/hud/NavSection.js +48 -0
- package/dist/hud/NavSection.module.js +11 -0
- package/dist/hud/NavSection_module.css +44 -0
- package/dist/hud/NavTitle.d.ts +8 -0
- package/dist/hud/NavTitle.js +43 -0
- package/dist/hud/NavTitle.module.js +6 -0
- package/dist/hud/NavTitle_module.css +30 -0
- package/dist/hud/SidebarIcon.d.ts +2 -0
- package/dist/hud/SidebarIcon.js +13 -0
- package/dist/hud/ToolbarButton.d.ts +12 -0
- package/dist/hud/ToolbarButton.js +23 -0
- package/dist/hud/ToolbarButton.module.js +6 -0
- package/dist/hud/ToolbarButton_module.css +24 -0
- package/dist/icons/AppsIcon.d.ts +3 -0
- package/dist/icons/AppsIcon.js +11 -0
- package/dist/icons/ArchiveIcon.d.ts +3 -0
- package/dist/icons/ArchiveIcon.js +11 -0
- package/dist/icons/ArrowLeftIcon.d.ts +3 -0
- package/dist/icons/ArrowLeftIcon.js +11 -0
- package/dist/icons/ArrowRightIcon.d.ts +3 -0
- package/dist/icons/ArrowRightIcon.js +11 -0
- package/dist/icons/AssignIcon.d.ts +3 -0
- package/dist/icons/AssignIcon.js +13 -0
- package/dist/icons/BankAccountIcon.d.ts +3 -0
- package/dist/icons/BankAccountIcon.js +11 -0
- package/dist/icons/CalendarIcon.d.ts +3 -0
- package/dist/icons/CalendarIcon.js +11 -0
- package/dist/icons/CancelIcon.d.ts +3 -0
- package/dist/icons/CancelIcon.js +11 -0
- package/dist/icons/CaratDownIcon.d.ts +3 -0
- package/dist/icons/CaratDownIcon.js +11 -0
- package/dist/icons/CaratLeftIcon.d.ts +3 -0
- package/dist/icons/CaratLeftIcon.js +11 -0
- package/dist/icons/CaratRightIcon.d.ts +3 -0
- package/dist/icons/CaratRightIcon.js +11 -0
- package/dist/icons/CaratUpIcon.d.ts +3 -0
- package/dist/icons/CaratUpIcon.js +11 -0
- package/dist/icons/CheckmarkIcon.d.ts +3 -0
- package/dist/icons/CheckmarkIcon.js +11 -0
- package/dist/icons/ChevronDownIcon.d.ts +3 -0
- package/dist/icons/ChevronDownIcon.js +11 -0
- package/dist/icons/ChevronLeftIcon.d.ts +3 -0
- package/dist/icons/ChevronLeftIcon.js +11 -0
- package/dist/icons/ChevronRightIcon.d.ts +3 -0
- package/dist/icons/ChevronRightIcon.js +11 -0
- package/dist/icons/ChevronUpIcon.d.ts +3 -0
- package/dist/icons/ChevronUpIcon.js +11 -0
- package/dist/icons/CloseIcon.d.ts +3 -0
- package/dist/icons/CloseIcon.js +11 -0
- package/dist/icons/CopyIcon.d.ts +3 -0
- package/dist/icons/CopyIcon.js +14 -0
- package/dist/icons/DashIcon.d.ts +3 -0
- package/dist/icons/DashIcon.js +11 -0
- package/dist/icons/DeleteIcon.d.ts +3 -0
- package/dist/icons/DeleteIcon.js +11 -0
- package/dist/icons/EditIcon.d.ts +3 -0
- package/dist/icons/EditIcon.js +11 -0
- package/dist/icons/EmailIcon.d.ts +3 -0
- package/dist/icons/EmailIcon.js +11 -0
- package/dist/icons/EmergencyContactIcon.d.ts +3 -0
- package/dist/icons/EmergencyContactIcon.js +11 -0
- package/dist/icons/ExternalIcon.d.ts +3 -0
- package/dist/icons/ExternalIcon.js +14 -0
- package/dist/icons/GripLinesIcon.d.ts +3 -0
- package/dist/icons/GripLinesIcon.js +11 -0
- package/dist/icons/HelpIcon.d.ts +3 -0
- package/dist/icons/HelpIcon.js +11 -0
- package/dist/icons/HiddenIcon.d.ts +3 -0
- package/dist/icons/HiddenIcon.js +11 -0
- package/dist/icons/InboxIcon.d.ts +3 -0
- package/dist/icons/InboxIcon.js +11 -0
- package/dist/icons/InsightsIcon.d.ts +3 -0
- package/dist/icons/InsightsIcon.js +11 -0
- package/dist/icons/JobIcon.d.ts +3 -0
- package/dist/icons/JobIcon.js +11 -0
- package/dist/icons/LeaveIcon.d.ts +3 -0
- package/dist/icons/LeaveIcon.js +11 -0
- package/dist/icons/LoadingIcon.d.ts +4 -0
- package/dist/icons/LoadingIcon.js +22 -0
- package/dist/icons/LogoutIcon.d.ts +3 -0
- package/dist/icons/LogoutIcon.js +11 -0
- package/dist/icons/MicrosoftIcon.d.ts +3 -0
- package/dist/icons/MicrosoftIcon.js +26 -0
- package/dist/icons/MinusIcon.d.ts +3 -0
- package/dist/icons/MinusIcon.js +11 -0
- package/dist/icons/OverflowIcon.d.ts +3 -0
- package/dist/icons/OverflowIcon.js +11 -0
- package/dist/icons/PaperworkIcon.d.ts +3 -0
- package/dist/icons/PaperworkIcon.js +11 -0
- package/dist/icons/PeopleIcon.d.ts +3 -0
- package/dist/icons/PeopleIcon.js +11 -0
- package/dist/icons/PhoneIcon.d.ts +3 -0
- package/dist/icons/PhoneIcon.js +11 -0
- package/dist/icons/PlusIcon.d.ts +3 -0
- package/dist/icons/PlusIcon.js +11 -0
- package/dist/icons/PositionsIcon.d.ts +3 -0
- package/dist/icons/PositionsIcon.js +11 -0
- package/dist/icons/ProfileFemaleIcon.d.ts +3 -0
- package/dist/icons/ProfileFemaleIcon.js +11 -0
- package/dist/icons/ProfileIcon.d.ts +3 -0
- package/dist/icons/ProfileIcon.js +11 -0
- package/dist/icons/ProfileMaleIcon.d.ts +3 -0
- package/dist/icons/ProfileMaleIcon.js +11 -0
- package/dist/icons/RemunerationIcon.d.ts +3 -0
- package/dist/icons/RemunerationIcon.js +11 -0
- package/dist/icons/RescheduleIcon.d.ts +3 -0
- package/dist/icons/RescheduleIcon.js +13 -0
- package/dist/icons/RestoreIcon.d.ts +3 -0
- package/dist/icons/RestoreIcon.js +13 -0
- package/dist/icons/ReviewIcon.d.ts +3 -0
- package/dist/icons/ReviewIcon.js +11 -0
- package/dist/icons/ScheduleIcon.d.ts +3 -0
- package/dist/icons/ScheduleIcon.js +13 -0
- package/dist/icons/SettingsIcon.d.ts +3 -0
- package/dist/icons/SettingsIcon.js +11 -0
- package/dist/icons/SidebarIcon.d.ts +3 -0
- package/dist/icons/SidebarIcon.js +11 -0
- package/dist/icons/SortAscIcon.d.ts +3 -0
- package/dist/icons/SortAscIcon.js +11 -0
- package/dist/icons/SortDefaultIcon.d.ts +3 -0
- package/dist/icons/SortDefaultIcon.js +11 -0
- package/dist/icons/SortDesIcon.d.ts +3 -0
- package/dist/icons/SortDesIcon.js +11 -0
- package/dist/icons/StepsCompleteIcon.d.ts +3 -0
- package/dist/icons/StepsCompleteIcon.js +11 -0
- package/dist/icons/StepsCurrentIcon.d.ts +3 -0
- package/dist/icons/StepsCurrentIcon.js +11 -0
- package/dist/icons/StepsIncompleteIcon.d.ts +3 -0
- package/dist/icons/StepsIncompleteIcon.js +11 -0
- package/dist/icons/SubmitIcon.d.ts +3 -0
- package/dist/icons/SubmitIcon.js +13 -0
- package/dist/icons/SuccessIcon.d.ts +3 -0
- package/dist/icons/SuccessIcon.js +13 -0
- package/dist/icons/SuperFundIcon.d.ts +3 -0
- package/dist/icons/SuperFundIcon.js +11 -0
- package/dist/icons/SyncIcon.d.ts +3 -0
- package/dist/icons/SyncIcon.js +11 -0
- package/dist/icons/TaskIcon.d.ts +3 -0
- package/dist/icons/TaskIcon.js +11 -0
- package/dist/icons/TaxIcon.d.ts +3 -0
- package/dist/icons/TaxIcon.js +11 -0
- package/dist/icons/TenureIcon.d.ts +3 -0
- package/dist/icons/TenureIcon.js +11 -0
- package/dist/icons/VisibleIcon.d.ts +3 -0
- package/dist/icons/VisibleIcon.js +11 -0
- package/dist/icons/WarningIcon.d.ts +3 -0
- package/dist/icons/WarningIcon.js +12 -0
- package/dist/icons/_types.d.ts +4 -0
- package/dist/icons/_types.js +0 -0
- package/dist/icons/index.d.ts +67 -0
- package/dist/icons/index.js +68 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +0 -0
- package/dist/inputs/CheckboxInput.d.ts +12 -0
- package/dist/inputs/CheckboxInput.js +48 -0
- package/dist/inputs/CheckboxInput.module.js +6 -0
- package/dist/inputs/CheckboxInput_module.css +32 -0
- package/dist/inputs/ColorPickerInput.d.ts +8 -0
- package/dist/inputs/ColorPickerInput.js +36 -0
- package/dist/inputs/ColorPickerInput.module.js +15 -0
- package/dist/inputs/ColorPickerInput_module.css +99 -0
- package/dist/inputs/DateInput.d.ts +19 -0
- package/dist/inputs/DateInput.js +43 -0
- package/dist/inputs/DateInput.module.js +10 -0
- package/dist/inputs/DateInput_module.css +60 -0
- package/dist/inputs/DateTimeInput.d.ts +17 -0
- package/dist/inputs/DateTimeInput.js +34 -0
- package/dist/inputs/DateTimeInput.module.js +5 -0
- package/dist/inputs/DateTimeInput_module.css +27 -0
- package/dist/inputs/FileInput.d.ts +7 -0
- package/dist/inputs/FileInput.js +12 -0
- package/dist/inputs/ListBoxInput.d.ts +14 -0
- package/dist/inputs/ListBoxInput.js +66 -0
- package/dist/inputs/ListBoxInput.module.js +10 -0
- package/dist/inputs/ListBoxInput_module.css +44 -0
- package/dist/inputs/MarkdownInput.d.ts +11 -0
- package/dist/inputs/MarkdownInput.js +35 -0
- package/dist/inputs/MarkdownInput.module.js +5 -0
- package/dist/inputs/MarkdownInput_module.css +27 -0
- package/dist/inputs/NumberInput.d.ts +13 -0
- package/dist/inputs/NumberInput.js +44 -0
- package/dist/inputs/NumberInput.module.js +10 -0
- package/dist/inputs/NumberInput_module.css +59 -0
- package/dist/inputs/RadioInput.d.ts +9 -0
- package/dist/inputs/RadioInput.js +34 -0
- package/dist/inputs/RadioInput.module.js +6 -0
- package/dist/inputs/RadioInput_module.css +31 -0
- package/dist/inputs/SelectInput.d.ts +14 -0
- package/dist/inputs/SelectInput.js +130 -0
- package/dist/inputs/SelectInput.module.js +10 -0
- package/dist/inputs/SelectInput_module.css +63 -0
- package/dist/inputs/SingleSelectComboboxInput.d.ts +19 -0
- package/dist/inputs/SingleSelectComboboxInput.js +179 -0
- package/dist/inputs/SingleSelectComboboxInput.module.js +12 -0
- package/dist/inputs/SingleSelectComboboxInput_module.css +73 -0
- package/dist/inputs/StringInput.d.ts +15 -0
- package/dist/inputs/StringInput.js +51 -0
- package/dist/inputs/StringInput.module.js +10 -0
- package/dist/inputs/StringInput_module.css +59 -0
- package/dist/inputs/TextInput.d.ts +13 -0
- package/dist/inputs/TextInput.js +51 -0
- package/dist/inputs/TextInput.module.js +10 -0
- package/dist/inputs/TextInput_module.css +59 -0
- package/dist/inputs/TimeInput.d.ts +11 -0
- package/dist/inputs/TimeInput.js +26 -0
- package/dist/inputs/TimeInput.module.js +5 -0
- package/dist/inputs/TimeInput_module.css +33 -0
- package/dist/layouts/BaseLayout.d.ts +7 -0
- package/dist/layouts/BaseLayout.js +15 -0
- package/dist/layouts/FullLayout.d.ts +19 -0
- package/dist/layouts/FullLayout.js +152 -0
- package/dist/layouts/FullLayout.module.js +24 -0
- package/dist/layouts/FullLayout_module.css +257 -0
- package/dist/layouts/MinimalLayout.d.ts +12 -0
- package/dist/layouts/MinimalLayout.js +34 -0
- package/dist/layouts/MinimalLayout.module.js +6 -0
- package/dist/layouts/MinimalLayout_module.css +25 -0
- package/dist/presentation/ActionSet.d.ts +13 -0
- package/dist/presentation/ActionSet.js +13 -0
- package/dist/presentation/ActionSet.module.js +5 -0
- package/dist/presentation/ActionSet_module.css +7 -0
- package/dist/presentation/Avatar.d.ts +8 -0
- package/dist/presentation/Avatar.js +27 -0
- package/dist/presentation/Avatar.module.js +5 -0
- package/dist/presentation/Avatar_module.css +10 -0
- package/dist/presentation/Badge.d.ts +8 -0
- package/dist/presentation/Badge.js +20 -0
- package/dist/presentation/Badge.module.js +14 -0
- package/dist/presentation/BadgeSet.d.ts +15 -0
- package/dist/presentation/BadgeSet.js +18 -0
- package/dist/presentation/BadgeSet.module.js +7 -0
- package/dist/presentation/BadgeSet_module.css +15 -0
- package/dist/presentation/Badge_module.css +53 -0
- package/dist/presentation/Banner.d.ts +11 -0
- package/dist/presentation/Banner.js +33 -0
- package/dist/presentation/Banner.module.js +12 -0
- package/dist/presentation/Banner_module.css +54 -0
- package/dist/presentation/ButtonSet.d.ts +11 -0
- package/dist/presentation/ButtonSet.js +21 -0
- package/dist/presentation/ButtonsSet.module.js +6 -0
- package/dist/presentation/ButtonsSet_module.css +10 -0
- package/dist/presentation/Card.d.ts +17 -0
- package/dist/presentation/Card.js +38 -0
- package/dist/presentation/Card.module.js +9 -0
- package/dist/presentation/CardContent.d.ts +7 -0
- package/dist/presentation/CardContent.js +12 -0
- package/dist/presentation/CardContent.module.js +5 -0
- package/dist/presentation/CardContent_module.css +4 -0
- package/dist/presentation/Card_module.css +32 -0
- package/dist/presentation/Columns.d.ts +8 -0
- package/dist/presentation/Columns.js +16 -0
- package/dist/presentation/Columns.module.js +7 -0
- package/dist/presentation/Columns_module.css +19 -0
- package/dist/presentation/ConfirmationModal.d.ts +13 -0
- package/dist/presentation/ConfirmationModal.js +61 -0
- package/dist/presentation/DefinitionList.d.ts +10 -0
- package/dist/presentation/DefinitionList.js +22 -0
- package/dist/presentation/DefinitionList.module.js +6 -0
- package/dist/presentation/DefinitionList_module.css +10 -0
- package/dist/presentation/Divider.d.ts +5 -0
- package/dist/presentation/Divider.js +23 -0
- package/dist/presentation/Divider.module.js +6 -0
- package/dist/presentation/Divider_module.css +12 -0
- package/dist/presentation/File.d.ts +6 -0
- package/dist/presentation/File.js +57 -0
- package/dist/presentation/Footer.d.ts +12 -0
- package/dist/presentation/Footer.js +18 -0
- package/dist/presentation/Footer.module.js +5 -0
- package/dist/presentation/Footer_module.css +16 -0
- package/dist/presentation/HStack.d.ts +10 -0
- package/dist/presentation/HStack.js +16 -0
- package/dist/presentation/HStack.module.js +5 -0
- package/dist/presentation/HStack_module.css +10 -0
- package/dist/presentation/Header.d.ts +10 -0
- package/dist/presentation/Header.js +20 -0
- package/dist/presentation/Header.module.js +6 -0
- package/dist/presentation/Header_module.css +17 -0
- package/dist/presentation/Heading.d.ts +10 -0
- package/dist/presentation/Heading.js +10 -0
- package/dist/presentation/HeadlineStatisticCard.d.ts +9 -0
- package/dist/presentation/HeadlineStatisticCard.js +35 -0
- package/dist/presentation/HoverCard.d.ts +7 -0
- package/dist/presentation/HoverCard.js +90 -0
- package/dist/presentation/HoverCard.module.js +8 -0
- package/dist/presentation/HoverCard_module.css +18 -0
- package/dist/presentation/Icon.d.ts +20 -0
- package/dist/presentation/Icon.js +27 -0
- package/dist/presentation/IconSymbolSet.d.ts +6 -0
- package/dist/presentation/IconSymbolSet.js +16 -0
- package/dist/presentation/Info.d.ts +10 -0
- package/dist/presentation/Info.js +26 -0
- package/dist/presentation/Info.module.js +8 -0
- package/dist/presentation/Info_module.css +38 -0
- package/dist/presentation/Key.d.ts +7 -0
- package/dist/presentation/Key.js +13 -0
- package/dist/presentation/Key.module.js +5 -0
- package/dist/presentation/Key_module.css +15 -0
- package/dist/presentation/KeysSet.d.ts +9 -0
- package/dist/presentation/KeysSet.js +8 -0
- package/dist/presentation/KeysSet.module.js +5 -0
- package/dist/presentation/KeysSet_module.css +6 -0
- package/dist/presentation/Label.d.ts +10 -0
- package/dist/presentation/Label.js +10 -0
- package/dist/presentation/Layer.d.ts +9 -0
- package/dist/presentation/Layer.js +48 -0
- package/dist/presentation/ListCard.d.ts +13 -0
- package/dist/presentation/ListCard.js +50 -0
- package/dist/presentation/ListCard.module.js +10 -0
- package/dist/presentation/ListCard_module.css +78 -0
- package/dist/presentation/Markdown.d.ts +19 -0
- package/dist/presentation/Markdown.js +33 -0
- package/dist/presentation/Modal.d.ts +8 -0
- package/dist/presentation/Modal.js +26 -0
- package/dist/presentation/Modal.module.js +7 -0
- package/dist/presentation/Modal_module.css +17 -0
- package/dist/presentation/ObscuredText.d.ts +5 -0
- package/dist/presentation/ObscuredText.js +25 -0
- package/dist/presentation/ObscuredText.module.js +6 -0
- package/dist/presentation/ObscuredText_module.css +26 -0
- package/dist/presentation/Overlay.d.ts +7 -0
- package/dist/presentation/Overlay.js +29 -0
- package/dist/presentation/Overlay.module.js +6 -0
- package/dist/presentation/Overlay_module.css +20 -0
- package/dist/presentation/PersonAvatar.d.ts +18 -0
- package/dist/presentation/PersonAvatar.js +89 -0
- package/dist/presentation/PersonCover.d.ts +5 -0
- package/dist/presentation/PersonCover.js +21 -0
- package/dist/presentation/PersonCover.module.js +6 -0
- package/dist/presentation/PersonCover_module.css +22 -0
- package/dist/presentation/Placeholder.d.ts +6 -0
- package/dist/presentation/Placeholder.js +8 -0
- package/dist/presentation/Placeholder.module.js +5 -0
- package/dist/presentation/Placeholder_module.css +9 -0
- package/dist/presentation/PlainText.d.ts +11 -0
- package/dist/presentation/PlainText.js +40 -0
- package/dist/presentation/PlainText.module.js +5 -0
- package/dist/presentation/PlainText_module.css +6 -0
- package/dist/presentation/RichText.d.ts +16 -0
- package/dist/presentation/RichText.js +21 -0
- package/dist/presentation/RichText.module.js +7 -0
- package/dist/presentation/RichText_module.css +177 -0
- package/dist/presentation/Sheet.d.ts +23 -0
- package/dist/presentation/Sheet.js +22 -0
- package/dist/presentation/Sheet.module.js +8 -0
- package/dist/presentation/SheetContent.d.ts +6 -0
- package/dist/presentation/SheetContent.js +8 -0
- package/dist/presentation/SheetContent.module.js +5 -0
- package/dist/presentation/SheetContent_module.css +7 -0
- package/dist/presentation/SheetFooter.d.ts +7 -0
- package/dist/presentation/SheetFooter.js +12 -0
- package/dist/presentation/SheetFooter.module.js +5 -0
- package/dist/presentation/SheetFooter_module.css +7 -0
- package/dist/presentation/SheetHeader.d.ts +8 -0
- package/dist/presentation/SheetHeader.js +13 -0
- package/dist/presentation/SheetHeader.module.js +5 -0
- package/dist/presentation/SheetHeader_module.css +7 -0
- package/dist/presentation/Sheet_module.css +24 -0
- package/dist/presentation/SimpleList.d.ts +9 -0
- package/dist/presentation/SimpleList.js +14 -0
- package/dist/presentation/SimpleList.module.js +5 -0
- package/dist/presentation/SimpleList_module.css +9 -0
- package/dist/presentation/SimpleTable.d.ts +27 -0
- package/dist/presentation/SimpleTable.js +67 -0
- package/dist/presentation/SimpleTable.module.js +12 -0
- package/dist/presentation/SimpleTable_module.css +42 -0
- package/dist/presentation/Slot.d.ts +8 -0
- package/dist/presentation/Slot.js +26 -0
- package/dist/presentation/Slot.module.js +5 -0
- package/dist/presentation/Slot_module.css +7 -0
- package/dist/presentation/Subheading.d.ts +10 -0
- package/dist/presentation/Subheading.js +10 -0
- package/dist/presentation/Table.d.ts +71 -0
- package/dist/presentation/Table.js +458 -0
- package/dist/presentation/Table.module.js +22 -0
- package/dist/presentation/Table_module.css +142 -0
- package/dist/presentation/Tag.d.ts +9 -0
- package/dist/presentation/Tag.js +20 -0
- package/dist/presentation/Tag.module.js +14 -0
- package/dist/presentation/TagSet.d.ts +15 -0
- package/dist/presentation/TagSet.js +18 -0
- package/dist/presentation/TagSet.module.js +7 -0
- package/dist/presentation/TagSet_module.css +15 -0
- package/dist/presentation/Tag_module.css +53 -0
- package/dist/presentation/Timeline.d.ts +10 -0
- package/dist/presentation/Timeline.js +24 -0
- package/dist/presentation/Timeline.module.js +7 -0
- package/dist/presentation/Timeline_module.css +32 -0
- package/dist/presentation/Title.d.ts +10 -0
- package/dist/presentation/Title.js +10 -0
- package/dist/presentation/Tooltip.d.ts +7 -0
- package/dist/presentation/Tooltip.js +62 -0
- package/dist/presentation/Tooltip.module.js +6 -0
- package/dist/presentation/Tooltip_module.css +12 -0
- package/dist/presentation/VStack.d.ts +13 -0
- package/dist/presentation/VStack.js +15 -0
- package/dist/presentation/VStack.module.js +5 -0
- package/dist/presentation/VStack_module.css +8 -0
- package/dist/shared.css +351 -335
- package/dist/utils/NextContext.d.ts +10 -0
- package/dist/utils/NextContext.js +4 -0
- package/dist/utils/TrackingContext.d.ts +20 -0
- package/dist/utils/TrackingContext.js +4 -0
- package/dist/utils/customProperties.d.ts +5 -0
- package/dist/utils/customProperties.js +3 -0
- package/dist/utils/encodeCsv.d.ts +5 -0
- package/dist/utils/encodeCsv.js +30 -0
- package/dist/utils/search.d.ts +4 -0
- package/dist/utils/search.js +10 -0
- package/dist/utils/useNextContext.d.ts +35 -0
- package/dist/utils/useNextContext.js +9 -0
- package/dist/validators/isGreaterThan.d.ts +8 -0
- package/dist/validators/isGreaterThan.js +11 -0
- package/dist/validators/isInteger.d.ts +8 -0
- package/dist/validators/isInteger.js +11 -0
- package/dist/validators/isLessThan.d.ts +8 -0
- package/dist/validators/isLessThan.js +11 -0
- package/dist/validators/isNotBlank.d.ts +8 -0
- package/dist/validators/isNotBlank.js +11 -0
- package/dist/validators/isNotEmpty.d.ts +8 -0
- package/dist/validators/isNotEmpty.js +11 -0
- package/dist/validators/isNumber.d.ts +8 -0
- package/dist/validators/isNumber.js +12 -0
- package/dist/validators/isRequired.d.ts +8 -0
- package/dist/validators/isRequired.js +11 -0
- package/dist/validators/isTrue.d.ts +8 -0
- package/dist/validators/isTrue.js +11 -0
- package/dist/validators/isValidEmail.d.ts +8 -0
- package/dist/validators/isValidEmail.js +12 -0
- package/dist/visuals/ProportionVisual.d.ts +11 -0
- package/dist/visuals/ProportionVisual.js +41 -0
- package/dist/visuals/ProportionVisual.module.js +16 -0
- package/dist/visuals/ProportionVisualCompact.d.ts +9 -0
- package/dist/visuals/ProportionVisualCompact.js +27 -0
- package/dist/visuals/ProportionVisualCompact.module.js +15 -0
- package/dist/visuals/ProportionVisualCompact_module.css +48 -0
- package/dist/visuals/ProportionVisual_module.css +65 -0
- package/package.json +70 -28
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type Image from "next/image";
|
|
2
|
+
import type Link from "next/link";
|
|
3
|
+
import type { NextRouter } from "next/router";
|
|
4
|
+
declare const NextContext: import("react").Context<{
|
|
5
|
+
Image: typeof Image;
|
|
6
|
+
Link: typeof Link;
|
|
7
|
+
pathname: string | null;
|
|
8
|
+
router: NextRouter | null;
|
|
9
|
+
} | null>;
|
|
10
|
+
export default NextContext;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
declare const TrackingContext: import("react").Context<{
|
|
2
|
+
/**
|
|
3
|
+
* Tracks when a user clicks or taps an element or presses the space/enter key
|
|
4
|
+
* with an element focused.
|
|
5
|
+
*
|
|
6
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/Element/click_event
|
|
7
|
+
*/
|
|
8
|
+
trackClick: (elementId: string) => void;
|
|
9
|
+
/**
|
|
10
|
+
* Tracks when a user changes the value of an input.
|
|
11
|
+
*
|
|
12
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/Element/input_event
|
|
13
|
+
*/
|
|
14
|
+
trackInput: (elementId: string, inputValue?: string) => void;
|
|
15
|
+
/**
|
|
16
|
+
* Tracks when a user sends a GraphQL request to the backend.
|
|
17
|
+
*/
|
|
18
|
+
trackGqlRequest: (gqlOperationType?: string, gqlOperationName?: string) => void;
|
|
19
|
+
} | null>;
|
|
20
|
+
export default TrackingContext;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import * as __WEBPACK_EXTERNAL_MODULE_temporal_polyfill_11c1db1c__ from "temporal-polyfill";
|
|
2
|
+
const encodeCsv = (data)=>{
|
|
3
|
+
const columns = data.reduce((result, row)=>Math.max(result, row.length), 0);
|
|
4
|
+
let result = "";
|
|
5
|
+
for (const row of data){
|
|
6
|
+
for(let i = 0; i < columns; i++){
|
|
7
|
+
result += serializeValue(row[i]);
|
|
8
|
+
if (i < columns - 1) result += ",";
|
|
9
|
+
}
|
|
10
|
+
result += "\r\n";
|
|
11
|
+
}
|
|
12
|
+
return result;
|
|
13
|
+
};
|
|
14
|
+
const serializeValue = (value)=>{
|
|
15
|
+
switch(typeof value){
|
|
16
|
+
case "number":
|
|
17
|
+
return value.toString(10);
|
|
18
|
+
case "boolean":
|
|
19
|
+
return true === value ? "true" : "false";
|
|
20
|
+
case "string":
|
|
21
|
+
return /[,"\n]/.test(value) ? `"${value.replace(/"/g, '""')}"` : value;
|
|
22
|
+
default:
|
|
23
|
+
return value instanceof Date ? __WEBPACK_EXTERNAL_MODULE_temporal_polyfill_11c1db1c__.toTemporalInstant.apply(value).toString({
|
|
24
|
+
timeZone: "Australia/Sydney",
|
|
25
|
+
smallestUnit: "second"
|
|
26
|
+
}) : "";
|
|
27
|
+
}
|
|
28
|
+
};
|
|
29
|
+
const encodeCsv_rslib_entry_ = encodeCsv;
|
|
30
|
+
export { encodeCsv_rslib_entry_ as default };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as __WEBPACK_EXTERNAL_MODULE_js_search_62118aab__ from "js-search";
|
|
2
|
+
const search_rslib_entry_search = (items, fields, term)=>{
|
|
3
|
+
const search = new __WEBPACK_EXTERNAL_MODULE_js_search_62118aab__.Search("id");
|
|
4
|
+
search.indexStrategy = new __WEBPACK_EXTERNAL_MODULE_js_search_62118aab__.AllSubstringsIndexStrategy();
|
|
5
|
+
for (const field of fields)search.addIndex(field);
|
|
6
|
+
search.addDocuments(items);
|
|
7
|
+
return search.search(term);
|
|
8
|
+
};
|
|
9
|
+
const search_rslib_entry_ = search_rslib_entry_search;
|
|
10
|
+
export { search_rslib_entry_ as default };
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
declare const useNextContext: () => {
|
|
2
|
+
Image: typeof import("next/image").default;
|
|
3
|
+
Link: import("react").ForwardRefExoticComponent<Omit<import("react").AnchorHTMLAttributes<HTMLAnchorElement>, keyof {
|
|
4
|
+
href: string | import("url").UrlObject;
|
|
5
|
+
as?: string | import("url").UrlObject;
|
|
6
|
+
replace?: boolean;
|
|
7
|
+
scroll?: boolean;
|
|
8
|
+
shallow?: boolean;
|
|
9
|
+
passHref?: boolean;
|
|
10
|
+
prefetch?: boolean | null;
|
|
11
|
+
locale?: string | false;
|
|
12
|
+
legacyBehavior?: boolean;
|
|
13
|
+
onMouseEnter?: import("react").MouseEventHandler<HTMLAnchorElement>;
|
|
14
|
+
onTouchStart?: import("react").TouchEventHandler<HTMLAnchorElement>;
|
|
15
|
+
onClick?: import("react").MouseEventHandler<HTMLAnchorElement>;
|
|
16
|
+
}> & {
|
|
17
|
+
href: string | import("url").UrlObject;
|
|
18
|
+
as?: string | import("url").UrlObject;
|
|
19
|
+
replace?: boolean;
|
|
20
|
+
scroll?: boolean;
|
|
21
|
+
shallow?: boolean;
|
|
22
|
+
passHref?: boolean;
|
|
23
|
+
prefetch?: boolean | null;
|
|
24
|
+
locale?: string | false;
|
|
25
|
+
legacyBehavior?: boolean;
|
|
26
|
+
onMouseEnter?: import("react").MouseEventHandler<HTMLAnchorElement>;
|
|
27
|
+
onTouchStart?: import("react").TouchEventHandler<HTMLAnchorElement>;
|
|
28
|
+
onClick?: import("react").MouseEventHandler<HTMLAnchorElement>;
|
|
29
|
+
} & {
|
|
30
|
+
children?: import("react").ReactNode;
|
|
31
|
+
} & import("react").RefAttributes<HTMLAnchorElement>>;
|
|
32
|
+
pathname: string | null;
|
|
33
|
+
router: import("next/router").NextRouter | null;
|
|
34
|
+
};
|
|
35
|
+
export default useNextContext;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as __WEBPACK_EXTERNAL_MODULE_react__ from "react";
|
|
2
|
+
import * as __WEBPACK_EXTERNAL_MODULE__NextContext_js_0048cbcb__ from "./NextContext.js";
|
|
3
|
+
const useNextContext = ()=>{
|
|
4
|
+
const context = (0, __WEBPACK_EXTERNAL_MODULE_react__.useContext)(__WEBPACK_EXTERNAL_MODULE__NextContext_js_0048cbcb__["default"]);
|
|
5
|
+
if (null === context) throw Error("useNextContext must be used within a NextContext.Provider");
|
|
6
|
+
return context;
|
|
7
|
+
};
|
|
8
|
+
const useNextContext_rslib_entry_ = useNextContext;
|
|
9
|
+
export { useNextContext_rslib_entry_ as default };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as __WEBPACK_EXTERNAL_MODULE_uuid__ from "uuid";
|
|
2
|
+
const isGreaterThan = (field, comparator, message = `Must be greater than ${comparator}.`)=>(data)=>{
|
|
3
|
+
const value = data[field];
|
|
4
|
+
return "number" == typeof value && value < comparator ? {
|
|
5
|
+
id: (0, __WEBPACK_EXTERNAL_MODULE_uuid__.v4)(),
|
|
6
|
+
field,
|
|
7
|
+
message
|
|
8
|
+
} : null;
|
|
9
|
+
};
|
|
10
|
+
const isGreaterThan_rslib_entry_ = isGreaterThan;
|
|
11
|
+
export { isGreaterThan_rslib_entry_ as default };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as __WEBPACK_EXTERNAL_MODULE_uuid__ from "uuid";
|
|
2
|
+
const isInteger = (field, message = "Must be a whole number.")=>(data)=>{
|
|
3
|
+
const value = data[field];
|
|
4
|
+
return "number" != typeof value || Number.isInteger(value) ? null : {
|
|
5
|
+
id: (0, __WEBPACK_EXTERNAL_MODULE_uuid__.v4)(),
|
|
6
|
+
field,
|
|
7
|
+
message
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
const isInteger_rslib_entry_ = isInteger;
|
|
11
|
+
export { isInteger_rslib_entry_ as default };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as __WEBPACK_EXTERNAL_MODULE_uuid__ from "uuid";
|
|
2
|
+
const isLessThan = (field, comparator, message = `Must be less than ${comparator}.`)=>(data)=>{
|
|
3
|
+
const value = data[field];
|
|
4
|
+
return "number" == typeof value && value > comparator ? {
|
|
5
|
+
id: (0, __WEBPACK_EXTERNAL_MODULE_uuid__.v4)(),
|
|
6
|
+
field,
|
|
7
|
+
message
|
|
8
|
+
} : null;
|
|
9
|
+
};
|
|
10
|
+
const isLessThan_rslib_entry_ = isLessThan;
|
|
11
|
+
export { isLessThan_rslib_entry_ as default };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as __WEBPACK_EXTERNAL_MODULE_uuid__ from "uuid";
|
|
2
|
+
const isNotBlank = (field, message = "This field is required.")=>(data)=>{
|
|
3
|
+
const value = data[field];
|
|
4
|
+
return null == value || "string" == typeof value && "" === value.trim() ? {
|
|
5
|
+
id: (0, __WEBPACK_EXTERNAL_MODULE_uuid__.v4)(),
|
|
6
|
+
field,
|
|
7
|
+
message
|
|
8
|
+
} : null;
|
|
9
|
+
};
|
|
10
|
+
const isNotBlank_rslib_entry_ = isNotBlank;
|
|
11
|
+
export { isNotBlank_rslib_entry_ as default };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as __WEBPACK_EXTERNAL_MODULE_uuid__ from "uuid";
|
|
2
|
+
const isNotEmpty = (field, message = "This field cannot be empty.")=>(data)=>{
|
|
3
|
+
const value = data[field];
|
|
4
|
+
return Array.isArray(value) && 0 === value.length ? {
|
|
5
|
+
id: (0, __WEBPACK_EXTERNAL_MODULE_uuid__.v4)(),
|
|
6
|
+
field,
|
|
7
|
+
message
|
|
8
|
+
} : null;
|
|
9
|
+
};
|
|
10
|
+
const isNotEmpty_rslib_entry_ = isNotEmpty;
|
|
11
|
+
export { isNotEmpty_rslib_entry_ as default };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as __WEBPACK_EXTERNAL_MODULE_uuid__ from "uuid";
|
|
2
|
+
const isNumber = (field, message = "Must be a number.")=>(data)=>{
|
|
3
|
+
const value = data[field];
|
|
4
|
+
if (null == value || "number" == typeof value || "string" == typeof value && (!Number.isNaN(Number(value)) || "" === value.trim())) return null;
|
|
5
|
+
return {
|
|
6
|
+
id: (0, __WEBPACK_EXTERNAL_MODULE_uuid__.v4)(),
|
|
7
|
+
field,
|
|
8
|
+
message
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
const isNumber_rslib_entry_ = isNumber;
|
|
12
|
+
export { isNumber_rslib_entry_ as default };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as __WEBPACK_EXTERNAL_MODULE_uuid__ from "uuid";
|
|
2
|
+
const isRequired = (field, message = "This field is required.")=>(data)=>{
|
|
3
|
+
const value = data[field];
|
|
4
|
+
return null == value ? {
|
|
5
|
+
id: (0, __WEBPACK_EXTERNAL_MODULE_uuid__.v4)(),
|
|
6
|
+
field,
|
|
7
|
+
message
|
|
8
|
+
} : null;
|
|
9
|
+
};
|
|
10
|
+
const isRequired_rslib_entry_ = isRequired;
|
|
11
|
+
export { isRequired_rslib_entry_ as default };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as __WEBPACK_EXTERNAL_MODULE_uuid__ from "uuid";
|
|
2
|
+
const isTrue = (field, message)=>(data)=>{
|
|
3
|
+
const value = data[field];
|
|
4
|
+
return true !== value ? {
|
|
5
|
+
id: (0, __WEBPACK_EXTERNAL_MODULE_uuid__.v4)(),
|
|
6
|
+
field,
|
|
7
|
+
message
|
|
8
|
+
} : null;
|
|
9
|
+
};
|
|
10
|
+
const isTrue_rslib_entry_ = isTrue;
|
|
11
|
+
export { isTrue_rslib_entry_ as default };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as __WEBPACK_EXTERNAL_MODULE_email_validator_0eb92705__ from "email-validator";
|
|
2
|
+
import * as __WEBPACK_EXTERNAL_MODULE_uuid__ from "uuid";
|
|
3
|
+
const isValidEmail = (field, message = "Must be a valid email address.")=>(data)=>{
|
|
4
|
+
const value = data[field];
|
|
5
|
+
return "string" != typeof value || "" === value.trim() || (0, __WEBPACK_EXTERNAL_MODULE_email_validator_0eb92705__.validate)(value) ? null : {
|
|
6
|
+
id: (0, __WEBPACK_EXTERNAL_MODULE_uuid__.v4)(),
|
|
7
|
+
field,
|
|
8
|
+
message
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
const isValidEmail_rslib_entry_ = isValidEmail;
|
|
12
|
+
export { isValidEmail_rslib_entry_ as default };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
type Props = {
|
|
2
|
+
data: Array<{
|
|
3
|
+
color: "blue" | "green" | "grey" | "maroon" | "orange" | "purple" | "red" | "teal" | "yellow";
|
|
4
|
+
count: number;
|
|
5
|
+
key: string;
|
|
6
|
+
label: string;
|
|
7
|
+
}>;
|
|
8
|
+
label: string;
|
|
9
|
+
};
|
|
10
|
+
declare const ProportionVisual: ({ data, label }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export default ProportionVisual;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import * as __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__ from "react/jsx-runtime";
|
|
2
|
+
import * as __WEBPACK_EXTERNAL_MODULE__ProportionVisual_module_js_d913819e__ from "./ProportionVisual.module.js";
|
|
3
|
+
import * as __WEBPACK_EXTERNAL_MODULE__presentation_Label_js_974ebccd__ from "../presentation/Label.js";
|
|
4
|
+
import * as __WEBPACK_EXTERNAL_MODULE_clsx__ from "clsx";
|
|
5
|
+
const ProportionVisual = ({ data, label })=>{
|
|
6
|
+
const filteredData = data.filter(({ count })=>count > 0);
|
|
7
|
+
return /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsxs)("div", {
|
|
8
|
+
className: __WEBPACK_EXTERNAL_MODULE__ProportionVisual_module_js_d913819e__["default"].container,
|
|
9
|
+
children: [
|
|
10
|
+
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(__WEBPACK_EXTERNAL_MODULE__presentation_Label_js_974ebccd__["default"], {
|
|
11
|
+
children: label
|
|
12
|
+
}),
|
|
13
|
+
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)("div", {
|
|
14
|
+
className: __WEBPACK_EXTERNAL_MODULE__ProportionVisual_module_js_d913819e__["default"].bar,
|
|
15
|
+
style: {
|
|
16
|
+
gridTemplateColumns: filteredData.map(({ count })=>`minmax(0, ${count}fr)`).join(" ")
|
|
17
|
+
},
|
|
18
|
+
children: filteredData.map(({ color, count, key, label })=>/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsxs)("div", {
|
|
19
|
+
className: (0, __WEBPACK_EXTERNAL_MODULE_clsx__["default"])(__WEBPACK_EXTERNAL_MODULE__ProportionVisual_module_js_d913819e__["default"].segment, {
|
|
20
|
+
[__WEBPACK_EXTERNAL_MODULE__ProportionVisual_module_js_d913819e__["default"].blue]: "blue" === color,
|
|
21
|
+
[__WEBPACK_EXTERNAL_MODULE__ProportionVisual_module_js_d913819e__["default"].green]: "green" === color,
|
|
22
|
+
[__WEBPACK_EXTERNAL_MODULE__ProportionVisual_module_js_d913819e__["default"].grey]: "grey" === color,
|
|
23
|
+
[__WEBPACK_EXTERNAL_MODULE__ProportionVisual_module_js_d913819e__["default"].maroon]: "maroon" === color,
|
|
24
|
+
[__WEBPACK_EXTERNAL_MODULE__ProportionVisual_module_js_d913819e__["default"].orange]: "orange" === color,
|
|
25
|
+
[__WEBPACK_EXTERNAL_MODULE__ProportionVisual_module_js_d913819e__["default"].purple]: "purple" === color,
|
|
26
|
+
[__WEBPACK_EXTERNAL_MODULE__ProportionVisual_module_js_d913819e__["default"].red]: "red" === color,
|
|
27
|
+
[__WEBPACK_EXTERNAL_MODULE__ProportionVisual_module_js_d913819e__["default"].teal]: "teal" === color,
|
|
28
|
+
[__WEBPACK_EXTERNAL_MODULE__ProportionVisual_module_js_d913819e__["default"].yellow]: "yellow" === color
|
|
29
|
+
}),
|
|
30
|
+
children: [
|
|
31
|
+
count,
|
|
32
|
+
" ",
|
|
33
|
+
label
|
|
34
|
+
]
|
|
35
|
+
}, key))
|
|
36
|
+
})
|
|
37
|
+
]
|
|
38
|
+
});
|
|
39
|
+
};
|
|
40
|
+
const ProportionVisual_rslib_entry_ = ProportionVisual;
|
|
41
|
+
export { ProportionVisual_rslib_entry_ as default };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import "./ProportionVisual_module.css";
|
|
2
|
+
const ProportionVisual_module_rslib_entry_ = {
|
|
3
|
+
container: "container-louZAW",
|
|
4
|
+
bar: "bar-ZjYTI2",
|
|
5
|
+
segment: "segment-IOG4Nc",
|
|
6
|
+
blue: "blue-TcO7F5",
|
|
7
|
+
green: "green-EGM1Xe",
|
|
8
|
+
grey: "grey-ueCyZA",
|
|
9
|
+
maroon: "maroon-UsSx96",
|
|
10
|
+
orange: "orange-ZlY9nS",
|
|
11
|
+
purple: "purple-HIV6_1",
|
|
12
|
+
red: "red-QPohUh",
|
|
13
|
+
teal: "teal-vQfnhS",
|
|
14
|
+
yellow: "yellow-IzuLCR"
|
|
15
|
+
};
|
|
16
|
+
export { ProportionVisual_module_rslib_entry_ as default };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
type Props = {
|
|
2
|
+
data: Array<{
|
|
3
|
+
color: "blue" | "green" | "grey" | "maroon" | "orange" | "purple" | "red" | "teal" | "yellow";
|
|
4
|
+
count: number;
|
|
5
|
+
key: string;
|
|
6
|
+
}>;
|
|
7
|
+
};
|
|
8
|
+
declare const ProportionVisual: ({ data }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export default ProportionVisual;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import * as __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__ from "react/jsx-runtime";
|
|
2
|
+
import * as __WEBPACK_EXTERNAL_MODULE__ProportionVisualCompact_module_js_c40f32c6__ from "./ProportionVisualCompact.module.js";
|
|
3
|
+
import * as __WEBPACK_EXTERNAL_MODULE_clsx__ from "clsx";
|
|
4
|
+
const ProportionVisual = ({ data })=>{
|
|
5
|
+
const filteredData = data.filter(({ count })=>count > 0);
|
|
6
|
+
return /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)("div", {
|
|
7
|
+
className: __WEBPACK_EXTERNAL_MODULE__ProportionVisualCompact_module_js_c40f32c6__["default"].bar,
|
|
8
|
+
style: {
|
|
9
|
+
gridTemplateColumns: filteredData.map(({ count })=>`minmax(var(--size-00), ${count}fr)`).join(" ")
|
|
10
|
+
},
|
|
11
|
+
children: filteredData.map(({ color, key })=>/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)("div", {
|
|
12
|
+
className: (0, __WEBPACK_EXTERNAL_MODULE_clsx__["default"])(__WEBPACK_EXTERNAL_MODULE__ProportionVisualCompact_module_js_c40f32c6__["default"].segment, {
|
|
13
|
+
[__WEBPACK_EXTERNAL_MODULE__ProportionVisualCompact_module_js_c40f32c6__["default"].blue]: "blue" === color,
|
|
14
|
+
[__WEBPACK_EXTERNAL_MODULE__ProportionVisualCompact_module_js_c40f32c6__["default"].green]: "green" === color,
|
|
15
|
+
[__WEBPACK_EXTERNAL_MODULE__ProportionVisualCompact_module_js_c40f32c6__["default"].grey]: "grey" === color,
|
|
16
|
+
[__WEBPACK_EXTERNAL_MODULE__ProportionVisualCompact_module_js_c40f32c6__["default"].maroon]: "maroon" === color,
|
|
17
|
+
[__WEBPACK_EXTERNAL_MODULE__ProportionVisualCompact_module_js_c40f32c6__["default"].orange]: "orange" === color,
|
|
18
|
+
[__WEBPACK_EXTERNAL_MODULE__ProportionVisualCompact_module_js_c40f32c6__["default"].purple]: "purple" === color,
|
|
19
|
+
[__WEBPACK_EXTERNAL_MODULE__ProportionVisualCompact_module_js_c40f32c6__["default"].red]: "red" === color,
|
|
20
|
+
[__WEBPACK_EXTERNAL_MODULE__ProportionVisualCompact_module_js_c40f32c6__["default"].teal]: "teal" === color,
|
|
21
|
+
[__WEBPACK_EXTERNAL_MODULE__ProportionVisualCompact_module_js_c40f32c6__["default"].yellow]: "yellow" === color
|
|
22
|
+
})
|
|
23
|
+
}, key))
|
|
24
|
+
});
|
|
25
|
+
};
|
|
26
|
+
const ProportionVisualCompact_rslib_entry_ = ProportionVisual;
|
|
27
|
+
export { ProportionVisualCompact_rslib_entry_ as default };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import "./ProportionVisualCompact_module.css";
|
|
2
|
+
const ProportionVisualCompact_module_rslib_entry_ = {
|
|
3
|
+
bar: "bar-imoj8x",
|
|
4
|
+
segment: "segment-Z_tE1x",
|
|
5
|
+
blue: "blue-bQWgvH",
|
|
6
|
+
green: "green-zPpIIX",
|
|
7
|
+
grey: "grey-WQJJQ2",
|
|
8
|
+
maroon: "maroon-gMYAYC",
|
|
9
|
+
orange: "orange-hFzZiz",
|
|
10
|
+
purple: "purple-AeFNmb",
|
|
11
|
+
red: "red-HrBD95",
|
|
12
|
+
teal: "teal-wUj62r",
|
|
13
|
+
yellow: "yellow-rCbfkq"
|
|
14
|
+
};
|
|
15
|
+
export { ProportionVisualCompact_module_rslib_entry_ as default };
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
.bar-imoj8x {
|
|
2
|
+
border-radius: var(--size-n3);
|
|
3
|
+
gap: 1px;
|
|
4
|
+
width: 100%;
|
|
5
|
+
display: grid;
|
|
6
|
+
overflow: hidden;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.segment-Z_tE1x {
|
|
10
|
+
height: var(--size-n2);
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.blue-bQWgvH {
|
|
14
|
+
background: var(--color-blue-t04);
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.green-zPpIIX {
|
|
18
|
+
background: var(--color-green-t04);
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.grey-WQJJQ2 {
|
|
22
|
+
background: var(--color-grey-t04);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.maroon-gMYAYC {
|
|
26
|
+
background: var(--color-maroon-t04);
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.orange-hFzZiz {
|
|
30
|
+
background: var(--color-orange-t04);
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.purple-AeFNmb {
|
|
34
|
+
background: var(--color-purple-t04);
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.red-HrBD95 {
|
|
38
|
+
background: var(--color-red-t04);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.teal-wUj62r {
|
|
42
|
+
background: var(--color-teal-t04);
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.yellow-rCbfkq {
|
|
46
|
+
background: var(--color-yellow-t04);
|
|
47
|
+
}
|
|
48
|
+
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
.container-louZAW {
|
|
2
|
+
gap: var(--size-n3);
|
|
3
|
+
display: grid;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
.bar-ZjYTI2 {
|
|
7
|
+
border-radius: var(--size-n1);
|
|
8
|
+
gap: var(--size-n5);
|
|
9
|
+
display: grid;
|
|
10
|
+
overflow: hidden;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.segment-IOG4Nc {
|
|
14
|
+
font: var(--font-tiny-bold);
|
|
15
|
+
padding: var(--size-n2) var(--size-n1);
|
|
16
|
+
text-overflow: ellipsis;
|
|
17
|
+
white-space: nowrap;
|
|
18
|
+
overflow: hidden;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.blue-TcO7F5 {
|
|
22
|
+
background: var(--color-blue-t09);
|
|
23
|
+
color: var(--color-blue-s04);
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.green-EGM1Xe {
|
|
27
|
+
background: var(--color-green-t09);
|
|
28
|
+
color: var(--color-green-s04);
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.grey-ueCyZA {
|
|
32
|
+
background: var(--color-grey-t09);
|
|
33
|
+
color: var(--color-grey-s04);
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.maroon-UsSx96 {
|
|
37
|
+
background: var(--color-maroon-t09);
|
|
38
|
+
color: var(--color-maroon-s04);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.orange-ZlY9nS {
|
|
42
|
+
background: var(--color-orange-t09);
|
|
43
|
+
color: var(--color-orange-s04);
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.purple-HIV6_1 {
|
|
47
|
+
background: var(--color-purple-t09);
|
|
48
|
+
color: var(--color-purple-s04);
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.red-QPohUh {
|
|
52
|
+
background: var(--color-red-t09);
|
|
53
|
+
color: var(--color-red-s04);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.teal-vQfnhS {
|
|
57
|
+
background: var(--color-teal-t09);
|
|
58
|
+
color: var(--color-teal-s04);
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.yellow-IzuLCR {
|
|
62
|
+
background: var(--color-yellow-t09);
|
|
63
|
+
color: var(--color-yellow-s04);
|
|
64
|
+
}
|
|
65
|
+
|