@wonderflow/react-components 10.9.1 → 10.11.0
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/core/basic.css +1 -1
- package/core/typography.css +1 -1
- package/core.css +1 -1
- package/dist/components/accordion/accordion-context.d.ts +1 -1
- package/dist/components/accordion/accordion-context.d.ts.map +1 -1
- package/dist/components/accordion/accordion-context.js +16 -1
- package/dist/components/accordion/accordion-item.d.ts.map +1 -1
- package/dist/components/accordion/accordion-item.js +15 -0
- package/dist/components/accordion/accordion.d.ts +17 -3
- package/dist/components/accordion/accordion.d.ts.map +1 -1
- package/dist/components/accordion/accordion.js +15 -0
- package/dist/components/accordion/accordion.module.css +1 -1
- package/dist/components/accordion/accordion.stories.d.ts +18 -2
- package/dist/components/accordion/accordion.stories.d.ts.map +1 -1
- package/dist/components/accordion/accordion.stories.js +1 -1
- package/dist/components/accordion/index.d.ts.map +1 -1
- package/dist/components/accordion/index.js +15 -0
- package/dist/components/aspect-ratio/aspect-ratio.d.ts.map +1 -1
- package/dist/components/aspect-ratio/aspect-ratio.js +15 -0
- package/dist/components/aspect-ratio/aspect-ratio.stories.js +1 -1
- package/dist/components/aspect-ratio/index.d.ts +1 -1
- package/dist/components/aspect-ratio/index.d.ts.map +1 -1
- package/dist/components/aspect-ratio/index.js +15 -0
- package/dist/components/autocomplete/autocomplete-option.d.ts.map +1 -1
- package/dist/components/autocomplete/autocomplete-option.js +15 -0
- package/dist/components/autocomplete/autocomplete.d.ts +2 -2
- package/dist/components/autocomplete/autocomplete.d.ts.map +1 -1
- package/dist/components/autocomplete/autocomplete.js +20 -2
- package/dist/components/autocomplete/autocomplete.module.css +1 -1
- package/dist/components/autocomplete/autocomplete.stories.js +2 -2
- package/dist/components/autocomplete/index.d.ts.map +1 -1
- package/dist/components/autocomplete/index.js +15 -0
- package/dist/components/avatar/avatar.d.ts.map +1 -1
- package/dist/components/avatar/avatar.js +15 -0
- package/dist/components/avatar/avatar.module.css +1 -1
- package/dist/components/avatar/avatar.stories.js +1 -1
- package/dist/components/avatar/index.d.ts.map +1 -1
- package/dist/components/avatar/index.js +15 -0
- package/dist/components/button/button.d.ts.map +1 -1
- package/dist/components/button/button.js +15 -0
- package/dist/components/button/button.module.css +1 -1
- package/dist/components/button/button.stories.js +1 -1
- package/dist/components/button/index.d.ts.map +1 -1
- package/dist/components/button/index.js +15 -0
- package/dist/components/card/card.module.css +1 -1
- package/dist/components/card/index.d.ts.map +1 -1
- package/dist/components/card/index.js +15 -0
- package/dist/components/chip/chip.d.ts.map +1 -1
- package/dist/components/chip/chip.js +15 -0
- package/dist/components/chip/chip.module.css +1 -1
- package/dist/components/chip/chip.stories.js +1 -1
- package/dist/components/chip/index.d.ts.map +1 -1
- package/dist/components/chip/index.js +15 -0
- package/dist/components/circular-progress/circular-progress.d.ts.map +1 -1
- package/dist/components/circular-progress/circular-progress.js +15 -0
- package/dist/components/circular-progress/circular-progress.module.css +1 -1
- package/dist/components/circular-progress/circular-progress.stories.js +1 -1
- package/dist/components/circular-progress/index.d.ts.map +1 -1
- package/dist/components/circular-progress/index.js +15 -0
- package/dist/components/clamp-text/clamp-text.d.ts.map +1 -1
- package/dist/components/clamp-text/clamp-text.js +16 -1
- package/dist/components/clamp-text/clamp-text.module.css +1 -1
- package/dist/components/clamp-text/clamp-text.stories.js +1 -1
- package/dist/components/clamp-text/index.d.ts.map +1 -1
- package/dist/components/clamp-text/index.js +15 -0
- package/dist/components/container/container.d.ts.map +1 -1
- package/dist/components/container/container.js +15 -0
- package/dist/components/container/container.module.css +1 -1
- package/dist/components/container/index.d.ts.map +1 -1
- package/dist/components/container/index.js +15 -0
- package/dist/components/datetime/datetime.d.ts.map +1 -1
- package/dist/components/datetime/datetime.js +15 -0
- package/dist/components/datetime/datetime.stories.js +1 -1
- package/dist/components/datetime/index.d.ts.map +1 -1
- package/dist/components/datetime/index.js +15 -0
- package/dist/components/disclosure/disclosure.d.ts.map +1 -1
- package/dist/components/disclosure/disclosure.js +15 -0
- package/dist/components/disclosure/disclosure.module.css +1 -1
- package/dist/components/disclosure/disclosure.stories.js +1 -1
- package/dist/components/disclosure/index.d.ts.map +1 -1
- package/dist/components/disclosure/index.js +15 -0
- package/dist/components/drawer/drawer.d.ts.map +1 -1
- package/dist/components/drawer/drawer.js +15 -0
- package/dist/components/drawer/drawer.module.css +1 -1
- package/dist/components/drawer/drawer.stories.js +3 -3
- package/dist/components/drawer/index.d.ts.map +1 -1
- package/dist/components/drawer/index.js +15 -0
- package/dist/components/elevator/elevator.d.ts.map +1 -1
- package/dist/components/elevator/elevator.js +15 -0
- package/dist/components/elevator/elevator.stories.js +1 -1
- package/dist/components/elevator/index.d.ts.map +1 -1
- package/dist/components/elevator/index.js +15 -0
- package/dist/components/expander/expander.d.ts +20 -0
- package/dist/components/expander/expander.d.ts.map +1 -0
- package/dist/components/expander/expander.js +35 -0
- package/dist/components/expander/expander.module.css +1 -0
- package/dist/components/expander/expander.stories.d.ts +7 -0
- package/dist/components/expander/expander.stories.d.ts.map +1 -0
- package/dist/components/expander/expander.stories.js +16 -0
- package/dist/components/expander/index.d.ts +3 -0
- package/dist/components/expander/index.d.ts.map +1 -0
- package/dist/components/expander/index.js +16 -0
- package/dist/components/grid/grid.module.css +1 -1
- package/dist/components/grid/index.d.ts.map +1 -1
- package/dist/components/grid/index.js +15 -0
- package/dist/components/grid/item/grid-item.d.ts.map +1 -1
- package/dist/components/grid/item/grid-item.js +15 -0
- package/dist/components/grid/item/grid-item.module.css +1 -1
- package/dist/components/icon-button/icon-button.d.ts +2 -2
- package/dist/components/icon-button/icon-button.d.ts.map +1 -1
- package/dist/components/icon-button/icon-button.js +15 -0
- package/dist/components/icon-button/icon-button.module.css +1 -1
- package/dist/components/icon-button/icon-button.stories.d.ts +1 -1
- package/dist/components/icon-button/icon-button.stories.d.ts.map +1 -1
- package/dist/components/icon-button/icon-button.stories.js +1 -1
- package/dist/components/icon-button/index.d.ts.map +1 -1
- package/dist/components/icon-button/index.js +15 -0
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js +16 -0
- package/dist/components/info-state/index.d.ts.map +1 -1
- package/dist/components/info-state/index.js +15 -0
- package/dist/components/info-state/info-state.d.ts.map +1 -1
- package/dist/components/info-state/info-state.js +15 -0
- package/dist/components/info-state/info-state.module.css +1 -1
- package/dist/components/info-state/info-state.stories.js +1 -1
- package/dist/components/input-group/index.d.ts.map +1 -1
- package/dist/components/input-group/index.js +15 -0
- package/dist/components/input-group/input-group.d.ts.map +1 -1
- package/dist/components/input-group/input-group.js +15 -0
- package/dist/components/input-group/input-group.module.css +1 -1
- package/dist/components/input-group/input-group.stories.js +1 -1
- package/dist/components/linear-progress/index.d.ts.map +1 -1
- package/dist/components/linear-progress/index.js +15 -0
- package/dist/components/linear-progress/linear-progress.d.ts.map +1 -1
- package/dist/components/linear-progress/linear-progress.js +15 -0
- package/dist/components/linear-progress/linear-progress.module.css +1 -1
- package/dist/components/linear-progress/linear-progress.stories.js +1 -1
- package/dist/components/list/index.d.ts.map +1 -1
- package/dist/components/list/index.js +15 -0
- package/dist/components/list/list-item.d.ts.map +1 -1
- package/dist/components/list/list-item.js +15 -0
- package/dist/components/list/list.d.ts +3 -3
- package/dist/components/list/list.d.ts.map +1 -1
- package/dist/components/list/list.js +15 -0
- package/dist/components/list/list.module.css +1 -1
- package/dist/components/list/list.stories.js +1 -1
- package/dist/components/masonry/index.d.ts.map +1 -1
- package/dist/components/masonry/index.js +15 -0
- package/dist/components/masonry/masonry.d.ts.map +1 -1
- package/dist/components/masonry/masonry.module.css +1 -1
- package/dist/components/menu/index.d.ts.map +1 -1
- package/dist/components/menu/index.js +15 -0
- package/dist/components/menu/menu-item/menu-item-checkbox.d.ts.map +1 -1
- package/dist/components/menu/menu-item/menu-item-checkbox.js +15 -0
- package/dist/components/menu/menu-item/menu-item.d.ts.map +1 -1
- package/dist/components/menu/menu-item/menu-item.js +18 -3
- package/dist/components/menu/menu-item/menu-item.module.css +1 -1
- package/dist/components/menu/menu-item/menu-item.stories.js +1 -1
- package/dist/components/menu/menu-separator/menu-separator.d.ts.map +1 -1
- package/dist/components/menu/menu-separator/menu-separator.js +15 -0
- package/dist/components/menu/menu.d.ts.map +1 -1
- package/dist/components/menu/menu.js +15 -0
- package/dist/components/menu/menu.module.css +1 -1
- package/dist/components/menu/menu.stories.js +3 -3
- package/dist/components/modal/content/modal-content.d.ts +0 -4
- package/dist/components/modal/content/modal-content.d.ts.map +1 -1
- package/dist/components/modal/content/modal-content.js +15 -0
- package/dist/components/modal/content/modal-content.module.css +1 -1
- package/dist/components/modal/index.d.ts.map +1 -1
- package/dist/components/modal/index.js +15 -0
- package/dist/components/modal/modal.d.ts.map +1 -1
- package/dist/components/modal/modal.js +15 -0
- package/dist/components/modal/modal.module.css +1 -1
- package/dist/components/modal/modal.stories.js +3 -3
- package/dist/components/overlay-container/index.d.ts.map +1 -1
- package/dist/components/overlay-container/index.js +15 -0
- package/dist/components/overlay-container/overlay-container.d.ts.map +1 -1
- package/dist/components/overlay-container/overlay-container.js +15 -0
- package/dist/components/overlay-container/overlay-container.module.css +1 -1
- package/dist/components/pagination/index.d.ts.map +1 -1
- package/dist/components/pagination/index.js +15 -0
- package/dist/components/pagination/pagination.d.ts.map +1 -1
- package/dist/components/pagination/pagination.js +15 -0
- package/dist/components/pagination/pagination.module.css +1 -1
- package/dist/components/pagination/pagination.stories.js +1 -1
- package/dist/components/popover/index.d.ts.map +1 -1
- package/dist/components/popover/index.js +15 -0
- package/dist/components/popover/popover.d.ts.map +1 -1
- package/dist/components/popover/popover.js +3 -1
- package/dist/components/popover/popover.module.css +1 -1
- package/dist/components/popover/popover.stories.js +6 -6
- package/dist/components/prose/index.d.ts.map +1 -1
- package/dist/components/prose/index.js +15 -0
- package/dist/components/prose/prose.d.ts.map +1 -1
- package/dist/components/prose/prose.js +15 -0
- package/dist/components/prose/prose.module.css +1 -1
- package/dist/components/prose/prose.stories.js +1 -1
- package/dist/components/select/index.d.ts.map +1 -1
- package/dist/components/select/index.js +15 -0
- package/dist/components/select/select.d.ts.map +1 -1
- package/dist/components/select/select.js +15 -0
- package/dist/components/select/select.module.css +1 -1
- package/dist/components/select/select.stories.js +1 -1
- package/dist/components/selection-controls/checkbox.d.ts.map +1 -1
- package/dist/components/selection-controls/checkbox.js +15 -0
- package/dist/components/selection-controls/checkbox.stories.js +1 -1
- package/dist/components/selection-controls/index.d.ts.map +1 -1
- package/dist/components/selection-controls/index.js +15 -0
- package/dist/components/selection-controls/radio.d.ts.map +1 -1
- package/dist/components/selection-controls/radio.js +15 -0
- package/dist/components/selection-controls/radio.stories.js +1 -1
- package/dist/components/selection-controls/selection-controls.module.css +1 -1
- package/dist/components/selection-controls/toggle.d.ts.map +1 -1
- package/dist/components/selection-controls/toggle.js +15 -0
- package/dist/components/selection-controls/toggle.stories.js +1 -1
- package/dist/components/separator/index.d.ts.map +1 -1
- package/dist/components/separator/index.js +15 -0
- package/dist/components/separator/separator.d.ts.map +1 -1
- package/dist/components/separator/separator.js +15 -0
- package/dist/components/separator/separator.module.css +1 -1
- package/dist/components/skeleton/index.d.ts.map +1 -1
- package/dist/components/skeleton/index.js +15 -0
- package/dist/components/skeleton/skeleton.d.ts.map +1 -1
- package/dist/components/skeleton/skeleton.module.css +1 -1
- package/dist/components/skeleton/skeleton.stories.js +1 -1
- package/dist/components/slider/index.d.ts.map +1 -1
- package/dist/components/slider/index.js +15 -0
- package/dist/components/slider/slider.d.ts.map +1 -1
- package/dist/components/slider/slider.js +15 -0
- package/dist/components/slider/slider.module.css +1 -1
- package/dist/components/slider/slider.stories.js +1 -1
- package/dist/components/snackbar/index.d.ts.map +1 -1
- package/dist/components/snackbar/index.js +15 -0
- package/dist/components/snackbar/snackbar.d.ts.map +1 -1
- package/dist/components/snackbar/snackbar.js +15 -0
- package/dist/components/snackbar/snackbar.module.css +1 -1
- package/dist/components/snackbar/snackbar.stories.js +1 -1
- package/dist/components/spinner/index.d.ts.map +1 -1
- package/dist/components/spinner/index.js +15 -0
- package/dist/components/spinner/spinner.d.ts.map +1 -1
- package/dist/components/spinner/spinner.js +15 -0
- package/dist/components/spinner/spinner.stories.js +1 -1
- package/dist/components/split-button/index.d.ts.map +1 -1
- package/dist/components/split-button/index.js +15 -0
- package/dist/components/split-button/split-button.d.ts.map +1 -1
- package/dist/components/split-button/split-button.js +15 -0
- package/dist/components/split-button/split-button.module.css +1 -1
- package/dist/components/split-button/split-button.stories.js +1 -1
- package/dist/components/stack/index.d.ts.map +1 -1
- package/dist/components/stack/index.js +15 -0
- package/dist/components/stack/stack.d.ts.map +1 -1
- package/dist/components/stack/stack.module.css +1 -1
- package/dist/components/star-meter/index.d.ts.map +1 -1
- package/dist/components/star-meter/index.js +15 -0
- package/dist/components/star-meter/star-meter.d.ts.map +1 -1
- package/dist/components/star-meter/star-meter.js +15 -0
- package/dist/components/star-meter/star-meter.module.css +1 -1
- package/dist/components/star-meter/star-meter.stories.js +1 -1
- package/dist/components/symbol/index.d.ts.map +1 -1
- package/dist/components/symbol/index.js +15 -0
- package/dist/components/symbol/symbol.d.ts.map +1 -1
- package/dist/components/symbol/symbol.module.css +1 -1
- package/dist/components/symbol/symbol.stories.js +1 -1
- package/dist/components/tab/index.d.ts.map +1 -1
- package/dist/components/tab/index.js +15 -0
- package/dist/components/tab/tab.d.ts +2 -1
- package/dist/components/tab/tab.d.ts.map +1 -1
- package/dist/components/tab/tab.js +16 -1
- package/dist/components/tab/tab.module.css +1 -1
- package/dist/components/tab/tab.stories.js +1 -1
- package/dist/components/tab/tabs-panel.d.ts.map +1 -1
- package/dist/components/tab/tabs-panel.js +15 -0
- package/dist/components/table/index.d.ts.map +1 -1
- package/dist/components/table/index.js +15 -0
- package/dist/components/table/table-cell/index.d.ts.map +1 -1
- package/dist/components/table/table-cell/index.js +15 -0
- package/dist/components/table/table-cell/table-cell.d.ts.map +1 -1
- package/dist/components/table/table-cell/table-cell.js +15 -0
- package/dist/components/table/table-cell/table-cell.module.css +1 -1
- package/dist/components/table/table-checkbox/index.d.ts.map +1 -1
- package/dist/components/table/table-checkbox/index.js +15 -0
- package/dist/components/table/table-checkbox/table-checkbox.d.ts.map +1 -1
- package/dist/components/table/table-checkbox/table-checkbox.js +15 -0
- package/dist/components/table/table-checkbox/table-checkbox.module.css +1 -1
- package/dist/components/table/table-controls/index.d.ts.map +1 -1
- package/dist/components/table/table-controls/index.js +15 -0
- package/dist/components/table/table-controls/toggle-columns.d.ts.map +1 -1
- package/dist/components/table/table-controls/toggle-columns.js +18 -3
- package/dist/components/table/table-expand/index.d.ts.map +1 -1
- package/dist/components/table/table-expand/index.js +15 -0
- package/dist/components/table/table-expand/table-expand.module.css +1 -1
- package/dist/components/table/table-header/index.d.ts +1 -1
- package/dist/components/table/table-header/index.d.ts.map +1 -1
- package/dist/components/table/table-header/index.js +15 -0
- package/dist/components/table/table-header/table-header.d.ts.map +1 -1
- package/dist/components/table/table-header/table-header.module.css +1 -1
- package/dist/components/table/table-pagination/index.d.ts +1 -1
- package/dist/components/table/table-pagination/index.d.ts.map +1 -1
- package/dist/components/table/table-pagination/index.js +15 -0
- package/dist/components/table/table-pagination/table-pagination.d.ts.map +1 -1
- package/dist/components/table/table-pagination/table-pagination.js +15 -0
- package/dist/components/table/table-row/index.d.ts.map +1 -1
- package/dist/components/table/table-row/index.js +15 -0
- package/dist/components/table/table-row/table-row.d.ts.map +1 -1
- package/dist/components/table/table-row/table-row.js +17 -2
- package/dist/components/table/table.d.ts +5 -1
- package/dist/components/table/table.d.ts.map +1 -1
- package/dist/components/table/table.js +17 -1
- package/dist/components/table/table.module.css +1 -1
- package/dist/components/table/table.stories.d.ts +16 -16
- package/dist/components/table/table.stories.d.ts.map +1 -1
- package/dist/components/table/types.d.ts.map +1 -1
- package/dist/components/table/types.js +15 -0
- package/dist/components/text/index.d.ts.map +1 -1
- package/dist/components/text/index.js +15 -0
- package/dist/components/text/text.d.ts.map +1 -1
- package/dist/components/text/text.module.css +1 -1
- package/dist/components/text/text.stories.js +1 -1
- package/dist/components/textfield/base-field/base-field.d.ts +2 -2
- package/dist/components/textfield/base-field/base-field.d.ts.map +1 -1
- package/dist/components/textfield/base-field/base-field.js +1 -1
- package/dist/components/textfield/base-field/base-field.module.css +1 -1
- package/dist/components/textfield/base-field/index.d.ts.map +1 -1
- package/dist/components/textfield/base-field/index.js +15 -0
- package/dist/components/textfield/index.d.ts.map +1 -1
- package/dist/components/textfield/index.js +15 -0
- package/dist/components/textfield/textfield.d.ts +3 -54
- package/dist/components/textfield/textfield.d.ts.map +1 -1
- package/dist/components/textfield/textfield.js +2 -2
- package/dist/components/textfield/textfield.module.css +1 -1
- package/dist/components/textfield/textfield.stories.d.ts +4 -56
- package/dist/components/textfield/textfield.stories.d.ts.map +1 -1
- package/dist/components/textfield/textfield.stories.js +1 -1
- package/dist/components/title/index.d.ts.map +1 -1
- package/dist/components/title/index.js +15 -0
- package/dist/components/title/title.d.ts.map +1 -1
- package/dist/components/title/title.js +16 -1
- package/dist/components/title/title.module.css +1 -1
- package/dist/components/title/title.stories.d.ts +1 -0
- package/dist/components/title/title.stories.d.ts.map +1 -1
- package/dist/components/title/title.stories.js +10 -1
- package/dist/components/toggle-button/index.d.ts.map +1 -1
- package/dist/components/toggle-button/index.js +15 -0
- package/dist/components/toggle-button/toggle-button.d.ts +4 -3
- package/dist/components/toggle-button/toggle-button.d.ts.map +1 -1
- package/dist/components/toggle-button/toggle-button.js +19 -4
- package/dist/components/toggle-button/toggle-button.module.css +1 -1
- package/dist/components/toggle-button/toggle-button.stories.d.ts +2 -11
- package/dist/components/toggle-button/toggle-button.stories.d.ts.map +1 -1
- package/dist/components/toggle-button/toggle-button.stories.js +1 -1
- package/dist/components/tooltip/index.d.ts.map +1 -1
- package/dist/components/tooltip/index.js +15 -0
- package/dist/components/tooltip/tooltip.d.ts.map +1 -1
- package/dist/components/tooltip/tooltip.js +3 -1
- package/dist/components/tooltip/tooltip.module.css +1 -1
- package/dist/components/tooltip/tooltip.stories.js +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +15 -0
- package/dist/providers/index.d.ts.map +1 -1
- package/dist/providers/index.js +15 -0
- package/dist/providers/overlay.d.ts.map +1 -1
- package/dist/providers/overlay.js +15 -0
- package/dist/providers/responsive.d.ts.map +1 -1
- package/dist/providers/responsive.js +15 -0
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/index.js +15 -0
- package/dist/types/polymorphic/index.d.ts +1 -6
- package/dist/types/polymorphic/index.d.ts.map +1 -1
- package/dist/types/polymorphic/index.js +15 -0
- package/package.json +6 -6
|
@@ -1 +1,16 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 2022 Wonderflow <authored by Mattia Astorino>
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
1
16
|
export { Elevator } from './elevator';
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export declare type ExpanderProps = {
|
|
2
|
+
/**
|
|
3
|
+
* Set the expand button label when is collapsed
|
|
4
|
+
*/
|
|
5
|
+
expandLabel?: string;
|
|
6
|
+
/**
|
|
7
|
+
* Set the expand button label when is expanded
|
|
8
|
+
*/
|
|
9
|
+
collapseLabel?: string;
|
|
10
|
+
/**
|
|
11
|
+
* Set the size area for the visible content
|
|
12
|
+
*/
|
|
13
|
+
visibleArea?: string;
|
|
14
|
+
/**
|
|
15
|
+
* Set the component to be expanded by default
|
|
16
|
+
*/
|
|
17
|
+
defaultExpanded?: boolean;
|
|
18
|
+
};
|
|
19
|
+
export declare const Expander: FCChildrenClass<ExpanderProps>;
|
|
20
|
+
//# sourceMappingURL=expander.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"expander.d.ts","sourceRoot":"","sources":["../../../src/components/expander/expander.tsx"],"names":[],"mappings":"AA2BA,oBAAY,aAAa,GAAG;IAC1B;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,eAAe,CAAC,EAAE,OAAO,CAAC;CAC3B,CAAA;AAED,eAAO,MAAM,QAAQ,EAAE,eAAe,CAAC,aAAa,CA0DnD,CAAC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
/*
|
|
3
|
+
* Copyright 2022 Wonderflow <authored by Mattia Astorino>
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
* you may not use this file except in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
* See the License for the specific language governing permissions and
|
|
15
|
+
* limitations under the License.
|
|
16
|
+
*/
|
|
17
|
+
import clsx from 'clsx';
|
|
18
|
+
import { domMax, LazyMotion, m, } from 'framer-motion';
|
|
19
|
+
import { useCallback, useState } from 'react';
|
|
20
|
+
import { useUIDSeed } from 'react-uid';
|
|
21
|
+
import { Button, Elevator, Stack } from '../..';
|
|
22
|
+
import * as styles from './expander.module.css';
|
|
23
|
+
export const Expander = ({ expandLabel = 'Show more', collapseLabel = 'Show less', visibleArea = '100px', defaultExpanded = false, className, children, style, ...otherProps }) => {
|
|
24
|
+
const [isCollapsed, setIsCollapsed] = useState(!defaultExpanded);
|
|
25
|
+
const uid = useUIDSeed();
|
|
26
|
+
const dynamicStyle = {
|
|
27
|
+
'--visibleArea': visibleArea,
|
|
28
|
+
};
|
|
29
|
+
const handleCollapse = useCallback(() => {
|
|
30
|
+
setIsCollapsed(s => !s);
|
|
31
|
+
}, []);
|
|
32
|
+
return (_jsxs("div", { style: { ...dynamicStyle, style }, className: clsx(styles.Expander, className), "data-expander-collapsed": isCollapsed, ...otherProps, children: [_jsx(LazyMotion, { features: domMax, children: _jsx(m.div, { className: styles.Content, id: uid('expander-content'), animate: !isCollapsed ? { height: 'auto' } : {
|
|
33
|
+
height: 'calc(var(--visibleArea) + var(--threshold))', overflow: 'hidden',
|
|
34
|
+
}, transition: { ease: 'easeOut', duration: 0.2 }, initial: false, children: children }) }), _jsx(Stack, { className: styles.Action, hAlign: "center", vAlign: "center", fill: false, children: _jsx(Elevator, { resting: isCollapsed ? 4 : 0, children: _jsx(Button, { iconPosition: "right", "aria-expanded": !isCollapsed, "aria-controls": uid('expander-content'), onClick: handleCollapse, children: isCollapsed ? expandLabel : collapseLabel }) }) })] }));
|
|
35
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@layer components{.Expander{--threshold:3rem;position:relative}.Content{-webkit-mask-image:linear-gradient(to bottom,red calc(100% - var(--threshold)*1.5),transparent 80%);mask-image:linear-gradient(to bottom,red calc(100% - var(--threshold)*1.5),transparent 80%);overflow:hidden}.Expander[data-expander-collapsed=false] .Content{height:auto;-webkit-mask-image:none;mask-image:none}.Action{margin-top:calc(var(--threshold)*-1)}.Expander[data-expander-collapsed=false] .Action{margin-top:1rem}}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ComponentMeta, ComponentStory } from '@storybook/react';
|
|
2
|
+
import { Expander } from './expander';
|
|
3
|
+
declare const story: ComponentMeta<typeof Expander>;
|
|
4
|
+
export default story;
|
|
5
|
+
export declare const Default: ComponentStory<FCChildrenClass<import("./expander").ExpanderProps>>;
|
|
6
|
+
export declare const Open: ComponentStory<FCChildrenClass<import("./expander").ExpanderProps>>;
|
|
7
|
+
//# sourceMappingURL=expander.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"expander.stories.d.ts","sourceRoot":"","sources":["../../../src/components/expander/expander.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAGjE,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEtC,QAAA,MAAM,KAAK,EAAE,aAAa,CAAC,OAAO,QAAQ,CAOzC,CAAC;AAEF,eAAe,KAAK,CAAC;AAsBrB,eAAO,MAAM,OAAO,qEAAoB,CAAC;AAEzC,eAAO,MAAM,IAAI,qEAAoB,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { Expander } from './expander';
|
|
3
|
+
const story = {
|
|
4
|
+
title: 'Actions/Expander',
|
|
5
|
+
component: Expander,
|
|
6
|
+
args: {
|
|
7
|
+
visibleArea: '100px',
|
|
8
|
+
},
|
|
9
|
+
};
|
|
10
|
+
export default story;
|
|
11
|
+
const Template = args => (_jsxs(Expander, { ...args, children: ["Lorem ipsum dolor sit amet consectetur adipisicing elit. Doloribus corporis nobis ipsum natus laudantium dolorem sapiente, sint adipisci at asperiores quia ex voluptatum veniam! Quos rerum natus eos excepturi atque! Lorem ipsum dolor sit amet consectetur adipisicing elit. Doloribus corporis nobis ipsum natus laudantium dolorem sapiente, sint adipisci at asperiores quia ex voluptatum veniam! Quos rerum natus eos excepturi atque! Lorem ipsum dolor sit amet consectetur adipisicing elit.", _jsx("br", {}), "Doloribus corporis nobis ipsum natus laudantium dolorem sapiente, sint adipisci at asperiores quia ex voluptatum veniam! Quos rerum natus eos excepturi atque! Lorem ipsum dolor sit amet consectetur adipisicing elit.", _jsx("img", { alt: "", src: "https://images.unsplash.com/photo-1527831200629-a0438d65142b?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1740&q=80" })] }));
|
|
12
|
+
export const Default = Template.bind({});
|
|
13
|
+
export const Open = Template.bind({});
|
|
14
|
+
Open.args = {
|
|
15
|
+
defaultExpanded: true,
|
|
16
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/expander/index.ts"],"names":[],"mappings":"AAgBA,YAAY,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAChD,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 2022 Wonderflow <authored by Mattia Astorino>
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
export { Expander } from './expander';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.Grid{--column-size:minmax(min(var(--column-min-w),100%),1fr);grid-gap:var(--row-gap,.5rem) var(--column-gap,.5rem);display:grid;grid-template-columns:repeat(var(--columns),var(--column-size));grid-template-rows:repeat(var(--rows),var(--row-min-h));list-style:none;margin:0;padding:0}.Grid[data-grid-filling-type=fill]{grid-template-columns:repeat(auto-fill,var(--column-size))}.Grid[data-grid-filling-type=fit]{grid-template-columns:repeat(auto-fit,var(--column-size))}
|
|
1
|
+
@layer components{.Grid{--column-size:minmax(min(var(--column-min-w),100%),1fr);grid-gap:var(--row-gap,.5rem) var(--column-gap,.5rem);display:grid;grid-template-columns:repeat(var(--columns),var(--column-size));grid-template-rows:repeat(var(--rows),var(--row-min-h));list-style:none;margin:0;padding:0}.Grid[data-grid-filling-type=fill]{grid-template-columns:repeat(auto-fill,var(--column-size))}.Grid[data-grid-filling-type=fit]{grid-template-columns:repeat(auto-fit,var(--column-size))}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/grid/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/grid/index.ts"],"names":[],"mappings":"AAgBA,YAAY,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AACxC,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,YAAY,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC"}
|
|
@@ -1 +1,16 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 2022 Wonderflow <authored by Mattia Astorino>
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
1
16
|
export { Grid } from './grid';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"grid-item.d.ts","sourceRoot":"","sources":["../../../../src/components/grid/item/grid-item.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"grid-item.d.ts","sourceRoot":"","sources":["../../../../src/components/grid/item/grid-item.tsx"],"names":[],"mappings":"AAiBA,OAAO,EAA6B,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAIrE,oBAAY,aAAa,GAAG,iBAAiB,CAAC,cAAc,CAAC;IAC3D;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;;;;OAKG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;;;OAKG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;CACd,CAAC,CAAC,CAAA;AAEH,eAAO,MAAM,QAAQ;;;;IApBnB;;OAEG;;IAEH;;;;;OAKG;;IAEH;;;;;OAKG;;;;iDA6BH,CAAC"}
|
|
@@ -1,4 +1,19 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
/*
|
|
3
|
+
* Copyright 2022 Wonderflow <authored by Mattia Astorino>
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
* you may not use this file except in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
* See the License for the specific language governing permissions and
|
|
15
|
+
* limitations under the License.
|
|
16
|
+
*/
|
|
2
17
|
import clsx from 'clsx';
|
|
3
18
|
import { forwardRef } from 'react';
|
|
4
19
|
import * as styles from './grid-item.module.css';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.GridItem{display:block;grid-column:var(--column);grid-row:var(--row)}.GridItem[data-grid-item-fullwidth=true]{grid-column:1/-1}
|
|
1
|
+
@layer components{.GridItem{display:block;grid-column:var(--column);grid-row:var(--row)}.GridItem[data-grid-item-fullwidth=true]{grid-column:1/-1}}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Button, ButtonProps, Polymorphic } from '../..';
|
|
2
|
-
export declare type IconButtonProps = Pick<ButtonProps, 'kind' | 'dimension' | 'icon' | 'disabled' | 'onClick' | 'busy'
|
|
3
|
-
declare type PolymorphicIconButton = Polymorphic.ForwardRefComponent<Polymorphic.IntrinsicElement<typeof Button>, Polymorphic.OwnProps<typeof Button
|
|
2
|
+
export declare type IconButtonProps<T = Record<string, unknown>> = Pick<ButtonProps, 'kind' | 'dimension' | 'icon' | 'disabled' | 'onClick' | 'busy'> & T;
|
|
3
|
+
declare type PolymorphicIconButton = Polymorphic.ForwardRefComponent<Polymorphic.IntrinsicElement<typeof Button>, IconButtonProps<Polymorphic.OwnProps<typeof Button>>>;
|
|
4
4
|
export declare const IconButton: PolymorphicIconButton;
|
|
5
5
|
export {};
|
|
6
6
|
//# sourceMappingURL=icon-button.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"icon-button.d.ts","sourceRoot":"","sources":["../../../src/components/icon-button/icon-button.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"icon-button.d.ts","sourceRoot":"","sources":["../../../src/components/icon-button/icon-button.tsx"],"names":[],"mappings":"AAmBA,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAIhE,oBAAY,eAAe,CAAC,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,IAAI,IAAI,CAC/D,WAAW,EACX,MAAM,GAAG,WAAW,GAAG,MAAM,GAAG,UAAU,GAAG,SAAS,GAAG,MAAM,CAC9D,GAAG,CAAC,CAAA;AAEL,aAAK,qBAAqB,GAAG,WAAW,CAAC,mBAAmB,CAC5D,WAAW,CAAC,gBAAgB,CAAC,OAAO,MAAM,CAAC,EAC3C,eAAe,CAAC,WAAW,CAAC,QAAQ,CAAC,OAAO,MAAM,CAAC,CAAC,CACnD,CAAC;AAEF,eAAO,MAAM,UAAU,uBAmBI,CAAC"}
|
|
@@ -1,4 +1,19 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
/*
|
|
3
|
+
* Copyright 2022 Wonderflow <authored by Mattia Astorino>
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
* you may not use this file except in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
* See the License for the specific language governing permissions and
|
|
15
|
+
* limitations under the License.
|
|
16
|
+
*/
|
|
2
17
|
import clsx from 'clsx';
|
|
3
18
|
import { forwardRef } from 'react';
|
|
4
19
|
import { Button } from '../..';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.IconButton
|
|
1
|
+
@layer components{.IconButton{border-radius:200px;padding:0}.IconButton[data-button-dimension=small]{inline-size:1.5rem;min-inline-size:1.5rem;padding:0}.IconButton[data-button-dimension=regular]{inline-size:2.5rem;min-inline-size:2.5rem;padding:0}.IconButton[data-button-dimension=big]{inline-size:3rem;min-inline-size:3rem;padding:0}}
|
|
@@ -2,5 +2,5 @@ import { ComponentMeta, ComponentStory } from '@storybook/react';
|
|
|
2
2
|
import { IconButton } from './icon-button';
|
|
3
3
|
declare const story: ComponentMeta<typeof IconButton>;
|
|
4
4
|
export default story;
|
|
5
|
-
export declare const Default: ComponentStory<import("../../types/polymorphic").ForwardRefComponent<"button", import("
|
|
5
|
+
export declare const Default: ComponentStory<import("../../types/polymorphic").ForwardRefComponent<"button", import("./icon-button").IconButtonProps<import("..").ButtonProps>>>;
|
|
6
6
|
//# sourceMappingURL=icon-button.stories.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"icon-button.stories.d.ts","sourceRoot":"","sources":["../../../src/components/icon-button/icon-button.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAGjE,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAE3C,QAAA,MAAM,KAAK,EAAE,aAAa,CAAC,OAAO,UAAU,CAwB3C,CAAC;AAEF,eAAe,KAAK,CAAC;AAIrB,eAAO,MAAM,OAAO,
|
|
1
|
+
{"version":3,"file":"icon-button.stories.d.ts","sourceRoot":"","sources":["../../../src/components/icon-button/icon-button.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAGjE,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAE3C,QAAA,MAAM,KAAK,EAAE,aAAa,CAAC,OAAO,UAAU,CAwB3C,CAAC;AAEF,eAAe,KAAK,CAAC;AAIrB,eAAO,MAAM,OAAO,oJAAoB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/icon-button/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/icon-button/index.ts"],"names":[],"mappings":"AAgBA,YAAY,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AACrD,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC"}
|
|
@@ -1 +1,16 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 2022 Wonderflow <authored by Mattia Astorino>
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
1
16
|
export { IconButton } from './icon-button';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAgBA,cAAc,aAAa,CAAC;AAC5B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,QAAQ,CAAC;AACvB,cAAc,qBAAqB,CAAC;AACpC,cAAc,cAAc,CAAC;AAC7B,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,QAAQ,CAAC;AACvB,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC;AAC7B,cAAc,eAAe,CAAC;AAC9B,cAAc,mBAAmB,CAAC;AAClC,cAAc,QAAQ,CAAC;AACvB,cAAc,WAAW,CAAC;AAC1B,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC;AACxB,cAAc,qBAAqB,CAAC;AACpC,cAAc,cAAc,CAAC;AAC7B,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,sBAAsB,CAAC;AACrC,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC;AAC3B,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,WAAW,CAAC;AAC1B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,SAAS,CAAC;AACxB,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AACzB,cAAc,OAAO,CAAC;AACtB,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CAAC;AACvB,cAAc,aAAa,CAAC;AAC5B,cAAc,SAAS,CAAC;AACxB,cAAc,iBAAiB,CAAC;AAChC,cAAc,WAAW,CAAC"}
|
package/dist/components/index.js
CHANGED
|
@@ -1,3 +1,18 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 2022 Wonderflow <authored by Mattia Astorino>
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
1
16
|
export * from './accordion';
|
|
2
17
|
export * from './aspect-ratio';
|
|
3
18
|
export * from './autocomplete';
|
|
@@ -12,6 +27,7 @@ export * from './datetime';
|
|
|
12
27
|
export * from './disclosure';
|
|
13
28
|
export * from './drawer';
|
|
14
29
|
export * from './elevator';
|
|
30
|
+
export * from './expander';
|
|
15
31
|
export * from './grid';
|
|
16
32
|
export * from './icon-button';
|
|
17
33
|
export * from './info-state';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/info-state/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/info-state/index.ts"],"names":[],"mappings":"AAgBA,YAAY,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AACnD,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC"}
|
|
@@ -1 +1,16 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 2022 Wonderflow <authored by Mattia Astorino>
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
1
16
|
export { InfoState } from './info-state';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"info-state.d.ts","sourceRoot":"","sources":["../../../src/components/info-state/info-state.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"info-state.d.ts","sourceRoot":"","sources":["../../../src/components/info-state/info-state.tsx"],"names":[],"mappings":"AAiBA,OAAO,EAAiC,SAAS,EAAE,MAAM,OAAO,CAAC;AAEjE,OAAO,EACE,UAAU,EAAU,WAAW,EACvC,MAAM,cAAc,CAAC;AAItB,oBAAY,cAAc,GAAG,cAAc,CAAC;IAC1C;;;OAGG;IACH,KAAK,EAAE,SAAS,CAAC;IACjB;;;OAGG;IACH,IAAI,CAAC,EAAE,WAAW,CAAC,QAAQ,CAAC,CAAC;IAC7B;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,QAAQ,GAAG,QAAQ,GAAG,KAAK,GAAG,MAAM,CAAC;IAC7E;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,SAAS,CAAC,EAAE,UAAU,CAAC,WAAW,CAAC,CAAC;IACpC;;;OAGG;IACH,OAAO,CAAC,EAAE,SAAS,CAAC;CACrB,CAAC,CAAA;AAEF,eAAO,MAAM,SAAS;;;;IA9BpB;;;OAGG;WACI,SAAS;IAChB;;;OAGG;;IAEH;;;OAGG;;IAEH;;OAEG;;IAEH;;OAEG;gBACS,UAAU,CAAC,WAAW,CAAC;IACnC;;;OAGG;cACO,SAAS;;;kDAoEnB,CAAC"}
|
|
@@ -1,4 +1,19 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
/*
|
|
3
|
+
* Copyright 2022 Wonderflow <authored by Mattia Astorino>
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
* you may not use this file except in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
* See the License for the specific language governing permissions and
|
|
15
|
+
* limitations under the License.
|
|
16
|
+
*/
|
|
2
17
|
import { domMax, LazyMotion, m } from 'framer-motion';
|
|
3
18
|
import { forwardRef } from 'react';
|
|
4
19
|
import { Stack, Symbol, Text, Title, } from '../..';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.IconWrapper{background-color:var(--bg);border-radius:.5rem;color:var(--fg);display:block;padding:.5rem;position:relative}.IconWrapper:before{animation:pulse 6s ease .5s infinite;animation-fill-mode:backwards;background-color:var(--bg,currentColor);border-radius:inherit;bottom:0;content:"";left:0;position:absolute;right:0;top:0;z-index:-1}.IconWrapper svg{display:block}.IconWrapper[data-info-state-icon-color=cyan]{--bg:var(--highlight-cyan-background);--fg:var(--highlight-cyan-foreground)}.IconWrapper[data-info-state-icon-color=gray]{--bg:var(--highlight-gray-background);--fg:var(--highlight-gray-foreground)}.IconWrapper[data-info-state-icon-color=green]{--bg:var(--highlight-green-background);--fg:var(--highlight-green-foreground)}.IconWrapper[data-info-state-icon-color=purple]{--bg:var(--highlight-purple-background);--fg:var(--highlight-purple-foreground)}.IconWrapper[data-info-state-icon-color=yellow]{--bg:var(--highlight-yellow-background);--fg:var(--highlight-yellow-foreground)}.IconWrapper[data-info-state-icon-color=red]{--bg:var(--highlight-red-background);--fg:var(--highlight-red-foreground)}.IconWrapper[data-info-state-icon-color=blue]{--bg:var(--highlight-blue-background);--fg:var(--highlight-blue-foreground)}.Image{max-block-size:22rem;max-inline-size:22rem}@keyframes pulse{0%{opacity:.8;transform:scale(.8)}30%,to{border-radius:50px;opacity:0;transform:scale(3)}}
|
|
1
|
+
@layer components{.IconWrapper{background-color:var(--bg);border-radius:.5rem;color:var(--fg);display:block;padding:.5rem;position:relative}.IconWrapper:before{animation:pulse 6s ease .5s infinite;animation-fill-mode:backwards;background-color:var(--bg,currentColor);border-radius:inherit;bottom:0;content:"";left:0;position:absolute;right:0;top:0;z-index:-1}.IconWrapper svg{display:block}.IconWrapper[data-info-state-icon-color=cyan]{--bg:var(--highlight-cyan-background);--fg:var(--highlight-cyan-foreground)}.IconWrapper[data-info-state-icon-color=gray]{--bg:var(--highlight-gray-background);--fg:var(--highlight-gray-foreground)}.IconWrapper[data-info-state-icon-color=green]{--bg:var(--highlight-green-background);--fg:var(--highlight-green-foreground)}.IconWrapper[data-info-state-icon-color=purple]{--bg:var(--highlight-purple-background);--fg:var(--highlight-purple-foreground)}.IconWrapper[data-info-state-icon-color=yellow]{--bg:var(--highlight-yellow-background);--fg:var(--highlight-yellow-foreground)}.IconWrapper[data-info-state-icon-color=red]{--bg:var(--highlight-red-background);--fg:var(--highlight-red-foreground)}.IconWrapper[data-info-state-icon-color=blue]{--bg:var(--highlight-blue-background);--fg:var(--highlight-blue-foreground)}.Image{max-block-size:22rem;max-inline-size:22rem}}@keyframes pulse{0%{opacity:.8;transform:scale(.8)}30%,to{border-radius:50px;opacity:0;transform:scale(3)}}
|
|
@@ -2,7 +2,7 @@ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-run
|
|
|
2
2
|
import { Button, List, Stack } from '../..';
|
|
3
3
|
import { InfoState } from './info-state';
|
|
4
4
|
const story = {
|
|
5
|
-
title: '
|
|
5
|
+
title: 'Dialogs/InfoState',
|
|
6
6
|
component: InfoState,
|
|
7
7
|
args: {
|
|
8
8
|
title: 'Sample very long title',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/input-group/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/input-group/index.ts"],"names":[],"mappings":"AAgBA,YAAY,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AACrD,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC"}
|
|
@@ -1 +1,16 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 2022 Wonderflow <authored by Mattia Astorino>
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
1
16
|
export { InputGroup } from './input-group';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"input-group.d.ts","sourceRoot":"","sources":["../../../src/components/input-group/input-group.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"input-group.d.ts","sourceRoot":"","sources":["../../../src/components/input-group/input-group.tsx"],"names":[],"mappings":"AAiBA,OAAO,EAC6D,SAAS,EAC5E,MAAM,OAAO,CAAC;AAOf,oBAAY,eAAe,GAAG;IAC5B;;OAEG;IACH,KAAK,EAAE,SAAS,CAAC;IACjB;;OAEG;IACH,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB;;OAEG;IACH,GAAG,CAAC,EAAE,SAAS,CAAC;IAChB;;OAEG;IACH,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,GAAG,KAAK,GAAG,SAAS,CAAC;IACxC;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAA;AAED,eAAO,MAAM,UAAU;;;yEA4DrB,CAAC"}
|
|
@@ -1,4 +1,19 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
/*
|
|
3
|
+
* Copyright 2022 Wonderflow <authored by Mattia Astorino>
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
* you may not use this file except in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
* See the License for the specific language governing permissions and
|
|
15
|
+
* limitations under the License.
|
|
16
|
+
*/
|
|
2
17
|
import clsx from 'clsx';
|
|
3
18
|
import { Children, cloneElement, forwardRef, isValidElement, } from 'react';
|
|
4
19
|
import { useUIDSeed } from 'react-uid';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.InputGroup{position:relative}.Start :is(button,input,a,select,fieldset[tabindex="0"]){outline-offset:-2px}.InputGroup[data-input-group-has-end=true] .Start *{border-bottom-right-radius:0;border-top-right-radius:0}.InputField :is(button,input,a,select,fieldset[tabindex="0"]){outline-offset:-2px}.InputGroup[data-input-group-has-end=true] .InputField input{border-bottom-right-radius:0;border-right:0;border-top-right-radius:0}.InputGroup[data-input-group-has-start=true] .InputField input{border-bottom-left-radius:0;border-left:0;border-top-left-radius:0}.End :is(button,input,a,select,fieldset[tabindex="0"]){outline-offset:-2px}.InputGroup[data-input-group-has-end=true] .End *{border-bottom-left-radius:0;border-top-left-radius:0}
|
|
1
|
+
@layer components{.InputGroup{position:relative}.Start :is(button,input,a,select,fieldset[tabindex="0"]){outline-offset:-2px}.InputGroup[data-input-group-has-end=true] .Start *{border-bottom-right-radius:0;border-top-right-radius:0}.InputField :is(button,input,a,select,fieldset[tabindex="0"]){outline-offset:-2px}.InputGroup[data-input-group-has-end=true] .InputField input{border-bottom-right-radius:0;border-right:0;border-top-right-radius:0}.InputGroup[data-input-group-has-start=true] .InputField input{border-bottom-left-radius:0;border-left:0;border-top-left-radius:0}.End :is(button,input,a,select,fieldset[tabindex="0"]){outline-offset:-2px}.InputGroup[data-input-group-has-end=true] .End *{border-bottom-left-radius:0;border-top-left-radius:0}}
|
|
@@ -2,7 +2,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
2
2
|
import { Button, Select, Stack, Textfield, } from '../..';
|
|
3
3
|
import { InputGroup } from './input-group';
|
|
4
4
|
const story = {
|
|
5
|
-
title: '
|
|
5
|
+
title: 'Inputs/Input group',
|
|
6
6
|
component: InputGroup,
|
|
7
7
|
args: {
|
|
8
8
|
input: _jsx(Textfield, { type: "text", defaultValue: "sample" }),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/linear-progress/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/linear-progress/index.ts"],"names":[],"mappings":"AAgBA,YAAY,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAC7D,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC"}
|
|
@@ -1 +1,16 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 2022 Wonderflow <authored by Mattia Astorino>
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
1
16
|
export { LinearProgress } from './linear-progress';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"linear-progress.d.ts","sourceRoot":"","sources":["../../../src/components/linear-progress/linear-progress.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"linear-progress.d.ts","sourceRoot":"","sources":["../../../src/components/linear-progress/linear-progress.tsx"],"names":[],"mappings":"AAiBA,OAAO,EAAc,sBAAsB,EAAe,MAAM,OAAO,CAAC;AAMxE,oBAAY,mBAAmB,GAAG,sBAAsB,CAAC,mBAAmB,CAAC,GAAG;IAC9E;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;OAGG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,SAAS,CAAC,EAAE,SAAS,GAAG,KAAK,CAAC;IAC9B;;OAEG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB,CAAA;AAED,eAAO,MAAM,cAAc;IArBzB;;;;OAIG;;IAEH;;;OAGG;;IAEH;;OAEG;;IAEH;;OAEG;;uDAkDH,CAAC"}
|
|
@@ -1,4 +1,19 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
/*
|
|
3
|
+
* Copyright 2022 Wonderflow <authored by Mattia Astorino>
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
* you may not use this file except in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
* See the License for the specific language governing permissions and
|
|
15
|
+
* limitations under the License.
|
|
16
|
+
*/
|
|
2
17
|
import clsx from 'clsx';
|
|
3
18
|
import { forwardRef, useCallback } from 'react';
|
|
4
19
|
import { Text } from '../..';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.LinearProgress,.Progress{position:relative}.Progress{--progress-height:0.25rem;--track-color:var(--dimmed-1);--fill-color:var(--cta-default);appearance:none;background:var(--track-color);border:none;display:block;height:var(--progress-height);overflow:hidden;vertical-align:baseline;width:100%}.Progress[data-progress-dimension=big]{--progress-height:0.50rem}.Progress::-webkit-progress-bar{background-color:transparent}.Progress::-webkit-progress-value{background:var(--fill-color);-webkit-transition:width .2s cubic-bezier(0,0,.34,1);transition:width .2s cubic-bezier(0,0,.34,1)}.Progress::-moz-progress-bar{background:var(--fill-color)}.Progress:not([value])::-moz-progress-bar{background:transparent}.Progress:indeterminate{animation:progress-stripes 2s linear infinite;background-image:linear-gradient(to right,transparent 50%,var(--fill-color) 50%,var(--fill-color) 60%,transparent 60%,transparent 71.5%,var(--fill-color) 71.5%,var(--fill-color) 84%,transparent 84%);background-size:200% 100%}.Percentage{left:var(--offset);position:absolute;transform:translateX(var(--translation));transition:left .2s cubic-bezier(0,0,.34,1)}@keyframes progress-stripes{0%{background-position:left -31.25% top 0;background-size:200% 100%}50%{background-position:left -49% top 0;background-size:800% 100%}to{background-position:left -102% top 0;background-size:400% 100%}}
|
|
1
|
+
@layer components{.LinearProgress,.Progress{position:relative}.Progress{--progress-height:0.25rem;--track-color:var(--dimmed-1);--fill-color:var(--cta-default);appearance:none;background:var(--track-color);border:none;display:block;height:var(--progress-height);overflow:hidden;vertical-align:baseline;width:100%}.Progress[data-progress-dimension=big]{--progress-height:0.50rem}.Progress::-webkit-progress-bar{background-color:transparent}.Progress::-webkit-progress-value{background:var(--fill-color);-webkit-transition:width .2s cubic-bezier(0,0,.34,1);transition:width .2s cubic-bezier(0,0,.34,1)}.Progress::-moz-progress-bar{background:var(--fill-color)}.Progress:not([value])::-moz-progress-bar{background:transparent}.Progress:indeterminate{animation:progress-stripes 2s linear infinite;background-image:linear-gradient(to right,transparent 50%,var(--fill-color) 50%,var(--fill-color) 60%,transparent 60%,transparent 71.5%,var(--fill-color) 71.5%,var(--fill-color) 84%,transparent 84%);background-size:200% 100%}.Percentage{left:var(--offset);position:absolute;transform:translateX(var(--translation));transition:left .2s cubic-bezier(0,0,.34,1)}}@keyframes progress-stripes{0%{background-position:left -31.25% top 0;background-size:200% 100%}50%{background-position:left -49% top 0;background-size:800% 100%}to{background-position:left -102% top 0;background-size:400% 100%}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/list/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/list/index.ts"],"names":[],"mappings":"AAgBA,YAAY,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AACxC,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,YAAY,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC"}
|
|
@@ -1 +1,16 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 2022 Wonderflow <authored by Mattia Astorino>
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
1
16
|
export { List } from './list';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-item.d.ts","sourceRoot":"","sources":["../../../src/components/list/list-item.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-item.d.ts","sourceRoot":"","sources":["../../../src/components/list/list-item.tsx"],"names":[],"mappings":"AAiBA,OAAO,EAAc,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAEtD,OAAO,EACU,WAAW,EAC3B,MAAM,cAAc,CAAC;AAEtB,OAAO,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AAGnC,oBAAY,aAAa,GAAG,iBAAiB,CAAC,cAAc,CAAC,GAAG,IAAI,CAAC,SAAS,EAAE,WAAW,GAAG,YAAY,CAAC,GAAG;IAC5G;;;OAGG;IACH,MAAM,CAAC,EAAE,WAAW,CAAC,QAAQ,CAAC,CAAC;IAC/B;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB,CAAA;AAED,eAAO,MAAM,QAAQ,uHA2DnB,CAAC"}
|
|
@@ -1,4 +1,19 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
/*
|
|
3
|
+
* Copyright 2022 Wonderflow <authored by Mattia Astorino>
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
* you may not use this file except in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
* See the License for the specific language governing permissions and
|
|
15
|
+
* limitations under the License.
|
|
16
|
+
*/
|
|
2
17
|
import clsx from 'clsx';
|
|
3
18
|
import { forwardRef } from 'react';
|
|
4
19
|
import { Stack, Symbol, Text, } from '../..';
|