@veeqo/ui 16.4.1 → 16.6.0-beta-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/dist/components/Accordion/Accordion.module.scss.cjs +2 -2
- package/dist/components/Accordion/Accordion.module.scss.cjs.map +1 -1
- package/dist/components/Accordion/Accordion.module.scss.js +1 -1
- package/dist/components/Action/styles/button.module.scss.cjs +2 -2
- package/dist/components/Action/styles/button.module.scss.cjs.map +1 -1
- package/dist/components/Action/styles/button.module.scss.js +1 -1
- package/dist/components/Action/styles/link.module.scss.cjs +2 -2
- package/dist/components/Action/styles/link.module.scss.cjs.map +1 -1
- package/dist/components/Action/styles/link.module.scss.js +1 -1
- package/dist/components/Action/styles/reset.module.scss.cjs +2 -2
- package/dist/components/Action/styles/reset.module.scss.cjs.map +1 -1
- package/dist/components/Action/styles/reset.module.scss.js +1 -1
- package/dist/components/ActionMenu/ActionMenu.module.scss.cjs +2 -2
- package/dist/components/ActionMenu/ActionMenu.module.scss.cjs.map +1 -1
- package/dist/components/ActionMenu/ActionMenu.module.scss.js +1 -1
- package/dist/components/Alerts/Alert/Alert.module.scss.cjs +2 -2
- package/dist/components/Alerts/Alert/Alert.module.scss.cjs.map +1 -1
- package/dist/components/Alerts/Alert/Alert.module.scss.js +1 -1
- package/dist/components/Alerts/Alerts.module.scss.cjs +2 -2
- package/dist/components/Alerts/Alerts.module.scss.cjs.map +1 -1
- package/dist/components/Alerts/Alerts.module.scss.js +1 -1
- package/dist/components/Alerts/MiniAlert/MiniAlert.module.scss.cjs +2 -2
- package/dist/components/Alerts/MiniAlert/MiniAlert.module.scss.cjs.map +1 -1
- package/dist/components/Alerts/MiniAlert/MiniAlert.module.scss.js +1 -1
- package/dist/components/Anchor/Anchor.module.scss.cjs +2 -2
- package/dist/components/Anchor/Anchor.module.scss.cjs.map +1 -1
- package/dist/components/Anchor/Anchor.module.scss.js +1 -1
- package/dist/components/AnimatedDropdown/AnimatedDropdown.module.scss.cjs +2 -2
- package/dist/components/AnimatedDropdown/AnimatedDropdown.module.scss.cjs.map +1 -1
- package/dist/components/AnimatedDropdown/AnimatedDropdown.module.scss.js +1 -1
- package/dist/components/AnimatedDropdown/components/BasicDropdown.module.scss.cjs +2 -2
- package/dist/components/AnimatedDropdown/components/BasicDropdown.module.scss.cjs.map +1 -1
- package/dist/components/AnimatedDropdown/components/BasicDropdown.module.scss.js +1 -1
- package/dist/components/Avatar/Avatar.module.scss.cjs +2 -2
- package/dist/components/Avatar/Avatar.module.scss.cjs.map +1 -1
- package/dist/components/Avatar/Avatar.module.scss.js +1 -1
- package/dist/components/Badge/Badge.module.scss.cjs +2 -2
- package/dist/components/Badge/Badge.module.scss.cjs.map +1 -1
- package/dist/components/Badge/Badge.module.scss.js +1 -1
- package/dist/components/Banner/Banner.module.scss.cjs +2 -2
- package/dist/components/Banner/Banner.module.scss.cjs.map +1 -1
- package/dist/components/Banner/Banner.module.scss.js +1 -1
- package/dist/components/BaseContainer/BaseContainer.module.scss.cjs +2 -2
- package/dist/components/BaseContainer/BaseContainer.module.scss.cjs.map +1 -1
- package/dist/components/BaseContainer/BaseContainer.module.scss.js +1 -1
- package/dist/components/Breadcrumbs/Breadcrumbs.cjs +5 -3
- package/dist/components/Breadcrumbs/Breadcrumbs.cjs.map +1 -1
- package/dist/components/Breadcrumbs/Breadcrumbs.js +5 -3
- package/dist/components/Breadcrumbs/Breadcrumbs.js.map +1 -1
- package/dist/components/Breadcrumbs/components/Breadcrumb.cjs +4 -2
- package/dist/components/Breadcrumbs/components/Breadcrumb.cjs.map +1 -1
- package/dist/components/Breadcrumbs/components/Breadcrumb.js +4 -2
- package/dist/components/Breadcrumbs/components/Breadcrumb.js.map +1 -1
- package/dist/components/Breadcrumbs/components/Breadcrumbs.module.scss.cjs +3 -3
- package/dist/components/Breadcrumbs/components/Breadcrumbs.module.scss.cjs.map +1 -1
- package/dist/components/Breadcrumbs/components/Breadcrumbs.module.scss.js +3 -3
- package/dist/components/Breadcrumbs/components/Breadcrumbs.module.scss.js.map +1 -1
- package/dist/components/Breadcrumbs/index.d.ts +1 -0
- package/dist/components/Breadcrumbs/types.d.ts +1 -1
- package/dist/components/Calendars/components/Calendar/Calendar.module.scss.cjs +2 -2
- package/dist/components/Calendars/components/Calendar/Calendar.module.scss.cjs.map +1 -1
- package/dist/components/Calendars/components/Calendar/Calendar.module.scss.js +1 -1
- package/dist/components/Calendars/components/RangeCalendar/RangeCalendar.module.scss.cjs +2 -2
- package/dist/components/Calendars/components/RangeCalendar/RangeCalendar.module.scss.cjs.map +1 -1
- package/dist/components/Calendars/components/RangeCalendar/RangeCalendar.module.scss.js +1 -1
- package/dist/components/Calendars/components/subcomponents/CalendarGrid/subCalendars/SubCalendarOption.module.scss.cjs +2 -2
- package/dist/components/Calendars/components/subcomponents/CalendarGrid/subCalendars/SubCalendarOption.module.scss.cjs.map +1 -1
- package/dist/components/Calendars/components/subcomponents/CalendarGrid/subCalendars/SubCalendarOption.module.scss.js +1 -1
- package/dist/components/Card/Card.module.scss.cjs +2 -2
- package/dist/components/Card/Card.module.scss.cjs.map +1 -1
- package/dist/components/Card/Card.module.scss.js +1 -1
- package/dist/components/CardHeader/CardHeader.module.scss.cjs +2 -2
- package/dist/components/CardHeader/CardHeader.module.scss.cjs.map +1 -1
- package/dist/components/CardHeader/CardHeader.module.scss.js +1 -1
- package/dist/components/Checkbox/Checkbox.module.scss.cjs +2 -2
- package/dist/components/Checkbox/Checkbox.module.scss.cjs.map +1 -1
- package/dist/components/Checkbox/Checkbox.module.scss.js +1 -1
- package/dist/components/Choice/Choice.module.scss.cjs +2 -2
- package/dist/components/Choice/Choice.module.scss.cjs.map +1 -1
- package/dist/components/Choice/Choice.module.scss.js +1 -1
- package/dist/components/ChoiceList/ChoiceList.module.scss.cjs +2 -2
- package/dist/components/ChoiceList/ChoiceList.module.scss.cjs.map +1 -1
- package/dist/components/ChoiceList/ChoiceList.module.scss.js +1 -1
- package/dist/components/Container/Container.module.scss.cjs +2 -2
- package/dist/components/Container/Container.module.scss.cjs.map +1 -1
- package/dist/components/Container/Container.module.scss.js +1 -1
- package/dist/components/CopyToClipboard/CopyToClipboard.module.scss.cjs +2 -2
- package/dist/components/CopyToClipboard/CopyToClipboard.module.scss.cjs.map +1 -1
- package/dist/components/CopyToClipboard/CopyToClipboard.module.scss.js +1 -1
- package/dist/components/DataGrid/DataGrid.module.scss.cjs +2 -2
- package/dist/components/DataGrid/DataGrid.module.scss.cjs.map +1 -1
- package/dist/components/DataGrid/DataGrid.module.scss.js +1 -1
- package/dist/components/DataGrid/components/Body/BodyCell/BodyCell.module.scss.cjs +2 -2
- package/dist/components/DataGrid/components/Body/BodyCell/BodyCell.module.scss.cjs.map +1 -1
- package/dist/components/DataGrid/components/Body/BodyCell/BodyCell.module.scss.js +1 -1
- package/dist/components/DataGrid/components/Body/EmptyBody/EmptyBody.module.scss.cjs +2 -2
- package/dist/components/DataGrid/components/Body/EmptyBody/EmptyBody.module.scss.cjs.map +1 -1
- package/dist/components/DataGrid/components/Body/EmptyBody/EmptyBody.module.scss.js +1 -1
- package/dist/components/DataGrid/components/Body/Row/Row.module.scss.cjs +2 -2
- package/dist/components/DataGrid/components/Body/Row/Row.module.scss.cjs.map +1 -1
- package/dist/components/DataGrid/components/Body/Row/Row.module.scss.js +1 -1
- package/dist/components/DataGrid/components/CellContent/CellContent.module.scss.cjs +2 -2
- package/dist/components/DataGrid/components/CellContent/CellContent.module.scss.cjs.map +1 -1
- package/dist/components/DataGrid/components/CellContent/CellContent.module.scss.js +1 -1
- package/dist/components/DataGrid/components/CellContent/ExpandButton/ExpandButton.module.scss.cjs +2 -2
- package/dist/components/DataGrid/components/CellContent/ExpandButton/ExpandButton.module.scss.cjs.map +1 -1
- package/dist/components/DataGrid/components/CellContent/ExpandButton/ExpandButton.module.scss.js +1 -1
- package/dist/components/DataGrid/components/Footer/FooterCell/FooterCell.module.scss.cjs +2 -2
- package/dist/components/DataGrid/components/Footer/FooterCell/FooterCell.module.scss.cjs.map +1 -1
- package/dist/components/DataGrid/components/Footer/FooterCell/FooterCell.module.scss.js +1 -1
- package/dist/components/DataGrid/components/GridContainer/Container/Container.module.scss.cjs +2 -2
- package/dist/components/DataGrid/components/GridContainer/Container/Container.module.scss.cjs.map +1 -1
- package/dist/components/DataGrid/components/GridContainer/Container/Container.module.scss.js +1 -1
- package/dist/components/DataGrid/components/GridContainer/GridContainer.module.scss.cjs +2 -2
- package/dist/components/DataGrid/components/GridContainer/GridContainer.module.scss.cjs.map +1 -1
- package/dist/components/DataGrid/components/GridContainer/GridContainer.module.scss.js +1 -1
- package/dist/components/DataGrid/components/Header/HeaderCell/HeaderCell.module.scss.cjs +2 -2
- package/dist/components/DataGrid/components/Header/HeaderCell/HeaderCell.module.scss.cjs.map +1 -1
- package/dist/components/DataGrid/components/Header/HeaderCell/HeaderCell.module.scss.js +1 -1
- package/dist/components/DataGrid/components/Header/Resizer/Resizer.module.scss.cjs +2 -2
- package/dist/components/DataGrid/components/Header/Resizer/Resizer.module.scss.cjs.map +1 -1
- package/dist/components/DataGrid/components/Header/Resizer/Resizer.module.scss.js +1 -1
- package/dist/components/DataTable/components/DataTable.module.scss.cjs +2 -2
- package/dist/components/DataTable/components/DataTable.module.scss.cjs.map +1 -1
- package/dist/components/DataTable/components/DataTable.module.scss.js +1 -1
- package/dist/components/DataTable/components/TableGrid.cjs +2 -1
- package/dist/components/DataTable/components/TableGrid.cjs.map +1 -1
- package/dist/components/DataTable/components/TableGrid.js +2 -1
- package/dist/components/DataTable/components/TableGrid.js.map +1 -1
- package/dist/components/DateInputField/DateInputField.module.scss.cjs +2 -2
- package/dist/components/DateInputField/DateInputField.module.scss.cjs.map +1 -1
- package/dist/components/DateInputField/DateInputField.module.scss.js +1 -1
- package/dist/components/DatePicker/DatePicker.module.scss.cjs +2 -2
- package/dist/components/DatePicker/DatePicker.module.scss.cjs.map +1 -1
- package/dist/components/DatePicker/DatePicker.module.scss.js +1 -1
- package/dist/components/DateRangePicker/DateRangePicker.module.scss.cjs +2 -2
- package/dist/components/DateRangePicker/DateRangePicker.module.scss.cjs.map +1 -1
- package/dist/components/DateRangePicker/DateRangePicker.module.scss.js +1 -1
- package/dist/components/DateRangePicker/components/Divider.module.scss.cjs +2 -2
- package/dist/components/DateRangePicker/components/Divider.module.scss.cjs.map +1 -1
- package/dist/components/DateRangePicker/components/Divider.module.scss.js +1 -1
- package/dist/components/DescriptionList/DescriptionList.module.scss.cjs +2 -2
- package/dist/components/DescriptionList/DescriptionList.module.scss.cjs.map +1 -1
- package/dist/components/DescriptionList/DescriptionList.module.scss.js +1 -1
- package/dist/components/DetailPage/DetailPage.module.scss.cjs +2 -2
- package/dist/components/DetailPage/DetailPage.module.scss.cjs.map +1 -1
- package/dist/components/DetailPage/DetailPage.module.scss.js +1 -1
- package/dist/components/Divider/Divider.module.scss.cjs +2 -2
- package/dist/components/Divider/Divider.module.scss.cjs.map +1 -1
- package/dist/components/Divider/Divider.module.scss.js +1 -1
- package/dist/components/Dropdown/Dropdown.module.scss.cjs +2 -2
- package/dist/components/Dropdown/Dropdown.module.scss.cjs.map +1 -1
- package/dist/components/Dropdown/Dropdown.module.scss.js +1 -1
- package/dist/components/FeatureBanner/FeatureBanner.module.scss.cjs +2 -2
- package/dist/components/FeatureBanner/FeatureBanner.module.scss.cjs.map +1 -1
- package/dist/components/FeatureBanner/FeatureBanner.module.scss.js +1 -1
- package/dist/components/FilterTag/FilterTag.module.scss.cjs +2 -2
- package/dist/components/FilterTag/FilterTag.module.scss.cjs.map +1 -1
- package/dist/components/FilterTag/FilterTag.module.scss.js +1 -1
- package/dist/components/Flex/Flex.module.scss.cjs +2 -2
- package/dist/components/Flex/Flex.module.scss.js +1 -1
- package/dist/components/Flex/FlexCol/FlexCol.module.scss.cjs +2 -2
- package/dist/components/Flex/FlexCol/FlexCol.module.scss.cjs.map +1 -1
- package/dist/components/Flex/FlexCol/FlexCol.module.scss.js +1 -1
- package/dist/components/Flex/FlexRow/FlexRow.module.scss.cjs +2 -2
- package/dist/components/Flex/FlexRow/FlexRow.module.scss.cjs.map +1 -1
- package/dist/components/Flex/FlexRow/FlexRow.module.scss.js +1 -1
- package/dist/components/Grid/Grid.module.scss.cjs +2 -2
- package/dist/components/Grid/Grid.module.scss.cjs.map +1 -1
- package/dist/components/Grid/Grid.module.scss.js +1 -1
- package/dist/components/IconGroup/IconGroup.module.scss.cjs +2 -2
- package/dist/components/IconGroup/IconGroup.module.scss.cjs.map +1 -1
- package/dist/components/IconGroup/IconGroup.module.scss.js +1 -1
- package/dist/components/Image/Image.module.scss.cjs +2 -2
- package/dist/components/Image/Image.module.scss.cjs.map +1 -1
- package/dist/components/Image/Image.module.scss.js +1 -1
- package/dist/components/Indicator/Indicator.module.scss.cjs +2 -2
- package/dist/components/Indicator/Indicator.module.scss.cjs.map +1 -1
- package/dist/components/Indicator/Indicator.module.scss.js +1 -1
- package/dist/components/InputAffix/InputAffix.module.scss.cjs +2 -2
- package/dist/components/InputAffix/InputAffix.module.scss.cjs.map +1 -1
- package/dist/components/InputAffix/InputAffix.module.scss.js +1 -1
- package/dist/components/InputGroup/InputGroup.module.scss.cjs +2 -2
- package/dist/components/InputGroup/InputGroup.module.scss.js +1 -1
- package/dist/components/LegacyDataTable/LegacyDataTable.module.scss.cjs +2 -2
- package/dist/components/LegacyDataTable/LegacyDataTable.module.scss.cjs.map +1 -1
- package/dist/components/LegacyDataTable/LegacyDataTable.module.scss.js +1 -1
- package/dist/components/LegacyDataTable/SkeletonContent/SkeletonContent.module.scss.cjs +2 -2
- package/dist/components/LegacyDataTable/SkeletonContent/SkeletonContent.module.scss.cjs.map +1 -1
- package/dist/components/LegacyDataTable/SkeletonContent/SkeletonContent.module.scss.js +1 -1
- package/dist/components/LegacyDataTable/SpecificState/SpecificState.module.scss.cjs +2 -2
- package/dist/components/LegacyDataTable/SpecificState/SpecificState.module.scss.cjs.map +1 -1
- package/dist/components/LegacyDataTable/SpecificState/SpecificState.module.scss.js +1 -1
- package/dist/components/LegacyDataTable/cells/cells.module.scss.cjs +2 -2
- package/dist/components/LegacyDataTable/cells/cells.module.scss.cjs.map +1 -1
- package/dist/components/LegacyDataTable/cells/cells.module.scss.js +1 -1
- package/dist/components/LegacyDataTable/styled.cjs +21 -12
- package/dist/components/LegacyDataTable/styled.cjs.map +1 -1
- package/dist/components/LegacyDataTable/styled.js +21 -12
- package/dist/components/LegacyDataTable/styled.js.map +1 -1
- package/dist/components/Loader/loader.module.scss.cjs +2 -2
- package/dist/components/Loader/loader.module.scss.cjs.map +1 -1
- package/dist/components/Loader/loader.module.scss.js +1 -1
- package/dist/components/LoginWithAmazonButton/LoginWithAmazonButton.module.scss.cjs +2 -2
- package/dist/components/LoginWithAmazonButton/LoginWithAmazonButton.module.scss.cjs.map +1 -1
- package/dist/components/LoginWithAmazonButton/LoginWithAmazonButton.module.scss.js +1 -1
- package/dist/components/Mark/Mark.module.scss.cjs +2 -2
- package/dist/components/Mark/Mark.module.scss.cjs.map +1 -1
- package/dist/components/Mark/Mark.module.scss.js +1 -1
- package/dist/components/Modal/Modal.module.scss.cjs +2 -2
- package/dist/components/Modal/Modal.module.scss.cjs.map +1 -1
- package/dist/components/Modal/Modal.module.scss.js +1 -1
- package/dist/components/Pagination/Pagination.module.scss.cjs +2 -2
- package/dist/components/Pagination/Pagination.module.scss.cjs.map +1 -1
- package/dist/components/Pagination/Pagination.module.scss.js +1 -1
- package/dist/components/PhoneInput/PhoneInput.module.scss.cjs +2 -2
- package/dist/components/PhoneInput/PhoneInput.module.scss.cjs.map +1 -1
- package/dist/components/PhoneInput/PhoneInput.module.scss.js +1 -1
- package/dist/components/Popover/Popover.module.scss.cjs +2 -2
- package/dist/components/Popover/Popover.module.scss.cjs.map +1 -1
- package/dist/components/Popover/Popover.module.scss.js +1 -1
- package/dist/components/Popup/Popup.module.scss.cjs +2 -2
- package/dist/components/Popup/Popup.module.scss.cjs.map +1 -1
- package/dist/components/Popup/Popup.module.scss.js +1 -1
- package/dist/components/Radio/Radio.module.scss.cjs +2 -2
- package/dist/components/Radio/Radio.module.scss.cjs.map +1 -1
- package/dist/components/Radio/Radio.module.scss.js +1 -1
- package/dist/components/ScreenReaderOnly/ScreenReaderOnly.module.scss.cjs +2 -2
- package/dist/components/ScreenReaderOnly/ScreenReaderOnly.module.scss.cjs.map +1 -1
- package/dist/components/ScreenReaderOnly/ScreenReaderOnly.module.scss.js +1 -1
- package/dist/components/Search/Search.module.scss.cjs +2 -2
- package/dist/components/Search/Search.module.scss.cjs.map +1 -1
- package/dist/components/Search/Search.module.scss.js +1 -1
- package/dist/components/SectionLayout/SectionLayout.module.scss.cjs +2 -2
- package/dist/components/SectionLayout/SectionLayout.module.scss.cjs.map +1 -1
- package/dist/components/SectionLayout/SectionLayout.module.scss.js +1 -1
- package/dist/components/SegmentedControl/SegmentedControl.module.scss.cjs +2 -2
- package/dist/components/SegmentedControl/SegmentedControl.module.scss.cjs.map +1 -1
- package/dist/components/SegmentedControl/SegmentedControl.module.scss.js +1 -1
- package/dist/components/Select/Select.module.scss.cjs +2 -2
- package/dist/components/Select/Select.module.scss.cjs.map +1 -1
- package/dist/components/Select/Select.module.scss.js +1 -1
- package/dist/components/SelectDropdown/SelectDropdown.module.scss.cjs +2 -2
- package/dist/components/SelectDropdown/SelectDropdown.module.scss.cjs.map +1 -1
- package/dist/components/SelectDropdown/SelectDropdown.module.scss.js +1 -1
- package/dist/components/SelectDropdown/components/GridItem/GridItem.module.scss.cjs +2 -2
- package/dist/components/SelectDropdown/components/GridItem/GridItem.module.scss.cjs.map +1 -1
- package/dist/components/SelectDropdown/components/GridItem/GridItem.module.scss.js +1 -1
- package/dist/components/SelectDropdown/components/ItemContent/ItemContent.module.scss.cjs +2 -2
- package/dist/components/SelectDropdown/components/ItemContent/ItemContent.module.scss.cjs.map +1 -1
- package/dist/components/SelectDropdown/components/ItemContent/ItemContent.module.scss.js +1 -1
- package/dist/components/SelectDropdown/components/ListItemSection/ListItemSection.module.scss.cjs +2 -2
- package/dist/components/SelectDropdown/components/ListItemSection/ListItemSection.module.scss.cjs.map +1 -1
- package/dist/components/SelectDropdown/components/ListItemSection/ListItemSection.module.scss.js +1 -1
- package/dist/components/SelectDropdown/components/OptionsContainers/OptionsContainer.module.scss.cjs +2 -2
- package/dist/components/SelectDropdown/components/OptionsContainers/OptionsContainer.module.scss.cjs.map +1 -1
- package/dist/components/SelectDropdown/components/OptionsContainers/OptionsContainer.module.scss.js +1 -1
- package/dist/components/SelectDropdown/components/item.module.scss.cjs +2 -2
- package/dist/components/SelectDropdown/components/item.module.scss.cjs.map +1 -1
- package/dist/components/SelectDropdown/components/item.module.scss.js +1 -1
- package/dist/components/ShortcutKeys/ShortcutKeys.module.scss.cjs +2 -2
- package/dist/components/ShortcutKeys/ShortcutKeys.module.scss.cjs.map +1 -1
- package/dist/components/ShortcutKeys/ShortcutKeys.module.scss.js +1 -1
- package/dist/components/SimpleTable/SimpleTable.module.scss.cjs +2 -2
- package/dist/components/SimpleTable/SimpleTable.module.scss.cjs.map +1 -1
- package/dist/components/SimpleTable/SimpleTable.module.scss.js +1 -1
- package/dist/components/Skeleton/Skeleton.module.scss.cjs +2 -2
- package/dist/components/Skeleton/Skeleton.module.scss.cjs.map +1 -1
- package/dist/components/Skeleton/Skeleton.module.scss.js +1 -1
- package/dist/components/Slider/Slider.module.scss.cjs +2 -2
- package/dist/components/Slider/Slider.module.scss.cjs.map +1 -1
- package/dist/components/Slider/Slider.module.scss.js +1 -1
- package/dist/components/Slider/components/SliderHandle/SliderHandle.module.scss.cjs +2 -2
- package/dist/components/Slider/components/SliderHandle/SliderHandle.module.scss.cjs.map +1 -1
- package/dist/components/Slider/components/SliderHandle/SliderHandle.module.scss.js +1 -1
- package/dist/components/Slider/components/SliderTrack/SliderTrack.module.scss.cjs +2 -2
- package/dist/components/Slider/components/SliderTrack/SliderTrack.module.scss.cjs.map +1 -1
- package/dist/components/Slider/components/SliderTrack/SliderTrack.module.scss.js +1 -1
- package/dist/components/Stack/Stack.module.scss.cjs +2 -2
- package/dist/components/Stack/Stack.module.scss.cjs.map +1 -1
- package/dist/components/Stack/Stack.module.scss.js +1 -1
- package/dist/components/Stepper/Stepper.module.scss.cjs +2 -2
- package/dist/components/Stepper/Stepper.module.scss.js +1 -1
- package/dist/components/SystemBanner/SystemBanner.module.scss.cjs +2 -2
- package/dist/components/SystemBanner/SystemBanner.module.scss.cjs.map +1 -1
- package/dist/components/SystemBanner/SystemBanner.module.scss.js +1 -1
- package/dist/components/Tag/Tag.module.scss.cjs +2 -2
- package/dist/components/Tag/Tag.module.scss.cjs.map +1 -1
- package/dist/components/Tag/Tag.module.scss.js +1 -1
- package/dist/components/Text/Text.module.scss.cjs +2 -2
- package/dist/components/Text/Text.module.scss.cjs.map +1 -1
- package/dist/components/Text/Text.module.scss.js +1 -1
- package/dist/components/TextField/TextField.module.scss.cjs +2 -2
- package/dist/components/TextField/TextField.module.scss.cjs.map +1 -1
- package/dist/components/TextField/TextField.module.scss.js +1 -1
- package/dist/components/ThemeInjector/ThemeInjector.cjs +17 -1
- package/dist/components/ThemeInjector/ThemeInjector.cjs.map +1 -1
- package/dist/components/ThemeInjector/ThemeInjector.d.ts +10 -7
- package/dist/components/ThemeInjector/ThemeInjector.js +17 -1
- package/dist/components/ThemeInjector/ThemeInjector.js.map +1 -1
- package/dist/components/ToastsLayout/ToastsLayout.module.scss.cjs +2 -2
- package/dist/components/ToastsLayout/ToastsLayout.module.scss.cjs.map +1 -1
- package/dist/components/ToastsLayout/ToastsLayout.module.scss.js +1 -1
- package/dist/components/ToastsLayout/components/Toast.module.scss.cjs +2 -2
- package/dist/components/ToastsLayout/components/Toast.module.scss.cjs.map +1 -1
- package/dist/components/ToastsLayout/components/Toast.module.scss.js +1 -1
- package/dist/components/Toggle/Toggle.module.scss.cjs +2 -2
- package/dist/components/Toggle/Toggle.module.scss.cjs.map +1 -1
- package/dist/components/Toggle/Toggle.module.scss.js +1 -1
- package/dist/components/TokenProvider/TokenProvider.module.scss.cjs +2 -2
- package/dist/components/TokenProvider/TokenProvider.module.scss.cjs.map +1 -1
- package/dist/components/TokenProvider/TokenProvider.module.scss.js +1 -1
- package/dist/components/Tooltip/Tooltip.module.scss.cjs +2 -2
- package/dist/components/Tooltip/Tooltip.module.scss.cjs.map +1 -1
- package/dist/components/Tooltip/Tooltip.module.scss.js +1 -1
- package/dist/components/UploadFile/UploadFile.module.scss.cjs +2 -2
- package/dist/components/UploadFile/UploadFile.module.scss.cjs.map +1 -1
- package/dist/components/UploadFile/UploadFile.module.scss.js +1 -1
- package/dist/components/UploadedFile/UploadedFile.module.scss.cjs +2 -2
- package/dist/components/UploadedFile/UploadedFile.module.scss.cjs.map +1 -1
- package/dist/components/UploadedFile/UploadedFile.module.scss.js +1 -1
- package/dist/components/View/View.module.scss.cjs +2 -2
- package/dist/components/View/View.module.scss.cjs.map +1 -1
- package/dist/components/View/View.module.scss.js +1 -1
- package/dist/components/ViewTab/ViewTab.module.scss.cjs +2 -2
- package/dist/components/ViewTab/ViewTab.module.scss.cjs.map +1 -1
- package/dist/components/ViewTab/ViewTab.module.scss.js +1 -1
- package/dist/components/ViewsContainer/ViewsContainer.module.scss.cjs +2 -2
- package/dist/components/ViewsContainer/ViewsContainer.module.scss.cjs.map +1 -1
- package/dist/components/ViewsContainer/ViewsContainer.module.scss.js +1 -1
- package/dist/components/WeightInput/WeightInput.module.scss.cjs +2 -2
- package/dist/components/WeightInput/WeightInput.module.scss.cjs.map +1 -1
- package/dist/components/WeightInput/WeightInput.module.scss.js +1 -1
- package/dist/components/index.d.ts +1 -0
- package/dist/hoc/withLabels/BlockTooltip.module.scss.cjs +2 -2
- package/dist/hoc/withLabels/BlockTooltip.module.scss.cjs.map +1 -1
- package/dist/hoc/withLabels/BlockTooltip.module.scss.js +1 -1
- package/dist/hoc/withLabels/withLabels.module.scss.cjs +2 -2
- package/dist/hoc/withLabels/withLabels.module.scss.cjs.map +1 -1
- package/dist/hoc/withLabels/withLabels.module.scss.js +1 -1
- package/dist/styles/insertStyle.cjs +91 -0
- package/dist/styles/insertStyle.cjs.map +1 -0
- package/dist/styles/insertStyle.d.ts +37 -0
- package/dist/styles/insertStyle.js +82 -0
- package/dist/styles/insertStyle.js.map +1 -0
- package/dist/styles/stylesheetCheck.cjs +61 -0
- package/dist/styles/stylesheetCheck.cjs.map +1 -0
- package/dist/styles/stylesheetCheck.d.ts +13 -0
- package/dist/styles/stylesheetCheck.js +56 -0
- package/dist/styles/stylesheetCheck.js.map +1 -0
- package/dist/styles.css +9551 -0
- package/dist/theme/scss/text.module.scss.cjs +2 -2
- package/dist/theme/scss/text.module.scss.cjs.map +1 -1
- package/dist/theme/scss/text.module.scss.js +1 -1
- package/dist/theme.css +375 -0
- package/dist/utils/forms/form.module.scss.cjs +2 -2
- package/dist/utils/forms/form.module.scss.js +1 -1
- package/package.json +10 -5
- package/dist/_virtual/____insertStyle.cjs +0 -14
- package/dist/_virtual/____insertStyle.cjs.map +0 -1
- package/dist/_virtual/____insertStyle.js +0 -12
- package/dist/_virtual/____insertStyle.js.map +0 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var insertStyle = require('../../styles/insertStyle.cjs');
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
insertStyle.default("._dropZone_1y0fw_1 {\n display: flex;\n align-items: center;\n justify-content: center;\n padding: var(--sizes-base);\n border-radius: var(--radius-base);\n cursor: pointer;\n border: 2px dashed var(--colors-neutral-ink-lightest);\n background-color: var(--colors-neutral-grey-lightest);\n}\n._dropZone_1y0fw_1 input[type=file] {\n position: absolute;\n opacity: 0;\n width: var(--sizes-line);\n height: var(--sizes-line);\n cursor: pointer;\n}\n._dropZone_1y0fw_1:hover {\n border: 2px dashed var(--colors-secondary-blue-base);\n background-color: var(--colors-secondary-blue-lightest);\n}\n._dropZone_1y0fw_1:hover svg {\n color: var(--colors-secondary-blue-base);\n}\n._dropZone_1y0fw_1:active, ._dropZone_1y0fw_1:focus-within {\n border: 2px dashed var(--colors-secondary-blue-base);\n box-shadow: 0 0 0 4px var(--colors-secondary-blue-light);\n background-color: var(--colors-secondary-blue-lightest);\n}\n._dropZone_1y0fw_1:active svg, ._dropZone_1y0fw_1:focus-within svg {\n color: var(--colors-secondary-blue-base);\n}\n\n._dragOver_1y0fw_34 {\n border: 2px dashed var(--colors-secondary-blue-base);\n box-shadow: 0 0 0 4px var(--colors-secondary-blue-light);\n background-color: var(--colors-secondary-blue-lightest);\n}\n._dragOver_1y0fw_34 svg {\n color: var(--colors-secondary-blue-base);\n}\n\n._hasError_1y0fw_43 {\n border: 2px dashed var(--colors-secondary-red-base);\n}\n._hasError_1y0fw_43:hover {\n border: 2px dashed var(--colors-secondary-red-base);\n background-color: var(--colors-secondary-red-lightest);\n}\n._hasError_1y0fw_43:hover svg {\n color: var(--colors-secondary-red-base);\n}\n._hasError_1y0fw_43:active, ._hasError_1y0fw_43:focus-within {\n border: 2px dashed var(--colors-secondary-red-base);\n box-shadow: 0 0 0 4px var(--colors-secondary-red-light);\n background-color: var(--colors-secondary-red-lightest);\n}\n._hasError_1y0fw_43:active svg, ._hasError_1y0fw_43:focus-within svg {\n color: var(--colors-secondary-red-base);\n}\n._hasError_1y0fw_43._dragOver_1y0fw_34 {\n border: 2px dashed var(--colors-secondary-red-base);\n box-shadow: 0 0 0 4px var(--colors-secondary-red-light);\n background-color: var(--colors-secondary-red-lightest);\n}\n._hasError_1y0fw_43._dragOver_1y0fw_34 svg {\n color: var(--colors-secondary-red-base);\n}\n\n._dropZone_1y0fw_1:has(input:disabled) {\n cursor: not-allowed;\n box-shadow: none;\n background-color: var(--colors-neutral-grey-light);\n border-color: var(--colors-neutral-ink-lightest);\n color: var(--colors-neutral-ink-light);\n}\n._dropZone_1y0fw_1:has(input:disabled) svg {\n color: var(--colors-neutral-ink-lightest);\n}");
|
|
6
6
|
var styles = {"dropZone":"_dropZone_1y0fw_1","dragOver":"_dragOver_1y0fw_34","hasError":"_hasError_1y0fw_43"};
|
|
7
7
|
|
|
8
8
|
module.exports = styles;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UploadFile.module.scss.cjs","sources":["../../../src/components/UploadFile/UploadFile.module.scss"],"sourcesContent":[".dropZone {\n display: flex;\n align-items: center;\n justify-content: center;\n\n padding: var(--sizes-base);\n border-radius: var(--radius-base);\n\n cursor: pointer;\n\n border: 2px dashed var(--colors-neutral-ink-lightest);\n background-color: var(--colors-neutral-grey-lightest);\n\n input[type='file'] {\n position: absolute;\n opacity: 0;\n width: var(--sizes-line);\n height: var(--sizes-line);\n cursor: pointer;\n }\n\n &:hover {\n border: 2px dashed var(--colors-secondary-blue-base);\n background-color: var(--colors-secondary-blue-lightest);\n\n svg {\n color: var(--colors-secondary-blue-base);\n }\n }\n\n &:active,\n &:focus-within {\n border: 2px dashed var(--colors-secondary-blue-base);\n box-shadow: 0 0 0 4px var(--colors-secondary-blue-light);\n background-color: var(--colors-secondary-blue-lightest);\n\n svg {\n color: var(--colors-secondary-blue-base);\n }\n }\n}\n\n.dragOver {\n border: 2px dashed var(--colors-secondary-blue-base);\n box-shadow: 0 0 0 4px var(--colors-secondary-blue-light);\n background-color: var(--colors-secondary-blue-lightest);\n\n svg {\n color: var(--colors-secondary-blue-base);\n }\n}\n\n.hasError {\n border: 2px dashed var(--colors-secondary-red-base);\n\n &:hover {\n border: 2px dashed var(--colors-secondary-red-base);\n background-color: var(--colors-secondary-red-lightest);\n\n svg {\n color: var(--colors-secondary-red-base);\n }\n }\n\n &:active,\n &:focus-within {\n border: 2px dashed var(--colors-secondary-red-base);\n box-shadow: 0 0 0 4px var(--colors-secondary-red-light);\n background-color: var(--colors-secondary-red-lightest);\n\n svg {\n color: var(--colors-secondary-red-base);\n }\n }\n\n &.dragOver {\n border: 2px dashed var(--colors-secondary-red-base);\n box-shadow: 0 0 0 4px var(--colors-secondary-red-light);\n background-color: var(--colors-secondary-red-lightest);\n\n svg {\n color: var(--colors-secondary-red-base);\n }\n }\n}\n\n.dropZone:has(input:disabled) {\n cursor: not-allowed;\n box-shadow: none;\n background-color: var(--colors-neutral-grey-light);\n border-color: var(--colors-neutral-ink-lightest);\n color: var(--colors-neutral-ink-light);\n\n svg {\n color: var(--colors-neutral-ink-lightest);\n }\n}\n"],"names":[],"mappings":";;;;
|
|
1
|
+
{"version":3,"file":"UploadFile.module.scss.cjs","sources":["../../../src/components/UploadFile/UploadFile.module.scss"],"sourcesContent":[".dropZone {\n display: flex;\n align-items: center;\n justify-content: center;\n\n padding: var(--sizes-base);\n border-radius: var(--radius-base);\n\n cursor: pointer;\n\n border: 2px dashed var(--colors-neutral-ink-lightest);\n background-color: var(--colors-neutral-grey-lightest);\n\n input[type='file'] {\n position: absolute;\n opacity: 0;\n width: var(--sizes-line);\n height: var(--sizes-line);\n cursor: pointer;\n }\n\n &:hover {\n border: 2px dashed var(--colors-secondary-blue-base);\n background-color: var(--colors-secondary-blue-lightest);\n\n svg {\n color: var(--colors-secondary-blue-base);\n }\n }\n\n &:active,\n &:focus-within {\n border: 2px dashed var(--colors-secondary-blue-base);\n box-shadow: 0 0 0 4px var(--colors-secondary-blue-light);\n background-color: var(--colors-secondary-blue-lightest);\n\n svg {\n color: var(--colors-secondary-blue-base);\n }\n }\n}\n\n.dragOver {\n border: 2px dashed var(--colors-secondary-blue-base);\n box-shadow: 0 0 0 4px var(--colors-secondary-blue-light);\n background-color: var(--colors-secondary-blue-lightest);\n\n svg {\n color: var(--colors-secondary-blue-base);\n }\n}\n\n.hasError {\n border: 2px dashed var(--colors-secondary-red-base);\n\n &:hover {\n border: 2px dashed var(--colors-secondary-red-base);\n background-color: var(--colors-secondary-red-lightest);\n\n svg {\n color: var(--colors-secondary-red-base);\n }\n }\n\n &:active,\n &:focus-within {\n border: 2px dashed var(--colors-secondary-red-base);\n box-shadow: 0 0 0 4px var(--colors-secondary-red-light);\n background-color: var(--colors-secondary-red-lightest);\n\n svg {\n color: var(--colors-secondary-red-base);\n }\n }\n\n &.dragOver {\n border: 2px dashed var(--colors-secondary-red-base);\n box-shadow: 0 0 0 4px var(--colors-secondary-red-light);\n background-color: var(--colors-secondary-red-lightest);\n\n svg {\n color: var(--colors-secondary-red-base);\n }\n }\n}\n\n.dropZone:has(input:disabled) {\n cursor: not-allowed;\n box-shadow: none;\n background-color: var(--colors-neutral-grey-light);\n border-color: var(--colors-neutral-ink-lightest);\n color: var(--colors-neutral-ink-light);\n\n svg {\n color: var(--colors-neutral-ink-lightest);\n }\n}\n"],"names":["___$insertStyle"],"mappings":";;;;AACEA,mBAAA,CAAA,4lFAAA;AACA,aAAA,CAAA,UAAA,CAAA,mBAAA,CAAA,UAAA,CAAA,oBAAA,CAAA,UAAA,CAAA,oBAAA;;;;"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import insertStyle from '../../
|
|
1
|
+
import insertStyle from '../../styles/insertStyle.js';
|
|
2
2
|
|
|
3
3
|
insertStyle("._dropZone_1y0fw_1 {\n display: flex;\n align-items: center;\n justify-content: center;\n padding: var(--sizes-base);\n border-radius: var(--radius-base);\n cursor: pointer;\n border: 2px dashed var(--colors-neutral-ink-lightest);\n background-color: var(--colors-neutral-grey-lightest);\n}\n._dropZone_1y0fw_1 input[type=file] {\n position: absolute;\n opacity: 0;\n width: var(--sizes-line);\n height: var(--sizes-line);\n cursor: pointer;\n}\n._dropZone_1y0fw_1:hover {\n border: 2px dashed var(--colors-secondary-blue-base);\n background-color: var(--colors-secondary-blue-lightest);\n}\n._dropZone_1y0fw_1:hover svg {\n color: var(--colors-secondary-blue-base);\n}\n._dropZone_1y0fw_1:active, ._dropZone_1y0fw_1:focus-within {\n border: 2px dashed var(--colors-secondary-blue-base);\n box-shadow: 0 0 0 4px var(--colors-secondary-blue-light);\n background-color: var(--colors-secondary-blue-lightest);\n}\n._dropZone_1y0fw_1:active svg, ._dropZone_1y0fw_1:focus-within svg {\n color: var(--colors-secondary-blue-base);\n}\n\n._dragOver_1y0fw_34 {\n border: 2px dashed var(--colors-secondary-blue-base);\n box-shadow: 0 0 0 4px var(--colors-secondary-blue-light);\n background-color: var(--colors-secondary-blue-lightest);\n}\n._dragOver_1y0fw_34 svg {\n color: var(--colors-secondary-blue-base);\n}\n\n._hasError_1y0fw_43 {\n border: 2px dashed var(--colors-secondary-red-base);\n}\n._hasError_1y0fw_43:hover {\n border: 2px dashed var(--colors-secondary-red-base);\n background-color: var(--colors-secondary-red-lightest);\n}\n._hasError_1y0fw_43:hover svg {\n color: var(--colors-secondary-red-base);\n}\n._hasError_1y0fw_43:active, ._hasError_1y0fw_43:focus-within {\n border: 2px dashed var(--colors-secondary-red-base);\n box-shadow: 0 0 0 4px var(--colors-secondary-red-light);\n background-color: var(--colors-secondary-red-lightest);\n}\n._hasError_1y0fw_43:active svg, ._hasError_1y0fw_43:focus-within svg {\n color: var(--colors-secondary-red-base);\n}\n._hasError_1y0fw_43._dragOver_1y0fw_34 {\n border: 2px dashed var(--colors-secondary-red-base);\n box-shadow: 0 0 0 4px var(--colors-secondary-red-light);\n background-color: var(--colors-secondary-red-lightest);\n}\n._hasError_1y0fw_43._dragOver_1y0fw_34 svg {\n color: var(--colors-secondary-red-base);\n}\n\n._dropZone_1y0fw_1:has(input:disabled) {\n cursor: not-allowed;\n box-shadow: none;\n background-color: var(--colors-neutral-grey-light);\n border-color: var(--colors-neutral-ink-lightest);\n color: var(--colors-neutral-ink-light);\n}\n._dropZone_1y0fw_1:has(input:disabled) svg {\n color: var(--colors-neutral-ink-lightest);\n}");
|
|
4
4
|
var styles = {"dropZone":"_dropZone_1y0fw_1","dragOver":"_dragOver_1y0fw_34","hasError":"_hasError_1y0fw_43"};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var insertStyle = require('../../styles/insertStyle.cjs');
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
insertStyle.default("._uploadedFileContainer_17uzv_1 {\n border: 1px solid var(--colors-neutral-ink-lightest);\n border-radius: var(--radius-base);\n padding: var(--sizes-3);\n}\n\n._uploadedFileContainerCriticalError_17uzv_7 {\n border: 1px solid var(--colors-secondary-red-base);\n border-radius: var(--radius-base);\n padding: var(--sizes-3);\n}\n\n._singleLineText_17uzv_13 {\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n flex: 0 1 80%;\n min-width: 0;\n}\n\n._singleLineTextWithoutFlex_17uzv_21 {\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n flex: none;\n min-width: 0;\n}\n\n._fileSizeText_17uzv_29 {\n white-space: nowrap;\n flex: 0 0 20%;\n text-align: right;\n}\n\n._previewImage_17uzv_35 img {\n border: 1px solid var(--colors-neutral-ink-lightest);\n border-radius: var(--sizes-xs);\n}\n\n._singleLineWrapper_17uzv_40 {\n display: grid;\n min-width: 0;\n flex: 1;\n}\n\n._standardFileTextWrapper_17uzv_46 {\n display: grid;\n grid-template-columns: 1fr auto;\n gap: var(--sizes-xs);\n}");
|
|
6
6
|
var uploadedFileStyles = {"uploadedFileContainer":"_uploadedFileContainer_17uzv_1","uploadedFileContainerCriticalError":"_uploadedFileContainerCriticalError_17uzv_7","singleLineText":"_singleLineText_17uzv_13","singleLineTextWithoutFlex":"_singleLineTextWithoutFlex_17uzv_21","fileSizeText":"_fileSizeText_17uzv_29","previewImage":"_previewImage_17uzv_35","singleLineWrapper":"_singleLineWrapper_17uzv_40","standardFileTextWrapper":"_standardFileTextWrapper_17uzv_46"};
|
|
7
7
|
|
|
8
8
|
module.exports = uploadedFileStyles;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UploadedFile.module.scss.cjs","sources":["../../../src/components/UploadedFile/UploadedFile.module.scss"],"sourcesContent":[".uploadedFileContainer {\n border: 1px solid var(--colors-neutral-ink-lightest);\n border-radius: var(--radius-base);\n padding: var(--sizes-3);\n}\n\n.uploadedFileContainerCriticalError {\n border: 1px solid var(--colors-secondary-red-base);\n border-radius: var(--radius-base);\n padding: var(--sizes-3);\n}\n\n.singleLineText {\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n flex: 0 1 80%;\n min-width: 0;\n}\n\n.singleLineTextWithoutFlex {\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n flex: none;\n min-width: 0;\n}\n\n.fileSizeText {\n white-space: nowrap;\n flex: 0 0 20%;\n text-align: right;\n}\n\n.previewImage {\n img {\n border: 1px solid var(--colors-neutral-ink-lightest);\n border-radius: var(--sizes-xs);\n }\n}\n\n.singleLineWrapper {\n display: grid;\n min-width: 0;\n flex: 1;\n}\n\n.standardFileTextWrapper {\n display: grid;\n grid-template-columns: 1fr auto;\n gap: var(--sizes-xs);\n}\n"],"names":[],"mappings":";;;;
|
|
1
|
+
{"version":3,"file":"UploadedFile.module.scss.cjs","sources":["../../../src/components/UploadedFile/UploadedFile.module.scss"],"sourcesContent":[".uploadedFileContainer {\n border: 1px solid var(--colors-neutral-ink-lightest);\n border-radius: var(--radius-base);\n padding: var(--sizes-3);\n}\n\n.uploadedFileContainerCriticalError {\n border: 1px solid var(--colors-secondary-red-base);\n border-radius: var(--radius-base);\n padding: var(--sizes-3);\n}\n\n.singleLineText {\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n flex: 0 1 80%;\n min-width: 0;\n}\n\n.singleLineTextWithoutFlex {\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n flex: none;\n min-width: 0;\n}\n\n.fileSizeText {\n white-space: nowrap;\n flex: 0 0 20%;\n text-align: right;\n}\n\n.previewImage {\n img {\n border: 1px solid var(--colors-neutral-ink-lightest);\n border-radius: var(--sizes-xs);\n }\n}\n\n.singleLineWrapper {\n display: grid;\n min-width: 0;\n flex: 1;\n}\n\n.standardFileTextWrapper {\n display: grid;\n grid-template-columns: 1fr auto;\n gap: var(--sizes-xs);\n}\n"],"names":["___$insertStyle"],"mappings":";;;;AACEA,mBAAA,CAAA,iiCAAA;AACA,yBAAA,CAAA,uBAAA,CAAA,gCAAA,CAAA,oCAAA,CAAA,6CAAA,CAAA,gBAAA,CAAA,0BAAA,CAAA,2BAAA,CAAA,qCAAA,CAAA,cAAA,CAAA,wBAAA,CAAA,cAAA,CAAA,wBAAA,CAAA,mBAAA,CAAA,6BAAA,CAAA,yBAAA,CAAA,mCAAA;;;;"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import insertStyle from '../../
|
|
1
|
+
import insertStyle from '../../styles/insertStyle.js';
|
|
2
2
|
|
|
3
3
|
insertStyle("._uploadedFileContainer_17uzv_1 {\n border: 1px solid var(--colors-neutral-ink-lightest);\n border-radius: var(--radius-base);\n padding: var(--sizes-3);\n}\n\n._uploadedFileContainerCriticalError_17uzv_7 {\n border: 1px solid var(--colors-secondary-red-base);\n border-radius: var(--radius-base);\n padding: var(--sizes-3);\n}\n\n._singleLineText_17uzv_13 {\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n flex: 0 1 80%;\n min-width: 0;\n}\n\n._singleLineTextWithoutFlex_17uzv_21 {\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n flex: none;\n min-width: 0;\n}\n\n._fileSizeText_17uzv_29 {\n white-space: nowrap;\n flex: 0 0 20%;\n text-align: right;\n}\n\n._previewImage_17uzv_35 img {\n border: 1px solid var(--colors-neutral-ink-lightest);\n border-radius: var(--sizes-xs);\n}\n\n._singleLineWrapper_17uzv_40 {\n display: grid;\n min-width: 0;\n flex: 1;\n}\n\n._standardFileTextWrapper_17uzv_46 {\n display: grid;\n grid-template-columns: 1fr auto;\n gap: var(--sizes-xs);\n}");
|
|
4
4
|
var uploadedFileStyles = {"uploadedFileContainer":"_uploadedFileContainer_17uzv_1","uploadedFileContainerCriticalError":"_uploadedFileContainerCriticalError_17uzv_7","singleLineText":"_singleLineText_17uzv_13","singleLineTextWithoutFlex":"_singleLineTextWithoutFlex_17uzv_21","fileSizeText":"_fileSizeText_17uzv_29","previewImage":"_previewImage_17uzv_35","singleLineWrapper":"_singleLineWrapper_17uzv_40","standardFileTextWrapper":"_standardFileTextWrapper_17uzv_46"};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var insertStyle = require('../../styles/insertStyle.cjs');
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
insertStyle.default("._container_c6mpk_1 {\n box-sizing: border-box;\n position: relative;\n padding: 14px var(--sizes-md);\n}\n\n._contour_c6mpk_7 {\n box-sizing: border-box;\n position: relative;\n display: flex;\n flex-direction: row;\n align-items: center;\n height: var(--sizes-10);\n border-radius: var(--radius-base);\n padding: 0 var(--sizes-3);\n border: var(--sizes-line) solid transparent;\n cursor: pointer;\n}\n._contour_c6mpk_7:hover {\n border: var(--sizes-line) solid var(--colour-palette-base);\n background-color: var(--colour-palette-lightest);\n}\n._contour_c6mpk_7 span {\n color: var(--custom-text-colour, var(--colors-neutral-ink-dark));\n}\n\n._active_c6mpk_27 {\n background-color: var(--colour-palette-lightest);\n}\n\n._counterContainer_c6mpk_31 {\n display: inline-flex;\n flex-direction: row;\n justify-content: center;\n align-items: center;\n border-radius: var(--radius-base);\n padding: 2px 4px;\n min-width: var(--sizes-5);\n height: var(--sizes-5);\n margin-left: var(--sizes-sm);\n}\n\n._counterActive_c6mpk_43 {\n background-color: var(--colour-palette-base);\n}\n._counterActive_c6mpk_43 ._counterText_c6mpk_46 {\n color: #fff;\n}\n\n._counterText_c6mpk_46 {\n line-height: 1;\n}\n\n._customIconWrapper_c6mpk_54 {\n display: flex;\n align-items: center;\n margin-right: var(--sizes-sm);\n}\n._customIconWrapper_c6mpk_54 svg {\n height: var(--sizes-base);\n width: var(--sizes-base);\n}");
|
|
6
6
|
var styles = {"container":"_container_c6mpk_1","contour":"_contour_c6mpk_7","active":"_active_c6mpk_27","counterContainer":"_counterContainer_c6mpk_31","counterActive":"_counterActive_c6mpk_43","counterText":"_counterText_c6mpk_46","customIconWrapper":"_customIconWrapper_c6mpk_54"};
|
|
7
7
|
|
|
8
8
|
module.exports = styles;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"View.module.scss.cjs","sources":["../../../src/components/View/View.module.scss"],"sourcesContent":[".container {\n box-sizing: border-box;\n position: relative;\n padding: 14px var(--sizes-md);\n}\n\n.contour {\n box-sizing: border-box;\n position: relative;\n display: flex;\n flex-direction: row;\n align-items: center;\n height: var(--sizes-10);\n border-radius: var(--radius-base);\n padding: 0 var(--sizes-3);\n border: var(--sizes-line) solid transparent;\n cursor: pointer;\n\n &:hover {\n border: var(--sizes-line) solid var(--colour-palette-base);\n background-color: var(--colour-palette-lightest);\n }\n\n span {\n color: var(--custom-text-colour, var(--colors-neutral-ink-dark));\n }\n}\n\n.active {\n background-color: var(--colour-palette-lightest);\n}\n\n.counterContainer {\n display: inline-flex;\n flex-direction: row;\n justify-content: center;\n align-items: center;\n border-radius: var(--radius-base);\n padding: 2px 4px;\n min-width: var(--sizes-5);\n height: var(--sizes-5);\n margin-left: var(--sizes-sm);\n}\n\n.counterActive {\n background-color: var(--colour-palette-base);\n\n .counterText {\n color: #fff;\n }\n}\n\n.counterText {\n line-height: 1;\n}\n\n.customIconWrapper {\n display: flex;\n align-items: center;\n margin-right: var(--sizes-sm);\n\n svg {\n height: var(--sizes-base);\n width: var(--sizes-base);\n }\n}\n"],"names":[],"mappings":";;;;
|
|
1
|
+
{"version":3,"file":"View.module.scss.cjs","sources":["../../../src/components/View/View.module.scss"],"sourcesContent":[".container {\n box-sizing: border-box;\n position: relative;\n padding: 14px var(--sizes-md);\n}\n\n.contour {\n box-sizing: border-box;\n position: relative;\n display: flex;\n flex-direction: row;\n align-items: center;\n height: var(--sizes-10);\n border-radius: var(--radius-base);\n padding: 0 var(--sizes-3);\n border: var(--sizes-line) solid transparent;\n cursor: pointer;\n\n &:hover {\n border: var(--sizes-line) solid var(--colour-palette-base);\n background-color: var(--colour-palette-lightest);\n }\n\n span {\n color: var(--custom-text-colour, var(--colors-neutral-ink-dark));\n }\n}\n\n.active {\n background-color: var(--colour-palette-lightest);\n}\n\n.counterContainer {\n display: inline-flex;\n flex-direction: row;\n justify-content: center;\n align-items: center;\n border-radius: var(--radius-base);\n padding: 2px 4px;\n min-width: var(--sizes-5);\n height: var(--sizes-5);\n margin-left: var(--sizes-sm);\n}\n\n.counterActive {\n background-color: var(--colour-palette-base);\n\n .counterText {\n color: #fff;\n }\n}\n\n.counterText {\n line-height: 1;\n}\n\n.customIconWrapper {\n display: flex;\n align-items: center;\n margin-right: var(--sizes-sm);\n\n svg {\n height: var(--sizes-base);\n width: var(--sizes-base);\n }\n}\n"],"names":["___$insertStyle"],"mappings":";;;;AACEA,mBAAA,CAAA,85CAAA;AACA,aAAA,CAAA,WAAA,CAAA,oBAAA,CAAA,SAAA,CAAA,kBAAA,CAAA,QAAA,CAAA,kBAAA,CAAA,kBAAA,CAAA,4BAAA,CAAA,eAAA,CAAA,yBAAA,CAAA,aAAA,CAAA,uBAAA,CAAA,mBAAA,CAAA,6BAAA;;;;"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import insertStyle from '../../
|
|
1
|
+
import insertStyle from '../../styles/insertStyle.js';
|
|
2
2
|
|
|
3
3
|
insertStyle("._container_c6mpk_1 {\n box-sizing: border-box;\n position: relative;\n padding: 14px var(--sizes-md);\n}\n\n._contour_c6mpk_7 {\n box-sizing: border-box;\n position: relative;\n display: flex;\n flex-direction: row;\n align-items: center;\n height: var(--sizes-10);\n border-radius: var(--radius-base);\n padding: 0 var(--sizes-3);\n border: var(--sizes-line) solid transparent;\n cursor: pointer;\n}\n._contour_c6mpk_7:hover {\n border: var(--sizes-line) solid var(--colour-palette-base);\n background-color: var(--colour-palette-lightest);\n}\n._contour_c6mpk_7 span {\n color: var(--custom-text-colour, var(--colors-neutral-ink-dark));\n}\n\n._active_c6mpk_27 {\n background-color: var(--colour-palette-lightest);\n}\n\n._counterContainer_c6mpk_31 {\n display: inline-flex;\n flex-direction: row;\n justify-content: center;\n align-items: center;\n border-radius: var(--radius-base);\n padding: 2px 4px;\n min-width: var(--sizes-5);\n height: var(--sizes-5);\n margin-left: var(--sizes-sm);\n}\n\n._counterActive_c6mpk_43 {\n background-color: var(--colour-palette-base);\n}\n._counterActive_c6mpk_43 ._counterText_c6mpk_46 {\n color: #fff;\n}\n\n._counterText_c6mpk_46 {\n line-height: 1;\n}\n\n._customIconWrapper_c6mpk_54 {\n display: flex;\n align-items: center;\n margin-right: var(--sizes-sm);\n}\n._customIconWrapper_c6mpk_54 svg {\n height: var(--sizes-base);\n width: var(--sizes-base);\n}");
|
|
4
4
|
var styles = {"container":"_container_c6mpk_1","contour":"_contour_c6mpk_7","active":"_active_c6mpk_27","counterContainer":"_counterContainer_c6mpk_31","counterActive":"_counterActive_c6mpk_43","counterText":"_counterText_c6mpk_46","customIconWrapper":"_customIconWrapper_c6mpk_54"};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var insertStyle = require('../../styles/insertStyle.cjs');
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
insertStyle.default("._contour_h3576_1 {\n position: relative;\n max-height: var(--sizes-10);\n border-radius: var(--sizes-xs);\n padding: var(--sizes-sm);\n border: var(--sizes-line) solid transparent;\n cursor: pointer;\n background-color: transparent;\n}\n._contour_h3576_1 > span {\n color: var(--custom-text-colour, var(--colors-neutral-ink-dark));\n}\n\n._counterContainer_h3576_14 {\n display: inline-flex;\n border-radius: var(--sizes-xs);\n padding: 2px var(--sizes-xs);\n min-width: var(--sizes-5);\n height: var(--sizes-5);\n margin-left: var(--sizes-sm);\n}\n\n._counterText_h3576_23 {\n line-height: 1;\n}\n\nbutton[role=tab]._viewButton_h3576_27 {\n box-sizing: border-box;\n border-radius: var(--sizes-xs);\n border: none;\n padding: 0;\n}\nbutton[role=tab]._viewButton_h3576_27._active_h3576_33 {\n background-color: var(--colour-palette-lightest);\n}\nbutton[role=tab]._viewButton_h3576_27._active_h3576_33 ._contour_h3576_1 {\n background-color: var(--colour-palette-lightest);\n}\nbutton[role=tab]._viewButton_h3576_27._active_h3576_33 ._contour_h3576_1 > svg {\n color: var(--colour-palette-dark);\n}\nbutton[role=tab]._viewButton_h3576_27._active_h3576_33 ._contour_h3576_1 > span {\n color: var(--custom-text-colour, var(--colour-palette-dark));\n}\nbutton[role=tab]._viewButton_h3576_27._active_h3576_33 ._contour_h3576_1 ._counterContainer_h3576_14 {\n background-color: var(--colour-palette-dark);\n /* Force all text elements to be white when active, used when using slot\n *\n * Uses important to override text component, due to styled-components being used.\n */\n /* Force all SVG icons to be white when active, used when using slot */\n}\nbutton[role=tab]._viewButton_h3576_27._active_h3576_33 ._contour_h3576_1 ._counterContainer_h3576_14 ._counterText_h3576_23 {\n color: var(--colors-neutral-grey-lightest);\n}\nbutton[role=tab]._viewButton_h3576_27._active_h3576_33 ._contour_h3576_1 ._counterContainer_h3576_14 span {\n color: var(--colors-neutral-grey-lightest) !important;\n}\nbutton[role=tab]._viewButton_h3576_27._active_h3576_33 ._contour_h3576_1 ._counterContainer_h3576_14 svg {\n fill: var(--colors-neutral-grey-lightest);\n color: var(--colors-neutral-grey-lightest);\n}\nbutton[role=tab]._viewButton_h3576_27:hover, button[role=tab]._viewButton_h3576_27:focus-visible {\n background-color: var(--colors-neutral-grey-base);\n}\nbutton[role=tab]._viewButton_h3576_27:hover ._contour_h3576_1, button[role=tab]._viewButton_h3576_27:focus-visible ._contour_h3576_1 {\n background-color: var(--colors-neutral-grey-base);\n}\nbutton[role=tab]._viewButton_h3576_27:hover ._contour_h3576_1 ._counterContainer_h3576_14, button[role=tab]._viewButton_h3576_27:focus-visible ._contour_h3576_1 ._counterContainer_h3576_14 {\n background-color: var(--colors-neutral-grey-base);\n}\nbutton[role=tab]._viewButton_h3576_27:hover ._contour_h3576_1 ._counterContainer_h3576_14 ._counterText_h3576_23, button[role=tab]._viewButton_h3576_27:focus-visible ._contour_h3576_1 ._counterContainer_h3576_14 ._counterText_h3576_23 {\n color: var(--colors-neutral-ink-base);\n}\nbutton[role=tab]._viewButton_h3576_27:hover ._contour_h3576_1 ._counterContainer_h3576_14 svg, button[role=tab]._viewButton_h3576_27:focus-visible ._contour_h3576_1 ._counterContainer_h3576_14 svg {\n fill: var(--colors-neutral-ink-base);\n color: var(--colors-neutral-ink-base);\n}\nbutton[role=tab]._viewButton_h3576_27:hover ._contour_h3576_1 span, button[role=tab]._viewButton_h3576_27:focus-visible ._contour_h3576_1 span {\n color: var(--colors-neutral-ink-dark);\n}\nbutton[role=tab]._viewButton_h3576_27:hover ._contour_h3576_1 svg, button[role=tab]._viewButton_h3576_27:focus-visible ._contour_h3576_1 svg {\n fill: var(--colors-neutral-ink-base);\n color: var(--colors-neutral-ink-base);\n}\nbutton[role=tab]._viewButton_h3576_27._active_h3576_33:hover ._counterContainer_h3576_14, button[role=tab]._viewButton_h3576_27._active_h3576_33:focus-visible ._counterContainer_h3576_14 {\n background-color: var(--colors-neutral-ink-base);\n}\nbutton[role=tab]._viewButton_h3576_27._active_h3576_33:hover ._counterContainer_h3576_14 svg, button[role=tab]._viewButton_h3576_27._active_h3576_33:focus-visible ._counterContainer_h3576_14 svg {\n fill: var(--colors-neutral-grey-lightest);\n color: var(--colors-neutral-grey-lightest);\n}\n\n._iconWrapper_h3576_94 {\n margin-right: var(--sizes-sm);\n}\n._iconWrapper_h3576_94 svg {\n height: var(--sizes-base);\n width: var(--sizes-base);\n}\n\n._iconStyling_h3576_102 {\n margin-left: var(--sizes-xs);\n padding: var(--sizes-xs);\n height: var(--sizes-base);\n width: var(--sizes-base);\n}");
|
|
6
6
|
var styles = {"contour":"_contour_h3576_1","counterContainer":"_counterContainer_h3576_14","counterText":"_counterText_h3576_23","viewButton":"_viewButton_h3576_27","active":"_active_h3576_33","iconWrapper":"_iconWrapper_h3576_94","iconStyling":"_iconStyling_h3576_102"};
|
|
7
7
|
|
|
8
8
|
module.exports = styles;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ViewTab.module.scss.cjs","sources":["../../../src/components/ViewTab/ViewTab.module.scss"],"sourcesContent":[".contour {\n position: relative;\n max-height: var(--sizes-10);\n border-radius: var(--sizes-xs);\n padding: var(--sizes-sm);\n border: var(--sizes-line) solid transparent;\n cursor: pointer;\n background-color: transparent;\n\n & > span {\n color: var(--custom-text-colour, var(--colors-neutral-ink-dark));\n }\n}\n\n.counterContainer {\n display: inline-flex;\n border-radius: var(--sizes-xs);\n padding: 2px var(--sizes-xs);\n min-width: var(--sizes-5);\n height: var(--sizes-5);\n margin-left: var(--sizes-sm);\n}\n\n.counterText {\n line-height: 1;\n}\n\nbutton[role='tab'].viewButton {\n box-sizing: border-box;\n border-radius: var(--sizes-xs);\n border: none;\n padding: 0;\n\n &.active {\n background-color: var(--colour-palette-lightest);\n .contour {\n background-color: var(--colour-palette-lightest);\n\n & > svg {\n color: var(--colour-palette-dark);\n }\n\n > span {\n color: var(--custom-text-colour, var(--colour-palette-dark));\n }\n\n .counterContainer {\n background-color: var(--colour-palette-dark);\n\n .counterText {\n color: var(--colors-neutral-grey-lightest);\n }\n\n /* Force all text elements to be white when active, used when using slot\n *\n * Uses important to override text component, due to styled-components being used.\n */\n & span {\n color: var(--colors-neutral-grey-lightest) !important;\n }\n\n /* Force all SVG icons to be white when active, used when using slot */\n & svg {\n fill: var(--colors-neutral-grey-lightest);\n color: var(--colors-neutral-grey-lightest);\n }\n }\n }\n }\n\n &:hover,\n &:focus-visible {\n background-color: var(--colors-neutral-grey-base);\n .contour {\n background-color: var(--colors-neutral-grey-base);\n .counterContainer {\n background-color: var(--colors-neutral-grey-base);\n .counterText {\n color: var(--colors-neutral-ink-base);\n }\n & svg {\n fill: var(--colors-neutral-ink-base);\n color: var(--colors-neutral-ink-base);\n }\n }\n\n & span {\n color: var(--colors-neutral-ink-dark);\n }\n\n & svg {\n fill: var(--colors-neutral-ink-base);\n color: var(--colors-neutral-ink-base);\n }\n }\n }\n\n &.active:hover,\n &.active:focus-visible {\n .counterContainer {\n background-color: var(--colors-neutral-ink-base);\n\n & svg {\n fill: var(--colors-neutral-grey-lightest);\n color: var(--colors-neutral-grey-lightest);\n }\n }\n }\n}\n\n.iconWrapper {\n margin-right: var(--sizes-sm);\n\n svg {\n height: var(--sizes-base);\n width: var(--sizes-base);\n }\n}\n\n.iconStyling {\n margin-left: var(--sizes-xs);\n padding: var(--sizes-xs);\n height: var(--sizes-base);\n width: var(--sizes-base);\n}\n"],"names":[],"mappings":";;;;
|
|
1
|
+
{"version":3,"file":"ViewTab.module.scss.cjs","sources":["../../../src/components/ViewTab/ViewTab.module.scss"],"sourcesContent":[".contour {\n position: relative;\n max-height: var(--sizes-10);\n border-radius: var(--sizes-xs);\n padding: var(--sizes-sm);\n border: var(--sizes-line) solid transparent;\n cursor: pointer;\n background-color: transparent;\n\n & > span {\n color: var(--custom-text-colour, var(--colors-neutral-ink-dark));\n }\n}\n\n.counterContainer {\n display: inline-flex;\n border-radius: var(--sizes-xs);\n padding: 2px var(--sizes-xs);\n min-width: var(--sizes-5);\n height: var(--sizes-5);\n margin-left: var(--sizes-sm);\n}\n\n.counterText {\n line-height: 1;\n}\n\nbutton[role='tab'].viewButton {\n box-sizing: border-box;\n border-radius: var(--sizes-xs);\n border: none;\n padding: 0;\n\n &.active {\n background-color: var(--colour-palette-lightest);\n .contour {\n background-color: var(--colour-palette-lightest);\n\n & > svg {\n color: var(--colour-palette-dark);\n }\n\n > span {\n color: var(--custom-text-colour, var(--colour-palette-dark));\n }\n\n .counterContainer {\n background-color: var(--colour-palette-dark);\n\n .counterText {\n color: var(--colors-neutral-grey-lightest);\n }\n\n /* Force all text elements to be white when active, used when using slot\n *\n * Uses important to override text component, due to styled-components being used.\n */\n & span {\n color: var(--colors-neutral-grey-lightest) !important;\n }\n\n /* Force all SVG icons to be white when active, used when using slot */\n & svg {\n fill: var(--colors-neutral-grey-lightest);\n color: var(--colors-neutral-grey-lightest);\n }\n }\n }\n }\n\n &:hover,\n &:focus-visible {\n background-color: var(--colors-neutral-grey-base);\n .contour {\n background-color: var(--colors-neutral-grey-base);\n .counterContainer {\n background-color: var(--colors-neutral-grey-base);\n .counterText {\n color: var(--colors-neutral-ink-base);\n }\n & svg {\n fill: var(--colors-neutral-ink-base);\n color: var(--colors-neutral-ink-base);\n }\n }\n\n & span {\n color: var(--colors-neutral-ink-dark);\n }\n\n & svg {\n fill: var(--colors-neutral-ink-base);\n color: var(--colors-neutral-ink-base);\n }\n }\n }\n\n &.active:hover,\n &.active:focus-visible {\n .counterContainer {\n background-color: var(--colors-neutral-ink-base);\n\n & svg {\n fill: var(--colors-neutral-grey-lightest);\n color: var(--colors-neutral-grey-lightest);\n }\n }\n }\n}\n\n.iconWrapper {\n margin-right: var(--sizes-sm);\n\n svg {\n height: var(--sizes-base);\n width: var(--sizes-base);\n }\n}\n\n.iconStyling {\n margin-left: var(--sizes-xs);\n padding: var(--sizes-xs);\n height: var(--sizes-base);\n width: var(--sizes-base);\n}\n"],"names":["___$insertStyle"],"mappings":";;;;AACEA,mBAAA,CAAA,2jJAAA;AACA,aAAA,CAAA,SAAA,CAAA,kBAAA,CAAA,kBAAA,CAAA,4BAAA,CAAA,aAAA,CAAA,uBAAA,CAAA,YAAA,CAAA,sBAAA,CAAA,QAAA,CAAA,kBAAA,CAAA,aAAA,CAAA,uBAAA,CAAA,aAAA,CAAA,wBAAA;;;;"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import insertStyle from '../../
|
|
1
|
+
import insertStyle from '../../styles/insertStyle.js';
|
|
2
2
|
|
|
3
3
|
insertStyle("._contour_h3576_1 {\n position: relative;\n max-height: var(--sizes-10);\n border-radius: var(--sizes-xs);\n padding: var(--sizes-sm);\n border: var(--sizes-line) solid transparent;\n cursor: pointer;\n background-color: transparent;\n}\n._contour_h3576_1 > span {\n color: var(--custom-text-colour, var(--colors-neutral-ink-dark));\n}\n\n._counterContainer_h3576_14 {\n display: inline-flex;\n border-radius: var(--sizes-xs);\n padding: 2px var(--sizes-xs);\n min-width: var(--sizes-5);\n height: var(--sizes-5);\n margin-left: var(--sizes-sm);\n}\n\n._counterText_h3576_23 {\n line-height: 1;\n}\n\nbutton[role=tab]._viewButton_h3576_27 {\n box-sizing: border-box;\n border-radius: var(--sizes-xs);\n border: none;\n padding: 0;\n}\nbutton[role=tab]._viewButton_h3576_27._active_h3576_33 {\n background-color: var(--colour-palette-lightest);\n}\nbutton[role=tab]._viewButton_h3576_27._active_h3576_33 ._contour_h3576_1 {\n background-color: var(--colour-palette-lightest);\n}\nbutton[role=tab]._viewButton_h3576_27._active_h3576_33 ._contour_h3576_1 > svg {\n color: var(--colour-palette-dark);\n}\nbutton[role=tab]._viewButton_h3576_27._active_h3576_33 ._contour_h3576_1 > span {\n color: var(--custom-text-colour, var(--colour-palette-dark));\n}\nbutton[role=tab]._viewButton_h3576_27._active_h3576_33 ._contour_h3576_1 ._counterContainer_h3576_14 {\n background-color: var(--colour-palette-dark);\n /* Force all text elements to be white when active, used when using slot\n *\n * Uses important to override text component, due to styled-components being used.\n */\n /* Force all SVG icons to be white when active, used when using slot */\n}\nbutton[role=tab]._viewButton_h3576_27._active_h3576_33 ._contour_h3576_1 ._counterContainer_h3576_14 ._counterText_h3576_23 {\n color: var(--colors-neutral-grey-lightest);\n}\nbutton[role=tab]._viewButton_h3576_27._active_h3576_33 ._contour_h3576_1 ._counterContainer_h3576_14 span {\n color: var(--colors-neutral-grey-lightest) !important;\n}\nbutton[role=tab]._viewButton_h3576_27._active_h3576_33 ._contour_h3576_1 ._counterContainer_h3576_14 svg {\n fill: var(--colors-neutral-grey-lightest);\n color: var(--colors-neutral-grey-lightest);\n}\nbutton[role=tab]._viewButton_h3576_27:hover, button[role=tab]._viewButton_h3576_27:focus-visible {\n background-color: var(--colors-neutral-grey-base);\n}\nbutton[role=tab]._viewButton_h3576_27:hover ._contour_h3576_1, button[role=tab]._viewButton_h3576_27:focus-visible ._contour_h3576_1 {\n background-color: var(--colors-neutral-grey-base);\n}\nbutton[role=tab]._viewButton_h3576_27:hover ._contour_h3576_1 ._counterContainer_h3576_14, button[role=tab]._viewButton_h3576_27:focus-visible ._contour_h3576_1 ._counterContainer_h3576_14 {\n background-color: var(--colors-neutral-grey-base);\n}\nbutton[role=tab]._viewButton_h3576_27:hover ._contour_h3576_1 ._counterContainer_h3576_14 ._counterText_h3576_23, button[role=tab]._viewButton_h3576_27:focus-visible ._contour_h3576_1 ._counterContainer_h3576_14 ._counterText_h3576_23 {\n color: var(--colors-neutral-ink-base);\n}\nbutton[role=tab]._viewButton_h3576_27:hover ._contour_h3576_1 ._counterContainer_h3576_14 svg, button[role=tab]._viewButton_h3576_27:focus-visible ._contour_h3576_1 ._counterContainer_h3576_14 svg {\n fill: var(--colors-neutral-ink-base);\n color: var(--colors-neutral-ink-base);\n}\nbutton[role=tab]._viewButton_h3576_27:hover ._contour_h3576_1 span, button[role=tab]._viewButton_h3576_27:focus-visible ._contour_h3576_1 span {\n color: var(--colors-neutral-ink-dark);\n}\nbutton[role=tab]._viewButton_h3576_27:hover ._contour_h3576_1 svg, button[role=tab]._viewButton_h3576_27:focus-visible ._contour_h3576_1 svg {\n fill: var(--colors-neutral-ink-base);\n color: var(--colors-neutral-ink-base);\n}\nbutton[role=tab]._viewButton_h3576_27._active_h3576_33:hover ._counterContainer_h3576_14, button[role=tab]._viewButton_h3576_27._active_h3576_33:focus-visible ._counterContainer_h3576_14 {\n background-color: var(--colors-neutral-ink-base);\n}\nbutton[role=tab]._viewButton_h3576_27._active_h3576_33:hover ._counterContainer_h3576_14 svg, button[role=tab]._viewButton_h3576_27._active_h3576_33:focus-visible ._counterContainer_h3576_14 svg {\n fill: var(--colors-neutral-grey-lightest);\n color: var(--colors-neutral-grey-lightest);\n}\n\n._iconWrapper_h3576_94 {\n margin-right: var(--sizes-sm);\n}\n._iconWrapper_h3576_94 svg {\n height: var(--sizes-base);\n width: var(--sizes-base);\n}\n\n._iconStyling_h3576_102 {\n margin-left: var(--sizes-xs);\n padding: var(--sizes-xs);\n height: var(--sizes-base);\n width: var(--sizes-base);\n}");
|
|
4
4
|
var styles = {"contour":"_contour_h3576_1","counterContainer":"_counterContainer_h3576_14","counterText":"_counterText_h3576_23","viewButton":"_viewButton_h3576_27","active":"_active_h3576_33","iconWrapper":"_iconWrapper_h3576_94","iconStyling":"_iconStyling_h3576_102"};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var insertStyle = require('../../styles/insertStyle.cjs');
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
insertStyle.default("._viewsWrapper_1bexx_1 {\n position: relative; /* Required for offset positioning of scroll position */\n overflow-x: scroll;\n -ms-overflow-style: none; /* for Internet Explorer, Edge */\n scrollbar-width: none; /* for Firefox */\n height: inherit;\n padding: var(--sizes-sm) 6px var(--sizes-sm);\n margin-left: -6px;\n}\n._viewsWrapper_1bexx_1 ::-webkit-scrollbar {\n display: none; /* for Chrome, Safari, and Opera */\n}\n._viewsWrapper_1bexx_1._compact_1bexx_13 {\n padding: var(--sizes-xs);\n}\n\n._appearance-primary_1bexx_17 {\n background-color: var(--colors-neutral-grey-lightest);\n}\n\n._menuButton_1bexx_21 {\n background-color: white !important;\n border-radius: var(--sizes-sm);\n}\n._menuButton_1bexx_21:hover {\n background-color: var(--colors-neutral-grey-lightest);\n}\n\n._scrollButton_1bexx_29 {\n background-color: white !important;\n}\n._scrollButton_1bexx_29:disabled {\n background-color: white !important;\n}\n._scrollButton_1bexx_29:disabled svg {\n color: var(--colors-neutral-ink-lightest);\n}\n._scrollButton_1bexx_29:hover {\n background-color: var(--colors-neutral-grey-lightest);\n}\n\n._buttonGroup_1bexx_42 {\n padding-right: var(--sizes-sm);\n}");
|
|
6
6
|
var styles = {"viewsWrapper":"_viewsWrapper_1bexx_1","compact":"_compact_1bexx_13","appearance-primary":"_appearance-primary_1bexx_17","menuButton":"_menuButton_1bexx_21","scrollButton":"_scrollButton_1bexx_29","buttonGroup":"_buttonGroup_1bexx_42"};
|
|
7
7
|
|
|
8
8
|
module.exports = styles;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ViewsContainer.module.scss.cjs","sources":["../../../src/components/ViewsContainer/ViewsContainer.module.scss"],"sourcesContent":[".viewsWrapper {\n position: relative; /* Required for offset positioning of scroll position */\n overflow-x: scroll;\n -ms-overflow-style: none; /* for Internet Explorer, Edge */\n scrollbar-width: none; /* for Firefox */\n\n ::-webkit-scrollbar {\n display: none; /* for Chrome, Safari, and Opera */\n }\n\n height: inherit;\n padding: var(--sizes-sm) 6px var(--sizes-sm);\n margin-left: -6px;\n\n &.compact {\n padding: var(--sizes-xs);\n }\n}\n\n.appearance-primary {\n background-color: var(--colors-neutral-grey-lightest);\n}\n\n// using important to override styled-component styles on button\n.menuButton {\n background-color: white !important;\n border-radius: var(--sizes-sm);\n\n &:hover {\n background-color: var(--colors-neutral-grey-lightest);\n }\n}\n\n// using important to override styled-component styles on button\n.scrollButton {\n background-color: white !important;\n\n &:disabled {\n background-color: white !important;\n & svg {\n color: var(--colors-neutral-ink-lightest);\n }\n }\n\n &:hover {\n background-color: var(--colors-neutral-grey-lightest);\n }\n}\n\n.buttonGroup {\n padding-right: var(--sizes-sm);\n}\n"],"names":[],"mappings":";;;;
|
|
1
|
+
{"version":3,"file":"ViewsContainer.module.scss.cjs","sources":["../../../src/components/ViewsContainer/ViewsContainer.module.scss"],"sourcesContent":[".viewsWrapper {\n position: relative; /* Required for offset positioning of scroll position */\n overflow-x: scroll;\n -ms-overflow-style: none; /* for Internet Explorer, Edge */\n scrollbar-width: none; /* for Firefox */\n\n ::-webkit-scrollbar {\n display: none; /* for Chrome, Safari, and Opera */\n }\n\n height: inherit;\n padding: var(--sizes-sm) 6px var(--sizes-sm);\n margin-left: -6px;\n\n &.compact {\n padding: var(--sizes-xs);\n }\n}\n\n.appearance-primary {\n background-color: var(--colors-neutral-grey-lightest);\n}\n\n// using important to override styled-component styles on button\n.menuButton {\n background-color: white !important;\n border-radius: var(--sizes-sm);\n\n &:hover {\n background-color: var(--colors-neutral-grey-lightest);\n }\n}\n\n// using important to override styled-component styles on button\n.scrollButton {\n background-color: white !important;\n\n &:disabled {\n background-color: white !important;\n & svg {\n color: var(--colors-neutral-ink-lightest);\n }\n }\n\n &:hover {\n background-color: var(--colors-neutral-grey-lightest);\n }\n}\n\n.buttonGroup {\n padding-right: var(--sizes-sm);\n}\n"],"names":["___$insertStyle"],"mappings":";;;;AACEA,mBAAA,CAAA,+qCAAA;AACA,aAAA,CAAA,cAAA,CAAA,uBAAA,CAAA,SAAA,CAAA,mBAAA,CAAA,oBAAA,CAAA,8BAAA,CAAA,YAAA,CAAA,sBAAA,CAAA,cAAA,CAAA,wBAAA,CAAA,aAAA,CAAA,uBAAA;;;;"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import insertStyle from '../../
|
|
1
|
+
import insertStyle from '../../styles/insertStyle.js';
|
|
2
2
|
|
|
3
3
|
insertStyle("._viewsWrapper_1bexx_1 {\n position: relative; /* Required for offset positioning of scroll position */\n overflow-x: scroll;\n -ms-overflow-style: none; /* for Internet Explorer, Edge */\n scrollbar-width: none; /* for Firefox */\n height: inherit;\n padding: var(--sizes-sm) 6px var(--sizes-sm);\n margin-left: -6px;\n}\n._viewsWrapper_1bexx_1 ::-webkit-scrollbar {\n display: none; /* for Chrome, Safari, and Opera */\n}\n._viewsWrapper_1bexx_1._compact_1bexx_13 {\n padding: var(--sizes-xs);\n}\n\n._appearance-primary_1bexx_17 {\n background-color: var(--colors-neutral-grey-lightest);\n}\n\n._menuButton_1bexx_21 {\n background-color: white !important;\n border-radius: var(--sizes-sm);\n}\n._menuButton_1bexx_21:hover {\n background-color: var(--colors-neutral-grey-lightest);\n}\n\n._scrollButton_1bexx_29 {\n background-color: white !important;\n}\n._scrollButton_1bexx_29:disabled {\n background-color: white !important;\n}\n._scrollButton_1bexx_29:disabled svg {\n color: var(--colors-neutral-ink-lightest);\n}\n._scrollButton_1bexx_29:hover {\n background-color: var(--colors-neutral-grey-lightest);\n}\n\n._buttonGroup_1bexx_42 {\n padding-right: var(--sizes-sm);\n}");
|
|
4
4
|
var styles = {"viewsWrapper":"_viewsWrapper_1bexx_1","compact":"_compact_1bexx_13","appearance-primary":"_appearance-primary_1bexx_17","menuButton":"_menuButton_1bexx_21","scrollButton":"_scrollButton_1bexx_29","buttonGroup":"_buttonGroup_1bexx_42"};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var insertStyle = require('../../styles/insertStyle.cjs');
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
insertStyle.default("._group_5x4fb_1 {\n flex: 1;\n --interactive-border: var(--colors-secondary-blue-base);\n --focus-ring: var(--colors-secondary-blue-light);\n /* Only focus/active states additionally get the outer focus ring. */\n}\n._group_5x4fb_1 ._defaultBorder_5x4fb_7 {\n --border-color: var(--colors-neutral-grey-base);\n}\n._group_5x4fb_1:not(:has(:disabled)):hover, ._group_5x4fb_1:focus-within, ._group_5x4fb_1:not(:has(:disabled)):active {\n border-radius: var(--radius-base);\n}\n._group_5x4fb_1:not(:has(:disabled)):hover > ._field_5x4fb_13,\n._group_5x4fb_1:not(:has(:disabled)):hover > ._affix_5x4fb_14, ._group_5x4fb_1:focus-within > ._field_5x4fb_13,\n._group_5x4fb_1:focus-within > ._affix_5x4fb_14, ._group_5x4fb_1:not(:has(:disabled)):active > ._field_5x4fb_13,\n._group_5x4fb_1:not(:has(:disabled)):active > ._affix_5x4fb_14 {\n outline: none;\n border-color: var(--interactive-border);\n}\n._group_5x4fb_1:focus-within, ._group_5x4fb_1:not(:has(:disabled)):active {\n outline: var(--sizes-xs) solid var(--focus-ring);\n}\n\n._field_5x4fb_13 {\n flex: 1;\n}\n\n._affix_5x4fb_14 {\n flex: 0;\n --text-hint-text-color: var(--colors-neutral-ink-lightest);\n --text-hint-text-line-height: var(--text-body-line-height);\n}\n\n._groupError_5x4fb_34 {\n --interactive-border: var(--colors-secondary-red-base);\n --focus-ring: var(--colors-secondary-red-light);\n}\n._groupError_5x4fb_34 > ._field_5x4fb_13,\n._groupError_5x4fb_34 > ._affix_5x4fb_14 {\n outline: none;\n border-color: var(--colors-secondary-red-base);\n}");
|
|
6
6
|
var styles = {"group":"_group_5x4fb_1","defaultBorder":"_defaultBorder_5x4fb_7","field":"_field_5x4fb_13","affix":"_affix_5x4fb_14","groupError":"_groupError_5x4fb_34"};
|
|
7
7
|
|
|
8
8
|
module.exports = styles;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WeightInput.module.scss.cjs","sources":["../../../src/components/WeightInput/WeightInput.module.scss"],"sourcesContent":[".group {\n flex: 1;\n\n --interactive-border: var(--colors-secondary-blue-base);\n --focus-ring: var(--colors-secondary-blue-light);\n .defaultBorder {\n --border-color: var(--colors-neutral-grey-base);\n }\n\n &:not(:has(:disabled)):hover,\n &:focus-within,\n &:not(:has(:disabled)):active {\n border-radius: var(--radius-base);\n > .field,\n > .affix {\n outline: none;\n border-color: var(--interactive-border);\n }\n }\n\n /* Only focus/active states additionally get the outer focus ring. */\n &:focus-within,\n &:not(:has(:disabled)):active {\n outline: var(--sizes-xs) solid var(--focus-ring);\n }\n}\n\n.field {\n flex: 1;\n}\n\n.affix {\n flex: 0;\n\n --text-hint-text-color: var(--colors-neutral-ink-lightest);\n --text-hint-text-line-height: var(--text-body-line-height);\n}\n\n.groupError {\n --interactive-border: var(--colors-secondary-red-base);\n --focus-ring: var(--colors-secondary-red-light);\n\n > .field,\n > .affix {\n outline: none;\n border-color: var(--colors-secondary-red-base);\n }\n}\n"],"names":[],"mappings":";;;;
|
|
1
|
+
{"version":3,"file":"WeightInput.module.scss.cjs","sources":["../../../src/components/WeightInput/WeightInput.module.scss"],"sourcesContent":[".group {\n flex: 1;\n\n --interactive-border: var(--colors-secondary-blue-base);\n --focus-ring: var(--colors-secondary-blue-light);\n .defaultBorder {\n --border-color: var(--colors-neutral-grey-base);\n }\n\n &:not(:has(:disabled)):hover,\n &:focus-within,\n &:not(:has(:disabled)):active {\n border-radius: var(--radius-base);\n > .field,\n > .affix {\n outline: none;\n border-color: var(--interactive-border);\n }\n }\n\n /* Only focus/active states additionally get the outer focus ring. */\n &:focus-within,\n &:not(:has(:disabled)):active {\n outline: var(--sizes-xs) solid var(--focus-ring);\n }\n}\n\n.field {\n flex: 1;\n}\n\n.affix {\n flex: 0;\n\n --text-hint-text-color: var(--colors-neutral-ink-lightest);\n --text-hint-text-line-height: var(--text-body-line-height);\n}\n\n.groupError {\n --interactive-border: var(--colors-secondary-red-base);\n --focus-ring: var(--colors-secondary-red-light);\n\n > .field,\n > .affix {\n outline: none;\n border-color: var(--colors-secondary-red-base);\n }\n}\n"],"names":["___$insertStyle"],"mappings":";;;;AACEA,mBAAA,CAAA,+/CAAA;AAEA,aAAA,CAAA,OAAA,CAAA,gBAAA,CAAA,eAAA,CAAA,wBAAA,CAAA,OAAA,CAAA,iBAAA,CAAA,OAAA,CAAA,iBAAA,CAAA,YAAA,CAAA,sBAAA;;;;"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import insertStyle from '../../
|
|
1
|
+
import insertStyle from '../../styles/insertStyle.js';
|
|
2
2
|
|
|
3
3
|
insertStyle("._group_5x4fb_1 {\n flex: 1;\n --interactive-border: var(--colors-secondary-blue-base);\n --focus-ring: var(--colors-secondary-blue-light);\n /* Only focus/active states additionally get the outer focus ring. */\n}\n._group_5x4fb_1 ._defaultBorder_5x4fb_7 {\n --border-color: var(--colors-neutral-grey-base);\n}\n._group_5x4fb_1:not(:has(:disabled)):hover, ._group_5x4fb_1:focus-within, ._group_5x4fb_1:not(:has(:disabled)):active {\n border-radius: var(--radius-base);\n}\n._group_5x4fb_1:not(:has(:disabled)):hover > ._field_5x4fb_13,\n._group_5x4fb_1:not(:has(:disabled)):hover > ._affix_5x4fb_14, ._group_5x4fb_1:focus-within > ._field_5x4fb_13,\n._group_5x4fb_1:focus-within > ._affix_5x4fb_14, ._group_5x4fb_1:not(:has(:disabled)):active > ._field_5x4fb_13,\n._group_5x4fb_1:not(:has(:disabled)):active > ._affix_5x4fb_14 {\n outline: none;\n border-color: var(--interactive-border);\n}\n._group_5x4fb_1:focus-within, ._group_5x4fb_1:not(:has(:disabled)):active {\n outline: var(--sizes-xs) solid var(--focus-ring);\n}\n\n._field_5x4fb_13 {\n flex: 1;\n}\n\n._affix_5x4fb_14 {\n flex: 0;\n --text-hint-text-color: var(--colors-neutral-ink-lightest);\n --text-hint-text-line-height: var(--text-body-line-height);\n}\n\n._groupError_5x4fb_34 {\n --interactive-border: var(--colors-secondary-red-base);\n --focus-ring: var(--colors-secondary-red-light);\n}\n._groupError_5x4fb_34 > ._field_5x4fb_13,\n._groupError_5x4fb_34 > ._affix_5x4fb_14 {\n outline: none;\n border-color: var(--colors-secondary-red-base);\n}");
|
|
4
4
|
var styles = {"group":"_group_5x4fb_1","defaultBorder":"_defaultBorder_5x4fb_7","field":"_field_5x4fb_13","affix":"_affix_5x4fb_14","groupError":"_groupError_5x4fb_34"};
|
|
@@ -14,6 +14,7 @@ export { Badge } from './Badge';
|
|
|
14
14
|
export { Banner } from './Banner';
|
|
15
15
|
export { BaseContainer, type BaseContainerProps } from './BaseContainer';
|
|
16
16
|
export { Breadcrumbs } from './Breadcrumbs';
|
|
17
|
+
export type { BreadcrumbsProps } from './Breadcrumbs';
|
|
17
18
|
export { Button, type ButtonProps } from './Button';
|
|
18
19
|
export { RangeCalendar, Calendar, useIsDateUnavailable } from './Calendars';
|
|
19
20
|
export { Card, type CardElevation, type SurfaceProps } from './Card';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var insertStyle = require('../../styles/insertStyle.cjs');
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
insertStyle.default("._block_10obo_1 {\n display: block;\n}\n\n._hoverableFlex_10obo_5 {\n display: flex;\n}");
|
|
6
6
|
var blockTooltipStyles = {"block":"_block_10obo_1","hoverableFlex":"_hoverableFlex_10obo_5"};
|
|
7
7
|
|
|
8
8
|
module.exports = blockTooltipStyles;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BlockTooltip.module.scss.cjs","sources":["../../../src/hoc/withLabels/BlockTooltip.module.scss"],"sourcesContent":[".block {\n display: block;\n}\n\n.hoverableFlex {\n display: flex;\n}\n"],"names":[],"mappings":";;;;
|
|
1
|
+
{"version":3,"file":"BlockTooltip.module.scss.cjs","sources":["../../../src/hoc/withLabels/BlockTooltip.module.scss"],"sourcesContent":[".block {\n display: block;\n}\n\n.hoverableFlex {\n display: flex;\n}\n"],"names":["___$insertStyle"],"mappings":";;;;AACEA,mBAAA,CAAA,2FAAA;;;;;"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import insertStyle from '../../
|
|
1
|
+
import insertStyle from '../../styles/insertStyle.js';
|
|
2
2
|
|
|
3
3
|
insertStyle("._block_10obo_1 {\n display: block;\n}\n\n._hoverableFlex_10obo_5 {\n display: flex;\n}");
|
|
4
4
|
var blockTooltipStyles = {"block":"_block_10obo_1","hoverableFlex":"_hoverableFlex_10obo_5"};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var insertStyle = require('../../styles/insertStyle.cjs');
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
insertStyle.default("._rootStack_idlam_1 {\n position: relative;\n}\n\n/* Overrides hintText token's 12px/16px to use body font-size/line-height */\n._hint_idlam_6 {\n font-size: var(--text-body-font-size);\n line-height: var(--text-body-line-height);\n}\n\n/* Error token uses font-weight: 600, but form errors render at normal weight */\n._error_idlam_12 {\n font-weight: normal;\n}");
|
|
6
6
|
var labelStyles = {"rootStack":"_rootStack_idlam_1","hint":"_hint_idlam_6","error":"_error_idlam_12"};
|
|
7
7
|
|
|
8
8
|
module.exports = labelStyles;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"withLabels.module.scss.cjs","sources":["../../../src/hoc/withLabels/withLabels.module.scss"],"sourcesContent":[".rootStack {\n position: relative;\n}\n\n/* Overrides hintText token's 12px/16px to use body font-size/line-height */\n.hint {\n font-size: var(--text-body-font-size);\n line-height: var(--text-body-line-height);\n}\n\n/* Error token uses font-weight: 600, but form errors render at normal weight */\n.error {\n font-weight: normal;\n}\n"],"names":[],"mappings":";;;;
|
|
1
|
+
{"version":3,"file":"withLabels.module.scss.cjs","sources":["../../../src/hoc/withLabels/withLabels.module.scss"],"sourcesContent":[".rootStack {\n position: relative;\n}\n\n/* Overrides hintText token's 12px/16px to use body font-size/line-height */\n.hint {\n font-size: var(--text-body-font-size);\n line-height: var(--text-body-line-height);\n}\n\n/* Error token uses font-weight: 600, but form errors render at normal weight */\n.error {\n font-weight: normal;\n}\n"],"names":["___$insertStyle"],"mappings":";;;;AACEA,mBAAA,CAAA,iXAAA;;;;;"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import insertStyle from '../../
|
|
1
|
+
import insertStyle from '../../styles/insertStyle.js';
|
|
2
2
|
|
|
3
3
|
insertStyle("._rootStack_idlam_1 {\n position: relative;\n}\n\n/* Overrides hintText token's 12px/16px to use body font-size/line-height */\n._hint_idlam_6 {\n font-size: var(--text-body-font-size);\n line-height: var(--text-body-line-height);\n}\n\n/* Error token uses font-weight: 600, but form errors render at normal weight */\n._error_idlam_12 {\n font-weight: normal;\n}");
|
|
4
4
|
var labelStyles = {"rootStack":"_rootStack_idlam_1","hint":"_hint_idlam_6","error":"_error_idlam_12"};
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var stylesheetCheck = require('./stylesheetCheck.cjs');
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* Runtime injector for compiled CSS modules.
|
|
9
|
+
*
|
|
10
|
+
* rollup.config.js resolves rollup-plugin-sass's `___$insertStyle` import to this file, so
|
|
11
|
+
* every `*.module.scss` module calls the default export with its compiled CSS at import time.
|
|
12
|
+
* Not re-exported from any barrel: it is a build seam, not public API.
|
|
13
|
+
*
|
|
14
|
+
* Hosts that serve `@veeqo/ui/styles.css` opt out of injection via `resolveStylesMode`. When
|
|
15
|
+
* injection does happen, the `<style>` element carries the host's CSP nonce if one is advertised.
|
|
16
|
+
*/
|
|
17
|
+
const STYLES_MODE_META_NAME = 'veeqo-ui-styles';
|
|
18
|
+
const STYLES_MODE_GLOBAL_KEY = '__VEEQO_UI_STYLES__';
|
|
19
|
+
/** webpack's nonce global, also read by styled-components and react-aria. */
|
|
20
|
+
const WEBPACK_NONCE_KEY = '__webpack_nonce__';
|
|
21
|
+
const EXTERNAL = 'external';
|
|
22
|
+
const asMode = (value) => {
|
|
23
|
+
if (value === EXTERNAL)
|
|
24
|
+
return EXTERNAL;
|
|
25
|
+
if (value === 'inject')
|
|
26
|
+
return 'inject';
|
|
27
|
+
return undefined;
|
|
28
|
+
};
|
|
29
|
+
const compileTimeMode = () =>
|
|
30
|
+
// `typeof` on an undeclared identifier does not throw, so this is safe without a define.
|
|
31
|
+
typeof __VEEQO_UI_STYLES_MODE__ === 'string' ? asMode(__VEEQO_UI_STYLES_MODE__) : undefined;
|
|
32
|
+
const globalMode = () => asMode(globalThis[STYLES_MODE_GLOBAL_KEY]);
|
|
33
|
+
const metaMode = () => {
|
|
34
|
+
if (typeof document === 'undefined')
|
|
35
|
+
return undefined;
|
|
36
|
+
const meta = document.querySelector(`meta[name="${STYLES_MODE_META_NAME}"]`);
|
|
37
|
+
return asMode(meta === null || meta === void 0 ? void 0 : meta.getAttribute('content'));
|
|
38
|
+
};
|
|
39
|
+
/**
|
|
40
|
+
* Decides whether this copy of @veeqo/ui injects its styles or expects the host to have loaded
|
|
41
|
+
* `@veeqo/ui/styles.css`. Precedence: compile-time define, then
|
|
42
|
+
* `globalThis.__VEEQO_UI_STYLES__` (the only mechanism available during SSR and in tests), then
|
|
43
|
+
* `<meta name="veeqo-ui-styles" content="external">`.
|
|
44
|
+
*
|
|
45
|
+
* Not cached: caching would let a page keep an opt-out after the stylesheet that justified it is
|
|
46
|
+
* gone, and the lookups are cheap.
|
|
47
|
+
*/
|
|
48
|
+
const resolveStylesMode = () => { var _a, _b, _c; return (_c = (_b = (_a = compileTimeMode()) !== null && _a !== void 0 ? _a : globalMode()) !== null && _b !== void 0 ? _b : metaMode()) !== null && _c !== void 0 ? _c : 'inject'; };
|
|
49
|
+
/**
|
|
50
|
+
* CSP nonce advertised by the host. Follows react-aria's lookup, which Vite's `html.cspNonce`
|
|
51
|
+
* also emits: `<meta property="csp-nonce">`, reading the IDL property before the content
|
|
52
|
+
* attribute because browsers blank the attribute after parsing, then `__webpack_nonce__`.
|
|
53
|
+
*/
|
|
54
|
+
const readCspNonce = () => {
|
|
55
|
+
if (typeof document !== 'undefined') {
|
|
56
|
+
const meta = document.querySelector('meta[property="csp-nonce"]');
|
|
57
|
+
const fromMeta = (meta === null || meta === void 0 ? void 0 : meta.nonce) || (meta === null || meta === void 0 ? void 0 : meta.getAttribute('content'));
|
|
58
|
+
if (fromMeta)
|
|
59
|
+
return fromMeta;
|
|
60
|
+
}
|
|
61
|
+
const webpackNonce = globalThis[WEBPACK_NONCE_KEY];
|
|
62
|
+
return typeof webpackNonce === 'string' && webpackNonce ? webpackNonce : undefined;
|
|
63
|
+
};
|
|
64
|
+
/**
|
|
65
|
+
* Appends `css` to `document.head` in a `<style>` element. Returns the CSS when it was injected,
|
|
66
|
+
* `undefined` when there is no document, no CSS, or the host has opted out.
|
|
67
|
+
*/
|
|
68
|
+
function insertStyle(css) {
|
|
69
|
+
if (!css || typeof document === 'undefined')
|
|
70
|
+
return undefined;
|
|
71
|
+
if (resolveStylesMode() === EXTERNAL) {
|
|
72
|
+
stylesheetCheck.scheduleStylesheetCheck();
|
|
73
|
+
return undefined;
|
|
74
|
+
}
|
|
75
|
+
const style = document.createElement('style');
|
|
76
|
+
const nonce = readCspNonce();
|
|
77
|
+
if (nonce)
|
|
78
|
+
style.setAttribute('nonce', nonce);
|
|
79
|
+
// Not innerHTML: it is a Trusted Types sink.
|
|
80
|
+
style.textContent = css;
|
|
81
|
+
document.head.appendChild(style);
|
|
82
|
+
return css;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
exports.STYLES_MODE_GLOBAL_KEY = STYLES_MODE_GLOBAL_KEY;
|
|
86
|
+
exports.STYLES_MODE_META_NAME = STYLES_MODE_META_NAME;
|
|
87
|
+
exports.WEBPACK_NONCE_KEY = WEBPACK_NONCE_KEY;
|
|
88
|
+
exports.default = insertStyle;
|
|
89
|
+
exports.readCspNonce = readCspNonce;
|
|
90
|
+
exports.resolveStylesMode = resolveStylesMode;
|
|
91
|
+
//# sourceMappingURL=insertStyle.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"insertStyle.cjs","sources":["../../src/styles/insertStyle.ts"],"sourcesContent":["/**\n * Runtime injector for compiled CSS modules.\n *\n * rollup.config.js resolves rollup-plugin-sass's `___$insertStyle` import to this file, so\n * every `*.module.scss` module calls the default export with its compiled CSS at import time.\n * Not re-exported from any barrel: it is a build seam, not public API.\n *\n * Hosts that serve `@veeqo/ui/styles.css` opt out of injection via `resolveStylesMode`. When\n * injection does happen, the `<style>` element carries the host's CSP nonce if one is advertised.\n */\n\nimport { scheduleStylesheetCheck } from './stylesheetCheck';\n\n/**\n * Compile-time override, applied by bundlers that `define` this identifier. A library that\n * bundles its own copy of @veeqo/ui (e.g. VQTopNav) sets it to `'inject'` so its copy ignores the\n * host's opt-out: CSS-module class hashes are per build, so the host's stylesheet cannot style a\n * different build's components. Undefined in @veeqo/ui's own output.\n */\n// eslint-disable-next-line no-underscore-dangle, @typescript-eslint/naming-convention\ndeclare const __VEEQO_UI_STYLES_MODE__: string | undefined;\n\nexport type StylesMode = 'inject' | 'external';\n\nexport const STYLES_MODE_META_NAME = 'veeqo-ui-styles';\nexport const STYLES_MODE_GLOBAL_KEY = '__VEEQO_UI_STYLES__';\n/** webpack's nonce global, also read by styled-components and react-aria. */\nexport const WEBPACK_NONCE_KEY = '__webpack_nonce__';\nconst EXTERNAL: StylesMode = 'external';\n\nconst asMode = (value: unknown): StylesMode | undefined => {\n if (value === EXTERNAL) return EXTERNAL;\n if (value === 'inject') return 'inject';\n return undefined;\n};\n\nconst compileTimeMode = (): StylesMode | undefined =>\n // `typeof` on an undeclared identifier does not throw, so this is safe without a define.\n typeof __VEEQO_UI_STYLES_MODE__ === 'string' ? asMode(__VEEQO_UI_STYLES_MODE__) : undefined;\n\nconst globalMode = (): StylesMode | undefined =>\n asMode((globalThis as Record<string, unknown>)[STYLES_MODE_GLOBAL_KEY]);\n\nconst metaMode = (): StylesMode | undefined => {\n if (typeof document === 'undefined') return undefined;\n const meta = document.querySelector(`meta[name=\"${STYLES_MODE_META_NAME}\"]`);\n return asMode(meta?.getAttribute('content'));\n};\n\n/**\n * Decides whether this copy of @veeqo/ui injects its styles or expects the host to have loaded\n * `@veeqo/ui/styles.css`. Precedence: compile-time define, then\n * `globalThis.__VEEQO_UI_STYLES__` (the only mechanism available during SSR and in tests), then\n * `<meta name=\"veeqo-ui-styles\" content=\"external\">`.\n *\n * Not cached: caching would let a page keep an opt-out after the stylesheet that justified it is\n * gone, and the lookups are cheap.\n */\nexport const resolveStylesMode = (): StylesMode =>\n compileTimeMode() ?? globalMode() ?? metaMode() ?? 'inject';\n\n/**\n * CSP nonce advertised by the host. Follows react-aria's lookup, which Vite's `html.cspNonce`\n * also emits: `<meta property=\"csp-nonce\">`, reading the IDL property before the content\n * attribute because browsers blank the attribute after parsing, then `__webpack_nonce__`.\n */\nexport const readCspNonce = (): string | undefined => {\n if (typeof document !== 'undefined') {\n const meta = document.querySelector<HTMLMetaElement>('meta[property=\"csp-nonce\"]');\n const fromMeta = meta?.nonce || meta?.getAttribute('content');\n if (fromMeta) return fromMeta;\n }\n const webpackNonce = (globalThis as Record<string, unknown>)[WEBPACK_NONCE_KEY];\n return typeof webpackNonce === 'string' && webpackNonce ? webpackNonce : undefined;\n};\n\n/**\n * Appends `css` to `document.head` in a `<style>` element. Returns the CSS when it was injected,\n * `undefined` when there is no document, no CSS, or the host has opted out.\n */\nfunction insertStyle(css: string): string | undefined {\n if (!css || typeof document === 'undefined') return undefined;\n if (resolveStylesMode() === EXTERNAL) {\n scheduleStylesheetCheck();\n return undefined;\n }\n\n const style = document.createElement('style');\n const nonce = readCspNonce();\n if (nonce) style.setAttribute('nonce', nonce);\n // Not innerHTML: it is a Trusted Types sink.\n style.textContent = css;\n document.head.appendChild(style);\n return css;\n}\n\n// rollup-plugin-sass requires a default export.\n// eslint-disable-next-line import/no-default-export\nexport default insertStyle;\n"],"names":["scheduleStylesheetCheck"],"mappings":";;;;;;AAAA;;;;;;;;;AASG;AAeI,MAAM,qBAAqB,GAAG;AAC9B,MAAM,sBAAsB,GAAG;AACtC;AACO,MAAM,iBAAiB,GAAG;AACjC,MAAM,QAAQ,GAAe,UAAU;AAEvC,MAAM,MAAM,GAAG,CAAC,KAAc,KAA4B;IACxD,IAAI,KAAK,KAAK,QAAQ;AAAE,QAAA,OAAO,QAAQ;IACvC,IAAI,KAAK,KAAK,QAAQ;AAAE,QAAA,OAAO,QAAQ;AACvC,IAAA,OAAO,SAAS;AAClB,CAAC;AAED,MAAM,eAAe,GAAG;AACtB;AACA,OAAO,wBAAwB,KAAK,QAAQ,GAAG,MAAM,CAAC,wBAAwB,CAAC,GAAG,SAAS;AAE7F,MAAM,UAAU,GAAG,MACjB,MAAM,CAAE,UAAsC,CAAC,sBAAsB,CAAC,CAAC;AAEzE,MAAM,QAAQ,GAAG,MAA6B;IAC5C,IAAI,OAAO,QAAQ,KAAK,WAAW;AAAE,QAAA,OAAO,SAAS;IACrD,MAAM,IAAI,GAAG,QAAQ,CAAC,aAAa,CAAC,CAAA,WAAA,EAAc,qBAAqB,CAAA,EAAA,CAAI,CAAC;AAC5E,IAAA,OAAO,MAAM,CAAC,IAAI,KAAA,IAAA,IAAJ,IAAI,KAAA,MAAA,GAAA,MAAA,GAAJ,IAAI,CAAE,YAAY,CAAC,SAAS,CAAC,CAAC;AAC9C,CAAC;AAED;;;;;;;;AAQG;MACU,iBAAiB,GAAG,MAAiB,EAAA,IAAA,EAAA,EAAA,EAAA,EAAA,EAAA,CAAA,CAChD,OAAA,CAAA,EAAA,GAAA,CAAA,EAAA,GAAA,CAAA,EAAA,GAAA,eAAe,EAAE,MAAA,IAAA,IAAA,EAAA,KAAA,MAAA,GAAA,EAAA,GAAI,UAAU,EAAE,MAAA,IAAA,IAAA,EAAA,KAAA,MAAA,GAAA,EAAA,GAAI,QAAQ,EAAE,MAAA,IAAA,IAAA,EAAA,KAAA,MAAA,GAAA,EAAA,GAAI,QAAQ,CAAA,CAAA;AAE7D;;;;AAIG;AACI,MAAM,YAAY,GAAG,MAAyB;AACnD,IAAA,IAAI,OAAO,QAAQ,KAAK,WAAW,EAAE;QACnC,MAAM,IAAI,GAAG,QAAQ,CAAC,aAAa,CAAkB,4BAA4B,CAAC;QAClF,MAAM,QAAQ,GAAG,CAAA,IAAI,aAAJ,IAAI,KAAA,MAAA,GAAA,MAAA,GAAJ,IAAI,CAAE,KAAK,MAAI,IAAI,KAAA,IAAA,IAAJ,IAAI,uBAAJ,IAAI,CAAE,YAAY,CAAC,SAAS,CAAC,CAAA;AAC7D,QAAA,IAAI,QAAQ;AAAE,YAAA,OAAO,QAAQ;AAC9B,IAAA;AACD,IAAA,MAAM,YAAY,GAAI,UAAsC,CAAC,iBAAiB,CAAC;AAC/E,IAAA,OAAO,OAAO,YAAY,KAAK,QAAQ,IAAI,YAAY,GAAG,YAAY,GAAG,SAAS;AACpF;AAEA;;;AAGG;AACH,SAAS,WAAW,CAAC,GAAW,EAAA;AAC9B,IAAA,IAAI,CAAC,GAAG,IAAI,OAAO,QAAQ,KAAK,WAAW;AAAE,QAAA,OAAO,SAAS;AAC7D,IAAA,IAAI,iBAAiB,EAAE,KAAK,QAAQ,EAAE;AACpC,QAAAA,uCAAuB,EAAE;AACzB,QAAA,OAAO,SAAS;AACjB,IAAA;IAED,MAAM,KAAK,GAAG,QAAQ,CAAC,aAAa,CAAC,OAAO,CAAC;AAC7C,IAAA,MAAM,KAAK,GAAG,YAAY,EAAE;AAC5B,IAAA,IAAI,KAAK;AAAE,QAAA,KAAK,CAAC,YAAY,CAAC,OAAO,EAAE,KAAK,CAAC;;AAE7C,IAAA,KAAK,CAAC,WAAW,GAAG,GAAG;AACvB,IAAA,QAAQ,CAAC,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC;AAChC,IAAA,OAAO,GAAG;AACZ;;;;;;;;;"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Runtime injector for compiled CSS modules.
|
|
3
|
+
*
|
|
4
|
+
* rollup.config.js resolves rollup-plugin-sass's `___$insertStyle` import to this file, so
|
|
5
|
+
* every `*.module.scss` module calls the default export with its compiled CSS at import time.
|
|
6
|
+
* Not re-exported from any barrel: it is a build seam, not public API.
|
|
7
|
+
*
|
|
8
|
+
* Hosts that serve `@veeqo/ui/styles.css` opt out of injection via `resolveStylesMode`. When
|
|
9
|
+
* injection does happen, the `<style>` element carries the host's CSP nonce if one is advertised.
|
|
10
|
+
*/
|
|
11
|
+
export type StylesMode = 'inject' | 'external';
|
|
12
|
+
export declare const STYLES_MODE_META_NAME = "veeqo-ui-styles";
|
|
13
|
+
export declare const STYLES_MODE_GLOBAL_KEY = "__VEEQO_UI_STYLES__";
|
|
14
|
+
/** webpack's nonce global, also read by styled-components and react-aria. */
|
|
15
|
+
export declare const WEBPACK_NONCE_KEY = "__webpack_nonce__";
|
|
16
|
+
/**
|
|
17
|
+
* Decides whether this copy of @veeqo/ui injects its styles or expects the host to have loaded
|
|
18
|
+
* `@veeqo/ui/styles.css`. Precedence: compile-time define, then
|
|
19
|
+
* `globalThis.__VEEQO_UI_STYLES__` (the only mechanism available during SSR and in tests), then
|
|
20
|
+
* `<meta name="veeqo-ui-styles" content="external">`.
|
|
21
|
+
*
|
|
22
|
+
* Not cached: caching would let a page keep an opt-out after the stylesheet that justified it is
|
|
23
|
+
* gone, and the lookups are cheap.
|
|
24
|
+
*/
|
|
25
|
+
export declare const resolveStylesMode: () => StylesMode;
|
|
26
|
+
/**
|
|
27
|
+
* CSP nonce advertised by the host. Follows react-aria's lookup, which Vite's `html.cspNonce`
|
|
28
|
+
* also emits: `<meta property="csp-nonce">`, reading the IDL property before the content
|
|
29
|
+
* attribute because browsers blank the attribute after parsing, then `__webpack_nonce__`.
|
|
30
|
+
*/
|
|
31
|
+
export declare const readCspNonce: () => string | undefined;
|
|
32
|
+
/**
|
|
33
|
+
* Appends `css` to `document.head` in a `<style>` element. Returns the CSS when it was injected,
|
|
34
|
+
* `undefined` when there is no document, no CSS, or the host has opted out.
|
|
35
|
+
*/
|
|
36
|
+
declare function insertStyle(css: string): string | undefined;
|
|
37
|
+
export default insertStyle;
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import { scheduleStylesheetCheck } from './stylesheetCheck.js';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Runtime injector for compiled CSS modules.
|
|
5
|
+
*
|
|
6
|
+
* rollup.config.js resolves rollup-plugin-sass's `___$insertStyle` import to this file, so
|
|
7
|
+
* every `*.module.scss` module calls the default export with its compiled CSS at import time.
|
|
8
|
+
* Not re-exported from any barrel: it is a build seam, not public API.
|
|
9
|
+
*
|
|
10
|
+
* Hosts that serve `@veeqo/ui/styles.css` opt out of injection via `resolveStylesMode`. When
|
|
11
|
+
* injection does happen, the `<style>` element carries the host's CSP nonce if one is advertised.
|
|
12
|
+
*/
|
|
13
|
+
const STYLES_MODE_META_NAME = 'veeqo-ui-styles';
|
|
14
|
+
const STYLES_MODE_GLOBAL_KEY = '__VEEQO_UI_STYLES__';
|
|
15
|
+
/** webpack's nonce global, also read by styled-components and react-aria. */
|
|
16
|
+
const WEBPACK_NONCE_KEY = '__webpack_nonce__';
|
|
17
|
+
const EXTERNAL = 'external';
|
|
18
|
+
const asMode = (value) => {
|
|
19
|
+
if (value === EXTERNAL)
|
|
20
|
+
return EXTERNAL;
|
|
21
|
+
if (value === 'inject')
|
|
22
|
+
return 'inject';
|
|
23
|
+
return undefined;
|
|
24
|
+
};
|
|
25
|
+
const compileTimeMode = () =>
|
|
26
|
+
// `typeof` on an undeclared identifier does not throw, so this is safe without a define.
|
|
27
|
+
typeof __VEEQO_UI_STYLES_MODE__ === 'string' ? asMode(__VEEQO_UI_STYLES_MODE__) : undefined;
|
|
28
|
+
const globalMode = () => asMode(globalThis[STYLES_MODE_GLOBAL_KEY]);
|
|
29
|
+
const metaMode = () => {
|
|
30
|
+
if (typeof document === 'undefined')
|
|
31
|
+
return undefined;
|
|
32
|
+
const meta = document.querySelector(`meta[name="${STYLES_MODE_META_NAME}"]`);
|
|
33
|
+
return asMode(meta === null || meta === void 0 ? void 0 : meta.getAttribute('content'));
|
|
34
|
+
};
|
|
35
|
+
/**
|
|
36
|
+
* Decides whether this copy of @veeqo/ui injects its styles or expects the host to have loaded
|
|
37
|
+
* `@veeqo/ui/styles.css`. Precedence: compile-time define, then
|
|
38
|
+
* `globalThis.__VEEQO_UI_STYLES__` (the only mechanism available during SSR and in tests), then
|
|
39
|
+
* `<meta name="veeqo-ui-styles" content="external">`.
|
|
40
|
+
*
|
|
41
|
+
* Not cached: caching would let a page keep an opt-out after the stylesheet that justified it is
|
|
42
|
+
* gone, and the lookups are cheap.
|
|
43
|
+
*/
|
|
44
|
+
const resolveStylesMode = () => { var _a, _b, _c; return (_c = (_b = (_a = compileTimeMode()) !== null && _a !== void 0 ? _a : globalMode()) !== null && _b !== void 0 ? _b : metaMode()) !== null && _c !== void 0 ? _c : 'inject'; };
|
|
45
|
+
/**
|
|
46
|
+
* CSP nonce advertised by the host. Follows react-aria's lookup, which Vite's `html.cspNonce`
|
|
47
|
+
* also emits: `<meta property="csp-nonce">`, reading the IDL property before the content
|
|
48
|
+
* attribute because browsers blank the attribute after parsing, then `__webpack_nonce__`.
|
|
49
|
+
*/
|
|
50
|
+
const readCspNonce = () => {
|
|
51
|
+
if (typeof document !== 'undefined') {
|
|
52
|
+
const meta = document.querySelector('meta[property="csp-nonce"]');
|
|
53
|
+
const fromMeta = (meta === null || meta === void 0 ? void 0 : meta.nonce) || (meta === null || meta === void 0 ? void 0 : meta.getAttribute('content'));
|
|
54
|
+
if (fromMeta)
|
|
55
|
+
return fromMeta;
|
|
56
|
+
}
|
|
57
|
+
const webpackNonce = globalThis[WEBPACK_NONCE_KEY];
|
|
58
|
+
return typeof webpackNonce === 'string' && webpackNonce ? webpackNonce : undefined;
|
|
59
|
+
};
|
|
60
|
+
/**
|
|
61
|
+
* Appends `css` to `document.head` in a `<style>` element. Returns the CSS when it was injected,
|
|
62
|
+
* `undefined` when there is no document, no CSS, or the host has opted out.
|
|
63
|
+
*/
|
|
64
|
+
function insertStyle(css) {
|
|
65
|
+
if (!css || typeof document === 'undefined')
|
|
66
|
+
return undefined;
|
|
67
|
+
if (resolveStylesMode() === EXTERNAL) {
|
|
68
|
+
scheduleStylesheetCheck();
|
|
69
|
+
return undefined;
|
|
70
|
+
}
|
|
71
|
+
const style = document.createElement('style');
|
|
72
|
+
const nonce = readCspNonce();
|
|
73
|
+
if (nonce)
|
|
74
|
+
style.setAttribute('nonce', nonce);
|
|
75
|
+
// Not innerHTML: it is a Trusted Types sink.
|
|
76
|
+
style.textContent = css;
|
|
77
|
+
document.head.appendChild(style);
|
|
78
|
+
return css;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
export { STYLES_MODE_GLOBAL_KEY, STYLES_MODE_META_NAME, WEBPACK_NONCE_KEY, insertStyle as default, readCspNonce, resolveStylesMode };
|
|
82
|
+
//# sourceMappingURL=insertStyle.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"insertStyle.js","sources":["../../src/styles/insertStyle.ts"],"sourcesContent":["/**\n * Runtime injector for compiled CSS modules.\n *\n * rollup.config.js resolves rollup-plugin-sass's `___$insertStyle` import to this file, so\n * every `*.module.scss` module calls the default export with its compiled CSS at import time.\n * Not re-exported from any barrel: it is a build seam, not public API.\n *\n * Hosts that serve `@veeqo/ui/styles.css` opt out of injection via `resolveStylesMode`. When\n * injection does happen, the `<style>` element carries the host's CSP nonce if one is advertised.\n */\n\nimport { scheduleStylesheetCheck } from './stylesheetCheck';\n\n/**\n * Compile-time override, applied by bundlers that `define` this identifier. A library that\n * bundles its own copy of @veeqo/ui (e.g. VQTopNav) sets it to `'inject'` so its copy ignores the\n * host's opt-out: CSS-module class hashes are per build, so the host's stylesheet cannot style a\n * different build's components. Undefined in @veeqo/ui's own output.\n */\n// eslint-disable-next-line no-underscore-dangle, @typescript-eslint/naming-convention\ndeclare const __VEEQO_UI_STYLES_MODE__: string | undefined;\n\nexport type StylesMode = 'inject' | 'external';\n\nexport const STYLES_MODE_META_NAME = 'veeqo-ui-styles';\nexport const STYLES_MODE_GLOBAL_KEY = '__VEEQO_UI_STYLES__';\n/** webpack's nonce global, also read by styled-components and react-aria. */\nexport const WEBPACK_NONCE_KEY = '__webpack_nonce__';\nconst EXTERNAL: StylesMode = 'external';\n\nconst asMode = (value: unknown): StylesMode | undefined => {\n if (value === EXTERNAL) return EXTERNAL;\n if (value === 'inject') return 'inject';\n return undefined;\n};\n\nconst compileTimeMode = (): StylesMode | undefined =>\n // `typeof` on an undeclared identifier does not throw, so this is safe without a define.\n typeof __VEEQO_UI_STYLES_MODE__ === 'string' ? asMode(__VEEQO_UI_STYLES_MODE__) : undefined;\n\nconst globalMode = (): StylesMode | undefined =>\n asMode((globalThis as Record<string, unknown>)[STYLES_MODE_GLOBAL_KEY]);\n\nconst metaMode = (): StylesMode | undefined => {\n if (typeof document === 'undefined') return undefined;\n const meta = document.querySelector(`meta[name=\"${STYLES_MODE_META_NAME}\"]`);\n return asMode(meta?.getAttribute('content'));\n};\n\n/**\n * Decides whether this copy of @veeqo/ui injects its styles or expects the host to have loaded\n * `@veeqo/ui/styles.css`. Precedence: compile-time define, then\n * `globalThis.__VEEQO_UI_STYLES__` (the only mechanism available during SSR and in tests), then\n * `<meta name=\"veeqo-ui-styles\" content=\"external\">`.\n *\n * Not cached: caching would let a page keep an opt-out after the stylesheet that justified it is\n * gone, and the lookups are cheap.\n */\nexport const resolveStylesMode = (): StylesMode =>\n compileTimeMode() ?? globalMode() ?? metaMode() ?? 'inject';\n\n/**\n * CSP nonce advertised by the host. Follows react-aria's lookup, which Vite's `html.cspNonce`\n * also emits: `<meta property=\"csp-nonce\">`, reading the IDL property before the content\n * attribute because browsers blank the attribute after parsing, then `__webpack_nonce__`.\n */\nexport const readCspNonce = (): string | undefined => {\n if (typeof document !== 'undefined') {\n const meta = document.querySelector<HTMLMetaElement>('meta[property=\"csp-nonce\"]');\n const fromMeta = meta?.nonce || meta?.getAttribute('content');\n if (fromMeta) return fromMeta;\n }\n const webpackNonce = (globalThis as Record<string, unknown>)[WEBPACK_NONCE_KEY];\n return typeof webpackNonce === 'string' && webpackNonce ? webpackNonce : undefined;\n};\n\n/**\n * Appends `css` to `document.head` in a `<style>` element. Returns the CSS when it was injected,\n * `undefined` when there is no document, no CSS, or the host has opted out.\n */\nfunction insertStyle(css: string): string | undefined {\n if (!css || typeof document === 'undefined') return undefined;\n if (resolveStylesMode() === EXTERNAL) {\n scheduleStylesheetCheck();\n return undefined;\n }\n\n const style = document.createElement('style');\n const nonce = readCspNonce();\n if (nonce) style.setAttribute('nonce', nonce);\n // Not innerHTML: it is a Trusted Types sink.\n style.textContent = css;\n document.head.appendChild(style);\n return css;\n}\n\n// rollup-plugin-sass requires a default export.\n// eslint-disable-next-line import/no-default-export\nexport default insertStyle;\n"],"names":[],"mappings":";;AAAA;;;;;;;;;AASG;AAeI,MAAM,qBAAqB,GAAG;AAC9B,MAAM,sBAAsB,GAAG;AACtC;AACO,MAAM,iBAAiB,GAAG;AACjC,MAAM,QAAQ,GAAe,UAAU;AAEvC,MAAM,MAAM,GAAG,CAAC,KAAc,KAA4B;IACxD,IAAI,KAAK,KAAK,QAAQ;AAAE,QAAA,OAAO,QAAQ;IACvC,IAAI,KAAK,KAAK,QAAQ;AAAE,QAAA,OAAO,QAAQ;AACvC,IAAA,OAAO,SAAS;AAClB,CAAC;AAED,MAAM,eAAe,GAAG;AACtB;AACA,OAAO,wBAAwB,KAAK,QAAQ,GAAG,MAAM,CAAC,wBAAwB,CAAC,GAAG,SAAS;AAE7F,MAAM,UAAU,GAAG,MACjB,MAAM,CAAE,UAAsC,CAAC,sBAAsB,CAAC,CAAC;AAEzE,MAAM,QAAQ,GAAG,MAA6B;IAC5C,IAAI,OAAO,QAAQ,KAAK,WAAW;AAAE,QAAA,OAAO,SAAS;IACrD,MAAM,IAAI,GAAG,QAAQ,CAAC,aAAa,CAAC,CAAA,WAAA,EAAc,qBAAqB,CAAA,EAAA,CAAI,CAAC;AAC5E,IAAA,OAAO,MAAM,CAAC,IAAI,KAAA,IAAA,IAAJ,IAAI,KAAA,MAAA,GAAA,MAAA,GAAJ,IAAI,CAAE,YAAY,CAAC,SAAS,CAAC,CAAC;AAC9C,CAAC;AAED;;;;;;;;AAQG;MACU,iBAAiB,GAAG,MAAiB,EAAA,IAAA,EAAA,EAAA,EAAA,EAAA,EAAA,CAAA,CAChD,OAAA,CAAA,EAAA,GAAA,CAAA,EAAA,GAAA,CAAA,EAAA,GAAA,eAAe,EAAE,MAAA,IAAA,IAAA,EAAA,KAAA,MAAA,GAAA,EAAA,GAAI,UAAU,EAAE,MAAA,IAAA,IAAA,EAAA,KAAA,MAAA,GAAA,EAAA,GAAI,QAAQ,EAAE,MAAA,IAAA,IAAA,EAAA,KAAA,MAAA,GAAA,EAAA,GAAI,QAAQ,CAAA,CAAA;AAE7D;;;;AAIG;AACI,MAAM,YAAY,GAAG,MAAyB;AACnD,IAAA,IAAI,OAAO,QAAQ,KAAK,WAAW,EAAE;QACnC,MAAM,IAAI,GAAG,QAAQ,CAAC,aAAa,CAAkB,4BAA4B,CAAC;QAClF,MAAM,QAAQ,GAAG,CAAA,IAAI,aAAJ,IAAI,KAAA,MAAA,GAAA,MAAA,GAAJ,IAAI,CAAE,KAAK,MAAI,IAAI,KAAA,IAAA,IAAJ,IAAI,uBAAJ,IAAI,CAAE,YAAY,CAAC,SAAS,CAAC,CAAA;AAC7D,QAAA,IAAI,QAAQ;AAAE,YAAA,OAAO,QAAQ;AAC9B,IAAA;AACD,IAAA,MAAM,YAAY,GAAI,UAAsC,CAAC,iBAAiB,CAAC;AAC/E,IAAA,OAAO,OAAO,YAAY,KAAK,QAAQ,IAAI,YAAY,GAAG,YAAY,GAAG,SAAS;AACpF;AAEA;;;AAGG;AACH,SAAS,WAAW,CAAC,GAAW,EAAA;AAC9B,IAAA,IAAI,CAAC,GAAG,IAAI,OAAO,QAAQ,KAAK,WAAW;AAAE,QAAA,OAAO,SAAS;AAC7D,IAAA,IAAI,iBAAiB,EAAE,KAAK,QAAQ,EAAE;AACpC,QAAA,uBAAuB,EAAE;AACzB,QAAA,OAAO,SAAS;AACjB,IAAA;IAED,MAAM,KAAK,GAAG,QAAQ,CAAC,aAAa,CAAC,OAAO,CAAC;AAC7C,IAAA,MAAM,KAAK,GAAG,YAAY,EAAE;AAC5B,IAAA,IAAI,KAAK;AAAE,QAAA,KAAK,CAAC,YAAY,CAAC,OAAO,EAAE,KAAK,CAAC;;AAE7C,IAAA,KAAK,CAAC,WAAW,GAAG,GAAG;AACvB,IAAA,QAAQ,CAAC,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC;AAChC,IAAA,OAAO,GAAG;AACZ;;;;"}
|