@bloomreach/react-banana-ui 1.26.0 → 1.27.1
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 +42 -45
- package/dist/bloomreach-react-banana-ui.es.js +12604 -12678
- package/dist/bloomreach-react-banana-ui.es.js.map +1 -1
- package/dist/bloomreach-react-banana-ui.umd.js +21 -20
- package/dist/bloomreach-react-banana-ui.umd.js.map +1 -1
- package/dist/components/buttons/button/button.qa.stories.d.ts +1 -1
- package/dist/components/buttons/button/button.stories.d.ts +1 -1
- package/dist/components/buttons/button/button.types.d.ts +2 -2
- package/dist/components/buttons/button-group/button-group.qa.stories.d.ts +1 -1
- package/dist/components/buttons/button-group/button-group.stories.d.ts +1 -1
- package/dist/components/buttons/toggle-button/toggle-button.d.ts +3 -3
- package/dist/components/buttons/toggle-button/toggle-button.stories.d.ts +2 -2
- package/dist/components/buttons/toggle-button/toggle-button.types.d.ts +1 -1
- package/dist/components/buttons/toggle-button-group/toggle-button-group.d.ts +3 -4
- package/dist/components/buttons/toggle-button-group/toggle-button-group.stories.d.ts +1 -1
- package/dist/components/buttons/toggle-button-group/toggle-button-group.types.d.ts +14 -14
- package/dist/components/data-display/actions-container/actions-container.qa.stories.d.ts +1 -1
- package/dist/components/data-display/actions-container/actions-container.stories.d.ts +1 -1
- package/dist/components/data-display/actions-container/actions-container.types.d.ts +4 -4
- package/dist/components/data-display/asset-tag/asset-tag.qa.stories.d.ts +1 -1
- package/dist/components/data-display/asset-tag/asset-tag.stories.d.ts +1 -1
- package/dist/components/data-display/asset-tag/asset-tag.types.d.ts +9 -9
- package/dist/components/data-display/badge/badge.qa.stories.d.ts +1 -1
- package/dist/components/data-display/badge/badge.stories.d.ts +1 -1
- package/dist/components/data-display/badge/badge.types.d.ts +1 -1
- package/dist/components/data-display/description/description.qa.stories.d.ts +1 -1
- package/dist/components/data-display/description/description.stories.d.ts +1 -1
- package/dist/components/data-display/description/description.types.d.ts +4 -4
- package/dist/components/data-display/filter-tag/filter-tag.qa.stories.d.ts +1 -1
- package/dist/components/data-display/filter-tag/filter-tag.stories.d.ts +1 -1
- package/dist/components/data-display/filter-tag/filter-tag.types.d.ts +8 -8
- package/dist/components/data-display/header/header.qa.stories.d.ts +1 -1
- package/dist/components/data-display/header/header.stories.d.ts +1 -1
- package/dist/components/data-display/header/header.types.d.ts +4 -4
- package/dist/components/data-display/index.d.ts +2 -2
- package/dist/components/data-display/input-tag/input-tag.qa.stories.d.ts +1 -1
- package/dist/components/data-display/input-tag/input-tag.stories.d.ts +1 -1
- package/dist/components/data-display/input-tag/input-tag.types.d.ts +16 -16
- package/dist/components/data-display/table/table-context.d.ts +1 -1
- package/dist/components/data-display/table/table-section-context.d.ts +1 -1
- package/dist/components/data-display/table/table.qa.stories.d.ts +1 -1
- package/dist/components/data-display/table/table.stories.d.ts +1 -1
- package/dist/components/data-display/table/table.types.d.ts +10 -10
- package/dist/components/data-display/table-body/table-body.types.d.ts +5 -5
- package/dist/components/data-display/table-cell/table-cell.types.d.ts +5 -5
- package/dist/components/data-display/table-cell-action/table-cell-action.types.d.ts +4 -4
- package/dist/components/data-display/table-foot/table-foot.d.ts +5 -5
- package/dist/components/data-display/table-foot/table-foot.types.d.ts +4 -4
- package/dist/components/data-display/table-head/table-head.types.d.ts +4 -4
- package/dist/components/data-display/table-row/table-row-context.d.ts +1 -1
- package/dist/components/data-display/table-row/table-row.types.d.ts +4 -4
- package/dist/components/data-display/table-sort-label/table-sort-label.types.d.ts +5 -5
- package/dist/components/data-display/tag/tag.types.d.ts +18 -18
- package/dist/components/data-display/tag-group/tag-group.qa.stories.d.ts +1 -1
- package/dist/components/data-display/tag-group/tag-group.stories.d.ts +1 -1
- package/dist/components/data-display/tag-group/tag-group.types.d.ts +4 -4
- package/dist/components/data-display/typography/typography.d.ts +23 -2
- package/dist/components/data-display/typography/typography.qa.stories.d.ts +1 -1
- package/dist/components/data-display/typography/typography.stories.d.ts +1 -1
- package/dist/components/data-display/typography/typography.types.d.ts +22 -23
- package/dist/components/dropdowns/menu/index.d.ts +6 -6
- package/dist/components/dropdowns/menu/menu/menu.stories.d.ts +1 -1
- package/dist/components/dropdowns/menu/menu/menu.types.d.ts +4 -4
- package/dist/components/dropdowns/menu/menu-button/menu-button.d.ts +1 -2
- package/dist/components/dropdowns/menu/menu-button/menu-button.stories.d.ts +1 -1
- package/dist/components/dropdowns/menu/menu-button/menu-button.types.d.ts +1 -2
- package/dist/components/dropdowns/menu/menu-content/menu-content.stories.d.ts +1 -1
- package/dist/components/dropdowns/menu/menu-group/menu-group.stories.d.ts +1 -1
- package/dist/components/dropdowns/menu/menu-group-label/menu-group-label.stories.d.ts +1 -1
- package/dist/components/dropdowns/menu/menu-item/menu-item.stories.d.ts +1 -1
- package/dist/components/dropdowns/menu/menu-item/menu-item.types.d.ts +4 -4
- package/dist/components/dropdowns/menu/menu-separator/menu-separator.stories.d.ts +1 -1
- package/dist/components/dropdowns/menu/menu.stories.d.ts +1 -1
- package/dist/components/feedback/alert/alert.qa.stories.d.ts +1 -1
- package/dist/components/feedback/alert/alert.stories.d.ts +1 -1
- package/dist/components/feedback/alert/alert.types.d.ts +9 -9
- package/dist/components/foundations/icon/deprecated/index.d.ts +4 -4
- package/dist/components/foundations/icon/icon.d.ts +1 -1
- package/dist/components/foundations/icon/icon.qa.stories.d.ts +1 -1
- package/dist/components/foundations/icon/icon.stories.d.ts +1 -1
- package/dist/components/foundations/icon/icon.types.d.ts +4 -4
- package/dist/components/foundations/icon/icons/index.d.ts +245 -245
- package/dist/components/foundations/icon/index.d.ts +1 -1
- package/dist/components/inputs/autocomplete/autocomplete.qa.stories.d.ts +4 -2
- package/dist/components/inputs/autocomplete/autocomplete.stories.d.ts +9 -7
- package/dist/components/inputs/autocomplete/autocomplete.types.d.ts +19 -14
- package/dist/components/inputs/base-field/base-field.d.ts +0 -1
- package/dist/components/inputs/base-field/base-field.types.d.ts +1 -1
- package/dist/components/inputs/base-input/base-input.d.ts +0 -5
- package/dist/components/inputs/base-input/base-input.types.d.ts +5 -5
- package/dist/components/inputs/calendar/calendar.qa.stories.d.ts +1 -1
- package/dist/components/inputs/calendar/calendar.stories.d.ts +2 -2
- package/dist/components/inputs/calendar/calendar.types.d.ts +3 -3
- package/dist/components/inputs/calendar-cell/calendar-cell.types.d.ts +4 -4
- package/dist/components/inputs/checkbox/checkbox.qa.stories.d.ts +1 -1
- package/dist/components/inputs/checkbox/checkbox.stories.d.ts +1 -1
- package/dist/components/inputs/checkbox/checkbox.types.d.ts +13 -13
- package/dist/components/inputs/checkbox-field/checkbox-field.qa.stories.d.ts +1 -1
- package/dist/components/inputs/checkbox-field/checkbox-field.stories.d.ts +1 -1
- package/dist/components/inputs/checkbox-group/checkbox-group-context.d.ts +2 -2
- package/dist/components/inputs/checkbox-group/checkbox-group.qa.stories.d.ts +1 -1
- package/dist/components/inputs/checkbox-group/checkbox-group.stories.d.ts +1 -1
- package/dist/components/inputs/date-input/date-input.qa.stories.d.ts +1 -1
- package/dist/components/inputs/date-input/date-input.stories.d.ts +1 -1
- package/dist/components/inputs/date-picker/date-picker.stories.d.ts +1 -1
- package/dist/components/inputs/date-picker/use-date-picker.d.ts +2 -2
- package/dist/components/inputs/date-segment/date-segment.types.d.ts +4 -4
- package/dist/components/inputs/field-label/field-label.d.ts +2 -2
- package/dist/components/inputs/field-label/field-label.types.d.ts +5 -5
- package/dist/components/inputs/index.d.ts +2 -2
- package/dist/components/inputs/input-field/input-field.qa.stories.d.ts +1 -1
- package/dist/components/inputs/input-field/input-field.stories.d.ts +1 -1
- package/dist/components/inputs/internal.d.ts +1 -1
- package/dist/components/inputs/radio/radio.qa.stories.d.ts +1 -1
- package/dist/components/inputs/radio/radio.stories.d.ts +1 -1
- package/dist/components/inputs/radio-field/radio-field.qa.stories.d.ts +1 -1
- package/dist/components/inputs/radio-field/radio-field.stories.d.ts +1 -1
- package/dist/components/inputs/radio-group/radio-group-context.d.ts +3 -3
- package/dist/components/inputs/radio-group/radio-group.qa.stories.d.ts +1 -1
- package/dist/components/inputs/radio-group/radio-group.stories.d.ts +1 -1
- package/dist/components/inputs/radio-group/radio-group.types.d.ts +2 -2
- package/dist/components/inputs/select/select.types.d.ts +9 -9
- package/dist/components/inputs/select-field/select-field.qa.stories.d.ts +1 -1
- package/dist/components/inputs/select-field/select-field.stories.d.ts +1 -1
- package/dist/components/inputs/select-field/select-field.types.d.ts +8 -8
- package/dist/components/inputs/select-option/select-option.types.d.ts +14 -14
- package/dist/components/inputs/text-field/text-field.qa.stories.d.ts +1 -1
- package/dist/components/inputs/text-field/text-field.stories.d.ts +1 -1
- package/dist/components/inputs/toggle-field/toggle-field.qa.stories.d.ts +1 -1
- package/dist/components/inputs/toggle-field/toggle-field.stories.d.ts +1 -1
- package/dist/components/inputs/toggle-field/toggle-field.types.d.ts +1 -1
- package/dist/components/layout/box/box.qa.stories.d.ts +1 -1
- package/dist/components/layout/box/box.stories.d.ts +1 -1
- package/dist/components/layout/box/box.types.d.ts +4 -4
- package/dist/components/layout/flex/flex.qa.stories.d.ts +1 -1
- package/dist/components/layout/flex/flex.stories.d.ts +1 -1
- package/dist/components/layout/flex/flex.types.d.ts +4 -4
- package/dist/components/layout/index.d.ts +1 -1
- package/dist/components/lists/internal.d.ts +2 -2
- package/dist/components/lists/listbox/listbox.types.d.ts +4 -4
- package/dist/components/lists/listbox-group/listbox-group.types.d.ts +4 -4
- package/dist/components/lists/listbox-group-label/listbox-group-label.types.d.ts +4 -4
- package/dist/components/lists/listbox-item/listbox-item.types.d.ts +8 -8
- package/dist/components/navigation/pagination/pagination-context.d.ts +1 -1
- package/dist/components/navigation/pagination/pagination-navigation-helpers.d.ts +3 -3
- package/dist/components/navigation/pagination/pagination.qa.stories.d.ts +1 -1
- package/dist/components/navigation/pagination/pagination.stories.d.ts +1 -1
- package/dist/components/navigation/pagination/pagination.types.d.ts +9 -9
- package/dist/components/navigation/tabs/tab/tab.types.d.ts +9 -9
- package/dist/components/navigation/tabs/tab-list/tab-list.types.d.ts +4 -4
- package/dist/components/navigation/tabs/tab-panel/tab-panel.types.d.ts +8 -8
- package/dist/components/navigation/tabs/tabs/tabs.types.d.ts +11 -11
- package/dist/components/navigation/tabs/tabs.qa.stories.d.ts +1 -1
- package/dist/components/navigation/tabs/tabs.stories.d.ts +1 -1
- package/dist/components/popovers/modal/index.d.ts +4 -4
- package/dist/components/popovers/modal/modal.qa.stories.d.ts +1 -1
- package/dist/components/popovers/modal/modal.types.d.ts +32 -32
- package/dist/components/popovers/popup/popup/index.d.ts +1 -1
- package/dist/components/popovers/popup/popup/popup.types.d.ts +6 -7
- package/dist/components/popovers/popup/popup/use-popup.d.ts +8 -8
- package/dist/components/popovers/popup/popup-content/popup-content.types.d.ts +10 -10
- package/dist/components/popovers/popup/popup.stories.d.ts +1 -1
- package/dist/components/popovers/tooltip/tooltip.qa.stories.d.ts +1 -1
- package/dist/components/popovers/tooltip/tooltip.stories.d.ts +1 -1
- package/dist/components/popovers/tooltip/tooltip.types.d.ts +13 -13
- package/dist/components/surfaces/accordion/accordion/accordion.types.d.ts +4 -4
- package/dist/components/surfaces/accordion/accordion-content/accordion-content.types.d.ts +4 -4
- package/dist/components/surfaces/accordion/accordion-filter-header/accordion-filter-header.types.d.ts +5 -5
- package/dist/components/surfaces/accordion/accordion-group/accordion-group.types.d.ts +29 -29
- package/dist/components/surfaces/accordion/accordion-header/accordion-header.types.d.ts +4 -4
- package/dist/components/surfaces/accordion/accordion.qa.stories.d.ts +1 -1
- package/dist/components/surfaces/accordion/accordion.stories.d.ts +1 -1
- package/dist/style.css +1 -1
- package/dist/utils/date/aria-date-conversion.d.ts +10 -10
- package/dist/utils/date/date-validation.d.ts +5 -5
- package/dist/utils/filter-style-props.d.ts +29 -29
- package/dist/utils/hooks/index.d.ts +1 -0
- package/dist/utils/hooks/use-controlled-value.d.ts +1 -1
- package/dist/utils/hooks/use-element-width.d.ts +6 -0
- package/dist/utils/hooks/use-hover.d.ts +3 -3
- package/dist/utils/types/index.d.ts +2 -2
- package/dist/utils/types/polymorphic-prop.types.d.ts +7 -7
- package/dist/utils/types/slots.types.d.ts +16 -16
- package/dist/utils/types/styles.types.d.ts +170 -170
- package/package.json +90 -67
- /package/dist/components/foundations/icon/deprecated/{NextStepIcon.d.ts → next-step-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/deprecated/{SortAscIcon.d.ts → sort-asc-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/deprecated/{SortDescIcon.d.ts → sort-desc-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/deprecated/{SortInactiveIcon.d.ts → sort-inactive-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{AbTestIcon.d.ts → ab-test-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{AggregateIcon.d.ts → aggregate-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{AnalyticsIcon.d.ts → analytics-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{AndroidIcon.d.ts → android-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{AnonymizeIcon.d.ts → anonymize-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{AppleIcon.d.ts → apple-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{ArchiveAltIcon.d.ts → archive-alt-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{ArchiveIcon.d.ts → archive-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{ArrowCollapseIcon.d.ts → arrow-collapse-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{ArrowDownIcon.d.ts → arrow-down-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{ArrowExpandIcon.d.ts → arrow-expand-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{ArrowKeyboardNextIcon.d.ts → arrow-keyboard-next-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{ArrowKeyboardPreviousIcon.d.ts → arrow-keyboard-previous-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{ArrowKeyboardUpIcon.d.ts → arrow-keyboard-up-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{ArrowLeftIcon.d.ts → arrow-left-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{ArrowRightIcon.d.ts → arrow-right-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{ArrowUpIcon.d.ts → arrow-up-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{AttributeSlotIcon.d.ts → attribute-slot-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{AxisIcon.d.ts → axis-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{AxisLimtIcon.d.ts → axis-limt-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{BarChartIcon.d.ts → bar-chart-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{BooleanIcon.d.ts → boolean-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{BoostIcon.d.ts → boost-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{BracketsCancelIcon.d.ts → brackets-cancel-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{BracketsIcon.d.ts → brackets-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{BrowserIcon.d.ts → browser-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{BrowserPushIcon.d.ts → browser-push-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{BuryIcon.d.ts → bury-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{CalendarAltIcon.d.ts → calendar-alt-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{CalendarIcon.d.ts → calendar-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{CatalogIcon.d.ts → catalog-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{ChatAddIcon.d.ts → chat-add-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{ChatIcon.d.ts → chat-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{ChatsIcon.d.ts → chats-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{CheckCircleIcon.d.ts → check-circle-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{CheckFilledIcon.d.ts → check-filled-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{CheckIcon.d.ts → check-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{CheckSmallIcon.d.ts → check-small-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{ChevronDownFillIcon.d.ts → chevron-down-fill-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{ChevronDownIcon.d.ts → chevron-down-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{ChevronLeftFillIcon.d.ts → chevron-left-fill-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{ChevronLeftIcon.d.ts → chevron-left-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{ChevronRightFillIcon.d.ts → chevron-right-fill-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{ChevronRightIcon.d.ts → chevron-right-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{ChevronUpFillIcon.d.ts → chevron-up-fill-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{ChevronUpIcon.d.ts → chevron-up-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{ClearFillIcon.d.ts → clear-fill-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{ClearIcon.d.ts → clear-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{ClipboardAddIcon.d.ts → clipboard-add-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{ClockCircleIcon.d.ts → clock-circle-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{CloneIcon.d.ts → clone-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{CloseIcon.d.ts → close-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{CloseSmallIcon.d.ts → close-small-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{CloudCheckIcon.d.ts → cloud-check-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{CloudDownloadIcon.d.ts → cloud-download-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{CodeIcon.d.ts → code-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{ColorPickerAltIcon.d.ts → color-picker-alt-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{ColorPickerIcon.d.ts → color-picker-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{ColumnsIcon.d.ts → columns-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{ConditionAltIcon.d.ts → condition-alt-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{ConditionIcon.d.ts → condition-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{ConsoleIcon.d.ts → console-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{ConstantAltIcon.d.ts → constant-alt-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{ConstantIcon.d.ts → constant-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{ContextualPersonalizationIcon.d.ts → contextual-personalization-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{CopyIcon.d.ts → copy-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{CopyToDashboardIcon.d.ts → copy-to-dashboard-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{CsvIcon.d.ts → csv-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{CustomRowIcon.d.ts → custom-row-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{CustomerIcon.d.ts → customer-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{CustomersFilterIcon.d.ts → customers-filter-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{CustomersSegmentationIcon.d.ts → customers-segmentation-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{DateTimeIcon.d.ts → date-time-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{DescriptionIcon.d.ts → description-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{DesktopIcon.d.ts → desktop-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{DisabledIcon.d.ts → disabled-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{DivideIcon.d.ts → divide-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{DocumentationIcon.d.ts → documentation-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{DownloadIcon.d.ts → download-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{DragHorizontalIcon.d.ts → drag-horizontal-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{DragVericalIcon.d.ts → drag-verical-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{EditIcon.d.ts → edit-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{EducationHubIcon.d.ts → education-hub-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{EllipsisVerticalIcon.d.ts → ellipsis-vertical-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{EllipsissHorizontalIcon.d.ts → ellipsiss-horizontal-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{EmailIcon.d.ts → email-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{EmojiPickerIcon.d.ts → emoji-picker-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{EmptyIcon.d.ts → empty-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{ErrorFillIcon.d.ts → error-fill-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{EventIcon.d.ts → event-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{EventsSegmentationIcon.d.ts → events-segmentation-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{ExperimentIcon.d.ts → experiment-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{ExposeIcon.d.ts → expose-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{ExpressionIcon.d.ts → expression-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{ExternalLinkIcon.d.ts → external-link-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{EyeCrossedIcon.d.ts → eye-crossed-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{EyeIcon.d.ts → eye-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{FastForwardIcon.d.ts → fast-forward-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{FileIcon.d.ts → file-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{FileVideoIcon.d.ts → file-video-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{FilterIcon.d.ts → filter-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{FireIcon.d.ts → fire-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{FolderEmptyIcon.d.ts → folder-empty-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{FolderFullIcon.d.ts → folder-full-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{ForceAddToRecallIcon.d.ts → force-add-to-recall-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{ForceAddToRecallUndoIcon.d.ts → force-add-to-recall-undo-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{FormulaExpressionIcon.d.ts → formula-expression-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{FormulaIcon.d.ts → formula-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{FromStartAltIcon.d.ts → from-start-alt-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{FullscreenIcon.d.ts → fullscreen-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{GiftIcon.d.ts → gift-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{GoToIcon.d.ts → go-to-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{GraphStatsIcon.d.ts → graph-stats-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{GridAltIcon.d.ts → grid-alt-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{GridIcon.d.ts → grid-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{HelpIcon.d.ts → help-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{HistoryIcon.d.ts → history-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{HomeIcon.d.ts → home-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{HtmlIcon.d.ts → html-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{ImageSearchIcon.d.ts → image-search-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{ImagesIcon.d.ts → images-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{ImpactDownIcon.d.ts → impact-down-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{InfoFilledIcon.d.ts → info-filled-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{InfoIcon.d.ts → info-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{InfoSmallIcon.d.ts → info-small-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{InternetIcon.d.ts → internet-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{KeyIcon.d.ts → key-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{LayoutIcon.d.ts → layout-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{LikeIcon.d.ts → like-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{LineChartIcon.d.ts → line-chart-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{LinkIcon.d.ts → link-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{ListIcon.d.ts → list-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{LoaderIcon.d.ts → loader-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{LockIcon.d.ts → lock-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{MapIcon.d.ts → map-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{MetricAltIcon.d.ts → metric-alt-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{MinusIcon.d.ts → minus-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{MobileAppInboxIcon.d.ts → mobile-app-inbox-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{MobileImageMessageIcon.d.ts → mobile-image-message-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{MobilePhoneLandscapeIcon.d.ts → mobile-phone-landscape-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{MobilePhonePortraitIcon.d.ts → mobile-phone-portrait-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{MobilePushIcon.d.ts → mobile-push-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{MobileSmsIcon.d.ts → mobile-sms-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{MobileTextMessageIcon.d.ts → mobile-text-message-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{MoveIcon.d.ts → move-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{MultiParentRejectedIcon.d.ts → multi-parent-rejected-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{MultiParentSelectedIcon.d.ts → multi-parent-selected-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{MultiParentUnassignedIcon.d.ts → multi-parent-unassigned-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{NegationIcon.d.ts → negation-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{NotificationIcon.d.ts → notification-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{NumberIcon.d.ts → number-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{OfflineFillIcon.d.ts → offline-fill-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{OfflineIcon.d.ts → offline-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{OutOfStockIcon.d.ts → out-of-stock-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{PagesIcon.d.ts → pages-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{PaintIcon.d.ts → paint-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{ParagraphCenterAlignIcon.d.ts → paragraph-center-align-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{ParagraphLeftAlignIcon.d.ts → paragraph-left-align-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{ParagraphRightAlignIcon.d.ts → paragraph-right-align-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{PassDownIcon.d.ts → pass-down-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{PassThroughIcon.d.ts → pass-through-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{PercentageIcon.d.ts → percentage-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{PersAlt1Icon.d.ts → pers-alt-1-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{PersAlt2Icon.d.ts → pers-alt-2-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{PersAlt3Icon.d.ts → pers-alt-3-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{PersAlt4Icon.d.ts → pers-alt-4-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{PictureAltIcon.d.ts → picture-alt-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{PictureIcon.d.ts → picture-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{PinIcon.d.ts → pin-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{PlugPlayIcon.d.ts → plug-play-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{PlusCircleFillIcon.d.ts → plus-circle-fill-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{PlusCircleIcon.d.ts → plus-circle-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{PlusIcon.d.ts → plus-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{PoverButtonIcon.d.ts → pover-button-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{ProductSlotsIcon.d.ts → product-slots-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{ReceiveIcon.d.ts → receive-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{RefreshIcon.d.ts → refresh-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{ReleaseNotesIcon.d.ts → release-notes-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{RenameAltIcon.d.ts → rename-alt-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{RenameIcon.d.ts → rename-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{ReorderIcon.d.ts → reorder-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{ReportIcon.d.ts → report-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{RetentionIcon.d.ts → retention-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{RewertLeftIcon.d.ts → rewert-left-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{RewertRightIcon.d.ts → rewert-right-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{RibbonIcon.d.ts → ribbon-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{RoadmapIcon.d.ts → roadmap-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{RobotIcon.d.ts → robot-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{RuleLabelIcon.d.ts → rule-label-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{RunningAggregateIcon.d.ts → running-aggregate-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{SaveIcon.d.ts → save-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{ScenarioIcon.d.ts → scenario-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{SearchIcon.d.ts → search-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{SecurityShieldIcon.d.ts → security-shield-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{SendIcon.d.ts → send-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{SettingsAltIcon.d.ts → settings-alt-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{SettingsIcon.d.ts → settings-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{ShareIcon.d.ts → share-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{ShopIcon.d.ts → shop-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{ShrinkIcon.d.ts → shrink-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{SortIcon.d.ts → sort-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{SplitFlowIcon.d.ts → split-flow-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{SqlIcon.d.ts → sql-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{StarFillIcon.d.ts → star-fill-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{StarIcon.d.ts → star-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{StartFillIcon.d.ts → start-fill-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{StartIcon.d.ts → start-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{StatusDotIcon.d.ts → status-dot-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{StopIcon.d.ts → stop-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{StopwatchIcon.d.ts → stopwatch-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{StringComponentIcon.d.ts → string-component-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{StringIcon.d.ts → string-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{SuggestionIcon.d.ts → suggestion-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{SurveyIcon.d.ts → survey-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{SwapIcon.d.ts → swap-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{TabletLangscapeIcon.d.ts → tablet-langscape-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{TabletPortraitIcon.d.ts → tablet-portrait-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{TagAltIcon.d.ts → tag-alt-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{TagIcon.d.ts → tag-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{TemplateIcon.d.ts → template-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{TextBoldIcon.d.ts → text-bold-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{TextItalicIcon.d.ts → text-italic-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{TextStyleIcon.d.ts → text-style-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{TragetIcon.d.ts → traget-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{TransferIcon.d.ts → transfer-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{TrashIcon.d.ts → trash-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{TrendIcon.d.ts → trend-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{UnExposeIcon.d.ts → un-expose-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{UnarchiveAltIcon.d.ts → unarchive-alt-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{UndoIcon.d.ts → undo-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{UnlinkIcon.d.ts → unlink-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{UnlockIcon.d.ts → unlock-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{UntilNowAltIcon.d.ts → until-now-alt-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{UploadIcon.d.ts → upload-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{UsagesIcon.d.ts → usages-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{UsersIcon.d.ts → users-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{VariantsIcon.d.ts → variants-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{VisualIcon.d.ts → visual-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{VoucherIcon.d.ts → voucher-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{WaitIcon.d.ts → wait-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{WalkthroughsIcon.d.ts → walkthroughs-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{WarningFillIcon.d.ts → warning-fill-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{WebhookIcon.d.ts → webhook-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{WeblayerIcon.d.ts → weblayer-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{WrenchIcon.d.ts → wrench-icon.d.ts} +0 -0
- /package/dist/{setupTests.d.ts → setup-tests.d.ts} +0 -0
- /package/dist/utils/{Slot.d.ts → slot.d.ts} +0 -0
- /package/dist/utils/{SlotsContext.d.ts → slots-context.d.ts} +0 -0
package/README.md
CHANGED
|
@@ -4,17 +4,14 @@ This is a component library of all basic and common components across all
|
|
|
4
4
|
bloomreach project apps. This will be primarily primitive components and
|
|
5
5
|
possibly some specialized items as well.
|
|
6
6
|
|
|
7
|
-
|
|
8
7
|
## Viewing Available Components
|
|
9
8
|
|
|
10
9
|
Visit the library [storybook](https://design.corp.bloomreach.com/storybooks/react-banana-ui/master/) to view the latest available components.
|
|
11
10
|
|
|
12
|
-
|
|
13
11
|
## Guide from Figma Design to the React Banana UI Components
|
|
14
12
|
|
|
15
13
|
Use the following [guide](./docs/guide-from-figma-to-rbui.md) to translate a Figma design into a functional page using RBUI components.
|
|
16
14
|
|
|
17
|
-
|
|
18
15
|
## Using library in a project
|
|
19
16
|
|
|
20
17
|
Install the library as a dependency in the project
|
|
@@ -35,7 +32,7 @@ import { <ComponentName> } from "@bloomreach/react-banana-ui";
|
|
|
35
32
|
|
|
36
33
|
Do the following steps to make styles and fonts available
|
|
37
34
|
|
|
38
|
-
|
|
35
|
+
- Import the library styles in the main application style file as the following line
|
|
39
36
|
|
|
40
37
|
```css
|
|
41
38
|
// main.scss
|
|
@@ -44,7 +41,8 @@ Do the following steps to make styles and fonts available
|
|
|
44
41
|
|
|
45
42
|
...
|
|
46
43
|
```
|
|
47
|
-
|
|
44
|
+
|
|
45
|
+
- The font family for your `html` and `body` tags are already specified in the library styles
|
|
48
46
|
|
|
49
47
|
### IMPORTANT
|
|
50
48
|
|
|
@@ -52,14 +50,15 @@ Please, avoid using `--rbui-...` and/or `--banana-...` CSS custom properties dir
|
|
|
52
50
|
as they are intended to be used inside the library only.
|
|
53
51
|
Stick to use library components to bring the styles into the application.
|
|
54
52
|
|
|
55
|
-
|
|
56
53
|
## Development
|
|
57
54
|
|
|
58
55
|
### Prerequisites
|
|
56
|
+
|
|
59
57
|
- Node.js (latest LTS)
|
|
60
58
|
- NPM (latest, compatible with Node.js)
|
|
61
59
|
|
|
62
60
|
Install all dependencies
|
|
61
|
+
|
|
63
62
|
```sh
|
|
64
63
|
npm ci
|
|
65
64
|
```
|
|
@@ -78,17 +77,16 @@ To manage and automate complex release workflow based on multiple Git branches a
|
|
|
78
77
|
|
|
79
78
|
The current branch types are explained below.
|
|
80
79
|
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
80
|
+
- The `master` branch - is a permanent branch, where releases happen for the latest versions. All versions from that branch will be published to the npm registry with a `latest` dist-tag;
|
|
81
|
+
- The `next` branch should be used when we want to develop an important feature, which is a breaking change. Considering the scope of this feature we want to make it available, at first, only to a limited amount of users in order to get feedback or run tests. Once we get that feedback we can make improvements and ultimately make the new feature available to all users by merging changes into the `master` branch; Releases from the `next` branch will be published to the npm registry with a `next` dist-tag;
|
|
82
|
+
- The maintenance branches (i.e. `2.x` to maintain release `v2`). The maintenance branch is a type of branch that allows publishing releases with a [semantic version](https://semver.org/) on top of the codebase of an old release. This is useful when you need to provide fixes or features to users who cannot upgrade to the last version of the package;
|
|
83
|
+
- Feature branches (like `feature/BR-XX-my-awesome-feature`, `fix/BR-XX-that-is-life`) or any other kind of branch to commit small units of work that do not produce releases (until merged into one of the branches above). These branches are ignored from now on as they don’t have to trigger releases;
|
|
86
84
|
|
|
87
85
|
The following changes should be done to change or extend the current setup:
|
|
88
86
|
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
87
|
+
- Add a new release/maintenance/pre-release branch to the `semantic-release` configuration in `./.releaserc`, check the [documentation](https://semantic-release.gitbook.io/semantic-release/usage/configuration#branches) for more details;
|
|
88
|
+
- Update the Gitlab pipeline `release` job to allow running it with the new branch, check `./.gitlab-ci.yml`;
|
|
89
|
+
- Verify that the new branch is marked as `protected` in the repository settings.
|
|
92
90
|
|
|
93
91
|
Find more examples of possible release workflows in the official `semantic-release` [documentation](https://semantic-release.gitbook.io/semantic-release/recipes/release-workflow).
|
|
94
92
|
|
|
@@ -115,11 +113,11 @@ The `footer` is optional. The [Commit Message Footer](#commit-message-footer) fo
|
|
|
115
113
|
|
|
116
114
|
### The commit contains the following structural elements:
|
|
117
115
|
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
116
|
+
- `fix`: a commit of the type fix patches a bug in your codebase (this correlates with `PATCH` in Semantic Versioning).
|
|
117
|
+
- `feat`: a commit of the type feat introduces a new feature to the codebase (this correlates with `MINOR` in Semantic Versioning).
|
|
118
|
+
- `BREAKING CHANGE`: a commit that has a footer BREAKING CHANGE:, or appends a `!` after the `type/scope`, introduces a breaking API change (correlating with `MAJOR` in Semantic Versioning). A BREAKING CHANGE can be part of commits of any type.
|
|
119
|
+
- types other than `fix`: and `feat`: are allowed, see [types](#type).
|
|
120
|
+
- footers other than BREAKING CHANGE: <description> may be provided and follow a convention similar to git trailer format.
|
|
123
121
|
|
|
124
122
|
Additional types are not mandated by the Conventional Commits specification, and have no implicit effect in Semantic Versioning (unless they include a **BREAKING CHANGE**).
|
|
125
123
|
|
|
@@ -141,17 +139,17 @@ The `<type>` and `<summary>` fields are mandatory, the `(<scope>)` field is opti
|
|
|
141
139
|
|
|
142
140
|
Must be one of the following:
|
|
143
141
|
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
142
|
+
- `build` - changes that affect the build system or external dependencies; Hidden from the release notes;
|
|
143
|
+
- `chore` - changes which are not fit to the rest of the types. Hidden from the release notes;
|
|
144
|
+
- `ci` - changes to our CI configuration files and scripts. Hidden from the release notes;
|
|
145
|
+
- `docs` - documentation only changes. Hidden from the release notes;
|
|
146
|
+
- `feat` - a new feature. Appeared in the release notes under section `Features`;
|
|
147
|
+
- `fix` - a bug fix. Appeared in the release notes under section `Bug Fixes`;
|
|
148
|
+
- `perf` - a code change that improves performance. Appeared in the release notes under section `Performance Improvements`;
|
|
149
|
+
- `refactor` - a code change that neither fixes a bug nor adds a feature. Hidden from the release notes;
|
|
150
|
+
- `revert` - revert of the previous changes. Appeared in the release notes under section `Reverts`;
|
|
151
|
+
- `style` - changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc). Hidden from the release notes;
|
|
152
|
+
- `test` - adding missing tests or correcting existing tests. Hidden from the release notes.
|
|
155
153
|
|
|
156
154
|
If the prefix is `feat`, `fix`, `perf` or `revert`, it will appear in the release notes. However if there is any **BREAKING CHANGE**, the commit will always appear in the changelog.
|
|
157
155
|
|
|
@@ -162,11 +160,12 @@ Other prefixes are up to your discretion. Suggested prefixes are `build`, `ci`,
|
|
|
162
160
|
Not used currently.
|
|
163
161
|
|
|
164
162
|
#### Summary
|
|
163
|
+
|
|
165
164
|
Use the summary field to provide a succinct description of the change:
|
|
166
165
|
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
166
|
+
- use the imperative, present tense: "change" not "changed" nor "changes"
|
|
167
|
+
- don't capitalize the first letter
|
|
168
|
+
- no dot (.) at the end
|
|
170
169
|
|
|
171
170
|
### Commit Message Body
|
|
172
171
|
|
|
@@ -199,9 +198,8 @@ If the commit reverts a previous commit, it should begin with `revert: `, follow
|
|
|
199
198
|
|
|
200
199
|
The content of the commit message body should contain:
|
|
201
200
|
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
201
|
+
- information about the SHA of the commit being reverted in the following format: `This reverts commit <SHA>`,
|
|
202
|
+
- a clear description of the reason for reverting the commit message.
|
|
205
203
|
|
|
206
204
|
## Creating a new component
|
|
207
205
|
|
|
@@ -224,7 +222,6 @@ component-name.test.tsx // E2E tests
|
|
|
224
222
|
|
|
225
223
|
**Note**: The script doesn't create the `index.ts` file inside `./src/components/<group>` folder. It should be created manually or updated already existing `index.ts` file.
|
|
226
224
|
|
|
227
|
-
|
|
228
225
|
## Storybook
|
|
229
226
|
|
|
230
227
|
The [Storybook](https://design.corp.bloomreach.com/storybooks/react-banana-ui/master/) is used to develop and view components in isolation. The storybook files should end with `*.stories.tsx` and be placed close to the component or module which is going to be documented for all new or rewritten components. The `./stories` folder should locate only generic information about the library itself and additionally, complex stories involving multiple components.
|
|
@@ -283,14 +280,14 @@ npm run release:dry-run
|
|
|
283
280
|
|
|
284
281
|
The Gitlab pipeline runs all the checks and if the library is in good order:
|
|
285
282
|
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
283
|
+
- The [release notes](./RELEASE_NOTES.md) will be updated according commit messages history;
|
|
284
|
+
- The library version will be bumped;
|
|
285
|
+
- The new commit will be created with a version and changed release notes;
|
|
286
|
+
- The new git tag will be created in the repository;
|
|
287
|
+
- The new version of the library will be published to npm;
|
|
291
288
|
|
|
292
289
|
Only a few manual steps should be done after all:
|
|
293
290
|
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
291
|
+
- Announce in the slack channel [#react-banana-ui-component-library](https://bloomreach.slack.com/archives/C05E4672ZLZ) about new release :tada:;
|
|
292
|
+
- Mark the new version as `released` in the [releases section in Jira](https://bloomreach.atlassian.net/projects/BU?selectedItem=com.atlassian.jira.jira-projects-plugin%3Arelease-page) once the ticket is merged and closed;
|
|
293
|
+
- Take a break and then pick up the next challenge :muscle:!
|