@wonderflow/react-components 10.10.0 → 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.map +1 -1
- package/dist/components/accordion/accordion-context.js +15 -0
- 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.map +1 -1
- package/dist/components/accordion/accordion.js +15 -0
- 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/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.map +1 -1
- package/dist/components/autocomplete/autocomplete.js +15 -0
- 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/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/index.d.ts.map +1 -1
- package/dist/components/button/index.js +15 -0
- 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/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/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/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/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/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/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/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/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/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/icon-button/icon-button.d.ts.map +1 -1
- package/dist/components/icon-button/icon-button.js +15 -0
- 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/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/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/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.map +1 -1
- package/dist/components/list/list.js +15 -0
- 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/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-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/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/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/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/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/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/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/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/selection-controls/checkbox.d.ts.map +1 -1
- package/dist/components/selection-controls/checkbox.js +15 -0
- 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/toggle.d.ts.map +1 -1
- package/dist/components/selection-controls/toggle.js +15 -0
- 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/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/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/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/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/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/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/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/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/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/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-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-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-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-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.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/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/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/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.map +1 -1
- package/dist/components/toggle-button/toggle-button.js +15 -0
- 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/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.map +1 -1
- package/dist/types/polymorphic/index.js +15 -0
- package/package.json +5 -5
|
@@ -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 { Container } from './container';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"datetime.d.ts","sourceRoot":"","sources":["../../../src/components/datetime/datetime.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"datetime.d.ts","sourceRoot":"","sources":["../../../src/components/datetime/datetime.tsx"],"names":[],"mappings":"AAgBA,OAAO,EAAE,cAAc,EAAuB,MAAM,OAAO,CAAC;AAE5D,oBAAY,aAAa,GAAG,cAAc,CAAC,eAAe,CAAC,GAAG;IAC5D;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;IAC3B;;;;OAIG;IACH,OAAO,CAAC,EAAE,IAAI,CAAC,qBAAqB,CAAC;CACtC,CAAA;AAED,eAAO,MAAM,QAAQ,6CAKlB,aAAa,gBAuBf,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 { useEffect, useState } from 'react';
|
|
3
18
|
export const Datetime = ({ date, locale = 'en-US', options, ...otherProps }) => {
|
|
4
19
|
const [datetime, setDateTime] = useState('');
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/datetime/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/datetime/index.ts"],"names":[],"mappings":"AAgBA,YAAY,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAChD,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,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 { Datetime } from './datetime';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"disclosure.d.ts","sourceRoot":"","sources":["../../../src/components/disclosure/disclosure.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"disclosure.d.ts","sourceRoot":"","sources":["../../../src/components/disclosure/disclosure.tsx"],"names":[],"mappings":"AAoBA,OAAO,EAEL,qBAAqB,EACrB,SAAS,EACV,MAAM,OAAO,CAAC;AASf,oBAAY,eAAe,GAAG,qBAAqB,CAAC,kBAAkB,CAAC,GAAG;IACxE;;OAEG;IACH,IAAI,CAAC,EAAE,OAAO,CAAC;IACf;;;OAGG;IACH,OAAO,EAAE,SAAS,CAAC;IACnB;;;;OAIG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,GAAG,SAAS,GAAG,KAAK,CAAC;IACxC;;;OAGG;IACH,YAAY,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;IAChC;;;OAGG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB,CAAA;AAED,eAAO,MAAM,UAAU;IAnCrB;;OAEG;;IAEH;;;OAGG;aACM,SAAS;IAClB;;;;OAIG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;;OAGG;;IAEH;;;OAGG;;sDAsGH,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 { domMax, LazyMotion, m, } from 'framer-motion';
|
|
4
19
|
import { forwardRef, useCallback, useEffect, useRef, useState, } from 'react';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/disclosure/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/disclosure/index.ts"],"names":[],"mappings":"AAgBA,YAAY,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AACpD,OAAO,EAAE,UAAU,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 { Disclosure } from './disclosure';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"drawer.d.ts","sourceRoot":"","sources":["../../../src/components/drawer/drawer.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"drawer.d.ts","sourceRoot":"","sources":["../../../src/components/drawer/drawer.tsx"],"names":[],"mappings":"AAoBA,OAAO,EACsB,SAAS,EACrC,MAAM,OAAO,CAAC;AASf,oBAAY,WAAW,GAAG;IACxB;;;;;;OAMG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B;;;OAGG;IACH,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB;;;;OAIG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;;OAGG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,MAAM,CAAC;IAClC;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;IACxB;;;;OAIG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,CAAA;AAED,eAAO,MAAM,MAAM,EAAE,eAAe,CAAC,WAAW,CA4F9C,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 tkns from '@wonderflow/tokens/platforms/web/tokens.json';
|
|
3
18
|
import { useKeyPress } from 'ahooks';
|
|
4
19
|
import clsx from 'clsx';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/drawer/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/drawer/index.ts"],"names":[],"mappings":"AAgBA,YAAY,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAC5C,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,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 { Drawer } from './drawer';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"elevator.d.ts","sourceRoot":"","sources":["../../../src/components/elevator/elevator.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"elevator.d.ts","sourceRoot":"","sources":["../../../src/components/elevator/elevator.tsx"],"names":[],"mappings":"AAgBA,OAAO,EACmC,YAAY,EACrD,MAAM,OAAO,CAAC;AAEf,oBAAY,aAAa,GAAG;IAC1B;;MAEE;IACF,OAAO,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;IAC3B;;OAEG;IACH,KAAK,CAAC,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;IAC1B;;;;OAIG;IACH,QAAQ,EAAE,YAAY,CAAC;CACxB,CAAA;AAED,eAAO,MAAM,QAAQ,EAAE,UAAU,CAAC,aAAa,CAc9C,CAAC"}
|
|
@@ -1,4 +1,19 @@
|
|
|
1
1
|
import { Fragment as _Fragment, 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 { Children, cloneElement, isValidElement, } from 'react';
|
|
3
18
|
export const Elevator = ({ children, resting, hover, }) => (_jsx(_Fragment, { children: Children.map(children, child => isValidElement(child) && cloneElement(child, {
|
|
4
19
|
'data-elevation': resting,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/elevator/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/elevator/index.ts"],"names":[],"mappings":"AAgBA,YAAY,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAChD,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,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 { 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
|
-
{"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
|
-
{"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
|
-
{"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
|
-
{"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
|
-
{"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"}
|