@govtechsg/sgds-web-component 3.3.0 → 3.3.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/base/card-element.d.ts +19 -0
- package/base/card-element.js +43 -2
- package/base/card-element.js.map +1 -1
- package/base/card.js +1 -1
- package/{src/base → base}/dropdown-element.d.ts +3 -1
- package/base/dropdown-element.js +2 -1
- package/base/dropdown-element.js.map +1 -1
- package/base/select-element.js +3 -1
- package/base/select-element.js.map +1 -1
- package/components/Breadcrumb/index.umd.js +3 -2
- package/components/Breadcrumb/index.umd.js.map +1 -1
- package/{src/components → components}/Breadcrumb/sgds-breadcrumb.d.ts +1 -1
- package/components/Breadcrumb/sgds-breadcrumb.js +1 -1
- package/components/Breadcrumb/sgds-breadcrumb.js.map +1 -1
- package/components/Card/card.js +1 -1
- package/components/Card/index.umd.js +83 -82
- package/components/Card/index.umd.js.map +1 -1
- package/{src/components → components}/Card/sgds-card.d.ts +4 -15
- package/components/Card/sgds-card.js +16 -56
- package/components/Card/sgds-card.js.map +1 -1
- package/components/Card/types.d.ts +3 -0
- package/components/ComboBox/combo-box.js +1 -1
- package/components/ComboBox/index.umd.js +18 -3
- package/components/ComboBox/index.umd.js.map +1 -1
- package/components/Datepicker/index.umd.js +17 -12
- package/components/Datepicker/index.umd.js.map +1 -1
- package/{src/components → components}/Datepicker/sgds-datepicker.d.ts +3 -2
- package/components/Datepicker/sgds-datepicker.js +15 -11
- package/components/Datepicker/sgds-datepicker.js.map +1 -1
- package/components/Dropdown/dropdown.js +1 -1
- package/components/Dropdown/index.umd.js +3 -2
- package/components/Dropdown/index.umd.js.map +1 -1
- package/components/IconCard/icon-card.js +6 -0
- package/components/IconCard/icon-card.js.map +1 -0
- package/components/IconCard/index.d.ts +6 -0
- package/components/IconCard/index.js +4 -0
- package/components/IconCard/index.js.map +1 -0
- package/components/IconCard/index.umd.js +4750 -0
- package/components/IconCard/index.umd.js.map +1 -0
- package/components/IconCard/sgds-icon-card.d.ts +24 -0
- package/components/IconCard/sgds-icon-card.js +83 -0
- package/components/IconCard/sgds-icon-card.js.map +1 -0
- package/components/ImageCard/image-card.js +6 -0
- package/components/ImageCard/image-card.js.map +1 -0
- package/components/ImageCard/index.d.ts +6 -0
- package/components/ImageCard/index.js +4 -0
- package/components/ImageCard/index.js.map +1 -0
- package/components/ImageCard/index.umd.js +4764 -0
- package/components/ImageCard/index.umd.js.map +1 -0
- package/components/ImageCard/sgds-image-card.d.ts +30 -0
- package/components/ImageCard/sgds-image-card.js +97 -0
- package/components/ImageCard/sgds-image-card.js.map +1 -0
- package/components/Mainnav/index.umd.js +5 -4
- package/components/Mainnav/index.umd.js.map +1 -1
- package/components/Mainnav/mainnav.js +1 -1
- package/components/Mainnav/sgds-mainnav-dropdown.js +1 -1
- package/components/Mainnav/sgds-mainnav-dropdown.js.map +1 -1
- package/components/Modal/index.umd.js +1 -1
- package/components/Modal/modal.js +1 -1
- package/components/OverflowMenu/index.js +5 -0
- package/components/OverflowMenu/index.js.map +1 -0
- package/components/OverflowMenu/index.umd.js +11130 -0
- package/components/OverflowMenu/index.umd.js.map +1 -0
- package/{src/internals → components}/OverflowMenu/sgds-overflow-menu.d.ts +3 -3
- package/{internals → components}/OverflowMenu/sgds-overflow-menu.js +3 -3
- package/components/OverflowMenu/sgds-overflow-menu.js.map +1 -0
- package/components/Select/index.umd.js +18 -3
- package/components/Select/index.umd.js.map +1 -1
- package/components/Select/select.js +1 -1
- package/components/ThumbnailCard/index.d.ts +6 -0
- package/components/ThumbnailCard/index.js +4 -0
- package/components/ThumbnailCard/index.js.map +1 -0
- package/components/ThumbnailCard/index.umd.js +4754 -0
- package/components/ThumbnailCard/index.umd.js.map +1 -0
- package/components/ThumbnailCard/sgds-thumbnail-card.d.ts +24 -0
- package/components/ThumbnailCard/sgds-thumbnail-card.js +87 -0
- package/components/ThumbnailCard/sgds-thumbnail-card.js.map +1 -0
- package/components/ThumbnailCard/thumbnail-card.js +6 -0
- package/components/ThumbnailCard/thumbnail-card.js.map +1 -0
- package/{src/components → components}/index.d.ts +4 -0
- package/components/index.js +4 -0
- package/components/index.js.map +1 -1
- package/components/index.umd.js +475 -208
- package/components/index.umd.js.map +1 -1
- package/{src/index.d.ts → index.d.ts} +4 -0
- package/index.js +4 -0
- package/index.js.map +1 -1
- package/index.umd.js +493 -222
- package/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/react/base/card-element.cjs.js +42 -1
- package/react/base/card-element.cjs.js.map +1 -1
- package/react/base/card-element.js +43 -2
- package/react/base/card-element.js.map +1 -1
- package/react/base/card.cjs.js +1 -1
- package/react/base/card.js +1 -1
- package/react/base/dropdown-element.cjs.js +2 -1
- package/react/base/dropdown-element.cjs.js.map +1 -1
- package/react/base/dropdown-element.js +2 -1
- package/react/base/dropdown-element.js.map +1 -1
- package/react/base/select-element.cjs.js +3 -1
- package/react/base/select-element.cjs.js.map +1 -1
- package/react/base/select-element.js +3 -1
- package/react/base/select-element.js.map +1 -1
- package/react/components/Breadcrumb/sgds-breadcrumb.cjs.js +1 -1
- package/react/components/Breadcrumb/sgds-breadcrumb.cjs.js.map +1 -1
- package/react/components/Breadcrumb/sgds-breadcrumb.js +1 -1
- package/react/components/Breadcrumb/sgds-breadcrumb.js.map +1 -1
- package/react/components/Card/card.cjs.js +1 -1
- package/react/components/Card/card.js +1 -1
- package/react/components/Card/sgds-card.cjs.js +15 -55
- package/react/components/Card/sgds-card.cjs.js.map +1 -1
- package/react/components/Card/sgds-card.js +16 -56
- package/react/components/Card/sgds-card.js.map +1 -1
- package/react/components/ComboBox/combo-box.cjs.js +1 -1
- package/react/components/ComboBox/combo-box.js +1 -1
- package/react/components/Datepicker/sgds-datepicker.cjs.js +15 -11
- package/react/components/Datepicker/sgds-datepicker.cjs.js.map +1 -1
- package/react/components/Datepicker/sgds-datepicker.js +15 -11
- package/react/components/Datepicker/sgds-datepicker.js.map +1 -1
- package/react/components/Dropdown/dropdown.cjs.js +1 -1
- package/react/components/Dropdown/dropdown.js +1 -1
- package/react/components/IconCard/icon-card.cjs.js +11 -0
- package/react/components/IconCard/icon-card.cjs.js.map +1 -0
- package/react/components/IconCard/icon-card.js +7 -0
- package/react/components/IconCard/icon-card.js.map +1 -0
- package/react/components/IconCard/sgds-icon-card.cjs.js +89 -0
- package/react/components/IconCard/sgds-icon-card.cjs.js.map +1 -0
- package/react/components/IconCard/sgds-icon-card.js +84 -0
- package/react/components/IconCard/sgds-icon-card.js.map +1 -0
- package/react/components/ImageCard/image-card.cjs.js +11 -0
- package/react/components/ImageCard/image-card.cjs.js.map +1 -0
- package/react/components/ImageCard/image-card.js +7 -0
- package/react/components/ImageCard/image-card.js.map +1 -0
- package/react/components/ImageCard/sgds-image-card.cjs.js +103 -0
- package/react/components/ImageCard/sgds-image-card.cjs.js.map +1 -0
- package/react/components/ImageCard/sgds-image-card.js +98 -0
- package/react/components/ImageCard/sgds-image-card.js.map +1 -0
- package/react/components/Mainnav/mainnav.cjs.js +1 -1
- package/react/components/Mainnav/mainnav.js +1 -1
- package/react/components/Mainnav/sgds-mainnav-dropdown.cjs.js +1 -1
- package/react/components/Mainnav/sgds-mainnav-dropdown.cjs.js.map +1 -1
- package/react/components/Mainnav/sgds-mainnav-dropdown.js +1 -1
- package/react/components/Mainnav/sgds-mainnav-dropdown.js.map +1 -1
- package/react/components/Modal/modal.cjs.js +1 -1
- package/react/components/Modal/modal.js +1 -1
- package/react/{internals → components}/OverflowMenu/sgds-overflow-menu.cjs.js +3 -3
- package/react/components/OverflowMenu/sgds-overflow-menu.cjs.js.map +1 -0
- package/react/{internals → components}/OverflowMenu/sgds-overflow-menu.js +3 -3
- package/react/components/OverflowMenu/sgds-overflow-menu.js.map +1 -0
- package/react/components/Select/select.cjs.js +1 -1
- package/react/components/Select/select.js +1 -1
- package/react/components/ThumbnailCard/sgds-thumbnail-card.cjs.js +93 -0
- package/react/components/ThumbnailCard/sgds-thumbnail-card.cjs.js.map +1 -0
- package/react/components/ThumbnailCard/sgds-thumbnail-card.js +88 -0
- package/react/components/ThumbnailCard/sgds-thumbnail-card.js.map +1 -0
- package/react/components/ThumbnailCard/thumbnail-card.cjs.js +11 -0
- package/react/components/ThumbnailCard/thumbnail-card.cjs.js.map +1 -0
- package/react/components/ThumbnailCard/thumbnail-card.js +7 -0
- package/react/components/ThumbnailCard/thumbnail-card.js.map +1 -0
- package/react/icon-card/index.cjs.js +40 -0
- package/react/icon-card/index.cjs.js.map +1 -0
- package/react/icon-card/index.js +16 -0
- package/react/icon-card/index.js.map +1 -0
- package/react/image-card/index.cjs.js +40 -0
- package/react/image-card/index.cjs.js.map +1 -0
- package/react/image-card/index.js +16 -0
- package/react/image-card/index.js.map +1 -0
- package/react/index.cjs.js +78 -70
- package/react/index.cjs.js.map +1 -1
- package/{src/react → react}/index.d.ts +4 -0
- package/react/index.js +4 -0
- package/react/index.js.map +1 -1
- package/react/overflow-menu/index.cjs.js +40 -0
- package/react/overflow-menu/index.cjs.js.map +1 -0
- package/react/overflow-menu/index.js +16 -0
- package/react/overflow-menu/index.js.map +1 -0
- package/react/thumbnail-card/index.cjs.js +40 -0
- package/react/thumbnail-card/index.cjs.js.map +1 -0
- package/react/thumbnail-card/index.d.ts +2 -0
- package/react/thumbnail-card/index.js +16 -0
- package/react/thumbnail-card/index.js.map +1 -0
- package/react/toast/index.d.ts +2 -0
- package/react/toast-container/index.d.ts +2 -0
- package/react/tooltip/index.d.ts +2 -0
- package/react/utils/popper.cjs.js +20 -0
- package/react/utils/popper.cjs.js.map +1 -0
- package/react/utils/popper.js +16 -0
- package/react/utils/popper.js.map +1 -0
- package/utils/popper.d.ts +5 -0
- package/utils/popper.js +15 -0
- package/utils/popper.js.map +1 -0
- package/internals/OverflowMenu/sgds-overflow-menu.js.map +0 -1
- package/react/internals/OverflowMenu/sgds-overflow-menu.cjs.js.map +0 -1
- package/react/internals/OverflowMenu/sgds-overflow-menu.js.map +0 -1
- package/scripts/figma/sync-figma-to-tokens/__tests__/write-tokens-to-css-var.test.d.ts +0 -0
- package/scripts/figma/sync-figma-to-tokens/color.d.ts +0 -8
- package/scripts/figma/sync-figma-to-tokens/figma_api.d.ts +0 -8
- package/scripts/figma/sync-figma-to-tokens/sync-figma-to-tokens.d.ts +0 -1
- package/scripts/figma/sync-figma-to-tokens/token_export.d.ts +0 -5
- package/scripts/figma/sync-figma-to-tokens/token_types.d.ts +0 -52
- package/scripts/figma/sync-figma-to-tokens/utils.d.ts +0 -3
- package/scripts/figma/sync-figma-to-tokens/write-tokens-to-css-var.d.ts +0 -8
- package/src/base/card-element.d.ts +0 -8
- /package/{src/base → base}/button-element.d.ts +0 -0
- /package/{src/base → base}/dropdown-list-element.d.ts +0 -0
- /package/{src/base → base}/form-control-element.d.ts +0 -0
- /package/{src/base → base}/link-element.d.ts +0 -0
- /package/{src/base → base}/select-element.d.ts +0 -0
- /package/{src/base → base}/sgds-element.d.ts +0 -0
- /package/{src/components → components}/Accordion/index.d.ts +0 -0
- /package/{src/components → components}/Accordion/sgds-accordion-item.d.ts +0 -0
- /package/{src/components → components}/Accordion/sgds-accordion.d.ts +0 -0
- /package/{src/components → components}/Alert/index.d.ts +0 -0
- /package/{src/components → components}/Alert/sgds-alert-link.d.ts +0 -0
- /package/{src/components → components}/Alert/sgds-alert.d.ts +0 -0
- /package/{src/components → components}/Badge/index.d.ts +0 -0
- /package/{src/components → components}/Badge/sgds-badge.d.ts +0 -0
- /package/{src/components → components}/Breadcrumb/index.d.ts +0 -0
- /package/{src/components → components}/Breadcrumb/sgds-breadcrumb-item.d.ts +0 -0
- /package/{src/components → components}/Button/index.d.ts +0 -0
- /package/{src/components → components}/Button/sgds-button.d.ts +0 -0
- /package/{src/components → components}/Card/index.d.ts +0 -0
- /package/{src/components → components}/Checkbox/index.d.ts +0 -0
- /package/{src/components → components}/Checkbox/sgds-checkbox-group.d.ts +0 -0
- /package/{src/components → components}/Checkbox/sgds-checkbox.d.ts +0 -0
- /package/{src/components → components}/ComboBox/combo-box-item.d.ts +0 -0
- /package/{src/components → components}/ComboBox/index.d.ts +0 -0
- /package/{src/components → components}/ComboBox/sgds-combo-box.d.ts +0 -0
- /package/{src/components → components}/Datepicker/datepicker-calendar.d.ts +0 -0
- /package/{src/components → components}/Datepicker/datepicker-header.d.ts +0 -0
- /package/{src/components → components}/Datepicker/datepicker-input.d.ts +0 -0
- /package/{src/components → components}/Datepicker/index.d.ts +0 -0
- /package/{src/components → components}/Datepicker/types.d.ts +0 -0
- /package/{src/components → components}/DescriptionList/index.d.ts +0 -0
- /package/{src/components → components}/DescriptionList/sgds-description-list-group.d.ts +0 -0
- /package/{src/components → components}/DescriptionList/sgds-description-list.d.ts +0 -0
- /package/{src/components → components}/Divider/index.d.ts +0 -0
- /package/{src/components → components}/Divider/sgds-divider.d.ts +0 -0
- /package/{src/components → components}/Drawer/index.d.ts +0 -0
- /package/{src/components → components}/Drawer/sgds-drawer.d.ts +0 -0
- /package/{src/components → components}/Dropdown/index.d.ts +0 -0
- /package/{src/components → components}/Dropdown/sgds-dropdown-item.d.ts +0 -0
- /package/{src/components → components}/Dropdown/sgds-dropdown.d.ts +0 -0
- /package/{src/components → components}/FileUpload/index.d.ts +0 -0
- /package/{src/components → components}/FileUpload/sgds-file-upload.d.ts +0 -0
- /package/{src/components → components}/Footer/index.d.ts +0 -0
- /package/{src/components → components}/Footer/sgds-footer-item.d.ts +0 -0
- /package/{src/components → components}/Footer/sgds-footer.d.ts +0 -0
- /package/{src/components → components}/Icon/icon-registry.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/archive.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/arrow-bar-down.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/arrow-bar-left.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/arrow-bar-right.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/arrow-bar-up.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/arrow-circle-down.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/arrow-circle-left.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/arrow-circle-right.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/arrow-circle-up.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/arrow-clockwise.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/arrow-down.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/arrow-left.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/arrow-repeat.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/arrow-right.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/arrow-square-down.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/arrow-square-left.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/arrow-square-right.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/arrow-square-up.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/arrow-up.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/bank-fill.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/bell-slash.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/bell.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/bi-funnel.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/bookmark-fill.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/bookmark.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/box-arrow-up-right.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/box-seam.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/building.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/bus.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/calculator.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/calendar-check.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/calendar-x.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/calendar.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/camera.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/car.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/chat-dots.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/chat-left-text.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/chat.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/check-circle-fill.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/check-circle.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/check.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/chevron-down.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/chevron-left.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/chevron-right.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/chevron-selector-vertical.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/chevron-up.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/clock.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/cloud-check.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/cloud-download.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/cloud-upload.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/cloud.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/compass.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/cross.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/cursor-fill.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/cursor.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/dash-circle.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/dash-square.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/dash.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/download.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/edit.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/exclamation-circle-fill.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/exclamation-circle.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/exclamation-triangle-fill.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/exclamation-triangle.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/exclamation.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/eye-fill.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/eye-slash-fill.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/eye-slash.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/eye.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/facebook.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/file-earmark-text.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/file-pdf.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/file-plus.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/file-text.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/file.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/files.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/folder-check.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/folder-minus.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/folder-plus.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/folder.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/gear.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/geo-alt.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/geo-fill.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/geo.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/globe-alt.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/globe.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/google.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/grid-fill.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/hand-thumbs-down.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/hand-thumbs-up.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/hard-drive.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/heart.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/house-door.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/house.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/image.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/in-box.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/info-circle-fill.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/info-circle.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/instagram.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/laptop.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/layers.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/layout-text-window-reverse.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/layout-text-window.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/layout.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/lightbulb.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/link.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/linkedin.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/list.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/lock-fill.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/lock.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/login.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/logout.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/luggage.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/mail.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/map.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/menu.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/microphone.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/monitor.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/paperclip.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/passport.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/pencil.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/pending-circle.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/person-dash.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/person-plus.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/person-x.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/person.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/phone.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/pin-map-fill.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/pin.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/placeholder.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/plane.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/plus-circle.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/plus-square.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/plus.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/printer.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/question-circle.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/rocket.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/save.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/search.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/send.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/sg-crest.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/share.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/slash-circle.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/sliders.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/speedometer.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/star-fill.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/star.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/stoplights.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/switch-horizontal.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/switch-vertical.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/tablet.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/telephone.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/three-dots-vertical.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/three-dots.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/ticket.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/toggle-off.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/toggle-on.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/train.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/translate.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/trash.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/truck.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/twitter-x.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/unlock.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/upload.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/user-circle.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/user-square.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/users.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/video-recorder.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/volume-max.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/volume-x.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/window-dash.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/window-desktop.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/window-dock.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/window-fullscreen.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/window-plus.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/window-sidebar.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/window-split.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/window-stack.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/window-x.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/window.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/xcircle-fill.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/xcircle.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/youtube.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/zoom-in.d.ts +0 -0
- /package/{src/components → components}/Icon/icons/zoom-out.d.ts +0 -0
- /package/{src/components → components}/Icon/index.d.ts +0 -0
- /package/{src/components → components}/Icon/sgds-icon.d.ts +0 -0
- /package/{src/components → components}/IconButton/index.d.ts +0 -0
- /package/{src/components → components}/IconButton/sgds-icon-button.d.ts +0 -0
- /package/{src/components → components}/IconList/index.d.ts +0 -0
- /package/{src/components → components}/IconList/sgds-icon-list.d.ts +0 -0
- /package/{src/components → components}/Input/index.d.ts +0 -0
- /package/{src/components → components}/Input/sgds-input.d.ts +0 -0
- /package/{src/components → components}/Link/index.d.ts +0 -0
- /package/{src/components → components}/Link/sgds-link.d.ts +0 -0
- /package/{src/components → components}/Mainnav/index.d.ts +0 -0
- /package/{src/components → components}/Mainnav/mainnav-context.d.ts +0 -0
- /package/{src/components → components}/Mainnav/sgds-mainnav-dropdown.d.ts +0 -0
- /package/{src/components → components}/Mainnav/sgds-mainnav-item.d.ts +0 -0
- /package/{src/components → components}/Mainnav/sgds-mainnav.d.ts +0 -0
- /package/{src/components → components}/Masthead/index.d.ts +0 -0
- /package/{src/components → components}/Masthead/sgds-masthead.d.ts +0 -0
- /package/{src/components → components}/Modal/index.d.ts +0 -0
- /package/{src/components → components}/Modal/sgds-modal.d.ts +0 -0
- /package/{src/internals → components}/OverflowMenu/index.d.ts +0 -0
- /package/{internals → components}/OverflowMenu/overflow-menu.js +0 -0
- /package/{internals → components}/OverflowMenu/overflow-menu.js.map +0 -0
- /package/{src/components → components}/Pagination/index.d.ts +0 -0
- /package/{src/components → components}/Pagination/sgds-pagination.d.ts +0 -0
- /package/{src/components → components}/ProgressBar/index.d.ts +0 -0
- /package/{src/components → components}/ProgressBar/sgds-progress-bar.d.ts +0 -0
- /package/{src/components → components}/QuantityToggle/index.d.ts +0 -0
- /package/{src/components → components}/QuantityToggle/sgds-quantity-toggle.d.ts +0 -0
- /package/{src/components → components}/Radio/index.d.ts +0 -0
- /package/{src/components → components}/Radio/sgds-radio-group.d.ts +0 -0
- /package/{src/components → components}/Radio/sgds-radio.d.ts +0 -0
- /package/{src/components → components}/Select/index.d.ts +0 -0
- /package/{src/components → components}/Select/select-item.d.ts +0 -0
- /package/{src/components → components}/Select/sgds-select.d.ts +0 -0
- /package/{src/components → components}/Sidenav/index.d.ts +0 -0
- /package/{src/components → components}/Sidenav/sgds-sidenav-item.d.ts +0 -0
- /package/{src/components → components}/Sidenav/sgds-sidenav-link.d.ts +0 -0
- /package/{src/components → components}/Sidenav/sgds-sidenav.d.ts +0 -0
- /package/{src/components → components}/Skeleton/index.d.ts +0 -0
- /package/{src/components → components}/Skeleton/sgds-skeleton.d.ts +0 -0
- /package/{src/components → components}/Spinner/index.d.ts +0 -0
- /package/{src/components → components}/Spinner/sgds-spinner.d.ts +0 -0
- /package/{src/components → components}/Stepper/index.d.ts +0 -0
- /package/{src/components → components}/Stepper/sgds-stepper.d.ts +0 -0
- /package/{src/components → components}/Subnav/index.d.ts +0 -0
- /package/{src/components → components}/Subnav/sgds-subnav-item.d.ts +0 -0
- /package/{src/components → components}/Subnav/sgds-subnav.d.ts +0 -0
- /package/{src/components → components}/Switch/index.d.ts +0 -0
- /package/{src/components → components}/Switch/sgds-switch.d.ts +0 -0
- /package/{src/components → components}/Tab/index.d.ts +0 -0
- /package/{src/components → components}/Tab/sgds-tab-group.d.ts +0 -0
- /package/{src/components → components}/Tab/sgds-tab-panel.d.ts +0 -0
- /package/{src/components → components}/Tab/sgds-tab.d.ts +0 -0
- /package/{src/components → components}/Table/index.d.ts +0 -0
- /package/{src/components → components}/Table/sgds-table-cell.d.ts +0 -0
- /package/{src/components → components}/Table/sgds-table-head.d.ts +0 -0
- /package/{src/components → components}/Table/sgds-table-row.d.ts +0 -0
- /package/{src/components → components}/Table/sgds-table.d.ts +0 -0
- /package/{src/components → components}/TableOfContents/index.d.ts +0 -0
- /package/{src/components → components}/TableOfContents/sgds-table-of-contents.d.ts +0 -0
- /package/{src/components → components}/Textarea/index.d.ts +0 -0
- /package/{src/components → components}/Textarea/sgds-textarea.d.ts +0 -0
- /package/{src/components → components}/Toast/index.d.ts +0 -0
- /package/{src/components → components}/Toast/sgds-toast-container.d.ts +0 -0
- /package/{src/components → components}/Toast/sgds-toast.d.ts +0 -0
- /package/{src/components → components}/Tooltip/index.d.ts +0 -0
- /package/{src/components → components}/Tooltip/sgds-tooltip.d.ts +0 -0
- /package/{src/internals → internals}/CloseButton/index.d.ts +0 -0
- /package/{src/internals → internals}/CloseButton/sgds-close-button.d.ts +0 -0
- /package/{src/react → react}/accordion/index.d.ts +0 -0
- /package/{src/react → react}/accordion-item/index.d.ts +0 -0
- /package/{src/react → react}/alert/index.d.ts +0 -0
- /package/{src/react → react}/alert-link/index.d.ts +0 -0
- /package/{src/react → react}/badge/index.d.ts +0 -0
- /package/{src/react → react}/breadcrumb/index.d.ts +0 -0
- /package/{src/react → react}/breadcrumb-item/index.d.ts +0 -0
- /package/{src/react → react}/button/index.d.ts +0 -0
- /package/{src/react → react}/card/index.d.ts +0 -0
- /package/{src/react → react}/checkbox/index.d.ts +0 -0
- /package/{src/react → react}/checkbox-group/index.d.ts +0 -0
- /package/{src/react → react}/combo-box/index.d.ts +0 -0
- /package/react/{internals → components}/OverflowMenu/overflow-menu.cjs.js +0 -0
- /package/react/{internals → components}/OverflowMenu/overflow-menu.cjs.js.map +0 -0
- /package/react/{internals → components}/OverflowMenu/overflow-menu.js +0 -0
- /package/react/{internals → components}/OverflowMenu/overflow-menu.js.map +0 -0
- /package/{src/react → react}/datepicker/index.d.ts +0 -0
- /package/{src/react → react}/description-list/index.d.ts +0 -0
- /package/{src/react → react}/description-list-group/index.d.ts +0 -0
- /package/{src/react → react}/divider/index.d.ts +0 -0
- /package/{src/react → react}/drawer/index.d.ts +0 -0
- /package/{src/react → react}/dropdown/index.d.ts +0 -0
- /package/{src/react → react}/dropdown-item/index.d.ts +0 -0
- /package/{src/react → react}/file-upload/index.d.ts +0 -0
- /package/{src/react → react}/footer/index.d.ts +0 -0
- /package/{src/react → react}/footer-item/index.d.ts +0 -0
- /package/{src/react/input → react/icon}/index.d.ts +0 -0
- /package/{src/react → react}/icon-button/index.d.ts +0 -0
- /package/{src/react/icon-list → react/icon-card}/index.d.ts +0 -0
- /package/{src/react/icon → react/icon-list}/index.d.ts +0 -0
- /package/{src/react/link → react/image-card}/index.d.ts +0 -0
- /package/{src/react/mainnav-dropdown → react/input}/index.d.ts +0 -0
- /package/{src/react/mainnav-item → react/link}/index.d.ts +0 -0
- /package/{src/react/modal → react/mainnav}/index.d.ts +0 -0
- /package/{src/react/mainnav → react/mainnav-dropdown}/index.d.ts +0 -0
- /package/{src/react/masthead → react/mainnav-item}/index.d.ts +0 -0
- /package/{src/react/pagination → react/masthead}/index.d.ts +0 -0
- /package/{src/react/progress-bar → react/modal}/index.d.ts +0 -0
- /package/{src/react/quantity-toggle → react/overflow-menu}/index.d.ts +0 -0
- /package/{src/react/radio-group → react/pagination}/index.d.ts +0 -0
- /package/{src/react/radio → react/progress-bar}/index.d.ts +0 -0
- /package/{src/react/select → react/quantity-toggle}/index.d.ts +0 -0
- /package/{src/react/sidenav-link → react/radio}/index.d.ts +0 -0
- /package/{src/react/sidenav-item → react/radio-group}/index.d.ts +0 -0
- /package/{src/react/sidenav → react/select}/index.d.ts +0 -0
- /package/{src/react/stepper → react/sidenav}/index.d.ts +0 -0
- /package/{src/react/skeleton → react/sidenav-item}/index.d.ts +0 -0
- /package/{src/react/spinner → react/sidenav-link}/index.d.ts +0 -0
- /package/{src/react/subnav-item → react/skeleton}/index.d.ts +0 -0
- /package/{src/react/subnav → react/spinner}/index.d.ts +0 -0
- /package/{src/react/switch → react/stepper}/index.d.ts +0 -0
- /package/{src/react/tab-panel → react/subnav}/index.d.ts +0 -0
- /package/{src/react/tab-group → react/subnav-item}/index.d.ts +0 -0
- /package/{src/react/tab → react/switch}/index.d.ts +0 -0
- /package/{src/react/table-of-contents → react/tab}/index.d.ts +0 -0
- /package/{src/react/table-cell → react/tab-group}/index.d.ts +0 -0
- /package/{src/react/table-head → react/tab-panel}/index.d.ts +0 -0
- /package/{src/react/toast → react/table}/index.d.ts +0 -0
- /package/{src/react/table-row → react/table-cell}/index.d.ts +0 -0
- /package/{src/react/table → react/table-head}/index.d.ts +0 -0
- /package/{src/react/textarea → react/table-of-contents}/index.d.ts +0 -0
- /package/{src/react/toast-container → react/table-row}/index.d.ts +0 -0
- /package/{src/react/tooltip → react/textarea}/index.d.ts +0 -0
- /package/{src/utils → utils}/animate.d.ts +0 -0
- /package/{src/utils → utils}/animation-registry.d.ts +0 -0
- /package/{src/utils → utils}/breakpoints.d.ts +0 -0
- /package/{src/utils → utils}/ce-registry.d.ts +0 -0
- /package/{src/utils → utils}/defaultvalue.d.ts +0 -0
- /package/{src/utils → utils}/event.d.ts +0 -0
- /package/{src/utils → utils}/formSubmitController.d.ts +0 -0
- /package/{src/utils → utils}/generateCustomElementName.d.ts +0 -0
- /package/{src/utils → utils}/generateId.d.ts +0 -0
- /package/{src/utils → utils}/inputValidationController.d.ts +0 -0
- /package/{src/utils → utils}/mergeDeep.d.ts +0 -0
- /package/{src/utils → utils}/modal.d.ts +0 -0
- /package/{src/utils → utils}/object.d.ts +0 -0
- /package/{src/utils → utils}/offset.d.ts +0 -0
- /package/{src/utils → utils}/scroll.d.ts +0 -0
- /package/{src/utils → utils}/slot.d.ts +0 -0
- /package/{src/utils → utils}/tabbable.d.ts +0 -0
- /package/{src/utils → utils}/test.d.ts +0 -0
- /package/{src/utils → utils}/time.d.ts +0 -0
- /package/{src/utils → utils}/validatorMixin.d.ts +0 -0
- /package/{src/utils → utils}/watch.d.ts +0 -0
package/react/index.cjs.js
CHANGED
|
@@ -27,41 +27,45 @@ var index$k = require('./footer-item/index.cjs.js');
|
|
|
27
27
|
var index$l = require('./footer/index.cjs.js');
|
|
28
28
|
var index$m = require('./icon/index.cjs.js');
|
|
29
29
|
var index$n = require('./icon-button/index.cjs.js');
|
|
30
|
-
var index$o = require('./icon-
|
|
31
|
-
var index$p = require('./
|
|
32
|
-
var index$q = require('./
|
|
33
|
-
var index$r = require('./
|
|
34
|
-
var index$s = require('./
|
|
35
|
-
var index$t = require('./mainnav/index.cjs.js');
|
|
36
|
-
var index$u = require('./
|
|
37
|
-
var index$v = require('./
|
|
38
|
-
var index$w = require('./
|
|
39
|
-
var index$x = require('./
|
|
40
|
-
var index$y = require('./
|
|
41
|
-
var index$z = require('./
|
|
42
|
-
var index$A = require('./
|
|
43
|
-
var index$B = require('./
|
|
44
|
-
var index$C = require('./
|
|
45
|
-
var index$D = require('./
|
|
46
|
-
var index$E = require('./
|
|
47
|
-
var index$F = require('./
|
|
48
|
-
var index$G = require('./
|
|
49
|
-
var index$H = require('./
|
|
50
|
-
var index$I = require('./
|
|
51
|
-
var index$J = require('./
|
|
52
|
-
var index$K = require('./
|
|
53
|
-
var index$L = require('./
|
|
54
|
-
var index$M = require('./
|
|
55
|
-
var index$N = require('./
|
|
56
|
-
var index$O = require('./
|
|
57
|
-
var index$P = require('./
|
|
58
|
-
var index$Q = require('./
|
|
59
|
-
var index$R = require('./table/index.cjs.js');
|
|
60
|
-
var index$S = require('./table-
|
|
61
|
-
var index$T = require('./
|
|
62
|
-
var index$U = require('./
|
|
63
|
-
var index$V = require('./
|
|
64
|
-
var index$W = require('./
|
|
30
|
+
var index$o = require('./icon-card/index.cjs.js');
|
|
31
|
+
var index$p = require('./icon-list/index.cjs.js');
|
|
32
|
+
var index$q = require('./image-card/index.cjs.js');
|
|
33
|
+
var index$r = require('./input/index.cjs.js');
|
|
34
|
+
var index$s = require('./link/index.cjs.js');
|
|
35
|
+
var index$t = require('./mainnav-dropdown/index.cjs.js');
|
|
36
|
+
var index$u = require('./mainnav-item/index.cjs.js');
|
|
37
|
+
var index$v = require('./mainnav/index.cjs.js');
|
|
38
|
+
var index$w = require('./masthead/index.cjs.js');
|
|
39
|
+
var index$x = require('./modal/index.cjs.js');
|
|
40
|
+
var index$y = require('./overflow-menu/index.cjs.js');
|
|
41
|
+
var index$z = require('./pagination/index.cjs.js');
|
|
42
|
+
var index$A = require('./progress-bar/index.cjs.js');
|
|
43
|
+
var index$B = require('./quantity-toggle/index.cjs.js');
|
|
44
|
+
var index$C = require('./radio-group/index.cjs.js');
|
|
45
|
+
var index$D = require('./radio/index.cjs.js');
|
|
46
|
+
var index$E = require('./select/index.cjs.js');
|
|
47
|
+
var index$F = require('./sidenav-item/index.cjs.js');
|
|
48
|
+
var index$G = require('./sidenav-link/index.cjs.js');
|
|
49
|
+
var index$H = require('./sidenav/index.cjs.js');
|
|
50
|
+
var index$I = require('./skeleton/index.cjs.js');
|
|
51
|
+
var index$J = require('./spinner/index.cjs.js');
|
|
52
|
+
var index$K = require('./stepper/index.cjs.js');
|
|
53
|
+
var index$L = require('./subnav-item/index.cjs.js');
|
|
54
|
+
var index$M = require('./subnav/index.cjs.js');
|
|
55
|
+
var index$N = require('./switch/index.cjs.js');
|
|
56
|
+
var index$O = require('./tab-group/index.cjs.js');
|
|
57
|
+
var index$P = require('./tab-panel/index.cjs.js');
|
|
58
|
+
var index$Q = require('./tab/index.cjs.js');
|
|
59
|
+
var index$R = require('./table-cell/index.cjs.js');
|
|
60
|
+
var index$S = require('./table-head/index.cjs.js');
|
|
61
|
+
var index$T = require('./table-row/index.cjs.js');
|
|
62
|
+
var index$U = require('./table/index.cjs.js');
|
|
63
|
+
var index$V = require('./table-of-contents/index.cjs.js');
|
|
64
|
+
var index$W = require('./textarea/index.cjs.js');
|
|
65
|
+
var index$X = require('./thumbnail-card/index.cjs.js');
|
|
66
|
+
var index$Y = require('./toast-container/index.cjs.js');
|
|
67
|
+
var index$Z = require('./toast/index.cjs.js');
|
|
68
|
+
var index$_ = require('./tooltip/index.cjs.js');
|
|
65
69
|
|
|
66
70
|
|
|
67
71
|
|
|
@@ -89,39 +93,43 @@ exports.SgdsFooterItem = index$k["default"];
|
|
|
89
93
|
exports.SgdsFooter = index$l["default"];
|
|
90
94
|
exports.SgdsIcon = index$m["default"];
|
|
91
95
|
exports.SgdsIconButton = index$n["default"];
|
|
92
|
-
exports.
|
|
93
|
-
exports.
|
|
94
|
-
exports.
|
|
95
|
-
exports.
|
|
96
|
-
exports.
|
|
97
|
-
exports.
|
|
98
|
-
exports.
|
|
99
|
-
exports.
|
|
100
|
-
exports.
|
|
101
|
-
exports.
|
|
102
|
-
exports.
|
|
103
|
-
exports.
|
|
104
|
-
exports.
|
|
105
|
-
exports.
|
|
106
|
-
exports.
|
|
107
|
-
exports.
|
|
108
|
-
exports.
|
|
109
|
-
exports.
|
|
110
|
-
exports.
|
|
111
|
-
exports.
|
|
112
|
-
exports.
|
|
113
|
-
exports.
|
|
114
|
-
exports.
|
|
115
|
-
exports.
|
|
116
|
-
exports.
|
|
117
|
-
exports.
|
|
118
|
-
exports.
|
|
119
|
-
exports.
|
|
120
|
-
exports.
|
|
121
|
-
exports.
|
|
122
|
-
exports.
|
|
123
|
-
exports.
|
|
124
|
-
exports.
|
|
125
|
-
exports.
|
|
126
|
-
exports.
|
|
96
|
+
exports.SgdsIconCard = index$o["default"];
|
|
97
|
+
exports.SgdsIconList = index$p["default"];
|
|
98
|
+
exports.SgdsImageCard = index$q["default"];
|
|
99
|
+
exports.SgdsInput = index$r["default"];
|
|
100
|
+
exports.SgdsLink = index$s["default"];
|
|
101
|
+
exports.SgdsMainnavDropdown = index$t["default"];
|
|
102
|
+
exports.SgdsMainnavItem = index$u["default"];
|
|
103
|
+
exports.SgdsMainnav = index$v["default"];
|
|
104
|
+
exports.SgdsMasthead = index$w["default"];
|
|
105
|
+
exports.SgdsModal = index$x["default"];
|
|
106
|
+
exports.SgdsOverflowMenu = index$y["default"];
|
|
107
|
+
exports.SgdsPagination = index$z["default"];
|
|
108
|
+
exports.SgdsProgressBar = index$A["default"];
|
|
109
|
+
exports.SgdsQuantityToggle = index$B["default"];
|
|
110
|
+
exports.SgdsRadioGroup = index$C["default"];
|
|
111
|
+
exports.SgdsRadio = index$D["default"];
|
|
112
|
+
exports.SgdsSelect = index$E["default"];
|
|
113
|
+
exports.SgdsSidenavItem = index$F["default"];
|
|
114
|
+
exports.SgdsSidenavLink = index$G["default"];
|
|
115
|
+
exports.SgdsSidenav = index$H["default"];
|
|
116
|
+
exports.SgdsSkeleton = index$I["default"];
|
|
117
|
+
exports.SgdsSpinner = index$J["default"];
|
|
118
|
+
exports.SgdsStepper = index$K["default"];
|
|
119
|
+
exports.SgdsSubnavItem = index$L["default"];
|
|
120
|
+
exports.SgdsSubnav = index$M["default"];
|
|
121
|
+
exports.SgdsSwitch = index$N["default"];
|
|
122
|
+
exports.SgdsTabGroup = index$O["default"];
|
|
123
|
+
exports.SgdsTabPanel = index$P["default"];
|
|
124
|
+
exports.SgdsTab = index$Q["default"];
|
|
125
|
+
exports.SgdsTableCell = index$R["default"];
|
|
126
|
+
exports.SgdsTableHead = index$S["default"];
|
|
127
|
+
exports.SgdsTableRow = index$T["default"];
|
|
128
|
+
exports.SgdsTable = index$U["default"];
|
|
129
|
+
exports.SgdsTableOfContents = index$V["default"];
|
|
130
|
+
exports.SgdsTextarea = index$W["default"];
|
|
131
|
+
exports.SgdsThumbnailCard = index$X["default"];
|
|
132
|
+
exports.SgdsToastContainer = index$Y["default"];
|
|
133
|
+
exports.SgdsToast = index$Z["default"];
|
|
134
|
+
exports.SgdsTooltip = index$_["default"];
|
|
127
135
|
//# sourceMappingURL=index.cjs.js.map
|
package/react/index.cjs.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.cjs.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -22,7 +22,9 @@ export { default as SgdsFooterItem } from './footer-item';
|
|
|
22
22
|
export { default as SgdsFooter } from './footer';
|
|
23
23
|
export { default as SgdsIcon } from './icon';
|
|
24
24
|
export { default as SgdsIconButton } from './icon-button';
|
|
25
|
+
export { default as SgdsIconCard } from './icon-card';
|
|
25
26
|
export { default as SgdsIconList } from './icon-list';
|
|
27
|
+
export { default as SgdsImageCard } from './image-card';
|
|
26
28
|
export { default as SgdsInput } from './input';
|
|
27
29
|
export { default as SgdsLink } from './link';
|
|
28
30
|
export { default as SgdsMainnavDropdown } from './mainnav-dropdown';
|
|
@@ -30,6 +32,7 @@ export { default as SgdsMainnavItem } from './mainnav-item';
|
|
|
30
32
|
export { default as SgdsMainnav } from './mainnav';
|
|
31
33
|
export { default as SgdsMasthead } from './masthead';
|
|
32
34
|
export { default as SgdsModal } from './modal';
|
|
35
|
+
export { default as SgdsOverflowMenu } from './overflow-menu';
|
|
33
36
|
export { default as SgdsPagination } from './pagination';
|
|
34
37
|
export { default as SgdsProgressBar } from './progress-bar';
|
|
35
38
|
export { default as SgdsQuantityToggle } from './quantity-toggle';
|
|
@@ -54,6 +57,7 @@ export { default as SgdsTableRow } from './table-row';
|
|
|
54
57
|
export { default as SgdsTable } from './table';
|
|
55
58
|
export { default as SgdsTableOfContents } from './table-of-contents';
|
|
56
59
|
export { default as SgdsTextarea } from './textarea';
|
|
60
|
+
export { default as SgdsThumbnailCard } from './thumbnail-card';
|
|
57
61
|
export { default as SgdsToastContainer } from './toast-container';
|
|
58
62
|
export { default as SgdsToast } from './toast';
|
|
59
63
|
export { default as SgdsTooltip } from './tooltip';
|
package/react/index.js
CHANGED
|
@@ -23,7 +23,9 @@ export { default as SgdsFooterItem } from './footer-item/index.js';
|
|
|
23
23
|
export { default as SgdsFooter } from './footer/index.js';
|
|
24
24
|
export { default as SgdsIcon } from './icon/index.js';
|
|
25
25
|
export { default as SgdsIconButton } from './icon-button/index.js';
|
|
26
|
+
export { default as SgdsIconCard } from './icon-card/index.js';
|
|
26
27
|
export { default as SgdsIconList } from './icon-list/index.js';
|
|
28
|
+
export { default as SgdsImageCard } from './image-card/index.js';
|
|
27
29
|
export { default as SgdsInput } from './input/index.js';
|
|
28
30
|
export { default as SgdsLink } from './link/index.js';
|
|
29
31
|
export { default as SgdsMainnavDropdown } from './mainnav-dropdown/index.js';
|
|
@@ -31,6 +33,7 @@ export { default as SgdsMainnavItem } from './mainnav-item/index.js';
|
|
|
31
33
|
export { default as SgdsMainnav } from './mainnav/index.js';
|
|
32
34
|
export { default as SgdsMasthead } from './masthead/index.js';
|
|
33
35
|
export { default as SgdsModal } from './modal/index.js';
|
|
36
|
+
export { default as SgdsOverflowMenu } from './overflow-menu/index.js';
|
|
34
37
|
export { default as SgdsPagination } from './pagination/index.js';
|
|
35
38
|
export { default as SgdsProgressBar } from './progress-bar/index.js';
|
|
36
39
|
export { default as SgdsQuantityToggle } from './quantity-toggle/index.js';
|
|
@@ -55,6 +58,7 @@ export { default as SgdsTableRow } from './table-row/index.js';
|
|
|
55
58
|
export { default as SgdsTable } from './table/index.js';
|
|
56
59
|
export { default as SgdsTableOfContents } from './table-of-contents/index.js';
|
|
57
60
|
export { default as SgdsTextarea } from './textarea/index.js';
|
|
61
|
+
export { default as SgdsThumbnailCard } from './thumbnail-card/index.js';
|
|
58
62
|
export { default as SgdsToastContainer } from './toast-container/index.js';
|
|
59
63
|
export { default as SgdsToast } from './toast/index.js';
|
|
60
64
|
export { default as SgdsTooltip } from './tooltip/index.js';
|
package/react/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
'use strict';
|
|
3
|
+
|
|
4
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
5
|
+
|
|
6
|
+
var React = require('react');
|
|
7
|
+
var react = require('@lit/react');
|
|
8
|
+
var sgdsOverflowMenu = require('../components/OverflowMenu/sgds-overflow-menu.cjs.js');
|
|
9
|
+
var ceRegistry = require('../utils/ce-registry.cjs.js');
|
|
10
|
+
|
|
11
|
+
function _interopNamespace(e) {
|
|
12
|
+
if (e && e.__esModule) return e;
|
|
13
|
+
var n = Object.create(null);
|
|
14
|
+
if (e) {
|
|
15
|
+
Object.keys(e).forEach(function (k) {
|
|
16
|
+
if (k !== 'default') {
|
|
17
|
+
var d = Object.getOwnPropertyDescriptor(e, k);
|
|
18
|
+
Object.defineProperty(n, k, d.get ? d : {
|
|
19
|
+
enumerable: true,
|
|
20
|
+
get: function () { return e[k]; }
|
|
21
|
+
});
|
|
22
|
+
}
|
|
23
|
+
});
|
|
24
|
+
}
|
|
25
|
+
n["default"] = e;
|
|
26
|
+
return Object.freeze(n);
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
var React__namespace = /*#__PURE__*/_interopNamespace(React);
|
|
30
|
+
|
|
31
|
+
ceRegistry.register("sgds-overflow-menu", sgdsOverflowMenu.SgdsOverflowMenu);
|
|
32
|
+
var index = react.createComponent({
|
|
33
|
+
react: React__namespace,
|
|
34
|
+
tagName: "sgds-overflow-menu",
|
|
35
|
+
elementClass: sgdsOverflowMenu.SgdsOverflowMenu,
|
|
36
|
+
events: {}
|
|
37
|
+
});
|
|
38
|
+
|
|
39
|
+
exports["default"] = index;
|
|
40
|
+
//# sourceMappingURL=index.cjs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.cjs.js","sources":["../../../src/react/overflow-menu/index.ts"],"sourcesContent":["import * as React from \"react\";\nimport { createComponent } from \"@lit/react\";\nimport Component from \"../../components/OverflowMenu/sgds-overflow-menu\";\nimport { register } from \"../../utils/ce-registry\";\n\nregister(\"sgds-overflow-menu\", Component);\n\nexport default createComponent({\n react: React,\n tagName: \"sgds-overflow-menu\",\n elementClass: Component,\n events: {}\n});\n"],"names":["register","Component","createComponent","React"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAKAA,mBAAQ,CAAC,oBAAoB,EAAEC,iCAAS,CAAC,CAAC;AAE1C,YAAeC,qBAAe,CAAC;AAC7B,IAAA,KAAK,EAAEC,gBAAK;AACZ,IAAA,OAAO,EAAE,oBAAoB;AAC7B,IAAA,YAAY,EAAEF,iCAAS;AACvB,IAAA,MAAM,EAAE,EAAE;AACX,CAAA,CAAC;;;;"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import { createComponent } from '@lit/react';
|
|
4
|
+
import { SgdsOverflowMenu } from '../components/OverflowMenu/sgds-overflow-menu.js';
|
|
5
|
+
import { register } from '../utils/ce-registry.js';
|
|
6
|
+
|
|
7
|
+
register("sgds-overflow-menu", SgdsOverflowMenu);
|
|
8
|
+
var index = createComponent({
|
|
9
|
+
react: React,
|
|
10
|
+
tagName: "sgds-overflow-menu",
|
|
11
|
+
elementClass: SgdsOverflowMenu,
|
|
12
|
+
events: {}
|
|
13
|
+
});
|
|
14
|
+
|
|
15
|
+
export { index as default };
|
|
16
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../src/react/overflow-menu/index.ts"],"sourcesContent":["import * as React from \"react\";\nimport { createComponent } from \"@lit/react\";\nimport Component from \"../../components/OverflowMenu/sgds-overflow-menu\";\nimport { register } from \"../../utils/ce-registry\";\n\nregister(\"sgds-overflow-menu\", Component);\n\nexport default createComponent({\n react: React,\n tagName: \"sgds-overflow-menu\",\n elementClass: Component,\n events: {}\n});\n"],"names":["Component"],"mappings":";;;;;;AAKA,QAAQ,CAAC,oBAAoB,EAAEA,gBAAS,CAAC,CAAC;AAE1C,YAAe,eAAe,CAAC;AAC7B,IAAA,KAAK,EAAE,KAAK;AACZ,IAAA,OAAO,EAAE,oBAAoB;AAC7B,IAAA,YAAY,EAAEA,gBAAS;AACvB,IAAA,MAAM,EAAE,EAAE;AACX,CAAA,CAAC;;;;"}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
'use strict';
|
|
3
|
+
|
|
4
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
5
|
+
|
|
6
|
+
var React = require('react');
|
|
7
|
+
var react = require('@lit/react');
|
|
8
|
+
var sgdsThumbnailCard = require('../components/ThumbnailCard/sgds-thumbnail-card.cjs.js');
|
|
9
|
+
var ceRegistry = require('../utils/ce-registry.cjs.js');
|
|
10
|
+
|
|
11
|
+
function _interopNamespace(e) {
|
|
12
|
+
if (e && e.__esModule) return e;
|
|
13
|
+
var n = Object.create(null);
|
|
14
|
+
if (e) {
|
|
15
|
+
Object.keys(e).forEach(function (k) {
|
|
16
|
+
if (k !== 'default') {
|
|
17
|
+
var d = Object.getOwnPropertyDescriptor(e, k);
|
|
18
|
+
Object.defineProperty(n, k, d.get ? d : {
|
|
19
|
+
enumerable: true,
|
|
20
|
+
get: function () { return e[k]; }
|
|
21
|
+
});
|
|
22
|
+
}
|
|
23
|
+
});
|
|
24
|
+
}
|
|
25
|
+
n["default"] = e;
|
|
26
|
+
return Object.freeze(n);
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
var React__namespace = /*#__PURE__*/_interopNamespace(React);
|
|
30
|
+
|
|
31
|
+
ceRegistry.register("sgds-thumbnail-card", sgdsThumbnailCard.SgdsThumbnailCard);
|
|
32
|
+
var index = react.createComponent({
|
|
33
|
+
react: React__namespace,
|
|
34
|
+
tagName: "sgds-thumbnail-card",
|
|
35
|
+
elementClass: sgdsThumbnailCard.SgdsThumbnailCard,
|
|
36
|
+
events: {}
|
|
37
|
+
});
|
|
38
|
+
|
|
39
|
+
exports["default"] = index;
|
|
40
|
+
//# sourceMappingURL=index.cjs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.cjs.js","sources":["../../../src/react/thumbnail-card/index.ts"],"sourcesContent":["import * as React from \"react\";\nimport { createComponent } from \"@lit/react\";\nimport Component from \"../../components/ThumbnailCard/sgds-thumbnail-card\";\nimport { register } from \"../../utils/ce-registry\";\n\nregister(\"sgds-thumbnail-card\", Component);\n\nexport default createComponent({\n react: React,\n tagName: \"sgds-thumbnail-card\",\n elementClass: Component,\n events: {}\n});\n"],"names":["register","Component","createComponent","React"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAKAA,mBAAQ,CAAC,qBAAqB,EAAEC,mCAAS,CAAC,CAAC;AAE3C,YAAeC,qBAAe,CAAC;AAC7B,IAAA,KAAK,EAAEC,gBAAK;AACZ,IAAA,OAAO,EAAE,qBAAqB;AAC9B,IAAA,YAAY,EAAEF,mCAAS;AACvB,IAAA,MAAM,EAAE,EAAE;AACX,CAAA,CAAC;;;;"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import { createComponent } from '@lit/react';
|
|
4
|
+
import { SgdsThumbnailCard } from '../components/ThumbnailCard/sgds-thumbnail-card.js';
|
|
5
|
+
import { register } from '../utils/ce-registry.js';
|
|
6
|
+
|
|
7
|
+
register("sgds-thumbnail-card", SgdsThumbnailCard);
|
|
8
|
+
var index = createComponent({
|
|
9
|
+
react: React,
|
|
10
|
+
tagName: "sgds-thumbnail-card",
|
|
11
|
+
elementClass: SgdsThumbnailCard,
|
|
12
|
+
events: {}
|
|
13
|
+
});
|
|
14
|
+
|
|
15
|
+
export { index as default };
|
|
16
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../src/react/thumbnail-card/index.ts"],"sourcesContent":["import * as React from \"react\";\nimport { createComponent } from \"@lit/react\";\nimport Component from \"../../components/ThumbnailCard/sgds-thumbnail-card\";\nimport { register } from \"../../utils/ce-registry\";\n\nregister(\"sgds-thumbnail-card\", Component);\n\nexport default createComponent({\n react: React,\n tagName: \"sgds-thumbnail-card\",\n elementClass: Component,\n events: {}\n});\n"],"names":["Component"],"mappings":";;;;;;AAKA,QAAQ,CAAC,qBAAqB,EAAEA,iBAAS,CAAC,CAAC;AAE3C,YAAe,eAAe,CAAC;AAC7B,IAAA,KAAK,EAAE,KAAK;AACZ,IAAA,OAAO,EAAE,qBAAqB;AAC9B,IAAA,YAAY,EAAEA,iBAAS;AACvB,IAAA,MAAM,EAAE,EAAE;AACX,CAAA,CAAC;;;;"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
'use strict';
|
|
3
|
+
|
|
4
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
5
|
+
|
|
6
|
+
const referenceTargetWidth = {
|
|
7
|
+
name: "sameWidthAsTarget",
|
|
8
|
+
enabled: true,
|
|
9
|
+
phase: "beforeWrite",
|
|
10
|
+
requires: ["computeStyles"],
|
|
11
|
+
fn: ({ state }) => {
|
|
12
|
+
state.styles.popper.width = `${state.rects.reference.width}px`;
|
|
13
|
+
},
|
|
14
|
+
effect: ({ state }) => {
|
|
15
|
+
state.elements.popper.style.width = `${state.elements.reference.offsetWidth}px`;
|
|
16
|
+
}
|
|
17
|
+
};
|
|
18
|
+
|
|
19
|
+
exports.referenceTargetWidth = referenceTargetWidth;
|
|
20
|
+
//# sourceMappingURL=popper.cjs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"popper.cjs.js","sources":["../../../src/utils/popper.ts"],"sourcesContent":["/**\n * Popper modifiers\n */\nimport { Modifier } from \"@popperjs/core\";\n\nexport const referenceTargetWidth: Modifier<\"sameWidthAsTarget\", object> = {\n name: \"sameWidthAsTarget\",\n enabled: true,\n phase: \"beforeWrite\",\n requires: [\"computeStyles\"],\n fn: ({ state }) => {\n state.styles.popper.width = `${state.rects.reference.width}px`;\n },\n effect: ({ state }) => {\n state.elements.popper.style.width = `${(state.elements.reference as HTMLElement).offsetWidth}px`;\n }\n};\n"],"names":[],"mappings":";;;;;AAKa,MAAA,oBAAoB,GAA0C;AACzE,IAAA,IAAI,EAAE,mBAAmB;AACzB,IAAA,OAAO,EAAE,IAAI;AACb,IAAA,KAAK,EAAE,aAAa;IACpB,QAAQ,EAAE,CAAC,eAAe,CAAC;AAC3B,IAAA,EAAE,EAAE,CAAC,EAAE,KAAK,EAAE,KAAI;AAChB,QAAA,KAAK,CAAC,MAAM,CAAC,MAAM,CAAC,KAAK,GAAG,CAAA,EAAG,KAAK,CAAC,KAAK,CAAC,SAAS,CAAC,KAAK,IAAI,CAAC;KAChE;AACD,IAAA,MAAM,EAAE,CAAC,EAAE,KAAK,EAAE,KAAI;AACpB,QAAA,KAAK,CAAC,QAAQ,CAAC,MAAM,CAAC,KAAK,CAAC,KAAK,GAAG,CAAI,EAAA,KAAK,CAAC,QAAQ,CAAC,SAAyB,CAAC,WAAW,IAAI,CAAC;KAClG;;;;;"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
const referenceTargetWidth = {
|
|
3
|
+
name: "sameWidthAsTarget",
|
|
4
|
+
enabled: true,
|
|
5
|
+
phase: "beforeWrite",
|
|
6
|
+
requires: ["computeStyles"],
|
|
7
|
+
fn: ({ state }) => {
|
|
8
|
+
state.styles.popper.width = `${state.rects.reference.width}px`;
|
|
9
|
+
},
|
|
10
|
+
effect: ({ state }) => {
|
|
11
|
+
state.elements.popper.style.width = `${state.elements.reference.offsetWidth}px`;
|
|
12
|
+
}
|
|
13
|
+
};
|
|
14
|
+
|
|
15
|
+
export { referenceTargetWidth };
|
|
16
|
+
//# sourceMappingURL=popper.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"popper.js","sources":["../../../src/utils/popper.ts"],"sourcesContent":["/**\n * Popper modifiers\n */\nimport { Modifier } from \"@popperjs/core\";\n\nexport const referenceTargetWidth: Modifier<\"sameWidthAsTarget\", object> = {\n name: \"sameWidthAsTarget\",\n enabled: true,\n phase: \"beforeWrite\",\n requires: [\"computeStyles\"],\n fn: ({ state }) => {\n state.styles.popper.width = `${state.rects.reference.width}px`;\n },\n effect: ({ state }) => {\n state.elements.popper.style.width = `${(state.elements.reference as HTMLElement).offsetWidth}px`;\n }\n};\n"],"names":[],"mappings":";AAKa,MAAA,oBAAoB,GAA0C;AACzE,IAAA,IAAI,EAAE,mBAAmB;AACzB,IAAA,OAAO,EAAE,IAAI;AACb,IAAA,KAAK,EAAE,aAAa;IACpB,QAAQ,EAAE,CAAC,eAAe,CAAC;AAC3B,IAAA,EAAE,EAAE,CAAC,EAAE,KAAK,EAAE,KAAI;AAChB,QAAA,KAAK,CAAC,MAAM,CAAC,MAAM,CAAC,KAAK,GAAG,CAAA,EAAG,KAAK,CAAC,KAAK,CAAC,SAAS,CAAC,KAAK,IAAI,CAAC;KAChE;AACD,IAAA,MAAM,EAAE,CAAC,EAAE,KAAK,EAAE,KAAI;AACpB,QAAA,KAAK,CAAC,QAAQ,CAAC,MAAM,CAAC,KAAK,CAAC,KAAK,GAAG,CAAI,EAAA,KAAK,CAAC,QAAQ,CAAC,SAAyB,CAAC,WAAW,IAAI,CAAC;KAClG;;;;;"}
|
package/utils/popper.js
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
const referenceTargetWidth = {
|
|
2
|
+
name: "sameWidthAsTarget",
|
|
3
|
+
enabled: true,
|
|
4
|
+
phase: "beforeWrite",
|
|
5
|
+
requires: ["computeStyles"],
|
|
6
|
+
fn: ({ state }) => {
|
|
7
|
+
state.styles.popper.width = `${state.rects.reference.width}px`;
|
|
8
|
+
},
|
|
9
|
+
effect: ({ state }) => {
|
|
10
|
+
state.elements.popper.style.width = `${state.elements.reference.offsetWidth}px`;
|
|
11
|
+
}
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
export { referenceTargetWidth };
|
|
15
|
+
//# sourceMappingURL=popper.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"popper.js","sources":["../../src/utils/popper.ts"],"sourcesContent":["/**\n * Popper modifiers\n */\nimport { Modifier } from \"@popperjs/core\";\n\nexport const referenceTargetWidth: Modifier<\"sameWidthAsTarget\", object> = {\n name: \"sameWidthAsTarget\",\n enabled: true,\n phase: \"beforeWrite\",\n requires: [\"computeStyles\"],\n fn: ({ state }) => {\n state.styles.popper.width = `${state.rects.reference.width}px`;\n },\n effect: ({ state }) => {\n state.elements.popper.style.width = `${(state.elements.reference as HTMLElement).offsetWidth}px`;\n }\n};\n"],"names":[],"mappings":"AAKa,MAAA,oBAAoB,GAA0C;AACzE,IAAA,IAAI,EAAE,mBAAmB;AACzB,IAAA,OAAO,EAAE,IAAI;AACb,IAAA,KAAK,EAAE,aAAa;IACpB,QAAQ,EAAE,CAAC,eAAe,CAAC;AAC3B,IAAA,EAAE,EAAE,CAAC,EAAE,KAAK,EAAE,KAAI;AAChB,QAAA,KAAK,CAAC,MAAM,CAAC,MAAM,CAAC,KAAK,GAAG,CAAA,EAAG,KAAK,CAAC,KAAK,CAAC,SAAS,CAAC,KAAK,IAAI,CAAC;KAChE;AACD,IAAA,MAAM,EAAE,CAAC,EAAE,KAAK,EAAE,KAAI;AACpB,QAAA,KAAK,CAAC,QAAQ,CAAC,MAAM,CAAC,KAAK,CAAC,KAAK,GAAG,CAAI,EAAA,KAAK,CAAC,QAAQ,CAAC,SAAyB,CAAC,WAAW,IAAI,CAAC;KAClG;;;;;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"sgds-overflow-menu.js","sources":["../../../src/internals/OverflowMenu/sgds-overflow-menu.ts"],"sourcesContent":["import { html } from \"lit\";\nimport SgdsElement from \"../../base/sgds-element\";\nimport overflowMenuStyles from \"./overflow-menu.css\";\nimport { property } from \"lit/decorators.js\";\nimport { SgdsDropdown } from \"../../components/Dropdown/sgds-dropdown\";\nimport { SgdsDropdownItem } from \"../../components/Dropdown/sgds-dropdown-item\";\nimport { SgdsIcon } from \"../../components/Icon/sgds-icon\";\n/**\n * @summary An overflow menu is a UI element, often represented by three dots (⋮ or …), that opens a menu with additional actions or options.\n * @slot default - The overflow menu items. Pass in sgds-dropdown-items in this slot\n */\nexport class SgdsOverflowMenu extends SgdsElement {\n static styles = [...SgdsElement.styles, overflowMenuStyles];\n /** @internal */\n static dependencies = {\n \"sgds-dropdown\": SgdsDropdown,\n \"sgds-dropdown-item\": SgdsDropdownItem,\n \"sgds-icon\": SgdsIcon\n };\n /** Specifies a large or small button */\n @property({ type: String, reflect: true }) size: \"sm\" | \"md\" = \"md\";\n\n render() {\n return html`\n <sgds-dropdown>\n <button slot=\"toggler\" class=\"overflow-btn\">\n <sgds-icon name=\"three-dots\" size=${this.size}></sgds-icon>\n </button>\n <slot></slot>\n </sgds-dropdown>\n `;\n }\n}\n\nexport default SgdsOverflowMenu;\n"],"names":["overflowMenuStyles"],"mappings":";;;;;;;;;AAOA;;;AAGG;AACG,MAAO,gBAAiB,SAAQ,WAAW,CAAA;AAAjD,IAAA,WAAA,GAAA;;;QAS6C,IAAI,CAAA,IAAA,GAAgB,IAAI,CAAC;KAYrE;IAVC,MAAM,GAAA;AACJ,QAAA,OAAO,IAAI,CAAA,CAAA;;;AAG+B,4CAAA,EAAA,IAAI,CAAC,IAAI,CAAA;;;;KAIlD,CAAC;KACH;;AAnBM,gBAAM,CAAA,MAAA,GAAG,CAAC,GAAG,WAAW,CAAC,MAAM,EAAEA,QAAkB,CAA7C,CAA+C;AAC5D;AACO,gBAAA,CAAA,YAAY,GAAG;AACpB,IAAA,eAAe,EAAE,YAAY;AAC7B,IAAA,oBAAoB,EAAE,gBAAgB;AACtC,IAAA,WAAW,EAAE,QAAQ;AACtB,CAJkB,CAIjB;AAEyC,UAAA,CAAA;IAA1C,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;AAA0B,CAAA,EAAA,gBAAA,CAAA,SAAA,EAAA,MAAA,EAAA,KAAA,CAAA,CAAA;;;;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"sgds-overflow-menu.cjs.js","sources":["../../../../src/internals/OverflowMenu/sgds-overflow-menu.ts"],"sourcesContent":["import { html } from \"lit\";\nimport SgdsElement from \"../../base/sgds-element\";\nimport overflowMenuStyles from \"./overflow-menu.css\";\nimport { property } from \"lit/decorators.js\";\nimport { SgdsDropdown } from \"../../components/Dropdown/sgds-dropdown\";\nimport { SgdsDropdownItem } from \"../../components/Dropdown/sgds-dropdown-item\";\nimport { SgdsIcon } from \"../../components/Icon/sgds-icon\";\n/**\n * @summary An overflow menu is a UI element, often represented by three dots (⋮ or …), that opens a menu with additional actions or options.\n * @slot default - The overflow menu items. Pass in sgds-dropdown-items in this slot\n */\nexport class SgdsOverflowMenu extends SgdsElement {\n static styles = [...SgdsElement.styles, overflowMenuStyles];\n /** @internal */\n static dependencies = {\n \"sgds-dropdown\": SgdsDropdown,\n \"sgds-dropdown-item\": SgdsDropdownItem,\n \"sgds-icon\": SgdsIcon\n };\n /** Specifies a large or small button */\n @property({ type: String, reflect: true }) size: \"sm\" | \"md\" = \"md\";\n\n render() {\n return html`\n <sgds-dropdown>\n <button slot=\"toggler\" class=\"overflow-btn\">\n <sgds-icon name=\"three-dots\" size=${this.size}></sgds-icon>\n </button>\n <slot></slot>\n </sgds-dropdown>\n `;\n }\n}\n\nexport default SgdsOverflowMenu;\n"],"names":["SgdsElement","html","overflowMenuStyles","SgdsDropdown","SgdsDropdownItem","SgdsIcon","__decorate","property"],"mappings":";;;;;;;;;;;;;;AAOA;;;AAGG;AACG,MAAO,gBAAiB,SAAQA,sBAAW,CAAA;AAAjD,IAAA,WAAA,GAAA;;;QAS6C,IAAI,CAAA,IAAA,GAAgB,IAAI,CAAC;KAYrE;IAVC,MAAM,GAAA;AACJ,QAAA,OAAOC,QAAI,CAAA,CAAA;;;AAG+B,4CAAA,EAAA,IAAI,CAAC,IAAI,CAAA;;;;KAIlD,CAAC;KACH;;AAnBM,gBAAM,CAAA,MAAA,GAAG,CAAC,GAAGD,sBAAW,CAAC,MAAM,EAAEE,uBAAkB,CAA7C,CAA+C;AAC5D;AACO,gBAAA,CAAA,YAAY,GAAG;AACpB,IAAA,eAAe,EAAEC,yBAAY;AAC7B,IAAA,oBAAoB,EAAEC,iCAAgB;AACtC,IAAA,WAAW,EAAEC,iBAAQ;AACtB,CAJkB,CAIjB;AAEyCC,gBAAA,CAAA;IAA1CC,sBAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;AAA0B,CAAA,EAAA,gBAAA,CAAA,SAAA,EAAA,MAAA,EAAA,KAAA,CAAA,CAAA;;;;;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"sgds-overflow-menu.js","sources":["../../../../src/internals/OverflowMenu/sgds-overflow-menu.ts"],"sourcesContent":["import { html } from \"lit\";\nimport SgdsElement from \"../../base/sgds-element\";\nimport overflowMenuStyles from \"./overflow-menu.css\";\nimport { property } from \"lit/decorators.js\";\nimport { SgdsDropdown } from \"../../components/Dropdown/sgds-dropdown\";\nimport { SgdsDropdownItem } from \"../../components/Dropdown/sgds-dropdown-item\";\nimport { SgdsIcon } from \"../../components/Icon/sgds-icon\";\n/**\n * @summary An overflow menu is a UI element, often represented by three dots (⋮ or …), that opens a menu with additional actions or options.\n * @slot default - The overflow menu items. Pass in sgds-dropdown-items in this slot\n */\nexport class SgdsOverflowMenu extends SgdsElement {\n static styles = [...SgdsElement.styles, overflowMenuStyles];\n /** @internal */\n static dependencies = {\n \"sgds-dropdown\": SgdsDropdown,\n \"sgds-dropdown-item\": SgdsDropdownItem,\n \"sgds-icon\": SgdsIcon\n };\n /** Specifies a large or small button */\n @property({ type: String, reflect: true }) size: \"sm\" | \"md\" = \"md\";\n\n render() {\n return html`\n <sgds-dropdown>\n <button slot=\"toggler\" class=\"overflow-btn\">\n <sgds-icon name=\"three-dots\" size=${this.size}></sgds-icon>\n </button>\n <slot></slot>\n </sgds-dropdown>\n `;\n }\n}\n\nexport default SgdsOverflowMenu;\n"],"names":["overflowMenuStyles"],"mappings":";;;;;;;;;;AAOA;;;AAGG;AACG,MAAO,gBAAiB,SAAQ,WAAW,CAAA;AAAjD,IAAA,WAAA,GAAA;;;QAS6C,IAAI,CAAA,IAAA,GAAgB,IAAI,CAAC;KAYrE;IAVC,MAAM,GAAA;AACJ,QAAA,OAAO,IAAI,CAAA,CAAA;;;AAG+B,4CAAA,EAAA,IAAI,CAAC,IAAI,CAAA;;;;KAIlD,CAAC;KACH;;AAnBM,gBAAM,CAAA,MAAA,GAAG,CAAC,GAAG,WAAW,CAAC,MAAM,EAAEA,QAAkB,CAA7C,CAA+C;AAC5D;AACO,gBAAA,CAAA,YAAY,GAAG;AACpB,IAAA,eAAe,EAAE,YAAY;AAC7B,IAAA,oBAAoB,EAAE,gBAAgB;AACtC,IAAA,WAAW,EAAE,QAAQ;AACtB,CAJkB,CAIjB;AAEyC,UAAA,CAAA;IAA1C,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;AAA0B,CAAA,EAAA,gBAAA,CAAA,SAAA,EAAA,MAAA,EAAA,KAAA,CAAA,CAAA;;;;"}
|
|
File without changes
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { RGB, RGBA } from "@figma/rest-api-spec";
|
|
2
|
-
/**
|
|
3
|
-
* Compares two colors for approximate equality since converting between Figma RGBA objects (from 0 -> 1) and
|
|
4
|
-
* hex colors can result in slight differences.
|
|
5
|
-
*/
|
|
6
|
-
export declare function colorApproximatelyEqual(colorA: RGB | RGBA, colorB: RGB | RGBA): boolean;
|
|
7
|
-
export declare function parseColor(color: string): RGB | RGBA;
|
|
8
|
-
export declare function rgbToHex({ r, g, b, ...rest }: RGB | RGBA): string;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { GetLocalVariablesResponse, PostVariablesRequestBody, PostVariablesResponse } from "@figma/rest-api-spec";
|
|
2
|
-
export default class FigmaApi {
|
|
3
|
-
private baseUrl;
|
|
4
|
-
private token;
|
|
5
|
-
constructor(token: string);
|
|
6
|
-
getLocalVariables(fileKey: string): Promise<GetLocalVariablesResponse>;
|
|
7
|
-
postVariables(fileKey: string, payload: PostVariablesRequestBody): Promise<PostVariablesResponse>;
|
|
8
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "dotenv/config";
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file defines what design tokens and design token files look like in the codebase.
|
|
3
|
-
*
|
|
4
|
-
* Tokens are distinct from variables, in that a [token](https://tr.designtokens.org/format/#design-token)
|
|
5
|
-
* is a name/value pair (with other properties), while a variable in Figma stores multiple values,
|
|
6
|
-
* one for each mode.
|
|
7
|
-
*/
|
|
8
|
-
import { VariableCodeSyntax, VariableScope } from "@figma/rest-api-spec";
|
|
9
|
-
export interface Token {
|
|
10
|
-
/**
|
|
11
|
-
* The [type](https://tr.designtokens.org/format/#type-0) of the token.
|
|
12
|
-
*
|
|
13
|
-
* We allow `string` and `boolean` types in addition to the draft W3C spec's `color` and `number` types
|
|
14
|
-
* to align with the resolved types for Figma variables.
|
|
15
|
-
*/
|
|
16
|
-
$type: "color" | "number" | "string" | "boolean";
|
|
17
|
-
$value: string | number | boolean;
|
|
18
|
-
$description?: string;
|
|
19
|
-
$extensions?: {
|
|
20
|
-
/**
|
|
21
|
-
* The `com.figma` namespace stores Figma-specific variable properties
|
|
22
|
-
*/
|
|
23
|
-
"com.figma"?: {
|
|
24
|
-
hiddenFromPublishing?: boolean;
|
|
25
|
-
scopes?: VariableScope[];
|
|
26
|
-
codeSyntax?: VariableCodeSyntax;
|
|
27
|
-
};
|
|
28
|
-
};
|
|
29
|
-
}
|
|
30
|
-
export type TokenOrTokenGroup = Token | ({
|
|
31
|
-
[tokenName: string]: Token;
|
|
32
|
-
} & {
|
|
33
|
-
$type?: never;
|
|
34
|
-
$value?: never;
|
|
35
|
-
});
|
|
36
|
-
/**
|
|
37
|
-
* Defines what we expect a Design Tokens file to look like in the codebase.
|
|
38
|
-
*
|
|
39
|
-
* This format mostly adheres to the [draft W3C spec for Design Tokens](https://tr.designtokens.org/format/)
|
|
40
|
-
* as of its most recent 24 July 2023 revision except for the $type property, for which
|
|
41
|
-
* we allow `string` and `boolean` values in addition to the spec's `color` and `number` values.
|
|
42
|
-
* We need to support `string` and `boolean` types to align with the resolved types for Figma variables.
|
|
43
|
-
*
|
|
44
|
-
* Additionally, we expect each tokens file to define tokens for a single variable collection and mode.
|
|
45
|
-
* There currently isn't a way to represent modes or themes in the W3C community group design token specification.
|
|
46
|
-
* Once the spec resolves how it wants to treat/handle modes, this code will be updated to reflect the new standard.
|
|
47
|
-
*
|
|
48
|
-
* Follow this discussion for updates: https://github.com/design-tokens/community-group/issues/210
|
|
49
|
-
*/
|
|
50
|
-
export type TokensFile = {
|
|
51
|
-
[key: string]: TokenOrTokenGroup;
|
|
52
|
-
};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export declare function arrangeSgdsFiles(fileName: string): string;
|
|
2
|
-
export declare function saveToMap(filePath: string, map: Map<string, object>, mapKey: string): Promise<void>;
|
|
3
|
-
/**
|
|
4
|
-
* Converts a token name like '{sgds-dimension-320}' to a CSS var() reference.
|
|
5
|
-
* Example: '{sgds-dimension-320}' => 'var(--sgds-dimension-320)'
|
|
6
|
-
*/
|
|
7
|
-
export declare function tokenNameToCssVar(tokenName: string): string | undefined;
|
|
8
|
-
export declare function tokenToCssVars(): Promise<void>;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import SgdsElement from "./sgds-element";
|
|
2
|
-
export declare class CardElement extends SgdsElement {
|
|
3
|
-
static styles: import("lit").CSSResult[];
|
|
4
|
-
/** When true, hides the default border of the card. */
|
|
5
|
-
hideBorder: boolean;
|
|
6
|
-
/** When true, applies a tinted background color to the card. */
|
|
7
|
-
tinted: boolean;
|
|
8
|
-
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|