@bspk/ui 1.0.1 → 1.1.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -0
- package/{Avatar.d.ts → dist/Avatar.d.ts} +2 -2
- package/dist/Avatar.js +27 -0
- package/dist/Avatar.js.map +1 -0
- package/{Badge.d.ts → dist/Badge.d.ts} +2 -2
- package/dist/Badge.js +16 -0
- package/dist/Badge.js.map +1 -0
- package/{BannerAlert.d.ts → dist/BannerAlert.d.ts} +4 -4
- package/dist/BannerAlert.js +20 -0
- package/dist/BannerAlert.js.map +1 -0
- package/{Button.d.ts → dist/Button.d.ts} +1 -1
- package/dist/Button.js +30 -0
- package/dist/Button.js.map +1 -0
- package/{Card.d.ts → dist/Card.d.ts} +2 -2
- package/dist/Card.js +18 -0
- package/dist/Card.js.map +1 -0
- package/{Checkbox.d.ts → dist/Checkbox.d.ts} +2 -2
- package/dist/Checkbox.js +32 -0
- package/dist/Checkbox.js.map +1 -0
- package/{CheckboxGroup.d.ts → dist/CheckboxGroup.d.ts} +1 -1
- package/dist/CheckboxGroup.js +16 -0
- package/dist/CheckboxGroup.js.map +1 -0
- package/{CheckboxOption.d.ts → dist/CheckboxOption.d.ts} +1 -1
- package/dist/CheckboxOption.js +14 -0
- package/dist/CheckboxOption.js.map +1 -0
- package/{Chip.d.ts → dist/Chip.d.ts} +2 -2
- package/dist/Chip.js +22 -0
- package/dist/Chip.js.map +1 -0
- package/{Dialog.d.ts → dist/Dialog.d.ts} +2 -2
- package/dist/Dialog.js +70 -0
- package/dist/Dialog.js.map +1 -0
- package/{Divider.d.ts → dist/Divider.d.ts} +2 -2
- package/dist/Divider.js +26 -0
- package/dist/Divider.js.map +1 -0
- package/{Dropdown.d.ts → dist/Dropdown.d.ts} +2 -2
- package/dist/Dropdown.js +37 -0
- package/dist/Dropdown.js.map +1 -0
- package/{DropdownField.d.ts → dist/DropdownField.d.ts} +1 -1
- package/{DropdownField.js → dist/DropdownField.js} +5 -7
- package/dist/DropdownField.js.map +1 -0
- package/{EmptyState.d.ts → dist/EmptyState.d.ts} +7 -1
- package/dist/EmptyState.js +18 -0
- package/dist/EmptyState.js.map +1 -0
- package/{Fab.d.ts → dist/Fab.d.ts} +2 -2
- package/dist/Fab.js +24 -0
- package/dist/Fab.js.map +1 -0
- package/{FormField.d.ts → dist/FormField.d.ts} +2 -2
- package/dist/FormField.js +27 -0
- package/dist/FormField.js.map +1 -0
- package/{Img.d.ts → dist/Img.d.ts} +1 -1
- package/dist/Img.js +12 -0
- package/dist/Img.js.map +1 -0
- package/{InlineAlert.d.ts → dist/InlineAlert.d.ts} +2 -2
- package/dist/InlineAlert.js +27 -0
- package/dist/InlineAlert.js.map +1 -0
- package/{Layout.d.ts → dist/Layout.d.ts} +1 -1
- package/{Layout.js → dist/Layout.js} +3 -5
- package/dist/Layout.js.map +1 -0
- package/{Link.d.ts → dist/Link.d.ts} +2 -2
- package/dist/Link.js +17 -0
- package/dist/Link.js.map +1 -0
- package/{ListItem.d.ts → dist/ListItem.d.ts} +3 -3
- package/dist/ListItem.js +93 -0
- package/dist/ListItem.js.map +1 -0
- package/{Menu.d.ts → dist/Menu.d.ts} +2 -2
- package/dist/Menu.js +62 -0
- package/dist/Menu.js.map +1 -0
- package/{MenuButton.d.ts → dist/MenuButton.d.ts} +2 -2
- package/dist/MenuButton.js +15 -0
- package/dist/MenuButton.js.map +1 -0
- package/{Modal.d.ts → dist/Modal.d.ts} +2 -2
- package/dist/Modal.js +32 -0
- package/dist/Modal.js.map +1 -0
- package/{NumberField.d.ts → dist/NumberField.d.ts} +1 -1
- package/{NumberField.js → dist/NumberField.js} +5 -7
- package/dist/NumberField.js.map +1 -0
- package/{NumberInput.d.ts → dist/NumberInput.d.ts} +2 -2
- package/dist/NumberInput.js +64 -0
- package/dist/NumberInput.js.map +1 -0
- package/{Popover.d.ts → dist/Popover.d.ts} +2 -2
- package/dist/Popover.js +46 -0
- package/dist/Popover.js.map +1 -0
- package/{Portal.js → dist/Portal.js} +4 -5
- package/dist/Portal.js.map +1 -0
- package/{ProgressBar.d.ts → dist/ProgressBar.d.ts} +2 -2
- package/dist/ProgressBar.js +17 -0
- package/dist/ProgressBar.js.map +1 -0
- package/{ProgressCircle.d.ts → dist/ProgressCircle.d.ts} +3 -3
- package/dist/ProgressCircle.js +30 -0
- package/dist/ProgressCircle.js.map +1 -0
- package/{ProgressionStepper.d.ts → dist/ProgressionStepper.d.ts} +2 -2
- package/dist/ProgressionStepper.js +24 -0
- package/dist/ProgressionStepper.js.map +1 -0
- package/{ProgressionStepperBar.d.ts → dist/ProgressionStepperBar.d.ts} +7 -3
- package/dist/ProgressionStepperBar.js +15 -0
- package/dist/ProgressionStepperBar.js.map +1 -0
- package/{Radio.d.ts → dist/Radio.d.ts} +2 -2
- package/dist/Radio.js +18 -0
- package/dist/Radio.js.map +1 -0
- package/{RadioGroup.d.ts → dist/RadioGroup.d.ts} +1 -1
- package/dist/RadioGroup.js +16 -0
- package/dist/RadioGroup.js.map +1 -0
- package/{RadioOption.d.ts → dist/RadioOption.d.ts} +1 -1
- package/dist/RadioOption.js +14 -0
- package/dist/RadioOption.js.map +1 -0
- package/{SearchBar.d.ts → dist/SearchBar.d.ts} +2 -2
- package/{SearchBar.js → dist/SearchBar.js} +13 -19
- package/dist/SearchBar.js.map +1 -0
- package/{SegmentedControl.d.ts → dist/SegmentedControl.d.ts} +2 -2
- package/dist/SegmentedControl.js +22 -0
- package/dist/SegmentedControl.js.map +1 -0
- package/dist/Skeleton.d.ts +45 -0
- package/dist/Skeleton.js +25 -0
- package/dist/Skeleton.js.map +1 -0
- package/{StylesProviderAnywhere.d.ts → dist/StylesProviderAnywhere.d.ts} +4 -1
- package/dist/StylesProviderAnywhere.js +15 -0
- package/dist/StylesProviderAnywhere.js.map +1 -0
- package/{StylesProviderBetterHomesGardens.d.ts → dist/StylesProviderBetterHomesGardens.d.ts} +4 -1
- package/dist/StylesProviderBetterHomesGardens.js +15 -0
- package/dist/StylesProviderBetterHomesGardens.js.map +1 -0
- package/{StylesProviderCartus.d.ts → dist/StylesProviderCartus.d.ts} +4 -1
- package/dist/StylesProviderCartus.js +15 -0
- package/dist/StylesProviderCartus.js.map +1 -0
- package/{StylesProviderCentury21.d.ts → dist/StylesProviderCentury21.d.ts} +4 -1
- package/dist/StylesProviderCentury21.js +15 -0
- package/dist/StylesProviderCentury21.js.map +1 -0
- package/{StylesProviderColdwellBanker.d.ts → dist/StylesProviderColdwellBanker.d.ts} +4 -1
- package/dist/StylesProviderColdwellBanker.js +15 -0
- package/dist/StylesProviderColdwellBanker.js.map +1 -0
- package/{StylesProviderCorcoran.d.ts → dist/StylesProviderCorcoran.d.ts} +4 -1
- package/dist/StylesProviderCorcoran.js +15 -0
- package/dist/StylesProviderCorcoran.js.map +1 -0
- package/{StylesProviderDenaliBoss.d.ts → dist/StylesProviderDenaliBoss.d.ts} +4 -1
- package/dist/StylesProviderDenaliBoss.js +15 -0
- package/dist/StylesProviderDenaliBoss.js.map +1 -0
- package/{StylesProviderEra.d.ts → dist/StylesProviderEra.d.ts} +4 -1
- package/dist/StylesProviderEra.js +15 -0
- package/dist/StylesProviderEra.js.map +1 -0
- package/{StylesProviderSothebys.d.ts → dist/StylesProviderSothebys.d.ts} +4 -1
- package/dist/StylesProviderSothebys.js +15 -0
- package/dist/StylesProviderSothebys.js.map +1 -0
- package/{Switch.d.ts → dist/Switch.d.ts} +2 -2
- package/dist/Switch.js +21 -0
- package/dist/Switch.js.map +1 -0
- package/{SwitchGroup.d.ts → dist/SwitchGroup.d.ts} +1 -1
- package/dist/SwitchGroup.js +16 -0
- package/dist/SwitchGroup.js.map +1 -0
- package/{SwitchOption.d.ts → dist/SwitchOption.d.ts} +1 -1
- package/dist/SwitchOption.js +14 -0
- package/dist/SwitchOption.js.map +1 -0
- package/{TabGroup.d.ts → dist/TabGroup.d.ts} +2 -2
- package/dist/TabGroup.js +22 -0
- package/dist/TabGroup.js.map +1 -0
- package/{Table.d.ts → dist/Table.d.ts} +2 -2
- package/dist/Table.js +20 -0
- package/dist/Table.js.map +1 -0
- package/{Tag.d.ts → dist/Tag.d.ts} +2 -2
- package/dist/Tag.js +15 -0
- package/dist/Tag.js.map +1 -0
- package/{TextField.d.ts → dist/TextField.d.ts} +1 -1
- package/dist/TextField.js +17 -0
- package/dist/TextField.js.map +1 -0
- package/{TextInput.d.ts → dist/TextInput.d.ts} +2 -2
- package/dist/TextInput.js +23 -0
- package/dist/TextInput.js.map +1 -0
- package/{Textarea.d.ts → dist/Textarea.d.ts} +2 -2
- package/dist/Textarea.js +39 -0
- package/dist/Textarea.js.map +1 -0
- package/{TextareaField.d.ts → dist/TextareaField.d.ts} +1 -1
- package/dist/TextareaField.js +24 -0
- package/dist/TextareaField.js.map +1 -0
- package/{ToggleOption.d.ts → dist/ToggleOption.d.ts} +2 -2
- package/dist/ToggleOption.js +14 -0
- package/dist/ToggleOption.js.map +1 -0
- package/{Tooltip.d.ts → dist/Tooltip.d.ts} +2 -2
- package/dist/Tooltip.js +42 -0
- package/dist/Tooltip.js.map +1 -0
- package/{TopNavigation.d.ts → dist/TopNavigation.d.ts} +2 -2
- package/dist/TopNavigation.js +14 -0
- package/dist/TopNavigation.js.map +1 -0
- package/{Txt.d.ts → dist/Txt.d.ts} +1 -1
- package/{Txt.js → dist/Txt.js} +3 -8
- package/dist/Txt.js.map +1 -0
- package/dist/avatar.css +1 -0
- package/dist/badge.css +1 -0
- package/dist/banner-alert.css +1 -0
- package/dist/base.css +1 -0
- package/dist/button.css +1 -0
- package/dist/card.css +1 -0
- package/dist/checkbox.css +1 -0
- package/dist/chip.css +1 -0
- package/dist/colors.css +1 -0
- package/dist/dialog.css +1 -0
- package/dist/divider.css +1 -0
- package/dist/dropdown.css +1 -0
- package/dist/fab.css +1 -0
- package/dist/form-field.css +1 -0
- package/{hooks → dist/hooks}/useCheckboxGroupState.d.ts +1 -1
- package/{hooks → dist/hooks}/useCheckboxGroupState.js +3 -6
- package/dist/hooks/useCheckboxGroupState.js.map +1 -0
- package/{hooks → dist/hooks}/useCheckboxState.js +2 -5
- package/dist/hooks/useCheckboxState.js.map +1 -0
- package/{hooks → dist/hooks}/useFloating.js +5 -8
- package/dist/hooks/useFloating.js.map +1 -0
- package/{hooks → dist/hooks}/useFloatingMenu.js +6 -9
- package/dist/hooks/useFloatingMenu.js.map +1 -0
- package/{hooks → dist/hooks}/useId.js +4 -7
- package/dist/hooks/useId.js.map +1 -0
- package/{hooks → dist/hooks}/useKeyboardNavigation.js +4 -7
- package/dist/hooks/useKeyboardNavigation.js.map +1 -0
- package/{hooks → dist/hooks}/useLongPress.js +3 -6
- package/dist/hooks/useLongPress.js.map +1 -0
- package/{hooks → dist/hooks}/useModalState.js +3 -6
- package/dist/hooks/useModalState.js.map +1 -0
- package/{hooks → dist/hooks}/useNavOptions.js +4 -7
- package/dist/hooks/useNavOptions.js.map +1 -0
- package/{hooks → dist/hooks}/useOutsideClick.js +2 -5
- package/dist/hooks/useOutsideClick.js.map +1 -0
- package/{hooks → dist/hooks}/useRadioState.js +2 -5
- package/dist/hooks/useRadioState.js.map +1 -0
- package/{hooks → dist/hooks}/useSwitchGroupState.d.ts +1 -1
- package/{hooks → dist/hooks}/useSwitchGroupState.js +3 -6
- package/dist/hooks/useSwitchGroupState.js.map +1 -0
- package/{hooks → dist/hooks}/useTimeout.js +2 -5
- package/dist/hooks/useTimeout.js.map +1 -0
- package/{hooks → dist/hooks}/useValidChildren.js +4 -7
- package/dist/hooks/useValidChildren.js.map +1 -0
- package/{index.js → dist/index.js} +2 -4
- package/dist/index.js.map +1 -0
- package/dist/inline-alert.css +1 -0
- package/dist/link.css +1 -0
- package/dist/list-item.css +1 -0
- package/dist/menu-button.css +1 -0
- package/dist/menu.css +1 -0
- package/dist/modal.css +1 -0
- package/dist/number-input.css +1 -0
- package/dist/popover.css +1 -0
- package/dist/progress-bar.css +1 -0
- package/dist/progress-circle.css +1 -0
- package/dist/progression-stepper-bar.css +1 -0
- package/dist/progression-stepper.css +1 -0
- package/dist/radio.css +1 -0
- package/dist/search-bar.css +1 -0
- package/dist/segmented-control.css +1 -0
- package/dist/skeleton.css +6 -0
- package/dist/switch.css +1 -0
- package/dist/tab-group.css +1 -0
- package/dist/table.css +1 -0
- package/dist/tag.css +1 -0
- package/dist/text-input.css +1 -0
- package/dist/textarea.css +4 -0
- package/dist/toggle-option.css +1 -0
- package/dist/tooltip.css +1 -0
- package/dist/top-navigation.css +1 -0
- package/{utils → dist/utils}/children.js +9 -12
- package/dist/utils/children.js.map +1 -0
- package/dist/utils/colorVariants.d.ts +7 -0
- package/dist/utils/colorVariants.js +22 -0
- package/dist/utils/colorVariants.js.map +1 -0
- package/{utils → dist/utils}/errors.d.ts +1 -1
- package/{utils → dist/utils}/errors.js +20 -12
- package/dist/utils/errors.js.map +1 -0
- package/{utils → dist/utils}/getValidNode.js +2 -5
- package/dist/utils/getValidNode.js.map +1 -0
- package/{utils → dist/utils}/keyboard.js +2 -4
- package/dist/utils/keyboard.js.map +1 -0
- package/dist/utils/placeholder.test.d.ts +1 -0
- package/dist/utils/placeholder.test.js +7 -0
- package/dist/utils/placeholder.test.js.map +1 -0
- package/{utils → dist/utils}/ref.js +2 -4
- package/dist/utils/ref.js.map +1 -0
- package/{utils → dist/utils}/scrollElementIntoView.js +2 -4
- package/dist/utils/scrollElementIntoView.js.map +1 -0
- package/{utils → dist/utils}/srOnly.js +2 -4
- package/dist/utils/srOnly.js.map +1 -0
- package/dist/utils/styleAdd.d.ts +1 -0
- package/dist/utils/styleAdd.js +11 -0
- package/dist/utils/styleAdd.js.map +1 -0
- package/{utils → dist/utils}/tryIntPsrse.js +2 -4
- package/dist/utils/tryIntPsrse.js.map +1 -0
- package/dist/utils/txtVariants.d.ts +7 -0
- package/{utils → dist/utils}/txtVariants.js +7 -4
- package/dist/utils/txtVariants.js.map +1 -0
- package/meta-types.ts +46 -0
- package/meta.ts +465 -0
- package/package.json +31 -20
- package/src/Avatar.tsx +3 -61
- package/src/Badge.tsx +2 -30
- package/src/BannerAlert.tsx +6 -119
- package/src/Button.tsx +3 -228
- package/src/Card.tsx +2 -22
- package/src/Checkbox.tsx +2 -94
- package/src/CheckboxGroup.tsx +2 -2
- package/src/CheckboxOption.tsx +3 -3
- package/src/Chip.tsx +2 -68
- package/src/Dialog.tsx +2 -154
- package/src/Divider.tsx +2 -54
- package/src/Dropdown.tsx +2 -119
- package/src/DropdownField.tsx +3 -2
- package/src/EmptyState.tsx +10 -4
- package/src/Fab.tsx +2 -125
- package/src/FormField.tsx +2 -15
- package/src/Img.tsx +1 -9
- package/src/InlineAlert.tsx +2 -48
- package/src/Layout.tsx +1 -0
- package/src/Link.tsx +2 -23
- package/src/ListItem.tsx +3 -118
- package/src/Menu.tsx +3 -41
- package/src/MenuButton.tsx +2 -17
- package/src/Modal.tsx +3 -24
- package/src/NumberField.tsx +3 -2
- package/src/NumberInput.tsx +2 -126
- package/src/Popover.tsx +3 -110
- package/src/Portal.tsx +1 -0
- package/src/ProgressBar.tsx +2 -49
- package/src/ProgressCircle.tsx +2 -57
- package/src/ProgressionStepper.tsx +2 -175
- package/src/ProgressionStepperBar.tsx +7 -44
- package/src/Radio.tsx +2 -82
- package/src/RadioGroup.tsx +2 -2
- package/src/RadioOption.tsx +3 -3
- package/src/SearchBar.tsx +4 -10
- package/src/SegmentedControl.tsx +2 -116
- package/src/Skeleton.tsx +40 -56
- package/src/StylesProviderAnywhere.tsx +4 -18
- package/src/StylesProviderBetterHomesGardens.tsx +4 -18
- package/src/StylesProviderCartus.tsx +4 -18
- package/src/StylesProviderCentury21.tsx +4 -18
- package/src/StylesProviderColdwellBanker.tsx +4 -18
- package/src/StylesProviderCorcoran.tsx +4 -18
- package/src/StylesProviderDenaliBoss.tsx +4 -18
- package/src/StylesProviderEra.tsx +4 -18
- package/src/StylesProviderSothebys.tsx +4 -18
- package/src/Switch.tsx +2 -66
- package/src/SwitchGroup.tsx +2 -2
- package/src/SwitchOption.tsx +3 -3
- package/src/TabGroup.tsx +2 -100
- package/src/Table.tsx +2 -49
- package/src/Tag.tsx +3 -67
- package/src/TextField.tsx +3 -2
- package/src/TextInput.tsx +2 -152
- package/src/Textarea.tsx +2 -80
- package/src/TextareaField.tsx +3 -2
- package/src/ToggleOption.tsx +2 -79
- package/src/Tooltip.tsx +3 -66
- package/src/TopNavigation.tsx +2 -10
- package/src/Txt.tsx +1 -9
- package/src/avatar.scss +74 -0
- package/src/badge.scss +28 -0
- package/{BannerAlert.js → src/banner-alert.scss} +5 -23
- package/src/{styles/base.css → base.scss} +5 -3
- package/src/button.scss +218 -0
- package/src/card.scss +23 -0
- package/{Checkbox.js → src/checkbox.scss} +9 -34
- package/{Chip.js → src/chip.scss} +3 -24
- package/src/colors.scss +76 -0
- package/{Dialog.js → src/dialog.scss} +7 -76
- package/src/divider.scss +47 -0
- package/{Dropdown.js → src/dropdown.scss} +4 -45
- package/{Fab.js → src/fab.scss} +4 -27
- package/src/form-field.scss +13 -0
- package/src/hooks/useFloating.ts +5 -5
- package/src/inline-alert.scss +51 -0
- package/src/link.scss +21 -0
- package/src/list-item.scss +113 -0
- package/src/menu-button.scss +16 -0
- package/src/menu.scss +36 -0
- package/src/modal.scss +22 -0
- package/src/number-input.scss +128 -0
- package/{Popover.js → src/popover.scss} +10 -49
- package/src/progress-bar.scss +50 -0
- package/src/progress-circle.scss +56 -0
- package/src/progression-stepper-bar.scss +39 -0
- package/{ProgressionStepper.js → src/progression-stepper.scss} +8 -27
- package/{Radio.js → src/radio.scss} +6 -22
- package/src/search-bar.scss +7 -0
- package/{SegmentedControl.js → src/segmented-control.scss} +7 -24
- package/src/skeleton.scss +83 -0
- package/{Switch.js → src/switch.scss} +4 -25
- package/{TabGroup.js → src/tab-group.scss} +9 -26
- package/{Table.js → src/table.scss} +4 -22
- package/{Tag.js → src/tag.scss} +5 -28
- package/{TextInput.js → src/text-input.scss} +7 -31
- package/{Textarea.js → src/textarea.scss} +9 -38
- package/{ToggleOption.js → src/toggle-option.scss} +3 -16
- package/src/tooltip.scss +63 -0
- package/src/top-navigation.scss +5 -0
- package/src/utils/children.ts +1 -1
- package/src/utils/colorVariants.ts +22 -73
- package/src/utils/styleAdd.ts +7 -0
- package/src/utils/txtVariants.ts +8 -27
- package/Accordion.d.ts +0 -20
- package/Accordion.js +0 -18
- package/Accordion.js.map +0 -1
- package/Avatar.js +0 -81
- package/Avatar.js.map +0 -1
- package/Badge.js +0 -43
- package/Badge.js.map +0 -1
- package/BannerAlert.js.map +0 -1
- package/BottomNavigation.d.ts +0 -20
- package/BottomNavigation.js +0 -18
- package/BottomNavigation.js.map +0 -1
- package/BottomSheet.d.ts +0 -20
- package/BottomSheet.js +0 -18
- package/BottomSheet.js.map +0 -1
- package/Breadcrumb.d.ts +0 -20
- package/Breadcrumb.js +0 -18
- package/Breadcrumb.js.map +0 -1
- package/Button.js +0 -254
- package/Button.js.map +0 -1
- package/ButtonDock.d.ts +0 -20
- package/ButtonDock.js +0 -18
- package/ButtonDock.js.map +0 -1
- package/CODE_OF_CONDUCT.md +0 -137
- package/CONTRIBUTING.md +0 -42
- package/Card.js +0 -38
- package/Card.js.map +0 -1
- package/Chart.d.ts +0 -20
- package/Chart.js +0 -18
- package/Chart.js.map +0 -1
- package/Checkbox.js.map +0 -1
- package/CheckboxGroup.js +0 -18
- package/CheckboxGroup.js.map +0 -1
- package/CheckboxOption.js +0 -16
- package/CheckboxOption.js.map +0 -1
- package/Chip.js.map +0 -1
- package/DatePicker.d.ts +0 -20
- package/DatePicker.js +0 -18
- package/DatePicker.js.map +0 -1
- package/Dialog.js.map +0 -1
- package/Divider.js +0 -76
- package/Divider.js.map +0 -1
- package/Drawer.d.ts +0 -20
- package/Drawer.js +0 -18
- package/Drawer.js.map +0 -1
- package/Dropdown.js.map +0 -1
- package/DropdownField.js.map +0 -1
- package/EmptyState.js +0 -20
- package/EmptyState.js.map +0 -1
- package/Fab.js.map +0 -1
- package/FileUpload.d.ts +0 -20
- package/FileUpload.js +0 -18
- package/FileUpload.js.map +0 -1
- package/FormField.js +0 -39
- package/FormField.js.map +0 -1
- package/GUIDELINES.md +0 -41
- package/Image.d.ts +0 -20
- package/Image.js +0 -18
- package/Image.js.map +0 -1
- package/Img.js +0 -20
- package/Img.js.map +0 -1
- package/InlineAlert.js +0 -73
- package/InlineAlert.js.map +0 -1
- package/Layout.js.map +0 -1
- package/Link.js +0 -37
- package/Link.js.map +0 -1
- package/ListItem.js +0 -207
- package/ListItem.js.map +0 -1
- package/Menu.js +0 -98
- package/Menu.js.map +0 -1
- package/MenuButton.js +0 -30
- package/MenuButton.js.map +0 -1
- package/Modal.js +0 -53
- package/Modal.js.map +0 -1
- package/MultiSelection.d.ts +0 -20
- package/MultiSelection.js +0 -18
- package/MultiSelection.js.map +0 -1
- package/NavigationRail.d.ts +0 -20
- package/NavigationRail.js +0 -18
- package/NavigationRail.js.map +0 -1
- package/NumberField.js.map +0 -1
- package/NumberInput.js +0 -188
- package/NumberInput.js.map +0 -1
- package/OTPInput.d.ts +0 -20
- package/OTPInput.js +0 -18
- package/OTPInput.js.map +0 -1
- package/PageControl.d.ts +0 -20
- package/PageControl.js +0 -18
- package/PageControl.js.map +0 -1
- package/PasswordInput.d.ts +0 -20
- package/PasswordInput.js +0 -18
- package/PasswordInput.js.map +0 -1
- package/PhoneNumberInput.d.ts +0 -20
- package/PhoneNumberInput.js +0 -18
- package/PhoneNumberInput.js.map +0 -1
- package/Popover.js.map +0 -1
- package/Portal.js.map +0 -1
- package/ProgressBar.js +0 -64
- package/ProgressBar.js.map +0 -1
- package/ProgressCircle.js +0 -82
- package/ProgressCircle.js.map +0 -1
- package/ProgressionStepper.js.map +0 -1
- package/ProgressionStepperBar.js +0 -51
- package/ProgressionStepperBar.js.map +0 -1
- package/Radio.js.map +0 -1
- package/RadioGroup.js +0 -18
- package/RadioGroup.js.map +0 -1
- package/RadioOption.js +0 -16
- package/RadioOption.js.map +0 -1
- package/Rating.d.ts +0 -16
- package/Rating.js +0 -18
- package/Rating.js.map +0 -1
- package/SearchBar.js.map +0 -1
- package/SegmentedControl.js.map +0 -1
- package/Skeleton.d.ts +0 -28
- package/Skeleton.js +0 -57
- package/Skeleton.js.map +0 -1
- package/SliderInput.d.ts +0 -16
- package/SliderInput.js +0 -18
- package/SliderInput.js.map +0 -1
- package/Snackbar.d.ts +0 -16
- package/Snackbar.js +0 -18
- package/Snackbar.js.map +0 -1
- package/StylesProviderAnywhere.js +0 -29
- package/StylesProviderAnywhere.js.map +0 -1
- package/StylesProviderBetterHomesGardens.js +0 -29
- package/StylesProviderBetterHomesGardens.js.map +0 -1
- package/StylesProviderCartus.js +0 -29
- package/StylesProviderCartus.js.map +0 -1
- package/StylesProviderCentury21.js +0 -29
- package/StylesProviderCentury21.js.map +0 -1
- package/StylesProviderColdwellBanker.js +0 -29
- package/StylesProviderColdwellBanker.js.map +0 -1
- package/StylesProviderCorcoran.js +0 -29
- package/StylesProviderCorcoran.js.map +0 -1
- package/StylesProviderDenaliBoss.js +0 -29
- package/StylesProviderDenaliBoss.js.map +0 -1
- package/StylesProviderEra.js +0 -29
- package/StylesProviderEra.js.map +0 -1
- package/StylesProviderSothebys.js +0 -29
- package/StylesProviderSothebys.js.map +0 -1
- package/Switch.js.map +0 -1
- package/SwitchGroup.js +0 -18
- package/SwitchGroup.js.map +0 -1
- package/SwitchOption.js +0 -16
- package/SwitchOption.js.map +0 -1
- package/TabGroup.js.map +0 -1
- package/Table.js.map +0 -1
- package/Tag.js.map +0 -1
- package/TextField.js +0 -19
- package/TextField.js.map +0 -1
- package/TextInput.js.map +0 -1
- package/Textarea.js.map +0 -1
- package/TextareaField.js +0 -26
- package/TextareaField.js.map +0 -1
- package/TimePicker.d.ts +0 -16
- package/TimePicker.js +0 -18
- package/TimePicker.js.map +0 -1
- package/ToggleOption.js.map +0 -1
- package/Tooltip.js +0 -104
- package/Tooltip.js.map +0 -1
- package/TopNavigation.js +0 -18
- package/TopNavigation.js.map +0 -1
- package/Txt.js.map +0 -1
- package/hooks/useCheckboxGroupState.js.map +0 -1
- package/hooks/useCheckboxState.js.map +0 -1
- package/hooks/useFloating.js.map +0 -1
- package/hooks/useFloatingMenu.js.map +0 -1
- package/hooks/useId.js.map +0 -1
- package/hooks/useKeyboardNavigation.js.map +0 -1
- package/hooks/useLongPress.js.map +0 -1
- package/hooks/useModalState.js.map +0 -1
- package/hooks/useNavOptions.js.map +0 -1
- package/hooks/useOutsideClick.js.map +0 -1
- package/hooks/useRadioState.js.map +0 -1
- package/hooks/useSwitchGroupState.js.map +0 -1
- package/hooks/useTimeout.js.map +0 -1
- package/hooks/useValidChildren.js.map +0 -1
- package/index.js.map +0 -1
- package/meta.d.ts +0 -44
- package/meta.js +0 -5789
- package/meta.js.map +0 -1
- package/src/Accordion.tsx +0 -33
- package/src/BottomNavigation.tsx +0 -33
- package/src/BottomSheet.tsx +0 -33
- package/src/Breadcrumb.tsx +0 -33
- package/src/ButtonDock.tsx +0 -33
- package/src/Chart.tsx +0 -33
- package/src/DatePicker.tsx +0 -33
- package/src/Drawer.tsx +0 -33
- package/src/FileUpload.tsx +0 -33
- package/src/Image.tsx +0 -33
- package/src/MultiSelection.tsx +0 -33
- package/src/NavigationRail.tsx +0 -33
- package/src/OTPInput.tsx +0 -33
- package/src/PageControl.tsx +0 -33
- package/src/PasswordInput.tsx +0 -33
- package/src/PhoneNumberInput.tsx +0 -33
- package/src/Rating.tsx +0 -29
- package/src/SliderInput.tsx +0 -29
- package/src/Snackbar.tsx +0 -29
- package/src/TimePicker.tsx +0 -29
- package/src/meta.ts +0 -6238
- package/src/package.json +0 -3
- package/src/styles/anywhere.css +0 -1693
- package/src/styles/anywhere.ts +0 -1694
- package/src/styles/base.ts +0 -161
- package/src/styles/better-homes-gardens.css +0 -1693
- package/src/styles/better-homes-gardens.ts +0 -1694
- package/src/styles/cartus.css +0 -1691
- package/src/styles/cartus.ts +0 -1692
- package/src/styles/century-21.css +0 -1689
- package/src/styles/century-21.ts +0 -1690
- package/src/styles/coldwell-banker.css +0 -1691
- package/src/styles/coldwell-banker.ts +0 -1692
- package/src/styles/corcoran.css +0 -1685
- package/src/styles/corcoran.ts +0 -1686
- package/src/styles/denali-boss.css +0 -1681
- package/src/styles/denali-boss.ts +0 -1682
- package/src/styles/era.css +0 -1685
- package/src/styles/era.ts +0 -1686
- package/src/styles/sothebys.css +0 -1677
- package/src/styles/sothebys.ts +0 -1678
- package/styles/anywhere.d.ts +0 -2
- package/styles/anywhere.js +0 -1697
- package/styles/anywhere.js.map +0 -1
- package/styles/base.d.ts +0 -2
- package/styles/base.js +0 -164
- package/styles/base.js.map +0 -1
- package/styles/better-homes-gardens.d.ts +0 -2
- package/styles/better-homes-gardens.js +0 -1697
- package/styles/better-homes-gardens.js.map +0 -1
- package/styles/cartus.d.ts +0 -2
- package/styles/cartus.js +0 -1695
- package/styles/cartus.js.map +0 -1
- package/styles/century-21.d.ts +0 -2
- package/styles/century-21.js +0 -1693
- package/styles/century-21.js.map +0 -1
- package/styles/coldwell-banker.d.ts +0 -2
- package/styles/coldwell-banker.js +0 -1695
- package/styles/coldwell-banker.js.map +0 -1
- package/styles/corcoran.d.ts +0 -2
- package/styles/corcoran.js +0 -1689
- package/styles/corcoran.js.map +0 -1
- package/styles/denali-boss.d.ts +0 -2
- package/styles/denali-boss.js +0 -1685
- package/styles/denali-boss.js.map +0 -1
- package/styles/era.d.ts +0 -2
- package/styles/era.js +0 -1689
- package/styles/era.js.map +0 -1
- package/styles/sothebys.d.ts +0 -2
- package/styles/sothebys.js +0 -1681
- package/styles/sothebys.js.map +0 -1
- package/utils/children.js.map +0 -1
- package/utils/colorVariants.d.ts +0 -5
- package/utils/colorVariants.js +0 -61
- package/utils/colorVariants.js.map +0 -1
- package/utils/errors.js.map +0 -1
- package/utils/getValidNode.js.map +0 -1
- package/utils/keyboard.js.map +0 -1
- package/utils/ref.js.map +0 -1
- package/utils/scrollElementIntoView.js.map +0 -1
- package/utils/srOnly.js.map +0 -1
- package/utils/tryIntPsrse.js.map +0 -1
- package/utils/txtVariants.d.ts +0 -2
- package/utils/txtVariants.js.map +0 -1
- /package/{Portal.d.ts → dist/Portal.d.ts} +0 -0
- /package/{hooks → dist/hooks}/useCheckboxState.d.ts +0 -0
- /package/{hooks → dist/hooks}/useFloating.d.ts +0 -0
- /package/{hooks → dist/hooks}/useFloatingMenu.d.ts +0 -0
- /package/{hooks → dist/hooks}/useId.d.ts +0 -0
- /package/{hooks → dist/hooks}/useKeyboardNavigation.d.ts +0 -0
- /package/{hooks → dist/hooks}/useLongPress.d.ts +0 -0
- /package/{hooks → dist/hooks}/useModalState.d.ts +0 -0
- /package/{hooks → dist/hooks}/useNavOptions.d.ts +0 -0
- /package/{hooks → dist/hooks}/useOutsideClick.d.ts +0 -0
- /package/{hooks → dist/hooks}/useRadioState.d.ts +0 -0
- /package/{hooks → dist/hooks}/useTimeout.d.ts +0 -0
- /package/{hooks → dist/hooks}/useValidChildren.d.ts +0 -0
- /package/{index.d.ts → dist/index.d.ts} +0 -0
- /package/{utils → dist/utils}/children.d.ts +0 -0
- /package/{utils → dist/utils}/getValidNode.d.ts +0 -0
- /package/{utils → dist/utils}/keyboard.d.ts +0 -0
- /package/{utils → dist/utils}/ref.d.ts +0 -0
- /package/{utils → dist/utils}/scrollElementIntoView.d.ts +0 -0
- /package/{utils → dist/utils}/srOnly.d.ts +0 -0
- /package/{utils → dist/utils}/tryIntPsrse.d.ts +0 -0
package/src/SearchBar.tsx
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { SvgSearch } from '@bspk/icons/Search';
|
|
2
|
-
import
|
|
2
|
+
import './search-bar.scss';
|
|
3
3
|
import { useRef } from 'react';
|
|
4
4
|
|
|
5
|
-
import {
|
|
5
|
+
import { MenuItem, MenuProps, Menu } from './Menu';
|
|
6
6
|
import { Portal } from './Portal';
|
|
7
|
-
import {
|
|
7
|
+
import { TextInputProps, TextInput } from './TextInput';
|
|
8
8
|
import { useFloatingMenu } from './hooks/useFloatingMenu';
|
|
9
9
|
import { useId } from './hooks/useId';
|
|
10
10
|
//import { useFloatingMenu } from './hooks/useFloatingMenu';
|
|
@@ -65,7 +65,7 @@ function SearchBar({
|
|
|
65
65
|
aria-label={ariaLabel}
|
|
66
66
|
autoComplete="off"
|
|
67
67
|
containerRef={triggerRef}
|
|
68
|
-
|
|
68
|
+
data-bspk="search-bar"
|
|
69
69
|
id={id}
|
|
70
70
|
inputRef={(node) => {
|
|
71
71
|
inputRef?.(node || null);
|
|
@@ -112,10 +112,4 @@ SearchBar.bspkName = 'SearchBar';
|
|
|
112
112
|
|
|
113
113
|
export { SearchBar };
|
|
114
114
|
|
|
115
|
-
export const style = css`
|
|
116
|
-
display: flex;
|
|
117
|
-
width: 100%;
|
|
118
|
-
min-width: 300px;
|
|
119
|
-
`;
|
|
120
|
-
|
|
121
115
|
/** Copyright 2025 Anywhere Real Estate - CC BY 4.0 */
|
package/src/SegmentedControl.tsx
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import './segmented-control.scss';
|
|
2
2
|
import { Fragment } from 'react';
|
|
3
3
|
|
|
4
4
|
import { Tooltip } from './Tooltip';
|
|
@@ -83,7 +83,7 @@ function SegmentedControl({
|
|
|
83
83
|
const hideLabels = showLabelsProp === false && items.every((item) => item.icon && item.label);
|
|
84
84
|
|
|
85
85
|
return (
|
|
86
|
-
<div {...containerProps}
|
|
86
|
+
<div {...containerProps} data-bspk="segmented-control" data-size={size} data-width={width}>
|
|
87
87
|
{items.map((item, index) => {
|
|
88
88
|
const isActive = item.value === value;
|
|
89
89
|
return (
|
|
@@ -116,118 +116,4 @@ SegmentedControl.bspkName = 'SegmentedControl';
|
|
|
116
116
|
|
|
117
117
|
export { SegmentedControl };
|
|
118
118
|
|
|
119
|
-
export const style = css`
|
|
120
|
-
display: flex;
|
|
121
|
-
flex-direction: row;
|
|
122
|
-
max-width: 100%;
|
|
123
|
-
--outer-height: var(--spacing-sizing-10);
|
|
124
|
-
--inner-height: var(--spacing-sizing-08);
|
|
125
|
-
--svg-width: 20px;
|
|
126
|
-
|
|
127
|
-
&[data-width='fill'] {
|
|
128
|
-
align-items: stretch;
|
|
129
|
-
width: 100%;
|
|
130
|
-
--btn-flex-grow: 1;
|
|
131
|
-
margin: 0 var(--spacing-sizing-04);
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
&[data-width='hug'] {
|
|
135
|
-
width: fit-content;
|
|
136
|
-
--btn-flex-grow: 0;
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
&[data-size='small'] {
|
|
140
|
-
--outer-height: var(--spacing-sizing-08);
|
|
141
|
-
--inner-height: var(--spacing-sizing-06);
|
|
142
|
-
--svg-width: 16px;
|
|
143
|
-
}
|
|
144
|
-
|
|
145
|
-
svg {
|
|
146
|
-
width: var(--svg-width) !important;
|
|
147
|
-
}
|
|
148
|
-
|
|
149
|
-
button {
|
|
150
|
-
border: 0;
|
|
151
|
-
cursor: pointer;
|
|
152
|
-
color: var(--foreground-neutral-on-surface);
|
|
153
|
-
flex-grow: var(--btn-flex-grow);
|
|
154
|
-
font: var(--labels-small);
|
|
155
|
-
margin: 0;
|
|
156
|
-
height: var(--spacing-sizing-12);
|
|
157
|
-
background: transparent;
|
|
158
|
-
position: relative;
|
|
159
|
-
|
|
160
|
-
[data-focus-ring] {
|
|
161
|
-
display: none;
|
|
162
|
-
}
|
|
163
|
-
|
|
164
|
-
[data-outer] {
|
|
165
|
-
height: var(--outer-height);
|
|
166
|
-
background: var(--surface-neutral-t3-low);
|
|
167
|
-
margin: var(--spacing-sizing-01) 0;
|
|
168
|
-
padding: var(--spacing-sizing-01) 0;
|
|
169
|
-
display: block;
|
|
170
|
-
}
|
|
171
|
-
|
|
172
|
-
[data-inner] {
|
|
173
|
-
display: flex;
|
|
174
|
-
flex-direction: row;
|
|
175
|
-
align-items: center;
|
|
176
|
-
height: var(--inner-height);
|
|
177
|
-
border-bottom: 1px solid transparent;
|
|
178
|
-
justify-content: center;
|
|
179
|
-
gap: var(--spacing-sizing-01);
|
|
180
|
-
border-radius: var(--radius-small);
|
|
181
|
-
padding: var(--spacing-sizing-02) var(--spacing-sizing-03);
|
|
182
|
-
}
|
|
183
|
-
|
|
184
|
-
&:first-of-type {
|
|
185
|
-
[data-outer] {
|
|
186
|
-
border-top-left-radius: var(--radius-medium);
|
|
187
|
-
border-bottom-left-radius: var(--radius-medium);
|
|
188
|
-
padding-left: var(--spacing-sizing-01);
|
|
189
|
-
}
|
|
190
|
-
}
|
|
191
|
-
|
|
192
|
-
&:last-of-type {
|
|
193
|
-
[data-outer] {
|
|
194
|
-
border-top-right-radius: var(--radius-medium);
|
|
195
|
-
border-bottom-right-radius: var(--radius-medium);
|
|
196
|
-
padding-right: var(--spacing-sizing-01);
|
|
197
|
-
}
|
|
198
|
-
}
|
|
199
|
-
|
|
200
|
-
&:not(:disabled) {
|
|
201
|
-
&:hover {
|
|
202
|
-
[data-inner] {
|
|
203
|
-
background: var(--interactions-neutral-hover-opacity);
|
|
204
|
-
}
|
|
205
|
-
}
|
|
206
|
-
|
|
207
|
-
&:active {
|
|
208
|
-
[data-inner] {
|
|
209
|
-
background: var(--interactions-neutral-press-opacity);
|
|
210
|
-
}
|
|
211
|
-
}
|
|
212
|
-
|
|
213
|
-
&[data-selected] {
|
|
214
|
-
[data-inner] {
|
|
215
|
-
background: var(--surface-neutral-t1-base);
|
|
216
|
-
}
|
|
217
|
-
}
|
|
218
|
-
|
|
219
|
-
&:focus-visible {
|
|
220
|
-
z-index: 2;
|
|
221
|
-
outline: solid 2px var(--stroke-neutral-focus);
|
|
222
|
-
}
|
|
223
|
-
}
|
|
224
|
-
|
|
225
|
-
&:disabled {
|
|
226
|
-
pointer-events: none;
|
|
227
|
-
color: var(--foreground-neutral-disabled-on-surface);
|
|
228
|
-
cursor: not-allowed;
|
|
229
|
-
}
|
|
230
|
-
}
|
|
231
|
-
`;
|
|
232
|
-
|
|
233
119
|
/** Copyright 2025 Anywhere Real Estate - CC BY 4.0 */
|
package/src/Skeleton.tsx
CHANGED
|
@@ -1,23 +1,39 @@
|
|
|
1
|
-
import
|
|
1
|
+
import './skeleton.scss';
|
|
2
2
|
import { CSSProperties } from 'react';
|
|
3
3
|
|
|
4
4
|
import { TxtVariant } from './utils/txtVariants';
|
|
5
5
|
|
|
6
|
-
export type SkeletonVariant = TxtVariant | 'other';
|
|
7
|
-
|
|
8
6
|
export type SkeletonProps = {
|
|
9
7
|
/**
|
|
10
|
-
* The text variant of the skeleton.
|
|
8
|
+
* The text variant of the skeleton.
|
|
9
|
+
*
|
|
10
|
+
* @default text
|
|
11
|
+
*/
|
|
12
|
+
variant?: 'circular' | 'photo' | 'profile' | 'rectangular' | 'text' | 'thumbnail';
|
|
13
|
+
/**
|
|
14
|
+
* The size of the text. This is only used when variant is 'text'.
|
|
11
15
|
*
|
|
12
|
-
* @default
|
|
16
|
+
* @default body-base
|
|
13
17
|
*/
|
|
14
|
-
|
|
18
|
+
textVariant?: TxtVariant;
|
|
15
19
|
/**
|
|
16
|
-
* The number of lines showing.
|
|
20
|
+
* The number of lines showing. This is only used when variant is 'text'.
|
|
17
21
|
*
|
|
18
|
-
* @default
|
|
22
|
+
* @default 3
|
|
19
23
|
*/
|
|
20
|
-
|
|
24
|
+
textLines?: number;
|
|
25
|
+
/**
|
|
26
|
+
* The width of the skeleton. This is ignored when variant is 'text', 'profile', or 'thumbnail'.
|
|
27
|
+
*
|
|
28
|
+
* @default 200
|
|
29
|
+
*/
|
|
30
|
+
width?: number | string;
|
|
31
|
+
/**
|
|
32
|
+
* The height of the skeleton. This is ignored when variant is 'text', 'profile', or 'thumbnail'.
|
|
33
|
+
*
|
|
34
|
+
* @default 100
|
|
35
|
+
*/
|
|
36
|
+
height?: number | string;
|
|
21
37
|
};
|
|
22
38
|
|
|
23
39
|
/**
|
|
@@ -25,21 +41,28 @@ export type SkeletonProps = {
|
|
|
25
41
|
*
|
|
26
42
|
* @name Skeleton
|
|
27
43
|
*/
|
|
28
|
-
function Skeleton({
|
|
29
|
-
|
|
30
|
-
|
|
44
|
+
function Skeleton({
|
|
45
|
+
width = 100,
|
|
46
|
+
height = 100,
|
|
47
|
+
textLines,
|
|
48
|
+
textVariant: textSize,
|
|
49
|
+
variant = 'rectangular',
|
|
50
|
+
}: SkeletonProps) {
|
|
31
51
|
return (
|
|
32
52
|
<div
|
|
33
|
-
|
|
34
|
-
data-
|
|
53
|
+
data-bspk="skeleton"
|
|
54
|
+
data-variant={variant}
|
|
35
55
|
style={
|
|
36
56
|
{
|
|
37
|
-
'--
|
|
38
|
-
'--height': `var(--${
|
|
57
|
+
'--height': typeof height === 'number' ? `${height}px` : height,
|
|
58
|
+
'--text-height': `var(--${textSize}-size)`,
|
|
59
|
+
'--text-margin': `calc(var(--${textSize}-line-height) - var(--${textSize}-size))`,
|
|
60
|
+
'--width': typeof width === 'number' ? `${width}px` : width,
|
|
39
61
|
} as CSSProperties
|
|
40
62
|
}
|
|
41
63
|
>
|
|
42
|
-
{variant
|
|
64
|
+
{variant === 'text' &&
|
|
65
|
+
[...Array(Math.max(1, textLines || 0))].map((_, index) => <div data-line key={index} />)}
|
|
43
66
|
</div>
|
|
44
67
|
);
|
|
45
68
|
}
|
|
@@ -48,43 +71,4 @@ Skeleton.bspkName = 'Skeleton';
|
|
|
48
71
|
|
|
49
72
|
export { Skeleton };
|
|
50
73
|
|
|
51
|
-
export const style = css`
|
|
52
|
-
width: 100%;
|
|
53
|
-
display: flex;
|
|
54
|
-
flex-direction: column;
|
|
55
|
-
gap: var(--margin);
|
|
56
|
-
|
|
57
|
-
animation: skeleton-pulse 1.5s infinite;
|
|
58
|
-
@keyframes skeleton-pulse {
|
|
59
|
-
0% {
|
|
60
|
-
opacity: 0.8;
|
|
61
|
-
}
|
|
62
|
-
50% {
|
|
63
|
-
opacity: 0.4;
|
|
64
|
-
}
|
|
65
|
-
100% {
|
|
66
|
-
opacity: 0.8;
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
&:empty {
|
|
71
|
-
width: auto;
|
|
72
|
-
height: auto;
|
|
73
|
-
position: absolute;
|
|
74
|
-
top: 0;
|
|
75
|
-
left: 0;
|
|
76
|
-
right: 0;
|
|
77
|
-
bottom: 0;
|
|
78
|
-
background: var(--foreground-neutral-skeleton-element);
|
|
79
|
-
border-radius: var(--radius-small);
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
[data-line] {
|
|
83
|
-
width: 100%;
|
|
84
|
-
background: var(--foreground-neutral-skeleton-element);
|
|
85
|
-
border-radius: var(--radius-small);
|
|
86
|
-
height: var(--height);
|
|
87
|
-
}
|
|
88
|
-
`;
|
|
89
|
-
|
|
90
74
|
/** Copyright 2025 Anywhere Real Estate - CC BY 4.0 */
|
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
import brandStyle from './styles/anywhere';
|
|
4
|
-
import baseStyle from './styles/base';
|
|
1
|
+
import '@bspk/styles/anywhere.css';
|
|
2
|
+
import './base.scss';
|
|
5
3
|
|
|
6
4
|
/**
|
|
7
5
|
* Utility to provide the Anywhere styles to the application.
|
|
@@ -9,23 +7,11 @@ import baseStyle from './styles/base';
|
|
|
9
7
|
* @name StylesProviderAnywhere
|
|
10
8
|
*/
|
|
11
9
|
function StylesProviderAnywhere() {
|
|
12
|
-
const styleEmentRef = useRef<HTMLStyleElement | null>(null);
|
|
13
|
-
|
|
14
|
-
useEffect(() => {
|
|
15
|
-
styleEmentRef.current = document.createElement('style');
|
|
16
|
-
styleEmentRef.current.setAttribute('data-bspk', 'anywhere');
|
|
17
|
-
styleEmentRef.current.innerHTML = brandStyle + baseStyle;
|
|
18
|
-
document.head.appendChild(styleEmentRef.current);
|
|
19
|
-
document.body.style.display = '';
|
|
20
|
-
|
|
21
|
-
return () => {
|
|
22
|
-
if (styleEmentRef.current) document.head.removeChild(styleEmentRef.current);
|
|
23
|
-
};
|
|
24
|
-
}, []);
|
|
25
|
-
|
|
26
10
|
return <></>;
|
|
27
11
|
}
|
|
28
12
|
|
|
29
13
|
StylesProviderAnywhere.bspkName = 'StylesProviderAnywhere';
|
|
30
14
|
|
|
31
15
|
export { StylesProviderAnywhere };
|
|
16
|
+
|
|
17
|
+
/** Copyright 2025 Anywhere Real Estate - CC BY 4.0 */
|
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
import baseStyle from './styles/base';
|
|
4
|
-
import brandStyle from './styles/better-homes-gardens';
|
|
1
|
+
import '@bspk/styles/better-homes-gardens.css';
|
|
2
|
+
import './base.scss';
|
|
5
3
|
|
|
6
4
|
/**
|
|
7
5
|
* Utility to provide the Better Homes & Gardens styles to the application.
|
|
@@ -9,23 +7,11 @@ import brandStyle from './styles/better-homes-gardens';
|
|
|
9
7
|
* @name StylesProviderBetterHomesGardens
|
|
10
8
|
*/
|
|
11
9
|
function StylesProviderBetterHomesGardens() {
|
|
12
|
-
const styleEmentRef = useRef<HTMLStyleElement | null>(null);
|
|
13
|
-
|
|
14
|
-
useEffect(() => {
|
|
15
|
-
styleEmentRef.current = document.createElement('style');
|
|
16
|
-
styleEmentRef.current.setAttribute('data-bspk', 'better-homes-gardens');
|
|
17
|
-
styleEmentRef.current.innerHTML = brandStyle + baseStyle;
|
|
18
|
-
document.head.appendChild(styleEmentRef.current);
|
|
19
|
-
document.body.style.display = '';
|
|
20
|
-
|
|
21
|
-
return () => {
|
|
22
|
-
if (styleEmentRef.current) document.head.removeChild(styleEmentRef.current);
|
|
23
|
-
};
|
|
24
|
-
}, []);
|
|
25
|
-
|
|
26
10
|
return <></>;
|
|
27
11
|
}
|
|
28
12
|
|
|
29
13
|
StylesProviderBetterHomesGardens.bspkName = 'StylesProviderBetterHomesGardens';
|
|
30
14
|
|
|
31
15
|
export { StylesProviderBetterHomesGardens };
|
|
16
|
+
|
|
17
|
+
/** Copyright 2025 Anywhere Real Estate - CC BY 4.0 */
|
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
import baseStyle from './styles/base';
|
|
4
|
-
import brandStyle from './styles/cartus';
|
|
1
|
+
import '@bspk/styles/cartus.css';
|
|
2
|
+
import './base.scss';
|
|
5
3
|
|
|
6
4
|
/**
|
|
7
5
|
* Utility to provide the Cartus styles to the application.
|
|
@@ -9,23 +7,11 @@ import brandStyle from './styles/cartus';
|
|
|
9
7
|
* @name StylesProviderCartus
|
|
10
8
|
*/
|
|
11
9
|
function StylesProviderCartus() {
|
|
12
|
-
const styleEmentRef = useRef<HTMLStyleElement | null>(null);
|
|
13
|
-
|
|
14
|
-
useEffect(() => {
|
|
15
|
-
styleEmentRef.current = document.createElement('style');
|
|
16
|
-
styleEmentRef.current.setAttribute('data-bspk', 'cartus');
|
|
17
|
-
styleEmentRef.current.innerHTML = brandStyle + baseStyle;
|
|
18
|
-
document.head.appendChild(styleEmentRef.current);
|
|
19
|
-
document.body.style.display = '';
|
|
20
|
-
|
|
21
|
-
return () => {
|
|
22
|
-
if (styleEmentRef.current) document.head.removeChild(styleEmentRef.current);
|
|
23
|
-
};
|
|
24
|
-
}, []);
|
|
25
|
-
|
|
26
10
|
return <></>;
|
|
27
11
|
}
|
|
28
12
|
|
|
29
13
|
StylesProviderCartus.bspkName = 'StylesProviderCartus';
|
|
30
14
|
|
|
31
15
|
export { StylesProviderCartus };
|
|
16
|
+
|
|
17
|
+
/** Copyright 2025 Anywhere Real Estate - CC BY 4.0 */
|
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
import baseStyle from './styles/base';
|
|
4
|
-
import brandStyle from './styles/century-21';
|
|
1
|
+
import '@bspk/styles/century-21.css';
|
|
2
|
+
import './base.scss';
|
|
5
3
|
|
|
6
4
|
/**
|
|
7
5
|
* Utility to provide the Century 21 styles to the application.
|
|
@@ -9,23 +7,11 @@ import brandStyle from './styles/century-21';
|
|
|
9
7
|
* @name StylesProviderCentury21
|
|
10
8
|
*/
|
|
11
9
|
function StylesProviderCentury21() {
|
|
12
|
-
const styleEmentRef = useRef<HTMLStyleElement | null>(null);
|
|
13
|
-
|
|
14
|
-
useEffect(() => {
|
|
15
|
-
styleEmentRef.current = document.createElement('style');
|
|
16
|
-
styleEmentRef.current.setAttribute('data-bspk', 'century-21');
|
|
17
|
-
styleEmentRef.current.innerHTML = brandStyle + baseStyle;
|
|
18
|
-
document.head.appendChild(styleEmentRef.current);
|
|
19
|
-
document.body.style.display = '';
|
|
20
|
-
|
|
21
|
-
return () => {
|
|
22
|
-
if (styleEmentRef.current) document.head.removeChild(styleEmentRef.current);
|
|
23
|
-
};
|
|
24
|
-
}, []);
|
|
25
|
-
|
|
26
10
|
return <></>;
|
|
27
11
|
}
|
|
28
12
|
|
|
29
13
|
StylesProviderCentury21.bspkName = 'StylesProviderCentury21';
|
|
30
14
|
|
|
31
15
|
export { StylesProviderCentury21 };
|
|
16
|
+
|
|
17
|
+
/** Copyright 2025 Anywhere Real Estate - CC BY 4.0 */
|
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
import baseStyle from './styles/base';
|
|
4
|
-
import brandStyle from './styles/coldwell-banker';
|
|
1
|
+
import '@bspk/styles/coldwell-banker.css';
|
|
2
|
+
import './base.scss';
|
|
5
3
|
|
|
6
4
|
/**
|
|
7
5
|
* Utility to provide the Coldwell Banker styles to the application.
|
|
@@ -9,23 +7,11 @@ import brandStyle from './styles/coldwell-banker';
|
|
|
9
7
|
* @name StylesProviderColdwellBanker
|
|
10
8
|
*/
|
|
11
9
|
function StylesProviderColdwellBanker() {
|
|
12
|
-
const styleEmentRef = useRef<HTMLStyleElement | null>(null);
|
|
13
|
-
|
|
14
|
-
useEffect(() => {
|
|
15
|
-
styleEmentRef.current = document.createElement('style');
|
|
16
|
-
styleEmentRef.current.setAttribute('data-bspk', 'coldwell-banker');
|
|
17
|
-
styleEmentRef.current.innerHTML = brandStyle + baseStyle;
|
|
18
|
-
document.head.appendChild(styleEmentRef.current);
|
|
19
|
-
document.body.style.display = '';
|
|
20
|
-
|
|
21
|
-
return () => {
|
|
22
|
-
if (styleEmentRef.current) document.head.removeChild(styleEmentRef.current);
|
|
23
|
-
};
|
|
24
|
-
}, []);
|
|
25
|
-
|
|
26
10
|
return <></>;
|
|
27
11
|
}
|
|
28
12
|
|
|
29
13
|
StylesProviderColdwellBanker.bspkName = 'StylesProviderColdwellBanker';
|
|
30
14
|
|
|
31
15
|
export { StylesProviderColdwellBanker };
|
|
16
|
+
|
|
17
|
+
/** Copyright 2025 Anywhere Real Estate - CC BY 4.0 */
|
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
import baseStyle from './styles/base';
|
|
4
|
-
import brandStyle from './styles/corcoran';
|
|
1
|
+
import '@bspk/styles/corcoran.css';
|
|
2
|
+
import './base.scss';
|
|
5
3
|
|
|
6
4
|
/**
|
|
7
5
|
* Utility to provide the Corcoran styles to the application.
|
|
@@ -9,23 +7,11 @@ import brandStyle from './styles/corcoran';
|
|
|
9
7
|
* @name StylesProviderCorcoran
|
|
10
8
|
*/
|
|
11
9
|
function StylesProviderCorcoran() {
|
|
12
|
-
const styleEmentRef = useRef<HTMLStyleElement | null>(null);
|
|
13
|
-
|
|
14
|
-
useEffect(() => {
|
|
15
|
-
styleEmentRef.current = document.createElement('style');
|
|
16
|
-
styleEmentRef.current.setAttribute('data-bspk', 'corcoran');
|
|
17
|
-
styleEmentRef.current.innerHTML = brandStyle + baseStyle;
|
|
18
|
-
document.head.appendChild(styleEmentRef.current);
|
|
19
|
-
document.body.style.display = '';
|
|
20
|
-
|
|
21
|
-
return () => {
|
|
22
|
-
if (styleEmentRef.current) document.head.removeChild(styleEmentRef.current);
|
|
23
|
-
};
|
|
24
|
-
}, []);
|
|
25
|
-
|
|
26
10
|
return <></>;
|
|
27
11
|
}
|
|
28
12
|
|
|
29
13
|
StylesProviderCorcoran.bspkName = 'StylesProviderCorcoran';
|
|
30
14
|
|
|
31
15
|
export { StylesProviderCorcoran };
|
|
16
|
+
|
|
17
|
+
/** Copyright 2025 Anywhere Real Estate - CC BY 4.0 */
|
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
import baseStyle from './styles/base';
|
|
4
|
-
import brandStyle from './styles/denali-boss';
|
|
1
|
+
import '@bspk/styles/denali-boss.css';
|
|
2
|
+
import './base.scss';
|
|
5
3
|
|
|
6
4
|
/**
|
|
7
5
|
* Utility to provide the Denali Boss styles to the application.
|
|
@@ -9,23 +7,11 @@ import brandStyle from './styles/denali-boss';
|
|
|
9
7
|
* @name StylesProviderDenaliBoss
|
|
10
8
|
*/
|
|
11
9
|
function StylesProviderDenaliBoss() {
|
|
12
|
-
const styleEmentRef = useRef<HTMLStyleElement | null>(null);
|
|
13
|
-
|
|
14
|
-
useEffect(() => {
|
|
15
|
-
styleEmentRef.current = document.createElement('style');
|
|
16
|
-
styleEmentRef.current.setAttribute('data-bspk', 'denali-boss');
|
|
17
|
-
styleEmentRef.current.innerHTML = brandStyle + baseStyle;
|
|
18
|
-
document.head.appendChild(styleEmentRef.current);
|
|
19
|
-
document.body.style.display = '';
|
|
20
|
-
|
|
21
|
-
return () => {
|
|
22
|
-
if (styleEmentRef.current) document.head.removeChild(styleEmentRef.current);
|
|
23
|
-
};
|
|
24
|
-
}, []);
|
|
25
|
-
|
|
26
10
|
return <></>;
|
|
27
11
|
}
|
|
28
12
|
|
|
29
13
|
StylesProviderDenaliBoss.bspkName = 'StylesProviderDenaliBoss';
|
|
30
14
|
|
|
31
15
|
export { StylesProviderDenaliBoss };
|
|
16
|
+
|
|
17
|
+
/** Copyright 2025 Anywhere Real Estate - CC BY 4.0 */
|
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
import baseStyle from './styles/base';
|
|
4
|
-
import brandStyle from './styles/era';
|
|
1
|
+
import '@bspk/styles/era.css';
|
|
2
|
+
import './base.scss';
|
|
5
3
|
|
|
6
4
|
/**
|
|
7
5
|
* Utility to provide the ERA styles to the application.
|
|
@@ -9,23 +7,11 @@ import brandStyle from './styles/era';
|
|
|
9
7
|
* @name StylesProviderEra
|
|
10
8
|
*/
|
|
11
9
|
function StylesProviderEra() {
|
|
12
|
-
const styleEmentRef = useRef<HTMLStyleElement | null>(null);
|
|
13
|
-
|
|
14
|
-
useEffect(() => {
|
|
15
|
-
styleEmentRef.current = document.createElement('style');
|
|
16
|
-
styleEmentRef.current.setAttribute('data-bspk', 'era');
|
|
17
|
-
styleEmentRef.current.innerHTML = brandStyle + baseStyle;
|
|
18
|
-
document.head.appendChild(styleEmentRef.current);
|
|
19
|
-
document.body.style.display = '';
|
|
20
|
-
|
|
21
|
-
return () => {
|
|
22
|
-
if (styleEmentRef.current) document.head.removeChild(styleEmentRef.current);
|
|
23
|
-
};
|
|
24
|
-
}, []);
|
|
25
|
-
|
|
26
10
|
return <></>;
|
|
27
11
|
}
|
|
28
12
|
|
|
29
13
|
StylesProviderEra.bspkName = 'StylesProviderEra';
|
|
30
14
|
|
|
31
15
|
export { StylesProviderEra };
|
|
16
|
+
|
|
17
|
+
/** Copyright 2025 Anywhere Real Estate - CC BY 4.0 */
|
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
import baseStyle from './styles/base';
|
|
4
|
-
import brandStyle from './styles/sothebys';
|
|
1
|
+
import '@bspk/styles/sothebys.css';
|
|
2
|
+
import './base.scss';
|
|
5
3
|
|
|
6
4
|
/**
|
|
7
5
|
* Utility to provide the Sotheby's styles to the application.
|
|
@@ -9,23 +7,11 @@ import brandStyle from './styles/sothebys';
|
|
|
9
7
|
* @name StylesProviderSothebys
|
|
10
8
|
*/
|
|
11
9
|
function StylesProviderSothebys() {
|
|
12
|
-
const styleEmentRef = useRef<HTMLStyleElement | null>(null);
|
|
13
|
-
|
|
14
|
-
useEffect(() => {
|
|
15
|
-
styleEmentRef.current = document.createElement('style');
|
|
16
|
-
styleEmentRef.current.setAttribute('data-bspk', 'sothebys');
|
|
17
|
-
styleEmentRef.current.innerHTML = brandStyle + baseStyle;
|
|
18
|
-
document.head.appendChild(styleEmentRef.current);
|
|
19
|
-
document.body.style.display = '';
|
|
20
|
-
|
|
21
|
-
return () => {
|
|
22
|
-
if (styleEmentRef.current) document.head.removeChild(styleEmentRef.current);
|
|
23
|
-
};
|
|
24
|
-
}, []);
|
|
25
|
-
|
|
26
10
|
return <></>;
|
|
27
11
|
}
|
|
28
12
|
|
|
29
13
|
StylesProviderSothebys.bspkName = 'StylesProviderSothebys';
|
|
30
14
|
|
|
31
15
|
export { StylesProviderSothebys };
|
|
16
|
+
|
|
17
|
+
/** Copyright 2025 Anywhere Real Estate - CC BY 4.0 */
|