@atom-learning/components 4.0.0-beta.7 → 4.0.0-beta.9
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.d.ts +0 -15
- package/dist/components/accordion/AccordionContent.d.ts +0 -15
- package/dist/components/accordion/AccordionItem.d.ts +0 -15
- package/dist/components/accordion/AccordionTrigger.d.ts +0 -30
- package/dist/components/action-icon/ActionIcon.d.ts +0 -15
- package/dist/components/action-icon/ActionIcon.js +1 -1
- package/dist/components/action-icon/ActionIcon.js.map +1 -1
- package/dist/components/alert-dialog/AlertDialog.d.ts +0 -30
- package/dist/components/alert-dialog/AlertDialogContent.d.ts +0 -15
- package/dist/components/avatar/Avatar.d.ts +0 -45
- package/dist/components/avatar/Avatar.js +1 -1
- package/dist/components/avatar/Avatar.js.map +1 -1
- package/dist/components/avatar/AvatarInitial.js +1 -1
- package/dist/components/avatar/AvatarInitial.js.map +1 -1
- package/dist/components/badge/Badge.d.ts +3 -91
- package/dist/components/badge/BadgeIcon.d.ts +0 -30
- package/dist/components/badge/BadgeText.d.ts +3 -31
- package/dist/components/banner/BannerContainer.d.ts +0 -30
- package/dist/components/banner/banner-regular/BannerRegular.d.ts +3 -121
- package/dist/components/banner/banner-regular/BannerRegularContent.d.ts +0 -30
- package/dist/components/banner/banner-regular/BannerRegularDismiss.d.ts +0 -30
- package/dist/components/banner/banner-slim/BannerSlim.d.ts +3 -106
- package/dist/components/banner/banner-slim/BannerSlimContainer.d.ts +0 -15
- package/dist/components/banner/banner-slim/BannerSlimContent.d.ts +0 -30
- package/dist/components/banner/banner-slim/BannerSlimDismiss.d.ts +0 -30
- package/dist/components/banner/banner-slim/BannerSlimText.js +1 -1
- package/dist/components/banner/banner-slim/BannerSlimText.js.map +1 -1
- package/dist/components/box/Box.d.ts +0 -15
- package/dist/components/button/Button.d.ts +0 -15
- package/dist/components/button/Button.js +1 -1
- package/dist/components/button/Button.js.map +1 -1
- package/dist/components/calendar/Calendar.js +1 -1
- package/dist/components/calendar/Calendar.js.map +1 -1
- package/dist/components/calendar/Day.d.ts +0 -15
- package/dist/components/calendar/Day.js +1 -1
- package/dist/components/calendar/Day.js.map +1 -1
- package/dist/components/carousel/Carousel.d.ts +0 -60
- package/dist/components/carousel/CarouselArrows.js +1 -1
- package/dist/components/carousel/CarouselArrows.js.map +1 -1
- package/dist/components/carousel/CarouselPagination.d.ts +0 -15
- package/dist/components/carousel/CarouselPagination.js +1 -1
- package/dist/components/carousel/CarouselPagination.js.map +1 -1
- package/dist/components/carousel/CarouselSlide.d.ts +0 -15
- package/dist/components/carousel/CarouselSlider.d.ts +0 -15
- package/dist/components/checkbox/Checkbox.d.ts +0 -15
- package/dist/components/checkbox/Checkbox.js +1 -1
- package/dist/components/checkbox/Checkbox.js.map +1 -1
- package/dist/components/checkbox-group/CheckboxGroup.d.ts +0 -45
- package/dist/components/checkbox-tree/CheckboxTree.d.ts +0 -60
- package/dist/components/chip/Chip.d.ts +0 -105
- package/dist/components/chip-dismissible-group/ChipDismissibleGroupItem.d.ts +0 -60
- package/dist/components/chip-dismissible-group/ChipDismissibleGroupItem.js +1 -1
- package/dist/components/chip-dismissible-group/ChipDismissibleGroupItem.js.map +1 -1
- package/dist/components/chip-toggle-group/ChipToggleGroupItem.d.ts +0 -60
- package/dist/components/chip-toggle-group/ChipToggleGroupItem.js +1 -1
- package/dist/components/chip-toggle-group/ChipToggleGroupItem.js.map +1 -1
- package/dist/components/combobox/Combobox.d.ts +0 -75
- package/dist/components/combobox/ComboboxInput.d.ts +0 -15
- package/dist/components/combobox/ComboboxInput.js +1 -1
- package/dist/components/combobox/ComboboxInput.js.map +1 -1
- package/dist/components/combobox/ComboboxList.d.ts +0 -15
- package/dist/components/combobox/ComboboxOption.d.ts +0 -15
- package/dist/components/combobox/ComboboxOption.js +1 -1
- package/dist/components/combobox/ComboboxOption.js.map +1 -1
- package/dist/components/combobox/ComboboxPopover.d.ts +0 -15
- package/dist/components/combobox/ComboboxPopover.js +1 -1
- package/dist/components/combobox/ComboboxPopover.js.map +1 -1
- package/dist/components/data-table/DataTable.d.ts +0 -165
- package/dist/components/data-table/DataTableLoading.d.ts +0 -15
- package/dist/components/data-table/DataTableMetaData.js +1 -1
- package/dist/components/data-table/DataTableMetaData.js.map +1 -1
- package/dist/components/data-table/pagination/Pagination.d.ts +0 -15
- package/dist/components/dialog/Dialog.d.ts +0 -105
- package/dist/components/dialog/DialogBackground.d.ts +0 -30
- package/dist/components/dialog/DialogClose.d.ts +0 -15
- package/dist/components/dialog/DialogContent.d.ts +0 -15
- package/dist/components/dialog/DialogHeading.js +1 -1
- package/dist/components/dialog/DialogHeading.js.map +1 -1
- package/dist/components/divider/Divider.d.ts +0 -15
- package/dist/components/divider/Divider.js +1 -1
- package/dist/components/divider/Divider.js.map +1 -1
- package/dist/components/drawer/Drawer.d.ts +0 -90
- package/dist/components/drawer/DrawerContent.d.ts +0 -15
- package/dist/components/drawer/DrawerFooter.d.ts +0 -15
- package/dist/components/drawer/DrawerHeader.d.ts +0 -15
- package/dist/components/drawer/DrawerMain.d.ts +0 -15
- package/dist/components/drawer/DrawerOverlay.d.ts +0 -15
- package/dist/components/drawer/DrawerTrigger.d.ts +0 -15
- package/dist/components/dropdown-menu/DropdownMenu.d.ts +0 -90
- package/dist/components/dropdown-menu/DropdownMenuContent.d.ts +0 -15
- package/dist/components/dropdown-menu/DropdownMenuItem.d.ts +0 -15
- package/dist/components/dropdown-menu/DropdownMenuItem.js +1 -1
- package/dist/components/dropdown-menu/DropdownMenuItem.js.map +1 -1
- package/dist/components/dropdown-menu/DropdownMenuLinkItem.d.ts +0 -15
- package/dist/components/dropdown-menu/DropdownMenuSeparator.d.ts +0 -15
- package/dist/components/dropdown-menu/DropdownMenuSeparator.js +1 -1
- package/dist/components/dropdown-menu/DropdownMenuSeparator.js.map +1 -1
- package/dist/components/dropdown-menu/DropdownMenuTrigger.d.ts +0 -15
- package/dist/components/empty-state/EmptyState.d.ts +3 -106
- package/dist/components/empty-state/EmptyStateBody.d.ts +3 -31
- package/dist/components/empty-state/EmptyStateBody.js +1 -1
- package/dist/components/empty-state/EmptyStateBody.js.map +1 -1
- package/dist/components/empty-state/EmptyStateImage.d.ts +0 -30
- package/dist/components/empty-state/EmptyStateTitle.d.ts +0 -15
- package/dist/components/empty-state/EmptyStateTitle.js +1 -1
- package/dist/components/empty-state/EmptyStateTitle.js.map +1 -1
- package/dist/components/field-wrapper/FieldDescription.js +1 -1
- package/dist/components/field-wrapper/FieldDescription.js.map +1 -1
- package/dist/components/flex/Flex.d.ts +0 -15
- package/dist/components/form/Form.d.ts +0 -15
- package/dist/components/grid/Grid.d.ts +0 -15
- package/dist/components/heading/Heading.d.ts +0 -15
- package/dist/components/heading/Heading.js +1 -1
- package/dist/components/heading/Heading.js.map +1 -1
- package/dist/components/icon/Icon.d.ts +0 -15
- package/dist/components/image/Image.d.ts +0 -15
- package/dist/components/inline-message/InlineMessage.config.js +1 -1
- package/dist/components/inline-message/InlineMessage.config.js.map +1 -1
- package/dist/components/inline-message/InlineMessage.d.ts +0 -30
- package/dist/components/input/Input.d.ts +0 -45
- package/dist/components/label/Label.d.ts +0 -15
- package/dist/components/label/Label.js +1 -1
- package/dist/components/label/Label.js.map +1 -1
- package/dist/components/link/Link.d.ts +0 -15
- package/dist/components/list/List.d.ts +0 -30
- package/dist/components/markdown-content/components/MarkdownCode.js +1 -1
- package/dist/components/markdown-content/components/MarkdownCode.js.map +1 -1
- package/dist/components/markdown-content/components/MarkdownEmphasis.d.ts +0 -15
- package/dist/components/markdown-content/components/MarkdownInlineCode.js +1 -1
- package/dist/components/markdown-content/components/MarkdownInlineCode.js.map +1 -1
- package/dist/components/navigation/NavigationMenu.d.ts +3 -106
- package/dist/components/navigation/NavigationMenuDropdownContent.d.ts +0 -15
- package/dist/components/navigation/NavigationMenuDropdownItem.d.ts +3 -31
- package/dist/components/navigation/NavigationMenuDropdownItem.js +1 -1
- package/dist/components/navigation/NavigationMenuDropdownItem.js.map +1 -1
- package/dist/components/navigation/NavigationMenuDropdownTrigger.d.ts +0 -15
- package/dist/components/navigation/NavigationMenuLink.d.ts +0 -15
- package/dist/components/navigation-menu-vertical/NavigationMenuVertical.d.ts +3 -166
- package/dist/components/navigation-menu-vertical/NavigationMenuVerticalAccordionContent.d.ts +0 -15
- package/dist/components/navigation-menu-vertical/NavigationMenuVerticalAccordionTrigger.d.ts +0 -15
- package/dist/components/navigation-menu-vertical/NavigationMenuVerticalIcon.d.ts +0 -30
- package/dist/components/navigation-menu-vertical/NavigationMenuVerticalItem.d.ts +0 -15
- package/dist/components/navigation-menu-vertical/NavigationMenuVerticalLink.d.ts +0 -15
- package/dist/components/navigation-menu-vertical/NavigationMenuVerticalList.d.ts +0 -15
- package/dist/components/navigation-menu-vertical/NavigationMenuVerticalText.d.ts +3 -31
- package/dist/components/number-input/NumberInputStepper.js +1 -1
- package/dist/components/number-input/NumberInputStepper.js.map +1 -1
- package/dist/components/pagination/PaginationNextButton.d.ts +0 -30
- package/dist/components/pagination/PaginationPreviousButton.d.ts +0 -30
- package/dist/components/popover/Popover.d.ts +0 -30
- package/dist/components/popover/PopoverContent.d.ts +0 -15
- package/dist/components/progress-bar/ProgressBar.d.ts +0 -15
- package/dist/components/progress-bar/ProgressBar.js +1 -1
- package/dist/components/progress-bar/ProgressBar.js.map +1 -1
- package/dist/components/radio-button/RadioButton.d.ts +0 -15
- package/dist/components/radio-button/RadioButton.js +1 -1
- package/dist/components/radio-button/RadioButton.js.map +1 -1
- package/dist/components/radio-button/RadioButtonGroup.d.ts +0 -15
- package/dist/components/radio-button-field/RadioButtonField.d.ts +0 -15
- package/dist/components/radio-card/RadioCard.d.ts +0 -15
- package/dist/components/radio-card/RadioCard.js +1 -1
- package/dist/components/radio-card/RadioCard.js.map +1 -1
- package/dist/components/search-input/SearchInput.js +1 -1
- package/dist/components/search-input/SearchInput.js.map +1 -1
- package/dist/components/section-message/SectionMessage.d.ts +7 -108
- package/dist/components/section-message/SectionMessageTitle.d.ts +1 -1
- package/dist/components/section-message/SectionMessageTitle.js +1 -1
- package/dist/components/section-message/SectionMessageTitle.js.map +1 -1
- package/dist/components/select/Select.d.ts +0 -15
- package/dist/components/select/Select.js +1 -1
- package/dist/components/select/Select.js.map +1 -1
- package/dist/components/side-bar/SideBar.d.ts +3 -121
- package/dist/components/side-bar/SideBarComponents.d.ts +3 -106
- package/dist/components/slider/Slider.d.ts +0 -15
- package/dist/components/slider/Slider.js +1 -1
- package/dist/components/slider/Slider.js.map +1 -1
- package/dist/components/slider/SliderSteps.js +1 -1
- package/dist/components/slider/SliderSteps.js.map +1 -1
- package/dist/components/slider/SliderValue.js +1 -1
- package/dist/components/slider/SliderValue.js.map +1 -1
- package/dist/components/sortable/Handle.d.ts +0 -30
- package/dist/components/spacer/Spacer.d.ts +0 -15
- package/dist/components/stack-content/StackContent.d.ts +0 -15
- package/dist/components/stepper/Stepper.d.ts +0 -30
- package/dist/components/stepper/StepperStepBullet.d.ts +0 -30
- package/dist/components/stepper/StepperStepBullet.js +1 -1
- package/dist/components/stepper/StepperStepBullet.js.map +1 -1
- package/dist/components/stepper/StepperStepContainer.d.ts +0 -30
- package/dist/components/stepper/StepperStepContainer.js +1 -1
- package/dist/components/stepper/StepperStepContainer.js.map +1 -1
- package/dist/components/stepper/StepperStepLabel.d.ts +3 -31
- package/dist/components/stepper/StepperStepLabel.js +1 -1
- package/dist/components/stepper/StepperStepLabel.js.map +1 -1
- package/dist/components/switch/Switch.d.ts +0 -15
- package/dist/components/switch/Switch.js +1 -1
- package/dist/components/switch/Switch.js.map +1 -1
- package/dist/components/table/Table.d.ts +0 -120
- package/dist/components/table/TableBody.d.ts +0 -15
- package/dist/components/table/TableBody.js +1 -1
- package/dist/components/table/TableBody.js.map +1 -1
- package/dist/components/table/TableCell.d.ts +0 -15
- package/dist/components/table/TableCell.js +1 -1
- package/dist/components/table/TableCell.js.map +1 -1
- package/dist/components/table/TableFooter.d.ts +0 -15
- package/dist/components/table/TableFooterCell.d.ts +0 -15
- package/dist/components/table/TableFooterCell.js +1 -1
- package/dist/components/table/TableFooterCell.js.map +1 -1
- package/dist/components/table/TableHeader.d.ts +0 -15
- package/dist/components/table/TableHeader.js +1 -1
- package/dist/components/table/TableHeader.js.map +1 -1
- package/dist/components/table/TableHeaderCell.d.ts +0 -15
- package/dist/components/table/TableRow.d.ts +0 -15
- package/dist/components/tabs/Tabs.d.ts +0 -60
- package/dist/components/tabs/TabsContent.d.ts +0 -15
- package/dist/components/tabs/TabsTrigger.d.ts +0 -15
- package/dist/components/tabs/TabsTriggerList.d.ts +0 -30
- package/dist/components/text/Text.d.ts +2 -15
- package/dist/components/text/Text.js +1 -1
- package/dist/components/text/Text.js.map +1 -1
- package/dist/components/textarea/Textarea.d.ts +0 -15
- package/dist/components/textarea/Textarea.js +1 -1
- package/dist/components/textarea/Textarea.js.map +1 -1
- package/dist/components/tile/Tile.d.ts +0 -15
- package/dist/components/tile/TileGroup.d.ts +0 -15
- package/dist/components/tile-interactive/TileInteractive.d.ts +0 -30
- package/dist/components/tile-toggle-group/TileToggleGroupItem.d.ts +0 -45
- package/dist/components/toast/Toast.d.ts +0 -45
- package/dist/components/toggle-group/ToggleGroupButton.d.ts +0 -30
- package/dist/components/toggle-group/ToggleGroupItem.d.ts +0 -30
- package/dist/components/toggle-group/ToggleGroupItem.js +1 -1
- package/dist/components/toggle-group/ToggleGroupItem.js.map +1 -1
- package/dist/components/toggle-group/ToggleGroupRoot.d.ts +0 -15
- package/dist/components/toggle-group/index.d.ts +0 -90
- package/dist/components/tooltip/Tooltip.d.ts +0 -30
- package/dist/components/tooltip/TooltipContent.d.ts +0 -15
- package/dist/components/tooltip/TooltipContent.js +1 -1
- package/dist/components/tooltip/TooltipContent.js.map +1 -1
- package/dist/components/top-bar/TopBar.d.ts +3 -76
- package/dist/components/top-bar/TopBarBrand.d.ts +3 -46
- package/dist/components/top-bar/TopBarBrand.js +1 -1
- package/dist/components/top-bar/TopBarBrand.js.map +1 -1
- package/dist/components/tree/Tree.d.ts +3 -181
- package/dist/components/tree/TreeCollapsible.d.ts +0 -15
- package/dist/components/tree/TreeCollapsibleContent.d.ts +0 -15
- package/dist/components/tree/TreeIcon.d.ts +0 -30
- package/dist/components/tree/TreeItemContent.d.ts +0 -15
- package/dist/components/tree/TreeListItem.d.ts +0 -15
- package/dist/components/video/Video.d.ts +0 -15
- package/dist/docgen.json +1 -1
- package/dist/experiments/color-scheme/ColorScheme.d.ts +0 -15
- package/dist/index.cjs.js +1 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/stitches.d.ts +0 -165
- package/dist/utilities/create-theme-variants/createThemeVariants.d.ts +0 -15
- package/dist/utilities/no-overflow-wrapper/NoOverflowWrapper.d.ts +0 -30
- package/package.json +2 -2
|
@@ -213,26 +213,11 @@ declare const StyledChipDismissibleGroupItem: import("@atom-learning/stitches-re
|
|
|
213
213
|
marsh1000: any;
|
|
214
214
|
marsh1100: any;
|
|
215
215
|
marsh1200: any;
|
|
216
|
-
tonal50: any;
|
|
217
|
-
tonal100: any;
|
|
218
|
-
tonal200: any;
|
|
219
|
-
tonal300: any;
|
|
220
|
-
tonal400: any;
|
|
221
|
-
tonal500: any;
|
|
222
|
-
tonal600: any;
|
|
223
216
|
alpha100: any;
|
|
224
217
|
alpha150: any;
|
|
225
218
|
alpha200: any;
|
|
226
219
|
alpha250: any;
|
|
227
220
|
alpha600: any;
|
|
228
|
-
brandRed: any;
|
|
229
|
-
brandRedAccent: any;
|
|
230
|
-
brandGreen: any;
|
|
231
|
-
brandGreenAccent: any;
|
|
232
|
-
brandPurple: any;
|
|
233
|
-
brandPurpleAccent: any;
|
|
234
|
-
brandYellow: any;
|
|
235
|
-
brandYellowAccent: any;
|
|
236
221
|
infoLight: any;
|
|
237
222
|
info: any;
|
|
238
223
|
infoMid: any;
|
|
@@ -595,26 +580,11 @@ declare const StyledChipDismissibleGroupItem: import("@atom-learning/stitches-re
|
|
|
595
580
|
marsh1000: any;
|
|
596
581
|
marsh1100: any;
|
|
597
582
|
marsh1200: any;
|
|
598
|
-
tonal50: any;
|
|
599
|
-
tonal100: any;
|
|
600
|
-
tonal200: any;
|
|
601
|
-
tonal300: any;
|
|
602
|
-
tonal400: any;
|
|
603
|
-
tonal500: any;
|
|
604
|
-
tonal600: any;
|
|
605
583
|
alpha100: any;
|
|
606
584
|
alpha150: any;
|
|
607
585
|
alpha200: any;
|
|
608
586
|
alpha250: any;
|
|
609
587
|
alpha600: any;
|
|
610
|
-
brandRed: any;
|
|
611
|
-
brandRedAccent: any;
|
|
612
|
-
brandGreen: any;
|
|
613
|
-
brandGreenAccent: any;
|
|
614
|
-
brandPurple: any;
|
|
615
|
-
brandPurpleAccent: any;
|
|
616
|
-
brandYellow: any;
|
|
617
|
-
brandYellowAccent: any;
|
|
618
588
|
infoLight: any;
|
|
619
589
|
info: any;
|
|
620
590
|
infoMid: any;
|
|
@@ -984,26 +954,11 @@ declare const StyledChipDismissibleGroupItem: import("@atom-learning/stitches-re
|
|
|
984
954
|
marsh1000: any;
|
|
985
955
|
marsh1100: any;
|
|
986
956
|
marsh1200: any;
|
|
987
|
-
tonal50: any;
|
|
988
|
-
tonal100: any;
|
|
989
|
-
tonal200: any;
|
|
990
|
-
tonal300: any;
|
|
991
|
-
tonal400: any;
|
|
992
|
-
tonal500: any;
|
|
993
|
-
tonal600: any;
|
|
994
957
|
alpha100: any;
|
|
995
958
|
alpha150: any;
|
|
996
959
|
alpha200: any;
|
|
997
960
|
alpha250: any;
|
|
998
961
|
alpha600: any;
|
|
999
|
-
brandRed: any;
|
|
1000
|
-
brandRedAccent: any;
|
|
1001
|
-
brandGreen: any;
|
|
1002
|
-
brandGreenAccent: any;
|
|
1003
|
-
brandPurple: any;
|
|
1004
|
-
brandPurpleAccent: any;
|
|
1005
|
-
brandYellow: any;
|
|
1006
|
-
brandYellowAccent: any;
|
|
1007
962
|
infoLight: any;
|
|
1008
963
|
info: any;
|
|
1009
964
|
infoMid: any;
|
|
@@ -1367,26 +1322,11 @@ declare const StyledChipDismissibleGroupItem: import("@atom-learning/stitches-re
|
|
|
1367
1322
|
marsh1000: any;
|
|
1368
1323
|
marsh1100: any;
|
|
1369
1324
|
marsh1200: any;
|
|
1370
|
-
tonal50: any;
|
|
1371
|
-
tonal100: any;
|
|
1372
|
-
tonal200: any;
|
|
1373
|
-
tonal300: any;
|
|
1374
|
-
tonal400: any;
|
|
1375
|
-
tonal500: any;
|
|
1376
|
-
tonal600: any;
|
|
1377
1325
|
alpha100: any;
|
|
1378
1326
|
alpha150: any;
|
|
1379
1327
|
alpha200: any;
|
|
1380
1328
|
alpha250: any;
|
|
1381
1329
|
alpha600: any;
|
|
1382
|
-
brandRed: any;
|
|
1383
|
-
brandRedAccent: any;
|
|
1384
|
-
brandGreen: any;
|
|
1385
|
-
brandGreenAccent: any;
|
|
1386
|
-
brandPurple: any;
|
|
1387
|
-
brandPurpleAccent: any;
|
|
1388
|
-
brandYellow: any;
|
|
1389
|
-
brandYellowAccent: any;
|
|
1390
1330
|
infoLight: any;
|
|
1391
1331
|
info: any;
|
|
1392
1332
|
infoMid: any;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{Close as l}from"@atom-learning/icons";import*as e from"react";import{Chip as
|
|
1
|
+
import{Close as l}from"@atom-learning/icons";import*as e from"react";import{Chip as m}from"../chip/Chip.js";import"../chip/ChipGroup.js";import{DismissibleGroup as t}from"../dismissible-group/index.js";import{styled as n}from"../../stitches.js";import{ActionIcon as c}from"../action-icon/ActionIcon.js";import{Icon as p}from"../icon/Icon.js";const a=n(m,{px:"$1"}),f=({size:i="md",children:r,dismissActionLabel:o="Dismiss",...s})=>e.createElement(t.Item,{asChild:!0,...s},e.createElement(a,{size:i},e.createElement(m.Content,null,r),e.createElement(t.Trigger,{asChild:!0},e.createElement(c,{label:o,css:{color:"$grey600"},size:i==="sm"?"xs":"sm"},e.createElement(p,{is:l})))));export{f as ChipDismissibleGroupItem};
|
|
2
2
|
//# sourceMappingURL=ChipDismissibleGroupItem.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChipDismissibleGroupItem.js","sources":["../../../src/components/chip-dismissible-group/ChipDismissibleGroupItem.tsx"],"sourcesContent":["import { Close } from '@atom-learning/icons'\nimport * as React from 'react'\n\nimport { Chip } from '~/components/chip'\nimport { DismissibleGroup } from '~/components/dismissible-group'\nimport { styled } from '~/stitches'\n\nimport { ActionIcon } from '../action-icon'\nimport { Icon } from '../icon'\n\nconst StyledChipDismissibleGroupItem = styled(Chip, { px: '$1' })\n\nexport type TChipDismissibleGroupItem = React.ComponentProps<\n typeof DismissibleGroup.Item\n> &\n React.ComponentProps<typeof StyledChipDismissibleGroupItem> & {\n dismissActionLabel: string\n }\n\nexport const ChipDismissibleGroupItem = ({\n size = 'md',\n children,\n dismissActionLabel = 'Dismiss',\n ...rest\n}: TChipDismissibleGroupItem) => {\n return (\n <DismissibleGroup.Item asChild {...rest}>\n <StyledChipDismissibleGroupItem size={size}>\n <Chip.Content>{children}</Chip.Content>\n <DismissibleGroup.Trigger asChild>\n <ActionIcon\n label={dismissActionLabel}\n css={{ color: '$
|
|
1
|
+
{"version":3,"file":"ChipDismissibleGroupItem.js","sources":["../../../src/components/chip-dismissible-group/ChipDismissibleGroupItem.tsx"],"sourcesContent":["import { Close } from '@atom-learning/icons'\nimport * as React from 'react'\n\nimport { Chip } from '~/components/chip'\nimport { DismissibleGroup } from '~/components/dismissible-group'\nimport { styled } from '~/stitches'\n\nimport { ActionIcon } from '../action-icon'\nimport { Icon } from '../icon'\n\nconst StyledChipDismissibleGroupItem = styled(Chip, { px: '$1' })\n\nexport type TChipDismissibleGroupItem = React.ComponentProps<\n typeof DismissibleGroup.Item\n> &\n React.ComponentProps<typeof StyledChipDismissibleGroupItem> & {\n dismissActionLabel: string\n }\n\nexport const ChipDismissibleGroupItem = ({\n size = 'md',\n children,\n dismissActionLabel = 'Dismiss',\n ...rest\n}: TChipDismissibleGroupItem) => {\n return (\n <DismissibleGroup.Item asChild {...rest}>\n <StyledChipDismissibleGroupItem size={size}>\n <Chip.Content>{children}</Chip.Content>\n <DismissibleGroup.Trigger asChild>\n <ActionIcon\n label={dismissActionLabel}\n css={{ color: '$grey600' }}\n size={size === 'sm' ? 'xs' : 'sm'}\n >\n <Icon is={Close} />\n </ActionIcon>\n </DismissibleGroup.Trigger>\n </StyledChipDismissibleGroupItem>\n </DismissibleGroup.Item>\n )\n}\n"],"names":["StyledChipDismissibleGroupItem","styled","Chip","ChipDismissibleGroupItem","size","children","dismissActionLabel","rest","React","DismissibleGroup","ActionIcon","Icon","Close"],"mappings":"sVAUA,MAAMA,EAAiCC,EAAOC,EAAM,CAAE,GAAI,IAAK,CAAC,EASnDC,EAA2B,CAAC,CACvC,KAAAC,EAAO,KACP,SAAAC,EACA,mBAAAC,EAAqB,aAClBC,CACL,IAEIC,EAAA,cAACC,EAAiB,KAAjB,CAAsB,QAAO,GAAE,GAAGF,GACjCC,EAAA,cAACR,EAAA,CAA+B,KAAMI,CAAAA,EACpCI,EAAA,cAACN,EAAK,QAAL,KAAcG,CAAS,EACxBG,EAAA,cAACC,EAAiB,QAAjB,CAAyB,QAAO,EAAA,EAC/BD,EAAA,cAACE,EAAA,CACC,MAAOJ,EACP,IAAK,CAAE,MAAO,UAAW,EACzB,KAAMF,IAAS,KAAO,KAAO,IAAA,EAE7BI,EAAA,cAACG,EAAA,CAAK,GAAIC,CAAO,CAAA,CACnB,CACF,CACF,CACF"}
|
|
@@ -213,26 +213,11 @@ declare const StyledChipToggleGroupItem: import("@atom-learning/stitches-react/t
|
|
|
213
213
|
marsh1000: any;
|
|
214
214
|
marsh1100: any;
|
|
215
215
|
marsh1200: any;
|
|
216
|
-
tonal50: any;
|
|
217
|
-
tonal100: any;
|
|
218
|
-
tonal200: any;
|
|
219
|
-
tonal300: any;
|
|
220
|
-
tonal400: any;
|
|
221
|
-
tonal500: any;
|
|
222
|
-
tonal600: any;
|
|
223
216
|
alpha100: any;
|
|
224
217
|
alpha150: any;
|
|
225
218
|
alpha200: any;
|
|
226
219
|
alpha250: any;
|
|
227
220
|
alpha600: any;
|
|
228
|
-
brandRed: any;
|
|
229
|
-
brandRedAccent: any;
|
|
230
|
-
brandGreen: any;
|
|
231
|
-
brandGreenAccent: any;
|
|
232
|
-
brandPurple: any;
|
|
233
|
-
brandPurpleAccent: any;
|
|
234
|
-
brandYellow: any;
|
|
235
|
-
brandYellowAccent: any;
|
|
236
221
|
infoLight: any;
|
|
237
222
|
info: any;
|
|
238
223
|
infoMid: any;
|
|
@@ -595,26 +580,11 @@ declare const StyledChipToggleGroupItem: import("@atom-learning/stitches-react/t
|
|
|
595
580
|
marsh1000: any;
|
|
596
581
|
marsh1100: any;
|
|
597
582
|
marsh1200: any;
|
|
598
|
-
tonal50: any;
|
|
599
|
-
tonal100: any;
|
|
600
|
-
tonal200: any;
|
|
601
|
-
tonal300: any;
|
|
602
|
-
tonal400: any;
|
|
603
|
-
tonal500: any;
|
|
604
|
-
tonal600: any;
|
|
605
583
|
alpha100: any;
|
|
606
584
|
alpha150: any;
|
|
607
585
|
alpha200: any;
|
|
608
586
|
alpha250: any;
|
|
609
587
|
alpha600: any;
|
|
610
|
-
brandRed: any;
|
|
611
|
-
brandRedAccent: any;
|
|
612
|
-
brandGreen: any;
|
|
613
|
-
brandGreenAccent: any;
|
|
614
|
-
brandPurple: any;
|
|
615
|
-
brandPurpleAccent: any;
|
|
616
|
-
brandYellow: any;
|
|
617
|
-
brandYellowAccent: any;
|
|
618
588
|
infoLight: any;
|
|
619
589
|
info: any;
|
|
620
590
|
infoMid: any;
|
|
@@ -984,26 +954,11 @@ declare const StyledChipToggleGroupItem: import("@atom-learning/stitches-react/t
|
|
|
984
954
|
marsh1000: any;
|
|
985
955
|
marsh1100: any;
|
|
986
956
|
marsh1200: any;
|
|
987
|
-
tonal50: any;
|
|
988
|
-
tonal100: any;
|
|
989
|
-
tonal200: any;
|
|
990
|
-
tonal300: any;
|
|
991
|
-
tonal400: any;
|
|
992
|
-
tonal500: any;
|
|
993
|
-
tonal600: any;
|
|
994
957
|
alpha100: any;
|
|
995
958
|
alpha150: any;
|
|
996
959
|
alpha200: any;
|
|
997
960
|
alpha250: any;
|
|
998
961
|
alpha600: any;
|
|
999
|
-
brandRed: any;
|
|
1000
|
-
brandRedAccent: any;
|
|
1001
|
-
brandGreen: any;
|
|
1002
|
-
brandGreenAccent: any;
|
|
1003
|
-
brandPurple: any;
|
|
1004
|
-
brandPurpleAccent: any;
|
|
1005
|
-
brandYellow: any;
|
|
1006
|
-
brandYellowAccent: any;
|
|
1007
962
|
infoLight: any;
|
|
1008
963
|
info: any;
|
|
1009
964
|
infoMid: any;
|
|
@@ -1367,26 +1322,11 @@ declare const StyledChipToggleGroupItem: import("@atom-learning/stitches-react/t
|
|
|
1367
1322
|
marsh1000: any;
|
|
1368
1323
|
marsh1100: any;
|
|
1369
1324
|
marsh1200: any;
|
|
1370
|
-
tonal50: any;
|
|
1371
|
-
tonal100: any;
|
|
1372
|
-
tonal200: any;
|
|
1373
|
-
tonal300: any;
|
|
1374
|
-
tonal400: any;
|
|
1375
|
-
tonal500: any;
|
|
1376
|
-
tonal600: any;
|
|
1377
1325
|
alpha100: any;
|
|
1378
1326
|
alpha150: any;
|
|
1379
1327
|
alpha200: any;
|
|
1380
1328
|
alpha250: any;
|
|
1381
1329
|
alpha600: any;
|
|
1382
|
-
brandRed: any;
|
|
1383
|
-
brandRedAccent: any;
|
|
1384
|
-
brandGreen: any;
|
|
1385
|
-
brandGreenAccent: any;
|
|
1386
|
-
brandPurple: any;
|
|
1387
|
-
brandPurpleAccent: any;
|
|
1388
|
-
brandYellow: any;
|
|
1389
|
-
brandYellowAccent: any;
|
|
1390
1330
|
infoLight: any;
|
|
1391
1331
|
info: any;
|
|
1392
1332
|
infoMid: any;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{Ok as
|
|
1
|
+
import{Ok as s}from"@atom-learning/icons";import*as a from"@radix-ui/react-toggle-group";import*as o from"react";import{Chip as e}from"../chip/Chip.js";import"../chip/ChipGroup.js";import{Icon as p}from"../icon/Icon.js";import{styled as t}from"../../stitches.js";import"../../utilities/css-wrapper/CSSWrapper.js";import"../../utilities/no-overflow-wrapper/NoOverflowWrapper.js";import"color2k";import{focusVisibleStyleBlock as n}from"../../utilities/style/focus-visible-style-block.js";import"../../utilities/style/keyframe-animations.js";const i=t(p,{display:"none"}),c=t.withConfig({shouldForwardStitchesProp:r=>["as"].includes(r)})(e,{"&:not([disabled])":{cursor:"pointer","&:hover":{bg:"$grey200",color:"$grey1000",borderColor:"currentColor"},"&:focus-visible":{...n()},'&[data-state="on"]':{"&:hover":{bg:"white",color:"$primary1000"}}},'&[data-state="off"]':{color:"$grey800",bg:"$grey100",borderColor:"$grey600"},'&[data-state="on"]':{[`& ${i}`]:{display:"block"}}}),d=({size:r="md",children:m,...l})=>o.createElement(a.Item,{...l,asChild:!0},o.createElement(c,{as:"button"},o.createElement(i,{is:s,size:r==="lg"?"md":"sm"}),o.createElement(e.Content,null,m)));export{d as ChipToggleGroupItem};
|
|
2
2
|
//# sourceMappingURL=ChipToggleGroupItem.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChipToggleGroupItem.js","sources":["../../../src/components/chip-toggle-group/ChipToggleGroupItem.tsx"],"sourcesContent":["import { Ok } from '@atom-learning/icons'\nimport * as ToggleGroup from '@radix-ui/react-toggle-group'\nimport * as React from 'react'\n\nimport { Chip } from '~/components/chip'\nimport { Icon } from '~/components/icon'\nimport { styled } from '~/stitches'\nimport { focusVisibleStyleBlock } from '~/utilities'\n\nconst StyledChipToggleIcon = styled(Icon, {\n display: 'none'\n})\n\nconst StyledChipToggleGroupItem = styled.withConfig({\n shouldForwardStitchesProp: (propName) => ['as'].includes(propName)\n})(Chip, {\n '&:not([disabled])': {\n cursor: 'pointer',\n '&:hover': {\n bg: '$
|
|
1
|
+
{"version":3,"file":"ChipToggleGroupItem.js","sources":["../../../src/components/chip-toggle-group/ChipToggleGroupItem.tsx"],"sourcesContent":["import { Ok } from '@atom-learning/icons'\nimport * as ToggleGroup from '@radix-ui/react-toggle-group'\nimport * as React from 'react'\n\nimport { Chip } from '~/components/chip'\nimport { Icon } from '~/components/icon'\nimport { styled } from '~/stitches'\nimport { focusVisibleStyleBlock } from '~/utilities'\n\nconst StyledChipToggleIcon = styled(Icon, {\n display: 'none'\n})\n\nconst StyledChipToggleGroupItem = styled.withConfig({\n shouldForwardStitchesProp: (propName) => ['as'].includes(propName)\n})(Chip, {\n '&:not([disabled])': {\n cursor: 'pointer',\n '&:hover': {\n bg: '$grey200',\n color: '$grey1000',\n borderColor: 'currentColor'\n },\n '&:focus-visible': {\n ...focusVisibleStyleBlock()\n },\n '&[data-state=\"on\"]': {\n '&:hover': {\n bg: 'white',\n color: '$primary1000'\n }\n }\n },\n '&[data-state=\"off\"]': {\n color: '$grey800',\n bg: '$grey100',\n borderColor: '$grey600'\n },\n '&[data-state=\"on\"]': {\n [`& ${StyledChipToggleIcon}`]: {\n display: 'block'\n }\n }\n})\n\ntype TChipToggleGroupItem = React.ComponentProps<typeof ToggleGroup.Item> &\n React.ComponentProps<typeof StyledChipToggleGroupItem>\n\nexport const ChipToggleGroupItem = ({\n size = 'md',\n children,\n ...rest\n}: TChipToggleGroupItem) => {\n return (\n <ToggleGroup.Item {...rest} asChild>\n <StyledChipToggleGroupItem as=\"button\">\n <StyledChipToggleIcon is={Ok} size={size === 'lg' ? 'md' : 'sm'} />\n <Chip.Content>{children}</Chip.Content>\n </StyledChipToggleGroupItem>\n </ToggleGroup.Item>\n )\n}\n"],"names":["StyledChipToggleIcon","styled","Icon","StyledChipToggleGroupItem","propName","Chip","focusVisibleStyleBlock","ChipToggleGroupItem","size","children","rest","React","ToggleGroup","Ok"],"mappings":"2hBASA,MAAMA,EAAuBC,EAAOC,EAAM,CACxC,QAAS,MACX,CAAC,EAEKC,EAA4BF,EAAO,WAAW,CAClD,0BAA4BG,GAAa,CAAC,IAAI,EAAE,SAASA,CAAQ,CACnE,CAAC,EAAEC,EAAM,CACP,oBAAqB,CACnB,OAAQ,UACR,UAAW,CACT,GAAI,WACJ,MAAO,YACP,YAAa,cACf,EACA,kBAAmB,CACjB,GAAGC,GACL,EACA,qBAAsB,CACpB,UAAW,CACT,GAAI,QACJ,MAAO,cACT,CACF,CACF,EACA,sBAAuB,CACrB,MAAO,WACP,GAAI,WACJ,YAAa,UACf,EACA,qBAAsB,CACpB,CAAC,KAAKN,KAAyB,CAC7B,QAAS,OACX,CACF,CACF,CAAC,EAKYO,EAAsB,CAAC,CAClC,KAAAC,EAAO,KACP,SAAAC,KACGC,CACL,IAEIC,EAAA,cAACC,EAAY,KAAZ,CAAkB,GAAGF,EAAM,QAAO,EAAA,EACjCC,EAAA,cAACR,EAAA,CAA0B,GAAG,UAC5BQ,EAAA,cAACX,EAAA,CAAqB,GAAIa,EAAI,KAAML,IAAS,KAAO,KAAO,IAAA,CAAM,EACjEG,EAAA,cAACN,EAAK,QAAL,KAAcI,CAAS,CAC1B,CACF"}
|
|
@@ -204,26 +204,11 @@ export declare const Combobox: import("@atom-learning/stitches-react/types/style
|
|
|
204
204
|
marsh1000: any;
|
|
205
205
|
marsh1100: any;
|
|
206
206
|
marsh1200: any;
|
|
207
|
-
tonal50: any;
|
|
208
|
-
tonal100: any;
|
|
209
|
-
tonal200: any;
|
|
210
|
-
tonal300: any;
|
|
211
|
-
tonal400: any;
|
|
212
|
-
tonal500: any;
|
|
213
|
-
tonal600: any;
|
|
214
207
|
alpha100: any;
|
|
215
208
|
alpha150: any;
|
|
216
209
|
alpha200: any;
|
|
217
210
|
alpha250: any;
|
|
218
211
|
alpha600: any;
|
|
219
|
-
brandRed: any;
|
|
220
|
-
brandRedAccent: any;
|
|
221
|
-
brandGreen: any;
|
|
222
|
-
brandGreenAccent: any;
|
|
223
|
-
brandPurple: any;
|
|
224
|
-
brandPurpleAccent: any;
|
|
225
|
-
brandYellow: any;
|
|
226
|
-
brandYellowAccent: any;
|
|
227
212
|
infoLight: any;
|
|
228
213
|
info: any;
|
|
229
214
|
infoMid: any;
|
|
@@ -584,26 +569,11 @@ export declare const Combobox: import("@atom-learning/stitches-react/types/style
|
|
|
584
569
|
marsh1000: any;
|
|
585
570
|
marsh1100: any;
|
|
586
571
|
marsh1200: any;
|
|
587
|
-
tonal50: any;
|
|
588
|
-
tonal100: any;
|
|
589
|
-
tonal200: any;
|
|
590
|
-
tonal300: any;
|
|
591
|
-
tonal400: any;
|
|
592
|
-
tonal500: any;
|
|
593
|
-
tonal600: any;
|
|
594
572
|
alpha100: any;
|
|
595
573
|
alpha150: any;
|
|
596
574
|
alpha200: any;
|
|
597
575
|
alpha250: any;
|
|
598
576
|
alpha600: any;
|
|
599
|
-
brandRed: any;
|
|
600
|
-
brandRedAccent: any;
|
|
601
|
-
brandGreen: any;
|
|
602
|
-
brandGreenAccent: any;
|
|
603
|
-
brandPurple: any;
|
|
604
|
-
brandPurpleAccent: any;
|
|
605
|
-
brandYellow: any;
|
|
606
|
-
brandYellowAccent: any;
|
|
607
577
|
infoLight: any;
|
|
608
578
|
info: any;
|
|
609
579
|
infoMid: any;
|
|
@@ -971,26 +941,11 @@ export declare const Combobox: import("@atom-learning/stitches-react/types/style
|
|
|
971
941
|
marsh1000: any;
|
|
972
942
|
marsh1100: any;
|
|
973
943
|
marsh1200: any;
|
|
974
|
-
tonal50: any;
|
|
975
|
-
tonal100: any;
|
|
976
|
-
tonal200: any;
|
|
977
|
-
tonal300: any;
|
|
978
|
-
tonal400: any;
|
|
979
|
-
tonal500: any;
|
|
980
|
-
tonal600: any;
|
|
981
944
|
alpha100: any;
|
|
982
945
|
alpha150: any;
|
|
983
946
|
alpha200: any;
|
|
984
947
|
alpha250: any;
|
|
985
948
|
alpha600: any;
|
|
986
|
-
brandRed: any;
|
|
987
|
-
brandRedAccent: any;
|
|
988
|
-
brandGreen: any;
|
|
989
|
-
brandGreenAccent: any;
|
|
990
|
-
brandPurple: any;
|
|
991
|
-
brandPurpleAccent: any;
|
|
992
|
-
brandYellow: any;
|
|
993
|
-
brandYellowAccent: any;
|
|
994
949
|
infoLight: any;
|
|
995
950
|
info: any;
|
|
996
951
|
infoMid: any;
|
|
@@ -1351,26 +1306,11 @@ export declare const Combobox: import("@atom-learning/stitches-react/types/style
|
|
|
1351
1306
|
marsh1000: any;
|
|
1352
1307
|
marsh1100: any;
|
|
1353
1308
|
marsh1200: any;
|
|
1354
|
-
tonal50: any;
|
|
1355
|
-
tonal100: any;
|
|
1356
|
-
tonal200: any;
|
|
1357
|
-
tonal300: any;
|
|
1358
|
-
tonal400: any;
|
|
1359
|
-
tonal500: any;
|
|
1360
|
-
tonal600: any;
|
|
1361
1309
|
alpha100: any;
|
|
1362
1310
|
alpha150: any;
|
|
1363
1311
|
alpha200: any;
|
|
1364
1312
|
alpha250: any;
|
|
1365
1313
|
alpha600: any;
|
|
1366
|
-
brandRed: any;
|
|
1367
|
-
brandRedAccent: any;
|
|
1368
|
-
brandGreen: any;
|
|
1369
|
-
brandGreenAccent: any;
|
|
1370
|
-
brandPurple: any;
|
|
1371
|
-
brandPurpleAccent: any;
|
|
1372
|
-
brandYellow: any;
|
|
1373
|
-
brandYellowAccent: any;
|
|
1374
1314
|
infoLight: any;
|
|
1375
1315
|
info: any;
|
|
1376
1316
|
infoMid: any;
|
|
@@ -1730,26 +1670,11 @@ export declare const Combobox: import("@atom-learning/stitches-react/types/style
|
|
|
1730
1670
|
marsh1000: any;
|
|
1731
1671
|
marsh1100: any;
|
|
1732
1672
|
marsh1200: any;
|
|
1733
|
-
tonal50: any;
|
|
1734
|
-
tonal100: any;
|
|
1735
|
-
tonal200: any;
|
|
1736
|
-
tonal300: any;
|
|
1737
|
-
tonal400: any;
|
|
1738
|
-
tonal500: any;
|
|
1739
|
-
tonal600: any;
|
|
1740
1673
|
alpha100: any;
|
|
1741
1674
|
alpha150: any;
|
|
1742
1675
|
alpha200: any;
|
|
1743
1676
|
alpha250: any;
|
|
1744
1677
|
alpha600: any;
|
|
1745
|
-
brandRed: any;
|
|
1746
|
-
brandRedAccent: any;
|
|
1747
|
-
brandGreen: any;
|
|
1748
|
-
brandGreenAccent: any;
|
|
1749
|
-
brandPurple: any;
|
|
1750
|
-
brandPurpleAccent: any;
|
|
1751
|
-
brandYellow: any;
|
|
1752
|
-
brandYellowAccent: any;
|
|
1753
1678
|
infoLight: any;
|
|
1754
1679
|
info: any;
|
|
1755
1680
|
infoMid: any;
|
|
@@ -206,26 +206,11 @@ export declare const StyledComboboxInput: import("@atom-learning/stitches-react/
|
|
|
206
206
|
marsh1000: any;
|
|
207
207
|
marsh1100: any;
|
|
208
208
|
marsh1200: any;
|
|
209
|
-
tonal50: any;
|
|
210
|
-
tonal100: any;
|
|
211
|
-
tonal200: any;
|
|
212
|
-
tonal300: any;
|
|
213
|
-
tonal400: any;
|
|
214
|
-
tonal500: any;
|
|
215
|
-
tonal600: any;
|
|
216
209
|
alpha100: any;
|
|
217
210
|
alpha150: any;
|
|
218
211
|
alpha200: any;
|
|
219
212
|
alpha250: any;
|
|
220
213
|
alpha600: any;
|
|
221
|
-
brandRed: any;
|
|
222
|
-
brandRedAccent: any;
|
|
223
|
-
brandGreen: any;
|
|
224
|
-
brandGreenAccent: any;
|
|
225
|
-
brandPurple: any;
|
|
226
|
-
brandPurpleAccent: any;
|
|
227
|
-
brandYellow: any;
|
|
228
|
-
brandYellowAccent: any;
|
|
229
214
|
infoLight: any;
|
|
230
215
|
info: any;
|
|
231
216
|
infoMid: any;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{ComboboxInput as
|
|
1
|
+
import{ComboboxInput as n}from"@reach/combobox";import*as o from"react";import{styled as a,theme as d}from"../../stitches.js";import"../../utilities/css-wrapper/CSSWrapper.js";import"../../utilities/no-overflow-wrapper/NoOverflowWrapper.js";import{encodeBackgroundIcon as l}from"../../utilities/style/encode-background-icon.js";import"../../utilities/style/keyframe-animations.js";const e=a(n,{boxShadow:"none",appearance:"none",backgroundImage:l(d.colors.grey700.value,"chevron"),backgroundPosition:"right $space$3 top 50%, 0 0",backgroundRepeat:"no-repeat, repeat",backgroundSize:"20px auto, 100%",border:"1px solid $grey700",borderRadius:"$0",boxSizing:"border-box",color:"$grey1000",cursor:"text",display:"block",fontFamily:"$body",height:"$4",pl:"$3",pr:"$6",transition:"all 100ms ease-out",width:"100%","&::placeholder":{color:"$grey700",opacity:1},"&:focus-within":{borderColor:"$primary800",outline:"none"},"&[disabled]":{backgroundColor:"$grey200",color:"$grey800",cursor:"not-allowed"},variants:{size:{sm:{height:"$3",fontSize:"$sm",lineHeight:1.7},md:{height:"$4",fontSize:"$md",lineHeight:2},lg:{height:"$5",fontSize:"$md",lineHeight:2}},state:{error:{border:"1px solid $danger"}}}}),p=o.forwardRef(({size:r="md",...t},i)=>o.createElement(e,{size:r,...t,ref:i}));export{p as ComboboxInput,e as StyledComboboxInput};
|
|
2
2
|
//# sourceMappingURL=ComboboxInput.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ComboboxInput.js","sources":["../../../src/components/combobox/ComboboxInput.tsx"],"sourcesContent":["import { ComboboxInput as BaseComboboxInput } from '@reach/combobox'\nimport * as React from 'react'\n\nimport { styled, theme } from '~/stitches'\nimport { encodeBackgroundIcon } from '~/utilities'\nimport { Override } from '~/utilities/types'\n\nexport const StyledComboboxInput = styled(BaseComboboxInput, {\n boxShadow: 'none', // prevent default iOS default styling\n appearance: 'none',\n backgroundImage: encodeBackgroundIcon(theme.colors.
|
|
1
|
+
{"version":3,"file":"ComboboxInput.js","sources":["../../../src/components/combobox/ComboboxInput.tsx"],"sourcesContent":["import { ComboboxInput as BaseComboboxInput } from '@reach/combobox'\nimport * as React from 'react'\n\nimport { styled, theme } from '~/stitches'\nimport { encodeBackgroundIcon } from '~/utilities'\nimport { Override } from '~/utilities/types'\n\nexport const StyledComboboxInput = styled(BaseComboboxInput, {\n boxShadow: 'none', // prevent default iOS default styling\n appearance: 'none',\n backgroundImage: encodeBackgroundIcon(theme.colors.grey700.value, 'chevron'),\n backgroundPosition: 'right $space$3 top 50%, 0 0',\n backgroundRepeat: 'no-repeat, repeat',\n backgroundSize: '20px auto, 100%',\n border: '1px solid $grey700',\n borderRadius: '$0',\n boxSizing: 'border-box',\n color: '$grey1000',\n cursor: 'text',\n display: 'block',\n fontFamily: '$body',\n height: '$4',\n pl: '$3',\n pr: '$6',\n transition: 'all 100ms ease-out',\n width: '100%',\n '&::placeholder': {\n color: '$grey700',\n opacity: 1\n },\n '&:focus-within': {\n borderColor: '$primary800',\n outline: 'none'\n },\n '&[disabled]': {\n backgroundColor: '$grey200',\n color: '$grey800',\n cursor: 'not-allowed'\n },\n variants: {\n size: {\n sm: {\n height: '$3',\n fontSize: '$sm',\n lineHeight: 1.7\n },\n md: {\n height: '$4',\n fontSize: '$md',\n lineHeight: 2\n },\n lg: {\n height: '$5',\n fontSize: '$md',\n lineHeight: 2\n }\n },\n state: {\n error: {\n border: '1px solid $danger'\n }\n }\n }\n})\n\nexport type ComboboxInputProps = React.ComponentProps<\n typeof StyledComboboxInput\n>\n\nexport const ComboboxInput: React.ForwardRefExoticComponent<ComboboxInputProps> =\n React.forwardRef(({ size = 'md', ...rest }, ref) => (\n <StyledComboboxInput size={size} {...rest} ref={ref} />\n ))\n"],"names":["StyledComboboxInput","styled","BaseComboboxInput","encodeBackgroundIcon","theme","ComboboxInput","React","size","rest","ref"],"mappings":"6XAOO,MAAMA,EAAsBC,EAAOC,EAAmB,CAC3D,UAAW,OACX,WAAY,OACZ,gBAAiBC,EAAqBC,EAAM,OAAO,QAAQ,MAAO,SAAS,EAC3E,mBAAoB,8BACpB,iBAAkB,oBAClB,eAAgB,kBAChB,OAAQ,qBACR,aAAc,KACd,UAAW,aACX,MAAO,YACP,OAAQ,OACR,QAAS,QACT,WAAY,QACZ,OAAQ,KACR,GAAI,KACJ,GAAI,KACJ,WAAY,qBACZ,MAAO,OACP,iBAAkB,CAChB,MAAO,WACP,QAAS,CACX,EACA,iBAAkB,CAChB,YAAa,cACb,QAAS,MACX,EACA,cAAe,CACb,gBAAiB,WACjB,MAAO,WACP,OAAQ,aACV,EACA,SAAU,CACR,KAAM,CACJ,GAAI,CACF,OAAQ,KACR,SAAU,MACV,WAAY,GACd,EACA,GAAI,CACF,OAAQ,KACR,SAAU,MACV,WAAY,CACd,EACA,GAAI,CACF,OAAQ,KACR,SAAU,MACV,WAAY,CACd,CACF,EACA,MAAO,CACL,MAAO,CACL,OAAQ,mBACV,CACF,CACF,CACF,CAAC,EAMYC,EACXC,EAAM,WAAW,CAAC,CAAE,KAAAC,EAAO,QAASC,CAAK,EAAGC,IAC1CH,EAAA,cAACN,EAAA,CAAoB,KAAMO,EAAO,GAAGC,EAAM,IAAKC,EAAK,CACtD"}
|
|
@@ -202,26 +202,11 @@ export declare const ComboboxList: import("@atom-learning/stitches-react/types/s
|
|
|
202
202
|
marsh1000: any;
|
|
203
203
|
marsh1100: any;
|
|
204
204
|
marsh1200: any;
|
|
205
|
-
tonal50: any;
|
|
206
|
-
tonal100: any;
|
|
207
|
-
tonal200: any;
|
|
208
|
-
tonal300: any;
|
|
209
|
-
tonal400: any;
|
|
210
|
-
tonal500: any;
|
|
211
|
-
tonal600: any;
|
|
212
205
|
alpha100: any;
|
|
213
206
|
alpha150: any;
|
|
214
207
|
alpha200: any;
|
|
215
208
|
alpha250: any;
|
|
216
209
|
alpha600: any;
|
|
217
|
-
brandRed: any;
|
|
218
|
-
brandRedAccent: any;
|
|
219
|
-
brandGreen: any;
|
|
220
|
-
brandGreenAccent: any;
|
|
221
|
-
brandPurple: any;
|
|
222
|
-
brandPurpleAccent: any;
|
|
223
|
-
brandYellow: any;
|
|
224
|
-
brandYellowAccent: any;
|
|
225
210
|
infoLight: any;
|
|
226
211
|
info: any;
|
|
227
212
|
infoMid: any;
|
|
@@ -202,26 +202,11 @@ export declare const ComboboxOption: import("@atom-learning/stitches-react/types
|
|
|
202
202
|
marsh1000: any;
|
|
203
203
|
marsh1100: any;
|
|
204
204
|
marsh1200: any;
|
|
205
|
-
tonal50: any;
|
|
206
|
-
tonal100: any;
|
|
207
|
-
tonal200: any;
|
|
208
|
-
tonal300: any;
|
|
209
|
-
tonal400: any;
|
|
210
|
-
tonal500: any;
|
|
211
|
-
tonal600: any;
|
|
212
205
|
alpha100: any;
|
|
213
206
|
alpha150: any;
|
|
214
207
|
alpha200: any;
|
|
215
208
|
alpha250: any;
|
|
216
209
|
alpha600: any;
|
|
217
|
-
brandRed: any;
|
|
218
|
-
brandRedAccent: any;
|
|
219
|
-
brandGreen: any;
|
|
220
|
-
brandGreenAccent: any;
|
|
221
|
-
brandPurple: any;
|
|
222
|
-
brandPurpleAccent: any;
|
|
223
|
-
brandYellow: any;
|
|
224
|
-
brandYellowAccent: any;
|
|
225
210
|
infoLight: any;
|
|
226
211
|
info: any;
|
|
227
212
|
infoMid: any;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{ComboboxOption as o}from"@reach/combobox";import{styled as r}from"../../stitches.js";const
|
|
1
|
+
import{ComboboxOption as o}from"@reach/combobox";import{styled as r}from"../../stitches.js";const e=r(o,{color:"$grey900",cursor:"pointer",m:0,p:"$2",'&:hover, &[aria-selected="true"]':{bg:"$grey100",borderRadius:"$0"},"[data-user-value]":{color:"$primary800"}});export{e as ComboboxOption};
|
|
2
2
|
//# sourceMappingURL=ComboboxOption.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ComboboxOption.js","sources":["../../../src/components/combobox/ComboboxOption.tsx"],"sourcesContent":["import { ComboboxOption as BaseComboboxOption } from '@reach/combobox'\n\nimport { styled } from '~/stitches'\n\nexport const ComboboxOption = styled(BaseComboboxOption, {\n color: '$
|
|
1
|
+
{"version":3,"file":"ComboboxOption.js","sources":["../../../src/components/combobox/ComboboxOption.tsx"],"sourcesContent":["import { ComboboxOption as BaseComboboxOption } from '@reach/combobox'\n\nimport { styled } from '~/stitches'\n\nexport const ComboboxOption = styled(BaseComboboxOption, {\n color: '$grey900',\n cursor: 'pointer',\n m: 0,\n p: '$2',\n '&:hover, &[aria-selected=\"true\"]': {\n bg: '$grey100',\n borderRadius: '$0'\n },\n '[data-user-value]': {\n color: '$primary800'\n }\n})\n"],"names":["ComboboxOption","styled","BaseComboboxOption"],"mappings":"4FAIa,MAAAA,EAAiBC,EAAOC,EAAoB,CACvD,MAAO,WACP,OAAQ,UACR,EAAG,EACH,EAAG,KACH,mCAAoC,CAClC,GAAI,WACJ,aAAc,IAChB,EACA,oBAAqB,CACnB,MAAO,aACT,CACF,CAAC"}
|
|
@@ -202,26 +202,11 @@ export declare const ComboboxPopover: import("@atom-learning/stitches-react/type
|
|
|
202
202
|
marsh1000: any;
|
|
203
203
|
marsh1100: any;
|
|
204
204
|
marsh1200: any;
|
|
205
|
-
tonal50: any;
|
|
206
|
-
tonal100: any;
|
|
207
|
-
tonal200: any;
|
|
208
|
-
tonal300: any;
|
|
209
|
-
tonal400: any;
|
|
210
|
-
tonal500: any;
|
|
211
|
-
tonal600: any;
|
|
212
205
|
alpha100: any;
|
|
213
206
|
alpha150: any;
|
|
214
207
|
alpha200: any;
|
|
215
208
|
alpha250: any;
|
|
216
209
|
alpha600: any;
|
|
217
|
-
brandRed: any;
|
|
218
|
-
brandRedAccent: any;
|
|
219
|
-
brandGreen: any;
|
|
220
|
-
brandGreenAccent: any;
|
|
221
|
-
brandPurple: any;
|
|
222
|
-
brandPurpleAccent: any;
|
|
223
|
-
brandYellow: any;
|
|
224
|
-
brandYellowAccent: any;
|
|
225
210
|
infoLight: any;
|
|
226
211
|
info: any;
|
|
227
212
|
infoMid: any;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{ComboboxPopover as o}from"@reach/combobox";import{styled as r}from"../../stitches.js";const
|
|
1
|
+
import{ComboboxPopover as o}from"@reach/combobox";import{styled as r}from"../../stitches.js";const e=r(o,{bg:"white",border:"solid 1px $grey200",borderRadius:"$0",boxShadow:"$1",boxSizing:"border-box",fontFamily:"$body",fontSize:"$md",outline:"none",p:"$1",transform:"translateY($space$2)"});export{e as ComboboxPopover};
|
|
2
2
|
//# sourceMappingURL=ComboboxPopover.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ComboboxPopover.js","sources":["../../../src/components/combobox/ComboboxPopover.tsx"],"sourcesContent":["import { ComboboxPopover as BaseComboboxPopover } from '@reach/combobox'\n\nimport { styled } from '~/stitches'\n\nexport const ComboboxPopover = styled(BaseComboboxPopover, {\n bg: 'white',\n border: 'solid 1px $
|
|
1
|
+
{"version":3,"file":"ComboboxPopover.js","sources":["../../../src/components/combobox/ComboboxPopover.tsx"],"sourcesContent":["import { ComboboxPopover as BaseComboboxPopover } from '@reach/combobox'\n\nimport { styled } from '~/stitches'\n\nexport const ComboboxPopover = styled(BaseComboboxPopover, {\n bg: 'white',\n border: 'solid 1px $grey200',\n borderRadius: '$0',\n boxShadow: '$1',\n boxSizing: 'border-box',\n fontFamily: '$body',\n fontSize: '$md',\n outline: 'none',\n p: '$1',\n transform: 'translateY($space$2)'\n})\n"],"names":["ComboboxPopover","styled","BaseComboboxPopover"],"mappings":"6FAIa,MAAAA,EAAkBC,EAAOC,EAAqB,CACzD,GAAI,QACJ,OAAQ,qBACR,aAAc,KACd,UAAW,KACX,UAAW,aACX,WAAY,QACZ,SAAU,MACV,QAAS,OACT,EAAG,KACH,UAAW,sBACb,CAAC"}
|