@worknice/whiteboard 0.0.3 → 0.1.0-rc.2
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/package.json +16 -15
- package/dist/controls/Action.d.ts +0 -7
- package/dist/controls/Action.js +0 -81
- package/dist/controls/Button.d.ts +0 -22
- package/dist/controls/Button.js +0 -61
- package/dist/controls/Button.module.js +0 -9
- package/dist/controls/ButtonCard.d.ts +0 -7
- package/dist/controls/ButtonCard.js +0 -43
- package/dist/controls/ButtonCard.module.js +0 -7
- package/dist/controls/ButtonCard_module.css +0 -31
- package/dist/controls/ButtonLink.d.ts +0 -15
- package/dist/controls/ButtonLink.js +0 -48
- package/dist/controls/ButtonLink.module.js +0 -9
- package/dist/controls/ButtonLink_module.css +0 -68
- package/dist/controls/Button_module.css +0 -86
- package/dist/controls/Disclosure.d.ts +0 -7
- package/dist/controls/Disclosure.js +0 -27
- package/dist/controls/Link.d.ts +0 -14
- package/dist/controls/Link.js +0 -35
- package/dist/controls/Link.module.js +0 -5
- package/dist/controls/LinkCard.d.ts +0 -7
- package/dist/controls/LinkCard.js +0 -26
- package/dist/controls/LinkCard.module.js +0 -6
- package/dist/controls/LinkCard_module.css +0 -22
- package/dist/controls/Link_module.css +0 -19
- package/dist/controls/MenuButton.d.ts +0 -31
- package/dist/controls/MenuButton.js +0 -216
- package/dist/controls/MenuButton.module.js +0 -10
- package/dist/controls/MenuButton_module.css +0 -78
- package/dist/controls/PageTabSet.d.ts +0 -11
- package/dist/controls/PageTabSet.js +0 -26
- package/dist/controls/PageTabSet.module.js +0 -7
- package/dist/controls/PageTabSet_module.css +0 -32
- package/dist/controls/Sortable.d.ts +0 -11
- package/dist/controls/Sortable.js +0 -27
- package/dist/controls/SortableItem.d.ts +0 -8
- package/dist/controls/SortableItem.js +0 -42
- package/dist/controls/SortableItem.module.js +0 -9
- package/dist/controls/SortableItem_module.css +0 -46
- package/dist/controls/TabSet.d.ts +0 -12
- package/dist/controls/TabSet.js +0 -26
- package/dist/controls/TabSet.module.js +0 -7
- package/dist/controls/TabSetLink.d.ts +0 -12
- package/dist/controls/TabSetLink.js +0 -24
- package/dist/controls/TabSetLink.module.js +0 -7
- package/dist/controls/TabSetLink_module.css +0 -41
- package/dist/controls/TabSet_module.css +0 -39
- package/dist/email/EmailBodyText.d.ts +0 -5
- package/dist/email/EmailBodyText.js +0 -12
- package/dist/email/EmailButton.d.ts +0 -6
- package/dist/email/EmailButton.js +0 -19
- package/dist/email/EmailFooterText.d.ts +0 -5
- package/dist/email/EmailFooterText.js +0 -12
- package/dist/email/EmailLayout.d.ts +0 -10
- package/dist/email/EmailLayout.js +0 -41
- package/dist/fields/BooleanField.d.ts +0 -15
- package/dist/fields/BooleanField.js +0 -19
- package/dist/fields/ColorPickerField.d.ts +0 -18
- package/dist/fields/ColorPickerField.js +0 -18
- package/dist/fields/DateField.d.ts +0 -18
- package/dist/fields/DateField.js +0 -22
- package/dist/fields/DateTimeField.d.ts +0 -16
- package/dist/fields/DateTimeField.js +0 -20
- package/dist/fields/FileField.d.ts +0 -12
- package/dist/fields/FileField.js +0 -18
- package/dist/fields/ListBoxField.d.ts +0 -21
- package/dist/fields/ListBoxField.js +0 -24
- package/dist/fields/MarkdownField.d.ts +0 -17
- package/dist/fields/MarkdownField.js +0 -36
- package/dist/fields/NumberField.d.ts +0 -12
- package/dist/fields/NumberField.js +0 -23
- package/dist/fields/PasswordField.d.ts +0 -15
- package/dist/fields/PasswordField.js +0 -63
- package/dist/fields/PasswordField.module.js +0 -14
- package/dist/fields/PasswordField_module.css +0 -47
- package/dist/fields/RadioSetField.d.ts +0 -22
- package/dist/fields/RadioSetField.js +0 -42
- package/dist/fields/RadioSetField.module.js +0 -6
- package/dist/fields/RadioSetField_module.css +0 -15
- package/dist/fields/SelectField.d.ts +0 -20
- package/dist/fields/SelectField.js +0 -24
- package/dist/fields/SimpleRadioSetField.d.ts +0 -15
- package/dist/fields/SimpleRadioSetField.js +0 -13
- package/dist/fields/SingleSelectComboboxField.d.ts +0 -25
- package/dist/fields/SingleSelectComboboxField.js +0 -28
- package/dist/fields/StringField.d.ts +0 -12
- package/dist/fields/StringField.js +0 -25
- package/dist/fields/TextField.d.ts +0 -17
- package/dist/fields/TextField.js +0 -21
- package/dist/fields/TimeField.d.ts +0 -12
- package/dist/fields/TimeField.js +0 -21
- package/dist/forms/FormButtonSet.d.ts +0 -14
- package/dist/forms/FormButtonSet.js +0 -31
- package/dist/forms/FormButtonSet.module.js +0 -5
- package/dist/forms/FormButtonSet_module.css +0 -12
- package/dist/forms/FormError.d.ts +0 -6
- package/dist/forms/FormError.js +0 -10
- package/dist/forms/FormErrorList.d.ts +0 -8
- package/dist/forms/FormErrorList.js +0 -22
- package/dist/forms/FormErrorList.module.js +0 -6
- package/dist/forms/FormErrorList_module.css +0 -12
- package/dist/forms/FormStatusIndicator.d.ts +0 -8
- package/dist/forms/FormStatusIndicator.js +0 -40
- package/dist/forms/FormStatusIndicator.module.js +0 -8
- package/dist/forms/FormStatusIndicator_module.css +0 -18
- package/dist/forms/RegularField.d.ts +0 -14
- package/dist/forms/RegularField.js +0 -47
- package/dist/forms/RegularField.module.js +0 -14
- package/dist/forms/RegularField_module.css +0 -47
- package/dist/forms/ToggleField.d.ts +0 -12
- package/dist/forms/ToggleField.js +0 -38
- package/dist/forms/ToggleField.module.js +0 -8
- package/dist/forms/ToggleField_module.css +0 -25
- package/dist/forms/_types.d.ts +0 -17
- package/dist/forms/_types.js +0 -0
- package/dist/forms/useForm.d.ts +0 -54
- package/dist/forms/useForm.js +0 -107
- package/dist/hud/ChevronIcon.d.ts +0 -2
- package/dist/hud/ChevronIcon.js +0 -13
- package/dist/hud/NavItem.d.ts +0 -10
- package/dist/hud/NavItem.js +0 -27
- package/dist/hud/NavItem.module.js +0 -7
- package/dist/hud/NavItemChild.d.ts +0 -8
- package/dist/hud/NavItemChild.js +0 -20
- package/dist/hud/NavItemChild.module.js +0 -6
- package/dist/hud/NavItemChild_module.css +0 -20
- package/dist/hud/NavItem_module.css +0 -26
- package/dist/hud/NavSection.d.ts +0 -12
- package/dist/hud/NavSection.js +0 -48
- package/dist/hud/NavSection.module.js +0 -11
- package/dist/hud/NavSection_module.css +0 -44
- package/dist/hud/NavTitle.d.ts +0 -8
- package/dist/hud/NavTitle.js +0 -43
- package/dist/hud/NavTitle.module.js +0 -6
- package/dist/hud/NavTitle_module.css +0 -30
- package/dist/hud/SidebarIcon.d.ts +0 -2
- package/dist/hud/SidebarIcon.js +0 -13
- package/dist/hud/ToolbarButton.d.ts +0 -12
- package/dist/hud/ToolbarButton.js +0 -23
- package/dist/hud/ToolbarButton.module.js +0 -6
- package/dist/hud/ToolbarButton_module.css +0 -24
- package/dist/icons/AppsIcon.d.ts +0 -3
- package/dist/icons/AppsIcon.js +0 -11
- package/dist/icons/ArchiveIcon.d.ts +0 -3
- package/dist/icons/ArchiveIcon.js +0 -11
- package/dist/icons/ArrowLeftIcon.d.ts +0 -3
- package/dist/icons/ArrowLeftIcon.js +0 -11
- package/dist/icons/ArrowRightIcon.d.ts +0 -3
- package/dist/icons/ArrowRightIcon.js +0 -11
- package/dist/icons/AssignIcon.d.ts +0 -3
- package/dist/icons/AssignIcon.js +0 -13
- package/dist/icons/BankAccountIcon.d.ts +0 -3
- package/dist/icons/BankAccountIcon.js +0 -11
- package/dist/icons/CalendarIcon.d.ts +0 -3
- package/dist/icons/CalendarIcon.js +0 -11
- package/dist/icons/CancelIcon.d.ts +0 -3
- package/dist/icons/CancelIcon.js +0 -11
- package/dist/icons/CaratDownIcon.d.ts +0 -3
- package/dist/icons/CaratDownIcon.js +0 -11
- package/dist/icons/CaratLeftIcon.d.ts +0 -3
- package/dist/icons/CaratLeftIcon.js +0 -11
- package/dist/icons/CaratRightIcon.d.ts +0 -3
- package/dist/icons/CaratRightIcon.js +0 -11
- package/dist/icons/CaratUpIcon.d.ts +0 -3
- package/dist/icons/CaratUpIcon.js +0 -11
- package/dist/icons/CheckmarkIcon.d.ts +0 -3
- package/dist/icons/CheckmarkIcon.js +0 -11
- package/dist/icons/ChevronDownIcon.d.ts +0 -3
- package/dist/icons/ChevronDownIcon.js +0 -11
- package/dist/icons/ChevronLeftIcon.d.ts +0 -3
- package/dist/icons/ChevronLeftIcon.js +0 -11
- package/dist/icons/ChevronRightIcon.d.ts +0 -3
- package/dist/icons/ChevronRightIcon.js +0 -11
- package/dist/icons/ChevronUpIcon.d.ts +0 -3
- package/dist/icons/ChevronUpIcon.js +0 -11
- package/dist/icons/CloseIcon.d.ts +0 -3
- package/dist/icons/CloseIcon.js +0 -11
- package/dist/icons/CopyIcon.d.ts +0 -3
- package/dist/icons/CopyIcon.js +0 -14
- package/dist/icons/DashIcon.d.ts +0 -3
- package/dist/icons/DashIcon.js +0 -11
- package/dist/icons/DeleteIcon.d.ts +0 -3
- package/dist/icons/DeleteIcon.js +0 -11
- package/dist/icons/EditIcon.d.ts +0 -3
- package/dist/icons/EditIcon.js +0 -11
- package/dist/icons/EmailIcon.d.ts +0 -3
- package/dist/icons/EmailIcon.js +0 -11
- package/dist/icons/EmergencyContactIcon.d.ts +0 -3
- package/dist/icons/EmergencyContactIcon.js +0 -11
- package/dist/icons/ExternalIcon.d.ts +0 -3
- package/dist/icons/ExternalIcon.js +0 -14
- package/dist/icons/GripLinesIcon.d.ts +0 -3
- package/dist/icons/GripLinesIcon.js +0 -11
- package/dist/icons/HelpIcon.d.ts +0 -3
- package/dist/icons/HelpIcon.js +0 -11
- package/dist/icons/HiddenIcon.d.ts +0 -3
- package/dist/icons/HiddenIcon.js +0 -11
- package/dist/icons/InboxIcon.d.ts +0 -3
- package/dist/icons/InboxIcon.js +0 -11
- package/dist/icons/InsightsIcon.d.ts +0 -3
- package/dist/icons/InsightsIcon.js +0 -11
- package/dist/icons/JobIcon.d.ts +0 -3
- package/dist/icons/JobIcon.js +0 -11
- package/dist/icons/LeaveIcon.d.ts +0 -3
- package/dist/icons/LeaveIcon.js +0 -11
- package/dist/icons/LoadingIcon.d.ts +0 -4
- package/dist/icons/LoadingIcon.js +0 -22
- package/dist/icons/LogoutIcon.d.ts +0 -3
- package/dist/icons/LogoutIcon.js +0 -11
- package/dist/icons/MicrosoftIcon.d.ts +0 -3
- package/dist/icons/MicrosoftIcon.js +0 -26
- package/dist/icons/MinusIcon.d.ts +0 -3
- package/dist/icons/MinusIcon.js +0 -11
- package/dist/icons/OverflowIcon.d.ts +0 -3
- package/dist/icons/OverflowIcon.js +0 -11
- package/dist/icons/PaperworkIcon.d.ts +0 -3
- package/dist/icons/PaperworkIcon.js +0 -11
- package/dist/icons/PeopleIcon.d.ts +0 -3
- package/dist/icons/PeopleIcon.js +0 -11
- package/dist/icons/PhoneIcon.d.ts +0 -3
- package/dist/icons/PhoneIcon.js +0 -11
- package/dist/icons/PlusIcon.d.ts +0 -3
- package/dist/icons/PlusIcon.js +0 -11
- package/dist/icons/PositionsIcon.d.ts +0 -3
- package/dist/icons/PositionsIcon.js +0 -11
- package/dist/icons/ProfileFemaleIcon.d.ts +0 -3
- package/dist/icons/ProfileFemaleIcon.js +0 -11
- package/dist/icons/ProfileIcon.d.ts +0 -3
- package/dist/icons/ProfileIcon.js +0 -11
- package/dist/icons/ProfileMaleIcon.d.ts +0 -3
- package/dist/icons/ProfileMaleIcon.js +0 -11
- package/dist/icons/RemunerationIcon.d.ts +0 -3
- package/dist/icons/RemunerationIcon.js +0 -11
- package/dist/icons/RescheduleIcon.d.ts +0 -3
- package/dist/icons/RescheduleIcon.js +0 -13
- package/dist/icons/RestoreIcon.d.ts +0 -3
- package/dist/icons/RestoreIcon.js +0 -13
- package/dist/icons/ReviewIcon.d.ts +0 -3
- package/dist/icons/ReviewIcon.js +0 -11
- package/dist/icons/ScheduleIcon.d.ts +0 -3
- package/dist/icons/ScheduleIcon.js +0 -13
- package/dist/icons/SettingsIcon.d.ts +0 -3
- package/dist/icons/SettingsIcon.js +0 -11
- package/dist/icons/SidebarIcon.d.ts +0 -3
- package/dist/icons/SidebarIcon.js +0 -11
- package/dist/icons/SortAscIcon.d.ts +0 -3
- package/dist/icons/SortAscIcon.js +0 -11
- package/dist/icons/SortDefaultIcon.d.ts +0 -3
- package/dist/icons/SortDefaultIcon.js +0 -11
- package/dist/icons/SortDesIcon.d.ts +0 -3
- package/dist/icons/SortDesIcon.js +0 -11
- package/dist/icons/StepsCompleteIcon.d.ts +0 -3
- package/dist/icons/StepsCompleteIcon.js +0 -11
- package/dist/icons/StepsCurrentIcon.d.ts +0 -3
- package/dist/icons/StepsCurrentIcon.js +0 -11
- package/dist/icons/StepsIncompleteIcon.d.ts +0 -3
- package/dist/icons/StepsIncompleteIcon.js +0 -11
- package/dist/icons/SubmitIcon.d.ts +0 -3
- package/dist/icons/SubmitIcon.js +0 -13
- package/dist/icons/SuccessIcon.d.ts +0 -3
- package/dist/icons/SuccessIcon.js +0 -13
- package/dist/icons/SuperFundIcon.d.ts +0 -3
- package/dist/icons/SuperFundIcon.js +0 -11
- package/dist/icons/SyncIcon.d.ts +0 -3
- package/dist/icons/SyncIcon.js +0 -11
- package/dist/icons/TaskIcon.d.ts +0 -3
- package/dist/icons/TaskIcon.js +0 -11
- package/dist/icons/TaxIcon.d.ts +0 -3
- package/dist/icons/TaxIcon.js +0 -11
- package/dist/icons/TenureIcon.d.ts +0 -3
- package/dist/icons/TenureIcon.js +0 -11
- package/dist/icons/VisibleIcon.d.ts +0 -3
- package/dist/icons/VisibleIcon.js +0 -11
- package/dist/icons/WarningIcon.d.ts +0 -3
- package/dist/icons/WarningIcon.js +0 -12
- package/dist/icons/_types.d.ts +0 -4
- package/dist/icons/_types.js +0 -0
- package/dist/icons/index.d.ts +0 -67
- package/dist/icons/index.js +0 -68
- package/dist/index.d.ts +0 -1
- package/dist/index.js +0 -0
- package/dist/inputs/CheckboxInput.d.ts +0 -12
- package/dist/inputs/CheckboxInput.js +0 -48
- package/dist/inputs/CheckboxInput.module.js +0 -6
- package/dist/inputs/CheckboxInput_module.css +0 -32
- package/dist/inputs/ColorPickerInput.d.ts +0 -8
- package/dist/inputs/ColorPickerInput.js +0 -36
- package/dist/inputs/ColorPickerInput.module.js +0 -15
- package/dist/inputs/ColorPickerInput_module.css +0 -99
- package/dist/inputs/DateInput.d.ts +0 -19
- package/dist/inputs/DateInput.js +0 -43
- package/dist/inputs/DateInput.module.js +0 -10
- package/dist/inputs/DateInput_module.css +0 -60
- package/dist/inputs/DateTimeInput.d.ts +0 -17
- package/dist/inputs/DateTimeInput.js +0 -34
- package/dist/inputs/DateTimeInput.module.js +0 -5
- package/dist/inputs/DateTimeInput_module.css +0 -27
- package/dist/inputs/FileInput.d.ts +0 -7
- package/dist/inputs/FileInput.js +0 -12
- package/dist/inputs/ListBoxInput.d.ts +0 -14
- package/dist/inputs/ListBoxInput.js +0 -66
- package/dist/inputs/ListBoxInput.module.js +0 -10
- package/dist/inputs/ListBoxInput_module.css +0 -44
- package/dist/inputs/MarkdownInput.d.ts +0 -11
- package/dist/inputs/MarkdownInput.js +0 -35
- package/dist/inputs/MarkdownInput.module.js +0 -5
- package/dist/inputs/MarkdownInput_module.css +0 -27
- package/dist/inputs/NumberInput.d.ts +0 -13
- package/dist/inputs/NumberInput.js +0 -44
- package/dist/inputs/NumberInput.module.js +0 -10
- package/dist/inputs/NumberInput_module.css +0 -59
- package/dist/inputs/RadioInput.d.ts +0 -9
- package/dist/inputs/RadioInput.js +0 -34
- package/dist/inputs/RadioInput.module.js +0 -6
- package/dist/inputs/RadioInput_module.css +0 -31
- package/dist/inputs/SelectInput.d.ts +0 -14
- package/dist/inputs/SelectInput.js +0 -130
- package/dist/inputs/SelectInput.module.js +0 -10
- package/dist/inputs/SelectInput_module.css +0 -63
- package/dist/inputs/SingleSelectComboboxInput.d.ts +0 -19
- package/dist/inputs/SingleSelectComboboxInput.js +0 -179
- package/dist/inputs/SingleSelectComboboxInput.module.js +0 -12
- package/dist/inputs/SingleSelectComboboxInput_module.css +0 -73
- package/dist/inputs/StringInput.d.ts +0 -15
- package/dist/inputs/StringInput.js +0 -51
- package/dist/inputs/StringInput.module.js +0 -10
- package/dist/inputs/StringInput_module.css +0 -59
- package/dist/inputs/TextInput.d.ts +0 -13
- package/dist/inputs/TextInput.js +0 -51
- package/dist/inputs/TextInput.module.js +0 -10
- package/dist/inputs/TextInput_module.css +0 -59
- package/dist/inputs/TimeInput.d.ts +0 -11
- package/dist/inputs/TimeInput.js +0 -26
- package/dist/inputs/TimeInput.module.js +0 -5
- package/dist/inputs/TimeInput_module.css +0 -33
- package/dist/layouts/BaseLayout.d.ts +0 -7
- package/dist/layouts/BaseLayout.js +0 -15
- package/dist/layouts/FullLayout.d.ts +0 -19
- package/dist/layouts/FullLayout.js +0 -152
- package/dist/layouts/FullLayout.module.js +0 -24
- package/dist/layouts/FullLayout_module.css +0 -257
- package/dist/layouts/MinimalLayout.d.ts +0 -12
- package/dist/layouts/MinimalLayout.js +0 -34
- package/dist/layouts/MinimalLayout.module.js +0 -6
- package/dist/layouts/MinimalLayout_module.css +0 -25
- package/dist/presentation/ActionSet.d.ts +0 -13
- package/dist/presentation/ActionSet.js +0 -13
- package/dist/presentation/ActionSet.module.js +0 -5
- package/dist/presentation/ActionSet_module.css +0 -7
- package/dist/presentation/Avatar.d.ts +0 -8
- package/dist/presentation/Avatar.js +0 -27
- package/dist/presentation/Avatar.module.js +0 -5
- package/dist/presentation/Avatar_module.css +0 -10
- package/dist/presentation/Badge.d.ts +0 -8
- package/dist/presentation/Badge.js +0 -20
- package/dist/presentation/Badge.module.js +0 -14
- package/dist/presentation/BadgeSet.d.ts +0 -15
- package/dist/presentation/BadgeSet.js +0 -18
- package/dist/presentation/BadgeSet.module.js +0 -7
- package/dist/presentation/BadgeSet_module.css +0 -15
- package/dist/presentation/Badge_module.css +0 -53
- package/dist/presentation/Banner.d.ts +0 -11
- package/dist/presentation/Banner.js +0 -33
- package/dist/presentation/Banner.module.js +0 -12
- package/dist/presentation/Banner_module.css +0 -54
- package/dist/presentation/ButtonSet.d.ts +0 -11
- package/dist/presentation/ButtonSet.js +0 -21
- package/dist/presentation/ButtonsSet.module.js +0 -6
- package/dist/presentation/ButtonsSet_module.css +0 -10
- package/dist/presentation/Card.d.ts +0 -17
- package/dist/presentation/Card.js +0 -38
- package/dist/presentation/Card.module.js +0 -9
- package/dist/presentation/CardContent.d.ts +0 -7
- package/dist/presentation/CardContent.js +0 -12
- package/dist/presentation/CardContent.module.js +0 -5
- package/dist/presentation/CardContent_module.css +0 -4
- package/dist/presentation/Card_module.css +0 -32
- package/dist/presentation/Columns.d.ts +0 -8
- package/dist/presentation/Columns.js +0 -16
- package/dist/presentation/Columns.module.js +0 -7
- package/dist/presentation/Columns_module.css +0 -19
- package/dist/presentation/ConfirmationModal.d.ts +0 -13
- package/dist/presentation/ConfirmationModal.js +0 -61
- package/dist/presentation/DefinitionList.d.ts +0 -10
- package/dist/presentation/DefinitionList.js +0 -22
- package/dist/presentation/DefinitionList.module.js +0 -6
- package/dist/presentation/DefinitionList_module.css +0 -10
- package/dist/presentation/Divider.d.ts +0 -5
- package/dist/presentation/Divider.js +0 -23
- package/dist/presentation/Divider.module.js +0 -6
- package/dist/presentation/Divider_module.css +0 -12
- package/dist/presentation/File.d.ts +0 -6
- package/dist/presentation/File.js +0 -57
- package/dist/presentation/Footer.d.ts +0 -12
- package/dist/presentation/Footer.js +0 -18
- package/dist/presentation/Footer.module.js +0 -5
- package/dist/presentation/Footer_module.css +0 -16
- package/dist/presentation/HStack.d.ts +0 -10
- package/dist/presentation/HStack.js +0 -16
- package/dist/presentation/HStack.module.js +0 -5
- package/dist/presentation/HStack_module.css +0 -10
- package/dist/presentation/Header.d.ts +0 -10
- package/dist/presentation/Header.js +0 -20
- package/dist/presentation/Header.module.js +0 -6
- package/dist/presentation/Header_module.css +0 -17
- package/dist/presentation/Heading.d.ts +0 -10
- package/dist/presentation/Heading.js +0 -10
- package/dist/presentation/HeadlineStatisticCard.d.ts +0 -9
- package/dist/presentation/HeadlineStatisticCard.js +0 -35
- package/dist/presentation/HoverCard.d.ts +0 -7
- package/dist/presentation/HoverCard.js +0 -90
- package/dist/presentation/HoverCard.module.js +0 -8
- package/dist/presentation/HoverCard_module.css +0 -18
- package/dist/presentation/Icon.d.ts +0 -20
- package/dist/presentation/Icon.js +0 -27
- package/dist/presentation/IconSymbolSet.d.ts +0 -6
- package/dist/presentation/IconSymbolSet.js +0 -16
- package/dist/presentation/Info.d.ts +0 -10
- package/dist/presentation/Info.js +0 -26
- package/dist/presentation/Info.module.js +0 -8
- package/dist/presentation/Info_module.css +0 -38
- package/dist/presentation/Key.d.ts +0 -7
- package/dist/presentation/Key.js +0 -13
- package/dist/presentation/Key.module.js +0 -5
- package/dist/presentation/Key_module.css +0 -15
- package/dist/presentation/KeysSet.d.ts +0 -9
- package/dist/presentation/KeysSet.js +0 -8
- package/dist/presentation/KeysSet.module.js +0 -5
- package/dist/presentation/KeysSet_module.css +0 -6
- package/dist/presentation/Label.d.ts +0 -10
- package/dist/presentation/Label.js +0 -10
- package/dist/presentation/Layer.d.ts +0 -9
- package/dist/presentation/Layer.js +0 -48
- package/dist/presentation/ListCard.d.ts +0 -13
- package/dist/presentation/ListCard.js +0 -50
- package/dist/presentation/ListCard.module.js +0 -10
- package/dist/presentation/ListCard_module.css +0 -78
- package/dist/presentation/Markdown.d.ts +0 -19
- package/dist/presentation/Markdown.js +0 -33
- package/dist/presentation/Modal.d.ts +0 -8
- package/dist/presentation/Modal.js +0 -26
- package/dist/presentation/Modal.module.js +0 -7
- package/dist/presentation/Modal_module.css +0 -17
- package/dist/presentation/ObscuredText.d.ts +0 -5
- package/dist/presentation/ObscuredText.js +0 -25
- package/dist/presentation/ObscuredText.module.js +0 -6
- package/dist/presentation/ObscuredText_module.css +0 -26
- package/dist/presentation/Overlay.d.ts +0 -7
- package/dist/presentation/Overlay.js +0 -29
- package/dist/presentation/Overlay.module.js +0 -6
- package/dist/presentation/Overlay_module.css +0 -20
- package/dist/presentation/PersonAvatar.d.ts +0 -18
- package/dist/presentation/PersonAvatar.js +0 -89
- package/dist/presentation/PersonCover.d.ts +0 -5
- package/dist/presentation/PersonCover.js +0 -21
- package/dist/presentation/PersonCover.module.js +0 -6
- package/dist/presentation/PersonCover_module.css +0 -22
- package/dist/presentation/Placeholder.d.ts +0 -6
- package/dist/presentation/Placeholder.js +0 -8
- package/dist/presentation/Placeholder.module.js +0 -5
- package/dist/presentation/Placeholder_module.css +0 -9
- package/dist/presentation/PlainText.d.ts +0 -11
- package/dist/presentation/PlainText.js +0 -40
- package/dist/presentation/PlainText.module.js +0 -5
- package/dist/presentation/PlainText_module.css +0 -6
- package/dist/presentation/RichText.d.ts +0 -16
- package/dist/presentation/RichText.js +0 -21
- package/dist/presentation/RichText.module.js +0 -7
- package/dist/presentation/RichText_module.css +0 -177
- package/dist/presentation/Sheet.d.ts +0 -23
- package/dist/presentation/Sheet.js +0 -22
- package/dist/presentation/Sheet.module.js +0 -8
- package/dist/presentation/SheetContent.d.ts +0 -6
- package/dist/presentation/SheetContent.js +0 -8
- package/dist/presentation/SheetContent.module.js +0 -5
- package/dist/presentation/SheetContent_module.css +0 -7
- package/dist/presentation/SheetFooter.d.ts +0 -7
- package/dist/presentation/SheetFooter.js +0 -12
- package/dist/presentation/SheetFooter.module.js +0 -5
- package/dist/presentation/SheetFooter_module.css +0 -7
- package/dist/presentation/SheetHeader.d.ts +0 -8
- package/dist/presentation/SheetHeader.js +0 -13
- package/dist/presentation/SheetHeader.module.js +0 -5
- package/dist/presentation/SheetHeader_module.css +0 -7
- package/dist/presentation/Sheet_module.css +0 -24
- package/dist/presentation/SimpleList.d.ts +0 -9
- package/dist/presentation/SimpleList.js +0 -14
- package/dist/presentation/SimpleList.module.js +0 -5
- package/dist/presentation/SimpleList_module.css +0 -9
- package/dist/presentation/SimpleTable.d.ts +0 -27
- package/dist/presentation/SimpleTable.js +0 -67
- package/dist/presentation/SimpleTable.module.js +0 -12
- package/dist/presentation/SimpleTable_module.css +0 -42
- package/dist/presentation/Slot.d.ts +0 -8
- package/dist/presentation/Slot.js +0 -26
- package/dist/presentation/Slot.module.js +0 -5
- package/dist/presentation/Slot_module.css +0 -7
- package/dist/presentation/Subheading.d.ts +0 -10
- package/dist/presentation/Subheading.js +0 -10
- package/dist/presentation/Table.d.ts +0 -71
- package/dist/presentation/Table.js +0 -458
- package/dist/presentation/Table.module.js +0 -22
- package/dist/presentation/Table_module.css +0 -142
- package/dist/presentation/Tag.d.ts +0 -9
- package/dist/presentation/Tag.js +0 -20
- package/dist/presentation/Tag.module.js +0 -14
- package/dist/presentation/TagSet.d.ts +0 -15
- package/dist/presentation/TagSet.js +0 -18
- package/dist/presentation/TagSet.module.js +0 -7
- package/dist/presentation/TagSet_module.css +0 -15
- package/dist/presentation/Tag_module.css +0 -53
- package/dist/presentation/Timeline.d.ts +0 -10
- package/dist/presentation/Timeline.js +0 -24
- package/dist/presentation/Timeline.module.js +0 -7
- package/dist/presentation/Timeline_module.css +0 -32
- package/dist/presentation/Title.d.ts +0 -10
- package/dist/presentation/Title.js +0 -10
- package/dist/presentation/Tooltip.d.ts +0 -7
- package/dist/presentation/Tooltip.js +0 -62
- package/dist/presentation/Tooltip.module.js +0 -6
- package/dist/presentation/Tooltip_module.css +0 -12
- package/dist/presentation/VStack.d.ts +0 -13
- package/dist/presentation/VStack.js +0 -15
- package/dist/presentation/VStack.module.js +0 -5
- package/dist/presentation/VStack_module.css +0 -8
- package/dist/shared.css +0 -407
- package/dist/utils/NextContext.d.ts +0 -10
- package/dist/utils/NextContext.js +0 -4
- package/dist/utils/TrackingContext.d.ts +0 -20
- package/dist/utils/TrackingContext.js +0 -4
- package/dist/utils/customProperties.d.ts +0 -5
- package/dist/utils/customProperties.js +0 -3
- package/dist/utils/encodeCsv.d.ts +0 -5
- package/dist/utils/encodeCsv.js +0 -30
- package/dist/utils/search.d.ts +0 -4
- package/dist/utils/search.js +0 -10
- package/dist/utils/useNextContext.d.ts +0 -35
- package/dist/utils/useNextContext.js +0 -9
- package/dist/validators/isGreaterThan.d.ts +0 -8
- package/dist/validators/isGreaterThan.js +0 -11
- package/dist/validators/isInteger.d.ts +0 -8
- package/dist/validators/isInteger.js +0 -11
- package/dist/validators/isLessThan.d.ts +0 -8
- package/dist/validators/isLessThan.js +0 -11
- package/dist/validators/isNotBlank.d.ts +0 -8
- package/dist/validators/isNotBlank.js +0 -11
- package/dist/validators/isNotEmpty.d.ts +0 -8
- package/dist/validators/isNotEmpty.js +0 -11
- package/dist/validators/isNumber.d.ts +0 -8
- package/dist/validators/isNumber.js +0 -12
- package/dist/validators/isRequired.d.ts +0 -8
- package/dist/validators/isRequired.js +0 -11
- package/dist/validators/isTrue.d.ts +0 -8
- package/dist/validators/isTrue.js +0 -11
- package/dist/validators/isValidEmail.d.ts +0 -8
- package/dist/validators/isValidEmail.js +0 -12
- package/dist/visuals/ProportionVisual.d.ts +0 -11
- package/dist/visuals/ProportionVisual.js +0 -41
- package/dist/visuals/ProportionVisual.module.js +0 -16
- package/dist/visuals/ProportionVisualCompact.d.ts +0 -9
- package/dist/visuals/ProportionVisualCompact.js +0 -27
- package/dist/visuals/ProportionVisualCompact.module.js +0 -15
- package/dist/visuals/ProportionVisualCompact_module.css +0 -48
- package/dist/visuals/ProportionVisual_module.css +0 -65
package/package.json
CHANGED
|
@@ -1,9 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@worknice/whiteboard",
|
|
3
3
|
"description": "",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.1.0-rc.2",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"private": false,
|
|
7
|
+
"scripts": {
|
|
8
|
+
"build": "rslib build",
|
|
9
|
+
"dev": "rslib build --watch",
|
|
10
|
+
"fix": "if [[ -z $TURBO_HASH ]]; then pnpm turbo fix; else exit 0; fi",
|
|
11
|
+
"fix:prettier": "prettier -c '**/*.{js,ts,tsx,css}' --write",
|
|
12
|
+
"test": "exit 0",
|
|
13
|
+
"test:lint": "eslint src --color",
|
|
14
|
+
"test:prettier": "prettier -c '**/*.{js,ts,tsx,css}'",
|
|
15
|
+
"test:types": "tsc --noEmit --pretty"
|
|
16
|
+
},
|
|
7
17
|
"files": [
|
|
8
18
|
"dist",
|
|
9
19
|
"LICENSE"
|
|
@@ -33,11 +43,11 @@
|
|
|
33
43
|
"@react-hook/throttle": "^2.2.0",
|
|
34
44
|
"@tanstack/react-table": "^8.15.3",
|
|
35
45
|
"@tanstack/react-virtual": "^3.5.0",
|
|
46
|
+
"@worknice/utils": "workspace:^",
|
|
36
47
|
"email-validator": "^2.0.4",
|
|
37
48
|
"js-search": "^2.0.0",
|
|
38
49
|
"utf8": "^3.0.0",
|
|
39
|
-
"zod": "^3.22.3"
|
|
40
|
-
"@worknice/utils": "^0.0.5"
|
|
50
|
+
"zod": "^3.22.3"
|
|
41
51
|
},
|
|
42
52
|
"devDependencies": {
|
|
43
53
|
"@react-email/components": "^0.0.7",
|
|
@@ -52,6 +62,7 @@
|
|
|
52
62
|
"@types/uuid": "^8.3.1",
|
|
53
63
|
"@typescript-eslint/eslint-plugin": "^8.7.0",
|
|
54
64
|
"@typescript-eslint/parser": "^8.7.0",
|
|
65
|
+
"@worknice/commit-analyzer": "github:WorkniceHR/commit-analyzer#master",
|
|
55
66
|
"clsx": "^2.0.0",
|
|
56
67
|
"eslint": "^8.57.1",
|
|
57
68
|
"eslint-plugin-react": "^7.34.2",
|
|
@@ -61,6 +72,7 @@
|
|
|
61
72
|
"nodemon": "^3.1.4",
|
|
62
73
|
"react": "^18.3.1",
|
|
63
74
|
"react-dom": "^18.3.1",
|
|
75
|
+
"semantic-release": "^24.2.2",
|
|
64
76
|
"temporal-polyfill": "^0.2.5",
|
|
65
77
|
"typescript": "~5.5.0",
|
|
66
78
|
"uuid": "^11.0.5"
|
|
@@ -74,16 +86,5 @@
|
|
|
74
86
|
"react-dom": "^18.2.0",
|
|
75
87
|
"temporal-polyfill": "^0.2.1",
|
|
76
88
|
"uuid": "^8.3.2"
|
|
77
|
-
},
|
|
78
|
-
"scripts": {
|
|
79
|
-
"build": "rslib build",
|
|
80
|
-
"dev": "rslib build --watch",
|
|
81
|
-
"fix": "if [[ -z $TURBO_HASH ]]; then pnpm turbo fix; else exit 0; fi",
|
|
82
|
-
"fix:prettier": "prettier -c '**/*.{js,ts,tsx,css}' --write",
|
|
83
|
-
"release": "pnpm build && pnpm dlx @jsdevtools/version-bump-prompt --commit \"chore(whiteboard): release v%s\" --tag \"whiteboard-v%s\" && pnpm publish --access public",
|
|
84
|
-
"test": "exit 0",
|
|
85
|
-
"test:lint": "eslint src --color",
|
|
86
|
-
"test:prettier": "prettier -c '**/*.{js,ts,tsx,css}'",
|
|
87
|
-
"test:types": "tsc --noEmit --pretty"
|
|
88
89
|
}
|
|
89
|
-
}
|
|
90
|
+
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { type ComponentProps } from "react";
|
|
2
|
-
import Button from "./Button";
|
|
3
|
-
type Props = ComponentProps<typeof Button> & {
|
|
4
|
-
onClick: (event: React.MouseEvent) => void | Promise<void>;
|
|
5
|
-
};
|
|
6
|
-
declare const Action: ({ children, disabled, icon, id, onClick, size, title, type, tooltip, }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
-
export default Action;
|
package/dist/controls/Action.js
DELETED
|
@@ -1,81 +0,0 @@
|
|
|
1
|
-
import * as __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__ from "react/jsx-runtime";
|
|
2
|
-
import * as __WEBPACK_EXTERNAL_MODULE_react__ from "react";
|
|
3
|
-
import * as __WEBPACK_EXTERNAL_MODULE_uuid__ from "uuid";
|
|
4
|
-
import * as __WEBPACK_EXTERNAL_MODULE__forms_FormError_js_7d98929f__ from "../forms/FormError.js";
|
|
5
|
-
import * as __WEBPACK_EXTERNAL_MODULE__forms_FormErrorList_js_bc080ab1__ from "../forms/FormErrorList.js";
|
|
6
|
-
import * as __WEBPACK_EXTERNAL_MODULE__presentation_Icon_js_6961aa57__ from "../presentation/Icon.js";
|
|
7
|
-
import * as __WEBPACK_EXTERNAL_MODULE__presentation_Modal_js_31b952b2__ from "../presentation/Modal.js";
|
|
8
|
-
import * as __WEBPACK_EXTERNAL_MODULE__presentation_Sheet_js_32f2a47c__ from "../presentation/Sheet.js";
|
|
9
|
-
import * as __WEBPACK_EXTERNAL_MODULE__presentation_SheetContent_js_16745ffb__ from "../presentation/SheetContent.js";
|
|
10
|
-
import * as __WEBPACK_EXTERNAL_MODULE__presentation_SheetHeader_js_ec2f0194__ from "../presentation/SheetHeader.js";
|
|
11
|
-
import * as __WEBPACK_EXTERNAL_MODULE__presentation_Subheading_js_cf571808__ from "../presentation/Subheading.js";
|
|
12
|
-
import * as __WEBPACK_EXTERNAL_MODULE__Button_js_17bdd71d__ from "./Button.js";
|
|
13
|
-
const Action = ({ children, disabled, icon, id, onClick, size, title, type = "secondary", tooltip })=>{
|
|
14
|
-
const [loading, setLoading] = (0, __WEBPACK_EXTERNAL_MODULE_react__.useState)(false);
|
|
15
|
-
const [errors, setErrors] = (0, __WEBPACK_EXTERNAL_MODULE_react__.useState)([]);
|
|
16
|
-
return /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsxs)(__WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.Fragment, {
|
|
17
|
-
children: [
|
|
18
|
-
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(__WEBPACK_EXTERNAL_MODULE__Button_js_17bdd71d__["default"], {
|
|
19
|
-
title: title,
|
|
20
|
-
size: size,
|
|
21
|
-
disabled: disabled,
|
|
22
|
-
icon: loading ? /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(__WEBPACK_EXTERNAL_MODULE__presentation_Icon_js_6961aa57__["default"], {
|
|
23
|
-
animate: true,
|
|
24
|
-
symbol: "Loading"
|
|
25
|
-
}) : icon ?? null,
|
|
26
|
-
id: id,
|
|
27
|
-
onClick: async (event)=>{
|
|
28
|
-
try {
|
|
29
|
-
setLoading(true);
|
|
30
|
-
await onClick(event);
|
|
31
|
-
} catch (error) {
|
|
32
|
-
if (error instanceof __WEBPACK_EXTERNAL_MODULE__forms_FormError_js_7d98929f__["default"]) setErrors(error.validationErrors);
|
|
33
|
-
else error instanceof Error ? setErrors([
|
|
34
|
-
{
|
|
35
|
-
id: (0, __WEBPACK_EXTERNAL_MODULE_uuid__.v4)(),
|
|
36
|
-
message: error.message
|
|
37
|
-
}
|
|
38
|
-
]) : setErrors([
|
|
39
|
-
{
|
|
40
|
-
id: (0, __WEBPACK_EXTERNAL_MODULE_uuid__.v4)(),
|
|
41
|
-
message: "Unknown error."
|
|
42
|
-
}
|
|
43
|
-
]);
|
|
44
|
-
}
|
|
45
|
-
setLoading(false);
|
|
46
|
-
},
|
|
47
|
-
type: type,
|
|
48
|
-
tooltip: tooltip,
|
|
49
|
-
children: children
|
|
50
|
-
}),
|
|
51
|
-
errors.length > 0 ? /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(__WEBPACK_EXTERNAL_MODULE__presentation_Modal_js_31b952b2__["default"], {
|
|
52
|
-
onClose: ()=>{
|
|
53
|
-
setErrors([]);
|
|
54
|
-
},
|
|
55
|
-
children: /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(__WEBPACK_EXTERNAL_MODULE__presentation_Sheet_js_32f2a47c__["default"], {
|
|
56
|
-
header: /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(__WEBPACK_EXTERNAL_MODULE__presentation_SheetHeader_js_ec2f0194__["default"], {
|
|
57
|
-
actions: /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(Action, {
|
|
58
|
-
icon: /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(__WEBPACK_EXTERNAL_MODULE__presentation_Icon_js_6961aa57__["default"], {
|
|
59
|
-
symbol: "Plus"
|
|
60
|
-
}),
|
|
61
|
-
onClick: ()=>{
|
|
62
|
-
setErrors([]);
|
|
63
|
-
},
|
|
64
|
-
children: "Close"
|
|
65
|
-
}),
|
|
66
|
-
children: /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(__WEBPACK_EXTERNAL_MODULE__presentation_Subheading_js_cf571808__["default"], {
|
|
67
|
-
children: "Error"
|
|
68
|
-
})
|
|
69
|
-
}),
|
|
70
|
-
children: /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(__WEBPACK_EXTERNAL_MODULE__presentation_SheetContent_js_16745ffb__["default"], {
|
|
71
|
-
children: /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(__WEBPACK_EXTERNAL_MODULE__forms_FormErrorList_js_bc080ab1__["default"], {
|
|
72
|
-
errors: errors
|
|
73
|
-
})
|
|
74
|
-
})
|
|
75
|
-
})
|
|
76
|
-
}) : null
|
|
77
|
-
]
|
|
78
|
-
});
|
|
79
|
-
};
|
|
80
|
-
const Action_rslib_entry_ = Action;
|
|
81
|
-
export { Action_rslib_entry_ as default };
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { type ReactNode } from "react";
|
|
2
|
-
type Props = {
|
|
3
|
-
disabled?: boolean;
|
|
4
|
-
id?: string;
|
|
5
|
-
onClick?: (event: React.MouseEvent) => void;
|
|
6
|
-
size?: "normal" | "small";
|
|
7
|
-
title?: string;
|
|
8
|
-
/**
|
|
9
|
-
* A "submit" type will behave as a submit button in a form, while "primary"
|
|
10
|
-
* and "secondary" types will behave as regular buttons.
|
|
11
|
-
*/
|
|
12
|
-
type?: "submit" | "primary" | "secondary" | "danger";
|
|
13
|
-
tooltip?: ReactNode | null;
|
|
14
|
-
} & ({
|
|
15
|
-
children: ReactNode;
|
|
16
|
-
icon?: ReactNode;
|
|
17
|
-
} | {
|
|
18
|
-
children?: ReactNode;
|
|
19
|
-
icon: ReactNode;
|
|
20
|
-
});
|
|
21
|
-
declare const Button: ({ children, disabled, icon, id, onClick, size, type, title, tooltip, }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
22
|
-
export default Button;
|
package/dist/controls/Button.js
DELETED
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
import * as __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__ from "react/jsx-runtime";
|
|
2
|
-
import * as __WEBPACK_EXTERNAL_MODULE_clsx__ from "clsx";
|
|
3
|
-
import * as __WEBPACK_EXTERNAL_MODULE_react__ from "react";
|
|
4
|
-
import * as __WEBPACK_EXTERNAL_MODULE__presentation_Tooltip_js_95312a0d__ from "../presentation/Tooltip.js";
|
|
5
|
-
import * as __WEBPACK_EXTERNAL_MODULE__utils_TrackingContext_js_139012da__ from "../utils/TrackingContext.js";
|
|
6
|
-
import * as __WEBPACK_EXTERNAL_MODULE__Button_module_js_2e345e34__ from "./Button.module.js";
|
|
7
|
-
const ButtonElement = ({ children, disabled, icon, id, onClick, size, type, title, trackingContext })=>/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsxs)("button", {
|
|
8
|
-
className: (0, __WEBPACK_EXTERNAL_MODULE_clsx__["default"])(__WEBPACK_EXTERNAL_MODULE__Button_module_js_2e345e34__["default"].button, {
|
|
9
|
-
[__WEBPACK_EXTERNAL_MODULE__Button_module_js_2e345e34__["default"].primary]: "submit" === type || "primary" === type,
|
|
10
|
-
[__WEBPACK_EXTERNAL_MODULE__Button_module_js_2e345e34__["default"].danger]: "danger" === type,
|
|
11
|
-
[__WEBPACK_EXTERNAL_MODULE__Button_module_js_2e345e34__["default"].small]: "small" === size,
|
|
12
|
-
[__WEBPACK_EXTERNAL_MODULE__Button_module_js_2e345e34__["default"].iconOnly]: void 0 === children
|
|
13
|
-
}),
|
|
14
|
-
title: title,
|
|
15
|
-
disabled: disabled,
|
|
16
|
-
id: id,
|
|
17
|
-
onClick: (event)=>{
|
|
18
|
-
if (trackingContext && id) trackingContext.trackClick(id);
|
|
19
|
-
if (onClick) onClick(event);
|
|
20
|
-
},
|
|
21
|
-
type: "submit" === type ? "submit" : "button",
|
|
22
|
-
children: [
|
|
23
|
-
icon ? /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)("span", {
|
|
24
|
-
children: icon
|
|
25
|
-
}) : null,
|
|
26
|
-
children ? /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)("span", {
|
|
27
|
-
children: children
|
|
28
|
-
}) : null
|
|
29
|
-
]
|
|
30
|
-
});
|
|
31
|
-
const Button = ({ children, disabled, icon, id, onClick, size, type = "primary", title, tooltip })=>{
|
|
32
|
-
const trackingContext = (0, __WEBPACK_EXTERNAL_MODULE_react__.useContext)(__WEBPACK_EXTERNAL_MODULE__utils_TrackingContext_js_139012da__["default"]);
|
|
33
|
-
return tooltip ? /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(__WEBPACK_EXTERNAL_MODULE__presentation_Tooltip_js_95312a0d__["default"], {
|
|
34
|
-
content: tooltip,
|
|
35
|
-
children: /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(ButtonElement, {
|
|
36
|
-
disabled: disabled,
|
|
37
|
-
icon: icon,
|
|
38
|
-
id: id,
|
|
39
|
-
onClick: onClick,
|
|
40
|
-
size: size,
|
|
41
|
-
type: type,
|
|
42
|
-
title: title,
|
|
43
|
-
tooltip: tooltip,
|
|
44
|
-
trackingContext: trackingContext,
|
|
45
|
-
children: children
|
|
46
|
-
})
|
|
47
|
-
}) : /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(ButtonElement, {
|
|
48
|
-
disabled: disabled,
|
|
49
|
-
icon: icon,
|
|
50
|
-
id: id,
|
|
51
|
-
onClick: onClick,
|
|
52
|
-
size: size,
|
|
53
|
-
type: type,
|
|
54
|
-
title: title,
|
|
55
|
-
tooltip: tooltip,
|
|
56
|
-
trackingContext: trackingContext,
|
|
57
|
-
children: children
|
|
58
|
-
});
|
|
59
|
-
};
|
|
60
|
-
const Button_rslib_entry_ = Button;
|
|
61
|
-
export { Button_rslib_entry_ as default };
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import * as __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__ from "react/jsx-runtime";
|
|
2
|
-
import * as __WEBPACK_EXTERNAL_MODULE_react__ from "react";
|
|
3
|
-
import * as __WEBPACK_EXTERNAL_MODULE__presentation_Icon_js_6961aa57__ from "../presentation/Icon.js";
|
|
4
|
-
import * as __WEBPACK_EXTERNAL_MODULE__ButtonCard_module_js_146b0f3b__ from "./ButtonCard.module.js";
|
|
5
|
-
const ButtonCard = ({ children, onClick })=>{
|
|
6
|
-
const [status, setStatus] = (0, __WEBPACK_EXTERNAL_MODULE_react__.useState)("ready");
|
|
7
|
-
return /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsxs)("button", {
|
|
8
|
-
className: __WEBPACK_EXTERNAL_MODULE__ButtonCard_module_js_146b0f3b__["default"].container,
|
|
9
|
-
onClick: "ready" === status ? async (event)=>{
|
|
10
|
-
setStatus("pending");
|
|
11
|
-
await onClick(event);
|
|
12
|
-
setStatus("success");
|
|
13
|
-
} : void 0,
|
|
14
|
-
children: [
|
|
15
|
-
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)("div", {
|
|
16
|
-
children: children
|
|
17
|
-
}),
|
|
18
|
-
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)("div", {
|
|
19
|
-
className: __WEBPACK_EXTERNAL_MODULE__ButtonCard_module_js_146b0f3b__["default"].chevron,
|
|
20
|
-
children: /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(__WEBPACK_EXTERNAL_MODULE__presentation_Icon_js_6961aa57__["default"], {
|
|
21
|
-
symbol: "ChevronRight",
|
|
22
|
-
tone: "default"
|
|
23
|
-
})
|
|
24
|
-
}),
|
|
25
|
-
"pending" === status ? /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)("div", {
|
|
26
|
-
className: __WEBPACK_EXTERNAL_MODULE__ButtonCard_module_js_146b0f3b__["default"].overlay,
|
|
27
|
-
children: /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(__WEBPACK_EXTERNAL_MODULE__presentation_Icon_js_6961aa57__["default"], {
|
|
28
|
-
symbol: "Loading",
|
|
29
|
-
animate: true,
|
|
30
|
-
tone: "primary"
|
|
31
|
-
})
|
|
32
|
-
}) : "success" === status ? /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)("div", {
|
|
33
|
-
className: __WEBPACK_EXTERNAL_MODULE__ButtonCard_module_js_146b0f3b__["default"].overlay,
|
|
34
|
-
children: /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(__WEBPACK_EXTERNAL_MODULE__presentation_Icon_js_6961aa57__["default"], {
|
|
35
|
-
symbol: "CheckMark",
|
|
36
|
-
tone: "success"
|
|
37
|
-
})
|
|
38
|
-
}) : null
|
|
39
|
-
]
|
|
40
|
-
});
|
|
41
|
-
};
|
|
42
|
-
const ButtonCard_rslib_entry_ = ButtonCard;
|
|
43
|
-
export { ButtonCard_rslib_entry_ as default };
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
.container-IqjuZh {
|
|
2
|
-
background: var(--color-white);
|
|
3
|
-
border-radius: var(--size-n2);
|
|
4
|
-
border: solid var(--size-n5) var(--color-grey-t08);
|
|
5
|
-
color: var(--color-grey-s01);
|
|
6
|
-
grid-template-columns: 1fr auto;
|
|
7
|
-
align-items: center;
|
|
8
|
-
display: grid;
|
|
9
|
-
position: relative;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
.chevron-c4DHVW {
|
|
13
|
-
padding: var(--spacing);
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
.overlay-hZmMaX {
|
|
17
|
-
background: var(--color-white);
|
|
18
|
-
border-radius: var(--size-n2);
|
|
19
|
-
border: solid var(--size-n5) var(--color-grey-t08);
|
|
20
|
-
place-content: center;
|
|
21
|
-
display: grid;
|
|
22
|
-
position: absolute;
|
|
23
|
-
inset: -1px;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
@media (hover: hover) {
|
|
27
|
-
.container-IqjuZh:hover {
|
|
28
|
-
background-color: var(--color-grey-t10);
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { type ReactNode } from "react";
|
|
2
|
-
type Props = {
|
|
3
|
-
children: ReactNode;
|
|
4
|
-
disabled?: boolean;
|
|
5
|
-
download?: string | boolean;
|
|
6
|
-
external?: boolean;
|
|
7
|
-
href: string;
|
|
8
|
-
icon?: ReactNode;
|
|
9
|
-
iconRight?: ReactNode;
|
|
10
|
-
id?: string;
|
|
11
|
-
type?: "submit" | "primary" | "secondary";
|
|
12
|
-
size?: "normal" | "small";
|
|
13
|
-
};
|
|
14
|
-
declare const ButtonLink: ({ children, disabled, download, external, href, icon, iconRight, id, type, size, }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
15
|
-
export default ButtonLink;
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import * as __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__ from "react/jsx-runtime";
|
|
3
|
-
import * as __WEBPACK_EXTERNAL_MODULE__utils_useNextContext_js_47529181__ from "../utils/useNextContext.js";
|
|
4
|
-
import * as __WEBPACK_EXTERNAL_MODULE_clsx__ from "clsx";
|
|
5
|
-
import * as __WEBPACK_EXTERNAL_MODULE_react__ from "react";
|
|
6
|
-
import * as __WEBPACK_EXTERNAL_MODULE__utils_TrackingContext_js_139012da__ from "../utils/TrackingContext.js";
|
|
7
|
-
import * as __WEBPACK_EXTERNAL_MODULE__ButtonLink_module_js_d4c014da__ from "./ButtonLink.module.js";
|
|
8
|
-
const ButtonLink = ({ children, disabled, download, external, href, icon, iconRight, id, type, size })=>{
|
|
9
|
-
const { Link: NextLink } = (0, __WEBPACK_EXTERNAL_MODULE__utils_useNextContext_js_47529181__["default"])();
|
|
10
|
-
const trackingContext = (0, __WEBPACK_EXTERNAL_MODULE_react__.useContext)(__WEBPACK_EXTERNAL_MODULE__utils_TrackingContext_js_139012da__["default"]);
|
|
11
|
-
return disabled ? /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsxs)("span", {
|
|
12
|
-
className: (0, __WEBPACK_EXTERNAL_MODULE_clsx__["default"])(__WEBPACK_EXTERNAL_MODULE__ButtonLink_module_js_d4c014da__["default"].button, __WEBPACK_EXTERNAL_MODULE__ButtonLink_module_js_d4c014da__["default"].disabled, __WEBPACK_EXTERNAL_MODULE__ButtonLink_module_js_d4c014da__["default"].small),
|
|
13
|
-
children: [
|
|
14
|
-
icon ? /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)("span", {
|
|
15
|
-
children: icon
|
|
16
|
-
}) : null,
|
|
17
|
-
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)("span", {
|
|
18
|
-
children: children
|
|
19
|
-
})
|
|
20
|
-
]
|
|
21
|
-
}) : /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsxs)(NextLink, {
|
|
22
|
-
className: (0, __WEBPACK_EXTERNAL_MODULE_clsx__["default"])(__WEBPACK_EXTERNAL_MODULE__ButtonLink_module_js_d4c014da__["default"].button, {
|
|
23
|
-
[__WEBPACK_EXTERNAL_MODULE__ButtonLink_module_js_d4c014da__["default"].primary]: "submit" === type || "primary" === type,
|
|
24
|
-
[__WEBPACK_EXTERNAL_MODULE__ButtonLink_module_js_d4c014da__["default"].small]: "small" === size,
|
|
25
|
-
[__WEBPACK_EXTERNAL_MODULE__ButtonLink_module_js_d4c014da__["default"].iconOnly]: void 0 === children
|
|
26
|
-
}),
|
|
27
|
-
download: download,
|
|
28
|
-
href: href,
|
|
29
|
-
id: id,
|
|
30
|
-
onClick: ()=>{
|
|
31
|
-
if (trackingContext && id) trackingContext.trackClick(id);
|
|
32
|
-
},
|
|
33
|
-
target: external ? "_blank" : "_self",
|
|
34
|
-
children: [
|
|
35
|
-
icon ? /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)("span", {
|
|
36
|
-
children: icon
|
|
37
|
-
}) : null,
|
|
38
|
-
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)("span", {
|
|
39
|
-
children: children
|
|
40
|
-
}),
|
|
41
|
-
iconRight ? /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)("span", {
|
|
42
|
-
children: iconRight
|
|
43
|
-
}) : null
|
|
44
|
-
]
|
|
45
|
-
});
|
|
46
|
-
};
|
|
47
|
-
const ButtonLink_rslib_entry_ = ButtonLink;
|
|
48
|
-
export { ButtonLink_rslib_entry_ as default };
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import "./ButtonLink_module.css";
|
|
2
|
-
const ButtonLink_module_rslib_entry_ = {
|
|
3
|
-
button: "button-I7MrKT",
|
|
4
|
-
primary: "primary-iyuX66",
|
|
5
|
-
iconOnly: "iconOnly-Sr6C_m",
|
|
6
|
-
small: "small-ciuqWX",
|
|
7
|
-
disabled: "disabled-H_HPC1"
|
|
8
|
-
};
|
|
9
|
-
export { ButtonLink_module_rslib_entry_ as default };
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
.button-I7MrKT {
|
|
2
|
-
border-radius: var(--size-n3);
|
|
3
|
-
border: var(--size-n5) solid var(--color-grey-t08);
|
|
4
|
-
color: var(--color-grey-s01);
|
|
5
|
-
font: var(--font-regular);
|
|
6
|
-
align-items: center;
|
|
7
|
-
gap: var(--size-n2);
|
|
8
|
-
padding: var(--size-n2) var(--size-00);
|
|
9
|
-
text-align: center;
|
|
10
|
-
background: var(--color-white);
|
|
11
|
-
grid-auto-flow: column;
|
|
12
|
-
justify-content: center;
|
|
13
|
-
display: inline-grid;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
@media (hover: hover) {
|
|
17
|
-
.button-I7MrKT:hover {
|
|
18
|
-
background-color: var(--color-grey-t09);
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
.button-I7MrKT:active {
|
|
23
|
-
background-color: var(--color-grey-t08);
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
.primary-iyuX66 {
|
|
27
|
-
background: var(--color-purple-000);
|
|
28
|
-
border-color: var(--color-purple-000);
|
|
29
|
-
color: var(--color-white);
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
@media (hover: hover) {
|
|
33
|
-
.primary-iyuX66:hover {
|
|
34
|
-
border-color: var(--color-purple-s01);
|
|
35
|
-
background-color: var(--color-purple-s01);
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
.primary-iyuX66:active {
|
|
40
|
-
border-color: var(--color-purple-s02);
|
|
41
|
-
background-color: var(--color-purple-s02);
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
.iconOnly-Sr6C_m {
|
|
45
|
-
padding: var(--size-n2);
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
.iconOnly-Sr6C_m.small-ciuqWX {
|
|
49
|
-
padding: var(--size-n3);
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
.disabled-H_HPC1, .disabled-H_HPC1:hover, .disabled-H_HPC1:active {
|
|
53
|
-
background: var(--color-grey-t09);
|
|
54
|
-
border-color: var(--color-grey-t09);
|
|
55
|
-
color: var(--color-grey-t03);
|
|
56
|
-
cursor: not-allowed;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
.small-ciuqWX {
|
|
60
|
-
font: var(--font-small);
|
|
61
|
-
gap: var(--size-n2);
|
|
62
|
-
padding: var(--size-n3) var(--size-n2);
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
.button-I7MrKT:focus-visible {
|
|
66
|
-
box-shadow: 0px 0px 0px 2px var(--color-white), 0px 0px 0px 4px var(--color-purple-000);
|
|
67
|
-
}
|
|
68
|
-
|
|
@@ -1,86 +0,0 @@
|
|
|
1
|
-
.button-Eb4ddm {
|
|
2
|
-
border-radius: var(--size-n3);
|
|
3
|
-
border: var(--size-n5) solid var(--color-grey-t08);
|
|
4
|
-
color: var(--color-grey-s01);
|
|
5
|
-
font: var(--font-regular);
|
|
6
|
-
align-items: center;
|
|
7
|
-
gap: var(--size-n2);
|
|
8
|
-
padding: var(--size-n2) var(--size-00);
|
|
9
|
-
text-align: center;
|
|
10
|
-
background: var(--color-white);
|
|
11
|
-
grid-auto-flow: column;
|
|
12
|
-
justify-content: center;
|
|
13
|
-
display: inline-grid;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
@media (hover: hover) {
|
|
17
|
-
.button-Eb4ddm:hover {
|
|
18
|
-
background-color: var(--color-grey-t09);
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
.button-Eb4ddm:active {
|
|
23
|
-
background-color: var(--color-grey-t08);
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
.primary-tMqthm {
|
|
27
|
-
background: var(--color-purple-000);
|
|
28
|
-
border-color: var(--color-purple-000);
|
|
29
|
-
color: var(--color-white);
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
@media (hover: hover) {
|
|
33
|
-
.primary-tMqthm:hover {
|
|
34
|
-
border-color: var(--color-purple-s01);
|
|
35
|
-
background-color: var(--color-purple-s01);
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
.primary-tMqthm:active {
|
|
40
|
-
border-color: var(--color-purple-s02);
|
|
41
|
-
background-color: var(--color-purple-s02);
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
.danger-gtXRIQ {
|
|
45
|
-
color: var(--color-red-000);
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
@media (hover: hover) {
|
|
49
|
-
.danger-gtXRIQ:hover {
|
|
50
|
-
color: var(--color-white);
|
|
51
|
-
border-color: var(--color-red-000);
|
|
52
|
-
background-color: var(--color-red-000);
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
.danger-gtXRIQ:active {
|
|
57
|
-
color: var(--color-white);
|
|
58
|
-
border-color: var(--color-red-s01);
|
|
59
|
-
background-color: var(--color-red-s01);
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
.iconOnly-RkeETP {
|
|
63
|
-
padding: var(--size-n2);
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
.iconOnly-RkeETP.small-qYdSeo {
|
|
67
|
-
padding: var(--size-n3);
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
.button-Eb4ddm:disabled {
|
|
71
|
-
background: var(--color-grey-t09);
|
|
72
|
-
border-color: var(--color-grey-t09);
|
|
73
|
-
color: var(--color-grey-t03);
|
|
74
|
-
cursor: not-allowed;
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
.small-qYdSeo {
|
|
78
|
-
font: var(--font-small);
|
|
79
|
-
gap: var(--size-n2);
|
|
80
|
-
padding: var(--size-n3) var(--size-n2);
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
.button-Eb4ddm:focus-visible {
|
|
84
|
-
box-shadow: 0px 0px 0px 2px var(--color-white), 0px 0px 0px 4px var(--color-purple-000);
|
|
85
|
-
}
|
|
86
|
-
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import Button from "./Button";
|
|
2
|
-
import { type ComponentProps, type ReactNode } from "react";
|
|
3
|
-
type Props = ComponentProps<typeof Button> & {
|
|
4
|
-
render: (onClose: () => void) => ReactNode;
|
|
5
|
-
};
|
|
6
|
-
declare const Disclosure: ({ render, children, disabled, icon, id, size, title, type, }: Omit<Props, "onClick">) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
-
export default Disclosure;
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import * as __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__ from "react/jsx-runtime";
|
|
2
|
-
import * as __WEBPACK_EXTERNAL_MODULE__Button_js_17bdd71d__ from "./Button.js";
|
|
3
|
-
import * as __WEBPACK_EXTERNAL_MODULE_react__ from "react";
|
|
4
|
-
const Disclosure = ({ render, children, disabled, icon, id, size, title, type = "secondary" })=>{
|
|
5
|
-
const [open, setOpen] = (0, __WEBPACK_EXTERNAL_MODULE_react__.useState)(false);
|
|
6
|
-
return /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsxs)(__WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.Fragment, {
|
|
7
|
-
children: [
|
|
8
|
-
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(__WEBPACK_EXTERNAL_MODULE__Button_js_17bdd71d__["default"], {
|
|
9
|
-
size: size,
|
|
10
|
-
type: type,
|
|
11
|
-
title: title,
|
|
12
|
-
disabled: disabled,
|
|
13
|
-
icon: icon,
|
|
14
|
-
id: id,
|
|
15
|
-
onClick: ()=>{
|
|
16
|
-
setOpen((current)=>!current);
|
|
17
|
-
},
|
|
18
|
-
children: children
|
|
19
|
-
}),
|
|
20
|
-
open ? render(()=>{
|
|
21
|
-
setOpen(false);
|
|
22
|
-
}) : null
|
|
23
|
-
]
|
|
24
|
-
});
|
|
25
|
-
};
|
|
26
|
-
const Disclosure_rslib_entry_ = Disclosure;
|
|
27
|
-
export { Disclosure_rslib_entry_ as default };
|
package/dist/controls/Link.d.ts
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { type ReactNode } from "react";
|
|
2
|
-
type Props = {
|
|
3
|
-
children: ReactNode;
|
|
4
|
-
download?: string | boolean;
|
|
5
|
-
external?: boolean;
|
|
6
|
-
font?: "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "monospace" | "regular-bold-italic" | "regular-bold" | "regular-italic" | "regular" | "small-bold-italic" | "small-bold" | "small-italic" | "small" | "tiny-bold-italic" | "tiny-bold" | "tiny-italic" | "tiny";
|
|
7
|
-
href: string;
|
|
8
|
-
id?: string;
|
|
9
|
-
tone?: "default" | "primary" | "muted" | "danger" | "warning" | "success" | "info";
|
|
10
|
-
icon?: ReactNode;
|
|
11
|
-
iconRight?: ReactNode;
|
|
12
|
-
};
|
|
13
|
-
declare const Link: ({ children, download, external, font, href, tone, id, icon, iconRight, }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
14
|
-
export default Link;
|